@feedmepos/mf-hrm-portal 2.0.8-dev.5 → 2.0.8-dev.7
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/{AuditLogList-ChmO_lsf.js → AuditLogList-DuTClC_6.js} +29 -29
- package/dist/{EmployeeList-B43c3tSt.js → EmployeeList-tfcWh61b.js} +5 -5
- package/dist/{Main-eEQq0uiP.js → Main-C5Tf5fIU.js} +6 -6
- package/dist/{Main-DKJWXUF1.js → Main-CORS-Htr.js} +9 -9
- package/dist/{Main--wV8uMFW.js → Main-CwaYKeof.js} +4 -4
- package/dist/{PermissionSetList-CA7dsUY5.js → PermissionSetList-uNxQq4Wv.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DLZyVi00.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-D3ubK_X9.js} +412 -412
- package/dist/{RoleList-Nm7T5wl8.js → RoleList-B3_jQZJI.js} +7 -7
- package/dist/{TeamMemberList-BOcKTiHH.js → TeamMemberList-SSgf2vJC.js} +8 -8
- package/dist/{TimesheetList-CoaX44py.js → TimesheetList-DCkENccG.js} +7 -7
- package/dist/{app-CgPpZ0md.js → app-D3JldVcP.js} +597 -493
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-DLZqYqC8.js → dayjs.min-BRNkTUIX.js} +1 -1
- package/dist/{employee-DQIeO3Ta.js → employee-DId_h-zM.js} +4 -4
- package/dist/{index-CxEFSIGE.js → index-3DzdZwQh.js} +1 -1
- package/dist/{index-D5bUBGCO.js → index-DvCydn2x.js} +18 -18
- package/dist/{iteration-Ceh9Zaed.js → iteration-1T1YEj2R.js} +1 -1
- package/dist/{lodash-MQv9R8bY.js → lodash-DRA73YM9.js} +1 -1
- package/dist/{team-DTdEqDL-.js → team-cNuAS8ny.js} +1 -1
- package/dist/{timesheet-Co0CE_kB.js → timesheet-Bav_2l31.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CNGyVfbo.js → useAppStore-DQWPMJho.js} +1 -1
- package/dist/{useLoading-GdaFiYX1.js → useLoading-DqCwP3Zl.js} +1 -1
- package/dist/{useReportPermissions-Cm6b6zJE.js → useReportPermissions-EB8asCMx.js} +3 -3
- package/package.json +2 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Gt, inject as $n, ref as je, shallowRef as zn, computed as q, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as de, Text as Kn, Fragment as Ie, resolveComponent as Ze, createBlock as Se, openBlock as B, withCtx as be, createElementVNode as te, createElementBlock as ee, toDisplayString as Ae, unref as H, renderList as pe, renderSlot as he, createCommentVNode as Oe, createTextVNode as Qn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as Qt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as
|
|
5
|
-
import { d as ut, g as os, b as is } from "./iteration-
|
|
6
|
-
import {
|
|
7
|
-
import { u as ms } from "./index-
|
|
8
|
-
import { u as ds } from "./useAppStore-
|
|
4
|
+
import { p as Dt, j as ss, x as as, y as Nt, z as rs, l as ls, $ as kt } from "./index-DvCydn2x.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-1T1YEj2R.js";
|
|
6
|
+
import { u as cs, h as ce, $ as us, I as Tt } from "./app-D3JldVcP.js";
|
|
7
|
+
import { u as ms } from "./index-3DzdZwQh.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-DQWPMJho.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const en = typeof window < "u",
|
|
14
|
+
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, me = Object.assign, bs = Object.create, K = (e = null) => bs(e);
|
|
15
15
|
let tn;
|
|
16
|
-
const
|
|
16
|
+
const Ue = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
|
|
17
17
|
function nn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
@@ -21,8 +21,8 @@ const hs = Object.prototype.hasOwnProperty;
|
|
|
21
21
|
function ye(e, t) {
|
|
22
22
|
return hs.call(e, t);
|
|
23
23
|
}
|
|
24
|
-
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", gs = (e) => $(e) && se(e.then) && se(e.catch),
|
|
25
|
-
function
|
|
24
|
+
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", gs = (e) => $(e) && se(e.then) && se(e.catch), Dn = Object.prototype.toString, Zt = (e) => Dn.call(e), J = (e) => Zt(e) === "[object Object]", vs = (e) => e == null ? "" : ie(e) || J(e) && e.toString === Dn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
|
+
function Yt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
28
28
|
function Es(e, t) {
|
|
@@ -43,7 +43,7 @@ function mt(e, t) {
|
|
|
43
43
|
function Is(e, t, n) {
|
|
44
44
|
return { line: e, column: t, offset: n };
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Mt(e, t, n) {
|
|
47
47
|
return { start: e, end: t };
|
|
48
48
|
}
|
|
49
49
|
const z = {
|
|
@@ -125,20 +125,20 @@ function As(e, t = {}) {
|
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
127
|
}, h = () => u, { onError: k } = t;
|
|
128
|
-
function T(r, o, g, ...
|
|
128
|
+
function T(r, o, g, ...U) {
|
|
129
129
|
const re = h();
|
|
130
130
|
if (o.column += g, o.offset += g, k) {
|
|
131
|
-
const
|
|
131
|
+
const Z = n ? Mt(re.startLoc, o) : null, _ = bt(r, Z, {
|
|
132
132
|
domain: Rs,
|
|
133
|
-
args:
|
|
133
|
+
args: U
|
|
134
134
|
});
|
|
135
135
|
k(_);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function I(r, o, g) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
|
-
const
|
|
141
|
-
return n && (
|
|
140
|
+
const U = { type: o };
|
|
141
|
+
return n && (U.loc = Mt(r.startLoc, r.endLoc)), g != null && (U.value = g), U;
|
|
142
142
|
}
|
|
143
143
|
const w = (r) => I(
|
|
144
144
|
r,
|
|
@@ -177,15 +177,15 @@ function As(e, t = {}) {
|
|
|
177
177
|
if (g !== 2)
|
|
178
178
|
return !1;
|
|
179
179
|
N(r);
|
|
180
|
-
const
|
|
181
|
-
return r.resetPeek(),
|
|
180
|
+
const U = i(r.currentPeek());
|
|
181
|
+
return r.resetPeek(), U;
|
|
182
182
|
}
|
|
183
183
|
function b(r, o) {
|
|
184
184
|
const { currentType: g } = o;
|
|
185
185
|
if (g !== 2)
|
|
186
186
|
return !1;
|
|
187
187
|
N(r);
|
|
188
|
-
const
|
|
188
|
+
const U = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = f(U);
|
|
189
189
|
return r.resetPeek(), re;
|
|
190
190
|
}
|
|
191
191
|
function S(r, o) {
|
|
@@ -193,41 +193,41 @@ function As(e, t = {}) {
|
|
|
193
193
|
if (g !== 2)
|
|
194
194
|
return !1;
|
|
195
195
|
N(r);
|
|
196
|
-
const
|
|
197
|
-
return r.resetPeek(),
|
|
196
|
+
const U = r.currentPeek() === sn;
|
|
197
|
+
return r.resetPeek(), U;
|
|
198
198
|
}
|
|
199
199
|
function R(r, o) {
|
|
200
200
|
const { currentType: g } = o;
|
|
201
201
|
if (g !== 7)
|
|
202
202
|
return !1;
|
|
203
203
|
N(r);
|
|
204
|
-
const
|
|
205
|
-
return r.resetPeek(),
|
|
204
|
+
const U = r.currentPeek() === ".";
|
|
205
|
+
return r.resetPeek(), U;
|
|
206
206
|
}
|
|
207
207
|
function m(r, o) {
|
|
208
208
|
const { currentType: g } = o;
|
|
209
209
|
if (g !== 8)
|
|
210
210
|
return !1;
|
|
211
211
|
N(r);
|
|
212
|
-
const
|
|
213
|
-
return r.resetPeek(),
|
|
212
|
+
const U = i(r.currentPeek());
|
|
213
|
+
return r.resetPeek(), U;
|
|
214
214
|
}
|
|
215
215
|
function L(r, o) {
|
|
216
216
|
const { currentType: g } = o;
|
|
217
217
|
if (!(g === 7 || g === 11))
|
|
218
218
|
return !1;
|
|
219
219
|
N(r);
|
|
220
|
-
const
|
|
221
|
-
return r.resetPeek(),
|
|
220
|
+
const U = r.currentPeek() === ":";
|
|
221
|
+
return r.resetPeek(), U;
|
|
222
222
|
}
|
|
223
223
|
function v(r, o) {
|
|
224
224
|
const { currentType: g } = o;
|
|
225
225
|
if (g !== 9)
|
|
226
226
|
return !1;
|
|
227
|
-
const
|
|
228
|
-
const
|
|
229
|
-
return
|
|
230
|
-
}, re =
|
|
227
|
+
const U = () => {
|
|
228
|
+
const Z = r.currentPeek();
|
|
229
|
+
return Z === "{" ? i(r.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Te || !Z ? !1 : Z === fe ? (r.peek(), U()) : M(r, !1);
|
|
230
|
+
}, re = U();
|
|
231
231
|
return r.resetPeek(), re;
|
|
232
232
|
}
|
|
233
233
|
function p(r) {
|
|
@@ -235,18 +235,18 @@ function As(e, t = {}) {
|
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
const g = (re = !1,
|
|
238
|
+
function M(r, o = !0) {
|
|
239
|
+
const g = (re = !1, Z = "") => {
|
|
240
240
|
const _ = r.currentPeek();
|
|
241
|
-
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(
|
|
242
|
-
},
|
|
243
|
-
return o && r.resetPeek(),
|
|
241
|
+
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(Z === Te || Z === fe) : _ === Te ? (r.peek(), g(!0, Te)) : _ === fe ? (r.peek(), g(!0, fe)) : !0;
|
|
242
|
+
}, U = g();
|
|
243
|
+
return o && r.resetPeek(), U;
|
|
244
244
|
}
|
|
245
245
|
function F(r, o) {
|
|
246
246
|
const g = r.currentChar();
|
|
247
247
|
return g === Re ? Re : o(g) ? (r.next(), g) : null;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function V(r) {
|
|
250
250
|
const o = r.charCodeAt(0);
|
|
251
251
|
return o >= 97 && o <= 122 || // a-z
|
|
252
252
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -255,7 +255,7 @@ function As(e, t = {}) {
|
|
|
255
255
|
o === 36;
|
|
256
256
|
}
|
|
257
257
|
function ae(r) {
|
|
258
|
-
return F(r,
|
|
258
|
+
return F(r, V);
|
|
259
259
|
}
|
|
260
260
|
function O(r) {
|
|
261
261
|
const o = r.charCodeAt(0);
|
|
@@ -266,39 +266,39 @@ function As(e, t = {}) {
|
|
|
266
266
|
o === 36 || // $
|
|
267
267
|
o === 45;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function D(r) {
|
|
270
270
|
return F(r, O);
|
|
271
271
|
}
|
|
272
272
|
function C(r) {
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
274
274
|
return o >= 48 && o <= 57;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Y(r) {
|
|
277
277
|
return F(r, C);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function G(r) {
|
|
280
280
|
const o = r.charCodeAt(0);
|
|
281
281
|
return o >= 48 && o <= 57 || // 0-9
|
|
282
282
|
o >= 65 && o <= 70 || // A-F
|
|
283
283
|
o >= 97 && o <= 102;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
return F(r,
|
|
285
|
+
function j(r) {
|
|
286
|
+
return F(r, G);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function x(r) {
|
|
289
289
|
let o = "", g = "";
|
|
290
|
-
for (; o =
|
|
290
|
+
for (; o = Y(r); )
|
|
291
291
|
g += o;
|
|
292
292
|
return g;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function X(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
297
|
const g = r.currentChar();
|
|
298
298
|
if (g === "{" || g === "}" || g === "@" || g === "|" || !g)
|
|
299
299
|
break;
|
|
300
300
|
if (g === Te || g === fe)
|
|
301
|
-
if (
|
|
301
|
+
if (M(r))
|
|
302
302
|
o += g, r.next();
|
|
303
303
|
else {
|
|
304
304
|
if (p(r))
|
|
@@ -313,14 +313,14 @@ function As(e, t = {}) {
|
|
|
313
313
|
function ve(r) {
|
|
314
314
|
A(r);
|
|
315
315
|
let o = "", g = "";
|
|
316
|
-
for (; o =
|
|
316
|
+
for (; o = D(r); )
|
|
317
317
|
g += o;
|
|
318
318
|
return r.currentChar() === Re && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
|
|
319
319
|
}
|
|
320
320
|
function _e(r) {
|
|
321
321
|
A(r);
|
|
322
322
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${
|
|
323
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${x(r)}`) : o += x(r), r.currentChar() === Re && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
324
|
}
|
|
325
325
|
function we(r) {
|
|
326
326
|
return r !== sn && r !== fe;
|
|
@@ -330,8 +330,8 @@ function As(e, t = {}) {
|
|
|
330
330
|
let o = "", g = "";
|
|
331
331
|
for (; o = F(r, we); )
|
|
332
332
|
o === "\\" ? g += Ee(r) : g += o;
|
|
333
|
-
const
|
|
334
|
-
return
|
|
333
|
+
const U = r.currentChar();
|
|
334
|
+
return U === fe || U === Re ? (T(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === fe && (r.next(), W(r, "'")), g) : (W(r, "'"), g);
|
|
335
335
|
}
|
|
336
336
|
function Ee(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
@@ -349,16 +349,16 @@ function As(e, t = {}) {
|
|
|
349
349
|
}
|
|
350
350
|
function Je(r, o, g) {
|
|
351
351
|
W(r, o);
|
|
352
|
-
let
|
|
352
|
+
let U = "";
|
|
353
353
|
for (let re = 0; re < g; re++) {
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
356
|
-
T(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${
|
|
354
|
+
const Z = j(r);
|
|
355
|
+
if (!Z) {
|
|
356
|
+
T(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
|
|
359
|
+
U += Z;
|
|
360
360
|
}
|
|
361
|
-
return `\\${o}${
|
|
361
|
+
return `\\${o}${U}`;
|
|
362
362
|
}
|
|
363
363
|
function $e(r) {
|
|
364
364
|
return r !== "{" && r !== "}" && r !== Te && r !== fe;
|
|
@@ -378,8 +378,8 @@ function As(e, t = {}) {
|
|
|
378
378
|
}
|
|
379
379
|
function It(r) {
|
|
380
380
|
const o = (g) => {
|
|
381
|
-
const
|
|
382
|
-
return
|
|
381
|
+
const U = r.currentChar();
|
|
382
|
+
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === Te ? g : (g += U, r.next(), o(g));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
@@ -410,38 +410,38 @@ function As(e, t = {}) {
|
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
411
|
), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), g;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g =
|
|
413
|
+
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g = xe(r, o) || w(o), o.braceNest = 0, g;
|
|
414
414
|
default: {
|
|
415
|
-
let re = !0,
|
|
415
|
+
let re = !0, Z = !0, _ = !0;
|
|
416
416
|
if (p(r))
|
|
417
417
|
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
419
|
return T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ke(r, o);
|
|
420
420
|
if (re = y(r, o))
|
|
421
421
|
return g = I(o, 4, ve(r)), A(r), g;
|
|
422
|
-
if (
|
|
422
|
+
if (Z = b(r, o))
|
|
423
423
|
return g = I(o, 5, _e(r)), A(r), g;
|
|
424
424
|
if (_ = S(r, o))
|
|
425
425
|
return g = I(o, 6, ne(r)), A(r), g;
|
|
426
|
-
if (!re && !
|
|
426
|
+
if (!re && !Z && !_)
|
|
427
427
|
return g = I(o, 12, vt(r)), T(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), A(r), g;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
return g;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function xe(r, o) {
|
|
434
434
|
const { currentType: g } = o;
|
|
435
|
-
let
|
|
435
|
+
let U = null;
|
|
436
436
|
const re = r.currentChar();
|
|
437
437
|
switch ((g === 7 || g === 8 || g === 11 || g === 9) && (re === fe || re === Te) && T(z.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(),
|
|
439
|
+
return r.next(), U = I(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
|
-
), o.inLinked = !0,
|
|
444
|
+
), o.inLinked = !0, U;
|
|
445
445
|
case ".":
|
|
446
446
|
return A(r), r.next(), I(
|
|
447
447
|
o,
|
|
@@ -457,7 +457,7 @@ function As(e, t = {}) {
|
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return p(r) ? (
|
|
460
|
+
return p(r) ? (U = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, U) : R(r, o) || L(r, o) ? (A(r), xe(r, o)) : m(r, o) ? (A(r), I(o, 11, Et(r))) : v(r, o) ? (A(r), re === "{" ? We(r, o) || U : I(o, 10, It(r))) : (g === 7 && T(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function Ke(r, o) {
|
|
@@ -468,7 +468,7 @@ function As(e, t = {}) {
|
|
|
468
468
|
if (o.braceNest > 0)
|
|
469
469
|
return We(r, o) || w(o);
|
|
470
470
|
if (o.inLinked)
|
|
471
|
-
return
|
|
471
|
+
return xe(r, o) || w(o);
|
|
472
472
|
switch (r.currentChar()) {
|
|
473
473
|
case "{":
|
|
474
474
|
return We(r, o) || w(o);
|
|
@@ -480,20 +480,20 @@ function As(e, t = {}) {
|
|
|
480
480
|
/* TokenChars.BraceRight */
|
|
481
481
|
);
|
|
482
482
|
case "@":
|
|
483
|
-
return
|
|
483
|
+
return xe(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
485
|
if (p(r))
|
|
486
486
|
return g = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
487
|
-
if (
|
|
488
|
-
return I(o, 0,
|
|
487
|
+
if (M(r))
|
|
488
|
+
return I(o, 0, X(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
return g;
|
|
493
493
|
}
|
|
494
494
|
function yt() {
|
|
495
|
-
const { currentType: r, offset: o, startLoc: g, endLoc:
|
|
496
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = g, u.lastEndLoc =
|
|
495
|
+
const { currentType: r, offset: o, startLoc: g, endLoc: U } = u;
|
|
496
|
+
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = g, u.lastEndLoc = U, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ? I(
|
|
497
497
|
u,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
@@ -506,8 +506,8 @@ function As(e, t = {}) {
|
|
|
506
506
|
context: h
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
const Ss = "parser",
|
|
510
|
-
function
|
|
509
|
+
const Ss = "parser", Ds = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
510
|
+
function Ms(e, t, n) {
|
|
511
511
|
switch (e) {
|
|
512
512
|
case "\\\\":
|
|
513
513
|
return "\\";
|
|
@@ -524,7 +524,7 @@ function ws(e = {}) {
|
|
|
524
524
|
function s(i, f, y, b, ...S) {
|
|
525
525
|
const R = i.currentPosition();
|
|
526
526
|
if (R.offset += b, R.column += b, n) {
|
|
527
|
-
const m = t ?
|
|
527
|
+
const m = t ? Mt(y, R) : null, L = bt(f, m, {
|
|
528
528
|
domain: Ss,
|
|
529
529
|
args: S
|
|
530
530
|
});
|
|
@@ -552,7 +552,7 @@ function ws(e = {}) {
|
|
|
552
552
|
}
|
|
553
553
|
function h(i, f) {
|
|
554
554
|
const y = i.context(), { lastOffset: b, lastStartLoc: S } = y, R = l(9, b, S);
|
|
555
|
-
return R.value = f.replace(
|
|
555
|
+
return R.value = f.replace(Ds, Ms), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
556
556
|
}
|
|
557
557
|
function k(i) {
|
|
558
558
|
const f = i.nextToken(), y = i.context(), { lastOffset: b, lastStartLoc: S } = y, R = l(8, b, S);
|
|
@@ -717,7 +717,7 @@ function Fs(e, t = {}) {
|
|
|
717
717
|
const s = n.context();
|
|
718
718
|
e.helpers = Array.from(s.helpers);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Us(e) {
|
|
721
721
|
const t = e.body;
|
|
722
722
|
return t.type === 2 ? rn(t) : t.cases.forEach((n) => rn(n)), e;
|
|
723
723
|
}
|
|
@@ -734,7 +734,7 @@ function rn(e) {
|
|
|
734
734
|
t.push(s.value);
|
|
735
735
|
}
|
|
736
736
|
if (t.length === e.items.length) {
|
|
737
|
-
e.static =
|
|
737
|
+
e.static = Yt(t);
|
|
738
738
|
for (let n = 0; n < e.items.length; n++) {
|
|
739
739
|
const s = e.items[n];
|
|
740
740
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -742,24 +742,24 @@ function rn(e) {
|
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function Xe(e) {
|
|
746
746
|
switch (e.t = e.type, e.type) {
|
|
747
747
|
case 0: {
|
|
748
748
|
const t = e;
|
|
749
|
-
|
|
749
|
+
Xe(t.body), t.b = t.body, delete t.body;
|
|
750
750
|
break;
|
|
751
751
|
}
|
|
752
752
|
case 1: {
|
|
753
753
|
const t = e, n = t.cases;
|
|
754
754
|
for (let s = 0; s < n.length; s++)
|
|
755
|
-
|
|
755
|
+
Xe(n[s]);
|
|
756
756
|
t.c = n, delete t.cases;
|
|
757
757
|
break;
|
|
758
758
|
}
|
|
759
759
|
case 2: {
|
|
760
760
|
const t = e, n = t.items;
|
|
761
761
|
for (let s = 0; s < n.length; s++)
|
|
762
|
-
|
|
762
|
+
Xe(n[s]);
|
|
763
763
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
764
764
|
break;
|
|
765
765
|
}
|
|
@@ -773,7 +773,7 @@ function Ye(e) {
|
|
|
773
773
|
}
|
|
774
774
|
case 6: {
|
|
775
775
|
const t = e;
|
|
776
|
-
|
|
776
|
+
Xe(t.key), t.k = t.key, delete t.key, t.modifier && (Xe(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
777
777
|
break;
|
|
778
778
|
}
|
|
779
779
|
case 5: {
|
|
@@ -789,7 +789,7 @@ function Ye(e) {
|
|
|
789
789
|
}
|
|
790
790
|
delete e.type;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function js(e, t) {
|
|
793
793
|
const { filename: n, breakLineCode: s, needIndent: l } = t, a = t.location !== !1, c = {
|
|
794
794
|
filename: n,
|
|
795
795
|
code: "",
|
|
@@ -831,12 +831,12 @@ function Vs(e, t) {
|
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function Vs(e, t) {
|
|
835
835
|
const { helper: n } = e;
|
|
836
836
|
e.push(`${n(
|
|
837
837
|
"linked"
|
|
838
838
|
/* HelperNameMap.LINKED */
|
|
839
|
-
)}(`),
|
|
839
|
+
)}(`), Ye(e, t.key), t.modifier ? (e.push(", "), Ye(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
840
|
}
|
|
841
841
|
function Ws(e, t) {
|
|
842
842
|
const { helper: n, needIndent: s } = e;
|
|
@@ -845,11 +845,11 @@ function Ws(e, t) {
|
|
|
845
845
|
/* HelperNameMap.NORMALIZE */
|
|
846
846
|
)}([`), e.indent(s());
|
|
847
847
|
const l = t.items.length;
|
|
848
|
-
for (let a = 0; a < l && (
|
|
848
|
+
for (let a = 0; a < l && (Ye(e, t.items[a]), a !== l - 1); a++)
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function xs(e, t) {
|
|
853
853
|
const { helper: n, needIndent: s } = e;
|
|
854
854
|
if (t.cases.length > 1) {
|
|
855
855
|
e.push(`${n(
|
|
@@ -857,28 +857,28 @@ function Gs(e, t) {
|
|
|
857
857
|
/* HelperNameMap.PLURAL */
|
|
858
858
|
)}([`), e.indent(s());
|
|
859
859
|
const l = t.cases.length;
|
|
860
|
-
for (let a = 0; a < l && (
|
|
860
|
+
for (let a = 0; a < l && (Ye(e, t.cases[a]), a !== l - 1); a++)
|
|
861
861
|
e.push(", ");
|
|
862
862
|
e.deindent(s()), e.push("])");
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
function
|
|
866
|
-
t.body ?
|
|
865
|
+
function Gs(e, t) {
|
|
866
|
+
t.body ? Ye(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Ye(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
872
|
-
|
|
872
|
+
Gs(e, t);
|
|
873
873
|
break;
|
|
874
874
|
case 1:
|
|
875
|
-
|
|
875
|
+
xs(e, t);
|
|
876
876
|
break;
|
|
877
877
|
case 2:
|
|
878
878
|
Ws(e, t);
|
|
879
879
|
break;
|
|
880
880
|
case 6:
|
|
881
|
-
|
|
881
|
+
Vs(e, t);
|
|
882
882
|
break;
|
|
883
883
|
case 8:
|
|
884
884
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -912,16 +912,16 @@ function Ze(e, t) {
|
|
|
912
912
|
break;
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
const
|
|
915
|
+
const Xs = (e, t = {}) => {
|
|
916
916
|
const n = P(t.mode) ? t.mode : "normal", s = P(t.filename) ? t.filename : "message.intl";
|
|
917
917
|
t.sourceMap;
|
|
918
918
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
919
|
-
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], d =
|
|
919
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], d = js(e, {
|
|
920
920
|
filename: s,
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${
|
|
924
|
+
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${Yt(c.map((k) => `${k}: _${k}`), ", ")} } = ctx`), d.newline()), d.push("return "), Ye(d, e), d.deindent(a), d.push("}"), delete e.helpers;
|
|
925
925
|
const { code: u, map: h } = d.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
@@ -930,13 +930,13 @@ const Ys = (e, t = {}) => {
|
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
933
|
+
function Zs(e, t = {}) {
|
|
934
934
|
const n = me({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, d = ws(n).parse(e);
|
|
935
|
-
return s ? (a &&
|
|
935
|
+
return s ? (a && Us(d), l && Xe(d), { ast: d, code: "" }) : (Fs(d, n), Xs(d, n));
|
|
936
936
|
}
|
|
937
|
-
var
|
|
937
|
+
var Ys = { env: { NODE_ENV: "production" } };
|
|
938
938
|
function Bs() {
|
|
939
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
939
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
940
|
}
|
|
941
941
|
function Ot(e) {
|
|
942
942
|
return (n) => Hs(n, e);
|
|
@@ -959,11 +959,11 @@ function Hs(e, t) {
|
|
|
959
959
|
}
|
|
960
960
|
const Js = ["b", "body"];
|
|
961
961
|
function $s(e) {
|
|
962
|
-
return
|
|
962
|
+
return De(e, Js);
|
|
963
963
|
}
|
|
964
964
|
const zs = ["c", "cases"];
|
|
965
965
|
function Ks(e) {
|
|
966
|
-
return
|
|
966
|
+
return De(e, zs, []);
|
|
967
967
|
}
|
|
968
968
|
function ln(e, t) {
|
|
969
969
|
const n = qs(t);
|
|
@@ -976,11 +976,11 @@ function ln(e, t) {
|
|
|
976
976
|
}
|
|
977
977
|
const Qs = ["s", "static"];
|
|
978
978
|
function qs(e) {
|
|
979
|
-
return
|
|
979
|
+
return De(e, Qs);
|
|
980
980
|
}
|
|
981
981
|
const ea = ["i", "items"];
|
|
982
982
|
function ta(e) {
|
|
983
|
-
return
|
|
983
|
+
return De(e, ea, []);
|
|
984
984
|
}
|
|
985
985
|
function wt(e, t) {
|
|
986
986
|
const n = Ht(t);
|
|
@@ -1019,22 +1019,22 @@ function wt(e, t) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
const na = ["t", "type"];
|
|
1021
1021
|
function Ht(e) {
|
|
1022
|
-
return
|
|
1022
|
+
return De(e, na);
|
|
1023
1023
|
}
|
|
1024
1024
|
const sa = ["v", "value"];
|
|
1025
1025
|
function lt(e, t) {
|
|
1026
|
-
const n =
|
|
1026
|
+
const n = De(e, sa);
|
|
1027
1027
|
if (n)
|
|
1028
1028
|
return n;
|
|
1029
1029
|
throw et(t);
|
|
1030
1030
|
}
|
|
1031
1031
|
const aa = ["m", "modifier"];
|
|
1032
1032
|
function ra(e) {
|
|
1033
|
-
return
|
|
1033
|
+
return De(e, aa);
|
|
1034
1034
|
}
|
|
1035
1035
|
const la = ["k", "key"];
|
|
1036
1036
|
function oa(e) {
|
|
1037
|
-
const t =
|
|
1037
|
+
const t = De(e, la);
|
|
1038
1038
|
if (t)
|
|
1039
1039
|
return t;
|
|
1040
1040
|
throw et(
|
|
@@ -1042,7 +1042,7 @@ function oa(e) {
|
|
|
1042
1042
|
/* NodeTypes.Linked */
|
|
1043
1043
|
);
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function De(e, t, n) {
|
|
1046
1046
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1047
|
const l = t[s];
|
|
1048
1048
|
if (ye(e, l) && e[l] != null)
|
|
@@ -1063,7 +1063,7 @@ function ca(e, t = {}) {
|
|
|
1063
1063
|
const s = t.onError || Ns;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1066
|
+
}, { ...Zs(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ua(e, t) {
|
|
@@ -1074,7 +1074,7 @@ function ua(e, t) {
|
|
|
1074
1074
|
return l;
|
|
1075
1075
|
const { ast: a, detectError: c } = ca(e, {
|
|
1076
1076
|
...t,
|
|
1077
|
-
location:
|
|
1077
|
+
location: Ys.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
1079
|
}), d = Ot(a);
|
|
1080
1080
|
return c ? d : ot[s] = d;
|
|
@@ -1141,7 +1141,7 @@ function ba(e, t, n) {
|
|
|
1141
1141
|
...ie(t) ? t : $(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Mn(e, t, n) {
|
|
1145
1145
|
const s = P(n) ? n : ft, l = e;
|
|
1146
1146
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1147
1147
|
let a = l.__localeChainCache.get(s);
|
|
@@ -1181,8 +1181,8 @@ function ga(e, t, n) {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
return s;
|
|
1183
1183
|
}
|
|
1184
|
-
const
|
|
1185
|
-
|
|
1184
|
+
const Me = [];
|
|
1185
|
+
Me[
|
|
1186
1186
|
0
|
|
1187
1187
|
/* States.BEFORE_PATH */
|
|
1188
1188
|
] = {
|
|
@@ -1204,7 +1204,7 @@ De[
|
|
|
1204
1204
|
/* States.AFTER_PATH */
|
|
1205
1205
|
]
|
|
1206
1206
|
};
|
|
1207
|
-
|
|
1207
|
+
Me[
|
|
1208
1208
|
1
|
|
1209
1209
|
/* States.IN_PATH */
|
|
1210
1210
|
] = {
|
|
@@ -1225,7 +1225,7 @@ De[
|
|
|
1225
1225
|
/* States.AFTER_PATH */
|
|
1226
1226
|
]
|
|
1227
1227
|
};
|
|
1228
|
-
|
|
1228
|
+
Me[
|
|
1229
1229
|
2
|
|
1230
1230
|
/* States.BEFORE_IDENT */
|
|
1231
1231
|
] = {
|
|
@@ -1244,7 +1244,7 @@ De[
|
|
|
1244
1244
|
/* Actions.APPEND */
|
|
1245
1245
|
]
|
|
1246
1246
|
};
|
|
1247
|
-
|
|
1247
|
+
Me[
|
|
1248
1248
|
3
|
|
1249
1249
|
/* States.IN_IDENT */
|
|
1250
1250
|
] = {
|
|
@@ -1279,7 +1279,7 @@ De[
|
|
|
1279
1279
|
/* Actions.PUSH */
|
|
1280
1280
|
]
|
|
1281
1281
|
};
|
|
1282
|
-
|
|
1282
|
+
Me[
|
|
1283
1283
|
4
|
|
1284
1284
|
/* States.IN_SUB_PATH */
|
|
1285
1285
|
] = {
|
|
@@ -1310,7 +1310,7 @@ De[
|
|
|
1310
1310
|
/* Actions.APPEND */
|
|
1311
1311
|
]
|
|
1312
1312
|
};
|
|
1313
|
-
|
|
1313
|
+
Me[
|
|
1314
1314
|
5
|
|
1315
1315
|
/* States.IN_SINGLE_QUOTE */
|
|
1316
1316
|
] = {
|
|
@@ -1326,7 +1326,7 @@ De[
|
|
|
1326
1326
|
/* Actions.APPEND */
|
|
1327
1327
|
]
|
|
1328
1328
|
};
|
|
1329
|
-
|
|
1329
|
+
Me[
|
|
1330
1330
|
6
|
|
1331
1331
|
/* States.IN_DOUBLE_QUOTE */
|
|
1332
1332
|
] = {
|
|
@@ -1429,7 +1429,7 @@ function ka(e) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
for (; s !== null; )
|
|
1431
1431
|
if (n++, a = e[n], !(a === "\\" && w())) {
|
|
1432
|
-
if (u = ya(a), T =
|
|
1432
|
+
if (u = ya(a), T = Me[s], h = T[u] || T.l || 8, h === 8 || (s = h[0], h[1] !== void 0 && (k = I[h[1]], k && (d = a, k() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1475,17 +1475,17 @@ let Fn;
|
|
|
1475
1475
|
function Sa(e) {
|
|
1476
1476
|
Fn = e;
|
|
1477
1477
|
}
|
|
1478
|
+
let Un = null;
|
|
1479
|
+
const Da = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
|
+
Un = e;
|
|
1481
|
+
}, Ma = /* @__NO_SIDE_EFFECTS__ */ () => Un;
|
|
1478
1482
|
let jn = null;
|
|
1479
|
-
const Ma = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
|
-
jn = e;
|
|
1481
|
-
}, Da = /* @__NO_SIDE_EFFECTS__ */ () => jn;
|
|
1482
|
-
let Vn = null;
|
|
1483
1483
|
const fn = (e) => {
|
|
1484
|
-
|
|
1485
|
-
}, wa = () =>
|
|
1484
|
+
jn = e;
|
|
1485
|
+
}, wa = () => jn;
|
|
1486
1486
|
let _n = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), d = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), h = me(K(), e.modifiers, Ca()), k = e.pluralRules || K(), T = se(e.missing) ? e.missing : null, I = oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, W = !!e.fallbackFormat, N = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, b = se(e.messageCompiler) ? e.messageCompiler : wn, S = se(e.messageResolver) ? e.messageResolver : Pn || Ta, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ba, m = $(e.fallbackContext) ? e.fallbackContext : void 0, L = e, v = $(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(),
|
|
1488
|
+
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), d = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), h = me(K(), e.modifiers, Ca()), k = e.pluralRules || K(), T = se(e.missing) ? e.missing : null, I = oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, W = !!e.fallbackFormat, N = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, b = se(e.messageCompiler) ? e.messageCompiler : wn, S = se(e.messageResolver) ? e.messageResolver : Pn || Ta, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ba, m = $(e.fallbackContext) ? e.fallbackContext : void 0, L = e, v = $(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), M = $(L.__meta) ? L.__meta : {};
|
|
1489
1489
|
_n++;
|
|
1490
1490
|
const F = {
|
|
1491
1491
|
version: n,
|
|
@@ -1509,9 +1509,9 @@ function Pa(e = {}) {
|
|
|
1509
1509
|
localeFallbacker: R,
|
|
1510
1510
|
fallbackContext: m,
|
|
1511
1511
|
onWarn: t,
|
|
1512
|
-
__meta:
|
|
1512
|
+
__meta: M
|
|
1513
1513
|
};
|
|
1514
|
-
return F.datetimeFormats = d, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && da(F, n,
|
|
1514
|
+
return F.datetimeFormats = d, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && da(F, n, M), F;
|
|
1515
1515
|
}
|
|
1516
1516
|
const Ct = (e) => ({ [e]: K() });
|
|
1517
1517
|
function $t(e, t, n, s, l) {
|
|
@@ -1529,7 +1529,7 @@ function Qe(e, t, n) {
|
|
|
1529
1529
|
function Fa(e, t) {
|
|
1530
1530
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function Ua(e, t) {
|
|
1533
1533
|
const n = t.indexOf(e);
|
|
1534
1534
|
if (n === -1)
|
|
1535
1535
|
return !1;
|
|
@@ -1560,7 +1560,7 @@ function pn(e, ...t) {
|
|
|
1560
1560
|
let S = d.get(b);
|
|
1561
1561
|
return S || (S = new Intl.DateTimeFormat(i, me({}, f, T)), d.set(b, S)), w ? S.formatToParts(h) : S.format(h);
|
|
1562
1562
|
}
|
|
1563
|
-
const
|
|
1563
|
+
const Vn = [
|
|
1564
1564
|
"localeMatcher",
|
|
1565
1565
|
"weekday",
|
|
1566
1566
|
"era",
|
|
@@ -1605,7 +1605,7 @@ function Pt(...e) {
|
|
|
1605
1605
|
else
|
|
1606
1606
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1607
1607
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((u) => {
|
|
1608
|
-
|
|
1608
|
+
Vn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1609
1609
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
|
|
1610
1610
|
}
|
|
1611
1611
|
function bn(e, t, n) {
|
|
@@ -1676,26 +1676,26 @@ function gn(e, t, n) {
|
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const
|
|
1679
|
+
const ja = (e) => e, Va = (e) => "", Wa = "text", xa = (e) => e.length === 0 ? "" : Yt(e), Ga = vs;
|
|
1680
1680
|
function vn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function Xa(e) {
|
|
1684
1684
|
const t = ue(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1685
|
return e.named && (ue(e.named.count) || ue(e.named.n)) ? ue(e.named.count) ? e.named.count : ue(e.named.n) ? e.named.n : t : t;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Za(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1691
|
-
const t = e.locale, n =
|
|
1692
|
-
ue(e.pluralIndex) &&
|
|
1690
|
+
function Ya(e = {}) {
|
|
1691
|
+
const t = e.locale, n = Xa(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], d = (i) => c[i], u = e.named || K();
|
|
1692
|
+
ue(e.pluralIndex) && Za(n, u);
|
|
1693
1693
|
const h = (i) => u[i];
|
|
1694
1694
|
function k(i, f) {
|
|
1695
1695
|
const y = se(e.messages) ? e.messages(i, !!f) : $(e.messages) ? e.messages[i] : !1;
|
|
1696
|
-
return y || (e.parent ? e.parent.message(i) :
|
|
1696
|
+
return y || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1697
|
}
|
|
1698
|
-
const T = (i) => e.modifiers ? e.modifiers[i] :
|
|
1698
|
+
const T = (i) => e.modifiers ? e.modifiers[i] : ja, I = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : xa, w = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : Ga, W = J(e.processor) && P(e.processor.type) ? e.processor.type : Wa, A = {
|
|
1699
1699
|
list: d,
|
|
1700
1700
|
named: h,
|
|
1701
1701
|
plural: a,
|
|
@@ -1719,31 +1719,31 @@ function Za(e = {}) {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
const En = () => "", ge = (e) => se(e);
|
|
1721
1721
|
function In(e, ...t) {
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u, h] =
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u, h] = Ut(...t), k = oe(h.missingWarn) ? h.missingWarn : e.missingWarn, T = oe(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, I = oe(h.escapeParameter) ? h.escapeParameter : e.escapeParameter, w = !!h.resolvedMessage, W = P(h.default) || oe(h.default) ? oe(h.default) ? a ? u : () => u : h.default : n ? a ? u : () => u : null, N = n || W != null && (P(W) || se(W)), A = Jt(e, h);
|
|
1723
1723
|
I && Ba(h);
|
|
1724
1724
|
let [i, f, y] = w ? [
|
|
1725
1725
|
u,
|
|
1726
1726
|
A,
|
|
1727
1727
|
d[A] || K()
|
|
1728
|
-
] :
|
|
1728
|
+
] : xn(e, u, A, c, T, k), b = i, S = u;
|
|
1729
1729
|
if (!w && !(P(b) || Be(b) || ge(b)) && N && (b = W, S = b), !w && (!(P(b) || Be(b) || ge(b)) || !P(f)))
|
|
1730
1730
|
return l ? ht : u;
|
|
1731
1731
|
let R = !1;
|
|
1732
1732
|
const m = () => {
|
|
1733
1733
|
R = !0;
|
|
1734
|
-
}, L = ge(b) ? b :
|
|
1734
|
+
}, L = ge(b) ? b : Gn(e, u, f, b, S, m);
|
|
1735
1735
|
if (R)
|
|
1736
1736
|
return b;
|
|
1737
|
-
const v = $a(e, f, y, h), p =
|
|
1737
|
+
const v = $a(e, f, y, h), p = Ya(v), M = Ha(e, L, p), F = s ? s(M, u) : M;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
|
-
const
|
|
1739
|
+
const V = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
1741
1741
|
key: P(u) ? u : ge(b) ? b.key : "",
|
|
1742
1742
|
locale: f || (ge(b) ? b.locale : ""),
|
|
1743
1743
|
format: P(b) ? b : ge(b) ? b.source : "",
|
|
1744
1744
|
message: F
|
|
1745
1745
|
};
|
|
1746
|
-
|
|
1746
|
+
V.meta = me({}, e.__meta, /* @__PURE__ */ Ma() || {}), fa(V);
|
|
1747
1747
|
}
|
|
1748
1748
|
return F;
|
|
1749
1749
|
}
|
|
@@ -1752,12 +1752,12 @@ function Ba(e) {
|
|
|
1752
1752
|
P(e.named[t]) && (e.named[t] = nn(e.named[t]));
|
|
1753
1753
|
});
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1755
|
+
function xn(e, t, n, s, l, a) {
|
|
1756
1756
|
const { messages: c, onWarn: d, messageResolver: u, localeFallbacker: h } = e, k = h(e, s, n);
|
|
1757
1757
|
let T = K(), I, w = null;
|
|
1758
1758
|
const W = "translate";
|
|
1759
1759
|
for (let N = 0; N < k.length && (I = k[N], T = c[I] || K(), (w = u(T, t)) === null && (w = T[t]), !(P(w) || Be(w) || ge(w))); N++)
|
|
1760
|
-
if (!
|
|
1760
|
+
if (!Ua(I, k)) {
|
|
1761
1761
|
const A = $t(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1770,7 +1770,7 @@ function Gn(e, t, n, s, l, a) {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
return [w, I, T];
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function Gn(e, t, n, s, l, a) {
|
|
1774
1774
|
const { messageCompiler: c, warnHtmlMessage: d } = e;
|
|
1775
1775
|
if (ge(s)) {
|
|
1776
1776
|
const h = s;
|
|
@@ -1786,7 +1786,7 @@ function xn(e, t, n, s, l, a) {
|
|
|
1786
1786
|
function Ha(e, t, n) {
|
|
1787
1787
|
return t(n);
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function Ut(...e) {
|
|
1790
1790
|
const [t, n, s] = e, l = K();
|
|
1791
1791
|
if (!P(t) && !ue(t) && !ge(t) && !Be(t))
|
|
1792
1792
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
@@ -1812,7 +1812,7 @@ function $a(e, t, n, s) {
|
|
|
1812
1812
|
messages: (w, W) => {
|
|
1813
1813
|
let N = c(n, w);
|
|
1814
1814
|
if (N == null && (k || W)) {
|
|
1815
|
-
const [, , A] =
|
|
1815
|
+
const [, , A] = xn(
|
|
1816
1816
|
k || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
w,
|
|
@@ -1825,7 +1825,7 @@ function $a(e, t, n, s) {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
if (P(N) || Be(N)) {
|
|
1827
1827
|
let A = !1;
|
|
1828
|
-
const f =
|
|
1828
|
+
const f = Gn(e, w, t, N, w, () => {
|
|
1829
1829
|
A = !0;
|
|
1830
1830
|
});
|
|
1831
1831
|
return A ? En : f;
|
|
@@ -1835,10 +1835,10 @@ function $a(e, t, n, s) {
|
|
|
1835
1835
|
return e.processor && (I.processor = e.processor), s.list && (I.list = s.list), s.named && (I.named = s.named), ue(s.plural) && (I.pluralIndex = s.plural), I;
|
|
1836
1836
|
}
|
|
1837
1837
|
Bs();
|
|
1838
|
-
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_332c6a4c-fcbf-4c87-ba9d-f51320083baa", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_332c6a4c-fcbf-4c87-ba9d-f51320083baa", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", 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", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", 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.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1787", ACTIONS_ORCHESTRATION_ID: "343bb2f4-924d-43cb-a973-a4b342dd8bb3.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15471", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", 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_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "25159631105", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "cdcd6d48c35193346cae488b6f5a406350edca28", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/permission-integrations", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc3NTY1ODM5LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc1NDM2MzksImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5NjJjN2Y5MC0yZDY4LTVmOTMtOTdlYS1kMWE3Y2U1MTFhOWIiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc1NDMzMzksIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzM3NTAzNjYyNzRcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjJhZTNmNTljM2YxOTRhZDY1ZmQ5ZmQxODk0OTA2ODgyNDBkMTQxOWRcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI1MTU5NjMxMTA1XCIsXCJydW5fbnVtYmVyXCI6XCI1OFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImNkY2Q2ZDQ4YzM1MTkzMzQ2Y2FlNDg4YjZmNWE0MDYzNTBlZGNhMjhcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcGVybWlzc2lvbi1pbnRlZ3JhdGlvbnNcIixcIndvcmtmbG93X3NoYVwiOlwiY2RjZDZkNDhjMzUxOTMzNDZjYWU0ODhiNmY1YTQwNjM1MGVkY2EyOFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wZXJtaXNzaW9uLWludGVncmF0aW9ucyIsIm9yY2hfaWQiOiIzNDNiYjJmNC05MjRkLTQzY2ItYTk3My1hNGIzNDJkZDhiYjMucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjM0M2JiMmY0LTkyNGQtNDNjYi1hOTczLWE0YjM0MmRkOGJiMyIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjUxNTk2MzExMDUiLCJydW5fbnVtYmVyIjoiNTgiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDY1MDA0IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MzQzYmIyZjQtOTI0ZC00M2NiLWE5NzMtYTRiMzQyZGQ4YmIzOjk2MmM3ZjkwLTJkNjgtNWY5My05N2VhLWQxYTdjZTUxMWE5YiBBY3Rpb25zLlJ1bm5lcjozNDNiYjJmNC05MjRkLTQzY2ItYTk3My1hNGIzNDJkZDhiYjM6OTYyYzdmOTAtMmQ2OC01ZjkzLTk3ZWEtZDFhN2NlNTExYTliIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjM0M2JiMmY0LTkyNGQtNDNjYi1hOTczLWE0YjM0MmRkOGJiMzo5NjJjN2Y5MC0yZDY4LTVmOTMtOTdlYS1kMWE3Y2U1MTFhOWIgZ2VuZXJhdGVfaWRfdG9rZW46MzQzYmIyZjQtOTI0ZC00M2NiLWE5NzMtYTRiMzQyZGQ4YmIzOjk2MmM3ZjkwLTJkNjgtNWY5My05N2VhLWQxYTdjZTUxMWE5YiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImNkY2Q2ZDQ4YzM1MTkzMzQ2Y2FlNDg4YjZmNWE0MDYzNTBlZGNhMjgiLCJ0cnVzdF90aWVyIjoiMSJ9.SRlWtYEIb7zmM3iTdL0_AK2C3zJAbJOFaI5YHZBNxPOFa_snSSvVR0lNuO8NyZZJwuQv43swmxOqE5M0fPSWzv8eeRpu5Bvv6RWxY6GtxyDqc4zBsigCh2nDjbDb_rRMploWT9ljYu0L33Jf6BOeqbU5SBwfvd6SYAReC2LMo7cI6SHwtHG2rjB9pUyHs-2V03PPFJuAkIE2Bcphmtx4_cEWb28mzNbdxqvJuV_0KkSzCNQsbKaFTgykui3-9VaVi5XY_63kHViVGAce35Ex-Hdc-lZW8dJ802Uhqz7DQdrgp9afigh5AKcuyOmfwPUcI_jJ7xaM9lGYGHBjsyK-3g", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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@9.15.9/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@9.15.9/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_1f03bf91-ebc9-424d-883a-904e1b292b00", INVOCATION_ID: "ead34c3b1b1f412384f52a980ef3a708", 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: "58", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000065004", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/permission-integrations", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", 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", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", 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@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.5", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "cdcd6d48c35193346cae488b6f5a406350edca28", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/permission-integrations", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_332c6a4c-fcbf-4c87-ba9d-f51320083baa", 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_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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/64//idtoken/343bb2f4-924d-43cb-a973-a4b342dd8bb3/962c7f90-2d68-5f93-97ea-d1a7ce511a9b?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_332c6a4c-fcbf-4c87-ba9d-f51320083baa", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", 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_332c6a4c-fcbf-4c87-ba9d-f51320083baa", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
|
+
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_937c07f9-b638-4d14-902f-74a4c214d4b7", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_937c07f9-b638-4d14-902f-74a4c214d4b7", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", 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", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", 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.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1886", ACTIONS_ORCHESTRATION_ID: "af1b15e7-5227-4e34-9d43-21bed7997bab.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:14932", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", 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_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "25354371854", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "692e6c649d046f552aed589180b7c7d9d0b9558d", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/permission-integrations", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc3OTY5NzMwLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc5NDc1MzAsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJhNzgzMmY4MS0xOTJiLTU1MzEtYmUwNC0yYmZjMThiYzk3NmYiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc5NDcyMzAsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzQzNDA0NjAzMDlcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjJhZTNmNTljM2YxOTRhZDY1ZmQ5ZmQxODk0OTA2ODgyNDBkMTQxOWRcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI1MzU0MzcxODU0XCIsXCJydW5fbnVtYmVyXCI6XCI2MFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjY5MmU2YzY0OWQwNDZmNTUyYWVkNTg5MTgwYjdjN2Q5ZDBiOTU1OGRcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcGVybWlzc2lvbi1pbnRlZ3JhdGlvbnNcIixcIndvcmtmbG93X3NoYVwiOlwiNjkyZTZjNjQ5ZDA0NmY1NTJhZWQ1ODkxODBiN2M3ZDlkMGI5NTU4ZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wZXJtaXNzaW9uLWludGVncmF0aW9ucyIsIm9yY2hfaWQiOiJhZjFiMTVlNy01MjI3LTRlMzQtOWQ0My0yMWJlZDc5OTdiYWIucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImFmMWIxNWU3LTUyMjctNGUzNC05ZDQzLTIxYmVkNzk5N2JhYiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjUzNTQzNzE4NTQiLCJydW5fbnVtYmVyIjoiNjAiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDY1NTc0IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6YWYxYjE1ZTctNTIyNy00ZTM0LTlkNDMtMjFiZWQ3OTk3YmFiOmE3ODMyZjgxLTE5MmItNTUzMS1iZTA0LTJiZmMxOGJjOTc2ZiBBY3Rpb25zLlJ1bm5lcjphZjFiMTVlNy01MjI3LTRlMzQtOWQ0My0yMWJlZDc5OTdiYWI6YTc4MzJmODEtMTkyYi01NTMxLWJlMDQtMmJmYzE4YmM5NzZmIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOmFmMWIxNWU3LTUyMjctNGUzNC05ZDQzLTIxYmVkNzk5N2JhYjphNzgzMmY4MS0xOTJiLTU1MzEtYmUwNC0yYmZjMThiYzk3NmYgZ2VuZXJhdGVfaWRfdG9rZW46YWYxYjE1ZTctNTIyNy00ZTM0LTlkNDMtMjFiZWQ3OTk3YmFiOmE3ODMyZjgxLTE5MmItNTUzMS1iZTA0LTJiZmMxOGJjOTc2ZiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjY5MmU2YzY0OWQwNDZmNTUyYWVkNTg5MTgwYjdjN2Q5ZDBiOTU1OGQiLCJ0cnVzdF90aWVyIjoiMSJ9.MHNhec1Y7EorXQxb2xUptrcpLGWrJay91nBn2LKHg1aksQVlk2yvsA60eafK7QJ_UUrphj0NrYN6I4GHQrNQfjR7W-4z8Dy_r7R50oOye1s1AUFqQlnskLKwJ1nsF-GiwRAepzkmVvyAsloS4udAAVBjvemMlH4fdzPMPxfGxubU0aOokKBMeViXZAzORPX-OYVzw1YBZxtBTngG4148lHM3JKkp9vEV2RyoZ8TH-xVTMZSAp8OrD9cWf5xOJMPFAkjPJZh_F5lIvQyRNoLjOYojDqognLE7iZ8Qun-YnB45wrIQoL3LrBk_UT96Iwhm2AagyNb-Lou3ukJBx1ftOA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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@9.15.9/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@9.15.9/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_22d31a61-6008-419e-8766-140f47eb4193", INVOCATION_ID: "5382e851b6d94191b2c6721d205698f8", 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: "60", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000065574", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/permission-integrations", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", 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", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", 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@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.7", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "692e6c649d046f552aed589180b7c7d9d0b9558d", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/permission-integrations", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_937c07f9-b638-4d14-902f-74a4c214d4b7", 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_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/44//idtoken/af1b15e7-5227-4e34-9d43-21bed7997bab/a7832f81-192b-5531-be04-2bfc18bc976f?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_937c07f9-b638-4d14-902f-74a4c214d4b7", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", 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_937c07f9-b638-4d14-902f-74a4c214d4b7", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
1839
|
const Ka = "10.0.5";
|
|
1840
1840
|
function Qa() {
|
|
1841
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
1841
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ue().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ue().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1842
1842
|
}
|
|
1843
1843
|
const He = {
|
|
1844
1844
|
// composer module errors
|
|
@@ -1856,7 +1856,7 @@ const He = {
|
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
1857
|
return bt(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const
|
|
1859
|
+
const jt = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Wt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"), xt = /* @__PURE__ */ Ve("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
1861
1861
|
if (!$(e))
|
|
1862
1862
|
return e;
|
|
@@ -1878,7 +1878,7 @@ function st(e) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function Zn(e, t) {
|
|
1882
1882
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ? K() : { [e]: K() };
|
|
1883
1883
|
if (ie(s) && s.forEach((d) => {
|
|
1884
1884
|
if ("locale" in d && "resource" in d) {
|
|
@@ -1891,12 +1891,12 @@ function Xn(e, t) {
|
|
|
1891
1891
|
ye(c, d) && st(c[d]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Yn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
1898
1898
|
let s = $(t.messages) ? t.messages : K();
|
|
1899
|
-
"__i18nGlobal" in n && (s =
|
|
1899
|
+
"__i18nGlobal" in n && (s = Zn(e.locale.value, {
|
|
1900
1900
|
messages: s,
|
|
1901
1901
|
__i18n: n.__i18nGlobal
|
|
1902
1902
|
}));
|
|
@@ -1925,15 +1925,15 @@ function yn(e) {
|
|
|
1925
1925
|
const Nn = "__INTLIFY_META__", kn = () => [], tr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
1927
1927
|
function On(e) {
|
|
1928
|
-
return (t, n, s, l) => e(n, s,
|
|
1928
|
+
return (t, n, s, l) => e(n, s, Gt() || void 0, l);
|
|
1929
1929
|
}
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
|
-
const e =
|
|
1931
|
+
const e = Gt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1933
|
+
return e && (t = Yn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ?
|
|
1936
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? je : zn;
|
|
1937
1937
|
let c = oe(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1938
|
const d = a(
|
|
1939
1939
|
// prettier-ignore
|
|
@@ -1941,7 +1941,7 @@ function sr(e = {}) {
|
|
|
1941
1941
|
), u = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
|
|
1944
|
-
), h = a(
|
|
1944
|
+
), h = a(Zn(d.value, e)), k = a(J(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), T = a(J(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
|
|
1945
1945
|
let I = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, W = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? On(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
|
|
1946
1946
|
const S = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let R = e.pluralRules || t && t.pluralRules, m;
|
|
@@ -1984,56 +1984,56 @@ function sr(e = {}) {
|
|
|
1984
1984
|
set: (_) => {
|
|
1985
1985
|
d.value = _, m.locale = d.value;
|
|
1986
1986
|
}
|
|
1987
|
-
}),
|
|
1987
|
+
}), M = q({
|
|
1988
1988
|
get: () => u.value,
|
|
1989
1989
|
set: (_) => {
|
|
1990
1990
|
u.value = _, m.fallbackLocale = u.value, Qe(m, d.value, _);
|
|
1991
1991
|
}
|
|
1992
|
-
}), F = q(() => h.value),
|
|
1992
|
+
}), F = q(() => h.value), V = /* @__PURE__ */ q(() => k.value), ae = /* @__PURE__ */ q(() => T.value);
|
|
1993
1993
|
function O() {
|
|
1994
1994
|
return se(f) ? f : null;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1996
|
+
function D(_) {
|
|
1997
1997
|
f = _, m.postTranslation = _;
|
|
1998
1998
|
}
|
|
1999
1999
|
function C() {
|
|
2000
2000
|
return A;
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2002
|
+
function Y(_) {
|
|
2003
2003
|
_ !== null && (i = On(_)), A = _, m.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const
|
|
2005
|
+
const G = (_, E, Q, le, Pe, at) => {
|
|
2006
2006
|
v();
|
|
2007
|
-
let
|
|
2007
|
+
let Ge;
|
|
2008
2008
|
try {
|
|
2009
|
-
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = t ? wa() : void 0),
|
|
2009
|
+
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = t ? wa() : void 0), Ge = _(m);
|
|
2010
2010
|
} finally {
|
|
2011
2011
|
__INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (Q !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
ue(
|
|
2014
|
+
ue(Ge) && Ge === ht || Q === "translate exists" && !Ge) {
|
|
2015
2015
|
const [Jn, Br] = E();
|
|
2016
2016
|
return t && W ? le(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
|
-
if (at(
|
|
2019
|
-
return
|
|
2018
|
+
if (at(Ge))
|
|
2019
|
+
return Ge;
|
|
2020
2020
|
throw nt(He.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
|
-
function
|
|
2024
|
-
return
|
|
2023
|
+
function j(..._) {
|
|
2024
|
+
return G((E) => Reflect.apply(In, null, [E, ..._]), () => Ut(..._), "translate", (E) => Reflect.apply(E.t, E, [..._]), (E) => E, (E) => P(E));
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2026
|
+
function x(..._) {
|
|
2027
2027
|
const [E, Q, le] = _;
|
|
2028
2028
|
if (le && !$(le))
|
|
2029
2029
|
throw nt(He.INVALID_ARGUMENT);
|
|
2030
|
-
return
|
|
2030
|
+
return j(E, Q, me({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2033
|
-
return
|
|
2032
|
+
function X(..._) {
|
|
2033
|
+
return G((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => Reflect.apply(E.d, E, [..._]), () => mn, (E) => P(E));
|
|
2034
2034
|
}
|
|
2035
2035
|
function ve(..._) {
|
|
2036
|
-
return
|
|
2036
|
+
return G((E) => Reflect.apply(hn, null, [E, ..._]), () => Ft(..._), "number format", (E) => Reflect.apply(E.n, E, [..._]), () => mn, (E) => P(E));
|
|
2037
2037
|
}
|
|
2038
2038
|
function _e(_) {
|
|
2039
2039
|
return _.map((E) => P(E) || ue(E) || oe(E) ? yn(String(E)) : E);
|
|
@@ -2044,7 +2044,7 @@ function sr(e = {}) {
|
|
|
2044
2044
|
type: "vnode"
|
|
2045
2045
|
};
|
|
2046
2046
|
function Ee(..._) {
|
|
2047
|
-
return
|
|
2047
|
+
return G((E) => {
|
|
2048
2048
|
let Q;
|
|
2049
2049
|
const le = E;
|
|
2050
2050
|
try {
|
|
@@ -2053,19 +2053,19 @@ function sr(e = {}) {
|
|
|
2053
2053
|
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return Q;
|
|
2056
|
-
}, () =>
|
|
2056
|
+
}, () => Ut(..._), "translate", (E) => E[jt](..._), (E) => [yn(E)], (E) => ie(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(..._) {
|
|
2059
|
-
return
|
|
2059
|
+
return G((E) => Reflect.apply(hn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Wt](..._), kn, (E) => P(E) || ie(E));
|
|
2060
2060
|
}
|
|
2061
2061
|
function $e(..._) {
|
|
2062
|
-
return
|
|
2062
|
+
return G((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => E[Vt](..._), kn, (E) => P(E) || ie(E));
|
|
2063
2063
|
}
|
|
2064
2064
|
function vt(_) {
|
|
2065
2065
|
R = _, m.pluralRules = R;
|
|
2066
2066
|
}
|
|
2067
2067
|
function Et(_, E) {
|
|
2068
|
-
return
|
|
2068
|
+
return G(() => {
|
|
2069
2069
|
if (!_)
|
|
2070
2070
|
return !1;
|
|
2071
2071
|
const Q = P(E) ? E : d.value, le = We(Q), Pe = m.messageResolver(le, _);
|
|
@@ -2074,7 +2074,7 @@ function sr(e = {}) {
|
|
|
2074
2074
|
}
|
|
2075
2075
|
function It(_) {
|
|
2076
2076
|
let E = null;
|
|
2077
|
-
const Q =
|
|
2077
|
+
const Q = Mn(m, u.value, d.value);
|
|
2078
2078
|
for (let le = 0; le < Q.length; le++) {
|
|
2079
2079
|
const Pe = h.value[Q[le]] || {}, at = m.messageResolver(Pe, _);
|
|
2080
2080
|
if (at != null) {
|
|
@@ -2091,7 +2091,7 @@ function sr(e = {}) {
|
|
|
2091
2091
|
function We(_) {
|
|
2092
2092
|
return h.value[_] || {};
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function xe(_, E) {
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const Q = { [_]: E };
|
|
2097
2097
|
for (const le in Q)
|
|
@@ -2120,7 +2120,7 @@ function sr(e = {}) {
|
|
|
2120
2120
|
function g(_) {
|
|
2121
2121
|
return T.value[_] || {};
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function U(_, E) {
|
|
2124
2124
|
T.value[_] = E, m.numberFormats = T.value, gn(m, _, E);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(_, E) {
|
|
@@ -2131,10 +2131,10 @@ function sr(e = {}) {
|
|
|
2131
2131
|
}), St(t.fallbackLocale, (_) => {
|
|
2132
2132
|
c && (u.value = _, m.fallbackLocale = _, Qe(m, d.value, u.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2134
|
+
const Z = {
|
|
2135
2135
|
id: Tn,
|
|
2136
2136
|
locale: p,
|
|
2137
|
-
fallbackLocale:
|
|
2137
|
+
fallbackLocale: M,
|
|
2138
2138
|
get inheritLocale() {
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
@@ -2190,17 +2190,17 @@ function sr(e = {}) {
|
|
|
2190
2190
|
set escapeParameter(_) {
|
|
2191
2191
|
b = _, m.escapeParameter = _;
|
|
2192
2192
|
},
|
|
2193
|
-
t:
|
|
2193
|
+
t: j,
|
|
2194
2194
|
getLocaleMessage: We,
|
|
2195
|
-
setLocaleMessage:
|
|
2195
|
+
setLocaleMessage: xe,
|
|
2196
2196
|
mergeLocaleMessage: Ke,
|
|
2197
2197
|
getPostTranslationHandler: O,
|
|
2198
|
-
setPostTranslationHandler:
|
|
2198
|
+
setPostTranslationHandler: D,
|
|
2199
2199
|
getMissingHandler: C,
|
|
2200
|
-
setMissingHandler:
|
|
2200
|
+
setMissingHandler: Y,
|
|
2201
2201
|
[qa]: vt
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return Z.datetimeFormats = V, Z.numberFormats = ae, Z.rt = x, Z.te = Et, Z.tm = ze, Z.d = X, Z.n = ve, Z.getDateTimeFormat = yt, Z.setDateTimeFormat = r, Z.mergeDateTimeFormat = o, Z.getNumberFormat = g, Z.setNumberFormat = U, Z.mergeNumberFormat = re, Z[Xn] = n, Z[jt] = Ee, Z[Vt] = $e, Z[Wt] = Je, Z;
|
|
2204
2204
|
}
|
|
2205
2205
|
const zt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2280,14 +2280,14 @@ me({
|
|
|
2280
2280
|
type: [String, Object]
|
|
2281
2281
|
}
|
|
2282
2282
|
}, zt);
|
|
2283
|
-
const lr = /* @__PURE__ */
|
|
2283
|
+
const lr = /* @__PURE__ */ Ve("global-vue-i18n");
|
|
2284
2284
|
function gt(e = {}) {
|
|
2285
|
-
const t =
|
|
2285
|
+
const t = Gt();
|
|
2286
2286
|
if (t == null)
|
|
2287
2287
|
throw nt(He.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
2289
|
throw nt(He.NOT_INSTALLED);
|
|
2290
|
-
const n = or(t), s = cr(n), l =
|
|
2290
|
+
const n = or(t), s = cr(n), l = Yn(t), a = ir(e, l);
|
|
2291
2291
|
if (a === "global")
|
|
2292
2292
|
return er(s, e, l), s;
|
|
2293
2293
|
if (a === "parent") {
|
|
@@ -2298,7 +2298,7 @@ function gt(e = {}) {
|
|
|
2298
2298
|
let d = c.__getInstance(t);
|
|
2299
2299
|
if (d == null) {
|
|
2300
2300
|
const u = me({}, e);
|
|
2301
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), d = sr(u), c.__composerExtend && (d[
|
|
2301
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), d = sr(u), c.__composerExtend && (d[xt] = c.__composerExtend(d)), dr(c, t, d), c.__setInstance(t, d);
|
|
2302
2302
|
}
|
|
2303
2303
|
return d;
|
|
2304
2304
|
}
|
|
@@ -2324,7 +2324,7 @@ function ur(e, t, n = !1) {
|
|
|
2324
2324
|
s = c.__getInstance(a);
|
|
2325
2325
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2326
2326
|
const d = c.__getInstance(a);
|
|
2327
|
-
d != null && (s = d.__composer, n && s && !s[
|
|
2327
|
+
d != null && (s = d.__composer, n && s && !s[Xn] && (s = null));
|
|
2328
2328
|
}
|
|
2329
2329
|
if (s != null || l === a)
|
|
2330
2330
|
break;
|
|
@@ -2336,20 +2336,20 @@ function mr(e, t = !1) {
|
|
|
2336
2336
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2337
|
}
|
|
2338
2338
|
function dr(e, t, n) {
|
|
2339
|
-
|
|
2339
|
+
Xt(() => {
|
|
2340
2340
|
}, t), An(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
|
-
const l = s[
|
|
2344
|
-
l && (l(), delete s[
|
|
2343
|
+
const l = s[xt];
|
|
2344
|
+
l && (l(), delete s[xt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
2347
|
Qa();
|
|
2348
2348
|
Ra(ua);
|
|
2349
2349
|
Aa(Oa);
|
|
2350
|
-
Sa(
|
|
2350
|
+
Sa(Mn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
|
-
const e =
|
|
2352
|
+
const e = Ue();
|
|
2353
2353
|
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2354
|
}
|
|
2355
2355
|
const it = /* @__PURE__ */ Ne({
|
|
@@ -2363,7 +2363,7 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2363
2363
|
setup(e) {
|
|
2364
2364
|
const { t } = gt();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
|
-
const l =
|
|
2366
|
+
const l = Ze("FmIcon"), a = Ze("FmTooltip");
|
|
2367
2367
|
return B(), Se(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
@@ -2494,7 +2494,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2494
2494
|
},
|
|
2495
2495
|
emits: ["update:model-value"],
|
|
2496
2496
|
setup(e, { emit: t }) {
|
|
2497
|
-
const n = e, s = t, { t: l } = _t(), a =
|
|
2497
|
+
const n = e, s = t, { t: l } = _t(), a = je(!1), c = qn(), d = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${gr(6)}`, h = q(() => d.value !== !0), k = q(
|
|
2498
2498
|
() => n.modelValue.filter((N) => n.options.some((A) => A.value === N))
|
|
2499
2499
|
), T = q(
|
|
2500
2500
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
@@ -2513,7 +2513,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2513
2513
|
A ? i.every((f) => f !== N) && i.push(N) : i = i.filter((f) => f !== N), s("update:model-value", i);
|
|
2514
2514
|
}
|
|
2515
2515
|
return (N, A) => {
|
|
2516
|
-
const i =
|
|
2516
|
+
const i = Ze("FmCheckbox");
|
|
2517
2517
|
return B(), Se(hr, {
|
|
2518
2518
|
id: u,
|
|
2519
2519
|
title: e.title,
|
|
@@ -2605,55 +2605,55 @@ function Ir(e, t, n, s) {
|
|
|
2605
2605
|
const { getFlagValue: l } = ms(), a = q(() => {
|
|
2606
2606
|
const m = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map();
|
|
2607
2607
|
for (const p of t.value) {
|
|
2608
|
-
const
|
|
2609
|
-
|
|
2608
|
+
const M = p.category;
|
|
2609
|
+
M && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (m.has(M) || m.set(M, []), m.get(M).push({ label: p.label, value: p.subject }), L.set(p.subject, p)));
|
|
2610
2610
|
}
|
|
2611
|
-
return [...m.keys()].sort((p,
|
|
2612
|
-
const F = Cn.indexOf(p),
|
|
2613
|
-
return F === -1 &&
|
|
2611
|
+
return [...m.keys()].sort((p, M) => {
|
|
2612
|
+
const F = Cn.indexOf(p), V = Cn.indexOf(M);
|
|
2613
|
+
return F === -1 && V === -1 ? p.localeCompare(M) : F === -1 ? 1 : V === -1 ? -1 : F - V;
|
|
2614
2614
|
}).map((p) => {
|
|
2615
|
-
const
|
|
2616
|
-
for (const
|
|
2617
|
-
const
|
|
2618
|
-
|
|
2615
|
+
const M = m.get(p), F = /* @__PURE__ */ new Map();
|
|
2616
|
+
for (const x of M) {
|
|
2617
|
+
const X = L.get(x.value);
|
|
2618
|
+
X && F.set(x.value, X.actions);
|
|
2619
2619
|
}
|
|
2620
|
-
const
|
|
2621
|
-
const
|
|
2622
|
-
return
|
|
2623
|
-
}), ae =
|
|
2620
|
+
const V = M.some((x) => {
|
|
2621
|
+
const X = F.get(x.value);
|
|
2622
|
+
return X && X.length > 1;
|
|
2623
|
+
}), ae = V ? [
|
|
2624
2624
|
...new Set(
|
|
2625
|
-
|
|
2625
|
+
M.flatMap((x) => F.get(x.value) ?? []).filter((x) => x !== "manage")
|
|
2626
2626
|
)
|
|
2627
2627
|
] : [], O = /* @__PURE__ */ new Map();
|
|
2628
|
-
for (const
|
|
2629
|
-
|
|
2630
|
-
const
|
|
2631
|
-
(
|
|
2632
|
-
).map((
|
|
2633
|
-
var
|
|
2634
|
-
return (
|
|
2635
|
-
}),
|
|
2628
|
+
for (const x of e.value)
|
|
2629
|
+
M.some((X) => X.value === x.subject) && !x.inverted && O.set(x.subject, new Set(x.actions));
|
|
2630
|
+
const D = V ? e.value.filter(
|
|
2631
|
+
(x) => M.some((X) => X.value === x.subject) && !x.inverted && x.actions.includes("manage")
|
|
2632
|
+
).map((x) => x.subject) : e.value.filter((x) => M.some((X) => X.value === x.subject) && !x.inverted).map((x) => x.subject), C = M.find((x) => {
|
|
2633
|
+
var X;
|
|
2634
|
+
return (X = L.get(x.value)) == null ? void 0 : X.isCategoryCover;
|
|
2635
|
+
}), Y = (C == null ? void 0 : C.value) ?? null, G = Y ? O.get(Y) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), j = G.has("manage");
|
|
2636
2636
|
return {
|
|
2637
2637
|
category: p,
|
|
2638
|
-
options:
|
|
2639
|
-
selectedSubjects:
|
|
2640
|
-
isMultiAction:
|
|
2638
|
+
options: M,
|
|
2639
|
+
selectedSubjects: D,
|
|
2640
|
+
isMultiAction: V,
|
|
2641
2641
|
actionColumns: ae,
|
|
2642
2642
|
permissionActionsMap: F,
|
|
2643
2643
|
selectedActionsMap: O,
|
|
2644
|
-
coverSubject:
|
|
2645
|
-
coverSelectedActions:
|
|
2646
|
-
coverCoversAll:
|
|
2644
|
+
coverSubject: Y,
|
|
2645
|
+
coverSelectedActions: G,
|
|
2646
|
+
coverCoversAll: j
|
|
2647
2647
|
};
|
|
2648
2648
|
});
|
|
2649
2649
|
});
|
|
2650
2650
|
function c(m, L) {
|
|
2651
2651
|
var p;
|
|
2652
|
-
const v = ((p = a.value.find((
|
|
2652
|
+
const v = ((p = a.value.find((M) => M.category === m)) == null ? void 0 : p.options) ?? [];
|
|
2653
2653
|
s("update:model-value", [
|
|
2654
|
-
...e.value.filter((
|
|
2655
|
-
...t.value.filter((
|
|
2656
|
-
({ category:
|
|
2654
|
+
...e.value.filter((M) => !v.some((F) => F.value === M.subject)),
|
|
2655
|
+
...t.value.filter((M) => L.includes(M.subject)).map(
|
|
2656
|
+
({ category: M, showByFeatureFlag: F, isCategoryCover: V, ...ae }) => ae
|
|
2657
2657
|
)
|
|
2658
2658
|
]);
|
|
2659
2659
|
}
|
|
@@ -2667,8 +2667,8 @@ function Ir(e, t, n, s) {
|
|
|
2667
2667
|
if (d(m))
|
|
2668
2668
|
s("update:model-value", L);
|
|
2669
2669
|
else {
|
|
2670
|
-
const v = t.value.filter((p) => m.options.some((
|
|
2671
|
-
({ category: p, showByFeatureFlag:
|
|
2670
|
+
const v = t.value.filter((p) => m.options.some((M) => M.value === p.subject)).map(
|
|
2671
|
+
({ category: p, showByFeatureFlag: M, isCategoryCover: F, ...V }) => V
|
|
2672
2672
|
);
|
|
2673
2673
|
s("update:model-value", [...L, ...v]);
|
|
2674
2674
|
}
|
|
@@ -2680,23 +2680,23 @@ function Ir(e, t, n, s) {
|
|
|
2680
2680
|
function k(m, L) {
|
|
2681
2681
|
const v = m.permissionActionsMap.get(L);
|
|
2682
2682
|
if (!v) return !1;
|
|
2683
|
-
const p = v.filter((
|
|
2683
|
+
const p = v.filter((V) => V !== "manage");
|
|
2684
2684
|
if (p.length === 0) return !1;
|
|
2685
|
-
const
|
|
2686
|
-
if (!
|
|
2687
|
-
const F = p.filter((
|
|
2685
|
+
const M = m.selectedActionsMap.get(L);
|
|
2686
|
+
if (!M) return !1;
|
|
2687
|
+
const F = p.filter((V) => M.has(V));
|
|
2688
2688
|
return F.length > 0 && F.length < p.length;
|
|
2689
2689
|
}
|
|
2690
2690
|
function T(m, L, v) {
|
|
2691
2691
|
if (v) {
|
|
2692
|
-
const p = t.value.find((
|
|
2692
|
+
const p = t.value.find((D) => D.subject === L);
|
|
2693
2693
|
if (!p) return;
|
|
2694
2694
|
const {
|
|
2695
|
-
category:
|
|
2695
|
+
category: M,
|
|
2696
2696
|
showByFeatureFlag: F,
|
|
2697
|
-
isCategoryCover:
|
|
2697
|
+
isCategoryCover: V,
|
|
2698
2698
|
...ae
|
|
2699
|
-
} = p, O = e.value.filter((
|
|
2699
|
+
} = p, O = e.value.filter((D) => D.subject !== L);
|
|
2700
2700
|
O.push(ae), s("update:model-value", O);
|
|
2701
2701
|
} else
|
|
2702
2702
|
s(
|
|
@@ -2723,27 +2723,27 @@ function Ir(e, t, n, s) {
|
|
|
2723
2723
|
return p ? p.includes(v) : !1;
|
|
2724
2724
|
}
|
|
2725
2725
|
function i(m, L, v) {
|
|
2726
|
-
const p = [...e.value],
|
|
2726
|
+
const p = [...e.value], M = p.findIndex((V) => V.subject === m && !V.inverted);
|
|
2727
2727
|
if (v)
|
|
2728
|
-
if (
|
|
2729
|
-
const
|
|
2730
|
-
ae.add(L),
|
|
2728
|
+
if (M >= 0) {
|
|
2729
|
+
const V = { ...p[M] }, ae = new Set(V.actions);
|
|
2730
|
+
ae.add(L), V.actions = Array.from(ae), p[M] = V;
|
|
2731
2731
|
} else {
|
|
2732
|
-
const
|
|
2733
|
-
if (!
|
|
2732
|
+
const V = t.value.find((Y) => Y.subject === m);
|
|
2733
|
+
if (!V) return;
|
|
2734
2734
|
const {
|
|
2735
2735
|
category: ae,
|
|
2736
2736
|
showByFeatureFlag: O,
|
|
2737
|
-
isCategoryCover:
|
|
2737
|
+
isCategoryCover: D,
|
|
2738
2738
|
...C
|
|
2739
|
-
} =
|
|
2739
|
+
} = V;
|
|
2740
2740
|
p.push({ ...C, actions: [L] });
|
|
2741
2741
|
}
|
|
2742
|
-
else if (
|
|
2743
|
-
const
|
|
2744
|
-
ae.length === 0 ? p.splice(
|
|
2742
|
+
else if (M >= 0) {
|
|
2743
|
+
const V = { ...p[M] }, ae = V.actions.filter((O) => O !== L);
|
|
2744
|
+
ae.length === 0 ? p.splice(M, 1) : (V.actions = ae, p[M] = V);
|
|
2745
2745
|
}
|
|
2746
|
-
const F = t.value.find((
|
|
2746
|
+
const F = t.value.find((V) => V.subject === m);
|
|
2747
2747
|
F && Ln(p, m, F.actions), s("update:model-value", p);
|
|
2748
2748
|
}
|
|
2749
2749
|
function f(m, L) {
|
|
@@ -2756,39 +2756,39 @@ function Ir(e, t, n, s) {
|
|
|
2756
2756
|
}
|
|
2757
2757
|
function y(m, L) {
|
|
2758
2758
|
const v = m.options.filter(
|
|
2759
|
-
(
|
|
2759
|
+
(M) => A(m, M.value, L)
|
|
2760
2760
|
);
|
|
2761
2761
|
if (v.length === 0) return !1;
|
|
2762
2762
|
const p = v.filter(
|
|
2763
|
-
(
|
|
2763
|
+
(M) => w(m, M.value, L) || N(m, M.value, L)
|
|
2764
2764
|
).length;
|
|
2765
2765
|
return p > 0 && p < v.length;
|
|
2766
2766
|
}
|
|
2767
2767
|
function b(m, L, v) {
|
|
2768
2768
|
const p = [...e.value];
|
|
2769
|
-
for (const
|
|
2770
|
-
if (!A(m,
|
|
2771
|
-
const F =
|
|
2769
|
+
for (const M of m.options) {
|
|
2770
|
+
if (!A(m, M.value, L)) continue;
|
|
2771
|
+
const F = M.value, V = p.findIndex(
|
|
2772
2772
|
(O) => O.subject === F && !O.inverted
|
|
2773
2773
|
);
|
|
2774
2774
|
if (v)
|
|
2775
|
-
if (
|
|
2776
|
-
const O = { ...p[
|
|
2777
|
-
|
|
2775
|
+
if (V >= 0) {
|
|
2776
|
+
const O = { ...p[V] }, D = new Set(O.actions);
|
|
2777
|
+
D.add(L), O.actions = Array.from(D), p[V] = O;
|
|
2778
2778
|
} else {
|
|
2779
|
-
const O = t.value.find((
|
|
2779
|
+
const O = t.value.find((j) => j.subject === F);
|
|
2780
2780
|
if (!O) continue;
|
|
2781
2781
|
const {
|
|
2782
|
-
category:
|
|
2782
|
+
category: D,
|
|
2783
2783
|
showByFeatureFlag: C,
|
|
2784
|
-
isCategoryCover:
|
|
2785
|
-
...
|
|
2784
|
+
isCategoryCover: Y,
|
|
2785
|
+
...G
|
|
2786
2786
|
} = O;
|
|
2787
|
-
p.push({ ...
|
|
2787
|
+
p.push({ ...G, actions: [L] });
|
|
2788
2788
|
}
|
|
2789
|
-
else if (
|
|
2790
|
-
const O = { ...p[
|
|
2791
|
-
|
|
2789
|
+
else if (V >= 0) {
|
|
2790
|
+
const O = { ...p[V] }, D = O.actions.filter((C) => C !== L);
|
|
2791
|
+
D.length === 0 ? p.splice(V, 1) : (O.actions = D, p[V] = O);
|
|
2792
2792
|
}
|
|
2793
2793
|
const ae = t.value.find((O) => O.subject === F);
|
|
2794
2794
|
ae && Ln(p, F, ae.actions);
|
|
@@ -2826,7 +2826,7 @@ function Ir(e, t, n, s) {
|
|
|
2826
2826
|
const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
2827
2827
|
key: 1,
|
|
2828
2828
|
class: "space-y-16"
|
|
2829
|
-
}, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" },
|
|
2829
|
+
}, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Dr = ["title", "onClick"], Mr = {
|
|
2830
2830
|
key: 0,
|
|
2831
2831
|
class: "flex shrink-0"
|
|
2832
2832
|
}, wr = /* @__PURE__ */ Ne({
|
|
@@ -2851,7 +2851,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2851
2851
|
},
|
|
2852
2852
|
emits: ["update:model-value"],
|
|
2853
2853
|
setup(e, { emit: t }) {
|
|
2854
|
-
const n = e, s = t, l = q(() => [...
|
|
2854
|
+
const n = e, s = t, l = q(() => [...Dt, ...n.additionalPermissions]), {
|
|
2855
2855
|
categoryGroups: a,
|
|
2856
2856
|
toggleCategory: c,
|
|
2857
2857
|
isAllManageChecked: d,
|
|
@@ -2876,7 +2876,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2876
2876
|
(R, m) => s("update:model-value", m)
|
|
2877
2877
|
);
|
|
2878
2878
|
return (R, m) => {
|
|
2879
|
-
const L =
|
|
2879
|
+
const L = Ze("FmCheckbox");
|
|
2880
2880
|
return B(), ee("div", yr, [
|
|
2881
2881
|
(B(!0), ee(Ie, null, pe(H(a), (v) => (B(), ee(Ie, {
|
|
2882
2882
|
key: v.category
|
|
@@ -2914,14 +2914,14 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2914
2914
|
disabled: e.disable,
|
|
2915
2915
|
size: "sm",
|
|
2916
2916
|
dense: "",
|
|
2917
|
-
"onUpdate:modelValue": (
|
|
2917
|
+
"onUpdate:modelValue": (M) => H(b)(v, p, M)
|
|
2918
2918
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2919
2919
|
]))), 128))
|
|
2920
2920
|
])
|
|
2921
2921
|
]),
|
|
2922
|
-
(B(!0), ee(Ie, null, pe(v.options, (p,
|
|
2922
|
+
(B(!0), ee(Ie, null, pe(v.options, (p, M) => (B(), ee("div", {
|
|
2923
2923
|
key: p.value,
|
|
2924
|
-
class: qe(
|
|
2924
|
+
class: qe(M < v.options.length - 1 ? "q-mb-xs" : "")
|
|
2925
2925
|
}, [
|
|
2926
2926
|
te("div", Ar, [
|
|
2927
2927
|
te("div", Sr, [
|
|
@@ -2938,10 +2938,10 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2938
2938
|
class: "block truncate cursor-pointer",
|
|
2939
2939
|
title: p.label,
|
|
2940
2940
|
onClick: (F) => !e.disable && !H(W)(v, p.value) && H(T)(v, p.value, !H(h)(v, p.value))
|
|
2941
|
-
}, Ae(p.label), 9,
|
|
2941
|
+
}, Ae(p.label), 9, Dr),
|
|
2942
2942
|
he(R.$slots, `checkbox-${p.value}-append`, { option: p })
|
|
2943
2943
|
]),
|
|
2944
|
-
H(I)(v, p.value) ? (B(), ee("div",
|
|
2944
|
+
H(I)(v, p.value) ? (B(), ee("div", Mr, [
|
|
2945
2945
|
(B(!0), ee(Ie, null, pe(v.actionColumns, (F) => (B(), ee("div", {
|
|
2946
2946
|
key: F,
|
|
2947
2947
|
class: "w-[56px] flex justify-center"
|
|
@@ -2952,7 +2952,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2952
2952
|
value: F,
|
|
2953
2953
|
disabled: e.disable || H(N)(v, p.value, F),
|
|
2954
2954
|
size: "sm",
|
|
2955
|
-
"onUpdate:modelValue": (
|
|
2955
|
+
"onUpdate:modelValue": (V) => H(i)(p.value, F, V)
|
|
2956
2956
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Oe("", !0)
|
|
2957
2957
|
]))), 128))
|
|
2958
2958
|
])) : Oe("", !0)
|
|
@@ -2969,8 +2969,8 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2969
2969
|
}, Fe({ _: 2 }, [
|
|
2970
2970
|
pe(v.options, (p) => ({
|
|
2971
2971
|
name: `checkbox-${p.value}-append`,
|
|
2972
|
-
fn: be(({ option:
|
|
2973
|
-
he(R.$slots, `checkbox-${p.value}-append`, { option:
|
|
2972
|
+
fn: be(({ option: M }) => [
|
|
2973
|
+
he(R.$slots, `checkbox-${p.value}-append`, { option: M })
|
|
2974
2974
|
])
|
|
2975
2975
|
}))
|
|
2976
2976
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -2978,14 +2978,14 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2978
2978
|
]);
|
|
2979
2979
|
};
|
|
2980
2980
|
}
|
|
2981
|
-
}), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" },
|
|
2981
|
+
}), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" }, Ur = /* @__PURE__ */ Ne({
|
|
2982
2982
|
__name: "CollapsibleWrapper",
|
|
2983
2983
|
props: {
|
|
2984
2984
|
title: { default: "" },
|
|
2985
2985
|
initiallyCollapsed: { type: Boolean, default: !1 }
|
|
2986
2986
|
},
|
|
2987
2987
|
setup(e) {
|
|
2988
|
-
const n =
|
|
2988
|
+
const n = je(e.initiallyCollapsed), s = je(), l = je(0);
|
|
2989
2989
|
let a;
|
|
2990
2990
|
function c() {
|
|
2991
2991
|
n.value = !n.value;
|
|
@@ -2993,14 +2993,14 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2993
2993
|
function d() {
|
|
2994
2994
|
s.value && (l.value = s.value.scrollHeight);
|
|
2995
2995
|
}
|
|
2996
|
-
return
|
|
2996
|
+
return Xt(async () => {
|
|
2997
2997
|
await es(), s.value && (a = new ResizeObserver(() => {
|
|
2998
2998
|
d();
|
|
2999
2999
|
}), a.observe(s.value));
|
|
3000
3000
|
}), An(() => {
|
|
3001
3001
|
a == null || a.disconnect();
|
|
3002
3002
|
}), (u, h) => {
|
|
3003
|
-
const k =
|
|
3003
|
+
const k = Ze("FmButton");
|
|
3004
3004
|
return B(), ee(Ie, null, [
|
|
3005
3005
|
te("div", { onClick: c }, [
|
|
3006
3006
|
te("div", Pr, [
|
|
@@ -3026,7 +3026,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3026
3026
|
], 64);
|
|
3027
3027
|
};
|
|
3028
3028
|
}
|
|
3029
|
-
}),
|
|
3029
|
+
}), jr = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */ Ne({
|
|
3030
3030
|
__name: "ConditionPermission",
|
|
3031
3031
|
props: {
|
|
3032
3032
|
modelValue: {
|
|
@@ -3063,12 +3063,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3063
3063
|
const k = h.length === a.value.length;
|
|
3064
3064
|
s("update:model-value", k ? null : h.filter((T) => T !== Rt));
|
|
3065
3065
|
}
|
|
3066
|
-
const u =
|
|
3066
|
+
const u = je("");
|
|
3067
3067
|
return (h, k) => {
|
|
3068
|
-
const T =
|
|
3069
|
-
return B(), Se(
|
|
3068
|
+
const T = Ze("fm-search");
|
|
3069
|
+
return B(), Se(Ur, null, {
|
|
3070
3070
|
title: be(() => [
|
|
3071
|
-
te("p",
|
|
3071
|
+
te("p", jr, Ae(H(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3072
3072
|
]),
|
|
3073
3073
|
default: be(() => [
|
|
3074
3074
|
e.options.length > 1 ? (B(), Se(T, {
|
|
@@ -3101,7 +3101,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3101
3101
|
});
|
|
3102
3102
|
};
|
|
3103
3103
|
}
|
|
3104
|
-
}), At = "includedNewRole",
|
|
3104
|
+
}), At = "includedNewRole", Vr = /* @__PURE__ */ Ne({
|
|
3105
3105
|
__name: "PosRolePermission",
|
|
3106
3106
|
props: {
|
|
3107
3107
|
modelValue: {
|
|
@@ -3163,7 +3163,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3163
3163
|
async readWarehouses() {
|
|
3164
3164
|
return os(await is().get("/warehouses"));
|
|
3165
3165
|
}
|
|
3166
|
-
},
|
|
3166
|
+
}, xr = { class: "flex flex-col gap-32" }, Gr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Yr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, tl = /* @__PURE__ */ Ne({
|
|
3167
3167
|
__name: "PortalPermissionEditor",
|
|
3168
3168
|
props: /* @__PURE__ */ qt({
|
|
3169
3169
|
disable: {
|
|
@@ -3182,52 +3182,52 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3182
3182
|
setup(e, { emit: t }) {
|
|
3183
3183
|
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: d } = ss();
|
|
3184
3184
|
function u(O) {
|
|
3185
|
-
return
|
|
3185
|
+
return Dt.find((D) => D.subject === O) ?? d.value.find((D) => D.subject === O);
|
|
3186
3186
|
}
|
|
3187
3187
|
const h = q(() => {
|
|
3188
|
-
const O = [...
|
|
3188
|
+
const O = [...Dt, ...d.value].filter((C) => !w.includes(C.subject)).map((C) => C.subject);
|
|
3189
3189
|
return as(
|
|
3190
3190
|
s.inheritPermissions.map((C) => ({
|
|
3191
3191
|
...C,
|
|
3192
|
-
permissions: C.permissions.filter((
|
|
3192
|
+
permissions: C.permissions.filter((Y) => O.includes(Y.subject))
|
|
3193
3193
|
}))
|
|
3194
3194
|
).map((C) => ({
|
|
3195
3195
|
id: C.subject,
|
|
3196
3196
|
setNames: C.setNames
|
|
3197
3197
|
}));
|
|
3198
3198
|
}), k = q(() => {
|
|
3199
|
-
const O = s.inheritPermissions.map((
|
|
3200
|
-
...
|
|
3201
|
-
permissions:
|
|
3199
|
+
const O = s.inheritPermissions.map((D) => ({
|
|
3200
|
+
...D,
|
|
3201
|
+
permissions: D.permissions.filter(
|
|
3202
3202
|
(C) => C.subject === ce.Subject.Business.inventory_stock
|
|
3203
3203
|
)
|
|
3204
3204
|
}));
|
|
3205
3205
|
return Nt(
|
|
3206
3206
|
O,
|
|
3207
3207
|
"warehouseId",
|
|
3208
|
-
N.value.map((
|
|
3208
|
+
N.value.map((D) => D._id)
|
|
3209
3209
|
);
|
|
3210
3210
|
}), T = q(() => {
|
|
3211
|
-
const O = s.inheritPermissions.map((
|
|
3212
|
-
...
|
|
3213
|
-
permissions:
|
|
3211
|
+
const O = s.inheritPermissions.map((D) => ({
|
|
3212
|
+
...D,
|
|
3213
|
+
permissions: D.permissions.filter(
|
|
3214
3214
|
(C) => C.subject === ce.Subject.Restaurant.restaurant
|
|
3215
3215
|
)
|
|
3216
3216
|
}));
|
|
3217
3217
|
return Nt(
|
|
3218
3218
|
O,
|
|
3219
3219
|
"restaurantId",
|
|
3220
|
-
y.value.map((
|
|
3220
|
+
y.value.map((D) => D._id)
|
|
3221
3221
|
);
|
|
3222
3222
|
}), I = q(() => {
|
|
3223
|
-
const O = s.inheritPermissions.map((
|
|
3224
|
-
...
|
|
3225
|
-
permissions:
|
|
3223
|
+
const O = s.inheritPermissions.map((D) => ({
|
|
3224
|
+
...D,
|
|
3225
|
+
permissions: D.permissions.filter((C) => C.subject === ce.Subject.Business.role)
|
|
3226
3226
|
}));
|
|
3227
3227
|
return Nt(
|
|
3228
3228
|
O,
|
|
3229
3229
|
"roleId",
|
|
3230
|
-
b.value.map((
|
|
3230
|
+
b.value.map((D) => D._id)
|
|
3231
3231
|
);
|
|
3232
3232
|
}), w = [
|
|
3233
3233
|
ce.Subject.Business.restaurant,
|
|
@@ -3235,170 +3235,170 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3235
3235
|
ce.Subject.Restaurant.restaurant,
|
|
3236
3236
|
ce.Subject.Business.inventory_stock
|
|
3237
3237
|
], W = q(() => {
|
|
3238
|
-
var
|
|
3239
|
-
const O = (
|
|
3238
|
+
var D;
|
|
3239
|
+
const O = (D = n.value) == null ? void 0 : D.find(
|
|
3240
3240
|
(C) => C.subject === ce.Subject.Business.inventory_stock
|
|
3241
3241
|
);
|
|
3242
3242
|
return O ? O.conditions ? JSON.parse(O.conditions).warehouseId.$in : null : [];
|
|
3243
|
-
}), N =
|
|
3243
|
+
}), N = je([]), A = q(() => N.value.map((O) => ({
|
|
3244
3244
|
label: O.profile.name,
|
|
3245
3245
|
value: O._id
|
|
3246
3246
|
})));
|
|
3247
3247
|
function i(O) {
|
|
3248
|
-
const
|
|
3249
|
-
n.value =
|
|
3248
|
+
const D = f(n.value, O);
|
|
3249
|
+
n.value = D;
|
|
3250
3250
|
}
|
|
3251
|
-
function f(O,
|
|
3251
|
+
function f(O, D) {
|
|
3252
3252
|
let C = ut(
|
|
3253
|
-
O.filter((
|
|
3253
|
+
O.filter((Y) => Y.subject !== ce.Subject.Business.inventory_stock)
|
|
3254
3254
|
);
|
|
3255
|
-
if (!
|
|
3256
|
-
const
|
|
3255
|
+
if (!D || D.length > 0) {
|
|
3256
|
+
const Y = {
|
|
3257
3257
|
actions: [ce.Action.manage],
|
|
3258
3258
|
subject: ce.Subject.Business.inventory_stock
|
|
3259
3259
|
};
|
|
3260
|
-
|
|
3260
|
+
D && (Y.conditions = JSON.stringify({ warehouseId: { $in: D } })), C.push(Y);
|
|
3261
3261
|
}
|
|
3262
3262
|
return C;
|
|
3263
3263
|
}
|
|
3264
3264
|
const { restaurants: y } = ns(), b = ds().roles, S = q(() => y.value.map((O) => ({
|
|
3265
3265
|
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3266
3266
|
value: O._id
|
|
3267
|
-
}))), R = q(() => y.value.reduce((O,
|
|
3267
|
+
}))), R = q(() => y.value.reduce((O, D) => (O[D._id] = b.value.filter((C) => C.restaurants.some((Y) => Y.id === D._id)).map((C) => C._id), O), {})), m = q(() => rs(n.value));
|
|
3268
3268
|
function L(O) {
|
|
3269
|
-
const
|
|
3270
|
-
n.value =
|
|
3269
|
+
const D = p(n.value, O);
|
|
3270
|
+
n.value = D;
|
|
3271
3271
|
}
|
|
3272
3272
|
const v = q(() => ls(n.value));
|
|
3273
|
-
function p(O,
|
|
3274
|
-
var
|
|
3273
|
+
function p(O, D) {
|
|
3274
|
+
var Y;
|
|
3275
3275
|
let C = ut(
|
|
3276
3276
|
O.filter(
|
|
3277
|
-
(
|
|
3277
|
+
(G) => G.subject !== ce.Subject.Business.restaurant && G.subject !== ce.Subject.Restaurant.restaurant
|
|
3278
3278
|
)
|
|
3279
3279
|
);
|
|
3280
|
-
if (!
|
|
3280
|
+
if (!D || D.length > 0) {
|
|
3281
3281
|
const {
|
|
3282
|
-
category:
|
|
3283
|
-
showByFeatureFlag:
|
|
3284
|
-
...
|
|
3282
|
+
category: G,
|
|
3283
|
+
showByFeatureFlag: j,
|
|
3284
|
+
...x
|
|
3285
3285
|
} = us.restaurant;
|
|
3286
|
-
C.push(
|
|
3287
|
-
const
|
|
3286
|
+
C.push(x);
|
|
3287
|
+
const X = {
|
|
3288
3288
|
actions: [ce.Action.manage],
|
|
3289
3289
|
subject: ce.Subject.Restaurant.restaurant
|
|
3290
3290
|
};
|
|
3291
|
-
|
|
3291
|
+
D && (X.conditions = JSON.stringify({ restaurantId: { $in: D } })), C.push(X);
|
|
3292
3292
|
}
|
|
3293
|
-
if (
|
|
3294
|
-
const
|
|
3295
|
-
...new Set(
|
|
3296
|
-
],
|
|
3297
|
-
|
|
3293
|
+
if (D) {
|
|
3294
|
+
const G = [
|
|
3295
|
+
...new Set(D.map((x) => R.value[x]).flatMap((x) => x))
|
|
3296
|
+
], j = b.value.map((x) => x._id);
|
|
3297
|
+
G.length !== j.length && (C = F(
|
|
3298
3298
|
C,
|
|
3299
|
-
(
|
|
3299
|
+
(Y = v.value || j) == null ? void 0 : Y.filter((x) => G.includes(x))
|
|
3300
3300
|
));
|
|
3301
3301
|
}
|
|
3302
3302
|
return C;
|
|
3303
3303
|
}
|
|
3304
|
-
function
|
|
3305
|
-
const
|
|
3306
|
-
n.value =
|
|
3304
|
+
function M(O) {
|
|
3305
|
+
const D = F(n.value, O);
|
|
3306
|
+
n.value = D;
|
|
3307
3307
|
}
|
|
3308
|
-
function F(O,
|
|
3308
|
+
function F(O, D) {
|
|
3309
3309
|
let C = ut(
|
|
3310
|
-
O.filter((
|
|
3310
|
+
O.filter((Y) => Y.subject !== ce.Subject.Business.role)
|
|
3311
3311
|
);
|
|
3312
|
-
if (
|
|
3313
|
-
const
|
|
3312
|
+
if (D && D.length > 0) {
|
|
3313
|
+
const Y = {
|
|
3314
3314
|
actions: [ce.Action.manage],
|
|
3315
3315
|
subject: ce.Subject.Business.role,
|
|
3316
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3316
|
+
conditions: JSON.stringify({ roleId: { $in: D } })
|
|
3317
3317
|
};
|
|
3318
|
-
C.push(
|
|
3318
|
+
C.push(Y);
|
|
3319
3319
|
}
|
|
3320
3320
|
return C;
|
|
3321
3321
|
}
|
|
3322
|
-
|
|
3322
|
+
Xt(async () => {
|
|
3323
3323
|
await Promise.all([
|
|
3324
3324
|
Wr.readWarehouses().then((O) => N.value = O),
|
|
3325
3325
|
c()
|
|
3326
3326
|
]);
|
|
3327
3327
|
});
|
|
3328
|
-
const
|
|
3328
|
+
const V = q(() => kt(
|
|
3329
3329
|
n.value,
|
|
3330
3330
|
Tt
|
|
3331
3331
|
).filter((C) => {
|
|
3332
|
-
const
|
|
3333
|
-
return (
|
|
3332
|
+
const Y = C.source;
|
|
3333
|
+
return (Y == null ? void 0 : Y.type) !== "systemPermissionSet" ? !0 : C.actions.includes("manage");
|
|
3334
3334
|
}).map((C) => {
|
|
3335
3335
|
if (C.inverted) return C;
|
|
3336
|
-
const
|
|
3337
|
-
if (!
|
|
3338
|
-
const
|
|
3339
|
-
if (!
|
|
3340
|
-
const
|
|
3341
|
-
return
|
|
3336
|
+
const Y = C.actions;
|
|
3337
|
+
if (!Y.includes("manage")) return C;
|
|
3338
|
+
const G = u(C.subject);
|
|
3339
|
+
if (!G) return C;
|
|
3340
|
+
const j = G.actions;
|
|
3341
|
+
return j.length <= 1 || j.filter((X) => !Y.includes(X)).length === 0 ? C : { ...C, actions: [...j] };
|
|
3342
3342
|
}));
|
|
3343
3343
|
function ae(O) {
|
|
3344
|
-
const
|
|
3345
|
-
|
|
3344
|
+
const D = new Set(
|
|
3345
|
+
V.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3346
3346
|
), C = new Set(
|
|
3347
|
-
O.filter((
|
|
3348
|
-
),
|
|
3349
|
-
n.value.filter((
|
|
3347
|
+
O.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3348
|
+
), Y = new Set(
|
|
3349
|
+
n.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3350
3350
|
);
|
|
3351
|
-
let
|
|
3352
|
-
for (const
|
|
3353
|
-
C.has(
|
|
3354
|
-
|
|
3351
|
+
let G = [...n.value];
|
|
3352
|
+
for (const j of D)
|
|
3353
|
+
C.has(j) || (Y.has(j) && (G = G.filter((X) => X.subject !== j)), (!Y.has(j) || kt(
|
|
3354
|
+
G,
|
|
3355
3355
|
Tt
|
|
3356
3356
|
).some(
|
|
3357
|
-
(
|
|
3358
|
-
)) && !
|
|
3359
|
-
for (const
|
|
3360
|
-
if (!
|
|
3361
|
-
const
|
|
3362
|
-
if (
|
|
3363
|
-
const
|
|
3364
|
-
(_e) => _e.subject ===
|
|
3365
|
-
), ve = u(
|
|
3366
|
-
if (ve &&
|
|
3357
|
+
(X) => X.subject === j && !X.inverted && X.actions.includes("manage")
|
|
3358
|
+
)) && !G.some((X) => X.subject === j && X.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }));
|
|
3359
|
+
for (const j of C)
|
|
3360
|
+
if (!D.has(j)) {
|
|
3361
|
+
const x = G.some((X) => X.subject === j && X.inverted);
|
|
3362
|
+
if (G = G.filter((X) => !(X.subject === j && X.inverted)), !x && !Y.has(j)) {
|
|
3363
|
+
const X = O.find(
|
|
3364
|
+
(_e) => _e.subject === j && !_e.inverted
|
|
3365
|
+
), ve = u(j);
|
|
3366
|
+
if (ve && X) {
|
|
3367
3367
|
const { category: _e, showByFeatureFlag: we, ...ne } = ve;
|
|
3368
|
-
|
|
3368
|
+
G.push({ ...ne, actions: X.actions });
|
|
3369
3369
|
}
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
|
-
for (const
|
|
3373
|
-
if (!
|
|
3374
|
-
const
|
|
3375
|
-
(ne) => ne.subject ===
|
|
3376
|
-
),
|
|
3377
|
-
if (!
|
|
3378
|
-
const ve = new Set(
|
|
3372
|
+
for (const j of C) {
|
|
3373
|
+
if (!D.has(j)) continue;
|
|
3374
|
+
const x = V.value.find(
|
|
3375
|
+
(ne) => ne.subject === j && !ne.inverted
|
|
3376
|
+
), X = O.find((ne) => ne.subject === j && !ne.inverted);
|
|
3377
|
+
if (!x || !X) continue;
|
|
3378
|
+
const ve = new Set(x.actions), _e = new Set(X.actions);
|
|
3379
3379
|
if (ve.size === _e.size && [...ve].every((ne) => _e.has(ne)))
|
|
3380
3380
|
continue;
|
|
3381
|
-
const we =
|
|
3381
|
+
const we = G.findIndex((ne) => ne.subject === j && !ne.inverted);
|
|
3382
3382
|
if (we >= 0)
|
|
3383
|
-
|
|
3384
|
-
...
|
|
3383
|
+
G[we] = {
|
|
3384
|
+
...G[we],
|
|
3385
3385
|
actions: Array.from(_e)
|
|
3386
3386
|
};
|
|
3387
3387
|
else {
|
|
3388
|
-
const ne = u(
|
|
3388
|
+
const ne = u(j);
|
|
3389
3389
|
if (ne) {
|
|
3390
3390
|
const { category: Ee, showByFeatureFlag: Je, ...$e } = ne;
|
|
3391
|
-
|
|
3391
|
+
G.push({ ...$e, actions: Array.from(_e) });
|
|
3392
3392
|
}
|
|
3393
3393
|
}
|
|
3394
3394
|
ve.has("manage") && !_e.has("manage") && kt(
|
|
3395
|
-
|
|
3395
|
+
G,
|
|
3396
3396
|
Tt
|
|
3397
3397
|
).some(
|
|
3398
|
-
(Ee) => Ee.subject ===
|
|
3399
|
-
) && !
|
|
3398
|
+
(Ee) => Ee.subject === j && !Ee.inverted && Ee.actions.includes("manage")
|
|
3399
|
+
) && !G.some((Ee) => Ee.subject === j && Ee.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }), !ve.has("manage") && _e.has("manage") && (G = G.filter((ne) => !(ne.subject === j && ne.inverted)));
|
|
3400
3400
|
}
|
|
3401
|
-
n.value =
|
|
3401
|
+
n.value = G;
|
|
3402
3402
|
}
|
|
3403
3403
|
return St(
|
|
3404
3404
|
n,
|
|
@@ -3406,10 +3406,10 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3406
3406
|
l("permissionChanged", O);
|
|
3407
3407
|
},
|
|
3408
3408
|
{ deep: !0 }
|
|
3409
|
-
), (O,
|
|
3410
|
-
te("div",
|
|
3409
|
+
), (O, D) => (B(), ee("div", xr, [
|
|
3410
|
+
te("div", Gr, [
|
|
3411
3411
|
de(wr, {
|
|
3412
|
-
"model-value":
|
|
3412
|
+
"model-value": V.value,
|
|
3413
3413
|
"excluded-subjects": w,
|
|
3414
3414
|
"additional-permissions": H(d),
|
|
3415
3415
|
"onUpdate:modelValue": ae
|
|
@@ -3422,7 +3422,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3422
3422
|
}))
|
|
3423
3423
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3424
3424
|
]),
|
|
3425
|
-
te("div",
|
|
3425
|
+
te("div", Xr, [
|
|
3426
3426
|
de(Rn, {
|
|
3427
3427
|
"model-value": W.value,
|
|
3428
3428
|
options: A.value,
|
|
@@ -3437,7 +3437,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3437
3437
|
}))
|
|
3438
3438
|
]), 1032, ["model-value", "options", "context"])
|
|
3439
3439
|
]),
|
|
3440
|
-
te("div",
|
|
3440
|
+
te("div", Zr, [
|
|
3441
3441
|
de(Rn, {
|
|
3442
3442
|
"model-value": m.value,
|
|
3443
3443
|
options: S.value,
|
|
@@ -3452,12 +3452,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3452
3452
|
}))
|
|
3453
3453
|
]), 1032, ["model-value", "options", "context"])
|
|
3454
3454
|
]),
|
|
3455
|
-
te("div",
|
|
3456
|
-
de(
|
|
3455
|
+
te("div", Yr, [
|
|
3456
|
+
de(Vr, {
|
|
3457
3457
|
roles: H(b),
|
|
3458
3458
|
"model-value": v.value,
|
|
3459
3459
|
"restaurant-ids": m.value,
|
|
3460
|
-
"onUpdate:modelValue":
|
|
3460
|
+
"onUpdate:modelValue": M
|
|
3461
3461
|
}, Fe({ _: 2 }, [
|
|
3462
3462
|
pe(I.value, (C) => ({
|
|
3463
3463
|
name: `checkbox-${C.id}-append`,
|