@feedmepos/mf-menu 0.31.40-beta.1 → 0.31.40-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-C_ALgrKC.js → App-aWEH-ZEk.js} +9 -9
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-AXVCCDiV.js → ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js} +3 -3
- package/dist/{Catalog-DBvWM-YZ.js → Catalog-BoFfFdn8.js} +9 -8
- package/dist/{Category-BiwNTOVh.js → Category-CWYbb3Jn.js} +4 -4
- package/dist/{Category-CAaAB1-8.js → Category-DZ45uikR.js} +6 -6
- package/dist/{CookingGuide-BznTNUiJ.js → CookingGuide-BU0PRWIQ.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-B1TdO9EA.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js} +1 -1
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +50 -0
- package/dist/{Group-DXqrDZdA.js → Group-BMQDeqiS.js} +1 -1
- package/dist/{Group-4T2hwciT.js → Group-C0T_uknK.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-fU3OB1n-.js → Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js} +8 -8
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +367 -0
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BUF8cX_0.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js} +14 -13
- package/dist/{Ingredient-Mu_eJx7y.js → Ingredient-3lwDUQx_.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CiztSTwX.js → InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js} +1052 -1052
- package/dist/LinkProductSideSheet-LDZjKX95.js +297 -0
- package/dist/{app-CiBqmBzO.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js} +2084 -2120
- package/dist/MenuSetting-AhutsCVy.js +185 -0
- package/dist/{PrintRoute-DMmxn1tn.js → PrintRoute-DfJ-vUAb.js} +4 -4
- package/dist/{Product-DFEFUdsO.js → Product-F4PoLm9v.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CE97BGrQ.js → Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js} +465 -468
- package/dist/{ProductInternalTools-RWFay1va.js → ProductInternalTools-DSGU-OqU.js} +6 -6
- package/dist/{Products-BjOSBQEO.js → Products-COzW2Z4g.js} +85 -88
- package/dist/{Publish-DGbl1JxA.js → Publish-CDXVWCk2.js} +3 -3
- package/dist/{Recipe-Bm0_j4M8.js → Recipe-BZx4wrcP.js} +4 -4
- package/dist/{Scheduler-CbtZrIxu.js → Scheduler-wHCWSeU2.js} +3 -3
- package/dist/{ServingSequence-C1BQE6G1.js → ServingSequence-BbYEhDYh.js} +3 -3
- package/dist/{Setting-OZXb-NaS.js → Setting-C9Tlw1Iy.js} +45 -44
- package/dist/{Subcategory-C4D_1CLD.js → Subcategory-C8AwfrKb.js} +4 -4
- package/dist/{Takeaway-tK8uFOZR.js → Takeaway-DaEUn-yM.js} +4 -4
- package/dist/{Takeaway-0tlgsUKh.js → Takeaway-t1053wg2.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-D3Sg5zlP.js → Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-4aAus4BD.js → Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js} +95 -97
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js +5998 -0
- package/dist/{Unit-2VYRqrSm.js → Unit-CnqptGCz.js} +2 -2
- package/dist/{Variant-BSfm_eXa.js → Variant-DiOYOwJs.js} +3 -3
- package/dist/{_id_-HtNMxBb_.js → _id_-BSfU16VO.js} +75 -78
- package/dist/{app-5ADOT4BP.js → app-Cou6qPF2.js} +1 -1
- package/dist/{app-DzcR4qhA.js → app-Ddb81PNo.js} +278 -278
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/menu.d.ts +1 -2
- package/dist/apps/mf-menu/src/app.d.ts +0 -144
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +0 -36
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +3 -9
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +9 -2
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +4 -294
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +0 -40
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +0 -285
- package/dist/apps/mf-menu/src/helper/menu.d.ts +0 -285
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +0 -285
- package/dist/apps/mf-menu/src/stores/menu.d.ts +3 -293
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +0 -166
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-B_crHhZH.js +24 -0
- package/dist/assets/override-menu-BmlCEpHH.js +24 -0
- package/dist/assets/validate-menu-CF-psoB-.js +24 -0
- package/dist/{catalog-BK6nDTbp.js → catalog-DSuJhsUb.js} +1 -1
- package/dist/{catalogSetting-C1gHhApy.js → catalogSetting-C3gEw9ov.js} +1 -1
- package/dist/{category-DZ89uFq9.js → category-CwWq3KCE.js} +1 -1
- package/dist/{currency-C5f-j8Sc.js → currency-g45Sh-t6.js} +1 -1
- package/dist/{dayjs.min-B_VRGKBF.js → dayjs.min-g3eN5z-V.js} +1 -1
- package/dist/index-0Q5T9VZV.js +214 -0
- package/dist/{index-BzJP5jHc.js → index-0yRUi7LL.js} +1 -1
- package/dist/{index-CdR72bNY.js → index-BLQCYEc6.js} +8 -7
- package/dist/{index-Ceq73SJB.js → index-QsLFbxyG.js} +4 -4
- package/dist/{item-C9BjmYgO.js → item-BvvQ9urP.js} +386 -386
- package/dist/{jszip.min-ILTkecIx.js → jszip.min-DzdUiaR4.js} +353 -353
- package/dist/{menu-Dpao2R5b.js → menu-DFNvhoNQ.js} +31149 -31298
- package/dist/{menu-CElaSp4d.js → menu-QrVg2Ph7.js} +7 -7
- package/dist/{menuV2-DFElaySs.js → menuV2-Ezf_jW40.js} +146 -151
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-DlM669Xr.js → priceTier-zENsn3P_.js} +1 -1
- package/dist/{scheduler-DNWyK_KD.js → scheduler-BuwGSv6A.js} +8 -8
- package/dist/{subcategory-DOaSgpKs.js → subcategory-O3L_zCJA.js} +2 -2
- package/dist/{toExcel-B_8PLkpw.js → toExcel-CpRy_4nG.js} +2 -2
- package/dist/{unit-d5XkUy31.js → unit-Ct_7Hfa2.js} +41 -42
- package/package.json +3 -3
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-ONjmNOT_.js +0 -399
- package/dist/LinkProductSideSheet-BHe1eBXr.js +0 -362
- package/dist/MenuSetting-Besoy5-9.js +0 -616
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cv5fzqGc.js +0 -5994
- package/dist/apps/mf-menu/src/composable/attributes.d.ts +0 -23
- package/dist/apps/mf-menu/src/utils/array.d.ts +0 -1
- package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +0 -12
- package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +0 -2
- package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +0 -176
- package/dist/assets/linked-status-BYWuxHfM.js +0 -13
- package/dist/assets/override-menu-DunERZw2.js +0 -13
- package/dist/assets/validate-menu-CdfZYwVn.js +0 -13
- package/dist/customAttributes-CwZ9WUq1.js +0 -144
- package/dist/index-DJFSRRfg.js +0 -246
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type ComputedRef, type Ref } from "vue";
|
|
2
|
-
import type { FdoMenuV4Category, FdoMenuV4Item } from "@feedmepos/menu/entity";
|
|
3
|
-
interface UseItemAttributesOptions {
|
|
4
|
-
menuItems?: ComputedRef<FdoMenuV4Item[]> | Ref<FdoMenuV4Item[]>;
|
|
5
|
-
categories?: ComputedRef<FdoMenuV4Category[]> | Ref<FdoMenuV4Category[]>;
|
|
6
|
-
}
|
|
7
|
-
export declare function useRestaurantAttributes(): {
|
|
8
|
-
restaurantAttributes: ComputedRef<{
|
|
9
|
-
type: "string" | "number" | "date";
|
|
10
|
-
key: string;
|
|
11
|
-
entity: "item" | "restaurant";
|
|
12
|
-
values?: string[] | undefined;
|
|
13
|
-
}[]>;
|
|
14
|
-
};
|
|
15
|
-
export declare function useItemAttributes(options?: UseItemAttributesOptions): {
|
|
16
|
-
itemAttributes: ComputedRef<{
|
|
17
|
-
type: "string" | "number" | "date";
|
|
18
|
-
key: string;
|
|
19
|
-
entity: "item" | "restaurant";
|
|
20
|
-
values?: string[] | undefined;
|
|
21
|
-
}[]>;
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function removeDuplicates<T>(toBeDeduped: T[]): T[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a MongoDB query to an FDO rule object
|
|
3
|
-
* @param query - The MongoDB query to convert
|
|
4
|
-
* @returns FDO rule object or EMPTY_RULE if query is empty
|
|
5
|
-
*/
|
|
6
|
-
export declare function mongoQueryToFdoRule(query: any): any;
|
|
7
|
-
/**
|
|
8
|
-
* Converts an FDO rule object to a MongoDB query
|
|
9
|
-
* @param query - The FDO rule object to convert
|
|
10
|
-
* @returns MongoDB query or null if rule is empty
|
|
11
|
-
*/
|
|
12
|
-
export declare function fdoRuleToMongoQuery(query: any): any;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { FdoMenuRuleGroup } from "@feedmepos/menu/entity";
|
|
2
|
-
interface Props {
|
|
3
|
-
modelValue: boolean;
|
|
4
|
-
editingGroup: FdoMenuRuleGroup | null;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: boolean) => void;
|
|
8
|
-
submit: (groupData: z.infer<z.ZodObject<{
|
|
9
|
-
_id: z.ZodString;
|
|
10
|
-
name: z.ZodString;
|
|
11
|
-
description: z.ZodString;
|
|
12
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
13
|
-
_id: z.ZodString;
|
|
14
|
-
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15
|
-
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
16
|
-
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
17
|
-
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
restaurantAttributes?: any;
|
|
19
|
-
restaurantCustomAttributes?: any;
|
|
20
|
-
}, {
|
|
21
|
-
restaurantAttributes?: any;
|
|
22
|
-
restaurantCustomAttributes?: any;
|
|
23
|
-
}>>>;
|
|
24
|
-
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
25
|
-
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
26
|
-
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
itemAttributes?: any;
|
|
29
|
-
itemCustomAttributes?: any;
|
|
30
|
-
}, {
|
|
31
|
-
itemAttributes?: any;
|
|
32
|
-
itemCustomAttributes?: any;
|
|
33
|
-
}>>>;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
restaurantRule?: {
|
|
36
|
-
restaurantAttributes?: any;
|
|
37
|
-
restaurantCustomAttributes?: any;
|
|
38
|
-
} | null | undefined;
|
|
39
|
-
itemRule?: {
|
|
40
|
-
itemAttributes?: any;
|
|
41
|
-
itemCustomAttributes?: any;
|
|
42
|
-
} | null | undefined;
|
|
43
|
-
_id: string;
|
|
44
|
-
}, {
|
|
45
|
-
restaurantRule?: {
|
|
46
|
-
restaurantAttributes?: any;
|
|
47
|
-
restaurantCustomAttributes?: any;
|
|
48
|
-
} | null | undefined;
|
|
49
|
-
itemRule?: {
|
|
50
|
-
itemAttributes?: any;
|
|
51
|
-
itemCustomAttributes?: any;
|
|
52
|
-
} | null | undefined;
|
|
53
|
-
_id: string;
|
|
54
|
-
}>, "many">;
|
|
55
|
-
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
name: string;
|
|
57
|
-
description: string;
|
|
58
|
-
_id: string;
|
|
59
|
-
rules: {
|
|
60
|
-
restaurantRule?: {
|
|
61
|
-
restaurantAttributes?: any;
|
|
62
|
-
restaurantCustomAttributes?: any;
|
|
63
|
-
} | null | undefined;
|
|
64
|
-
itemRule?: {
|
|
65
|
-
itemAttributes?: any;
|
|
66
|
-
itemCustomAttributes?: any;
|
|
67
|
-
} | null | undefined;
|
|
68
|
-
_id: string;
|
|
69
|
-
}[];
|
|
70
|
-
}, {
|
|
71
|
-
name: string;
|
|
72
|
-
description: string;
|
|
73
|
-
_id: string;
|
|
74
|
-
rules: {
|
|
75
|
-
restaurantRule?: {
|
|
76
|
-
restaurantAttributes?: any;
|
|
77
|
-
restaurantCustomAttributes?: any;
|
|
78
|
-
} | null | undefined;
|
|
79
|
-
itemRule?: {
|
|
80
|
-
itemAttributes?: any;
|
|
81
|
-
itemCustomAttributes?: any;
|
|
82
|
-
} | null | undefined;
|
|
83
|
-
_id: string;
|
|
84
|
-
}[];
|
|
85
|
-
}>>) => void;
|
|
86
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
87
|
-
onSubmit?: ((groupData: z.infer<z.ZodObject<{
|
|
88
|
-
_id: z.ZodString;
|
|
89
|
-
name: z.ZodString;
|
|
90
|
-
description: z.ZodString;
|
|
91
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
92
|
-
_id: z.ZodString;
|
|
93
|
-
restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
94
|
-
restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
95
|
-
restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
96
|
-
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
restaurantAttributes?: any;
|
|
98
|
-
restaurantCustomAttributes?: any;
|
|
99
|
-
}, {
|
|
100
|
-
restaurantAttributes?: any;
|
|
101
|
-
restaurantCustomAttributes?: any;
|
|
102
|
-
}>>>;
|
|
103
|
-
itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
104
|
-
itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
105
|
-
itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
itemAttributes?: any;
|
|
108
|
-
itemCustomAttributes?: any;
|
|
109
|
-
}, {
|
|
110
|
-
itemAttributes?: any;
|
|
111
|
-
itemCustomAttributes?: any;
|
|
112
|
-
}>>>;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
restaurantRule?: {
|
|
115
|
-
restaurantAttributes?: any;
|
|
116
|
-
restaurantCustomAttributes?: any;
|
|
117
|
-
} | null | undefined;
|
|
118
|
-
itemRule?: {
|
|
119
|
-
itemAttributes?: any;
|
|
120
|
-
itemCustomAttributes?: any;
|
|
121
|
-
} | null | undefined;
|
|
122
|
-
_id: string;
|
|
123
|
-
}, {
|
|
124
|
-
restaurantRule?: {
|
|
125
|
-
restaurantAttributes?: any;
|
|
126
|
-
restaurantCustomAttributes?: any;
|
|
127
|
-
} | null | undefined;
|
|
128
|
-
itemRule?: {
|
|
129
|
-
itemAttributes?: any;
|
|
130
|
-
itemCustomAttributes?: any;
|
|
131
|
-
} | null | undefined;
|
|
132
|
-
_id: string;
|
|
133
|
-
}>, "many">;
|
|
134
|
-
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
name: string;
|
|
136
|
-
description: string;
|
|
137
|
-
_id: string;
|
|
138
|
-
rules: {
|
|
139
|
-
restaurantRule?: {
|
|
140
|
-
restaurantAttributes?: any;
|
|
141
|
-
restaurantCustomAttributes?: any;
|
|
142
|
-
} | null | undefined;
|
|
143
|
-
itemRule?: {
|
|
144
|
-
itemAttributes?: any;
|
|
145
|
-
itemCustomAttributes?: any;
|
|
146
|
-
} | null | undefined;
|
|
147
|
-
_id: string;
|
|
148
|
-
}[];
|
|
149
|
-
}, {
|
|
150
|
-
name: string;
|
|
151
|
-
description: string;
|
|
152
|
-
_id: string;
|
|
153
|
-
rules: {
|
|
154
|
-
restaurantRule?: {
|
|
155
|
-
restaurantAttributes?: any;
|
|
156
|
-
restaurantCustomAttributes?: any;
|
|
157
|
-
} | null | undefined;
|
|
158
|
-
itemRule?: {
|
|
159
|
-
itemAttributes?: any;
|
|
160
|
-
itemCustomAttributes?: any;
|
|
161
|
-
} | null | undefined;
|
|
162
|
-
_id: string;
|
|
163
|
-
}[];
|
|
164
|
-
}>>) => any) | undefined;
|
|
165
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
166
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
167
|
-
export default _default;
|
|
168
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
169
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
170
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
171
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
172
|
-
} : {
|
|
173
|
-
type: import('vue').PropType<T[K]>;
|
|
174
|
-
required: true;
|
|
175
|
-
};
|
|
176
|
-
};
|