@feedmepos/mf-menu 0.31.18-beta.2 → 0.31.19-beta
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-wD-LIfUS.js → App-y2Q2D6AO.js} +2399 -1295
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C2io-Yr_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js} +2 -2
- package/dist/{Catalog-pfPNhMN0.js → Catalog-Di-YSP-w.js} +5 -5
- package/dist/{Category-6EUsyHXB.js → Category-BzydRf7k.js} +21 -21
- package/dist/{Category-Icdsr_AU.js → Category-CAccN9m6.js} +8 -8
- package/dist/{CookingGuide-CFds6Opd.js → CookingGuide-BQcVxx1R.js} +66 -66
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BU3i3VMn.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BjUqhzCZ.js} +1 -1
- package/dist/{Group-BA9WRoXf.js → Group-B8TuooWf.js} +3 -3
- package/dist/{Group-DuSiLXZl.js → Group-CAV74Npz.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CXvvPtM6.js → Group.vue_vue_type_script_setup_true_lang-ClnFek9W.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D7jLCWar.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsC5e95X.js} +3 -3
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BCSlWsDm.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js} +6 -6
- package/dist/{Ingredient-B9XmeoFV.js → Ingredient-DMLmjp-1.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-B52WWwa4.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C0tjGp89.js} +1052 -1052
- package/dist/{LinkProductSideSheet-BJZvpQEy.js → LinkProductSideSheet-DIvOzMB8.js} +1 -1
- package/dist/{MenuSetting-gsQC_4aO.js → MenuSetting-C5sIpDMN.js} +16 -16
- package/dist/{PrintRoute-Bn6gXl3V.js → PrintRoute-NHoHTnMc.js} +26 -26
- package/dist/{Product-8udrIlYQ.js → Product-C2SOvPy4.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-K198-KBy.js → Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js} +62 -59
- package/dist/{ProductInternalTools-DMFn25Xf.js → ProductInternalTools-eXFZoo1G.js} +13 -13
- package/dist/{Products-DKsKL3Er.js → Products-3J5DcGEc.js} +15 -15
- package/dist/{Publish-MvehUY1y.js → Publish-BdWd54a5.js} +32 -32
- package/dist/{Recipe-DxcMoQb8.js → Recipe-DrNJifKH.js} +9 -9
- package/dist/{Scheduler-DlXh4oWl.js → Scheduler-OLKgjhjM.js} +3 -3
- package/dist/{ServingSequence-Bjf6DT_I.js → ServingSequence-DZ-eaRkW.js} +25 -25
- package/dist/{Setting-BLEQlMI7.js → Setting-t5Edfa6F.js} +10 -10
- package/dist/{Subcategory-CcV6Tayf.js → Subcategory-B1BeXahn.js} +18 -18
- package/dist/{Takeaway-iFKg3t6Z.js → Takeaway-CS31a0G6.js} +1 -1
- package/dist/{Takeaway-cWErnYdQ.js → Takeaway-q69U7AjK.js} +10 -10
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-_QHNZNZR.js → Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js} +17 -17
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D0EmIu2f.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0kXXOsyC.js} +355 -351
- package/dist/{Unit-D3AGc0lx.js → Unit-R0fBKDBQ.js} +8 -8
- package/dist/{Variant-Dw8htKCh.js → Variant-DdIfbckf.js} +8 -8
- package/dist/{_id_-DDpt5en8.js → _id_-Cpxz3UoN.js} +17 -17
- package/dist/{app-C_yYtrEa.js → app-CMGlnsG5.js} +24 -24
- package/dist/{app-DHp-gdZ8.js → app-DRorRq_c.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +19 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/helper/menu.d.ts +1 -1
- package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +11 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-CdVNB55V.js +24 -0
- package/dist/assets/override-menu-CjvOi-J-.js +24 -0
- package/dist/assets/validate-menu-BU_-Jge5.js +24 -0
- package/dist/{catalog-BLev4g5s.js → catalog-BXSv7rZo.js} +1 -1
- package/dist/{catalogSetting-DLHG77b8.js → catalogSetting-DhXLcwI_.js} +1 -1
- package/dist/{category-BWZrKqKo.js → category-LHZTSH3_.js} +1 -1
- package/dist/{currency-Dk3SWVD4.js → currency-C05JOYSJ.js} +1 -1
- package/dist/{dayjs.min-g6rj0y7-.js → dayjs.min-OqJAuW-9.js} +1 -1
- package/dist/{index-CkDuC6ew.js → index-BgrBG_Iz.js} +11 -11
- package/dist/{index-B6J6I9qW.js → index-CxytOxGX.js} +1 -1
- package/dist/{index-BkQvec9d.js → index-kz099Vvw.js} +6 -6
- package/dist/{item-07EOcOyN.js → item-vz-nrIWG.js} +381 -378
- package/dist/{jszip.min-BVEWRpo1.js → jszip.min-C2aY4t8L.js} +2 -2
- package/dist/menu-CAVt_lFp.js +107896 -0
- package/dist/{menu-DFbClu32.js → menu-DJkyk-fC.js} +1 -1
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-DUEDzFST.js → priceTier-xvRS9QN2.js} +1 -1
- package/dist/{scheduler-CvMZKf1V.js → scheduler-Du42t5zf.js} +3 -3
- package/dist/{subcategory-votbn_EI.js → subcategory-CqKHknsQ.js} +241 -241
- package/dist/{toExcel-BppcWu3P.js → toExcel-BvBlj-X5.js} +2 -2
- package/dist/{unit-CDrhaOj7.js → unit-DENherye.js} +1 -1
- package/package.json +3 -2
- package/dist/assets/linked-status-D2akZi_5.js +0 -24
- package/dist/assets/override-menu-68FsNgLU.js +0 -24
- package/dist/assets/validate-menu-CAFkPK87.js +0 -24
- package/dist/menu-7RxvJsxy.js +0 -132202
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as M, watch as _, ref as f, resolveComponent as g, createBlock as x, openBlock as C, unref as l, withCtx as V, createVNode as A } from "vue";
|
|
2
|
-
import { J as s, G as u, u as F } from "./menu-
|
|
2
|
+
import { J as s, G as u, u as F } from "./menu-CAVt_lFp.js";
|
|
3
3
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as O } from "@feedmepos/ui-library";
|
|
5
5
|
const y = /* @__PURE__ */ M({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as R, computed as w, ref as E, watch as C, resolveComponent as g, createElementBlock as F, openBlock as V, Fragment as K, renderSlot as j, createVNode as s, unref as n, withCtx as m, createElementVNode as d, createBlock as M, createCommentVNode as U, normalizeClass as H, createSlots as J, toDisplayString as Q } from "vue";
|
|
2
|
-
import { O as W,
|
|
2
|
+
import { O as W, D as X, I as Z, H as f, B, J as D, G as I } from "./menu-CAVt_lFp.js";
|
|
3
3
|
import { d as ee } from "./vuedraggable-CK8z7qA8.js";
|
|
4
4
|
import { useI18n as te } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ae, components as ne } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as oe } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
7
7
|
import { _ as le } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
8
8
|
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js";
|
|
10
10
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
11
11
|
const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32" }, de = ["data-not-allow-sort"], ce = {
|
|
12
12
|
key: 1,
|
|
@@ -16,10 +16,10 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
16
16
|
props: {
|
|
17
17
|
initialValue: {}
|
|
18
18
|
},
|
|
19
|
-
setup(
|
|
20
|
-
const r =
|
|
19
|
+
setup(S, { expose: N }) {
|
|
20
|
+
const r = S, b = W(X(ae())), { t: o } = te(), L = w(
|
|
21
21
|
() => r.initialValue ? o("menu.variant.form.title.edit") : o("menu.variant.form.title.add")
|
|
22
|
-
),
|
|
22
|
+
), A = w(() => r.initialValue ? "Update" : "Add"), O = () => {
|
|
23
23
|
if (r.initialValue) {
|
|
24
24
|
const e = f(r.initialValue);
|
|
25
25
|
return e.options.push({
|
|
@@ -82,15 +82,15 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
82
82
|
const e = f(t.value);
|
|
83
83
|
e.options = e.options.filter((a) => !!a.name.trim()), r.initialValue ? await b.updateMenu(
|
|
84
84
|
{
|
|
85
|
-
module:
|
|
86
|
-
operation:
|
|
85
|
+
module: I.F_MENU_MODULE_V4_KEY.enum.variant,
|
|
86
|
+
operation: D.F_OPERATION_TYPE.update,
|
|
87
87
|
data: e
|
|
88
88
|
},
|
|
89
89
|
e.name
|
|
90
90
|
) : await b.updateMenu(
|
|
91
91
|
{
|
|
92
|
-
module:
|
|
93
|
-
operation:
|
|
92
|
+
module: I.F_MENU_MODULE_V4_KEY.enum.variant,
|
|
93
|
+
operation: D.F_OPERATION_TYPE.create,
|
|
94
94
|
data: e
|
|
95
95
|
},
|
|
96
96
|
e.name
|
|
@@ -124,12 +124,12 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
124
124
|
"onOn:clickedAway": n(Y)
|
|
125
125
|
}, {
|
|
126
126
|
"side-sheet-header": m(() => [
|
|
127
|
-
d("p", ue, Q(
|
|
127
|
+
d("p", ue, Q(L.value), 1)
|
|
128
128
|
]),
|
|
129
129
|
"side-sheet-footer": m(() => [
|
|
130
130
|
d("div", fe, [
|
|
131
131
|
s(v, {
|
|
132
|
-
label:
|
|
132
|
+
label: A.value,
|
|
133
133
|
loading: y.value,
|
|
134
134
|
size: "lg",
|
|
135
135
|
type: "submit",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, resolveComponent as p, createBlock as f, openBlock as i, Teleport as E, createVNode as _, Transition as w, withCtx as h, createCommentVNode as L, withKeys as g, normalizeStyle as F, normalizeClass as d, createElementVNode as m, renderSlot as x, createElementBlock as T, toDisplayString as A, Fragment as R, renderList as v, computed as C, unref as I } from "vue";
|
|
2
|
-
import { _ as k } from "./LinkProductSideSheet-
|
|
2
|
+
import { _ as k } from "./LinkProductSideSheet-DIvOzMB8.js";
|
|
3
3
|
import { useI18n as U } from "@feedmepos/mf-common";
|
|
4
4
|
const N = {
|
|
5
5
|
class: /* @__PURE__ */ d([
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as
|
|
1
|
+
import { A as S, G as A, u as K, H as O, B as q, I as R } from "./menu-CAVt_lFp.js";
|
|
2
|
+
import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as z, onBeforeUnmount as H, resolveComponent as F, createBlock as N, openBlock as M, withModifiers as C, withCtx as g, renderSlot as U, createElementBlock as P, Fragment as W, createVNode as c, unref as i, createElementVNode as D, createCommentVNode as j, toDisplayString as G } from "vue";
|
|
3
3
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as Y } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as Z } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
6
6
|
import { u as J } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js";
|
|
8
8
|
import { c as X } from "./check-C9mY6LiX.js";
|
|
9
|
-
import { f as ee } from "./currency-
|
|
9
|
+
import { f as ee } from "./currency-C05JOYSJ.js";
|
|
10
10
|
import { c as ae } from "./string-DpfFixWH.js";
|
|
11
11
|
const te = /* @__PURE__ */ T({
|
|
12
12
|
__name: "CurrencyInput",
|
|
@@ -91,7 +91,7 @@ const te = /* @__PURE__ */ T({
|
|
|
91
91
|
e.key >= "0" && e.key <= "9" || e.key === "." || e.key === "," || e.key === "-" || e.key === "Backspace" || e.key === "ArrowLeft" || e.key === "ArrowRight" || e.key === "Tab" || e.preventDefault();
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
|
-
return
|
|
94
|
+
return z(() => {
|
|
95
95
|
var e;
|
|
96
96
|
r.value && ((e = r.value.inputEl) == null || e.addEventListener("keydown", _));
|
|
97
97
|
}), H(() => {
|
|
@@ -158,7 +158,7 @@ const le = { class: "fm-typo-en-title-md-600" }, oe = { class: "space-y-32" }, n
|
|
|
158
158
|
return (o = d.fallback) != null && o.price && (l.price = null), l;
|
|
159
159
|
}
|
|
160
160
|
const s = f(k()), _ = B(() => d.action === "add" ? n("menu.takeaway.add") : n("menu.takeaway.update")), e = J(
|
|
161
|
-
() => !
|
|
161
|
+
() => !R.isEqual(
|
|
162
162
|
s.value,
|
|
163
163
|
d.initialValue || {
|
|
164
164
|
...q.generator.initMenuV4Takeaway(),
|