@feedmepos/mf-menu 0.31.71-prod → 0.31.72
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-B5R51HHK.js → App-CvauiBxh.js} +1442 -2546
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Dflill79.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BK9XcgvQ.js} +3 -3
- package/dist/{Catalog-yv_fwu1h.js → Catalog-CBdU6H-7.js} +26 -26
- package/dist/{Category-lOaUwRrB.js → Category-BFO9_FCp.js} +35 -35
- package/dist/{Category-DEkZ-IWE.js → Category-DkKEXvEF.js} +22 -22
- package/dist/{CookingGuide-Db8VQK5V.js → CookingGuide-E34vwLgw.js} +113 -113
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DwsVvlUq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DlnAxQwE.js} +1 -1
- package/dist/{Group-B2EXYbcn.js → Group-Bcc1Z7D-.js} +1 -1
- package/dist/{Group-CFS8D5Uf.js → Group-CpSycfFA.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BdZ9K2Ht.js → Group.vue_vue_type_script_setup_true_lang-CWIHfDqh.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CtlyZlos.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B8tJzkEO.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C-RPhKoA.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BGWmkL9R.js} +21 -22
- package/dist/{Ingredient-C3B8G0Fd.js → Ingredient-0Cg2IcHV.js} +23 -23
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BrhhXwp8.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Dztd7mAs.js} +1052 -1052
- package/dist/{LinkProductSideSheet-DPn7KN3l.js → LinkProductSideSheet-CiRZO3uN.js} +3 -3
- package/dist/{MenuSetting-Mph9Pc9s.js → MenuSetting-Bv4sWdlj.js} +31 -31
- package/dist/{PrintRoute-BwboeALA.js → PrintRoute-DP-fjMrF.js} +26 -26
- package/dist/{Product-CNKnPt-z.js → Product-DgZcdRkv.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BksTc5Gm.js → Product.vue_vue_type_script_setup_true_lang-CpthNypU.js} +71 -71
- package/dist/{ProductInternalTools-DGkoIc6T.js → ProductInternalTools-CLmYNGLn.js} +17 -17
- package/dist/{Products-CkLZYybB.js → Products-KrRu9cnx.js} +11 -11
- package/dist/{Publish-Bzq9aREC.js → Publish-C9Wi7dG1.js} +56 -57
- package/dist/{Recipe-K55Bnscl.js → Recipe-BPdgYfvy.js} +13 -13
- package/dist/{Scheduler-ChAmTqSR.js → Scheduler-C9LCR2Oj.js} +16 -16
- package/dist/{ServingSequence-ywa7-8rG.js → ServingSequence-D-OBo-oY.js} +20 -20
- package/dist/{Setting-CHUNtVho.js → Setting-qITT89Lg.js} +20 -20
- package/dist/{Subcategory-0-99_i06.js → Subcategory-kl6ncKqB.js} +19 -19
- package/dist/{Takeaway-CsJf5I8I.js → Takeaway-BOxto2HZ.js} +1 -1
- package/dist/{Takeaway-BzvxZ_dA.js → Takeaway-D9GOXVdh.js} +10 -10
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Bh8mjdk4.js → Takeaway.vue_vue_type_script_setup_true_lang-CbhZLN-r.js} +20 -20
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CbxgtwVa.js → Thumbnail.vue_vue_type_script_setup_true_lang-CH9jzjP0.js} +20 -20
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dh_CA5gZ.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C0NgcFQK.js} +16 -17
- package/dist/{Unit-CbTkNhj2.js → Unit-Dr0n8Nl-.js} +13 -13
- package/dist/{Variant-NkbzEbF-.js → Variant-BVvjuGqK.js} +15 -15
- package/dist/{_id_-mr4_eirX.js → _id_-DqqSN5Lt.js} +14 -14
- package/dist/{app-BzsHQwP_.js → app-B3_2cau3.js} +1 -1
- package/dist/{app-DVB67WHZ.js → app-DJ-rQRBU.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +72 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +218 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +110 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +81 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +55 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +144 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +165 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +55 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +375 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/tree.d.ts +18 -18
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +81 -0
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +55 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +430 -0
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +375 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +375 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +165 -0
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +81 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +375 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +110 -0
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +220 -0
- package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +52 -0
- package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +52 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-qkReSi42.js +13 -0
- package/dist/assets/override-menu-Dyv1SsFk.js +13 -0
- package/dist/assets/validate-menu-DpF5os-S.js +13 -0
- package/dist/{catalog-C_6TM4e_.js → catalog-DeBJkQdk.js} +1 -1
- package/dist/{catalogSetting-pTMi5i6h.js → catalogSetting-CkZSHD-W.js} +1 -1
- package/dist/{category-CHNICcWp.js → category-CJKIi291.js} +5 -5
- package/dist/{currency-Dx-pn9tw.js → currency-NcUCHGGN.js} +1 -1
- package/dist/{customAttributes-DvHKcDWb.js → customAttributes-Cf1e7I1m.js} +1 -1
- package/dist/{index-CA3_R55p.js → index-B7ZCIQp2.js} +13 -13
- package/dist/{index-DqIorABw.js → index-BaeTP7Ku.js} +1 -1
- package/dist/{index-X3RliLfv.js → index-DQqxmq0e.js} +26 -26
- package/dist/{index-DGtoqrTo.js → index-EBL2mPva.js} +1 -1
- package/dist/{item-JhHKgoMj.js → item-BsvsZcce.js} +378 -378
- package/dist/iteration-CxQwvFbX.js +27 -0
- package/dist/{jszip.min-BQReTtS0.js → jszip.min-DoZyvEEd.js} +545 -545
- package/dist/{menu-2ymqQnFE.js → menu-Dlsf52hs.js} +27902 -27334
- package/dist/{menu-Bhfx50bt.js → menu-zMO5M1Ur.js} +1 -1
- package/dist/{menuV2-ZaA_QLdj.js → menuV2-Ss7NpjF_.js} +46 -46
- package/dist/mf-menu.css +1 -1
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
- package/dist/{priceTier-IZtw6WUa.js → priceTier-Dhh2TKAL.js} +1 -1
- package/dist/{scheduler-CzuGjuw5.js → scheduler-CA9RiMAg.js} +20 -20
- package/dist/{subcategory-Dt6tFvIu.js → subcategory-tJjY3seO.js} +6 -6
- package/dist/{toExcel-CUrEHCjB.js → toExcel-C6zcyUsq.js} +2 -2
- package/dist/{unit-Ibbp0wZT.js → unit-D4M4cm2W.js} +9 -9
- package/package.json +3 -3
- package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +0 -19
- package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +0 -11
- package/dist/assets/linked-status-Dwqdwyog.js +0 -13
- package/dist/assets/override-menu-CGexvHxV.js +0 -13
- package/dist/assets/validate-menu-C2daBpKY.js +0 -13
- package/dist/dayjs.min-BZu87fXJ.js +0 -6
- package/dist/iteration-BoeoXAHD.js +0 -23
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as oe, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as
|
|
2
|
-
import { u as me,
|
|
1
|
+
import { defineComponent as oe, 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 L, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
|
|
2
|
+
import { u as me, D as ce, z as f, O as de, A as pe, H as w } from "./menu-Dlsf52hs.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
|
-
import { _ as ye, a as E } from "./customAttributes-
|
|
6
|
-
import { _ as
|
|
7
|
-
import { C as _, a as x } from "./catalogSetting-
|
|
8
|
-
import { C as xe } from "./catalog-
|
|
5
|
+
import { _ as ye, a as E } from "./customAttributes-Cf1e7I1m.js";
|
|
6
|
+
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B8tJzkEO.js";
|
|
7
|
+
import { C as _, a as x } from "./catalogSetting-CkZSHD-W.js";
|
|
8
|
+
import { C as xe } from "./catalog-DeBJkQdk.js";
|
|
9
9
|
const Ce = {
|
|
10
|
-
class: /* @__PURE__ */
|
|
10
|
+
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
11
11
|
}, Oe = {
|
|
12
12
|
class: "space-y-32"
|
|
13
13
|
}, Se = {
|
|
@@ -30,13 +30,13 @@ const Ce = {
|
|
|
30
30
|
setup(Ne) {
|
|
31
31
|
const F = ve(), u = me(), j = fe(), A = ce(j), {
|
|
32
32
|
minor: q
|
|
33
|
-
} = A,
|
|
33
|
+
} = A, J = _e(), {
|
|
34
34
|
t: o
|
|
35
35
|
} = ge(), O = p(() => u.currentCatalog), b = p(() => !O.value), S = p(() => u.version === f.F_MENU_VERSION.enum.v4), {
|
|
36
|
-
updateMenu:
|
|
37
|
-
} = de(A), l = se(_.initCatalogSetting()),
|
|
36
|
+
updateMenu: W
|
|
37
|
+
} = de(A), l = se(_.initCatalogSetting()), Y = p(() => u.catalogs.filter((t) => t._id !== u.state.currentCatalogId).map((t) => t.name)), G = p(() => u.state.restaurants.filter((t) => [...t.additionalCatalogs, t.inHouseDelivery, ...t.linkedDeliveryCatalogs.map((n) => n.catalog), t.pickupCatalog, t.takeawayCatalog, t.catalogId].includes(u.state.currentCatalogId)).map((t) => t.name));
|
|
38
38
|
function T() {
|
|
39
|
-
return
|
|
39
|
+
return G.value.length > 0 ? s("div", {
|
|
40
40
|
class: ["flex items-center", "bg-fm-color-system-warning-100", "rounded-lg", "py-16 px-24 space-x-8"]
|
|
41
41
|
}, [s(be.FmIcon, {
|
|
42
42
|
color: "system-warning-300",
|
|
@@ -80,7 +80,7 @@ const Ce = {
|
|
|
80
80
|
O.value ? await new xe({
|
|
81
81
|
...O.value,
|
|
82
82
|
...t
|
|
83
|
-
}, u,
|
|
83
|
+
}, u, W, J).update() : await q(async () => {
|
|
84
84
|
await u.updateMainCatalogSetting({
|
|
85
85
|
inclusiveTaxes: t.inclusiveTaxes
|
|
86
86
|
});
|
|
@@ -98,9 +98,9 @@ const Ce = {
|
|
|
98
98
|
n.markupOptions && (n.markupOptions.splice(t, 1), l.value = n);
|
|
99
99
|
}
|
|
100
100
|
return (t, n) => {
|
|
101
|
-
const i = m("fm-text-field"), d = m("fm-radio"), C = m("fm-radio-group"), ee = m("fm-checkbox"),
|
|
101
|
+
const i = m("fm-text-field"), d = m("fm-radio"), C = m("fm-radio-group"), ee = m("fm-checkbox"), D = m("fm-switch"), te = m("fm-select"), h = m("fm-button"), ae = m("fm-chip"), le = m("fm-card"), ne = m("fm-form");
|
|
102
102
|
return r(), V("div", Ce, [s(ne, {
|
|
103
|
-
class:
|
|
103
|
+
class: H(["space-y-40 max-w-[751px]", "h-fit"]),
|
|
104
104
|
"blame-form-child-on-validation-failed": "",
|
|
105
105
|
onValidationSuccess: Q
|
|
106
106
|
}, {
|
|
@@ -111,7 +111,7 @@ const Ce = {
|
|
|
111
111
|
default: c(() => [s(i, {
|
|
112
112
|
modelValue: l.value.name,
|
|
113
113
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => l.value.name = a),
|
|
114
|
-
rules: [(a) => !
|
|
114
|
+
rules: [(a) => !Y.value.includes(a.trim()) || e(o)("menu.setting.catalog.fields.name.used"), (a) => !!a.trim() || e(o)("menu.setting.catalog.fields.name.required")],
|
|
115
115
|
label: e(o)("menu.setting.catalog.fields.name.label")
|
|
116
116
|
}, null, 8, ["modelValue", "rules", "label"]), s(T)]),
|
|
117
117
|
_: 1
|
|
@@ -134,7 +134,7 @@ const Ce = {
|
|
|
134
134
|
sublabel: e(o)("menu.setting.tax.modes.manual.sublabel")
|
|
135
135
|
}, null, 8, ["value", "label", "sublabel"])]),
|
|
136
136
|
_: 1
|
|
137
|
-
}, 8, ["model-value"]), l.value.taxSetting.mode === e(x).MANUAL ? (r(), V("div", Se, [(r(!0), V(
|
|
137
|
+
}, 8, ["model-value"]), l.value.taxSetting.mode === e(x).MANUAL ? (r(), V("div", Se, [(r(!0), V(L, null, B(R.value, (a) => (r(), g(ee, {
|
|
138
138
|
key: a.systemCode,
|
|
139
139
|
"model-value": a.inclusive,
|
|
140
140
|
value: !0,
|
|
@@ -151,7 +151,7 @@ const Ce = {
|
|
|
151
151
|
key: 1,
|
|
152
152
|
label: e(o)("menu.setting.link.title")
|
|
153
153
|
}, {
|
|
154
|
-
default: c(() => [s(
|
|
154
|
+
default: c(() => [s(D, {
|
|
155
155
|
"model-value": l.value.orderFrom && l.value.orderFrom !== e(f.F_ORDER_FROM).enum.NONE,
|
|
156
156
|
label: e(o)("menu.setting.link.auto_link.label"),
|
|
157
157
|
"label-placement": "right",
|
|
@@ -175,13 +175,13 @@ const Ce = {
|
|
|
175
175
|
key: 2,
|
|
176
176
|
label: e(o)("menu.setting.markup.title")
|
|
177
177
|
}, {
|
|
178
|
-
default: c(() => [s(
|
|
178
|
+
default: c(() => [s(D, {
|
|
179
179
|
"model-value": !!l.value.markupOptions,
|
|
180
180
|
label: e(o)("menu.setting.markup.auto_markup.label"),
|
|
181
181
|
"label-placement": "right",
|
|
182
182
|
sublabel: e(o)("menu.setting.markup.auto_markup.sublabel"),
|
|
183
183
|
"onUpdate:modelValue": n[4] || (n[4] = (a) => l.value.markupOptions = a ? [] : null)
|
|
184
|
-
}, null, 8, ["model-value", "label", "sublabel"]), v("div", Me, [s(
|
|
184
|
+
}, null, 8, ["model-value", "label", "sublabel"]), v("div", Me, [s(z, {
|
|
185
185
|
categories: e(u).categories,
|
|
186
186
|
items: e(u).items,
|
|
187
187
|
action: "add",
|
|
@@ -200,7 +200,7 @@ const Ce = {
|
|
|
200
200
|
onClick: a
|
|
201
201
|
}, null, 8, ["text-color", "border-color", "variant", "onClick"])]),
|
|
202
202
|
_: 1
|
|
203
|
-
}, 8, ["categories", "items"]), (r(!0), V(
|
|
203
|
+
}, 8, ["categories", "items"]), (r(!0), V(L, null, B(l.value.markupOptions, (a, y) => (r(), g(z, {
|
|
204
204
|
key: y,
|
|
205
205
|
categories: e(u).categories,
|
|
206
206
|
items: e(u).items,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as L, ref as w, watch as W, resolveComponent as y, createElementBlock as V, openBlock as p, Fragment as P, renderSlot as X, createVNode as m, unref as t, withCtx as h, createElementVNode as s, toDisplayString as O, computed as F, h as
|
|
1
|
+
import { defineComponent as L, ref as w, watch as W, resolveComponent as y, createElementBlock as V, openBlock as p, Fragment as P, renderSlot as X, createVNode as m, unref as t, withCtx as h, createElementVNode as s, toDisplayString as O, computed as F, h as z, withModifiers as A, getCurrentInstance as Z, renderList as ee, createBlock as S, createCommentVNode as te } from "vue";
|
|
2
2
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
3
|
-
import { useSnackbar as B, components as j, useDialog as Y, FmButtonVariant as
|
|
3
|
+
import { useSnackbar as B, components as j, useDialog as Y, FmButtonVariant as R, useBreakpoints as ae, FmButtonColorThemeVariant as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import {
|
|
5
|
+
import { D, u as N, O as U, J as K, z as q } from "./menu-Dlsf52hs.js";
|
|
6
6
|
import { _ as le } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { _ as se } from "./app-
|
|
7
|
+
import { _ as se } from "./app-DJ-rQRBU.js";
|
|
8
8
|
import { c as re } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as I } from "./object-DVUNCr7w.js";
|
|
11
11
|
import { r as ce } from "./rules-CIWTZQfh.js";
|
|
12
12
|
import { c as ue } from "./check-C9mY6LiX.js";
|
|
13
|
-
import { u as
|
|
13
|
+
import { u as G } from "./subcategory-tJjY3seO.js";
|
|
14
14
|
import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
15
|
-
import { a as me } from "./menu-
|
|
15
|
+
import { a as me } from "./menu-zMO5M1Ur.js";
|
|
16
16
|
const pe = {
|
|
17
17
|
class: "fm-typo-en-title-md-600"
|
|
18
18
|
}, _e = {
|
|
@@ -27,7 +27,7 @@ const pe = {
|
|
|
27
27
|
setup($, {
|
|
28
28
|
expose: f
|
|
29
29
|
}) {
|
|
30
|
-
const _ = $, x = B(), g = D(x), k =
|
|
30
|
+
const _ = $, x = B(), g = D(x), k = U(g), d = N(), {
|
|
31
31
|
t: a
|
|
32
32
|
} = T(), v = w(!1), e = w(!1), b = (r) => {
|
|
33
33
|
ue.isBoolean(r) ? e.value = r : e.value = !e.value;
|
|
@@ -39,7 +39,7 @@ const pe = {
|
|
|
39
39
|
updateMenu: c
|
|
40
40
|
} = k;
|
|
41
41
|
await c({
|
|
42
|
-
module:
|
|
42
|
+
module: q.F_MENU_MODULE_V4_KEY.enum.subCategory,
|
|
43
43
|
operation: K.F_OPERATION_TYPE.update,
|
|
44
44
|
// @ts-ignore FIXME: The backend hasn't exported SubcategoryRequest yet. Fix this once it's available.
|
|
45
45
|
data: {
|
|
@@ -114,7 +114,7 @@ const pe = {
|
|
|
114
114
|
}, Se = /* @__PURE__ */ L({
|
|
115
115
|
__name: "SubcategoryTable",
|
|
116
116
|
setup($) {
|
|
117
|
-
const f = Y(), _ = B(), x = D(_), g =
|
|
117
|
+
const f = Y(), _ = B(), x = D(_), g = U(x), k = G({
|
|
118
118
|
dialog: f,
|
|
119
119
|
menuLoader: g
|
|
120
120
|
}), d = F(() => N().subcategories), a = w(""), v = F(() => d.value.filter((o) => o.name.toLowerCase().includes(a.value.toLowerCase()))), {
|
|
@@ -136,14 +136,14 @@ const pe = {
|
|
|
136
136
|
header: "",
|
|
137
137
|
cell: (o) => {
|
|
138
138
|
const l = o.row.original;
|
|
139
|
-
return
|
|
139
|
+
return z("div", {
|
|
140
140
|
class: "flex justify-end"
|
|
141
|
-
}, [
|
|
141
|
+
}, [z(j.FmButton, {
|
|
142
142
|
icon: "delete",
|
|
143
143
|
disabled: !l._id,
|
|
144
144
|
variant: "tertiary",
|
|
145
145
|
textColor: "neutral-gray-400",
|
|
146
|
-
onClick:
|
|
146
|
+
onClick: A(async () => {
|
|
147
147
|
await n(l);
|
|
148
148
|
}, ["stop", "prevent"])
|
|
149
149
|
})]);
|
|
@@ -165,7 +165,7 @@ const pe = {
|
|
|
165
165
|
primaryActions: {
|
|
166
166
|
text: "Remove",
|
|
167
167
|
close: !0,
|
|
168
|
-
variant:
|
|
168
|
+
variant: R.Destructive
|
|
169
169
|
},
|
|
170
170
|
secondaryActions: {
|
|
171
171
|
text: "Cancel",
|
|
@@ -173,7 +173,7 @@ const pe = {
|
|
|
173
173
|
}
|
|
174
174
|
}).onPrimary(async () => {
|
|
175
175
|
await g.updateMenu({
|
|
176
|
-
module:
|
|
176
|
+
module: q.F_MENU_MODULE_V4_KEY.enum.subCategory,
|
|
177
177
|
operation: K.F_OPERATION_TYPE.delete,
|
|
178
178
|
data: o._id
|
|
179
179
|
}, o.name, !0);
|
|
@@ -206,10 +206,10 @@ const pe = {
|
|
|
206
206
|
onClick: (Q) => r(i)
|
|
207
207
|
}, [s("div", we, [s("p", Fe, O(i.name), 1)]), m(H, {
|
|
208
208
|
"text-color": t(oe).NeutralGray400,
|
|
209
|
-
variant: t(
|
|
209
|
+
variant: t(R).Tertiary,
|
|
210
210
|
"prepend-icon": "delete",
|
|
211
211
|
disabled: !i._id,
|
|
212
|
-
onClick:
|
|
212
|
+
onClick: A((Q) => n(i), ["stop"])
|
|
213
213
|
}, null, 8, ["text-color", "variant", "disabled", "onClick"])], 8, Ve))), 128))])])) : (p(), V("div", be, [s("div", ye, [s("div", he, [m(u, {
|
|
214
214
|
modelValue: a.value,
|
|
215
215
|
"onUpdate:modelValue": l[0] || (l[0] = (i) => a.value = i),
|
|
@@ -235,10 +235,10 @@ const pe = {
|
|
|
235
235
|
})]));
|
|
236
236
|
};
|
|
237
237
|
}
|
|
238
|
-
}), $e = { class: "flex-1 flex justify-between gap-8 pl-8" }, Me = { class: "flex items-center" }, Ee = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Le = { class: "fm-typo-en-body-md-600 font-semibold" },
|
|
238
|
+
}), $e = { class: "flex-1 flex justify-between gap-8 pl-8" }, Me = { class: "flex items-center" }, Ee = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Le = { class: "fm-typo-en-body-md-600 font-semibold" }, Ge = /* @__PURE__ */ L({
|
|
239
239
|
__name: "Subcategory",
|
|
240
240
|
setup($) {
|
|
241
|
-
const f = Y(), _ = B(), x = D(_), g =
|
|
241
|
+
const f = Y(), _ = B(), x = D(_), g = U(x), k = G({ dialog: f, menuLoader: g }), d = F(() => N().subcategories), { t: a } = T();
|
|
242
242
|
function v() {
|
|
243
243
|
k.create();
|
|
244
244
|
}
|
|
@@ -277,5 +277,5 @@ const pe = {
|
|
|
277
277
|
}
|
|
278
278
|
});
|
|
279
279
|
export {
|
|
280
|
-
|
|
280
|
+
Ge as default
|
|
281
281
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { D as x, u as v, O as w, J as E, z as M } from "./menu-Dlsf52hs.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as V } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
6
|
import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { T as O, l as S } from "./index-
|
|
9
|
-
import { a as L } from "./menu-
|
|
10
|
-
const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" },
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-CbhZLN-r.js";
|
|
8
|
+
import { T as O, l as S } from "./index-B7ZCIQp2.js";
|
|
9
|
+
import { a as L } from "./menu-zMO5M1Ur.js";
|
|
10
|
+
const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" }, D = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, F = { class: "fm-typo-en-body-md-600 font-semibold" }, G = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
|
-
setup(
|
|
12
|
+
setup(I) {
|
|
13
13
|
const u = V(), l = x(u), p = v(), c = w(l), _ = y(() => p.rules.item.bindToVariant), n = k(0), { t: r } = T();
|
|
14
|
-
return L().resetOnMount(), (
|
|
14
|
+
return L().resetOnMount(), (P, o) => (d(), i(C, {
|
|
15
15
|
heading: a(r)("menu.takeaway.title")
|
|
16
16
|
}, {
|
|
17
17
|
default: s(() => [
|
|
@@ -22,8 +22,8 @@ const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "fle
|
|
|
22
22
|
"append-heading": s(() => [
|
|
23
23
|
t("div", U, [
|
|
24
24
|
t("div", B, [
|
|
25
|
-
t("div",
|
|
26
|
-
t("p",
|
|
25
|
+
t("div", D, [
|
|
26
|
+
t("p", F, b(n.value), 1)
|
|
27
27
|
])
|
|
28
28
|
]),
|
|
29
29
|
t("div", null, [
|
|
@@ -60,5 +60,5 @@ const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "fle
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
export {
|
|
63
|
-
|
|
63
|
+
G as default
|
|
64
64
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as $, createCommentVNode as G, toDisplayString as I, withModifiers as H } from "vue";
|
|
2
|
+
import { D as q, u as Q, O as W, J as z, z as N, H as L, A as se, am as J } from "./menu-Dlsf52hs.js";
|
|
3
3
|
import { useI18n as X, useCoreStore as re } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as le, useSnackbar as Z, FmButtonVariant as A, components as ce, useBreakpoints as de } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ue } from "./app-
|
|
5
|
+
import { _ as ue } from "./app-DJ-rQRBU.js";
|
|
6
6
|
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
7
|
-
import { a as ye, l as ee, T as pe } from "./index-
|
|
7
|
+
import { a as ye, l as ee, T as pe } from "./index-B7ZCIQp2.js";
|
|
8
8
|
import { u as fe } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as F } from "./currency-
|
|
9
|
+
import { f as F } from "./currency-NcUCHGGN.js";
|
|
10
10
|
import { defineStore as _e } from "pinia";
|
|
11
|
-
import { C as ke } from "./catalog-
|
|
11
|
+
import { C as ke } from "./catalog-DeBJkQdk.js";
|
|
12
12
|
import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function we(T, U, l, m) {
|
|
14
14
|
var y, v, w, g;
|
|
@@ -79,8 +79,8 @@ const ge = _e("takeaway-manager", () => {
|
|
|
79
79
|
"onUpdate:takeaway": async (d) => {
|
|
80
80
|
await m.updateMenu(
|
|
81
81
|
{
|
|
82
|
-
module:
|
|
83
|
-
operation:
|
|
82
|
+
module: N.F_MENU_MODULE_V4_KEY.enum.takeaway,
|
|
83
|
+
operation: z.F_OPERATION_TYPE.update,
|
|
84
84
|
data: d,
|
|
85
85
|
link: ee(d.usedBy || [])
|
|
86
86
|
},
|
|
@@ -108,8 +108,8 @@ const ge = _e("takeaway-manager", () => {
|
|
|
108
108
|
}).onPrimary(async () => {
|
|
109
109
|
await m.updateMenu(
|
|
110
110
|
{
|
|
111
|
-
module:
|
|
112
|
-
operation:
|
|
111
|
+
module: N.F_MENU_MODULE_V4_KEY.enum.takeaway,
|
|
112
|
+
operation: z.F_OPERATION_TYPE.delete,
|
|
113
113
|
data: a._id
|
|
114
114
|
},
|
|
115
115
|
a.name,
|
|
@@ -140,7 +140,7 @@ const ge = _e("takeaway-manager", () => {
|
|
|
140
140
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
141
141
|
}, Ke = {
|
|
142
142
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
143
|
-
},
|
|
143
|
+
}, Ie = {
|
|
144
144
|
key: 1,
|
|
145
145
|
class: "xs:pt-24"
|
|
146
146
|
}, je = /* @__PURE__ */ oe({
|
|
@@ -227,7 +227,7 @@ const ge = _e("takeaway-manager", () => {
|
|
|
227
227
|
}) : null])
|
|
228
228
|
}]), M = de(), b = h(() => M.breakpoints.value.xs);
|
|
229
229
|
return (o, s) => {
|
|
230
|
-
const p = S("fm-search"), x = S("fm-table"),
|
|
230
|
+
const p = S("fm-search"), x = S("fm-table"), B = S("fm-button");
|
|
231
231
|
return g.value.length ? (_(), C(O, {
|
|
232
232
|
key: 0
|
|
233
233
|
}, [b.value ? (_(), C(O, {
|
|
@@ -244,13 +244,13 @@ const ge = _e("takeaway-manager", () => {
|
|
|
244
244
|
onClick: () => {
|
|
245
245
|
f.value.edit && t(m).updateTakeaway(n);
|
|
246
246
|
}
|
|
247
|
-
}, [k("div", Ue, [k("p", Me,
|
|
247
|
+
}, [k("div", Ue, [k("p", Me, I(n.name), 1), k("p", Ee, I(`${t(J)(t(l).categorizedItems, n.usedBy).flatMap((E) => E.items).length ?? 0} items linked`), 1), k("p", Ke, " Price: " + I(w.value.symbol) + I(t(F)(n.price, !1)), 1)]), f.value.delete ? (_(), $(B, {
|
|
248
248
|
key: 0,
|
|
249
249
|
variant: t(A).Tertiary,
|
|
250
250
|
"text-color": "neutral-gray-400",
|
|
251
251
|
"prepend-icon": "delete",
|
|
252
252
|
onClick: H(() => t(m).deleteTakeaway(n), ["stop"])
|
|
253
|
-
}, null, 8, ["variant", "onClick"])) :
|
|
253
|
+
}, null, 8, ["variant", "onClick"])) : G("", !0)], 8, Te))), 128))])], 64)) : (_(), C("div", be, [k("div", he, [k("div", xe, [V(p, {
|
|
254
254
|
autofocus: "",
|
|
255
255
|
modelValue: t(c),
|
|
256
256
|
"onUpdate:modelValue": s[0] || (s[0] = (n) => j(c) ? c.value = n : null),
|
|
@@ -271,31 +271,31 @@ const ge = _e("takeaway-manager", () => {
|
|
|
271
271
|
})
|
|
272
272
|
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
273
273
|
_: 1
|
|
274
|
-
})]))], 64)) : (_(), C("div",
|
|
274
|
+
})]))], 64)) : (_(), C("div", Ie, [V(t(me), {
|
|
275
275
|
subtitle: t(e)("menu.takeaway.empty.subtitle"),
|
|
276
276
|
title: t(e)("menu.takeaway.empty.title")
|
|
277
277
|
}, {
|
|
278
|
-
action: P(() => [f.value.create ? (_(),
|
|
278
|
+
action: P(() => [f.value.create ? (_(), $(t(pe), {
|
|
279
279
|
key: 0,
|
|
280
280
|
"bind-to-variant": i.value,
|
|
281
281
|
action: "add",
|
|
282
282
|
"apply-product": "",
|
|
283
283
|
"onUpdate:takeaway": s[3] || (s[3] = (n) => t(y).updateMenu({
|
|
284
|
-
module: t(
|
|
285
|
-
operation: t(
|
|
284
|
+
module: t(N.F_MENU_MODULE_V4_KEY).enum.takeaway,
|
|
285
|
+
operation: t(z.F_OPERATION_TYPE).create,
|
|
286
286
|
data: n,
|
|
287
287
|
link: t(ee)(n.usedBy || [])
|
|
288
288
|
}, n.name))
|
|
289
289
|
}, {
|
|
290
290
|
default: P(({
|
|
291
291
|
trigger: n
|
|
292
|
-
}) => [V(
|
|
292
|
+
}) => [V(B, {
|
|
293
293
|
"prepend-icon": "add",
|
|
294
294
|
label: t(e)("menu.takeaway.empty.action"),
|
|
295
295
|
onClick: H(n, ["stop"])
|
|
296
296
|
}, null, 8, ["label", "onClick"])]),
|
|
297
297
|
_: 1
|
|
298
|
-
}, 8, ["bind-to-variant"])) :
|
|
298
|
+
}, 8, ["bind-to-variant"])) : G("", !0)]),
|
|
299
299
|
_: 1
|
|
300
300
|
}, 8, ["subtitle", "title"])]));
|
|
301
301
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { computed as d, defineComponent as x, ref as F, resolveComponent as b, createElementBlock as L, openBlock as w, normalizeClass as O, createVNode as K, normalizeStyle as $, withCtx as B, createBlock as U, createCommentVNode as j } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as S } from "./menuV2-
|
|
4
|
-
import { C as v, h as N } from "./catalog-
|
|
5
|
-
import { useSnackbar as P, useDialog as
|
|
6
|
-
import { a as T } from "./LinkProductSideSheet-
|
|
7
|
-
import { useI18n as
|
|
8
|
-
function
|
|
2
|
+
import { z as h, J as E, D as R, O as C, ag as D, u as y, c as J } from "./menu-Dlsf52hs.js";
|
|
3
|
+
import { u as S } from "./menuV2-Ss7NpjF_.js";
|
|
4
|
+
import { C as v, h as N } from "./catalog-DeBJkQdk.js";
|
|
5
|
+
import { useSnackbar as P, useDialog as Y } from "@feedmepos/ui-library";
|
|
6
|
+
import { a as T } from "./LinkProductSideSheet-CiRZO3uN.js";
|
|
7
|
+
import { useI18n as q } from "@feedmepos/mf-common";
|
|
8
|
+
function G() {
|
|
9
9
|
const t = S(), o = d(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
|
|
10
10
|
const u = t.currentCatalog;
|
|
11
11
|
return u ? v.getItemAvailable(u).map((n) => ({ _id: n })) : [];
|
|
@@ -43,10 +43,10 @@ function q() {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
async function g(u) {
|
|
46
|
-
await
|
|
46
|
+
await z(u, !0);
|
|
47
47
|
}
|
|
48
48
|
async function p(u) {
|
|
49
|
-
await
|
|
49
|
+
await z(u, !1);
|
|
50
50
|
}
|
|
51
51
|
async function _(u) {
|
|
52
52
|
const n = t.currentCatalog;
|
|
@@ -70,7 +70,7 @@ function q() {
|
|
|
70
70
|
saveLinkItemRules: _
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
async function
|
|
73
|
+
async function z(t, o) {
|
|
74
74
|
var u;
|
|
75
75
|
const i = S(), c = i.currentCatalog;
|
|
76
76
|
if (!c || t.length === 0) return;
|
|
@@ -97,7 +97,7 @@ async function A(t, o) {
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function H() {
|
|
100
|
-
const t = S(), o = P(), i =
|
|
100
|
+
const t = S(), o = P(), i = Y(), c = R(o), g = C(c), p = d(() => {
|
|
101
101
|
const n = t.categorizedRawMenuItems, a = new Set(
|
|
102
102
|
t.currentCatalog ? v.getItemAvailable(t.currentCatalog) : t.state.menu.modules.item.map((e) => e._id)
|
|
103
103
|
);
|
|
@@ -135,7 +135,7 @@ function H() {
|
|
|
135
135
|
(l, m) => {
|
|
136
136
|
const f = a.items.filter((I) => I._id == m) ?? [];
|
|
137
137
|
return l = l.concat(
|
|
138
|
-
|
|
138
|
+
D(m, f, (I) => ({
|
|
139
139
|
...I,
|
|
140
140
|
orderFrom: null
|
|
141
141
|
}))
|
|
@@ -174,7 +174,7 @@ const Q = () => {
|
|
|
174
174
|
f,
|
|
175
175
|
I,
|
|
176
176
|
e.has(f),
|
|
177
|
-
t.version ===
|
|
177
|
+
t.version === J.F_MENU_VERSION.v3
|
|
178
178
|
), m;
|
|
179
179
|
},
|
|
180
180
|
{}
|
|
@@ -219,7 +219,7 @@ const Q = () => {
|
|
|
219
219
|
saveLinkItemRules: u
|
|
220
220
|
};
|
|
221
221
|
}, W = () => {
|
|
222
|
-
const t = y(), o = P(), i =
|
|
222
|
+
const t = y(), o = P(), i = Y(), c = R(o), g = C(c), p = d(() => {
|
|
223
223
|
const n = t.categorizedRawMenuItems, a = new Set(
|
|
224
224
|
t.currentCatalog ? v.getItemAvailable(t.currentCatalog) : t.state.menu.modules.item.map((e) => e._id)
|
|
225
225
|
);
|
|
@@ -248,7 +248,7 @@ const Q = () => {
|
|
|
248
248
|
(l, m) => {
|
|
249
249
|
const f = a.items.filter((I) => I._id == m) ?? [];
|
|
250
250
|
return l = l.concat(
|
|
251
|
-
|
|
251
|
+
D(m, f, (I) => ({
|
|
252
252
|
...I,
|
|
253
253
|
orderFrom: null
|
|
254
254
|
}))
|
|
@@ -294,10 +294,10 @@ function se(t) {
|
|
|
294
294
|
const k = M.items.map((V) => V._id);
|
|
295
295
|
f.value ? m.applyProduct(k) : l.applyProduct(k);
|
|
296
296
|
}
|
|
297
|
-
},
|
|
297
|
+
}, A = d(() => [o, ...e.state.menu.modules.category ?? []]);
|
|
298
298
|
return {
|
|
299
299
|
menuItems: r,
|
|
300
|
-
categories:
|
|
300
|
+
categories: A,
|
|
301
301
|
linkItemRules: s,
|
|
302
302
|
catalogManager: m,
|
|
303
303
|
schedulerManager: l,
|
|
@@ -308,7 +308,7 @@ function se(t) {
|
|
|
308
308
|
const i = S(), c = d(() => i.state.menu.modules.item ?? []), g = d(() => {
|
|
309
309
|
var e;
|
|
310
310
|
return ((e = i.currentCatalog) == null ? void 0 : e.linkItemRules) ?? null;
|
|
311
|
-
}), p = H(), _ =
|
|
311
|
+
}), p = H(), _ = G(), u = d(() => !i.state.currentSchedulerId), n = (e) => {
|
|
312
312
|
if (e.mode === T.Rules)
|
|
313
313
|
_.saveLinkItemRules(e.linkItemRules);
|
|
314
314
|
else {
|
|
@@ -336,7 +336,7 @@ const X = ["alt", "src", "crossorigin"], ue = /* @__PURE__ */ x({
|
|
|
336
336
|
crossorigin: { type: Boolean, default: !0 }
|
|
337
337
|
},
|
|
338
338
|
setup(t) {
|
|
339
|
-
const o = t, { t: i } =
|
|
339
|
+
const o = t, { t: i } = q(), c = F(!1), g = F(!o.src), p = () => {
|
|
340
340
|
c.value = !1, g.value = !0;
|
|
341
341
|
}, _ = () => {
|
|
342
342
|
c.value = !0, g.value = !0;
|
|
@@ -394,6 +394,6 @@ const X = ["alt", "src", "crossorigin"], ue = /* @__PURE__ */ x({
|
|
|
394
394
|
});
|
|
395
395
|
export {
|
|
396
396
|
ue as _,
|
|
397
|
-
|
|
397
|
+
G as a,
|
|
398
398
|
se as u
|
|
399
399
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { computed as D, shallowRef as Wt, ref as q, watch as ye, nextTick as nt, getCurrentInstance as xn, onMounted as Ae, defineComponent as ae, resolveComponent as W, createElementBlock as J, openBlock as $, createBlock as H, normalizeClass as fe, createElementVNode as A, createVNode as C, unref as o, withCtx as B, toDisplayString as ge, mergeModels as qt, useModel as Ht, createCommentVNode as X, resolveDirective as Xt, withDirectives as ft, createTextVNode as Fn, renderSlot as Me, h as ve, Fragment as Oe, renderList as Ne, vShow as Jt, withModifiers as He, createSlots as Sn, onBeforeUnmount as Ot, watchEffect as On, onUnmounted as Dn, normalizeStyle as ct, mergeProps as Vn, normalizeProps as $n, guardReactiveProps as Pn, Teleport as Rn, Transition as Un, withKeys as Mn } from "vue";
|
|
2
|
-
import { g as An, o as Nn, f as Ln, a as Gn, n as Qt, _ as Zt, I as Kn, S as Bn, b as Dt, C as zn, R as We, c as en, d as Et, e as tn, h as Yn, m as jn, F as Wn, M as nn, j as qn, r as Hn, k as on, l as Nt, p as rn, q as Xn, P as Jn, s as Qn, t as an, u as Zn, T as Be } from "./item-
|
|
3
|
-
import { _ as eo, T as to } from "./app-
|
|
4
|
-
import {
|
|
2
|
+
import { g as An, o as Nn, f as Ln, a as Gn, n as Qt, _ as Zt, I as Kn, S as Bn, b as Dt, C as zn, R as We, c as en, d as Et, e as tn, h as Yn, m as jn, F as Wn, M as nn, j as qn, r as Hn, k as on, l as Nt, p as rn, q as Xn, P as Jn, s as Qn, t as an, u as Zn, T as Be } from "./item-BsvsZcce.js";
|
|
3
|
+
import { _ as eo, T as to } from "./app-DJ-rQRBU.js";
|
|
4
|
+
import { A as be, J as _e, z as te, D as ot, K as no, M as oo, N as ro, O as Vt, P as ao, B as Le, Q as lo, H as me, R as io, T as $t, I as ke, U as vt, V as so, W as uo, X as bt, Y as Lt, Z as co, u as ln, $ as mo } from "./menu-Dlsf52hs.js";
|
|
5
5
|
import { useI18n as ce, useCoreStore as rt, CustomAttributesForm as sn } from "@feedmepos/mf-common";
|
|
6
6
|
import { useDialog as Ge, useDialogChild as Pt, useSnackbar as Ue, FmButtonColorThemeVariant as Se, components as Ie, FmButtonVariant as qe, useBreakpoints as po } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as Rt } from "./discardConfirm-BHni0LNu.js";
|
|
8
8
|
import { defineStore as fo } from "pinia";
|
|
9
|
-
import { _ as De, a as Re, b as go } from "./customAttributes-
|
|
10
|
-
import { u as se, g as un, m as vo } from "./menuV2-
|
|
11
|
-
import { s as Tt, _ as bo } from "./index-
|
|
12
|
-
import { _ as Gt } from "./category-
|
|
13
|
-
import { _ as _o, a as yo, u as ho } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as Ze, L as xt } from "./LinkProductSideSheet-
|
|
9
|
+
import { _ as De, a as Re, b as go } from "./customAttributes-Cf1e7I1m.js";
|
|
10
|
+
import { u as se, g as un, m as vo } from "./menuV2-Ss7NpjF_.js";
|
|
11
|
+
import { s as Tt, _ as bo } from "./index-EBL2mPva.js";
|
|
12
|
+
import { _ as Gt } from "./category-CJKIi291.js";
|
|
13
|
+
import { _ as _o, a as yo, u as ho } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CH9jzjP0.js";
|
|
14
|
+
import { _ as Ze, L as xt } from "./LinkProductSideSheet-CiRZO3uN.js";
|
|
15
15
|
import { _ as dn } from "./tooltip-CQW9YRO5.js";
|
|
16
|
-
import { _ as Xe, T as wo, l as Co } from "./index-
|
|
16
|
+
import { _ as Xe, T as wo, l as Co } from "./index-B7ZCIQp2.js";
|
|
17
17
|
import { u as Io } from "./search-BAPEUu1R.js";
|
|
18
18
|
import { c as Ut } from "./check-C9mY6LiX.js";
|
|
19
|
-
import { f as tt } from "./currency-
|
|
19
|
+
import { f as tt } from "./currency-NcUCHGGN.js";
|
|
20
20
|
import { c as ko } from "./string-DpfFixWH.js";
|
|
21
21
|
import { useInventoryStore as Eo, InventoryBindingSummary as To } from "@feedmepos/mf-inventory-portal";
|
|
22
|
-
import { u as xo } from "./priceTier-
|
|
22
|
+
import { u as xo } from "./priceTier-Dhh2TKAL.js";
|
|
23
23
|
import { d as Mt } from "./vuedraggable-CK8z7qA8.js";
|
|
24
|
-
import { _ as Fo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
24
|
+
import { _ as Fo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BK9XcgvQ.js";
|
|
25
25
|
import "./app-5fxKLAzS.js";
|
|
26
26
|
/* empty css */
|
|
27
|
-
import { i as So, t as At, w as Oo, a as cn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-
|
|
27
|
+
import { i as So, t as At, w as Oo, a as cn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-BaeTP7Ku.js";
|
|
28
28
|
import { c as mt } from "./object-DVUNCr7w.js";
|
|
29
29
|
import { _ as Ro } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
30
30
|
import { _ as Kt } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
@@ -819,7 +819,7 @@ const gt = () => {
|
|
|
819
819
|
};
|
|
820
820
|
}
|
|
821
821
|
});
|
|
822
|
-
var fr = { firebase: { storageBucket: "image.
|
|
822
|
+
var fr = { firebase: { storageBucket: "image.feedmedev.cc" } };
|
|
823
823
|
const gr = {
|
|
824
824
|
key: 0,
|
|
825
825
|
class: "absolute inset-0 flex items-center justify-center image-action-overlay"
|
|
@@ -6002,6 +6002,5 @@ const _l = { key: 0 }, yl = ["innerHTML"], hl = /* @__PURE__ */ ae({
|
|
|
6002
6002
|
}
|
|
6003
6003
|
});
|
|
6004
6004
|
export {
|
|
6005
|
-
Mi as _
|
|
6006
|
-
jo as u
|
|
6005
|
+
Mi as _
|
|
6007
6006
|
};
|