@feedmepos/mf-hrm-portal 2.3.0-dev.27 → 2.3.0-dev.28
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-9t065tKN.js → ApprovalCodeList-CLo47YTm.js} +4 -4
- package/dist/{AuditLogList-wi-YospA.js → AuditLogList-BCo4wWpz.js} +4 -4
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B2sR4Jl_.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BvevV40N.js} +2 -2
- package/dist/{EmployeeList-vNUbxRAf.js → EmployeeList-D_KVIxl0.js} +6 -6
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-Dw18lkLN.js → FormItem.vue_vue_type_script_setup_true_lang-Bh2mFqH_.js} +1 -1
- package/dist/{GrantUserList-gV8g9WRs.js → GrantUserList-CUezku34.js} +5 -5
- package/dist/{Main-C_EO7R35.js → Main-BU6sp4Jy.js} +5 -5
- package/dist/{Main-e8pCFHE9.js → Main-CV9Oj3cD.js} +9 -9
- package/dist/{Main-CpsgrQ62.js → Main-KPH-bQgq.js} +2 -2
- package/dist/{PermissionSetList-CaMe_Vx5.js → PermissionSetList-BL2M4217.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-NePY_DmQ.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DRF5IU9y.js} +444 -444
- package/dist/{RoleList-CoLyFxEW.js → RoleList-DrxnvjTu.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B2GCHn1o.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BPJTboTz.js} +1 -1
- package/dist/{ScheduleGeneralPage-CeufiOO_.js → ScheduleGeneralPage-Bv10s6Ih.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-BNcWdn4j.js → ScheduleModal.vue_vue_type_script_setup_true_lang-BSlvkd_L.js} +2 -2
- package/dist/{SchedulePage-CbSyzav2.js → SchedulePage-DOmuj7cm.js} +1271 -1263
- package/dist/{SchedulePositionPage-BBDvRQKw.js → SchedulePositionPage-uHWHCqgG.js} +3 -3
- package/dist/{SelectFilter-CiClywD5.js → SelectFilter-F7PTqsBW.js} +1 -1
- package/dist/{TeamMemberList-D0rP6zcU.js → TeamMemberList-6U0x18Mv.js} +7 -7
- package/dist/{TimesheetList-BBYaDVDR.js → TimesheetList-CODDgb6j.js} +6 -6
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CyEATJm5.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-_MSmsxeX.js} +2 -2
- package/dist/{app-E5Ze22zP.js → app-Bmv-wxMd.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-6b1EMXsV.js → dayjs.min-BQShIUjb.js} +1 -1
- package/dist/{employee-VUvqsIQQ.js → employee-CYwN7xPo.js} +3 -3
- package/dist/{iteration-5EYx4UwX.js → iteration-BnTlu-r9.js} +1 -1
- package/dist/{lodash-Bhc--fjw.js → lodash-26dVMr-F.js} +1 -1
- package/dist/{role-DrCCb7SL.js → role-6Vdc6Mw3.js} +1 -1
- package/dist/{rule-u9O2gGGd.js → rule-HIQq3nFs.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-BNvKQMu4.js → useReportPermissions-C2CzwLBV.js} +3 -3
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { getCurrentInstance as Bt, inject as ur, ref as rt, shallowRef as dr, computed as z, watch as Dt, onMounted as Wn, onUnmounted as mr, defineComponent as
|
|
2
|
-
import { useI18n as
|
|
1
|
+
import { getCurrentInstance as Bt, inject as ur, ref as rt, shallowRef as dr, computed as z, watch as Dt, onMounted as Wn, onUnmounted as mr, defineComponent as Le, h as xn, createVNode as ue, Text as fr, Fragment as ke, resolveComponent as De, createBlock as Ne, openBlock as J, withCtx as de, createElementVNode as ae, createElementBlock as ie, toDisplayString as Oe, unref as H, renderList as Ee, toRef as en, normalizeStyle as nt, renderSlot as Se, createCommentVNode as Me, createTextVNode as _r, useSlots as pr, normalizeClass as qe, createSlots as et, mergeModels as tn, useModel as vr } from "vue";
|
|
2
|
+
import { useI18n as He, useCoreStore as hr } from "@feedmepos/mf-common";
|
|
3
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 yr, w as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { u as Or, v as Sr, c as
|
|
8
|
-
import { c as It } from "./iteration-
|
|
9
|
-
import { r as
|
|
10
|
-
import { g as
|
|
11
|
-
import { u as Mr } from "./role-
|
|
5
|
+
import { p as Gn, N as Zn, d as Ir, P as yr, w as At, x as Er, y as Nr } from "./rule-HIQq3nFs.js";
|
|
6
|
+
import { _ as Xt, a as Cr, b as nn, u as Tr } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BvevV40N.js";
|
|
7
|
+
import { u as Or, v as Sr, c as Yn, S as wt, A as tt, d as he, k as rn, O as Ar } from "./app-Bmv-wxMd.js";
|
|
8
|
+
import { c as It } from "./iteration-BnTlu-r9.js";
|
|
9
|
+
import { r as Lr } from "./string-VNuQNweN.js";
|
|
10
|
+
import { g as Rr, b as kr } from "./restaurant-D2mfKHaH.js";
|
|
11
|
+
import { u as Mr } from "./role-6Vdc6Mw3.js";
|
|
12
12
|
function Bn(e, t) {
|
|
13
13
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
14
14
|
}
|
|
@@ -31,17 +31,17 @@ 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) =>
|
|
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
|
-
const
|
|
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) {
|
|
38
38
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
39
39
|
}
|
|
40
40
|
const Vr = Object.prototype.hasOwnProperty;
|
|
41
|
-
function
|
|
41
|
+
function Ae(e, t) {
|
|
42
42
|
return Vr.call(e, t);
|
|
43
43
|
}
|
|
44
|
-
const be = Array.isArray, me = (e) => typeof e == "function", Z = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", te = (e) => e !== null && typeof e == "object", Wr = (e) => te(e) && me(e.then) && me(e.catch),
|
|
44
|
+
const be = Array.isArray, me = (e) => typeof e == "function", Z = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", te = (e) => e !== null && typeof e == "object", Wr = (e) => te(e) && me(e.then) && me(e.catch), Xn = Object.prototype.toString, Ht = (e) => Xn.call(e), ee = (e) => Ht(e) === "[object Object]", xr = (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
|
}
|
|
@@ -83,7 +83,7 @@ const re = {
|
|
|
83
83
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
84
84
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
85
85
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
86
|
-
},
|
|
86
|
+
}, Yr = 17;
|
|
87
87
|
function Tt(e, t, n = {}) {
|
|
88
88
|
const { domain: r, messages: l, args: a } = n, d = e, u = new SyntaxError(String(d));
|
|
89
89
|
return u.code = e, t && (u.location = t), u.domain = r, u;
|
|
@@ -91,12 +91,12 @@ function Tt(e, t, n = {}) {
|
|
|
91
91
|
function Br(e) {
|
|
92
92
|
throw e;
|
|
93
93
|
}
|
|
94
|
-
const Pe = " ",
|
|
95
|
-
`,
|
|
94
|
+
const Pe = " ", Xr = "\r", ye = `
|
|
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 = (p) => t[p] ===
|
|
99
|
+
const d = (p) => t[p] === Xr && t[p + 1] === ye, u = (p) => t[p] === ye, i = (p) => t[p] === $r, g = (p) => t[p] === Hr, y = (p) => d(p) || u(p) || i(p) || g(p), T = () => n, N = () => r, F = () => l, D = () => a, L = (p) => d(p) || i(p) || g(p) ? ye : t[p], w = () => L(n), f = () => L(n + a);
|
|
100
100
|
function h() {
|
|
101
101
|
return a = 0, y(n) && (r++, l = 0), d(n) && n++, n++, l++, t[n];
|
|
102
102
|
}
|
|
@@ -120,7 +120,7 @@ function Jr(e) {
|
|
|
120
120
|
line: N,
|
|
121
121
|
column: F,
|
|
122
122
|
peekOffset: D,
|
|
123
|
-
charAt:
|
|
123
|
+
charAt: L,
|
|
124
124
|
currentChar: w,
|
|
125
125
|
currentPeek: f,
|
|
126
126
|
next: h,
|
|
@@ -145,20 +145,20 @@ function Qr(e, t = {}) {
|
|
|
145
145
|
inLinked: !1,
|
|
146
146
|
text: ""
|
|
147
147
|
}, g = () => i, { onError: y } = t;
|
|
148
|
-
function T(s, o, _, ...
|
|
148
|
+
function T(s, o, _, ...R) {
|
|
149
149
|
const M = g();
|
|
150
150
|
if (o.column += _, o.offset += _, y) {
|
|
151
151
|
const P = n ? Ft(M.startLoc, o) : null, v = Tt(s, P, {
|
|
152
152
|
domain: zr,
|
|
153
|
-
args:
|
|
153
|
+
args: R
|
|
154
154
|
});
|
|
155
155
|
y(v);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
function N(s, o, _) {
|
|
159
159
|
s.endLoc = a(), s.currentType = o;
|
|
160
|
-
const
|
|
161
|
-
return n && (
|
|
160
|
+
const R = { type: o };
|
|
161
|
+
return n && (R.loc = Ft(s.startLoc, s.endLoc)), _ != null && (R.value = _), R;
|
|
162
162
|
}
|
|
163
163
|
const F = (s) => N(
|
|
164
164
|
s,
|
|
@@ -168,14 +168,14 @@ function Qr(e, t = {}) {
|
|
|
168
168
|
function D(s, o) {
|
|
169
169
|
return s.currentChar() === o ? (s.next(), o) : (T(re.EXPECTED_TOKEN, a(), 0, o), "");
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function L(s) {
|
|
172
172
|
let o = "";
|
|
173
173
|
for (; s.currentPeek() === Pe || s.currentPeek() === ye; )
|
|
174
174
|
o += s.currentPeek(), s.peek();
|
|
175
175
|
return o;
|
|
176
176
|
}
|
|
177
177
|
function w(s) {
|
|
178
|
-
const o =
|
|
178
|
+
const o = L(s);
|
|
179
179
|
return s.skipToPeek(), o;
|
|
180
180
|
}
|
|
181
181
|
function f(s) {
|
|
@@ -196,62 +196,62 @@ function Qr(e, t = {}) {
|
|
|
196
196
|
const { currentType: _ } = o;
|
|
197
197
|
if (_ !== 2)
|
|
198
198
|
return !1;
|
|
199
|
-
|
|
200
|
-
const
|
|
201
|
-
return s.resetPeek(),
|
|
199
|
+
L(s);
|
|
200
|
+
const R = f(s.currentPeek());
|
|
201
|
+
return s.resetPeek(), R;
|
|
202
202
|
}
|
|
203
203
|
function c(s, o) {
|
|
204
204
|
const { currentType: _ } = o;
|
|
205
205
|
if (_ !== 2)
|
|
206
206
|
return !1;
|
|
207
|
-
|
|
208
|
-
const
|
|
207
|
+
L(s);
|
|
208
|
+
const R = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), M = h(R);
|
|
209
209
|
return s.resetPeek(), M;
|
|
210
210
|
}
|
|
211
211
|
function b(s, o) {
|
|
212
212
|
const { currentType: _ } = o;
|
|
213
213
|
if (_ !== 2)
|
|
214
214
|
return !1;
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
return s.resetPeek(),
|
|
215
|
+
L(s);
|
|
216
|
+
const R = s.currentPeek() === cn;
|
|
217
|
+
return s.resetPeek(), R;
|
|
218
218
|
}
|
|
219
219
|
function I(s, o) {
|
|
220
220
|
const { currentType: _ } = o;
|
|
221
221
|
if (_ !== 7)
|
|
222
222
|
return !1;
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
return s.resetPeek(),
|
|
223
|
+
L(s);
|
|
224
|
+
const R = s.currentPeek() === ".";
|
|
225
|
+
return s.resetPeek(), R;
|
|
226
226
|
}
|
|
227
227
|
function p(s, o) {
|
|
228
228
|
const { currentType: _ } = o;
|
|
229
229
|
if (_ !== 8)
|
|
230
230
|
return !1;
|
|
231
|
-
|
|
232
|
-
const
|
|
233
|
-
return s.resetPeek(),
|
|
231
|
+
L(s);
|
|
232
|
+
const R = f(s.currentPeek());
|
|
233
|
+
return s.resetPeek(), R;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function k(s, o) {
|
|
236
236
|
const { currentType: _ } = o;
|
|
237
237
|
if (!(_ === 7 || _ === 11))
|
|
238
238
|
return !1;
|
|
239
|
-
|
|
240
|
-
const
|
|
241
|
-
return s.resetPeek(),
|
|
239
|
+
L(s);
|
|
240
|
+
const R = s.currentPeek() === ":";
|
|
241
|
+
return s.resetPeek(), R;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function A(s, o) {
|
|
244
244
|
const { currentType: _ } = o;
|
|
245
245
|
if (_ !== 9)
|
|
246
246
|
return !1;
|
|
247
|
-
const
|
|
247
|
+
const R = () => {
|
|
248
248
|
const P = s.currentPeek();
|
|
249
|
-
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === ye ? (s.peek(),
|
|
250
|
-
}, M =
|
|
249
|
+
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === ye ? (s.peek(), R()) : W(s, !1);
|
|
250
|
+
}, M = R();
|
|
251
251
|
return s.resetPeek(), M;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
|
|
253
|
+
function X(s) {
|
|
254
|
+
L(s);
|
|
255
255
|
const o = s.currentPeek() === "|";
|
|
256
256
|
return s.resetPeek(), o;
|
|
257
257
|
}
|
|
@@ -259,8 +259,8 @@ function Qr(e, t = {}) {
|
|
|
259
259
|
const _ = (M = !1, P = "") => {
|
|
260
260
|
const v = s.currentPeek();
|
|
261
261
|
return v === "{" || v === "@" || !v ? M : v === "|" ? !(P === Pe || P === ye) : v === Pe ? (s.peek(), _(!0, Pe)) : v === ye ? (s.peek(), _(!0, ye)) : !0;
|
|
262
|
-
},
|
|
263
|
-
return o && s.resetPeek(),
|
|
262
|
+
}, R = _();
|
|
263
|
+
return o && s.resetPeek(), R;
|
|
264
264
|
}
|
|
265
265
|
function m(s, o) {
|
|
266
266
|
const _ = s.currentChar();
|
|
@@ -296,14 +296,14 @@ function Qr(e, t = {}) {
|
|
|
296
296
|
function x(s) {
|
|
297
297
|
return m(s, G);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function Y(s) {
|
|
300
300
|
const o = s.charCodeAt(0);
|
|
301
301
|
return o >= 48 && o <= 57 || // 0-9
|
|
302
302
|
o >= 65 && o <= 70 || // A-F
|
|
303
303
|
o >= 97 && o <= 102;
|
|
304
304
|
}
|
|
305
305
|
function B(s) {
|
|
306
|
-
return m(s,
|
|
306
|
+
return m(s, Y);
|
|
307
307
|
}
|
|
308
308
|
function ne(s) {
|
|
309
309
|
let o = "", _ = "";
|
|
@@ -321,7 +321,7 @@ function Qr(e, t = {}) {
|
|
|
321
321
|
if (W(s))
|
|
322
322
|
o += _, s.next();
|
|
323
323
|
else {
|
|
324
|
-
if (
|
|
324
|
+
if (X(s))
|
|
325
325
|
break;
|
|
326
326
|
o += _, s.next();
|
|
327
327
|
}
|
|
@@ -350,8 +350,8 @@ function Qr(e, t = {}) {
|
|
|
350
350
|
let o = "", _ = "";
|
|
351
351
|
for (; o = m(s, se); )
|
|
352
352
|
o === "\\" ? _ += q(s) : _ += o;
|
|
353
|
-
const
|
|
354
|
-
return
|
|
353
|
+
const R = s.currentChar();
|
|
354
|
+
return R === ye || R === We ? (T(re.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), R === ye && (s.next(), D(s, "'")), _) : (D(s, "'"), _);
|
|
355
355
|
}
|
|
356
356
|
function q(s) {
|
|
357
357
|
const o = s.currentChar();
|
|
@@ -369,16 +369,16 @@ function Qr(e, t = {}) {
|
|
|
369
369
|
}
|
|
370
370
|
function we(s, o, _) {
|
|
371
371
|
D(s, o);
|
|
372
|
-
let
|
|
372
|
+
let R = "";
|
|
373
373
|
for (let M = 0; M < _; M++) {
|
|
374
374
|
const P = B(s);
|
|
375
375
|
if (!P) {
|
|
376
|
-
T(re.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${
|
|
376
|
+
T(re.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${R}${s.currentChar()}`);
|
|
377
377
|
break;
|
|
378
378
|
}
|
|
379
|
-
|
|
379
|
+
R += P;
|
|
380
380
|
}
|
|
381
|
-
return `\\${o}${
|
|
381
|
+
return `\\${o}${R}`;
|
|
382
382
|
}
|
|
383
383
|
function K(s) {
|
|
384
384
|
return s !== "{" && s !== "}" && s !== Pe && s !== ye;
|
|
@@ -398,8 +398,8 @@ function Qr(e, t = {}) {
|
|
|
398
398
|
}
|
|
399
399
|
function Ke(s) {
|
|
400
400
|
const o = (_) => {
|
|
401
|
-
const
|
|
402
|
-
return
|
|
401
|
+
const R = s.currentChar();
|
|
402
|
+
return R === "{" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === Pe ? _ : (_ += R, s.next(), o(_));
|
|
403
403
|
};
|
|
404
404
|
return o("");
|
|
405
405
|
}
|
|
@@ -433,10 +433,10 @@ function Qr(e, t = {}) {
|
|
|
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
435
|
let M = !0, P = !0, v = !0;
|
|
436
|
-
if (
|
|
436
|
+
if (X(s))
|
|
437
437
|
return o.braceNest > 0 && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = N(o, 1, Ve(s)), o.braceNest = 0, o.inLinked = !1, _;
|
|
438
438
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
439
|
-
return T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0,
|
|
439
|
+
return T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ye(s, o);
|
|
440
440
|
if (M = S(s, o))
|
|
441
441
|
return _ = N(o, 4, _e(s)), w(s), _;
|
|
442
442
|
if (P = c(s, o))
|
|
@@ -452,16 +452,16 @@ function Qr(e, t = {}) {
|
|
|
452
452
|
}
|
|
453
453
|
function Ce(s, o) {
|
|
454
454
|
const { currentType: _ } = o;
|
|
455
|
-
let
|
|
455
|
+
let R = null;
|
|
456
456
|
const M = s.currentChar();
|
|
457
457
|
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M === ye || M === Pe) && T(re.INVALID_LINKED_FORMAT, a(), 0), M) {
|
|
458
458
|
case "@":
|
|
459
|
-
return s.next(),
|
|
459
|
+
return s.next(), R = N(
|
|
460
460
|
o,
|
|
461
461
|
7,
|
|
462
462
|
"@"
|
|
463
463
|
/* TokenChars.LinkedAlias */
|
|
464
|
-
), o.inLinked = !0,
|
|
464
|
+
), o.inLinked = !0, R;
|
|
465
465
|
case ".":
|
|
466
466
|
return w(s), s.next(), N(
|
|
467
467
|
o,
|
|
@@ -477,10 +477,10 @@ function Qr(e, t = {}) {
|
|
|
477
477
|
/* TokenChars.LinkedDelimiter */
|
|
478
478
|
);
|
|
479
479
|
default:
|
|
480
|
-
return
|
|
480
|
+
return X(s) ? (R = N(o, 1, Ve(s)), o.braceNest = 0, o.inLinked = !1, R) : I(s, o) || k(s, o) ? (w(s), Ce(s, o)) : p(s, o) ? (w(s), N(o, 11, Je(s))) : A(s, o) ? (w(s), M === "{" ? Fe(s, o) || R : N(o, 10, Ke(s))) : (_ === 7 && T(re.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ye(s, o));
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Ye(s, o) {
|
|
484
484
|
let _ = {
|
|
485
485
|
type: 13
|
|
486
486
|
/* TokenTypes.EOF */
|
|
@@ -502,7 +502,7 @@ function Qr(e, t = {}) {
|
|
|
502
502
|
case "@":
|
|
503
503
|
return Ce(s, o) || F(o);
|
|
504
504
|
default: {
|
|
505
|
-
if (
|
|
505
|
+
if (X(s))
|
|
506
506
|
return _ = N(o, 1, Ve(s)), o.braceNest = 0, o.inLinked = !1, _;
|
|
507
507
|
if (W(s))
|
|
508
508
|
return N(o, 0, Q(s));
|
|
@@ -512,12 +512,12 @@ function Qr(e, t = {}) {
|
|
|
512
512
|
return _;
|
|
513
513
|
}
|
|
514
514
|
function O() {
|
|
515
|
-
const { currentType: s, offset: o, startLoc: _, endLoc:
|
|
516
|
-
return i.lastType = s, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc =
|
|
515
|
+
const { currentType: s, offset: o, startLoc: _, endLoc: R } = i;
|
|
516
|
+
return i.lastType = s, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc = R, i.offset = l(), i.startLoc = a(), r.currentChar() === We ? N(
|
|
517
517
|
i,
|
|
518
518
|
13
|
|
519
519
|
/* TokenTypes.EOF */
|
|
520
|
-
) :
|
|
520
|
+
) : Ye(r, i);
|
|
521
521
|
}
|
|
522
522
|
return {
|
|
523
523
|
nextToken: O,
|
|
@@ -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 p = t ? Ft(S, I) : null,
|
|
547
|
+
const p = t ? Ft(S, I) : null, k = Tt(h, p, {
|
|
548
548
|
domain: qr,
|
|
549
549
|
args: b
|
|
550
550
|
});
|
|
551
|
-
n(
|
|
551
|
+
n(k);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
function l(f, h, S) {
|
|
@@ -579,7 +579,7 @@ function ns(e = {}) {
|
|
|
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, Re(h)), I.value = h.value || "", a(I, f.currentOffset(), f.currentPosition()), {
|
|
583
583
|
node: I
|
|
584
584
|
});
|
|
585
585
|
}
|
|
@@ -594,18 +594,18 @@ function ns(e = {}) {
|
|
|
594
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, Re(c)), c = f.nextToken(), c.type === 2 && (c = f.nextToken()), c.type) {
|
|
598
598
|
case 10:
|
|
599
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
599
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = T(f, c.value || "");
|
|
600
600
|
break;
|
|
601
601
|
case 4:
|
|
602
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
602
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = i(f, c.value || "");
|
|
603
603
|
break;
|
|
604
604
|
case 5:
|
|
605
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
605
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = u(f, c.value || "");
|
|
606
606
|
break;
|
|
607
607
|
case 6:
|
|
608
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
608
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = g(f, c.value || "");
|
|
609
609
|
break;
|
|
610
610
|
default: {
|
|
611
611
|
r(f, re.UNEXPECTED_EMPTY_LINKED_KEY, h.lastStartLoc, 0);
|
|
@@ -625,29 +625,29 @@ function ns(e = {}) {
|
|
|
625
625
|
b.items = [];
|
|
626
626
|
let I = null;
|
|
627
627
|
do {
|
|
628
|
-
const
|
|
629
|
-
switch (I = null,
|
|
628
|
+
const A = I || f.nextToken();
|
|
629
|
+
switch (I = null, A.type) {
|
|
630
630
|
case 0:
|
|
631
|
-
|
|
631
|
+
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(A)), b.items.push(d(f, A.value || ""));
|
|
632
632
|
break;
|
|
633
633
|
case 5:
|
|
634
|
-
|
|
634
|
+
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(A)), b.items.push(u(f, A.value || ""));
|
|
635
635
|
break;
|
|
636
636
|
case 4:
|
|
637
|
-
|
|
637
|
+
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(A)), b.items.push(i(f, A.value || ""));
|
|
638
638
|
break;
|
|
639
639
|
case 6:
|
|
640
|
-
|
|
640
|
+
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(A)), b.items.push(g(f, A.value || ""));
|
|
641
641
|
break;
|
|
642
642
|
case 7: {
|
|
643
|
-
const
|
|
644
|
-
b.items.push(
|
|
643
|
+
const X = N(f);
|
|
644
|
+
b.items.push(X.node), I = X.nextConsumeToken || null;
|
|
645
645
|
break;
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
648
|
} while (h.currentType !== 13 && h.currentType !== 1);
|
|
649
|
-
const p = h.currentType === 1 ? h.lastOffset : f.currentOffset(),
|
|
650
|
-
return a(b, p,
|
|
649
|
+
const p = h.currentType === 1 ? h.lastOffset : f.currentOffset(), k = h.currentType === 1 ? h.lastEndLoc : f.currentPosition();
|
|
650
|
+
return a(b, p, k), b;
|
|
651
651
|
}
|
|
652
652
|
function D(f, h, S, c) {
|
|
653
653
|
const b = f.context();
|
|
@@ -655,22 +655,22 @@ function ns(e = {}) {
|
|
|
655
655
|
const p = l(1, h, S);
|
|
656
656
|
p.cases = [], p.cases.push(c);
|
|
657
657
|
do {
|
|
658
|
-
const
|
|
659
|
-
I || (I =
|
|
658
|
+
const k = F(f);
|
|
659
|
+
I || (I = k.items.length === 0), p.cases.push(k);
|
|
660
660
|
} while (b.currentType !== 13);
|
|
661
661
|
return I && r(f, re.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), a(p, f.currentOffset(), f.currentPosition()), p;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function L(f) {
|
|
664
664
|
const h = f.context(), { offset: S, startLoc: c } = h, b = F(f);
|
|
665
665
|
return h.currentType === 13 ? b : D(f, S, c, b);
|
|
666
666
|
}
|
|
667
667
|
function w(f) {
|
|
668
668
|
const h = Qr(f, Ie({}, e)), S = h.context(), c = l(0, S.offset, S.startLoc);
|
|
669
|
-
return t && c.loc && (c.loc.source = f), c.body =
|
|
669
|
+
return t && c.loc && (c.loc.source = f), c.body = L(h), e.onCacheKey && (c.cacheKey = e.onCacheKey(f)), S.currentType !== 13 && r(h, re.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, f[S.offset] || ""), a(c, h.currentOffset(), h.currentPosition()), c;
|
|
670
670
|
}
|
|
671
671
|
return { parse: w };
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function Re(e) {
|
|
674
674
|
if (e.type === 13)
|
|
675
675
|
return "EOF";
|
|
676
676
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -823,20 +823,20 @@ function as(e, t) {
|
|
|
823
823
|
};
|
|
824
824
|
a && e.loc && (d.source = e.loc.source);
|
|
825
825
|
const u = () => d;
|
|
826
|
-
function i(
|
|
827
|
-
d.code +=
|
|
826
|
+
function i(L, w) {
|
|
827
|
+
d.code += L;
|
|
828
828
|
}
|
|
829
|
-
function g(
|
|
829
|
+
function g(L, w = !0) {
|
|
830
830
|
const f = w ? r : "";
|
|
831
|
-
i(l ? f + " ".repeat(
|
|
831
|
+
i(l ? f + " ".repeat(L) : f);
|
|
832
832
|
}
|
|
833
|
-
function y(
|
|
833
|
+
function y(L = !0) {
|
|
834
834
|
const w = ++d.indentLevel;
|
|
835
|
-
|
|
835
|
+
L && g(w);
|
|
836
836
|
}
|
|
837
|
-
function T(
|
|
837
|
+
function T(L = !0) {
|
|
838
838
|
const w = --d.indentLevel;
|
|
839
|
-
|
|
839
|
+
L && g(w);
|
|
840
840
|
}
|
|
841
841
|
function N() {
|
|
842
842
|
g(d.indentLevel);
|
|
@@ -847,7 +847,7 @@ function as(e, t) {
|
|
|
847
847
|
indent: y,
|
|
848
848
|
deindent: T,
|
|
849
849
|
newline: N,
|
|
850
|
-
helper: (
|
|
850
|
+
helper: (L) => `_${L}`,
|
|
851
851
|
needIndent: () => d.needIndent
|
|
852
852
|
};
|
|
853
853
|
}
|
|
@@ -956,9 +956,9 @@ function ms(e, t = {}) {
|
|
|
956
956
|
}
|
|
957
957
|
var fs = { env: { NODE_ENV: "production" } };
|
|
958
958
|
function _s() {
|
|
959
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
959
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Xe().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Xe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
960
960
|
}
|
|
961
|
-
function
|
|
961
|
+
function Lt(e) {
|
|
962
962
|
return (n) => ps(n, e);
|
|
963
963
|
}
|
|
964
964
|
function ps(e, t) {
|
|
@@ -1011,22 +1011,22 @@ function Pt(e, t) {
|
|
|
1011
1011
|
return _t(t, n);
|
|
1012
1012
|
case 4: {
|
|
1013
1013
|
const r = t;
|
|
1014
|
-
if (
|
|
1014
|
+
if (Ae(r, "k") && r.k)
|
|
1015
1015
|
return e.interpolate(e.named(r.k));
|
|
1016
|
-
if (
|
|
1016
|
+
if (Ae(r, "key") && r.key)
|
|
1017
1017
|
return e.interpolate(e.named(r.key));
|
|
1018
1018
|
throw it(n);
|
|
1019
1019
|
}
|
|
1020
1020
|
case 5: {
|
|
1021
1021
|
const r = t;
|
|
1022
|
-
if (
|
|
1022
|
+
if (Ae(r, "i") && ge(r.i))
|
|
1023
1023
|
return e.interpolate(e.list(r.i));
|
|
1024
|
-
if (
|
|
1024
|
+
if (Ae(r, "index") && ge(r.index))
|
|
1025
1025
|
return e.interpolate(e.list(r.index));
|
|
1026
1026
|
throw it(n);
|
|
1027
1027
|
}
|
|
1028
1028
|
case 6: {
|
|
1029
|
-
const r = t, l = Ss(r), a =
|
|
1029
|
+
const r = t, l = Ss(r), a = Ls(r);
|
|
1030
1030
|
return e.linked(Pt(e, a), l ? Pt(e, l) : void 0, e.type);
|
|
1031
1031
|
}
|
|
1032
1032
|
case 7:
|
|
@@ -1052,9 +1052,9 @@ const Os = ["m", "modifier"];
|
|
|
1052
1052
|
function Ss(e) {
|
|
1053
1053
|
return Ge(e, Os);
|
|
1054
1054
|
}
|
|
1055
|
-
const
|
|
1056
|
-
function
|
|
1057
|
-
const t = Ge(e,
|
|
1055
|
+
const As = ["k", "key"];
|
|
1056
|
+
function Ls(e) {
|
|
1057
|
+
const t = Ge(e, As);
|
|
1058
1058
|
if (t)
|
|
1059
1059
|
return t;
|
|
1060
1060
|
throw it(
|
|
@@ -1065,7 +1065,7 @@ function As(e) {
|
|
|
1065
1065
|
function Ge(e, t, n) {
|
|
1066
1066
|
for (let r = 0; r < t.length; r++) {
|
|
1067
1067
|
const l = t[r];
|
|
1068
|
-
if (
|
|
1068
|
+
if (Ae(e, l) && e[l] != null)
|
|
1069
1069
|
return e[l];
|
|
1070
1070
|
}
|
|
1071
1071
|
return n;
|
|
@@ -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
|
|
1076
|
+
const Rs = (e) => e;
|
|
1077
1077
|
let pt = oe();
|
|
1078
1078
|
function ot(e) {
|
|
1079
|
-
return te(e) && Kt(e) === 0 && (
|
|
1079
|
+
return te(e) && Kt(e) === 0 && (Ae(e, "b") || Ae(e, "body"));
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function ks(e, t = {}) {
|
|
1082
1082
|
let n = !1;
|
|
1083
1083
|
const r = t.onError || Br;
|
|
1084
1084
|
return t.onError = (l) => {
|
|
@@ -1089,22 +1089,22 @@ function Rs(e, t = {}) {
|
|
|
1089
1089
|
function Ms(e, t) {
|
|
1090
1090
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Z(e)) {
|
|
1091
1091
|
ve(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1092
|
-
const r = (t.onCacheKey ||
|
|
1092
|
+
const r = (t.onCacheKey || Rs)(e), l = pt[r];
|
|
1093
1093
|
if (l)
|
|
1094
1094
|
return l;
|
|
1095
|
-
const { ast: a, detectError: d } =
|
|
1095
|
+
const { ast: a, detectError: d } = ks(e, {
|
|
1096
1096
|
...t,
|
|
1097
1097
|
location: fs.env.NODE_ENV !== "production",
|
|
1098
1098
|
jit: !0
|
|
1099
|
-
}), u =
|
|
1099
|
+
}), u = Lt(a);
|
|
1100
1100
|
return d ? u : pt[r] = u;
|
|
1101
1101
|
} else {
|
|
1102
1102
|
const n = e.cacheKey;
|
|
1103
1103
|
if (n) {
|
|
1104
1104
|
const r = pt[n];
|
|
1105
|
-
return r || (pt[n] =
|
|
1105
|
+
return r || (pt[n] = Lt(e));
|
|
1106
1106
|
} else
|
|
1107
|
-
return
|
|
1107
|
+
return Lt(e);
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
let ct = null;
|
|
@@ -1124,7 +1124,7 @@ function Ps(e) {
|
|
|
1124
1124
|
return (t) => ct && ct.emit(e, t);
|
|
1125
1125
|
}
|
|
1126
1126
|
const je = {
|
|
1127
|
-
INVALID_ARGUMENT:
|
|
1127
|
+
INVALID_ARGUMENT: Yr,
|
|
1128
1128
|
// 17
|
|
1129
1129
|
INVALID_DATE_ARGUMENT: 18,
|
|
1130
1130
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1138,18 +1138,18 @@ function Ue(e) {
|
|
|
1138
1138
|
function zt(e, t) {
|
|
1139
1139
|
return t.locale != null ? fn(t.locale) : fn(e.locale);
|
|
1140
1140
|
}
|
|
1141
|
-
let
|
|
1141
|
+
let Rt;
|
|
1142
1142
|
function fn(e) {
|
|
1143
1143
|
if (Z(e))
|
|
1144
1144
|
return e;
|
|
1145
1145
|
if (me(e)) {
|
|
1146
|
-
if (e.resolvedOnce &&
|
|
1147
|
-
return
|
|
1146
|
+
if (e.resolvedOnce && Rt != null)
|
|
1147
|
+
return Rt;
|
|
1148
1148
|
if (e.constructor.name === "Function") {
|
|
1149
1149
|
const t = e();
|
|
1150
1150
|
if (Wr(t))
|
|
1151
1151
|
throw Ue(je.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1152
|
-
return
|
|
1152
|
+
return Rt = t;
|
|
1153
1153
|
} else
|
|
1154
1154
|
throw Ue(je.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1155
1155
|
} else
|
|
@@ -1161,7 +1161,7 @@ function Us(e, t, n) {
|
|
|
1161
1161
|
...be(t) ? t : te(t) ? Object.keys(t) : Z(t) ? [t] : [n]
|
|
1162
1162
|
])];
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1164
|
+
function Hn(e, t, n) {
|
|
1165
1165
|
const r = Z(n) ? n : Nt, l = e;
|
|
1166
1166
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1167
1167
|
let a = l.__localeChainCache.get(r);
|
|
@@ -1370,7 +1370,7 @@ function Zs(e) {
|
|
|
1370
1370
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1371
1371
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function Ys(e) {
|
|
1374
1374
|
if (e == null)
|
|
1375
1375
|
return "o";
|
|
1376
1376
|
switch (e.charCodeAt(0)) {
|
|
@@ -1399,7 +1399,7 @@ function Bs(e) {
|
|
|
1399
1399
|
const t = e.trim();
|
|
1400
1400
|
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Gs(t) ? Zs(t) : "*" + t;
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function Xs(e) {
|
|
1403
1403
|
const t = [];
|
|
1404
1404
|
let n = -1, r = 0, l = 0, a, d, u, i, g, y, T;
|
|
1405
1405
|
const N = [];
|
|
@@ -1449,21 +1449,21 @@ function Hs(e) {
|
|
|
1449
1449
|
}
|
|
1450
1450
|
for (; r !== null; )
|
|
1451
1451
|
if (n++, a = e[n], !(a === "\\" && F())) {
|
|
1452
|
-
if (i =
|
|
1452
|
+
if (i = Ys(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
1458
|
const pn = /* @__PURE__ */ new Map();
|
|
1459
|
-
function
|
|
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
1465
|
let n = pn.get(t);
|
|
1466
|
-
if (n || (n =
|
|
1466
|
+
if (n || (n = Xs(t), n && pn.set(t, n)), !n)
|
|
1467
1467
|
return null;
|
|
1468
1468
|
const r = n.length;
|
|
1469
1469
|
let l = e, a = 0;
|
|
@@ -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 : kt(l), u = ee(e.datetimeFormats) ? e.datetimeFormats : kt(l), i = ee(e.numberFormats) ? e.numberFormats : kt(l), g = Ie(oe(), e.modifiers, Ks()), y = e.pluralRules || oe(), T = me(e.missing) ? e.missing : null, N = ve(e.missingWarn) || Et(e.missingWarn) ? e.missingWarn : !0, F = ve(e.fallbackWarn) || Et(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, L = !!e.unresolving, w = me(e.postTranslation) ? e.postTranslation : null, f = ee(e.processor) ? e.processor : null, h = ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, c = me(e.messageCompiler) ? e.messageCompiler : $n, b = me(e.messageResolver) ? e.messageResolver : Jn || Hs, I = me(e.localeFallbacker) ? e.localeFallbacker : Kn || Us, p = te(e.fallbackContext) ? e.fallbackContext : void 0, k = e, A = te(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), X = te(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), W = te(k.__meta) ? k.__meta : {};
|
|
1509
1509
|
gn++;
|
|
1510
1510
|
const m = {
|
|
1511
1511
|
version: n,
|
|
@@ -1519,7 +1519,7 @@ function ro(e = {}) {
|
|
|
1519
1519
|
missingWarn: N,
|
|
1520
1520
|
fallbackWarn: F,
|
|
1521
1521
|
fallbackFormat: D,
|
|
1522
|
-
unresolving:
|
|
1522
|
+
unresolving: L,
|
|
1523
1523
|
postTranslation: w,
|
|
1524
1524
|
processor: f,
|
|
1525
1525
|
warnHtmlMessage: h,
|
|
@@ -1531,9 +1531,9 @@ function ro(e = {}) {
|
|
|
1531
1531
|
onWarn: t,
|
|
1532
1532
|
__meta: W
|
|
1533
1533
|
};
|
|
1534
|
-
return m.datetimeFormats = u, m.numberFormats = i, m.__datetimeFormatters =
|
|
1534
|
+
return m.datetimeFormats = u, m.numberFormats = i, m.__datetimeFormatters = A, m.__numberFormatters = X, __INTLIFY_PROD_DEVTOOLS__ && ws(m, n, W), m;
|
|
1535
1535
|
}
|
|
1536
|
-
const
|
|
1536
|
+
const kt = (e) => ({ [e]: oe() });
|
|
1537
1537
|
function Qt(e, t, n, r, l) {
|
|
1538
1538
|
const { missing: a, onWarn: d } = e;
|
|
1539
1539
|
if (a !== null) {
|
|
@@ -1561,7 +1561,7 @@ function oo(e, t) {
|
|
|
1561
1561
|
function In(e, ...t) {
|
|
1562
1562
|
const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, y, T] = jt(...t), N = ve(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1563
1563
|
ve(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1564
|
-
const F = !!y.part, D = zt(e, y),
|
|
1564
|
+
const F = !!y.part, D = zt(e, y), L = d(
|
|
1565
1565
|
e,
|
|
1566
1566
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1567
1567
|
l,
|
|
@@ -1571,7 +1571,7 @@ function In(e, ...t) {
|
|
|
1571
1571
|
return new Intl.DateTimeFormat(D, T).format(g);
|
|
1572
1572
|
let w = {}, f, h = null;
|
|
1573
1573
|
const S = "datetime format";
|
|
1574
|
-
for (let I = 0; I <
|
|
1574
|
+
for (let I = 0; I < L.length && (f = L[I], w = n[f] || {}, h = w[i], !ee(h)); I++)
|
|
1575
1575
|
Qt(e, i, f, N, S);
|
|
1576
1576
|
if (!ee(h) || !Z(f))
|
|
1577
1577
|
return r ? Ot : i;
|
|
@@ -1638,7 +1638,7 @@ function yn(e, t, n) {
|
|
|
1638
1638
|
function En(e, ...t) {
|
|
1639
1639
|
const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, y, T] = Ut(...t), N = ve(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1640
1640
|
ve(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1641
|
-
const F = !!y.part, D = zt(e, y),
|
|
1641
|
+
const F = !!y.part, D = zt(e, y), L = d(
|
|
1642
1642
|
e,
|
|
1643
1643
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1644
1644
|
l,
|
|
@@ -1648,7 +1648,7 @@ function En(e, ...t) {
|
|
|
1648
1648
|
return new Intl.NumberFormat(D, T).format(g);
|
|
1649
1649
|
let w = {}, f, h = null;
|
|
1650
1650
|
const S = "number format";
|
|
1651
|
-
for (let I = 0; I <
|
|
1651
|
+
for (let I = 0; I < L.length && (f = L[I], w = n[f] || {}, h = w[i], !ee(h)); I++)
|
|
1652
1652
|
Qt(e, i, f, N, S);
|
|
1653
1653
|
if (!ee(h) || !Z(f))
|
|
1654
1654
|
return r ? Ot : i;
|
|
@@ -1723,11 +1723,11 @@ 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 p = y(f, !0)(w),
|
|
1726
|
+
const p = y(f, !0)(w), k = (
|
|
1727
1727
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1728
1728
|
b === "vnode" && be(p) && I ? p[0] : p
|
|
1729
1729
|
);
|
|
1730
|
-
return I ? T(I)(
|
|
1730
|
+
return I ? T(I)(k, b) : k;
|
|
1731
1731
|
},
|
|
1732
1732
|
message: y,
|
|
1733
1733
|
type: D,
|
|
@@ -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] = Vt(...t), y = ve(g.missingWarn) ? g.missingWarn : e.missingWarn, T = ve(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = ve(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, F = !!g.resolvedMessage, D = Z(g.default) || ve(g.default) ? ve(g.default) ? a ? i : () => i : g.default : n ? a ? i : () => i : null,
|
|
1742
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = Vt(...t), y = ve(g.missingWarn) ? g.missingWarn : e.missingWarn, T = ve(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = ve(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, F = !!g.resolvedMessage, D = Z(g.default) || ve(g.default) ? ve(g.default) ? a ? i : () => i : g.default : n ? a ? i : () => i : null, L = n || D != null && (Z(D) || me(D)), w = zt(e, g);
|
|
1743
1743
|
N && po(g);
|
|
1744
1744
|
let [f, h, S] = F ? [
|
|
1745
1745
|
i,
|
|
1746
1746
|
w,
|
|
1747
1747
|
u[w] || oe()
|
|
1748
1748
|
] : tr(e, i, w, d, T, y), c = f, b = i;
|
|
1749
|
-
if (!F && !(Z(c) || ot(c) || Te(c)) &&
|
|
1749
|
+
if (!F && !(Z(c) || ot(c) || Te(c)) && L && (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
1752
|
const p = () => {
|
|
1753
1753
|
I = !0;
|
|
1754
|
-
},
|
|
1754
|
+
}, k = Te(c) ? c : nr(e, i, h, c, b, p);
|
|
1755
1755
|
if (I)
|
|
1756
1756
|
return c;
|
|
1757
|
-
const
|
|
1757
|
+
const A = bo(e, h, S, g), X = _o(A), W = vo(e, k, X), m = r ? r(W, i) : W;
|
|
1758
1758
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1759
1759
|
const C = {
|
|
1760
1760
|
timestamp: Date.now(),
|
|
@@ -1776,7 +1776,7 @@ function tr(e, t, n, r, l, a) {
|
|
|
1776
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
|
|
1779
|
+
for (let L = 0; L < y.length && (N = y[L], T = d[N] || oe(), (F = i(T, t)) === null && (F = T[t]), !(Z(F) || ot(F) || Te(F))); L++)
|
|
1780
1780
|
if (!oo(N, y)) {
|
|
1781
1781
|
const w = Qt(
|
|
1782
1782
|
e,
|
|
@@ -1830,8 +1830,8 @@ function bo(e, t, n, r) {
|
|
|
1830
1830
|
modifiers: l,
|
|
1831
1831
|
pluralRules: a,
|
|
1832
1832
|
messages: (F, D) => {
|
|
1833
|
-
let
|
|
1834
|
-
if (
|
|
1833
|
+
let L = d(n, F);
|
|
1834
|
+
if (L == 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
|
|
@@ -1841,24 +1841,24 @@ function bo(e, t, n, r) {
|
|
|
1841
1841
|
i,
|
|
1842
1842
|
g
|
|
1843
1843
|
);
|
|
1844
|
-
|
|
1844
|
+
L = d(w, F);
|
|
1845
1845
|
}
|
|
1846
|
-
if (Z(
|
|
1846
|
+
if (Z(L) || ot(L)) {
|
|
1847
1847
|
let w = !1;
|
|
1848
|
-
const h = nr(e, F, t,
|
|
1848
|
+
const h = nr(e, F, t, L, F, () => {
|
|
1849
1849
|
w = !0;
|
|
1850
1850
|
});
|
|
1851
1851
|
return w ? Tn : h;
|
|
1852
|
-
} else return Te(
|
|
1852
|
+
} else return Te(L) ? L : Tn;
|
|
1853
1853
|
}
|
|
1854
1854
|
};
|
|
1855
1855
|
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), ge(r.plural) && (N.pluralIndex = r.plural), N;
|
|
1856
1856
|
}
|
|
1857
1857
|
_s();
|
|
1858
|
-
var go = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_fd7f5a8f-502d-4ed9-b4e2-610a19cfbad5", 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_fd7f5a8f-502d-4ed9-b4e2-610a19cfbad5", 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.1", 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: "1840", ACTIONS_ORCHESTRATION_ID: "90023372-206e-4549-b703-ed8ef1c3f3d9.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: "20261012.334.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_fd7f5a8f-502d-4ed9-b4e2-610a19cfbad5", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:10215", 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: "38715928244", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "51ab92a1f46ed5fd2a63fb1c8e2daee8afc4553c", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTIwODAwNDMsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MjA1Nzg0MywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImE3ZjRlMjk5LTVkZTUtNWQ5ZS04MWU1LTg2ODMwNDNmMWNhOSIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MjA1NzU0Mywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJZeVQ3Nzg2XCIsXCJhY3Rvcl9pZFwiOlwiOTcwMDMxMjVcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiMTE2MzU4NDg0NzA3XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIwOWY3NmQ4YWM1ZTZhMDcwNzU0Mjc0OWUxZDU2ODdiZjFlYWQ1ZjJjXCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvS0RJLTUwODYtaHJtLXNjaGVkdWxlXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjM4NzE1OTI4MjQ0XCIsXCJydW5fbnVtYmVyXCI6XCIyMTFcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI1MWFiOTJhMWY0NmVkNWZkMmE2M2ZiMWM4ZTJkYWVlOGFmYzQ1NTNjXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcIndvcmtmbG93X3NoYVwiOlwiNTFhYjkyYTFmNDZlZDVmZDJhNjNmYjFjOGUyZGFlZThhZmM0NTUzY1wifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvS0RJLTUwODYtaHJtLXNjaGVkdWxlIiwib3JjaF9pZCI6IjkwMDIzMzcyLTIwNmUtNDU0OS1iNzAzLWVkOGVmMWMzZjNkOS5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiOTAwMjMzNzItMjA2ZS00NTQ5LWI3MDMtZWQ4ZWYxYzNmM2Q5IiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMzg3MTU5MjgyNDQiLCJydW5fbnVtYmVyIjoiMjExIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDIwMDA2NCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjkwMDIzMzcyLTIwNmUtNDU0OS1iNzAzLWVkOGVmMWMzZjNkOTphN2Y0ZTI5OS01ZGU1LTVkOWUtODFlNS04NjgzMDQzZjFjYTkgQWN0aW9ucy5SdW5uZXI6OTAwMjMzNzItMjA2ZS00NTQ5LWI3MDMtZWQ4ZWYxYzNmM2Q5OmE3ZjRlMjk5LTVkZTUtNWQ5ZS04MWU1LTg2ODMwNDNmMWNhOSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo5MDAyMzM3Mi0yMDZlLTQ1NDktYjcwMy1lZDhlZjFjM2YzZDk6YTdmNGUyOTktNWRlNS01ZDllLTgxZTUtODY4MzA0M2YxY2E5IGdlbmVyYXRlX2lkX3Rva2VuOjkwMDIzMzcyLTIwNmUtNDU0OS1iNzAzLWVkOGVmMWMzZjNkOTphN2Y0ZTI5OS01ZGU1LTVkOWUtODFlNS04NjgzMDQzZjFjYTkgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI1MWFiOTJhMWY0NmVkNWZkMmE2M2ZiMWM4ZTJkYWVlOGFmYzQ1NTNjIiwidHJ1c3RfdGllciI6IjEifQ.y_8AGbZHinjn1IwFx2-Kz1YFhUtRdl4UhSIWMHlzV-bqk-ifxZpC-b1ozCl7Wdi36HlfYZVgg5WDMh5hHnzEWSsani2f5C6YgE67jZP82QCbZ_qTxZmPWplD3Qp-U75r0jdXClcsLIpZi6gRbSPNKdvh7YeztvkWusRN7vWcvfwoLxILTlRwLIDpLyQO78L_WkKusXCZh6_RUtC5I380HXeMcssviXfOoytF09MWnAHs4z_TkTtZER6jfvD2CKpSNTYziLcu3FVvtOLpbJPp199emqXXMfEqBSgUktF3Nl13LeolslPPx3slnvtjqc22a0DJ_gA60qcoIWgo-ENyZg", 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_4607641c-df6e-47e7-bdc0-4131cb98200f", INVOCATION_ID: "780d135a00fc4f53bb8380847fc61b22", 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: "211", GITHUB_TRIGGERING_ACTOR: "YyT7786", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000200064", 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.27", 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: "51ab92a1f46ed5fd2a63fb1c8e2daee8afc4553c", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/KDI-5086-hrm-schedule", GITHUB_ACTOR: "YyT7786", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_fd7f5a8f-502d-4ed9-b4e2-610a19cfbad5", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "97003125", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/62//idtoken/90023372-206e-4549-b703-ed8ef1c3f3d9/a7f4e299-5de5-5d9e-81e5-8683043f1ca9?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_fd7f5a8f-502d-4ed9-b4e2-610a19cfbad5", 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_fd7f5a8f-502d-4ed9-b4e2-610a19cfbad5", 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_fd7f5a8f-502d-4ed9-b4e2-610a19cfbad5", 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_3b80f3cb-5e1b-4da5-9e7a-0a4024eac747", 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_3b80f3cb-5e1b-4da5-9e7a-0a4024eac747", 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.1", 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: "1926", ACTIONS_ORCHESTRATION_ID: "5d084432-a8bc-41e5-9030-8ef1438b1ab7.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: "20261012.334.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_3b80f3cb-5e1b-4da5-9e7a-0a4024eac747", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12778", 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: "38718326986", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6eccdc32e4573d704037019ed26c837e47dfd465", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTIwODEyMTcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MjA1OTAxNywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjVlYWFjMDY4LWZmZjYtNTNiNi05YTYyLWI1ZmUwMTAwNDdhMiIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MjA1ODcxNywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCIxMTYzNjY0MDAwOTRcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzg3MTgzMjY5ODZcIixcInJ1bl9udW1iZXJcIjpcIjIxMlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjZlY2NkYzMyZTQ1NzNkNzA0MDM3MDE5ZWQyNmM4MzdlNDdkZmQ0NjVcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS01MDg2LWhybS1zY2hlZHVsZVwiLFwid29ya2Zsb3dfc2hhXCI6XCI2ZWNjZGMzMmU0NTczZDcwNDAzNzAxOWVkMjZjODM3ZTQ3ZGZkNDY1XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGUiLCJvcmNoX2lkIjoiNWQwODQ0MzItYThiYy00MWU1LTkwMzAtOGVmMTQzOGIxYWI3LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI1ZDA4NDQzMi1hOGJjLTQxZTUtOTAzMC04ZWYxNDM4YjFhYjciLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzODcxODMyNjk4NiIsInJ1bl9udW1iZXIiOiIyMTIiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMjAwMTY0IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6NWQwODQ0MzItYThiYy00MWU1LTkwMzAtOGVmMTQzOGIxYWI3OjVlYWFjMDY4LWZmZjYtNTNiNi05YTYyLWI1ZmUwMTAwNDdhMiBBY3Rpb25zLlJ1bm5lcjo1ZDA4NDQzMi1hOGJjLTQxZTUtOTAzMC04ZWYxNDM4YjFhYjc6NWVhYWMwNjgtZmZmNi01M2I2LTlhNjItYjVmZTAxMDA0N2EyIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjVkMDg0NDMyLWE4YmMtNDFlNS05MDMwLThlZjE0MzhiMWFiNzo1ZWFhYzA2OC1mZmY2LTUzYjYtOWE2Mi1iNWZlMDEwMDQ3YTIgZ2VuZXJhdGVfaWRfdG9rZW46NWQwODQ0MzItYThiYy00MWU1LTkwMzAtOGVmMTQzOGIxYWI3OjVlYWFjMDY4LWZmZjYtNTNiNi05YTYyLWI1ZmUwMTAwNDdhMiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjZlY2NkYzMyZTQ1NzNkNzA0MDM3MDE5ZWQyNmM4MzdlNDdkZmQ0NjUiLCJ0cnVzdF90aWVyIjoiMSJ9.QRXODBANl8xaP9rw0Vu3l8pwSIX-9UGSCQvnfQX0Dm70N-M-TxeXGAfWE1HYs_CpMZjc6eosJgg32aU1UQa4_7fcYcN57c-xdpNDuEYccQYwWQr3t28LGStgnRQ-AndFATf5vES5hcii6lKWoBWQioN45jYi7AuoYV9Bk6HuNSu3rMg7RDqpuKerGGcg1eSZO-uxdtQ6bdKe6A0CFG3RHnV9U6RACjmjhaLuvzkku5Yr2Qr2DnbB7-yYIy40k1arFywRtxXuGOeOyl-U2LKEhEEAgJDCFEFOyVg6yrJJ69BtSxvk34nkx0UCQKuoYiF201QgKCy1TxclAXSE797ZBg", 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_e6059fb4-d457-4173-a454-62150dc0ed83", INVOCATION_ID: "e20d120d94434c61b1ca508e22e81801", 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: "212", 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 1000200164", 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.28", 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: "6eccdc32e4573d704037019ed26c837e47dfd465", 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_3b80f3cb-5e1b-4da5-9e7a-0a4024eac747", 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/200//idtoken/5d084432-a8bc-41e5-9030-8ef1438b1ab7/5eaac068-fff6-53b6-9a62-b5fe010047a2?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3b80f3cb-5e1b-4da5-9e7a-0a4024eac747", 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_3b80f3cb-5e1b-4da5-9e7a-0a4024eac747", 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_3b80f3cb-5e1b-4da5-9e7a-0a4024eac747", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1859
1859
|
const Io = "10.0.5";
|
|
1860
1860
|
function yo() {
|
|
1861
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
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 = {
|
|
1864
1864
|
// composer module errors
|
|
@@ -1881,7 +1881,7 @@ function dt(e) {
|
|
|
1881
1881
|
if (!te(e))
|
|
1882
1882
|
return e;
|
|
1883
1883
|
for (const t in e)
|
|
1884
|
-
if (
|
|
1884
|
+
if (Ae(e, t))
|
|
1885
1885
|
if (!t.includes("."))
|
|
1886
1886
|
te(e[t]) && dt(e[t]);
|
|
1887
1887
|
else {
|
|
@@ -1908,7 +1908,7 @@ function sr(e, t) {
|
|
|
1908
1908
|
Z(u) && yt(JSON.parse(u), d);
|
|
1909
1909
|
}), l == null && a)
|
|
1910
1910
|
for (const u in d)
|
|
1911
|
-
|
|
1911
|
+
Ae(d, u) && dt(d[u]);
|
|
1912
1912
|
return d;
|
|
1913
1913
|
}
|
|
1914
1914
|
function or(e) {
|
|
@@ -1942,15 +1942,15 @@ function No(e, t, n) {
|
|
|
1942
1942
|
function Sn(e) {
|
|
1943
1943
|
return ue(fr, null, e, 0);
|
|
1944
1944
|
}
|
|
1945
|
-
const
|
|
1946
|
-
let
|
|
1947
|
-
function
|
|
1945
|
+
const An = "__INTLIFY_META__", Ln = () => [], Co = () => !1;
|
|
1946
|
+
let Rn = 0;
|
|
1947
|
+
function kn(e) {
|
|
1948
1948
|
return (t, n, r, l) => e(n, r, Bt() || void 0, l);
|
|
1949
1949
|
}
|
|
1950
1950
|
const To = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1951
1951
|
const e = Bt();
|
|
1952
1952
|
let t = null;
|
|
1953
|
-
return e && (t = or(e)[
|
|
1953
|
+
return e && (t = or(e)[An]) ? { [An]: t } : null;
|
|
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;
|
|
@@ -1962,7 +1962,7 @@ function Oo(e = {}) {
|
|
|
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
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 : ve(e.missingWarn) || Et(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : ve(e.fallbackWarn) || Et(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : ve(e.fallbackRoot) ? e.fallbackRoot : !0,
|
|
1965
|
+
let N = t ? t.missingWarn : ve(e.missingWarn) || Et(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : ve(e.fallbackWarn) || Et(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : ve(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, w = me(e.missing) ? e.missing : null, f = me(e.missing) ? kn(e.missing) : null, h = me(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, c = !!e.escapeParameter;
|
|
1966
1966
|
const b = t ? t.modifiers : ee(e.modifiers) ? e.modifiers : {};
|
|
1967
1967
|
let I = e.pluralRules || t && t.pluralRules, p;
|
|
1968
1968
|
p = (() => {
|
|
@@ -1977,7 +1977,7 @@ function Oo(e = {}) {
|
|
|
1977
1977
|
missing: f === null ? void 0 : f,
|
|
1978
1978
|
missingWarn: N,
|
|
1979
1979
|
fallbackWarn: F,
|
|
1980
|
-
fallbackFormat:
|
|
1980
|
+
fallbackFormat: L,
|
|
1981
1981
|
unresolving: !0,
|
|
1982
1982
|
postTranslation: h === null ? void 0 : h,
|
|
1983
1983
|
warnHtmlMessage: S,
|
|
@@ -1990,7 +1990,7 @@ function Oo(e = {}) {
|
|
|
1990
1990
|
const E = ro(v);
|
|
1991
1991
|
return r && bn(E), E;
|
|
1992
1992
|
})(), lt(p, u.value, i.value);
|
|
1993
|
-
function
|
|
1993
|
+
function A() {
|
|
1994
1994
|
return [
|
|
1995
1995
|
u.value,
|
|
1996
1996
|
i.value,
|
|
@@ -1999,7 +1999,7 @@ function Oo(e = {}) {
|
|
|
1999
1999
|
T.value
|
|
2000
2000
|
];
|
|
2001
2001
|
}
|
|
2002
|
-
const
|
|
2002
|
+
const X = z({
|
|
2003
2003
|
get: () => u.value,
|
|
2004
2004
|
set: (v) => {
|
|
2005
2005
|
u.value = v, p.locale = u.value;
|
|
@@ -2020,10 +2020,10 @@ function Oo(e = {}) {
|
|
|
2020
2020
|
return w;
|
|
2021
2021
|
}
|
|
2022
2022
|
function x(v) {
|
|
2023
|
-
v !== null && (f =
|
|
2023
|
+
v !== null && (f = kn(v)), w = v, p.missing = f;
|
|
2024
2024
|
}
|
|
2025
|
-
const
|
|
2026
|
-
|
|
2025
|
+
const Y = (v, E, $, le, Be, mt) => {
|
|
2026
|
+
A();
|
|
2027
2027
|
let ze;
|
|
2028
2028
|
try {
|
|
2029
2029
|
go.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? no() : void 0), ze = v(p);
|
|
@@ -2041,7 +2041,7 @@ function Oo(e = {}) {
|
|
|
2041
2041
|
}
|
|
2042
2042
|
};
|
|
2043
2043
|
function B(...v) {
|
|
2044
|
-
return
|
|
2044
|
+
return Y((E) => Reflect.apply(On, null, [E, ...v]), () => Vt(...v), "translate", (E) => Reflect.apply(E.t, E, [...v]), (E) => E, (E) => Z(E));
|
|
2045
2045
|
}
|
|
2046
2046
|
function ne(...v) {
|
|
2047
2047
|
const [E, $, le] = v;
|
|
@@ -2050,10 +2050,10 @@ function Oo(e = {}) {
|
|
|
2050
2050
|
return B(E, $, Ie({ resolvedMessage: !0 }, le || {}));
|
|
2051
2051
|
}
|
|
2052
2052
|
function Q(...v) {
|
|
2053
|
-
return
|
|
2053
|
+
return Y((E) => Reflect.apply(In, null, [E, ...v]), () => jt(...v), "datetime format", (E) => Reflect.apply(E.d, E, [...v]), () => vn, (E) => Z(E));
|
|
2054
2054
|
}
|
|
2055
2055
|
function _e(...v) {
|
|
2056
|
-
return
|
|
2056
|
+
return Y((E) => Reflect.apply(En, null, [E, ...v]), () => Ut(...v), "number format", (E) => Reflect.apply(E.n, E, [...v]), () => vn, (E) => Z(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function ce(v) {
|
|
2059
2059
|
return v.map((E) => Z(E) || ge(E) || ve(E) ? Sn(String(E)) : E);
|
|
@@ -2064,7 +2064,7 @@ function Oo(e = {}) {
|
|
|
2064
2064
|
type: "vnode"
|
|
2065
2065
|
};
|
|
2066
2066
|
function q(...v) {
|
|
2067
|
-
return
|
|
2067
|
+
return Y((E) => {
|
|
2068
2068
|
let $;
|
|
2069
2069
|
const le = E;
|
|
2070
2070
|
try {
|
|
@@ -2076,16 +2076,16 @@ function Oo(e = {}) {
|
|
|
2076
2076
|
}, () => Vt(...v), "translate", (E) => E[Wt](...v), (E) => [Sn(E)], (E) => be(E));
|
|
2077
2077
|
}
|
|
2078
2078
|
function we(...v) {
|
|
2079
|
-
return
|
|
2079
|
+
return Y((E) => Reflect.apply(En, null, [E, ...v]), () => Ut(...v), "number format", (E) => E[Gt](...v), Ln, (E) => Z(E) || be(E));
|
|
2080
2080
|
}
|
|
2081
2081
|
function K(...v) {
|
|
2082
|
-
return
|
|
2082
|
+
return Y((E) => Reflect.apply(In, null, [E, ...v]), () => jt(...v), "datetime format", (E) => E[xt](...v), Ln, (E) => Z(E) || be(E));
|
|
2083
2083
|
}
|
|
2084
2084
|
function pe(v) {
|
|
2085
2085
|
I = v, p.pluralRules = I;
|
|
2086
2086
|
}
|
|
2087
2087
|
function Je(v, E) {
|
|
2088
|
-
return
|
|
2088
|
+
return Y(() => {
|
|
2089
2089
|
if (!v)
|
|
2090
2090
|
return !1;
|
|
2091
2091
|
const $ = Z(E) ? E : u.value, le = Fe($), Be = p.messageResolver(le, v);
|
|
@@ -2094,7 +2094,7 @@ function Oo(e = {}) {
|
|
|
2094
2094
|
}
|
|
2095
2095
|
function Ke(v) {
|
|
2096
2096
|
let E = null;
|
|
2097
|
-
const $ =
|
|
2097
|
+
const $ = Hn(p, i.value, u.value);
|
|
2098
2098
|
for (let le = 0; le < $.length; le++) {
|
|
2099
2099
|
const Be = g.value[$[le]] || {}, mt = p.messageResolver(Be, v);
|
|
2100
2100
|
if (mt != null) {
|
|
@@ -2115,17 +2115,17 @@ function Oo(e = {}) {
|
|
|
2115
2115
|
if (l) {
|
|
2116
2116
|
const $ = { [v]: E };
|
|
2117
2117
|
for (const le in $)
|
|
2118
|
-
|
|
2118
|
+
Ae($, le) && dt($[le]);
|
|
2119
2119
|
E = $[v];
|
|
2120
2120
|
}
|
|
2121
2121
|
g.value[v] = E, p.messages = g.value;
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function Ye(v, E) {
|
|
2124
2124
|
g.value[v] = g.value[v] || {};
|
|
2125
2125
|
const $ = { [v]: E };
|
|
2126
2126
|
if (l)
|
|
2127
2127
|
for (const le in $)
|
|
2128
|
-
|
|
2128
|
+
Ae($, le) && dt($[le]);
|
|
2129
2129
|
E = $[v], yt(E, g.value[v]), p.messages = g.value;
|
|
2130
2130
|
}
|
|
2131
2131
|
function O(v) {
|
|
@@ -2140,20 +2140,20 @@ function Oo(e = {}) {
|
|
|
2140
2140
|
function _(v) {
|
|
2141
2141
|
return T.value[v] || {};
|
|
2142
2142
|
}
|
|
2143
|
-
function
|
|
2143
|
+
function R(v, E) {
|
|
2144
2144
|
T.value[v] = E, p.numberFormats = T.value, Nn(p, v, E);
|
|
2145
2145
|
}
|
|
2146
2146
|
function M(v, E) {
|
|
2147
2147
|
T.value[v] = Ie(T.value[v] || {}, E), p.numberFormats = T.value, Nn(p, v, E);
|
|
2148
2148
|
}
|
|
2149
|
-
|
|
2149
|
+
Rn++, t && on && (Dt(t.locale, (v) => {
|
|
2150
2150
|
d && (u.value = v, p.locale = v, lt(p, u.value, i.value));
|
|
2151
2151
|
}), Dt(t.fallbackLocale, (v) => {
|
|
2152
2152
|
d && (i.value = v, p.fallbackLocale = v, lt(p, u.value, i.value));
|
|
2153
2153
|
}));
|
|
2154
2154
|
const P = {
|
|
2155
|
-
id:
|
|
2156
|
-
locale:
|
|
2155
|
+
id: Rn,
|
|
2156
|
+
locale: X,
|
|
2157
2157
|
fallbackLocale: W,
|
|
2158
2158
|
get inheritLocale() {
|
|
2159
2159
|
return d;
|
|
@@ -2193,10 +2193,10 @@ function Oo(e = {}) {
|
|
|
2193
2193
|
D = v;
|
|
2194
2194
|
},
|
|
2195
2195
|
get fallbackFormat() {
|
|
2196
|
-
return
|
|
2196
|
+
return L;
|
|
2197
2197
|
},
|
|
2198
2198
|
set fallbackFormat(v) {
|
|
2199
|
-
|
|
2199
|
+
L = v, p.fallbackFormat = L;
|
|
2200
2200
|
},
|
|
2201
2201
|
get warnHtmlMessage() {
|
|
2202
2202
|
return S;
|
|
@@ -2213,14 +2213,14 @@ function Oo(e = {}) {
|
|
|
2213
2213
|
t: B,
|
|
2214
2214
|
getLocaleMessage: Fe,
|
|
2215
2215
|
setLocaleMessage: Ce,
|
|
2216
|
-
mergeLocaleMessage:
|
|
2216
|
+
mergeLocaleMessage: Ye,
|
|
2217
2217
|
getPostTranslationHandler: V,
|
|
2218
2218
|
setPostTranslationHandler: j,
|
|
2219
2219
|
getMissingHandler: G,
|
|
2220
2220
|
setMissingHandler: x,
|
|
2221
2221
|
[Eo]: pe
|
|
2222
2222
|
};
|
|
2223
|
-
return P.datetimeFormats = C, P.numberFormats = U, P.rt = ne, P.te = Je, P.tm = Ve, 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 = Ve, P.d = Q, P.n = _e, P.getDateTimeFormat = O, P.setDateTimeFormat = s, P.mergeDateTimeFormat = o, P.getNumberFormat = _, P.setNumberFormat = R, P.mergeNumberFormat = M, P[rr] = n, P[Wt] = q, P[xt] = 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 === ke ? l.children : [l]
|
|
2248
2248
|
], []) : t.reduce((n, r) => {
|
|
2249
2249
|
const l = e[r];
|
|
2250
2250
|
return l && (n[r] = l()), n;
|
|
2251
2251
|
}, oe());
|
|
2252
2252
|
}
|
|
2253
2253
|
function ar() {
|
|
2254
|
-
return
|
|
2254
|
+
return ke;
|
|
2255
2255
|
}
|
|
2256
2256
|
Ie({
|
|
2257
2257
|
keypath: {
|
|
@@ -2263,7 +2263,7 @@ Ie({
|
|
|
2263
2263
|
validator: (e) => ge(e) || !isNaN(e)
|
|
2264
2264
|
}
|
|
2265
2265
|
}, qt);
|
|
2266
|
-
function
|
|
2266
|
+
function Ao(e) {
|
|
2267
2267
|
return be(e) && !Z(e[0]);
|
|
2268
2268
|
}
|
|
2269
2269
|
function lr(e, t, n, r) {
|
|
@@ -2275,8 +2275,8 @@ function lr(e, t, n, r) {
|
|
|
2275
2275
|
const i = r(e.value, d, u);
|
|
2276
2276
|
let g = [d.key];
|
|
2277
2277
|
be(i) ? g = i.map((N, F) => {
|
|
2278
|
-
const D = l[N.type],
|
|
2279
|
-
return
|
|
2278
|
+
const D = l[N.type], L = D ? D({ [N.type]: N.value, index: F, parts: i }) : [N.value];
|
|
2279
|
+
return Ao(L) && (L[0].key = `${N.type}-${F}`), L;
|
|
2280
2280
|
}) : Z(i) && (g = [i]);
|
|
2281
2281
|
const y = Ie(oe(), a), T = Z(e.tag) || te(e.tag) ? e.tag : ar();
|
|
2282
2282
|
return xn(T, y, g);
|
|
@@ -2300,14 +2300,14 @@ Ie({
|
|
|
2300
2300
|
type: [String, Object]
|
|
2301
2301
|
}
|
|
2302
2302
|
}, qt);
|
|
2303
|
-
const
|
|
2303
|
+
const Lo = /* @__PURE__ */ $e("global-vue-i18n");
|
|
2304
2304
|
function St(e = {}) {
|
|
2305
2305
|
const t = Bt();
|
|
2306
2306
|
if (t == null)
|
|
2307
2307
|
throw ut(at.MUST_BE_CALL_SETUP_TOP);
|
|
2308
2308
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2309
2309
|
throw ut(at.NOT_INSTALLED);
|
|
2310
|
-
const n =
|
|
2310
|
+
const n = Ro(t), r = Mo(n), l = or(t), a = ko(e, l);
|
|
2311
2311
|
if (a === "global")
|
|
2312
2312
|
return No(r, e, l), r;
|
|
2313
2313
|
if (a === "parent") {
|
|
@@ -2322,13 +2322,13 @@ function St(e = {}) {
|
|
|
2322
2322
|
}
|
|
2323
2323
|
return u;
|
|
2324
2324
|
}
|
|
2325
|
-
function
|
|
2326
|
-
const t = ur(e.isCE ?
|
|
2325
|
+
function Ro(e) {
|
|
2326
|
+
const t = ur(e.isCE ? Lo : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2327
2327
|
if (!t)
|
|
2328
2328
|
throw ut(e.isCE ? at.NOT_INSTALLED_WITH_PROVIDE : at.UNEXPECTED_ERROR);
|
|
2329
2329
|
return t;
|
|
2330
2330
|
}
|
|
2331
|
-
function
|
|
2331
|
+
function ko(e, t) {
|
|
2332
2332
|
return Ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2333
2333
|
}
|
|
2334
2334
|
function Mo(e) {
|
|
@@ -2367,12 +2367,12 @@ function Fo(e, t, n) {
|
|
|
2367
2367
|
yo();
|
|
2368
2368
|
zs(Ms);
|
|
2369
2369
|
Qs($s);
|
|
2370
|
-
qs(
|
|
2370
|
+
qs(Hn);
|
|
2371
2371
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2372
|
-
const e =
|
|
2372
|
+
const e = Xe();
|
|
2373
2373
|
e.__INTLIFY__ = !0, Ds(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2374
2374
|
}
|
|
2375
|
-
const vt = /* @__PURE__ */
|
|
2375
|
+
const vt = /* @__PURE__ */ Le({
|
|
2376
2376
|
__name: "InheritPermissionTooltip",
|
|
2377
2377
|
props: {
|
|
2378
2378
|
item: {
|
|
@@ -2390,8 +2390,8 @@ const vt = /* @__PURE__ */ Ae({
|
|
|
2390
2390
|
"z-index": 50
|
|
2391
2391
|
}, {
|
|
2392
2392
|
content: de(() => [
|
|
2393
|
-
ae("div", null, Oe(
|
|
2394
|
-
(J(!0), ie(
|
|
2393
|
+
ae("div", null, Oe(H(t)("team.memberForm.permissions.inherited")), 1),
|
|
2394
|
+
(J(!0), ie(ke, null, Ee(e.item.setNames, (d) => (J(), ie("div", { key: d }, [
|
|
2395
2395
|
ae("div", null, "- " + Oe(d), 1)
|
|
2396
2396
|
]))), 128))
|
|
2397
2397
|
]),
|
|
@@ -2427,28 +2427,28 @@ const Dn = Object.values(Sr), Po = {
|
|
|
2427
2427
|
update: "Edit"
|
|
2428
2428
|
};
|
|
2429
2429
|
function jo(e, t, n, r) {
|
|
2430
|
-
const { t: l } =
|
|
2430
|
+
const { t: l } = He(), { getFlagValue: a, getFlag: d } = Or(), u = z(() => {
|
|
2431
2431
|
var j;
|
|
2432
2432
|
const m = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
2433
2433
|
for (const G of t.value) {
|
|
2434
2434
|
const x = G.category;
|
|
2435
2435
|
if (!x) continue;
|
|
2436
|
-
const
|
|
2436
|
+
const Y = G.subject;
|
|
2437
2437
|
if (n.value.includes(G.subject) || G.showByFeatureFlag && ((j = d(G.showByFeatureFlag)) == null ? void 0 : j.enabled) === !1 && a(G.showByFeatureFlag) === "true")
|
|
2438
2438
|
continue;
|
|
2439
2439
|
m.has(x) || m.set(x, []);
|
|
2440
|
-
const B = U.get(
|
|
2441
|
-
U.set(
|
|
2442
|
-
label: l(`permissionSet.permissionLabels.${
|
|
2443
|
-
value:
|
|
2444
|
-
optionKey: `${
|
|
2445
|
-
}), C.has(
|
|
2440
|
+
const B = U.get(Y) ?? 0;
|
|
2441
|
+
U.set(Y, B + 1), m.get(x).push({
|
|
2442
|
+
label: l(`permissionSet.permissionLabels.${Y}`, G.label),
|
|
2443
|
+
value: Y,
|
|
2444
|
+
optionKey: `${Y}::${B}`
|
|
2445
|
+
}), C.has(Y) || C.set(Y, G);
|
|
2446
2446
|
}
|
|
2447
2447
|
return [...m.keys()].sort((G, x) => {
|
|
2448
|
-
const
|
|
2449
|
-
return
|
|
2448
|
+
const Y = Dn.indexOf(G), B = Dn.indexOf(x);
|
|
2449
|
+
return Y === -1 && B === -1 ? G.localeCompare(x) : Y === -1 ? 1 : B === -1 ? -1 : Y - B;
|
|
2450
2450
|
}).map((G) => {
|
|
2451
|
-
const x = m.get(G),
|
|
2451
|
+
const x = m.get(G), Y = l(`permissionSet.categoryLabels.${G}`, G), B = /* @__PURE__ */ new Map();
|
|
2452
2452
|
for (const K of x) {
|
|
2453
2453
|
const pe = C.get(K.value);
|
|
2454
2454
|
pe && B.set(K.value, pe.actions);
|
|
@@ -2471,7 +2471,7 @@ function jo(e, t, n, r) {
|
|
|
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,
|
|
2474
|
-
label:
|
|
2474
|
+
label: Y,
|
|
2475
2475
|
options: x,
|
|
2476
2476
|
selectedSubjects: ce,
|
|
2477
2477
|
isMultiAction: ne,
|
|
@@ -2488,13 +2488,13 @@ function jo(e, t, n, r) {
|
|
|
2488
2488
|
const U = u.value.find((Q) => Q.category === m), V = (U == null ? void 0 : U.options) ?? [], j = new Set(V.map((Q) => Q.value)), G = new Set(C), x = /* @__PURE__ */ new Map();
|
|
2489
2489
|
for (const Q of e.value)
|
|
2490
2490
|
j.has(Q.subject) && !Q.inverted && x.set(Q.subject, Q.conditions);
|
|
2491
|
-
const
|
|
2491
|
+
const Y = U != null && U.coverSubject ? x.get(U.coverSubject) : void 0, B = /* @__PURE__ */ new Set(), ne = t.value.flatMap(
|
|
2492
2492
|
({ category: Q, showByFeatureFlag: _e, isCategoryCover: ce, ...se }) => {
|
|
2493
2493
|
const fe = se.subject;
|
|
2494
2494
|
if (!G.has(fe) || B.has(fe)) return [];
|
|
2495
2495
|
B.add(fe);
|
|
2496
2496
|
let q;
|
|
2497
|
-
return x.has(fe) ? q = x.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q =
|
|
2497
|
+
return x.has(fe) ? q = x.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q = Y), [
|
|
2498
2498
|
{ ...se, ...q !== void 0 && { conditions: q } }
|
|
2499
2499
|
];
|
|
2500
2500
|
}
|
|
@@ -2521,10 +2521,10 @@ function jo(e, t, n, r) {
|
|
|
2521
2521
|
r("update:model-value", U);
|
|
2522
2522
|
else {
|
|
2523
2523
|
const V = /* @__PURE__ */ new Map();
|
|
2524
|
-
for (const
|
|
2525
|
-
C.has(
|
|
2524
|
+
for (const Y of e.value)
|
|
2525
|
+
C.has(Y.subject) && !Y.inverted && V.set(Y.subject, Y.conditions);
|
|
2526
2526
|
const j = m.coverSubject ? V.get(m.coverSubject) : void 0, G = /* @__PURE__ */ new Set(), x = t.value.flatMap(
|
|
2527
|
-
({ category:
|
|
2527
|
+
({ category: Y, showByFeatureFlag: B, isCategoryCover: ne, ...Q }) => {
|
|
2528
2528
|
const _e = Q.subject;
|
|
2529
2529
|
if (!C.has(_e) || G.has(_e)) return [];
|
|
2530
2530
|
G.add(_e);
|
|
@@ -2547,7 +2547,7 @@ function jo(e, t, n, r) {
|
|
|
2547
2547
|
(j) => S(m, C, j) || b(m, C, j)
|
|
2548
2548
|
) : [];
|
|
2549
2549
|
}
|
|
2550
|
-
function
|
|
2550
|
+
function L(m, C) {
|
|
2551
2551
|
return c(m, C) ? !1 : !F(m, C) && D(m, C).length > 0;
|
|
2552
2552
|
}
|
|
2553
2553
|
function w(m, C) {
|
|
@@ -2565,10 +2565,10 @@ function jo(e, t, n, r) {
|
|
|
2565
2565
|
category: j,
|
|
2566
2566
|
showByFeatureFlag: G,
|
|
2567
2567
|
isCategoryCover: x,
|
|
2568
|
-
...
|
|
2568
|
+
...Y
|
|
2569
2569
|
} = V, B = w(m, C), ne = e.value.filter((Q) => Q.subject !== C);
|
|
2570
2570
|
ne.push({
|
|
2571
|
-
...
|
|
2571
|
+
...Y,
|
|
2572
2572
|
...B !== void 0 && { conditions: B }
|
|
2573
2573
|
}), r("update:model-value", ne);
|
|
2574
2574
|
} else
|
|
@@ -2599,13 +2599,13 @@ function jo(e, t, n, r) {
|
|
|
2599
2599
|
const V = [...e.value], j = V.findIndex((x) => x.subject === m && !x.inverted);
|
|
2600
2600
|
if (U)
|
|
2601
2601
|
if (j >= 0) {
|
|
2602
|
-
const x = { ...V[j] },
|
|
2603
|
-
|
|
2602
|
+
const x = { ...V[j] }, Y = new Set(x.actions);
|
|
2603
|
+
Y.add(C), x.actions = Array.from(Y), V[j] = x;
|
|
2604
2604
|
} else {
|
|
2605
2605
|
const x = t.value.find((se) => se.subject === m);
|
|
2606
2606
|
if (!x) return;
|
|
2607
2607
|
const {
|
|
2608
|
-
category:
|
|
2608
|
+
category: Y,
|
|
2609
2609
|
showByFeatureFlag: B,
|
|
2610
2610
|
isCategoryCover: ne,
|
|
2611
2611
|
...Q
|
|
@@ -2619,13 +2619,13 @@ function jo(e, t, n, r) {
|
|
|
2619
2619
|
});
|
|
2620
2620
|
}
|
|
2621
2621
|
else if (j >= 0) {
|
|
2622
|
-
const x = { ...V[j] },
|
|
2623
|
-
|
|
2622
|
+
const x = { ...V[j] }, Y = x.actions.filter((B) => B !== C);
|
|
2623
|
+
Y.length === 0 ? V.splice(j, 1) : (x.actions = Y, V[j] = x);
|
|
2624
2624
|
}
|
|
2625
2625
|
const G = t.value.find((x) => x.subject === m);
|
|
2626
2626
|
G && Mn(V, m, G.actions), r("update:model-value", V);
|
|
2627
2627
|
}
|
|
2628
|
-
function
|
|
2628
|
+
function k(m, C) {
|
|
2629
2629
|
const U = m.options.filter(
|
|
2630
2630
|
(V) => I(m, V.value, C)
|
|
2631
2631
|
);
|
|
@@ -2633,7 +2633,7 @@ function jo(e, t, n, r) {
|
|
|
2633
2633
|
(V) => S(m, V.value, C) || b(m, V.value, C)
|
|
2634
2634
|
);
|
|
2635
2635
|
}
|
|
2636
|
-
function
|
|
2636
|
+
function A(m, C) {
|
|
2637
2637
|
const U = m.options.filter(
|
|
2638
2638
|
(j) => I(m, j.value, C)
|
|
2639
2639
|
);
|
|
@@ -2643,7 +2643,7 @@ function jo(e, t, n, r) {
|
|
|
2643
2643
|
).length;
|
|
2644
2644
|
return V > 0 && V < U.length;
|
|
2645
2645
|
}
|
|
2646
|
-
function
|
|
2646
|
+
function X(m, C, U) {
|
|
2647
2647
|
const V = [...e.value];
|
|
2648
2648
|
for (const j of m.options) {
|
|
2649
2649
|
if (!I(m, j.value, C)) continue;
|
|
@@ -2673,8 +2673,8 @@ function jo(e, t, n, r) {
|
|
|
2673
2673
|
const B = { ...V[x] }, ne = B.actions.filter((Q) => Q !== C);
|
|
2674
2674
|
ne.length === 0 ? V.splice(x, 1) : (B.actions = ne, V[x] = B);
|
|
2675
2675
|
}
|
|
2676
|
-
const
|
|
2677
|
-
|
|
2676
|
+
const Y = t.value.find((B) => B.subject === G);
|
|
2677
|
+
Y && Mn(V, G, Y.actions);
|
|
2678
2678
|
}
|
|
2679
2679
|
r("update:model-value", V);
|
|
2680
2680
|
}
|
|
@@ -2689,7 +2689,7 @@ function jo(e, t, n, r) {
|
|
|
2689
2689
|
isAllManageIndeterminate: T,
|
|
2690
2690
|
toggleAllManage: N,
|
|
2691
2691
|
isManageChecked: F,
|
|
2692
|
-
isManageIndeterminate:
|
|
2692
|
+
isManageIndeterminate: L,
|
|
2693
2693
|
toggleManage: f,
|
|
2694
2694
|
hasNonManageActions: h,
|
|
2695
2695
|
isActionChecked: S,
|
|
@@ -2697,13 +2697,13 @@ function jo(e, t, n, r) {
|
|
|
2697
2697
|
isActionCoveredByCover: b,
|
|
2698
2698
|
permissionDefinesAction: I,
|
|
2699
2699
|
toggleAction: p,
|
|
2700
|
-
isAllActionChecked:
|
|
2701
|
-
isAllActionIndeterminate:
|
|
2702
|
-
toggleAllAction:
|
|
2700
|
+
isAllActionChecked: k,
|
|
2701
|
+
isAllActionIndeterminate: A,
|
|
2702
|
+
toggleAllAction: X,
|
|
2703
2703
|
actionLabel: W
|
|
2704
2704
|
};
|
|
2705
2705
|
}
|
|
2706
|
-
const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm-600" }, Wo = { class: "mt-16" }, xo = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Go = ["onClick"], Zo = { class: "flex justify-center" },
|
|
2706
|
+
const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm-600" }, Wo = { class: "mt-16" }, xo = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Go = ["onClick"], Zo = { class: "flex justify-center" }, Yo = { class: "flex items-center min-w-0 gap-8" }, Bo = ["title", "onClick"], Xo = { class: "flex justify-center" }, Ho = /* @__PURE__ */ Le({
|
|
2707
2707
|
__name: "BasePermission",
|
|
2708
2708
|
props: {
|
|
2709
2709
|
modelValue: {
|
|
@@ -2725,7 +2725,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2725
2725
|
},
|
|
2726
2726
|
emits: ["update:model-value"],
|
|
2727
2727
|
setup(e, { emit: t }) {
|
|
2728
|
-
const n = e, r = t, { t: l } =
|
|
2728
|
+
const n = e, r = t, { t: l } = He(), a = z(() => [...Gn, ...n.additionalPermissions]), {
|
|
2729
2729
|
categoryGroups: d,
|
|
2730
2730
|
isAllManageChecked: u,
|
|
2731
2731
|
isAllManageIndeterminate: i,
|
|
@@ -2735,7 +2735,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2735
2735
|
toggleManage: N,
|
|
2736
2736
|
isActionChecked: F,
|
|
2737
2737
|
isRowFullyCoveredByCover: D,
|
|
2738
|
-
isActionCoveredByCover:
|
|
2738
|
+
isActionCoveredByCover: L,
|
|
2739
2739
|
permissionDefinesAction: w,
|
|
2740
2740
|
toggleAction: f,
|
|
2741
2741
|
isAllActionChecked: h,
|
|
@@ -2746,21 +2746,21 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2746
2746
|
en(n, "modelValue"),
|
|
2747
2747
|
a,
|
|
2748
2748
|
en(n, "excludedSubjects"),
|
|
2749
|
-
(
|
|
2749
|
+
(k, A) => r("update:model-value", A)
|
|
2750
2750
|
);
|
|
2751
|
-
function I(
|
|
2752
|
-
const
|
|
2753
|
-
return
|
|
2751
|
+
function I(k) {
|
|
2752
|
+
const A = k.selectedSubjects.length;
|
|
2753
|
+
return A === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: A });
|
|
2754
2754
|
}
|
|
2755
|
-
function p(
|
|
2756
|
-
return y(
|
|
2757
|
-
(
|
|
2755
|
+
function p(k, A) {
|
|
2756
|
+
return y(k, A) || D(k, A) ? !0 : k.actionColumns.some(
|
|
2757
|
+
(X) => w(k, A, X) && (F(k, A, X) || L(k, A, X))
|
|
2758
2758
|
);
|
|
2759
2759
|
}
|
|
2760
|
-
return (
|
|
2761
|
-
const
|
|
2760
|
+
return (k, A) => {
|
|
2761
|
+
const X = De("FmCheckbox");
|
|
2762
2762
|
return J(), ie("div", Uo, [
|
|
2763
|
-
(J(!0), ie(
|
|
2763
|
+
(J(!0), ie(ke, null, Ee(H(d), (W) => (J(), Ne(Xt, {
|
|
2764
2764
|
key: W.category,
|
|
2765
2765
|
subtitle: I(W)
|
|
2766
2766
|
}, {
|
|
@@ -2775,12 +2775,12 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2775
2775
|
gridTemplateColumns: `minmax(0, 1fr) repeat(${W.actionColumns.length + 1}, 80px)`
|
|
2776
2776
|
})
|
|
2777
2777
|
}, [
|
|
2778
|
-
|
|
2779
|
-
ae("div", xo, Oe(
|
|
2780
|
-
(J(!0), ie(
|
|
2778
|
+
A[0] || (A[0] = ae("div", null, null, -1)),
|
|
2779
|
+
ae("div", xo, Oe(H(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2780
|
+
(J(!0), ie(ke, null, Ee(W.actionColumns, (m) => (J(), ie("div", {
|
|
2781
2781
|
key: `header-${m}`,
|
|
2782
2782
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2783
|
-
}, Oe(
|
|
2783
|
+
}, Oe(H(b)(m)), 1))), 128))
|
|
2784
2784
|
], 4),
|
|
2785
2785
|
ae("div", {
|
|
2786
2786
|
class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
|
|
@@ -2790,80 +2790,80 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2790
2790
|
}, [
|
|
2791
2791
|
ae("div", {
|
|
2792
2792
|
class: "cursor-pointer font-semibold",
|
|
2793
|
-
onClick: (m) => !e.disable &&
|
|
2794
|
-
}, Oe(
|
|
2793
|
+
onClick: (m) => !e.disable && H(g)(W)
|
|
2794
|
+
}, Oe(H(l)("team.labels.all")), 9, Go),
|
|
2795
2795
|
ae("div", Zo, [
|
|
2796
|
-
ue(
|
|
2797
|
-
"model-value":
|
|
2798
|
-
indeterminate:
|
|
2796
|
+
ue(X, {
|
|
2797
|
+
"model-value": H(u)(W),
|
|
2798
|
+
indeterminate: H(i)(W),
|
|
2799
2799
|
value: !0,
|
|
2800
2800
|
disabled: e.disable,
|
|
2801
2801
|
size: "sm",
|
|
2802
2802
|
dense: "",
|
|
2803
|
-
"onUpdate:modelValue": (m) =>
|
|
2803
|
+
"onUpdate:modelValue": (m) => H(g)(W)
|
|
2804
2804
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2805
2805
|
]),
|
|
2806
|
-
(J(!0), ie(
|
|
2806
|
+
(J(!0), ie(ke, null, Ee(W.actionColumns, (m) => (J(), ie("div", {
|
|
2807
2807
|
key: `all-${m}`,
|
|
2808
2808
|
class: "flex justify-center"
|
|
2809
2809
|
}, [
|
|
2810
|
-
ue(
|
|
2811
|
-
"model-value":
|
|
2812
|
-
indeterminate:
|
|
2810
|
+
ue(X, {
|
|
2811
|
+
"model-value": H(h)(W, m),
|
|
2812
|
+
indeterminate: H(S)(W, m),
|
|
2813
2813
|
value: m,
|
|
2814
2814
|
disabled: e.disable,
|
|
2815
2815
|
size: "sm",
|
|
2816
2816
|
dense: "",
|
|
2817
|
-
"onUpdate:modelValue": (C) =>
|
|
2817
|
+
"onUpdate:modelValue": (C) => H(c)(W, m, C)
|
|
2818
2818
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2819
2819
|
]))), 128))
|
|
2820
2820
|
], 4),
|
|
2821
|
-
|
|
2822
|
-
(J(!0), ie(
|
|
2821
|
+
A[1] || (A[1] = ae("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2822
|
+
(J(!0), ie(ke, null, Ee(W.options, (m) => (J(), ie("div", {
|
|
2823
2823
|
key: m.optionKey,
|
|
2824
2824
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2825
2825
|
style: nt({
|
|
2826
2826
|
gridTemplateColumns: `minmax(0, 1fr) repeat(${W.actionColumns.length + 1}, 80px)`
|
|
2827
2827
|
})
|
|
2828
2828
|
}, [
|
|
2829
|
-
ae("div",
|
|
2829
|
+
ae("div", Yo, [
|
|
2830
2830
|
ae("span", {
|
|
2831
2831
|
class: "block truncate cursor-pointer",
|
|
2832
2832
|
title: m.label,
|
|
2833
|
-
onClick: (C) => !e.disable && !
|
|
2833
|
+
onClick: (C) => !e.disable && !H(D)(W, m.value) && H(N)(W, m.value, !H(y)(W, m.value))
|
|
2834
2834
|
}, Oe(m.label), 9, Bo),
|
|
2835
|
-
Se(
|
|
2835
|
+
Se(k.$slots, `checkbox-${m.value}-append`, {
|
|
2836
2836
|
option: m,
|
|
2837
2837
|
isEffectiveSelected: p(W, m.value),
|
|
2838
|
-
isCoveredByCover:
|
|
2838
|
+
isCoveredByCover: H(D)(W, m.value) || W.actionColumns.some((C) => H(L)(W, m.value, C))
|
|
2839
2839
|
}),
|
|
2840
|
-
Se(
|
|
2840
|
+
Se(k.$slots, `checkbox-${m.value}-icon`, {
|
|
2841
2841
|
option: m,
|
|
2842
2842
|
isEffectiveSelected: p(W, m.value),
|
|
2843
|
-
isCoveredByCover:
|
|
2843
|
+
isCoveredByCover: H(D)(W, m.value) || W.actionColumns.some((C) => H(L)(W, m.value, C))
|
|
2844
2844
|
})
|
|
2845
2845
|
]),
|
|
2846
|
-
ae("div",
|
|
2847
|
-
ue(
|
|
2848
|
-
"model-value":
|
|
2846
|
+
ae("div", Xo, [
|
|
2847
|
+
ue(X, {
|
|
2848
|
+
"model-value": H(y)(W, m.value) || H(D)(W, m.value),
|
|
2849
2849
|
value: m.value,
|
|
2850
|
-
disabled: e.disable ||
|
|
2851
|
-
indeterminate:
|
|
2850
|
+
disabled: e.disable || H(D)(W, m.value),
|
|
2851
|
+
indeterminate: H(T)(W, m.value),
|
|
2852
2852
|
size: "sm",
|
|
2853
|
-
"onUpdate:modelValue": (C) =>
|
|
2853
|
+
"onUpdate:modelValue": (C) => H(N)(W, m.value, C)
|
|
2854
2854
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2855
2855
|
]),
|
|
2856
|
-
(J(!0), ie(
|
|
2856
|
+
(J(!0), ie(ke, null, Ee(W.actionColumns, (C) => (J(), ie("div", {
|
|
2857
2857
|
key: `${m.optionKey}-${C}`,
|
|
2858
2858
|
class: "flex justify-center"
|
|
2859
2859
|
}, [
|
|
2860
|
-
|
|
2860
|
+
H(w)(W, m.value, C) ? (J(), Ne(X, {
|
|
2861
2861
|
key: 0,
|
|
2862
|
-
"model-value":
|
|
2862
|
+
"model-value": H(F)(W, m.value, C) || H(L)(W, m.value, C),
|
|
2863
2863
|
value: C,
|
|
2864
|
-
disabled: e.disable ||
|
|
2864
|
+
disabled: e.disable || H(L)(W, m.value, C),
|
|
2865
2865
|
size: "sm",
|
|
2866
|
-
"onUpdate:modelValue": (U) =>
|
|
2866
|
+
"onUpdate:modelValue": (U) => H(f)(m.value, C, U)
|
|
2867
2867
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Me("", !0)
|
|
2868
2868
|
]))), 128))
|
|
2869
2869
|
], 4))), 128))
|
|
@@ -2880,7 +2880,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2880
2880
|
}, Ko = {
|
|
2881
2881
|
key: 0,
|
|
2882
2882
|
class: "q-mr-xs text-red col"
|
|
2883
|
-
}, zo = { class: "form-input" }, Qo = /* @__PURE__ */
|
|
2883
|
+
}, zo = { class: "form-input" }, Qo = /* @__PURE__ */ Le({
|
|
2884
2884
|
__name: "AppForm",
|
|
2885
2885
|
props: {
|
|
2886
2886
|
title: {
|
|
@@ -2916,7 +2916,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2916
2916
|
}), qo = { class: "col flex items-center" }, ea = {
|
|
2917
2917
|
key: 1,
|
|
2918
2918
|
class: "q-pa-sm form-error-message text-error"
|
|
2919
|
-
}, ir = /* @__PURE__ */
|
|
2919
|
+
}, ir = /* @__PURE__ */ Le({
|
|
2920
2920
|
__name: "CheckboxInput",
|
|
2921
2921
|
props: {
|
|
2922
2922
|
options: {
|
|
@@ -2974,25 +2974,25 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { 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 } =
|
|
2978
|
-
() => n.modelValue.filter((
|
|
2977
|
+
const n = e, r = t, { t: l } = He(), a = rt(!1), d = pr(), u = z(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), i = `checkbox-${Lr(6)}`, g = z(() => u.value !== !0), y = z(
|
|
2978
|
+
() => n.modelValue.filter((L) => n.options.some((w) => w.value === L))
|
|
2979
2979
|
), T = z(
|
|
2980
2980
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2981
2981
|
), N = z(() => n.options.length > 0 && n.options.length === y.value.length);
|
|
2982
2982
|
function F() {
|
|
2983
|
-
const
|
|
2983
|
+
const L = n.modelValue.filter((w) => !y.value.includes(w));
|
|
2984
2984
|
if (N.value === !0)
|
|
2985
|
-
r("update:model-value",
|
|
2985
|
+
r("update:model-value", L);
|
|
2986
2986
|
else {
|
|
2987
2987
|
const w = n.includeDisabledOptionsWhenSelectAll ? n.options.map((f) => f.value) : n.options.filter((f) => !f.disabled).map((f) => f.value);
|
|
2988
|
-
r("update:model-value", [...
|
|
2988
|
+
r("update:model-value", [...L, ...w]);
|
|
2989
2989
|
}
|
|
2990
2990
|
}
|
|
2991
|
-
function D(
|
|
2991
|
+
function D(L, w) {
|
|
2992
2992
|
let f = It(n.modelValue);
|
|
2993
|
-
w ? f.every((h) => h !==
|
|
2993
|
+
w ? f.every((h) => h !== L) && f.push(L) : f = f.filter((h) => h !== L), r("update:model-value", f);
|
|
2994
2994
|
}
|
|
2995
|
-
return (
|
|
2995
|
+
return (L, w) => {
|
|
2996
2996
|
const f = De("FmCheckbox");
|
|
2997
2997
|
return J(), Ne(Qo, {
|
|
2998
2998
|
id: i,
|
|
@@ -3000,7 +3000,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3000
3000
|
required: !1
|
|
3001
3001
|
}, {
|
|
3002
3002
|
top: de(() => [
|
|
3003
|
-
Se(
|
|
3003
|
+
Se(L.$slots, "top")
|
|
3004
3004
|
]),
|
|
3005
3005
|
default: de(() => [
|
|
3006
3006
|
n.showAllToggle ? (J(), Ne(f, {
|
|
@@ -3014,7 +3014,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { 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(ke, 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" : "")
|
|
@@ -3031,28 +3031,28 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3031
3031
|
value: h.label,
|
|
3032
3032
|
"onUpdate:modelValue": (c) => D(h.value, c)
|
|
3033
3033
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
3034
|
-
Se(
|
|
3034
|
+
Se(L.$slots, `checkbox-${h.key || h.value}-append`, {
|
|
3035
3035
|
option: h,
|
|
3036
3036
|
selected: e.modelValue.includes(h.value)
|
|
3037
3037
|
})
|
|
3038
3038
|
]),
|
|
3039
|
-
|
|
3039
|
+
H(d)[`checkbox-${h.key || h.value}-end`] && (e.modelValue.includes(h.value) || e.falsyShowSlot) ? (J(), ie("div", {
|
|
3040
3040
|
key: 0,
|
|
3041
3041
|
class: qe([{ "q-checkbox disabled": e.disable || h.disabled }, "col"])
|
|
3042
3042
|
}, [
|
|
3043
|
-
Se(
|
|
3043
|
+
Se(L.$slots, `checkbox-${h.key || h.value}-end`, {
|
|
3044
3044
|
option: h,
|
|
3045
3045
|
value: e.modelValue.includes(h.value),
|
|
3046
3046
|
disable: e.disable || h.disabled
|
|
3047
3047
|
})
|
|
3048
3048
|
], 2)) : Me("", !0)
|
|
3049
3049
|
], 2),
|
|
3050
|
-
|
|
3050
|
+
H(d)[`checkbox-${h.key || h.value}-bottom`] && (e.modelValue.includes(h.value) || e.falsyShowSlot) ? (J(), ie("div", {
|
|
3051
3051
|
key: 0,
|
|
3052
3052
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || h.disabled }]),
|
|
3053
3053
|
style: nt(`margin-left: ${e.bottomSlotIndent}`)
|
|
3054
3054
|
}, [
|
|
3055
|
-
Se(
|
|
3055
|
+
Se(L.$slots, `checkbox-${h.key || h.value}-bottom`, {
|
|
3056
3056
|
option: h,
|
|
3057
3057
|
disable: e.disable || h.disabled,
|
|
3058
3058
|
value: e.modelValue.includes(h.value)
|
|
@@ -3065,7 +3065,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3065
3065
|
}, 8, ["title"]);
|
|
3066
3066
|
};
|
|
3067
3067
|
}
|
|
3068
|
-
}), ta = { class: "fm-typo-en-title-sm-600" }, ht = "includedFuture", wn = /* @__PURE__ */
|
|
3068
|
+
}), ta = { class: "fm-typo-en-title-sm-600" }, ht = "includedFuture", wn = /* @__PURE__ */ Le({
|
|
3069
3069
|
__name: "ConditionPermission",
|
|
3070
3070
|
props: {
|
|
3071
3071
|
modelValue: {
|
|
@@ -3087,7 +3087,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3087
3087
|
},
|
|
3088
3088
|
emits: ["update:model-value"],
|
|
3089
3089
|
setup(e, { emit: t }) {
|
|
3090
|
-
const n = e, r = t, { t: l } =
|
|
3090
|
+
const n = e, r = t, { t: l } = He(), a = z(() => [
|
|
3091
3091
|
{
|
|
3092
3092
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
3093
3093
|
value: ht,
|
|
@@ -3108,9 +3108,9 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3108
3108
|
const g = rt("");
|
|
3109
3109
|
return (y, T) => {
|
|
3110
3110
|
const N = De("fm-search");
|
|
3111
|
-
return J(), Ne(
|
|
3111
|
+
return J(), Ne(Xt, { subtitle: u.value }, {
|
|
3112
3112
|
title: de(() => [
|
|
3113
|
-
ae("p", ta, Oe(
|
|
3113
|
+
ae("p", ta, Oe(H(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3114
3114
|
]),
|
|
3115
3115
|
default: de(() => [
|
|
3116
3116
|
e.options.length > 1 ? (J(), Ne(N, {
|
|
@@ -3118,7 +3118,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3118
3118
|
modelValue: g.value,
|
|
3119
3119
|
"onUpdate:modelValue": T[0] || (T[0] = (F) => g.value = F),
|
|
3120
3120
|
class: "mt-16",
|
|
3121
|
-
placeholder:
|
|
3121
|
+
placeholder: H(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3122
3122
|
}, null, 8, ["modelValue", "placeholder"])) : Me("", !0),
|
|
3123
3123
|
ue(ir, {
|
|
3124
3124
|
"model-value": d.value,
|
|
@@ -3143,7 +3143,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3143
3143
|
}, 8, ["subtitle"]);
|
|
3144
3144
|
};
|
|
3145
3145
|
}
|
|
3146
|
-
}), na = { class: "fm-typo-en-title-sm-600" }, bt = "includedNewRole", ra = /* @__PURE__ */
|
|
3146
|
+
}), na = { class: "fm-typo-en-title-sm-600" }, bt = "includedNewRole", ra = /* @__PURE__ */ Le({
|
|
3147
3147
|
__name: "PosRolePermission",
|
|
3148
3148
|
props: {
|
|
3149
3149
|
modelValue: {
|
|
@@ -3165,7 +3165,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3165
3165
|
},
|
|
3166
3166
|
emits: ["update:model-value"],
|
|
3167
3167
|
setup(e, { emit: t }) {
|
|
3168
|
-
const n = e, r = t, { t: l } =
|
|
3168
|
+
const n = e, r = t, { t: l } = He(), a = z(() => {
|
|
3169
3169
|
const g = n.restaurantIds;
|
|
3170
3170
|
return [
|
|
3171
3171
|
{
|
|
@@ -3187,9 +3187,9 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3187
3187
|
const y = g.length === a.value.length;
|
|
3188
3188
|
r("update:model-value", y ? null : g.filter((T) => T !== bt));
|
|
3189
3189
|
}
|
|
3190
|
-
return (g, y) => (J(), Ne(
|
|
3190
|
+
return (g, y) => (J(), Ne(Xt, { subtitle: u.value }, {
|
|
3191
3191
|
title: de(() => [
|
|
3192
|
-
ae("p", na, Oe(
|
|
3192
|
+
ae("p", na, Oe(H(l)("team.memberForm.permissions.roles")), 1)
|
|
3193
3193
|
]),
|
|
3194
3194
|
default: de(() => [
|
|
3195
3195
|
ue(ir, {
|
|
@@ -3223,7 +3223,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3223
3223
|
}, aa = {
|
|
3224
3224
|
key: 0,
|
|
3225
3225
|
class: "ml-32"
|
|
3226
|
-
}, Fn = /* @__PURE__ */
|
|
3226
|
+
}, Fn = /* @__PURE__ */ Le({
|
|
3227
3227
|
__name: "PortalConditionForm",
|
|
3228
3228
|
props: {
|
|
3229
3229
|
entry: {},
|
|
@@ -3240,7 +3240,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3240
3240
|
},
|
|
3241
3241
|
emits: ["update-inherit-mode", "update-form", "apply"],
|
|
3242
3242
|
setup(e, { emit: t }) {
|
|
3243
|
-
const n = t, { t: r } =
|
|
3243
|
+
const n = t, { t: r } = He();
|
|
3244
3244
|
return (l, a) => {
|
|
3245
3245
|
const d = De("FmRadio"), u = De("FmRadioGroup");
|
|
3246
3246
|
return J(), Ne(Cr, {
|
|
@@ -3264,18 +3264,18 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3264
3264
|
ae("div", null, [
|
|
3265
3265
|
ue(d, {
|
|
3266
3266
|
value: "inherit",
|
|
3267
|
-
label:
|
|
3267
|
+
label: H(r)("team.memberForm.permissions.conditionCover.inherit", {
|
|
3268
3268
|
cover: e.coverOverride.coverLabel(e.subject)
|
|
3269
3269
|
})
|
|
3270
3270
|
}, null, 8, ["label"]),
|
|
3271
|
-
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? (J(), ie("p", oa, " (" + Oe(
|
|
3271
|
+
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? (J(), ie("p", oa, " (" + Oe(H(r)(
|
|
3272
3272
|
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).labelKey,
|
|
3273
3273
|
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).params ?? {}
|
|
3274
3274
|
)) + ") ", 1)) : Me("", !0)
|
|
3275
3275
|
]),
|
|
3276
3276
|
ue(d, {
|
|
3277
3277
|
value: "custom",
|
|
3278
|
-
label:
|
|
3278
|
+
label: H(r)("team.memberForm.permissions.conditionCover.custom")
|
|
3279
3279
|
}, null, 8, ["label"])
|
|
3280
3280
|
]),
|
|
3281
3281
|
_: 2
|
|
@@ -3302,11 +3302,11 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3302
3302
|
}
|
|
3303
3303
|
}), la = {
|
|
3304
3304
|
async readWarehouses() {
|
|
3305
|
-
return
|
|
3305
|
+
return Rr(await kr().get("/warehouses"));
|
|
3306
3306
|
}
|
|
3307
3307
|
};
|
|
3308
3308
|
function Pn(e, t) {
|
|
3309
|
-
return Zn(e,
|
|
3309
|
+
return Zn(e, Yn).some(
|
|
3310
3310
|
(n) => n.subject === t && !n.inverted && n.actions.includes("manage")
|
|
3311
3311
|
);
|
|
3312
3312
|
}
|
|
@@ -3402,13 +3402,13 @@ function Mt(e, t) {
|
|
|
3402
3402
|
const n = new Set(e.actions);
|
|
3403
3403
|
return n.has(he.Action.manage) ? !0 : t.actions.every((r) => n.has(r));
|
|
3404
3404
|
}
|
|
3405
|
-
function
|
|
3405
|
+
function Yt(e, t) {
|
|
3406
3406
|
const n = xe(e);
|
|
3407
3407
|
return wt(n, [{ builder: t, formValue: t.fromCondition(void 0) }]);
|
|
3408
3408
|
}
|
|
3409
3409
|
function Vn(e, t, n) {
|
|
3410
3410
|
return {
|
|
3411
|
-
...
|
|
3411
|
+
...Yt(e, n),
|
|
3412
3412
|
...tt(xe(t), n)
|
|
3413
3413
|
};
|
|
3414
3414
|
}
|
|
@@ -3432,8 +3432,8 @@ function fa(e, t, n) {
|
|
|
3432
3432
|
return tt(xe(c), b);
|
|
3433
3433
|
}
|
|
3434
3434
|
function g(c, b) {
|
|
3435
|
-
var
|
|
3436
|
-
if (!(((
|
|
3435
|
+
var k;
|
|
3436
|
+
if (!(((k = b.appliesToActions) == null ? void 0 : k.call(b, c.actions)) ?? !0)) return !1;
|
|
3437
3437
|
const I = l(c.subject);
|
|
3438
3438
|
if (!I) return !1;
|
|
3439
3439
|
const p = u(I);
|
|
@@ -3442,10 +3442,10 @@ function fa(e, t, n) {
|
|
|
3442
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], p = l(c.subject),
|
|
3446
|
-
if (I &&
|
|
3447
|
-
const
|
|
3448
|
-
if (JSON.stringify(
|
|
3445
|
+
const I = e.value[c.index], p = l(c.subject), k = p ? u(p) : void 0;
|
|
3446
|
+
if (I && k) {
|
|
3447
|
+
const A = tt(xe(I), b), X = i(k, b);
|
|
3448
|
+
if (JSON.stringify(A) === JSON.stringify(X)) return "inherit";
|
|
3449
3449
|
}
|
|
3450
3450
|
return "custom";
|
|
3451
3451
|
}
|
|
@@ -3453,32 +3453,32 @@ function fa(e, t, n) {
|
|
|
3453
3453
|
if (!b.summarizeForm) return;
|
|
3454
3454
|
const p = l(c.subject);
|
|
3455
3455
|
if (!p) return;
|
|
3456
|
-
const
|
|
3457
|
-
if (!
|
|
3458
|
-
const
|
|
3459
|
-
return b.summarizeForm(
|
|
3456
|
+
const k = u(p);
|
|
3457
|
+
if (!k) return;
|
|
3458
|
+
const A = b.fromCondition(i(k, b));
|
|
3459
|
+
return b.summarizeForm(A, { timeZone: I });
|
|
3460
3460
|
}
|
|
3461
3461
|
function N(c, b) {
|
|
3462
3462
|
if (c.index === null) return;
|
|
3463
|
-
const I = [...e.value], p = { ...I[c.index] },
|
|
3464
|
-
if (
|
|
3463
|
+
const I = [...e.value], p = { ...I[c.index] }, k = Yt(p, b), A = Object.keys(k).length === 0, X = l(c.subject), W = X ? u(X) : void 0, m = W ? Mt(W, p) : !1;
|
|
3464
|
+
if (A && m)
|
|
3465
3465
|
I.splice(c.index, 1);
|
|
3466
3466
|
else if (W) {
|
|
3467
3467
|
const C = Vn(p, W, b);
|
|
3468
3468
|
Object.keys(C).length === 0 ? delete p.conditions : p.conditions = JSON.stringify(C), I[c.index] = p;
|
|
3469
3469
|
} else
|
|
3470
|
-
|
|
3470
|
+
A ? delete p.conditions : p.conditions = JSON.stringify(k), I[c.index] = p;
|
|
3471
3471
|
n(I);
|
|
3472
3472
|
}
|
|
3473
3473
|
function F(c, b, I) {
|
|
3474
3474
|
const p = gt(c.subject, b);
|
|
3475
3475
|
if (I === "inherit") {
|
|
3476
|
-
const
|
|
3477
|
-
|
|
3476
|
+
const A = new Set(r.value);
|
|
3477
|
+
A.delete(p), r.value = A, N(c, b);
|
|
3478
3478
|
return;
|
|
3479
3479
|
}
|
|
3480
|
-
const
|
|
3481
|
-
|
|
3480
|
+
const k = new Set(r.value);
|
|
3481
|
+
k.add(p), r.value = k, c.index === null && h(c, b, b.fromCondition(void 0), {
|
|
3482
3482
|
forceCreateRule: !0
|
|
3483
3483
|
});
|
|
3484
3484
|
}
|
|
@@ -3488,7 +3488,7 @@ function fa(e, t, n) {
|
|
|
3488
3488
|
const I = u(b);
|
|
3489
3489
|
return (I == null ? void 0 : I.actions) ?? [];
|
|
3490
3490
|
}
|
|
3491
|
-
function
|
|
3491
|
+
function L(c, b) {
|
|
3492
3492
|
return e.value.filter((I) => {
|
|
3493
3493
|
if (I.inverted) return !1;
|
|
3494
3494
|
const p = I.subject;
|
|
@@ -3497,69 +3497,69 @@ function fa(e, t, n) {
|
|
|
3497
3497
|
}
|
|
3498
3498
|
function w(c, b) {
|
|
3499
3499
|
const I = `::${b.builderKey}`, p = new Set(r.value);
|
|
3500
|
-
for (const
|
|
3501
|
-
if (!
|
|
3502
|
-
const
|
|
3503
|
-
l(
|
|
3500
|
+
for (const k of p) {
|
|
3501
|
+
if (!k.endsWith(I)) continue;
|
|
3502
|
+
const A = k.slice(0, -I.length);
|
|
3503
|
+
l(A) === c && p.delete(k);
|
|
3504
3504
|
}
|
|
3505
3505
|
r.value = p;
|
|
3506
3506
|
}
|
|
3507
3507
|
function f(c, b, I) {
|
|
3508
3508
|
const p = b.subject;
|
|
3509
|
-
return c.reduce((
|
|
3510
|
-
if (
|
|
3511
|
-
return
|
|
3512
|
-
const
|
|
3513
|
-
if (
|
|
3514
|
-
return
|
|
3515
|
-
if (Mt(b,
|
|
3516
|
-
return
|
|
3517
|
-
const m = Vn(
|
|
3509
|
+
return c.reduce((k, A) => {
|
|
3510
|
+
if (A.inverted)
|
|
3511
|
+
return k.push(A), k;
|
|
3512
|
+
const X = A.subject;
|
|
3513
|
+
if (X === p || l(X) !== p)
|
|
3514
|
+
return k.push(A), k;
|
|
3515
|
+
if (Mt(b, A) && Object.keys(Yt(A, I)).length === 0)
|
|
3516
|
+
return k;
|
|
3517
|
+
const m = Vn(A, b, I);
|
|
3518
3518
|
if (Object.keys(m).length === 0) {
|
|
3519
|
-
const { conditions: C, ...U } =
|
|
3520
|
-
|
|
3519
|
+
const { conditions: C, ...U } = A;
|
|
3520
|
+
k.push(U);
|
|
3521
3521
|
} else
|
|
3522
|
-
|
|
3523
|
-
return
|
|
3522
|
+
k.push({ ...A, conditions: JSON.stringify(m) });
|
|
3523
|
+
return k;
|
|
3524
3524
|
}, []);
|
|
3525
3525
|
}
|
|
3526
3526
|
function h(c, b, I, p = {}) {
|
|
3527
3527
|
var V;
|
|
3528
|
-
const
|
|
3529
|
-
let
|
|
3530
|
-
const
|
|
3531
|
-
if (
|
|
3532
|
-
if (
|
|
3533
|
-
const j =
|
|
3528
|
+
const k = [...e.value];
|
|
3529
|
+
let A = c.index;
|
|
3530
|
+
const X = b.toCondition(I), W = Object.keys(X).length > 0;
|
|
3531
|
+
if (A === null && !W && !p.forceCreateRule) return;
|
|
3532
|
+
if (A === null) {
|
|
3533
|
+
const j = k.findIndex((G) => !G.inverted && G.subject === c.subject);
|
|
3534
3534
|
if (j !== -1)
|
|
3535
|
-
|
|
3535
|
+
A = j;
|
|
3536
3536
|
else {
|
|
3537
3537
|
const G = t.value.find((Q) => Q.subject === c.subject);
|
|
3538
3538
|
if (!G) return;
|
|
3539
3539
|
const {
|
|
3540
3540
|
category: x,
|
|
3541
|
-
showByFeatureFlag:
|
|
3541
|
+
showByFeatureFlag: Y,
|
|
3542
3542
|
isCategoryCover: B,
|
|
3543
3543
|
...ne
|
|
3544
3544
|
} = G;
|
|
3545
|
-
|
|
3545
|
+
k.push({
|
|
3546
3546
|
...ne,
|
|
3547
3547
|
actions: c.actions.length > 0 ? c.actions : ne.actions
|
|
3548
|
-
}),
|
|
3548
|
+
}), A = k.length - 1;
|
|
3549
3549
|
}
|
|
3550
3550
|
}
|
|
3551
|
-
const m = { ...
|
|
3551
|
+
const m = { ...k[A] };
|
|
3552
3552
|
m.actions = [
|
|
3553
3553
|
.../* @__PURE__ */ new Set([...m.actions, ...c.actions])
|
|
3554
3554
|
];
|
|
3555
3555
|
const C = xe(m), U = wt(C, [{ builder: b, formValue: I }]);
|
|
3556
|
-
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U),
|
|
3557
|
-
const j =
|
|
3558
|
-
var
|
|
3559
|
-
w(c.subject, b), n(f(
|
|
3556
|
+
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U), k[A] = m, sn(c.subject, t.value)) {
|
|
3557
|
+
const j = L(c.subject, b), G = () => {
|
|
3558
|
+
var Y;
|
|
3559
|
+
w(c.subject, b), n(f(k, m, b)), (Y = p.afterCommit) == null || Y.call(p);
|
|
3560
3560
|
}, x = () => {
|
|
3561
|
-
var
|
|
3562
|
-
n(
|
|
3561
|
+
var Y;
|
|
3562
|
+
n(k), (Y = p.afterCommit) == null || Y.call(p);
|
|
3563
3563
|
};
|
|
3564
3564
|
if (j.length === 0) {
|
|
3565
3565
|
G();
|
|
@@ -3568,45 +3568,45 @@ function fa(e, t, n) {
|
|
|
3568
3568
|
p.onOverridesConflict ? p.onOverridesConflict({ override: G, keep: x }) : x();
|
|
3569
3569
|
return;
|
|
3570
3570
|
}
|
|
3571
|
-
n(
|
|
3571
|
+
n(k), (V = p.afterCommit) == null || V.call(p);
|
|
3572
3572
|
}
|
|
3573
3573
|
function S(c, b, I = {}) {
|
|
3574
3574
|
if (b.length === 0) return;
|
|
3575
3575
|
const p = [...e.value];
|
|
3576
|
-
let
|
|
3576
|
+
let k = p.findIndex((j) => !j.inverted && j.subject === c.subject), A = k === -1 ? void 0 : { ...p[k] }, X = xe(A ?? {}) ?? {};
|
|
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 }]);
|
|
3580
3580
|
}
|
|
3581
3581
|
const W = b.some((j) => j.mode === "custom");
|
|
3582
|
-
if (!
|
|
3582
|
+
if (!A && (Object.keys(X).length > 0 || W)) {
|
|
3583
3583
|
const j = t.value.find((ne) => ne.subject === c.subject);
|
|
3584
3584
|
if (!j) return;
|
|
3585
3585
|
const {
|
|
3586
3586
|
category: G,
|
|
3587
3587
|
showByFeatureFlag: x,
|
|
3588
|
-
isCategoryCover:
|
|
3588
|
+
isCategoryCover: Y,
|
|
3589
3589
|
...B
|
|
3590
3590
|
} = j;
|
|
3591
|
-
|
|
3591
|
+
A = {
|
|
3592
3592
|
...B,
|
|
3593
3593
|
actions: c.actions.length > 0 ? c.actions : B.actions
|
|
3594
|
-
}, p.push(
|
|
3594
|
+
}, p.push(A), k = p.length - 1;
|
|
3595
3595
|
}
|
|
3596
|
-
if (
|
|
3596
|
+
if (A) {
|
|
3597
3597
|
const j = l(c.subject), G = j ? u(j) : void 0;
|
|
3598
|
-
if (!W && Object.keys(
|
|
3599
|
-
p.splice(
|
|
3598
|
+
if (!W && Object.keys(X).length === 0 && !!G && Mt(G, A))
|
|
3599
|
+
p.splice(k, 1), A = void 0;
|
|
3600
3600
|
else {
|
|
3601
|
-
if (
|
|
3602
|
-
.../* @__PURE__ */ new Set([...
|
|
3601
|
+
if (A.actions = [
|
|
3602
|
+
.../* @__PURE__ */ new Set([...A.actions, ...c.actions])
|
|
3603
3603
|
], G)
|
|
3604
|
-
for (const
|
|
3605
|
-
|
|
3606
|
-
...
|
|
3607
|
-
...tt(xe(G),
|
|
3604
|
+
for (const Y of b)
|
|
3605
|
+
Y.mode === "inherit" && (X = {
|
|
3606
|
+
...X,
|
|
3607
|
+
...tt(xe(G), Y.builder)
|
|
3608
3608
|
});
|
|
3609
|
-
Object.keys(
|
|
3609
|
+
Object.keys(X).length === 0 ? delete A.conditions : A.conditions = JSON.stringify(X), p[k] = A;
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
const m = () => {
|
|
@@ -3620,14 +3620,14 @@ function fa(e, t, n) {
|
|
|
3620
3620
|
var G;
|
|
3621
3621
|
m(), n(j), (G = I.afterCommit) == null || G.call(I);
|
|
3622
3622
|
};
|
|
3623
|
-
if (!sn(c.subject, t.value) || !
|
|
3623
|
+
if (!sn(c.subject, t.value) || !A) {
|
|
3624
3624
|
C(p);
|
|
3625
3625
|
return;
|
|
3626
3626
|
}
|
|
3627
|
-
const U = b.map((j) => j.builder).filter((j) =>
|
|
3627
|
+
const U = b.map((j) => j.builder).filter((j) => L(c.subject, j).length > 0), V = () => {
|
|
3628
3628
|
let j = p;
|
|
3629
3629
|
for (const G of b.map((x) => x.builder))
|
|
3630
|
-
w(c.subject, G), j = f(j,
|
|
3630
|
+
w(c.subject, G), j = f(j, A, G);
|
|
3631
3631
|
C(j);
|
|
3632
3632
|
};
|
|
3633
3633
|
if (U.length > 0 && I.onOverridesConflict) {
|
|
@@ -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" }, pa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, va = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ha = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ba = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ga = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ia = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ya = "condition-form-select-menu", wa = /* @__PURE__ */
|
|
3651
|
+
const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, va = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ha = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ba = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ga = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ia = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ya = "condition-form-select-menu", wa = /* @__PURE__ */ Le({
|
|
3652
3652
|
__name: "PortalPermissionEditor",
|
|
3653
3653
|
props: /* @__PURE__ */ tn({
|
|
3654
3654
|
disable: {
|
|
@@ -3665,7 +3665,7 @@ 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 = vr(e, "modelValue"), r = e, l = t, { t: a } =
|
|
3668
|
+
const n = vr(e, "modelValue"), r = e, l = t, { t: a } = He(), d = hr(), u = br(), { breakpoints: i } = gr(), g = z(() => i.value.xs || i.value.sm), {
|
|
3669
3669
|
fetchCustomReportPermissions: y,
|
|
3670
3670
|
customReportPermissions: T
|
|
3671
3671
|
} = Ir(), N = z(() => [
|
|
@@ -3678,7 +3678,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3678
3678
|
function D(O) {
|
|
3679
3679
|
return N.value.find((s) => s.subject === O);
|
|
3680
3680
|
}
|
|
3681
|
-
function
|
|
3681
|
+
function L(O, s) {
|
|
3682
3682
|
return rn(O).filter(
|
|
3683
3683
|
(o) => {
|
|
3684
3684
|
var _;
|
|
@@ -3704,7 +3704,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3704
3704
|
(o) => o.subject === he.Subject.Business.inventory_stock
|
|
3705
3705
|
)
|
|
3706
3706
|
}));
|
|
3707
|
-
return
|
|
3707
|
+
return At(
|
|
3708
3708
|
O,
|
|
3709
3709
|
"warehouseId",
|
|
3710
3710
|
I.value.map((s) => s._id)
|
|
@@ -3716,17 +3716,17 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3716
3716
|
(o) => o.subject === he.Subject.Restaurant.restaurant
|
|
3717
3717
|
)
|
|
3718
3718
|
}));
|
|
3719
|
-
return
|
|
3719
|
+
return At(
|
|
3720
3720
|
O,
|
|
3721
3721
|
"restaurantId",
|
|
3722
|
-
|
|
3722
|
+
X.value.map((s) => s._id)
|
|
3723
3723
|
);
|
|
3724
3724
|
}), S = z(() => {
|
|
3725
3725
|
const O = r.inheritPermissions.map((s) => ({
|
|
3726
3726
|
...s,
|
|
3727
3727
|
permissions: s.permissions.filter((o) => o.subject === he.Subject.Business.role)
|
|
3728
3728
|
}));
|
|
3729
|
-
return
|
|
3729
|
+
return At(
|
|
3730
3730
|
O,
|
|
3731
3731
|
"roleId",
|
|
3732
3732
|
W.value.map((s) => s._id)
|
|
@@ -3746,11 +3746,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3746
3746
|
label: O.profile.name,
|
|
3747
3747
|
value: O._id
|
|
3748
3748
|
})));
|
|
3749
|
-
function
|
|
3750
|
-
const s =
|
|
3749
|
+
function k(O) {
|
|
3750
|
+
const s = A(n.value, O);
|
|
3751
3751
|
n.value = s;
|
|
3752
3752
|
}
|
|
3753
|
-
function
|
|
3753
|
+
function A(O, s) {
|
|
3754
3754
|
let o = It(
|
|
3755
3755
|
O.filter((_) => _.subject !== he.Subject.Business.inventory_stock)
|
|
3756
3756
|
);
|
|
@@ -3763,10 +3763,10 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3763
3763
|
}
|
|
3764
3764
|
return o;
|
|
3765
3765
|
}
|
|
3766
|
-
const { restaurants:
|
|
3766
|
+
const { restaurants: X } = d, W = 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(() =>
|
|
3769
|
+
}))), C = z(() => X.value.reduce((O, s) => (O[s._id] = W.value.filter((o) => o.restaurants.some((_) => _.id === s._id)).map((o) => o._id), O), {})), U = z(() => Er(n.value));
|
|
3770
3770
|
function V(O) {
|
|
3771
3771
|
const s = G(n.value, O);
|
|
3772
3772
|
n.value = s;
|
|
@@ -3776,15 +3776,15 @@ 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
|
+
(R) => R.subject !== he.Subject.Business.restaurant && R.subject !== he.Subject.Restaurant.restaurant
|
|
3780
3780
|
)
|
|
3781
3781
|
);
|
|
3782
3782
|
if (!s || s.length > 0) {
|
|
3783
3783
|
const {
|
|
3784
|
-
category:
|
|
3784
|
+
category: R,
|
|
3785
3785
|
showByFeatureFlag: M,
|
|
3786
3786
|
...P
|
|
3787
|
-
} =
|
|
3787
|
+
} = Ar.restaurant;
|
|
3788
3788
|
o.push(P);
|
|
3789
3789
|
const v = {
|
|
3790
3790
|
actions: [he.Action.manage],
|
|
@@ -3793,21 +3793,21 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3793
3793
|
s && (v.conditions = JSON.stringify({ restaurantId: { $in: s } })), o.push(v);
|
|
3794
3794
|
}
|
|
3795
3795
|
if (s) {
|
|
3796
|
-
const
|
|
3796
|
+
const R = [
|
|
3797
3797
|
...new Set(s.map((P) => C.value[P]).flatMap((P) => P))
|
|
3798
3798
|
], M = W.value.map((P) => P._id);
|
|
3799
|
-
|
|
3799
|
+
R.length !== M.length && (o = Y(
|
|
3800
3800
|
o,
|
|
3801
|
-
(_ = j.value || M) == null ? void 0 : _.filter((P) =>
|
|
3801
|
+
(_ = j.value || M) == null ? void 0 : _.filter((P) => R.includes(P))
|
|
3802
3802
|
));
|
|
3803
3803
|
}
|
|
3804
3804
|
return o;
|
|
3805
3805
|
}
|
|
3806
3806
|
function x(O) {
|
|
3807
|
-
const s =
|
|
3807
|
+
const s = Y(n.value, O);
|
|
3808
3808
|
n.value = s;
|
|
3809
3809
|
}
|
|
3810
|
-
function
|
|
3810
|
+
function Y(O, s) {
|
|
3811
3811
|
let o = It(
|
|
3812
3812
|
O.filter((_) => _.subject !== he.Subject.Business.role)
|
|
3813
3813
|
);
|
|
@@ -3829,7 +3829,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3829
3829
|
});
|
|
3830
3830
|
const B = z(() => Zn(
|
|
3831
3831
|
n.value,
|
|
3832
|
-
|
|
3832
|
+
Yn
|
|
3833
3833
|
).filter((o) => {
|
|
3834
3834
|
const _ = o.source;
|
|
3835
3835
|
return (_ == null ? void 0 : _.type) !== "systemPermissionSet" ? !0 : o.actions.includes("manage");
|
|
@@ -3837,9 +3837,9 @@ 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 =
|
|
3840
|
+
const R = D(o.subject);
|
|
3841
|
+
if (!R) return o;
|
|
3842
|
+
const M = R.actions;
|
|
3843
3843
|
return M.length <= 1 || M.filter((v) => !_.includes(v)).length === 0 ? o : { ...o, actions: [...M] };
|
|
3844
3844
|
}));
|
|
3845
3845
|
function ne(O) {
|
|
@@ -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, R = L(s.subject, _);
|
|
3865
|
+
if (R.length === 0) return;
|
|
3866
3866
|
let M;
|
|
3867
3867
|
try {
|
|
3868
3868
|
M = s.conditions ? JSON.parse(s.conditions) : void 0;
|
|
@@ -3875,7 +3875,7 @@ 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:
|
|
3878
|
+
sections: R.map((v) => ({
|
|
3879
3879
|
builder: v,
|
|
3880
3880
|
formValue: v.fromCondition(tt(M, v))
|
|
3881
3881
|
}))
|
|
@@ -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), R = L(O, _);
|
|
3891
|
+
if (R.length !== 0)
|
|
3892
3892
|
return {
|
|
3893
3893
|
index: null,
|
|
3894
3894
|
subject: O,
|
|
3895
3895
|
label: s,
|
|
3896
3896
|
actions: _,
|
|
3897
|
-
sections:
|
|
3897
|
+
sections: R.map((M) => ({
|
|
3898
3898
|
builder: M,
|
|
3899
3899
|
formValue: M.fromCondition(void 0)
|
|
3900
3900
|
}))
|
|
@@ -3903,7 +3903,7 @@ 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((R) => R.builder.builderKey === s.builderKey);
|
|
3907
3907
|
return _ == null ? void 0 : _.formValue;
|
|
3908
3908
|
}
|
|
3909
3909
|
function K(O, s) {
|
|
@@ -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
|
+
}), R = O.sections.find((M) => M.builder.builderKey === s.builderKey);
|
|
3931
3931
|
se.setDraft(
|
|
3932
3932
|
{ subject: O.subject, builderKey: s.builderKey },
|
|
3933
3933
|
{
|
|
3934
|
-
formValue: (_ == null ? void 0 : _.formValue) ?? (
|
|
3934
|
+
formValue: (_ == null ? void 0 : _.formValue) ?? (R == null ? void 0 : R.formValue),
|
|
3935
3935
|
inheritMode: o
|
|
3936
3936
|
}
|
|
3937
3937
|
);
|
|
@@ -3941,24 +3941,24 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3941
3941
|
}
|
|
3942
3942
|
function Ve(O, s) {
|
|
3943
3943
|
const o = O.sections.flatMap((_) => {
|
|
3944
|
-
const
|
|
3944
|
+
const R = se.getDraft({
|
|
3945
3945
|
subject: O.subject,
|
|
3946
3946
|
builderKey: _.builder.builderKey
|
|
3947
3947
|
});
|
|
3948
|
-
return
|
|
3948
|
+
return R ? [{ builder: _.builder, form: R.formValue, mode: R.inheritMode ?? "custom" }] : [];
|
|
3949
3949
|
});
|
|
3950
3950
|
ce.applyConditionDrafts(O, o, {
|
|
3951
3951
|
afterCommit: () => {
|
|
3952
3952
|
se.clearDraftsForSubject(O.subject), s();
|
|
3953
3953
|
},
|
|
3954
|
-
onOverridesConflict:
|
|
3954
|
+
onOverridesConflict: Ye(O).onOverridesConflict
|
|
3955
3955
|
});
|
|
3956
3956
|
}
|
|
3957
3957
|
function Fe(O) {
|
|
3958
3958
|
return O.sections.some((s) => ce.shouldShowInheritToggle(O, s.builder) ? ce.inheritMode(O, s.builder) === "custom" : Object.keys(s.builder.toCondition(s.formValue)).length > 0);
|
|
3959
3959
|
}
|
|
3960
3960
|
let Ce = !1;
|
|
3961
|
-
function
|
|
3961
|
+
function Ye(O, s = {}) {
|
|
3962
3962
|
return {
|
|
3963
3963
|
...s,
|
|
3964
3964
|
onOverridesConflict: ({ override: o, keep: _ }) => {
|
|
@@ -3994,13 +3994,13 @@ 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"), R = De("FmPopover");
|
|
3998
3998
|
return J(), ie("div", _a, [
|
|
3999
3999
|
ae("div", pa, [
|
|
4000
|
-
ue(
|
|
4000
|
+
ue(Ho, {
|
|
4001
4001
|
"model-value": B.value,
|
|
4002
4002
|
"excluded-subjects": c,
|
|
4003
|
-
"additional-permissions":
|
|
4003
|
+
"additional-permissions": H(T),
|
|
4004
4004
|
"onUpdate:modelValue": ne
|
|
4005
4005
|
}, et({ _: 2 }, [
|
|
4006
4006
|
Ee(w.value, (M) => ({
|
|
@@ -4012,18 +4012,18 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4012
4012
|
Ee(Q.value, (M) => ({
|
|
4013
4013
|
name: `checkbox-${M}-icon`,
|
|
4014
4014
|
fn: de(({ option: P, isEffectiveSelected: v }) => [
|
|
4015
|
-
v && q(M, P.label) ? (J(), ie(
|
|
4015
|
+
v && q(M, P.label) ? (J(), ie(ke, { key: 0 }, [
|
|
4016
4016
|
g.value ? (J(), Ne(_, {
|
|
4017
4017
|
key: 0,
|
|
4018
4018
|
"model-value": fe.value === M,
|
|
4019
|
-
header:
|
|
4019
|
+
header: H(a)("team.memberForm.permissions.conditionTitle", {
|
|
4020
4020
|
context: q(M, P.label).label
|
|
4021
4021
|
}),
|
|
4022
4022
|
"dismiss-away": "",
|
|
4023
4023
|
"z-index": 100,
|
|
4024
4024
|
class: "h-5 flex items-center",
|
|
4025
4025
|
"onUpdate:modelValue": (E) => {
|
|
4026
|
-
fe.value = E ? M : null, E ||
|
|
4026
|
+
fe.value = E ? M : null, E || H(se).clearDraftsForSubject(M);
|
|
4027
4027
|
}
|
|
4028
4028
|
}, {
|
|
4029
4029
|
"bottom-sheet-button": de(() => [
|
|
@@ -4044,7 +4044,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4044
4044
|
builders: q(M, P.label).sections.map((E) => E.builder),
|
|
4045
4045
|
subject: M,
|
|
4046
4046
|
"time-zone": F.value,
|
|
4047
|
-
"cover-override":
|
|
4047
|
+
"cover-override": H(ce),
|
|
4048
4048
|
"inherit-mode-for": (E) => K(q(M, P.label), E),
|
|
4049
4049
|
"form-value-for": (E) => we(q(M, P.label), E),
|
|
4050
4050
|
"has-changes": Ke(M),
|
|
@@ -4056,14 +4056,14 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4056
4056
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4057
4057
|
]),
|
|
4058
4058
|
_: 2
|
|
4059
|
-
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(), Ne(
|
|
4059
|
+
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(), Ne(R, {
|
|
4060
4060
|
key: 1,
|
|
4061
4061
|
disabled: e.disable,
|
|
4062
4062
|
"z-index": 100,
|
|
4063
4063
|
"exclude-el-from-click-outside": [ya],
|
|
4064
4064
|
class: "h-5 flex items-center",
|
|
4065
4065
|
onPopoverChanged: (E) => {
|
|
4066
|
-
E ||
|
|
4066
|
+
E || H(se).clearDraftsForSubject(M);
|
|
4067
4067
|
}
|
|
4068
4068
|
}, {
|
|
4069
4069
|
"popover-button": de(() => [
|
|
@@ -4084,8 +4084,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4084
4084
|
builders: q(M, P.label).sections.map(($) => $.builder),
|
|
4085
4085
|
subject: M,
|
|
4086
4086
|
"time-zone": F.value,
|
|
4087
|
-
"cover-override":
|
|
4088
|
-
title:
|
|
4087
|
+
"cover-override": H(ce),
|
|
4088
|
+
title: H(a)("team.memberForm.permissions.conditionTitle", {
|
|
4089
4089
|
context: q(M, P.label).label
|
|
4090
4090
|
}),
|
|
4091
4091
|
"inherit-mode-for": ($) => K(q(M, P.label), $),
|
|
@@ -4117,8 +4117,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4117
4117
|
ue(wn, {
|
|
4118
4118
|
"model-value": b.value,
|
|
4119
4119
|
options: p.value,
|
|
4120
|
-
context:
|
|
4121
|
-
"onUpdate:modelValue":
|
|
4120
|
+
context: H(a)("team.labels.warehouse"),
|
|
4121
|
+
"onUpdate:modelValue": k
|
|
4122
4122
|
}, et({ _: 2 }, [
|
|
4123
4123
|
Ee(f.value, (M) => ({
|
|
4124
4124
|
name: `checkbox-${M.id}-append`,
|
|
@@ -4132,7 +4132,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4132
4132
|
ue(wn, {
|
|
4133
4133
|
"model-value": U.value,
|
|
4134
4134
|
options: m.value,
|
|
4135
|
-
context:
|
|
4135
|
+
context: H(a)("team.labels.restaurant"),
|
|
4136
4136
|
"onUpdate:modelValue": V
|
|
4137
4137
|
}, et({ _: 2 }, [
|
|
4138
4138
|
Ee(h.value, (M) => ({
|
|
@@ -4145,7 +4145,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4145
4145
|
]),
|
|
4146
4146
|
ae("div", Ia, [
|
|
4147
4147
|
ue(ra, {
|
|
4148
|
-
roles:
|
|
4148
|
+
roles: H(W),
|
|
4149
4149
|
"model-value": j.value,
|
|
4150
4150
|
"restaurant-ids": U.value,
|
|
4151
4151
|
"onUpdate:modelValue": x
|