@feedmepos/mf-menu 0.1.1 → 0.1.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.js +129686 -0
- package/dist/assets/validate-menu-YlP2Xqch.js +20 -0
- package/dist/favicon.ico +0 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/Entry.vue.d.ts +2 -0
- package/dist/src/api/index.d.ts +5 -0
- package/dist/src/api/menu.d.ts +25 -0
- package/dist/src/app.d.ts +2 -0
- package/dist/src/assets/icons/index.d.ts +2 -0
- package/dist/src/components/ApplyProducts.vue.d.ts +44 -0
- package/dist/src/components/Navigator.vue.d.ts +2 -0
- package/dist/src/components/feature/AppLoading.vue.d.ts +20 -0
- package/dist/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +929 -0
- package/dist/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +481 -0
- package/dist/src/components/feature/ApplyProduct/index.d.ts +2880 -0
- package/dist/src/components/feature/EmptyDataTemplate/Icon.vue.d.ts +2 -0
- package/dist/src/components/feature/EmptyDataTemplate/index.d.ts +1 -0
- package/dist/src/components/feature/EmptyDataTemplate/index.vue.d.ts +27 -0
- package/dist/src/components/feature/Fields/CurrencyInput.vue.d.ts +47 -0
- package/dist/src/components/feature/Fields/ImageDropField.vue.d.ts +20 -0
- package/dist/src/components/feature/Fields/OrderFrom.vue.d.ts +91 -0
- package/dist/src/components/feature/GroupManager/Form.vue.d.ts +44 -0
- package/dist/src/components/feature/GroupManager/OptionTable.vue.d.ts +717 -0
- package/dist/src/components/feature/GroupManager/UpdateForm.vue.d.ts +485 -0
- package/dist/src/components/feature/GroupManager/index.d.ts +2505 -0
- package/dist/src/components/feature/InventoryManager/Form.vue.d.ts +63 -0
- package/dist/src/components/feature/InventoryManager/InventoryBinding.vue.d.ts +54 -0
- package/dist/src/components/feature/InventoryManager/index.d.ts +255 -0
- package/dist/src/components/feature/LinkProductSideSheet.vue.d.ts +63 -0
- package/dist/src/components/feature/Picker.vue.d.ts +37 -0
- package/dist/src/components/feature/PrintDeptManager/Form.vue.d.ts +25 -0
- package/dist/src/components/feature/PrintDeptManager/index.d.ts +51 -0
- package/dist/src/components/feature/TakeAwayManager/Form.vue.d.ts +32 -0
- package/dist/src/components/feature/TakeAwayManager/index.d.ts +107 -0
- package/dist/src/components/feature/VariantManager/Form.vue.d.ts +27 -0
- package/dist/src/components/feature/VariantManager/index.d.ts +35 -0
- package/dist/src/components/layout/LottieAnimation.vue.d.ts +39 -0
- package/dist/src/components/layout/PageLayout.vue.d.ts +23 -0
- package/dist/src/components/layout/ToggleCard.vue.d.ts +28 -0
- package/dist/src/composable/loading.d.ts +25 -0
- package/dist/src/composable/search.d.ts +5 -0
- package/dist/src/helper/check.d.ts +6 -0
- package/dist/src/helper/currency.d.ts +2 -0
- package/dist/src/helper/item.d.ts +20 -0
- package/dist/src/helper/iteration.d.ts +7 -0
- package/dist/src/helper/menu.d.ts +792 -0
- package/dist/src/helper/number.d.ts +11 -0
- package/dist/src/helper/object.d.ts +6 -0
- package/dist/src/helper/recipe.d.ts +3 -0
- package/dist/src/helper/setting/catalogSetting.d.ts +36 -0
- package/dist/src/helper/sku.d.ts +9 -0
- package/dist/src/helper/string.d.ts +1 -0
- package/dist/src/main.d.ts +2 -0
- package/dist/src/manager/cooking_guide.d.ts +5 -0
- package/dist/src/manager/menu/catalog.d.ts +26 -0
- package/dist/src/manager/menu/category.d.ts +38 -0
- package/dist/src/manager/menu/group.d.ts +59 -0
- package/dist/src/manager/menu/item.d.ts +13 -0
- package/dist/src/manager/menu/scheduler.d.ts +26 -0
- package/dist/src/manager/menu/takeaway.d.ts +6 -0
- package/dist/src/manager/menu/variantManager.d.ts +0 -0
- package/dist/src/manager/print_department.d.ts +5 -0
- package/dist/src/manager/scheduler.d.ts +5 -0
- package/dist/src/plugins.d.ts +4 -0
- package/dist/src/router/index.d.ts +2 -0
- package/dist/src/router/shared.d.ts +16 -0
- package/dist/src/stores/app.d.ts +14 -0
- package/dist/src/stores/manager/item.d.ts +2153 -0
- package/dist/src/stores/menu.d.ts +103 -0
- package/dist/src/types/recipe.d.ts +4 -0
- package/dist/src/types/rule.d.ts +63 -0
- package/dist/src/utils/createComponentProgrammatically.d.ts +7 -0
- package/dist/src/views/Catalog/Catalog.vue.d.ts +2 -0
- package/dist/src/views/Catalog/Edit/AddCategoryDialogContentComponent.vue.d.ts +14 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +1444 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/ProductDetail.vue.d.ts +21 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/ProductGroup.vue.d.ts +21 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/ProductInventory.vue.d.ts +34 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/ProductPrice.vue.d.ts +20 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/ProductPrint.vue.d.ts +26 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/ProductTakeaway.vue.d.ts +21 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/ProductVariants.vue.d.ts +21 -0
- package/dist/src/views/Catalog/Edit/AddProductPopup/index.d.ts +4323 -0
- package/dist/src/views/Catalog/Edit/Group.vue.d.ts +2 -0
- package/dist/src/views/Catalog/Edit/GroupMarkupPriceDialog.vue.d.ts +31 -0
- package/dist/src/views/Catalog/Edit/Product.vue.d.ts +2 -0
- package/dist/src/views/Catalog/Edit/ProductTable.vue.d.ts +27 -0
- package/dist/src/views/Catalog/Edit/Setting.vue.d.ts +2 -0
- package/dist/src/views/Catalog/Edit/Takeaway.vue.d.ts +2 -0
- package/dist/src/views/Catalog/Edit/Thumbnail.vue.d.ts +15 -0
- package/dist/src/views/Catalog/Edit/[id].vue.d.ts +2 -0
- package/dist/src/views/CookingGuide/CookingGuide.vue.d.ts +2 -0
- package/dist/src/views/CookingGuide/CookingGuideDialog.vue.d.ts +186 -0
- package/dist/src/views/CookingGuide/CookingGuideStepDialog.vue.d.ts +36 -0
- package/dist/src/views/CookingGuide/CookingGuideStepOverrideDialog.vue.d.ts +70 -0
- package/dist/src/views/Overview/Overview.vue.d.ts +2 -0
- package/dist/src/views/PrintRoute/PrintDepartmentDialog.vue.d.ts +35 -0
- package/dist/src/views/PrintRoute/PrintRoute.vue.d.ts +7 -0
- package/dist/src/views/Publish/Publish.vue.d.ts +2 -0
- package/dist/src/views/Publish/UpdateCatalogDialog.vue.d.ts +3143 -0
- package/dist/src/views/Scheduler/Scheduler.vue.d.ts +2 -0
- package/dist/src/views/Scheduler/SchedulerDialog.vue.d.ts +750 -0
- package/dist/src/views/Variant/Variant.vue.d.ts +2 -0
- package/dist/style.css +1 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
2
|
+
interface Props {
|
|
3
|
+
isOverride: boolean;
|
|
4
|
+
isAddon: boolean;
|
|
5
|
+
form: Partial<FdoMenuV4Item>;
|
|
6
|
+
fallback: FdoMenuV4Item | undefined;
|
|
7
|
+
thumbnail: File | null | undefined;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
[x: string]: (...args: unknown[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
2
|
+
interface Props {
|
|
3
|
+
isOverride: boolean;
|
|
4
|
+
isAddon: boolean;
|
|
5
|
+
form: Partial<FdoMenuV4Item>;
|
|
6
|
+
fallback: FdoMenuV4Item | undefined;
|
|
7
|
+
fullCombinations: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
[x: string]: (...args: unknown[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type FdoInventoryBinding } from "@feedmepos/core/entity";
|
|
2
|
+
import { type FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
3
|
+
export interface InventoryBinding {
|
|
4
|
+
key: string;
|
|
5
|
+
name: string;
|
|
6
|
+
bindings: FdoInventoryBinding[];
|
|
7
|
+
}
|
|
8
|
+
export interface RowData {
|
|
9
|
+
key: string;
|
|
10
|
+
name: string;
|
|
11
|
+
bindings: FdoInventoryBinding[];
|
|
12
|
+
_skuLinked: number;
|
|
13
|
+
_recipeLinked: number;
|
|
14
|
+
}
|
|
15
|
+
interface Props {
|
|
16
|
+
isOverride: boolean;
|
|
17
|
+
isAddon: boolean;
|
|
18
|
+
form: Partial<FdoMenuV4Item>;
|
|
19
|
+
fallback: FdoMenuV4Item | undefined;
|
|
20
|
+
fullCombinations: Record<string, string>;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
[x: string]: (...args: unknown[]) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
2
|
+
interface Props {
|
|
3
|
+
isOverride: boolean;
|
|
4
|
+
isAddon: boolean;
|
|
5
|
+
form: Partial<FdoMenuV4Item>;
|
|
6
|
+
fallback: FdoMenuV4Item | undefined;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
[x: string]: (...args: unknown[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
2
|
+
export interface PrintConfigOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: boolean;
|
|
5
|
+
description: string;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
isOverride: boolean;
|
|
9
|
+
isAddon: boolean;
|
|
10
|
+
form: Partial<FdoMenuV4Item>;
|
|
11
|
+
fallback: FdoMenuV4Item | undefined;
|
|
12
|
+
fullCombinations: Record<string, string>;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
[x: string]: (...args: unknown[]) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
2
|
+
interface Props {
|
|
3
|
+
isOverride: boolean;
|
|
4
|
+
isAddon: boolean;
|
|
5
|
+
form: Partial<FdoMenuV4Item>;
|
|
6
|
+
fallback: FdoMenuV4Item | undefined;
|
|
7
|
+
fullCombinations: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
[x: string]: (...args: unknown[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
2
|
+
interface Props {
|
|
3
|
+
isOverride: boolean;
|
|
4
|
+
isAddon: boolean;
|
|
5
|
+
form: Partial<FdoMenuV4Item>;
|
|
6
|
+
fallback: FdoMenuV4Item | undefined;
|
|
7
|
+
fullCombinations: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
[x: string]: (...args: unknown[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|