@feedmepos/mf-menu 0.32.64-dev.1 → 0.32.65
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-CcCpnDUd.js → App-rjcnTQzq.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-uCZ06pwL.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BlX-ygeo.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-YlaEocnO.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DTEZouRz.js} +3 -3
- package/dist/{Catalog-BLpYToaa.js → Catalog-nWzKN1u3.js} +6 -6
- package/dist/{Category-huIVx-Pq.js → Category-DoUtDyuB.js} +14 -14
- package/dist/{Category-slad1Kl9.js → Category-Q42BO86t.js} +8 -8
- package/dist/{CookingGuide-k6g5-DZS.js → CookingGuide-DGVhn_Yb.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Be5sbD3J.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Dc_Ec9Pf.js} +1 -1
- package/dist/{Group-B8QPt_Mf.js → Group-B9vMDg2m.js} +3 -3
- package/dist/{Group-DuclGQ8D.js → Group-D8st1q0o.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DvBL8b_Z.js → Group.vue_vue_type_script_setup_true_lang-CV_w5c7T.js} +48 -48
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C9na_pxa.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-36kp3qi8.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C7y1o_cK.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-ZbhwNALE.js} +4830 -4828
- package/dist/{Ingredient-Z1niNy7S.js → Ingredient-DWN4vTKf.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BtM5R-5S.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DJrz0wWm.js} +2 -2
- package/dist/{LinkProductSideSheet-CUx5qi-A.js → LinkProductSideSheet-DXmxJs-1.js} +4 -4
- package/dist/{MenuSetting-CQzIlzZp.js → MenuSetting-BSlQXo8m.js} +7 -7
- package/dist/{OrderPacing-BiL0cgx1.js → OrderPacing-B8pgEMjf.js} +5 -5
- package/dist/{PrintRoute-D1pZkpH_.js → PrintRoute-agfebph4.js} +5 -5
- package/dist/{Product-Bg-dwe6e.js → Product-CaA1CdTN.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BVQVhWAh.js → Product.vue_vue_type_script_setup_true_lang-Bsx6JceZ.js} +108 -108
- package/dist/{ProductInternalTools-B0kk7L-u.js → ProductInternalTools-DHQz_Z8o.js} +24 -24
- package/dist/{Products-Y7qUSXGq.js → Products-CeVnRRFO.js} +40 -40
- package/dist/{Publish-BgBw1yYD.js → Publish-rN34cEkS.js} +4 -4
- package/dist/{Recipe-BQWy65kw.js → Recipe-C_qTZ_E1.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DN09681x.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-C6lkwlc5.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-C7kaYvTF.js → RuleView.vue_vue_type_script_setup_true_lang-LbagGtcn.js} +3 -3
- package/dist/{Scheduler-3c53XS3M.js → Scheduler-DeixLUzk.js} +3 -3
- package/dist/{ServingSequence-COJkc08j.js → ServingSequence-CAmQBzaK.js} +3 -3
- package/dist/{Setting-DY-P5PAu.js → Setting-C_Dl4MiB.js} +5 -5
- package/dist/{Subcategory-1-uYipz9.js → Subcategory-C8DHzzkd.js} +6 -6
- package/dist/{Takeaway-C3dwSDye.js → Takeaway-CIRpXPFx.js} +1 -1
- package/dist/{Takeaway-DTcdrd4N.js → Takeaway-CxYihXC0.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BQ60zhzJ.js → Takeaway.vue_vue_type_script_setup_true_lang-CcSjxPY4.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-DOQjcZde.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-D-ojP61R.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CoK2Y57Z.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BztGh7n9.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BM1nnTTV.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cv4iVhML.js} +341 -340
- package/dist/{Unit-CkJp-MxR.js → Unit-Cd0y2m5k.js} +2 -2
- package/dist/{Variant-Ck8V9o_n.js → Variant-B2CKhSOl.js} +3 -3
- package/dist/{_id_-DVko2hJ3.js → _id_-DZiXY0H3.js} +10 -10
- package/dist/{app-idZd8GBJ.js → app-T7VNSy7v.js} +1 -1
- package/dist/{app-CMpNs1Lv.js → app-T8AXgSEa.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +18 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-2ehtF8h1.js → linked-status-CCYZRm4Q.js} +3 -3
- package/dist/assets/{menu-export-BZTDjkcV.js → menu-export-CAHQqTea.js} +3 -3
- package/dist/assets/{linked-status-Oe5zalYU.js → override-menu-CHSXJZzL.js} +3 -3
- package/dist/assets/{validate-menu-wNmLgJZW.js → validate-menu-B4fZvuxj.js} +2 -2
- package/dist/{catalog-C4zqfdRz.js → catalog-JKO0yOoK.js} +1 -1
- package/dist/{catalogSetting-CdrKAkWc.js → catalogSetting-88ecNK3c.js} +1 -1
- package/dist/{currency-zP5t_q3e.js → currency-FtZ1Kndg.js} +1 -1
- package/dist/{dayjs.min-CVaDPO4u.js → dayjs.min-4vLGgFCE.js} +2 -2
- package/dist/{discardConfirm-D5TZC0up.js → discardConfirm-CM6g-V_v.js} +1 -1
- package/dist/{index-CY_PF4JI.js → index-BRKz6YXB.js} +5 -5
- package/dist/{index-Bdjp_HoJ.js → index-DJLvriHh.js} +6 -6
- package/dist/index-wiJWDZ8Q.js +310 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cxq1w0By.js → index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js} +6 -6
- package/dist/{item-DF4sY8Lz.js → item-DZ7QwbXg.js} +1261 -1337
- package/dist/{jszip.min-CfredHU3.js → jszip.min-CMMOVzck.js} +3 -3
- package/dist/{linkProducts-_ZMDyksQ.js → linkProducts-H4GRfufL.js} +4 -4
- package/dist/{memberPricing-K5VG3VIu.js → memberPricing-DHWy5fqz.js} +1 -1
- package/dist/{menu-CZxNlbpe.js → menu-CIm-Royr.js} +1 -1
- package/dist/{menuV2-BHwuCExt.js → menuV2-BAdmIxrF.js} +92 -92
- package/dist/{order_pacing-Cme5qoFR.js → order_pacing-D58D3fak.js} +5 -5
- package/dist/{priceTier-DSYN-IAO.js → priceTier-BQ8NefKy.js} +1 -1
- package/dist/{rules-D4rAL20Q.js → rules-CCMx9A-T.js} +3 -3
- package/dist/{scheduler-J5Ea4WSr.js → scheduler-CV0r5tCc.js} +5 -5
- package/dist/{toExcel-XoL9W3Ev.js → toExcel-D4fh3tgH.js} +2 -2
- package/dist/{unit-Bi2EnEOF.js → unit-p_16wmg2.js} +3 -3
- package/package.json +1 -1
- package/dist/index-CD_omf3p.js +0 -222
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as R, createBlock as oe, withCtx as A } from "vue";
|
|
2
|
-
import { J as O, F as ne } from "./jszip.min-
|
|
3
|
-
import { l as D } from "./discardConfirm-
|
|
2
|
+
import { J as O, F as ne } from "./jszip.min-CMMOVzck.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-CM6g-V_v.js";
|
|
4
4
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ie, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
6
|
-
import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
7
7
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as
|
|
9
|
-
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import {
|
|
8
|
+
import { u as ge, a as pe } from "./menu-CIm-Royr.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-Bsx6JceZ.js";
|
|
10
|
+
import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-DZ7QwbXg.js";
|
|
11
11
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "h-full flex flex-col"
|
|
@@ -159,7 +159,7 @@ const He = {
|
|
|
159
159
|
}, Xe = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ke = { class: "flex items-center" }, Qe = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ye = { class: "fm-typo-en-body-md-600 font-semibold" }, et = { class: "flex gap-8" }, mt = /* @__PURE__ */ Z({
|
|
160
160
|
__name: "ProductInternalTools",
|
|
161
161
|
setup(L) {
|
|
162
|
-
const { t: j } = le(), u = re(V()), F = V(), y = ie(), b = ce(), { selectedCategories: k } =
|
|
162
|
+
const { t: j } = le(), u = re(V()), F = V(), y = ie(), b = ce(), { selectedCategories: k } = ge(), _ = v(!1), S = v(), w = v([]), l = v([]), x = $(() => {
|
|
163
163
|
const e = D.flatten(k.value.map((a) => a.items));
|
|
164
164
|
return D.uniqBy(e, (a) => a._id);
|
|
165
165
|
}), m = $(() => x.value.length);
|
|
@@ -174,8 +174,8 @@ const He = {
|
|
|
174
174
|
e.forEach(({ blob: d, filename: n }) => {
|
|
175
175
|
d && o.file(n, d);
|
|
176
176
|
});
|
|
177
|
-
const
|
|
178
|
-
ne.saveAs(
|
|
177
|
+
const g = await o.generateAsync({ type: "blob" });
|
|
178
|
+
ne.saveAs(g, a);
|
|
179
179
|
}
|
|
180
180
|
async function G() {
|
|
181
181
|
const e = x.value.filter((a) => a.thumbnail);
|
|
@@ -198,12 +198,12 @@ const He = {
|
|
|
198
198
|
const a = v("Preparing download...");
|
|
199
199
|
await u.minor(
|
|
200
200
|
async () => {
|
|
201
|
-
const o = e.filter((n) => n.thumbnail).map((n,
|
|
202
|
-
let t = n.name || `image_${Date.now()}_${
|
|
201
|
+
const o = e.filter((n) => n.thumbnail).map((n, p) => {
|
|
202
|
+
let t = n.name || `image_${Date.now()}_${p}`;
|
|
203
203
|
return t += ".jpg", {
|
|
204
204
|
url: n.thumbnail,
|
|
205
205
|
filename: t,
|
|
206
|
-
index:
|
|
206
|
+
index: p + 1
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
a.value = `Starting download of ${o.length} images...`;
|
|
@@ -229,14 +229,14 @@ const He = {
|
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
async function J(e) {
|
|
232
|
-
const o = await new O().loadAsync(e),
|
|
232
|
+
const o = await new O().loadAsync(e), g = [];
|
|
233
233
|
for (const [d, n] of Object.entries(o.files)) {
|
|
234
234
|
if (n.dir || d.includes("__MACOSX/") || !N(d))
|
|
235
235
|
continue;
|
|
236
|
-
const
|
|
237
|
-
|
|
236
|
+
const p = await n.async("blob"), t = d.split("/").pop() || d, i = new File([p], t, { type: H(t) });
|
|
237
|
+
g.push(i);
|
|
238
238
|
}
|
|
239
|
-
return
|
|
239
|
+
return g;
|
|
240
240
|
}
|
|
241
241
|
function N(e) {
|
|
242
242
|
const a = [".jpg", ".jpeg", ".png", ".gif", ".webp", ".bmp"], o = e.toLowerCase().substring(e.lastIndexOf("."));
|
|
@@ -271,13 +271,13 @@ const He = {
|
|
|
271
271
|
const i = t.name.toLowerCase();
|
|
272
272
|
o.has(i) || o.set(i, t);
|
|
273
273
|
});
|
|
274
|
-
const
|
|
274
|
+
const g = Array.from(o.values()), d = [], n = [], p = /* @__PURE__ */ new Map();
|
|
275
275
|
x.value.forEach((t) => {
|
|
276
276
|
const i = K(t.name);
|
|
277
|
-
|
|
277
|
+
p.set(i, t);
|
|
278
278
|
});
|
|
279
|
-
for (const t of
|
|
280
|
-
const i = X(t.name), f =
|
|
279
|
+
for (const t of g) {
|
|
280
|
+
const i = X(t.name), f = p.get(i);
|
|
281
281
|
f ? d.push({
|
|
282
282
|
productId: f._id,
|
|
283
283
|
productName: f.name,
|
|
@@ -314,7 +314,7 @@ const He = {
|
|
|
314
314
|
return t.newImage && (await _e.update(i, t.newImage, Je.firebase.storageBucket), f = me(i)), { productId: t.productId, newImageUrl: f };
|
|
315
315
|
};
|
|
316
316
|
a.value = `Starting upload of ${e.length} product images...`;
|
|
317
|
-
const
|
|
317
|
+
const g = await ye({
|
|
318
318
|
items: e,
|
|
319
319
|
processor: o,
|
|
320
320
|
batchSize: 5,
|
|
@@ -326,9 +326,9 @@ const He = {
|
|
|
326
326
|
}
|
|
327
327
|
});
|
|
328
328
|
a.value = "Updating product data...";
|
|
329
|
-
const d = b.state.menu, n = de(d),
|
|
329
|
+
const d = b.state.menu, n = de(d), p = new Map(g.map((t) => [t == null ? void 0 : t.productId, t]));
|
|
330
330
|
n.modules.item = n.modules.item.map((t) => {
|
|
331
|
-
const i =
|
|
331
|
+
const i = p.get(t._id);
|
|
332
332
|
return i && i.newImageUrl ? { ...t, thumbnail: i.newImageUrl } : t;
|
|
333
333
|
}), await b.updateMenuSetting(n), await b.importMenu(n);
|
|
334
334
|
},
|
|
@@ -354,7 +354,7 @@ const He = {
|
|
|
354
354
|
}
|
|
355
355
|
a.value = "";
|
|
356
356
|
}
|
|
357
|
-
return
|
|
357
|
+
return pe().resetOnMount(), (e, a) => {
|
|
358
358
|
const o = W("fm-button");
|
|
359
359
|
return r(), c(P, null, [
|
|
360
360
|
_.value ? (r(), c("div", He, [
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as B, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as U, Fragment as
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { l as
|
|
5
|
-
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as V, A as
|
|
7
|
-
import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as B, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as U, Fragment as z } from "vue";
|
|
2
|
+
import { D as E } from "./dayjs.min-4vLGgFCE.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-CMMOVzck.js";
|
|
4
|
+
import { l as R } from "./discardConfirm-CM6g-V_v.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-ZbhwNALE.js";
|
|
6
|
+
import { h as V, A as j } from "./app-T8AXgSEa.js";
|
|
7
|
+
import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
8
8
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
9
|
-
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as
|
|
10
|
-
import { _ as
|
|
9
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as I, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
10
|
+
import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
11
11
|
import { _ as _e, a as O } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
12
12
|
import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
13
|
-
import { u as ge, a as be } from "./menu-
|
|
14
|
-
import { w as ye } from "./item-
|
|
15
|
-
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { L as J } from "./LinkProductSideSheet-
|
|
17
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { u as Se } from "./linkProducts-
|
|
19
|
-
import { m as he } from "./toExcel-
|
|
13
|
+
import { u as ge, a as be } from "./menu-CIm-Royr.js";
|
|
14
|
+
import { w as ye } from "./item-DZ7QwbXg.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-Bsx6JceZ.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-DXmxJs-1.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cv4iVhML.js";
|
|
18
|
+
import { u as Se } from "./linkProducts-H4GRfufL.js";
|
|
19
|
+
import { m as he } from "./toExcel-D4fh3tgH.js";
|
|
20
20
|
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
|
|
21
21
|
__name: "ConfirmActionDialog",
|
|
22
22
|
props: {
|
|
@@ -24,8 +24,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
24
24
|
value: {},
|
|
25
25
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const n =
|
|
27
|
+
setup(A) {
|
|
28
|
+
const n = A, p = _(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction: h } = pe();
|
|
29
29
|
return (v, r) => {
|
|
30
30
|
const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
|
|
31
31
|
return l(), m(x, {
|
|
@@ -67,7 +67,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
67
67
|
}
|
|
68
68
|
}), $e = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
|
-
setup(
|
|
70
|
+
setup(A) {
|
|
71
71
|
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v = W(!1), r = te();
|
|
72
72
|
async function M() {
|
|
73
73
|
g.value || v.value || r.open({
|
|
@@ -116,16 +116,16 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
116
116
|
})) : w("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), Ve = "/assets/menu-export-
|
|
119
|
+
}), Ve = "/assets/menu-export-CAHQqTea.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Te = { class: "flex items-center" }, Ee = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ie = { class: "fm-typo-en-body-md-600 font-semibold" }, De = { class: "flex gap-8" }, et = /* @__PURE__ */ B({
|
|
120
120
|
__name: "Products",
|
|
121
|
-
setup(
|
|
121
|
+
setup(A) {
|
|
122
122
|
const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), h = _(() => o.rules.item), v = ye(), r = _(() => !o.state.currentSchedulerId), { selectedCategories: M } = ge(), g = _(() => ({
|
|
123
123
|
...ue.menuV4ToV3(ce(o.state.menu)),
|
|
124
124
|
_id: o.state.menu._id,
|
|
125
125
|
_rev: o.state.menu._rev
|
|
126
126
|
})), x = _(() => {
|
|
127
|
-
const i =
|
|
128
|
-
return
|
|
127
|
+
const i = R.flatten(M.value.map((t) => t.items));
|
|
128
|
+
return R.uniqBy(i, (t) => t._id).length;
|
|
129
129
|
});
|
|
130
130
|
async function c(i, t) {
|
|
131
131
|
const a = new re();
|
|
@@ -166,7 +166,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
166
166
|
);
|
|
167
167
|
}
|
|
168
168
|
const {
|
|
169
|
-
menuItems:
|
|
169
|
+
menuItems: T,
|
|
170
170
|
categories: C,
|
|
171
171
|
linkItemRules: y,
|
|
172
172
|
handleSubmit: Y,
|
|
@@ -178,14 +178,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
178
178
|
action: V.Action.manage,
|
|
179
179
|
subject: V.Subject.Business.menu_menuManagement
|
|
180
180
|
};
|
|
181
|
-
return
|
|
181
|
+
return j([t], i).granted;
|
|
182
182
|
}), P = _(() => {
|
|
183
183
|
var a;
|
|
184
184
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
185
185
|
action: V.Action.manage,
|
|
186
186
|
subject: V.Subject.Business.menu_importExport
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return j([t], i).granted;
|
|
189
189
|
});
|
|
190
190
|
return be().resetOnMount(), (i, t) => {
|
|
191
191
|
const a = F("fm-button");
|
|
@@ -197,13 +197,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
197
197
|
u(ke)
|
|
198
198
|
]),
|
|
199
199
|
"append-heading": f(() => [
|
|
200
|
-
d("div",
|
|
201
|
-
d("div",
|
|
200
|
+
d("div", Ae, [
|
|
201
|
+
d("div", Te, [
|
|
202
202
|
d("div", Ee, [
|
|
203
|
-
d("p",
|
|
203
|
+
d("p", Ie, Z(x.value), 1)
|
|
204
204
|
])
|
|
205
205
|
]),
|
|
206
|
-
d("div",
|
|
206
|
+
d("div", De, [
|
|
207
207
|
ae.value ? (l(), m(G, { key: 1 }, {
|
|
208
208
|
default: f(({ trigger: s }) => [
|
|
209
209
|
u(_e, null, {
|
|
@@ -221,14 +221,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
221
221
|
}, 1024)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
|
-
})) : (l(), U(
|
|
224
|
+
})) : (l(), U(z, { key: 0 }, [
|
|
225
225
|
se.value ? (l(), m(xe, { key: 0 }, {
|
|
226
226
|
default: f(({ trigger: s }) => [
|
|
227
227
|
u(a, {
|
|
228
228
|
label: e(n)("menu.tree_editor.title"),
|
|
229
229
|
"bg-color": e(S).NeutralGray100,
|
|
230
230
|
"text-color": e(S).TypoSecondary,
|
|
231
|
-
variant: e(
|
|
231
|
+
variant: e(I).Primary,
|
|
232
232
|
onClick: s
|
|
233
233
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
234
234
|
]),
|
|
@@ -238,7 +238,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
238
238
|
key: 1,
|
|
239
239
|
"bg-color": e(S).NeutralGray100,
|
|
240
240
|
"text-color": e(S).TypoSecondary,
|
|
241
|
-
variant: e(
|
|
241
|
+
variant: e(I).Primary,
|
|
242
242
|
label: e(n)("menu.products.actions.export"),
|
|
243
243
|
onClick: b
|
|
244
244
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
@@ -247,7 +247,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
247
247
|
u(a, {
|
|
248
248
|
"bg-color": e(S).NeutralGray100,
|
|
249
249
|
"text-color": e(S).TypoSecondary,
|
|
250
|
-
variant: e(
|
|
250
|
+
variant: e(I).Primary,
|
|
251
251
|
label: e(n)("menu.products.actions.import"),
|
|
252
252
|
onClick: s
|
|
253
253
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
@@ -255,8 +255,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
255
255
|
_: 1
|
|
256
256
|
})) : w("", !0)
|
|
257
257
|
], 64)),
|
|
258
|
-
x.value > 0 ? (l(), U(
|
|
259
|
-
h.value.create ? (l(), m(
|
|
258
|
+
x.value > 0 ? (l(), U(z, { key: 2 }, [
|
|
259
|
+
h.value.create ? (l(), m(D, {
|
|
260
260
|
key: 0,
|
|
261
261
|
label: e(n)("menu.products.actions.add"),
|
|
262
262
|
"prepend-icon": "add",
|
|
@@ -266,14 +266,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
266
266
|
"categorized-items": e(N).linkableItems.value,
|
|
267
267
|
"initial-value": e(N).currentItems.value,
|
|
268
268
|
"show-variant": !1,
|
|
269
|
-
"menu-items": e(
|
|
269
|
+
"menu-items": e(T),
|
|
270
270
|
categories: e(C),
|
|
271
271
|
"link-item-rules": e(y),
|
|
272
272
|
"no-scheduler": r.value,
|
|
273
273
|
onSubmit: e(Y)
|
|
274
274
|
}, {
|
|
275
275
|
default: f(({ trigger: s }) => [
|
|
276
|
-
u(
|
|
276
|
+
u(D, {
|
|
277
277
|
label: e(n)("menu.products.actions.link"),
|
|
278
278
|
"prepend-icon": "link",
|
|
279
279
|
onClick: s
|
|
@@ -285,14 +285,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
285
285
|
"categorized-items": e(L).linkableItems.value,
|
|
286
286
|
"initial-value": e(L).currentItems.value,
|
|
287
287
|
"show-variant": !1,
|
|
288
|
-
"menu-items": e(
|
|
288
|
+
"menu-items": e(T),
|
|
289
289
|
categories: e(C),
|
|
290
290
|
"link-item-rules": e(y),
|
|
291
291
|
"no-scheduler": r.value,
|
|
292
292
|
onSubmit: e(Y)
|
|
293
293
|
}, {
|
|
294
294
|
default: f(({ trigger: s }) => [
|
|
295
|
-
u(
|
|
295
|
+
u(D, {
|
|
296
296
|
label: e(n)("menu.products.actions.apply_scheduler"),
|
|
297
297
|
onClick: s
|
|
298
298
|
}, null, 8, ["label", "onClick"])
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as M, computed as A, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as E, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
|
|
2
|
-
import { D as z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-4vLGgFCE.js";
|
|
3
3
|
import { useRouter as Ee } from "vue-router";
|
|
4
4
|
import { O as ze, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as fe, useDialogChild as qe, useProxiedModel as Ge, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as Je } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as We } from "./app-
|
|
9
|
+
import { _ as We } from "./app-T8AXgSEa.js";
|
|
10
10
|
import { a as Qe, w as Xe } from "./tooltip-B5BiPMx9.js";
|
|
11
|
-
import { u as Fe, l as Ze } from "./discardConfirm-
|
|
11
|
+
import { u as Fe, l as Ze } from "./discardConfirm-CM6g-V_v.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function Me(D) {
|
|
14
14
|
return D ? z(D).format("DD/MM/YY HH:mm") : "-";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as le } from "./app-
|
|
6
|
-
import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-T8AXgSEa.js";
|
|
6
|
+
import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
7
7
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ce } from "pinia";
|
|
9
|
-
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as me, l as de } from "./discardConfirm-
|
|
9
|
+
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DJrz0wWm.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-CM6g-V_v.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-p_16wmg2.js";
|
|
13
13
|
import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
14
|
const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
|
|
15
15
|
__name: "Form",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
|
|
2
2
|
import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as U } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-LbagGtcn.js";
|
|
5
5
|
const j = {
|
|
6
6
|
class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
|
|
7
7
|
}, O = {
|
|
@@ -2,9 +2,9 @@ import { defineComponent as ie, createElementBlock as j, openBlock as x, normali
|
|
|
2
2
|
import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
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, k as vt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, k as vt } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
6
6
|
import { FmButtonVariant as he, components as qn } from "@feedmepos/ui-library";
|
|
7
|
-
import { l as Kt } from "./discardConfirm-
|
|
7
|
+
import { l as Kt } from "./discardConfirm-CM6g-V_v.js";
|
|
8
8
|
import "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
9
9
|
const Jn = /* @__PURE__ */ ie({
|
|
10
10
|
__name: "FormColumn",
|
|
@@ -1893,7 +1893,7 @@ function Vo(e, t, n, r) {
|
|
|
1893
1893
|
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;
|
|
1894
1894
|
}
|
|
1895
1895
|
wr();
|
|
1896
|
-
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
1896
|
+
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1874", ACTIONS_ORCHESTRATION_ID: "68fdb1ff-8a63-406a-9fb2-e17fbd88d994.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: "20260816.277.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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:13709", 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.13/x64", GITHUB_RUN_ID: "32683295110", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c372d08b81824d82261e4bec9856fca722bd500d", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.6/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_45c3e646-1104-45a2-b2eb-aa56c232538d", INVOCATION_ID: "3364beb33ba94683b5a75640fc719b43", 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: "586", 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 1000119018", 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.65", 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: "c372d08b81824d82261e4bec9856fca722bd500d", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
1897
1897
|
const Ho = "10.0.5";
|
|
1898
1898
|
function Go() {
|
|
1899
1899
|
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);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as W, computed as y, h as p, withModifiers as E, ref as I, resolveComponent as h, createBlock as k, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as f, Fragment as M, createElementVNode as s, renderList as H, toDisplayString as x, createCommentVNode as q } from "vue";
|
|
2
|
-
import { z as d, A as Y, i as Q, u as G, b as J, _ as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { z as d, A as Y, i as Q, u as G, b as J, _ as X } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.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-T8AXgSEa.js";
|
|
7
|
+
import { d as le, _ as se, u as re, c as ue } from "./scheduler-CV0r5tCc.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 J, ref as E, computed as M, resolveComponent as y, 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 D, 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 { d as H, u as W, b as X, i as Z, g as I, h as L, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { d as H, u as W, b as X, i as Z, g as I, h as L, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.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 he, R as ye } from "./app-
|
|
7
|
+
import { _ as he, R as ye } from "./app-T8AXgSEa.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-T7VNSy7v.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__ */ J({
|
|
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 $, createTextVNode as re, toDisplayString as F } from "vue";
|
|
2
|
-
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.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 P, FmButtonColorThemeVariant as R, components as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as A } 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-LbagGtcn.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-36kp3qi8.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-88ecNK3c.js";
|
|
9
|
+
import { C as Ce } from "./catalog-JKO0yOoK.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 R } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as j, 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 P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.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-T8AXgSEa.js";
|
|
8
8
|
import { c as de } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { u as pe } from "./discardConfirm-
|
|
9
|
+
import { u as pe } from "./discardConfirm-CM6g-V_v.js";
|
|
10
10
|
import { c as G } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as _e, u as ae } from "./rules-
|
|
12
|
-
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as _e, u as ae } from "./rules-CCMx9A-T.js";
|
|
12
|
+
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BztGh7n9.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-CIm-Royr.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, i as x, g as E, h as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { b as v, u as w, i as x, g as E, h as M } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as h } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as V } 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 L } from "./index-
|
|
9
|
-
import { a as O } from "./menu-
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-CcSjxPY4.js";
|
|
8
|
+
import { T as S, l as L } from "./index-DJLvriHh.js";
|
|
9
|
+
import { a as O } from "./menu-CIm-Royr.js";
|
|
10
10
|
const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, D = { class: "fm-typo-en-body-md-600 font-semibold" }, H = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(I) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { getCurrentInstance as te, defineComponent as ne, computed as C, watch as oe, h as S, resolveComponent as E, createElementBlock as V, openBlock as w, Fragment as L, normalizeClass as D, createElementVNode as g, createVNode as I, unref as i, isRef as j, withCtx as O, renderList as ie, createBlock as $, createCommentVNode as q, toDisplayString as B, withModifiers as G } from "vue";
|
|
2
|
-
import { b as J, i as Q, u as W, g as F, h as A, d as R, a as se, aj as H, _ as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { b as J, i as Q, u as W, g as F, h as A, d as R, a as se, aj as H, _ as re } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
3
|
import { useI18n as X, useCoreStore as le } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as ce, useSnackbar as Z, FmButtonVariant as N, components as de, useBreakpoints as ue } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as me } from "./app-
|
|
6
|
-
import { a as ye, l as ee, T as pe } from "./index-
|
|
5
|
+
import { _ as me } from "./app-T8AXgSEa.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-DJLvriHh.js";
|
|
7
7
|
import { _ as fe } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
8
8
|
import { u as _e } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as z } from "./currency-
|
|
9
|
+
import { f as z } from "./currency-FtZ1Kndg.js";
|
|
10
10
|
import { defineStore as ke } from "pinia";
|
|
11
|
-
import { C as ve } from "./catalog-
|
|
11
|
+
import { C as ve } from "./catalog-JKO0yOoK.js";
|
|
12
12
|
import { c as we } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function ge(b, _, l, u) {
|
|
14
14
|
var y, p, k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, createElementBlock as d, openBlock as a, normalizeClass as b, toDisplayString as y, unref as u, resolveComponent as i, createVNode as _, createElementVNode as c, computed as h, createBlock as g, createCommentVNode as w, Fragment as k, renderList as x, withCtx as F } from "vue";
|
|
2
2
|
import { useI18n as S } from "@feedmepos/mf-common";
|
|
3
3
|
import { g as I, a as L } from "./translation-fNx6yEpy.js";
|
|
4
|
-
import { u as N } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as N } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
5
5
|
const C = /* @__PURE__ */ v({
|
|
6
6
|
__name: "LocaleIconBadge",
|
|
7
7
|
props: {
|