@feedmepos/mf-hrm-portal 2.2.1-dev.3 → 2.2.1-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApprovalCodeList-rL8dh-6s.js → ApprovalCodeList-CJpbX8H_.js} +2 -2
- package/dist/AuditLogList-A1217xlw.js +1722 -0
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BJgpH-kw.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BWNAtv1G.js} +2 -2
- package/dist/{EmployeeList-C3VvVY6A.js → EmployeeList-Gh8aU7BY.js} +4 -4
- package/dist/{GrantUserList-DjZ4O0VB.js → GrantUserList-vpaCAv1u.js} +3 -3
- package/dist/{Main-DVTx58X9.js → Main-38YNSkW6.js} +9 -9
- package/dist/{Main-ByWrRV70.js → Main-CXjbH7aE.js} +5 -5
- package/dist/{Main-LaAbAOfs.js → Main-GwRBJ3al.js} +2 -2
- package/dist/{PermissionSetList-DD45SSY3.js → PermissionSetList-CuzFQm7J.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-yDPvNHiW.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9bkMb41.js} +641 -641
- package/dist/{RoleList-BDxgwmAV.js → RoleList-C5VZbU3f.js} +7 -7
- package/dist/{TeamMemberList-DrLbMN34.js → TeamMemberList-ChrUNLsA.js} +6 -6
- package/dist/{TimesheetList-CdaxlO97.js → TimesheetList-Dqx3RZ4c.js} +5 -5
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-ogjfztLs.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-rtbLyLSE.js} +2 -2
- package/dist/{app-B8eo04d6.js → app-CPByRtdD.js} +8 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DZEHW2QB.js → dayjs.min-DeAdykwc.js} +1 -1
- package/dist/{employee-DX0CZF-B.js → employee-dFHap_s3.js} +3 -3
- package/dist/{iteration-yBS4dpFh.js → iteration-B_EcCwqv.js} +1 -1
- package/dist/{lodash-344d5Ope.js → lodash-C5UxxqU2.js} +1 -1
- package/dist/{role-BXBuBxs5.js → role-8ZQb8Cap.js} +1 -1
- package/dist/{rule-DWlFon04.js → rule-DJZO_Kev.js} +2 -2
- package/dist/src/views/audit-log/change-nodes.d.ts +14 -0
- package/dist/src/views/audit-log/locales/index.d.ts +4 -0
- package/dist/src/views/audit-log/operation-status.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-C0exkIxU.js → useReportPermissions-Phq7vqLK.js} +3 -3
- package/package.json +1 -1
- package/dist/AuditLogList-NvISIfUq.js +0 -1611
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { getCurrentInstance as Bt, inject as us, ref as st, shallowRef as ds, computed as z, watch as
|
|
1
|
+
import { getCurrentInstance as Bt, inject as us, ref as st, shallowRef as ds, computed as z, watch as Dt, onMounted as xn, onUnmounted as ms, defineComponent as Le, h as Wn, createVNode as ue, Text as fs, Fragment as Ae, resolveComponent as De, createBlock as Ne, openBlock as J, withCtx as de, createElementVNode as ae, createElementBlock as ie, toDisplayString as Oe, unref as H, renderList as ye, toRef as en, normalizeStyle as nt, renderSlot as Re, createCommentVNode as Me, createTextVNode as _s, useSlots as ps, normalizeClass as qe, createSlots as et, mergeModels as tn, useModel as vs } from "vue";
|
|
2
2
|
import { useI18n as He, useCoreStore as hs } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as bs, useBreakpoints as gs } from "@feedmepos/ui-library";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { p as Gn, N as
|
|
6
|
-
import { _ as Xt, a as
|
|
7
|
-
import { u as Os, b as Rs, P as
|
|
8
|
-
import { c as It } from "./iteration-
|
|
9
|
-
import { g as
|
|
10
|
-
import { u as
|
|
5
|
+
import { p as Gn, N as Zn, i as Is, P as Es, y as St, l as ys, k as Ns } from "./rule-DJZO_Kev.js";
|
|
6
|
+
import { _ as Xt, a as Cs, b as nn, u as Ts } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BWNAtv1G.js";
|
|
7
|
+
import { u as Os, b as Rs, P as Yn, S as wt, A as tt, e as he, k as sn, d as Ss } from "./app-CPByRtdD.js";
|
|
8
|
+
import { c as It } from "./iteration-B_EcCwqv.js";
|
|
9
|
+
import { g as Ls, b as ks } from "./restaurant-BTpBmfBV.js";
|
|
10
|
+
import { u as As } from "./role-8ZQb8Cap.js";
|
|
11
11
|
function Bn(e, t) {
|
|
12
12
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
13
13
|
}
|
|
14
14
|
function Ms(e) {
|
|
15
15
|
return Array.isArray(e) ? e[0] : e;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function Ds(e, t) {
|
|
18
18
|
const n = t.find((l) => Bn(l.subject, e));
|
|
19
19
|
if (!(n != null && n.category) || n.isCategoryCover) return;
|
|
20
20
|
const s = t.find((l) => l.category === n.category && l.isCategoryCover);
|
|
@@ -30,7 +30,7 @@ function rn(e, t) {
|
|
|
30
30
|
* (c) 2024 kazuya kawaguchi
|
|
31
31
|
* Released under the MIT License.
|
|
32
32
|
*/
|
|
33
|
-
const on = typeof window < "u", $e = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
33
|
+
const on = typeof window < "u", $e = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ws = (e, t, n) => Fs({ l: e, k: t, s: n }), Fs = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ge = (e) => typeof e == "number" && isFinite(e), Ps = (e) => Ht(e) === "[object Date]", yt = (e) => Ht(e) === "[object RegExp]", Ct = (e) => ee(e) && Object.keys(e).length === 0, Ie = Object.assign, js = Object.create, re = (e = null) => js(e);
|
|
34
34
|
let an;
|
|
35
35
|
const Xe = () => an || (an = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : re());
|
|
36
36
|
function ln(e) {
|
|
@@ -40,7 +40,7 @@ const Us = Object.prototype.hasOwnProperty;
|
|
|
40
40
|
function Se(e, t) {
|
|
41
41
|
return Us.call(e, t);
|
|
42
42
|
}
|
|
43
|
-
const be = Array.isArray, me = (e) => typeof e == "function",
|
|
43
|
+
const be = Array.isArray, me = (e) => typeof e == "function", Z = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", te = (e) => e !== null && typeof e == "object", Vs = (e) => te(e) && me(e.then) && me(e.catch), Xn = Object.prototype.toString, Ht = (e) => Xn.call(e), ee = (e) => Ht(e) === "[object Object]", xs = (e) => e == null ? "" : be(e) || ee(e) && e.toString === Xn ? JSON.stringify(e, null, 2) : String(e);
|
|
44
44
|
function $t(e, t = "") {
|
|
45
45
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
46
46
|
}
|
|
@@ -82,12 +82,12 @@ const se = {
|
|
|
82
82
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
83
83
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
84
84
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
85
|
-
},
|
|
85
|
+
}, Zs = 17;
|
|
86
86
|
function Tt(e, t, n = {}) {
|
|
87
87
|
const { domain: s, messages: l, args: a } = n, d = e, u = new SyntaxError(String(d));
|
|
88
88
|
return u.code = e, t && (u.location = t), u.domain = s, u;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function Ys(e) {
|
|
91
91
|
throw e;
|
|
92
92
|
}
|
|
93
93
|
const Pe = " ", Bs = "\r", Ee = `
|
|
@@ -95,7 +95,7 @@ const Pe = " ", Bs = "\r", Ee = `
|
|
|
95
95
|
function $s(e) {
|
|
96
96
|
const t = e;
|
|
97
97
|
let n = 0, s = 1, l = 1, a = 0;
|
|
98
|
-
const d = (p) => t[p] === Bs && t[p + 1] === Ee, u = (p) => t[p] === Ee, i = (p) => t[p] === Hs, g = (p) => t[p] === Xs, E = (p) => d(p) || u(p) || i(p) || g(p), T = () => n,
|
|
98
|
+
const d = (p) => t[p] === Bs && t[p + 1] === Ee, u = (p) => t[p] === Ee, i = (p) => t[p] === Hs, g = (p) => t[p] === Xs, E = (p) => d(p) || u(p) || i(p) || g(p), T = () => n, N = () => s, F = () => l, D = () => a, L = (p) => d(p) || i(p) || g(p) ? Ee : t[p], w = () => L(n), f = () => L(n + a);
|
|
99
99
|
function h() {
|
|
100
100
|
return a = 0, E(n) && (s++, l = 0), d(n) && n++, n++, l++, t[n];
|
|
101
101
|
}
|
|
@@ -116,11 +116,11 @@ function $s(e) {
|
|
|
116
116
|
}
|
|
117
117
|
return {
|
|
118
118
|
index: T,
|
|
119
|
-
line:
|
|
119
|
+
line: N,
|
|
120
120
|
column: F,
|
|
121
|
-
peekOffset:
|
|
122
|
-
charAt:
|
|
123
|
-
currentChar:
|
|
121
|
+
peekOffset: D,
|
|
122
|
+
charAt: L,
|
|
123
|
+
currentChar: w,
|
|
124
124
|
currentPeek: f,
|
|
125
125
|
next: h,
|
|
126
126
|
peek: R,
|
|
@@ -144,37 +144,37 @@ function zs(e, t = {}) {
|
|
|
144
144
|
inLinked: !1,
|
|
145
145
|
text: ""
|
|
146
146
|
}, g = () => i, { onError: E } = t;
|
|
147
|
-
function T(r, o, _, ...
|
|
147
|
+
function T(r, o, _, ...k) {
|
|
148
148
|
const M = g();
|
|
149
149
|
if (o.column += _, o.offset += _, E) {
|
|
150
150
|
const P = n ? Ft(M.startLoc, o) : null, v = Tt(r, P, {
|
|
151
151
|
domain: Ks,
|
|
152
|
-
args:
|
|
152
|
+
args: k
|
|
153
153
|
});
|
|
154
154
|
E(v);
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function N(r, o, _) {
|
|
158
158
|
r.endLoc = a(), r.currentType = o;
|
|
159
|
-
const
|
|
160
|
-
return n && (
|
|
159
|
+
const k = { type: o };
|
|
160
|
+
return n && (k.loc = Ft(r.startLoc, r.endLoc)), _ != null && (k.value = _), k;
|
|
161
161
|
}
|
|
162
|
-
const F = (r) =>
|
|
162
|
+
const F = (r) => N(
|
|
163
163
|
r,
|
|
164
164
|
13
|
|
165
165
|
/* TokenTypes.EOF */
|
|
166
166
|
);
|
|
167
|
-
function
|
|
167
|
+
function D(r, o) {
|
|
168
168
|
return r.currentChar() === o ? (r.next(), o) : (T(se.EXPECTED_TOKEN, a(), 0, o), "");
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function L(r) {
|
|
171
171
|
let o = "";
|
|
172
172
|
for (; r.currentPeek() === Pe || r.currentPeek() === Ee; )
|
|
173
173
|
o += r.currentPeek(), r.peek();
|
|
174
174
|
return o;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
const o =
|
|
176
|
+
function w(r) {
|
|
177
|
+
const o = L(r);
|
|
178
178
|
return r.skipToPeek(), o;
|
|
179
179
|
}
|
|
180
180
|
function f(r) {
|
|
@@ -195,62 +195,62 @@ function zs(e, t = {}) {
|
|
|
195
195
|
const { currentType: _ } = o;
|
|
196
196
|
if (_ !== 2)
|
|
197
197
|
return !1;
|
|
198
|
-
|
|
199
|
-
const
|
|
200
|
-
return r.resetPeek(),
|
|
198
|
+
L(r);
|
|
199
|
+
const k = f(r.currentPeek());
|
|
200
|
+
return r.resetPeek(), k;
|
|
201
201
|
}
|
|
202
202
|
function c(r, o) {
|
|
203
203
|
const { currentType: _ } = o;
|
|
204
204
|
if (_ !== 2)
|
|
205
205
|
return !1;
|
|
206
|
-
|
|
207
|
-
const
|
|
206
|
+
L(r);
|
|
207
|
+
const k = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), M = h(k);
|
|
208
208
|
return r.resetPeek(), M;
|
|
209
209
|
}
|
|
210
210
|
function b(r, o) {
|
|
211
211
|
const { currentType: _ } = o;
|
|
212
212
|
if (_ !== 2)
|
|
213
213
|
return !1;
|
|
214
|
-
|
|
215
|
-
const
|
|
216
|
-
return r.resetPeek(),
|
|
214
|
+
L(r);
|
|
215
|
+
const k = r.currentPeek() === cn;
|
|
216
|
+
return r.resetPeek(), k;
|
|
217
217
|
}
|
|
218
218
|
function I(r, o) {
|
|
219
219
|
const { currentType: _ } = o;
|
|
220
220
|
if (_ !== 7)
|
|
221
221
|
return !1;
|
|
222
|
-
|
|
223
|
-
const
|
|
224
|
-
return r.resetPeek(),
|
|
222
|
+
L(r);
|
|
223
|
+
const k = r.currentPeek() === ".";
|
|
224
|
+
return r.resetPeek(), k;
|
|
225
225
|
}
|
|
226
226
|
function p(r, o) {
|
|
227
227
|
const { currentType: _ } = o;
|
|
228
228
|
if (_ !== 8)
|
|
229
229
|
return !1;
|
|
230
|
-
|
|
231
|
-
const
|
|
232
|
-
return r.resetPeek(),
|
|
230
|
+
L(r);
|
|
231
|
+
const k = f(r.currentPeek());
|
|
232
|
+
return r.resetPeek(), k;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function A(r, o) {
|
|
235
235
|
const { currentType: _ } = o;
|
|
236
236
|
if (!(_ === 7 || _ === 11))
|
|
237
237
|
return !1;
|
|
238
|
-
|
|
239
|
-
const
|
|
240
|
-
return r.resetPeek(),
|
|
238
|
+
L(r);
|
|
239
|
+
const k = r.currentPeek() === ":";
|
|
240
|
+
return r.resetPeek(), k;
|
|
241
241
|
}
|
|
242
242
|
function S(r, o) {
|
|
243
243
|
const { currentType: _ } = o;
|
|
244
244
|
if (_ !== 9)
|
|
245
245
|
return !1;
|
|
246
|
-
const
|
|
246
|
+
const k = () => {
|
|
247
247
|
const P = r.currentPeek();
|
|
248
|
-
return P === "{" ? f(r.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === Ee ? (r.peek(),
|
|
249
|
-
}, M =
|
|
248
|
+
return P === "{" ? f(r.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === Ee ? (r.peek(), k()) : x(r, !1);
|
|
249
|
+
}, M = k();
|
|
250
250
|
return r.resetPeek(), M;
|
|
251
251
|
}
|
|
252
252
|
function X(r) {
|
|
253
|
-
|
|
253
|
+
L(r);
|
|
254
254
|
const o = r.currentPeek() === "|";
|
|
255
255
|
return r.resetPeek(), o;
|
|
256
256
|
}
|
|
@@ -258,14 +258,14 @@ function zs(e, t = {}) {
|
|
|
258
258
|
const _ = (M = !1, P = "") => {
|
|
259
259
|
const v = r.currentPeek();
|
|
260
260
|
return v === "{" || v === "@" || !v ? M : v === "|" ? !(P === Pe || P === Ee) : v === Pe ? (r.peek(), _(!0, Pe)) : v === Ee ? (r.peek(), _(!0, Ee)) : !0;
|
|
261
|
-
},
|
|
262
|
-
return o && r.resetPeek(),
|
|
261
|
+
}, k = _();
|
|
262
|
+
return o && r.resetPeek(), k;
|
|
263
263
|
}
|
|
264
264
|
function m(r, o) {
|
|
265
265
|
const _ = r.currentChar();
|
|
266
266
|
return _ === xe ? xe : o(_) ? (r.next(), _) : null;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function C(r) {
|
|
269
269
|
const o = r.charCodeAt(0);
|
|
270
270
|
return o >= 97 && o <= 122 || // a-z
|
|
271
271
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -274,7 +274,7 @@ function zs(e, t = {}) {
|
|
|
274
274
|
o === 36;
|
|
275
275
|
}
|
|
276
276
|
function U(r) {
|
|
277
|
-
return m(r,
|
|
277
|
+
return m(r, C);
|
|
278
278
|
}
|
|
279
279
|
function V(r) {
|
|
280
280
|
const o = r.charCodeAt(0);
|
|
@@ -295,14 +295,14 @@ function zs(e, t = {}) {
|
|
|
295
295
|
function W(r) {
|
|
296
296
|
return m(r, G);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Y(r) {
|
|
299
299
|
const o = r.charCodeAt(0);
|
|
300
300
|
return o >= 48 && o <= 57 || // 0-9
|
|
301
301
|
o >= 65 && o <= 70 || // A-F
|
|
302
302
|
o >= 97 && o <= 102;
|
|
303
303
|
}
|
|
304
304
|
function B(r) {
|
|
305
|
-
return m(r,
|
|
305
|
+
return m(r, Y);
|
|
306
306
|
}
|
|
307
307
|
function ne(r) {
|
|
308
308
|
let o = "", _ = "";
|
|
@@ -330,14 +330,14 @@ function zs(e, t = {}) {
|
|
|
330
330
|
return o;
|
|
331
331
|
}
|
|
332
332
|
function _e(r) {
|
|
333
|
-
|
|
333
|
+
w(r);
|
|
334
334
|
let o = "", _ = "";
|
|
335
335
|
for (; o = j(r); )
|
|
336
336
|
_ += o;
|
|
337
337
|
return r.currentChar() === xe && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _;
|
|
338
338
|
}
|
|
339
339
|
function ce(r) {
|
|
340
|
-
|
|
340
|
+
w(r);
|
|
341
341
|
let o = "";
|
|
342
342
|
return r.currentChar() === "-" ? (r.next(), o += `-${ne(r)}`) : o += ne(r), r.currentChar() === xe && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
343
343
|
}
|
|
@@ -345,12 +345,12 @@ function zs(e, t = {}) {
|
|
|
345
345
|
return r !== cn && r !== Ee;
|
|
346
346
|
}
|
|
347
347
|
function fe(r) {
|
|
348
|
-
|
|
348
|
+
w(r), D(r, "'");
|
|
349
349
|
let o = "", _ = "";
|
|
350
350
|
for (; o = m(r, oe); )
|
|
351
351
|
o === "\\" ? _ += q(r) : _ += o;
|
|
352
|
-
const
|
|
353
|
-
return
|
|
352
|
+
const k = r.currentChar();
|
|
353
|
+
return k === Ee || k === xe ? (T(se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), k === Ee && (r.next(), D(r, "'")), _) : (D(r, "'"), _);
|
|
354
354
|
}
|
|
355
355
|
function q(r) {
|
|
356
356
|
const o = r.currentChar();
|
|
@@ -359,31 +359,31 @@ function zs(e, t = {}) {
|
|
|
359
359
|
case "'":
|
|
360
360
|
return r.next(), `\\${o}`;
|
|
361
361
|
case "u":
|
|
362
|
-
return
|
|
362
|
+
return we(r, o, 4);
|
|
363
363
|
case "U":
|
|
364
|
-
return
|
|
364
|
+
return we(r, o, 6);
|
|
365
365
|
default:
|
|
366
366
|
return T(se.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
|
|
371
|
-
let
|
|
369
|
+
function we(r, o, _) {
|
|
370
|
+
D(r, o);
|
|
371
|
+
let k = "";
|
|
372
372
|
for (let M = 0; M < _; M++) {
|
|
373
373
|
const P = B(r);
|
|
374
374
|
if (!P) {
|
|
375
|
-
T(se.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${
|
|
375
|
+
T(se.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${k}${r.currentChar()}`);
|
|
376
376
|
break;
|
|
377
377
|
}
|
|
378
|
-
|
|
378
|
+
k += P;
|
|
379
379
|
}
|
|
380
|
-
return `\\${o}${
|
|
380
|
+
return `\\${o}${k}`;
|
|
381
381
|
}
|
|
382
382
|
function K(r) {
|
|
383
383
|
return r !== "{" && r !== "}" && r !== Pe && r !== Ee;
|
|
384
384
|
}
|
|
385
385
|
function pe(r) {
|
|
386
|
-
|
|
386
|
+
w(r);
|
|
387
387
|
let o = "", _ = "";
|
|
388
388
|
for (; o = m(r, K); )
|
|
389
389
|
_ += o;
|
|
@@ -397,89 +397,89 @@ function zs(e, t = {}) {
|
|
|
397
397
|
}
|
|
398
398
|
function Ke(r) {
|
|
399
399
|
const o = (_) => {
|
|
400
|
-
const
|
|
401
|
-
return
|
|
400
|
+
const k = r.currentChar();
|
|
401
|
+
return k === "{" || k === "@" || k === "|" || k === "(" || k === ")" || !k || k === Pe ? _ : (_ += k, r.next(), o(_));
|
|
402
402
|
};
|
|
403
403
|
return o("");
|
|
404
404
|
}
|
|
405
405
|
function Ve(r) {
|
|
406
|
-
|
|
407
|
-
const o =
|
|
406
|
+
w(r);
|
|
407
|
+
const o = D(
|
|
408
408
|
r,
|
|
409
409
|
"|"
|
|
410
410
|
/* TokenChars.Pipe */
|
|
411
411
|
);
|
|
412
|
-
return
|
|
412
|
+
return w(r), o;
|
|
413
413
|
}
|
|
414
414
|
function Fe(r, o) {
|
|
415
415
|
let _ = null;
|
|
416
416
|
switch (r.currentChar()) {
|
|
417
417
|
case "{":
|
|
418
|
-
return o.braceNest >= 1 && T(se.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), _ =
|
|
418
|
+
return o.braceNest >= 1 && T(se.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), _ = N(
|
|
419
419
|
o,
|
|
420
420
|
2,
|
|
421
421
|
"{"
|
|
422
422
|
/* TokenChars.BraceLeft */
|
|
423
|
-
),
|
|
423
|
+
), w(r), o.braceNest++, _;
|
|
424
424
|
case "}":
|
|
425
|
-
return o.braceNest > 0 && o.currentType === 2 && T(se.EMPTY_PLACEHOLDER, a(), 0), r.next(), _ =
|
|
425
|
+
return o.braceNest > 0 && o.currentType === 2 && T(se.EMPTY_PLACEHOLDER, a(), 0), r.next(), _ = N(
|
|
426
426
|
o,
|
|
427
427
|
3,
|
|
428
428
|
"}"
|
|
429
429
|
/* TokenChars.BraceRight */
|
|
430
|
-
), o.braceNest--, o.braceNest > 0 &&
|
|
430
|
+
), o.braceNest--, o.braceNest > 0 && w(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), _;
|
|
431
431
|
case "@":
|
|
432
|
-
return o.braceNest > 0 && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _ =
|
|
432
|
+
return o.braceNest > 0 && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = Ce(r, o) || F(o), o.braceNest = 0, _;
|
|
433
433
|
default: {
|
|
434
434
|
let M = !0, P = !0, v = !0;
|
|
435
435
|
if (X(r))
|
|
436
|
-
return o.braceNest > 0 && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _ =
|
|
436
|
+
return o.braceNest > 0 && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = N(o, 1, Ve(r)), o.braceNest = 0, o.inLinked = !1, _;
|
|
437
437
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
438
|
-
return T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0,
|
|
438
|
+
return T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ye(r, o);
|
|
439
439
|
if (M = R(r, o))
|
|
440
|
-
return _ =
|
|
440
|
+
return _ = N(o, 4, _e(r)), w(r), _;
|
|
441
441
|
if (P = c(r, o))
|
|
442
|
-
return _ =
|
|
442
|
+
return _ = N(o, 5, ce(r)), w(r), _;
|
|
443
443
|
if (v = b(r, o))
|
|
444
|
-
return _ =
|
|
444
|
+
return _ = N(o, 6, fe(r)), w(r), _;
|
|
445
445
|
if (!M && !P && !v)
|
|
446
|
-
return _ =
|
|
446
|
+
return _ = N(o, 12, pe(r)), T(se.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, _.value), w(r), _;
|
|
447
447
|
break;
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
return _;
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function Ce(r, o) {
|
|
453
453
|
const { currentType: _ } = o;
|
|
454
|
-
let
|
|
454
|
+
let k = null;
|
|
455
455
|
const M = r.currentChar();
|
|
456
456
|
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M === Ee || M === Pe) && T(se.INVALID_LINKED_FORMAT, a(), 0), M) {
|
|
457
457
|
case "@":
|
|
458
|
-
return r.next(),
|
|
458
|
+
return r.next(), k = N(
|
|
459
459
|
o,
|
|
460
460
|
7,
|
|
461
461
|
"@"
|
|
462
462
|
/* TokenChars.LinkedAlias */
|
|
463
|
-
), o.inLinked = !0,
|
|
463
|
+
), o.inLinked = !0, k;
|
|
464
464
|
case ".":
|
|
465
|
-
return
|
|
465
|
+
return w(r), r.next(), N(
|
|
466
466
|
o,
|
|
467
467
|
8,
|
|
468
468
|
"."
|
|
469
469
|
/* TokenChars.LinkedDot */
|
|
470
470
|
);
|
|
471
471
|
case ":":
|
|
472
|
-
return
|
|
472
|
+
return w(r), r.next(), N(
|
|
473
473
|
o,
|
|
474
474
|
9,
|
|
475
475
|
":"
|
|
476
476
|
/* TokenChars.LinkedDelimiter */
|
|
477
477
|
);
|
|
478
478
|
default:
|
|
479
|
-
return X(r) ? (
|
|
479
|
+
return X(r) ? (k = N(o, 1, Ve(r)), o.braceNest = 0, o.inLinked = !1, k) : I(r, o) || A(r, o) ? (w(r), Ce(r, o)) : p(r, o) ? (w(r), N(o, 11, Je(r))) : S(r, o) ? (w(r), M === "{" ? Fe(r, o) || k : N(o, 10, Ke(r))) : (_ === 7 && T(se.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ye(r, o));
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function Ye(r, o) {
|
|
483
483
|
let _ = {
|
|
484
484
|
type: 13
|
|
485
485
|
/* TokenTypes.EOF */
|
|
@@ -487,36 +487,36 @@ function zs(e, t = {}) {
|
|
|
487
487
|
if (o.braceNest > 0)
|
|
488
488
|
return Fe(r, o) || F(o);
|
|
489
489
|
if (o.inLinked)
|
|
490
|
-
return
|
|
490
|
+
return Ce(r, o) || F(o);
|
|
491
491
|
switch (r.currentChar()) {
|
|
492
492
|
case "{":
|
|
493
493
|
return Fe(r, o) || F(o);
|
|
494
494
|
case "}":
|
|
495
|
-
return T(se.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(),
|
|
495
|
+
return T(se.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), N(
|
|
496
496
|
o,
|
|
497
497
|
3,
|
|
498
498
|
"}"
|
|
499
499
|
/* TokenChars.BraceRight */
|
|
500
500
|
);
|
|
501
501
|
case "@":
|
|
502
|
-
return
|
|
502
|
+
return Ce(r, o) || F(o);
|
|
503
503
|
default: {
|
|
504
504
|
if (X(r))
|
|
505
|
-
return _ =
|
|
505
|
+
return _ = N(o, 1, Ve(r)), o.braceNest = 0, o.inLinked = !1, _;
|
|
506
506
|
if (x(r))
|
|
507
|
-
return
|
|
507
|
+
return N(o, 0, Q(r));
|
|
508
508
|
break;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
return _;
|
|
512
512
|
}
|
|
513
513
|
function O() {
|
|
514
|
-
const { currentType: r, offset: o, startLoc: _, endLoc:
|
|
515
|
-
return i.lastType = r, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc =
|
|
514
|
+
const { currentType: r, offset: o, startLoc: _, endLoc: k } = i;
|
|
515
|
+
return i.lastType = r, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc = k, i.offset = l(), i.startLoc = a(), s.currentChar() === xe ? N(
|
|
516
516
|
i,
|
|
517
517
|
13
|
|
518
518
|
/* TokenTypes.EOF */
|
|
519
|
-
) :
|
|
519
|
+
) : Ye(s, i);
|
|
520
520
|
}
|
|
521
521
|
return {
|
|
522
522
|
nextToken: O,
|
|
@@ -543,11 +543,11 @@ function tr(e = {}) {
|
|
|
543
543
|
function s(f, h, R, c, ...b) {
|
|
544
544
|
const I = f.currentPosition();
|
|
545
545
|
if (I.offset += c, I.column += c, n) {
|
|
546
|
-
const p = t ? Ft(R, I) : null,
|
|
546
|
+
const p = t ? Ft(R, I) : null, A = Tt(h, p, {
|
|
547
547
|
domain: Qs,
|
|
548
548
|
args: b
|
|
549
549
|
});
|
|
550
|
-
n(
|
|
550
|
+
n(A);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
function l(f, h, R) {
|
|
@@ -578,7 +578,7 @@ function tr(e = {}) {
|
|
|
578
578
|
return h.type !== 11 ? (s(f, se.UNEXPECTED_EMPTY_LINKED_MODIFIER, R.lastStartLoc, 0), I.value = "", a(I, c, b), {
|
|
579
579
|
nextConsumeToken: h,
|
|
580
580
|
node: I
|
|
581
|
-
}) : (h.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, R.lastStartLoc, 0,
|
|
581
|
+
}) : (h.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, R.lastStartLoc, 0, ke(h)), I.value = h.value || "", a(I, f.currentOffset(), f.currentPosition()), {
|
|
582
582
|
node: I
|
|
583
583
|
});
|
|
584
584
|
}
|
|
@@ -586,25 +586,25 @@ function tr(e = {}) {
|
|
|
586
586
|
const R = f.context(), c = l(7, R.offset, R.startLoc);
|
|
587
587
|
return c.value = h, a(c, f.currentOffset(), f.currentPosition()), c;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function N(f) {
|
|
590
590
|
const h = f.context(), R = l(6, h.offset, h.startLoc);
|
|
591
591
|
let c = f.nextToken();
|
|
592
592
|
if (c.type === 8) {
|
|
593
593
|
const b = E(f);
|
|
594
594
|
R.modifier = b.node, c = b.nextConsumeToken || f.nextToken();
|
|
595
595
|
}
|
|
596
|
-
switch (c.type !== 9 && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
596
|
+
switch (c.type !== 9 && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), c = f.nextToken(), c.type === 2 && (c = f.nextToken()), c.type) {
|
|
597
597
|
case 10:
|
|
598
|
-
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
598
|
+
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), R.key = T(f, c.value || "");
|
|
599
599
|
break;
|
|
600
600
|
case 4:
|
|
601
|
-
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
601
|
+
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), R.key = i(f, c.value || "");
|
|
602
602
|
break;
|
|
603
603
|
case 5:
|
|
604
|
-
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
604
|
+
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), R.key = u(f, c.value || "");
|
|
605
605
|
break;
|
|
606
606
|
case 6:
|
|
607
|
-
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
607
|
+
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), R.key = g(f, c.value || "");
|
|
608
608
|
break;
|
|
609
609
|
default: {
|
|
610
610
|
s(f, se.UNEXPECTED_EMPTY_LINKED_KEY, h.lastStartLoc, 0);
|
|
@@ -627,49 +627,49 @@ function tr(e = {}) {
|
|
|
627
627
|
const S = I || f.nextToken();
|
|
628
628
|
switch (I = null, S.type) {
|
|
629
629
|
case 0:
|
|
630
|
-
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
630
|
+
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(S)), b.items.push(d(f, S.value || ""));
|
|
631
631
|
break;
|
|
632
632
|
case 5:
|
|
633
|
-
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
633
|
+
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(S)), b.items.push(u(f, S.value || ""));
|
|
634
634
|
break;
|
|
635
635
|
case 4:
|
|
636
|
-
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
636
|
+
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(S)), b.items.push(i(f, S.value || ""));
|
|
637
637
|
break;
|
|
638
638
|
case 6:
|
|
639
|
-
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
639
|
+
S.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(S)), b.items.push(g(f, S.value || ""));
|
|
640
640
|
break;
|
|
641
641
|
case 7: {
|
|
642
|
-
const X =
|
|
642
|
+
const X = N(f);
|
|
643
643
|
b.items.push(X.node), I = X.nextConsumeToken || null;
|
|
644
644
|
break;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
} while (h.currentType !== 13 && h.currentType !== 1);
|
|
648
|
-
const p = h.currentType === 1 ? h.lastOffset : f.currentOffset(),
|
|
649
|
-
return a(b, p,
|
|
648
|
+
const p = h.currentType === 1 ? h.lastOffset : f.currentOffset(), A = h.currentType === 1 ? h.lastEndLoc : f.currentPosition();
|
|
649
|
+
return a(b, p, A), b;
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function D(f, h, R, c) {
|
|
652
652
|
const b = f.context();
|
|
653
653
|
let I = c.items.length === 0;
|
|
654
654
|
const p = l(1, h, R);
|
|
655
655
|
p.cases = [], p.cases.push(c);
|
|
656
656
|
do {
|
|
657
|
-
const
|
|
658
|
-
I || (I =
|
|
657
|
+
const A = F(f);
|
|
658
|
+
I || (I = A.items.length === 0), p.cases.push(A);
|
|
659
659
|
} while (b.currentType !== 13);
|
|
660
660
|
return I && s(f, se.MUST_HAVE_MESSAGES_IN_PLURAL, R, 0), a(p, f.currentOffset(), f.currentPosition()), p;
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function L(f) {
|
|
663
663
|
const h = f.context(), { offset: R, startLoc: c } = h, b = F(f);
|
|
664
|
-
return h.currentType === 13 ? b :
|
|
664
|
+
return h.currentType === 13 ? b : D(f, R, c, b);
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function w(f) {
|
|
667
667
|
const h = zs(f, Ie({}, e)), R = h.context(), c = l(0, R.offset, R.startLoc);
|
|
668
|
-
return t && c.loc && (c.loc.source = f), c.body =
|
|
668
|
+
return t && c.loc && (c.loc.source = f), c.body = L(h), e.onCacheKey && (c.cacheKey = e.onCacheKey(f)), R.currentType !== 13 && s(h, se.UNEXPECTED_LEXICAL_ANALYSIS, R.lastStartLoc, 0, f[R.offset] || ""), a(c, h.currentOffset(), h.currentPosition()), c;
|
|
669
669
|
}
|
|
670
|
-
return { parse:
|
|
670
|
+
return { parse: w };
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function ke(e) {
|
|
673
673
|
if (e.type === 13)
|
|
674
674
|
return "EOF";
|
|
675
675
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -822,22 +822,22 @@ function or(e, t) {
|
|
|
822
822
|
};
|
|
823
823
|
a && e.loc && (d.source = e.loc.source);
|
|
824
824
|
const u = () => d;
|
|
825
|
-
function i(
|
|
826
|
-
d.code +=
|
|
825
|
+
function i(L, w) {
|
|
826
|
+
d.code += L;
|
|
827
827
|
}
|
|
828
|
-
function g(
|
|
829
|
-
const f =
|
|
830
|
-
i(l ? f + " ".repeat(
|
|
828
|
+
function g(L, w = !0) {
|
|
829
|
+
const f = w ? s : "";
|
|
830
|
+
i(l ? f + " ".repeat(L) : f);
|
|
831
831
|
}
|
|
832
|
-
function E(
|
|
833
|
-
const
|
|
834
|
-
|
|
832
|
+
function E(L = !0) {
|
|
833
|
+
const w = ++d.indentLevel;
|
|
834
|
+
L && g(w);
|
|
835
835
|
}
|
|
836
|
-
function T(
|
|
837
|
-
const
|
|
838
|
-
|
|
836
|
+
function T(L = !0) {
|
|
837
|
+
const w = --d.indentLevel;
|
|
838
|
+
L && g(w);
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function N() {
|
|
841
841
|
g(d.indentLevel);
|
|
842
842
|
}
|
|
843
843
|
return {
|
|
@@ -845,8 +845,8 @@ function or(e, t) {
|
|
|
845
845
|
push: i,
|
|
846
846
|
indent: E,
|
|
847
847
|
deindent: T,
|
|
848
|
-
newline:
|
|
849
|
-
helper: (
|
|
848
|
+
newline: N,
|
|
849
|
+
helper: (L) => `_${L}`,
|
|
850
850
|
needIndent: () => d.needIndent
|
|
851
851
|
};
|
|
852
852
|
}
|
|
@@ -932,7 +932,7 @@ function rt(e, t) {
|
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
const ur = (e, t = {}) => {
|
|
935
|
-
const n =
|
|
935
|
+
const n = Z(t.mode) ? t.mode : "normal", s = Z(t.filename) ? t.filename : "message.intl";
|
|
936
936
|
t.sourceMap;
|
|
937
937
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
938
938
|
`, a = t.needIndent ? t.needIndent : n !== "arrow", d = e.helpers || [], u = or(e, {
|
|
@@ -957,7 +957,7 @@ var mr = { env: { NODE_ENV: "production" } };
|
|
|
957
957
|
function fr() {
|
|
958
958
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Xe().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Xe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function Lt(e) {
|
|
961
961
|
return (n) => _r(n, e);
|
|
962
962
|
}
|
|
963
963
|
function _r(e, t) {
|
|
@@ -1036,13 +1036,13 @@ function Pt(e, t) {
|
|
|
1036
1036
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
const
|
|
1039
|
+
const Nr = ["t", "type"];
|
|
1040
1040
|
function Kt(e) {
|
|
1041
|
-
return Ge(e,
|
|
1041
|
+
return Ge(e, Nr);
|
|
1042
1042
|
}
|
|
1043
|
-
const
|
|
1043
|
+
const Cr = ["v", "value"];
|
|
1044
1044
|
function _t(e, t) {
|
|
1045
|
-
const n = Ge(e,
|
|
1045
|
+
const n = Ge(e, Cr);
|
|
1046
1046
|
if (n)
|
|
1047
1047
|
return n;
|
|
1048
1048
|
throw it(t);
|
|
@@ -1072,45 +1072,45 @@ function Ge(e, t, n) {
|
|
|
1072
1072
|
function it(e) {
|
|
1073
1073
|
return new Error(`unhandled node type: ${e}`);
|
|
1074
1074
|
}
|
|
1075
|
-
const
|
|
1075
|
+
const Lr = (e) => e;
|
|
1076
1076
|
let pt = re();
|
|
1077
1077
|
function ot(e) {
|
|
1078
1078
|
return te(e) && Kt(e) === 0 && (Se(e, "b") || Se(e, "body"));
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function kr(e, t = {}) {
|
|
1081
1081
|
let n = !1;
|
|
1082
|
-
const s = t.onError ||
|
|
1082
|
+
const s = t.onError || Ys;
|
|
1083
1083
|
return t.onError = (l) => {
|
|
1084
1084
|
n = !0, s(l);
|
|
1085
1085
|
}, { ...dr(e, t), detectError: n };
|
|
1086
1086
|
}
|
|
1087
1087
|
// @__NO_SIDE_EFFECTS__
|
|
1088
|
-
function
|
|
1089
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1088
|
+
function Ar(e, t) {
|
|
1089
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Z(e)) {
|
|
1090
1090
|
ve(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1091
|
-
const s = (t.onCacheKey ||
|
|
1091
|
+
const s = (t.onCacheKey || Lr)(e), l = pt[s];
|
|
1092
1092
|
if (l)
|
|
1093
1093
|
return l;
|
|
1094
|
-
const { ast: a, detectError: d } =
|
|
1094
|
+
const { ast: a, detectError: d } = kr(e, {
|
|
1095
1095
|
...t,
|
|
1096
1096
|
location: mr.env.NODE_ENV !== "production",
|
|
1097
1097
|
jit: !0
|
|
1098
|
-
}), u =
|
|
1098
|
+
}), u = Lt(a);
|
|
1099
1099
|
return d ? u : pt[s] = u;
|
|
1100
1100
|
} else {
|
|
1101
1101
|
const n = e.cacheKey;
|
|
1102
1102
|
if (n) {
|
|
1103
1103
|
const s = pt[n];
|
|
1104
|
-
return s || (pt[n] =
|
|
1104
|
+
return s || (pt[n] = Lt(e));
|
|
1105
1105
|
} else
|
|
1106
|
-
return
|
|
1106
|
+
return Lt(e);
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
let ct = null;
|
|
1110
1110
|
function Mr(e) {
|
|
1111
1111
|
ct = e;
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function Dr(e, t, n) {
|
|
1114
1114
|
ct && ct.emit("i18n:init", {
|
|
1115
1115
|
timestamp: Date.now(),
|
|
1116
1116
|
i18n: e,
|
|
@@ -1118,12 +1118,12 @@ function wr(e, t, n) {
|
|
|
1118
1118
|
meta: n
|
|
1119
1119
|
});
|
|
1120
1120
|
}
|
|
1121
|
-
const
|
|
1121
|
+
const wr = /* @__PURE__ */ Fr("function:translate");
|
|
1122
1122
|
function Fr(e) {
|
|
1123
1123
|
return (t) => ct && ct.emit(e, t);
|
|
1124
1124
|
}
|
|
1125
1125
|
const je = {
|
|
1126
|
-
INVALID_ARGUMENT:
|
|
1126
|
+
INVALID_ARGUMENT: Zs,
|
|
1127
1127
|
// 17
|
|
1128
1128
|
INVALID_DATE_ARGUMENT: 18,
|
|
1129
1129
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1137,18 +1137,18 @@ function Ue(e) {
|
|
|
1137
1137
|
function zt(e, t) {
|
|
1138
1138
|
return t.locale != null ? fn(t.locale) : fn(e.locale);
|
|
1139
1139
|
}
|
|
1140
|
-
let
|
|
1140
|
+
let kt;
|
|
1141
1141
|
function fn(e) {
|
|
1142
|
-
if (
|
|
1142
|
+
if (Z(e))
|
|
1143
1143
|
return e;
|
|
1144
1144
|
if (me(e)) {
|
|
1145
|
-
if (e.resolvedOnce &&
|
|
1146
|
-
return
|
|
1145
|
+
if (e.resolvedOnce && kt != null)
|
|
1146
|
+
return kt;
|
|
1147
1147
|
if (e.constructor.name === "Function") {
|
|
1148
1148
|
const t = e();
|
|
1149
1149
|
if (Vs(t))
|
|
1150
1150
|
throw Ue(je.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1151
|
-
return
|
|
1151
|
+
return kt = t;
|
|
1152
1152
|
} else
|
|
1153
1153
|
throw Ue(je.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1154
1154
|
} else
|
|
@@ -1157,11 +1157,11 @@ function fn(e) {
|
|
|
1157
1157
|
function jr(e, t, n) {
|
|
1158
1158
|
return [.../* @__PURE__ */ new Set([
|
|
1159
1159
|
n,
|
|
1160
|
-
...be(t) ? t : te(t) ? Object.keys(t) :
|
|
1160
|
+
...be(t) ? t : te(t) ? Object.keys(t) : Z(t) ? [t] : [n]
|
|
1161
1161
|
])];
|
|
1162
1162
|
}
|
|
1163
1163
|
function Hn(e, t, n) {
|
|
1164
|
-
const s =
|
|
1164
|
+
const s = Z(n) ? n : Nt, l = e;
|
|
1165
1165
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1166
1166
|
let a = l.__localeChainCache.get(s);
|
|
1167
1167
|
if (!a) {
|
|
@@ -1170,7 +1170,7 @@ function Hn(e, t, n) {
|
|
|
1170
1170
|
for (; be(d); )
|
|
1171
1171
|
d = _n(a, d, t);
|
|
1172
1172
|
const u = be(t) || !ee(t) ? t : t.default ? t.default : null;
|
|
1173
|
-
d =
|
|
1173
|
+
d = Z(u) ? [u] : u, be(d) && _n(a, d, !1), l.__localeChainCache.set(s, a);
|
|
1174
1174
|
}
|
|
1175
1175
|
return a;
|
|
1176
1176
|
}
|
|
@@ -1178,7 +1178,7 @@ function _n(e, t, n) {
|
|
|
1178
1178
|
let s = !0;
|
|
1179
1179
|
for (let l = 0; l < t.length && ve(s); l++) {
|
|
1180
1180
|
const a = t[l];
|
|
1181
|
-
|
|
1181
|
+
Z(a) && (s = Ur(e, t[l], n));
|
|
1182
1182
|
}
|
|
1183
1183
|
return s;
|
|
1184
1184
|
}
|
|
@@ -1200,8 +1200,8 @@ function Vr(e, t, n) {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
return s;
|
|
1202
1202
|
}
|
|
1203
|
-
const
|
|
1204
|
-
|
|
1203
|
+
const Ze = [];
|
|
1204
|
+
Ze[
|
|
1205
1205
|
0
|
|
1206
1206
|
/* States.BEFORE_PATH */
|
|
1207
1207
|
] = {
|
|
@@ -1223,7 +1223,7 @@ Ye[
|
|
|
1223
1223
|
/* States.AFTER_PATH */
|
|
1224
1224
|
]
|
|
1225
1225
|
};
|
|
1226
|
-
|
|
1226
|
+
Ze[
|
|
1227
1227
|
1
|
|
1228
1228
|
/* States.IN_PATH */
|
|
1229
1229
|
] = {
|
|
@@ -1244,7 +1244,7 @@ Ye[
|
|
|
1244
1244
|
/* States.AFTER_PATH */
|
|
1245
1245
|
]
|
|
1246
1246
|
};
|
|
1247
|
-
|
|
1247
|
+
Ze[
|
|
1248
1248
|
2
|
|
1249
1249
|
/* States.BEFORE_IDENT */
|
|
1250
1250
|
] = {
|
|
@@ -1263,7 +1263,7 @@ Ye[
|
|
|
1263
1263
|
/* Actions.APPEND */
|
|
1264
1264
|
]
|
|
1265
1265
|
};
|
|
1266
|
-
|
|
1266
|
+
Ze[
|
|
1267
1267
|
3
|
|
1268
1268
|
/* States.IN_IDENT */
|
|
1269
1269
|
] = {
|
|
@@ -1298,7 +1298,7 @@ Ye[
|
|
|
1298
1298
|
/* Actions.PUSH */
|
|
1299
1299
|
]
|
|
1300
1300
|
};
|
|
1301
|
-
|
|
1301
|
+
Ze[
|
|
1302
1302
|
4
|
|
1303
1303
|
/* States.IN_SUB_PATH */
|
|
1304
1304
|
] = {
|
|
@@ -1329,7 +1329,7 @@ Ye[
|
|
|
1329
1329
|
/* Actions.APPEND */
|
|
1330
1330
|
]
|
|
1331
1331
|
};
|
|
1332
|
-
|
|
1332
|
+
Ze[
|
|
1333
1333
|
5
|
|
1334
1334
|
/* States.IN_SINGLE_QUOTE */
|
|
1335
1335
|
] = {
|
|
@@ -1345,7 +1345,7 @@ Ye[
|
|
|
1345
1345
|
/* Actions.APPEND */
|
|
1346
1346
|
]
|
|
1347
1347
|
};
|
|
1348
|
-
|
|
1348
|
+
Ze[
|
|
1349
1349
|
6
|
|
1350
1350
|
/* States.IN_DOUBLE_QUOTE */
|
|
1351
1351
|
] = {
|
|
@@ -1369,7 +1369,7 @@ function Gr(e) {
|
|
|
1369
1369
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1370
1370
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function Zr(e) {
|
|
1373
1373
|
if (e == null)
|
|
1374
1374
|
return "o";
|
|
1375
1375
|
switch (e.charCodeAt(0)) {
|
|
@@ -1394,61 +1394,61 @@ function Yr(e) {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
return "i";
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function Yr(e) {
|
|
1398
1398
|
const t = e.trim();
|
|
1399
1399
|
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Wr(t) ? Gr(t) : "*" + t;
|
|
1400
1400
|
}
|
|
1401
1401
|
function Br(e) {
|
|
1402
1402
|
const t = [];
|
|
1403
1403
|
let n = -1, s = 0, l = 0, a, d, u, i, g, E, T;
|
|
1404
|
-
const
|
|
1405
|
-
|
|
1404
|
+
const N = [];
|
|
1405
|
+
N[
|
|
1406
1406
|
0
|
|
1407
1407
|
/* Actions.APPEND */
|
|
1408
1408
|
] = () => {
|
|
1409
1409
|
d === void 0 ? d = u : d += u;
|
|
1410
|
-
},
|
|
1410
|
+
}, N[
|
|
1411
1411
|
1
|
|
1412
1412
|
/* Actions.PUSH */
|
|
1413
1413
|
] = () => {
|
|
1414
1414
|
d !== void 0 && (t.push(d), d = void 0);
|
|
1415
|
-
},
|
|
1415
|
+
}, N[
|
|
1416
1416
|
2
|
|
1417
1417
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1418
1418
|
] = () => {
|
|
1419
|
-
|
|
1419
|
+
N[
|
|
1420
1420
|
0
|
|
1421
1421
|
/* Actions.APPEND */
|
|
1422
1422
|
](), l++;
|
|
1423
|
-
},
|
|
1423
|
+
}, N[
|
|
1424
1424
|
3
|
|
1425
1425
|
/* Actions.PUSH_SUB_PATH */
|
|
1426
1426
|
] = () => {
|
|
1427
1427
|
if (l > 0)
|
|
1428
|
-
l--, s = 4,
|
|
1428
|
+
l--, s = 4, N[
|
|
1429
1429
|
0
|
|
1430
1430
|
/* Actions.APPEND */
|
|
1431
1431
|
]();
|
|
1432
1432
|
else {
|
|
1433
|
-
if (l = 0, d === void 0 || (d =
|
|
1433
|
+
if (l = 0, d === void 0 || (d = Yr(d), d === !1))
|
|
1434
1434
|
return !1;
|
|
1435
|
-
|
|
1435
|
+
N[
|
|
1436
1436
|
1
|
|
1437
1437
|
/* Actions.PUSH */
|
|
1438
1438
|
]();
|
|
1439
1439
|
}
|
|
1440
1440
|
};
|
|
1441
1441
|
function F() {
|
|
1442
|
-
const
|
|
1443
|
-
if (s === 5 &&
|
|
1444
|
-
return n++, u = "\\" +
|
|
1442
|
+
const D = e[n + 1];
|
|
1443
|
+
if (s === 5 && D === "'" || s === 6 && D === '"')
|
|
1444
|
+
return n++, u = "\\" + D, N[
|
|
1445
1445
|
0
|
|
1446
1446
|
/* Actions.APPEND */
|
|
1447
1447
|
](), !0;
|
|
1448
1448
|
}
|
|
1449
1449
|
for (; s !== null; )
|
|
1450
1450
|
if (n++, a = e[n], !(a === "\\" && F())) {
|
|
1451
|
-
if (i =
|
|
1451
|
+
if (i = Zr(a), T = Ze[s], g = T[i] || T.l || 8, g === 8 || (s = g[0], g[1] !== void 0 && (E = N[g[1]], E && (u = a, E() === !1))))
|
|
1452
1452
|
return;
|
|
1453
1453
|
if (s === 7)
|
|
1454
1454
|
return t;
|
|
@@ -1474,12 +1474,12 @@ function Hr(e, t) {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
return l;
|
|
1476
1476
|
}
|
|
1477
|
-
const $r = "10.0.5", Ot = -1,
|
|
1477
|
+
const $r = "10.0.5", Ot = -1, Nt = "en-US", vn = "", hn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1478
1478
|
function Jr() {
|
|
1479
1479
|
return {
|
|
1480
|
-
upper: (e, t) => t === "text" &&
|
|
1481
|
-
lower: (e, t) => t === "text" &&
|
|
1482
|
-
capitalize: (e, t) => t === "text" &&
|
|
1480
|
+
upper: (e, t) => t === "text" && Z(e) ? e.toUpperCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1481
|
+
lower: (e, t) => t === "text" && Z(e) ? e.toLowerCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1482
|
+
capitalize: (e, t) => t === "text" && Z(e) ? hn(e) : t === "vnode" && te(e) && "__v_isVNode" in e ? hn(e.children) : e
|
|
1483
1483
|
};
|
|
1484
1484
|
}
|
|
1485
1485
|
let $n;
|
|
@@ -1504,7 +1504,7 @@ const bn = (e) => {
|
|
|
1504
1504
|
}, to = () => Qn;
|
|
1505
1505
|
let gn = 0;
|
|
1506
1506
|
function no(e = {}) {
|
|
1507
|
-
const t = me(e.onWarn) ? e.onWarn : Ws, n =
|
|
1507
|
+
const t = me(e.onWarn) ? e.onWarn : Ws, n = Z(e.version) ? e.version : $r, s = Z(e.locale) || me(e.locale) ? e.locale : Nt, l = me(s) ? Nt : s, a = be(e.fallbackLocale) || ee(e.fallbackLocale) || Z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, d = ee(e.messages) ? e.messages : At(l), u = ee(e.datetimeFormats) ? e.datetimeFormats : At(l), i = ee(e.numberFormats) ? e.numberFormats : At(l), g = Ie(re(), e.modifiers, Jr()), E = e.pluralRules || re(), T = me(e.missing) ? e.missing : null, N = ve(e.missingWarn) || yt(e.missingWarn) ? e.missingWarn : !0, F = ve(e.fallbackWarn) || yt(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, L = !!e.unresolving, w = me(e.postTranslation) ? e.postTranslation : null, f = ee(e.processor) ? e.processor : null, h = ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, R = !!e.escapeParameter, c = me(e.messageCompiler) ? e.messageCompiler : $n, b = me(e.messageResolver) ? e.messageResolver : Jn || Xr, I = me(e.localeFallbacker) ? e.localeFallbacker : Kn || jr, p = te(e.fallbackContext) ? e.fallbackContext : void 0, A = e, S = te(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), X = te(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), x = te(A.__meta) ? A.__meta : {};
|
|
1508
1508
|
gn++;
|
|
1509
1509
|
const m = {
|
|
1510
1510
|
version: n,
|
|
@@ -1515,11 +1515,11 @@ function no(e = {}) {
|
|
|
1515
1515
|
modifiers: g,
|
|
1516
1516
|
pluralRules: E,
|
|
1517
1517
|
missing: T,
|
|
1518
|
-
missingWarn:
|
|
1518
|
+
missingWarn: N,
|
|
1519
1519
|
fallbackWarn: F,
|
|
1520
|
-
fallbackFormat:
|
|
1521
|
-
unresolving:
|
|
1522
|
-
postTranslation:
|
|
1520
|
+
fallbackFormat: D,
|
|
1521
|
+
unresolving: L,
|
|
1522
|
+
postTranslation: w,
|
|
1523
1523
|
processor: f,
|
|
1524
1524
|
warnHtmlMessage: h,
|
|
1525
1525
|
escapeParameter: R,
|
|
@@ -1530,14 +1530,14 @@ function no(e = {}) {
|
|
|
1530
1530
|
onWarn: t,
|
|
1531
1531
|
__meta: x
|
|
1532
1532
|
};
|
|
1533
|
-
return m.datetimeFormats = u, m.numberFormats = i, m.__datetimeFormatters = S, m.__numberFormatters = X, __INTLIFY_PROD_DEVTOOLS__ &&
|
|
1533
|
+
return m.datetimeFormats = u, m.numberFormats = i, m.__datetimeFormatters = S, m.__numberFormatters = X, __INTLIFY_PROD_DEVTOOLS__ && Dr(m, n, x), m;
|
|
1534
1534
|
}
|
|
1535
|
-
const
|
|
1535
|
+
const At = (e) => ({ [e]: re() });
|
|
1536
1536
|
function Qt(e, t, n, s, l) {
|
|
1537
1537
|
const { missing: a, onWarn: d } = e;
|
|
1538
1538
|
if (a !== null) {
|
|
1539
1539
|
const u = a(e, n, t, l);
|
|
1540
|
-
return
|
|
1540
|
+
return Z(u) ? u : t;
|
|
1541
1541
|
} else
|
|
1542
1542
|
return t;
|
|
1543
1543
|
}
|
|
@@ -1558,24 +1558,24 @@ function ro(e, t) {
|
|
|
1558
1558
|
return !1;
|
|
1559
1559
|
}
|
|
1560
1560
|
function In(e, ...t) {
|
|
1561
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, E, T] = jt(...t),
|
|
1561
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, E, T] = jt(...t), N = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1562
1562
|
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1563
|
-
const F = !!E.part,
|
|
1563
|
+
const F = !!E.part, D = zt(e, E), L = d(
|
|
1564
1564
|
e,
|
|
1565
1565
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1566
1566
|
l,
|
|
1567
|
-
|
|
1567
|
+
D
|
|
1568
1568
|
);
|
|
1569
|
-
if (!
|
|
1570
|
-
return new Intl.DateTimeFormat(
|
|
1571
|
-
let
|
|
1569
|
+
if (!Z(i) || i === "")
|
|
1570
|
+
return new Intl.DateTimeFormat(D, T).format(g);
|
|
1571
|
+
let w = {}, f, h = null;
|
|
1572
1572
|
const R = "datetime format";
|
|
1573
|
-
for (let I = 0; I <
|
|
1574
|
-
Qt(e, i, f,
|
|
1575
|
-
if (!ee(h) || !
|
|
1573
|
+
for (let I = 0; I < L.length && (f = L[I], w = n[f] || {}, h = w[i], !ee(h)); I++)
|
|
1574
|
+
Qt(e, i, f, N, R);
|
|
1575
|
+
if (!ee(h) || !Z(f))
|
|
1576
1576
|
return s ? Ot : i;
|
|
1577
1577
|
let c = `${f}__${i}`;
|
|
1578
|
-
|
|
1578
|
+
Ct(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1579
1579
|
let b = u.get(c);
|
|
1580
1580
|
return b || (b = new Intl.DateTimeFormat(f, Ie({}, h, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1581
1581
|
}
|
|
@@ -1604,7 +1604,7 @@ const qn = [
|
|
|
1604
1604
|
function jt(...e) {
|
|
1605
1605
|
const [t, n, s, l] = e, a = re();
|
|
1606
1606
|
let d = re(), u;
|
|
1607
|
-
if (
|
|
1607
|
+
if (Z(t)) {
|
|
1608
1608
|
const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1609
1609
|
if (!i)
|
|
1610
1610
|
throw Ue(je.INVALID_ISO_DATE_ARGUMENT);
|
|
@@ -1623,9 +1623,9 @@ function jt(...e) {
|
|
|
1623
1623
|
u = t;
|
|
1624
1624
|
else
|
|
1625
1625
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1626
|
-
return
|
|
1626
|
+
return Z(n) ? a.key = n : ee(n) && Object.keys(n).forEach((i) => {
|
|
1627
1627
|
qn.includes(i) ? d[i] = n[i] : a[i] = n[i];
|
|
1628
|
-
}),
|
|
1628
|
+
}), Z(s) ? a.locale = s : ee(s) && (d = s), ee(l) && (d = l), [a.key || "", u, a, d];
|
|
1629
1629
|
}
|
|
1630
1630
|
function En(e, t, n) {
|
|
1631
1631
|
const s = e;
|
|
@@ -1635,24 +1635,24 @@ function En(e, t, n) {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
1637
|
function yn(e, ...t) {
|
|
1638
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, E, T] = Ut(...t),
|
|
1638
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, E, T] = Ut(...t), N = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1639
1639
|
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1640
|
-
const F = !!E.part,
|
|
1640
|
+
const F = !!E.part, D = zt(e, E), L = d(
|
|
1641
1641
|
e,
|
|
1642
1642
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1643
1643
|
l,
|
|
1644
|
-
|
|
1644
|
+
D
|
|
1645
1645
|
);
|
|
1646
|
-
if (!
|
|
1647
|
-
return new Intl.NumberFormat(
|
|
1648
|
-
let
|
|
1646
|
+
if (!Z(i) || i === "")
|
|
1647
|
+
return new Intl.NumberFormat(D, T).format(g);
|
|
1648
|
+
let w = {}, f, h = null;
|
|
1649
1649
|
const R = "number format";
|
|
1650
|
-
for (let I = 0; I <
|
|
1651
|
-
Qt(e, i, f,
|
|
1652
|
-
if (!ee(h) || !
|
|
1650
|
+
for (let I = 0; I < L.length && (f = L[I], w = n[f] || {}, h = w[i], !ee(h)); I++)
|
|
1651
|
+
Qt(e, i, f, N, R);
|
|
1652
|
+
if (!ee(h) || !Z(f))
|
|
1653
1653
|
return s ? Ot : i;
|
|
1654
1654
|
let c = `${f}__${i}`;
|
|
1655
|
-
|
|
1655
|
+
Ct(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1656
1656
|
let b = u.get(c);
|
|
1657
1657
|
return b || (b = new Intl.NumberFormat(f, Ie({}, h, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1658
1658
|
}
|
|
@@ -1684,11 +1684,11 @@ function Ut(...e) {
|
|
|
1684
1684
|
if (!ge(t))
|
|
1685
1685
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1686
1686
|
const u = t;
|
|
1687
|
-
return
|
|
1687
|
+
return Z(n) ? a.key = n : ee(n) && Object.keys(n).forEach((i) => {
|
|
1688
1688
|
es.includes(i) ? d[i] = n[i] : a[i] = n[i];
|
|
1689
|
-
}),
|
|
1689
|
+
}), Z(s) ? a.locale = s : ee(s) && (d = s), ee(l) && (d = l), [a.key || "", u, a, d];
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1691
|
+
function Nn(e, t, n) {
|
|
1692
1692
|
const s = e;
|
|
1693
1693
|
for (const l in n) {
|
|
1694
1694
|
const a = `${t}__${l}`;
|
|
@@ -1696,7 +1696,7 @@ function Cn(e, t, n) {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
}
|
|
1698
1698
|
const oo = (e) => e, ao = (e) => "", lo = "text", io = (e) => e.length === 0 ? "" : $t(e), co = xs;
|
|
1699
|
-
function
|
|
1699
|
+
function Cn(e, t) {
|
|
1700
1700
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1701
1701
|
}
|
|
1702
1702
|
function uo(e) {
|
|
@@ -1707,87 +1707,87 @@ function mo(e, t) {
|
|
|
1707
1707
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1708
1708
|
}
|
|
1709
1709
|
function fo(e = {}) {
|
|
1710
|
-
const t = e.locale, n = uo(e), s = te(e.pluralRules) &&
|
|
1710
|
+
const t = e.locale, n = uo(e), s = te(e.pluralRules) && Z(t) && me(e.pluralRules[t]) ? e.pluralRules[t] : Cn, l = te(e.pluralRules) && Z(t) && me(e.pluralRules[t]) ? Cn : void 0, a = (f) => f[s(n, f.length, l)], d = e.list || [], u = (f) => d[f], i = e.named || re();
|
|
1711
1711
|
ge(e.pluralIndex) && mo(n, i);
|
|
1712
1712
|
const g = (f) => i[f];
|
|
1713
1713
|
function E(f, h) {
|
|
1714
1714
|
const R = me(e.messages) ? e.messages(f, !!h) : te(e.messages) ? e.messages[f] : !1;
|
|
1715
1715
|
return R || (e.parent ? e.parent.message(f) : ao);
|
|
1716
1716
|
}
|
|
1717
|
-
const T = (f) => e.modifiers ? e.modifiers[f] : oo,
|
|
1717
|
+
const T = (f) => e.modifiers ? e.modifiers[f] : oo, N = ee(e.processor) && me(e.processor.normalize) ? e.processor.normalize : io, F = ee(e.processor) && me(e.processor.interpolate) ? e.processor.interpolate : co, D = ee(e.processor) && Z(e.processor.type) ? e.processor.type : lo, w = {
|
|
1718
1718
|
list: u,
|
|
1719
1719
|
named: g,
|
|
1720
1720
|
plural: a,
|
|
1721
1721
|
linked: (f, ...h) => {
|
|
1722
1722
|
const [R, c] = h;
|
|
1723
1723
|
let b = "text", I = "";
|
|
1724
|
-
h.length === 1 ? te(R) ? (I = R.modifier || I, b = R.type || b) :
|
|
1725
|
-
const p = E(f, !0)(
|
|
1724
|
+
h.length === 1 ? te(R) ? (I = R.modifier || I, b = R.type || b) : Z(R) && (I = R || I) : h.length === 2 && (Z(R) && (I = R || I), Z(c) && (b = c || b));
|
|
1725
|
+
const p = E(f, !0)(w), A = (
|
|
1726
1726
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1727
1727
|
b === "vnode" && be(p) && I ? p[0] : p
|
|
1728
1728
|
);
|
|
1729
|
-
return I ? T(I)(
|
|
1729
|
+
return I ? T(I)(A, b) : A;
|
|
1730
1730
|
},
|
|
1731
1731
|
message: E,
|
|
1732
|
-
type:
|
|
1732
|
+
type: D,
|
|
1733
1733
|
interpolate: F,
|
|
1734
|
-
normalize:
|
|
1734
|
+
normalize: N,
|
|
1735
1735
|
values: Ie(re(), d, i)
|
|
1736
1736
|
};
|
|
1737
|
-
return
|
|
1737
|
+
return w;
|
|
1738
1738
|
}
|
|
1739
1739
|
const Tn = () => "", Te = (e) => me(e);
|
|
1740
1740
|
function On(e, ...t) {
|
|
1741
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = Vt(...t), E = ve(g.missingWarn) ? g.missingWarn : e.missingWarn, T = ve(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn,
|
|
1742
|
-
|
|
1741
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = Vt(...t), E = ve(g.missingWarn) ? g.missingWarn : e.missingWarn, T = ve(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = ve(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, F = !!g.resolvedMessage, D = Z(g.default) || ve(g.default) ? ve(g.default) ? a ? i : () => i : g.default : n ? a ? i : () => i : null, L = n || D != null && (Z(D) || me(D)), w = zt(e, g);
|
|
1742
|
+
N && _o(g);
|
|
1743
1743
|
let [f, h, R] = F ? [
|
|
1744
1744
|
i,
|
|
1745
|
-
|
|
1746
|
-
u[
|
|
1747
|
-
] : ts(e, i,
|
|
1748
|
-
if (!F && !(
|
|
1745
|
+
w,
|
|
1746
|
+
u[w] || re()
|
|
1747
|
+
] : ts(e, i, w, d, T, E), c = f, b = i;
|
|
1748
|
+
if (!F && !(Z(c) || ot(c) || Te(c)) && L && (c = D, b = c), !F && (!(Z(c) || ot(c) || Te(c)) || !Z(h)))
|
|
1749
1749
|
return l ? Ot : i;
|
|
1750
1750
|
let I = !1;
|
|
1751
1751
|
const p = () => {
|
|
1752
1752
|
I = !0;
|
|
1753
|
-
},
|
|
1753
|
+
}, A = Te(c) ? c : ns(e, i, h, c, b, p);
|
|
1754
1754
|
if (I)
|
|
1755
1755
|
return c;
|
|
1756
|
-
const S = ho(e, h, R, g), X = fo(S), x = po(e,
|
|
1756
|
+
const S = ho(e, h, R, g), X = fo(S), x = po(e, A, X), m = s ? s(x, i) : x;
|
|
1757
1757
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1758
|
-
const
|
|
1758
|
+
const C = {
|
|
1759
1759
|
timestamp: Date.now(),
|
|
1760
|
-
key:
|
|
1760
|
+
key: Z(i) ? i : Te(c) ? c.key : "",
|
|
1761
1761
|
locale: h || (Te(c) ? c.locale : ""),
|
|
1762
|
-
format:
|
|
1762
|
+
format: Z(c) ? c : Te(c) ? c.source : "",
|
|
1763
1763
|
message: m
|
|
1764
1764
|
};
|
|
1765
|
-
|
|
1765
|
+
C.meta = Ie({}, e.__meta, /* @__PURE__ */ eo() || {}), wr(C);
|
|
1766
1766
|
}
|
|
1767
1767
|
return m;
|
|
1768
1768
|
}
|
|
1769
1769
|
function _o(e) {
|
|
1770
|
-
be(e.list) ? e.list = e.list.map((t) =>
|
|
1771
|
-
|
|
1770
|
+
be(e.list) ? e.list = e.list.map((t) => Z(t) ? ln(t) : t) : te(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1771
|
+
Z(e.named[t]) && (e.named[t] = ln(e.named[t]));
|
|
1772
1772
|
});
|
|
1773
1773
|
}
|
|
1774
1774
|
function ts(e, t, n, s, l, a) {
|
|
1775
1775
|
const { messages: d, onWarn: u, messageResolver: i, localeFallbacker: g } = e, E = g(e, s, n);
|
|
1776
|
-
let T = re(),
|
|
1777
|
-
const
|
|
1778
|
-
for (let
|
|
1779
|
-
if (!ro(
|
|
1780
|
-
const
|
|
1776
|
+
let T = re(), N, F = null;
|
|
1777
|
+
const D = "translate";
|
|
1778
|
+
for (let L = 0; L < E.length && (N = E[L], T = d[N] || re(), (F = i(T, t)) === null && (F = T[t]), !(Z(F) || ot(F) || Te(F))); L++)
|
|
1779
|
+
if (!ro(N, E)) {
|
|
1780
|
+
const w = Qt(
|
|
1781
1781
|
e,
|
|
1782
1782
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1783
1783
|
t,
|
|
1784
|
-
|
|
1784
|
+
N,
|
|
1785
1785
|
a,
|
|
1786
|
-
|
|
1786
|
+
D
|
|
1787
1787
|
);
|
|
1788
|
-
|
|
1788
|
+
w !== t && (F = w);
|
|
1789
1789
|
}
|
|
1790
|
-
return [F,
|
|
1790
|
+
return [F, N, T];
|
|
1791
1791
|
}
|
|
1792
1792
|
function ns(e, t, n, s, l, a) {
|
|
1793
1793
|
const { messageCompiler: d, warnHtmlMessage: u } = e;
|
|
@@ -1807,10 +1807,10 @@ function po(e, t, n) {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
function Vt(...e) {
|
|
1809
1809
|
const [t, n, s] = e, l = re();
|
|
1810
|
-
if (!
|
|
1810
|
+
if (!Z(t) && !ge(t) && !Te(t) && !ot(t))
|
|
1811
1811
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1812
1812
|
const a = ge(t) ? String(t) : (Te(t), t);
|
|
1813
|
-
return ge(n) ? l.plural = n :
|
|
1813
|
+
return ge(n) ? l.plural = n : Z(n) ? l.default = n : ee(n) && !Ct(n) ? l.named = n : be(n) && (l.list = n), ge(s) ? l.plural = s : Z(s) ? l.default = s : ee(s) && Ie(l, s), [a, l];
|
|
1814
1814
|
}
|
|
1815
1815
|
function vo(e, t, n, s, l, a) {
|
|
1816
1816
|
return {
|
|
@@ -1820,18 +1820,18 @@ function vo(e, t, n, s, l, a) {
|
|
|
1820
1820
|
onError: (d) => {
|
|
1821
1821
|
throw a && a(d), d;
|
|
1822
1822
|
},
|
|
1823
|
-
onCacheKey: (d) =>
|
|
1823
|
+
onCacheKey: (d) => ws(t, n, d)
|
|
1824
1824
|
};
|
|
1825
1825
|
}
|
|
1826
1826
|
function ho(e, t, n, s) {
|
|
1827
|
-
const { modifiers: l, pluralRules: a, messageResolver: d, fallbackLocale: u, fallbackWarn: i, missingWarn: g, fallbackContext: E } = e,
|
|
1827
|
+
const { modifiers: l, pluralRules: a, messageResolver: d, fallbackLocale: u, fallbackWarn: i, missingWarn: g, fallbackContext: E } = e, N = {
|
|
1828
1828
|
locale: t,
|
|
1829
1829
|
modifiers: l,
|
|
1830
1830
|
pluralRules: a,
|
|
1831
|
-
messages: (F,
|
|
1832
|
-
let
|
|
1833
|
-
if (
|
|
1834
|
-
const [, ,
|
|
1831
|
+
messages: (F, D) => {
|
|
1832
|
+
let L = d(n, F);
|
|
1833
|
+
if (L == null && (E || D)) {
|
|
1834
|
+
const [, , w] = ts(
|
|
1835
1835
|
E || e,
|
|
1836
1836
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1837
1837
|
F,
|
|
@@ -1840,21 +1840,21 @@ function ho(e, t, n, s) {
|
|
|
1840
1840
|
i,
|
|
1841
1841
|
g
|
|
1842
1842
|
);
|
|
1843
|
-
|
|
1843
|
+
L = d(w, F);
|
|
1844
1844
|
}
|
|
1845
|
-
if (
|
|
1846
|
-
let
|
|
1847
|
-
const h = ns(e, F, t,
|
|
1848
|
-
|
|
1845
|
+
if (Z(L) || ot(L)) {
|
|
1846
|
+
let w = !1;
|
|
1847
|
+
const h = ns(e, F, t, L, F, () => {
|
|
1848
|
+
w = !0;
|
|
1849
1849
|
});
|
|
1850
|
-
return
|
|
1851
|
-
} else return Te(
|
|
1850
|
+
return w ? Tn : h;
|
|
1851
|
+
} else return Te(L) ? L : Tn;
|
|
1852
1852
|
}
|
|
1853
1853
|
};
|
|
1854
|
-
return e.processor && (
|
|
1854
|
+
return e.processor && (N.processor = e.processor), s.list && (N.list = s.list), s.named && (N.named = s.named), ge(s.plural) && (N.pluralIndex = s.plural), N;
|
|
1855
1855
|
}
|
|
1856
1856
|
fr();
|
|
1857
|
-
var bo = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c8331709-fb33-4284-b4b8-b75a51ad884c", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c8331709-fb33-4284-b4b8-b75a51ad884c", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.6.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1809", ACTIONS_ORCHESTRATION_ID: "d71cf336-8cdc-45ab-b88c-1c130f7a97f0.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260720.247.2", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_c8331709-fb33-4284-b4b8-b75a51ad884c", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12462", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "31774686028", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d13aab1a2f5b81009eae2f0f109586b62a3e1061", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9kZXZcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3ODY3MDkyODQsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc4NjY4NzA4NCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImRhYTAyZDE1LWRkYWUtNTlkZS1iN2M4LWU2YTJlODNiYTFmOCIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiOWNiZWRmOTgzY2E1NTgxNDMyNmM4OTMzYjBhMjMzOWMzMTBhYTdjOSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc4NjY4Njc4NCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI5NDY4NzU4MDgzNVwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiOWNiZWRmOTgzY2E1NTgxNDMyNmM4OTMzYjBhMjMzOWMzMTBhYTdjOVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIzMTc3NDY4NjAyOFwiLFwicnVuX251bWJlclwiOlwiMTU3XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiZDEzYWFiMWEyZjViODEwMDllYWUyZjBmMTA5NTg2YjYyYTNlMTA2MVwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJ3b3JrZmxvd19zaGFcIjpcImQxM2FhYjFhMmY1YjgxMDA5ZWFlMmYwZjEwOTU4NmI2MmEzZTEwNjFcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2RldiIsIm9yY2hfaWQiOiJkNzFjZjMzNi04Y2RjLTQ1YWItYjg4Yy0xYzEzMGY3YTk3ZjAucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImQ3MWNmMzM2LThjZGMtNDVhYi1iODhjLTFjMTMwZjdhOTdmMCIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjMxNzc0Njg2MDI4IiwicnVuX251bWJlciI6IjE1NyIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAxMTA2MDciLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czpkNzFjZjMzNi04Y2RjLTQ1YWItYjg4Yy0xYzEzMGY3YTk3ZjA6ZGFhMDJkMTUtZGRhZS01OWRlLWI3YzgtZTZhMmU4M2JhMWY4IEFjdGlvbnMuUnVubmVyOmQ3MWNmMzM2LThjZGMtNDVhYi1iODhjLTFjMTMwZjdhOTdmMDpkYWEwMmQxNS1kZGFlLTU5ZGUtYjdjOC1lNmEyZTgzYmExZjggQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6ZDcxY2YzMzYtOGNkYy00NWFiLWI4OGMtMWMxMzBmN2E5N2YwOmRhYTAyZDE1LWRkYWUtNTlkZS1iN2M4LWU2YTJlODNiYTFmOCBnZW5lcmF0ZV9pZF90b2tlbjpkNzFjZjMzNi04Y2RjLTQ1YWItYjg4Yy0xYzEzMGY3YTk3ZjA6ZGFhMDJkMTUtZGRhZS01OWRlLWI3YzgtZTZhMmU4M2JhMWY4IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiZDEzYWFiMWEyZjViODEwMDllYWUyZjBmMTA5NTg2YjYyYTNlMTA2MSIsInRydXN0X3RpZXIiOiIxIn0.qP02AuMdalvs4ozVp-0QzqA-8A53I4-c0h1UzUeBviyEZOXFgw8iUcRQNqh0H7FSmcjrJI02eOgzWTdssr5O8Ju5lx6UxR6L-wyIrFQuC1WRxIGVtV9JQIbKaoQl-yn3sLFl8z_AIv0sxhAKA4SeJumcJ-pjG5XN1bTrczkYceS59FiiJCHhWB5TNx-TaRrDpV8bQ7WpHpK545IO-j31TzAsJ_PIbyviNsvRtD7nESii41ej7vam91AA0BB_zvMsAdRE0mJI558RcxA9SGKeZBZKC30b_6DxgkIC-jVvVq8VLGc-6Cy-HqlCDIMw0B51avLowa6E044OMvK1TaRRIw", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_caf51f28-9d9b-4654-b495-a6467684a551", INVOCATION_ID: "2cdc199e7c644e2ca1c67f9ba5c2ca86", 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: "157", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000110607", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.2.1-dev.3", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "d13aab1a2f5b81009eae2f0f109586b62a3e1061", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c8331709-fb33-4284-b4b8-b75a51ad884c", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/6//idtoken/d71cf336-8cdc-45ab-b88c-1c130f7a97f0/daa02d15-ddae-59de-b7c8-e6a2e83ba1f8?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c8331709-fb33-4284-b4b8-b75a51ad884c", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_c8331709-fb33-4284-b4b8-b75a51ad884c", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c8331709-fb33-4284-b4b8-b75a51ad884c", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1857
|
+
var bo = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3bc0070b-b30e-421d-9644-7c6ab8ad18ac", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3bc0070b-b30e-421d-9644-7c6ab8ad18ac", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1785", ACTIONS_ORCHESTRATION_ID: "d7a935df-df88-43b4-bb4e-14610cd84d06.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_3bc0070b-b30e-421d-9644-7c6ab8ad18ac", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12282", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "31793359438", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9bcaecaa2642b4174acee1af08cdadd5edd8dfe0", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9kZXZcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3ODY3MjY0MTcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc4NjcwNDIxOCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjhmNDI1YTQyLWNjZjYtNTkyMi1iOTgxLTFmNzQxZTFkOGY3MyIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiY2U4OTEyNmYxNGVkNDBkNDgwMDViMmI4MThiOTU2MWFhNDZiOTUzZCIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc4NjcwMzkxOCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI5NDc0NDk2OTY2N1wiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiY2U4OTEyNmYxNGVkNDBkNDgwMDViMmI4MThiOTU2MWFhNDZiOTUzZFwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIzMTc5MzM1OTQzOFwiLFwicnVuX251bWJlclwiOlwiMTU4XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiOWJjYWVjYWEyNjQyYjQxNzRhY2VlMWFmMDhjZGFkZDVlZGQ4ZGZlMFwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJ3b3JrZmxvd19zaGFcIjpcIjliY2FlY2FhMjY0MmI0MTc0YWNlZTFhZjA4Y2RhZGQ1ZWRkOGRmZTBcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2RldiIsIm9yY2hfaWQiOiJkN2E5MzVkZi1kZjg4LTQzYjQtYmI0ZS0xNDYxMGNkODRkMDYucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImQ3YTkzNWRmLWRmODgtNDNiNC1iYjRlLTE0NjEwY2Q4NGQwNiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjMxNzkzMzU5NDM4IiwicnVuX251bWJlciI6IjE1OCIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAxMTA5NjkiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czpkN2E5MzVkZi1kZjg4LTQzYjQtYmI0ZS0xNDYxMGNkODRkMDY6OGY0MjVhNDItY2NmNi01OTIyLWI5ODEtMWY3NDFlMWQ4ZjczIEFjdGlvbnMuUnVubmVyOmQ3YTkzNWRmLWRmODgtNDNiNC1iYjRlLTE0NjEwY2Q4NGQwNjo4ZjQyNWE0Mi1jY2Y2LTU5MjItYjk4MS0xZjc0MWUxZDhmNzMgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6ZDdhOTM1ZGYtZGY4OC00M2I0LWJiNGUtMTQ2MTBjZDg0ZDA2OjhmNDI1YTQyLWNjZjYtNTkyMi1iOTgxLTFmNzQxZTFkOGY3MyBnZW5lcmF0ZV9pZF90b2tlbjpkN2E5MzVkZi1kZjg4LTQzYjQtYmI0ZS0xNDYxMGNkODRkMDY6OGY0MjVhNDItY2NmNi01OTIyLWI5ODEtMWY3NDFlMWQ4ZjczIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiOWJjYWVjYWEyNjQyYjQxNzRhY2VlMWFmMDhjZGFkZDVlZGQ4ZGZlMCIsInRydXN0X3RpZXIiOiIxIn0.l_BZguDJGV0jNQbfukwnkGKpQUvb6AFsYTtKee0ZpaPx9yH1KLBpTYoy1HxHekNLztjtDBc1sLnmerlpiSrYqkrRW_4QJpWgQktiO76fehH_km36ugfZuVd8-6CJte48RC6vtDYsHLqz_qxAURM2aUaxc2lWbzE21yJRtF_oriQATW9IO3mzKqIAIh_H5RFFpKqATmI66S_pJZs2tjg01_sEVbBFsVDFMzU2TEgB8cG4NOxAQjD7GTKm4TbdT4mWIsMtk2ntuVTlgo8h1A8KB1Z13X7tqz26sVBmdWxekhE2u9IfAdx5ZTaHbSg6U8vlE1_mcI1Uq-sDXgNJk_wOiw", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fbdbc6d3-4a52-4052-85b7-7b15488a19ba", INVOCATION_ID: "6ec1f11dec024195877fce64267dbdf8", 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: "158", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000110969", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.2.1-dev.4", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "9bcaecaa2642b4174acee1af08cdadd5edd8dfe0", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_3bc0070b-b30e-421d-9644-7c6ab8ad18ac", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/168//idtoken/d7a935df-df88-43b4-bb4e-14610cd84d06/8f425a42-ccf6-5922-b981-1f741e1d8f73?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3bc0070b-b30e-421d-9644-7c6ab8ad18ac", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_3bc0070b-b30e-421d-9644-7c6ab8ad18ac", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3bc0070b-b30e-421d-9644-7c6ab8ad18ac", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1858
1858
|
const go = "10.0.5";
|
|
1859
1859
|
function Io() {
|
|
1860
1860
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Xe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Xe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Xe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Xe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1875,7 +1875,7 @@ const at = {
|
|
|
1875
1875
|
function ut(e, ...t) {
|
|
1876
1876
|
return Tt(e, null, void 0);
|
|
1877
1877
|
}
|
|
1878
|
-
const xt = /* @__PURE__ */ $e("__translateVNode"), Wt = /* @__PURE__ */ $e("__datetimeParts"), Gt = /* @__PURE__ */ $e("__numberParts"), Eo = $e("__setPluralRules"), ss = /* @__PURE__ */ $e("__injectWithOption"),
|
|
1878
|
+
const xt = /* @__PURE__ */ $e("__translateVNode"), Wt = /* @__PURE__ */ $e("__datetimeParts"), Gt = /* @__PURE__ */ $e("__numberParts"), Eo = $e("__setPluralRules"), ss = /* @__PURE__ */ $e("__injectWithOption"), Zt = /* @__PURE__ */ $e("__dispose");
|
|
1879
1879
|
function dt(e) {
|
|
1880
1880
|
if (!te(e))
|
|
1881
1881
|
return e;
|
|
@@ -1904,7 +1904,7 @@ function rs(e, t) {
|
|
|
1904
1904
|
const { locale: i, resource: g } = u;
|
|
1905
1905
|
i ? (d[i] = d[i] || re(), Et(g, d[i])) : Et(g, d);
|
|
1906
1906
|
} else
|
|
1907
|
-
|
|
1907
|
+
Z(u) && Et(JSON.parse(u), d);
|
|
1908
1908
|
}), l == null && a)
|
|
1909
1909
|
for (const u in d)
|
|
1910
1910
|
Se(d, u) && dt(d[u]);
|
|
@@ -1941,12 +1941,12 @@ function yo(e, t, n) {
|
|
|
1941
1941
|
function Rn(e) {
|
|
1942
1942
|
return ue(fs, null, e, 0);
|
|
1943
1943
|
}
|
|
1944
|
-
const Sn = "__INTLIFY_META__",
|
|
1945
|
-
let
|
|
1946
|
-
function
|
|
1944
|
+
const Sn = "__INTLIFY_META__", Ln = () => [], No = () => !1;
|
|
1945
|
+
let kn = 0;
|
|
1946
|
+
function An(e) {
|
|
1947
1947
|
return (t, n, s, l) => e(n, s, Bt() || void 0, l);
|
|
1948
1948
|
}
|
|
1949
|
-
const
|
|
1949
|
+
const Co = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1950
1950
|
const e = Bt();
|
|
1951
1951
|
let t = null;
|
|
1952
1952
|
return e && (t = os(e)[Sn]) ? { [Sn]: t } : null;
|
|
@@ -1956,12 +1956,12 @@ function To(e = {}) {
|
|
|
1956
1956
|
let d = ve(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1957
1957
|
const u = a(
|
|
1958
1958
|
// prettier-ignore
|
|
1959
|
-
t && d ? t.locale.value :
|
|
1959
|
+
t && d ? t.locale.value : Z(e.locale) ? e.locale : Nt
|
|
1960
1960
|
), i = a(
|
|
1961
1961
|
// prettier-ignore
|
|
1962
|
-
t && d ? t.fallbackLocale.value :
|
|
1962
|
+
t && d ? t.fallbackLocale.value : Z(e.fallbackLocale) || be(e.fallbackLocale) || ee(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1963
1963
|
), g = a(rs(u.value, e)), E = a(ee(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), T = a(ee(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1964
|
-
let
|
|
1964
|
+
let N = t ? t.missingWarn : ve(e.missingWarn) || yt(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : ve(e.fallbackWarn) || yt(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : ve(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, w = me(e.missing) ? e.missing : null, f = me(e.missing) ? An(e.missing) : null, h = me(e.postTranslation) ? e.postTranslation : null, R = t ? t.warnHtmlMessage : ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, c = !!e.escapeParameter;
|
|
1965
1965
|
const b = t ? t.modifiers : ee(e.modifiers) ? e.modifiers : {};
|
|
1966
1966
|
let I = e.pluralRules || t && t.pluralRules, p;
|
|
1967
1967
|
p = (() => {
|
|
@@ -1974,9 +1974,9 @@ function To(e = {}) {
|
|
|
1974
1974
|
modifiers: b,
|
|
1975
1975
|
pluralRules: I,
|
|
1976
1976
|
missing: f === null ? void 0 : f,
|
|
1977
|
-
missingWarn:
|
|
1977
|
+
missingWarn: N,
|
|
1978
1978
|
fallbackWarn: F,
|
|
1979
|
-
fallbackFormat:
|
|
1979
|
+
fallbackFormat: L,
|
|
1980
1980
|
unresolving: !0,
|
|
1981
1981
|
postTranslation: h === null ? void 0 : h,
|
|
1982
1982
|
warnHtmlMessage: R,
|
|
@@ -2008,7 +2008,7 @@ function To(e = {}) {
|
|
|
2008
2008
|
set: (v) => {
|
|
2009
2009
|
i.value = v, p.fallbackLocale = i.value, lt(p, u.value, v);
|
|
2010
2010
|
}
|
|
2011
|
-
}), m = z(() => g.value),
|
|
2011
|
+
}), m = z(() => g.value), C = /* @__PURE__ */ z(() => E.value), U = /* @__PURE__ */ z(() => T.value);
|
|
2012
2012
|
function V() {
|
|
2013
2013
|
return me(h) ? h : null;
|
|
2014
2014
|
}
|
|
@@ -2016,12 +2016,12 @@ function To(e = {}) {
|
|
|
2016
2016
|
h = v, p.postTranslation = v;
|
|
2017
2017
|
}
|
|
2018
2018
|
function G() {
|
|
2019
|
-
return
|
|
2019
|
+
return w;
|
|
2020
2020
|
}
|
|
2021
2021
|
function W(v) {
|
|
2022
|
-
v !== null && (f =
|
|
2022
|
+
v !== null && (f = An(v)), w = v, p.missing = f;
|
|
2023
2023
|
}
|
|
2024
|
-
const
|
|
2024
|
+
const Y = (v, y, $, le, Be, mt) => {
|
|
2025
2025
|
S();
|
|
2026
2026
|
let ze;
|
|
2027
2027
|
try {
|
|
@@ -2032,7 +2032,7 @@ function To(e = {}) {
|
|
|
2032
2032
|
if ($ !== "translate exists" && // for not `te` (e.g `t`)
|
|
2033
2033
|
ge(ze) && ze === Ot || $ === "translate exists" && !ze) {
|
|
2034
2034
|
const [cs, ya] = y();
|
|
2035
|
-
return t &&
|
|
2035
|
+
return t && D ? le(t) : Be(cs);
|
|
2036
2036
|
} else {
|
|
2037
2037
|
if (mt(ze))
|
|
2038
2038
|
return ze;
|
|
@@ -2040,7 +2040,7 @@ function To(e = {}) {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
};
|
|
2042
2042
|
function B(...v) {
|
|
2043
|
-
return
|
|
2043
|
+
return Y((y) => Reflect.apply(On, null, [y, ...v]), () => Vt(...v), "translate", (y) => Reflect.apply(y.t, y, [...v]), (y) => y, (y) => Z(y));
|
|
2044
2044
|
}
|
|
2045
2045
|
function ne(...v) {
|
|
2046
2046
|
const [y, $, le] = v;
|
|
@@ -2049,13 +2049,13 @@ function To(e = {}) {
|
|
|
2049
2049
|
return B(y, $, Ie({ resolvedMessage: !0 }, le || {}));
|
|
2050
2050
|
}
|
|
2051
2051
|
function Q(...v) {
|
|
2052
|
-
return
|
|
2052
|
+
return Y((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => Reflect.apply(y.d, y, [...v]), () => vn, (y) => Z(y));
|
|
2053
2053
|
}
|
|
2054
2054
|
function _e(...v) {
|
|
2055
|
-
return
|
|
2055
|
+
return Y((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => Reflect.apply(y.n, y, [...v]), () => vn, (y) => Z(y));
|
|
2056
2056
|
}
|
|
2057
2057
|
function ce(v) {
|
|
2058
|
-
return v.map((y) =>
|
|
2058
|
+
return v.map((y) => Z(y) || ge(y) || ve(y) ? Rn(String(y)) : y);
|
|
2059
2059
|
}
|
|
2060
2060
|
const fe = {
|
|
2061
2061
|
normalize: ce,
|
|
@@ -2063,7 +2063,7 @@ function To(e = {}) {
|
|
|
2063
2063
|
type: "vnode"
|
|
2064
2064
|
};
|
|
2065
2065
|
function q(...v) {
|
|
2066
|
-
return
|
|
2066
|
+
return Y((y) => {
|
|
2067
2067
|
let $;
|
|
2068
2068
|
const le = y;
|
|
2069
2069
|
try {
|
|
@@ -2074,22 +2074,22 @@ function To(e = {}) {
|
|
|
2074
2074
|
return $;
|
|
2075
2075
|
}, () => Vt(...v), "translate", (y) => y[xt](...v), (y) => [Rn(y)], (y) => be(y));
|
|
2076
2076
|
}
|
|
2077
|
-
function
|
|
2078
|
-
return
|
|
2077
|
+
function we(...v) {
|
|
2078
|
+
return Y((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => y[Gt](...v), Ln, (y) => Z(y) || be(y));
|
|
2079
2079
|
}
|
|
2080
2080
|
function K(...v) {
|
|
2081
|
-
return
|
|
2081
|
+
return Y((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => y[Wt](...v), Ln, (y) => Z(y) || be(y));
|
|
2082
2082
|
}
|
|
2083
2083
|
function pe(v) {
|
|
2084
2084
|
I = v, p.pluralRules = I;
|
|
2085
2085
|
}
|
|
2086
2086
|
function Je(v, y) {
|
|
2087
|
-
return
|
|
2087
|
+
return Y(() => {
|
|
2088
2088
|
if (!v)
|
|
2089
2089
|
return !1;
|
|
2090
|
-
const $ =
|
|
2091
|
-
return ot(Be) || Te(Be) ||
|
|
2092
|
-
}, () => [v], "translate exists", ($) => Reflect.apply($.te, $, [v, y]),
|
|
2090
|
+
const $ = Z(y) ? y : u.value, le = Fe($), Be = p.messageResolver(le, v);
|
|
2091
|
+
return ot(Be) || Te(Be) || Z(Be);
|
|
2092
|
+
}, () => [v], "translate exists", ($) => Reflect.apply($.te, $, [v, y]), No, ($) => ve($));
|
|
2093
2093
|
}
|
|
2094
2094
|
function Ke(v) {
|
|
2095
2095
|
let y = null;
|
|
@@ -2110,7 +2110,7 @@ function To(e = {}) {
|
|
|
2110
2110
|
function Fe(v) {
|
|
2111
2111
|
return g.value[v] || {};
|
|
2112
2112
|
}
|
|
2113
|
-
function
|
|
2113
|
+
function Ce(v, y) {
|
|
2114
2114
|
if (l) {
|
|
2115
2115
|
const $ = { [v]: y };
|
|
2116
2116
|
for (const le in $)
|
|
@@ -2119,7 +2119,7 @@ function To(e = {}) {
|
|
|
2119
2119
|
}
|
|
2120
2120
|
g.value[v] = y, p.messages = g.value;
|
|
2121
2121
|
}
|
|
2122
|
-
function
|
|
2122
|
+
function Ye(v, y) {
|
|
2123
2123
|
g.value[v] = g.value[v] || {};
|
|
2124
2124
|
const $ = { [v]: y };
|
|
2125
2125
|
if (l)
|
|
@@ -2139,19 +2139,19 @@ function To(e = {}) {
|
|
|
2139
2139
|
function _(v) {
|
|
2140
2140
|
return T.value[v] || {};
|
|
2141
2141
|
}
|
|
2142
|
-
function
|
|
2143
|
-
T.value[v] = y, p.numberFormats = T.value,
|
|
2142
|
+
function k(v, y) {
|
|
2143
|
+
T.value[v] = y, p.numberFormats = T.value, Nn(p, v, y);
|
|
2144
2144
|
}
|
|
2145
2145
|
function M(v, y) {
|
|
2146
|
-
T.value[v] = Ie(T.value[v] || {}, y), p.numberFormats = T.value,
|
|
2146
|
+
T.value[v] = Ie(T.value[v] || {}, y), p.numberFormats = T.value, Nn(p, v, y);
|
|
2147
2147
|
}
|
|
2148
|
-
|
|
2148
|
+
kn++, t && on && (Dt(t.locale, (v) => {
|
|
2149
2149
|
d && (u.value = v, p.locale = v, lt(p, u.value, i.value));
|
|
2150
|
-
}),
|
|
2150
|
+
}), Dt(t.fallbackLocale, (v) => {
|
|
2151
2151
|
d && (i.value = v, p.fallbackLocale = v, lt(p, u.value, i.value));
|
|
2152
2152
|
}));
|
|
2153
2153
|
const P = {
|
|
2154
|
-
id:
|
|
2154
|
+
id: kn,
|
|
2155
2155
|
locale: X,
|
|
2156
2156
|
fallbackLocale: x,
|
|
2157
2157
|
get inheritLocale() {
|
|
@@ -2174,10 +2174,10 @@ function To(e = {}) {
|
|
|
2174
2174
|
return s;
|
|
2175
2175
|
},
|
|
2176
2176
|
get missingWarn() {
|
|
2177
|
-
return
|
|
2177
|
+
return N;
|
|
2178
2178
|
},
|
|
2179
2179
|
set missingWarn(v) {
|
|
2180
|
-
|
|
2180
|
+
N = v, p.missingWarn = N;
|
|
2181
2181
|
},
|
|
2182
2182
|
get fallbackWarn() {
|
|
2183
2183
|
return F;
|
|
@@ -2186,16 +2186,16 @@ function To(e = {}) {
|
|
|
2186
2186
|
F = v, p.fallbackWarn = F;
|
|
2187
2187
|
},
|
|
2188
2188
|
get fallbackRoot() {
|
|
2189
|
-
return
|
|
2189
|
+
return D;
|
|
2190
2190
|
},
|
|
2191
2191
|
set fallbackRoot(v) {
|
|
2192
|
-
|
|
2192
|
+
D = v;
|
|
2193
2193
|
},
|
|
2194
2194
|
get fallbackFormat() {
|
|
2195
|
-
return
|
|
2195
|
+
return L;
|
|
2196
2196
|
},
|
|
2197
2197
|
set fallbackFormat(v) {
|
|
2198
|
-
|
|
2198
|
+
L = v, p.fallbackFormat = L;
|
|
2199
2199
|
},
|
|
2200
2200
|
get warnHtmlMessage() {
|
|
2201
2201
|
return R;
|
|
@@ -2211,15 +2211,15 @@ function To(e = {}) {
|
|
|
2211
2211
|
},
|
|
2212
2212
|
t: B,
|
|
2213
2213
|
getLocaleMessage: Fe,
|
|
2214
|
-
setLocaleMessage:
|
|
2215
|
-
mergeLocaleMessage:
|
|
2214
|
+
setLocaleMessage: Ce,
|
|
2215
|
+
mergeLocaleMessage: Ye,
|
|
2216
2216
|
getPostTranslationHandler: V,
|
|
2217
2217
|
setPostTranslationHandler: j,
|
|
2218
2218
|
getMissingHandler: G,
|
|
2219
2219
|
setMissingHandler: W,
|
|
2220
2220
|
[Eo]: pe
|
|
2221
2221
|
};
|
|
2222
|
-
return P.datetimeFormats =
|
|
2222
|
+
return P.datetimeFormats = C, P.numberFormats = U, P.rt = ne, P.te = Je, P.tm = Ve, P.d = Q, P.n = _e, P.getDateTimeFormat = O, P.setDateTimeFormat = r, P.mergeDateTimeFormat = o, P.getNumberFormat = _, P.setNumberFormat = k, P.mergeNumberFormat = M, P[ss] = n, P[xt] = q, P[Wt] = K, P[Gt] = we, P;
|
|
2223
2223
|
}
|
|
2224
2224
|
const qt = {
|
|
2225
2225
|
tag: {
|
|
@@ -2243,14 +2243,14 @@ function Oo({ slots: e }, t) {
|
|
|
2243
2243
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2244
2244
|
...s,
|
|
2245
2245
|
// prettier-ignore
|
|
2246
|
-
...l.type ===
|
|
2246
|
+
...l.type === Ae ? l.children : [l]
|
|
2247
2247
|
], []) : t.reduce((n, s) => {
|
|
2248
2248
|
const l = e[s];
|
|
2249
2249
|
return l && (n[s] = l()), n;
|
|
2250
2250
|
}, re());
|
|
2251
2251
|
}
|
|
2252
2252
|
function as() {
|
|
2253
|
-
return
|
|
2253
|
+
return Ae;
|
|
2254
2254
|
}
|
|
2255
2255
|
Ie({
|
|
2256
2256
|
keypath: {
|
|
@@ -2263,21 +2263,21 @@ Ie({
|
|
|
2263
2263
|
}
|
|
2264
2264
|
}, qt);
|
|
2265
2265
|
function Ro(e) {
|
|
2266
|
-
return be(e) && !
|
|
2266
|
+
return be(e) && !Z(e[0]);
|
|
2267
2267
|
}
|
|
2268
2268
|
function ls(e, t, n, s) {
|
|
2269
2269
|
const { slots: l, attrs: a } = t;
|
|
2270
2270
|
return () => {
|
|
2271
2271
|
const d = { part: !0 };
|
|
2272
2272
|
let u = re();
|
|
2273
|
-
e.locale && (d.locale = e.locale),
|
|
2273
|
+
e.locale && (d.locale = e.locale), Z(e.format) ? d.key = e.format : te(e.format) && (Z(e.format.key) && (d.key = e.format.key), u = Object.keys(e.format).reduce((N, F) => n.includes(F) ? Ie(re(), N, { [F]: e.format[F] }) : N, re()));
|
|
2274
2274
|
const i = s(e.value, d, u);
|
|
2275
2275
|
let g = [d.key];
|
|
2276
|
-
be(i) ? g = i.map((
|
|
2277
|
-
const
|
|
2278
|
-
return Ro(
|
|
2279
|
-
}) :
|
|
2280
|
-
const E = Ie(re(), a), T =
|
|
2276
|
+
be(i) ? g = i.map((N, F) => {
|
|
2277
|
+
const D = l[N.type], L = D ? D({ [N.type]: N.value, index: F, parts: i }) : [N.value];
|
|
2278
|
+
return Ro(L) && (L[0].key = `${N.type}-${F}`), L;
|
|
2279
|
+
}) : Z(i) && (g = [i]);
|
|
2280
|
+
const E = Ie(re(), a), T = Z(e.tag) || te(e.tag) ? e.tag : as();
|
|
2281
2281
|
return Wn(T, E, g);
|
|
2282
2282
|
};
|
|
2283
2283
|
}
|
|
@@ -2306,7 +2306,7 @@ function Rt(e = {}) {
|
|
|
2306
2306
|
throw ut(at.MUST_BE_CALL_SETUP_TOP);
|
|
2307
2307
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2308
2308
|
throw ut(at.NOT_INSTALLED);
|
|
2309
|
-
const n =
|
|
2309
|
+
const n = Lo(t), s = Ao(n), l = os(t), a = ko(e, l);
|
|
2310
2310
|
if (a === "global")
|
|
2311
2311
|
return yo(s, e, l), s;
|
|
2312
2312
|
if (a === "parent") {
|
|
@@ -2317,26 +2317,26 @@ function Rt(e = {}) {
|
|
|
2317
2317
|
let u = d.__getInstance(t);
|
|
2318
2318
|
if (u == null) {
|
|
2319
2319
|
const i = Ie({}, e);
|
|
2320
|
-
"__i18n" in l && (i.__i18n = l.__i18n), s && (i.__root = s), u = To(i), d.__composerExtend && (u[
|
|
2320
|
+
"__i18n" in l && (i.__i18n = l.__i18n), s && (i.__root = s), u = To(i), d.__composerExtend && (u[Zt] = d.__composerExtend(u)), wo(d, t, u), d.__setInstance(t, u);
|
|
2321
2321
|
}
|
|
2322
2322
|
return u;
|
|
2323
2323
|
}
|
|
2324
|
-
function
|
|
2324
|
+
function Lo(e) {
|
|
2325
2325
|
const t = us(e.isCE ? So : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2326
2326
|
if (!t)
|
|
2327
2327
|
throw ut(e.isCE ? at.NOT_INSTALLED_WITH_PROVIDE : at.UNEXPECTED_ERROR);
|
|
2328
2328
|
return t;
|
|
2329
2329
|
}
|
|
2330
|
-
function
|
|
2331
|
-
return
|
|
2330
|
+
function ko(e, t) {
|
|
2331
|
+
return Ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function Ao(e) {
|
|
2334
2334
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
2335
2335
|
}
|
|
2336
2336
|
function Mo(e, t, n = !1) {
|
|
2337
2337
|
let s = null;
|
|
2338
2338
|
const l = t.root;
|
|
2339
|
-
let a =
|
|
2339
|
+
let a = Do(t, n);
|
|
2340
2340
|
for (; a != null; ) {
|
|
2341
2341
|
const d = e;
|
|
2342
2342
|
if (e.mode === "composition")
|
|
@@ -2351,27 +2351,27 @@ function Mo(e, t, n = !1) {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
return s;
|
|
2353
2353
|
}
|
|
2354
|
-
function
|
|
2354
|
+
function Do(e, t = !1) {
|
|
2355
2355
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2356
2356
|
}
|
|
2357
|
-
function
|
|
2357
|
+
function wo(e, t, n) {
|
|
2358
2358
|
xn(() => {
|
|
2359
2359
|
}, t), ms(() => {
|
|
2360
2360
|
const s = n;
|
|
2361
2361
|
e.__deleteInstance(t);
|
|
2362
|
-
const l = s[
|
|
2363
|
-
l && (l(), delete s[
|
|
2362
|
+
const l = s[Zt];
|
|
2363
|
+
l && (l(), delete s[Zt]);
|
|
2364
2364
|
}, t);
|
|
2365
2365
|
}
|
|
2366
2366
|
Io();
|
|
2367
|
-
Kr(
|
|
2367
|
+
Kr(Ar);
|
|
2368
2368
|
zr(Hr);
|
|
2369
2369
|
Qr(Hn);
|
|
2370
2370
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2371
2371
|
const e = Xe();
|
|
2372
2372
|
e.__INTLIFY__ = !0, Mr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2373
2373
|
}
|
|
2374
|
-
const vt = /* @__PURE__ */
|
|
2374
|
+
const vt = /* @__PURE__ */ Le({
|
|
2375
2375
|
__name: "InheritPermissionTooltip",
|
|
2376
2376
|
props: {
|
|
2377
2377
|
item: {
|
|
@@ -2382,15 +2382,15 @@ const vt = /* @__PURE__ */ Ae({
|
|
|
2382
2382
|
setup(e) {
|
|
2383
2383
|
const { t } = Rt();
|
|
2384
2384
|
return (n, s) => {
|
|
2385
|
-
const l =
|
|
2386
|
-
return J(),
|
|
2385
|
+
const l = De("FmIcon"), a = De("FmTooltip");
|
|
2386
|
+
return J(), Ne(a, {
|
|
2387
2387
|
variant: "plain",
|
|
2388
2388
|
placement: "right",
|
|
2389
2389
|
"z-index": 50
|
|
2390
2390
|
}, {
|
|
2391
2391
|
content: de(() => [
|
|
2392
2392
|
ae("div", null, Oe(H(t)("team.memberForm.permissions.inherited")), 1),
|
|
2393
|
-
(J(!0), ie(
|
|
2393
|
+
(J(!0), ie(Ae, null, ye(e.item.setNames, (d) => (J(), ie("div", { key: d }, [
|
|
2394
2394
|
ae("div", null, "- " + Oe(d), 1)
|
|
2395
2395
|
]))), 128))
|
|
2396
2396
|
]),
|
|
@@ -2420,7 +2420,7 @@ function Mn(e, t, n) {
|
|
|
2420
2420
|
actions: Array.from(a)
|
|
2421
2421
|
});
|
|
2422
2422
|
}
|
|
2423
|
-
const
|
|
2423
|
+
const Dn = Object.values(Rs), Fo = {
|
|
2424
2424
|
read: "View",
|
|
2425
2425
|
create: "Duplicate",
|
|
2426
2426
|
update: "Edit"
|
|
@@ -2428,28 +2428,28 @@ const wn = Object.values(Rs), Fo = {
|
|
|
2428
2428
|
function Po(e, t, n, s) {
|
|
2429
2429
|
const { t: l } = He(), { getFlagValue: a, getFlag: d } = Os(), u = z(() => {
|
|
2430
2430
|
var j;
|
|
2431
|
-
const m = /* @__PURE__ */ new Map(),
|
|
2431
|
+
const m = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
2432
2432
|
for (const G of t.value) {
|
|
2433
2433
|
const W = G.category;
|
|
2434
2434
|
if (!W) continue;
|
|
2435
|
-
const
|
|
2435
|
+
const Y = G.subject;
|
|
2436
2436
|
if (n.value.includes(G.subject) || G.showByFeatureFlag && ((j = d(G.showByFeatureFlag)) == null ? void 0 : j.enabled) === !1 && a(G.showByFeatureFlag) === "true")
|
|
2437
2437
|
continue;
|
|
2438
2438
|
m.has(W) || m.set(W, []);
|
|
2439
|
-
const B = U.get(
|
|
2440
|
-
U.set(
|
|
2441
|
-
label: l(`permissionSet.permissionLabels.${
|
|
2442
|
-
value:
|
|
2443
|
-
optionKey: `${
|
|
2444
|
-
}),
|
|
2439
|
+
const B = U.get(Y) ?? 0;
|
|
2440
|
+
U.set(Y, B + 1), m.get(W).push({
|
|
2441
|
+
label: l(`permissionSet.permissionLabels.${Y}`, G.label),
|
|
2442
|
+
value: Y,
|
|
2443
|
+
optionKey: `${Y}::${B}`
|
|
2444
|
+
}), C.has(Y) || C.set(Y, G);
|
|
2445
2445
|
}
|
|
2446
2446
|
return [...m.keys()].sort((G, W) => {
|
|
2447
|
-
const
|
|
2448
|
-
return
|
|
2447
|
+
const Y = Dn.indexOf(G), B = Dn.indexOf(W);
|
|
2448
|
+
return Y === -1 && B === -1 ? G.localeCompare(W) : Y === -1 ? 1 : B === -1 ? -1 : Y - B;
|
|
2449
2449
|
}).map((G) => {
|
|
2450
|
-
const W = m.get(G),
|
|
2450
|
+
const W = m.get(G), Y = l(`permissionSet.categoryLabels.${G}`, G), B = /* @__PURE__ */ new Map();
|
|
2451
2451
|
for (const K of W) {
|
|
2452
|
-
const pe =
|
|
2452
|
+
const pe = C.get(K.value);
|
|
2453
2453
|
pe && B.set(K.value, pe.actions);
|
|
2454
2454
|
}
|
|
2455
2455
|
const ne = W.some((K) => {
|
|
@@ -2466,11 +2466,11 @@ function Po(e, t, n, s) {
|
|
|
2466
2466
|
(K) => W.some((pe) => pe.value === K.subject) && !K.inverted && K.actions.includes("manage")
|
|
2467
2467
|
).map((K) => K.subject) : e.value.filter((K) => W.some((pe) => pe.value === K.subject) && !K.inverted).map((K) => K.subject), oe = W.find((K) => {
|
|
2468
2468
|
var pe;
|
|
2469
|
-
return (pe =
|
|
2470
|
-
}), fe = (oe == null ? void 0 : oe.value) ?? null, q = fe ? _e.get(fe) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(),
|
|
2469
|
+
return (pe = C.get(K.value)) == null ? void 0 : pe.isCategoryCover;
|
|
2470
|
+
}), fe = (oe == null ? void 0 : oe.value) ?? null, q = fe ? _e.get(fe) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), we = q.has("manage");
|
|
2471
2471
|
return {
|
|
2472
2472
|
category: G,
|
|
2473
|
-
label:
|
|
2473
|
+
label: Y,
|
|
2474
2474
|
options: W,
|
|
2475
2475
|
selectedSubjects: ce,
|
|
2476
2476
|
isMultiAction: ne,
|
|
@@ -2479,21 +2479,21 @@ function Po(e, t, n, s) {
|
|
|
2479
2479
|
selectedActionsMap: _e,
|
|
2480
2480
|
coverSubject: fe,
|
|
2481
2481
|
coverSelectedActions: q,
|
|
2482
|
-
coverCoversAll:
|
|
2482
|
+
coverCoversAll: we
|
|
2483
2483
|
};
|
|
2484
2484
|
});
|
|
2485
2485
|
});
|
|
2486
|
-
function i(m,
|
|
2487
|
-
const U = u.value.find((Q) => Q.category === m), V = (U == null ? void 0 : U.options) ?? [], j = new Set(V.map((Q) => Q.value)), G = new Set(
|
|
2486
|
+
function i(m, C) {
|
|
2487
|
+
const U = u.value.find((Q) => Q.category === m), V = (U == null ? void 0 : U.options) ?? [], j = new Set(V.map((Q) => Q.value)), G = new Set(C), W = /* @__PURE__ */ new Map();
|
|
2488
2488
|
for (const Q of e.value)
|
|
2489
2489
|
j.has(Q.subject) && !Q.inverted && W.set(Q.subject, Q.conditions);
|
|
2490
|
-
const
|
|
2490
|
+
const Y = U != null && U.coverSubject ? W.get(U.coverSubject) : void 0, B = /* @__PURE__ */ new Set(), ne = t.value.flatMap(
|
|
2491
2491
|
({ category: Q, showByFeatureFlag: _e, isCategoryCover: ce, ...oe }) => {
|
|
2492
2492
|
const fe = oe.subject;
|
|
2493
2493
|
if (!G.has(fe) || B.has(fe)) return [];
|
|
2494
2494
|
B.add(fe);
|
|
2495
2495
|
let q;
|
|
2496
|
-
return W.has(fe) ? q = W.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q =
|
|
2496
|
+
return W.has(fe) ? q = W.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q = Y), [
|
|
2497
2497
|
{ ...oe, ...q !== void 0 && { conditions: q } }
|
|
2498
2498
|
];
|
|
2499
2499
|
}
|
|
@@ -2503,29 +2503,29 @@ function Po(e, t, n, s) {
|
|
|
2503
2503
|
...ne
|
|
2504
2504
|
]);
|
|
2505
2505
|
}
|
|
2506
|
-
function g(m,
|
|
2507
|
-
return F(m,
|
|
2506
|
+
function g(m, C) {
|
|
2507
|
+
return F(m, C) || c(m, C);
|
|
2508
2508
|
}
|
|
2509
2509
|
function E(m) {
|
|
2510
|
-
return m.options.length > 0 && m.options.every((
|
|
2510
|
+
return m.options.length > 0 && m.options.every((C) => g(m, C.value));
|
|
2511
2511
|
}
|
|
2512
2512
|
function T(m) {
|
|
2513
2513
|
return m.options.length === 0 || E(m) ? !1 : m.options.some(
|
|
2514
|
-
(
|
|
2514
|
+
(C) => g(m, C.value) || D(m, C.value).length > 0
|
|
2515
2515
|
);
|
|
2516
2516
|
}
|
|
2517
|
-
function
|
|
2518
|
-
const
|
|
2517
|
+
function N(m) {
|
|
2518
|
+
const C = new Set(m.options.map((V) => V.value)), U = e.value.filter((V) => !C.has(V.subject));
|
|
2519
2519
|
if (E(m))
|
|
2520
2520
|
s("update:model-value", U);
|
|
2521
2521
|
else {
|
|
2522
2522
|
const V = /* @__PURE__ */ new Map();
|
|
2523
|
-
for (const
|
|
2524
|
-
|
|
2523
|
+
for (const Y of e.value)
|
|
2524
|
+
C.has(Y.subject) && !Y.inverted && V.set(Y.subject, Y.conditions);
|
|
2525
2525
|
const j = m.coverSubject ? V.get(m.coverSubject) : void 0, G = /* @__PURE__ */ new Set(), W = t.value.flatMap(
|
|
2526
|
-
({ category:
|
|
2526
|
+
({ category: Y, showByFeatureFlag: B, isCategoryCover: ne, ...Q }) => {
|
|
2527
2527
|
const _e = Q.subject;
|
|
2528
|
-
if (!
|
|
2528
|
+
if (!C.has(_e) || G.has(_e)) return [];
|
|
2529
2529
|
G.add(_e);
|
|
2530
2530
|
let ce;
|
|
2531
2531
|
return V.has(_e) ? ce = V.get(_e) : m.coverSubject && _e !== m.coverSubject && (ce = j), [
|
|
@@ -2536,123 +2536,123 @@ function Po(e, t, n, s) {
|
|
|
2536
2536
|
s("update:model-value", [...U, ...W]);
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
2539
|
-
function F(m,
|
|
2540
|
-
const U = m.selectedActionsMap.get(
|
|
2539
|
+
function F(m, C) {
|
|
2540
|
+
const U = m.selectedActionsMap.get(C);
|
|
2541
2541
|
return U ? U.has("manage") : !1;
|
|
2542
2542
|
}
|
|
2543
|
-
function
|
|
2544
|
-
const U = m.permissionActionsMap.get(
|
|
2543
|
+
function D(m, C) {
|
|
2544
|
+
const U = m.permissionActionsMap.get(C);
|
|
2545
2545
|
return U ? U.filter((j) => j !== "manage").filter(
|
|
2546
|
-
(j) => R(m,
|
|
2546
|
+
(j) => R(m, C, j) || b(m, C, j)
|
|
2547
2547
|
) : [];
|
|
2548
2548
|
}
|
|
2549
|
-
function
|
|
2550
|
-
return c(m,
|
|
2549
|
+
function L(m, C) {
|
|
2550
|
+
return c(m, C) ? !1 : !F(m, C) && D(m, C).length > 0;
|
|
2551
2551
|
}
|
|
2552
|
-
function
|
|
2553
|
-
if (!m.coverSubject ||
|
|
2552
|
+
function w(m, C) {
|
|
2553
|
+
if (!m.coverSubject || C === m.coverSubject) return;
|
|
2554
2554
|
const U = e.value.find(
|
|
2555
2555
|
(V) => !V.inverted && V.subject === m.coverSubject
|
|
2556
2556
|
);
|
|
2557
2557
|
return (U == null ? void 0 : U.conditions) || void 0;
|
|
2558
2558
|
}
|
|
2559
|
-
function f(m,
|
|
2559
|
+
function f(m, C, U) {
|
|
2560
2560
|
if (U) {
|
|
2561
|
-
const V = t.value.find((Q) => Q.subject ===
|
|
2561
|
+
const V = t.value.find((Q) => Q.subject === C);
|
|
2562
2562
|
if (!V) return;
|
|
2563
2563
|
const {
|
|
2564
2564
|
category: j,
|
|
2565
2565
|
showByFeatureFlag: G,
|
|
2566
2566
|
isCategoryCover: W,
|
|
2567
|
-
...
|
|
2568
|
-
} = V, B =
|
|
2567
|
+
...Y
|
|
2568
|
+
} = V, B = w(m, C), ne = e.value.filter((Q) => Q.subject !== C);
|
|
2569
2569
|
ne.push({
|
|
2570
|
-
...
|
|
2570
|
+
...Y,
|
|
2571
2571
|
...B !== void 0 && { conditions: B }
|
|
2572
2572
|
}), s("update:model-value", ne);
|
|
2573
2573
|
} else
|
|
2574
2574
|
s(
|
|
2575
2575
|
"update:model-value",
|
|
2576
|
-
e.value.filter((V) => V.subject !==
|
|
2576
|
+
e.value.filter((V) => V.subject !== C)
|
|
2577
2577
|
);
|
|
2578
2578
|
}
|
|
2579
|
-
function h(m,
|
|
2580
|
-
const U = m.permissionActionsMap.get(
|
|
2579
|
+
function h(m, C) {
|
|
2580
|
+
const U = m.permissionActionsMap.get(C);
|
|
2581
2581
|
return U ? U.some((V) => V !== "manage") : !1;
|
|
2582
2582
|
}
|
|
2583
|
-
function R(m,
|
|
2584
|
-
const V = m.selectedActionsMap.get(
|
|
2583
|
+
function R(m, C, U) {
|
|
2584
|
+
const V = m.selectedActionsMap.get(C);
|
|
2585
2585
|
return V ? V.has(U) : !1;
|
|
2586
2586
|
}
|
|
2587
|
-
function c(m,
|
|
2588
|
-
return !m.coverSubject ||
|
|
2587
|
+
function c(m, C) {
|
|
2588
|
+
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll;
|
|
2589
2589
|
}
|
|
2590
|
-
function b(m,
|
|
2591
|
-
return !m.coverSubject ||
|
|
2590
|
+
function b(m, C, U) {
|
|
2591
|
+
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll ? !0 : m.coverSelectedActions.has(U);
|
|
2592
2592
|
}
|
|
2593
|
-
function I(m,
|
|
2594
|
-
const V = m.permissionActionsMap.get(
|
|
2593
|
+
function I(m, C, U) {
|
|
2594
|
+
const V = m.permissionActionsMap.get(C);
|
|
2595
2595
|
return V ? V.includes(U) : !1;
|
|
2596
2596
|
}
|
|
2597
|
-
function p(m,
|
|
2597
|
+
function p(m, C, U) {
|
|
2598
2598
|
const V = [...e.value], j = V.findIndex((W) => W.subject === m && !W.inverted);
|
|
2599
2599
|
if (U)
|
|
2600
2600
|
if (j >= 0) {
|
|
2601
|
-
const W = { ...V[j] },
|
|
2602
|
-
|
|
2601
|
+
const W = { ...V[j] }, Y = new Set(W.actions);
|
|
2602
|
+
Y.add(C), W.actions = Array.from(Y), V[j] = W;
|
|
2603
2603
|
} else {
|
|
2604
2604
|
const W = t.value.find((oe) => oe.subject === m);
|
|
2605
2605
|
if (!W) return;
|
|
2606
2606
|
const {
|
|
2607
|
-
category:
|
|
2607
|
+
category: Y,
|
|
2608
2608
|
showByFeatureFlag: B,
|
|
2609
2609
|
isCategoryCover: ne,
|
|
2610
2610
|
...Q
|
|
2611
2611
|
} = W, _e = u.value.find(
|
|
2612
2612
|
(oe) => oe.options.some((fe) => fe.value === m)
|
|
2613
|
-
), ce = _e ?
|
|
2613
|
+
), ce = _e ? w(_e, m) : void 0;
|
|
2614
2614
|
V.push({
|
|
2615
2615
|
...Q,
|
|
2616
|
-
actions: [
|
|
2616
|
+
actions: [C],
|
|
2617
2617
|
...ce !== void 0 && { conditions: ce }
|
|
2618
2618
|
});
|
|
2619
2619
|
}
|
|
2620
2620
|
else if (j >= 0) {
|
|
2621
|
-
const W = { ...V[j] },
|
|
2622
|
-
|
|
2621
|
+
const W = { ...V[j] }, Y = W.actions.filter((B) => B !== C);
|
|
2622
|
+
Y.length === 0 ? V.splice(j, 1) : (W.actions = Y, V[j] = W);
|
|
2623
2623
|
}
|
|
2624
2624
|
const G = t.value.find((W) => W.subject === m);
|
|
2625
2625
|
G && Mn(V, m, G.actions), s("update:model-value", V);
|
|
2626
2626
|
}
|
|
2627
|
-
function
|
|
2627
|
+
function A(m, C) {
|
|
2628
2628
|
const U = m.options.filter(
|
|
2629
|
-
(V) => I(m, V.value,
|
|
2629
|
+
(V) => I(m, V.value, C)
|
|
2630
2630
|
);
|
|
2631
2631
|
return U.length === 0 ? !1 : U.every(
|
|
2632
|
-
(V) => R(m, V.value,
|
|
2632
|
+
(V) => R(m, V.value, C) || b(m, V.value, C)
|
|
2633
2633
|
);
|
|
2634
2634
|
}
|
|
2635
|
-
function S(m,
|
|
2635
|
+
function S(m, C) {
|
|
2636
2636
|
const U = m.options.filter(
|
|
2637
|
-
(j) => I(m, j.value,
|
|
2637
|
+
(j) => I(m, j.value, C)
|
|
2638
2638
|
);
|
|
2639
2639
|
if (U.length === 0) return !1;
|
|
2640
2640
|
const V = U.filter(
|
|
2641
|
-
(j) => R(m, j.value,
|
|
2641
|
+
(j) => R(m, j.value, C) || b(m, j.value, C)
|
|
2642
2642
|
).length;
|
|
2643
2643
|
return V > 0 && V < U.length;
|
|
2644
2644
|
}
|
|
2645
|
-
function X(m,
|
|
2645
|
+
function X(m, C, U) {
|
|
2646
2646
|
const V = [...e.value];
|
|
2647
2647
|
for (const j of m.options) {
|
|
2648
|
-
if (!I(m, j.value,
|
|
2648
|
+
if (!I(m, j.value, C)) continue;
|
|
2649
2649
|
const G = j.value, W = V.findIndex(
|
|
2650
2650
|
(B) => B.subject === G && !B.inverted
|
|
2651
2651
|
);
|
|
2652
2652
|
if (U)
|
|
2653
2653
|
if (W >= 0) {
|
|
2654
2654
|
const B = { ...V[W] }, ne = new Set(B.actions);
|
|
2655
|
-
ne.add(
|
|
2655
|
+
ne.add(C), B.actions = Array.from(ne), V[W] = B;
|
|
2656
2656
|
} else {
|
|
2657
2657
|
const B = t.value.find((fe) => fe.subject === G);
|
|
2658
2658
|
if (!B) continue;
|
|
@@ -2661,34 +2661,34 @@ function Po(e, t, n, s) {
|
|
|
2661
2661
|
showByFeatureFlag: Q,
|
|
2662
2662
|
isCategoryCover: _e,
|
|
2663
2663
|
...ce
|
|
2664
|
-
} = B, oe =
|
|
2664
|
+
} = B, oe = w(m, G);
|
|
2665
2665
|
V.push({
|
|
2666
2666
|
...ce,
|
|
2667
|
-
actions: [
|
|
2667
|
+
actions: [C],
|
|
2668
2668
|
...oe !== void 0 && { conditions: oe }
|
|
2669
2669
|
});
|
|
2670
2670
|
}
|
|
2671
2671
|
else if (W >= 0) {
|
|
2672
|
-
const B = { ...V[W] }, ne = B.actions.filter((Q) => Q !==
|
|
2672
|
+
const B = { ...V[W] }, ne = B.actions.filter((Q) => Q !== C);
|
|
2673
2673
|
ne.length === 0 ? V.splice(W, 1) : (B.actions = ne, V[W] = B);
|
|
2674
2674
|
}
|
|
2675
|
-
const
|
|
2676
|
-
|
|
2675
|
+
const Y = t.value.find((B) => B.subject === G);
|
|
2676
|
+
Y && Mn(V, G, Y.actions);
|
|
2677
2677
|
}
|
|
2678
2678
|
s("update:model-value", V);
|
|
2679
2679
|
}
|
|
2680
2680
|
function x(m) {
|
|
2681
|
-
const
|
|
2682
|
-
return l(
|
|
2681
|
+
const C = `permissionSet.actionLabels.${m}`, U = Fo[m] ?? m.charAt(0).toUpperCase() + m.slice(1);
|
|
2682
|
+
return l(C, U);
|
|
2683
2683
|
}
|
|
2684
2684
|
return {
|
|
2685
2685
|
categoryGroups: u,
|
|
2686
2686
|
toggleCategory: i,
|
|
2687
2687
|
isAllManageChecked: E,
|
|
2688
2688
|
isAllManageIndeterminate: T,
|
|
2689
|
-
toggleAllManage:
|
|
2689
|
+
toggleAllManage: N,
|
|
2690
2690
|
isManageChecked: F,
|
|
2691
|
-
isManageIndeterminate:
|
|
2691
|
+
isManageIndeterminate: L,
|
|
2692
2692
|
toggleManage: f,
|
|
2693
2693
|
hasNonManageActions: h,
|
|
2694
2694
|
isActionChecked: R,
|
|
@@ -2696,13 +2696,13 @@ function Po(e, t, n, s) {
|
|
|
2696
2696
|
isActionCoveredByCover: b,
|
|
2697
2697
|
permissionDefinesAction: I,
|
|
2698
2698
|
toggleAction: p,
|
|
2699
|
-
isAllActionChecked:
|
|
2699
|
+
isAllActionChecked: A,
|
|
2700
2700
|
isAllActionIndeterminate: S,
|
|
2701
2701
|
toggleAllAction: X,
|
|
2702
2702
|
actionLabel: x
|
|
2703
2703
|
};
|
|
2704
2704
|
}
|
|
2705
|
-
const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm-600" }, Vo = { class: "mt-16" }, xo = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Wo = ["onClick"], Go = { class: "flex justify-center" },
|
|
2705
|
+
const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm-600" }, Vo = { class: "mt-16" }, xo = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Wo = ["onClick"], Go = { class: "flex justify-center" }, Zo = { class: "flex items-center min-w-0 gap-8" }, Yo = ["title", "onClick"], Bo = { class: "flex justify-center" }, Xo = /* @__PURE__ */ Le({
|
|
2706
2706
|
__name: "BasePermission",
|
|
2707
2707
|
props: {
|
|
2708
2708
|
modelValue: {
|
|
@@ -2731,11 +2731,11 @@ const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm
|
|
|
2731
2731
|
toggleAllManage: g,
|
|
2732
2732
|
isManageChecked: E,
|
|
2733
2733
|
isManageIndeterminate: T,
|
|
2734
|
-
toggleManage:
|
|
2734
|
+
toggleManage: N,
|
|
2735
2735
|
isActionChecked: F,
|
|
2736
|
-
isRowFullyCoveredByCover:
|
|
2737
|
-
isActionCoveredByCover:
|
|
2738
|
-
permissionDefinesAction:
|
|
2736
|
+
isRowFullyCoveredByCover: D,
|
|
2737
|
+
isActionCoveredByCover: L,
|
|
2738
|
+
permissionDefinesAction: w,
|
|
2739
2739
|
toggleAction: f,
|
|
2740
2740
|
isAllActionChecked: h,
|
|
2741
2741
|
isAllActionIndeterminate: R,
|
|
@@ -2745,21 +2745,21 @@ const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm
|
|
|
2745
2745
|
en(n, "modelValue"),
|
|
2746
2746
|
a,
|
|
2747
2747
|
en(n, "excludedSubjects"),
|
|
2748
|
-
(
|
|
2748
|
+
(A, S) => s("update:model-value", S)
|
|
2749
2749
|
);
|
|
2750
|
-
function I(
|
|
2751
|
-
const S =
|
|
2750
|
+
function I(A) {
|
|
2751
|
+
const S = A.selectedSubjects.length;
|
|
2752
2752
|
return S === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: S });
|
|
2753
2753
|
}
|
|
2754
|
-
function p(
|
|
2755
|
-
return E(
|
|
2756
|
-
(X) =>
|
|
2754
|
+
function p(A, S) {
|
|
2755
|
+
return E(A, S) || D(A, S) ? !0 : A.actionColumns.some(
|
|
2756
|
+
(X) => w(A, S, X) && (F(A, S, X) || L(A, S, X))
|
|
2757
2757
|
);
|
|
2758
2758
|
}
|
|
2759
|
-
return (
|
|
2760
|
-
const X =
|
|
2759
|
+
return (A, S) => {
|
|
2760
|
+
const X = De("FmCheckbox");
|
|
2761
2761
|
return J(), ie("div", jo, [
|
|
2762
|
-
(J(!0), ie(
|
|
2762
|
+
(J(!0), ie(Ae, null, ye(H(d), (x) => (J(), Ne(Xt, {
|
|
2763
2763
|
key: x.category,
|
|
2764
2764
|
subtitle: I(x)
|
|
2765
2765
|
}, {
|
|
@@ -2776,7 +2776,7 @@ const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm
|
|
|
2776
2776
|
}, [
|
|
2777
2777
|
S[0] || (S[0] = ae("div", null, null, -1)),
|
|
2778
2778
|
ae("div", xo, Oe(H(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2779
|
-
(J(!0), ie(
|
|
2779
|
+
(J(!0), ie(Ae, null, ye(x.actionColumns, (m) => (J(), ie("div", {
|
|
2780
2780
|
key: `header-${m}`,
|
|
2781
2781
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2782
2782
|
}, Oe(H(b)(m)), 1))), 128))
|
|
@@ -2802,7 +2802,7 @@ const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm
|
|
|
2802
2802
|
"onUpdate:modelValue": (m) => H(g)(x)
|
|
2803
2803
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2804
2804
|
]),
|
|
2805
|
-
(J(!0), ie(
|
|
2805
|
+
(J(!0), ie(Ae, null, ye(x.actionColumns, (m) => (J(), ie("div", {
|
|
2806
2806
|
key: `all-${m}`,
|
|
2807
2807
|
class: "flex justify-center"
|
|
2808
2808
|
}, [
|
|
@@ -2813,56 +2813,56 @@ const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm
|
|
|
2813
2813
|
disabled: e.disable,
|
|
2814
2814
|
size: "sm",
|
|
2815
2815
|
dense: "",
|
|
2816
|
-
"onUpdate:modelValue": (
|
|
2816
|
+
"onUpdate:modelValue": (C) => H(c)(x, m, C)
|
|
2817
2817
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2818
2818
|
]))), 128))
|
|
2819
2819
|
], 4),
|
|
2820
2820
|
S[1] || (S[1] = ae("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2821
|
-
(J(!0), ie(
|
|
2821
|
+
(J(!0), ie(Ae, null, ye(x.options, (m) => (J(), ie("div", {
|
|
2822
2822
|
key: m.optionKey,
|
|
2823
2823
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2824
2824
|
style: nt({
|
|
2825
2825
|
gridTemplateColumns: `minmax(0, 1fr) repeat(${x.actionColumns.length + 1}, 80px)`
|
|
2826
2826
|
})
|
|
2827
2827
|
}, [
|
|
2828
|
-
ae("div",
|
|
2828
|
+
ae("div", Zo, [
|
|
2829
2829
|
ae("span", {
|
|
2830
2830
|
class: "block truncate cursor-pointer",
|
|
2831
2831
|
title: m.label,
|
|
2832
|
-
onClick: (
|
|
2833
|
-
}, Oe(m.label), 9,
|
|
2834
|
-
Re(
|
|
2832
|
+
onClick: (C) => !e.disable && !H(D)(x, m.value) && H(N)(x, m.value, !H(E)(x, m.value))
|
|
2833
|
+
}, Oe(m.label), 9, Yo),
|
|
2834
|
+
Re(A.$slots, `checkbox-${m.value}-append`, {
|
|
2835
2835
|
option: m,
|
|
2836
2836
|
isEffectiveSelected: p(x, m.value),
|
|
2837
|
-
isCoveredByCover: H(
|
|
2837
|
+
isCoveredByCover: H(D)(x, m.value) || x.actionColumns.some((C) => H(L)(x, m.value, C))
|
|
2838
2838
|
}),
|
|
2839
|
-
Re(
|
|
2839
|
+
Re(A.$slots, `checkbox-${m.value}-icon`, {
|
|
2840
2840
|
option: m,
|
|
2841
2841
|
isEffectiveSelected: p(x, m.value),
|
|
2842
|
-
isCoveredByCover: H(
|
|
2842
|
+
isCoveredByCover: H(D)(x, m.value) || x.actionColumns.some((C) => H(L)(x, m.value, C))
|
|
2843
2843
|
})
|
|
2844
2844
|
]),
|
|
2845
2845
|
ae("div", Bo, [
|
|
2846
2846
|
ue(X, {
|
|
2847
|
-
"model-value": H(E)(x, m.value) || H(
|
|
2847
|
+
"model-value": H(E)(x, m.value) || H(D)(x, m.value),
|
|
2848
2848
|
value: m.value,
|
|
2849
|
-
disabled: e.disable || H(
|
|
2849
|
+
disabled: e.disable || H(D)(x, m.value),
|
|
2850
2850
|
indeterminate: H(T)(x, m.value),
|
|
2851
2851
|
size: "sm",
|
|
2852
|
-
"onUpdate:modelValue": (
|
|
2852
|
+
"onUpdate:modelValue": (C) => H(N)(x, m.value, C)
|
|
2853
2853
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2854
2854
|
]),
|
|
2855
|
-
(J(!0), ie(
|
|
2856
|
-
key: `${m.optionKey}-${
|
|
2855
|
+
(J(!0), ie(Ae, null, ye(x.actionColumns, (C) => (J(), ie("div", {
|
|
2856
|
+
key: `${m.optionKey}-${C}`,
|
|
2857
2857
|
class: "flex justify-center"
|
|
2858
2858
|
}, [
|
|
2859
|
-
H(
|
|
2859
|
+
H(w)(x, m.value, C) ? (J(), Ne(X, {
|
|
2860
2860
|
key: 0,
|
|
2861
|
-
"model-value": H(F)(x, m.value,
|
|
2862
|
-
value:
|
|
2863
|
-
disabled: e.disable || H(
|
|
2861
|
+
"model-value": H(F)(x, m.value, C) || H(L)(x, m.value, C),
|
|
2862
|
+
value: C,
|
|
2863
|
+
disabled: e.disable || H(L)(x, m.value, C),
|
|
2864
2864
|
size: "sm",
|
|
2865
|
-
"onUpdate:modelValue": (U) => H(f)(m.value,
|
|
2865
|
+
"onUpdate:modelValue": (U) => H(f)(m.value, C, U)
|
|
2866
2866
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Me("", !0)
|
|
2867
2867
|
]))), 128))
|
|
2868
2868
|
], 4))), 128))
|
|
@@ -2879,7 +2879,7 @@ const jo = { class: "flex flex-col gap-16" }, Uo = { class: "fm-typo-en-title-sm
|
|
|
2879
2879
|
}, Jo = {
|
|
2880
2880
|
key: 0,
|
|
2881
2881
|
class: "q-mr-xs text-red col"
|
|
2882
|
-
}, Ko = { class: "form-input" }, zo = /* @__PURE__ */
|
|
2882
|
+
}, Ko = { class: "form-input" }, zo = /* @__PURE__ */ Le({
|
|
2883
2883
|
__name: "AppForm",
|
|
2884
2884
|
props: {
|
|
2885
2885
|
title: {
|
|
@@ -2923,7 +2923,7 @@ function Qo(e, t) {
|
|
|
2923
2923
|
const qo = { class: "col flex items-center" }, ea = {
|
|
2924
2924
|
key: 1,
|
|
2925
2925
|
class: "q-pa-sm form-error-message text-error"
|
|
2926
|
-
}, is = /* @__PURE__ */
|
|
2926
|
+
}, is = /* @__PURE__ */ Le({
|
|
2927
2927
|
__name: "CheckboxInput",
|
|
2928
2928
|
props: {
|
|
2929
2929
|
options: {
|
|
@@ -2982,37 +2982,37 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
2982
2982
|
emits: ["update:model-value"],
|
|
2983
2983
|
setup(e, { emit: t }) {
|
|
2984
2984
|
const n = e, s = t, { t: l } = He(), a = st(!1), d = ps(), u = z(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), i = `checkbox-${Qo(6)}`, g = z(() => u.value !== !0), E = z(
|
|
2985
|
-
() => n.modelValue.filter((
|
|
2985
|
+
() => n.modelValue.filter((L) => n.options.some((w) => w.value === L))
|
|
2986
2986
|
), T = z(
|
|
2987
2987
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2988
|
-
),
|
|
2988
|
+
), N = z(() => n.options.length > 0 && n.options.length === E.value.length);
|
|
2989
2989
|
function F() {
|
|
2990
|
-
const
|
|
2991
|
-
if (
|
|
2992
|
-
s("update:model-value",
|
|
2990
|
+
const L = n.modelValue.filter((w) => !E.value.includes(w));
|
|
2991
|
+
if (N.value === !0)
|
|
2992
|
+
s("update:model-value", L);
|
|
2993
2993
|
else {
|
|
2994
|
-
const
|
|
2995
|
-
s("update:model-value", [...
|
|
2994
|
+
const w = n.includeDisabledOptionsWhenSelectAll ? n.options.map((f) => f.value) : n.options.filter((f) => !f.disabled).map((f) => f.value);
|
|
2995
|
+
s("update:model-value", [...L, ...w]);
|
|
2996
2996
|
}
|
|
2997
2997
|
}
|
|
2998
|
-
function
|
|
2998
|
+
function D(L, w) {
|
|
2999
2999
|
let f = It(n.modelValue);
|
|
3000
|
-
|
|
3000
|
+
w ? f.every((h) => h !== L) && f.push(L) : f = f.filter((h) => h !== L), s("update:model-value", f);
|
|
3001
3001
|
}
|
|
3002
|
-
return (
|
|
3003
|
-
const f =
|
|
3004
|
-
return J(),
|
|
3002
|
+
return (L, w) => {
|
|
3003
|
+
const f = De("FmCheckbox");
|
|
3004
|
+
return J(), Ne(zo, {
|
|
3005
3005
|
id: i,
|
|
3006
3006
|
title: e.title,
|
|
3007
3007
|
required: !1
|
|
3008
3008
|
}, {
|
|
3009
3009
|
top: de(() => [
|
|
3010
|
-
Re(
|
|
3010
|
+
Re(L.$slots, "top")
|
|
3011
3011
|
]),
|
|
3012
3012
|
default: de(() => [
|
|
3013
|
-
n.showAllToggle ? (J(),
|
|
3013
|
+
n.showAllToggle ? (J(), Ne(f, {
|
|
3014
3014
|
key: 0,
|
|
3015
|
-
"model-value":
|
|
3015
|
+
"model-value": N.value,
|
|
3016
3016
|
disabled: e.disable,
|
|
3017
3017
|
label: T.value,
|
|
3018
3018
|
style: nt(`margin-bottom: ${n.gutter}px`),
|
|
@@ -3021,7 +3021,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3021
3021
|
value: T.value,
|
|
3022
3022
|
"onUpdate:modelValue": F
|
|
3023
3023
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Me("", !0),
|
|
3024
|
-
(J(!0), ie(
|
|
3024
|
+
(J(!0), ie(Ae, null, ye(e.options, (h, R) => (J(), ie("div", {
|
|
3025
3025
|
key: h.value,
|
|
3026
3026
|
style: nt(`margin-bottom: ${R < e.options.length - 1 ? n.gutter : 0}px`),
|
|
3027
3027
|
class: qe(R < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -3036,9 +3036,9 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3036
3036
|
size: "sm",
|
|
3037
3037
|
label: h.label,
|
|
3038
3038
|
value: h.label,
|
|
3039
|
-
"onUpdate:modelValue": (c) =>
|
|
3039
|
+
"onUpdate:modelValue": (c) => D(h.value, c)
|
|
3040
3040
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
3041
|
-
Re(
|
|
3041
|
+
Re(L.$slots, `checkbox-${h.key || h.value}-append`, {
|
|
3042
3042
|
option: h,
|
|
3043
3043
|
selected: e.modelValue.includes(h.value)
|
|
3044
3044
|
})
|
|
@@ -3047,7 +3047,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3047
3047
|
key: 0,
|
|
3048
3048
|
class: qe([{ "q-checkbox disabled": e.disable || h.disabled }, "col"])
|
|
3049
3049
|
}, [
|
|
3050
|
-
Re(
|
|
3050
|
+
Re(L.$slots, `checkbox-${h.key || h.value}-end`, {
|
|
3051
3051
|
option: h,
|
|
3052
3052
|
value: e.modelValue.includes(h.value),
|
|
3053
3053
|
disable: e.disable || h.disabled
|
|
@@ -3059,7 +3059,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3059
3059
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || h.disabled }]),
|
|
3060
3060
|
style: nt(`margin-left: ${e.bottomSlotIndent}`)
|
|
3061
3061
|
}, [
|
|
3062
|
-
Re(
|
|
3062
|
+
Re(L.$slots, `checkbox-${h.key || h.value}-bottom`, {
|
|
3063
3063
|
option: h,
|
|
3064
3064
|
disable: e.disable || h.disabled,
|
|
3065
3065
|
value: e.modelValue.includes(h.value)
|
|
@@ -3072,7 +3072,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3072
3072
|
}, 8, ["title"]);
|
|
3073
3073
|
};
|
|
3074
3074
|
}
|
|
3075
|
-
}), ta = { class: "fm-typo-en-title-sm-600" }, ht = "includedFuture",
|
|
3075
|
+
}), ta = { class: "fm-typo-en-title-sm-600" }, ht = "includedFuture", wn = /* @__PURE__ */ Le({
|
|
3076
3076
|
__name: "ConditionPermission",
|
|
3077
3077
|
props: {
|
|
3078
3078
|
modelValue: {
|
|
@@ -3110,17 +3110,17 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3110
3110
|
});
|
|
3111
3111
|
function i(E) {
|
|
3112
3112
|
const T = E.length === a.value.length;
|
|
3113
|
-
s("update:model-value", T ? null : E.filter((
|
|
3113
|
+
s("update:model-value", T ? null : E.filter((N) => N !== ht));
|
|
3114
3114
|
}
|
|
3115
3115
|
const g = st("");
|
|
3116
3116
|
return (E, T) => {
|
|
3117
|
-
const
|
|
3118
|
-
return J(),
|
|
3117
|
+
const N = De("fm-search");
|
|
3118
|
+
return J(), Ne(Xt, { subtitle: u.value }, {
|
|
3119
3119
|
title: de(() => [
|
|
3120
3120
|
ae("p", ta, Oe(H(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3121
3121
|
]),
|
|
3122
3122
|
default: de(() => [
|
|
3123
|
-
e.options.length > 1 ? (J(),
|
|
3123
|
+
e.options.length > 1 ? (J(), Ne(N, {
|
|
3124
3124
|
key: 0,
|
|
3125
3125
|
modelValue: g.value,
|
|
3126
3126
|
"onUpdate:modelValue": T[0] || (T[0] = (F) => g.value = F),
|
|
@@ -3140,8 +3140,8 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3140
3140
|
}, et({ _: 2 }, [
|
|
3141
3141
|
ye(a.value, (F) => ({
|
|
3142
3142
|
name: `checkbox-${F.value}-append`,
|
|
3143
|
-
fn: de(({ option:
|
|
3144
|
-
Re(E.$slots, `checkbox-${F.value}-append`, { option:
|
|
3143
|
+
fn: de(({ option: D }) => [
|
|
3144
|
+
Re(E.$slots, `checkbox-${F.value}-append`, { option: D })
|
|
3145
3145
|
])
|
|
3146
3146
|
}))
|
|
3147
3147
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3150,7 +3150,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3150
3150
|
}, 8, ["subtitle"]);
|
|
3151
3151
|
};
|
|
3152
3152
|
}
|
|
3153
|
-
}), na = { class: "fm-typo-en-title-sm-600" }, bt = "includedNewRole", sa = /* @__PURE__ */
|
|
3153
|
+
}), na = { class: "fm-typo-en-title-sm-600" }, bt = "includedNewRole", sa = /* @__PURE__ */ Le({
|
|
3154
3154
|
__name: "PosRolePermission",
|
|
3155
3155
|
props: {
|
|
3156
3156
|
modelValue: {
|
|
@@ -3194,7 +3194,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3194
3194
|
const E = g.length === a.value.length;
|
|
3195
3195
|
s("update:model-value", E ? null : g.filter((T) => T !== bt));
|
|
3196
3196
|
}
|
|
3197
|
-
return (g, E) => (J(),
|
|
3197
|
+
return (g, E) => (J(), Ne(Xt, { subtitle: u.value }, {
|
|
3198
3198
|
title: de(() => [
|
|
3199
3199
|
ae("p", na, Oe(H(l)("team.memberForm.permissions.roles")), 1)
|
|
3200
3200
|
]),
|
|
@@ -3211,8 +3211,8 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3211
3211
|
}, et({ _: 2 }, [
|
|
3212
3212
|
ye(a.value, (T) => ({
|
|
3213
3213
|
name: `checkbox-${T.value}-append`,
|
|
3214
|
-
fn: de(({ option:
|
|
3215
|
-
Re(g.$slots, `checkbox-${T.value}-append`, { option:
|
|
3214
|
+
fn: de(({ option: N }) => [
|
|
3215
|
+
Re(g.$slots, `checkbox-${T.value}-append`, { option: N })
|
|
3216
3216
|
])
|
|
3217
3217
|
}))
|
|
3218
3218
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3230,7 +3230,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3230
3230
|
}, aa = {
|
|
3231
3231
|
key: 0,
|
|
3232
3232
|
class: "ml-32"
|
|
3233
|
-
}, Fn = /* @__PURE__ */
|
|
3233
|
+
}, Fn = /* @__PURE__ */ Le({
|
|
3234
3234
|
__name: "PortalConditionForm",
|
|
3235
3235
|
props: {
|
|
3236
3236
|
entry: {},
|
|
@@ -3249,8 +3249,8 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3249
3249
|
setup(e, { emit: t }) {
|
|
3250
3250
|
const n = t, { t: s } = He();
|
|
3251
3251
|
return (l, a) => {
|
|
3252
|
-
const d =
|
|
3253
|
-
return J(),
|
|
3252
|
+
const d = De("FmRadio"), u = De("FmRadioGroup");
|
|
3253
|
+
return J(), Ne(Cs, {
|
|
3254
3254
|
title: e.title,
|
|
3255
3255
|
builders: e.builders,
|
|
3256
3256
|
"form-value-for": e.formValueFor,
|
|
@@ -3295,7 +3295,7 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3295
3295
|
"onUpdate:modelValue": (g) => n("update-form", { builder: i, form: g })
|
|
3296
3296
|
}, null, 8, ["builder", "model-value", "disable", "onUpdate:modelValue"])
|
|
3297
3297
|
])) : Me("", !0)
|
|
3298
|
-
])) : (J(),
|
|
3298
|
+
])) : (J(), Ne(nn, {
|
|
3299
3299
|
key: 1,
|
|
3300
3300
|
builder: i,
|
|
3301
3301
|
"model-value": e.formValueFor(i),
|
|
@@ -3309,11 +3309,11 @@ const qo = { class: "col flex items-center" }, ea = {
|
|
|
3309
3309
|
}
|
|
3310
3310
|
}), la = {
|
|
3311
3311
|
async readWarehouses() {
|
|
3312
|
-
return
|
|
3312
|
+
return Ls(await ks().get("/warehouses"));
|
|
3313
3313
|
}
|
|
3314
3314
|
};
|
|
3315
3315
|
function Pn(e, t) {
|
|
3316
|
-
return
|
|
3316
|
+
return Zn(e, Yn).some(
|
|
3317
3317
|
(n) => n.subject === t && !n.inverted && n.actions.includes("manage")
|
|
3318
3318
|
);
|
|
3319
3319
|
}
|
|
@@ -3344,29 +3344,29 @@ function ia(e, t, n, s) {
|
|
|
3344
3344
|
const g = u.some((E) => E.subject === i && E.inverted);
|
|
3345
3345
|
if (u = u.filter((E) => !(E.subject === i && E.inverted)), !g && !d.has(i)) {
|
|
3346
3346
|
const E = t.find(
|
|
3347
|
-
(
|
|
3347
|
+
(N) => N.subject === i && !N.inverted
|
|
3348
3348
|
), T = s(i);
|
|
3349
3349
|
T && E && u.push(Un(T, E.actions, E.conditions));
|
|
3350
3350
|
}
|
|
3351
3351
|
}
|
|
3352
3352
|
for (const i of a) {
|
|
3353
3353
|
if (!l.has(i)) continue;
|
|
3354
|
-
const g = e.find((
|
|
3354
|
+
const g = e.find((D) => D.subject === i && !D.inverted), E = t.find((D) => D.subject === i && !D.inverted);
|
|
3355
3355
|
if (!g || !E) continue;
|
|
3356
|
-
const T = new Set(g.actions),
|
|
3357
|
-
if (T.size ===
|
|
3356
|
+
const T = new Set(g.actions), N = new Set(E.actions);
|
|
3357
|
+
if (T.size === N.size && [...T].every((D) => N.has(D)))
|
|
3358
3358
|
continue;
|
|
3359
|
-
const F = u.findIndex((
|
|
3359
|
+
const F = u.findIndex((D) => D.subject === i && !D.inverted);
|
|
3360
3360
|
if (F >= 0)
|
|
3361
3361
|
u[F] = {
|
|
3362
3362
|
...u[F],
|
|
3363
|
-
actions: Array.from(
|
|
3363
|
+
actions: Array.from(N)
|
|
3364
3364
|
};
|
|
3365
3365
|
else {
|
|
3366
|
-
const
|
|
3367
|
-
|
|
3366
|
+
const D = s(i);
|
|
3367
|
+
D && u.push(Un(D, Array.from(N)));
|
|
3368
3368
|
}
|
|
3369
|
-
T.has("manage") && !
|
|
3369
|
+
T.has("manage") && !N.has("manage") && Pn(u, i) && (u = jn(u, i)), !T.has("manage") && N.has("manage") && (u = u.filter((D) => !(D.subject === i && D.inverted)));
|
|
3370
3370
|
}
|
|
3371
3371
|
return u;
|
|
3372
3372
|
}
|
|
@@ -3409,20 +3409,20 @@ function Mt(e, t) {
|
|
|
3409
3409
|
const n = new Set(e.actions);
|
|
3410
3410
|
return n.has(he.Action.manage) ? !0 : t.actions.every((s) => n.has(s));
|
|
3411
3411
|
}
|
|
3412
|
-
function
|
|
3412
|
+
function Yt(e, t) {
|
|
3413
3413
|
const n = We(e);
|
|
3414
|
-
return
|
|
3414
|
+
return wt(n, [{ builder: t, formValue: t.fromCondition(void 0) }]);
|
|
3415
3415
|
}
|
|
3416
3416
|
function Vn(e, t, n) {
|
|
3417
3417
|
return {
|
|
3418
|
-
...
|
|
3418
|
+
...Yt(e, n),
|
|
3419
3419
|
...tt(We(t), n)
|
|
3420
3420
|
};
|
|
3421
3421
|
}
|
|
3422
3422
|
function fa(e, t, n) {
|
|
3423
3423
|
const s = st(/* @__PURE__ */ new Set());
|
|
3424
3424
|
function l(c) {
|
|
3425
|
-
return
|
|
3425
|
+
return Ds(c, t.value);
|
|
3426
3426
|
}
|
|
3427
3427
|
function a(c) {
|
|
3428
3428
|
return t.value.find((b) => b.subject === c);
|
|
@@ -3439,8 +3439,8 @@ function fa(e, t, n) {
|
|
|
3439
3439
|
return tt(We(c), b);
|
|
3440
3440
|
}
|
|
3441
3441
|
function g(c, b) {
|
|
3442
|
-
var
|
|
3443
|
-
if (!(((
|
|
3442
|
+
var A;
|
|
3443
|
+
if (!(((A = b.appliesToActions) == null ? void 0 : A.call(b, c.actions)) ?? !0)) return !1;
|
|
3444
3444
|
const I = l(c.subject);
|
|
3445
3445
|
if (!I) return !1;
|
|
3446
3446
|
const p = u(I);
|
|
@@ -3449,9 +3449,9 @@ function fa(e, t, n) {
|
|
|
3449
3449
|
function E(c, b) {
|
|
3450
3450
|
if (!g(c, b) || s.value.has(gt(c.subject, b))) return "custom";
|
|
3451
3451
|
if (c.index === null) return "inherit";
|
|
3452
|
-
const I = e.value[c.index], p = l(c.subject),
|
|
3453
|
-
if (I &&
|
|
3454
|
-
const S = tt(We(I), b), X = i(
|
|
3452
|
+
const I = e.value[c.index], p = l(c.subject), A = p ? u(p) : void 0;
|
|
3453
|
+
if (I && A) {
|
|
3454
|
+
const S = tt(We(I), b), X = i(A, b);
|
|
3455
3455
|
if (JSON.stringify(S) === JSON.stringify(X)) return "inherit";
|
|
3456
3456
|
}
|
|
3457
3457
|
return "custom";
|
|
@@ -3460,84 +3460,84 @@ function fa(e, t, n) {
|
|
|
3460
3460
|
if (!b.summarizeForm) return;
|
|
3461
3461
|
const p = l(c.subject);
|
|
3462
3462
|
if (!p) return;
|
|
3463
|
-
const
|
|
3464
|
-
if (!
|
|
3465
|
-
const S = b.fromCondition(i(
|
|
3463
|
+
const A = u(p);
|
|
3464
|
+
if (!A) return;
|
|
3465
|
+
const S = b.fromCondition(i(A, b));
|
|
3466
3466
|
return b.summarizeForm(S, { timeZone: I });
|
|
3467
3467
|
}
|
|
3468
|
-
function
|
|
3468
|
+
function N(c, b) {
|
|
3469
3469
|
if (c.index === null) return;
|
|
3470
|
-
const I = [...e.value], p = { ...I[c.index] },
|
|
3470
|
+
const I = [...e.value], p = { ...I[c.index] }, A = Yt(p, b), S = Object.keys(A).length === 0, X = l(c.subject), x = X ? u(X) : void 0, m = x ? Mt(x, p) : !1;
|
|
3471
3471
|
if (S && m)
|
|
3472
3472
|
I.splice(c.index, 1);
|
|
3473
3473
|
else if (x) {
|
|
3474
|
-
const
|
|
3475
|
-
Object.keys(
|
|
3474
|
+
const C = Vn(p, x, b);
|
|
3475
|
+
Object.keys(C).length === 0 ? delete p.conditions : p.conditions = JSON.stringify(C), I[c.index] = p;
|
|
3476
3476
|
} else
|
|
3477
|
-
S ? delete p.conditions : p.conditions = JSON.stringify(
|
|
3477
|
+
S ? delete p.conditions : p.conditions = JSON.stringify(A), I[c.index] = p;
|
|
3478
3478
|
n(I);
|
|
3479
3479
|
}
|
|
3480
3480
|
function F(c, b, I) {
|
|
3481
3481
|
const p = gt(c.subject, b);
|
|
3482
3482
|
if (I === "inherit") {
|
|
3483
3483
|
const S = new Set(s.value);
|
|
3484
|
-
S.delete(p), s.value = S,
|
|
3484
|
+
S.delete(p), s.value = S, N(c, b);
|
|
3485
3485
|
return;
|
|
3486
3486
|
}
|
|
3487
|
-
const
|
|
3488
|
-
|
|
3487
|
+
const A = new Set(s.value);
|
|
3488
|
+
A.add(p), s.value = A, c.index === null && h(c, b, b.fromCondition(void 0), {
|
|
3489
3489
|
forceCreateRule: !0
|
|
3490
3490
|
});
|
|
3491
3491
|
}
|
|
3492
|
-
function
|
|
3492
|
+
function D(c) {
|
|
3493
3493
|
const b = l(c);
|
|
3494
3494
|
if (!b) return [];
|
|
3495
3495
|
const I = u(b);
|
|
3496
3496
|
return (I == null ? void 0 : I.actions) ?? [];
|
|
3497
3497
|
}
|
|
3498
|
-
function
|
|
3498
|
+
function L(c, b) {
|
|
3499
3499
|
return e.value.filter((I) => {
|
|
3500
3500
|
if (I.inverted) return !1;
|
|
3501
3501
|
const p = I.subject;
|
|
3502
3502
|
return p === c || l(p) !== c ? !1 : s.value.has(gt(p, b)) ? !0 : Object.keys(tt(We(I), b)).length > 0;
|
|
3503
3503
|
});
|
|
3504
3504
|
}
|
|
3505
|
-
function
|
|
3505
|
+
function w(c, b) {
|
|
3506
3506
|
const I = `::${b.builderKey}`, p = new Set(s.value);
|
|
3507
|
-
for (const
|
|
3508
|
-
if (!
|
|
3509
|
-
const S =
|
|
3510
|
-
l(S) === c && p.delete(
|
|
3507
|
+
for (const A of p) {
|
|
3508
|
+
if (!A.endsWith(I)) continue;
|
|
3509
|
+
const S = A.slice(0, -I.length);
|
|
3510
|
+
l(S) === c && p.delete(A);
|
|
3511
3511
|
}
|
|
3512
3512
|
s.value = p;
|
|
3513
3513
|
}
|
|
3514
3514
|
function f(c, b, I) {
|
|
3515
3515
|
const p = b.subject;
|
|
3516
|
-
return c.reduce((
|
|
3516
|
+
return c.reduce((A, S) => {
|
|
3517
3517
|
if (S.inverted)
|
|
3518
|
-
return
|
|
3518
|
+
return A.push(S), A;
|
|
3519
3519
|
const X = S.subject;
|
|
3520
3520
|
if (X === p || l(X) !== p)
|
|
3521
|
-
return
|
|
3522
|
-
if (Mt(b, S) && Object.keys(
|
|
3523
|
-
return
|
|
3521
|
+
return A.push(S), A;
|
|
3522
|
+
if (Mt(b, S) && Object.keys(Yt(S, I)).length === 0)
|
|
3523
|
+
return A;
|
|
3524
3524
|
const m = Vn(S, b, I);
|
|
3525
3525
|
if (Object.keys(m).length === 0) {
|
|
3526
|
-
const { conditions:
|
|
3527
|
-
|
|
3526
|
+
const { conditions: C, ...U } = S;
|
|
3527
|
+
A.push(U);
|
|
3528
3528
|
} else
|
|
3529
|
-
|
|
3530
|
-
return
|
|
3529
|
+
A.push({ ...S, conditions: JSON.stringify(m) });
|
|
3530
|
+
return A;
|
|
3531
3531
|
}, []);
|
|
3532
3532
|
}
|
|
3533
3533
|
function h(c, b, I, p = {}) {
|
|
3534
3534
|
var V;
|
|
3535
|
-
const
|
|
3535
|
+
const A = [...e.value];
|
|
3536
3536
|
let S = c.index;
|
|
3537
3537
|
const X = b.toCondition(I), x = Object.keys(X).length > 0;
|
|
3538
3538
|
if (S === null && !x && !p.forceCreateRule) return;
|
|
3539
3539
|
if (S === null) {
|
|
3540
|
-
const j =
|
|
3540
|
+
const j = A.findIndex((G) => !G.inverted && G.subject === c.subject);
|
|
3541
3541
|
if (j !== -1)
|
|
3542
3542
|
S = j;
|
|
3543
3543
|
else {
|
|
@@ -3545,28 +3545,28 @@ function fa(e, t, n) {
|
|
|
3545
3545
|
if (!G) return;
|
|
3546
3546
|
const {
|
|
3547
3547
|
category: W,
|
|
3548
|
-
showByFeatureFlag:
|
|
3548
|
+
showByFeatureFlag: Y,
|
|
3549
3549
|
isCategoryCover: B,
|
|
3550
3550
|
...ne
|
|
3551
3551
|
} = G;
|
|
3552
|
-
|
|
3552
|
+
A.push({
|
|
3553
3553
|
...ne,
|
|
3554
3554
|
actions: c.actions.length > 0 ? c.actions : ne.actions
|
|
3555
|
-
}), S =
|
|
3555
|
+
}), S = A.length - 1;
|
|
3556
3556
|
}
|
|
3557
3557
|
}
|
|
3558
|
-
const m = { ...
|
|
3558
|
+
const m = { ...A[S] };
|
|
3559
3559
|
m.actions = [
|
|
3560
3560
|
.../* @__PURE__ */ new Set([...m.actions, ...c.actions])
|
|
3561
3561
|
];
|
|
3562
|
-
const
|
|
3563
|
-
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U),
|
|
3564
|
-
const j =
|
|
3565
|
-
var
|
|
3566
|
-
|
|
3562
|
+
const C = We(m), U = wt(C, [{ builder: b, formValue: I }]);
|
|
3563
|
+
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U), A[S] = m, rn(c.subject, t.value)) {
|
|
3564
|
+
const j = L(c.subject, b), G = () => {
|
|
3565
|
+
var Y;
|
|
3566
|
+
w(c.subject, b), n(f(A, m, b)), (Y = p.afterCommit) == null || Y.call(p);
|
|
3567
3567
|
}, W = () => {
|
|
3568
|
-
var
|
|
3569
|
-
n(
|
|
3568
|
+
var Y;
|
|
3569
|
+
n(A), (Y = p.afterCommit) == null || Y.call(p);
|
|
3570
3570
|
};
|
|
3571
3571
|
if (j.length === 0) {
|
|
3572
3572
|
G();
|
|
@@ -3575,15 +3575,15 @@ function fa(e, t, n) {
|
|
|
3575
3575
|
p.onOverridesConflict ? p.onOverridesConflict({ override: G, keep: W }) : W();
|
|
3576
3576
|
return;
|
|
3577
3577
|
}
|
|
3578
|
-
n(
|
|
3578
|
+
n(A), (V = p.afterCommit) == null || V.call(p);
|
|
3579
3579
|
}
|
|
3580
3580
|
function R(c, b, I = {}) {
|
|
3581
3581
|
if (b.length === 0) return;
|
|
3582
3582
|
const p = [...e.value];
|
|
3583
|
-
let
|
|
3583
|
+
let A = p.findIndex((j) => !j.inverted && j.subject === c.subject), S = A === -1 ? void 0 : { ...p[A] }, X = We(S ?? {}) ?? {};
|
|
3584
3584
|
for (const j of b) {
|
|
3585
3585
|
const G = j.mode === "inherit" ? j.builder.fromCondition(void 0) : j.form;
|
|
3586
|
-
X =
|
|
3586
|
+
X = wt(X, [{ builder: j.builder, formValue: G }]);
|
|
3587
3587
|
}
|
|
3588
3588
|
const x = b.some((j) => j.mode === "custom");
|
|
3589
3589
|
if (!S && (Object.keys(X).length > 0 || x)) {
|
|
@@ -3592,28 +3592,28 @@ function fa(e, t, n) {
|
|
|
3592
3592
|
const {
|
|
3593
3593
|
category: G,
|
|
3594
3594
|
showByFeatureFlag: W,
|
|
3595
|
-
isCategoryCover:
|
|
3595
|
+
isCategoryCover: Y,
|
|
3596
3596
|
...B
|
|
3597
3597
|
} = j;
|
|
3598
3598
|
S = {
|
|
3599
3599
|
...B,
|
|
3600
3600
|
actions: c.actions.length > 0 ? c.actions : B.actions
|
|
3601
|
-
}, p.push(S),
|
|
3601
|
+
}, p.push(S), A = p.length - 1;
|
|
3602
3602
|
}
|
|
3603
3603
|
if (S) {
|
|
3604
3604
|
const j = l(c.subject), G = j ? u(j) : void 0;
|
|
3605
3605
|
if (!x && Object.keys(X).length === 0 && !!G && Mt(G, S))
|
|
3606
|
-
p.splice(
|
|
3606
|
+
p.splice(A, 1), S = void 0;
|
|
3607
3607
|
else {
|
|
3608
3608
|
if (S.actions = [
|
|
3609
3609
|
.../* @__PURE__ */ new Set([...S.actions, ...c.actions])
|
|
3610
3610
|
], G)
|
|
3611
|
-
for (const
|
|
3612
|
-
|
|
3611
|
+
for (const Y of b)
|
|
3612
|
+
Y.mode === "inherit" && (X = {
|
|
3613
3613
|
...X,
|
|
3614
|
-
...tt(We(G),
|
|
3614
|
+
...tt(We(G), Y.builder)
|
|
3615
3615
|
});
|
|
3616
|
-
Object.keys(X).length === 0 ? delete S.conditions : S.conditions = JSON.stringify(X), p[
|
|
3616
|
+
Object.keys(X).length === 0 ? delete S.conditions : S.conditions = JSON.stringify(X), p[A] = S;
|
|
3617
3617
|
}
|
|
3618
3618
|
}
|
|
3619
3619
|
const m = () => {
|
|
@@ -3623,25 +3623,25 @@ function fa(e, t, n) {
|
|
|
3623
3623
|
G.mode === "custom" ? j.add(W) : j.delete(W);
|
|
3624
3624
|
}
|
|
3625
3625
|
s.value = j;
|
|
3626
|
-
},
|
|
3626
|
+
}, C = (j) => {
|
|
3627
3627
|
var G;
|
|
3628
3628
|
m(), n(j), (G = I.afterCommit) == null || G.call(I);
|
|
3629
3629
|
};
|
|
3630
3630
|
if (!rn(c.subject, t.value) || !S) {
|
|
3631
|
-
|
|
3631
|
+
C(p);
|
|
3632
3632
|
return;
|
|
3633
3633
|
}
|
|
3634
|
-
const U = b.map((j) => j.builder).filter((j) =>
|
|
3634
|
+
const U = b.map((j) => j.builder).filter((j) => L(c.subject, j).length > 0), V = () => {
|
|
3635
3635
|
let j = p;
|
|
3636
3636
|
for (const G of b.map((W) => W.builder))
|
|
3637
|
-
|
|
3638
|
-
|
|
3637
|
+
w(c.subject, G), j = f(j, S, G);
|
|
3638
|
+
C(j);
|
|
3639
3639
|
};
|
|
3640
3640
|
if (U.length > 0 && I.onOverridesConflict) {
|
|
3641
|
-
I.onOverridesConflict({ override: V, keep: () =>
|
|
3641
|
+
I.onOverridesConflict({ override: V, keep: () => C(p) });
|
|
3642
3642
|
return;
|
|
3643
3643
|
}
|
|
3644
|
-
U.length > 0 ?
|
|
3644
|
+
U.length > 0 ? C(p) : V();
|
|
3645
3645
|
}
|
|
3646
3646
|
return {
|
|
3647
3647
|
getCoverSubject: l,
|
|
@@ -3650,12 +3650,12 @@ function fa(e, t, n) {
|
|
|
3650
3650
|
inheritMode: E,
|
|
3651
3651
|
setInheritMode: F,
|
|
3652
3652
|
inheritedSummary: T,
|
|
3653
|
-
getEffectiveActions:
|
|
3653
|
+
getEffectiveActions: D,
|
|
3654
3654
|
updateBuilderCondition: h,
|
|
3655
3655
|
applyConditionDrafts: R
|
|
3656
3656
|
};
|
|
3657
3657
|
}
|
|
3658
|
-
const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, va = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ha = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ba = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ga = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ia = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ea = "condition-form-select-menu",
|
|
3658
|
+
const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, va = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ha = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ba = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ga = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ia = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ea = "condition-form-select-menu", Da = /* @__PURE__ */ Le({
|
|
3659
3659
|
__name: "PortalPermissionEditor",
|
|
3660
3660
|
props: /* @__PURE__ */ tn({
|
|
3661
3661
|
disable: {
|
|
@@ -3675,17 +3675,17 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3675
3675
|
const n = vs(e, "modelValue"), s = e, l = t, { t: a } = He(), d = hs(), u = bs(), { breakpoints: i } = gs(), g = z(() => i.value.xs || i.value.sm), {
|
|
3676
3676
|
fetchCustomReportPermissions: E,
|
|
3677
3677
|
customReportPermissions: T
|
|
3678
|
-
} = Is(),
|
|
3678
|
+
} = Is(), N = z(() => [
|
|
3679
3679
|
...Gn,
|
|
3680
3680
|
...T.value
|
|
3681
3681
|
]), F = z(() => {
|
|
3682
3682
|
const O = d.currentBusiness.value, r = d.currentCountry.value, o = r instanceof Object ? r.code : r;
|
|
3683
3683
|
return da(O, o);
|
|
3684
3684
|
});
|
|
3685
|
-
function
|
|
3686
|
-
return
|
|
3685
|
+
function D(O) {
|
|
3686
|
+
return N.value.find((r) => r.subject === O);
|
|
3687
3687
|
}
|
|
3688
|
-
function
|
|
3688
|
+
function L(O, r) {
|
|
3689
3689
|
return sn(O).filter(
|
|
3690
3690
|
(o) => {
|
|
3691
3691
|
var _;
|
|
@@ -3693,8 +3693,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3693
3693
|
}
|
|
3694
3694
|
);
|
|
3695
3695
|
}
|
|
3696
|
-
const
|
|
3697
|
-
const O =
|
|
3696
|
+
const w = z(() => {
|
|
3697
|
+
const O = N.value.filter((o) => !c.includes(o.subject)).map((o) => o.subject);
|
|
3698
3698
|
return Es(
|
|
3699
3699
|
s.inheritPermissions.map((o) => ({
|
|
3700
3700
|
...o,
|
|
@@ -3753,7 +3753,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3753
3753
|
label: O.profile.name,
|
|
3754
3754
|
value: O._id
|
|
3755
3755
|
})));
|
|
3756
|
-
function
|
|
3756
|
+
function A(O) {
|
|
3757
3757
|
const r = S(n.value, O);
|
|
3758
3758
|
n.value = r;
|
|
3759
3759
|
}
|
|
@@ -3770,25 +3770,25 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3770
3770
|
}
|
|
3771
3771
|
return o;
|
|
3772
3772
|
}
|
|
3773
|
-
const { restaurants: X } = d, x =
|
|
3773
|
+
const { restaurants: X } = d, x = As().roles, m = z(() => X.value.map((O) => ({
|
|
3774
3774
|
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3775
3775
|
value: O._id
|
|
3776
|
-
}))),
|
|
3776
|
+
}))), C = z(() => X.value.reduce((O, r) => (O[r._id] = x.value.filter((o) => o.restaurants.some((_) => _.id === r._id)).map((o) => o._id), O), {})), U = z(() => ys(n.value));
|
|
3777
3777
|
function V(O) {
|
|
3778
3778
|
const r = G(n.value, O);
|
|
3779
3779
|
n.value = r;
|
|
3780
3780
|
}
|
|
3781
|
-
const j = z(() =>
|
|
3781
|
+
const j = z(() => Ns(n.value));
|
|
3782
3782
|
function G(O, r) {
|
|
3783
3783
|
var _;
|
|
3784
3784
|
let o = It(
|
|
3785
3785
|
O.filter(
|
|
3786
|
-
(
|
|
3786
|
+
(k) => k.subject !== he.Subject.Business.restaurant && k.subject !== he.Subject.Restaurant.restaurant
|
|
3787
3787
|
)
|
|
3788
3788
|
);
|
|
3789
3789
|
if (!r || r.length > 0) {
|
|
3790
3790
|
const {
|
|
3791
|
-
category:
|
|
3791
|
+
category: k,
|
|
3792
3792
|
showByFeatureFlag: M,
|
|
3793
3793
|
...P
|
|
3794
3794
|
} = Ss.restaurant;
|
|
@@ -3800,21 +3800,21 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3800
3800
|
r && (v.conditions = JSON.stringify({ restaurantId: { $in: r } })), o.push(v);
|
|
3801
3801
|
}
|
|
3802
3802
|
if (r) {
|
|
3803
|
-
const
|
|
3804
|
-
...new Set(r.map((P) =>
|
|
3803
|
+
const k = [
|
|
3804
|
+
...new Set(r.map((P) => C.value[P]).flatMap((P) => P))
|
|
3805
3805
|
], M = x.value.map((P) => P._id);
|
|
3806
|
-
|
|
3806
|
+
k.length !== M.length && (o = Y(
|
|
3807
3807
|
o,
|
|
3808
|
-
(_ = j.value || M) == null ? void 0 : _.filter((P) =>
|
|
3808
|
+
(_ = j.value || M) == null ? void 0 : _.filter((P) => k.includes(P))
|
|
3809
3809
|
));
|
|
3810
3810
|
}
|
|
3811
3811
|
return o;
|
|
3812
3812
|
}
|
|
3813
3813
|
function W(O) {
|
|
3814
|
-
const r =
|
|
3814
|
+
const r = Y(n.value, O);
|
|
3815
3815
|
n.value = r;
|
|
3816
3816
|
}
|
|
3817
|
-
function
|
|
3817
|
+
function Y(O, r) {
|
|
3818
3818
|
let o = It(
|
|
3819
3819
|
O.filter((_) => _.subject !== he.Subject.Business.role)
|
|
3820
3820
|
);
|
|
@@ -3834,9 +3834,9 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3834
3834
|
E()
|
|
3835
3835
|
]);
|
|
3836
3836
|
});
|
|
3837
|
-
const B = z(() =>
|
|
3837
|
+
const B = z(() => Zn(
|
|
3838
3838
|
n.value,
|
|
3839
|
-
|
|
3839
|
+
Yn
|
|
3840
3840
|
).filter((o) => {
|
|
3841
3841
|
const _ = o.source;
|
|
3842
3842
|
return (_ == null ? void 0 : _.type) !== "systemPermissionSet" ? !0 : o.actions.includes("manage");
|
|
@@ -3844,9 +3844,9 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3844
3844
|
if (o.inverted) return o;
|
|
3845
3845
|
const _ = o.actions;
|
|
3846
3846
|
if (!_.includes("manage")) return o;
|
|
3847
|
-
const
|
|
3848
|
-
if (!
|
|
3849
|
-
const M =
|
|
3847
|
+
const k = D(o.subject);
|
|
3848
|
+
if (!k) return o;
|
|
3849
|
+
const M = k.actions;
|
|
3850
3850
|
return M.length <= 1 || M.filter((v) => !_.includes(v)).length === 0 ? o : { ...o, actions: [...M] };
|
|
3851
3851
|
}));
|
|
3852
3852
|
function ne(O) {
|
|
@@ -3854,11 +3854,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3854
3854
|
B.value,
|
|
3855
3855
|
O,
|
|
3856
3856
|
n.value,
|
|
3857
|
-
|
|
3857
|
+
D
|
|
3858
3858
|
);
|
|
3859
3859
|
}
|
|
3860
3860
|
const Q = z(() => new Set(
|
|
3861
|
-
|
|
3861
|
+
N.value.filter((O) => sn(O.subject).length > 0).map((O) => O.subject)
|
|
3862
3862
|
)), _e = z(() => {
|
|
3863
3863
|
const O = /* @__PURE__ */ new Map();
|
|
3864
3864
|
return B.value.map((r) => ({
|
|
@@ -3868,8 +3868,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3868
3868
|
)
|
|
3869
3869
|
})).filter(({ rule: r }) => !r.inverted).forEach(({ rule: r, index: o }) => {
|
|
3870
3870
|
var P;
|
|
3871
|
-
const _ = r.actions,
|
|
3872
|
-
if (
|
|
3871
|
+
const _ = r.actions, k = L(r.subject, _);
|
|
3872
|
+
if (k.length === 0) return;
|
|
3873
3873
|
let M;
|
|
3874
3874
|
try {
|
|
3875
3875
|
M = r.conditions ? JSON.parse(r.conditions) : void 0;
|
|
@@ -3879,38 +3879,38 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3879
3879
|
O.set(r.subject, {
|
|
3880
3880
|
index: o >= 0 ? o : null,
|
|
3881
3881
|
subject: r.subject,
|
|
3882
|
-
label: ((P =
|
|
3882
|
+
label: ((P = D(r.subject)) == null ? void 0 : P.label) ?? r.subject,
|
|
3883
3883
|
actions: _,
|
|
3884
3884
|
// Each builder only ever sees its own slice of the stored condition.
|
|
3885
|
-
sections:
|
|
3885
|
+
sections: k.map((v) => ({
|
|
3886
3886
|
builder: v,
|
|
3887
3887
|
formValue: v.fromCondition(tt(M, v))
|
|
3888
3888
|
}))
|
|
3889
3889
|
});
|
|
3890
3890
|
}), O;
|
|
3891
|
-
}), ce = fa(n,
|
|
3891
|
+
}), ce = fa(n, N, (O) => {
|
|
3892
3892
|
n.value = O;
|
|
3893
3893
|
}), oe = Ts(n), fe = st(null);
|
|
3894
3894
|
function q(O, r) {
|
|
3895
3895
|
const o = _e.value.get(O);
|
|
3896
3896
|
if (o) return o;
|
|
3897
|
-
const _ = ce.getEffectiveActions(O),
|
|
3898
|
-
if (
|
|
3897
|
+
const _ = ce.getEffectiveActions(O), k = L(O, _);
|
|
3898
|
+
if (k.length !== 0)
|
|
3899
3899
|
return {
|
|
3900
3900
|
index: null,
|
|
3901
3901
|
subject: O,
|
|
3902
3902
|
label: r,
|
|
3903
3903
|
actions: _,
|
|
3904
|
-
sections:
|
|
3904
|
+
sections: k.map((M) => ({
|
|
3905
3905
|
builder: M,
|
|
3906
3906
|
formValue: M.fromCondition(void 0)
|
|
3907
3907
|
}))
|
|
3908
3908
|
};
|
|
3909
3909
|
}
|
|
3910
|
-
function
|
|
3910
|
+
function we(O, r) {
|
|
3911
3911
|
const o = oe.getDraft({ subject: O.subject, builderKey: r.builderKey });
|
|
3912
3912
|
if (o) return o.formValue;
|
|
3913
|
-
const _ = O.sections.find((
|
|
3913
|
+
const _ = O.sections.find((k) => k.builder.builderKey === r.builderKey);
|
|
3914
3914
|
return _ == null ? void 0 : _.formValue;
|
|
3915
3915
|
}
|
|
3916
3916
|
function K(O, r) {
|
|
@@ -3934,11 +3934,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3934
3934
|
const _ = oe.getDraft({
|
|
3935
3935
|
subject: O.subject,
|
|
3936
3936
|
builderKey: r.builderKey
|
|
3937
|
-
}),
|
|
3937
|
+
}), k = O.sections.find((M) => M.builder.builderKey === r.builderKey);
|
|
3938
3938
|
oe.setDraft(
|
|
3939
3939
|
{ subject: O.subject, builderKey: r.builderKey },
|
|
3940
3940
|
{
|
|
3941
|
-
formValue: (_ == null ? void 0 : _.formValue) ?? (
|
|
3941
|
+
formValue: (_ == null ? void 0 : _.formValue) ?? (k == null ? void 0 : k.formValue),
|
|
3942
3942
|
inheritMode: o
|
|
3943
3943
|
}
|
|
3944
3944
|
);
|
|
@@ -3948,28 +3948,28 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3948
3948
|
}
|
|
3949
3949
|
function Ve(O, r) {
|
|
3950
3950
|
const o = O.sections.flatMap((_) => {
|
|
3951
|
-
const
|
|
3951
|
+
const k = oe.getDraft({
|
|
3952
3952
|
subject: O.subject,
|
|
3953
3953
|
builderKey: _.builder.builderKey
|
|
3954
3954
|
});
|
|
3955
|
-
return
|
|
3955
|
+
return k ? [{ builder: _.builder, form: k.formValue, mode: k.inheritMode ?? "custom" }] : [];
|
|
3956
3956
|
});
|
|
3957
3957
|
ce.applyConditionDrafts(O, o, {
|
|
3958
3958
|
afterCommit: () => {
|
|
3959
3959
|
oe.clearDraftsForSubject(O.subject), r();
|
|
3960
3960
|
},
|
|
3961
|
-
onOverridesConflict:
|
|
3961
|
+
onOverridesConflict: Ye(O).onOverridesConflict
|
|
3962
3962
|
});
|
|
3963
3963
|
}
|
|
3964
3964
|
function Fe(O) {
|
|
3965
3965
|
return O.sections.some((r) => ce.shouldShowInheritToggle(O, r.builder) ? ce.inheritMode(O, r.builder) === "custom" : Object.keys(r.builder.toCondition(r.formValue)).length > 0);
|
|
3966
3966
|
}
|
|
3967
|
-
let
|
|
3968
|
-
function
|
|
3967
|
+
let Ce = !1;
|
|
3968
|
+
function Ye(O, r = {}) {
|
|
3969
3969
|
return {
|
|
3970
3970
|
...r,
|
|
3971
3971
|
onOverridesConflict: ({ override: o, keep: _ }) => {
|
|
3972
|
-
|
|
3972
|
+
Ce || (Ce = !0, u.open({
|
|
3973
3973
|
title: a("team.memberForm.permissions.conditionCover.confirmTitle"),
|
|
3974
3974
|
message: a("team.memberForm.permissions.conditionCover.confirmMessage", {
|
|
3975
3975
|
cover: O.label
|
|
@@ -3985,23 +3985,23 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3985
3985
|
close: !1
|
|
3986
3986
|
}
|
|
3987
3987
|
}).onPrimary(() => {
|
|
3988
|
-
o(),
|
|
3988
|
+
o(), Ce = !1, u.close();
|
|
3989
3989
|
}).onSecondary(() => {
|
|
3990
|
-
_(),
|
|
3990
|
+
_(), Ce = !1, u.close();
|
|
3991
3991
|
}).onClose(() => {
|
|
3992
|
-
|
|
3992
|
+
Ce = !1;
|
|
3993
3993
|
}));
|
|
3994
3994
|
}
|
|
3995
3995
|
};
|
|
3996
3996
|
}
|
|
3997
|
-
return
|
|
3997
|
+
return Dt(
|
|
3998
3998
|
n,
|
|
3999
3999
|
(O) => {
|
|
4000
4000
|
l("permissionChanged", O);
|
|
4001
4001
|
},
|
|
4002
4002
|
{ deep: !0 }
|
|
4003
4003
|
), (O, r) => {
|
|
4004
|
-
const o =
|
|
4004
|
+
const o = De("FmIcon"), _ = De("FmBottomSheet"), k = De("FmPopover");
|
|
4005
4005
|
return J(), ie("div", _a, [
|
|
4006
4006
|
ae("div", pa, [
|
|
4007
4007
|
ue(Xo, {
|
|
@@ -4010,7 +4010,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4010
4010
|
"additional-permissions": H(T),
|
|
4011
4011
|
"onUpdate:modelValue": ne
|
|
4012
4012
|
}, et({ _: 2 }, [
|
|
4013
|
-
ye(
|
|
4013
|
+
ye(w.value, (M) => ({
|
|
4014
4014
|
name: `checkbox-${M.id}-append`,
|
|
4015
4015
|
fn: de(() => [
|
|
4016
4016
|
ue(vt, { item: M }, null, 8, ["item"])
|
|
@@ -4019,8 +4019,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4019
4019
|
ye(Q.value, (M) => ({
|
|
4020
4020
|
name: `checkbox-${M}-icon`,
|
|
4021
4021
|
fn: de(({ option: P, isEffectiveSelected: v }) => [
|
|
4022
|
-
v && q(M, P.label) ? (J(), ie(
|
|
4023
|
-
g.value ? (J(),
|
|
4022
|
+
v && q(M, P.label) ? (J(), ie(Ae, { key: 0 }, [
|
|
4023
|
+
g.value ? (J(), Ne(_, {
|
|
4024
4024
|
key: 0,
|
|
4025
4025
|
"model-value": fe.value === M,
|
|
4026
4026
|
header: H(a)("team.memberForm.permissions.conditionTitle", {
|
|
@@ -4050,7 +4050,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4050
4050
|
"time-zone": F.value,
|
|
4051
4051
|
"cover-override": H(ce),
|
|
4052
4052
|
"inherit-mode-for": (y) => K(q(M, P.label), y),
|
|
4053
|
-
"form-value-for": (y) =>
|
|
4053
|
+
"form-value-for": (y) => we(q(M, P.label), y),
|
|
4054
4054
|
"has-changes": Ke(M),
|
|
4055
4055
|
disable: e.disable,
|
|
4056
4056
|
"full-width": !0,
|
|
@@ -4060,7 +4060,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4060
4060
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4061
4061
|
]),
|
|
4062
4062
|
_: 2
|
|
4063
|
-
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(),
|
|
4063
|
+
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(), Ne(k, {
|
|
4064
4064
|
key: 1,
|
|
4065
4065
|
disabled: e.disable,
|
|
4066
4066
|
"z-index": 100,
|
|
@@ -4091,7 +4091,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4091
4091
|
context: q(M, P.label).label
|
|
4092
4092
|
}),
|
|
4093
4093
|
"inherit-mode-for": ($) => K(q(M, P.label), $),
|
|
4094
|
-
"form-value-for": ($) =>
|
|
4094
|
+
"form-value-for": ($) => we(q(M, P.label), $),
|
|
4095
4095
|
"has-changes": Ke(M),
|
|
4096
4096
|
disable: e.disable,
|
|
4097
4097
|
onUpdateInheritMode: ({ builder: $, mode: le }) => Je(
|
|
@@ -4105,7 +4105,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4105
4105
|
]),
|
|
4106
4106
|
_: 2
|
|
4107
4107
|
}, 1032, ["disabled", "exclude-el-from-click-outside", "onClose"]))
|
|
4108
|
-
], 64)) : (J(),
|
|
4108
|
+
], 64)) : (J(), Ne(o, {
|
|
4109
4109
|
key: 1,
|
|
4110
4110
|
name: "settings",
|
|
4111
4111
|
size: "sm",
|
|
@@ -4116,11 +4116,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4116
4116
|
]), 1032, ["model-value", "additional-permissions"])
|
|
4117
4117
|
]),
|
|
4118
4118
|
ae("div", ba, [
|
|
4119
|
-
ue(
|
|
4119
|
+
ue(wn, {
|
|
4120
4120
|
"model-value": b.value,
|
|
4121
4121
|
options: p.value,
|
|
4122
4122
|
context: H(a)("team.labels.warehouse"),
|
|
4123
|
-
"onUpdate:modelValue":
|
|
4123
|
+
"onUpdate:modelValue": A
|
|
4124
4124
|
}, et({ _: 2 }, [
|
|
4125
4125
|
ye(f.value, (M) => ({
|
|
4126
4126
|
name: `checkbox-${M.id}-append`,
|
|
@@ -4131,7 +4131,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4131
4131
|
]), 1032, ["model-value", "options", "context"])
|
|
4132
4132
|
]),
|
|
4133
4133
|
ae("div", ga, [
|
|
4134
|
-
ue(
|
|
4134
|
+
ue(wn, {
|
|
4135
4135
|
"model-value": U.value,
|
|
4136
4136
|
options: m.value,
|
|
4137
4137
|
context: H(a)("team.labels.restaurant"),
|
|
@@ -4165,5 +4165,5 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4165
4165
|
}
|
|
4166
4166
|
});
|
|
4167
4167
|
export {
|
|
4168
|
-
|
|
4168
|
+
Da as _
|
|
4169
4169
|
};
|