@feedmepos/mf-menu 0.1.0 → 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.
Files changed (106) hide show
  1. package/dist/app.js +129686 -0
  2. package/dist/assets/validate-menu-YlP2Xqch.js +20 -0
  3. package/dist/favicon.ico +0 -0
  4. package/dist/src/App.vue.d.ts +2 -0
  5. package/dist/src/Entry.vue.d.ts +2 -0
  6. package/dist/src/api/index.d.ts +5 -0
  7. package/dist/src/api/menu.d.ts +25 -0
  8. package/dist/src/app.d.ts +2 -0
  9. package/dist/src/assets/icons/index.d.ts +2 -0
  10. package/dist/src/components/ApplyProducts.vue.d.ts +44 -0
  11. package/dist/src/components/Navigator.vue.d.ts +2 -0
  12. package/dist/src/components/feature/AppLoading.vue.d.ts +20 -0
  13. package/dist/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +929 -0
  14. package/dist/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +481 -0
  15. package/dist/src/components/feature/ApplyProduct/index.d.ts +2880 -0
  16. package/dist/src/components/feature/EmptyDataTemplate/Icon.vue.d.ts +2 -0
  17. package/dist/src/components/feature/EmptyDataTemplate/index.d.ts +1 -0
  18. package/dist/src/components/feature/EmptyDataTemplate/index.vue.d.ts +27 -0
  19. package/dist/src/components/feature/Fields/CurrencyInput.vue.d.ts +47 -0
  20. package/dist/src/components/feature/Fields/ImageDropField.vue.d.ts +20 -0
  21. package/dist/src/components/feature/Fields/OrderFrom.vue.d.ts +91 -0
  22. package/dist/src/components/feature/GroupManager/Form.vue.d.ts +44 -0
  23. package/dist/src/components/feature/GroupManager/OptionTable.vue.d.ts +717 -0
  24. package/dist/src/components/feature/GroupManager/UpdateForm.vue.d.ts +485 -0
  25. package/dist/src/components/feature/GroupManager/index.d.ts +2505 -0
  26. package/dist/src/components/feature/InventoryManager/Form.vue.d.ts +63 -0
  27. package/dist/src/components/feature/InventoryManager/InventoryBinding.vue.d.ts +54 -0
  28. package/dist/src/components/feature/InventoryManager/index.d.ts +255 -0
  29. package/dist/src/components/feature/LinkProductSideSheet.vue.d.ts +63 -0
  30. package/dist/src/components/feature/Picker.vue.d.ts +37 -0
  31. package/dist/src/components/feature/PrintDeptManager/Form.vue.d.ts +25 -0
  32. package/dist/src/components/feature/PrintDeptManager/index.d.ts +51 -0
  33. package/dist/src/components/feature/TakeAwayManager/Form.vue.d.ts +32 -0
  34. package/dist/src/components/feature/TakeAwayManager/index.d.ts +107 -0
  35. package/dist/src/components/feature/VariantManager/Form.vue.d.ts +27 -0
  36. package/dist/src/components/feature/VariantManager/index.d.ts +35 -0
  37. package/dist/src/components/layout/LottieAnimation.vue.d.ts +39 -0
  38. package/dist/src/components/layout/PageLayout.vue.d.ts +23 -0
  39. package/dist/src/components/layout/ToggleCard.vue.d.ts +28 -0
  40. package/dist/src/composable/loading.d.ts +25 -0
  41. package/dist/src/composable/search.d.ts +5 -0
  42. package/dist/src/helper/check.d.ts +6 -0
  43. package/dist/src/helper/currency.d.ts +2 -0
  44. package/dist/src/helper/item.d.ts +20 -0
  45. package/dist/src/helper/iteration.d.ts +7 -0
  46. package/dist/src/helper/menu.d.ts +792 -0
  47. package/dist/src/helper/number.d.ts +11 -0
  48. package/dist/src/helper/object.d.ts +6 -0
  49. package/dist/src/helper/recipe.d.ts +3 -0
  50. package/dist/src/helper/setting/catalogSetting.d.ts +36 -0
  51. package/dist/src/helper/sku.d.ts +9 -0
  52. package/dist/src/helper/string.d.ts +1 -0
  53. package/dist/src/main.d.ts +2 -0
  54. package/dist/src/manager/cooking_guide.d.ts +5 -0
  55. package/dist/src/manager/menu/catalog.d.ts +26 -0
  56. package/dist/src/manager/menu/category.d.ts +38 -0
  57. package/dist/src/manager/menu/group.d.ts +59 -0
  58. package/dist/src/manager/menu/item.d.ts +13 -0
  59. package/dist/src/manager/menu/scheduler.d.ts +26 -0
  60. package/dist/src/manager/menu/takeaway.d.ts +6 -0
  61. package/dist/src/manager/menu/variantManager.d.ts +0 -0
  62. package/dist/src/manager/print_department.d.ts +5 -0
  63. package/dist/src/manager/scheduler.d.ts +5 -0
  64. package/dist/src/plugins.d.ts +4 -0
  65. package/dist/src/router/index.d.ts +2 -0
  66. package/dist/src/router/shared.d.ts +16 -0
  67. package/dist/src/stores/app.d.ts +14 -0
  68. package/dist/src/stores/manager/item.d.ts +2153 -0
  69. package/dist/src/stores/menu.d.ts +103 -0
  70. package/dist/src/types/recipe.d.ts +4 -0
  71. package/dist/src/types/rule.d.ts +63 -0
  72. package/dist/src/utils/createComponentProgrammatically.d.ts +7 -0
  73. package/dist/src/views/Catalog/Catalog.vue.d.ts +2 -0
  74. package/dist/src/views/Catalog/Edit/AddCategoryDialogContentComponent.vue.d.ts +14 -0
  75. package/dist/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +1444 -0
  76. package/dist/src/views/Catalog/Edit/AddProductPopup/ProductDetail.vue.d.ts +21 -0
  77. package/dist/src/views/Catalog/Edit/AddProductPopup/ProductGroup.vue.d.ts +21 -0
  78. package/dist/src/views/Catalog/Edit/AddProductPopup/ProductInventory.vue.d.ts +34 -0
  79. package/dist/src/views/Catalog/Edit/AddProductPopup/ProductPrice.vue.d.ts +20 -0
  80. package/dist/src/views/Catalog/Edit/AddProductPopup/ProductPrint.vue.d.ts +26 -0
  81. package/dist/src/views/Catalog/Edit/AddProductPopup/ProductTakeaway.vue.d.ts +21 -0
  82. package/dist/src/views/Catalog/Edit/AddProductPopup/ProductVariants.vue.d.ts +21 -0
  83. package/dist/src/views/Catalog/Edit/AddProductPopup/index.d.ts +4323 -0
  84. package/dist/src/views/Catalog/Edit/Group.vue.d.ts +2 -0
  85. package/dist/src/views/Catalog/Edit/GroupMarkupPriceDialog.vue.d.ts +31 -0
  86. package/dist/src/views/Catalog/Edit/Product.vue.d.ts +2 -0
  87. package/dist/src/views/Catalog/Edit/ProductTable.vue.d.ts +27 -0
  88. package/dist/src/views/Catalog/Edit/Setting.vue.d.ts +2 -0
  89. package/dist/src/views/Catalog/Edit/Takeaway.vue.d.ts +2 -0
  90. package/dist/src/views/Catalog/Edit/Thumbnail.vue.d.ts +15 -0
  91. package/dist/src/views/Catalog/Edit/[id].vue.d.ts +2 -0
  92. package/dist/src/views/CookingGuide/CookingGuide.vue.d.ts +2 -0
  93. package/dist/src/views/CookingGuide/CookingGuideDialog.vue.d.ts +186 -0
  94. package/dist/src/views/CookingGuide/CookingGuideStepDialog.vue.d.ts +36 -0
  95. package/dist/src/views/CookingGuide/CookingGuideStepOverrideDialog.vue.d.ts +70 -0
  96. package/dist/src/views/Overview/Overview.vue.d.ts +2 -0
  97. package/dist/src/views/PrintRoute/PrintDepartmentDialog.vue.d.ts +35 -0
  98. package/dist/src/views/PrintRoute/PrintRoute.vue.d.ts +7 -0
  99. package/dist/src/views/Publish/Publish.vue.d.ts +2 -0
  100. package/dist/src/views/Publish/UpdateCatalogDialog.vue.d.ts +3143 -0
  101. package/dist/src/views/Scheduler/Scheduler.vue.d.ts +2 -0
  102. package/dist/src/views/Scheduler/SchedulerDialog.vue.d.ts +750 -0
  103. package/dist/src/views/Variant/Variant.vue.d.ts +2 -0
  104. package/dist/style.css +1 -0
  105. package/dist/tsconfig.app.tsbuildinfo +1 -0
  106. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import type { FdoMarkupOption, FdoMenuV4Category, FdoMenuV4Item } from "@feedmepos/menu/entity";
2
+ interface Props {
3
+ modelValue?: FdoMarkupOption;
4
+ items: FdoMenuV4Item[];
5
+ categories: FdoMenuV4Category[];
6
+ action: "add" | "update";
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:model-value": (v: any) => void;
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
11
+ "onUpdate:model-value"?: ((v: any) => any) | undefined;
12
+ }, {}, {}>, {
13
+ default?(_: {
14
+ trigger: (event: any) => void;
15
+ }): any;
16
+ }>;
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
+ };
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { type CategorizedItem } from "@/helper/menu";
2
+ import { type MappedItem } from "@/helper/item";
3
+ interface Props {
4
+ category: CategorizedItem;
5
+ modelValue: Record<string, MappedItem>;
6
+ originalValue: Record<string, MappedItem>;
7
+ isCalculating: boolean;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:model-value": (v: Record<string, MappedItem>) => void;
11
+ "reset:model-value": () => void;
12
+ "update:editing": (v: boolean) => void;
13
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
14
+ "onUpdate:model-value"?: ((v: Record<string, MappedItem>) => any) | undefined;
15
+ "onReset:model-value"?: (() => any) | undefined;
16
+ "onUpdate:editing"?: ((v: boolean) => any) | undefined;
17
+ }, {}, {}>;
18
+ export default _default;
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,15 @@
1
+ interface Props {
2
+ src: string | null;
3
+ alt: string | null;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,186 @@
1
+ import { type PropType } from "vue";
2
+ import { FdoMenuCookingGuide } from "@feedmepos/menu/entity";
3
+ import { type CategorizedItem } from "@/helper/menu";
4
+ declare function showModal(value: FdoMenuCookingGuide | undefined): void;
5
+ declare function hideModal(): void;
6
+ declare const _default: import("vue").DefineComponent<{
7
+ categorizedItems: {
8
+ type: PropType<CategorizedItem[]>;
9
+ required: true;
10
+ };
11
+ canApplyItems: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }, {
16
+ showModal: typeof showModal;
17
+ hideModal: typeof hideModal;
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ onSave: (value: z.infer<z.ZodObject<{
20
+ _id: z.ZodString;
21
+ name: z.ZodString;
22
+ steps: z.ZodArray<z.ZodObject<{
23
+ id: z.ZodString;
24
+ instruction: z.ZodString;
25
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ id: string;
28
+ instruction: string;
29
+ variables: Record<string, string>;
30
+ }, {
31
+ id: string;
32
+ instruction: string;
33
+ variables: Record<string, string>;
34
+ }>, "many">;
35
+ bindings: z.ZodArray<z.ZodObject<{
36
+ productId: z.ZodString;
37
+ combinationKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ overrides: z.ZodArray<z.ZodObject<{
39
+ id: z.ZodString;
40
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ id: string;
43
+ variables: Record<string, string>;
44
+ }, {
45
+ id: string;
46
+ variables: Record<string, string>;
47
+ }>, "many">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ combinationKey?: string | null | undefined;
50
+ productId: string;
51
+ overrides: {
52
+ id: string;
53
+ variables: Record<string, string>;
54
+ }[];
55
+ }, {
56
+ combinationKey?: string | null | undefined;
57
+ productId: string;
58
+ overrides: {
59
+ id: string;
60
+ variables: Record<string, string>;
61
+ }[];
62
+ }>, "many">;
63
+ }, "strip", z.ZodTypeAny, {
64
+ _id: string;
65
+ name: string;
66
+ bindings: {
67
+ combinationKey?: string | null | undefined;
68
+ productId: string;
69
+ overrides: {
70
+ id: string;
71
+ variables: Record<string, string>;
72
+ }[];
73
+ }[];
74
+ steps: {
75
+ id: string;
76
+ instruction: string;
77
+ variables: Record<string, string>;
78
+ }[];
79
+ }, {
80
+ _id: string;
81
+ name: string;
82
+ bindings: {
83
+ combinationKey?: string | null | undefined;
84
+ productId: string;
85
+ overrides: {
86
+ id: string;
87
+ variables: Record<string, string>;
88
+ }[];
89
+ }[];
90
+ steps: {
91
+ id: string;
92
+ instruction: string;
93
+ variables: Record<string, string>;
94
+ }[];
95
+ }>>) => void;
96
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
97
+ categorizedItems: {
98
+ type: PropType<CategorizedItem[]>;
99
+ required: true;
100
+ };
101
+ canApplyItems: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ }>> & {
106
+ onOnSave?: ((value: z.infer<z.ZodObject<{
107
+ _id: z.ZodString;
108
+ name: z.ZodString;
109
+ steps: z.ZodArray<z.ZodObject<{
110
+ id: z.ZodString;
111
+ instruction: z.ZodString;
112
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ id: string;
115
+ instruction: string;
116
+ variables: Record<string, string>;
117
+ }, {
118
+ id: string;
119
+ instruction: string;
120
+ variables: Record<string, string>;
121
+ }>, "many">;
122
+ bindings: z.ZodArray<z.ZodObject<{
123
+ productId: z.ZodString;
124
+ combinationKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
+ overrides: z.ZodArray<z.ZodObject<{
126
+ id: z.ZodString;
127
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ id: string;
130
+ variables: Record<string, string>;
131
+ }, {
132
+ id: string;
133
+ variables: Record<string, string>;
134
+ }>, "many">;
135
+ }, "strip", z.ZodTypeAny, {
136
+ combinationKey?: string | null | undefined;
137
+ productId: string;
138
+ overrides: {
139
+ id: string;
140
+ variables: Record<string, string>;
141
+ }[];
142
+ }, {
143
+ combinationKey?: string | null | undefined;
144
+ productId: string;
145
+ overrides: {
146
+ id: string;
147
+ variables: Record<string, string>;
148
+ }[];
149
+ }>, "many">;
150
+ }, "strip", z.ZodTypeAny, {
151
+ _id: string;
152
+ name: string;
153
+ bindings: {
154
+ combinationKey?: string | null | undefined;
155
+ productId: string;
156
+ overrides: {
157
+ id: string;
158
+ variables: Record<string, string>;
159
+ }[];
160
+ }[];
161
+ steps: {
162
+ id: string;
163
+ instruction: string;
164
+ variables: Record<string, string>;
165
+ }[];
166
+ }, {
167
+ _id: string;
168
+ name: string;
169
+ bindings: {
170
+ combinationKey?: string | null | undefined;
171
+ productId: string;
172
+ overrides: {
173
+ id: string;
174
+ variables: Record<string, string>;
175
+ }[];
176
+ }[];
177
+ steps: {
178
+ id: string;
179
+ instruction: string;
180
+ variables: Record<string, string>;
181
+ }[];
182
+ }>>) => any) | undefined;
183
+ }, {
184
+ canApplyItems: boolean;
185
+ }, {}>;
186
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import { FdoMenuCookingStep } from "@feedmepos/menu/entity";
2
+ declare function show(value: FdoMenuCookingStep | undefined): void;
3
+ declare function hide(): void;
4
+ declare const _default: import("vue").DefineComponent<{}, {
5
+ show: typeof show;
6
+ hide: typeof hide;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ onComplete: (value: z.infer<z.ZodObject<{
9
+ id: z.ZodString;
10
+ instruction: z.ZodString;
11
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ id: string;
14
+ instruction: string;
15
+ variables: Record<string, string>;
16
+ }, {
17
+ id: string;
18
+ instruction: string;
19
+ variables: Record<string, string>;
20
+ }>>) => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
22
+ onOnComplete?: ((value: z.infer<z.ZodObject<{
23
+ id: z.ZodString;
24
+ instruction: z.ZodString;
25
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ id: string;
28
+ instruction: string;
29
+ variables: Record<string, string>;
30
+ }, {
31
+ id: string;
32
+ instruction: string;
33
+ variables: Record<string, string>;
34
+ }>>) => any) | undefined;
35
+ }, {}, {}>;
36
+ export default _default;
@@ -0,0 +1,70 @@
1
+ import { FdoMenuCookingStep, FdoMenuCookingStepBinding } from "@feedmepos/menu/entity";
2
+ declare function show(dto: {
3
+ itemName: string;
4
+ steps: FdoMenuCookingStep[];
5
+ bindings: FdoMenuCookingStepBinding | undefined;
6
+ }): void;
7
+ declare function hide(): void;
8
+ declare const _default: import("vue").DefineComponent<{}, {
9
+ show: typeof show;
10
+ hide: typeof hide;
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ onComplete: (value: z.infer<z.ZodObject<{
13
+ productId: z.ZodString;
14
+ combinationKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ overrides: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodString;
17
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ id: string;
20
+ variables: Record<string, string>;
21
+ }, {
22
+ id: string;
23
+ variables: Record<string, string>;
24
+ }>, "many">;
25
+ }, "strip", z.ZodTypeAny, {
26
+ combinationKey?: string | null | undefined;
27
+ productId: string;
28
+ overrides: {
29
+ id: string;
30
+ variables: Record<string, string>;
31
+ }[];
32
+ }, {
33
+ combinationKey?: string | null | undefined;
34
+ productId: string;
35
+ overrides: {
36
+ id: string;
37
+ variables: Record<string, string>;
38
+ }[];
39
+ }>>) => void;
40
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
41
+ onOnComplete?: ((value: z.infer<z.ZodObject<{
42
+ productId: z.ZodString;
43
+ combinationKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ overrides: z.ZodArray<z.ZodObject<{
45
+ id: z.ZodString;
46
+ variables: z.ZodRecord<z.ZodString, z.ZodString>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ id: string;
49
+ variables: Record<string, string>;
50
+ }, {
51
+ id: string;
52
+ variables: Record<string, string>;
53
+ }>, "many">;
54
+ }, "strip", z.ZodTypeAny, {
55
+ combinationKey?: string | null | undefined;
56
+ productId: string;
57
+ overrides: {
58
+ id: string;
59
+ variables: Record<string, string>;
60
+ }[];
61
+ }, {
62
+ combinationKey?: string | null | undefined;
63
+ productId: string;
64
+ overrides: {
65
+ id: string;
66
+ variables: Record<string, string>;
67
+ }[];
68
+ }>>) => any) | undefined;
69
+ }, {}, {}>;
70
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { type PropType } from "vue";
2
+ import { type CategorizedItem } from "@/helper/menu";
3
+ import type { FdoMenuPrintDepartment } from "@feedmepos/menu/entity";
4
+ export type PrintDepartmentInfo = FdoMenuPrintDepartment & {
5
+ applyToItems: string[];
6
+ };
7
+ declare const _default: import("vue").DefineComponent<{
8
+ categorizedItems: {
9
+ type: PropType<CategorizedItem[]>;
10
+ required: true;
11
+ };
12
+ canApplyItems: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ }, {
17
+ showModal: (value: PrintDepartmentInfo | undefined) => void;
18
+ hideModal: () => void;
19
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ onSave: (value: any) => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ categorizedItems: {
23
+ type: PropType<CategorizedItem[]>;
24
+ required: true;
25
+ };
26
+ canApplyItems: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>> & {
31
+ onOnSave?: ((value: any) => any) | undefined;
32
+ }, {
33
+ canApplyItems: boolean;
34
+ }, {}>;
35
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { type FdoItemOverriderV4, FdoMenuPrintDepartment, FdoMenuV4Item } from "@feedmepos/menu/entity";
2
+ export type PrintDepartment = FdoMenuPrintDepartment & {
3
+ applyToItems: FdoMenuV4Item[];
4
+ usedBy?: FdoItemOverriderV4[];
5
+ };
6
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
7
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;