@feedmepos/mf-menu 0.31.31-beta.2 → 0.31.31-prod
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-CFN6krN7.js → App-Cvgz2kQV.js} +20 -20
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-5uxqnJ7n.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Bq84uuiq.js} +14 -14
- package/dist/{Catalog-XEHo6uLB.js → Catalog-Ye-KpQ31.js} +5 -5
- package/dist/{Category-B7RcIka7.js → Category-BPChBqVR.js} +5 -5
- package/dist/{Category-BGGrhvcJ.js → Category-CHcxix2b.js} +4 -4
- package/dist/{CookingGuide--ZLmpGgv.js → CookingGuide-DgygBSoB.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-ETB8_iXH.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-ClV6LD2-.js} +1 -1
- package/dist/{Group-Cskfwet-.js → Group-223G1Edd.js} +1 -1
- package/dist/{Group-Bo11CUp1.js → Group-B7EU1xmY.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DUQ1DmSi.js → Group.vue_vue_type_script_setup_true_lang-CAZuyOPy.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-TJyEt8dI.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CdjRWC9z.js} +10 -10
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DxbfScyk.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BRQm-UTk.js} +1484 -1460
- package/dist/{Ingredient-Bs0BhD3V.js → Ingredient-Dl1Z5Qt2.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-GWnYgk10.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CxuQTH0k.js} +2 -2
- package/dist/{LinkProductSideSheet-CqQwpGvH.js → LinkProductSideSheet-Y-Z9_9Kp.js} +1 -1
- package/dist/{MenuSetting-12DckDBV.js → MenuSetting-Be44fmVj.js} +4 -4
- package/dist/{PrintRoute-C2jxIZTn.js → PrintRoute-BURAEZ6X.js} +3 -3
- package/dist/{Product-ewAj_Gy0.js → Product-DSlVHbgr.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BnazxQhs.js → Product.vue_vue_type_script_setup_true_lang-DtYarO0L.js} +11 -11
- package/dist/{ProductInternalTools-CxcZtyiY.js → ProductInternalTools-gW57aUAO.js} +6 -6
- package/dist/{Products-OkSamcz5.js → Products-Czr-70M8.js} +10 -10
- package/dist/{Publish-BZJgSVln.js → Publish-XCowNW_z.js} +3 -3
- package/dist/{Recipe-BPUcYg5J.js → Recipe-6oNz21AB.js} +4 -4
- package/dist/{Scheduler-VhRBuKrz.js → Scheduler-UYFuFk5E.js} +3 -3
- package/dist/{ServingSequence-CcDP6CND.js → ServingSequence-w66ujU4D.js} +3 -3
- package/dist/{Setting-I66_H5cX.js → Setting-Dgn3lOx7.js} +4 -4
- package/dist/{Subcategory-CoUgRD2W.js → Subcategory-lnzuxCCH.js} +4 -4
- package/dist/{Takeaway-BvKRs26V.js → Takeaway-C5Up5Odr.js} +4 -4
- package/dist/{Takeaway-7-0pz07X.js → Takeaway-DP1GJUPF.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DD2WkL48.js → Takeaway.vue_vue_type_script_setup_true_lang-B45keXn7.js} +5 -5
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-nWEHS4np.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-yEIxG4F2.js} +16 -15
- package/dist/{Unit-CmbEL7jV.js → Unit-Bt8aRidX.js} +2 -2
- package/dist/{Variant-BQfUpbnH.js → Variant-DXoOAa9M.js} +3 -3
- package/dist/{_id_-Bjhl9XqO.js → _id_-D9tvinax.js} +9 -9
- package/dist/{app-iNjBiZyA.js → app-Cnlv4rmj.js} +1 -1
- package/dist/{app-_kRCd-IX.js → app-DiizQWjo.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +88 -16
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +44 -8
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +360 -184
- package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +80 -28
- package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +44 -8
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/category.d.ts +4 -4
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +218 -150
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +142 -82
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +108 -74
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +80 -28
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +44 -8
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +176 -32
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +324 -222
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +108 -74
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +1374 -1040
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +1374 -1040
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +108 -74
- package/dist/apps/mf-menu/src/helper/menu.d.ts +1523 -1155
- package/dist/apps/mf-menu/src/manager/menu/category.d.ts +4 -4
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +1374 -1040
- package/dist/apps/mf-menu/src/manager/menu/subcategory.d.ts +4 -4
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +324 -222
- package/dist/apps/mf-menu/src/stores/manager/recipe.d.ts +12 -12
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +142 -82
- package/dist/apps/mf-menu/src/stores/manager/sku.d.ts +60 -60
- package/dist/apps/mf-menu/src/stores/manager/takeaway.d.ts +6 -6
- package/dist/apps/mf-menu/src/stores/manager/unit.d.ts +12 -12
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1375 -1041
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuideDialog.vue.d.ts +4 -4
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +352 -132
- package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +84 -32
- package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +84 -32
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-D7AwcSC5.js +24 -0
- package/dist/assets/override-menu-Y9T4wxEn.js +24 -0
- package/dist/assets/validate-menu-DiAW2jY1.js +24 -0
- package/dist/{catalog-CyBHP_L_.js → catalog-DUSCax4J.js} +1 -1
- package/dist/{catalogSetting-NkN4bAq3.js → catalogSetting-18FJ5pkA.js} +1 -1
- package/dist/{category-BGrejYFK.js → category-B9XvlPFy.js} +1 -1
- package/dist/{currency-Dpgduyri.js → currency-Sno8fZYc.js} +1 -1
- package/dist/{dayjs.min-DSlfqo_R.js → dayjs.min-BsfKOrNo.js} +1 -1
- package/dist/{index-CrGqMOug.js → index-BDpkSKDX.js} +1 -1
- package/dist/{index-B0Mpmrk_.js → index-Eomwf2OO.js} +2 -2
- package/dist/{index-BAQtaHWs.js → index-ltyOwsRO.js} +3 -3
- package/dist/{item-BBA8_hXu.js → item-5Kkzf_eF.js} +374 -374
- package/dist/{jszip.min-D0uzeLZI.js → jszip.min-CRfpGjN8.js} +2 -2
- package/dist/{menu-yKL30VN9.js → menu-Btcr0nsk.js} +40426 -33787
- package/dist/{menu-ZCbLLneg.js → menu-DYs_VNfB.js} +1 -1
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-CG3R0X1h.js → priceTier-DvUjWwCM.js} +1 -1
- package/dist/{scheduler-C2ckHlRj.js → scheduler-C76blUlS.js} +3 -3
- package/dist/{subcategory-BWwm_7Zd.js → subcategory-C44qN5Vk.js} +135 -135
- package/dist/{toExcel-DhgXuJB9.js → toExcel--vNjpF-b.js} +2 -2
- package/dist/{unit-B0OvvAMx.js → unit-C4ghZU8x.js} +1 -1
- package/package.json +5 -5
- package/dist/assets/linked-status-Dq0jtAIg.js +0 -24
- package/dist/assets/override-menu-CiMDOEka.js +0 -24
- package/dist/assets/validate-menu-BinXLcWb.js +0 -24
|
@@ -2,9 +2,9 @@ import { defineComponent as m, ref as p, createBlock as i, openBlock as d, unref
|
|
|
2
2
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as f } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
4
4
|
import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
5
|
-
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { A as b } from "./item-
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-CAZuyOPy.js";
|
|
6
|
+
import { A as b } from "./item-5Kkzf_eF.js";
|
|
7
|
+
import { a as h } from "./menu-DYs_VNfB.js";
|
|
8
8
|
const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, j = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
10
10
|
setup(N) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as H, computed as f, resolveComponent as F, createBlock as U, openBlock as m, withCtx as C, createElementBlock as w, Fragment as T, renderList as ee, createElementVNode as p, normalizeClass as W, toDisplayString as M, createVNode as i, ref as S, renderSlot as Se, unref as u, createCommentVNode as I, watch as Ee, h as pe, mergeProps as Re, createSlots as Ie, withModifiers as Ue, isRef as de, nextTick as ve } from "vue";
|
|
2
|
-
import { I as Q, u as te, O as Te, D as $e, G as g, B as Ye, A as Le, J as ze } from "./menu-
|
|
2
|
+
import { I as Q, u as te, O as Te, D as $e, G as g, B as Ye, A as Le, J as ze } from "./menu-Btcr0nsk.js";
|
|
3
3
|
import { d as je } from "./vuedraggable-CK8z7qA8.js";
|
|
4
|
-
import { _ as Be, h as fe, a as Ke, b as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as Be, h as fe, a as Ke, b as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-ClV6LD2-.js";
|
|
5
5
|
import { useI18n as oe, useCoreStore as qe } from "@feedmepos/mf-common";
|
|
6
6
|
import { useBreakpoints as ye, components as _e, useSnackbar as We, useDialog as He, FmButtonVariant as Je } from "@feedmepos/ui-library";
|
|
7
|
-
import { _ as Xe } from "./app-
|
|
7
|
+
import { _ as Xe } from "./app-DiizQWjo.js";
|
|
8
8
|
import { _ as Ze, a as et } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
9
9
|
import { c as tt } from "./object-DVUNCr7w.js";
|
|
10
10
|
import { u as ot } from "./discardConfirm-BHni0LNu.js";
|
|
11
|
-
import { _ as nt } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as nt } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-Bq84uuiq.js";
|
|
12
12
|
import { c as lt } from "./check-C9mY6LiX.js";
|
|
13
13
|
import { _ as at } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
14
|
-
import { M as ge, x as rt, y as ut, A as st, e as it, j as ct, r as mt } from "./item-
|
|
14
|
+
import { M as ge, x as rt, y as ut, A as st, e as it, j as ct, r as mt } from "./item-5Kkzf_eF.js";
|
|
15
15
|
import { u as pt } from "./search-BAPEUu1R.js";
|
|
16
|
-
import { C as dt } from "./catalog-
|
|
17
|
-
import { c as vt } from "./subcategory-
|
|
16
|
+
import { C as dt } from "./catalog-DUSCax4J.js";
|
|
17
|
+
import { c as vt } from "./subcategory-C44qN5Vk.js";
|
|
18
18
|
const ft = /* @__PURE__ */ H({
|
|
19
19
|
__name: "ResponsiveContextMenu",
|
|
20
20
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as P, useModel as
|
|
1
|
+
import { defineComponent as P, useModel as H, computed as V, resolveComponent as m, createBlock as C, openBlock as c, unref as e, ref as I, watch as O, onMounted as j, createElementBlock as S, Fragment as h, renderSlot as J, createVNode as i, withCtx as s, createElementVNode as x, renderList as K, createCommentVNode as w, toDisplayString as F, createTextVNode as Q } from "vue";
|
|
2
2
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as R } from "./priceTier-
|
|
3
|
+
import { u as R } from "./priceTier-DvUjWwCM.js";
|
|
4
4
|
import { useDialog as W, components as X, FmButtonVariant as Y, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
5
|
-
import { L as Z } from "./LinkProductSideSheet-
|
|
5
|
+
import { L as Z } from "./LinkProductSideSheet-Y-Z9_9Kp.js";
|
|
6
6
|
import { c as z } from "./check-C9mY6LiX.js";
|
|
7
|
-
import { u as ee, H as B,
|
|
7
|
+
import { u as ee, H as B, ak as le } from "./menu-Btcr0nsk.js";
|
|
8
8
|
import { c as oe } from "./string-DpfFixWH.js";
|
|
9
9
|
const fe = /* @__PURE__ */ P({
|
|
10
10
|
__name: "LinkPriceTier",
|
|
@@ -14,7 +14,7 @@ const fe = /* @__PURE__ */ P({
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:modelValue"],
|
|
16
16
|
setup(b) {
|
|
17
|
-
const { t: g } = T(), n =
|
|
17
|
+
const { t: g } = T(), n = H(b, "modelValue"), _ = R(), a = V(() => _.priceTiers.value.map((d) => ({
|
|
18
18
|
label: d.key,
|
|
19
19
|
value: d.key
|
|
20
20
|
})));
|
|
@@ -54,7 +54,7 @@ const fe = /* @__PURE__ */ P({
|
|
|
54
54
|
includeItems: null
|
|
55
55
|
}
|
|
56
56
|
);
|
|
57
|
-
|
|
57
|
+
O(
|
|
58
58
|
() => r.value,
|
|
59
59
|
(o) => {
|
|
60
60
|
o && (l.value = n.modelValue ? B(n.modelValue) : {
|
|
@@ -96,13 +96,13 @@ const fe = /* @__PURE__ */ P({
|
|
|
96
96
|
async function D() {
|
|
97
97
|
d("update:model-value", l.value), p(!1);
|
|
98
98
|
}
|
|
99
|
-
return
|
|
99
|
+
return j(() => {
|
|
100
100
|
f.value = l.value && l.value.includeItems === null ? 0 : 1;
|
|
101
101
|
}), (o, u) => {
|
|
102
|
-
const $ = m("fm-icon"), q = m("fm-stepper-field"), E = m("fm-radio"),
|
|
102
|
+
const $ = m("fm-icon"), q = m("fm-stepper-field"), E = m("fm-radio"), A = m("fm-radio-group"), y = m("fm-button"), G = m("fm-dialog");
|
|
103
103
|
return c(), S(h, null, [
|
|
104
104
|
J(o.$slots, "default", { trigger: p }),
|
|
105
|
-
i(
|
|
105
|
+
i(G, {
|
|
106
106
|
modelValue: r.value,
|
|
107
107
|
"onUpdate:modelValue": u[3] || (u[3] = (v) => r.value = v),
|
|
108
108
|
"is-component": e(X).FmForm,
|
|
@@ -150,7 +150,7 @@ const fe = /* @__PURE__ */ P({
|
|
|
150
150
|
_: 1
|
|
151
151
|
}, 8, ["modelValue", "rules", "label", "placeholder"]),
|
|
152
152
|
x("div", null, [
|
|
153
|
-
i(
|
|
153
|
+
i(A, {
|
|
154
154
|
modelValue: f.value,
|
|
155
155
|
"onUpdate:modelValue": [
|
|
156
156
|
u[1] || (u[1] = (t) => f.value = t),
|