@feedmepos/mf-menu 0.32.8 → 0.32.9
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-C8wS3ShV.js → App-DCMYOyht.js} +32 -29
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BNpRxwxr.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DH_Txg_X.js} +3 -3
- package/dist/{Catalog-BFd1AM_V.js → Catalog-DXbqjV1y.js} +6 -6
- package/dist/{Category-DBWqpshQ.js → Category-CrVqgKT4.js} +6 -6
- package/dist/{Category-dmAlwuez.js → Category-D-ofCf6F.js} +4 -4
- package/dist/{CookingGuide-jIeAIeh0.js → CookingGuide-Bmkt3fNg.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-B64i08zq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BSr-ibAS.js} +1 -1
- package/dist/{Group-D1ydkrLs.js → Group-Bc494AZd.js} +1 -1
- package/dist/{Group-FF5Hjlxe.js → Group-IqqJTX8p.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DAD-k-wo.js → Group.vue_vue_type_script_setup_true_lang-DqN__kSm.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-G6f6Nmpp.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-W-8FOCmJ.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BZPytpjY.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-rTDbhPOT.js} +7 -7
- package/dist/{Ingredient-Dd5DxV-y.js → Ingredient-DYtiJ5q1.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-giegQwr5.js → InventoryBinding.vue_vue_type_script_setup_true_lang-VGnOuJnL.js} +2 -2
- package/dist/{LinkProductSideSheet-CCSmzw8I.js → LinkProductSideSheet-BzmYm-rH.js} +3 -3
- package/dist/{MenuSetting-DUoenWGs.js → MenuSetting-CdsaaGg-.js} +5 -5
- package/dist/{PrintRoute-BnC6HtKs.js → PrintRoute-DhBzJl5M.js} +4 -4
- package/dist/{Product-CHQio6L_.js → Product-DiEwUTbF.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-jjHqJtPH.js → Product.vue_vue_type_script_setup_true_lang-D7tonfyH.js} +13 -13
- package/dist/{ProductInternalTools-FxIUEUXl.js → ProductInternalTools-DkpY_EcK.js} +5 -5
- package/dist/{Products-B4G9pxFp.js → Products-Bs2xOaMT.js} +11 -11
- package/dist/{Publish-CQgttpHh.js → Publish-DLoYozq0.js} +3 -3
- package/dist/{Recipe-CTDKKfsd.js → Recipe-BIPlAM90.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-B9BRYMTj.js → RuleView.vue_vue_type_script_setup_true_lang-Da_prcTZ.js} +164 -164
- package/dist/{Scheduler-DFHMH-x_.js → Scheduler-D5fUsqkh.js} +3 -3
- package/dist/{ServingSequence-BR9xYWGr.js → ServingSequence-DCuyD-7D.js} +3 -3
- package/dist/{Setting-UnXT4s-d.js → Setting-CmDj0PTq.js} +5 -5
- package/dist/{Subcategory-okheUt4z.js → Subcategory-D3xxJN9B.js} +4 -4
- package/dist/{Takeaway-BqnNk-34.js → Takeaway-46I_q4-u.js} +1 -1
- package/dist/{Takeaway-BVPCos7g.js → Takeaway-B3Ye5648.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DOIkhJuQ.js → Takeaway.vue_vue_type_script_setup_true_lang-BkxGl334.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BFG6dtwc.js → Thumbnail.vue_vue_type_script_setup_true_lang-Cs8IRAtX.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CrGYJDpK.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BJKYE6JZ.js} +14 -14
- package/dist/{Unit-B6KaHkaQ.js → Unit-rBgDQlPZ.js} +2 -2
- package/dist/{Variant-DyQvzOM1.js → Variant-Cc4MJGX5.js} +3 -3
- package/dist/{_id_-C38gTgwi.js → _id_-C1TFI-Lk.js} +10 -10
- package/dist/{app-eCkD4rhw.js → app-BeMX43y_.js} +1 -1
- package/dist/{app-CgTo5Mn2.js → app-CA7Mggmh.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-jp8Wgf8m.js → linked-status-CcN4Usl5.js} +2 -2
- package/dist/assets/{override-menu-Y7KA9W5q.js → override-menu-DWevPKCI.js} +2 -2
- package/dist/assets/{validate-menu-BKtf8I-m.js → validate-menu-CZ1bWE0u.js} +2 -2
- package/dist/{catalog-CAwAsANl.js → catalog-DbkvbTPU.js} +1 -1
- package/dist/{catalogSetting-DBYK5i1A.js → catalogSetting-DwjKioBv.js} +1 -1
- package/dist/{category-sUsBd0Fp.js → category-B60Odeuf.js} +1 -1
- package/dist/{currency-aUeOA6Sh.js → currency-CDI6e70g.js} +1 -1
- package/dist/{index-BOfpmGre.js → index-DND0Rn5L.js} +3 -3
- package/dist/{index-BgofvuRO.js → index-DhknQHdy.js} +1 -1
- package/dist/{index-D2v0niii.js → index-jtOR5_59.js} +4 -4
- package/dist/{index-CEQnejlh.js → index-tZn2AgEr.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-D_YxZIKW.js → index.vue_vue_type_script_setup_true_lang-BJoWapKd.js} +355 -355
- package/dist/{item-Cp2Y6SVB.js → item-CBum1FZk.js} +14 -14
- package/dist/{iteration-Su0utDgZ.js → iteration-CC53D2ai.js} +1 -1
- package/dist/{jszip.min-D--hravX.js → jszip.min-C8LvzPl2.js} +353 -353
- package/dist/{menu-Ca7L4Rag.js → menu-DKmedidN.js} +1 -1
- package/dist/{menuV2-CjV6wIPJ.js → menuV2-By2DSVXz.js} +41 -41
- package/dist/{priceTier-DwLiGawi.js → priceTier-DPYwAykS.js} +1 -1
- package/dist/{scheduler-mtesIJHS.js → scheduler-Dmg7TyoK.js} +4 -4
- package/dist/{subcategory-Cjjc11DF.js → subcategory-DbrrWzKE.js} +2 -2
- package/dist/{toExcel-m4AG-THf.js → toExcel-j4tyJHkL.js} +2 -2
- package/dist/{unit-DM0AOsGB.js → unit-CZGFNm54.js} +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { defineComponent as ie, createElementBlock as j, openBlock as W, normali
|
|
|
2
2
|
import { x as Wn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
3
|
import { useCoreStore as Pt, useI18n as Ge, useCustomAttributes as Bt, EMPTY_RULE as jn, isEmptyMongoQuery as Yn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as
|
|
5
|
+
import { u as Tn, J as Wt, A as yt } from "./index.vue_vue_type_script_setup_true_lang-BJoWapKd.js";
|
|
6
6
|
import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
const Jn = /* @__PURE__ */ ie({
|
|
8
8
|
__name: "FormColumn",
|
|
@@ -54,7 +54,7 @@ const Jn = /* @__PURE__ */ ie({
|
|
|
54
54
|
* (c) 2024 kazuya kawaguchi
|
|
55
55
|
* Released under the MIT License.
|
|
56
56
|
*/
|
|
57
|
-
const Kt = typeof window < "u",
|
|
57
|
+
const Kt = typeof window < "u", Te = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), tr = (e, t, n) => nr({ l: e, k: t, s: n }), nr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), rr = (e) => wt(e) === "[object Date]", ze = (e) => wt(e) === "[object RegExp]", tt = (e) => M(e) && Object.keys(e).length === 0, te = Object.assign, ar = Object.create, H = (e = null) => ar(e);
|
|
58
58
|
let jt;
|
|
59
59
|
const he = () => jt || (jt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : H());
|
|
60
60
|
function Yt(e) {
|
|
@@ -64,7 +64,7 @@ const sr = Object.prototype.hasOwnProperty;
|
|
|
64
64
|
function le(e, t) {
|
|
65
65
|
return sr.call(e, t);
|
|
66
66
|
}
|
|
67
|
-
const z = Array.isArray, K = (e) => typeof e == "function", O = (e) => typeof e == "string", J = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", or = (e) => U(e) && K(e.then) && K(e.catch),
|
|
67
|
+
const z = Array.isArray, K = (e) => typeof e == "function", O = (e) => typeof e == "string", J = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", or = (e) => U(e) && K(e.then) && K(e.catch), kn = Object.prototype.toString, wt = (e) => kn.call(e), M = (e) => wt(e) === "[object Object]", lr = (e) => e == null ? "" : z(e) || M(e) && e.toString === kn ? JSON.stringify(e, null, 2) : String(e);
|
|
68
68
|
function Ft(e, t = "") {
|
|
69
69
|
return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
|
|
70
70
|
}
|
|
@@ -86,7 +86,7 @@ function Je(e, t) {
|
|
|
86
86
|
function ir(e, t, n) {
|
|
87
87
|
return { line: e, column: t, offset: n };
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function kt(e, t, n) {
|
|
90
90
|
return { start: e, end: t };
|
|
91
91
|
}
|
|
92
92
|
const $ = {
|
|
@@ -119,9 +119,9 @@ const _e = " ", mr = "\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 = (m) => t[m] === mr && t[m + 1] === ne, _ = (m) => t[m] === ne, c = (m) => t[m] === dr, E = (m) => t[m] === pr,
|
|
122
|
+
const u = (m) => t[m] === mr && t[m + 1] === ne, _ = (m) => t[m] === ne, c = (m) => t[m] === dr, E = (m) => t[m] === pr, T = (m) => u(m) || _(m) || c(m) || E(m), R = () => n, g = () => r, p = () => a, L = () => s, k = (m) => u(m) || c(m) || E(m) ? ne : t[m], y = () => k(n), i = () => k(n + s);
|
|
123
123
|
function b() {
|
|
124
|
-
return s = 0,
|
|
124
|
+
return s = 0, T(n) && (r++, a = 0), u(n) && n++, n++, a++, t[n];
|
|
125
125
|
}
|
|
126
126
|
function N() {
|
|
127
127
|
return u(n + s) && s++, s++, t[n + s];
|
|
@@ -143,7 +143,7 @@ function fr(e) {
|
|
|
143
143
|
line: g,
|
|
144
144
|
column: p,
|
|
145
145
|
peekOffset: L,
|
|
146
|
-
charAt:
|
|
146
|
+
charAt: k,
|
|
147
147
|
currentChar: y,
|
|
148
148
|
currentPeek: i,
|
|
149
149
|
next: b,
|
|
@@ -167,21 +167,21 @@ function vr(e, t = {}) {
|
|
|
167
167
|
braceNest: 0,
|
|
168
168
|
inLinked: !1,
|
|
169
169
|
text: ""
|
|
170
|
-
}, E = () => c, { onError:
|
|
170
|
+
}, E = () => c, { onError: T } = t;
|
|
171
171
|
function R(o, l, h, ...S) {
|
|
172
172
|
const X = E();
|
|
173
|
-
if (l.column += h, l.offset += h,
|
|
174
|
-
const F = n ?
|
|
173
|
+
if (l.column += h, l.offset += h, T) {
|
|
174
|
+
const F = n ? kt(X.startLoc, l) : null, d = nt(o, F, {
|
|
175
175
|
domain: Er,
|
|
176
176
|
args: S
|
|
177
177
|
});
|
|
178
|
-
|
|
178
|
+
T(d);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
function g(o, l, h) {
|
|
182
182
|
o.endLoc = s(), o.currentType = l;
|
|
183
183
|
const S = { type: l };
|
|
184
|
-
return n && (S.loc =
|
|
184
|
+
return n && (S.loc = kt(o.startLoc, o.endLoc)), h != null && (S.value = h), S;
|
|
185
185
|
}
|
|
186
186
|
const p = (o) => g(
|
|
187
187
|
o,
|
|
@@ -191,14 +191,14 @@ function vr(e, t = {}) {
|
|
|
191
191
|
function L(o, l) {
|
|
192
192
|
return o.currentChar() === l ? (o.next(), l) : (R($.EXPECTED_TOKEN, s(), 0, l), "");
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function k(o) {
|
|
195
195
|
let l = "";
|
|
196
196
|
for (; o.currentPeek() === _e || o.currentPeek() === ne; )
|
|
197
197
|
l += o.currentPeek(), o.peek();
|
|
198
198
|
return l;
|
|
199
199
|
}
|
|
200
200
|
function y(o) {
|
|
201
|
-
const l =
|
|
201
|
+
const l = k(o);
|
|
202
202
|
return o.skipToPeek(), l;
|
|
203
203
|
}
|
|
204
204
|
function i(o) {
|
|
@@ -219,7 +219,7 @@ function vr(e, t = {}) {
|
|
|
219
219
|
const { currentType: h } = l;
|
|
220
220
|
if (h !== 2)
|
|
221
221
|
return !1;
|
|
222
|
-
|
|
222
|
+
k(o);
|
|
223
223
|
const S = i(o.currentPeek());
|
|
224
224
|
return o.resetPeek(), S;
|
|
225
225
|
}
|
|
@@ -227,7 +227,7 @@ function vr(e, t = {}) {
|
|
|
227
227
|
const { currentType: h } = l;
|
|
228
228
|
if (h !== 2)
|
|
229
229
|
return !1;
|
|
230
|
-
|
|
230
|
+
k(o);
|
|
231
231
|
const S = o.currentPeek() === "-" ? o.peek() : o.currentPeek(), X = b(S);
|
|
232
232
|
return o.resetPeek(), X;
|
|
233
233
|
}
|
|
@@ -235,7 +235,7 @@ function vr(e, t = {}) {
|
|
|
235
235
|
const { currentType: h } = l;
|
|
236
236
|
if (h !== 2)
|
|
237
237
|
return !1;
|
|
238
|
-
|
|
238
|
+
k(o);
|
|
239
239
|
const S = o.currentPeek() === Xt;
|
|
240
240
|
return o.resetPeek(), S;
|
|
241
241
|
}
|
|
@@ -243,7 +243,7 @@ function vr(e, t = {}) {
|
|
|
243
243
|
const { currentType: h } = l;
|
|
244
244
|
if (h !== 7)
|
|
245
245
|
return !1;
|
|
246
|
-
|
|
246
|
+
k(o);
|
|
247
247
|
const S = o.currentPeek() === ".";
|
|
248
248
|
return o.resetPeek(), S;
|
|
249
249
|
}
|
|
@@ -251,7 +251,7 @@ function vr(e, t = {}) {
|
|
|
251
251
|
const { currentType: h } = l;
|
|
252
252
|
if (h !== 8)
|
|
253
253
|
return !1;
|
|
254
|
-
|
|
254
|
+
k(o);
|
|
255
255
|
const S = i(o.currentPeek());
|
|
256
256
|
return o.resetPeek(), S;
|
|
257
257
|
}
|
|
@@ -259,7 +259,7 @@ function vr(e, t = {}) {
|
|
|
259
259
|
const { currentType: h } = l;
|
|
260
260
|
if (!(h === 7 || h === 11))
|
|
261
261
|
return !1;
|
|
262
|
-
|
|
262
|
+
k(o);
|
|
263
263
|
const S = o.currentPeek() === ":";
|
|
264
264
|
return o.resetPeek(), S;
|
|
265
265
|
}
|
|
@@ -274,7 +274,7 @@ function vr(e, t = {}) {
|
|
|
274
274
|
return o.resetPeek(), X;
|
|
275
275
|
}
|
|
276
276
|
function B(o) {
|
|
277
|
-
|
|
277
|
+
k(o);
|
|
278
278
|
const l = o.currentPeek() === "|";
|
|
279
279
|
return o.resetPeek(), l;
|
|
280
280
|
}
|
|
@@ -289,7 +289,7 @@ function vr(e, t = {}) {
|
|
|
289
289
|
const h = o.currentChar();
|
|
290
290
|
return h === Ee ? Ee : l(h) ? (o.next(), h) : null;
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function ke(o) {
|
|
293
293
|
const l = o.charCodeAt(0);
|
|
294
294
|
return l >= 97 && l <= 122 || // a-z
|
|
295
295
|
l >= 65 && l <= 90 || // A-Z
|
|
@@ -298,7 +298,7 @@ function vr(e, t = {}) {
|
|
|
298
298
|
l === 36;
|
|
299
299
|
}
|
|
300
300
|
function at(o) {
|
|
301
|
-
return P(o,
|
|
301
|
+
return P(o, ke);
|
|
302
302
|
}
|
|
303
303
|
function st(o) {
|
|
304
304
|
const l = o.charCodeAt(0);
|
|
@@ -563,12 +563,12 @@ function hr(e, t, n) {
|
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function Tr(e = {}) {
|
|
567
567
|
const t = e.location !== !1, { onError: n } = e;
|
|
568
568
|
function r(i, b, N, f, ...A) {
|
|
569
569
|
const v = i.currentPosition();
|
|
570
570
|
if (v.offset += f, v.column += f, n) {
|
|
571
|
-
const m = t ?
|
|
571
|
+
const m = t ? kt(N, v) : null, C = nt(b, m, {
|
|
572
572
|
domain: yr,
|
|
573
573
|
args: A
|
|
574
574
|
});
|
|
@@ -598,7 +598,7 @@ function kr(e = {}) {
|
|
|
598
598
|
const N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(9, f, A);
|
|
599
599
|
return v.value = b.replace(br, hr), i.nextToken(), s(v, i.currentOffset(), i.currentPosition()), v;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function T(i) {
|
|
602
602
|
const b = i.nextToken(), N = i.context(), { lastOffset: f, lastStartLoc: A } = N, v = a(8, f, A);
|
|
603
603
|
return b.type !== 11 ? (r(i, $.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0), v.value = "", s(v, f, A), {
|
|
604
604
|
nextConsumeToken: b,
|
|
@@ -615,7 +615,7 @@ function kr(e = {}) {
|
|
|
615
615
|
const b = i.context(), N = a(6, b.offset, b.startLoc);
|
|
616
616
|
let f = i.nextToken();
|
|
617
617
|
if (f.type === 8) {
|
|
618
|
-
const A =
|
|
618
|
+
const A = T(i);
|
|
619
619
|
N.modifier = A.node, f = A.nextConsumeToken || i.nextToken();
|
|
620
620
|
}
|
|
621
621
|
switch (f.type !== 9 && r(i, $.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ue(f)), f = i.nextToken(), f.type === 2 && (f = i.nextToken()), f.type) {
|
|
@@ -684,13 +684,13 @@ function kr(e = {}) {
|
|
|
684
684
|
} while (A.currentType !== 13);
|
|
685
685
|
return v && r(i, $.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), s(m, i.currentOffset(), i.currentPosition()), m;
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function k(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
692
|
const b = vr(i, te({}, e)), N = b.context(), f = a(0, N.offset, N.startLoc);
|
|
693
|
-
return t && f.loc && (f.loc.source = i), f.body =
|
|
693
|
+
return t && f.loc && (f.loc.source = i), f.body = k(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 };
|
|
696
696
|
}
|
|
@@ -700,7 +700,7 @@ function ue(e) {
|
|
|
700
700
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
701
701
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function kr(e, t = {}) {
|
|
704
704
|
const n = {
|
|
705
705
|
ast: e,
|
|
706
706
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -753,7 +753,7 @@ function Mt(e, t) {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
function Ir(e, t = {}) {
|
|
756
|
-
const n =
|
|
756
|
+
const n = kr(e);
|
|
757
757
|
n.helper(
|
|
758
758
|
"normalize"
|
|
759
759
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -847,20 +847,20 @@ function Rr(e, t) {
|
|
|
847
847
|
};
|
|
848
848
|
s && e.loc && (u.source = e.loc.source);
|
|
849
849
|
const _ = () => u;
|
|
850
|
-
function c(
|
|
851
|
-
u.code +=
|
|
850
|
+
function c(k, y) {
|
|
851
|
+
u.code += k;
|
|
852
852
|
}
|
|
853
|
-
function E(
|
|
853
|
+
function E(k, y = !0) {
|
|
854
854
|
const i = y ? r : "";
|
|
855
|
-
c(a ? i + " ".repeat(
|
|
855
|
+
c(a ? i + " ".repeat(k) : i);
|
|
856
856
|
}
|
|
857
|
-
function k
|
|
857
|
+
function T(k = !0) {
|
|
858
858
|
const y = ++u.indentLevel;
|
|
859
|
-
|
|
859
|
+
k && E(y);
|
|
860
860
|
}
|
|
861
|
-
function R(
|
|
861
|
+
function R(k = !0) {
|
|
862
862
|
const y = --u.indentLevel;
|
|
863
|
-
|
|
863
|
+
k && E(y);
|
|
864
864
|
}
|
|
865
865
|
function g() {
|
|
866
866
|
E(u.indentLevel);
|
|
@@ -868,10 +868,10 @@ function Rr(e, t) {
|
|
|
868
868
|
return {
|
|
869
869
|
context: _,
|
|
870
870
|
push: c,
|
|
871
|
-
indent:
|
|
871
|
+
indent: T,
|
|
872
872
|
deindent: R,
|
|
873
873
|
newline: g,
|
|
874
|
-
helper: (
|
|
874
|
+
helper: (k) => `_${k}`,
|
|
875
875
|
needIndent: () => u.needIndent
|
|
876
876
|
};
|
|
877
877
|
}
|
|
@@ -965,7 +965,7 @@ const Sr = (e, t = {}) => {
|
|
|
965
965
|
breakLineCode: a,
|
|
966
966
|
needIndent: s
|
|
967
967
|
});
|
|
968
|
-
_.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), _.indent(s), u.length > 0 && (_.push(`const { ${Ft(u.map((
|
|
968
|
+
_.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), _.indent(s), u.length > 0 && (_.push(`const { ${Ft(u.map((T) => `${T}: _${T}`), ", ")} } = ctx`), _.newline()), _.push("return "), Le(_, e), _.deindent(s), _.push("}"), delete e.helpers;
|
|
969
969
|
const { code: c, map: E } = _.context();
|
|
970
970
|
return {
|
|
971
971
|
ast: e,
|
|
@@ -975,7 +975,7 @@ const Sr = (e, t = {}) => {
|
|
|
975
975
|
};
|
|
976
976
|
};
|
|
977
977
|
function Dr(e, t = {}) {
|
|
978
|
-
const n = te({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, _ =
|
|
978
|
+
const n = te({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, _ = Tr(n).parse(e);
|
|
979
979
|
return r ? (s && Nr(_), a && Ae(_), { ast: _, code: "" }) : (Ir(_, n), Sr(_, n));
|
|
980
980
|
}
|
|
981
981
|
var Pr = { env: { NODE_ENV: "production" } };
|
|
@@ -1437,7 +1437,7 @@ function _a(e) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
function ma(e) {
|
|
1439
1439
|
const t = [];
|
|
1440
|
-
let n = -1, r = 0, a = 0, s, u, _, c, E,
|
|
1440
|
+
let n = -1, r = 0, a = 0, s, u, _, c, E, T, R;
|
|
1441
1441
|
const g = [];
|
|
1442
1442
|
g[
|
|
1443
1443
|
0
|
|
@@ -1485,7 +1485,7 @@ function ma(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], E = R[c] || R.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (
|
|
1488
|
+
if (c = ca(s), R = ye[r], E = R[c] || R.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (T = g[E[1]], T && (_ = s, T() === !1))))
|
|
1489
1489
|
return;
|
|
1490
1490
|
if (r === 7)
|
|
1491
1491
|
return t;
|
|
@@ -1538,10 +1538,10 @@ const ba = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
1538
1538
|
let On = null;
|
|
1539
1539
|
const rn = (e) => {
|
|
1540
1540
|
On = e;
|
|
1541
|
-
},
|
|
1541
|
+
}, Ta = () => On;
|
|
1542
1542
|
let an = 0;
|
|
1543
|
-
function
|
|
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 :
|
|
1543
|
+
function ka(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 : Tt(a), _ = M(e.datetimeFormats) ? e.datetimeFormats : Tt(a), c = M(e.numberFormats) ? e.numberFormats : Tt(a), E = te(H(), e.modifiers, ga()), T = e.pluralRules || H(), 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, k = !!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, m = U(e.fallbackContext) ? e.fallbackContext : void 0, C = e, D = U(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), B = 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,
|
|
@@ -1550,12 +1550,12 @@ function Ta(e = {}) {
|
|
|
1550
1550
|
fallbackLocale: s,
|
|
1551
1551
|
messages: u,
|
|
1552
1552
|
modifiers: E,
|
|
1553
|
-
pluralRules:
|
|
1553
|
+
pluralRules: T,
|
|
1554
1554
|
missing: R,
|
|
1555
1555
|
missingWarn: g,
|
|
1556
1556
|
fallbackWarn: p,
|
|
1557
1557
|
fallbackFormat: L,
|
|
1558
|
-
unresolving:
|
|
1558
|
+
unresolving: k,
|
|
1559
1559
|
postTranslation: y,
|
|
1560
1560
|
processor: i,
|
|
1561
1561
|
warnHtmlMessage: b,
|
|
@@ -1569,7 +1569,7 @@ function Ta(e = {}) {
|
|
|
1569
1569
|
};
|
|
1570
1570
|
return P.datetimeFormats = _, P.numberFormats = c, P.__datetimeFormatters = D, P.__numberFormatters = B, __INTLIFY_PROD_DEVTOOLS__ && ea(P, n, w), P;
|
|
1571
1571
|
}
|
|
1572
|
-
const
|
|
1572
|
+
const Tt = (e) => ({ [e]: H() });
|
|
1573
1573
|
function $t(e, t, n, r, a) {
|
|
1574
1574
|
const { missing: s, onWarn: u } = e;
|
|
1575
1575
|
if (s !== null) {
|
|
@@ -1595,9 +1595,9 @@ 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: _ } = e, [c, E,
|
|
1599
|
-
J(
|
|
1600
|
-
const p = !!
|
|
1598
|
+
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __datetimeFormatters: _ } = e, [c, E, T, R] = Nt(...t), g = J(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1599
|
+
J(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1600
|
+
const p = !!T.part, L = Vt(e, T), k = u(
|
|
1601
1601
|
e,
|
|
1602
1602
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1603
1603
|
a,
|
|
@@ -1607,7 +1607,7 @@ function sn(e, ...t) {
|
|
|
1607
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 v = 0; v <
|
|
1610
|
+
for (let v = 0; v < k.length && (i = k[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;
|
|
@@ -1672,9 +1672,9 @@ 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: _ } = e, [c, E,
|
|
1676
|
-
J(
|
|
1677
|
-
const p = !!
|
|
1675
|
+
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: u } = e, { __numberFormatters: _ } = e, [c, E, T, R] = Rt(...t), g = J(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1676
|
+
J(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1677
|
+
const p = !!T.part, L = Vt(e, T), k = u(
|
|
1678
1678
|
e,
|
|
1679
1679
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1680
1680
|
a,
|
|
@@ -1684,7 +1684,7 @@ function ln(e, ...t) {
|
|
|
1684
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 v = 0; v <
|
|
1687
|
+
for (let v = 0; v < k.length && (i = k[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;
|
|
@@ -1747,7 +1747,7 @@ 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 || [], _ = (i) => u[i], c = e.named || H();
|
|
1748
1748
|
ee(e.pluralIndex) && Da(n, c);
|
|
1749
1749
|
const E = (i) => c[i];
|
|
1750
|
-
function
|
|
1750
|
+
function T(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
|
}
|
|
@@ -1759,13 +1759,13 @@ function Pa(e = {}) {
|
|
|
1759
1759
|
const [N, f] = b;
|
|
1760
1760
|
let A = "text", v = "";
|
|
1761
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
|
-
const m =
|
|
1762
|
+
const m = T(i, !0)(y), C = (
|
|
1763
1763
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1764
1764
|
A === "vnode" && z(m) && v ? m[0] : m
|
|
1765
1765
|
);
|
|
1766
1766
|
return v ? R(v)(C, A) : C;
|
|
1767
1767
|
},
|
|
1768
|
-
message:
|
|
1768
|
+
message: T,
|
|
1769
1769
|
type: L,
|
|
1770
1770
|
interpolate: p,
|
|
1771
1771
|
normalize: g,
|
|
@@ -1775,14 +1775,14 @@ function Pa(e = {}) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
const _n = () => "", re = (e) => K(e);
|
|
1777
1777
|
function mn(e, ...t) {
|
|
1778
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: u, messages: _ } = e, [c, E] = At(...t),
|
|
1778
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: u, messages: _ } = e, [c, E] = At(...t), T = 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, k = n || L != null && (O(L) || K(L)), y = Vt(e, E);
|
|
1779
1779
|
g && wa(E);
|
|
1780
1780
|
let [i, b, N] = p ? [
|
|
1781
1781
|
c,
|
|
1782
1782
|
y,
|
|
1783
1783
|
_[y] || H()
|
|
1784
|
-
] : Dn(e, c, y, u, R,
|
|
1785
|
-
if (!p && !(O(f) || Oe(f) || re(f)) &&
|
|
1784
|
+
] : Dn(e, c, y, u, R, T), f = i, A = c;
|
|
1785
|
+
if (!p && !(O(f) || Oe(f) || re(f)) && k && (f = L, A = f), !p && (!(O(f) || Oe(f) || re(f)) || !O(b)))
|
|
1786
1786
|
return a ? rt : c;
|
|
1787
1787
|
let v = !1;
|
|
1788
1788
|
const m = () => {
|
|
@@ -1792,14 +1792,14 @@ function mn(e, ...t) {
|
|
|
1792
1792
|
return f;
|
|
1793
1793
|
const D = Ua(e, b, N, E), B = Pa(D), w = Fa(e, C, B), P = r ? r(w, c) : w;
|
|
1794
1794
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1795
|
-
const
|
|
1795
|
+
const ke = {
|
|
1796
1796
|
timestamp: Date.now(),
|
|
1797
1797
|
key: O(c) ? c : re(f) ? f.key : "",
|
|
1798
1798
|
locale: b || (re(f) ? f.locale : ""),
|
|
1799
1799
|
format: O(f) ? f : re(f) ? f.source : "",
|
|
1800
1800
|
message: P
|
|
1801
1801
|
};
|
|
1802
|
-
|
|
1802
|
+
ke.meta = te({}, e.__meta, /* @__PURE__ */ ha() || {}), ta(ke);
|
|
1803
1803
|
}
|
|
1804
1804
|
return P;
|
|
1805
1805
|
}
|
|
@@ -1809,11 +1809,11 @@ function wa(e) {
|
|
|
1809
1809
|
});
|
|
1810
1810
|
}
|
|
1811
1811
|
function Dn(e, t, n, r, a, s) {
|
|
1812
|
-
const { messages: u, onWarn: _, messageResolver: c, localeFallbacker: E } = e,
|
|
1812
|
+
const { messages: u, onWarn: _, messageResolver: c, localeFallbacker: E } = e, T = E(e, r, n);
|
|
1813
1813
|
let R = H(), g, p = null;
|
|
1814
1814
|
const L = "translate";
|
|
1815
|
-
for (let
|
|
1816
|
-
if (!Na(g,
|
|
1815
|
+
for (let k = 0; k < T.length && (g = T[k], R = u[g] || H(), (p = c(R, t)) === null && (p = R[t]), !(O(p) || Oe(p) || re(p))); k++)
|
|
1816
|
+
if (!Na(g, T)) {
|
|
1817
1817
|
const y = $t(
|
|
1818
1818
|
e,
|
|
1819
1819
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1861,15 +1861,15 @@ 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: _, fallbackWarn: c, missingWarn: E, fallbackContext:
|
|
1864
|
+
const { modifiers: a, pluralRules: s, messageResolver: u, fallbackLocale: _, fallbackWarn: c, missingWarn: E, fallbackContext: T } = e, g = {
|
|
1865
1865
|
locale: t,
|
|
1866
1866
|
modifiers: a,
|
|
1867
1867
|
pluralRules: s,
|
|
1868
1868
|
messages: (p, L) => {
|
|
1869
|
-
let
|
|
1870
|
-
if (
|
|
1869
|
+
let k = u(n, p);
|
|
1870
|
+
if (k == null && (T || L)) {
|
|
1871
1871
|
const [, , y] = Dn(
|
|
1872
|
-
|
|
1872
|
+
T || e,
|
|
1873
1873
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1874
1874
|
p,
|
|
1875
1875
|
t,
|
|
@@ -1877,21 +1877,21 @@ function Ua(e, t, n, r) {
|
|
|
1877
1877
|
c,
|
|
1878
1878
|
E
|
|
1879
1879
|
);
|
|
1880
|
-
|
|
1880
|
+
k = u(y, p);
|
|
1881
1881
|
}
|
|
1882
|
-
if (O(
|
|
1882
|
+
if (O(k) || Oe(k)) {
|
|
1883
1883
|
let y = !1;
|
|
1884
|
-
const b = Pn(e, p, t,
|
|
1884
|
+
const b = Pn(e, p, t, k, p, () => {
|
|
1885
1885
|
y = !0;
|
|
1886
1886
|
});
|
|
1887
1887
|
return y ? _n : b;
|
|
1888
|
-
} else return re(
|
|
1888
|
+
} else return re(k) ? k : _n;
|
|
1889
1889
|
}
|
|
1890
1890
|
};
|
|
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_875eef4d-d209-433e-96c2-b26ba9ec013b", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_875eef4d-d209-433e-96c2-b26ba9ec013b", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.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.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", 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.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "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-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1830", ACTIONS_ORCHESTRATION_ID: "97b52994-25b5-4291-8d18-b42c83c45c51.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: "20260201.15.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.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:13426", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/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.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: "21893953765", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapi.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6298cd0349d66b8aeb2e7a365461c7363f3e3684", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", 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-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.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_e4409f82-7502-4e4f-a738-4089741de5b3", INVOCATION_ID: "28d1dd803a464af6bc64ecf046068c93", 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: "133", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", 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 1000046812", 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.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/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.8", 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: "false", FIREBASE_PROJECT_ID: "feedme-253402", 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: "6298cd0349d66b8aeb2e7a365461c7363f3e3684", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", 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_875eef4d-d209-433e-96c2-b26ba9ec013b", 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_875eef4d-d209-433e-96c2-b26ba9ec013b", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", 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: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", 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: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_875eef4d-d209-433e-96c2-b26ba9ec013b", 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_94ca9195-835f-4f47-b8b5-77cc3ffd3945", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_94ca9195-835f-4f47-b8b5-77cc3ffd3945", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.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.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", 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.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "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-zzez732dna-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin", SYSTEMD_EXEC_PID: "1845", ACTIONS_ORCHESTRATION_ID: "d12aad76-430a-443d-b778-ccc19ea341ce.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: "20260201.15.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.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:14929", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/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.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: "21899324204", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapi.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c03579b8f325c96c909da7bd36220207be5f8625", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", 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-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.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_a4d41efd-e7c9-414c-8555-ee929f5d7c3a", INVOCATION_ID: "ffb2fc53366a4bfe8839e181f5da7a86", 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: "134", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", 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 1000046950", 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.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/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.9", 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: "false", FIREBASE_PROJECT_ID: "feedme-253402", 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: "c03579b8f325c96c909da7bd36220207be5f8625", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", 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_94ca9195-835f-4f47-b8b5-77cc3ffd3945", 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_94ca9195-835f-4f47-b8b5-77cc3ffd3945", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", 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: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", 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: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_94ca9195-835f-4f47-b8b5-77cc3ffd3945", 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 Ha() {
|
|
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);
|
|
@@ -1912,7 +1912,7 @@ const Ce = {
|
|
|
1912
1912
|
function $e(e, ...t) {
|
|
1913
1913
|
return nt(e, null, void 0);
|
|
1914
1914
|
}
|
|
1915
|
-
const Lt = /* @__PURE__ */
|
|
1915
|
+
const Lt = /* @__PURE__ */ Te("__translateVNode"), Ot = /* @__PURE__ */ Te("__datetimeParts"), Ct = /* @__PURE__ */ Te("__numberParts"), Ga = Te("__setPluralRules"), wn = /* @__PURE__ */ Te("__injectWithOption"), St = /* @__PURE__ */ Te("__dispose");
|
|
1916
1916
|
function He(e) {
|
|
1917
1917
|
if (!U(e))
|
|
1918
1918
|
return e;
|
|
@@ -1997,8 +1997,8 @@ 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 : _.value
|
|
2000
|
-
), E = s(Fn(_.value, e)),
|
|
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,
|
|
2000
|
+
), E = s(Fn(_.value, e)), T = s(M(e.datetimeFormats) ? e.datetimeFormats : { [_.value]: {} }), R = s(M(e.numberFormats) ? e.numberFormats : { [_.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, k = !!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
2003
|
let v = e.pluralRules || t && t.pluralRules, m;
|
|
2004
2004
|
m = (() => {
|
|
@@ -2013,7 +2013,7 @@ function Ka(e = {}) {
|
|
|
2013
2013
|
missing: i === null ? void 0 : i,
|
|
2014
2014
|
missingWarn: g,
|
|
2015
2015
|
fallbackWarn: p,
|
|
2016
|
-
fallbackFormat:
|
|
2016
|
+
fallbackFormat: k,
|
|
2017
2017
|
unresolving: !0,
|
|
2018
2018
|
postTranslation: b === null ? void 0 : b,
|
|
2019
2019
|
warnHtmlMessage: N,
|
|
@@ -2022,8 +2022,8 @@ function Ka(e = {}) {
|
|
|
2022
2022
|
messageCompiler: e.messageCompiler,
|
|
2023
2023
|
__meta: { framework: "vue" }
|
|
2024
2024
|
};
|
|
2025
|
-
d.datetimeFormats =
|
|
2026
|
-
const I =
|
|
2025
|
+
d.datetimeFormats = T.value, d.numberFormats = R.value, d.__datetimeFormatters = M(m) ? m.__datetimeFormatters : void 0, d.__numberFormatters = M(m) ? m.__numberFormatters : void 0;
|
|
2026
|
+
const I = ka(d);
|
|
2027
2027
|
return r && rn(I), I;
|
|
2028
2028
|
})(), Pe(m, _.value, c.value);
|
|
2029
2029
|
function D() {
|
|
@@ -2031,7 +2031,7 @@ function Ka(e = {}) {
|
|
|
2031
2031
|
_.value,
|
|
2032
2032
|
c.value,
|
|
2033
2033
|
E.value,
|
|
2034
|
-
|
|
2034
|
+
T.value,
|
|
2035
2035
|
R.value
|
|
2036
2036
|
];
|
|
2037
2037
|
}
|
|
@@ -2045,7 +2045,7 @@ function Ka(e = {}) {
|
|
|
2045
2045
|
set: (d) => {
|
|
2046
2046
|
c.value = d, m.fallbackLocale = c.value, Pe(m, _.value, d);
|
|
2047
2047
|
}
|
|
2048
|
-
}), P = x(() => E.value),
|
|
2048
|
+
}), P = x(() => E.value), ke = /* @__PURE__ */ x(() => T.value), at = /* @__PURE__ */ x(() => R.value);
|
|
2049
2049
|
function st() {
|
|
2050
2050
|
return K(b) ? b : null;
|
|
2051
2051
|
}
|
|
@@ -2062,7 +2062,7 @@ function Ka(e = {}) {
|
|
|
2062
2062
|
D();
|
|
2063
2063
|
let Re;
|
|
2064
2064
|
try {
|
|
2065
|
-
Va.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (m.fallbackContext = t ?
|
|
2065
|
+
Va.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (m.fallbackContext = t ? Ta() : void 0), Re = d(m);
|
|
2066
2066
|
} finally {
|
|
2067
2067
|
__INTLIFY_PROD_DEVTOOLS__, r || (m.fallbackContext = void 0);
|
|
2068
2068
|
}
|
|
@@ -2165,13 +2165,13 @@ function Ka(e = {}) {
|
|
|
2165
2165
|
I = G[d], Je(I, E.value[d]), m.messages = E.value;
|
|
2166
2166
|
}
|
|
2167
2167
|
function vt(d) {
|
|
2168
|
-
return
|
|
2168
|
+
return T.value[d] || {};
|
|
2169
2169
|
}
|
|
2170
2170
|
function o(d, I) {
|
|
2171
|
-
|
|
2171
|
+
T.value[d] = I, m.datetimeFormats = T.value, on(m, d, I);
|
|
2172
2172
|
}
|
|
2173
2173
|
function l(d, I) {
|
|
2174
|
-
|
|
2174
|
+
T.value[d] = te(T.value[d] || {}, I), m.datetimeFormats = T.value, on(m, d, I);
|
|
2175
2175
|
}
|
|
2176
2176
|
function h(d) {
|
|
2177
2177
|
return R.value[d] || {};
|
|
@@ -2229,10 +2229,10 @@ function Ka(e = {}) {
|
|
|
2229
2229
|
L = d;
|
|
2230
2230
|
},
|
|
2231
2231
|
get fallbackFormat() {
|
|
2232
|
-
return
|
|
2232
|
+
return k;
|
|
2233
2233
|
},
|
|
2234
2234
|
set fallbackFormat(d) {
|
|
2235
|
-
|
|
2235
|
+
k = d, m.fallbackFormat = k;
|
|
2236
2236
|
},
|
|
2237
2237
|
get warnHtmlMessage() {
|
|
2238
2238
|
return N;
|
|
@@ -2256,7 +2256,7 @@ function Ka(e = {}) {
|
|
|
2256
2256
|
setMissingHandler: ut,
|
|
2257
2257
|
[Ga]: ft
|
|
2258
2258
|
};
|
|
2259
|
-
return F.datetimeFormats =
|
|
2259
|
+
return F.datetimeFormats = ke, F.numberFormats = at, F.rt = We, 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 Ht = {
|
|
2262
2262
|
tag: {
|
|
@@ -2311,11 +2311,11 @@ function Vn(e, t, n, r) {
|
|
|
2311
2311
|
const c = r(e.value, u, _);
|
|
2312
2312
|
let E = [u.key];
|
|
2313
2313
|
z(c) ? E = c.map((g, p) => {
|
|
2314
|
-
const L = a[g.type],
|
|
2315
|
-
return Ya(
|
|
2314
|
+
const L = a[g.type], k = L ? L({ [g.type]: g.value, index: p, parts: c }) : [g.value];
|
|
2315
|
+
return Ya(k) && (k[0].key = `${g.type}-${p}`), k;
|
|
2316
2316
|
}) : O(c) && (E = [c]);
|
|
2317
|
-
const
|
|
2318
|
-
return hn(R,
|
|
2317
|
+
const T = te(H(), s), R = O(e.tag) || U(e.tag) ? e.tag : Un();
|
|
2318
|
+
return hn(R, T, E);
|
|
2319
2319
|
};
|
|
2320
2320
|
}
|
|
2321
2321
|
te({
|
|
@@ -2336,7 +2336,7 @@ te({
|
|
|
2336
2336
|
type: [String, Object]
|
|
2337
2337
|
}
|
|
2338
2338
|
}, Ht);
|
|
2339
|
-
const Xa = /* @__PURE__ */
|
|
2339
|
+
const Xa = /* @__PURE__ */ Te("global-vue-i18n");
|
|
2340
2340
|
function xe(e = {}) {
|
|
2341
2341
|
const t = Dt();
|
|
2342
2342
|
if (t == null)
|
|
@@ -2468,7 +2468,7 @@ function rs() {
|
|
|
2468
2468
|
}));
|
|
2469
2469
|
}
|
|
2470
2470
|
function as() {
|
|
2471
|
-
const e =
|
|
2471
|
+
const e = Tn(), { t } = Ge(), n = e.state.menu.modules.item, r = e.categories;
|
|
2472
2472
|
return [
|
|
2473
2473
|
{
|
|
2474
2474
|
label: t("menu.rule_groups.condition_view.attribute.product_name"),
|
|
@@ -2502,19 +2502,19 @@ function Ks(e = {}) {
|
|
|
2502
2502
|
type: "string",
|
|
2503
2503
|
key: "name",
|
|
2504
2504
|
entity: "item",
|
|
2505
|
-
values: ge(u.filter((
|
|
2505
|
+
values: ge(u.filter((T) => !!T.name).map((T) => T.name))
|
|
2506
2506
|
},
|
|
2507
2507
|
{
|
|
2508
2508
|
type: "string",
|
|
2509
2509
|
key: "code",
|
|
2510
2510
|
entity: "item",
|
|
2511
|
-
values: ge(u.filter((
|
|
2511
|
+
values: ge(u.filter((T) => !!T.code).map((T) => T.code))
|
|
2512
2512
|
},
|
|
2513
2513
|
{
|
|
2514
2514
|
type: "string",
|
|
2515
2515
|
key: "category",
|
|
2516
2516
|
entity: "item",
|
|
2517
|
-
values: ge(_.filter((
|
|
2517
|
+
values: ge(_.filter((T) => !!T.name).map((T) => T.name))
|
|
2518
2518
|
}
|
|
2519
2519
|
];
|
|
2520
2520
|
}), n = x(() => {
|
|
@@ -2534,7 +2534,7 @@ function Ks(e = {}) {
|
|
|
2534
2534
|
const _ = Wt.cloneDeep(u);
|
|
2535
2535
|
return _ != null && _.rules && (_.rules = _.rules.map((c) => {
|
|
2536
2536
|
if ("property" in c && c.property === "category" && Array.isArray(c.value)) {
|
|
2537
|
-
const E = c.value.map((
|
|
2537
|
+
const E = c.value.map((T) => r.value[T]);
|
|
2538
2538
|
return { ...c, value: E };
|
|
2539
2539
|
}
|
|
2540
2540
|
return c;
|
|
@@ -2544,7 +2544,7 @@ function Ks(e = {}) {
|
|
|
2544
2544
|
const _ = Wt.cloneDeep(u);
|
|
2545
2545
|
return _ != null && _.rules && (_.rules = _.rules.map((c) => {
|
|
2546
2546
|
if ("property" in c && c.property === "category" && Array.isArray(c.value)) {
|
|
2547
|
-
const E = c.value.map((
|
|
2547
|
+
const E = c.value.map((T) => n.value[T]);
|
|
2548
2548
|
return { ...c, value: E };
|
|
2549
2549
|
}
|
|
2550
2550
|
return c;
|
|
@@ -2592,7 +2592,7 @@ const ss = {
|
|
|
2592
2592
|
}) {
|
|
2593
2593
|
const {
|
|
2594
2594
|
t: n
|
|
2595
|
-
} = Ge(), r = e, a = t, s =
|
|
2595
|
+
} = Ge(), r = e, a = t, s = Tn(), {
|
|
2596
2596
|
attributes: u
|
|
2597
2597
|
} = Bt({
|
|
2598
2598
|
valueSource: Pt().restaurants,
|
|
@@ -2602,7 +2602,7 @@ const ss = {
|
|
|
2602
2602
|
} = Bt({
|
|
2603
2603
|
valueSource: x(() => s.state.menu.modules.item || []),
|
|
2604
2604
|
entity: "item"
|
|
2605
|
-
}), c = rs(), E = as(),
|
|
2605
|
+
}), c = rs(), E = as(), T = oe(r.ruleKey), R = x(() => [...c.map((v) => ({
|
|
2606
2606
|
label: v.label,
|
|
2607
2607
|
value: `restaurant_attr_${v.value}`
|
|
2608
2608
|
})), ...u.value.map((v) => ({
|
|
@@ -2615,7 +2615,7 @@ const ss = {
|
|
|
2615
2615
|
label: `Product ${v.key}`,
|
|
2616
2616
|
value: `item_custom_${v.key}`
|
|
2617
2617
|
}))]), g = oe(r.values), p = x(() => {
|
|
2618
|
-
const v =
|
|
2618
|
+
const v = T.value;
|
|
2619
2619
|
if (!v) return [];
|
|
2620
2620
|
if (v.startsWith("restaurant_attr_")) {
|
|
2621
2621
|
const m = v.replace("restaurant_attr_", ""), C = c.find((D) => D.value === m);
|
|
@@ -2641,7 +2641,7 @@ const ss = {
|
|
|
2641
2641
|
}));
|
|
2642
2642
|
}
|
|
2643
2643
|
return [];
|
|
2644
|
-
}), L = oe(r.operator),
|
|
2644
|
+
}), L = oe(r.operator), k = [{
|
|
2645
2645
|
label: n("menu.rule_groups.condition_view.operator.in"),
|
|
2646
2646
|
value: "$in"
|
|
2647
2647
|
}, {
|
|
@@ -2659,9 +2659,9 @@ const ss = {
|
|
|
2659
2659
|
return y.value ? (D = v.filter((B) => B.label.toLowerCase().includes(y.value.toLowerCase()) && !m.includes(B.value)), [...C, ...D]) : (D = v.filter((B) => !m.includes(B.value)), [...C, ...D]);
|
|
2660
2660
|
}), b = x(() => {
|
|
2661
2661
|
let v = R.value;
|
|
2662
|
-
return v = v.filter((m) => !r.selectedKeys.includes(m.value) || m.value ===
|
|
2662
|
+
return v = v.filter((m) => !r.selectedKeys.includes(m.value) || m.value === T.value), y.value ? v.filter((m) => m.label.toLowerCase().includes(y.value.toLowerCase())) : v;
|
|
2663
2663
|
});
|
|
2664
|
-
Ze(() =>
|
|
2664
|
+
Ze(() => T.value, (v) => {
|
|
2665
2665
|
g.value = [];
|
|
2666
2666
|
});
|
|
2667
2667
|
function N(v) {
|
|
@@ -2675,7 +2675,7 @@ const ss = {
|
|
|
2675
2675
|
return "string";
|
|
2676
2676
|
}
|
|
2677
2677
|
function f(v, m) {
|
|
2678
|
-
const C = N(v === "ruleKey" ? m :
|
|
2678
|
+
const C = N(v === "ruleKey" ? m : T.value);
|
|
2679
2679
|
switch (v) {
|
|
2680
2680
|
case "ruleKey":
|
|
2681
2681
|
a("update:modelValue", {
|
|
@@ -2689,7 +2689,7 @@ const ss = {
|
|
|
2689
2689
|
break;
|
|
2690
2690
|
case "operator":
|
|
2691
2691
|
a("update:modelValue", {
|
|
2692
|
-
ruleKey:
|
|
2692
|
+
ruleKey: T.value,
|
|
2693
2693
|
operator: m,
|
|
2694
2694
|
values: g.value,
|
|
2695
2695
|
uniqueKey: r.uniqueKey,
|
|
@@ -2699,7 +2699,7 @@ const ss = {
|
|
|
2699
2699
|
break;
|
|
2700
2700
|
case "ruleValues":
|
|
2701
2701
|
a("update:modelValue", {
|
|
2702
|
-
ruleKey:
|
|
2702
|
+
ruleKey: T.value,
|
|
2703
2703
|
operator: L.value,
|
|
2704
2704
|
values: m,
|
|
2705
2705
|
uniqueKey: r.uniqueKey,
|
|
@@ -2722,8 +2722,8 @@ const ss = {
|
|
|
2722
2722
|
const C = fe("FmSearch"), D = fe("FmSelect"), B = fe("FmButton");
|
|
2723
2723
|
return W(), j("div", ss, [V("div", os, [Q(D, {
|
|
2724
2724
|
class: "flex w-full",
|
|
2725
|
-
modelValue:
|
|
2726
|
-
"onUpdate:modelValue": [m[2] || (m[2] = (w) =>
|
|
2725
|
+
modelValue: T.value,
|
|
2726
|
+
"onUpdate:modelValue": [m[2] || (m[2] = (w) => T.value = w), m[3] || (m[3] = (w) => f("ruleKey", w))],
|
|
2727
2727
|
items: b.value,
|
|
2728
2728
|
placeholder: Y(n)("menu.rule_groups.condition_view.select_item")
|
|
2729
2729
|
}, {
|
|
@@ -2742,8 +2742,8 @@ const ss = {
|
|
|
2742
2742
|
modelValue: L.value,
|
|
2743
2743
|
"onUpdate:modelValue": [m[4] || (m[4] = (w) => L.value = w), m[5] || (m[5] = (w) => f("operator", w))],
|
|
2744
2744
|
placeholder: Y(n)("menu.rule_groups.condition_view.select_item"),
|
|
2745
|
-
items:
|
|
2746
|
-
rules: [(w) =>
|
|
2745
|
+
items: k,
|
|
2746
|
+
rules: [(w) => T.value && !w ? Y(n)("menu.rule_groups.condition_view.required") : !0]
|
|
2747
2747
|
}, null, 8, ["modelValue", "placeholder", "rules"]), Q(D, {
|
|
2748
2748
|
class: "flex w-full",
|
|
2749
2749
|
modelValue: g.value,
|
|
@@ -2752,7 +2752,7 @@ const ss = {
|
|
|
2752
2752
|
placeholder: Y(n)("menu.rule_groups.condition_view.select_item"),
|
|
2753
2753
|
multiselect: "",
|
|
2754
2754
|
"hide-chips": "",
|
|
2755
|
-
rules: [(w) =>
|
|
2755
|
+
rules: [(w) => T.value && (!w || w.length === 0) ? Y(n)("menu.rule_groups.condition_view.required") : !0]
|
|
2756
2756
|
}, {
|
|
2757
2757
|
default: ae(() => [V("div", ls, Z(g.value.join(", ")), 1)]),
|
|
2758
2758
|
"prepend-menu": ae(() => [Q(C, {
|
|
@@ -2818,19 +2818,19 @@ const ss = {
|
|
|
2818
2818
|
bn(() => {
|
|
2819
2819
|
E.value.length === 0 && g();
|
|
2820
2820
|
});
|
|
2821
|
-
const
|
|
2821
|
+
const T = oe([]);
|
|
2822
2822
|
function R(p) {
|
|
2823
|
-
const L = p.uniqueKey.split("_"),
|
|
2823
|
+
const L = p.uniqueKey.split("_"), k = L[0] === "newCondition";
|
|
2824
2824
|
if (p.action === "delete")
|
|
2825
|
-
if (
|
|
2826
|
-
|
|
2825
|
+
if (k)
|
|
2826
|
+
T.value = T.value.filter((y) => y.key !== p.uniqueKey);
|
|
2827
2827
|
else {
|
|
2828
2828
|
const y = L.slice(1).join("_");
|
|
2829
2829
|
E.value = E.value.filter((i) => i.id !== y);
|
|
2830
2830
|
}
|
|
2831
2831
|
else if (p.action === "update")
|
|
2832
|
-
if (
|
|
2833
|
-
|
|
2832
|
+
if (k)
|
|
2833
|
+
T.value = T.value.filter((y) => y.key !== p.uniqueKey), E.value.push({
|
|
2834
2834
|
id: crypto.randomUUID(),
|
|
2835
2835
|
property: p.ruleKey,
|
|
2836
2836
|
operator: p.operator,
|
|
@@ -2851,14 +2851,14 @@ const ss = {
|
|
|
2851
2851
|
a("update:modelValue", E.value);
|
|
2852
2852
|
}
|
|
2853
2853
|
function g() {
|
|
2854
|
-
|
|
2855
|
-
key: `newCondition_${
|
|
2854
|
+
T.value.push({
|
|
2855
|
+
key: `newCondition_${T.value.length}`
|
|
2856
2856
|
});
|
|
2857
2857
|
}
|
|
2858
|
-
return Ze(() => E.value.length +
|
|
2858
|
+
return Ze(() => E.value.length + T.value.length, (p) => {
|
|
2859
2859
|
p === 0 && g();
|
|
2860
2860
|
}), (p, L) => {
|
|
2861
|
-
const
|
|
2861
|
+
const k = fe("FmButton");
|
|
2862
2862
|
return W(), j("div", us, [V("p", is, Z(Y(n)("menu.rule_groups.condition_view.condition")), 1), V("div", cs, [(W(!0), j(de, null, Me(E.value, (y) => (W(), j("div", {
|
|
2863
2863
|
key: y.id
|
|
2864
2864
|
}, [Q(vn, {
|
|
@@ -2870,7 +2870,7 @@ const ss = {
|
|
|
2870
2870
|
"onUpdate:modelValue": L[0] || (L[0] = (i) => {
|
|
2871
2871
|
R(i);
|
|
2872
2872
|
})
|
|
2873
|
-
}, null, 8, ["ruleKey", "operator", "values", "unique-key", "selected-keys"])]))), 128)), (W(!0), j(de, null, Me(
|
|
2873
|
+
}, null, 8, ["ruleKey", "operator", "values", "unique-key", "selected-keys"])]))), 128)), (W(!0), j(de, null, Me(T.value, (y) => (W(), j("div", {
|
|
2874
2874
|
key: y.key
|
|
2875
2875
|
}, [Q(vn, {
|
|
2876
2876
|
ruleKey: "",
|
|
@@ -2881,7 +2881,7 @@ const ss = {
|
|
|
2881
2881
|
"onUpdate:modelValue": L[1] || (L[1] = (i) => {
|
|
2882
2882
|
R(i);
|
|
2883
2883
|
})
|
|
2884
|
-
}, null, 8, ["unique-key", "selected-keys"])]))), 128)), Q(
|
|
2884
|
+
}, null, 8, ["unique-key", "selected-keys"])]))), 128)), Q(k, {
|
|
2885
2885
|
variant: Y(Fe).Plain,
|
|
2886
2886
|
"prepend-icon": "add",
|
|
2887
2887
|
label: Y(n)("menu.rule_groups.condition_view.add_condition"),
|
|
@@ -2980,7 +2980,7 @@ const vs = {
|
|
|
2980
2980
|
class: "fm-typo-en-headline-lg-600"
|
|
2981
2981
|
}, hs = {
|
|
2982
2982
|
class: "flex gap-16 items-center"
|
|
2983
|
-
},
|
|
2983
|
+
}, Ts = /* @__PURE__ */ ie({
|
|
2984
2984
|
__name: "RuleForm",
|
|
2985
2985
|
props: {
|
|
2986
2986
|
modelValue: {},
|
|
@@ -2995,29 +2995,29 @@ const vs = {
|
|
|
2995
2995
|
}) {
|
|
2996
2996
|
const {
|
|
2997
2997
|
t: r
|
|
2998
|
-
} = Ge(), a = oe(!1), s = (
|
|
2999
|
-
typeof
|
|
2998
|
+
} = Ge(), a = oe(!1), s = (k) => {
|
|
2999
|
+
typeof k == "boolean" ? a.value = k : a.value = !a.value;
|
|
3000
3000
|
}, u = e, _ = n;
|
|
3001
3001
|
t({
|
|
3002
3002
|
show: a,
|
|
3003
3003
|
trigger: s
|
|
3004
3004
|
});
|
|
3005
3005
|
const c = x(() => {
|
|
3006
|
-
var
|
|
3007
|
-
return ((
|
|
3006
|
+
var k;
|
|
3007
|
+
return ((k = u.modelValue.restaurantRule) == null ? void 0 : k.restaurantAttributes) ?? {};
|
|
3008
3008
|
}), E = x(() => {
|
|
3009
|
-
var
|
|
3010
|
-
return ((
|
|
3011
|
-
}),
|
|
3012
|
-
var
|
|
3013
|
-
return ((
|
|
3009
|
+
var k;
|
|
3010
|
+
return ((k = u.modelValue.restaurantRule) == null ? void 0 : k.restaurantCustomAttributes) ?? {};
|
|
3011
|
+
}), T = x(() => {
|
|
3012
|
+
var k;
|
|
3013
|
+
return ((k = u.modelValue.itemRule) == null ? void 0 : k.itemAttributes) ?? {};
|
|
3014
3014
|
}), R = x(() => {
|
|
3015
|
-
var
|
|
3016
|
-
return ((
|
|
3017
|
-
}), g = oe([...c.value.rules ?? [], ...E.value.rules ?? [], ...
|
|
3015
|
+
var k;
|
|
3016
|
+
return ((k = u.modelValue.itemRule) == null ? void 0 : k.itemCustomAttributes) ?? {};
|
|
3017
|
+
}), g = oe([...c.value.rules ?? [], ...E.value.rules ?? [], ...T.value.rules ?? [], ...R.value.rules ?? []]), p = oe([]);
|
|
3018
3018
|
function L() {
|
|
3019
3019
|
var f, A, v, m, C, D, B, w;
|
|
3020
|
-
const
|
|
3020
|
+
const k = u.modelValue, y = [], i = [], b = [], N = [];
|
|
3021
3021
|
if (p.value.length === 0) {
|
|
3022
3022
|
s(!1);
|
|
3023
3023
|
return;
|
|
@@ -3044,31 +3044,31 @@ const vs = {
|
|
|
3044
3044
|
value: P.value,
|
|
3045
3045
|
type: P.type
|
|
3046
3046
|
});
|
|
3047
|
-
}),
|
|
3047
|
+
}), k.restaurantRule = {
|
|
3048
3048
|
restaurantAttributes: {
|
|
3049
|
-
logic: ((A = (f =
|
|
3049
|
+
logic: ((A = (f = k.restaurantRule) == null ? void 0 : f.restaurantAttributes) == null ? void 0 : A.logic) ?? "AND",
|
|
3050
3050
|
rules: y
|
|
3051
3051
|
},
|
|
3052
3052
|
restaurantCustomAttributes: {
|
|
3053
|
-
logic: ((m = (v =
|
|
3053
|
+
logic: ((m = (v = k.restaurantRule) == null ? void 0 : v.restaurantCustomAttributes) == null ? void 0 : m.logic) ?? "AND",
|
|
3054
3054
|
rules: i
|
|
3055
3055
|
}
|
|
3056
|
-
},
|
|
3056
|
+
}, k.itemRule = {
|
|
3057
3057
|
itemAttributes: {
|
|
3058
|
-
logic: ((D = (C =
|
|
3058
|
+
logic: ((D = (C = k.itemRule) == null ? void 0 : C.itemAttributes) == null ? void 0 : D.logic) ?? "AND",
|
|
3059
3059
|
rules: b
|
|
3060
3060
|
},
|
|
3061
3061
|
itemCustomAttributes: {
|
|
3062
|
-
logic: ((w = (B =
|
|
3062
|
+
logic: ((w = (B = k.itemRule) == null ? void 0 : B.itemCustomAttributes) == null ? void 0 : w.logic) ?? "AND",
|
|
3063
3063
|
rules: N
|
|
3064
3064
|
}
|
|
3065
3065
|
}, s(!1), _("update:modelValue", {
|
|
3066
|
-
menuRule:
|
|
3066
|
+
menuRule: k
|
|
3067
3067
|
});
|
|
3068
3068
|
}
|
|
3069
|
-
return (
|
|
3069
|
+
return (k, y) => {
|
|
3070
3070
|
const i = fe("FmButton"), b = fe("FmSideSheet");
|
|
3071
|
-
return W(), j(de, null, [Qe(
|
|
3071
|
+
return W(), j(de, null, [Qe(k.$slots, "default", {
|
|
3072
3072
|
trigger: s
|
|
3073
3073
|
}), Q(b, {
|
|
3074
3074
|
modelValue: a.value,
|
|
@@ -3085,7 +3085,7 @@ const vs = {
|
|
|
3085
3085
|
variant: Y(Fe).Tertiary,
|
|
3086
3086
|
"prepend-icon": "arrow_back",
|
|
3087
3087
|
onClick: y[0] || (y[0] = se((N) => s(), ["stop"]))
|
|
3088
|
-
}, null, 8, ["variant"]),
|
|
3088
|
+
}, null, 8, ["variant"]), k.isEditMode && g.value.length > 0 ? (W(), j("div", ys, Z(Y(r)("menu.rule_groups.condition_view.edit_condition")), 1)) : (W(), j("div", bs, Z(Y(r)("menu.rule_groups.condition_view.add_condition")), 1))])]),
|
|
3089
3089
|
"side-sheet-footer": ae(() => [V("div", hs, [Q(i, {
|
|
3090
3090
|
variant: "primary",
|
|
3091
3091
|
label: Y(r)("common.save"),
|
|
@@ -3097,7 +3097,7 @@ const vs = {
|
|
|
3097
3097
|
}, null, 8, ["label"])])]),
|
|
3098
3098
|
default: ae(() => [Q(_s, {
|
|
3099
3099
|
class: "p-16",
|
|
3100
|
-
"model-value":
|
|
3100
|
+
"model-value": k.modelValue,
|
|
3101
3101
|
"onUpdate:modelValue": y[1] || (y[1] = (N) => {
|
|
3102
3102
|
p.value = N;
|
|
3103
3103
|
})
|
|
@@ -3106,7 +3106,7 @@ const vs = {
|
|
|
3106
3106
|
}, 8, ["modelValue", "is-container", "is-container-props"])], 64);
|
|
3107
3107
|
};
|
|
3108
3108
|
}
|
|
3109
|
-
}),
|
|
3109
|
+
}), ks = {
|
|
3110
3110
|
class: "flex items-center justify-between pb-8"
|
|
3111
3111
|
}, Is = {
|
|
3112
3112
|
key: 0,
|
|
@@ -3178,7 +3178,7 @@ const vs = {
|
|
|
3178
3178
|
}), E = x(() => {
|
|
3179
3179
|
var g, p;
|
|
3180
3180
|
return ((p = (g = r.modelValue.itemRule) == null ? void 0 : g.itemAttributes) == null ? void 0 : p.rules) ?? [];
|
|
3181
|
-
}),
|
|
3181
|
+
}), T = x(() => {
|
|
3182
3182
|
var g, p;
|
|
3183
3183
|
return ((p = (g = r.modelValue.itemRule) == null ? void 0 : g.itemCustomAttributes) == null ? void 0 : p.rules) ?? [];
|
|
3184
3184
|
}), R = x(() => [..._.value.map((g) => ({
|
|
@@ -3190,20 +3190,20 @@ const vs = {
|
|
|
3190
3190
|
})), ...E.value.map((g) => ({
|
|
3191
3191
|
...g,
|
|
3192
3192
|
property: `${n("menu.product.title")} ${g.property}`
|
|
3193
|
-
})), ...
|
|
3193
|
+
})), ...T.value.map((g) => ({
|
|
3194
3194
|
...g,
|
|
3195
3195
|
property: `${n("menu.product.title")} ${g.property}`
|
|
3196
3196
|
}))]);
|
|
3197
3197
|
return (g, p) => {
|
|
3198
|
-
const L = fe("FmButton"),
|
|
3199
|
-
return W(), j(de, null, [V("div",
|
|
3198
|
+
const L = fe("FmButton"), k = fe("FmMenu");
|
|
3199
|
+
return W(), j(de, null, [V("div", ks, [e.title ? (W(), j("p", Is, Z(e.title), 1)) : we("", !0), V("div", Ns, [e.isCatalogLinkItemRuleView ? (W(), xt(L, {
|
|
3200
3200
|
key: 1,
|
|
3201
3201
|
variant: Y(Fe).Tertiary,
|
|
3202
3202
|
class: "cursor-pointer",
|
|
3203
3203
|
"prepend-icon": "edit",
|
|
3204
3204
|
"text-color": " text-fm-color-primary",
|
|
3205
3205
|
onClick: p[1] || (p[1] = se((y) => e.isCatalogLinkItemRuleView ? g.$emit("open-catalog-link-item-rule-form") : null, ["stop"]))
|
|
3206
|
-
}, null, 8, ["variant"])) : (W(), xt(
|
|
3206
|
+
}, null, 8, ["variant"])) : (W(), xt(Ts, {
|
|
3207
3207
|
key: 0,
|
|
3208
3208
|
ref_key: "ruleFormRef",
|
|
3209
3209
|
ref: u,
|
|
@@ -3233,7 +3233,7 @@ const vs = {
|
|
|
3233
3233
|
key: 0
|
|
3234
3234
|
}, Me(e.ruleGroupNames, (y, i) => (W(), j("div", {
|
|
3235
3235
|
key: y
|
|
3236
|
-
}, [V("div", Ls, [V("p", Os, Z(i + 1) + ".", 1), V("div", Cs, [V("p", null, Z(Y(n)("menu.rule_groups.condition_view.in_rule_group")), 1), Q(
|
|
3236
|
+
}, [V("div", Ls, [V("p", Os, Z(i + 1) + ".", 1), V("div", Cs, [V("p", null, Z(Y(n)("menu.rule_groups.condition_view.in_rule_group")), 1), Q(k, {
|
|
3237
3237
|
trigger: "hover",
|
|
3238
3238
|
closeOnMouseLeave: ""
|
|
3239
3239
|
}, {
|
|
@@ -3274,7 +3274,7 @@ export {
|
|
|
3274
3274
|
Bs as _,
|
|
3275
3275
|
Jn as a,
|
|
3276
3276
|
Xs as b,
|
|
3277
|
-
|
|
3277
|
+
Ts as c,
|
|
3278
3278
|
Ws as d,
|
|
3279
3279
|
xe as e,
|
|
3280
3280
|
Ys as f,
|