@feedmepos/mf-menu 0.32.63-dev.2 → 0.32.63-dev.4
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-C1a1LT6q.js → App-D8wf-3gk.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CRZjxBH8.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BBMuf15P.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DsicZfqa.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CR7AGqfY.js} +3 -3
- package/dist/{Catalog-CFH82IzQ.js → Catalog-Dzs2obez.js} +6 -6
- package/dist/{Category-DcHgLPzL.js → Category-CF-bfcWZ.js} +4 -4
- package/dist/{Category-Bmq8Dyqn.js → Category-CRG_zlyN.js} +4 -4
- package/dist/{CookingGuide-g7cIlLFa.js → CookingGuide-CumoLERq.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DGMoRxxQ.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Cw0LfYWI.js} +1 -1
- package/dist/{Group-DQ4S03dQ.js → Group-Bl6IXiL5.js} +1 -1
- package/dist/{Group-CFxq6Jwg.js → Group-XPHRRll5.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-Criwjsgq.js → Group.vue_vue_type_script_setup_true_lang-Dp41u-9T.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-nnzPpKcA.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DBim4X7-.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CanCWSih.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-AK0_2AOY.js} +7 -7
- package/dist/{Ingredient-BUWk8yVD.js → Ingredient-BBi88auU.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DBMUbP3d.js → InventoryBinding.vue_vue_type_script_setup_true_lang-D8C0do_V.js} +2 -2
- package/dist/{LinkProductSideSheet-D_ewAtdl.js → LinkProductSideSheet-BQc-iCkQ.js} +4 -4
- package/dist/{MenuSetting-DgaIhn51.js → MenuSetting-FTo1hoSN.js} +7 -7
- package/dist/{OrderPacing-CUHfN9Hy.js → OrderPacing-BUcd8nJm.js} +5 -5
- package/dist/{PrintRoute-CFxcyI3r.js → PrintRoute-DUnqYpDY.js} +5 -5
- package/dist/{Product-ChWP4DlN.js → Product-5jToTVxL.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Df0hOAaW.js → Product.vue_vue_type_script_setup_true_lang-CvUR3VeZ.js} +13 -13
- package/dist/{ProductInternalTools--PMoNgk2.js → ProductInternalTools-DVo8n6WR.js} +6 -6
- package/dist/{Products-D3yOg_rD.js → Products-74l_V3s-.js} +40 -40
- package/dist/{Publish-C5pI3ARw.js → Publish-C_N7lkj5.js} +4 -4
- package/dist/{Recipe-ClV7xDMI.js → Recipe-Ds_84fu9.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BWZJOF7c.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B1wtDQ9P.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-_lhdiLQO.js → RuleView.vue_vue_type_script_setup_true_lang-ntxQXlpV.js} +188 -188
- package/dist/{Scheduler-B4gXNQFu.js → Scheduler--pD1opc1.js} +3 -3
- package/dist/{ServingSequence-DQ9LvurM.js → ServingSequence-B3xxkMbp.js} +3 -3
- package/dist/{Setting-D659-DYQ.js → Setting-GBA945nB.js} +5 -5
- package/dist/{Subcategory-CldSh8My.js → Subcategory-BikyD-je.js} +6 -6
- package/dist/{Takeaway-za5OSOvm.js → Takeaway-DqDIobRV.js} +1 -1
- package/dist/{Takeaway-B5MvIP-7.js → Takeaway-XPKWPa1W.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BhoK4wib.js → Takeaway.vue_vue_type_script_setup_true_lang-CJG-SwOd.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-Bl3WgQNK.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-ogrcEhDA.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DkWRL-y_.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BZfaB7Vl.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Tox1yfD-.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DaSfi9fx.js} +14 -14
- package/dist/{Unit-CMEF528D.js → Unit-yJJmRvha.js} +2 -2
- package/dist/{Variant-37cAL8NO.js → Variant-DcCYBJS2.js} +3 -3
- package/dist/{_id_-c4e1Ngjk.js → _id_-BpkYdn5i.js} +9 -9
- package/dist/{app-Dafn3Z5r.js → app-BMI3O5C9.js} +32 -32
- package/dist/{app-Cb9EXiAF.js → app-BzMTHTrI.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ManageImageDrawer.vue.d.ts +18 -2
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/manager/menu/itemOverrider.d.ts +17 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +0 -1
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductDetail.vue.d.ts +9 -3
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-C21YmN7u.js → linked-status-C8NLd-zI.js} +4 -4
- package/dist/assets/{menu-export-MsUq-m6i.js → menu-export-hXupkCVZ.js} +4 -4
- package/dist/assets/{linked-status-Cy7U6MR7.js → override-menu-CwJOJV2k.js} +4 -4
- package/dist/assets/{validate-menu-DO2qd1Ls.js → validate-menu-BrXEl7Mi.js} +4 -4
- package/dist/{catalog-CZzcvExG.js → catalog-L2sdRcQf.js} +1 -1
- package/dist/{catalogSetting-3iBsVbtC.js → catalogSetting-CGSmZhMj.js} +1 -1
- package/dist/{currency-C3o78W2S.js → currency-QIXheiUu.js} +1 -1
- package/dist/{dayjs.min-rFrrfcXf.js → dayjs.min-CGH3EzsL.js} +2 -2
- package/dist/{discardConfirm-DsprInGX.js → discardConfirm-B61hQjlH.js} +1 -1
- package/dist/{index-CyeAgLyq.js → index-CUcUva0h.js} +6 -6
- package/dist/{index-DSIKxrZZ.js → index-DCSeBwkM.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-DKab6bV3.js → index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js} +6 -6
- package/dist/{item-BbwU7bUM.js → item-BMyRZqY8.js} +4416 -4405
- package/dist/{jszip.min-B8gSnxra.js → jszip.min-BaD6pNmW.js} +3 -3
- package/dist/{linkProducts-DqErRFMk.js → linkProducts-CqH6KCgg.js} +4 -4
- package/dist/{memberPricing-BwmMrsfo.js → memberPricing-DNAuPva3.js} +1 -1
- package/dist/{menu-umI9Z6Bd.js → menu-BNrZkzpK.js} +1 -1
- package/dist/{menuV2-Btcob7OV.js → menuV2-D1bGhwPG.js} +267 -262
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-ByU4f3cV.js → order_pacing-CmC9xxja.js} +5 -5
- package/dist/{priceTier-vHrePqH1.js → priceTier-DZ5JRGkT.js} +1 -1
- package/dist/{rules-B4FvBggj.js → rules-B2yeUFyY.js} +3 -3
- package/dist/{scheduler-1ZBJNxij.js → scheduler-DVKJQGbT.js} +5 -5
- package/dist/{toExcel-C8Nsh1v6.js → toExcel-D8feJ9ZC.js} +2 -2
- package/dist/{unit-RNGe0YzY.js → unit-DI5JogzR.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-BaD6pNmW.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-B61hQjlH.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-BVBi4Vvc.js";
|
|
7
7
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as pe, a as ge } from "./menu-
|
|
9
|
-
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-
|
|
8
|
+
import { u as pe, a as ge } from "./menu-BNrZkzpK.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-CvUR3VeZ.js";
|
|
10
|
+
import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-BMyRZqY8.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"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as B, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as
|
|
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 K, b 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 w, createElementBlock as U, Fragment as z } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-CGH3EzsL.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-BaD6pNmW.js";
|
|
4
|
+
import { l as R } from "./discardConfirm-B61hQjlH.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-AK0_2AOY.js";
|
|
6
|
+
import { h as V, A as j } from "./app-BMI3O5C9.js";
|
|
7
|
+
import { u as K, b as X, a as H, e as q, F as Q, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.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 h } 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-BNrZkzpK.js";
|
|
14
|
+
import { w as ye } from "./item-BMyRZqY8.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-CvUR3VeZ.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-BQc-iCkQ.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DaSfi9fx.js";
|
|
18
|
+
import { u as he } from "./linkProducts-CqH6KCgg.js";
|
|
19
|
+
import { m as Se } from "./toExcel-D8feJ9ZC.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,11 +25,11 @@ 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: S } = 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(S)("primary"),
|
|
33
33
|
"blame-form-child-on-validation-failed": ""
|
|
34
34
|
}, {
|
|
35
35
|
default: f(() => [
|
|
@@ -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 = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor:
|
|
71
|
+
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: S } = X(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 S(
|
|
82
82
|
async () => {
|
|
83
83
|
await n.migrate(), setTimeout(() => {
|
|
84
84
|
window.location.reload();
|
|
@@ -104,7 +104,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
104
104
|
});
|
|
105
105
|
return (x, c) => {
|
|
106
106
|
const b = F("FmSnackbar");
|
|
107
|
-
return !e(k) && !g.value && e(n).version !== e(
|
|
107
|
+
return !e(k) && !g.value && e(n).version !== e(Q).enum.v4 ? (l(), m(b, {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "!max-w-full",
|
|
110
110
|
title: "New version of menu is out now!",
|
|
@@ -116,10 +116,10 @@ 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-hXupkCVZ.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 =
|
|
122
|
+
const { t: n } = de(), p = ee(), k = X(ne()), o = K(), S = _(() => 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
|
|
@@ -137,7 +137,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
137
137
|
async function b() {
|
|
138
138
|
await k.minor(
|
|
139
139
|
async () => {
|
|
140
|
-
if (await o.readMenu(), o.version ===
|
|
140
|
+
if (await o.readMenu(), o.version === Q.enum.v4) {
|
|
141
141
|
const i = o.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
|
|
142
142
|
`menu_${t}`,
|
|
143
143
|
`addonGroup_${t}`,
|
|
@@ -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 = Se(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,
|
|
@@ -171,15 +171,15 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
171
171
|
linkItemRules: y,
|
|
172
172
|
handleSubmit: Y,
|
|
173
173
|
catalogManager: N,
|
|
174
|
-
schedulerManager:
|
|
175
|
-
} =
|
|
174
|
+
schedulerManager: L
|
|
175
|
+
} = he(!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,
|
|
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,
|
|
@@ -221,32 +221,32 @@ 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(h).NeutralGray100,
|
|
230
|
+
"text-color": e(h).TypoSecondary,
|
|
231
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
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(h).NeutralGray100,
|
|
240
|
+
"text-color": e(h).TypoSecondary,
|
|
241
241
|
variant: e(I).Primary,
|
|
242
242
|
label: e(n)("menu.products.actions.export"),
|
|
243
243
|
onClick: b
|
|
244
244
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
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(h).NeutralGray100,
|
|
249
|
+
"text-color": e(h).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
|
+
S.value.create ? (l(), m(D, {
|
|
260
260
|
key: 0,
|
|
261
261
|
label: e(n)("menu.products.actions.add"),
|
|
262
262
|
"prepend-icon": "add",
|
|
@@ -282,8 +282,8 @@ 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
289
|
categories: e(C),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as M, computed as A, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as E, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
|
|
2
|
-
import { D as z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-CGH3EzsL.js";
|
|
3
3
|
import { useRouter as Ee } from "vue-router";
|
|
4
4
|
import { O as ze, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as fe, useDialogChild as qe, useProxiedModel as Ge, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as Je } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as We } from "./app-
|
|
9
|
+
import { _ as We } from "./app-BMI3O5C9.js";
|
|
10
10
|
import { a as Qe, w as Xe } from "./tooltip-B5BiPMx9.js";
|
|
11
|
-
import { u as Fe, l as Ze } from "./discardConfirm-
|
|
11
|
+
import { u as Fe, l as Ze } from "./discardConfirm-B61hQjlH.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function Me(D) {
|
|
14
14
|
return D ? z(D).format("DD/MM/YY HH:mm") : "-";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as le } from "./app-
|
|
6
|
-
import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-BMI3O5C9.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-BVBi4Vvc.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-D8C0do_V.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-B61hQjlH.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-DI5JogzR.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-ntxQXlpV.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 = {
|