@feedmepos/mf-menu 0.32.63-dev.1 → 0.32.63-dev.3
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-DhfTGlgM.js → App-DHxlR--3.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C5-8qdJK.js → ApplyProduct.vue_vue_type_script_setup_true_lang-6noIwjis.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CXm-0H18.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CMI2Nh0n.js} +3 -3
- package/dist/{Catalog-WuZJfM6l.js → Catalog-B-S0gygH.js} +22 -22
- package/dist/{Category-BeIo7XWY.js → Category-DGDddfLx.js} +4 -4
- package/dist/{Category-D-cQQCPS.js → Category-DOhNama9.js} +4 -4
- package/dist/{CookingGuide-B-yvD9ZA.js → CookingGuide-CUR57F4P.js} +29 -29
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-2_yzXoa4.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-bIONGM6k.js} +1 -1
- package/dist/{Group-CY8lUzQG.js → Group-BsGJ0omP.js} +1 -1
- package/dist/{Group-13i5igrS.js → Group-z-0jQPCd.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DZhxy0tb.js → Group.vue_vue_type_script_setup_true_lang-bBWkJ2Hx.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CWqv-oUd.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BbqcH4sM.js} +19 -19
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CVGilzd0.js} +4210 -4210
- package/dist/{Ingredient-vrUOW6gk.js → Ingredient-D38IVDXK.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-xcVjRjqD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CKmyz9CP.js} +2 -2
- package/dist/{LinkProductSideSheet-DMbJG6wf.js → LinkProductSideSheet-DsBA_o9g.js} +4 -4
- package/dist/{MenuSetting-Di2xwm00.js → MenuSetting-D-tln58o.js} +7 -7
- package/dist/{OrderPacing-CCe-IcGO.js → OrderPacing-BdCEHKD9.js} +7 -7
- package/dist/{PrintRoute-CcfObcHY.js → PrintRoute-DKFMqyeI.js} +10 -10
- package/dist/{Product-ChUVnMgG.js → Product-Dzo4ljes.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js → Product.vue_vue_type_script_setup_true_lang-BtE2aiwU.js} +58 -58
- package/dist/{ProductInternalTools-D9HXhgo5.js → ProductInternalTools-Z6XR4zko.js} +14 -14
- package/dist/{Products-Bly2ktEC.js → Products-CCo675Ee.js} +63 -63
- package/dist/{Publish-C8ubb8Qf.js → Publish-tixV8Of1.js} +107 -107
- package/dist/{Recipe-BpMRLsyO.js → Recipe-V9kzxmlf.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BD5OCDRn.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DBhAzVz3.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js → RuleView.vue_vue_type_script_setup_true_lang-D9DqmAVY.js} +3 -3
- package/dist/{Scheduler-CiB4b2Fn.js → Scheduler-0UpDGQKJ.js} +17 -17
- package/dist/{ServingSequence-BlcyW-dv.js → ServingSequence-CutiXht7.js} +3 -3
- package/dist/{Setting-DqkL6YYU.js → Setting-jyYmoDiq.js} +5 -5
- package/dist/{Subcategory-B4Jg_wtT.js → Subcategory-CQSKOLjU.js} +10 -10
- package/dist/{Takeaway-5G3f7jWT.js → Takeaway-CQ0m09TB.js} +1 -1
- package/dist/{Takeaway-5rFPYYNA.js → Takeaway-DeCthkOI.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CVsOhg_E.js → Takeaway.vue_vue_type_script_setup_true_lang-FHE6oQ0d.js} +7 -7
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CPqxA6JD.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-D9Ga3fOj.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-yrNuTD-3.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bz32rpvX.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DCPGAyOm.js +5858 -0
- package/dist/{Unit-CAkdmQLg.js → Unit-_XiPfauV.js} +2 -2
- package/dist/{Variant-BbLQqbAK.js → Variant-DfdMywhn.js} +6 -6
- package/dist/{_id_-Dzacr40I.js → _id_-Yj5av4B4.js} +12 -12
- package/dist/{app-4yWs09Fr.js → app-BcGgfvbE.js} +102 -102
- package/dist/{app-Deov1985.js → app-CqdVluGs.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/media.d.ts +10 -3
- package/dist/apps/mf-menu/src/app.d.ts +60 -10
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +67 -21
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ManageImageDrawer.vue.d.ts +33 -3
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +31 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/RegenerateImageDialog.vue.d.ts +10 -0
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +22 -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/{linked-status-B2WLhKkV.js → linked-status-DdDQXL8Y.js} +3 -3
- package/dist/assets/{menu-export-Dcw5a_dN.js → menu-export-CK5bJyLT.js} +4 -4
- package/dist/assets/{override-menu-cBe2aMY6.js → override-menu-CHL7Bynw.js} +3 -3
- package/dist/assets/{validate-menu-BM-5GK85.js → validate-menu-g2fslPcE.js} +2 -2
- package/dist/{catalog-DKygS2Cs.js → catalog-B_yk-l1-.js} +1 -1
- package/dist/{catalogSetting-Bn2TplvM.js → catalogSetting-Dl7uIiJm.js} +1 -1
- package/dist/{currency-DXgNHtK8.js → currency-BpjSDqef.js} +1 -1
- package/dist/dayjs.min-CVH5LqOA.js +7 -0
- package/dist/{discardConfirm-DZwzKO-Q.js → discardConfirm-fCmrAVO1.js} +1 -1
- package/dist/{index-K-MBqJJo.js → index-CD_omf3p.js} +1 -1
- package/dist/{index-B48KLyqg.js → index-Cru6sUb6.js} +5 -5
- package/dist/{index-BEocaqRK.js → index-LYc0WKDO.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-Nl505vPi.js → index.vue_vue_type_script_setup_true_lang-qgDBinUn.js} +7932 -7868
- package/dist/{item-Da3ArD-G.js → item-EPxRgVm0.js} +4904 -4654
- package/dist/{jszip.min-Cc2eR4Cq.js → jszip.min-CNgWv4I3.js} +52 -52
- package/dist/{linkProducts-GNuUxFEE.js → linkProducts-DvQ0oP1V.js} +6 -6
- package/dist/{memberPricing-T-jr7tn1.js → memberPricing-deWSH2K0.js} +1 -1
- package/dist/{menu-DSDRAil-.js → menu-DKJ7olgK.js} +1 -1
- package/dist/{menuV2-fTlJdjxi.js → menuV2-CB3eZiiP.js} +318 -313
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-Dgo1fySS.js → order_pacing-DvP19Nxa.js} +5 -5
- package/dist/{priceTier-aT_gIfrN.js → priceTier-DyxDcoSh.js} +1 -1
- package/dist/{rules-Cx2hkV20.js → rules-GmuBnHtU.js} +3 -3
- package/dist/{scheduler-Bd-q7yF8.js → scheduler-BWAzMbPl.js} +28 -28
- package/dist/{toExcel-qfjR83qT.js → toExcel-BMOGsD6n.js} +2 -2
- package/dist/{unit-n1T9grbM.js → unit-BCREKGn9.js} +24 -24
- package/package.json +1 -1
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-T71R68sq.js +0 -5836
- package/dist/dayjs.min-DpX65tgj.js +0 -7
|
@@ -2,9 +2,9 @@ import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as
|
|
|
2
2
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as K, components as R, useBreakpoints as D, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { b as A, u as G, _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as A, u as G, _ as H } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
6
6
|
import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { u as O, U as P } from "./unit-
|
|
7
|
+
import { u as O, U as P } from "./unit-BCREKGn9.js";
|
|
8
8
|
const Q = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "h-[600px]"
|
|
@@ -2,9 +2,9 @@ import { getCurrentInstance as A, defineComponent as T, computed as b, onMounted
|
|
|
2
2
|
import { useI18n as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as G, useSnackbar as D, FmButtonVariant as L, components as q, useBreakpoints as H } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as J } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as Q } from "./app-
|
|
6
|
-
import { b as K,
|
|
7
|
-
import { V as E } from "./index-
|
|
5
|
+
import { _ as Q } from "./app-BcGgfvbE.js";
|
|
6
|
+
import { b as K, i as O, u as P, g as W, h as X, _ as Z } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
7
|
+
import { V as E } from "./index-Cru6sUb6.js";
|
|
8
8
|
import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
import { _ as ae } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
10
10
|
import { u as oe } from "./search-BAPEUu1R.js";
|
|
@@ -12,8 +12,8 @@ import { defineStore as ne } from "pinia";
|
|
|
12
12
|
import { c as te } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
import { g as le } from "./translation-fNx6yEpy.js";
|
|
14
14
|
const se = ne("variant-manager", () => {
|
|
15
|
-
const I = G(), t = D(), v = K(t), x =
|
|
16
|
-
|
|
15
|
+
const I = G(), t = D(), v = K(t), x = O(v);
|
|
16
|
+
P();
|
|
17
17
|
const f = A(), { t: m } = N(), k = (r) => {
|
|
18
18
|
var h, a;
|
|
19
19
|
const { vNode: V } = te(
|
|
@@ -84,7 +84,7 @@ const se = ne("variant-manager", () => {
|
|
|
84
84
|
setup(I) {
|
|
85
85
|
const {
|
|
86
86
|
t
|
|
87
|
-
} = N(), v =
|
|
87
|
+
} = N(), v = P(), x = O(K(D())), f = se(), m = b(() => v.variants.map((a) => ({
|
|
88
88
|
...a,
|
|
89
89
|
usedBy: v.items.filter((e) => {
|
|
90
90
|
var s;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as F, computed as d, ref as p, watch as A, onMounted as H, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as W, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as R } from "vue";
|
|
2
|
-
import { D as j } from "./dayjs.min-
|
|
2
|
+
import { D as j } from "./dayjs.min-CVH5LqOA.js";
|
|
3
3
|
import { useRoute as J, useRouter as Q } from "vue-router";
|
|
4
|
-
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { b as ee,
|
|
4
|
+
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CVGilzd0.js";
|
|
5
|
+
import { b as ee, i as te, u as ae, m as oe, d as ne } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
6
6
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as se } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
-
import { L as V } from "./LinkProductSideSheet-
|
|
10
|
-
import { _ as ue } from "./index-
|
|
9
|
+
import { L as V } from "./LinkProductSideSheet-DsBA_o9g.js";
|
|
10
|
+
import { _ as ue } from "./index-CD_omf3p.js";
|
|
11
11
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
-
import { u as ie } from "./linkProducts-
|
|
13
|
-
import { a as me } from "./menu-
|
|
14
|
-
import { m as ce } from "./toExcel-
|
|
15
|
-
import { _ as de, u as pe, c as _e } from "./scheduler-
|
|
16
|
-
import { R as r } from "./app-
|
|
12
|
+
import { u as ie } from "./linkProducts-DvQ0oP1V.js";
|
|
13
|
+
import { a as me } from "./menu-DKJ7olgK.js";
|
|
14
|
+
import { m as ce } from "./toExcel-BMOGsD6n.js";
|
|
15
|
+
import { _ as de, u as pe, c as _e } from "./scheduler-BWAzMbPl.js";
|
|
16
|
+
import { R as r } from "./app-BcGgfvbE.js";
|
|
17
17
|
const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ F({
|
|
18
18
|
__name: "[id]",
|
|
19
19
|
setup(ke) {
|
|
20
|
-
const E = J(), _ = Q(), k = ee(se()), L =
|
|
20
|
+
const E = J(), _ = Q(), k = ee(se()), L = te(k), a = ae(), { t: l } = le(), O = d(() => a.categorizedRawMenuItems), f = d(() => !a.state.currentSchedulerId), G = p();
|
|
21
21
|
async function z(o) {
|
|
22
22
|
const t = o._id ? pe(o) : _e(o);
|
|
23
23
|
await L.updateMenu(t, o.name);
|
|
@@ -58,7 +58,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
const $ = d(() => ({
|
|
61
|
-
...
|
|
61
|
+
...oe.menuV4ToV3(ne(a.state.menu)),
|
|
62
62
|
_id: a.state.menu._id,
|
|
63
63
|
_rev: a.state.menu._rev
|
|
64
64
|
}));
|