@feedmepos/mf-menu 0.32.57-dev.2 → 0.32.58-dev.1
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-CE5s0l9A.js → App-Cu010rh6.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DZ5sZWpU.js → ApplyProduct.vue_vue_type_script_setup_true_lang-B6a2IB4d.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-B0POr6JV.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-BFaLXVm6.js} +2 -2
- package/dist/{Catalog-CY6RvjyS.js → Catalog-XsNkNzBy.js} +6 -6
- package/dist/{Category-DIpJlX_N.js → Category-BUAWwxVh.js} +4 -4
- package/dist/{Category-BoVnd_-a.js → Category-DuMHSMg5.js} +4 -4
- package/dist/{CookingGuide-CHzasZA9.js → CookingGuide-FQL3uJMA.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIhsGYRl.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-B7k5HE5K.js} +1 -1
- package/dist/{Group-CwBojMky.js → Group-DvvnKQeR.js} +1 -1
- package/dist/{Group-SUmVQxSU.js → Group-t2enQJJk.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BBqXiV3r.js → Group.vue_vue_type_script_setup_true_lang-Dkv59o9J.js} +6 -6
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CcQdvzMy.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D_F7qAQj.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C8VMeXoW.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BRuZqASN.js} +7 -7
- package/dist/{Ingredient-DmsJNTi3.js → Ingredient-Db9WaDHm.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CZ3Ti5o-.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BueqvvrP.js} +2 -2
- package/dist/{LinkProductSideSheet-D8Dvdhk0.js → LinkProductSideSheet-CcKpJzuu.js} +3 -3
- package/dist/{MenuSetting-CmFx4CKw.js → MenuSetting-CpsaSK2F.js} +6 -6
- package/dist/{OrderPacing-CFuteZjm.js → OrderPacing-CfJr4zLM.js} +5 -5
- package/dist/{PrintRoute-CeHNsLcv.js → PrintRoute-st5l4z_o.js} +4 -4
- package/dist/{Product-bJfbi1yz.js → Product-dLBEfiMu.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-kvqrUjei.js → Product.vue_vue_type_script_setup_true_lang-dsm976qc.js} +12 -12
- package/dist/{ProductInternalTools-BkKbXFdG.js → ProductInternalTools-m6pQW27F.js} +5 -5
- package/dist/{Products-Bv9gINb8.js → Products-COXcPc0r.js} +44 -44
- package/dist/{Publish-CSMkGRiV.js → Publish-CdAXNHho.js} +3 -3
- package/dist/{Recipe-CDK1f07t.js → Recipe-1_xPZA70.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-hYs_2e94.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-iokZGhJ6.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js → RuleView.vue_vue_type_script_setup_true_lang-COG3i-xY.js} +187 -187
- package/dist/{Scheduler-Ce6qK5xo.js → Scheduler-CFwvPIeC.js} +3 -3
- package/dist/{ServingSequence-BSX_g50j.js → ServingSequence-DRmhcARH.js} +3 -3
- package/dist/{Setting-BNS9ggtX.js → Setting-DFaLeSpK.js} +5 -5
- package/dist/{Subcategory-62g1JEwl.js → Subcategory-B4rsI3k3.js} +5 -5
- package/dist/{Takeaway-f4VO0ZJ-.js → Takeaway-C-5ohbKU.js} +4 -4
- package/dist/{Takeaway-DR0Ax44B.js → Takeaway-DvZsjRLk.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B3UE1p7X.js → Takeaway.vue_vue_type_script_setup_true_lang-C0gIPYxv.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CTw2lKns.js → Thumbnail.vue_vue_type_script_setup_true_lang-BxUp8i1r.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-hd6JGri0.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CrpW2qGo.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BRXHWG5s.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-2Uyqt_CM.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ClDRf-88.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B5ENFjqy.js} +13 -13
- package/dist/{Unit-DnrLxe1V.js → Unit-B_BfMiqd.js} +2 -2
- package/dist/{Variant-DM2r3Of9.js → Variant-J-SuZHnI.js} +3 -3
- package/dist/{_id_-BhFeSJIu.js → _id_-39Sg2EE9.js} +9 -9
- package/dist/{app-CO3nuOc3.js → app-B8HzzXDs.js} +1 -1
- package/dist/{app-DH7q5VuL.js → app-C9kNrlAy.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/manager/menu/group.d.ts +1 -1
- package/dist/apps/mf-menu/src/manager/menu/groupImmutableFields.d.ts +9 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BR-paOgW.js → linked-status-Cp8FwUaT.js} +2 -2
- package/dist/assets/{menu-export-Dwpl4c_S.js → menu-export-C-OckA4f.js} +2 -2
- package/dist/assets/{override-menu-BS1DhRTo.js → override-menu-C2HTFVjX.js} +2 -2
- package/dist/assets/{validate-menu-B-YCNUDR.js → validate-menu-DDCTccO2.js} +2 -2
- package/dist/{catalog-DN1unMjl.js → catalog-CLMM1gFY.js} +1 -1
- package/dist/{catalogSetting-CI8dXYw5.js → catalogSetting-1TunwQ88.js} +1 -1
- package/dist/{currency-BFqLFFOP.js → currency-BLWl20fP.js} +1 -1
- package/dist/{dayjs.min-BXDB3ec6.js → dayjs.min-DHr1l5S_.js} +2 -2
- package/dist/{index-CYexEfd8.js → index-CN3s3H68.js} +5 -5
- package/dist/{index-CCKQLhW1.js → index-DEG0LWHU.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js → index.vue_vue_type_script_setup_true_lang-DtNW5Amu.js} +5 -5
- package/dist/{item-eua4dBDT.js → item-Be-o2PPD.js} +26 -26
- package/dist/{jszip.min-C10zcIsO.js → jszip.min-FmA4ZFsQ.js} +3 -3
- package/dist/{memberPricing-BlITNLhE.js → memberPricing-CMGWvEzf.js} +1 -1
- package/dist/{menu-C4vsCvFL.js → menu-CJc25kms.js} +1 -1
- package/dist/{menuV2-DB-VttRA.js → menuV2-Cwtxn2qd.js} +102 -102
- package/dist/{order_pacing-CDQ6wUL_.js → order_pacing-B2UTf2Yg.js} +5 -5
- package/dist/{priceTier-pJMZysfK.js → priceTier-BOG0g2nn.js} +1 -1
- package/dist/{rules-BScEYhiY.js → rules-k6RKEkjE.js} +3 -3
- package/dist/{scheduler-BTiyl-EY.js → scheduler-B5Cdeq45.js} +4 -4
- package/dist/{toExcel-CSdnEWqk.js → toExcel-D3InlPlu.js} +2 -2
- package/dist/{unit-BcPS3VM3.js → unit-BPpW2Pih.js} +2 -2
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { u as K, B as Q, z as j, D as H, y as X, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as $, A as
|
|
1
|
+
import { defineComponent as D, computed as f, ref as W, resolveComponent as w, createBlock as m, openBlock as l, unref as e, withCtx as p, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as C, createElementBlock as U, Fragment as L } from "vue";
|
|
2
|
+
import { D as E } from "./dayjs.min-DHr1l5S_.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-FmA4ZFsQ.js";
|
|
4
|
+
import { u as K, B as Q, z as j, D as H, y as X, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-DtNW5Amu.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BRuZqASN.js";
|
|
6
|
+
import { h as $, A as O } from "./app-C9kNrlAy.js";
|
|
7
7
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
8
|
-
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
8
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as T, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
9
|
+
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
|
+
import { _ as _e, a as q } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
11
|
import { _ as ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
-
import { u as ve, a as be } from "./menu-
|
|
13
|
-
import { u as ye } from "./item-
|
|
14
|
-
import { _ as
|
|
15
|
-
import { L as J } from "./LinkProductSideSheet-
|
|
16
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { m as he } from "./toExcel-
|
|
19
|
-
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */
|
|
12
|
+
import { u as ve, a as be } from "./menu-CJc25kms.js";
|
|
13
|
+
import { u as ye } from "./item-Be-o2PPD.js";
|
|
14
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-dsm976qc.js";
|
|
15
|
+
import { L as J } from "./LinkProductSideSheet-CcKpJzuu.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B5ENFjqy.js";
|
|
17
|
+
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BxUp8i1r.js";
|
|
18
|
+
import { m as he } from "./toExcel-D3InlPlu.js";
|
|
19
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ D({
|
|
20
20
|
__name: "ConfirmActionDialog",
|
|
21
21
|
props: {
|
|
22
22
|
description: {},
|
|
@@ -24,7 +24,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
24
24
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
25
25
|
},
|
|
26
26
|
setup(V) {
|
|
27
|
-
const n = V,
|
|
27
|
+
const n = V, _ = f(() => n.message.replace("[[value]]", n.value)), y = W(""), o = te(), { emitAction: k } = pe();
|
|
28
28
|
return (g, i) => {
|
|
29
29
|
const x = w("FmTextField"), S = w("FmButton"), v = w("FmForm");
|
|
30
30
|
return l(), m(v, {
|
|
@@ -34,7 +34,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
34
34
|
default: p(() => [
|
|
35
35
|
d("div", Me, [
|
|
36
36
|
d("div", null, Z(g.description), 1),
|
|
37
|
-
d("div", { innerHTML:
|
|
37
|
+
d("div", { innerHTML: _.value }, null, 8, Ce),
|
|
38
38
|
d("div", null, [
|
|
39
39
|
u(x, {
|
|
40
40
|
modelValue: y.value,
|
|
@@ -64,10 +64,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
64
64
|
}, 8, ["on-validation-success"]);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
}), $e = /* @__PURE__ */
|
|
67
|
+
}), $e = /* @__PURE__ */ D({
|
|
68
68
|
__name: "Migrate",
|
|
69
69
|
setup(V) {
|
|
70
|
-
const n = K(),
|
|
70
|
+
const n = K(), _ = ee(), y = ne(), { minor: o } = Q(y), k = W(!1), g = te();
|
|
71
71
|
async function i() {
|
|
72
72
|
x.value || k.value || g.open({
|
|
73
73
|
title: "Migrate to new version",
|
|
@@ -92,11 +92,11 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
92
92
|
);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
const x =
|
|
95
|
+
const x = f(() => {
|
|
96
96
|
var M;
|
|
97
|
-
if (((M =
|
|
97
|
+
if (((M = _.sessionUser.value) == null ? void 0 : M.role.isAdmin) === !0)
|
|
98
98
|
return null;
|
|
99
|
-
const v =
|
|
99
|
+
const v = _.restaurants.value;
|
|
100
100
|
if (!v.length) return "Required at least one restaurant to migrate";
|
|
101
101
|
const c = v.filter((b) => !b.posVersion || !j.Pos.canUse({ feature: H.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
102
102
|
return c.length ? `Upgrade POS to V${j.Pos.minVersionToUse(H.F_FEATURE.enum.menuV4)} to use new menu: ${c.map((b) => b.profile.name).join(", ")}` : null;
|
|
@@ -115,14 +115,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
115
115
|
})) : C("", !0);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
}), Ve = "/assets/menu-export-
|
|
118
|
+
}), Ve = "/assets/menu-export-C-OckA4f.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" }, Xe = /* @__PURE__ */ D({
|
|
119
119
|
__name: "Products",
|
|
120
120
|
setup(V) {
|
|
121
|
-
const { t: n } = de(),
|
|
121
|
+
const { t: n } = de(), _ = ee(), y = Q(ne()), o = K(), k = f(() => o.rules.item), g = ye(), i = f(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = f(() => ({
|
|
122
122
|
...le.menuV4ToV3(ue(o.state.menu)),
|
|
123
123
|
_id: o.state.menu._id,
|
|
124
124
|
_rev: o.state.menu._rev
|
|
125
|
-
})), v =
|
|
125
|
+
})), v = f(() => {
|
|
126
126
|
const r = R.flatten(x.value.map((t) => t.items));
|
|
127
127
|
return R.uniqBy(r, (t) => t._id).length;
|
|
128
128
|
});
|
|
@@ -146,7 +146,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
146
146
|
Ve,
|
|
147
147
|
JSON.stringify({
|
|
148
148
|
menu: r,
|
|
149
|
-
attributeSettings:
|
|
149
|
+
attributeSettings: _.itemAttributeSettings.value,
|
|
150
150
|
localizationKeys: o.state.featureFlags.supportedLocales
|
|
151
151
|
})
|
|
152
152
|
);
|
|
@@ -171,20 +171,20 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
171
171
|
handleSubmit: Y,
|
|
172
172
|
catalogManager: N,
|
|
173
173
|
schedulerManager: z
|
|
174
|
-
} = Se(!1), oe =
|
|
174
|
+
} = Se(!1), oe = fe(), ae = f(() => oe.breakpoints.value.xs), se = f(() => {
|
|
175
175
|
var a;
|
|
176
|
-
const r = ((a =
|
|
176
|
+
const r = ((a = _.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
177
177
|
action: $.Action.manage,
|
|
178
178
|
subject: $.Subject.Business.menu_menuManagement
|
|
179
179
|
};
|
|
180
|
-
return
|
|
181
|
-
}), P =
|
|
180
|
+
return O([t], r).granted;
|
|
181
|
+
}), P = f(() => {
|
|
182
182
|
var a;
|
|
183
|
-
const r = ((a =
|
|
183
|
+
const r = ((a = _.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
184
184
|
action: $.Action.manage,
|
|
185
185
|
subject: $.Subject.Business.menu_importExport
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return O([t], r).granted;
|
|
188
188
|
});
|
|
189
189
|
return be().resetOnMount(), (r, t) => {
|
|
190
190
|
const a = w("fm-button");
|
|
@@ -199,19 +199,19 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
199
199
|
d("div", Ae, [
|
|
200
200
|
d("div", Ee, [
|
|
201
201
|
d("div", Te, [
|
|
202
|
-
d("p",
|
|
202
|
+
d("p", Ie, Z(v.value), 1)
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
|
-
d("div",
|
|
206
|
-
ae.value ? (l(), m(
|
|
205
|
+
d("div", De, [
|
|
206
|
+
ae.value ? (l(), m(G, { key: 1 }, {
|
|
207
207
|
default: p(({ trigger: s }) => [
|
|
208
|
-
u(
|
|
208
|
+
u(_e, null, {
|
|
209
209
|
default: p(() => [
|
|
210
|
-
u(
|
|
210
|
+
u(q, {
|
|
211
211
|
label: e(n)("menu.products.actions.export"),
|
|
212
212
|
onClick: A
|
|
213
213
|
}, null, 8, ["label"]),
|
|
214
|
-
u(
|
|
214
|
+
u(q, {
|
|
215
215
|
label: e(n)("menu.products.actions.import"),
|
|
216
216
|
onClick: s
|
|
217
217
|
}, null, 8, ["label", "onClick"])
|
|
@@ -241,7 +241,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
241
241
|
label: e(n)("menu.products.actions.export"),
|
|
242
242
|
onClick: A
|
|
243
243
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
|
|
244
|
-
P.value ? (l(), m(
|
|
244
|
+
P.value ? (l(), m(G, { key: 2 }, {
|
|
245
245
|
default: p(({ trigger: s }) => [
|
|
246
246
|
u(a, {
|
|
247
247
|
"bg-color": e(h).NeutralGray100,
|
|
@@ -255,7 +255,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
255
255
|
})) : C("", !0)
|
|
256
256
|
], 64)),
|
|
257
257
|
v.value > 0 ? (l(), U(L, { key: 2 }, [
|
|
258
|
-
k.value.create ? (l(), m(
|
|
258
|
+
k.value.create ? (l(), m(I, {
|
|
259
259
|
key: 0,
|
|
260
260
|
label: e(n)("menu.products.actions.add"),
|
|
261
261
|
"prepend-icon": "add",
|
|
@@ -272,7 +272,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
272
272
|
onSubmit: e(Y)
|
|
273
273
|
}, {
|
|
274
274
|
default: p(({ trigger: s }) => [
|
|
275
|
-
u(
|
|
275
|
+
u(I, {
|
|
276
276
|
label: e(n)("menu.products.actions.link"),
|
|
277
277
|
"prepend-icon": "link",
|
|
278
278
|
onClick: s
|
|
@@ -291,7 +291,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
291
291
|
onSubmit: e(Y)
|
|
292
292
|
}, {
|
|
293
293
|
default: p(({ trigger: s }) => [
|
|
294
|
-
u(
|
|
294
|
+
u(I, {
|
|
295
295
|
label: e(n)("menu.products.actions.apply_scheduler"),
|
|
296
296
|
onClick: s
|
|
297
297
|
}, null, 8, ["label", "onClick"])
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, ref as P, computed as D, 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 z, 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 E } from "./dayjs.min-
|
|
2
|
+
import { D as E } from "./dayjs.min-DHr1l5S_.js";
|
|
3
3
|
import { useRouter as ze } from "vue-router";
|
|
4
4
|
import { O as Ee, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-DtNW5Amu.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 Ge, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as We } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Qe } from "./app-
|
|
9
|
+
import { _ as Qe } from "./app-C9kNrlAy.js";
|
|
10
10
|
import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as Fe } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -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 P, 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 { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-C9kNrlAy.js";
|
|
6
|
+
import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-DtNW5Amu.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-BueqvvrP.js";
|
|
10
10
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-BPpW2Pih.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-COG3i-xY.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 = {
|