@feedmepos/mf-menu 0.32.73 → 0.32.74-dev.2
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-Bf03MA88.js → App-BZJOUASB.js} +16 -10
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B1ZOcPu1.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DzjeYfsJ.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-D0L3H0ZG.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-eor0uw1Y.js} +3 -3
- package/dist/{Catalog-HrQFd5Gf.js → Catalog-D0umhJUp.js} +6 -6
- package/dist/{Category-FZsqkjjv.js → Category-Bv5dZoqU.js} +4 -4
- package/dist/{Category-8yNR-X1A.js → Category-CJmrsNBN.js} +4 -4
- package/dist/{CookingGuide-DZ5w_9EC.js → CookingGuide-Bh5p7H6A.js} +379 -355
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DVlMrpkQ.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BTHIfVPy.js} +1 -1
- package/dist/{Group-CJm6hCWe.js → Group-C8Q1IzVZ.js} +3 -3
- package/dist/{Group-fJGTsqFa.js → Group-CmFBND8g.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D0yWF7Xc.js → Group.vue_vue_type_script_setup_true_lang-B7GbWmBQ.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-K1e0N-Ww.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D2UVK2TK.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DxoxvqVs.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-B9ZqKykt.js} +2457 -2452
- package/dist/{Ingredient-D0e2BNgG.js → Ingredient-BpmjZsq4.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-SvzuFZGG.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BurM3XXk.js} +2 -2
- package/dist/{LinkProductSideSheet-C5AKJHx9.js → LinkProductSideSheet-B-t5u8nb.js} +113 -113
- package/dist/{MenuSetting-CkdHN5ky.js → MenuSetting-Db2aNWHK.js} +7 -7
- package/dist/{OrderPacing-AlI0t99w.js → OrderPacing-DU2DHxAo.js} +5 -5
- package/dist/{PrintRoute-S7to_Ja9.js → PrintRoute-DS8Lx8Ri.js} +5 -5
- package/dist/{Product-D3YceYkb.js → Product-CksOjTKQ.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CdP5nFLm.js → Product.vue_vue_type_script_setup_true_lang-70WBdgsM.js} +14 -14
- package/dist/{ProductInternalTools-BXGilY2C.js → ProductInternalTools-DswBFeOb.js} +7 -7
- package/dist/{Products-CcJUkcRW.js → Products-CD5n0Ltb.js} +70 -70
- package/dist/{Publish-CKGNpAx3.js → Publish-CFAsGvpA.js} +219 -218
- package/dist/{Recipe-mk8oA9m_.js → Recipe-CZR9PxpD.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-N3Un25EZ.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-ButQyFDb.js} +1 -1
- package/dist/RuleView.vue_vue_type_script_setup_true_lang-DvX2UUYM.js +3311 -0
- package/dist/{Scheduler-DAM09LOX.js → Scheduler-BGWwvr3d.js} +3 -3
- package/dist/{ServingSequence-CncpkznR.js → ServingSequence-CoLqEMgr.js} +3 -3
- package/dist/{Setting-ClaalU9t.js → Setting-BDuqIiz2.js} +5 -5
- package/dist/{Subcategory-BHAMGtWj.js → Subcategory-CKuQ2pml.js} +6 -6
- package/dist/{Takeaway-C8Xefobp.js → Takeaway-DUn4mRZx.js} +1 -1
- package/dist/{Takeaway-DmS8tBJz.js → Takeaway-Dt7S6z9Y.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-C8gPc9nk.js → Takeaway.vue_vue_type_script_setup_true_lang-BVJlUn1u.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BDmNmWb0.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-r8nutWvj.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CsxJPE5r.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CF6FVQdM.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cf3Qcm8Q.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BH5-P0Kt.js} +15 -15
- package/dist/{Unit-Cd3vO-wC.js → Unit-sZHi2Guy.js} +2 -2
- package/dist/{Variant-DBCavafw.js → Variant-vmPBmjkL.js} +3 -3
- package/dist/{_id_-DCQdbN9V.js → _id_-G5xT-CDM.js} +10 -10
- package/dist/{app-CxvpA6tG.js → app-BCiY6nMZ.js} +37 -37
- package/dist/{app-aZW57BZg.js → app-CQQONQx1.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/media.d.ts +8 -1
- package/dist/apps/mf-menu/src/app.d.ts +15 -0
- package/dist/apps/mf-menu/src/helper/publishMeta.d.ts +6 -0
- package/dist/apps/mf-menu/src/manager/cooking_guide.d.ts +1 -0
- package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuideDialog.vue.d.ts +8 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-_2UkxFjy.js → linked-status-CWeGw11g.js} +3 -3
- package/dist/assets/{menu-export-SUAOyYoh.js → menu-export-RVHhfZC0.js} +3 -3
- package/dist/assets/{linked-status-CTYst9BT.js → override-menu-CmqY9Tc2.js} +3 -3
- package/dist/assets/{validate-menu-C4p2Q0tV.js → validate-menu-C_e-tlnW.js} +2 -2
- package/dist/{catalog-B28_brHj.js → catalog-Dn80bXkC.js} +1 -1
- package/dist/{catalogSetting-Cejyk6uH.js → catalogSetting-XIo6mkWP.js} +1 -1
- package/dist/{currency-wNkc4Z0A.js → currency-BgSIYyGK.js} +1 -1
- package/dist/{dayjs.min-Dlgh8coL.js → dayjs.min-ByUWJqU9.js} +2 -2
- package/dist/{discardConfirm-BbGmy3co.js → discardConfirm-DoHu8ey7.js} +1 -1
- package/dist/{index-eQIHkX_i.js → index-B3VNODTK.js} +5 -5
- package/dist/{index-0kpQfvHB.js → index-C7BxlGX6.js} +1 -1
- package/dist/{index-Cy8hTieX.js → index-MADgW2jB.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dn7y0J8m.js → index.vue_vue_type_script_setup_true_lang-DAAzVaVe.js} +8 -8
- package/dist/{item-Pl488uTh.js → item-BrzBNpuQ.js} +20 -20
- package/dist/{jszip.min-CUmSTnh2.js → jszip.min-Cy3k9Boh.js} +167 -167
- package/dist/{linkProducts-BpMibpzz.js → linkProducts-EknVvUC0.js} +4 -4
- package/dist/{memberPricing-DVBTtTAw.js → memberPricing-CDcaR7Xz.js} +1 -1
- package/dist/{menu-CLJze7N5.js → menu-CIN8mtZY.js} +1 -1
- package/dist/{menuV2-CRioXM-a.js → menuV2-iONFEnvV.js} +73 -73
- package/dist/{order_pacing-tdC-Swwv.js → order_pacing-C-cVrKAt.js} +5 -5
- package/dist/{priceTier-nCiHkoUd.js → priceTier-Nhz0AAh5.js} +1 -1
- package/dist/publishMeta-CAbjnmmS.js +7 -0
- package/dist/{rules-B33FYEnp.js → rules-CwKc3N3r.js} +3 -3
- package/dist/{scheduler-BbZ2-af3.js → scheduler-DvQ0P3PV.js} +5 -5
- package/dist/{toExcel-mFDQ3bjo.js → toExcel-4gZ8GSKd.js} +2 -2
- package/dist/{unit-DNJ6h92K.js → unit-CmIuFFl0.js} +3 -3
- package/package.json +1 -1
- package/dist/RuleView.vue_vue_type_script_setup_true_lang-ozbcoSez.js +0 -3306
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore as r } from "pinia";
|
|
2
|
-
import { K as a, L as s, M as l } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { K as a, L as s, M as l } from "./index.vue_vue_type_script_setup_true_lang-DAAzVaVe.js";
|
|
3
3
|
const u = {
|
|
4
4
|
async read() {
|
|
5
5
|
return a(await s().get("/public-setting"));
|
package/dist/app.js
CHANGED
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
* the rest, which is why `imageSet` values stay null (see `buildVariantUrl`).
|
|
10
10
|
*/
|
|
11
11
|
export declare const MEDIA_REF_TYPE = "product";
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Turns an item id into the media-service reference id.
|
|
14
|
+
*
|
|
15
|
+
* media-service does not accept colons in product reference ids, and later embeds
|
|
16
|
+
* the value in an image URL path segment. Keep the existing colon compatibility
|
|
17
|
+
* transform, then encode the whole segment so a custom id such as `D1/D11` cannot
|
|
18
|
+
* become two path segments.
|
|
19
|
+
*/
|
|
13
20
|
export declare function normalizeMediaRefId(refId: string): string;
|
|
14
21
|
export type AspectRatio = string;
|
|
15
22
|
/** Ratios every product image is expected to carry; they cannot be removed in the UI. */
|
|
@@ -1449,6 +1449,9 @@ export declare const i18nMessages: {
|
|
|
1449
1449
|
actions: {
|
|
1450
1450
|
cancel: string;
|
|
1451
1451
|
};
|
|
1452
|
+
validation: {
|
|
1453
|
+
product_already_linked: string;
|
|
1454
|
+
};
|
|
1452
1455
|
};
|
|
1453
1456
|
step_dialog: {
|
|
1454
1457
|
add: {
|
|
@@ -3513,6 +3516,9 @@ export declare const i18nMessages: {
|
|
|
3513
3516
|
actions: {
|
|
3514
3517
|
cancel: string;
|
|
3515
3518
|
};
|
|
3519
|
+
validation: {
|
|
3520
|
+
product_already_linked: string;
|
|
3521
|
+
};
|
|
3516
3522
|
};
|
|
3517
3523
|
step_dialog: {
|
|
3518
3524
|
add: {
|
|
@@ -5575,6 +5581,9 @@ export declare const i18nMessages: {
|
|
|
5575
5581
|
actions: {
|
|
5576
5582
|
cancel: string;
|
|
5577
5583
|
};
|
|
5584
|
+
validation: {
|
|
5585
|
+
product_already_linked: string;
|
|
5586
|
+
};
|
|
5578
5587
|
};
|
|
5579
5588
|
step_dialog: {
|
|
5580
5589
|
add: {
|
|
@@ -7638,6 +7647,9 @@ export declare const i18nMessages: {
|
|
|
7638
7647
|
actions: {
|
|
7639
7648
|
cancel: string;
|
|
7640
7649
|
};
|
|
7650
|
+
validation: {
|
|
7651
|
+
product_already_linked: string;
|
|
7652
|
+
};
|
|
7641
7653
|
};
|
|
7642
7654
|
step_dialog: {
|
|
7643
7655
|
add: {
|
|
@@ -9689,6 +9701,9 @@ export declare const i18nMessages: {
|
|
|
9689
9701
|
actions: {
|
|
9690
9702
|
cancel: string;
|
|
9691
9703
|
};
|
|
9704
|
+
validation: {
|
|
9705
|
+
product_already_linked: string;
|
|
9706
|
+
};
|
|
9692
9707
|
};
|
|
9693
9708
|
step_dialog: {
|
|
9694
9709
|
add: {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FdoPublishMenuMeta } from "@feedmepos/entity";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the restaurant's published menu version. The publish metadata is refreshed by
|
|
4
|
+
* polling, while the unpaginated restaurant list is not re-read after every publish.
|
|
5
|
+
*/
|
|
6
|
+
export declare function resolvePublishedAt<T extends string | null | undefined>(publishMeta: FdoPublishMenuMeta["restaurants"], restaurantId: string, restaurantUpdatedAt: T): string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FdoMenuCookingGuide } from "@feedmepos/entity";
|
|
2
2
|
import { type UpdateMenuModuleRequest } from "@feedmepos/menu/manager";
|
|
3
|
+
export declare function findConflictingCookingGuide(cookingGuide: Pick<FdoMenuCookingGuide, "_id" | "bindings">, cookingGuides: FdoMenuCookingGuide[]): FdoMenuCookingGuide | undefined;
|
|
3
4
|
export declare function createCookingGuideReq(cookingGuide: FdoMenuCookingGuide): UpdateMenuModuleRequest;
|
|
4
5
|
export declare function updateCookingGuideReq(cookingGuide: FdoMenuCookingGuide): UpdateMenuModuleRequest;
|
|
5
6
|
export declare function deleteCookingGuideReq(cookingGuide: FdoMenuCookingGuide): UpdateMenuModuleRequest;
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
type: PropType<CategorizedItem[]>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
+
cookingGuides: {
|
|
12
|
+
type: PropType<FdoMenuCookingGuide[]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
11
15
|
canApplyItems: {
|
|
12
16
|
type: BooleanConstructor;
|
|
13
17
|
default: boolean;
|
|
@@ -22,6 +26,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
26
|
type: PropType<CategorizedItem[]>;
|
|
23
27
|
required: true;
|
|
24
28
|
};
|
|
29
|
+
cookingGuides: {
|
|
30
|
+
type: PropType<FdoMenuCookingGuide[]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
25
33
|
canApplyItems: {
|
|
26
34
|
type: BooleanConstructor;
|
|
27
35
|
default: boolean;
|