@feedmepos/mf-menu 0.32.62 → 0.32.63-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-CE4fZP2_.js → App-DhfTGlgM.js} +467 -462
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-PpYjjdOP.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C5-8qdJK.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-C_JKiJRD.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CXm-0H18.js} +8 -8
- package/dist/{Catalog-C2MyXkps.js → Catalog-WuZJfM6l.js} +78 -78
- package/dist/{Category-B7Uxbyug.js → Category-BeIo7XWY.js} +20 -20
- package/dist/{Category-BoV0MYQp.js → Category-D-cQQCPS.js} +19 -19
- package/dist/{CookingGuide-Bdyj8XMv.js → CookingGuide-B-yvD9ZA.js} +88 -88
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-EDbgLHTU.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-2_yzXoa4.js} +1 -1
- package/dist/{Group-BuFbi0Z-.js → Group-13i5igrS.js} +5 -5
- package/dist/{Group-DYpxc5ui.js → Group-CY8lUzQG.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-B5Uw2Rzm.js → Group.vue_vue_type_script_setup_true_lang-DZhxy0tb.js} +95 -94
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-COYg8e7h.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CWqv-oUd.js} +13 -13
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-YY25YW4B.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js} +219 -220
- package/dist/{Ingredient-Ddw06I0B.js → Ingredient-vrUOW6gk.js} +49 -49
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CsWdL5Lz.js → InventoryBinding.vue_vue_type_script_setup_true_lang-xcVjRjqD.js} +2 -2
- package/dist/{LinkProductSideSheet-COAMZqOM.js → LinkProductSideSheet-DMbJG6wf.js} +8 -8
- package/dist/{MenuSetting--G1_lGoV.js → MenuSetting-Di2xwm00.js} +10 -10
- package/dist/{OrderPacing-DnvLJh5M.js → OrderPacing-CCe-IcGO.js} +28 -28
- package/dist/{PrintRoute-CP-3JGP3.js → PrintRoute-CcfObcHY.js} +27 -27
- package/dist/{Product-D-q15-Qw.js → Product-ChUVnMgG.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BaOg60Q6.js → Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js} +153 -152
- package/dist/{ProductInternalTools-wYn0bzml.js → ProductInternalTools-D9HXhgo5.js} +80 -79
- package/dist/{Products-CxEsB-7l.js → Products-Bly2ktEC.js} +75 -74
- package/dist/{Publish-BCljLztW.js → Publish-C8ubb8Qf.js} +113 -113
- package/dist/{Recipe-DgfobgnQ.js → Recipe-BpMRLsyO.js} +32 -32
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BgDVFKRI.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BD5OCDRn.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DCbrAMxd.js → RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js} +474 -473
- package/dist/{Scheduler-C-LJs7Gl.js → Scheduler-CiB4b2Fn.js} +9 -9
- package/dist/{ServingSequence-BoaDRfsc.js → ServingSequence-BlcyW-dv.js} +18 -18
- package/dist/{Setting-BfFqBD9u.js → Setting-DqkL6YYU.js} +31 -31
- package/dist/{Subcategory-BsnC9ZSS.js → Subcategory-B4Jg_wtT.js} +43 -43
- package/dist/{Takeaway-PilRifJP.js → Takeaway-5G3f7jWT.js} +1 -1
- package/dist/{Takeaway-dSEAc70g.js → Takeaway-5rFPYYNA.js} +16 -16
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CgioM0sV.js → Takeaway.vue_vue_type_script_setup_true_lang-CVsOhg_E.js} +23 -23
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CHf3g1ia.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CPqxA6JD.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-A43XxqyC.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-yrNuTD-3.js} +8 -9
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-T71R68sq.js +5836 -0
- package/dist/{Unit-DW1dFJas.js → Unit-CAkdmQLg.js} +2 -2
- package/dist/{Variant-CzLzrt2N.js → Variant-BbLQqbAK.js} +13 -13
- package/dist/{_id_-qfASfKMD.js → _id_-Dzacr40I.js} +13 -13
- package/dist/{app-BB33yKM6.js → app-4yWs09Fr.js} +495 -495
- package/dist/{app-CJnEQz-U.js → app-Deov1985.js} +3 -3
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/media.d.ts +161 -0
- package/dist/apps/mf-menu/src/app.d.ts +340 -0
- package/dist/apps/mf-menu/src/components/feature/CategoryManager/CategoriesSelector.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +150 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/CustomDimensionDialog.vue.d.ts +17 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ImageUploadDialog.vue.d.ts +16 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ManageImageDrawer.vue.d.ts +42 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +75 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/RegenerateImageDialog.vue.d.ts +17 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ProductDetail.vue.d.ts +3 -6
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +1 -1
- package/dist/apps/mf-menu/src/composable/remyImageTarget.d.ts +5 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +14 -1
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
- package/dist/apps/mf-menu/src/types/rule.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +3 -2
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductDetail.vue.d.ts +8 -8
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-VaVE9Pyh.js → linked-status-B2WLhKkV.js} +3 -3
- package/dist/assets/{menu-export-DD9Zt6XH.js → menu-export-Dcw5a_dN.js} +3 -3
- package/dist/assets/{override-menu-DZCgrhuF.js → override-menu-cBe2aMY6.js} +3 -3
- package/dist/assets/{validate-menu-BFsQlikL.js → validate-menu-BM-5GK85.js} +2 -2
- package/dist/{catalog-Cvn1ZMGp.js → catalog-DKygS2Cs.js} +6 -6
- package/dist/{catalogSetting-D2bOCGW7.js → catalogSetting-Bn2TplvM.js} +1 -1
- package/dist/currency-DXgNHtK8.js +7 -0
- package/dist/dayjs.min-DpX65tgj.js +7 -0
- package/dist/discardConfirm-DZwzKO-Q.js +3704 -0
- package/dist/{index-B2fxLO4K.js → index-B48KLyqg.js} +61 -61
- package/dist/{index-CizrxT_e.js → index-BEocaqRK.js} +30 -30
- package/dist/index-K-MBqJJo.js +222 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-gaRM4vfS.js → index.vue_vue_type_script_setup_true_lang-Nl505vPi.js} +44918 -51563
- package/dist/item-Da3ArD-G.js +13213 -0
- package/dist/{jszip.min-BXLegUsz.js → jszip.min-Cc2eR4Cq.js} +119 -119
- package/dist/linkProducts-GNuUxFEE.js +331 -0
- package/dist/{memberPricing-CizI1rUM.js → memberPricing-T-jr7tn1.js} +1 -1
- package/dist/{menu-BCed1YCE.js → menu-DSDRAil-.js} +1 -1
- package/dist/{menuV2-Bo9AHrdr.js → menuV2-fTlJdjxi.js} +162 -160
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-BkfQeNeC.js → order_pacing-Dgo1fySS.js} +17 -17
- package/dist/packages/shared/src/helpers/agentCode.d.ts +9 -0
- package/dist/{priceTier-rjuK-b6U.js → priceTier-aT_gIfrN.js} +3 -3
- package/dist/{rules-DHX_hK6G.js → rules-Cx2hkV20.js} +8 -8
- package/dist/{scheduler-BsfPbtM2.js → scheduler-Bd-q7yF8.js} +62 -62
- package/dist/{toExcel-DJHljg_L.js → toExcel-qfjR83qT.js} +2 -2
- package/dist/{unit-BxTWR1dZ.js → unit-n1T9grbM.js} +64 -64
- package/package.json +3 -3
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-DGqao47l.js +0 -399
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DY1umres.js +0 -6058
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/thumbnailUpload.d.ts +0 -6
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ImageUploadForm.vue.d.ts +0 -38
- package/dist/currency-DQDsuXB5.js +0 -7
- package/dist/dayjs.min-CzUkrXIR.js +0 -7
- package/dist/discardConfirm-BHni0LNu.js +0 -28
- package/dist/index-CisutoS9.js +0 -156
- package/dist/item-DOHVD6CN.js +0 -9098
|
@@ -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 {
|
|
5
|
+
import { b as A, u as G, _ as H } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.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-n1T9grbM.js";
|
|
8
8
|
const Q = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "h-[600px]"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getCurrentInstance as A, defineComponent as T, computed as b, onMounted as U, h as d, resolveComponent as w, createBlock as j, openBlock as p, unref as o, withCtx as _, createElementBlock as g, Fragment as M, createElementVNode as i, createVNode as c, isRef as z, normalizeClass as F, renderList as R, toDisplayString as S, withModifiers as B, createCommentVNode as Y } from "vue";
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useDialog as G, useSnackbar as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as Q } from "./app-
|
|
6
|
-
import {
|
|
7
|
-
import { V as E } from "./index-
|
|
2
|
+
import { useI18n as N } from "@feedmepos/mf-common";
|
|
3
|
+
import { useDialog as G, useSnackbar as D, FmButtonVariant as L, components as q, useBreakpoints as H } from "@feedmepos/ui-library";
|
|
4
|
+
import { _ as J } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
+
import { _ as Q } from "./app-4yWs09Fr.js";
|
|
6
|
+
import { b as K, u as O, i as P, g as W, h as X, _ as Z } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.js";
|
|
7
|
+
import { V as E } from "./index-B48KLyqg.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,9 +12,9 @@ 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 =
|
|
16
|
-
|
|
17
|
-
const f = A(), { t: m } =
|
|
15
|
+
const I = G(), t = D(), v = K(t), x = P(v);
|
|
16
|
+
O();
|
|
17
|
+
const f = A(), { t: m } = N(), k = (r) => {
|
|
18
18
|
var h, a;
|
|
19
19
|
const { vNode: V } = te(
|
|
20
20
|
E,
|
|
@@ -84,7 +84,7 @@ const se = ne("variant-manager", () => {
|
|
|
84
84
|
setup(I) {
|
|
85
85
|
const {
|
|
86
86
|
t
|
|
87
|
-
} =
|
|
87
|
+
} = N(), v = O(), x = P(K(D())), f = se(), m = b(() => v.variants.map((a) => ({
|
|
88
88
|
...a,
|
|
89
89
|
usedBy: v.items.filter((e) => {
|
|
90
90
|
var s;
|
|
@@ -149,7 +149,7 @@ const se = ne("variant-manager", () => {
|
|
|
149
149
|
},
|
|
150
150
|
cell: (a) => d("div", {
|
|
151
151
|
class: "w-full flex justify-end items-center"
|
|
152
|
-
}, [d(
|
|
152
|
+
}, [d(q.FmButton, {
|
|
153
153
|
prependIcon: "delete",
|
|
154
154
|
variant: L.Tertiary,
|
|
155
155
|
textColor: "neutral-gray-400",
|
|
@@ -157,7 +157,7 @@ const se = ne("variant-manager", () => {
|
|
|
157
157
|
e.stopPropagation(), f.deleteVariant(a.row.original);
|
|
158
158
|
}
|
|
159
159
|
})])
|
|
160
|
-
}]), V =
|
|
160
|
+
}]), V = H(), h = b(() => V.breakpoints.value.xs);
|
|
161
161
|
return (a, e) => {
|
|
162
162
|
const s = w("fm-search"), C = w("fm-table"), l = w("fm-button");
|
|
163
163
|
return p(), j(ee, {
|
|
@@ -168,7 +168,7 @@ const se = ne("variant-manager", () => {
|
|
|
168
168
|
}, {
|
|
169
169
|
default: _(({
|
|
170
170
|
trigger: n
|
|
171
|
-
}) => [c(
|
|
171
|
+
}) => [c(J, {
|
|
172
172
|
class: "ml-auto",
|
|
173
173
|
label: o(t)("menu.variant.add"),
|
|
174
174
|
"prepend-icon": "add",
|
|
@@ -1,19 +1,19 @@
|
|
|
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-DpX65tgj.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 {
|
|
4
|
+
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js";
|
|
5
|
+
import { b as ee, u as te, m as ae, d as oe, i as ne } from "./index.vue_vue_type_script_setup_true_lang-Nl505vPi.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-DMbJG6wf.js";
|
|
10
|
+
import { _ as ue } from "./index-K-MBqJJo.js";
|
|
11
11
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
-
import { u as ie } from "./
|
|
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-GNuUxFEE.js";
|
|
13
|
+
import { a as me } from "./menu-DSDRAil-.js";
|
|
14
|
+
import { m as ce } from "./toExcel-qfjR83qT.js";
|
|
15
|
+
import { _ as de, u as pe, c as _e } from "./scheduler-Bd-q7yF8.js";
|
|
16
|
+
import { R as r } from "./app-4yWs09Fr.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) {
|
|
@@ -86,7 +86,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
|
|
|
86
86
|
} = ie(!1);
|
|
87
87
|
return me().resetOnUnmount(), (o, t) => {
|
|
88
88
|
var I;
|
|
89
|
-
const Y = m("fm-bottom-sheet"), N = m("fm-button"), P = m("router-link"),
|
|
89
|
+
const Y = m("fm-bottom-sheet"), N = m("fm-button"), P = m("router-link"), q = m("fm-tabs"), B = m("router-view");
|
|
90
90
|
return b(), K(W, null, [
|
|
91
91
|
n(de, {
|
|
92
92
|
ref_key: "schedulerDialogRef",
|
|
@@ -183,7 +183,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
|
|
|
183
183
|
])
|
|
184
184
|
]),
|
|
185
185
|
default: u(() => [
|
|
186
|
-
n(
|
|
186
|
+
n(q, {
|
|
187
187
|
modelValue: c.value,
|
|
188
188
|
"onUpdate:modelValue": t[3] || (t[3] = (s) => c.value = s),
|
|
189
189
|
items: h.value,
|
|
@@ -191,7 +191,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
|
|
|
191
191
|
}, null, 8, ["modelValue", "items"]),
|
|
192
192
|
i("div", be, [
|
|
193
193
|
n(ue, { "menu-store": e(a) }, null, 8, ["menu-store"]),
|
|
194
|
-
n(
|
|
194
|
+
n(B)
|
|
195
195
|
])
|
|
196
196
|
]),
|
|
197
197
|
_: 1
|