@feedmepos/mf-menu 0.32.57-dev.1 → 0.32.57-dev.2
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-C7XMC5tu.js → App-CE5s0l9A.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-E3y0Yzvz.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DZ5sZWpU.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-BzxL3LIz.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-B0POr6JV.js} +2 -2
- package/dist/{Catalog-wjLJ0FKr.js → Catalog-CY6RvjyS.js} +6 -6
- package/dist/{Category-BVAF5jZq.js → Category-BoVnd_-a.js} +10 -10
- package/dist/{Category-C8NEdw1f.js → Category-DIpJlX_N.js} +13 -13
- package/dist/{CookingGuide-DkVCd-Tc.js → CookingGuide-CHzasZA9.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Csn3gjAQ.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIhsGYRl.js} +1 -1
- package/dist/{Group-CFeW2ARj.js → Group-CwBojMky.js} +1 -1
- package/dist/{Group-DsuU26jf.js → Group-SUmVQxSU.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BPgT_ckT.js → Group.vue_vue_type_script_setup_true_lang-BBqXiV3r.js} +57 -58
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cl6AEPoD.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CcQdvzMy.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BLK8bASJ.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C8VMeXoW.js} +193 -190
- package/dist/{Ingredient-CASi0MP2.js → Ingredient-DmsJNTi3.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-a4r-l-jt.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CZ3Ti5o-.js} +2 -2
- package/dist/{LinkProductSideSheet-Ci1_qEKm.js → LinkProductSideSheet-D8Dvdhk0.js} +3 -3
- package/dist/{MenuSetting-CQxD3M9k.js → MenuSetting-CmFx4CKw.js} +6 -6
- package/dist/{OrderPacing-CKpx1zWN.js → OrderPacing-CFuteZjm.js} +5 -5
- package/dist/{PrintRoute-BDkeKHLa.js → PrintRoute-CeHNsLcv.js} +4 -4
- package/dist/{Product-DxkexFiq.js → Product-bJfbi1yz.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DxkTpeIp.js → Product.vue_vue_type_script_setup_true_lang-kvqrUjei.js} +12 -12
- package/dist/{ProductInternalTools-DMh7P9N6.js → ProductInternalTools-BkKbXFdG.js} +16 -16
- package/dist/{Products-BaTN9Vrv.js → Products-Bv9gINb8.js} +25 -25
- package/dist/{Publish-B-0kzb8B.js → Publish-CSMkGRiV.js} +3 -3
- package/dist/{Recipe-DiFdfvoL.js → Recipe-CDK1f07t.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BZ6-uHC1.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-hYs_2e94.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-C3d41j99.js → RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js} +63 -63
- package/dist/{Scheduler-Y-r-uhl2.js → Scheduler-Ce6qK5xo.js} +3 -3
- package/dist/{ServingSequence-B2gZumZ5.js → ServingSequence-BSX_g50j.js} +3 -3
- package/dist/{Setting-CVIGpw-x.js → Setting-BNS9ggtX.js} +5 -5
- package/dist/{Subcategory-CGBVYZ7Z.js → Subcategory-62g1JEwl.js} +5 -5
- package/dist/{Takeaway-DDTTQZak.js → Takeaway-DR0Ax44B.js} +1 -1
- package/dist/{Takeaway-D4mIHqv6.js → Takeaway-f4VO0ZJ-.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CJuJedKh.js → Takeaway.vue_vue_type_script_setup_true_lang-B3UE1p7X.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-AHNsIox6.js → Thumbnail.vue_vue_type_script_setup_true_lang-CTw2lKns.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CpEWc_Ff.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-hd6JGri0.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BPkpxT1s.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BRXHWG5s.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ClDRf-88.js +5986 -0
- package/dist/{Unit-DAHT36Af.js → Unit-DnrLxe1V.js} +2 -2
- package/dist/{Variant-0UJVh4AG.js → Variant-DM2r3Of9.js} +3 -3
- package/dist/{_id_-BSzV5VHq.js → _id_-BhFeSJIu.js} +9 -9
- package/dist/{app-RorQyO5L.js → app-CO3nuOc3.js} +1 -1
- package/dist/{app-BpxsJTLh.js → app-DH7q5VuL.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +2 -0
- package/dist/apps/mf-menu/src/manager/menu/circularLink.d.ts +3 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +1 -2
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BUeQipEA.js → linked-status-BR-paOgW.js} +2 -2
- package/dist/assets/{menu-export-Vn3MYK3_.js → menu-export-Dwpl4c_S.js} +4 -4
- package/dist/assets/{override-menu-BpEh_6g3.js → override-menu-BS1DhRTo.js} +2 -2
- package/dist/assets/{validate-menu-De9rzE7_.js → validate-menu-B-YCNUDR.js} +2 -2
- package/dist/{catalog-BBaS6Pnd.js → catalog-DN1unMjl.js} +1 -1
- package/dist/{catalogSetting-BDnNmlnm.js → catalogSetting-CI8dXYw5.js} +1 -1
- package/dist/{currency-BrkU2Vde.js → currency-BFqLFFOP.js} +1 -1
- package/dist/{dayjs.min-DgpA8hFi.js → dayjs.min-BXDB3ec6.js} +2 -2
- package/dist/{index-Dy5TC0x7.js → index-CCKQLhW1.js} +4 -4
- package/dist/{index-DBAlmXib.js → index-CYexEfd8.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-Bx__FUMc.js → index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js} +5 -5
- package/dist/{item-oY2LwWGC.js → item-eua4dBDT.js} +516 -488
- package/dist/{jszip.min-BbhegiH-.js → jszip.min-C10zcIsO.js} +3 -3
- package/dist/{memberPricing-nYksLKBc.js → memberPricing-BlITNLhE.js} +1 -1
- package/dist/{menu-CJl8kr2v.js → menu-C4vsCvFL.js} +1 -1
- package/dist/menuV2-DB-VttRA.js +1023 -0
- package/dist/{order_pacing-BPt_fRk7.js → order_pacing-CDQ6wUL_.js} +5 -5
- package/dist/{priceTier-BlOBX3x3.js → priceTier-pJMZysfK.js} +1 -1
- package/dist/{rules-BkSEsnpL.js → rules-BScEYhiY.js} +3 -3
- package/dist/{scheduler-Cl70ZIns.js → scheduler-BTiyl-EY.js} +4 -4
- package/dist/{toExcel-BAeoALKB.js → toExcel-CSdnEWqk.js} +2 -2
- package/dist/{unit-BH96dkTh.js → unit-BcPS3VM3.js} +2 -2
- package/package.json +1 -1
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ddstxum-.js +0 -5974
- package/dist/menuV2-Cfjb_IgJ.js +0 -1055
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as ie, createElementBlock as j, openBlock as
|
|
2
|
-
import { x as
|
|
3
|
-
import { useCoreStore as wt, useI18n as Ge, useCustomAttributes as
|
|
1
|
+
import { defineComponent as ie, createElementBlock as j, openBlock as x, normalizeClass as Pt, renderSlot as Qe, createCommentVNode as Fe, createVNode as X, createElementVNode as V, toDisplayString as Z, withCtx as ae, getCurrentInstance as Dt, inject as Hn, ref as oe, shallowRef as Gn, computed as W, watch as Ze, onMounted as bn, onUnmounted as Wn, h as hn, Text as Bn, Fragment as de, resolveComponent as pe, unref as K, withModifiers as se, renderList as Me, createBlock as Bt } from "vue";
|
|
2
|
+
import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
|
+
import { useCoreStore as wt, useI18n as Ge, useCustomAttributes as xt, EMPTY_RULE as Yn, isEmptyMongoQuery as jn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as Tn, H as Kt, U as vt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, H as Kt, U as vt } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
6
6
|
import { FmButtonVariant as he, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
import "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
8
8
|
const Jn = /* @__PURE__ */ ie({
|
|
@@ -11,7 +11,7 @@ const Jn = /* @__PURE__ */ ie({
|
|
|
11
11
|
shrinkable: { type: Boolean }
|
|
12
12
|
},
|
|
13
13
|
setup(e) {
|
|
14
|
-
return (t, n) => (
|
|
14
|
+
return (t, n) => (x(), j("div", {
|
|
15
15
|
class: Pt(["flex-1 flex flex-col space-y-24", { "min-h-0": t.shrinkable }])
|
|
16
16
|
}, [
|
|
17
17
|
Qe(t.$slots, "default")
|
|
@@ -31,13 +31,13 @@ const Jn = /* @__PURE__ */ ie({
|
|
|
31
31
|
shrinkable: { type: Boolean }
|
|
32
32
|
},
|
|
33
33
|
setup(e) {
|
|
34
|
-
return (t, n) => (
|
|
34
|
+
return (t, n) => (x(), j("div", {
|
|
35
35
|
class: Pt(["flex flex-col space-y-16", { "min-h-0": t.shrinkable }])
|
|
36
36
|
}, [
|
|
37
|
-
t.title ? (
|
|
37
|
+
t.title ? (x(), j("div", Qn, [
|
|
38
38
|
V("div", Zn, [
|
|
39
39
|
V("p", zn, Z(t.title), 1),
|
|
40
|
-
t.subTitle ? (
|
|
40
|
+
t.subTitle ? (x(), j("p", er, Z(t.subTitle), 1)) : Fe("", !0)
|
|
41
41
|
]),
|
|
42
42
|
Qe(t.$slots, "append-title")
|
|
43
43
|
])) : Fe("", !0),
|
|
@@ -270,7 +270,7 @@ function yr(e, t = {}) {
|
|
|
270
270
|
return !1;
|
|
271
271
|
const D = () => {
|
|
272
272
|
const F = s.currentPeek();
|
|
273
|
-
return F === "{" ? u(s.peek()) : F === "@" || F === "|" || F === ":" || F === "." || F === me || !F ? !1 : F === ne ? (s.peek(), D()) :
|
|
273
|
+
return F === "{" ? u(s.peek()) : F === "@" || F === "|" || F === ":" || F === "." || F === me || !F ? !1 : F === ne ? (s.peek(), D()) : B(s, !1);
|
|
274
274
|
}, q = D();
|
|
275
275
|
return s.resetPeek(), q;
|
|
276
276
|
}
|
|
@@ -279,7 +279,7 @@ function yr(e, t = {}) {
|
|
|
279
279
|
const l = s.currentPeek() === "|";
|
|
280
280
|
return s.resetPeek(), l;
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function B(s, l = !0) {
|
|
283
283
|
const b = (q = !1, F = "") => {
|
|
284
284
|
const _ = s.currentPeek();
|
|
285
285
|
return _ === "{" || _ === "@" || !_ ? q : _ === "|" ? !(F === me || F === ne) : _ === me ? (s.peek(), b(!0, me)) : _ === ne ? (s.peek(), b(!0, ne)) : !0;
|
|
@@ -326,10 +326,10 @@ function yr(e, t = {}) {
|
|
|
326
326
|
l >= 65 && l <= 70 || // A-F
|
|
327
327
|
l >= 97 && l <= 102;
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Be(s) {
|
|
330
330
|
return C(s, ce);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function xe(s) {
|
|
333
333
|
let l = "", b = "";
|
|
334
334
|
for (; l = ut(s); )
|
|
335
335
|
b += l;
|
|
@@ -342,7 +342,7 @@ function yr(e, t = {}) {
|
|
|
342
342
|
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
343
343
|
break;
|
|
344
344
|
if (b === me || b === ne)
|
|
345
|
-
if (
|
|
345
|
+
if (B(s))
|
|
346
346
|
l += b, s.next();
|
|
347
347
|
else {
|
|
348
348
|
if (w(s))
|
|
@@ -364,7 +364,7 @@ function yr(e, t = {}) {
|
|
|
364
364
|
function mt(s) {
|
|
365
365
|
y(s);
|
|
366
366
|
let l = "";
|
|
367
|
-
return s.currentChar() === "-" ? (s.next(), l += `-${
|
|
367
|
+
return s.currentChar() === "-" ? (s.next(), l += `-${xe(s)}`) : l += xe(s), s.currentChar() === ge && O($.UNTERMINATED_CLOSING_BRACE, a(), 0), l;
|
|
368
368
|
}
|
|
369
369
|
function Wt(s) {
|
|
370
370
|
return s !== qt && s !== ne;
|
|
@@ -395,7 +395,7 @@ function yr(e, t = {}) {
|
|
|
395
395
|
k(s, l);
|
|
396
396
|
let D = "";
|
|
397
397
|
for (let q = 0; q < b; q++) {
|
|
398
|
-
const F =
|
|
398
|
+
const F = Be(s);
|
|
399
399
|
if (!F) {
|
|
400
400
|
O($.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${l}${D}${s.currentChar()}`);
|
|
401
401
|
break;
|
|
@@ -528,7 +528,7 @@ function yr(e, t = {}) {
|
|
|
528
528
|
default: {
|
|
529
529
|
if (w(s))
|
|
530
530
|
return b = p(l, 1, Pe(s)), l.braceNest = 0, l.inLinked = !1, b;
|
|
531
|
-
if (
|
|
531
|
+
if (B(s))
|
|
532
532
|
return p(l, 0, it(s));
|
|
533
533
|
break;
|
|
534
534
|
}
|
|
@@ -1015,7 +1015,7 @@ function Zt(e, t) {
|
|
|
1015
1015
|
if (n != null)
|
|
1016
1016
|
return e.type === "text" ? n : e.normalize([n]);
|
|
1017
1017
|
{
|
|
1018
|
-
const r =
|
|
1018
|
+
const r = Br(t).reduce((o, a) => [...o, Nt(e, a)], []);
|
|
1019
1019
|
return e.normalize(r);
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
@@ -1024,7 +1024,7 @@ function Gr(e) {
|
|
|
1024
1024
|
return ye(e, Hr);
|
|
1025
1025
|
}
|
|
1026
1026
|
const Wr = ["i", "items"];
|
|
1027
|
-
function
|
|
1027
|
+
function Br(e) {
|
|
1028
1028
|
return ye(e, Wr, []);
|
|
1029
1029
|
}
|
|
1030
1030
|
function Nt(e, t) {
|
|
@@ -1062,9 +1062,9 @@ function Nt(e, t) {
|
|
|
1062
1062
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
const
|
|
1065
|
+
const xr = ["t", "type"];
|
|
1066
1066
|
function Vt(e) {
|
|
1067
|
-
return ye(e,
|
|
1067
|
+
return ye(e, xr);
|
|
1068
1068
|
}
|
|
1069
1069
|
const Kr = ["v", "value"];
|
|
1070
1070
|
function Xe(e, t) {
|
|
@@ -1542,7 +1542,7 @@ const on = (e) => {
|
|
|
1542
1542
|
}, Io = () => Cn;
|
|
1543
1543
|
let an = 0;
|
|
1544
1544
|
function No(e = {}) {
|
|
1545
|
-
const t = Y(e.onWarn) ? e.onWarn : ur, n = S(e.version) ? e.version : Eo, r = S(e.locale) || Y(e.locale) ? e.locale : et, o = Y(r) ? et : r, a = z(e.fallbackLocale) || M(e.fallbackLocale) || S(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, i = M(e.messages) ? e.messages : Tt(o), m = M(e.datetimeFormats) ? e.datetimeFormats : Tt(o), c = M(e.numberFormats) ? e.numberFormats : Tt(o), g = te(H(), e.modifiers, go()), h = e.pluralRules || H(), O = Y(e.missing) ? e.missing : null, p = Q(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, f = Q(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, k = !!e.fallbackFormat, T = !!e.unresolving, y = Y(e.postTranslation) ? e.postTranslation : null, u = M(e.processor) ? e.processor : null, v = Q(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, E = Y(e.messageCompiler) ? e.messageCompiler : Rn, R = Y(e.messageResolver) ? e.messageResolver : An || _o, A = Y(e.localeFallbacker) ? e.localeFallbacker : Ln || oo, d = U(e.fallbackContext) ? e.fallbackContext : void 0, L = e, P = U(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), w = U(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(),
|
|
1545
|
+
const t = Y(e.onWarn) ? e.onWarn : ur, n = S(e.version) ? e.version : Eo, r = S(e.locale) || Y(e.locale) ? e.locale : et, o = Y(r) ? et : r, a = z(e.fallbackLocale) || M(e.fallbackLocale) || S(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, i = M(e.messages) ? e.messages : Tt(o), m = M(e.datetimeFormats) ? e.datetimeFormats : Tt(o), c = M(e.numberFormats) ? e.numberFormats : Tt(o), g = te(H(), e.modifiers, go()), h = e.pluralRules || H(), O = Y(e.missing) ? e.missing : null, p = Q(e.missingWarn) || ze(e.missingWarn) ? e.missingWarn : !0, f = Q(e.fallbackWarn) || ze(e.fallbackWarn) ? e.fallbackWarn : !0, k = !!e.fallbackFormat, T = !!e.unresolving, y = Y(e.postTranslation) ? e.postTranslation : null, u = M(e.processor) ? e.processor : null, v = Q(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, E = Y(e.messageCompiler) ? e.messageCompiler : Rn, R = Y(e.messageResolver) ? e.messageResolver : An || _o, A = Y(e.localeFallbacker) ? e.localeFallbacker : Ln || oo, d = U(e.fallbackContext) ? e.fallbackContext : void 0, L = e, P = U(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), w = U(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), B = U(L.__meta) ? L.__meta : {};
|
|
1546
1546
|
an++;
|
|
1547
1547
|
const C = {
|
|
1548
1548
|
version: n,
|
|
@@ -1566,9 +1566,9 @@ function No(e = {}) {
|
|
|
1566
1566
|
localeFallbacker: A,
|
|
1567
1567
|
fallbackContext: d,
|
|
1568
1568
|
onWarn: t,
|
|
1569
|
-
__meta:
|
|
1569
|
+
__meta: B
|
|
1570
1570
|
};
|
|
1571
|
-
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters = P, C.__numberFormatters = w, __INTLIFY_PROD_DEVTOOLS__ && eo(C, n,
|
|
1571
|
+
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters = P, C.__numberFormatters = w, __INTLIFY_PROD_DEVTOOLS__ && eo(C, n, B), C;
|
|
1572
1572
|
}
|
|
1573
1573
|
const Tt = (e) => ({ [e]: H() });
|
|
1574
1574
|
function Ht(e, t, n, r, o) {
|
|
@@ -1791,7 +1791,7 @@ function _n(e, ...t) {
|
|
|
1791
1791
|
}, L = re(E) ? E : Dn(e, c, v, E, R, d);
|
|
1792
1792
|
if (A)
|
|
1793
1793
|
return E;
|
|
1794
|
-
const P = Vo(e, v, N, g), w = wo(P),
|
|
1794
|
+
const P = Vo(e, v, N, g), w = wo(P), B = Mo(e, L, w), C = r ? r(B, c) : B;
|
|
1795
1795
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1796
1796
|
const Ne = {
|
|
1797
1797
|
timestamp: Date.now(),
|
|
@@ -1892,7 +1892,7 @@ function Vo(e, t, n, r) {
|
|
|
1892
1892
|
return e.processor && (p.processor = e.processor), r.list && (p.list = r.list), r.named && (p.named = r.named), ee(r.plural) && (p.pluralIndex = r.plural), p;
|
|
1893
1893
|
}
|
|
1894
1894
|
wr();
|
|
1895
|
-
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
1895
|
+
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_46664bda-719f-41da-aa94-88104655396e", DOTNET_NOLOGO: "1", USER: "runner", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v18.20.8 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_46664bda-719f-41da-aa94-88104655396e", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", 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", HCA_CLOUD_PROVIDER: "azure", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", 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", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.6.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1770", ACTIONS_ORCHESTRATION_ID: "4c563853-7d42-4b84-a8a7-372ce2d93152.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260705.232.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13451", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "29260295230", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7b23b3aeb6e299e43f92faab6788b21a17956991", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.4/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", 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_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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@10.8.0/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@10.8.0/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_7e54b936-9f3a-45ae-8e6d-f958fdf57a5d", INVOCATION_ID: "64b1958e5feb4063aa7ebd0b370e4c3c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "573", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000088056", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.57-dev.2", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "7b23b3aeb6e299e43f92faab6788b21a17956991", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_46664bda-719f-41da-aa94-88104655396e", 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@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_46664bda-719f-41da-aa94-88104655396e", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", 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_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", 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", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_46664bda-719f-41da-aa94-88104655396e", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
1896
1896
|
const Ho = "10.0.5";
|
|
1897
1897
|
function Go() {
|
|
1898
1898
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Te().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Te().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Te().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Te().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1951,7 +1951,7 @@ function Fn(e, t) {
|
|
|
1951
1951
|
function Mn(e) {
|
|
1952
1952
|
return e.type;
|
|
1953
1953
|
}
|
|
1954
|
-
function
|
|
1954
|
+
function Bo(e, t, n) {
|
|
1955
1955
|
let r = U(t.messages) ? t.messages : H();
|
|
1956
1956
|
"__i18nGlobal" in n && (r = Fn(e.locale.value, {
|
|
1957
1957
|
messages: r,
|
|
@@ -1977,9 +1977,9 @@ function xo(e, t, n) {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
1979
|
function dn(e) {
|
|
1980
|
-
return X(
|
|
1980
|
+
return X(Bn, null, e, 0);
|
|
1981
1981
|
}
|
|
1982
|
-
const pn = "__INTLIFY_META__", En = () => [],
|
|
1982
|
+
const pn = "__INTLIFY_META__", En = () => [], xo = () => !1;
|
|
1983
1983
|
let gn = 0;
|
|
1984
1984
|
function yn(e) {
|
|
1985
1985
|
return (t, n, r, o) => e(n, r, Dt() || void 0, o);
|
|
@@ -2041,7 +2041,7 @@ function Yo(e = {}) {
|
|
|
2041
2041
|
set: (_) => {
|
|
2042
2042
|
m.value = _, d.locale = m.value;
|
|
2043
2043
|
}
|
|
2044
|
-
}),
|
|
2044
|
+
}), B = W({
|
|
2045
2045
|
get: () => c.value,
|
|
2046
2046
|
set: (_) => {
|
|
2047
2047
|
c.value = _, d.fallbackLocale = c.value, we(d, m.value, _);
|
|
@@ -2077,14 +2077,14 @@ function Yo(e = {}) {
|
|
|
2077
2077
|
throw $e(Se.UNEXPECTED_RETURN_TYPE);
|
|
2078
2078
|
}
|
|
2079
2079
|
};
|
|
2080
|
-
function
|
|
2080
|
+
function Be(..._) {
|
|
2081
2081
|
return ce((I) => Reflect.apply(_n, null, [I, ..._]), () => Lt(..._), "translate", (I) => Reflect.apply(I.t, I, [..._]), (I) => I, (I) => S(I));
|
|
2082
2082
|
}
|
|
2083
|
-
function
|
|
2083
|
+
function xe(..._) {
|
|
2084
2084
|
const [I, G, J] = _;
|
|
2085
2085
|
if (J && !U(J))
|
|
2086
2086
|
throw $e(Se.INVALID_ARGUMENT);
|
|
2087
|
-
return
|
|
2087
|
+
return Be(I, G, te({ resolvedMessage: !0 }, J || {}));
|
|
2088
2088
|
}
|
|
2089
2089
|
function it(..._) {
|
|
2090
2090
|
return ce((I) => Reflect.apply(sn, null, [I, ..._]), () => Rt(..._), "datetime format", (I) => Reflect.apply(I.d, I, [..._]), () => nn, (I) => S(I));
|
|
@@ -2127,7 +2127,7 @@ function Yo(e = {}) {
|
|
|
2127
2127
|
return !1;
|
|
2128
2128
|
const G = S(I) ? I : m.value, J = Re(G), be = d.messageResolver(J, _);
|
|
2129
2129
|
return ke(be) || re(be) || S(be);
|
|
2130
|
-
}, () => [_], "translate exists", (G) => Reflect.apply(G.te, G, [_, I]),
|
|
2130
|
+
}, () => [_], "translate exists", (G) => Reflect.apply(G.te, G, [_, I]), xo, (G) => Q(G));
|
|
2131
2131
|
}
|
|
2132
2132
|
function gt(_) {
|
|
2133
2133
|
let I = null;
|
|
@@ -2191,7 +2191,7 @@ function Yo(e = {}) {
|
|
|
2191
2191
|
const F = {
|
|
2192
2192
|
id: gn,
|
|
2193
2193
|
locale: w,
|
|
2194
|
-
fallbackLocale:
|
|
2194
|
+
fallbackLocale: B,
|
|
2195
2195
|
get inheritLocale() {
|
|
2196
2196
|
return i;
|
|
2197
2197
|
},
|
|
@@ -2247,7 +2247,7 @@ function Yo(e = {}) {
|
|
|
2247
2247
|
set escapeParameter(_) {
|
|
2248
2248
|
E = _, d.escapeParameter = _;
|
|
2249
2249
|
},
|
|
2250
|
-
t:
|
|
2250
|
+
t: Be,
|
|
2251
2251
|
getLocaleMessage: Re,
|
|
2252
2252
|
setLocaleMessage: Ae,
|
|
2253
2253
|
mergeLocaleMessage: De,
|
|
@@ -2257,7 +2257,7 @@ function Yo(e = {}) {
|
|
|
2257
2257
|
setMissingHandler: ut,
|
|
2258
2258
|
[Wo]: pt
|
|
2259
2259
|
};
|
|
2260
|
-
return F.datetimeFormats = Ne, F.numberFormats = ot, F.rt =
|
|
2260
|
+
return F.datetimeFormats = Ne, F.numberFormats = ot, F.rt = xe, F.te = Et, F.tm = Pe, F.d = it, F.n = ct, F.getDateTimeFormat = yt, F.setDateTimeFormat = s, F.mergeDateTimeFormat = l, F.getNumberFormat = b, F.setNumberFormat = D, F.mergeNumberFormat = q, F[wn] = n, F[Ot] = _t, F[Ct] = dt, F[kt] = Ke, F;
|
|
2261
2261
|
}
|
|
2262
2262
|
const Gt = {
|
|
2263
2263
|
tag: {
|
|
@@ -2346,7 +2346,7 @@ function We(e = {}) {
|
|
|
2346
2346
|
throw $e(Se.NOT_INSTALLED);
|
|
2347
2347
|
const n = Jo(t), r = Zo(n), o = Mn(t), a = Qo(e, o);
|
|
2348
2348
|
if (a === "global")
|
|
2349
|
-
return
|
|
2349
|
+
return Bo(r, e, o), r;
|
|
2350
2350
|
if (a === "parent") {
|
|
2351
2351
|
let c = zo(n, t, e.__useComponent);
|
|
2352
2352
|
return c == null && (c = r), c;
|
|
@@ -2597,12 +2597,12 @@ const sa = {
|
|
|
2597
2597
|
t: n
|
|
2598
2598
|
} = Ge(), r = e, o = t, a = Tn(), {
|
|
2599
2599
|
attributes: i
|
|
2600
|
-
} =
|
|
2600
|
+
} = xt({
|
|
2601
2601
|
valueSource: wt().restaurants,
|
|
2602
2602
|
entity: "restaurant"
|
|
2603
2603
|
}), {
|
|
2604
2604
|
attributes: m
|
|
2605
|
-
} =
|
|
2605
|
+
} = xt({
|
|
2606
2606
|
valueSource: W(() => a.state.menu.modules.item || []),
|
|
2607
2607
|
entity: "item"
|
|
2608
2608
|
}), c = oa(), g = aa(), h = oe(r.ruleKey), O = W(() => [...c.map((d) => ({
|
|
@@ -2654,14 +2654,14 @@ const sa = {
|
|
|
2654
2654
|
label: n("menu.rule_groups.condition_view.operator.starts_with"),
|
|
2655
2655
|
value: "$startsWith"
|
|
2656
2656
|
}], y = oe(""), u = oe(!1), v = W(() => {
|
|
2657
|
-
const d = f.value, L = Array.isArray(p.value) ? p.value : [], P = L.map((
|
|
2657
|
+
const d = f.value, L = Array.isArray(p.value) ? p.value : [], P = L.map((B) => d.find((C) => C.value === B)).filter(Boolean);
|
|
2658
2658
|
let w = [];
|
|
2659
|
-
if (y.value ? w = d.filter((
|
|
2660
|
-
const
|
|
2659
|
+
if (y.value ? w = d.filter((B) => B.label.toLowerCase().includes(y.value.toLowerCase()) && !L.includes(B.value)) : w = d.filter((B) => !L.includes(B.value)), u.value) {
|
|
2660
|
+
const B = P.map((C) => ({
|
|
2661
2661
|
...C,
|
|
2662
2662
|
disabled: !0
|
|
2663
2663
|
}));
|
|
2664
|
-
return [...w, ...
|
|
2664
|
+
return [...w, ...B];
|
|
2665
2665
|
}
|
|
2666
2666
|
return [...P, ...w];
|
|
2667
2667
|
}), N = W(() => {
|
|
@@ -2726,8 +2726,8 @@ const sa = {
|
|
|
2726
2726
|
});
|
|
2727
2727
|
}
|
|
2728
2728
|
return (d, L) => {
|
|
2729
|
-
const P = pe("FmSearch"), w = pe("FmSelect"),
|
|
2730
|
-
return
|
|
2729
|
+
const P = pe("FmSearch"), w = pe("FmSelect"), B = pe("FmButton");
|
|
2730
|
+
return x(), j("div", sa, [V("div", la, [X(w, {
|
|
2731
2731
|
class: "flex w-full",
|
|
2732
2732
|
modelValue: h.value,
|
|
2733
2733
|
"onUpdate:modelValue": [L[1] || (L[1] = (C) => h.value = C), L[2] || (L[2] = (C) => R("ruleKey", C))],
|
|
@@ -2768,7 +2768,7 @@ const sa = {
|
|
|
2768
2768
|
modelValue: y.value,
|
|
2769
2769
|
"onUpdate:modelValue": L[5] || (L[5] = (C) => y.value = C),
|
|
2770
2770
|
placeholder: K(n)("common.filter")
|
|
2771
|
-
}, null, 8, ["modelValue", "placeholder"]), X(
|
|
2771
|
+
}, null, 8, ["modelValue", "placeholder"]), X(B, {
|
|
2772
2772
|
variant: K(he).Tertiary,
|
|
2773
2773
|
icon: u.value ? "check_box_outline_blank" : "check_box",
|
|
2774
2774
|
iconColor: "neutral-gray-300",
|
|
@@ -2776,7 +2776,7 @@ const sa = {
|
|
|
2776
2776
|
onClick: L[6] || (L[6] = (C) => u.value = !u.value)
|
|
2777
2777
|
}, null, 8, ["variant", "icon"])])]),
|
|
2778
2778
|
_: 1
|
|
2779
|
-
}, 8, ["class", "modelValue", "items", "placeholder", "rules"])]), X(
|
|
2779
|
+
}, 8, ["class", "modelValue", "items", "placeholder", "rules"])]), X(B, {
|
|
2780
2780
|
variant: "tertiary",
|
|
2781
2781
|
"prepend-icon": "close",
|
|
2782
2782
|
onClick: L[9] || (L[9] = se((C) => A(), ["stop"]))
|
|
@@ -2873,7 +2873,7 @@ const sa = {
|
|
|
2873
2873
|
f === 0 && p();
|
|
2874
2874
|
}), (f, k) => {
|
|
2875
2875
|
const T = pe("FmButton");
|
|
2876
|
-
return
|
|
2876
|
+
return x(), j("div", ca, [V("p", ma, Z(K(n)("menu.rule_groups.condition_view.condition")), 1), V("div", fa, [(x(!0), j(de, null, Me(g.value, (y) => (x(), j("div", {
|
|
2877
2877
|
key: y.id
|
|
2878
2878
|
}, [X(vn, {
|
|
2879
2879
|
ruleKey: y.property,
|
|
@@ -2884,7 +2884,7 @@ const sa = {
|
|
|
2884
2884
|
"onUpdate:modelValue": k[0] || (k[0] = (u) => {
|
|
2885
2885
|
O(u);
|
|
2886
2886
|
})
|
|
2887
|
-
}, null, 8, ["ruleKey", "operator", "values", "unique-key", "selected-keys"])]))), 128)), (
|
|
2887
|
+
}, null, 8, ["ruleKey", "operator", "values", "unique-key", "selected-keys"])]))), 128)), (x(!0), j(de, null, Me(h.value, (y) => (x(), j("div", {
|
|
2888
2888
|
key: y.key
|
|
2889
2889
|
}, [X(vn, {
|
|
2890
2890
|
ruleKey: "",
|
|
@@ -2947,7 +2947,7 @@ const sa = {
|
|
|
2947
2947
|
};
|
|
2948
2948
|
return (o, a) => {
|
|
2949
2949
|
const i = pe("FmMenu");
|
|
2950
|
-
return
|
|
2950
|
+
return x(), j("div", da, [
|
|
2951
2951
|
V("p", pa, Z(e.number) + ".", 1),
|
|
2952
2952
|
V("div", Ea, [
|
|
2953
2953
|
V("p", ga, Z(e.property), 1),
|
|
@@ -2964,7 +2964,7 @@ const sa = {
|
|
|
2964
2964
|
}, Z(e.value.join(", ")), 513)
|
|
2965
2965
|
]),
|
|
2966
2966
|
default: ae(() => [
|
|
2967
|
-
(
|
|
2967
|
+
(x(!0), j(de, null, Me(e.value, (m) => (x(), j("div", {
|
|
2968
2968
|
key: m,
|
|
2969
2969
|
class: "flex flex-col px-8 space-y-8"
|
|
2970
2970
|
}, [
|
|
@@ -2979,7 +2979,7 @@ const sa = {
|
|
|
2979
2979
|
}
|
|
2980
2980
|
});
|
|
2981
2981
|
function qa(e) {
|
|
2982
|
-
return jn(e) ? Yn :
|
|
2982
|
+
return jn(e) ? Yn : xn.build(e);
|
|
2983
2983
|
}
|
|
2984
2984
|
function Ja(e) {
|
|
2985
2985
|
return Xn(e) ? null : Kn.build(e);
|
|
@@ -3030,7 +3030,7 @@ const ba = {
|
|
|
3030
3030
|
return ((T = i.modelValue.itemRule) == null ? void 0 : T.itemCustomAttributes) ?? {};
|
|
3031
3031
|
}), p = oe([...c.value.rules ?? [], ...g.value.rules ?? [], ...h.value.rules ?? [], ...O.value.rules ?? []]), f = oe([]);
|
|
3032
3032
|
function k() {
|
|
3033
|
-
var E, R, A, d, L, P, w,
|
|
3033
|
+
var E, R, A, d, L, P, w, B;
|
|
3034
3034
|
const T = i.modelValue, y = [], u = [], v = [], N = [];
|
|
3035
3035
|
if (f.value.length === 0) {
|
|
3036
3036
|
a(!1);
|
|
@@ -3073,7 +3073,7 @@ const ba = {
|
|
|
3073
3073
|
rules: v
|
|
3074
3074
|
},
|
|
3075
3075
|
itemCustomAttributes: {
|
|
3076
|
-
logic: ((
|
|
3076
|
+
logic: ((B = (w = T.itemRule) == null ? void 0 : w.itemCustomAttributes) == null ? void 0 : B.logic) ?? "AND",
|
|
3077
3077
|
rules: N
|
|
3078
3078
|
}
|
|
3079
3079
|
}, a(!1), m("update:modelValue", {
|
|
@@ -3082,7 +3082,7 @@ const ba = {
|
|
|
3082
3082
|
}
|
|
3083
3083
|
return (T, y) => {
|
|
3084
3084
|
const u = pe("FmButton"), v = pe("FmSideSheet");
|
|
3085
|
-
return
|
|
3085
|
+
return x(), j(de, null, [Qe(T.$slots, "default", {
|
|
3086
3086
|
trigger: a
|
|
3087
3087
|
}), X(v, {
|
|
3088
3088
|
modelValue: o.value,
|
|
@@ -3099,7 +3099,7 @@ const ba = {
|
|
|
3099
3099
|
variant: K(he).Tertiary,
|
|
3100
3100
|
"prepend-icon": "arrow_back",
|
|
3101
3101
|
onClick: y[0] || (y[0] = se((N) => a(), ["stop"]))
|
|
3102
|
-
}, null, 8, ["variant"]), T.isEditMode && p.value.length > 0 ? (
|
|
3102
|
+
}, null, 8, ["variant"]), T.isEditMode && p.value.length > 0 ? (x(), j("div", ha, Z(K(r)("menu.rule_groups.condition_view.edit_condition")), 1)) : (x(), j("div", Ta, Z(K(r)("menu.rule_groups.condition_view.add_condition")), 1))])]),
|
|
3103
3103
|
"side-sheet-footer": ae(() => [V("div", Ia, [X(u, {
|
|
3104
3104
|
variant: "primary",
|
|
3105
3105
|
label: K(r)("common.save"),
|
|
@@ -3210,14 +3210,14 @@ const ba = {
|
|
|
3210
3210
|
}))]);
|
|
3211
3211
|
return (p, f) => {
|
|
3212
3212
|
const k = pe("FmButton"), T = pe("FmMenu");
|
|
3213
|
-
return
|
|
3213
|
+
return x(), j(de, null, [V("div", Ra, [e.title ? (x(), j("p", Aa, Z(e.title), 1)) : Fe("", !0), V("div", La, [e.isCatalogLinkItemRuleView ? (x(), Bt(k, {
|
|
3214
3214
|
key: 1,
|
|
3215
3215
|
variant: K(he).Tertiary,
|
|
3216
3216
|
class: "cursor-pointer",
|
|
3217
3217
|
"prepend-icon": "edit",
|
|
3218
3218
|
"text-color": " text-fm-color-primary",
|
|
3219
3219
|
onClick: f[1] || (f[1] = se((y) => e.isCatalogLinkItemRuleView ? p.$emit("open-catalog-link-item-rule-form") : null, ["stop"]))
|
|
3220
|
-
}, null, 8, ["variant"])) : (
|
|
3220
|
+
}, null, 8, ["variant"])) : (x(), Bt(Na, {
|
|
3221
3221
|
key: 0,
|
|
3222
3222
|
ref_key: "ruleFormRef",
|
|
3223
3223
|
ref: i,
|
|
@@ -3249,9 +3249,9 @@ const ba = {
|
|
|
3249
3249
|
"prepend-icon": "delete",
|
|
3250
3250
|
"text-color": " text-fm-color-typo-error",
|
|
3251
3251
|
onClick: f[3] || (f[3] = se(() => a("delete-rule", r.modelValue._id), ["stop"]))
|
|
3252
|
-
}, null, 8, ["variant"])])]), V("div", Oa, [V("p", Ca, Z(K(n)("menu.rule_groups.condition_view.when")), 1), e.ruleGroupNames ? (
|
|
3252
|
+
}, null, 8, ["variant"])])]), V("div", Oa, [V("p", Ca, Z(K(n)("menu.rule_groups.condition_view.when")), 1), e.ruleGroupNames ? (x(!0), j(de, {
|
|
3253
3253
|
key: 0
|
|
3254
|
-
}, Me(e.ruleGroupNames, (y, u) => (
|
|
3254
|
+
}, Me(e.ruleGroupNames, (y, u) => (x(), j("div", {
|
|
3255
3255
|
key: y
|
|
3256
3256
|
}, [V("div", ka, [V("p", Sa, Z(u + 1) + ".", 1), V("div", Pa, [V("p", null, Z(K(n)("menu.rule_groups.condition_view.in_rule_group")), 1), X(T, {
|
|
3257
3257
|
trigger: "hover",
|
|
@@ -3265,9 +3265,9 @@ const ba = {
|
|
|
3265
3265
|
}, Z(y), 513)]),
|
|
3266
3266
|
default: ae(() => [V("p", Da, Z(y), 1)]),
|
|
3267
3267
|
_: 2
|
|
3268
|
-
}, 1024)])])]))), 128)) : Fe("", !0), (
|
|
3268
|
+
}, 1024)])])]))), 128)) : Fe("", !0), (x(!0), j(de, null, Me(O.value, (y, u) => {
|
|
3269
3269
|
var v;
|
|
3270
|
-
return
|
|
3270
|
+
return x(), j("div", {
|
|
3271
3271
|
key: y.property
|
|
3272
3272
|
}, [X(va, {
|
|
3273
3273
|
number: u + (((v = e.ruleGroupNames) == null ? void 0 : v.length) ?? 0) + 1,
|
|
@@ -3281,7 +3281,7 @@ const ba = {
|
|
|
3281
3281
|
return (E = i.value) == null ? void 0 : E.trigger();
|
|
3282
3282
|
})
|
|
3283
3283
|
}, null, 8, ["number", "property", "operator", "value", "isCatalogLinkItemRuleView"])]);
|
|
3284
|
-
}), 128))]), e.orderFrom ? (
|
|
3284
|
+
}), 128))]), e.orderFrom ? (x(), j("div", wa, [V("p", Fa, Z(K(n)("menu.rule_groups.condition_view.then")), 1), V("div", Ma, [V("p", Ua, Z(K(n)("menu.rule_groups.condition_view.product_availability")), 1), f[8] || (f[8] = V("p", {
|
|
3285
3285
|
class: "fm-typo-en-body-lg-600 text-fm-color-neutral-gray-300"
|
|
3286
3286
|
}, "is", -1)), V("p", {
|
|
3287
3287
|
class: "text-fm-color-primary underline underline-offset-2 cursor-pointer truncate",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as W, computed as y, h as p, withModifiers as I, ref as M, resolveComponent as h, createBlock as k, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as f, Fragment as z, createElementVNode as s, renderList as H, toDisplayString as x, createCommentVNode as q } from "vue";
|
|
2
|
-
import { a6 as d, a7 as Y, P as Q, u as G, B as J, a5 as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a6 as d, a7 as Y, P as Q, u as G, B as J, a5 as X } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
3
3
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as ee, useDialog as te, useSnackbar as ne } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as oe } from "./app-
|
|
7
|
-
import { d as le, _ as se, u as re, c as ue } from "./scheduler-
|
|
6
|
+
import { _ as oe } from "./app-DH7q5VuL.js";
|
|
7
|
+
import { d as le, _ as se, u as re, c as ue } from "./scheduler-BTiyl-EY.js";
|
|
8
8
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
const ie = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as H, ref as M, computed as I, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as S, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as b, toDisplayString as U, onBeforeMount as oe, watch as E, watchEffect as se, h as T, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { G as J, u as W, B as X, P as Z, J as P, K as R, a5 as de, y as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { G as J, u as W, B as X, P as Z, J as P, K as R, a5 as de, y as me } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as pe, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ne, components as K, useDialog as _e, FmButtonVariant as z, useBreakpoints as ve } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as ye, R as he } from "./app-
|
|
7
|
+
import { _ as ye, R as he } from "./app-DH7q5VuL.js";
|
|
8
8
|
import { c as be } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { _ as ke } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
10
10
|
import { u as xe } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { u as Se } from "./app-
|
|
11
|
+
import { u as Se } from "./app-CO3nuOc3.js";
|
|
12
12
|
import { c as Ce } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex flex-col h-full" }, Ve = { class: "flex gap-8 items-center justify-start" }, Fe = /* @__PURE__ */ H({
|
|
14
14
|
__name: "Form",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as M, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as y, unref as e, Fragment as D, renderList as P, createTextVNode as re, toDisplayString as T } from "vue";
|
|
2
|
-
import { u as me, B as ce, y as de, P as pe, z as ve, U as k, G as A } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, B as ce, y as de, P as pe, z as ve, U as k, G as A } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
3
3
|
import { useCoreStore as ge, useI18n as fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as _e, useDialog as be, FmButtonVariant as $, FmButtonColorThemeVariant as R, components as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as F } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as f, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as Ce } from "./catalog-
|
|
6
|
+
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CcQdvzMy.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-CI8dXYw5.js";
|
|
9
|
+
import { C as Ce } from "./catalog-DN1unMjl.js";
|
|
10
10
|
const Oe = {
|
|
11
11
|
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, Se = {
|
|
@@ -2,18 +2,18 @@ import { defineComponent as A, ref as x, computed as V, watch as te, resolveComp
|
|
|
2
2
|
import { useI18n as P } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as R, components as W, useDialog as X, FmButtonVariant as q, useBreakpoints as se, FmButtonColorThemeVariant as ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as re } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { B as j, u as J, P as K, J as Z, K as ee, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as j, u as J, P as K, J as Z, K as ee, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
6
6
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as me } from "./app-
|
|
7
|
+
import { _ as me } from "./app-DH7q5VuL.js";
|
|
8
8
|
import { c as de } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as G } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as fe, u as ae } from "./rules-
|
|
12
|
-
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as fe, u as ae } from "./rules-BScEYhiY.js";
|
|
12
|
+
import { _ as _e } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BRXHWG5s.js";
|
|
13
13
|
import { c as ve } from "./check-C9mY6LiX.js";
|
|
14
14
|
import { g as H } from "./translation-fNx6yEpy.js";
|
|
15
15
|
import { _ as ge } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
16
|
-
import { a as ye } from "./menu-
|
|
16
|
+
import { a as ye } from "./menu-C4vsCvFL.js";
|
|
17
17
|
const be = {
|
|
18
18
|
class: "fm-typo-en-title-md-600"
|
|
19
19
|
}, he = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
|
|
2
|
-
import { B as v, u as w, P as x, J as E, K as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { B as v, u as w, P as x, J as E, K as M } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as V } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
6
|
import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { T as S, l as B } from "./index-
|
|
9
|
-
import { a as L } from "./menu-
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-B3UE1p7X.js";
|
|
8
|
+
import { T as S, l as B } from "./index-CYexEfd8.js";
|
|
9
|
+
import { a as L } from "./menu-C4vsCvFL.js";
|
|
10
10
|
const O = { class: "flex-1 flex justify-between gap-8 pl-8" }, U = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, P = { class: "fm-typo-en-body-md-600 font-semibold" }, G = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(D) {
|