@feedmepos/mf-menu 0.32.74-dev.2 → 0.32.75
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-BZJOUASB.js → App-YaDbyXlx.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DzjeYfsJ.js → ApplyProduct.vue_vue_type_script_setup_true_lang-wWqpjocP.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-eor0uw1Y.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DSXpJSSx.js} +3 -3
- package/dist/{Catalog-D0umhJUp.js → Catalog-Coh7Tx2f.js} +6 -6
- package/dist/{Category-CJmrsNBN.js → Category-Csd5cNhi.js} +4 -4
- package/dist/{Category-Bv5dZoqU.js → Category-wd16ogWA.js} +4 -4
- package/dist/{CookingGuide-Bh5p7H6A.js → CookingGuide-Cwm624Vt.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BTHIfVPy.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-3X1Uy3Nq.js} +1 -1
- package/dist/{Group-CmFBND8g.js → Group-CW7TqMHX.js} +1 -1
- package/dist/{Group-C8Q1IzVZ.js → Group-CpN83xB6.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-B7GbWmBQ.js → Group.vue_vue_type_script_setup_true_lang-CkDQXjok.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D2UVK2TK.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Bes_ab12.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-B9ZqKykt.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DN2IlJSu.js} +7 -7
- package/dist/{Ingredient-BpmjZsq4.js → Ingredient-CCB1CXn0.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BurM3XXk.js → InventoryBinding.vue_vue_type_script_setup_true_lang-ClIUh76b.js} +2 -2
- package/dist/{LinkProductSideSheet-B-t5u8nb.js → LinkProductSideSheet-ByEP31am.js} +4 -4
- package/dist/{MenuSetting-Db2aNWHK.js → MenuSetting-DnUpiccU.js} +7 -7
- package/dist/{OrderPacing-DU2DHxAo.js → OrderPacing-CsjUHHTE.js} +5 -5
- package/dist/{PrintRoute-DS8Lx8Ri.js → PrintRoute-BulkJjHF.js} +5 -5
- package/dist/{Product-CksOjTKQ.js → Product-DiZ3Ivxr.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-70WBdgsM.js → Product.vue_vue_type_script_setup_true_lang-CSDIqhhW.js} +14 -14
- package/dist/{ProductInternalTools-DswBFeOb.js → ProductInternalTools-BYlVetAt.js} +6 -6
- package/dist/{Products-CD5n0Ltb.js → Products-DPAYyrk_.js} +36 -36
- package/dist/{Publish-CFAsGvpA.js → Publish-CvKptEmK.js} +4 -4
- package/dist/{Recipe-CZR9PxpD.js → Recipe-CmKXW4lc.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-ButQyFDb.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-PfEb-ZpI.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DvX2UUYM.js → RuleView.vue_vue_type_script_setup_true_lang-BUeA0jiF.js} +211 -211
- package/dist/{Scheduler-BGWwvr3d.js → Scheduler-DsXMul0L.js} +3 -3
- package/dist/{ServingSequence-CoLqEMgr.js → ServingSequence-NxLGJERU.js} +3 -3
- package/dist/{Setting-BDuqIiz2.js → Setting-Cvhgv8cY.js} +5 -5
- package/dist/{Subcategory-CKuQ2pml.js → Subcategory-B3zwNI1N.js} +6 -6
- package/dist/{Takeaway-Dt7S6z9Y.js → Takeaway-DBZsorSb.js} +4 -4
- package/dist/{Takeaway-DUn4mRZx.js → Takeaway-DksB3yNY.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BVJlUn1u.js → Takeaway.vue_vue_type_script_setup_true_lang-DBEqnwFT.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-r8nutWvj.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-VgKm5LXU.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CF6FVQdM.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-5b9JTlqf.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BH5-P0Kt.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BgtA41z-.js} +15 -15
- package/dist/{Unit-sZHi2Guy.js → Unit-gBTrgDix.js} +2 -2
- package/dist/{Variant-vmPBmjkL.js → Variant-NTNd7lHW.js} +3 -3
- package/dist/{_id_-G5xT-CDM.js → _id_-COkNC1uU.js} +10 -10
- package/dist/{app-BCiY6nMZ.js → app-DE92r95F.js} +32 -32
- package/dist/{app-CQQONQx1.js → app-DI-lXR40.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-CmqY9Tc2.js → linked-status-Pgn_yaVE.js} +3 -3
- package/dist/assets/{menu-export-RVHhfZC0.js → menu-export-0Ai3sc0K.js} +3 -3
- package/dist/assets/{linked-status-CWeGw11g.js → override-menu-CsIMTk8M.js} +3 -3
- package/dist/assets/{validate-menu-C_e-tlnW.js → validate-menu-Dtba61qB.js} +2 -2
- package/dist/{catalog-Dn80bXkC.js → catalog-CNIYguO2.js} +1 -1
- package/dist/{catalogSetting-XIo6mkWP.js → catalogSetting-Cl-SOFcR.js} +1 -1
- package/dist/{currency-BgSIYyGK.js → currency-BKguk5Ng.js} +1 -1
- package/dist/{dayjs.min-ByUWJqU9.js → dayjs.min-BBajhvYZ.js} +2 -2
- package/dist/{discardConfirm-DoHu8ey7.js → discardConfirm-BS9HO265.js} +1 -1
- package/dist/{index-B3VNODTK.js → index-BPgTIvxD.js} +5 -5
- package/dist/{index-C7BxlGX6.js → index-CfDpRDeF.js} +1 -1
- package/dist/{index-MADgW2jB.js → index-CoLyTKBO.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-DAAzVaVe.js → index.vue_vue_type_script_setup_true_lang-Dx_siIYV.js} +439 -439
- package/dist/{item-BrzBNpuQ.js → item-BuSRhXS8.js} +1178 -1178
- package/dist/{jszip.min-Cy3k9Boh.js → jszip.min-C11vGH5X.js} +384 -384
- package/dist/{linkProducts-EknVvUC0.js → linkProducts-CF5SrJOW.js} +4 -4
- package/dist/{memberPricing-CDcaR7Xz.js → memberPricing-CDdwfWJ1.js} +1 -1
- package/dist/{menu-CIN8mtZY.js → menu-Dkjz_SHU.js} +1 -1
- package/dist/{menuV2-iONFEnvV.js → menuV2-BSjbQBsw.js} +58 -58
- package/dist/{order_pacing-C-cVrKAt.js → order_pacing-BcRXH_I-.js} +5 -5
- package/dist/{priceTier-Nhz0AAh5.js → priceTier-C-FRMh_E.js} +1 -1
- package/dist/{rules-CwKc3N3r.js → rules-Ctdz5qdf.js} +3 -3
- package/dist/{scheduler-DvQ0P3PV.js → scheduler-Dwvr3-qt.js} +5 -5
- package/dist/{toExcel-4gZ8GSKd.js → toExcel-CcqHERvj.js} +2 -2
- package/dist/{unit-CmIuFFl0.js → unit-LMuidJGG.js} +3 -3
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as q, ref as v, computed as z, resolveComponent as G, createElementBlock as c, openBlock as i, createElementVNode as s, createVNode as k, unref as h, createCommentVNode as B, normalizeClass as R, toDisplayString as $, createStaticVNode as A, Fragment as T, renderList as O, createBlock as re, withCtx as D } from "vue";
|
|
2
|
-
import { J as V, F as ie } from "./jszip.min-
|
|
3
|
-
import { l as Z } from "./discardConfirm-
|
|
2
|
+
import { J as V, F as ie } from "./jszip.min-C11vGH5X.js";
|
|
3
|
+
import { l as Z } from "./discardConfirm-BS9HO265.js";
|
|
4
4
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as P, useSnackbar as W, useDialog as de, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
6
|
-
import { b as me, u as ue, p as pe, x as ge, y as fe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { b as me, u as ue, p as pe, x as ge, y as fe } from "./index.vue_vue_type_script_setup_true_lang-Dx_siIYV.js";
|
|
7
7
|
import { _ as he } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as be, a as ye } from "./menu-
|
|
9
|
-
import { a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { af as _e, ag as we, ah as xe, ai as Ie, aj as ke } from "./item-
|
|
8
|
+
import { u as be, a as ye } from "./menu-Dkjz_SHU.js";
|
|
9
|
+
import { a as ve } from "./Product.vue_vue_type_script_setup_true_lang-CSDIqhhW.js";
|
|
10
|
+
import { af as _e, ag as we, ah as xe, ai as Ie, aj as ke } from "./item-BuSRhXS8.js";
|
|
11
11
|
const Ce = { class: "h-full flex flex-col" }, Ue = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, je = { class: "flex gap-8" }, $e = { class: "border-b border-gray-200" }, Fe = { class: "flex" }, Se = { class: "flex-1 overflow-hidden" }, Me = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "h-full flex flex-col"
|
|
@@ -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
|
|
2
|
-
import { D as T } 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 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 K, createVNode as u, createCommentVNode as w, createElementBlock as U, Fragment as z } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-BBajhvYZ.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-C11vGH5X.js";
|
|
4
|
+
import { l as R } from "./discardConfirm-BS9HO265.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DN2IlJSu.js";
|
|
6
|
+
import { h as V, A as j } from "./app-DE92r95F.js";
|
|
7
|
+
import { u as Z, 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-Dx_siIYV.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 I, FmButtonColorThemeVariant 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
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
|
|
19
|
-
import { m as
|
|
13
|
+
import { u as ge, a as be } from "./menu-Dkjz_SHU.js";
|
|
14
|
+
import { w as ye } from "./item-BuSRhXS8.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-CSDIqhhW.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-ByEP31am.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BgtA41z-.js";
|
|
18
|
+
import { u as Se } from "./linkProducts-CF5SrJOW.js";
|
|
19
|
+
import { m as he } from "./toExcel-CcqHERvj.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: {
|
|
@@ -25,16 +25,16 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
25
25
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
26
26
|
},
|
|
27
27
|
setup(A) {
|
|
28
|
-
const n = A, p = _(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction:
|
|
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, {
|
|
32
|
-
"on-validation-success": () => e(
|
|
32
|
+
"on-validation-success": () => e(h)("primary"),
|
|
33
33
|
"blame-form-child-on-validation-failed": ""
|
|
34
34
|
}, {
|
|
35
35
|
default: f(() => [
|
|
36
36
|
d("div", Me, [
|
|
37
|
-
d("div", null,
|
|
37
|
+
d("div", null, K(v.description), 1),
|
|
38
38
|
d("div", { innerHTML: p.value }, null, 8, Ce),
|
|
39
39
|
d("div", null, [
|
|
40
40
|
u(M, {
|
|
@@ -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 = Z(), 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",
|
|
@@ -78,7 +78,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
78
78
|
description: "Do you want to migrate to new version? Once migrate it will unable to revert to the older version."
|
|
79
79
|
}
|
|
80
80
|
}).onPrimary(async () => {
|
|
81
|
-
r.close(), await
|
|
81
|
+
r.close(), await h(
|
|
82
82
|
async () => {
|
|
83
83
|
await n.migrate(), setTimeout(() => {
|
|
84
84
|
window.location.reload();
|
|
@@ -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-0Ai3sc0K.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 = Z(), 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();
|
|
@@ -153,7 +153,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
153
153
|
);
|
|
154
154
|
await c(s, a);
|
|
155
155
|
} else {
|
|
156
|
-
const i =
|
|
156
|
+
const i = he(g.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
|
|
157
157
|
await le(i, `${t}.xlsx`, {
|
|
158
158
|
bookType: "xlsx",
|
|
159
159
|
bookSST: !0,
|
|
@@ -172,7 +172,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
172
172
|
handleSubmit: Y,
|
|
173
173
|
catalogManager: N,
|
|
174
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 = {
|
|
178
178
|
action: V.Action.manage,
|
|
@@ -200,7 +200,7 @@ 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", Ie,
|
|
203
|
+
d("p", Ie, K(x.value), 1)
|
|
204
204
|
])
|
|
205
205
|
]),
|
|
206
206
|
d("div", De, [
|
|
@@ -221,13 +221,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
221
221
|
}, 1024)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
|
-
})) : (l(),
|
|
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
|
-
"bg-color": e(
|
|
230
|
-
"text-color": e(
|
|
229
|
+
"bg-color": e(S).NeutralGray100,
|
|
230
|
+
"text-color": e(S).TypoSecondary,
|
|
231
231
|
variant: e(I).Primary,
|
|
232
232
|
onClick: s
|
|
233
233
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
@@ -236,8 +236,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
236
236
|
})) : w("", !0),
|
|
237
237
|
P.value ? (l(), m(a, {
|
|
238
238
|
key: 1,
|
|
239
|
-
"bg-color": e(
|
|
240
|
-
"text-color": e(
|
|
239
|
+
"bg-color": e(S).NeutralGray100,
|
|
240
|
+
"text-color": e(S).TypoSecondary,
|
|
241
241
|
variant: e(I).Primary,
|
|
242
242
|
label: e(n)("menu.products.actions.export"),
|
|
243
243
|
onClick: b
|
|
@@ -245,8 +245,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
245
245
|
P.value ? (l(), m(G, { key: 2 }, {
|
|
246
246
|
default: f(({ trigger: s }) => [
|
|
247
247
|
u(a, {
|
|
248
|
-
"bg-color": e(
|
|
249
|
-
"text-color": e(
|
|
248
|
+
"bg-color": e(S).NeutralGray100,
|
|
249
|
+
"text-color": e(S).TypoSecondary,
|
|
250
250
|
variant: e(I).Primary,
|
|
251
251
|
label: e(n)("menu.products.actions.import"),
|
|
252
252
|
onClick: s
|
|
@@ -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(),
|
|
259
|
-
|
|
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",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as M, computed as $, onMounted as we, resolveComponent as A, createElementBlock as N, openBlock as C, createVNode as _, createElementVNode as h, toDisplayString as K, unref as p, Fragment as H, renderList as te, createBlock as W, watch as Re, withCtx as j, h as E, normalizeClass as ke, createCommentVNode as ae, createTextVNode as Me, mergeProps as Ye, normalizeStyle as Je, renderSlot as We, withModifiers as re, onUnmounted as Qe } from "vue";
|
|
2
2
|
import { useRouter as Xe } from "vue-router";
|
|
3
3
|
import { O as Ze, b as et } from "./app-5fxKLAzS.js";
|
|
4
|
-
import { a as tt, e as at, b as De, N as lt, _ as Oe, O as z, u as Ue, d as Ne, F as st } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as tt, e as at, b as De, N as lt, _ as Oe, O as z, u as Ue, d as Ne, F as st } from "./index.vue_vue_type_script_setup_true_lang-Dx_siIYV.js";
|
|
5
5
|
import { formatDateTime as ie, useI18n as le, useAppLocale as ce, useCoreStore as xe, RestaurantSelector as Te, prefersHour12 as nt } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as Se, useDialogChild as ot, useProxiedModel as ut, useDialog as Be, components as oe, FmButtonVariant as $e } from "@feedmepos/ui-library";
|
|
7
7
|
import { _ as rt } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
|
-
import { _ as it } from "./app-
|
|
8
|
+
import { _ as it } from "./app-DE92r95F.js";
|
|
9
9
|
import { a as ct, w as dt } from "./tooltip-B5BiPMx9.js";
|
|
10
|
-
import { D as q } from "./dayjs.min-
|
|
11
|
-
import { u as Ee, l as mt } from "./discardConfirm-
|
|
10
|
+
import { D as q } from "./dayjs.min-BBajhvYZ.js";
|
|
11
|
+
import { u as Ee, l as mt } from "./discardConfirm-BS9HO265.js";
|
|
12
12
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { r as pt } from "./publishMeta-CAbjnmmS.js";
|
|
14
14
|
function ze(V, v, l) {
|
|
@@ -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-DE92r95F.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-Dx_siIYV.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-ClIUh76b.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-BS9HO265.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-LMuidJGG.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-BUeA0jiF.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 = {
|