@feedmepos/mf-menu 0.32.52-dev → 0.32.52
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-COGal-TD.js → App-ueXpH5uy.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BsFapF6d.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-eqJDqaPZ.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-BSN7XtmN.js} +2 -2
- package/dist/{Catalog-BJ8-NdAC.js → Catalog-Bv7P9ezj.js} +6 -6
- package/dist/{Category-BkU2y10v.js → Category-CUlq7SuU.js} +4 -4
- package/dist/{Category-CFaPOouQ.js → Category-DdS1KASK.js} +4 -4
- package/dist/{CookingGuide-BDDCmfeL.js → CookingGuide-DkBX8wnY.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BcJYQo_p.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DcfgHbnh.js} +1 -1
- package/dist/{Group-Sk7Qd6G3.js → Group-BQpcj6QD.js} +3 -3
- package/dist/{Group-DBrJ4Rin.js → Group-pe0PnVCF.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BWpIG76a.js → Group.vue_vue_type_script_setup_true_lang-D-_Mb3Ni.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DzeAE7Oj.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CAmV-Bbk.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DWScWkMg.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CKOiT-Dq.js} +7 -7
- package/dist/{Ingredient-CA0qoRc1.js → Ingredient-BUxeqp7_.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BzLcfi4f.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Cp-Lhe6Y.js} +2 -2
- package/dist/{LinkProductSideSheet-TTj7qiWm.js → LinkProductSideSheet-CLFUnEzC.js} +3 -3
- package/dist/{MenuSetting-DwfE7v0B.js → MenuSetting-CXxjBg51.js} +6 -6
- package/dist/{OrderPacing-cT1Vs3OD.js → OrderPacing-Qs6pkp2R.js} +5 -5
- package/dist/{PrintRoute-D8pc6M31.js → PrintRoute-DujkGrc5.js} +4 -4
- package/dist/{Product-CW1oQzS-.js → Product-Cvx9QNvS.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-lqXctN9S.js → Product.vue_vue_type_script_setup_true_lang-CB9i8PBK.js} +12 -12
- package/dist/{ProductInternalTools-DAIu8IhO.js → ProductInternalTools-BoMKTz_K.js} +6 -6
- package/dist/{Products-nVL6Qsuw.js → Products-DePOWKkr.js} +38 -38
- package/dist/{Publish-DHEzIG_J.js → Publish-CYT_yffF.js} +3 -3
- package/dist/{Recipe-BLcLaekI.js → Recipe-DnSVxwzQ.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BCHurASV.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CrspfNYu.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js → RuleView.vue_vue_type_script_setup_true_lang-lO4l5Ljh.js} +302 -302
- package/dist/{Scheduler-C4e5hO7Z.js → Scheduler-CdYNHciJ.js} +3 -3
- package/dist/{ServingSequence-C12Ny_nR.js → ServingSequence-Jo7bwtAo.js} +3 -3
- package/dist/{Setting-BscTehhJ.js → Setting-Cq-_XYsZ.js} +5 -5
- package/dist/{Subcategory-C5FGoPot.js → Subcategory-1gkL6W4_.js} +5 -5
- package/dist/{Takeaway-CDSKNUhc.js → Takeaway-CAZzzdLP.js} +1 -1
- package/dist/{Takeaway-Dr6WQVE1.js → Takeaway-DCWzdHo8.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-C6eREsQp.js → Takeaway.vue_vue_type_script_setup_true_lang-e-I0u75f.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CkETUziX.js → Thumbnail.vue_vue_type_script_setup_true_lang-DZrLbN0f.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CcD-TGhd.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DVpEwVSx.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DccUYmCx.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BFajMkOS.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1ov0odP.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DbQEg7Q8.js} +14 -14
- package/dist/{Unit-U3pz6pPm.js → Unit-DMO6V6Mu.js} +2 -2
- package/dist/{Variant-D-nC4Dy6.js → Variant-FKGZZrba.js} +3 -3
- package/dist/{_id_-DHI7NeZ5.js → _id_-C0CFpyt-.js} +9 -9
- package/dist/{app-dIGG83GF.js → app-4a-p2oXw.js} +32 -32
- package/dist/{app-Brq8nN4D.js → app-BjeSSnsM.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-C-sgTOx9.js → linked-status-BAAoFylt.js} +2 -2
- package/dist/assets/{menu-export-Nt98HUsd.js → menu-export-Dild-wkg.js} +2 -2
- package/dist/assets/{override-menu-Ako9Ghu_.js → override-menu-DW8WHLlm.js} +2 -2
- package/dist/assets/{validate-menu-CVJ4sdGa.js → validate-menu-2eCRB1oK.js} +2 -2
- package/dist/{catalog-BDfp-HKs.js → catalog-9HYR7maN.js} +1 -1
- package/dist/{catalogSetting-BjZWlJux.js → catalogSetting-CePbHJER.js} +1 -1
- package/dist/{currency-BMM0v_C-.js → currency-D1B58hqR.js} +1 -1
- package/dist/{dayjs.min-qRo56ggi.js → dayjs.min-C4k3xr-5.js} +2 -2
- package/dist/{index-Dnr_KMtS.js → index-Dty_jYZ3.js} +5 -5
- package/dist/{index-DwsAtSPy.js → index-tJdydlQc.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js → index.vue_vue_type_script_setup_true_lang-bYbEuWK0.js} +280 -280
- package/dist/{item-hYgXuH-R.js → item-DtotNzxu.js} +18 -18
- package/dist/{jszip.min-BqsNpcIL.js → jszip.min-DnWM7-sF.js} +153 -153
- package/dist/{memberPricing-CXI5GqbJ.js → memberPricing-DUTPzGB1.js} +1 -1
- package/dist/{menu-Okh_Q4gK.js → menu-XlJwZzUi.js} +1 -1
- package/dist/{menuV2-DbTc7yw0.js → menuV2-CMGSx4LE.js} +55 -55
- package/dist/{order_pacing-CBkQIrp3.js → order_pacing-Ieq2X2Ka.js} +5 -5
- package/dist/{priceTier-BxWXhfDh.js → priceTier-BD2Sh-kx.js} +1 -1
- package/dist/{rules-CsoPQCO5.js → rules-BfMSf5Bl.js} +3 -3
- package/dist/{scheduler-BfvHQAuo.js → scheduler-0boD1Q7V.js} +4 -4
- package/dist/{toExcel-DZMykkCy.js → toExcel-Blh9r3ex.js} +2 -2
- package/dist/{unit-ro6UkV3c.js → unit-DM_ZlK-z.js} +2 -2
- package/package.json +1 -1
|
@@ -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-DnWM7-sF.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-bYbEuWK0.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-XlJwZzUi.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-CB9i8PBK.js";
|
|
9
|
+
import { D as be, E as ve, G as _e } from "./item-DtotNzxu.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.feedme.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 Q, z 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-C4k3xr-5.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-DnWM7-sF.js";
|
|
4
|
+
import { u as K, B as Q, z as j, D as H, y as X, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-bYbEuWK0.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CKOiT-Dq.js";
|
|
6
|
+
import { h as $, A as q } from "./app-4a-p2oXw.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 J } from "./LinkProductSideSheet-
|
|
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-XlJwZzUi.js";
|
|
13
|
+
import { u as ye } from "./item-DtotNzxu.js";
|
|
14
|
+
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-CB9i8PBK.js";
|
|
15
|
+
import { L as J } from "./LinkProductSideSheet-CLFUnEzC.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DbQEg7Q8.js";
|
|
17
|
+
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DZrLbN0f.js";
|
|
18
|
+
import { m as he } from "./toExcel-Blh9r3ex.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: {},
|
|
@@ -64,7 +64,7 @@ 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
70
|
const n = K(), f = ee(), y = ne(), { minor: o } = Q(y), k = W(!1), g = te();
|
|
@@ -98,8 +98,8 @@ 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");
|
|
@@ -115,7 +115,7 @@ 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-Dild-wkg.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" }, Xe = /* @__PURE__ */ I({
|
|
119
119
|
__name: "Products",
|
|
120
120
|
setup(V) {
|
|
121
121
|
const { t: n } = de(), f = ee(), y = Q(ne()), o = K(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
|
|
@@ -168,9 +168,9 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
168
168
|
menuItems: M,
|
|
169
169
|
categories: b,
|
|
170
170
|
linkItemRules: B,
|
|
171
|
-
handleSubmit:
|
|
172
|
-
catalogManager:
|
|
173
|
-
schedulerManager:
|
|
171
|
+
handleSubmit: Y,
|
|
172
|
+
catalogManager: N,
|
|
173
|
+
schedulerManager: z
|
|
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
|
+
}), P = _(() => {
|
|
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(),
|
|
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
|
+
P.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
|
+
P.value ? (l(), m(O, { key: 2 }, {
|
|
245
245
|
default: p(({ trigger: s }) => [
|
|
246
246
|
u(a, {
|
|
247
247
|
"bg-color": e(h).NeutralGray100,
|
|
@@ -254,25 +254,25 @@ 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(),
|
|
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
263
|
}, null, 8, ["label"])) : i.value ? (l(), m(J, {
|
|
264
264
|
key: 1,
|
|
265
|
-
"categorized-items": e(
|
|
266
|
-
"initial-value": e(
|
|
265
|
+
"categorized-items": e(N).linkableItems.value,
|
|
266
|
+
"initial-value": e(N).currentItems.value,
|
|
267
267
|
"show-variant": !1,
|
|
268
268
|
"menu-items": e(M),
|
|
269
269
|
categories: e(b),
|
|
270
270
|
"link-item-rules": e(B),
|
|
271
271
|
"no-scheduler": i.value,
|
|
272
|
-
onSubmit: e(
|
|
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
|
|
@@ -281,17 +281,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
281
281
|
_: 1
|
|
282
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(z).linkableItems.value,
|
|
285
|
+
"initial-value": e(z).currentItems.value,
|
|
286
286
|
"show-variant": !1,
|
|
287
287
|
"menu-items": e(M),
|
|
288
288
|
categories: e(b),
|
|
289
289
|
"link-item-rules": e(B),
|
|
290
290
|
"no-scheduler": i.value,
|
|
291
|
-
onSubmit: e(
|
|
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"])
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, ref as P, computed as A, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as z, unref as m, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as T, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Oe, normalizeStyle as Be, renderSlot as Te, withModifiers as le, onUnmounted as ze } from "vue";
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
2
|
+
import { D as E } from "./dayjs.min-C4k3xr-5.js";
|
|
3
3
|
import { useRouter as Ee } from "vue-router";
|
|
4
4
|
import { O as Le, b as je } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as Ke, D as Ye, B as Ce, ah as He, a5 as we, ai as W, u as xe, G as ge, H as qe, y as Ge } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as Ke, D as Ye, B as Ce, ah as He, a5 as we, ai as W, u as xe, G as ge, H as qe, y as Ge } from "./index.vue_vue_type_script_setup_true_lang-bYbEuWK0.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 Je, useProxiedModel as We, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as Qe } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Fe } from "./app-
|
|
9
|
+
import { _ as Fe } from "./app-4a-p2oXw.js";
|
|
10
10
|
import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as Ie } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as Pe } 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-4a-p2oXw.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-bYbEuWK0.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-Cp-Lhe6Y.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-DM_ZlK-z.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-lO4l5Ljh.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 = {
|