@feedmepos/mf-menu 0.32.55 → 0.32.56
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-D9i97kPC.js → App-BUePFRjb.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BxhzKypm.js → ApplyProduct.vue_vue_type_script_setup_true_lang-oPq3AcV2.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-kPOpOatz.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-r2W9cuVe.js} +2 -2
- package/dist/{Catalog-DFJXgNsO.js → Catalog-uo0vO8uy.js} +6 -6
- package/dist/{Category-FaheENIM.js → Category-BvetZzck.js} +4 -4
- package/dist/{Category-DcN5huA8.js → Category-CHN6aSPS.js} +4 -4
- package/dist/{CookingGuide-w9A6JMSR.js → CookingGuide-DU8D0T0w.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BGCVlZ7J.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIxKLpe8.js} +1 -1
- package/dist/{Group-Dy8HcG_Y.js → Group-BFGFyGhC.js} +3 -3
- package/dist/{Group-DdqHR86E.js → Group-Cd1OoALN.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-Dvq7j79a.js → Group.vue_vue_type_script_setup_true_lang-Dyb9On55.js} +8 -8
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BBcE09pP.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-XcNt0ZBv.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DbIKyjW3.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js} +7 -7
- package/dist/{Ingredient-gj1v3spC.js → Ingredient-CXU04qIu.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DV-RjIZv.js → InventoryBinding.vue_vue_type_script_setup_true_lang-q9DVgfMD.js} +2 -2
- package/dist/LinkProductSideSheet-CaFKMMSd.js +721 -0
- package/dist/MenuSetting-EeJdFNfx.js +685 -0
- package/dist/{OrderPacing-D0FFFm3T.js → OrderPacing-Db4P-2ea.js} +6 -6
- package/dist/{PrintRoute-Cgcxblv_.js → PrintRoute-CSScKjFa.js} +4 -4
- package/dist/{Product-Nti0T9iE.js → Product-tvbYvK5u.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DyWLMrUC.js → Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js} +12 -12
- package/dist/{ProductInternalTools-oOMZV7kK.js → ProductInternalTools-D2rmgEby.js} +6 -6
- package/dist/{Products-9elHDYp6.js → Products-WPvLY_wr.js} +43 -43
- package/dist/{Publish-Bi33tD6L.js → Publish-BJ9rz75C.js} +3 -3
- package/dist/{Recipe-BSysXC_H.js → Recipe-BMRTd58L.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BqsEM8Kj.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BefgcG34.js} +1 -1
- package/dist/RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js +3305 -0
- package/dist/{Scheduler-CmXIA0tH.js → Scheduler-CHQ5YcBq.js} +3 -3
- package/dist/{ServingSequence-CPVOcSSM.js → ServingSequence-BtXSEzfn.js} +3 -3
- package/dist/{Setting-BQPHY7B-.js → Setting-BnXj1uTa.js} +5 -5
- package/dist/{Subcategory-DQAT58lU.js → Subcategory-miGPIoku.js} +5 -5
- package/dist/{Takeaway-DOi4Xogf.js → Takeaway-DtVvfRQy.js} +1 -1
- package/dist/{Takeaway-DtyEbDDB.js → Takeaway-zaChLDgt.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CNccXS8u.js → Takeaway.vue_vue_type_script_setup_true_lang-BFnbiGsG.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-D9VV1s1E.js → Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cpg0cCuJ.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-D4fWF46n.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CGXXpcYQ.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DLqeQRkH.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUxEgL0r.js +5974 -0
- package/dist/{Unit-BVGd9vOo.js → Unit-BaLVANd9.js} +2 -2
- package/dist/{Variant-wgsEnYNH.js → Variant-Bnb4SllS.js} +3 -3
- package/dist/{_id_-XLbzesLX.js → _id_-btH88hnV.js} +9 -9
- package/dist/{app-DBDi3v7O.js → app-BO16t-ps.js} +32 -32
- package/dist/{app-DXZuPEOd.js → app-D1a9CqKF.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/thumbnailUpload.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ImageUploadForm.vue.d.ts +35 -29
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ProductDetail.vue.d.ts +3 -0
- package/dist/apps/mf-menu/src/components/rule_group/CatalogLinkItemRuleView.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleView.vue.d.ts +2 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-BiwqdooM.js → linked-status-zxrRiX3x.js} +3 -3
- package/dist/assets/{menu-export-BemM1bWH.js → menu-export-DXB8Py6r.js} +2 -2
- package/dist/assets/{linked-status-BELOy4Ju.js → override-menu-CEIJGR_x.js} +3 -3
- package/dist/assets/{validate-menu-mNalZZpy.js → validate-menu-DN3P-OR7.js} +2 -2
- package/dist/{catalog-Beh91hfF.js → catalog-COu1SO_p.js} +1 -1
- package/dist/{catalogSetting-CvotY0sm.js → catalogSetting-D34fLwdB.js} +1 -1
- package/dist/{currency-DWU0Lz6M.js → currency-DlfcFoj5.js} +1 -1
- package/dist/{dayjs.min-b9_NYDqQ.js → dayjs.min-xM9KAjrx.js} +2 -2
- package/dist/{index-ZpjMtEkL.js → index-B5d_uvVc.js} +5 -5
- package/dist/{index-B2zWt4Ih.js → index-ByEp1JD0.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-CSSSNBt8.js → index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js} +6 -6
- package/dist/{item-DtR73Afo.js → item-CtfWra_w.js} +19 -19
- package/dist/{jszip.min-DgMmizjt.js → jszip.min-CNLaYb3p.js} +175 -175
- package/dist/{memberPricing-RVw5I6LL.js → memberPricing-DSqwOAgM.js} +1 -1
- package/dist/{menu-CaFnkDPh.js → menu-DUsES-YM.js} +1 -1
- package/dist/{menuV2-CphaxHaj.js → menuV2-BaY8Z_1c.js} +39 -39
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-CUyiMmGB.js → order_pacing-B5a8Fch-.js} +5 -5
- package/dist/{priceTier-CGLpjMw4.js → priceTier-bxvu4c84.js} +1 -1
- package/dist/{rules-3d19nDAK.js → rules-CTd3QZhN.js} +3 -3
- package/dist/{scheduler-CyPQu2Jd.js → scheduler-DIl9SPsA.js} +4 -4
- package/dist/{toExcel-Dbqi_aWn.js → toExcel-CUAEPhEv.js} +2 -2
- package/dist/{unit-CidyefuC.js → unit-DThoovpF.js} +3 -3
- package/package.json +1 -1
- package/dist/LinkProductSideSheet-Bwt2W9XG.js +0 -687
- package/dist/MenuSetting-CRCDO92S.js +0 -648
- package/dist/RuleView.vue_vue_type_script_setup_true_lang-Cxl5Mvc1.js +0 -3285
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dl-6UT3T.js +0 -5940
- /package/dist/{vuedraggable-CK8z7qA8.js → RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js} +0 -0
|
@@ -3,14 +3,14 @@ import { storeToRefs as Q } from "pinia";
|
|
|
3
3
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
4
4
|
import { useBreakpoints as X, useSnackbar as z, components as Z, FmButtonVariant as D, FmButtonColorThemeVariant as ee, useDialog as oe } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { B as A, u as Y, J as K, K as R, P as j, a5 as ne } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { B as A, u as Y, J as K, K as R, P as j, a5 as ne } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
|
|
7
7
|
import { _ as te } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as re } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { d as le } from "./
|
|
10
|
-
import { _ as se } from "./app-
|
|
8
|
+
import { u as re } from "./RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js";
|
|
9
|
+
import { d as le } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
10
|
+
import { _ as se } from "./app-BO16t-ps.js";
|
|
11
11
|
import { c as ie } from "./createForm-BoUQeZTd.js";
|
|
12
|
-
import { _ as ce } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { O as de, u as ue, m as me } from "./order_pacing-
|
|
12
|
+
import { _ as ce } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-r2W9cuVe.js";
|
|
13
|
+
import { O as de, u as ue, m as me } from "./order_pacing-B5a8Fch-.js";
|
|
14
14
|
const pe = { key: 0 }, _e = { class: "flex justify-end items-center" }, ge = { class: "w-[320px]" }, fe = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "flex-1 flex flex-col min-h-0"
|
|
@@ -2,11 +2,11 @@ import { defineComponent as H, ref as P, computed as p, resolveComponent as g, c
|
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as W, useBreakpoints as oe, useSnackbar as ne, useDialog as ae } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as le } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as re } from "./app-
|
|
6
|
-
import { G as Y, H as se, J as U, K as M, ad as X, u as ie, P as ue, B as de, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as re } from "./app-BO16t-ps.js";
|
|
6
|
+
import { G as Y, H as se, J as U, K as M, ad as X, u as ie, P as ue, B as de, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
|
|
7
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js";
|
|
8
8
|
import { u as me } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { L as pe } from "./LinkProductSideSheet-
|
|
9
|
+
import { L as pe } from "./LinkProductSideSheet-CaFKMMSd.js";
|
|
10
10
|
import { _ as _e } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
11
11
|
const fe = { class: "fm-typo-en-title-md-600" }, ve = { class: "space-y-32" }, ye = { class: "space-y-16" }, ge = { class: "flex items-center gap-8" }, he = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, be = { class: "flex-1" }, ke = { class: "grow overflow-y-auto" }, xe = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, Fe = { class: "px-16 py-8 flex-1" }, Ie = { class: "py-8" }, Ce = { class: "flex gap-8 items-center justify-start" }, we = /* @__PURE__ */ H({
|
|
12
12
|
__name: "PrintDepartmentDialog",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { ref as F, computed as h, defineComponent as G, resolveComponent as K, createBlock as I, openBlock as m, withCtx as $, createElementVNode as b, createVNode as d, unref as r, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as R, normalizeClass as me, toDisplayString as E, withModifiers as fe, mergeModels as lt, useModel as at, renderSlot as ye, watch as ie, createTextVNode as ot, watchEffect as rt, nextTick as Me, resolveDynamicComponent as nt, onMounted as st, h as U, isRef as Le, normalizeStyle as ht } from "vue";
|
|
2
|
-
import { u as Ie, T as we, z as ce, G as Ue, H as be, W as xt, al as Ct, am as wt, an as Re, ao as kt, Q as St, a5 as _e, ap as We } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Ie, T as we, z as ce, G as Ue, H as be, W as xt, al as Ct, am as wt, an as Re, ao as kt, Q as St, a5 as _e, ap as We } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
|
|
3
3
|
import { useI18n as $e, useCoreStore as Ne, useCustomAttributes as Vt } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Ve } from "./menu-
|
|
5
|
-
import { L as qe } from "./LinkProductSideSheet-
|
|
6
|
-
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as Oe, u as Ft } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { f as It, o as $t, a as Tt, m as Pt } from "./menuV2-
|
|
10
|
-
import { u as ut, C as At, S as Rt } from "./item-
|
|
4
|
+
import { u as Ve } from "./menu-DUsES-YM.js";
|
|
5
|
+
import { L as qe } from "./LinkProductSideSheet-CaFKMMSd.js";
|
|
6
|
+
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BefgcG34.js";
|
|
7
|
+
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIxKLpe8.js";
|
|
8
|
+
import { _ as Oe, u as Ft } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js";
|
|
9
|
+
import { f as It, o as $t, a as Tt, m as Pt } from "./menuV2-BaY8Z_1c.js";
|
|
10
|
+
import { u as ut, C as At, S as Rt } from "./item-CtfWra_w.js";
|
|
11
11
|
import { b as Ye, H as Mt } from "./app-5fxKLAzS.js";
|
|
12
12
|
import { useBreakpoints as it, components as ee, useDialog as Ut, FmButtonColorThemeVariant as q, FmButtonVariant as X } from "@feedmepos/ui-library";
|
|
13
13
|
import { F as zt } from "./index-CisutoS9.js";
|
|
14
|
-
import { _ as De, d as Ot, e as Nt } from "./app-
|
|
14
|
+
import { _ as De, d as Ot, e as Nt } from "./app-BO16t-ps.js";
|
|
15
15
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
16
|
-
import { _ as Dt } from "./index-
|
|
17
|
-
import { r as Kt, _ as Bt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Dt } from "./index-ByEp1JD0.js";
|
|
17
|
+
import { r as Kt, _ as Bt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js";
|
|
18
18
|
import { _ as Ze } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
19
19
|
import { c as jt } from "./check-C9mY6LiX.js";
|
|
20
|
-
import { f as Et } from "./currency-
|
|
20
|
+
import { f as Et } from "./currency-DlfcFoj5.js";
|
|
21
21
|
import { w as Gt } from "./tooltip-B5BiPMx9.js";
|
|
22
22
|
function Lt(C, l, c = C) {
|
|
23
23
|
const n = F(!0), o = h(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, 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 O, createBlock as oe, withCtx as R } from "vue";
|
|
2
|
-
import { J as A, F as ne } from "./jszip.min-
|
|
3
|
-
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-CNLaYb3p.js";
|
|
3
|
+
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { u as fe, a as he } from "./menu-
|
|
8
|
-
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { D as be, E as ve, G as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-DUsES-YM.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js";
|
|
9
|
+
import { D as be, E as ve, G as _e } from "./item-CtfWra_w.js";
|
|
10
10
|
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 = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
var He = { firebase: { storageBucket: "image.
|
|
154
|
+
var He = { firebase: { storageBucket: "image.feedmedev.cc" } };
|
|
155
155
|
const Je = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { u as K, B as
|
|
5
|
-
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as $, A as q } from "./app-
|
|
1
|
+
import { defineComponent as I, computed as _, ref as W, resolveComponent as w, createBlock as m, openBlock as l, unref as e, withCtx as p, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as C, createElementBlock as U, Fragment as L } from "vue";
|
|
2
|
+
import { D as E } from "./dayjs.min-xM9KAjrx.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-CNLaYb3p.js";
|
|
4
|
+
import { u as K, B as X, z as j, D as H, y as Q, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js";
|
|
6
|
+
import { h as $, A as q } from "./app-BO16t-ps.js";
|
|
7
7
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
8
8
|
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as T, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as
|
|
9
|
+
import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
10
|
import { _ as fe, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
11
|
import { _ as ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
-
import { u as ve, a as be } from "./menu-
|
|
13
|
-
import { u as ye } from "./item-
|
|
14
|
-
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { L as
|
|
16
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { m as he } from "./toExcel-
|
|
19
|
-
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */
|
|
12
|
+
import { u as ve, a as be } from "./menu-DUsES-YM.js";
|
|
13
|
+
import { u as ye } from "./item-CtfWra_w.js";
|
|
14
|
+
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js";
|
|
15
|
+
import { L as J } from "./LinkProductSideSheet-CaFKMMSd.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUxEgL0r.js";
|
|
17
|
+
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js";
|
|
18
|
+
import { m as he } from "./toExcel-CUAEPhEv.js";
|
|
19
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ I({
|
|
20
20
|
__name: "ConfirmActionDialog",
|
|
21
21
|
props: {
|
|
22
22
|
description: {},
|
|
@@ -24,7 +24,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
24
24
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
25
25
|
},
|
|
26
26
|
setup(V) {
|
|
27
|
-
const n = V, f = _(() => n.message.replace("[[value]]", n.value)), y =
|
|
27
|
+
const n = V, f = _(() => n.message.replace("[[value]]", n.value)), y = W(""), o = te(), { emitAction: k } = pe();
|
|
28
28
|
return (g, i) => {
|
|
29
29
|
const x = w("FmTextField"), S = w("FmButton"), v = w("FmForm");
|
|
30
30
|
return l(), m(v, {
|
|
@@ -64,10 +64,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
64
64
|
}, 8, ["on-validation-success"]);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
}), $e = /* @__PURE__ */
|
|
67
|
+
}), $e = /* @__PURE__ */ I({
|
|
68
68
|
__name: "Migrate",
|
|
69
69
|
setup(V) {
|
|
70
|
-
const n = K(), f = ee(), y = ne(), { minor: o } =
|
|
70
|
+
const n = K(), f = ee(), y = ne(), { minor: o } = X(y), k = W(!1), g = te();
|
|
71
71
|
async function i() {
|
|
72
72
|
x.value || k.value || g.open({
|
|
73
73
|
title: "Migrate to new version",
|
|
@@ -98,12 +98,12 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
98
98
|
return null;
|
|
99
99
|
const v = f.restaurants.value;
|
|
100
100
|
if (!v.length) return "Required at least one restaurant to migrate";
|
|
101
|
-
const c = v.filter((b) => !b.posVersion || !
|
|
102
|
-
return c.length ? `Upgrade POS to V${
|
|
101
|
+
const c = v.filter((b) => !b.posVersion || !j.Pos.canUse({ feature: H.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
102
|
+
return c.length ? `Upgrade POS to V${j.Pos.minVersionToUse(H.F_FEATURE.enum.menuV4)} to use new menu: ${c.map((b) => b.profile.name).join(", ")}` : null;
|
|
103
103
|
});
|
|
104
104
|
return (S, v) => {
|
|
105
105
|
const c = w("FmSnackbar");
|
|
106
|
-
return !x.value && e(n).version !== e(
|
|
106
|
+
return !x.value && e(n).version !== e(Q).enum.v4 ? (l(), m(c, {
|
|
107
107
|
key: 0,
|
|
108
108
|
class: "!max-w-full",
|
|
109
109
|
title: "New version of menu is out now!",
|
|
@@ -115,10 +115,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
115
115
|
})) : C("", !0);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
}), Ve = "/assets/menu-export-
|
|
118
|
+
}), Ve = "/assets/menu-export-DXB8Py6r.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" }, De = { class: "fm-typo-en-body-md-600 font-semibold" }, Ie = { class: "flex gap-8" }, Qe = /* @__PURE__ */ I({
|
|
119
119
|
__name: "Products",
|
|
120
120
|
setup(V) {
|
|
121
|
-
const { t: n } = de(), f = ee(), y =
|
|
121
|
+
const { t: n } = de(), f = ee(), y = X(ne()), o = K(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
|
|
122
122
|
...le.menuV4ToV3(ue(o.state.menu)),
|
|
123
123
|
_id: o.state.menu._id,
|
|
124
124
|
_rev: o.state.menu._rev
|
|
@@ -136,7 +136,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
136
136
|
async function A() {
|
|
137
137
|
await y.minor(
|
|
138
138
|
async () => {
|
|
139
|
-
if (await o.readMenu(), o.version ===
|
|
139
|
+
if (await o.readMenu(), o.version === Q.enum.v4) {
|
|
140
140
|
const r = o.state.menu, t = E().format("DD-MM-YYYY_HH-mm"), a = [
|
|
141
141
|
`menu_${t}`,
|
|
142
142
|
`addonGroup_${t}`,
|
|
@@ -167,10 +167,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
167
167
|
const {
|
|
168
168
|
menuItems: M,
|
|
169
169
|
categories: b,
|
|
170
|
-
linkItemRules:
|
|
170
|
+
linkItemRules: B,
|
|
171
171
|
handleSubmit: Y,
|
|
172
172
|
catalogManager: N,
|
|
173
|
-
schedulerManager:
|
|
173
|
+
schedulerManager: P
|
|
174
174
|
} = Se(!1), oe = _e(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
|
|
175
175
|
var a;
|
|
176
176
|
const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
@@ -178,7 +178,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
178
178
|
subject: $.Subject.Business.menu_menuManagement
|
|
179
179
|
};
|
|
180
180
|
return q([t], r).granted;
|
|
181
|
-
}),
|
|
181
|
+
}), z = _(() => {
|
|
182
182
|
var a;
|
|
183
183
|
const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
184
184
|
action: $.Action.manage,
|
|
@@ -199,10 +199,10 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
199
199
|
d("div", Ae, [
|
|
200
200
|
d("div", Ee, [
|
|
201
201
|
d("div", Te, [
|
|
202
|
-
d("p",
|
|
202
|
+
d("p", De, Z(v.value), 1)
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
|
-
d("div",
|
|
205
|
+
d("div", Ie, [
|
|
206
206
|
ae.value ? (l(), m(O, { key: 1 }, {
|
|
207
207
|
default: p(({ trigger: s }) => [
|
|
208
208
|
u(fe, null, {
|
|
@@ -220,7 +220,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
220
220
|
}, 1024)
|
|
221
221
|
]),
|
|
222
222
|
_: 1
|
|
223
|
-
})) : (l(), U(
|
|
223
|
+
})) : (l(), U(L, { key: 0 }, [
|
|
224
224
|
se.value ? (l(), m(xe, { key: 0 }, {
|
|
225
225
|
default: p(({ trigger: s }) => [
|
|
226
226
|
u(a, {
|
|
@@ -233,7 +233,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
233
233
|
]),
|
|
234
234
|
_: 1
|
|
235
235
|
})) : C("", !0),
|
|
236
|
-
|
|
236
|
+
z.value ? (l(), m(a, {
|
|
237
237
|
key: 1,
|
|
238
238
|
"bg-color": e(h).NeutralGray100,
|
|
239
239
|
"text-color": e(h).TypoSecondary,
|
|
@@ -241,7 +241,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
241
241
|
label: e(n)("menu.products.actions.export"),
|
|
242
242
|
onClick: A
|
|
243
243
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
|
|
244
|
-
|
|
244
|
+
z.value ? (l(), m(O, { key: 2 }, {
|
|
245
245
|
default: p(({ trigger: s }) => [
|
|
246
246
|
u(a, {
|
|
247
247
|
"bg-color": e(h).NeutralGray100,
|
|
@@ -254,44 +254,44 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
254
254
|
_: 1
|
|
255
255
|
})) : C("", !0)
|
|
256
256
|
], 64)),
|
|
257
|
-
v.value > 0 ? (l(), U(
|
|
258
|
-
k.value.create ? (l(), m(
|
|
257
|
+
v.value > 0 ? (l(), U(L, { key: 2 }, [
|
|
258
|
+
k.value.create ? (l(), m(D, {
|
|
259
259
|
key: 0,
|
|
260
260
|
label: e(n)("menu.products.actions.add"),
|
|
261
261
|
"prepend-icon": "add",
|
|
262
262
|
onClick: t[0] || (t[0] = (s) => e(g).create(null))
|
|
263
|
-
}, null, 8, ["label"])) : i.value ? (l(), m(
|
|
263
|
+
}, null, 8, ["label"])) : i.value ? (l(), m(J, {
|
|
264
264
|
key: 1,
|
|
265
265
|
"categorized-items": e(N).linkableItems.value,
|
|
266
266
|
"initial-value": e(N).currentItems.value,
|
|
267
267
|
"show-variant": !1,
|
|
268
268
|
"menu-items": e(M),
|
|
269
269
|
categories: e(b),
|
|
270
|
-
"link-item-rules": e(
|
|
270
|
+
"link-item-rules": e(B),
|
|
271
271
|
"no-scheduler": i.value,
|
|
272
272
|
onSubmit: e(Y)
|
|
273
273
|
}, {
|
|
274
274
|
default: p(({ trigger: s }) => [
|
|
275
|
-
u(
|
|
275
|
+
u(D, {
|
|
276
276
|
label: e(n)("menu.products.actions.link"),
|
|
277
277
|
"prepend-icon": "link",
|
|
278
278
|
onClick: s
|
|
279
279
|
}, null, 8, ["label", "onClick"])
|
|
280
280
|
]),
|
|
281
281
|
_: 1
|
|
282
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(
|
|
282
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
|
|
283
283
|
key: 2,
|
|
284
|
-
"categorized-items": e(
|
|
285
|
-
"initial-value": e(
|
|
284
|
+
"categorized-items": e(P).linkableItems.value,
|
|
285
|
+
"initial-value": e(P).currentItems.value,
|
|
286
286
|
"show-variant": !1,
|
|
287
287
|
"menu-items": e(M),
|
|
288
288
|
categories: e(b),
|
|
289
|
-
"link-item-rules": e(
|
|
289
|
+
"link-item-rules": e(B),
|
|
290
290
|
"no-scheduler": i.value,
|
|
291
291
|
onSubmit: e(Y)
|
|
292
292
|
}, {
|
|
293
293
|
default: p(({ trigger: s }) => [
|
|
294
|
-
u(
|
|
294
|
+
u(D, {
|
|
295
295
|
label: e(n)("menu.products.actions.apply_scheduler"),
|
|
296
296
|
onClick: s
|
|
297
297
|
}, null, 8, ["label", "onClick"])
|
|
@@ -308,5 +308,5 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
310
|
export {
|
|
311
|
-
|
|
311
|
+
Qe as default
|
|
312
312
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, ref as P, computed as D, 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 z, 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 E } from "./dayjs.min-
|
|
2
|
+
import { D as E } from "./dayjs.min-xM9KAjrx.js";
|
|
3
3
|
import { useRouter as ze } from "vue-router";
|
|
4
4
|
import { O as Ee, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.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 Ge, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as We } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Qe } from "./app-
|
|
9
|
+
import { _ as Qe } from "./app-BO16t-ps.js";
|
|
10
10
|
import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as Fe } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -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 P, 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 { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-BO16t-ps.js";
|
|
6
|
+
import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-q9DVgfMD.js";
|
|
10
10
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-DThoovpF.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-DlzIboPc.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 = {
|