@feedmepos/mf-menu 0.32.68 → 0.32.69
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-C_wzmb6P.js → App-CkqcWg7S.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DJ-Yyl-y.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BhG20Otb.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DHTKM2Rk.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-VtSDhyxF.js} +3 -3
- package/dist/{Catalog-Brdx3vwv.js → Catalog-DFt5sHAc.js} +6 -6
- package/dist/{Category-Clan4Fwx.js → Category-CsunLGhh.js} +4 -4
- package/dist/{Category-Kr7zDqaR.js → Category-Ky71Gp-v.js} +4 -4
- package/dist/{CookingGuide-D8K1T0Wk.js → CookingGuide-CCtT6m33.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DDAz6tmK.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BoL0i1uZ.js} +1 -1
- package/dist/{Group-DkEH1W-l.js → Group-CPF8_pyC.js} +1 -1
- package/dist/{Group-DyOCkcWz.js → Group-llBpSqev.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CMvaZV7r.js → Group.vue_vue_type_script_setup_true_lang-B1eL9TxG.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D0dxZUHg.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CXWmmLn6.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BCKgLffo.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-xAjv38VK.js} +7 -7
- package/dist/{Ingredient-ele1Xkxq.js → Ingredient-10tyBIdU.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Cd5pXFbz.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DHdCl7qE.js} +2 -2
- package/dist/{LinkProductSideSheet-BpRT3ZyK.js → LinkProductSideSheet-DvzRszmI.js} +4 -4
- package/dist/{MenuSetting-DlRwd2RR.js → MenuSetting-D_fJ0Nh1.js} +7 -7
- package/dist/{OrderPacing-bAAj3I9B.js → OrderPacing-BLGBL00l.js} +5 -5
- package/dist/{PrintRoute-DeiR2NvQ.js → PrintRoute-CTJePpsK.js} +5 -5
- package/dist/{Product-VcKOCdv9.js → Product-B1BEM32b.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Bz5Rr6Oo.js → Product.vue_vue_type_script_setup_true_lang-lUGzPr_a.js} +14 -14
- package/dist/{ProductInternalTools-BnMKscNT.js → ProductInternalTools-DO1On9V6.js} +7 -7
- package/dist/{Products-DFyBBzjn.js → Products-Dw1aYtPB.js} +47 -47
- package/dist/{Publish-hJOLwfsE.js → Publish-ZTiUf2NT.js} +4 -4
- package/dist/{Recipe-DFeTDvuk.js → Recipe-p8OmyzT8.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BX-hs3g7.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-7Ab3OzAU.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js → RuleView.vue_vue_type_script_setup_true_lang-DMRyx0V7.js} +855 -855
- package/dist/{Scheduler-CacvSBtZ.js → Scheduler-bJIwoxJQ.js} +3 -3
- package/dist/{ServingSequence-Dg0-u71Y.js → ServingSequence-DXpq5-Sv.js} +3 -3
- package/dist/{Setting-BBVrC3ML.js → Setting-BOxDPwyd.js} +5 -5
- package/dist/{Subcategory-RhioZvac.js → Subcategory-CtapgQWV.js} +6 -6
- package/dist/{Takeaway-DyIJ2dAt.js → Takeaway-BOvGqe0f.js} +1 -1
- package/dist/{Takeaway-C_Yocsm8.js → Takeaway-CKo0enwK.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-iIM7kEEk.js → Takeaway.vue_vue_type_script_setup_true_lang-BWoq54ru.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CyhcbrTQ.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-VYrjC7c8.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DQelKdQf.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CGCx6D5Y.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BN7PkI9l.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-xHzhKbpN.js} +15 -15
- package/dist/{Unit-bu2YYoAr.js → Unit-CtFTRvvy.js} +2 -2
- package/dist/{Variant-D4HSAKaA.js → Variant-D4QMrOee.js} +3 -3
- package/dist/{_id_-TNWD2yHG.js → _id_-BYr-NECf.js} +10 -10
- package/dist/{app-BwvStTgj.js → app-B0TUeVKL.js} +1 -1
- package/dist/{app-D8hc9pO3.js → app-DNh5SqEy.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/assets/{override-menu-C_m4eXlt.js → linked-status-VS3D4vr6.js} +4 -4
- package/dist/assets/{menu-export-DKP_2V0H.js → menu-export-wMnl913u.js} +34 -34
- package/dist/assets/{linked-status-D3zBIZmV.js → override-menu-0N_qNcuX.js} +4 -4
- package/dist/assets/{validate-menu-DF53PcFi.js → validate-menu-CUOc0Cpy.js} +3 -3
- package/dist/{catalog-sB0wljWA.js → catalog-D7lA7mT_.js} +1 -1
- package/dist/{catalogSetting-DnRDwn_7.js → catalogSetting-O0tJo-T7.js} +1 -1
- package/dist/{currency-CJMH7GL8.js → currency-CHsj_J0b.js} +1 -1
- package/dist/{dayjs.min-BPMljI-8.js → dayjs.min-DeBV2WG7.js} +2 -2
- package/dist/{discardConfirm-DVc_4r3v.js → discardConfirm-CYxTrfx-.js} +1 -1
- package/dist/{index-D02xcA-8.js → index-BFldIBpf.js} +6 -6
- package/dist/{index-BuyOfZQk.js → index-D5gtDsAd.js} +5 -5
- package/dist/{index-C3-Fsu9G.js → index-DQUODrNy.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js → index.vue_vue_type_script_setup_true_lang-C7ZQI7Ck.js} +4545 -4545
- package/dist/{item-4qAhCGxc.js → item-KLAdfYvM.js} +20 -20
- package/dist/{jszip.min-C7GdBMKl.js → jszip.min-Vn2-CH88.js} +167 -167
- package/dist/{linkProducts-Xj0pwao2.js → linkProducts-BC3LTMzZ.js} +4 -4
- package/dist/{memberPricing-DrnYW8GA.js → memberPricing-CoFY9U1J.js} +1 -1
- package/dist/{menu-AX8l-jmp.js → menu-BwtqZ_Yz.js} +1 -1
- package/dist/{menuV2-DyTvIOlq.js → menuV2-Cadt2gJu.js} +9 -9
- package/dist/{order_pacing-0tZW1wH_.js → order_pacing-Dr7DHsai.js} +5 -5
- package/dist/{priceTier-C3S0kEKr.js → priceTier-DnD28JYo.js} +1 -1
- package/dist/{rules-BrCS7pk7.js → rules-BL4uMD7m.js} +3 -3
- package/dist/{scheduler-Dgi_Z-de.js → scheduler-B0UE4CHB.js} +5 -5
- package/dist/{toExcel-BmRSTeYh.js → toExcel-OdTMnhFs.js} +2 -2
- package/dist/{unit-fWmA4WXX.js → unit-MUk9trKB.js} +3 -3
- package/package.json +1 -1
|
@@ -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-Vn2-CH88.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-CYxTrfx-.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-C7ZQI7Ck.js";
|
|
7
7
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as ge, a as pe } from "./menu-
|
|
9
|
-
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { af as he, ag as ye, ah as be, ai as ve, aj as _e } from "./item-
|
|
8
|
+
import { u as ge, a as pe } from "./menu-BwtqZ_Yz.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-lUGzPr_a.js";
|
|
10
|
+
import { af as he, ag as ye, ah as be, ai as ve, aj as _e } from "./item-KLAdfYvM.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"
|
|
@@ -152,7 +152,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
|
-
var Je = { firebase: { storageBucket: "image.
|
|
155
|
+
var Je = { firebase: { storageBucket: "image.feedme.cc" } };
|
|
156
156
|
const He = {
|
|
157
157
|
key: 0,
|
|
158
158
|
class: "h-screen"
|
|
@@ -1,23 +1,23 @@
|
|
|
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
|
|
2
|
-
import { D as T } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { l as R } from "./discardConfirm-
|
|
5
|
-
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as V, A as j } from "./app-
|
|
7
|
-
import { u as
|
|
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 C, createElementBlock as U, Fragment as z } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-DeBV2WG7.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-Vn2-CH88.js";
|
|
4
|
+
import { l as R } from "./discardConfirm-CYxTrfx-.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-xAjv38VK.js";
|
|
6
|
+
import { h as V, A as j } from "./app-DNh5SqEy.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-C7ZQI7Ck.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-
|
|
20
|
-
const Me = { class: "space-y-24 mb-24" },
|
|
13
|
+
import { u as ge, a as be } from "./menu-BwtqZ_Yz.js";
|
|
14
|
+
import { w as ye } from "./item-KLAdfYvM.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-lUGzPr_a.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-DvzRszmI.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-xHzhKbpN.js";
|
|
18
|
+
import { u as Se } from "./linkProducts-BC3LTMzZ.js";
|
|
19
|
+
import { m as he } from "./toExcel-OdTMnhFs.js";
|
|
20
|
+
const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
|
|
21
21
|
__name: "ConfirmActionDialog",
|
|
22
22
|
props: {
|
|
23
23
|
description: {},
|
|
@@ -34,8 +34,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
34
34
|
}, {
|
|
35
35
|
default: f(() => [
|
|
36
36
|
d("div", Me, [
|
|
37
|
-
d("div", null,
|
|
38
|
-
d("div", { innerHTML: p.value }, null, 8,
|
|
37
|
+
d("div", null, Z(v.description), 1),
|
|
38
|
+
d("div", { innerHTML: p.value }, null, 8, we),
|
|
39
39
|
d("div", null, [
|
|
40
40
|
u(M, {
|
|
41
41
|
modelValue: k.value,
|
|
@@ -48,7 +48,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
48
48
|
rules: [(c) => c === v.value || "Value does not match"]
|
|
49
49
|
}, null, 8, ["modelValue", "placeholder", "rules"])
|
|
50
50
|
]),
|
|
51
|
-
d("div",
|
|
51
|
+
d("div", Ce, [
|
|
52
52
|
u(g, {
|
|
53
53
|
label: "Cancel",
|
|
54
54
|
variant: "secondary",
|
|
@@ -68,7 +68,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
68
68
|
}), $e = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
70
|
setup(A) {
|
|
71
|
-
const n =
|
|
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({
|
|
74
74
|
title: "Migrate to new version",
|
|
@@ -94,8 +94,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
const g = _(() => {
|
|
97
|
-
var
|
|
98
|
-
if (((
|
|
97
|
+
var w;
|
|
98
|
+
if (((w = p.sessionUser.value) == null ? void 0 : w.role.isAdmin) === !0)
|
|
99
99
|
return null;
|
|
100
100
|
const c = p.restaurants.value;
|
|
101
101
|
if (!c.length) return "Required at least one restaurant to migrate";
|
|
@@ -113,13 +113,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
113
113
|
action: "Migrate",
|
|
114
114
|
"z-index": 0,
|
|
115
115
|
onOnAction: M
|
|
116
|
-
})) :
|
|
116
|
+
})) : C("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), Ve = "/assets/menu-export-
|
|
119
|
+
}), Ve = "/assets/menu-export-wMnl913u.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ee = { class: "flex items-center" }, Te = { 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
121
|
setup(A) {
|
|
122
|
-
const { t: n } = de(), p = ee(), k = Q(ne()), o =
|
|
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
|
|
@@ -167,11 +167,11 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
167
167
|
}
|
|
168
168
|
const {
|
|
169
169
|
menuItems: E,
|
|
170
|
-
categories:
|
|
170
|
+
categories: w,
|
|
171
171
|
linkItemRules: y,
|
|
172
172
|
handleSubmit: Y,
|
|
173
173
|
catalogManager: N,
|
|
174
|
-
schedulerManager:
|
|
174
|
+
schedulerManager: L
|
|
175
175
|
} = Se(!1), oe = fe(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
|
|
176
176
|
var a;
|
|
177
177
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
@@ -179,7 +179,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
179
179
|
subject: V.Subject.Business.menu_menuManagement
|
|
180
180
|
};
|
|
181
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,
|
|
@@ -200,10 +200,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
200
200
|
d("div", Ae, [
|
|
201
201
|
d("div", Ee, [
|
|
202
202
|
d("div", Te, [
|
|
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, {
|
|
@@ -228,35 +228,35 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
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
|
]),
|
|
235
235
|
_: 1
|
|
236
|
-
})) :
|
|
237
|
-
|
|
236
|
+
})) : C("", !0),
|
|
237
|
+
P.value ? (l(), m(a, {
|
|
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
|
-
}, null, 8, ["bg-color", "text-color", "variant", "label"])) :
|
|
245
|
-
|
|
244
|
+
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
|
|
245
|
+
P.value ? (l(), m(G, { key: 2 }, {
|
|
246
246
|
default: f(({ trigger: s }) => [
|
|
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"])
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
|
-
})) :
|
|
256
|
+
})) : C("", !0)
|
|
257
257
|
], 64)),
|
|
258
258
|
x.value > 0 ? (l(), U(z, { key: 2 }, [
|
|
259
|
-
h.value.create ? (l(), m(
|
|
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",
|
|
@@ -267,13 +267,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
267
267
|
"initial-value": e(N).currentItems.value,
|
|
268
268
|
"show-variant": !1,
|
|
269
269
|
"menu-items": e(E),
|
|
270
|
-
categories: e(
|
|
270
|
+
categories: e(w),
|
|
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
|
|
@@ -282,24 +282,24 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
282
282
|
_: 1
|
|
283
283
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
|
|
284
284
|
key: 2,
|
|
285
|
-
"categorized-items": e(
|
|
286
|
-
"initial-value": e(
|
|
285
|
+
"categorized-items": e(L).linkableItems.value,
|
|
286
|
+
"initial-value": e(L).currentItems.value,
|
|
287
287
|
"show-variant": !1,
|
|
288
288
|
"menu-items": e(E),
|
|
289
|
-
categories: e(
|
|
289
|
+
categories: e(w),
|
|
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"])
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"]))
|
|
302
|
-
], 64)) :
|
|
302
|
+
], 64)) : C("", !0)
|
|
303
303
|
])
|
|
304
304
|
])
|
|
305
305
|
]),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as X, ref as P, computed as $, onMounted as Ce, resolveComponent as A, createElementBlock as M, openBlock as w, createVNode as _, createElementVNode as h, toDisplayString as z, unref as m, Fragment as Y, renderList as ee, createBlock as W, watch as Ae, withCtx as K, h as U, normalizeClass as ye, createCommentVNode as te, createTextVNode as Ie, mergeProps as He, normalizeStyle as Ye, renderSlot as Je, withModifiers as ue, onUnmounted as We } from "vue";
|
|
2
2
|
import { useRouter as Qe } from "vue-router";
|
|
3
3
|
import { O as Xe, b as Ze } from "./app-5fxKLAzS.js";
|
|
4
|
-
import { a as et, e as tt, b as Re, M as at, _ as De, N as L, u as Oe, d as Me, F as lt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as et, e as tt, b as Re, M as at, _ as De, N as L, u as Oe, d as Me, F as lt } from "./index.vue_vue_type_script_setup_true_lang-C7ZQI7Ck.js";
|
|
5
5
|
import { formatDateTime as ke, useI18n as ae, useAppLocale as re, useCoreStore as we, RestaurantSelector as Ue, prefersHour12 as st } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as xe, useDialogChild as nt, useProxiedModel as ot, useDialog as Te, components as ne, FmButtonVariant as Ne } from "@feedmepos/ui-library";
|
|
7
7
|
import { _ as ut } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
|
-
import { _ as rt } from "./app-
|
|
8
|
+
import { _ as rt } from "./app-DNh5SqEy.js";
|
|
9
9
|
import { a as it, w as ct } from "./tooltip-B5BiPMx9.js";
|
|
10
|
-
import { D as H } from "./dayjs.min-
|
|
11
|
-
import { u as Be, l as dt } from "./discardConfirm-
|
|
10
|
+
import { D as H } from "./dayjs.min-DeBV2WG7.js";
|
|
11
|
+
import { u as Be, l as dt } from "./discardConfirm-CYxTrfx-.js";
|
|
12
12
|
import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function Le(V, b) {
|
|
14
14
|
return V ? ke(V, b, {
|
|
@@ -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-DNh5SqEy.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-C7ZQI7Ck.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-DHdCl7qE.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-CYxTrfx-.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-MUk9trKB.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-DMRyx0V7.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 = {
|