@feedmepos/mf-menu 0.32.6-dev → 0.32.7-beta.1
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/{App-C0wqjiyq.js → App-Dizmo0gB.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BD9HdRa2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Dn7KPuiC.js} +3 -3
- package/dist/{Catalog-BEXFcRd5.js → Catalog-DW-L1M-N.js} +6 -6
- package/dist/{Category-Cb5LkCw2.js → Category-B3r3_mIm.js} +6 -6
- package/dist/{Category-CxjnUggK.js → Category-CL9z6m_M.js} +4 -4
- package/dist/{CookingGuide-BULsaobB.js → CookingGuide-DgNvztyY.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bmu7NSKJ.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-daoGqL4z.js} +1 -1
- package/dist/{Group-DtjBIaHh.js → Group-0sktO0Oa.js} +3 -3
- package/dist/{Group-BrjeKpJD.js → Group-Cl0nNVJd.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BiZQQrJr.js → Group.vue_vue_type_script_setup_true_lang-CLOi60Q4.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-S9Kxf5sD.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DU7p3reT.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-qLKUXmH0.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CMv6raWo.js} +208 -208
- package/dist/{Ingredient-BFkA3yd3.js → Ingredient-DLu8PljJ.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CxY7hIAB.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DuEgpxkq.js} +2 -2
- package/dist/{LinkProductSideSheet-mEQtnat4.js → LinkProductSideSheet-DkaEnZRb.js} +3 -3
- package/dist/{MenuSetting-mRLxflwf.js → MenuSetting-nJnvZKhV.js} +5 -5
- package/dist/{PrintRoute-CA3H_RRF.js → PrintRoute-4LGqJ2Mo.js} +4 -4
- package/dist/{Product-Btu9jFW4.js → Product-BjlEy81T.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-wznEsaOv.js → Product.vue_vue_type_script_setup_true_lang-v3a6dQ7L.js} +13 -13
- package/dist/{ProductInternalTools-Bhgg8T6E.js → ProductInternalTools-BRPFpO2h.js} +5 -5
- package/dist/{Products-BxKtg4Hc.js → Products-B5Fufkj7.js} +11 -11
- package/dist/{Publish-96mnJzcq.js → Publish-BUS1daoG.js} +3 -3
- package/dist/{Recipe-prZzJ-iF.js → Recipe-DPzWGLTi.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DK6_WkwD.js → RuleView.vue_vue_type_script_setup_true_lang-WNjFlKO_.js} +195 -195
- package/dist/{Scheduler-UinCL5_R.js → Scheduler-C0PCdox7.js} +3 -3
- package/dist/{ServingSequence-CfaZr_ap.js → ServingSequence-DOWnq7Th.js} +3 -3
- package/dist/{Setting-BHHKtXDX.js → Setting-CjLavUAz.js} +5 -5
- package/dist/{Subcategory-DW1-JTpN.js → Subcategory-Bpuus-6O.js} +4 -4
- package/dist/{Takeaway-DEJgAuU9.js → Takeaway-CAExkfNT.js} +1 -1
- package/dist/{Takeaway-DYIQe1DD.js → Takeaway-DJdGWe6a.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-ChFueBfy.js → Takeaway.vue_vue_type_script_setup_true_lang-wnuQhpRw.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DLbikHRZ.js → Thumbnail.vue_vue_type_script_setup_true_lang-ByStGRDS.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CYNKbXBq.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-AbEssjut.js} +14 -14
- package/dist/{Unit-Bw50_wdS.js → Unit-LkuQKnke.js} +2 -2
- package/dist/{Variant-5QSIwVn-.js → Variant-BUN0ViAe.js} +3 -3
- package/dist/{_id_-S9SSMUZc.js → _id_-CG-8sg2V.js} +10 -10
- package/dist/{app-BecTYei3.js → app-BO-MnIEk.js} +1 -1
- package/dist/{app-BNKEw3UD.js → app-GVwkhygW.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-DUzFn-_H.js → linked-status-DfRfdTLe.js} +2 -2
- package/dist/assets/{override-menu-DQ7zRCWo.js → override-menu-D6rKQPLs.js} +2 -2
- package/dist/assets/{validate-menu-zh6gQBJ1.js → validate-menu-BcNMGDB6.js} +2 -2
- package/dist/{catalog-C_Sjp0In.js → catalog-B80XVDez.js} +1 -1
- package/dist/{catalogSetting-DzdeFq1T.js → catalogSetting-UkyLv3s8.js} +1 -1
- package/dist/{category-Dg4DY9ZM.js → category-Bptaaro-.js} +1 -1
- package/dist/{currency-CzTBOF1N.js → currency-CZBLDn1z.js} +1 -1
- package/dist/{index-B6KX4_fz.js → index-BQUmG7GD.js} +4 -4
- package/dist/{index-dGlwrywa.js → index-Bfc_H1Wk.js} +1 -1
- package/dist/{index-DH-KBSkx.js → index-D6-f96j6.js} +1 -1
- package/dist/{index-BPOiF0LF.js → index-fQOCDH1D.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-Bj2YFzYx.js → index.vue_vue_type_script_setup_true_lang-ChpOX21K.js} +4 -4
- package/dist/{item-DLH-WU0o.js → item-MEx2-toC.js} +14 -14
- package/dist/{iteration-CKwlLYDR.js → iteration-6mSjEGuP.js} +1 -1
- package/dist/{jszip.min-DTxfdnf0.js → jszip.min-DpyTwMsD.js} +2 -2
- package/dist/{menu-BYlx7YYT.js → menu-CQSPnWF_.js} +1 -1
- package/dist/{menuV2-BH6Y6sBZ.js → menuV2-CjZW8UU-.js} +77 -77
- package/dist/{priceTier-B7ZcrSEj.js → priceTier-DLbvTJ9_.js} +1 -1
- package/dist/{scheduler-Bt-xiQof.js → scheduler-DcgRWBFh.js} +4 -4
- package/dist/{subcategory-BcHWM6VM.js → subcategory-aPPLrR8g.js} +2 -2
- package/dist/{toExcel-BKVFrVM_.js → toExcel-CUvRthrb.js} +2 -2
- package/dist/{unit-CzEPSZmH.js → unit-CNr3RFXW.js} +2 -2
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { defineComponent as ce, createElementBlock as j, openBlock as B, normali
|
|
|
2
2
|
import { x as Bn, N as Kn } from "./app-CzXxFrl1.js";
|
|
3
3
|
import { useCoreStore as Pt, useI18n as He, EMPTY_RULE as jn, isEmptyMongoQuery as Yn, isEmptyRule as Xn, useCustomAttributes as Wt } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as kn, I as Bt, z as yt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as kn, I as Bt, z as yt } from "./index.vue_vue_type_script_setup_true_lang-ChpOX21K.js";
|
|
6
6
|
import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
const Jn = /* @__PURE__ */ ce({
|
|
8
8
|
__name: "FormColumn",
|
|
@@ -119,7 +119,7 @@ const _e = " ", _r = "\r", ne = `
|
|
|
119
119
|
function fr(e) {
|
|
120
120
|
const t = e;
|
|
121
121
|
let n = 0, r = 1, a = 1, s = 0;
|
|
122
|
-
const u = (_) => t[_] === _r && t[_ + 1] === ne, m = (_) => t[_] === ne, c = (_) => t[_] === dr,
|
|
122
|
+
const u = (_) => t[_] === _r && t[_ + 1] === ne, m = (_) => t[_] === ne, c = (_) => t[_] === dr, E = (_) => t[_] === pr, k = (_) => u(_) || m(_) || c(_) || E(_), R = () => n, g = () => r, p = () => a, L = () => s, T = (_) => u(_) || c(_) || E(_) ? ne : t[_], y = () => T(n), i = () => T(n + s);
|
|
123
123
|
function b() {
|
|
124
124
|
return s = 0, k(n) && (r++, a = 0), u(n) && n++, n++, a++, t[n];
|
|
125
125
|
}
|
|
@@ -132,7 +132,7 @@ function fr(e) {
|
|
|
132
132
|
function A(_ = 0) {
|
|
133
133
|
s = _;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function v() {
|
|
136
136
|
const _ = n + s;
|
|
137
137
|
for (; _ !== n; )
|
|
138
138
|
b();
|
|
@@ -150,11 +150,11 @@ function fr(e) {
|
|
|
150
150
|
peek: N,
|
|
151
151
|
reset: f,
|
|
152
152
|
resetPeek: A,
|
|
153
|
-
skipToPeek:
|
|
153
|
+
skipToPeek: v
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
|
-
const
|
|
157
|
-
function
|
|
156
|
+
const Ee = void 0, gr = ".", Xt = "'", Er = "tokenizer";
|
|
157
|
+
function vr(e, t = {}) {
|
|
158
158
|
const n = t.location !== !1, r = fr(e), a = () => r.index(), s = () => ir(r.line(), r.column(), r.index()), u = s(), m = a(), c = {
|
|
159
159
|
currentType: 13,
|
|
160
160
|
offset: m,
|
|
@@ -167,12 +167,12 @@ function Er(e, t = {}) {
|
|
|
167
167
|
braceNest: 0,
|
|
168
168
|
inLinked: !1,
|
|
169
169
|
text: ""
|
|
170
|
-
},
|
|
170
|
+
}, E = () => c, { onError: k } = t;
|
|
171
171
|
function R(o, l, h, ...S) {
|
|
172
|
-
const X =
|
|
172
|
+
const X = E();
|
|
173
173
|
if (l.column += h, l.offset += h, k) {
|
|
174
174
|
const F = n ? Tt(X.startLoc, l) : null, d = nt(o, F, {
|
|
175
|
-
domain:
|
|
175
|
+
domain: Er,
|
|
176
176
|
args: S
|
|
177
177
|
});
|
|
178
178
|
k(d);
|
|
@@ -202,7 +202,7 @@ function Er(e, t = {}) {
|
|
|
202
202
|
return o.skipToPeek(), l;
|
|
203
203
|
}
|
|
204
204
|
function i(o) {
|
|
205
|
-
if (o ===
|
|
205
|
+
if (o === Ee)
|
|
206
206
|
return !1;
|
|
207
207
|
const l = o.charCodeAt(0);
|
|
208
208
|
return l >= 97 && l <= 122 || // a-z
|
|
@@ -210,7 +210,7 @@ function Er(e, t = {}) {
|
|
|
210
210
|
l === 95;
|
|
211
211
|
}
|
|
212
212
|
function b(o) {
|
|
213
|
-
if (o ===
|
|
213
|
+
if (o === Ee)
|
|
214
214
|
return !1;
|
|
215
215
|
const l = o.charCodeAt(0);
|
|
216
216
|
return l >= 48 && l <= 57;
|
|
@@ -239,7 +239,7 @@ function Er(e, t = {}) {
|
|
|
239
239
|
const S = o.currentPeek() === Xt;
|
|
240
240
|
return o.resetPeek(), S;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function v(o, l) {
|
|
243
243
|
const { currentType: h } = l;
|
|
244
244
|
if (h !== 7)
|
|
245
245
|
return !1;
|
|
@@ -287,7 +287,7 @@ function Er(e, t = {}) {
|
|
|
287
287
|
}
|
|
288
288
|
function P(o, l) {
|
|
289
289
|
const h = o.currentChar();
|
|
290
|
-
return h ===
|
|
290
|
+
return h === Ee ? Ee : l(h) ? (o.next(), h) : null;
|
|
291
291
|
}
|
|
292
292
|
function Te(o) {
|
|
293
293
|
const l = o.charCodeAt(0);
|
|
@@ -358,12 +358,12 @@ function Er(e, t = {}) {
|
|
|
358
358
|
let l = "", h = "";
|
|
359
359
|
for (; l = ot(o); )
|
|
360
360
|
h += l;
|
|
361
|
-
return o.currentChar() ===
|
|
361
|
+
return o.currentChar() === Ee && R($.UNTERMINATED_CLOSING_BRACE, s(), 0), h;
|
|
362
362
|
}
|
|
363
363
|
function mt(o) {
|
|
364
364
|
y(o);
|
|
365
365
|
let l = "";
|
|
366
|
-
return o.currentChar() === "-" ? (o.next(), l += `-${Be(o)}`) : l += Be(o), o.currentChar() ===
|
|
366
|
+
return o.currentChar() === "-" ? (o.next(), l += `-${Be(o)}`) : l += Be(o), o.currentChar() === Ee && R($.UNTERMINATED_CLOSING_BRACE, s(), 0), l;
|
|
367
367
|
}
|
|
368
368
|
function Ht(o) {
|
|
369
369
|
return o !== Xt && o !== ne;
|
|
@@ -374,7 +374,7 @@ function Er(e, t = {}) {
|
|
|
374
374
|
for (; l = P(o, Ht); )
|
|
375
375
|
l === "\\" ? h += pt(o) : h += l;
|
|
376
376
|
const S = o.currentChar();
|
|
377
|
-
return S === ne || S ===
|
|
377
|
+
return S === ne || S === Ee ? (R($.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), S === ne && (o.next(), L(o, "'")), h) : (L(o, "'"), h);
|
|
378
378
|
}
|
|
379
379
|
function pt(o) {
|
|
380
380
|
const l = o.currentChar();
|
|
@@ -419,7 +419,7 @@ function Er(e, t = {}) {
|
|
|
419
419
|
h += l;
|
|
420
420
|
return h;
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function Et(o) {
|
|
423
423
|
const l = (h) => {
|
|
424
424
|
const S = o.currentChar();
|
|
425
425
|
return S === "{" || S === "@" || S === "|" || S === "(" || S === ")" || !S || S === _e ? h : (h += S, o.next(), l(h));
|
|
@@ -500,7 +500,7 @@ function Er(e, t = {}) {
|
|
|
500
500
|
/* TokenChars.LinkedDelimiter */
|
|
501
501
|
);
|
|
502
502
|
default:
|
|
503
|
-
return W(o) ? (S = g(l, 1, Se(o)), l.braceNest = 0, l.inLinked = !1, S) :
|
|
503
|
+
return W(o) ? (S = g(l, 1, Se(o)), l.braceNest = 0, l.inLinked = !1, S) : v(o, l) || C(o, l) ? (y(o), Ne(o, l)) : _(o, l) ? (y(o), g(l, 11, gt(o))) : D(o, l) ? (y(o), X === "{" ? Ie(o, l) || S : g(l, 10, Et(o))) : (h === 7 && R($.INVALID_LINKED_FORMAT, s(), 0), l.braceNest = 0, l.inLinked = !1, De(o, l));
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
function De(o, l) {
|
|
@@ -534,19 +534,19 @@ function Er(e, t = {}) {
|
|
|
534
534
|
}
|
|
535
535
|
return h;
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function vt() {
|
|
538
538
|
const { currentType: o, offset: l, startLoc: h, endLoc: S } = c;
|
|
539
|
-
return c.lastType = o, c.lastOffset = l, c.lastStartLoc = h, c.lastEndLoc = S, c.offset = a(), c.startLoc = s(), r.currentChar() ===
|
|
539
|
+
return c.lastType = o, c.lastOffset = l, c.lastStartLoc = h, c.lastEndLoc = S, c.offset = a(), c.startLoc = s(), r.currentChar() === Ee ? g(
|
|
540
540
|
c,
|
|
541
541
|
13
|
|
542
542
|
/* TokenTypes.EOF */
|
|
543
543
|
) : De(r, c);
|
|
544
544
|
}
|
|
545
545
|
return {
|
|
546
|
-
nextToken:
|
|
546
|
+
nextToken: vt,
|
|
547
547
|
currentOffset: a,
|
|
548
548
|
currentPosition: s,
|
|
549
|
-
context:
|
|
549
|
+
context: E
|
|
550
550
|
};
|
|
551
551
|
}
|
|
552
552
|
const yr = "parser", br = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
@@ -566,9 +566,9 @@ function hr(e, t, n) {
|
|
|
566
566
|
function kr(e = {}) {
|
|
567
567
|
const t = e.location !== !1, { onError: n } = e;
|
|
568
568
|
function r(i, b, N, f, ...A) {
|
|
569
|
-
const
|
|
570
|
-
if (
|
|
571
|
-
const _ = t ? Tt(N,
|
|
569
|
+
const v = i.currentPosition();
|
|
570
|
+
if (v.offset += f, v.column += f, n) {
|
|
571
|
+
const _ = t ? Tt(N, v) : null, C = nt(b, _, {
|
|
572
572
|
domain: yr,
|
|
573
573
|
args: A
|
|
574
574
|
});
|
|
@@ -587,24 +587,24 @@ function kr(e = {}) {
|
|
|
587
587
|
return f.value = b, s(f, i.currentOffset(), i.currentPosition()), f;
|
|
588
588
|
}
|
|
589
589
|
function m(i, b) {
|
|
590
|
-
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N,
|
|
591
|
-
return
|
|
590
|
+
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(5, f, A);
|
|
591
|
+
return v.index = parseInt(b, 10), i.nextToken(), s(v, i.currentOffset(), i.currentPosition()), v;
|
|
592
592
|
}
|
|
593
593
|
function c(i, b) {
|
|
594
|
-
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N,
|
|
595
|
-
return
|
|
594
|
+
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(4, f, A);
|
|
595
|
+
return v.key = b, i.nextToken(), s(v, i.currentOffset(), i.currentPosition()), v;
|
|
596
596
|
}
|
|
597
|
-
function
|
|
598
|
-
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N,
|
|
599
|
-
return
|
|
597
|
+
function E(i, b) {
|
|
598
|
+
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(9, f, A);
|
|
599
|
+
return v.value = b.replace(br, hr), i.nextToken(), s(v, i.currentOffset(), i.currentPosition()), v;
|
|
600
600
|
}
|
|
601
601
|
function k(i) {
|
|
602
|
-
const b = i.nextToken(), N = i.context(), { lastOffset: f, lastStartLoc: A } = N,
|
|
603
|
-
return b.type !== 11 ? (r(i, $.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0),
|
|
602
|
+
const b = i.nextToken(), N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(8, f, A);
|
|
603
|
+
return b.type !== 11 ? (r(i, $.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0), v.value = "", s(v, f, A), {
|
|
604
604
|
nextConsumeToken: b,
|
|
605
|
-
node:
|
|
606
|
-
}) : (b.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, ue(b)),
|
|
607
|
-
node:
|
|
605
|
+
node: v
|
|
606
|
+
}) : (b.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, ue(b)), v.value = b.value || "", s(v, i.currentOffset(), i.currentPosition()), {
|
|
607
|
+
node: v
|
|
608
608
|
});
|
|
609
609
|
}
|
|
610
610
|
function R(i, b) {
|
|
@@ -629,12 +629,12 @@ function kr(e = {}) {
|
|
|
629
629
|
f.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(f)), N.key = m(i, f.value || "");
|
|
630
630
|
break;
|
|
631
631
|
case 6:
|
|
632
|
-
f.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(f)), N.key =
|
|
632
|
+
f.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(f)), N.key = E(i, f.value || "");
|
|
633
633
|
break;
|
|
634
634
|
default: {
|
|
635
635
|
r(i, $.UNEXPECTED_EMPTY_LINKED_KEY, b.lastStartLoc, 0);
|
|
636
|
-
const A = i.context(),
|
|
637
|
-
return
|
|
636
|
+
const A = i.context(), v = a(7, A.offset, A.startLoc);
|
|
637
|
+
return v.value = "", s(v, A.offset, A.startLoc), N.key = v, s(N, A.offset, A.startLoc), {
|
|
638
638
|
nextConsumeToken: f,
|
|
639
639
|
node: N
|
|
640
640
|
};
|
|
@@ -647,10 +647,10 @@ function kr(e = {}) {
|
|
|
647
647
|
function p(i) {
|
|
648
648
|
const b = i.context(), N = b.currentType === 1 ? i.currentOffset() : b.offset, f = b.currentType === 1 ? b.endLoc : b.startLoc, A = a(2, N, f);
|
|
649
649
|
A.items = [];
|
|
650
|
-
let
|
|
650
|
+
let v = null;
|
|
651
651
|
do {
|
|
652
|
-
const D =
|
|
653
|
-
switch (
|
|
652
|
+
const D = v || i.nextToken();
|
|
653
|
+
switch (v = null, D.type) {
|
|
654
654
|
case 0:
|
|
655
655
|
D.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(D)), A.items.push(u(i, D.value || ""));
|
|
656
656
|
break;
|
|
@@ -661,11 +661,11 @@ function kr(e = {}) {
|
|
|
661
661
|
D.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(D)), A.items.push(c(i, D.value || ""));
|
|
662
662
|
break;
|
|
663
663
|
case 6:
|
|
664
|
-
D.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(D)), A.items.push(
|
|
664
|
+
D.value == null && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(D)), A.items.push(E(i, D.value || ""));
|
|
665
665
|
break;
|
|
666
666
|
case 7: {
|
|
667
667
|
const W = g(i);
|
|
668
|
-
A.items.push(W.node),
|
|
668
|
+
A.items.push(W.node), v = W.nextConsumeToken || null;
|
|
669
669
|
break;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
@@ -675,21 +675,21 @@ function kr(e = {}) {
|
|
|
675
675
|
}
|
|
676
676
|
function L(i, b, N, f) {
|
|
677
677
|
const A = i.context();
|
|
678
|
-
let
|
|
678
|
+
let v = f.items.length === 0;
|
|
679
679
|
const _ = a(1, b, N);
|
|
680
680
|
_.cases = [], _.cases.push(f);
|
|
681
681
|
do {
|
|
682
682
|
const C = p(i);
|
|
683
|
-
|
|
683
|
+
v || (v = C.items.length === 0), _.cases.push(C);
|
|
684
684
|
} while (A.currentType !== 13);
|
|
685
|
-
return
|
|
685
|
+
return v && r(i, $.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), s(_, i.currentOffset(), i.currentPosition()), _;
|
|
686
686
|
}
|
|
687
687
|
function T(i) {
|
|
688
688
|
const b = i.context(), { offset: N, startLoc: f } = b, A = p(i);
|
|
689
689
|
return b.currentType === 13 ? A : L(i, N, f, A);
|
|
690
690
|
}
|
|
691
691
|
function y(i) {
|
|
692
|
-
const b =
|
|
692
|
+
const b = vr(i, te({}, e)), N = b.context(), f = a(0, N.offset, N.startLoc);
|
|
693
693
|
return t && f.loc && (f.loc.source = i), f.body = T(b), e.onCacheKey && (f.cacheKey = e.onCacheKey(i)), N.currentType !== 13 && r(b, $.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, i[N.offset] || ""), s(f, b.currentOffset(), b.currentPosition()), f;
|
|
694
694
|
}
|
|
695
695
|
return { parse: y };
|
|
@@ -850,20 +850,20 @@ function Rr(e, t) {
|
|
|
850
850
|
function c(T, y) {
|
|
851
851
|
u.code += T;
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function E(T, y = !0) {
|
|
854
854
|
const i = y ? r : "";
|
|
855
855
|
c(a ? i + " ".repeat(T) : i);
|
|
856
856
|
}
|
|
857
857
|
function k(T = !0) {
|
|
858
858
|
const y = ++u.indentLevel;
|
|
859
|
-
T &&
|
|
859
|
+
T && E(y);
|
|
860
860
|
}
|
|
861
861
|
function R(T = !0) {
|
|
862
862
|
const y = --u.indentLevel;
|
|
863
|
-
T &&
|
|
863
|
+
T && E(y);
|
|
864
864
|
}
|
|
865
865
|
function g() {
|
|
866
|
-
|
|
866
|
+
E(u.indentLevel);
|
|
867
867
|
}
|
|
868
868
|
return {
|
|
869
869
|
context: m,
|
|
@@ -966,11 +966,11 @@ const Sr = (e, t = {}) => {
|
|
|
966
966
|
needIndent: s
|
|
967
967
|
});
|
|
968
968
|
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(s), u.length > 0 && (m.push(`const { ${Ft(u.map((k) => `${k}: _${k}`), ", ")} } = ctx`), m.newline()), m.push("return "), Le(m, e), m.deindent(s), m.push("}"), delete e.helpers;
|
|
969
|
-
const { code: c, map:
|
|
969
|
+
const { code: c, map: E } = m.context();
|
|
970
970
|
return {
|
|
971
971
|
ast: e,
|
|
972
972
|
code: c,
|
|
973
|
-
map:
|
|
973
|
+
map: E ? E.toJSON() : void 0
|
|
974
974
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
975
975
|
};
|
|
976
976
|
};
|
|
@@ -1003,11 +1003,11 @@ function Fr(e, t) {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
const Mr = ["b", "body"];
|
|
1005
1005
|
function Ur(e) {
|
|
1006
|
-
return
|
|
1006
|
+
return ve(e, Mr);
|
|
1007
1007
|
}
|
|
1008
1008
|
const Vr = ["c", "cases"];
|
|
1009
1009
|
function $r(e) {
|
|
1010
|
-
return
|
|
1010
|
+
return ve(e, Vr, []);
|
|
1011
1011
|
}
|
|
1012
1012
|
function Qt(e, t) {
|
|
1013
1013
|
const n = Hr(t);
|
|
@@ -1020,11 +1020,11 @@ function Qt(e, t) {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
const xr = ["s", "static"];
|
|
1022
1022
|
function Hr(e) {
|
|
1023
|
-
return
|
|
1023
|
+
return ve(e, xr);
|
|
1024
1024
|
}
|
|
1025
1025
|
const Gr = ["i", "items"];
|
|
1026
1026
|
function Wr(e) {
|
|
1027
|
-
return
|
|
1027
|
+
return ve(e, Gr, []);
|
|
1028
1028
|
}
|
|
1029
1029
|
function It(e, t) {
|
|
1030
1030
|
const n = Ut(t);
|
|
@@ -1063,22 +1063,22 @@ function It(e, t) {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
const Br = ["t", "type"];
|
|
1065
1065
|
function Ut(e) {
|
|
1066
|
-
return
|
|
1066
|
+
return ve(e, Br);
|
|
1067
1067
|
}
|
|
1068
1068
|
const Kr = ["v", "value"];
|
|
1069
1069
|
function Xe(e, t) {
|
|
1070
|
-
const n =
|
|
1070
|
+
const n = ve(e, Kr);
|
|
1071
1071
|
if (n)
|
|
1072
1072
|
return n;
|
|
1073
1073
|
throw Ue(t);
|
|
1074
1074
|
}
|
|
1075
1075
|
const jr = ["m", "modifier"];
|
|
1076
1076
|
function Yr(e) {
|
|
1077
|
-
return
|
|
1077
|
+
return ve(e, jr);
|
|
1078
1078
|
}
|
|
1079
1079
|
const Xr = ["k", "key"];
|
|
1080
1080
|
function qr(e) {
|
|
1081
|
-
const t =
|
|
1081
|
+
const t = ve(e, Xr);
|
|
1082
1082
|
if (t)
|
|
1083
1083
|
return t;
|
|
1084
1084
|
throw Ue(
|
|
@@ -1086,7 +1086,7 @@ function qr(e) {
|
|
|
1086
1086
|
/* NodeTypes.Linked */
|
|
1087
1087
|
);
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function ve(e, t, n) {
|
|
1090
1090
|
for (let r = 0; r < t.length; r++) {
|
|
1091
1091
|
const a = t[r];
|
|
1092
1092
|
if (le(e, a) && e[a] != null)
|
|
@@ -1437,7 +1437,7 @@ function ma(e) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
function _a(e) {
|
|
1439
1439
|
const t = [];
|
|
1440
|
-
let n = -1, r = 0, a = 0, s, u, m, c,
|
|
1440
|
+
let n = -1, r = 0, a = 0, s, u, m, c, E, k, R;
|
|
1441
1441
|
const g = [];
|
|
1442
1442
|
g[
|
|
1443
1443
|
0
|
|
@@ -1485,7 +1485,7 @@ function _a(e) {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
for (; r !== null; )
|
|
1487
1487
|
if (n++, s = e[n], !(s === "\\" && p())) {
|
|
1488
|
-
if (c = ca(s), R = ye[r],
|
|
1488
|
+
if (c = ca(s), R = ye[r], E = R[c] || R.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (k = g[E[1]], k && (m = s, k() === !1))))
|
|
1489
1489
|
return;
|
|
1490
1490
|
if (r === 7)
|
|
1491
1491
|
return t;
|
|
@@ -1520,11 +1520,11 @@ function ga() {
|
|
|
1520
1520
|
};
|
|
1521
1521
|
}
|
|
1522
1522
|
let Nn;
|
|
1523
|
-
function
|
|
1523
|
+
function Ea(e) {
|
|
1524
1524
|
Nn = e;
|
|
1525
1525
|
}
|
|
1526
1526
|
let Rn;
|
|
1527
|
-
function
|
|
1527
|
+
function va(e) {
|
|
1528
1528
|
Rn = e;
|
|
1529
1529
|
}
|
|
1530
1530
|
let An;
|
|
@@ -1541,7 +1541,7 @@ const rn = (e) => {
|
|
|
1541
1541
|
}, ka = () => On;
|
|
1542
1542
|
let an = 0;
|
|
1543
1543
|
function Ta(e = {}) {
|
|
1544
|
-
const t = K(e.onWarn) ? e.onWarn : ur, n = O(e.version) ? e.version : fa, r = O(e.locale) || K(e.locale) ? e.locale : et, a = K(r) ? et : r, s = z(e.fallbackLocale) || M(e.fallbackLocale) || O(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, u = M(e.messages) ? e.messages : kt(a), m = M(e.datetimeFormats) ? e.datetimeFormats : kt(a), c = M(e.numberFormats) ? e.numberFormats : kt(a),
|
|
1544
|
+
const t = K(e.onWarn) ? e.onWarn : ur, n = O(e.version) ? e.version : fa, r = O(e.locale) || K(e.locale) ? e.locale : et, a = K(r) ? et : r, s = z(e.fallbackLocale) || M(e.fallbackLocale) || O(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, u = M(e.messages) ? e.messages : kt(a), m = M(e.datetimeFormats) ? e.datetimeFormats : kt(a), c = M(e.numberFormats) ? e.numberFormats : kt(a), E = te(x(), e.modifiers, ga()), k = e.pluralRules || x(), R = K(e.missing) ? e.missing : null, g = J(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, p = J(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, L = !!e.fallbackFormat, T = !!e.unresolving, y = K(e.postTranslation) ? e.postTranslation : null, i = M(e.processor) ? e.processor : null, b = J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, f = K(e.messageCompiler) ? e.messageCompiler : Nn, A = K(e.messageResolver) ? e.messageResolver : Rn || pa, v = K(e.localeFallbacker) ? e.localeFallbacker : An || aa, _ = U(e.fallbackContext) ? e.fallbackContext : void 0, C = e, D = U(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), W = U(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), w = U(C.__meta) ? C.__meta : {};
|
|
1545
1545
|
an++;
|
|
1546
1546
|
const P = {
|
|
1547
1547
|
version: n,
|
|
@@ -1549,7 +1549,7 @@ function Ta(e = {}) {
|
|
|
1549
1549
|
locale: r,
|
|
1550
1550
|
fallbackLocale: s,
|
|
1551
1551
|
messages: u,
|
|
1552
|
-
modifiers:
|
|
1552
|
+
modifiers: E,
|
|
1553
1553
|
pluralRules: k,
|
|
1554
1554
|
missing: R,
|
|
1555
1555
|
missingWarn: g,
|
|
@@ -1562,7 +1562,7 @@ function Ta(e = {}) {
|
|
|
1562
1562
|
escapeParameter: N,
|
|
1563
1563
|
messageCompiler: f,
|
|
1564
1564
|
messageResolver: A,
|
|
1565
|
-
localeFallbacker:
|
|
1565
|
+
localeFallbacker: v,
|
|
1566
1566
|
fallbackContext: _,
|
|
1567
1567
|
onWarn: t,
|
|
1568
1568
|
__meta: w
|
|
@@ -1595,7 +1595,7 @@ function Na(e, t) {
|
|
|
1595
1595
|
return !1;
|
|
1596
1596
|
}
|
|
1597
1597
|
function sn(e, ...t) {
|
|
1598
|
-
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __datetimeFormatters: m } = e, [c,
|
|
1598
|
+
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __datetimeFormatters: m } = e, [c, E, k, R] = Nt(...t), g = J(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1599
1599
|
J(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1600
1600
|
const p = !!k.part, L = Vt(e, k), T = u(
|
|
1601
1601
|
e,
|
|
@@ -1604,17 +1604,17 @@ function sn(e, ...t) {
|
|
|
1604
1604
|
L
|
|
1605
1605
|
);
|
|
1606
1606
|
if (!O(c) || c === "")
|
|
1607
|
-
return new Intl.DateTimeFormat(L, R).format(
|
|
1607
|
+
return new Intl.DateTimeFormat(L, R).format(E);
|
|
1608
1608
|
let y = {}, i, b = null;
|
|
1609
1609
|
const N = "datetime format";
|
|
1610
|
-
for (let
|
|
1610
|
+
for (let v = 0; v < T.length && (i = T[v], y = n[i] || {}, b = y[c], !M(b)); v++)
|
|
1611
1611
|
$t(e, c, i, g, N);
|
|
1612
1612
|
if (!M(b) || !O(i))
|
|
1613
1613
|
return r ? rt : c;
|
|
1614
1614
|
let f = `${i}__${c}`;
|
|
1615
1615
|
tt(R) || (f = `${f}__${JSON.stringify(R)}`);
|
|
1616
1616
|
let A = m.get(f);
|
|
1617
|
-
return A || (A = new Intl.DateTimeFormat(i, te({}, b, R)), m.set(f, A)), p ? A.formatToParts(
|
|
1617
|
+
return A || (A = new Intl.DateTimeFormat(i, te({}, b, R)), m.set(f, A)), p ? A.formatToParts(E) : A.format(E);
|
|
1618
1618
|
}
|
|
1619
1619
|
const Cn = [
|
|
1620
1620
|
"localeMatcher",
|
|
@@ -1645,8 +1645,8 @@ function Nt(...e) {
|
|
|
1645
1645
|
const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1646
1646
|
if (!c)
|
|
1647
1647
|
throw de(pe.INVALID_ISO_DATE_ARGUMENT);
|
|
1648
|
-
const
|
|
1649
|
-
m = new Date(
|
|
1648
|
+
const E = c[3] ? c[3].trim().startsWith("T") ? `${c[1].trim()}${c[3].trim()}` : `${c[1].trim()}T${c[3].trim()}` : c[1].trim();
|
|
1649
|
+
m = new Date(E);
|
|
1650
1650
|
try {
|
|
1651
1651
|
m.toISOString();
|
|
1652
1652
|
} catch {
|
|
@@ -1672,7 +1672,7 @@ function on(e, t, n) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
function ln(e, ...t) {
|
|
1675
|
-
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __numberFormatters: m } = e, [c,
|
|
1675
|
+
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __numberFormatters: m } = e, [c, E, k, R] = Rt(...t), g = J(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1676
1676
|
J(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1677
1677
|
const p = !!k.part, L = Vt(e, k), T = u(
|
|
1678
1678
|
e,
|
|
@@ -1681,17 +1681,17 @@ function ln(e, ...t) {
|
|
|
1681
1681
|
L
|
|
1682
1682
|
);
|
|
1683
1683
|
if (!O(c) || c === "")
|
|
1684
|
-
return new Intl.NumberFormat(L, R).format(
|
|
1684
|
+
return new Intl.NumberFormat(L, R).format(E);
|
|
1685
1685
|
let y = {}, i, b = null;
|
|
1686
1686
|
const N = "number format";
|
|
1687
|
-
for (let
|
|
1687
|
+
for (let v = 0; v < T.length && (i = T[v], y = n[i] || {}, b = y[c], !M(b)); v++)
|
|
1688
1688
|
$t(e, c, i, g, N);
|
|
1689
1689
|
if (!M(b) || !O(i))
|
|
1690
1690
|
return r ? rt : c;
|
|
1691
1691
|
let f = `${i}__${c}`;
|
|
1692
1692
|
tt(R) || (f = `${f}__${JSON.stringify(R)}`);
|
|
1693
1693
|
let A = m.get(f);
|
|
1694
|
-
return A || (A = new Intl.NumberFormat(i, te({}, b, R)), m.set(f, A)), p ? A.formatToParts(
|
|
1694
|
+
return A || (A = new Intl.NumberFormat(i, te({}, b, R)), m.set(f, A)), p ? A.formatToParts(E) : A.format(E);
|
|
1695
1695
|
}
|
|
1696
1696
|
const Sn = [
|
|
1697
1697
|
"localeMatcher",
|
|
@@ -1746,24 +1746,24 @@ function Da(e, t) {
|
|
|
1746
1746
|
function Pa(e = {}) {
|
|
1747
1747
|
const t = e.locale, n = Sa(e), r = U(e.pluralRules) && O(t) && K(e.pluralRules[t]) ? e.pluralRules[t] : cn, a = U(e.pluralRules) && O(t) && K(e.pluralRules[t]) ? cn : void 0, s = (i) => i[r(n, i.length, a)], u = e.list || [], m = (i) => u[i], c = e.named || x();
|
|
1748
1748
|
ee(e.pluralIndex) && Da(n, c);
|
|
1749
|
-
const
|
|
1749
|
+
const E = (i) => c[i];
|
|
1750
1750
|
function k(i, b) {
|
|
1751
1751
|
const N = K(e.messages) ? e.messages(i, !!b) : U(e.messages) ? e.messages[i] : !1;
|
|
1752
1752
|
return N || (e.parent ? e.parent.message(i) : Aa);
|
|
1753
1753
|
}
|
|
1754
1754
|
const R = (i) => e.modifiers ? e.modifiers[i] : Ra, g = M(e.processor) && K(e.processor.normalize) ? e.processor.normalize : Oa, p = M(e.processor) && K(e.processor.interpolate) ? e.processor.interpolate : Ca, L = M(e.processor) && O(e.processor.type) ? e.processor.type : La, y = {
|
|
1755
1755
|
list: m,
|
|
1756
|
-
named:
|
|
1756
|
+
named: E,
|
|
1757
1757
|
plural: s,
|
|
1758
1758
|
linked: (i, ...b) => {
|
|
1759
1759
|
const [N, f] = b;
|
|
1760
|
-
let A = "text",
|
|
1761
|
-
b.length === 1 ? U(N) ? (
|
|
1760
|
+
let A = "text", v = "";
|
|
1761
|
+
b.length === 1 ? U(N) ? (v = N.modifier || v, A = N.type || A) : O(N) && (v = N || v) : b.length === 2 && (O(N) && (v = N || v), O(f) && (A = f || A));
|
|
1762
1762
|
const _ = k(i, !0)(y), C = (
|
|
1763
1763
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1764
|
-
A === "vnode" && z(_) &&
|
|
1764
|
+
A === "vnode" && z(_) && v ? _[0] : _
|
|
1765
1765
|
);
|
|
1766
|
-
return
|
|
1766
|
+
return v ? R(v)(C, A) : C;
|
|
1767
1767
|
},
|
|
1768
1768
|
message: k,
|
|
1769
1769
|
type: L,
|
|
@@ -1775,8 +1775,8 @@ function Pa(e = {}) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
const mn = () => "", re = (e) => K(e);
|
|
1777
1777
|
function _n(e, ...t) {
|
|
1778
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: u, messages: m } = e, [c,
|
|
1779
|
-
g && wa(
|
|
1778
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: u, messages: m } = e, [c, E] = At(...t), k = J(E.missingWarn) ? E.missingWarn : e.missingWarn, R = J(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, g = J(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, p = !!E.resolvedMessage, L = O(E.default) || J(E.default) ? J(E.default) ? s ? c : () => c : E.default : n ? s ? c : () => c : null, T = n || L != null && (O(L) || K(L)), y = Vt(e, E);
|
|
1779
|
+
g && wa(E);
|
|
1780
1780
|
let [i, b, N] = p ? [
|
|
1781
1781
|
c,
|
|
1782
1782
|
y,
|
|
@@ -1784,13 +1784,13 @@ function _n(e, ...t) {
|
|
|
1784
1784
|
] : Dn(e, c, y, u, R, k), f = i, A = c;
|
|
1785
1785
|
if (!p && !(O(f) || Oe(f) || re(f)) && T && (f = L, A = f), !p && (!(O(f) || Oe(f) || re(f)) || !O(b)))
|
|
1786
1786
|
return a ? rt : c;
|
|
1787
|
-
let
|
|
1787
|
+
let v = !1;
|
|
1788
1788
|
const _ = () => {
|
|
1789
|
-
|
|
1789
|
+
v = !0;
|
|
1790
1790
|
}, C = re(f) ? f : Pn(e, c, b, f, A, _);
|
|
1791
|
-
if (
|
|
1791
|
+
if (v)
|
|
1792
1792
|
return f;
|
|
1793
|
-
const D = Ua(e, b, N,
|
|
1793
|
+
const D = Ua(e, b, N, E), W = Pa(D), w = Fa(e, C, W), P = r ? r(w, c) : w;
|
|
1794
1794
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1795
1795
|
const Te = {
|
|
1796
1796
|
timestamp: Date.now(),
|
|
@@ -1809,7 +1809,7 @@ function wa(e) {
|
|
|
1809
1809
|
});
|
|
1810
1810
|
}
|
|
1811
1811
|
function Dn(e, t, n, r, a, s) {
|
|
1812
|
-
const { messages: u, onWarn: m, messageResolver: c, localeFallbacker:
|
|
1812
|
+
const { messages: u, onWarn: m, messageResolver: c, localeFallbacker: E } = e, k = E(e, r, n);
|
|
1813
1813
|
let R = x(), g, p = null;
|
|
1814
1814
|
const L = "translate";
|
|
1815
1815
|
for (let T = 0; T < k.length && (g = k[T], R = u[g] || x(), (p = c(R, t)) === null && (p = R[t]), !(O(p) || Oe(p) || re(p))); T++)
|
|
@@ -1829,12 +1829,12 @@ function Dn(e, t, n, r, a, s) {
|
|
|
1829
1829
|
function Pn(e, t, n, r, a, s) {
|
|
1830
1830
|
const { messageCompiler: u, warnHtmlMessage: m } = e;
|
|
1831
1831
|
if (re(r)) {
|
|
1832
|
-
const
|
|
1833
|
-
return
|
|
1832
|
+
const E = r;
|
|
1833
|
+
return E.locale = E.locale || n, E.key = E.key || t, E;
|
|
1834
1834
|
}
|
|
1835
1835
|
if (u == null) {
|
|
1836
|
-
const
|
|
1837
|
-
return
|
|
1836
|
+
const E = (() => r);
|
|
1837
|
+
return E.locale = n, E.key = t, E;
|
|
1838
1838
|
}
|
|
1839
1839
|
const c = u(r, Ma(e, n, a, r, m, s));
|
|
1840
1840
|
return c.locale = n, c.key = t, c.source = r, c;
|
|
@@ -1861,7 +1861,7 @@ function Ma(e, t, n, r, a, s) {
|
|
|
1861
1861
|
};
|
|
1862
1862
|
}
|
|
1863
1863
|
function Ua(e, t, n, r) {
|
|
1864
|
-
const { modifiers: a, pluralRules: s, messageResolver: u, fallbackLocale: m, fallbackWarn: c, missingWarn:
|
|
1864
|
+
const { modifiers: a, pluralRules: s, messageResolver: u, fallbackLocale: m, fallbackWarn: c, missingWarn: E, fallbackContext: k } = e, g = {
|
|
1865
1865
|
locale: t,
|
|
1866
1866
|
modifiers: a,
|
|
1867
1867
|
pluralRules: s,
|
|
@@ -1875,7 +1875,7 @@ function Ua(e, t, n, r) {
|
|
|
1875
1875
|
t,
|
|
1876
1876
|
m,
|
|
1877
1877
|
c,
|
|
1878
|
-
|
|
1878
|
+
E
|
|
1879
1879
|
);
|
|
1880
1880
|
T = u(y, p);
|
|
1881
1881
|
}
|
|
@@ -1891,7 +1891,7 @@ function Ua(e, t, n, r) {
|
|
|
1891
1891
|
return e.processor && (g.processor = e.processor), r.list && (g.list = r.list), r.named && (g.named = r.named), ee(r.plural) && (g.pluralIndex = r.plural), g;
|
|
1892
1892
|
}
|
|
1893
1893
|
wr();
|
|
1894
|
-
var Va = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a8425870-28bc-4dd2-8125-2e4a3d50c885", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a8425870-28bc-4dd2-8125-2e4a3d50c885", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.3.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", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1823", ACTIONS_ORCHESTRATION_ID: "4748cb61-95ce-4d4f-b109-3ca6fe605a50.publish.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.8", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260126.10.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13421", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.12/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21637693739", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapidev.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b275c796ba85501cd11cd1ac7314892730e500f3", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/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_d972db94-5674-4770-be99-4cff3b5dc530", INVOCATION_ID: "828355a3611149ab9fda74fda20e70b3", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "496", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000044486", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.15.3", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.4.1_@types+node@18.19.130_jiti@1.21.7_sass@1.69.5_terser@5.46.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.4.1_@types+node@18.19.130_jiti@1.21.7_sass@1.69.5_terser@5.46.0_yaml@2.8.2/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.4.1_@types+node@18.19.130_jiti@1.21.7_sass@1.69.5_terser@5.46.0_yaml@2.8.2/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.6-dev", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "b275c796ba85501cd11cd1ac7314892730e500f3", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_a8425870-28bc-4dd2-8125-2e4a3d50c885", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a8425870-28bc-4dd2-8125-2e4a3d50c885", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.8.2", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a8425870-28bc-4dd2-8125-2e4a3d50c885", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_dependencies__feedmepos_mf_remy_panel: "^0.1.0", NODE_ENV: "production" } };
|
|
1894
|
+
var Va = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c45d6e28-4b4e-444f-8b0c-777ebbbbe722", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c45d6e28-4b4e-444f-8b0c-777ebbbbe722", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.3.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", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1825", ACTIONS_ORCHESTRATION_ID: "3e7e652a-2d4b-493d-8b9b-ffac9afbc633.publish.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.8", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260126.10.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12867", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.12/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21662021567", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapidev.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "86cd22b68af22eaee78420e59f185183d83cf7a7", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/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_252e381a-882d-42d8-bfde-b795b0a085d8", INVOCATION_ID: "df49883e1a1e427b8abcb75d99a5e2dc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "497", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000044716", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.15.3", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.4.1_@types+node@18.19.130_jiti@1.21.7_sass@1.69.5_terser@5.46.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.4.1_@types+node@18.19.130_jiti@1.21.7_sass@1.69.5_terser@5.46.0_yaml@2.8.2/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.4.1_@types+node@18.19.130_jiti@1.21.7_sass@1.69.5_terser@5.46.0_yaml@2.8.2/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.7-beta.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "86cd22b68af22eaee78420e59f185183d83cf7a7", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c45d6e28-4b4e-444f-8b0c-777ebbbbe722", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c45d6e28-4b4e-444f-8b0c-777ebbbbe722", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.8.2", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c45d6e28-4b4e-444f-8b0c-777ebbbbe722", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_dependencies__feedmepos_mf_remy_panel: "^0.1.0", NODE_ENV: "production" } };
|
|
1895
1895
|
const $a = "10.0.5";
|
|
1896
1896
|
function xa() {
|
|
1897
1897
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1938,8 +1938,8 @@ function Fn(e, t) {
|
|
|
1938
1938
|
const { messages: n, __i18n: r, messageResolver: a, flatJson: s } = t, u = M(n) ? n : z(r) ? x() : { [e]: x() };
|
|
1939
1939
|
if (z(r) && r.forEach((m) => {
|
|
1940
1940
|
if ("locale" in m && "resource" in m) {
|
|
1941
|
-
const { locale: c, resource:
|
|
1942
|
-
c ? (u[c] = u[c] || x(), Je(
|
|
1941
|
+
const { locale: c, resource: E } = m;
|
|
1942
|
+
c ? (u[c] = u[c] || x(), Je(E, u[c])) : Je(E, u);
|
|
1943
1943
|
} else
|
|
1944
1944
|
O(m) && Je(JSON.parse(m), u);
|
|
1945
1945
|
}), a == null && s)
|
|
@@ -1980,7 +1980,7 @@ function pn(e) {
|
|
|
1980
1980
|
}
|
|
1981
1981
|
const dn = "__INTLIFY_META__", fn = () => [], Wa = () => !1;
|
|
1982
1982
|
let gn = 0;
|
|
1983
|
-
function
|
|
1983
|
+
function En(e) {
|
|
1984
1984
|
return ((t, n, r, a) => e(n, r, Dt() || void 0, a));
|
|
1985
1985
|
}
|
|
1986
1986
|
const Ba = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
@@ -1997,19 +1997,19 @@ function Ka(e = {}) {
|
|
|
1997
1997
|
), c = s(
|
|
1998
1998
|
// prettier-ignore
|
|
1999
1999
|
t && u ? t.fallbackLocale.value : O(e.fallbackLocale) || z(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
2000
|
-
),
|
|
2001
|
-
let g = t ? t.missingWarn : J(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : J(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, L = t ? t.fallbackRoot : J(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, y = K(e.missing) ? e.missing : null, i = K(e.missing) ?
|
|
2000
|
+
), E = s(Fn(m.value, e)), k = s(M(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), R = s(M(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
2001
|
+
let g = t ? t.missingWarn : J(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : J(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, L = t ? t.fallbackRoot : J(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, y = K(e.missing) ? e.missing : null, i = K(e.missing) ? En(e.missing) : null, b = K(e.postTranslation) ? e.postTranslation : null, N = t ? t.warnHtmlMessage : J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, f = !!e.escapeParameter;
|
|
2002
2002
|
const A = t ? t.modifiers : M(e.modifiers) ? e.modifiers : {};
|
|
2003
|
-
let
|
|
2003
|
+
let v = e.pluralRules || t && t.pluralRules, _;
|
|
2004
2004
|
_ = (() => {
|
|
2005
2005
|
r && rn(null);
|
|
2006
2006
|
const d = {
|
|
2007
2007
|
version: $a,
|
|
2008
2008
|
locale: m.value,
|
|
2009
2009
|
fallbackLocale: c.value,
|
|
2010
|
-
messages:
|
|
2010
|
+
messages: E.value,
|
|
2011
2011
|
modifiers: A,
|
|
2012
|
-
pluralRules:
|
|
2012
|
+
pluralRules: v,
|
|
2013
2013
|
missing: i === null ? void 0 : i,
|
|
2014
2014
|
missingWarn: g,
|
|
2015
2015
|
fallbackWarn: p,
|
|
@@ -2030,7 +2030,7 @@ function Ka(e = {}) {
|
|
|
2030
2030
|
return [
|
|
2031
2031
|
m.value,
|
|
2032
2032
|
c.value,
|
|
2033
|
-
|
|
2033
|
+
E.value,
|
|
2034
2034
|
k.value,
|
|
2035
2035
|
R.value
|
|
2036
2036
|
];
|
|
@@ -2045,7 +2045,7 @@ function Ka(e = {}) {
|
|
|
2045
2045
|
set: (d) => {
|
|
2046
2046
|
c.value = d, _.fallbackLocale = c.value, Pe(_, m.value, d);
|
|
2047
2047
|
}
|
|
2048
|
-
}), P = G(() =>
|
|
2048
|
+
}), P = G(() => E.value), Te = /* @__PURE__ */ G(() => k.value), at = /* @__PURE__ */ G(() => R.value);
|
|
2049
2049
|
function st() {
|
|
2050
2050
|
return K(b) ? b : null;
|
|
2051
2051
|
}
|
|
@@ -2056,7 +2056,7 @@ function Ka(e = {}) {
|
|
|
2056
2056
|
return y;
|
|
2057
2057
|
}
|
|
2058
2058
|
function ut(d) {
|
|
2059
|
-
d !== null && (i =
|
|
2059
|
+
d !== null && (i = En(d)), y = d, _.missing = i;
|
|
2060
2060
|
}
|
|
2061
2061
|
const me = (d, I, H, q, be, je) => {
|
|
2062
2062
|
D();
|
|
@@ -2118,7 +2118,7 @@ function Ka(e = {}) {
|
|
|
2118
2118
|
return me((I) => Reflect.apply(sn, null, [I, ...d]), () => Nt(...d), "datetime format", (I) => I[Ot](...d), fn, (I) => O(I) || z(I));
|
|
2119
2119
|
}
|
|
2120
2120
|
function ft(d) {
|
|
2121
|
-
|
|
2121
|
+
v = d, _.pluralRules = v;
|
|
2122
2122
|
}
|
|
2123
2123
|
function gt(d, I) {
|
|
2124
2124
|
return me(() => {
|
|
@@ -2128,11 +2128,11 @@ function Ka(e = {}) {
|
|
|
2128
2128
|
return Oe(be) || re(be) || O(be);
|
|
2129
2129
|
}, () => [d], "translate exists", (H) => Reflect.apply(H.te, H, [d, I]), Wa, (H) => J(H));
|
|
2130
2130
|
}
|
|
2131
|
-
function
|
|
2131
|
+
function Et(d) {
|
|
2132
2132
|
let I = null;
|
|
2133
2133
|
const H = In(_, c.value, m.value);
|
|
2134
2134
|
for (let q = 0; q < H.length; q++) {
|
|
2135
|
-
const be =
|
|
2135
|
+
const be = E.value[H[q]] || {}, je = _.messageResolver(be, d);
|
|
2136
2136
|
if (je != null) {
|
|
2137
2137
|
I = je;
|
|
2138
2138
|
break;
|
|
@@ -2141,11 +2141,11 @@ function Ka(e = {}) {
|
|
|
2141
2141
|
return I;
|
|
2142
2142
|
}
|
|
2143
2143
|
function Se(d) {
|
|
2144
|
-
const I =
|
|
2144
|
+
const I = Et(d);
|
|
2145
2145
|
return I ?? (t ? t.tm(d) || {} : {});
|
|
2146
2146
|
}
|
|
2147
2147
|
function Ie(d) {
|
|
2148
|
-
return
|
|
2148
|
+
return E.value[d] || {};
|
|
2149
2149
|
}
|
|
2150
2150
|
function Ne(d, I) {
|
|
2151
2151
|
if (a) {
|
|
@@ -2154,17 +2154,17 @@ function Ka(e = {}) {
|
|
|
2154
2154
|
le(H, q) && xe(H[q]);
|
|
2155
2155
|
I = H[d];
|
|
2156
2156
|
}
|
|
2157
|
-
|
|
2157
|
+
E.value[d] = I, _.messages = E.value;
|
|
2158
2158
|
}
|
|
2159
2159
|
function De(d, I) {
|
|
2160
|
-
|
|
2160
|
+
E.value[d] = E.value[d] || {};
|
|
2161
2161
|
const H = { [d]: I };
|
|
2162
2162
|
if (a)
|
|
2163
2163
|
for (const q in H)
|
|
2164
2164
|
le(H, q) && xe(H[q]);
|
|
2165
|
-
I = H[d], Je(I,
|
|
2165
|
+
I = H[d], Je(I, E.value[d]), _.messages = E.value;
|
|
2166
2166
|
}
|
|
2167
|
-
function
|
|
2167
|
+
function vt(d) {
|
|
2168
2168
|
return k.value[d] || {};
|
|
2169
2169
|
}
|
|
2170
2170
|
function o(d, I) {
|
|
@@ -2198,14 +2198,14 @@ function Ka(e = {}) {
|
|
|
2198
2198
|
u = d, d && t && (m.value = t.locale.value, c.value = t.fallbackLocale.value, Pe(_, m.value, c.value));
|
|
2199
2199
|
},
|
|
2200
2200
|
get availableLocales() {
|
|
2201
|
-
return Object.keys(
|
|
2201
|
+
return Object.keys(E.value).sort();
|
|
2202
2202
|
},
|
|
2203
2203
|
messages: P,
|
|
2204
2204
|
get modifiers() {
|
|
2205
2205
|
return A;
|
|
2206
2206
|
},
|
|
2207
2207
|
get pluralRules() {
|
|
2208
|
-
return
|
|
2208
|
+
return v || {};
|
|
2209
2209
|
},
|
|
2210
2210
|
get isGlobal() {
|
|
2211
2211
|
return r;
|
|
@@ -2256,7 +2256,7 @@ function Ka(e = {}) {
|
|
|
2256
2256
|
setMissingHandler: ut,
|
|
2257
2257
|
[Ha]: ft
|
|
2258
2258
|
};
|
|
2259
|
-
return F.datetimeFormats = Te, F.numberFormats = at, F.rt = Be, F.te = gt, F.tm = Se, F.d = it, F.n = ct, F.getDateTimeFormat =
|
|
2259
|
+
return F.datetimeFormats = Te, F.numberFormats = at, F.rt = Be, F.te = gt, F.tm = Se, F.d = it, F.n = ct, F.getDateTimeFormat = vt, F.setDateTimeFormat = o, F.mergeDateTimeFormat = l, F.getNumberFormat = h, F.setNumberFormat = S, F.mergeNumberFormat = X, F[wn] = n, F[Lt] = pt, F[Ot] = dt, F[Ct] = Ke, F;
|
|
2260
2260
|
}
|
|
2261
2261
|
const xt = {
|
|
2262
2262
|
tag: {
|
|
@@ -2309,13 +2309,13 @@ function Vn(e, t, n, r) {
|
|
|
2309
2309
|
let m = x();
|
|
2310
2310
|
e.locale && (u.locale = e.locale), O(e.format) ? u.key = e.format : U(e.format) && (O(e.format.key) && (u.key = e.format.key), m = Object.keys(e.format).reduce((g, p) => n.includes(p) ? te(x(), g, { [p]: e.format[p] }) : g, x()));
|
|
2311
2311
|
const c = r(e.value, u, m);
|
|
2312
|
-
let
|
|
2313
|
-
z(c) ?
|
|
2312
|
+
let E = [u.key];
|
|
2313
|
+
z(c) ? E = c.map((g, p) => {
|
|
2314
2314
|
const L = a[g.type], T = L ? L({ [g.type]: g.value, index: p, parts: c }) : [g.value];
|
|
2315
2315
|
return Ya(T) && (T[0].key = `${g.type}-${p}`), T;
|
|
2316
|
-
}) : O(c) && (
|
|
2316
|
+
}) : O(c) && (E = [c]);
|
|
2317
2317
|
const k = te(x(), s), R = O(e.tag) || U(e.tag) ? e.tag : Un();
|
|
2318
|
-
return hn(R, k,
|
|
2318
|
+
return hn(R, k, E);
|
|
2319
2319
|
};
|
|
2320
2320
|
}
|
|
2321
2321
|
te({
|
|
@@ -2401,8 +2401,8 @@ function es(e, t, n) {
|
|
|
2401
2401
|
}, t);
|
|
2402
2402
|
}
|
|
2403
2403
|
xa();
|
|
2404
|
-
|
|
2405
|
-
|
|
2404
|
+
Ea(Zr);
|
|
2405
|
+
va(da);
|
|
2406
2406
|
ya(In);
|
|
2407
2407
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2408
2408
|
const e = he();
|
|
@@ -2493,8 +2493,8 @@ function ns() {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
function Ws(e = {}) {
|
|
2495
2495
|
const t = G(() => {
|
|
2496
|
-
var c,
|
|
2497
|
-
const u = ((c = e.menuItems) == null ? void 0 : c.value) || [], m = ((
|
|
2496
|
+
var c, E;
|
|
2497
|
+
const u = ((c = e.menuItems) == null ? void 0 : c.value) || [], m = ((E = e.categories) == null ? void 0 : E.value) || [];
|
|
2498
2498
|
return [
|
|
2499
2499
|
{
|
|
2500
2500
|
type: "string",
|
|
@@ -2532,8 +2532,8 @@ function Ws(e = {}) {
|
|
|
2532
2532
|
const m = Bt.cloneDeep(u);
|
|
2533
2533
|
return m != null && m.rules && (m.rules = m.rules.map((c) => {
|
|
2534
2534
|
if ("property" in c && c.property === "category" && Array.isArray(c.value)) {
|
|
2535
|
-
const
|
|
2536
|
-
return { ...c, value:
|
|
2535
|
+
const E = c.value.map((k) => r.value[k]);
|
|
2536
|
+
return { ...c, value: E };
|
|
2537
2537
|
}
|
|
2538
2538
|
return c;
|
|
2539
2539
|
})), m;
|
|
@@ -2542,8 +2542,8 @@ function Ws(e = {}) {
|
|
|
2542
2542
|
const m = Bt.cloneDeep(u);
|
|
2543
2543
|
return m != null && m.rules && (m.rules = m.rules.map((c) => {
|
|
2544
2544
|
if ("property" in c && c.property === "category" && Array.isArray(c.value)) {
|
|
2545
|
-
const
|
|
2546
|
-
return { ...c, value:
|
|
2545
|
+
const E = c.value.map((k) => n.value[k]);
|
|
2546
|
+
return { ...c, value: E };
|
|
2547
2547
|
}
|
|
2548
2548
|
return c;
|
|
2549
2549
|
})), m;
|
|
@@ -2566,7 +2566,7 @@ const rs = {
|
|
|
2566
2566
|
class: "flex w-full justify-between gap-16"
|
|
2567
2567
|
}, ss = {
|
|
2568
2568
|
class: "break-all fm-typo-en-body-lg-400 line-clamp-1"
|
|
2569
|
-
},
|
|
2569
|
+
}, vn = /* @__PURE__ */ ce({
|
|
2570
2570
|
__name: "RuleConditionSelector",
|
|
2571
2571
|
props: {
|
|
2572
2572
|
ruleKey: {
|
|
@@ -2606,38 +2606,38 @@ const rs = {
|
|
|
2606
2606
|
} = Wt({
|
|
2607
2607
|
valueSource: G(() => s.state.menu.modules.item || []),
|
|
2608
2608
|
entity: "item"
|
|
2609
|
-
}), c = ts(),
|
|
2610
|
-
label:
|
|
2611
|
-
value: `restaurant_attr_${
|
|
2612
|
-
})), ...u.value.map((
|
|
2613
|
-
label: `Restaurant ${
|
|
2614
|
-
value: `restaurant_custom_${
|
|
2615
|
-
})), ...
|
|
2616
|
-
label:
|
|
2617
|
-
value: `item_attr_${
|
|
2618
|
-
})), ...m.value.map((
|
|
2619
|
-
label: `Product ${
|
|
2620
|
-
value: `item_custom_${
|
|
2609
|
+
}), c = ts(), E = ns(), k = oe(r.ruleKey), R = G(() => [...c.map((v) => ({
|
|
2610
|
+
label: v.label,
|
|
2611
|
+
value: `restaurant_attr_${v.value}`
|
|
2612
|
+
})), ...u.value.map((v) => ({
|
|
2613
|
+
label: `Restaurant ${v.key}`,
|
|
2614
|
+
value: `restaurant_custom_${v.key}`
|
|
2615
|
+
})), ...E.map((v) => ({
|
|
2616
|
+
label: v.label,
|
|
2617
|
+
value: `item_attr_${v.value}`
|
|
2618
|
+
})), ...m.value.map((v) => ({
|
|
2619
|
+
label: `Product ${v.key}`,
|
|
2620
|
+
value: `item_custom_${v.key}`
|
|
2621
2621
|
}))]), g = oe(r.values), p = G(() => {
|
|
2622
|
-
const
|
|
2623
|
-
if (!
|
|
2624
|
-
if (
|
|
2625
|
-
const _ =
|
|
2622
|
+
const v = k.value;
|
|
2623
|
+
if (!v) return [];
|
|
2624
|
+
if (v.startsWith("restaurant_attr_")) {
|
|
2625
|
+
const _ = v.replace("restaurant_attr_", ""), C = c.find((D) => D.value === _);
|
|
2626
2626
|
if (C && Array.isArray(C.options))
|
|
2627
2627
|
return C.options;
|
|
2628
|
-
} else if (
|
|
2629
|
-
const _ =
|
|
2628
|
+
} else if (v.startsWith("restaurant_custom_")) {
|
|
2629
|
+
const _ = v.replace("restaurant_custom_", ""), C = u.value.find((D) => D.key === _);
|
|
2630
2630
|
if (C && Array.isArray(C.values))
|
|
2631
2631
|
return C.values.map((D) => ({
|
|
2632
2632
|
label: D,
|
|
2633
2633
|
value: D
|
|
2634
2634
|
}));
|
|
2635
|
-
} else if (
|
|
2636
|
-
const _ =
|
|
2635
|
+
} else if (v.startsWith("item_attr_")) {
|
|
2636
|
+
const _ = v.replace("item_attr_", ""), C = E.find((D) => D.value === _);
|
|
2637
2637
|
if (C && Array.isArray(C.options))
|
|
2638
2638
|
return C.options;
|
|
2639
|
-
} else if (
|
|
2640
|
-
const _ =
|
|
2639
|
+
} else if (v.startsWith("item_custom_")) {
|
|
2640
|
+
const _ = v.replace("item_custom_", ""), C = m.value.find((D) => D.key === _);
|
|
2641
2641
|
if (C && Array.isArray(C.values))
|
|
2642
2642
|
return C.values.map((D) => ({
|
|
2643
2643
|
label: D,
|
|
@@ -2658,29 +2658,29 @@ const rs = {
|
|
|
2658
2658
|
label: n("menu.rule_groups.condition_view.operator.starts_with"),
|
|
2659
2659
|
value: "$startsWith"
|
|
2660
2660
|
}], y = oe(""), i = G(() => {
|
|
2661
|
-
const
|
|
2661
|
+
const v = p.value, _ = Array.isArray(g.value) ? g.value : [], C = _.map((W) => v.find((w) => w.value === W)).filter(Boolean);
|
|
2662
2662
|
let D = [];
|
|
2663
|
-
return y.value ? (D =
|
|
2663
|
+
return y.value ? (D = v.filter((W) => W.label.toLowerCase().includes(y.value.toLowerCase()) && !_.includes(W.value)), [...C, ...D]) : (D = v.filter((W) => !_.includes(W.value)), [...C, ...D]);
|
|
2664
2664
|
}), b = G(() => {
|
|
2665
|
-
let
|
|
2666
|
-
return
|
|
2665
|
+
let v = R.value;
|
|
2666
|
+
return v = v.filter((_) => !r.selectedKeys.includes(_.value) || _.value === k.value), y.value ? v.filter((_) => _.label.toLowerCase().includes(y.value.toLowerCase())) : v;
|
|
2667
2667
|
});
|
|
2668
|
-
Ze(() => k.value, (
|
|
2668
|
+
Ze(() => k.value, (v) => {
|
|
2669
2669
|
g.value = [];
|
|
2670
2670
|
});
|
|
2671
|
-
function N(
|
|
2672
|
-
if (
|
|
2673
|
-
const _ =
|
|
2671
|
+
function N(v) {
|
|
2672
|
+
if (v.startsWith("restaurant_custom_")) {
|
|
2673
|
+
const _ = v.replace("restaurant_custom_", ""), C = u.value.find((D) => D.key === _);
|
|
2674
2674
|
return (C == null ? void 0 : C.type) || "string";
|
|
2675
|
-
} else if (
|
|
2676
|
-
const _ =
|
|
2675
|
+
} else if (v.startsWith("item_custom_")) {
|
|
2676
|
+
const _ = v.replace("item_custom_", ""), C = m.value.find((D) => D.key === _);
|
|
2677
2677
|
return (C == null ? void 0 : C.type) || "string";
|
|
2678
2678
|
}
|
|
2679
2679
|
return "string";
|
|
2680
2680
|
}
|
|
2681
|
-
function f(
|
|
2682
|
-
const C = N(
|
|
2683
|
-
switch (
|
|
2681
|
+
function f(v, _) {
|
|
2682
|
+
const C = N(v === "ruleKey" ? _ : k.value);
|
|
2683
|
+
switch (v) {
|
|
2684
2684
|
case "ruleKey":
|
|
2685
2685
|
a("update:modelValue", {
|
|
2686
2686
|
ruleKey: _,
|
|
@@ -2722,7 +2722,7 @@ const rs = {
|
|
|
2722
2722
|
action: "delete"
|
|
2723
2723
|
});
|
|
2724
2724
|
}
|
|
2725
|
-
return (
|
|
2725
|
+
return (v, _) => {
|
|
2726
2726
|
const C = ge("FmSearch"), D = ge("FmSelect"), W = ge("FmButton");
|
|
2727
2727
|
return B(), j("div", rs, [V("div", as, [Q(D, {
|
|
2728
2728
|
class: "flex w-full",
|
|
@@ -2802,7 +2802,7 @@ const rs = {
|
|
|
2802
2802
|
}), c = G(() => {
|
|
2803
2803
|
var p;
|
|
2804
2804
|
return ((p = r.modelValue.itemRule) == null ? void 0 : p.itemCustomAttributes) ?? {};
|
|
2805
|
-
}),
|
|
2805
|
+
}), E = oe([...(s.value.rules ?? []).map((p) => ({
|
|
2806
2806
|
...p,
|
|
2807
2807
|
id: crypto.randomUUID(),
|
|
2808
2808
|
property: `restaurant_attr_${p.property}`
|
|
@@ -2820,7 +2820,7 @@ const rs = {
|
|
|
2820
2820
|
property: `item_custom_${p.property}`
|
|
2821
2821
|
}))]);
|
|
2822
2822
|
bn(() => {
|
|
2823
|
-
|
|
2823
|
+
E.value.length === 0 && g();
|
|
2824
2824
|
});
|
|
2825
2825
|
const k = oe([]);
|
|
2826
2826
|
function R(p) {
|
|
@@ -2830,11 +2830,11 @@ const rs = {
|
|
|
2830
2830
|
k.value = k.value.filter((y) => y.key !== p.uniqueKey);
|
|
2831
2831
|
else {
|
|
2832
2832
|
const y = L.slice(1).join("_");
|
|
2833
|
-
|
|
2833
|
+
E.value = E.value.filter((i) => i.id !== y);
|
|
2834
2834
|
}
|
|
2835
2835
|
else if (p.action === "update")
|
|
2836
2836
|
if (T)
|
|
2837
|
-
k.value = k.value.filter((y) => y.key !== p.uniqueKey),
|
|
2837
|
+
k.value = k.value.filter((y) => y.key !== p.uniqueKey), E.value.push({
|
|
2838
2838
|
id: crypto.randomUUID(),
|
|
2839
2839
|
property: p.ruleKey,
|
|
2840
2840
|
operator: p.operator,
|
|
@@ -2842,8 +2842,8 @@ const rs = {
|
|
|
2842
2842
|
type: p.type
|
|
2843
2843
|
});
|
|
2844
2844
|
else {
|
|
2845
|
-
const y = L.slice(1).join("_"), i =
|
|
2846
|
-
i !== -1 && (
|
|
2845
|
+
const y = L.slice(1).join("_"), i = E.value.findIndex((b) => b.id === y);
|
|
2846
|
+
i !== -1 && (E.value[i] = {
|
|
2847
2847
|
id: y,
|
|
2848
2848
|
// Keep the same ID
|
|
2849
2849
|
property: p.ruleKey,
|
|
@@ -2852,36 +2852,36 @@ const rs = {
|
|
|
2852
2852
|
type: p.type
|
|
2853
2853
|
});
|
|
2854
2854
|
}
|
|
2855
|
-
a("update:modelValue",
|
|
2855
|
+
a("update:modelValue", E.value);
|
|
2856
2856
|
}
|
|
2857
2857
|
function g() {
|
|
2858
2858
|
k.value.push({
|
|
2859
2859
|
key: `newCondition_${k.value.length}`
|
|
2860
2860
|
});
|
|
2861
2861
|
}
|
|
2862
|
-
return Ze(() =>
|
|
2862
|
+
return Ze(() => E.value.length + k.value.length, (p) => {
|
|
2863
2863
|
p === 0 && g();
|
|
2864
2864
|
}), (p, L) => {
|
|
2865
2865
|
const T = ge("FmButton");
|
|
2866
|
-
return B(), j("div", os, [V("p", ls, Z(Y(n)("menu.rule_groups.condition_view.condition")), 1), V("div", us, [(B(!0), j(fe, null, Me(
|
|
2866
|
+
return B(), j("div", os, [V("p", ls, Z(Y(n)("menu.rule_groups.condition_view.condition")), 1), V("div", us, [(B(!0), j(fe, null, Me(E.value, (y) => (B(), j("div", {
|
|
2867
2867
|
key: y.id
|
|
2868
|
-
}, [Q(
|
|
2868
|
+
}, [Q(vn, {
|
|
2869
2869
|
ruleKey: y.property,
|
|
2870
2870
|
operator: y.operator,
|
|
2871
2871
|
values: y.value,
|
|
2872
2872
|
"unique-key": `condition_${y.id}`,
|
|
2873
|
-
"selected-keys":
|
|
2873
|
+
"selected-keys": E.value.map((i) => i.property),
|
|
2874
2874
|
"onUpdate:modelValue": L[0] || (L[0] = (i) => {
|
|
2875
2875
|
R(i);
|
|
2876
2876
|
})
|
|
2877
2877
|
}, null, 8, ["ruleKey", "operator", "values", "unique-key", "selected-keys"])]))), 128)), (B(!0), j(fe, null, Me(k.value, (y) => (B(), j("div", {
|
|
2878
2878
|
key: y.key
|
|
2879
|
-
}, [Q(
|
|
2879
|
+
}, [Q(vn, {
|
|
2880
2880
|
ruleKey: "",
|
|
2881
2881
|
operator: "",
|
|
2882
2882
|
"unique-key": y.key,
|
|
2883
2883
|
values: [],
|
|
2884
|
-
"selected-keys":
|
|
2884
|
+
"selected-keys": E.value.map((i) => i.property),
|
|
2885
2885
|
"onUpdate:modelValue": L[1] || (L[1] = (i) => {
|
|
2886
2886
|
R(i);
|
|
2887
2887
|
})
|
|
@@ -2969,10 +2969,10 @@ const rs = {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
}), gs = {
|
|
2971
2971
|
class: "flex items-center gap-24"
|
|
2972
|
-
},
|
|
2972
|
+
}, Es = {
|
|
2973
2973
|
key: 0,
|
|
2974
2974
|
class: "fm-typo-en-headline-lg-600"
|
|
2975
|
-
},
|
|
2975
|
+
}, vs = {
|
|
2976
2976
|
key: 1,
|
|
2977
2977
|
class: "fm-typo-en-headline-lg-600"
|
|
2978
2978
|
}, ys = {
|
|
@@ -3002,7 +3002,7 @@ const rs = {
|
|
|
3002
3002
|
const c = G(() => {
|
|
3003
3003
|
var T;
|
|
3004
3004
|
return ((T = u.modelValue.restaurantRule) == null ? void 0 : T.restaurantAttributes) ?? {};
|
|
3005
|
-
}),
|
|
3005
|
+
}), E = G(() => {
|
|
3006
3006
|
var T;
|
|
3007
3007
|
return ((T = u.modelValue.restaurantRule) == null ? void 0 : T.restaurantCustomAttributes) ?? {};
|
|
3008
3008
|
}), k = G(() => {
|
|
@@ -3011,9 +3011,9 @@ const rs = {
|
|
|
3011
3011
|
}), R = G(() => {
|
|
3012
3012
|
var T;
|
|
3013
3013
|
return ((T = u.modelValue.itemRule) == null ? void 0 : T.itemCustomAttributes) ?? {};
|
|
3014
|
-
}), g = oe([...c.value.rules ?? [], ...
|
|
3014
|
+
}), g = oe([...c.value.rules ?? [], ...E.value.rules ?? [], ...k.value.rules ?? [], ...R.value.rules ?? []]), p = oe([]);
|
|
3015
3015
|
function L() {
|
|
3016
|
-
var f, A,
|
|
3016
|
+
var f, A, v, _, C, D, W, w;
|
|
3017
3017
|
const T = u.modelValue, y = [], i = [], b = [], N = [];
|
|
3018
3018
|
if (p.value.length === 0) {
|
|
3019
3019
|
s(!1);
|
|
@@ -3047,7 +3047,7 @@ const rs = {
|
|
|
3047
3047
|
rules: y
|
|
3048
3048
|
},
|
|
3049
3049
|
restaurantCustomAttributes: {
|
|
3050
|
-
logic: ((_ = (
|
|
3050
|
+
logic: ((_ = (v = T.restaurantRule) == null ? void 0 : v.restaurantCustomAttributes) == null ? void 0 : _.logic) ?? "AND",
|
|
3051
3051
|
rules: i
|
|
3052
3052
|
}
|
|
3053
3053
|
}, T.itemRule = {
|
|
@@ -3082,7 +3082,7 @@ const rs = {
|
|
|
3082
3082
|
variant: Y(Fe).Tertiary,
|
|
3083
3083
|
"prepend-icon": "arrow_back",
|
|
3084
3084
|
onClick: y[0] || (y[0] = se((N) => s(), ["stop"]))
|
|
3085
|
-
}, null, 8, ["variant"]), e.isEditMode && g.value.length > 0 ? (B(), j("div",
|
|
3085
|
+
}, null, 8, ["variant"]), e.isEditMode && g.value.length > 0 ? (B(), j("div", Es, Z(Y(r)("menu.rule_groups.condition_view.edit_condition")), 1)) : (B(), j("div", vs, Z(Y(r)("menu.rule_groups.condition_view.add_condition")), 1))])]),
|
|
3086
3086
|
"side-sheet-footer": ae(() => [V("div", ys, [Q(i, {
|
|
3087
3087
|
variant: "primary",
|
|
3088
3088
|
label: Y(r)("common.save"),
|
|
@@ -3172,7 +3172,7 @@ const rs = {
|
|
|
3172
3172
|
}), c = G(() => {
|
|
3173
3173
|
var g, p;
|
|
3174
3174
|
return ((p = (g = r.modelValue.restaurantRule) == null ? void 0 : g.restaurantCustomAttributes) == null ? void 0 : p.rules) ?? [];
|
|
3175
|
-
}),
|
|
3175
|
+
}), E = G(() => {
|
|
3176
3176
|
var g, p;
|
|
3177
3177
|
return ((p = (g = r.modelValue.itemRule) == null ? void 0 : g.itemAttributes) == null ? void 0 : p.rules) ?? [];
|
|
3178
3178
|
}), k = G(() => {
|
|
@@ -3184,7 +3184,7 @@ const rs = {
|
|
|
3184
3184
|
})), ...c.value.map((g) => ({
|
|
3185
3185
|
...g,
|
|
3186
3186
|
property: `${n("menu.catalog.usage.restaurant")} ${g.property}`
|
|
3187
|
-
})), ...
|
|
3187
|
+
})), ...E.value.map((g) => ({
|
|
3188
3188
|
...g,
|
|
3189
3189
|
property: `${n("menu.product.title")} ${g.property}`
|
|
3190
3190
|
})), ...k.value.map((g) => ({
|