@feedmepos/mf-menu 0.32.26-dev → 0.32.27-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-C-68S5Js.js → App-BbVLKUN2.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DMwcLrWU.js → ApplyProduct.vue_vue_type_script_setup_true_lang-zKmo_thI.js} +3 -3
- package/dist/{Catalog-CJNoCcJq.js → Catalog-C_R-XqQc.js} +6 -6
- package/dist/{Category-BgQDNQaR.js → Category-CyhkcIQ-.js} +6 -6
- package/dist/{Category-DnqxVJn8.js → Category-XuDWkRfM.js} +4 -4
- package/dist/{CookingGuide-B5pjN87U.js → CookingGuide-DlQAkwnd.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BooPj25p.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DdvZ5vvM.js} +1 -1
- package/dist/{Group-BO1A67ji.js → Group-CHE6B0qK.js} +3 -3
- package/dist/{Group-DUivSad8.js → Group-_7nzsA0j.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-B6xJGpxN.js → Group.vue_vue_type_script_setup_true_lang-BbxFbO00.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CFYWGtSE.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cq_mMjko.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BlQWRtnv.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DsdAOF_5.js} +6 -6
- package/dist/{Ingredient-trCkZCeu.js → Ingredient-JGfz-Ti4.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DS3zWi74.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DXgSXfVN.js} +2 -2
- package/dist/{LinkProductSideSheet-Cv2q4tn-.js → LinkProductSideSheet-j5i3W3nK.js} +3 -3
- package/dist/{MenuSetting-BQ8jYr9A.js → MenuSetting-B6UtGr_O.js} +5 -5
- package/dist/{PrintRoute-DYzgLPeM.js → PrintRoute-BBbfdVPc.js} +4 -4
- package/dist/{Product-YBV2jbhH.js → Product-CUbkZZdT.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-D0ckjZbT.js → Product.vue_vue_type_script_setup_true_lang-Co0UCwVe.js} +49 -49
- package/dist/{ProductInternalTools-V-mxz1J7.js → ProductInternalTools-B6LClTB5.js} +5 -5
- package/dist/{Products-B7JQD1yy.js → Products-BNTjH3SB.js} +33 -33
- package/dist/{Publish-DDWi1SeO.js → Publish-DcfGQg2f.js} +3 -3
- package/dist/{Recipe-DM7HKIjo.js → Recipe-Ba8dnbCh.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DyVE6RAn.js → RuleView.vue_vue_type_script_setup_true_lang-CBY_n6Qa.js} +2 -2
- package/dist/{Scheduler-BaYFidwx.js → Scheduler-CEMLKGYh.js} +3 -3
- package/dist/{ServingSequence-CL93hjdN.js → ServingSequence-C4x7wfMQ.js} +3 -3
- package/dist/{Setting-krD-ZEzt.js → Setting-DCjYhtmx.js} +5 -5
- package/dist/{Subcategory-Cf1QJNLz.js → Subcategory-Beh0iL3U.js} +4 -4
- package/dist/{Takeaway-4RIqxERJ.js → Takeaway-D8soXgxu.js} +1 -1
- package/dist/{Takeaway-CPT2x245.js → Takeaway-kuhGObiA.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CZsGRbj4.js → Takeaway.vue_vue_type_script_setup_true_lang-DPCfRdTU.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-De5ZxLui.js → Thumbnail.vue_vue_type_script_setup_true_lang-6hc30tf9.js} +4 -4
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BLeh7yyW.js +6000 -0
- package/dist/{Unit-CBU2yeBv.js → Unit-B_u9z7S_.js} +2 -2
- package/dist/{Variant-CaiofLVX.js → Variant-BDZMHd0n.js} +3 -3
- package/dist/{_id_-C9cH5P4C.js → _id_-L5Ble3JB.js} +9 -9
- package/dist/{app-C6OAbEST.js → app-CdROu4jy.js} +1 -1
- package/dist/{app-dr4L7s0e.js → app-EMGiKfmU.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-kqf9YF01.js → linked-status-D0lizz7m.js} +2 -2
- package/dist/assets/{menu-export-DaWjS0T5.js → menu-export-BUrS4ia-.js} +2 -2
- package/dist/assets/{override-menu-C3QQvMx-.js → override-menu-bTwRuI3l.js} +2 -2
- package/dist/assets/{validate-menu-DPyw2109.js → validate-menu-D54dSHhK.js} +2 -2
- package/dist/{catalog-Cuz7ZRmB.js → catalog-BOsvc5ml.js} +1 -1
- package/dist/{catalogSetting-DJFNv3uY.js → catalogSetting-BCWBmgbC.js} +1 -1
- package/dist/{category-Bam0rQG0.js → category-C9zLFJ4-.js} +1 -1
- package/dist/{currency-BlnPQEjW.js → currency-D5m6Ka4Z.js} +1 -1
- package/dist/{dayjs.min-DJ9q1L6q.js → dayjs.min-q8_R4WM9.js} +1 -1
- package/dist/{index-BRj2qZrI.js → index-CAcSwsUf.js} +1 -1
- package/dist/{index-gGr9vxGG.js → index-Dq5JXG2_.js} +3 -3
- package/dist/{index-DTYy_WLk.js → index-l08slAaH.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-CN4VSfTe.js → index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js} +6 -6
- package/dist/{item-DCswFfZ7.js → item-CPTIejeF.js} +1287 -1289
- package/dist/{jszip.min-CDVcb3V1.js → jszip.min-DJunrGqB.js} +2 -2
- package/dist/{menu-OwE_CglC.js → menu-h1O8XtsF.js} +1 -1
- package/dist/{menuV2-DNKAeMnl.js → menuV2-C1gEFYVa.js} +90 -90
- package/dist/{priceTier-BFqnCFgL.js → priceTier-D4CMv9ri.js} +1 -1
- package/dist/{scheduler-BvI0Ikm5.js → scheduler-C7H2CtUY.js} +4 -4
- package/dist/{subcategory-BVFmNnWI.js → subcategory-CTpgpgVI.js} +2 -2
- package/dist/{toExcel-BHGmkWkY.js → toExcel-BombgPEV.js} +2 -2
- package/dist/{unit-Ft62NFNs.js → unit-1EfzGymM.js} +2 -2
- package/package.json +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BM8B116x.js +0 -6024
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ref as F, computed as h, defineComponent as N, resolveComponent as O, createBlock as I, openBlock as m, withCtx as T, createElementVNode as g, createVNode as d, unref as a, createElementBlock as k, Fragment as pe, renderList as we, createCommentVNode as M, normalizeClass as ve, toDisplayString as K, withModifiers as fe, mergeModels as Ze, useModel as Xe, renderSlot as _e, watch as de, createTextVNode as et, watchEffect as tt, nextTick as Ae, resolveDynamicComponent as lt, onMounted as at, h as
|
|
2
|
-
import { u as Fe, T as Ce, B as me, I as Re, J as ge,
|
|
1
|
+
import { ref as F, computed as h, defineComponent as N, resolveComponent as O, createBlock as I, openBlock as m, withCtx as T, createElementVNode as g, createVNode as d, unref as a, createElementBlock as k, Fragment as pe, renderList as we, createCommentVNode as M, normalizeClass as ve, toDisplayString as K, withModifiers as fe, mergeModels as Ze, useModel as Xe, renderSlot as _e, watch as de, createTextVNode as et, watchEffect as tt, nextTick as Ae, resolveDynamicComponent as lt, onMounted as at, h as q, isRef as je, normalizeStyle as ft } from "vue";
|
|
2
|
+
import { u as Fe, T as Ce, B as me, I as Re, J as ge, V as gt, af as bt, ag as _t, ah as Pe, ai as yt, R as ht, a5 as be, aj as Ee } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
3
3
|
import { useI18n as Ie, useCoreStore as ze, useCustomAttributes as xt } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Se } from "./menu-
|
|
5
|
-
import { L as Ge } from "./LinkProductSideSheet-
|
|
6
|
-
import { r as Ct, _ as Le } from "./index-
|
|
7
|
-
import { _ as Me, a as
|
|
8
|
-
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-
|
|
10
|
-
import { u as ot, C as It } from "./item-
|
|
11
|
-
import { b as
|
|
12
|
-
import { useBreakpoints as rt, components as te, useDialog as Tt, FmButtonColorThemeVariant as
|
|
4
|
+
import { u as Se } from "./menu-h1O8XtsF.js";
|
|
5
|
+
import { L as Ge } from "./LinkProductSideSheet-j5i3W3nK.js";
|
|
6
|
+
import { r as Ct, _ as Le } from "./index-CAcSwsUf.js";
|
|
7
|
+
import { _ as Me, a as qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DdvZ5vvM.js";
|
|
8
|
+
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-6hc30tf9.js";
|
|
9
|
+
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-C1gEFYVa.js";
|
|
10
|
+
import { u as ot, C as It } from "./item-CPTIejeF.js";
|
|
11
|
+
import { b as We, H as $t } from "./app-5fxKLAzS.js";
|
|
12
|
+
import { useBreakpoints as rt, components as te, useDialog as Tt, FmButtonColorThemeVariant as W, FmButtonVariant as ee } from "@feedmepos/ui-library";
|
|
13
13
|
import { F as Pt } from "./index-CisutoS9.js";
|
|
14
|
-
import { _ as De, a as At } from "./app-
|
|
14
|
+
import { _ as De, a as At } from "./app-EMGiKfmU.js";
|
|
15
15
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
16
|
-
import { _ as Rt } from "./index-
|
|
17
|
-
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Rt } from "./index-l08slAaH.js";
|
|
17
|
+
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DsdAOF_5.js";
|
|
18
18
|
import { c as zt } from "./check-C9mY6LiX.js";
|
|
19
|
-
import { f as Dt } from "./currency-
|
|
19
|
+
import { f as Dt } from "./currency-D5m6Ka4Z.js";
|
|
20
20
|
import { w as Ot } from "./tooltip-B5BiPMx9.js";
|
|
21
21
|
function Bt(C, e, i = C) {
|
|
22
22
|
const n = F(!0), t = h(() => {
|
|
@@ -142,7 +142,7 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
|
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
}), Gt = { class: "flex flex-wrap gap-8" }, Lt = { class: "py-12 px-16 space-y-12" },
|
|
145
|
+
}), Gt = { class: "flex flex-wrap gap-8" }, Lt = { class: "py-12 px-16 space-y-12" }, qt = { class: "fm-typo-en-body-md-600 text-fm-color-neutral-gray-600" }, Wt = { class: "flex flex-wrap gap-8" }, Ht = {
|
|
146
146
|
key: 0,
|
|
147
147
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
148
148
|
}, Qt = { key: 0 }, Yt = {
|
|
@@ -186,8 +186,8 @@ const Kt = { class: "inline-flex items-center" }, Nt = {
|
|
|
186
186
|
}, {
|
|
187
187
|
content: T(() => [
|
|
188
188
|
g("div", Lt, [
|
|
189
|
-
g("p",
|
|
190
|
-
g("div",
|
|
189
|
+
g("p", qt, K(a(i)("menu.product.table.category.all")), 1),
|
|
190
|
+
g("div", Wt, [
|
|
191
191
|
(m(!0), k(pe, null, we(e.categories, (w) => (m(), I(ke, {
|
|
192
192
|
key: w,
|
|
193
193
|
label: w,
|
|
@@ -817,9 +817,9 @@ const Ye = /* @__PURE__ */ N({
|
|
|
817
817
|
class: "min-w-0 flex flex-1 items-center justify-start space-x-16"
|
|
818
818
|
}, Ll = {
|
|
819
819
|
class: "flex-1 min-w-0"
|
|
820
|
-
}, Wl = {
|
|
821
|
-
class: "flex justify-between items-center gap-8 pb-4"
|
|
822
820
|
}, ql = {
|
|
821
|
+
class: "flex justify-between items-center gap-8 pb-4"
|
|
822
|
+
}, Wl = {
|
|
823
823
|
class: "flex-1 min-w-0 fm-typo-en-body-lg-600 line-clamp-2"
|
|
824
824
|
}, Hl = {
|
|
825
825
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
@@ -908,7 +908,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
908
908
|
},
|
|
909
909
|
cell: (o) => {
|
|
910
910
|
var r, c;
|
|
911
|
-
return
|
|
911
|
+
return q(Ue, {
|
|
912
912
|
src: o.getValue(),
|
|
913
913
|
alt: (c = (r = o == null ? void 0 : o.row) == null ? void 0 : r.original) == null ? void 0 : c.name,
|
|
914
914
|
className: "my-8 mx-12",
|
|
@@ -928,7 +928,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
928
928
|
class: "break-all"
|
|
929
929
|
}, [c]);
|
|
930
930
|
const p = Te(r._id);
|
|
931
|
-
return
|
|
931
|
+
return q(te.FmTextField, {
|
|
932
932
|
disabled: !y.value.code,
|
|
933
933
|
modelValue: P(r._id, "code") ?? (p == null ? void 0 : p.code),
|
|
934
934
|
placeholder: n.modelValue[r._id].fallbackCode,
|
|
@@ -944,7 +944,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
944
944
|
size: 200,
|
|
945
945
|
cell: (o) => {
|
|
946
946
|
const r = o.row.original, c = o.getValue();
|
|
947
|
-
return S.value ?
|
|
947
|
+
return S.value ? q(te.FmTextField, {
|
|
948
948
|
disabled: !y.value.name,
|
|
949
949
|
modelValue: P(r._id, "name") ?? r.name,
|
|
950
950
|
"onUpdate:modelValue": (p) => {
|
|
@@ -972,7 +972,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
972
972
|
const r = o.getValue();
|
|
973
973
|
if (!S.value) return me.Dinero.fromFdoDinero(r).toFormat();
|
|
974
974
|
const c = n.modelValue[o.row.original._id], p = c.fallbackPrice;
|
|
975
|
-
return
|
|
975
|
+
return q(Rt, {
|
|
976
976
|
min: 0,
|
|
977
977
|
disabled: !c.editPrice,
|
|
978
978
|
// @ts-ignore
|
|
@@ -998,7 +998,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
998
998
|
if (!S.value)
|
|
999
999
|
return `${V != null && V.meta.rate ? _t(V.meta.rate) : 0}%`;
|
|
1000
1000
|
const _ = l.getSelectedTax(P(c._id, "taxes") ?? r, c.fallbackTaxes, l.taxSetting.countryTaxOptions);
|
|
1001
|
-
return
|
|
1001
|
+
return q(te.FmSelect, {
|
|
1002
1002
|
disabled: !y.value.tax,
|
|
1003
1003
|
items: l.taxSetting.countryTaxOptions,
|
|
1004
1004
|
modelValue: _,
|
|
@@ -1016,11 +1016,11 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1016
1016
|
cell: (o) => {
|
|
1017
1017
|
const r = o.row.original;
|
|
1018
1018
|
if (!S.value)
|
|
1019
|
-
return
|
|
1019
|
+
return q(Qe, {
|
|
1020
1020
|
categories: Pe(se.value, r)
|
|
1021
1021
|
});
|
|
1022
1022
|
const c = yt(n.originalValue, n.modelValue, r._id) ?? ht(r), p = (c == null ? void 0 : c.map((V) => V._id)) ?? [], x = c == null ? void 0 : c.reduce((V, _) => (V[_._id] = _, V), {});
|
|
1023
|
-
return
|
|
1023
|
+
return q(It, {
|
|
1024
1024
|
shouldShowChips: !1,
|
|
1025
1025
|
shouldShowSelectedItemsWithinPlaceholder: !0,
|
|
1026
1026
|
modelValue: p.length > 0 ? p : [null],
|
|
@@ -1049,7 +1049,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1049
1049
|
size: 140,
|
|
1050
1050
|
cell: (o) => {
|
|
1051
1051
|
const r = o.row.original;
|
|
1052
|
-
return
|
|
1052
|
+
return q(Me, {
|
|
1053
1053
|
customAttributes: r.customAttributes
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
@@ -1064,14 +1064,14 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1064
1064
|
size: 140,
|
|
1065
1065
|
cell: (o) => {
|
|
1066
1066
|
const r = o.getValue(), c = o.row.original;
|
|
1067
|
-
return S.value ?
|
|
1067
|
+
return S.value ? q(te.FmSelect, {
|
|
1068
1068
|
disabled: !y.value.orderFrom,
|
|
1069
1069
|
items: Object.values(Ce()),
|
|
1070
1070
|
modelValue: P(c._id, "orderFrom") ?? r,
|
|
1071
1071
|
"onUpdate:modelValue": async (p) => {
|
|
1072
1072
|
$(c._id, "orderFrom", p);
|
|
1073
1073
|
}
|
|
1074
|
-
}) :
|
|
1074
|
+
}) : q(Ve, {
|
|
1075
1075
|
orderFrom: r
|
|
1076
1076
|
});
|
|
1077
1077
|
}
|
|
@@ -1083,11 +1083,11 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1083
1083
|
headerClass: "py-4",
|
|
1084
1084
|
textAlign: "right"
|
|
1085
1085
|
},
|
|
1086
|
-
header: () =>
|
|
1086
|
+
header: () => q("div", {
|
|
1087
1087
|
class: "w-full px-4 flex justify-end"
|
|
1088
|
-
}, [Ot(
|
|
1088
|
+
}, [Ot(q(te.FmButton, {
|
|
1089
1089
|
variant: ee.Tertiary,
|
|
1090
|
-
textColor:
|
|
1090
|
+
textColor: W.NeutralGray400,
|
|
1091
1091
|
prependIcon: "edit",
|
|
1092
1092
|
class: "flex justify-end",
|
|
1093
1093
|
onClick: oe,
|
|
@@ -1103,7 +1103,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1103
1103
|
}) => d(te.FmButton, {
|
|
1104
1104
|
icon: "overview",
|
|
1105
1105
|
variant: "tertiary",
|
|
1106
|
-
textColor:
|
|
1106
|
+
textColor: W.NeutralGray400,
|
|
1107
1107
|
onClick: fe(() => {
|
|
1108
1108
|
c(r._id);
|
|
1109
1109
|
}, ["stop", "prevent"])
|
|
@@ -1111,7 +1111,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1111
1111
|
}), d(te.FmButton, {
|
|
1112
1112
|
icon: "delete",
|
|
1113
1113
|
variant: "tertiary",
|
|
1114
|
-
textColor:
|
|
1114
|
+
textColor: W.NeutralGray400,
|
|
1115
1115
|
onClick: fe(async () => {
|
|
1116
1116
|
await f.deleteItem([{
|
|
1117
1117
|
_id: r._id,
|
|
@@ -1230,7 +1230,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1230
1230
|
placeholder: a(t)("menu.product.table.search.placeholder")
|
|
1231
1231
|
}, null, 8, ["model-value", "placeholder"])]), r[8] || (r[8] = g("div", {
|
|
1232
1232
|
class: "w-full h-[1px] bg-fm-color-neutral-gray-100"
|
|
1233
|
-
}, null, -1)), g("div", Kl, [_e(o.$slots, "filter")]), J.value ? (m(), k("div", Nl, [d(a(
|
|
1233
|
+
}, null, -1)), g("div", Kl, [_e(o.$slots, "filter")]), J.value ? (m(), k("div", Nl, [d(a(We), {
|
|
1234
1234
|
ref_key: "attributeFilterRef",
|
|
1235
1235
|
ref: re,
|
|
1236
1236
|
attributes: a(B),
|
|
@@ -1246,14 +1246,14 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1246
1246
|
alt: _.name,
|
|
1247
1247
|
size: 72,
|
|
1248
1248
|
src: _.thumbnail
|
|
1249
|
-
}, null, 8, ["alt", "src"]), g("div", Ll, [g("div",
|
|
1249
|
+
}, null, 8, ["alt", "src"]), g("div", Ll, [g("div", ql, [g("p", Wl, K(_.name), 1), d(Ve, {
|
|
1250
1250
|
"order-from": _.orderFrom
|
|
1251
1251
|
}, null, 8, ["order-from"])]), g("p", Hl, K(Be(_)), 1), g("p", Ql, K(a(t)("menu.product.table.columns.code")) + ": " + K(((ae = Te(_._id)) == null ? void 0 : ae.code) || "--"), 1), g("p", Yl, [d(Qe, {
|
|
1252
1252
|
categories: a(Pe)(a(se), _)
|
|
1253
1253
|
}, null, 8, ["categories"])]), d(Me, {
|
|
1254
1254
|
"custom-attributes": _.customAttributes
|
|
1255
1255
|
}, null, 8, ["custom-attributes"])])]), d(p, {
|
|
1256
|
-
"text-color": a(
|
|
1256
|
+
"text-color": a(W).NeutralGray400,
|
|
1257
1257
|
variant: a(ee).Tertiary,
|
|
1258
1258
|
"prepend-icon": "delete",
|
|
1259
1259
|
onClick: fe(() => a(f).deleteItem([{
|
|
@@ -1275,8 +1275,8 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1275
1275
|
default: T(({
|
|
1276
1276
|
trigger: _
|
|
1277
1277
|
}) => [d(p, {
|
|
1278
|
-
"bg-color": a(
|
|
1279
|
-
"text-color": a(
|
|
1278
|
+
"bg-color": a(W).NeutralGray100,
|
|
1279
|
+
"text-color": a(W).NeutralGray400,
|
|
1280
1280
|
variant: a(ee).Primary,
|
|
1281
1281
|
label: a(t)("menu.product.table.empty.actions.import"),
|
|
1282
1282
|
"prepend-icon": "download",
|
|
@@ -1296,7 +1296,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1296
1296
|
"onUpdate:modelValue": r[0] || (r[0] = (_) => Z.value = _),
|
|
1297
1297
|
autofocus: "",
|
|
1298
1298
|
placeholder: a(t)("menu.product.table.search.placeholder")
|
|
1299
|
-
}, null, 8, ["model-value", "placeholder"])])]), J.value ? (m(), k("div", Tl, [d(a(
|
|
1299
|
+
}, null, 8, ["model-value", "placeholder"])])]), J.value ? (m(), k("div", Tl, [d(a(We), {
|
|
1300
1300
|
ref_key: "attributeFilterRef",
|
|
1301
1301
|
ref: re,
|
|
1302
1302
|
attributes: a(B),
|
|
@@ -1310,8 +1310,8 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1310
1310
|
variant: "plain",
|
|
1311
1311
|
onClick: ye
|
|
1312
1312
|
}, null, 8, ["label"]), d(p, {
|
|
1313
|
-
"border-color": a(
|
|
1314
|
-
"text-color": a(
|
|
1313
|
+
"border-color": a(W).SystemError300,
|
|
1314
|
+
"text-color": a(W).SystemError300,
|
|
1315
1315
|
class: "ml-auto",
|
|
1316
1316
|
label: a(t)("menu.product.table.selection.actions.remove"),
|
|
1317
1317
|
"prepend-icon": "delete",
|
|
@@ -1326,8 +1326,8 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1326
1326
|
label: a(t)("menu.common.actions.cancel"),
|
|
1327
1327
|
onClick: $e
|
|
1328
1328
|
}, null, 8, ["variant", "label"]), d(p, {
|
|
1329
|
-
borderColor: a(
|
|
1330
|
-
textColor: a(
|
|
1329
|
+
borderColor: a(W).ColorPrimary,
|
|
1330
|
+
textColor: a(W).ColorPrimary,
|
|
1331
1331
|
variant: a(ee).Secondary,
|
|
1332
1332
|
label: a(t)("menu.product.table.bulk_edit.actions.save"),
|
|
1333
1333
|
type: "submit"
|
|
@@ -1387,8 +1387,8 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1387
1387
|
default: T(({
|
|
1388
1388
|
trigger: _
|
|
1389
1389
|
}) => [d(p, {
|
|
1390
|
-
"bg-color": a(
|
|
1391
|
-
"text-color": a(
|
|
1390
|
+
"bg-color": a(W).NeutralGray100,
|
|
1391
|
+
"text-color": a(W).NeutralGray400,
|
|
1392
1392
|
variant: a(ee).Primary,
|
|
1393
1393
|
label: a(t)("menu.product.table.empty.actions.import"),
|
|
1394
1394
|
"prepend-icon": "download",
|
|
@@ -1496,7 +1496,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1496
1496
|
}, {
|
|
1497
1497
|
filter: T(() => [
|
|
1498
1498
|
d(He, { onToggleAttributeFilter: oe }),
|
|
1499
|
-
u.value.multiScheduler ? (m(), I(
|
|
1499
|
+
u.value.multiScheduler ? (m(), I(qe, { key: 0 })) : M("", !0),
|
|
1500
1500
|
B.value ? (m(), I(Le, {
|
|
1501
1501
|
key: 1,
|
|
1502
1502
|
"current-restaurant-attr-params": a(e).state.currentRestaurantAttrParams,
|
|
@@ -1510,7 +1510,7 @@ const Ye = /* @__PURE__ */ N({
|
|
|
1510
1510
|
])) : (m(), k("div", aa, [
|
|
1511
1511
|
g("div", oa, [
|
|
1512
1512
|
d(He),
|
|
1513
|
-
u.value.multiScheduler ? (m(), I(
|
|
1513
|
+
u.value.multiScheduler ? (m(), I(qe, { key: 0 })) : M("", !0),
|
|
1514
1514
|
B.value ? (m(), I(Le, {
|
|
1515
1515
|
key: 1,
|
|
1516
1516
|
"current-restaurant-attr-params": a(e).state.currentRestaurantAttrParams,
|
|
@@ -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 { G as le, u as ie, J as D, a2 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-DJunrGqB.js";
|
|
3
|
+
import { G as le, u as ie, J as D, a2 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.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 M } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.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 { t as be, v as ve, w as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-h1O8XtsF.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-Co0UCwVe.js";
|
|
9
|
+
import { t as be, v as ve, w as _e } from "./item-CPTIejeF.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"
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as E, computed as g, ref as
|
|
2
|
-
import { D as F } from "./dayjs.min-
|
|
3
|
-
import { J as oe, F as ne } from "./jszip.min-
|
|
4
|
-
import { u as J, G as W, B as R, H, A as Z, D as ae, I as re, J as
|
|
5
|
-
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as E, computed as g, ref as j, resolveComponent as M, createBlock as y, openBlock as m, unref as e, withCtx as c, createElementVNode as i, toDisplayString as q, createVNode as o, createCommentVNode as G, createElementBlock as A, Fragment as P } from "vue";
|
|
2
|
+
import { D as F } from "./dayjs.min-q8_R4WM9.js";
|
|
3
|
+
import { J as oe, F as ne } from "./jszip.min-DJunrGqB.js";
|
|
4
|
+
import { u as J, G as W, B as R, H as U, A as Z, D as ae, I as re, J as H, K as se } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
5
|
+
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DsdAOF_5.js";
|
|
6
6
|
import { useCoreStore as K, useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as Q, useDialogChild as ue, useSnackbar as X, useBreakpoints as ce, FmButtonVariant as $, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
9
|
import { _ as me, a as z } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { _ as de } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
-
import { u as pe, a as fe } from "./menu-
|
|
12
|
-
import { u as _e } from "./item-
|
|
13
|
-
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { L as
|
|
15
|
-
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { m as ye } from "./toExcel-
|
|
11
|
+
import { u as pe, a as fe } from "./menu-h1O8XtsF.js";
|
|
12
|
+
import { u as _e } from "./item-CPTIejeF.js";
|
|
13
|
+
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-Co0UCwVe.js";
|
|
14
|
+
import { L as O } from "./LinkProductSideSheet-j5i3W3nK.js";
|
|
15
|
+
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BLeh7yyW.js";
|
|
16
|
+
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-6hc30tf9.js";
|
|
17
|
+
import { m as ye } from "./toExcel-BombgPEV.js";
|
|
18
18
|
const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "flex justify-end gap-8" }, he = /* @__PURE__ */ E({
|
|
19
19
|
__name: "ConfirmActionDialog",
|
|
20
20
|
props: {
|
|
@@ -23,7 +23,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
23
23
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
24
24
|
},
|
|
25
25
|
setup(C) {
|
|
26
|
-
const t = C, h = g(() => t.message.replace("[[value]]", t.value)), k =
|
|
26
|
+
const t = C, h = g(() => t.message.replace("[[value]]", t.value)), k = j(""), r = Q(), { emitAction: x } = ue();
|
|
27
27
|
return (d, s) => {
|
|
28
28
|
const p = M("FmTextField"), f = M("FmButton"), _ = M("FmForm");
|
|
29
29
|
return m(), y(_, {
|
|
@@ -66,7 +66,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
66
66
|
}), Me = /* @__PURE__ */ E({
|
|
67
67
|
__name: "Migrate",
|
|
68
68
|
setup(C) {
|
|
69
|
-
const t = J(), h = K(), k = X(), { minor: r } = W(k), x =
|
|
69
|
+
const t = J(), h = K(), k = X(), { minor: r } = W(k), x = j(!1), d = Q();
|
|
70
70
|
async function s() {
|
|
71
71
|
p.value || x.value || d.open({
|
|
72
72
|
title: "Migrate to new version",
|
|
@@ -94,8 +94,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
94
94
|
const p = g(() => {
|
|
95
95
|
const f = h.restaurants.value;
|
|
96
96
|
if (!f.length) return "Required at least one restaurant to migrate";
|
|
97
|
-
const _ = f.filter((b) => !b.posVersion || !R.Pos.canUse({ feature:
|
|
98
|
-
return _.length ? `Upgrade POS to V${R.Pos.minVersionToUse(
|
|
97
|
+
const _ = f.filter((b) => !b.posVersion || !R.Pos.canUse({ feature: U.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
98
|
+
return _.length ? `Upgrade POS to V${R.Pos.minVersionToUse(U.F_FEATURE.enum.menuV4)} to use new menu: ${_.map((b) => b.profile.name).join(", ")}` : null;
|
|
99
99
|
});
|
|
100
100
|
return g(() => p.value ? p.value : "Migrate your menu to new version to enjoy more features. Content of new menu will remain the same as current."), (f, _) => {
|
|
101
101
|
const l = M("FmSnackbar");
|
|
@@ -111,7 +111,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
111
111
|
})) : G("", !0);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}), we = "/assets/menu-export-
|
|
114
|
+
}), we = "/assets/menu-export-BUrS4ia-.js", Ce = { class: "flex-1 flex justify-between gap-8 pl-8" }, Fe = { class: "flex items-center" }, $e = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ve = { class: "fm-typo-en-body-md-600 font-semibold" }, Ee = { class: "flex gap-8" }, Je = /* @__PURE__ */ E({
|
|
115
115
|
__name: "Products",
|
|
116
116
|
setup(C) {
|
|
117
117
|
const { t } = le(), h = K(), k = W(X()), r = J(), x = g(() => r.rules.item), d = _e(), s = g(() => !r.state.currentSchedulerId), { selectedCategories: p } = pe(), f = g(() => ({
|
|
@@ -119,8 +119,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
119
119
|
_id: r.state.menu._id,
|
|
120
120
|
_rev: r.state.menu._rev
|
|
121
121
|
})), _ = g(() => {
|
|
122
|
-
const u =
|
|
123
|
-
return
|
|
122
|
+
const u = H.flatten(p.value.map((n) => n.items));
|
|
123
|
+
return H.uniqBy(u, (n) => n._id).length;
|
|
124
124
|
});
|
|
125
125
|
async function l(u, n) {
|
|
126
126
|
const v = new oe();
|
|
@@ -160,11 +160,11 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
160
160
|
}
|
|
161
161
|
const {
|
|
162
162
|
menuItems: T,
|
|
163
|
-
categories:
|
|
164
|
-
linkItemRules:
|
|
163
|
+
categories: I,
|
|
164
|
+
linkItemRules: D,
|
|
165
165
|
handleSubmit: N,
|
|
166
|
-
catalogManager:
|
|
167
|
-
schedulerManager:
|
|
166
|
+
catalogManager: B,
|
|
167
|
+
schedulerManager: Y
|
|
168
168
|
} = be(!1), ee = ce(), te = g(() => ee.breakpoints.value.xs);
|
|
169
169
|
return fe().resetOnMount(), (u, n) => {
|
|
170
170
|
const v = M("fm-button");
|
|
@@ -239,14 +239,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
239
239
|
label: e(t)("menu.products.actions.add"),
|
|
240
240
|
"prepend-icon": "add",
|
|
241
241
|
onClick: n[0] || (n[0] = (a) => e(d).create(null))
|
|
242
|
-
}, null, 8, ["label"])) : s.value ? (m(), y(
|
|
242
|
+
}, null, 8, ["label"])) : s.value ? (m(), y(O, {
|
|
243
243
|
key: 1,
|
|
244
|
-
"categorized-items": e(
|
|
245
|
-
"initial-value": e(
|
|
244
|
+
"categorized-items": e(B).linkableItems.value,
|
|
245
|
+
"initial-value": e(B).currentItems.value,
|
|
246
246
|
"show-variant": !1,
|
|
247
247
|
"menu-items": e(T),
|
|
248
|
-
categories: e(
|
|
249
|
-
"link-item-rules": e(
|
|
248
|
+
categories: e(I),
|
|
249
|
+
"link-item-rules": e(D),
|
|
250
250
|
"no-scheduler": s.value,
|
|
251
251
|
onSubmit: e(N)
|
|
252
252
|
}, {
|
|
@@ -258,14 +258,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], Se = { class: "fle
|
|
|
258
258
|
}, null, 8, ["label", "onClick"])
|
|
259
259
|
]),
|
|
260
260
|
_: 1
|
|
261
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(
|
|
261
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(O, {
|
|
262
262
|
key: 2,
|
|
263
|
-
"categorized-items": e(
|
|
264
|
-
"initial-value": e(
|
|
263
|
+
"categorized-items": e(Y).linkableItems.value,
|
|
264
|
+
"initial-value": e(Y).currentItems.value,
|
|
265
265
|
"show-variant": !1,
|
|
266
266
|
"menu-items": e(T),
|
|
267
|
-
categories: e(
|
|
268
|
-
"link-item-rules": e(
|
|
267
|
+
categories: e(I),
|
|
268
|
+
"link-item-rules": e(D),
|
|
269
269
|
"no-scheduler": s.value,
|
|
270
270
|
onSubmit: e(N)
|
|
271
271
|
}, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as W, ref as P, computed as N, onMounted as ie, resolveComponent as U, createElementBlock as M, openBlock as C, createVNode as p, createElementVNode as d, toDisplayString as z, unref as i, Fragment as H, renderList as q, createBlock as j, watch as de, withCtx as E, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as Ve, normalizeStyle as Ie, renderSlot as Pe, withModifiers as te, h as R, onUnmounted as Me } from "vue";
|
|
2
|
-
import { D as L } from "./dayjs.min-
|
|
2
|
+
import { D as L } from "./dayjs.min-q8_R4WM9.js";
|
|
3
3
|
import { useRouter as $e } from "vue-router";
|
|
4
4
|
import { O as Ue, b as Ae } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { B as Be, H as De, G as he, ad as Te, A as G, u as _e, I as pe, J as Re, a5 as Oe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as Be, H as De, G as he, ad as Te, A as G, u as _e, I as pe, J as Re, a5 as Oe } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as Ne, RestaurantSelector as Ee } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as ce, useDialogChild as Le, useProxiedModel as ze, useDialog as be, FmButtonVariant as fe, components as Q } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Je } from "./app-
|
|
9
|
+
import { _ as Je } from "./app-EMGiKfmU.js";
|
|
10
10
|
import { a as Ye, w as Ke } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as ge } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as U } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, 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 { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-EMGiKfmU.js";
|
|
6
|
+
import { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DXgSXfVN.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-1EfzGymM.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",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ie, createElementBlock as Y, openBlock as x, normali
|
|
|
2
2
|
import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
3
|
import { useCoreStore as Dt, useI18n as He, useCustomAttributes as Bt, EMPTY_RULE as Yn, isEmptyMongoQuery as jn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as Tn, J as xt, A as vt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, J as xt, A as vt } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
6
6
|
import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
const Jn = /* @__PURE__ */ ie({
|
|
8
8
|
__name: "FormColumn",
|
|
@@ -1891,7 +1891,7 @@ function Vo(e, t, n, r) {
|
|
|
1891
1891
|
return e.processor && (E.processor = e.processor), r.list && (E.list = r.list), r.named && (E.named = r.named), ee(r.plural) && (E.pluralIndex = r.plural), E;
|
|
1892
1892
|
}
|
|
1893
1893
|
wr();
|
|
1894
|
-
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
1894
|
+
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6a1852fc-aaa4-44e1-857f-c2379b5953a6", DOTNET_NOLOGO: "1", USER: "runner", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v18.20.8 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6a1852fc-aaa4-44e1-857f-c2379b5953a6", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1856", ACTIONS_ORCHESTRATION_ID: "37c82b34-8cef-4b89-a44e-1b9f68be8a67.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260329.72.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13495", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "24086782886", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9dd1da7e5c798b7bc47a43dcdb3de5ac11e40fd2", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d74d74c4-2153-49fd-a8d3-e3b58e9cdc17", INVOCATION_ID: "dfddb0e97f934de2aba998cbcb3715e7", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "524", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000058339", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.27-dev.1", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "9dd1da7e5c798b7bc47a43dcdb3de5ac11e40fd2", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6a1852fc-aaa4-44e1-857f-c2379b5953a6", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6a1852fc-aaa4-44e1-857f-c2379b5953a6", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6a1852fc-aaa4-44e1-857f-c2379b5953a6", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
1895
1895
|
const Go = "10.0.5";
|
|
1896
1896
|
function Ho() {
|
|
1897
1897
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as N, computed as y, h as p, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as i, unref as d, withCtx as h, createElementBlock as D, createVNode as f, Fragment as H, createElementVNode as s, renderList as T, toDisplayString as S, createCommentVNode as I } from "vue";
|
|
2
|
-
import { A as c, Q as W, u as Q, G, a5 as J } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { A as c, Q as W, u as Q, G, a5 as J } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
3
3
|
import { useI18n as X } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as Z, useDialog as ee, useSnackbar as te } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as ae } from "./app-
|
|
7
|
-
import { d as oe, _ as le, u as se, c as re } from "./scheduler-
|
|
6
|
+
import { _ as ae } from "./app-EMGiKfmU.js";
|
|
7
|
+
import { d as oe, _ as le, u as se, c as re } from "./scheduler-C7H2CtUY.js";
|
|
8
8
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
9
9
|
const ce = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as H, ref as I, computed as L, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as y, toDisplayString as z, onBeforeMount as oe, watch as F, watchEffect as se, h as $, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as J, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { I as Q, u as W, G as X, Q as Z, M as O, A as S, a5 as de } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { I as Q, u as W, G as X, Q as Z, M as O, A as S, a5 as de } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as me, useCoreStore as pe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ne, components as Y, useDialog as _e, FmButtonVariant as A, useBreakpoints as fe } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as ve, R as he } from "./app-
|
|
7
|
+
import { _ as ve, R as he } from "./app-EMGiKfmU.js";
|
|
8
8
|
import { c as ye } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
10
10
|
import { u as ke } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { u as xe } from "./app-
|
|
11
|
+
import { u as xe } from "./app-CdROu4jy.js";
|
|
12
12
|
import { c as Se } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex flex-col h-full" }, Ee = { class: "flex gap-8 items-center justify-start" }, Ve = /* @__PURE__ */ H({
|
|
14
14
|
__name: "Form",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as D, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
|
|
2
|
-
import { u as me, G as ce, A as f, Q as de, B as pe, I as w } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, G as ce, A as f, Q as de, B as pe, I as w } from "./index.vue_vue_type_script_setup_true_lang-CEsFuKgz.js";
|
|
3
3
|
import { useCoreStore as ve, useI18n as ge } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as fe, useDialog as _e, FmButtonVariant as $, FmButtonColorThemeVariant as P, components as be } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as E } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as _, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as xe } from "./catalog-
|
|
6
|
+
import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-CBY_n6Qa.js";
|
|
7
|
+
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cq_mMjko.js";
|
|
8
|
+
import { C as _, a as x } from "./catalogSetting-BCWBmgbC.js";
|
|
9
|
+
import { C as xe } from "./catalog-BOsvc5ml.js";
|
|
10
10
|
const Ce = {
|
|
11
11
|
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, Oe = {
|