@feedmepos/mf-menu 0.32.71 → 0.32.72
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-Bay6p3xd.js → App-BqlWMfMd.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Je_NoQ3y.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CGm_HCN-.js} +12 -12
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DBjYkJhB.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DKwW-KuQ.js} +3 -3
- package/dist/{Catalog-DfWHNm4n.js → Catalog-DmSqkb83.js} +20 -20
- package/dist/{Category-51BrJsdv.js → Category-BViqkFeL.js} +4 -4
- package/dist/{Category-m45WrP7O.js → Category-Dlj54Cvf.js} +4 -4
- package/dist/{CookingGuide-Dk-ibGYd.js → CookingGuide-CTy27R3R.js} +46 -46
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CzpScELw.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DnkFD9Qo.js} +1 -1
- package/dist/{Group-NUWfR17j.js → Group-B_XL8419.js} +1 -1
- package/dist/{Group-CZDoqPK7.js → Group-CCHCA3-l.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-h8zygLBJ.js → Group.vue_vue_type_script_setup_true_lang-D4UZ_9r_.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Dq5jMv3_.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Hq-gI8hs.js} +24 -24
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-EsQKUSJa.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CMNiLTsy.js} +7 -7
- package/dist/{Ingredient-CcnUyiM5.js → Ingredient-BKMpffiK.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BwxZEDVT.js → InventoryBinding.vue_vue_type_script_setup_true_lang-B-A8Yae3.js} +2 -2
- package/dist/{LinkProductSideSheet-ClMiajzX.js → LinkProductSideSheet-C0OwARv3.js} +4 -4
- package/dist/{MenuSetting-Dw3lVHtp.js → MenuSetting-t2SC98j8.js} +7 -7
- package/dist/{OrderPacing-Dh8T7OKW.js → OrderPacing-BeOxlK5N.js} +5 -5
- package/dist/{PrintRoute-BrSaSZI3.js → PrintRoute-BehVCEKW.js} +10 -10
- package/dist/{Product-CQ7AuhbY.js → Product-JhmPZPy5.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Bw6l2IEC.js → Product.vue_vue_type_script_setup_true_lang-CaIdoW_3.js} +14 -14
- package/dist/ProductInternalTools-BaOhffU-.js +439 -0
- package/dist/{Products-CoL7S7-1.js → Products-BEL7jDXA.js} +78 -78
- package/dist/{Publish-C_lOqrSX.js → Publish-0paPWlI9.js} +4 -4
- package/dist/{Recipe-Ce8qXnG5.js → Recipe-C2EDxRF-.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DMB9bFg9.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BpGAz8tp.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-D9i9tMAj.js → RuleView.vue_vue_type_script_setup_true_lang-DP2Sx5Ik.js} +514 -514
- package/dist/{Scheduler-B2ZtWIPp.js → Scheduler-Q5uM5gxh.js} +17 -17
- package/dist/{ServingSequence-BWZ1YpzI.js → ServingSequence-T4C9GPzV.js} +3 -3
- package/dist/{Setting-CdxNVi7G.js → Setting-Ck9fOSnA.js} +5 -5
- package/dist/{Subcategory-Bn0O6i5t.js → Subcategory-DA9P_jgR.js} +6 -6
- package/dist/{Takeaway-luRkknPl.js → Takeaway-BWHTHlyY.js} +1 -1
- package/dist/{Takeaway-yE0GhL5I.js → Takeaway-BhBwxuQ1.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CnZTbF3e.js → Takeaway.vue_vue_type_script_setup_true_lang-CoW3ltrF.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-B3N7_zfR.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-B_NVIotA.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BLzzBcqV.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DKAvaKvf.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BvnoCeCw.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-KLajCLq6.js} +15 -15
- package/dist/{Unit-JPFtrbuS.js → Unit-Cn8MfZ3t.js} +2 -2
- package/dist/{Variant-BGJ-aKF1.js → Variant-D8YObOjv.js} +3 -3
- package/dist/{_id_-BUlkRwgU.js → _id_-D3xdoF7g.js} +10 -10
- package/dist/{app-CMjz-bvL.js → app-CytlajzP.js} +1 -1
- package/dist/{app-2VeaJE9t.js → app-DW6oW0Ma.js} +37 -37
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +20 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +65 -16
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-B9caUckb.js → linked-status-6NCMYr9j.js} +4 -4
- package/dist/assets/{menu-export-DYfPYpgS.js → menu-export-B0G2UoQu.js} +34 -34
- package/dist/assets/{override-menu-uNjUqcak.js → override-menu-BLTWWMwC.js} +4 -4
- package/dist/assets/{validate-menu-BiXMOXpN.js → validate-menu-Bw1SjjTD.js} +3 -3
- package/dist/{catalog--64fgdzd.js → catalog-D-eYUu3U.js} +1 -1
- package/dist/{catalogSetting-CplTgRmk.js → catalogSetting-DTuat7sH.js} +1 -1
- package/dist/{currency-CjYkQ4FL.js → currency-Dj_Wt0Hv.js} +1 -1
- package/dist/dayjs.min-DEj15U1R.js +7 -0
- package/dist/{discardConfirm-DOc0ieeO.js → discardConfirm-D8fV6Aag.js} +1 -1
- package/dist/{index-Dw_Fw5ni.js → index--oIuzXeT.js} +5 -5
- package/dist/{index-CTA48kW2.js → index-DM0Bzsz_.js} +1 -1
- package/dist/{index-BrtZ42qx.js → index-Kuoa82jl.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-BCZZq6zJ.js → index.vue_vue_type_script_setup_true_lang-COHdIM2S.js} +3988 -3982
- package/dist/{item-DL0lbXPC.js → item-DY5crb6D.js} +1159 -1164
- package/dist/{jszip.min-CTn9qnAT.js → jszip.min-BZ1Z78MP.js} +167 -167
- package/dist/{linkProducts-DNPyRjOC.js → linkProducts-96XgmBUL.js} +4 -4
- package/dist/{memberPricing-ByMD7Sun.js → memberPricing-WDnr_fBu.js} +1 -1
- package/dist/{menu-C77otNXH.js → menu-xKq7gpBv.js} +1 -1
- package/dist/{menuV2-Bi_EMfOM.js → menuV2-y6RgekH4.js} +49 -49
- package/dist/{order_pacing-29v64nh0.js → order_pacing-5FfwO1W8.js} +5 -5
- package/dist/{priceTier-BscL3YjX.js → priceTier-C-qqjKEP.js} +1 -1
- package/dist/{rules-BYL-otiB.js → rules-BUN28pvZ.js} +3 -3
- package/dist/{scheduler-Cqvnr0u1.js → scheduler-CHwF5zGU.js} +5 -5
- package/dist/{toExcel-421pbm-Z.js → toExcel-Doi2nxOH.js} +2 -2
- package/dist/{unit-DDtyAbV0.js → unit-BnAly_uA.js} +17 -17
- package/package.json +1 -1
- package/dist/ProductInternalTools-2rYX2GR0.js +0 -416
- package/dist/dayjs.min-DCMtwvjf.js +0 -7
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as G, computed as y, h as f, withModifiers as O, ref as q, resolveComponent as h, createBlock as b, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as p, Fragment as A, createElementVNode as s, renderList as J, toDisplayString as k, createCommentVNode as
|
|
2
|
-
import {
|
|
3
|
-
import { useI18n as ae, useAppLocale as oe, formatTimeOfDay as
|
|
1
|
+
import { defineComponent as G, computed as y, h as f, withModifiers as O, ref as q, resolveComponent as h, createBlock as b, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as p, Fragment as A, createElementVNode as s, renderList as J, toDisplayString as k, createCommentVNode as B } from "vue";
|
|
2
|
+
import { A as d, B as X, i as Z, u as ee, b as te, _ as ne } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.js";
|
|
3
|
+
import { useI18n as ae, useAppLocale as oe, formatTimeOfDay as P } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as le, useDialog as se, useSnackbar as re } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ue } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as ce } from "./app-
|
|
7
|
-
import { d as ie, _ as de, u as me, c as fe } from "./scheduler-
|
|
6
|
+
import { _ as ce } from "./app-DW6oW0Ma.js";
|
|
7
|
+
import { d as ie, _ as de, u as me, c as fe } from "./scheduler-CHwF5zGU.js";
|
|
8
8
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
const ye = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -32,7 +32,7 @@ const ye = {
|
|
|
32
32
|
country: D
|
|
33
33
|
} = oe();
|
|
34
34
|
function j(e) {
|
|
35
|
-
return `${
|
|
35
|
+
return `${P(e.start, L.value, void 0, D.value)} - ${P(e.end, L.value, void 0, D.value)}`;
|
|
36
36
|
}
|
|
37
37
|
const K = y(() => [{
|
|
38
38
|
accessorKey: "name",
|
|
@@ -82,7 +82,7 @@ const ye = {
|
|
|
82
82
|
outline: !0,
|
|
83
83
|
color: "neutral-gray-400",
|
|
84
84
|
onClick: O(() => {
|
|
85
|
-
|
|
85
|
+
I(e.row.original);
|
|
86
86
|
}, ["stop", "prevent"])
|
|
87
87
|
})])
|
|
88
88
|
}]), r = {
|
|
@@ -118,12 +118,12 @@ const ye = {
|
|
|
118
118
|
var e;
|
|
119
119
|
w.value || (e = x.value) == null || e.show();
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function E(e) {
|
|
122
122
|
var t;
|
|
123
123
|
w.value || (t = x.value) == null || t.show(e);
|
|
124
124
|
}
|
|
125
125
|
const U = se();
|
|
126
|
-
function
|
|
126
|
+
function I(e) {
|
|
127
127
|
let t = [f("span", a("menu.scheduler.dialogs.remove.message", {
|
|
128
128
|
name: e.name
|
|
129
129
|
}))];
|
|
@@ -147,12 +147,12 @@ const ye = {
|
|
|
147
147
|
const t = e._id ? me(e) : fe(e);
|
|
148
148
|
await S.updateMenu(t, e.name);
|
|
149
149
|
}
|
|
150
|
-
const
|
|
150
|
+
const M = ee(), H = y(() => M.categorizedRawMenuItems), m = y(() => M.state.menu.modules.scheduler), S = Z(te(re())), w = y(() => S.checkMenuIsLoading()), g = q(""), Y = y(() => {
|
|
151
151
|
const e = g.value.toLowerCase();
|
|
152
152
|
return e ? m.value.filter((t) => t.name.toLowerCase().includes(e)) : m.value;
|
|
153
153
|
});
|
|
154
154
|
return (e, t) => {
|
|
155
|
-
const l = h("FmSearch"), o = h("FmTable"), v = h("FmButton"),
|
|
155
|
+
const l = h("FmSearch"), o = h("FmTable"), v = h("FmButton"), z = h("FmListItem"), u = h("FmList");
|
|
156
156
|
return c(), b(pe, {
|
|
157
157
|
heading: i(a)("menu.scheduler.title")
|
|
158
158
|
}, {
|
|
@@ -163,7 +163,7 @@ const ye = {
|
|
|
163
163
|
label: i(a)("menu.scheduler.empty.action"),
|
|
164
164
|
variant: "primary",
|
|
165
165
|
onClick: $
|
|
166
|
-
}, null, 8, ["disabled", "label"])) :
|
|
166
|
+
}, null, 8, ["disabled", "label"])) : B("", !0)])]),
|
|
167
167
|
default: _(() => [m.value.length === 0 ? (c(), b(i(ne), {
|
|
168
168
|
key: 0,
|
|
169
169
|
action: {
|
|
@@ -191,26 +191,26 @@ const ye = {
|
|
|
191
191
|
shrinkAt: !1,
|
|
192
192
|
"hide-footer": "",
|
|
193
193
|
"pin-header-row": "",
|
|
194
|
-
onRowClick: t[1] || (t[1] = (n) =>
|
|
194
|
+
onRowClick: t[1] || (t[1] = (n) => E(n.original))
|
|
195
195
|
}, null, 8, ["column-defs", "page-size", "row-data", "search-value"])]),
|
|
196
196
|
_: 1
|
|
197
197
|
}), p(u, {
|
|
198
198
|
class: "flex-col flex-1 min-h-0 overflow-auto xs:flex hidden w-full px-16 pb-64",
|
|
199
199
|
separator: ""
|
|
200
200
|
}, {
|
|
201
|
-
default: _(() => [(c(!0), F(A, null, J(Y.value, (n) => (c(), b(
|
|
201
|
+
default: _(() => [(c(!0), F(A, null, J(Y.value, (n) => (c(), b(z, {
|
|
202
202
|
key: n._id,
|
|
203
203
|
label: n.name,
|
|
204
204
|
style: {
|
|
205
205
|
padding: "12px 0 !important"
|
|
206
206
|
},
|
|
207
|
-
onClick: () =>
|
|
207
|
+
onClick: () => E(n)
|
|
208
208
|
}, {
|
|
209
|
-
default: _(() => [s("div", ge, [s("div", ve, k(n.name), 1), s("div", null, [s("div", be, k(Object.keys(n.items).length) + " product(s) linked ", 1), s("div", ke, [s("div", null, " Repeat: " + k(R(n.repeat, n.weekDay)), 1), n.timePeriod.length > 0 ? (c(), F("span", xe, "Period: ")) :
|
|
209
|
+
default: _(() => [s("div", ge, [s("div", ve, k(n.name), 1), s("div", null, [s("div", be, k(Object.keys(n.items).length) + " product(s) linked ", 1), s("div", ke, [s("div", null, " Repeat: " + k(R(n.repeat, n.weekDay)), 1), n.timePeriod.length > 0 ? (c(), F("span", xe, "Period: ")) : B("", !0), s("span", null, k(n.timePeriod.map((C) => j(C)).join(", ")), 1)])])]), p(v, {
|
|
210
210
|
icon: "delete",
|
|
211
211
|
variant: "tertiary",
|
|
212
212
|
"text-color": "neutral-gray-400",
|
|
213
|
-
onClick: O(() =>
|
|
213
|
+
onClick: O(() => I(n), ["stop"])
|
|
214
214
|
}, null, 8, ["onClick"])]),
|
|
215
215
|
_: 2
|
|
216
216
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as F, computed as E, resolveComponent as y, createElementBlock as h, openBlock as m, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as f, 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 M, _ 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 M, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.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-DW6oW0Ma.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-CytlajzP.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-COHdIM2S.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-DP2Sx5Ik.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Hq-gI8hs.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-DTuat7sH.js";
|
|
9
|
+
import { C as Ce } from "./catalog-D-eYUu3U.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-COHdIM2S.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-DW6oW0Ma.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-D8fV6Aag.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-BUN28pvZ.js";
|
|
12
|
+
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DKAvaKvf.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-xKq7gpBv.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-COHdIM2S.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-CoW3ltrF.js";
|
|
8
|
+
import { T as S, l as L } from "./index-Kuoa82jl.js";
|
|
9
|
+
import { a as O } from "./menu-xKq7gpBv.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 $, withCtx as O, renderList as ie, createBlock as j, 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,
|
|
2
|
+
import { b as J, i as Q, u as W, g as F, h as A, d as R, a as se, aq as H, _ as re } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.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-DW6oW0Ma.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-Kuoa82jl.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-Dj_Wt0Hv.js";
|
|
10
10
|
import { defineStore as ke } from "pinia";
|
|
11
|
-
import { C as ve } from "./catalog
|
|
11
|
+
import { C as ve } from "./catalog-D-eYUu3U.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-COHdIM2S.js";
|
|
5
5
|
const C = /* @__PURE__ */ v({
|
|
6
6
|
__name: "LocaleIconBadge",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as z, ref as p, watch as L, computed as k, resolveComponent as v, createBlock as w, openBlock as f, unref as n, withCtx as _, createElementVNode as i, createVNode as r, toDisplayString as h, createElementBlock as x, createCommentVNode as F, Fragment as I, renderList as A } from "vue";
|
|
2
|
-
import { l as S, u as q } from "./discardConfirm-
|
|
2
|
+
import { l as S, u as q } from "./discardConfirm-D8fV6Aag.js";
|
|
3
3
|
import { useI18n as G } from "@feedmepos/mf-common";
|
|
4
|
-
import { _ as H, a as J, b as K, c as M } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as H, a as J, b as K, c as M } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-B_NVIotA.js";
|
|
5
5
|
const P = { class: "fm-typo-en-title-md-600" }, Q = { class: "pt-8 space-y-24" }, R = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, W = { class: "flex items-center gap-16" }, X = { class: "fm-typo-en-body-lg-600" }, Y = { class: "flex flex-col gap-32 pl-32" }, Z = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "space-y-8"
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { ref as te, computed as U, getCurrentInstance as In, render as Tn, defineComponent as ge, onMounted as Xe, resolveComponent as X, resolveDirective as on, createElementBlock as J, openBlock as A, Fragment as Se, createVNode as s, unref as e, withCtx as W, createElementVNode as G, createBlock as oe, createCommentVNode as Z, normalizeClass as $e, renderList as Ne, toDisplayString as _e, createTextVNode as xn, withDirectives as at, renderSlot as Be, watch as Me, h as Ie, isVNode as Sn, nextTick as gt, vShow as rn, withModifiers as Je, createSlots as En, onBeforeUnmount as Rt, watchEffect as Fn, onUnmounted as Vn, normalizeStyle as mt, mergeProps as $n, normalizeProps as Pn, guardReactiveProps as Dn, mergeModels as On, useModel as Mn, Teleport as Un, Transition as Rn, withKeys as An } from "vue";
|
|
2
|
-
import { x as Nn, y as Ln, z as Gn, A as Kn, B as an, D as Ft, P as Bn, I as zn, G as jn, H as Yn, J as At, K as qn, M as Wn, N as ln, O as sn, Q as Hn, R as Nt, T as Lt, U as Gt, V as un, W as Vt, X as Xn, Y as Qn, Z as Jn, $ as Zn, a0 as eo, a1 as to, a2 as dn, a3 as Xt, a4 as cn, a5 as no, a6 as oo, a7 as ro, a8 as ao, a9 as mn, w as lo, aa as io, ab as qe, ac as so, ad as uo, ae as co } from "./item-
|
|
3
|
-
import { a as mo, b as po, d as fo, _ as go, T as vo } from "./app-
|
|
4
|
-
import { l as Ve, u as Kt } from "./discardConfirm-
|
|
2
|
+
import { x as Nn, y as Ln, z as Gn, A as Kn, B as an, D as Ft, P as Bn, I as zn, G as jn, H as Yn, J as At, K as qn, M as Wn, N as ln, O as sn, Q as Hn, R as Nt, T as Lt, U as Gt, V as un, W as Vt, X as Xn, Y as Qn, Z as Jn, $ as Zn, a0 as eo, a1 as to, a2 as dn, a3 as Xt, a4 as cn, a5 as no, a6 as oo, a7 as ro, a8 as ao, a9 as mn, w as lo, aa as io, ab as qe, ac as so, ad as uo, ae as co } from "./item-DY5crb6D.js";
|
|
3
|
+
import { a as mo, b as po, d as fo, _ as go, T as vo } from "./app-DW6oW0Ma.js";
|
|
4
|
+
import { l as Ve, u as Kt } from "./discardConfirm-D8fV6Aag.js";
|
|
5
5
|
import { useI18n as he, useCoreStore as lt, CustomAttributesForm as pn } from "@feedmepos/mf-common";
|
|
6
6
|
import { useDialog as Qe, useSnackbar as Ye, components as Ce, FmButtonVariant as Pe, FmButtonColorThemeVariant as Ae, useBreakpoints as bo, useDialogChild as fn } from "@feedmepos/ui-library";
|
|
7
|
-
import { a as Te, g as Fe, h as xe, u as vt, i as Bt, b as bt, r as yo, F as et, j as ke, m as je, d as we, o as _o, k as ct, l as ho, I as ht, n as gn, s as kt, w as Qt, p as ko, q as wo, t as Jt, v as Co } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { a as Te, g as Fe, h as xe, u as vt, i as Bt, b as bt, r as yo, F as et, j as ke, m as je, d as we, o as _o, k as ct, l as ho, I as ht, n as gn, s as kt, w as Qt, p as ko, q as wo, t as Jt, v as Co } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.js";
|
|
8
8
|
import { defineStore as Io } from "pinia";
|
|
9
|
-
import { _ as Ue, a as To } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as ye, g as $t, m as xo } from "./menuV2-
|
|
11
|
-
import { g as So, s as Pt, _ as Eo, a as Fo, b as Vo, c as $o, d as Zt, e as Po } from "./index-
|
|
9
|
+
import { _ as Ue, a as To } from "./RuleView.vue_vue_type_script_setup_true_lang-DP2Sx5Ik.js";
|
|
10
|
+
import { u as ye, g as $t, m as xo } from "./menuV2-y6RgekH4.js";
|
|
11
|
+
import { g as So, s as Pt, _ as Eo, a as Fo, b as Vo, c as $o, d as Zt, e as Po } from "./index-DM0Bzsz_.js";
|
|
12
12
|
import { useAppStore as vn, RemyButton as bn } from "@feedmepos/mf-remy-panel";
|
|
13
13
|
import { _ as Ke } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
14
14
|
import { c as Do } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
15
15
|
import { _ as Dt } from "./tooltip-B5BiPMx9.js";
|
|
16
16
|
import { g as st } from "./translation-fNx6yEpy.js";
|
|
17
17
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
import { _ as Ze, T as Oo, l as Mo } from "./index-
|
|
19
|
-
import { L as Ot } from "./LinkProductSideSheet-
|
|
18
|
+
import { _ as Ze, T as Oo, l as Mo } from "./index-Kuoa82jl.js";
|
|
19
|
+
import { L as Ot } from "./LinkProductSideSheet-C0OwARv3.js";
|
|
20
20
|
import { u as Uo } from "./search-BAPEUu1R.js";
|
|
21
21
|
import { c as zt } from "./check-C9mY6LiX.js";
|
|
22
|
-
import { f as ze } from "./currency-
|
|
23
|
-
import { u as jt } from "./memberPricing-
|
|
22
|
+
import { f as ze } from "./currency-Dj_Wt0Hv.js";
|
|
23
|
+
import { u as jt } from "./memberPricing-WDnr_fBu.js";
|
|
24
24
|
import { c as Ro } from "./string-DpfFixWH.js";
|
|
25
25
|
import { useInventoryStore as Ao, InventoryBindingSummary as No } from "@feedmepos/mf-inventory-portal";
|
|
26
|
-
import { u as Lo } from "./priceTier-
|
|
26
|
+
import { u as Lo } from "./priceTier-C-qqjKEP.js";
|
|
27
27
|
import { d as Yt } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
28
|
-
import { _ as Go } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
28
|
+
import { _ as Go } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CGm_HCN-.js";
|
|
29
29
|
import "./app-5fxKLAzS.js";
|
|
30
30
|
/* empty css */
|
|
31
|
-
import { a as Ko, u as Bo } from "./linkProducts-
|
|
31
|
+
import { a as Ko, u as Bo } from "./linkProducts-96XgmBUL.js";
|
|
32
32
|
import { c as pt } from "./object-DVUNCr7w.js";
|
|
33
33
|
import { _ as zo } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
34
34
|
import { _ as en } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
35
|
-
import { _ as jo } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
35
|
+
import { _ as jo } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BpGAz8tp.js";
|
|
36
36
|
var tt = /* @__PURE__ */ ((i) => (i.PRIMARY = "primary", i.PLAIN = "plain", i))(tt || {}), Le = /* @__PURE__ */ ((i) => (i.CATEGORY = "view_list", i.ITEM = "fastfood", i.VARIANT = "lunch_dining", i.GROUP = "database", i.FOLDER = "folder", i))(Le || {});
|
|
37
37
|
function wt(i, a) {
|
|
38
38
|
return i <= 0 ? null : { label: a };
|
|
@@ -2,9 +2,9 @@ import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as
|
|
|
2
2
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as K, components as R, useBreakpoints as D, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { b as A, u as G, _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as A, u as G, _ as H } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.js";
|
|
6
6
|
import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { u as O, U as P } from "./unit-
|
|
7
|
+
import { u as O, U as P } from "./unit-BnAly_uA.js";
|
|
8
8
|
const Q = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "h-[600px]"
|
|
@@ -2,9 +2,9 @@ import { getCurrentInstance as A, defineComponent as T, computed as b, onMounted
|
|
|
2
2
|
import { useI18n as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as G, useSnackbar as D, FmButtonVariant as L, components as q, useBreakpoints as H } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as J } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as Q } from "./app-
|
|
6
|
-
import { b as K, i as O, u as P, g as W, h as X, _ as Z } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { V as E } from "./index
|
|
5
|
+
import { _ as Q } from "./app-DW6oW0Ma.js";
|
|
6
|
+
import { b as K, i as O, u as P, g as W, h as X, _ as Z } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.js";
|
|
7
|
+
import { V as E } from "./index--oIuzXeT.js";
|
|
8
8
|
import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
import { _ as ae } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
10
10
|
import { u as oe } from "./search-BAPEUu1R.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as F, computed as d, ref as p, watch as A, onMounted as H, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as W, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as R } from "vue";
|
|
2
|
-
import { D as j } from "./dayjs.min-
|
|
2
|
+
import { D as j } from "./dayjs.min-DEj15U1R.js";
|
|
3
3
|
import { useRoute as J, useRouter as Q } from "vue-router";
|
|
4
|
-
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { b as ee, i as te, u as ae, m as oe, d as ne } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CMNiLTsy.js";
|
|
5
|
+
import { b as ee, i as te, u as ae, m as oe, d as ne } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.js";
|
|
6
6
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as se } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
-
import { L as V } from "./LinkProductSideSheet-
|
|
10
|
-
import { _ as ue } from "./index-
|
|
9
|
+
import { L as V } from "./LinkProductSideSheet-C0OwARv3.js";
|
|
10
|
+
import { _ as ue } from "./index-DM0Bzsz_.js";
|
|
11
11
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
-
import { u as ie } from "./linkProducts-
|
|
13
|
-
import { a as me } from "./menu-
|
|
14
|
-
import { m as ce } from "./toExcel-
|
|
15
|
-
import { _ as de, u as pe, c as _e } from "./scheduler-
|
|
16
|
-
import { R as r } from "./app-
|
|
12
|
+
import { u as ie } from "./linkProducts-96XgmBUL.js";
|
|
13
|
+
import { a as me } from "./menu-xKq7gpBv.js";
|
|
14
|
+
import { m as ce } from "./toExcel-Doi2nxOH.js";
|
|
15
|
+
import { _ as de, u as pe, c as _e } from "./scheduler-CHwF5zGU.js";
|
|
16
|
+
import { R as r } from "./app-DW6oW0Ma.js";
|
|
17
17
|
const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ F({
|
|
18
18
|
__name: "[id]",
|
|
19
19
|
setup(ke) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore as r } from "pinia";
|
|
2
|
-
import {
|
|
2
|
+
import { K as a, L as s, M as l } from "./index.vue_vue_type_script_setup_true_lang-COHdIM2S.js";
|
|
3
3
|
const u = {
|
|
4
4
|
async read() {
|
|
5
5
|
return a(await s().get("/public-setting"));
|