@feedmepos/mf-menu 0.31.71-prod → 0.31.72-prod
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-CL10Jg9U.js} +1441 -2545
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Dflill79.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Cjx5fbP-.js} +3 -3
- package/dist/{Catalog-yv_fwu1h.js → Catalog-DH2BdP9z.js} +26 -26
- package/dist/{Category-lOaUwRrB.js → Category-DqGNz35T.js} +35 -35
- package/dist/{Category-DEkZ-IWE.js → Category-qYUvpLdh.js} +22 -22
- package/dist/{CookingGuide-Db8VQK5V.js → CookingGuide-BDdhXyem.js} +113 -113
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DwsVvlUq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Cdpdj5IE.js} +1 -1
- package/dist/{Group-CFS8D5Uf.js → Group-BdezABwF.js} +3 -3
- package/dist/{Group-B2EXYbcn.js → Group-CC_L3UT-.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BdZ9K2Ht.js → Group.vue_vue_type_script_setup_true_lang-QW6LNvGs.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CtlyZlos.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BRIuJaJC.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C-RPhKoA.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dsz3Xn9Z.js} +21 -22
- package/dist/{Ingredient-C3B8G0Fd.js → Ingredient-BBI1k8pJ.js} +23 -23
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BrhhXwp8.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DAEBkjvK.js} +1052 -1052
- package/dist/{LinkProductSideSheet-DPn7KN3l.js → LinkProductSideSheet-CjpsPqEi.js} +3 -3
- package/dist/{MenuSetting-Mph9Pc9s.js → MenuSetting-C-P1Scc1.js} +31 -31
- package/dist/{PrintRoute-BwboeALA.js → PrintRoute-6PwNkgPq.js} +26 -26
- package/dist/{Product-CNKnPt-z.js → Product-C9bWKMnR.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BksTc5Gm.js → Product.vue_vue_type_script_setup_true_lang-B-_k2sxs.js} +71 -71
- package/dist/{ProductInternalTools-DGkoIc6T.js → ProductInternalTools-CPOtlBbf.js} +16 -16
- package/dist/{Products-CkLZYybB.js → Products-bBYxKoQD.js} +11 -11
- package/dist/{Publish-Bzq9aREC.js → Publish-D8kDEEHH.js} +56 -57
- package/dist/{Recipe-K55Bnscl.js → Recipe-COSl8UGA.js} +13 -13
- package/dist/{Scheduler-ChAmTqSR.js → Scheduler-CbpeTQSj.js} +16 -16
- package/dist/{ServingSequence-ywa7-8rG.js → ServingSequence-cj2B74HR.js} +20 -20
- package/dist/{Setting-CHUNtVho.js → Setting-D23VkUB7.js} +20 -20
- package/dist/{Subcategory-0-99_i06.js → Subcategory-DX8QrFgC.js} +19 -19
- package/dist/{Takeaway-BzvxZ_dA.js → Takeaway-DH2SFWfP.js} +10 -10
- package/dist/{Takeaway-CsJf5I8I.js → Takeaway-DrhBsRCs.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Bh8mjdk4.js → Takeaway.vue_vue_type_script_setup_true_lang-BToJ-0PD.js} +20 -20
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CbxgtwVa.js → Thumbnail.vue_vue_type_script_setup_true_lang-C2iX4mHA.js} +20 -20
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dh_CA5gZ.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CBfuxySf.js} +15 -16
- package/dist/{Unit-CbTkNhj2.js → Unit-DMxFyFY2.js} +13 -13
- package/dist/{Variant-NkbzEbF-.js → Variant-rNyjWODP.js} +15 -15
- package/dist/{_id_-mr4_eirX.js → _id_-BwarikMA.js} +14 -14
- package/dist/{app-BzsHQwP_.js → app-DSzFVevx.js} +1 -1
- package/dist/{app-DVB67WHZ.js → app-QPsQPdlC.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-B5NYysaV.js +13 -0
- package/dist/assets/override-menu-CZz5sTM4.js +13 -0
- package/dist/assets/validate-menu-Bfr1r4Pn.js +13 -0
- package/dist/{catalog-C_6TM4e_.js → catalog-GksNTiZI.js} +1 -1
- package/dist/{catalogSetting-pTMi5i6h.js → catalogSetting-Df3DEjQ6.js} +1 -1
- package/dist/{category-CHNICcWp.js → category-BFAv5nJl.js} +5 -5
- package/dist/{currency-Dx-pn9tw.js → currency-B-hSVUof.js} +1 -1
- package/dist/{customAttributes-DvHKcDWb.js → customAttributes-B5fqV_rg.js} +1 -1
- package/dist/{index-CA3_R55p.js → index-Bk9co2B9.js} +13 -13
- package/dist/{index-DqIorABw.js → index-CC3psw9Q.js} +1 -1
- package/dist/{index-X3RliLfv.js → index-CFaF-9Hf.js} +26 -26
- package/dist/{index-DGtoqrTo.js → index-Cg8D4Rgf.js} +1 -1
- package/dist/{item-JhHKgoMj.js → item-ML0US37V.js} +16 -16
- package/dist/iteration-CN2IzQNz.js +27 -0
- package/dist/{jszip.min-BQReTtS0.js → jszip.min-B19btBFO.js} +245 -245
- package/dist/{menu-2ymqQnFE.js → menu-D2OVCn5f.js} +27902 -27334
- package/dist/{menu-Bhfx50bt.js → menu-IEr5lLH7.js} +1 -1
- package/dist/{menuV2-ZaA_QLdj.js → menuV2-CxFvJ_no.js} +61 -61
- 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-BRe15JfR.js} +1 -1
- package/dist/{scheduler-CzuGjuw5.js → scheduler-CBZXdcgd.js} +20 -20
- package/dist/{subcategory-Dt6tFvIu.js → subcategory-Doq8heDm.js} +6 -6
- package/dist/{toExcel-CUrEHCjB.js → toExcel-Bkaa9f0N.js} +2 -2
- package/dist/{unit-Ibbp0wZT.js → unit-xdbq52iv.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
1
|
import { defineStore as J } from "pinia";
|
|
2
2
|
import { defineComponent as O, computed as U, ref as h, watch as T, resolveComponent as V, createBlock as W, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as Q, createElementBlock as A, toDisplayString as M, unref as l, Fragment as q, renderSlot as X, renderList as Z, getCurrentInstance as ee } from "vue";
|
|
3
|
-
import { a5 as
|
|
3
|
+
import { a5 as B, a6 as te, a3 as P, H as k, O as $, D as I, B as E, a4 as ne, J as C, z as D, I as oe, u as ae } from "./menu-D2OVCn5f.js";
|
|
4
4
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as j, components as le, useDialog as ue, FmButtonVariant as ie } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as se } from "./discardConfirm-BHni0LNu.js";
|
|
7
7
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
8
8
|
import "./vuedraggable-CK8z7qA8.js";
|
|
9
9
|
import "./app-5fxKLAzS.js";
|
|
10
|
-
import "./menuV2-
|
|
10
|
+
import "./menuV2-CxFvJ_no.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
@@ -22,7 +22,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
24
|
setup(y, { emit: g }) {
|
|
25
|
-
const t = y, n = g, c = U(() =>
|
|
25
|
+
const t = y, n = g, c = U(() => B(t.step ?? 1).precision), d = h(t.modelValue.toString());
|
|
26
26
|
T([() => d.value], ([e]) => {
|
|
27
27
|
e === "-" || e === "." ? n("update:modelValue", 0) : n("update:modelValue", +e);
|
|
28
28
|
});
|
|
@@ -33,7 +33,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
33
33
|
return;
|
|
34
34
|
const i = e.currentTarget, a = +`${i.value}${e.key}`;
|
|
35
35
|
if (isFinite(a)) {
|
|
36
|
-
|
|
36
|
+
B(a).precision > c.value && e.preventDefault();
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
i.value.length === 0 && (e.key === "-" || e.key === ".") || e.preventDefault();
|
|
@@ -98,7 +98,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
98
98
|
unit: n.unitName
|
|
99
99
|
}));
|
|
100
100
|
function b(a) {
|
|
101
|
-
e("conversion",
|
|
101
|
+
e("conversion", P(a, n.precision));
|
|
102
102
|
}
|
|
103
103
|
function e(a, o) {
|
|
104
104
|
const p = k(n.modelValue);
|
|
@@ -173,7 +173,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
173
173
|
id: (/* @__PURE__ */ new Date()).toISOString(),
|
|
174
174
|
name: "",
|
|
175
175
|
abbrev: "",
|
|
176
|
-
conversion:
|
|
176
|
+
conversion: P(0, e.value.precision)
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
function s(u) {
|
|
@@ -216,7 +216,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
216
216
|
show: a,
|
|
217
217
|
trigger: o
|
|
218
218
|
}), (u, v) => {
|
|
219
|
-
const N = V("FmTextField"),
|
|
219
|
+
const N = V("FmTextField"), z = V("FmStepperField"), R = V("FmButton"), S = V("fm-button"), G = V("fm-side-sheet");
|
|
220
220
|
return F(), A(q, null, [
|
|
221
221
|
X(u.$slots, "default", { trigger: o }),
|
|
222
222
|
m(G, {
|
|
@@ -278,7 +278,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
278
278
|
}, null, 8, ["label", "modelValue", "rules"])
|
|
279
279
|
]),
|
|
280
280
|
f("div", null, [
|
|
281
|
-
m(
|
|
281
|
+
m(z, {
|
|
282
282
|
modelValue: e.value.precision,
|
|
283
283
|
"onUpdate:modelValue": [
|
|
284
284
|
v[2] || (v[2] = (r) => e.value.precision = r),
|
|
@@ -291,7 +291,7 @@ const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
|
291
291
|
max: 5
|
|
292
292
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
293
293
|
]),
|
|
294
|
-
m(
|
|
294
|
+
m(R, {
|
|
295
295
|
label: l(t)("menu.unit.measurement.add"),
|
|
296
296
|
variant: "secondary",
|
|
297
297
|
onClick: _
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-menu",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.72-prod",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@feedmepos/auth": "^1.1.14",
|
|
19
|
-
"@feedmepos/core": "2.14.
|
|
19
|
+
"@feedmepos/core": "2.14.58",
|
|
20
20
|
"@feedmepos/core-dart": "^0.2.6",
|
|
21
21
|
"@feedmepos/core-legacy": "file:../../core-legacy-1.4.tar.gz",
|
|
22
22
|
"@feedmepos/custom-attributes": "0.0.1-rc.4",
|
|
23
23
|
"@feedmepos/inventory-core": "^0.2.6",
|
|
24
|
-
"@feedmepos/menu": "1.7.
|
|
24
|
+
"@feedmepos/menu": "1.7.31",
|
|
25
25
|
"@feedmepos/mf-inventory-portal": "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz",
|
|
26
26
|
"@feedmepos/remy-vue-client": "0.1.3-beta.8",
|
|
27
27
|
"@feedmepos/ui-library": "1.8.7",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
import "vue3-carousel/carousel.css";
|
|
3
|
-
import { type Announcement } from "../stores/announcement/announcement";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
announcements: {
|
|
6
|
-
type: PropType<Announcement[]>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
"dialog:primary-action": (...args: any[]) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
announcements: {
|
|
13
|
-
type: PropType<Announcement[]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>> & Readonly<{
|
|
17
|
-
"onDialog:primary-action"?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { F_COUNTRY } from "@feedmepos/core/entity";
|
|
2
|
-
export type Announcement = {
|
|
3
|
-
key: string;
|
|
4
|
-
title: string;
|
|
5
|
-
message: string;
|
|
6
|
-
startDate: string;
|
|
7
|
-
forceUntilDate?: string | null;
|
|
8
|
-
image?: string | null;
|
|
9
|
-
countries?: F_COUNTRY[] | null;
|
|
10
|
-
};
|
|
11
|
-
export declare const announcements: Announcement[];
|