@feedmepos/mf-menu 0.32.84 → 0.32.85-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-DQYGVwqw.js → App-BHQ_fslI.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-By550ll2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-L4ttHc7o.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-C9RL7B4X.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-BGD3hvG1.js} +3 -3
- package/dist/{Catalog-SipvJmOi.js → Catalog-BkWRy_YO.js} +6 -6
- package/dist/{CatalogBinding-DxJFf3hZ.js → CatalogBinding-BiQOSd7E.js} +3 -3
- package/dist/{Category-eLeO5RmT.js → Category-Cf9mFsyk.js} +4 -4
- package/dist/{Category-Cvnddg_P.js → Category-DS-VrY_n.js} +4 -4
- package/dist/{CookingGuide-Dwy7sJ7L.js → CookingGuide-Bb37D02U.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-2G8bjM0G.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CtwQBg2x.js} +1 -1
- package/dist/{Group-BHlqxHJa.js → Group-Czm0iL4C.js} +3 -3
- package/dist/{Group-Blprrrqp.js → Group-kN4n4qar.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-tVdhx2MC.js → Group.vue_vue_type_script_setup_true_lang-B9E-Qi22.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CLTOwiqJ.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B4QYgrCl.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-D9CnWzhf.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CfxLjai8.js} +7 -7
- package/dist/{Ingredient-CRDTN_Xq.js → Ingredient-D5okLBTD.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-RgpcLcfL.js → InventoryBinding.vue_vue_type_script_setup_true_lang-V99gY-nw.js} +2 -2
- package/dist/{LinkProductSideSheet-t3GdVkkM.js → LinkProductSideSheet-BXZisTJh.js} +4 -4
- package/dist/{MenuSetting-CeHAYZIi.js → MenuSetting-CALFfoas.js} +7 -7
- package/dist/{OrderPacing-DNj1_lES.js → OrderPacing-Cix63PIA.js} +5 -5
- package/dist/{PrintRoute-BJl3KimH.js → PrintRoute-CKYx6qMt.js} +5 -5
- package/dist/{Product-CyZoxce5.js → Product-yzjmCAvt.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-xteY_0JW.js → Product.vue_vue_type_script_setup_true_lang-BMfdmIfG.js} +14 -14
- package/dist/{ProductInternalTools-CzBTkNnO.js → ProductInternalTools-C_7x4zQH.js} +7 -7
- package/dist/{Products-CGgaDz0x.js → Products-CFcIIXaQ.js} +42 -42
- package/dist/{Publish-BGsOETCG.js → Publish-D44XMlqB.js} +4 -4
- package/dist/{Recipe-Bkz-2WLW.js → Recipe-BrJpVM00.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-1bgL6T7Z.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Bset_bVY.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DKPBnekp.js → RuleView.vue_vue_type_script_setup_true_lang-CoSBMY0g.js} +567 -567
- package/dist/{Scheduler-DfVF2O45.js → Scheduler-SM-5iAhd.js} +3 -3
- package/dist/{ServingSequence-C8h-r1rS.js → ServingSequence-DG1Ku1jD.js} +3 -3
- package/dist/{Setting-DeDTKNG9.js → Setting-Bj29D5vL.js} +5 -5
- package/dist/{Subcategory-DVXY-Dc9.js → Subcategory-wtnI-XVv.js} +6 -6
- package/dist/{Takeaway-Gw4FjoA7.js → Takeaway-Bjw7nM78.js} +1 -1
- package/dist/{Takeaway-UvvKWAyD.js → Takeaway-pcAOv6-O.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-w0UeCL3D.js → Takeaway.vue_vue_type_script_setup_true_lang-DpIEZtt8.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cv7w6gYb.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CHLca1XQ.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-C6Cp-fU6.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-nLcMDMRe.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-iaxM178x.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DXTwmoa2.js} +16 -16
- package/dist/{Unit-DX3fO6F6.js → Unit-BSZqzuL_.js} +2 -2
- package/dist/{Variant-Bi18iF8B.js → Variant-8jUdTs-g.js} +3 -3
- package/dist/{_id_-Cd_4U6pd.js → _id_-DFEFGwTk.js} +10 -10
- package/dist/{app-CTLoSpZF.js → app-BIOT86Jl.js} +1 -1
- package/dist/{app-C2JspNB6.js → app-C_W6pUNz.js} +114 -114
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/unavailableOptions.d.ts +19 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-Bc6oKGN7.js → linked-status-BbELfJPA.js} +2 -2
- package/dist/assets/{menu-export-B083R0x2.js → menu-export-DWL1zkRJ.js} +2 -2
- package/dist/assets/{override-menu-CMbBDi39.js → override-menu-as5aQ12W.js} +2 -2
- package/dist/assets/{validate-menu-4cf4mMlP.js → validate-menu-D0CucpYl.js} +12 -12
- package/dist/{catalog-Bh1Fuirs.js → catalog-Dr_3fejB.js} +1 -1
- package/dist/{catalogSetting-D52y96em.js → catalogSetting-DIXFtjtd.js} +1 -1
- package/dist/{currency-B8nwmKHp.js → currency-D5AzLt8g.js} +1 -1
- package/dist/{dayjs.min-D9nrsB-v.js → dayjs.min-iknUN306.js} +2 -2
- package/dist/{discardConfirm-CuPIlVDv.js → discardConfirm-BeijXz67.js} +1 -1
- package/dist/{index-DEYN7phN.js → index-DFU93A1e.js} +5 -5
- package/dist/{index-eNqjLjgW.js → index-DKu-mHCN.js} +6 -6
- package/dist/{index-C2oCP5Yy.js → index-DfYcyGnd.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BMh4uaSK.js → index.vue_vue_type_script_setup_true_lang-Dm6SwdK_.js} +884 -884
- package/dist/{item-L4ip2ikT.js → item-ClYCOsd0.js} +3754 -3721
- package/dist/{jszip.min-DGhJqVaW.js → jszip.min-DFP1kQ0Y.js} +3 -3
- package/dist/{linkProducts-DzezeBIt.js → linkProducts-BI0GhCPX.js} +4 -4
- package/dist/{memberPricing-COizG9lb.js → memberPricing-o80l5wQR.js} +1 -1
- package/dist/{menu-BaTAUzXN.js → menu-DOssaHpb.js} +1 -1
- package/dist/{menuV2-Bnf7F2oE.js → menuV2-AECnP5Rt.js} +49 -49
- package/dist/{order_pacing-DCfDFy7Z.js → order_pacing-D-SA1JIl.js} +5 -5
- package/dist/{priceTier-oaQlHY3a.js → priceTier-BrENno35.js} +1 -1
- package/dist/{rules-CtgKAyt5.js → rules-CcVkkMbf.js} +3 -3
- package/dist/{scheduler--koGNOyt.js → scheduler-BVgmIM1a.js} +5 -5
- package/dist/{toExcel-CU27GHuS.js → toExcel-CO0c8LYl.js} +2 -2
- package/dist/{unit-PI7Buwy-.js → unit-CW-dfJ2c.js} +3 -3
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ref as F, computed as x, defineComponent as G, resolveComponent as K, createBlock as I, openBlock as m, withCtx as $, createElementVNode as g, createVNode as d, unref as n, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as M, normalizeClass as me, toDisplayString as E, withModifiers as fe, mergeModels as at, useModel as ot, renderSlot as ye, watch as ie, createTextVNode as nt, watchEffect as rt, nextTick as Oe, resolveDynamicComponent as st, onMounted as ut, h as O, isRef as qe, normalizeStyle as xt } from "vue";
|
|
2
|
-
import { l as be } from "./discardConfirm-
|
|
3
|
-
import { u as Ie, o as we, a as ce, f as Ue, I as Ct, T as wt, _ as _e } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { l as be } from "./discardConfirm-BeijXz67.js";
|
|
3
|
+
import { u as Ie, o as we, a as ce, f as Ue, I as Ct, T as wt, _ as _e } from "./index.vue_vue_type_script_setup_true_lang-Dm6SwdK_.js";
|
|
4
4
|
import { useI18n as $e, useCoreStore as De, useCustomAttributes as kt } from "@feedmepos/mf-common";
|
|
5
|
-
import { u as Ve } from "./menu-
|
|
6
|
-
import { L as We } from "./LinkProductSideSheet-
|
|
7
|
-
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as St } from "./linkProducts-
|
|
10
|
-
import { f as Vt, o as Ft, a as It, m as $t } from "./menuV2-
|
|
11
|
-
import { w as it, ap as Tt, aq as Pt, M as At, G as Rt, ar as Ye } from "./item-
|
|
5
|
+
import { u as Ve } from "./menu-DOssaHpb.js";
|
|
6
|
+
import { L as We } from "./LinkProductSideSheet-BXZisTJh.js";
|
|
7
|
+
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Bset_bVY.js";
|
|
8
|
+
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CtwQBg2x.js";
|
|
9
|
+
import { u as St } from "./linkProducts-BI0GhCPX.js";
|
|
10
|
+
import { f as Vt, o as Ft, a as It, m as $t } from "./menuV2-AECnP5Rt.js";
|
|
11
|
+
import { w as it, ap as Tt, aq as Pt, M as At, G as Rt, ar as Ye } from "./item-ClYCOsd0.js";
|
|
12
12
|
import { b as Ze, H as Mt } from "./app-5fxKLAzS.js";
|
|
13
13
|
import { useBreakpoints as ct, components as ee, useDialog as Ot, FmButtonColorThemeVariant as W, FmButtonVariant as X } from "@feedmepos/ui-library";
|
|
14
|
-
import { f as Ne, h as Re, g as Ut, F as zt } from "./index-
|
|
15
|
-
import { _ as Ke, d as Nt, e as Dt } from "./app-
|
|
14
|
+
import { f as Ne, h as Re, g as Ut, F as zt } from "./index-DfYcyGnd.js";
|
|
15
|
+
import { _ as Ke, d as Nt, e as Dt } from "./app-C_W6pUNz.js";
|
|
16
16
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
17
|
-
import { _ as Kt } from "./index-
|
|
18
|
-
import { r as Bt, _ as jt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as Kt } from "./index-DKu-mHCN.js";
|
|
18
|
+
import { r as Bt, _ as jt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CfxLjai8.js";
|
|
19
19
|
import { _ as Je } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
20
20
|
import { c as Et } from "./check-C9mY6LiX.js";
|
|
21
|
-
import { f as Gt } from "./currency-
|
|
21
|
+
import { f as Gt } from "./currency-D5AzLt8g.js";
|
|
22
22
|
import { w as Lt } from "./tooltip-B5BiPMx9.js";
|
|
23
23
|
function qt(h, e, c = h) {
|
|
24
24
|
const r = F(!0), o = x(() => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as W, ref as v, computed as M, resolveComponent as G, createElementBlock as c, openBlock as i, createElementVNode as s, createVNode as k, unref as h, createCommentVNode as B, normalizeClass as R, toDisplayString as $, createStaticVNode as A, Fragment as T, renderList as O, createBlock as re, withCtx as D } from "vue";
|
|
2
|
-
import { J as V, F as ie } from "./jszip.min-
|
|
3
|
-
import { l as Z } from "./discardConfirm-
|
|
2
|
+
import { J as V, F as ie } from "./jszip.min-DFP1kQ0Y.js";
|
|
3
|
+
import { l as Z } from "./discardConfirm-BeijXz67.js";
|
|
4
4
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as P, useSnackbar as q, useDialog as de, FmButtonColorThemeVariant as z } from "@feedmepos/ui-library";
|
|
6
|
-
import { b as me, u as ue, q as pe, y as ge, z as fe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { b as me, u as ue, q as pe, y as ge, z as fe } from "./index.vue_vue_type_script_setup_true_lang-Dm6SwdK_.js";
|
|
7
7
|
import { _ as he } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as be, a as ye } from "./menu-
|
|
9
|
-
import { a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { ai as _e, aj as we, ak as xe, al as Ie, am as ke } from "./item-
|
|
8
|
+
import { u as be, a as ye } from "./menu-DOssaHpb.js";
|
|
9
|
+
import { a as ve } from "./Product.vue_vue_type_script_setup_true_lang-BMfdmIfG.js";
|
|
10
|
+
import { ai as _e, aj as we, ak as xe, al as Ie, am as ke } from "./item-ClYCOsd0.js";
|
|
11
11
|
const Ce = { class: "h-full flex flex-col" }, Ue = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, je = { class: "flex gap-8" }, $e = { class: "border-b border-gray-200" }, Fe = { class: "flex" }, Se = { class: "flex-1 overflow-hidden" }, ze = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "h-full flex flex-col"
|
|
@@ -152,7 +152,7 @@ const Ce = { class: "h-full flex flex-col" }, Ue = { class: "flex items-center j
|
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
|
-
var Qe = { firebase: { storageBucket: "image.
|
|
155
|
+
var Qe = { firebase: { storageBucket: "image.feedmedev.cc" } };
|
|
156
156
|
const Ye = {
|
|
157
157
|
key: 0,
|
|
158
158
|
class: "h-screen"
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as T } from "./dayjs.min-
|
|
3
|
-
import { J as ie, F as le } from "./jszip.min-
|
|
4
|
-
import { l as j } from "./discardConfirm-
|
|
5
|
-
import { w as ue } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as Q, b as X, a as H, e as q, F as ee, d as ce, m as me, f as de, g as pe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { h as V, A as O } from "./app-
|
|
1
|
+
import { defineComponent as B, computed as d, ref as Z, resolveComponent as F, createBlock as p, openBlock as l, unref as e, withCtx as _, createElementVNode as f, toDisplayString as K, createVNode as u, createCommentVNode as w, createElementBlock as R, Fragment as U } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-iknUN306.js";
|
|
3
|
+
import { J as ie, F as le } from "./jszip.min-DFP1kQ0Y.js";
|
|
4
|
+
import { l as j } from "./discardConfirm-BeijXz67.js";
|
|
5
|
+
import { w as ue } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CfxLjai8.js";
|
|
6
|
+
import { u as Q, b as X, a as H, e as q, F as ee, d as ce, m as me, f as de, g as pe } from "./index.vue_vue_type_script_setup_true_lang-Dm6SwdK_.js";
|
|
7
|
+
import { h as V, A as O } from "./app-C_W6pUNz.js";
|
|
8
8
|
import { useCoreStore as te, useI18n as fe } from "@feedmepos/mf-common";
|
|
9
|
-
import { useDialog as oe, useDialogChild as _e, useSnackbar as ne, useBreakpoints as ge, FmButtonVariant as
|
|
10
|
-
import { _ as
|
|
9
|
+
import { useDialog as oe, useDialogChild as _e, useSnackbar as ne, useBreakpoints as ge, FmButtonVariant as D, FmButtonColorThemeVariant as x } from "@feedmepos/ui-library";
|
|
10
|
+
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
11
11
|
import { _ as ve, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
12
12
|
import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
13
|
-
import { u as ye, a as ke } from "./menu-
|
|
14
|
-
import { w as xe } from "./item-
|
|
15
|
-
import { _ as J, a as he } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { L as W } from "./LinkProductSideSheet-
|
|
17
|
-
import { _ as Se } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { u as Me } from "./linkProducts-
|
|
19
|
-
import { m as Ce } from "./toExcel-
|
|
20
|
-
const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "flex justify-end gap-8" }, Ve = /* @__PURE__ */
|
|
13
|
+
import { u as ye, a as ke } from "./menu-DOssaHpb.js";
|
|
14
|
+
import { w as xe } from "./item-ClYCOsd0.js";
|
|
15
|
+
import { _ as J, a as he } from "./Product.vue_vue_type_script_setup_true_lang-BMfdmIfG.js";
|
|
16
|
+
import { L as W } from "./LinkProductSideSheet-BXZisTJh.js";
|
|
17
|
+
import { _ as Se } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DXTwmoa2.js";
|
|
18
|
+
import { u as Me } from "./linkProducts-BI0GhCPX.js";
|
|
19
|
+
import { m as Ce } from "./toExcel-CO0c8LYl.js";
|
|
20
|
+
const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "flex justify-end gap-8" }, Ve = /* @__PURE__ */ B({
|
|
21
21
|
__name: "ConfirmActionDialog",
|
|
22
22
|
props: {
|
|
23
23
|
description: {},
|
|
@@ -65,7 +65,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
65
65
|
}, 8, ["on-validation-success"]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}), Ae = /* @__PURE__ */
|
|
68
|
+
}), Ae = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
70
|
setup(A) {
|
|
71
71
|
const o = Q(), c = te(), { isRestaurantLevelMenu: y } = c, a = ne(), { minor: h } = X(a), g = Z(!1), i = oe();
|
|
@@ -116,7 +116,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
116
116
|
})) : w("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), Ee = "/assets/menu-export-
|
|
119
|
+
}), Ee = "/assets/menu-export-DWL1zkRJ.js", Te = { class: "flex-1 flex justify-between gap-8 pl-8" }, De = { class: "flex items-center" }, Ie = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Be = { class: "fm-typo-en-body-md-600 font-semibold" }, Ye = { class: "flex gap-8" }, ot = /* @__PURE__ */ B({
|
|
120
120
|
__name: "Products",
|
|
121
121
|
setup(A) {
|
|
122
122
|
const { t: o } = fe(), c = te(), y = X(ne()), a = Q(), h = d(() => a.rules.item), g = xe(), i = d(() => !a.state.currentSchedulerId), S = d(() => c.currentCountry.value ? ce(c.currentCountry.value).map((n) => n.code) : []), { selectedCategories: v } = ye(), M = d(() => ({
|
|
@@ -170,9 +170,9 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
170
170
|
menuItems: C,
|
|
171
171
|
categories: b,
|
|
172
172
|
linkItemRules: Y,
|
|
173
|
-
handleSubmit:
|
|
174
|
-
catalogManager:
|
|
175
|
-
schedulerManager:
|
|
173
|
+
handleSubmit: L,
|
|
174
|
+
catalogManager: N,
|
|
175
|
+
schedulerManager: z
|
|
176
176
|
} = Me(!1), ae = ge(), se = d(() => ae.breakpoints.value.xs), re = d(() => {
|
|
177
177
|
var s;
|
|
178
178
|
const n = ((s = c.sessionUser.value) == null ? void 0 : s.permissions) ?? [], t = {
|
|
@@ -180,7 +180,7 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
180
180
|
subject: V.Subject.Business.menu_menuManagement
|
|
181
181
|
};
|
|
182
182
|
return O([t], n).granted;
|
|
183
|
-
}),
|
|
183
|
+
}), P = d(() => {
|
|
184
184
|
var s;
|
|
185
185
|
const n = ((s = c.sessionUser.value) == null ? void 0 : s.permissions) ?? [], t = {
|
|
186
186
|
action: V.Action.manage,
|
|
@@ -199,9 +199,9 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
199
199
|
]),
|
|
200
200
|
"append-heading": _(() => [
|
|
201
201
|
f("div", Te, [
|
|
202
|
-
f("div",
|
|
203
|
-
f("div",
|
|
204
|
-
f("p",
|
|
202
|
+
f("div", De, [
|
|
203
|
+
f("div", Ie, [
|
|
204
|
+
f("p", Be, K(m.value), 1)
|
|
205
205
|
])
|
|
206
206
|
]),
|
|
207
207
|
f("div", Ye, [
|
|
@@ -222,33 +222,33 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
222
222
|
}, 1024)
|
|
223
223
|
]),
|
|
224
224
|
_: 1
|
|
225
|
-
})) : (l(), U
|
|
225
|
+
})) : (l(), R(U, { key: 0 }, [
|
|
226
226
|
re.value ? (l(), p(Se, { key: 0 }, {
|
|
227
227
|
default: _(({ trigger: r }) => [
|
|
228
228
|
u(s, {
|
|
229
229
|
label: e(o)("menu.tree_editor.title"),
|
|
230
230
|
"bg-color": e(x).NeutralGray100,
|
|
231
231
|
"text-color": e(x).TypoSecondary,
|
|
232
|
-
variant: e(
|
|
232
|
+
variant: e(D).Primary,
|
|
233
233
|
onClick: r
|
|
234
234
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
235
235
|
]),
|
|
236
236
|
_: 1
|
|
237
237
|
})) : w("", !0),
|
|
238
|
-
|
|
238
|
+
P.value ? (l(), p(s, {
|
|
239
239
|
key: 1,
|
|
240
240
|
"bg-color": e(x).NeutralGray100,
|
|
241
241
|
"text-color": e(x).TypoSecondary,
|
|
242
|
-
variant: e(
|
|
242
|
+
variant: e(D).Primary,
|
|
243
243
|
label: e(o)("menu.products.actions.export"),
|
|
244
244
|
onClick: E
|
|
245
245
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
246
|
-
|
|
246
|
+
P.value ? (l(), p(J, { key: 2 }, {
|
|
247
247
|
default: _(({ trigger: r }) => [
|
|
248
248
|
u(s, {
|
|
249
249
|
"bg-color": e(x).NeutralGray100,
|
|
250
250
|
"text-color": e(x).TypoSecondary,
|
|
251
|
-
variant: e(
|
|
251
|
+
variant: e(D).Primary,
|
|
252
252
|
label: e(o)("menu.products.actions.import"),
|
|
253
253
|
onClick: r
|
|
254
254
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
@@ -256,25 +256,25 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
256
256
|
_: 1
|
|
257
257
|
})) : w("", !0)
|
|
258
258
|
], 64)),
|
|
259
|
-
m.value > 0 ? (l(), U
|
|
260
|
-
h.value.create ? (l(), p(
|
|
259
|
+
m.value > 0 ? (l(), R(U, { key: 2 }, [
|
|
260
|
+
h.value.create ? (l(), p(I, {
|
|
261
261
|
key: 0,
|
|
262
262
|
label: e(o)("menu.products.actions.add"),
|
|
263
263
|
"prepend-icon": "add",
|
|
264
264
|
onClick: t[0] || (t[0] = (r) => e(g).create(null))
|
|
265
265
|
}, null, 8, ["label"])) : i.value ? (l(), p(W, {
|
|
266
266
|
key: 1,
|
|
267
|
-
"categorized-items": e(
|
|
268
|
-
"initial-value": e(
|
|
267
|
+
"categorized-items": e(N).linkableItems.value,
|
|
268
|
+
"initial-value": e(N).currentItems.value,
|
|
269
269
|
"show-variant": !1,
|
|
270
270
|
"menu-items": e(C),
|
|
271
271
|
categories: e(b),
|
|
272
272
|
"link-item-rules": e(Y),
|
|
273
273
|
"no-scheduler": i.value,
|
|
274
|
-
onSubmit: e(
|
|
274
|
+
onSubmit: e(L)
|
|
275
275
|
}, {
|
|
276
276
|
default: _(({ trigger: r }) => [
|
|
277
|
-
u(
|
|
277
|
+
u(I, {
|
|
278
278
|
label: e(o)("menu.products.actions.link"),
|
|
279
279
|
"prepend-icon": "link",
|
|
280
280
|
onClick: r
|
|
@@ -283,17 +283,17 @@ const we = { class: "space-y-24 mb-24" }, Fe = ["innerHTML"], $e = { class: "fle
|
|
|
283
283
|
_: 1
|
|
284
284
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), p(W, {
|
|
285
285
|
key: 2,
|
|
286
|
-
"categorized-items": e(
|
|
287
|
-
"initial-value": e(
|
|
286
|
+
"categorized-items": e(z).linkableItems.value,
|
|
287
|
+
"initial-value": e(z).currentItems.value,
|
|
288
288
|
"show-variant": !1,
|
|
289
289
|
"menu-items": e(C),
|
|
290
290
|
categories: e(b),
|
|
291
291
|
"link-item-rules": e(Y),
|
|
292
292
|
"no-scheduler": i.value,
|
|
293
|
-
onSubmit: e(
|
|
293
|
+
onSubmit: e(L)
|
|
294
294
|
}, {
|
|
295
295
|
default: _(({ trigger: r }) => [
|
|
296
|
-
u(
|
|
296
|
+
u(I, {
|
|
297
297
|
label: e(o)("menu.products.actions.apply_scheduler"),
|
|
298
298
|
onClick: r
|
|
299
299
|
}, null, 8, ["label", "onClick"])
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as N, computed as A, onMounted as we, resolveComponent as $, createElementBlock as M, openBlock as w, createVNode as _, createElementVNode as f, toDisplayString as K, unref as h, Fragment as H, renderList as ae, createBlock as W, watch as Re, withCtx as j, h as E, normalizeClass as ke, createCommentVNode as le, createTextVNode as Ne, mergeProps as Ye, normalizeStyle as Je, renderSlot as We, withModifiers as re, onUnmounted as Qe } from "vue";
|
|
2
2
|
import { useRouter as Xe } from "vue-router";
|
|
3
3
|
import { O as Ze, b as et } from "./app-5fxKLAzS.js";
|
|
4
|
-
import { a as tt, e as at, b as Oe, O as lt, P as st, _ as De, Q as z, u as Ue, f as Me, F as nt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as tt, e as at, b as Oe, O as lt, P as st, _ as De, Q as z, u as Ue, f as Me, F as nt } from "./index.vue_vue_type_script_setup_true_lang-Dm6SwdK_.js";
|
|
5
5
|
import { formatDateTime as ie, useI18n as se, useAppLocale as ce, useCoreStore as xe, RestaurantSelector as Te, prefersHour12 as ot } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as Se, useDialogChild as ut, useProxiedModel as rt, useDialog as Be, components as oe, FmButtonVariant as Ae } from "@feedmepos/ui-library";
|
|
7
7
|
import { _ as it } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
|
-
import { _ as ct } from "./app-
|
|
8
|
+
import { _ as ct } from "./app-C_W6pUNz.js";
|
|
9
9
|
import { a as dt, w as mt } from "./tooltip-B5BiPMx9.js";
|
|
10
|
-
import { D as J } from "./dayjs.min-
|
|
11
|
-
import { u as Ee, l as pt } from "./discardConfirm-
|
|
10
|
+
import { D as J } from "./dayjs.min-iknUN306.js";
|
|
11
|
+
import { u as Ee, l as pt } from "./discardConfirm-BeijXz67.js";
|
|
12
12
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { r as ht } from "./publishMeta-CAbjnmmS.js";
|
|
14
14
|
function ze(C, m, a) {
|
|
@@ -2,14 +2,14 @@ import { defineComponent as j, 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 { j as q, b as P, f as ie, m as B, e as D, h as O, i as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-C_W6pUNz.js";
|
|
6
|
+
import { j as q, b as P, f as ie, m as B, e as D, h as O, i as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-Dm6SwdK_.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-V99gY-nw.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-BeijXz67.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-CW-dfJ2c.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__ */ j({
|
|
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-CoSBMY0g.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 = {
|