@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,63 @@
1
+ import type { FdoInventoryBinding } from "@feedmepos/core/entity";
2
+ interface Props {
3
+ title: string;
4
+ initialValue: FdoInventoryBinding[];
5
+ name: string;
6
+ allowRefund?: boolean;
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:inventory": (inventory: {
10
+ measurement?: {
11
+ id: string;
12
+ name: string;
13
+ abbrev: string;
14
+ conversion: {
15
+ amount: number;
16
+ precision: number;
17
+ };
18
+ } | null | undefined;
19
+ type: "SKU" | "RECIPE";
20
+ id: string;
21
+ amount: {
22
+ amount: number;
23
+ precision: number;
24
+ };
25
+ }[]) => void;
26
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
27
+ "onUpdate:inventory"?: ((inventory: {
28
+ measurement?: {
29
+ id: string;
30
+ name: string;
31
+ abbrev: string;
32
+ conversion: {
33
+ amount: number;
34
+ precision: number;
35
+ };
36
+ } | null | undefined;
37
+ type: "SKU" | "RECIPE";
38
+ id: string;
39
+ amount: {
40
+ amount: number;
41
+ precision: number;
42
+ };
43
+ }[]) => any) | undefined;
44
+ }, {}, {}>, {
45
+ default?(_: {
46
+ trigger: (event?: any) => void;
47
+ }): any;
48
+ }>;
49
+ export default _default;
50
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
+ type __VLS_TypePropsToRuntimeProps<T> = {
52
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
53
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
54
+ } : {
55
+ type: import('vue').PropType<T[K]>;
56
+ required: true;
57
+ };
58
+ };
59
+ type __VLS_WithTemplateSlots<T, S> = T & {
60
+ new (): {
61
+ $slots: S;
62
+ };
63
+ };
@@ -0,0 +1,54 @@
1
+ import { F_INVENTORY_BINDING_TYPE, type FdoInventoryBinding } from "@feedmepos/core/entity";
2
+ interface Props {
3
+ modelValue: FdoInventoryBinding[];
4
+ type: F_INVENTORY_BINDING_TYPE;
5
+ filterOptionIds?: string[];
6
+ allowRefund?: boolean;
7
+ }
8
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:model-value": (v: {
10
+ measurement?: {
11
+ id: string;
12
+ name: string;
13
+ abbrev: string;
14
+ conversion: {
15
+ amount: number;
16
+ precision: number;
17
+ };
18
+ } | null | undefined;
19
+ type: "SKU" | "RECIPE";
20
+ id: string;
21
+ amount: {
22
+ amount: number;
23
+ precision: number;
24
+ };
25
+ }[]) => void;
26
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
27
+ "onUpdate:model-value"?: ((v: {
28
+ measurement?: {
29
+ id: string;
30
+ name: string;
31
+ abbrev: string;
32
+ conversion: {
33
+ amount: number;
34
+ precision: number;
35
+ };
36
+ } | null | undefined;
37
+ type: "SKU" | "RECIPE";
38
+ id: string;
39
+ amount: {
40
+ amount: number;
41
+ precision: number;
42
+ };
43
+ }[]) => any) | undefined;
44
+ }, {}, {}>;
45
+ export default _default;
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
+ type __VLS_TypePropsToRuntimeProps<T> = {
48
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
+ } : {
51
+ type: import('vue').PropType<T[K]>;
52
+ required: true;
53
+ };
54
+ };
@@ -0,0 +1,255 @@
1
+ export declare const InventoryManagerForm: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
+ title: {
4
+ type: import("vue").PropType<string>;
5
+ required: true;
6
+ };
7
+ initialValue: {
8
+ type: import("vue").PropType<{
9
+ measurement?: {
10
+ id: string;
11
+ name: string;
12
+ abbrev: string;
13
+ conversion: {
14
+ amount: number;
15
+ precision: number;
16
+ };
17
+ } | null | undefined;
18
+ type: "SKU" | "RECIPE";
19
+ id: string;
20
+ amount: {
21
+ amount: number;
22
+ precision: number;
23
+ };
24
+ }[]>;
25
+ required: true;
26
+ };
27
+ name: {
28
+ type: import("vue").PropType<string>;
29
+ required: true;
30
+ };
31
+ allowRefund: {
32
+ type: import("vue").PropType<boolean>;
33
+ };
34
+ }>> & {
35
+ "onUpdate:inventory"?: ((inventory: {
36
+ measurement?: {
37
+ id: string;
38
+ name: string;
39
+ abbrev: string;
40
+ conversion: {
41
+ amount: number;
42
+ precision: number;
43
+ };
44
+ } | null | undefined;
45
+ type: "SKU" | "RECIPE";
46
+ id: string;
47
+ amount: {
48
+ amount: number;
49
+ precision: number;
50
+ };
51
+ }[]) => any) | undefined;
52
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
+ "update:inventory": (inventory: {
54
+ measurement?: {
55
+ id: string;
56
+ name: string;
57
+ abbrev: string;
58
+ conversion: {
59
+ amount: number;
60
+ precision: number;
61
+ };
62
+ } | null | undefined;
63
+ type: "SKU" | "RECIPE";
64
+ id: string;
65
+ amount: {
66
+ amount: number;
67
+ precision: number;
68
+ };
69
+ }[]) => void;
70
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
71
+ title: {
72
+ type: import("vue").PropType<string>;
73
+ required: true;
74
+ };
75
+ initialValue: {
76
+ type: import("vue").PropType<{
77
+ measurement?: {
78
+ id: string;
79
+ name: string;
80
+ abbrev: string;
81
+ conversion: {
82
+ amount: number;
83
+ precision: number;
84
+ };
85
+ } | null | undefined;
86
+ type: "SKU" | "RECIPE";
87
+ id: string;
88
+ amount: {
89
+ amount: number;
90
+ precision: number;
91
+ };
92
+ }[]>;
93
+ required: true;
94
+ };
95
+ name: {
96
+ type: import("vue").PropType<string>;
97
+ required: true;
98
+ };
99
+ allowRefund: {
100
+ type: import("vue").PropType<boolean>;
101
+ };
102
+ }>> & {
103
+ "onUpdate:inventory"?: ((inventory: {
104
+ measurement?: {
105
+ id: string;
106
+ name: string;
107
+ abbrev: string;
108
+ conversion: {
109
+ amount: number;
110
+ precision: number;
111
+ };
112
+ } | null | undefined;
113
+ type: "SKU" | "RECIPE";
114
+ id: string;
115
+ amount: {
116
+ amount: number;
117
+ precision: number;
118
+ };
119
+ }[]) => any) | undefined;
120
+ }, {}, true, {}, {}, {
121
+ P: {};
122
+ B: {};
123
+ D: {};
124
+ C: {};
125
+ M: {};
126
+ Defaults: {};
127
+ }, Readonly<import("vue").ExtractPropTypes<{
128
+ title: {
129
+ type: import("vue").PropType<string>;
130
+ required: true;
131
+ };
132
+ initialValue: {
133
+ type: import("vue").PropType<{
134
+ measurement?: {
135
+ id: string;
136
+ name: string;
137
+ abbrev: string;
138
+ conversion: {
139
+ amount: number;
140
+ precision: number;
141
+ };
142
+ } | null | undefined;
143
+ type: "SKU" | "RECIPE";
144
+ id: string;
145
+ amount: {
146
+ amount: number;
147
+ precision: number;
148
+ };
149
+ }[]>;
150
+ required: true;
151
+ };
152
+ name: {
153
+ type: import("vue").PropType<string>;
154
+ required: true;
155
+ };
156
+ allowRefund: {
157
+ type: import("vue").PropType<boolean>;
158
+ };
159
+ }>> & {
160
+ "onUpdate:inventory"?: ((inventory: {
161
+ measurement?: {
162
+ id: string;
163
+ name: string;
164
+ abbrev: string;
165
+ conversion: {
166
+ amount: number;
167
+ precision: number;
168
+ };
169
+ } | null | undefined;
170
+ type: "SKU" | "RECIPE";
171
+ id: string;
172
+ amount: {
173
+ amount: number;
174
+ precision: number;
175
+ };
176
+ }[]) => any) | undefined;
177
+ }, {}, {}, {}, {}, {}>;
178
+ __isFragment?: undefined;
179
+ __isTeleport?: undefined;
180
+ __isSuspense?: undefined;
181
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
182
+ title: {
183
+ type: import("vue").PropType<string>;
184
+ required: true;
185
+ };
186
+ initialValue: {
187
+ type: import("vue").PropType<{
188
+ measurement?: {
189
+ id: string;
190
+ name: string;
191
+ abbrev: string;
192
+ conversion: {
193
+ amount: number;
194
+ precision: number;
195
+ };
196
+ } | null | undefined;
197
+ type: "SKU" | "RECIPE";
198
+ id: string;
199
+ amount: {
200
+ amount: number;
201
+ precision: number;
202
+ };
203
+ }[]>;
204
+ required: true;
205
+ };
206
+ name: {
207
+ type: import("vue").PropType<string>;
208
+ required: true;
209
+ };
210
+ allowRefund: {
211
+ type: import("vue").PropType<boolean>;
212
+ };
213
+ }>> & {
214
+ "onUpdate:inventory"?: ((inventory: {
215
+ measurement?: {
216
+ id: string;
217
+ name: string;
218
+ abbrev: string;
219
+ conversion: {
220
+ amount: number;
221
+ precision: number;
222
+ };
223
+ } | null | undefined;
224
+ type: "SKU" | "RECIPE";
225
+ id: string;
226
+ amount: {
227
+ amount: number;
228
+ precision: number;
229
+ };
230
+ }[]) => any) | undefined;
231
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
232
+ "update:inventory": (inventory: {
233
+ measurement?: {
234
+ id: string;
235
+ name: string;
236
+ abbrev: string;
237
+ conversion: {
238
+ amount: number;
239
+ precision: number;
240
+ };
241
+ } | null | undefined;
242
+ type: "SKU" | "RECIPE";
243
+ id: string;
244
+ amount: {
245
+ amount: number;
246
+ precision: number;
247
+ };
248
+ }[]) => void;
249
+ }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
250
+ $slots: {
251
+ default?(_: {
252
+ trigger: (event?: any) => void;
253
+ }): any;
254
+ };
255
+ });
@@ -0,0 +1,63 @@
1
+ import { type CategorizedItem } from "@/helper/menu";
2
+ interface Item {
3
+ _id: string;
4
+ combinationKey?: string | null;
5
+ }
6
+ export type LinkProductItem = Item;
7
+ interface Props {
8
+ initialValue?: Array<Item>;
9
+ categorizedItems: Array<CategorizedItem>;
10
+ selectVariant?: boolean;
11
+ showVariant?: boolean;
12
+ title?: string;
13
+ }
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
+ initialValue: () => Item[];
16
+ categorizedItems: () => CategorizedItem[];
17
+ selectVariant: boolean;
18
+ showVariant: boolean;
19
+ title: string;
20
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ submit: (value: Item[]) => void;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
23
+ initialValue: () => Item[];
24
+ categorizedItems: () => CategorizedItem[];
25
+ selectVariant: boolean;
26
+ showVariant: boolean;
27
+ title: string;
28
+ }>>> & {
29
+ onSubmit?: ((value: Item[]) => any) | undefined;
30
+ }, {
31
+ title: string;
32
+ categorizedItems: CategorizedItem[];
33
+ initialValue: Item[];
34
+ selectVariant: boolean;
35
+ showVariant: boolean;
36
+ }, {}>, {
37
+ default?(_: {
38
+ trigger: (event?: any) => void;
39
+ }): any;
40
+ }>;
41
+ export default _default;
42
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
+ type __VLS_TypePropsToRuntimeProps<T> = {
44
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
45
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
+ } : {
47
+ type: import('vue').PropType<T[K]>;
48
+ required: true;
49
+ };
50
+ };
51
+ type __VLS_WithDefaults<P, D> = {
52
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ default: D[K];
54
+ }> : P[K];
55
+ };
56
+ type __VLS_Prettify<T> = {
57
+ [K in keyof T]: T[K];
58
+ } & {};
59
+ type __VLS_WithTemplateSlots<T, S> = T & {
60
+ new (): {
61
+ $slots: S;
62
+ };
63
+ };
@@ -0,0 +1,37 @@
1
+ export interface Group {
2
+ label: string;
3
+ value: string;
4
+ }
5
+ interface Props {
6
+ modelValue?: Array<string>;
7
+ groups: Array<Group>;
8
+ multiple?: boolean;
9
+ }
10
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
+ modelValue: () => never[];
12
+ multiple: boolean;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ modelValue: () => never[];
15
+ multiple: boolean;
16
+ }>>>, {
17
+ modelValue: string[];
18
+ multiple: boolean;
19
+ }, {}>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
@@ -0,0 +1,25 @@
1
+ import type { PrintDepartment } from "@/views/PrintRoute/PrintRoute.vue";
2
+ interface Props {
3
+ initialValue?: PrintDepartment;
4
+ applyProduct: boolean;
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
7
+ default?(_: {
8
+ trigger: (event?: any) => void;
9
+ }): any;
10
+ }>;
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
+ };
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,51 @@
1
+ export declare const PrintDeptManagerForm: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
+ initialValue: {
4
+ type: import("vue").PropType<any>;
5
+ };
6
+ applyProduct: {
7
+ type: import("vue").PropType<boolean>;
8
+ required: true;
9
+ };
10
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
11
+ initialValue: {
12
+ type: import("vue").PropType<any>;
13
+ };
14
+ applyProduct: {
15
+ type: import("vue").PropType<boolean>;
16
+ required: true;
17
+ };
18
+ }>>, {}, true, {}, {}, {
19
+ P: {};
20
+ B: {};
21
+ D: {};
22
+ C: {};
23
+ M: {};
24
+ Defaults: {};
25
+ }, Readonly<import("vue").ExtractPropTypes<{
26
+ initialValue: {
27
+ type: import("vue").PropType<any>;
28
+ };
29
+ applyProduct: {
30
+ type: import("vue").PropType<boolean>;
31
+ required: true;
32
+ };
33
+ }>>, {}, {}, {}, {}, {}>;
34
+ __isFragment?: undefined;
35
+ __isTeleport?: undefined;
36
+ __isSuspense?: undefined;
37
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
38
+ initialValue: {
39
+ type: import("vue").PropType<any>;
40
+ };
41
+ applyProduct: {
42
+ type: import("vue").PropType<boolean>;
43
+ required: true;
44
+ };
45
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
46
+ $slots: {
47
+ default?(_: {
48
+ trigger: (event?: any) => void;
49
+ }): any;
50
+ };
51
+ });
@@ -0,0 +1,32 @@
1
+ import type { Takeaway } from "@/manager/menu/takeaway";
2
+ interface Props {
3
+ action: "add" | "update";
4
+ initialValue?: Partial<Takeaway>;
5
+ fallback?: Partial<Takeaway>;
6
+ applyProduct: boolean;
7
+ bindToVariant: boolean;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:takeaway": (takeaway: any) => void;
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
12
+ "onUpdate:takeaway"?: ((takeaway: any) => any) | undefined;
13
+ }, {}, {}>, {
14
+ default?(_: {
15
+ trigger: (event?: any) => void;
16
+ }): any;
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
+ };
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,107 @@
1
+ export declare const TakeawayManagerForm: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
+ action: {
4
+ type: import("vue").PropType<"add" | "update">;
5
+ required: true;
6
+ };
7
+ initialValue: {
8
+ type: import("vue").PropType<Partial<any>>;
9
+ };
10
+ fallback: {
11
+ type: import("vue").PropType<Partial<any>>;
12
+ };
13
+ applyProduct: {
14
+ type: import("vue").PropType<boolean>;
15
+ required: true;
16
+ };
17
+ bindToVariant: {
18
+ type: import("vue").PropType<boolean>;
19
+ required: true;
20
+ };
21
+ }>> & {
22
+ "onUpdate:takeaway"?: ((takeaway: any) => any) | undefined;
23
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:takeaway": (takeaway: any) => void;
25
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
26
+ action: {
27
+ type: import("vue").PropType<"add" | "update">;
28
+ required: true;
29
+ };
30
+ initialValue: {
31
+ type: import("vue").PropType<Partial<any>>;
32
+ };
33
+ fallback: {
34
+ type: import("vue").PropType<Partial<any>>;
35
+ };
36
+ applyProduct: {
37
+ type: import("vue").PropType<boolean>;
38
+ required: true;
39
+ };
40
+ bindToVariant: {
41
+ type: import("vue").PropType<boolean>;
42
+ required: true;
43
+ };
44
+ }>> & {
45
+ "onUpdate:takeaway"?: ((takeaway: any) => any) | undefined;
46
+ }, {}, true, {}, {}, {
47
+ P: {};
48
+ B: {};
49
+ D: {};
50
+ C: {};
51
+ M: {};
52
+ Defaults: {};
53
+ }, Readonly<import("vue").ExtractPropTypes<{
54
+ action: {
55
+ type: import("vue").PropType<"add" | "update">;
56
+ required: true;
57
+ };
58
+ initialValue: {
59
+ type: import("vue").PropType<Partial<any>>;
60
+ };
61
+ fallback: {
62
+ type: import("vue").PropType<Partial<any>>;
63
+ };
64
+ applyProduct: {
65
+ type: import("vue").PropType<boolean>;
66
+ required: true;
67
+ };
68
+ bindToVariant: {
69
+ type: import("vue").PropType<boolean>;
70
+ required: true;
71
+ };
72
+ }>> & {
73
+ "onUpdate:takeaway"?: ((takeaway: any) => any) | undefined;
74
+ }, {}, {}, {}, {}, {}>;
75
+ __isFragment?: undefined;
76
+ __isTeleport?: undefined;
77
+ __isSuspense?: undefined;
78
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
79
+ action: {
80
+ type: import("vue").PropType<"add" | "update">;
81
+ required: true;
82
+ };
83
+ initialValue: {
84
+ type: import("vue").PropType<Partial<any>>;
85
+ };
86
+ fallback: {
87
+ type: import("vue").PropType<Partial<any>>;
88
+ };
89
+ applyProduct: {
90
+ type: import("vue").PropType<boolean>;
91
+ required: true;
92
+ };
93
+ bindToVariant: {
94
+ type: import("vue").PropType<boolean>;
95
+ required: true;
96
+ };
97
+ }>> & {
98
+ "onUpdate:takeaway"?: ((takeaway: any) => any) | undefined;
99
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
100
+ "update:takeaway": (takeaway: any) => void;
101
+ }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
102
+ $slots: {
103
+ default?(_: {
104
+ trigger: (event?: any) => void;
105
+ }): any;
106
+ };
107
+ });