@feedmepos/mf-inventory-portal 0.0.23-dev.2 → 0.0.23-dev.21

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 (112) hide show
  1. package/dist/{App-DRE3c1lJ.js → App-CvIvF0fg.js} +59 -51
  2. package/dist/{ApprovalView-B4ZYcS3B.js → ApprovalView-BOn2HDVY.js} +20 -23
  3. package/dist/{BindingsDialog-Df1yrWHU.js → BindingsDialog-9qfADiSA.js} +7 -7
  4. package/dist/{BindingsPicker-BERMWh4w.js → BindingsPicker-CpV9uOqj.js} +7 -8
  5. package/dist/{BindingsTable-DRIapOWW.js → BindingsTable-BYScxUTj.js} +16 -20
  6. package/dist/ClosingDraftView-DM7-3zOd.js +1116 -0
  7. package/dist/{ClosingTemplateView-CbFn3Sdy.js → ClosingTemplateView-Cye5VPAM.js} +66 -76
  8. package/dist/{FmDroppableField-8RzKjEdL.js → FmDroppableField-AIKfZo3H.js} +1 -1
  9. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CQUsooGm.js +282 -0
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BHSGZyJL.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CFQc-CBX.js} +121 -119
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DH5IQchQ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-2r8mut0B.js} +7 -7
  12. package/dist/{IngredientGroupView-DoETcEvV.js → IngredientGroupView-RNokzPJa.js} +30 -36
  13. package/dist/IngredientsView-M7K_GAEO.js +1660 -0
  14. package/dist/{IntegrationView-D1HeBiGF.js → IntegrationView-D9a8d1sO.js} +18 -20
  15. package/dist/{InventoryBindingForm-Dmz9BQ37.js → InventoryBindingForm-B0Gx5N1p.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DoyqVBOd.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DEOudgKD.js} +15 -17
  17. package/dist/{InventoryBindingSummary-DrpwiRGZ.js → InventoryBindingSummary-C16Nc5aN.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yNEswIEI.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CZiypEex.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Br4_VUza.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BbYZwclN.js} +8 -8
  20. package/dist/{PurchaseOrderPrintPreview-cp671yWE.js → PurchaseOrderPrintPreview-DdKF8g0J.js} +13 -14
  21. package/dist/ReceiveRequestView-DBPRR6fz.js +4186 -0
  22. package/dist/{RecipeView-CD_dAWLo.js → RecipeView-CzUgVxKz.js} +58 -63
  23. package/dist/{StockView-DfUzFC1b.js → StockView-DCO3N1FS.js} +1338 -1446
  24. package/dist/{SupplierView-DB-zrNxh.js → SupplierView-CzV6DYSj.js} +2345 -783
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-00pcY0qu.js +1228 -0
  26. package/dist/TransferTemplateView-uL5PId9-.js +1265 -0
  27. package/dist/{UnitView-BlC9-WOA.js → UnitView-d-mCs-cS.js} +40 -44
  28. package/dist/{WarehouseView-CgEY87Lo.js → WarehouseView-B7z8m-Hv.js} +67 -73
  29. package/dist/api/adjustment-template.d.ts +23 -0
  30. package/dist/api/bill.d.ts +2 -2
  31. package/dist/api/closing-draft.d.ts +6 -0
  32. package/dist/api/closing.d.ts +1 -0
  33. package/dist/api/netsuite.d.ts +69 -0
  34. package/dist/app-CTCC1zfY.js +58871 -0
  35. package/dist/app.d.ts +56 -0
  36. package/dist/app.js +2 -2
  37. package/dist/components/FmMinMaxInputRules.d.ts +4 -1
  38. package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
  39. package/dist/components/row-action.enum.d.ts +1 -0
  40. package/dist/composable/defineDeepModel.d.ts +1 -1
  41. package/dist/{decimal-D7BCubZO.js → decimal-DhUR6QsF.js} +1 -1
  42. package/dist/{feature-BR-MsGYt.js → feature-DiGS5Fa4.js} +23 -9
  43. package/dist/format-unit-display-MRARpSlY.js +1210 -0
  44. package/dist/index-BSN3RnCl.js +12087 -0
  45. package/dist/netsuite-CIibMNer.js +251 -0
  46. package/dist/router/name.d.ts +2 -0
  47. package/dist/stock-COHpOTJk.js +110 -0
  48. package/dist/stores/feature.d.ts +2 -0
  49. package/dist/stores/integration/netsuite.d.ts +81 -0
  50. package/dist/stores/inventory.d.ts +1 -4
  51. package/dist/style.css +1 -1
  52. package/dist/{supplier-aBuwVukl.js → supplier-csNwTHYl.js} +15 -15
  53. package/dist/tsconfig.app.tsbuildinfo +1 -1
  54. package/dist/{use-inventory-binding-dialog-CLQ0LUmW.js → use-inventory-binding-dialog-172A48Xx.js} +10 -11
  55. package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
  56. package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
  57. package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
  58. package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
  59. package/dist/views/adjustment-template/wastage-template/actions.d.ts +1295 -0
  60. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
  61. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
  62. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
  63. package/dist/views/adjustment-template/wastage-template/props.d.ts +29 -0
  64. package/dist/views/adjustment-template/wastage-template/table.d.ts +1273 -0
  65. package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
  66. package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
  67. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +451 -0
  68. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +25 -0
  69. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +2601 -0
  70. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
  71. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
  72. package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
  73. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -192
  74. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -192
  75. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -34
  76. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -0
  77. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +54 -54
  78. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +54 -54
  79. package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +1 -0
  80. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  81. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  82. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  83. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
  84. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
  85. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
  86. package/dist/{xlsx-BbtURTDy.js → xlsx-CH-bhcOL.js} +1 -1
  87. package/dist/{xlsx.util-zYS4OJFi.js → xlsx.util-4aHI7W-Z.js} +1 -1
  88. package/package.json +3 -3
  89. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-7JYNssTm.js +0 -267
  90. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-KbYSywk2.js +0 -436
  91. package/dist/FmMultiselectDialog-Da9JMCYa.js +0 -415
  92. package/dist/IngredientsView-DHAhj9pV.js +0 -1613
  93. package/dist/ReceiveRequestView-C1WBlpho.js +0 -4082
  94. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
  95. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-2mzqFGCz.js +0 -1144
  96. package/dist/TransferTemplateView-CaAJrqU6.js +0 -1262
  97. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  98. package/dist/app-CAyFhmAz.js +0 -33457
  99. package/dist/date2-D9i5izMt.js +0 -117
  100. package/dist/dayjs.min-SJKP9zBL.js +0 -282
  101. package/dist/defineDeepModel-DS4Shctf.js +0 -13
  102. package/dist/format-time-from-id-CUby60uW.js +0 -15
  103. package/dist/format-unit-display-D25Al2JZ.js +0 -1198
  104. package/dist/fuzzy-BryBtMz_.js +0 -41
  105. package/dist/index-ByJbUSIQ.js +0 -45
  106. package/dist/index-CFA_VFyX.js +0 -10545
  107. package/dist/index-CTvgBOum.js +0 -22280
  108. package/dist/netsuite-D0G4B60k.js +0 -146
  109. package/dist/normalizeArguments-DP7Hrren.js +0 -1552
  110. package/dist/row-action.enum-PMKMRrZR.js +0 -50
  111. package/dist/rules-DxVY0b7F.js +0 -198
  112. package/dist/use-template-enabled-locations-2-BgTiwy_3.js +0 -86
@@ -0,0 +1,1295 @@
1
+ import { FormMode } from '@/components/form/form-mode.enum';
2
+ import { type Ref } from 'vue';
3
+ import type { RevisionIdMeta } from '@feedmepos/inventory-core';
4
+ import type { WastageTemplateDetailsProps, WastageTemplateDialogProps } from './props';
5
+ type WastageTemplateDialogPropsWithEventBinding = WastageTemplateDialogProps & {
6
+ 'onUpdate:show'?(show: boolean): void;
7
+ 'onSubmitted'?(): void;
8
+ };
9
+ type WastageTemplateDetailsPropsWithEventBinding = WastageTemplateDetailsProps & {
10
+ 'onUpdate:show'?(show: boolean): void;
11
+ 'onAction:edit'?(): void;
12
+ };
13
+ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<"wastageTemplateAction", import("pinia")._UnwrapAll<Pick<{
14
+ createTemplate: () => void;
15
+ viewTemplate: (template: FdoAdjustmentTemplate) => void;
16
+ updateTemplate: (template: FdoAdjustmentTemplate) => void;
17
+ deleteTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
18
+ exportTemplates: () => void;
19
+ importTemplates: () => void;
20
+ templateDialogProps: Ref<{
21
+ mode?: FormMode | undefined;
22
+ modelValue?: {
23
+ _rev?: string | null | undefined;
24
+ locations?: {
25
+ type: "restaurant" | "warehouse";
26
+ name: string;
27
+ acceptRequest: boolean;
28
+ dbName: string;
29
+ doc: {
30
+ _id: string;
31
+ businessId: string;
32
+ profile: {
33
+ code?: string | null | undefined;
34
+ _id?: string | null | undefined;
35
+ name?: string | undefined;
36
+ address?: {
37
+ coordinates?: number[] | null | undefined;
38
+ line2?: string | null | undefined;
39
+ state: string;
40
+ country: string;
41
+ line1: string;
42
+ city: string;
43
+ postcode: string;
44
+ } | undefined;
45
+ email?: string | undefined;
46
+ regNo?: string | undefined;
47
+ sstRegNo?: string | null | undefined;
48
+ phoneNo?: string | undefined;
49
+ legalName?: string | null | undefined;
50
+ discovery?: boolean | null | undefined;
51
+ coverPhoto?: string | null | undefined;
52
+ thumbnailPhoto?: string | null | undefined;
53
+ description?: string | null | undefined;
54
+ photos?: string[] | null | undefined;
55
+ operatingHours?: {
56
+ 0: {
57
+ hours: {
58
+ end: string;
59
+ start: string;
60
+ }[];
61
+ enable: boolean;
62
+ };
63
+ 2: {
64
+ hours: {
65
+ end: string;
66
+ start: string;
67
+ }[];
68
+ enable: boolean;
69
+ };
70
+ 1: {
71
+ hours: {
72
+ end: string;
73
+ start: string;
74
+ }[];
75
+ enable: boolean;
76
+ };
77
+ 3: {
78
+ hours: {
79
+ end: string;
80
+ start: string;
81
+ }[];
82
+ enable: boolean;
83
+ };
84
+ 4: {
85
+ hours: {
86
+ end: string;
87
+ start: string;
88
+ }[];
89
+ enable: boolean;
90
+ };
91
+ 5: {
92
+ hours: {
93
+ end: string;
94
+ start: string;
95
+ }[];
96
+ enable: boolean;
97
+ };
98
+ 6: {
99
+ hours: {
100
+ end: string;
101
+ start: string;
102
+ }[];
103
+ enable: boolean;
104
+ };
105
+ } | null | undefined;
106
+ tags?: string[] | null | undefined;
107
+ url?: string | null | undefined;
108
+ };
109
+ };
110
+ }[] | null | undefined;
111
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
112
+ _id: string;
113
+ items: {
114
+ code?: string | null | undefined;
115
+ disabledMeasurements?: string[] | null | undefined;
116
+ type: "menu" | "sku" | "recipe";
117
+ id: string;
118
+ name: string;
119
+ }[];
120
+ name: string;
121
+ } | undefined;
122
+ show?: boolean | undefined;
123
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
124
+ onSubmitted?: (() => void) | undefined;
125
+ }, WastageTemplateDialogPropsWithEventBinding | {
126
+ mode?: FormMode | undefined;
127
+ modelValue?: {
128
+ _rev?: string | null | undefined;
129
+ locations?: {
130
+ type: "restaurant" | "warehouse";
131
+ name: string;
132
+ acceptRequest: boolean;
133
+ dbName: string;
134
+ doc: {
135
+ _id: string;
136
+ businessId: string;
137
+ profile: {
138
+ code?: string | null | undefined;
139
+ _id?: string | null | undefined;
140
+ name?: string | undefined;
141
+ address?: {
142
+ coordinates?: number[] | null | undefined;
143
+ line2?: string | null | undefined;
144
+ state: string;
145
+ country: string;
146
+ line1: string;
147
+ city: string;
148
+ postcode: string;
149
+ } | undefined;
150
+ email?: string | undefined;
151
+ regNo?: string | undefined;
152
+ sstRegNo?: string | null | undefined;
153
+ phoneNo?: string | undefined;
154
+ legalName?: string | null | undefined;
155
+ discovery?: boolean | null | undefined;
156
+ coverPhoto?: string | null | undefined;
157
+ thumbnailPhoto?: string | null | undefined;
158
+ description?: string | null | undefined;
159
+ photos?: string[] | null | undefined;
160
+ operatingHours?: {
161
+ 0: {
162
+ hours: {
163
+ end: string;
164
+ start: string;
165
+ }[];
166
+ enable: boolean;
167
+ };
168
+ 2: {
169
+ hours: {
170
+ end: string;
171
+ start: string;
172
+ }[];
173
+ enable: boolean;
174
+ };
175
+ 1: {
176
+ hours: {
177
+ end: string;
178
+ start: string;
179
+ }[];
180
+ enable: boolean;
181
+ };
182
+ 3: {
183
+ hours: {
184
+ end: string;
185
+ start: string;
186
+ }[];
187
+ enable: boolean;
188
+ };
189
+ 4: {
190
+ hours: {
191
+ end: string;
192
+ start: string;
193
+ }[];
194
+ enable: boolean;
195
+ };
196
+ 5: {
197
+ hours: {
198
+ end: string;
199
+ start: string;
200
+ }[];
201
+ enable: boolean;
202
+ };
203
+ 6: {
204
+ hours: {
205
+ end: string;
206
+ start: string;
207
+ }[];
208
+ enable: boolean;
209
+ };
210
+ } | null | undefined;
211
+ tags?: string[] | null | undefined;
212
+ url?: string | null | undefined;
213
+ };
214
+ };
215
+ }[] | null | undefined;
216
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
217
+ _id: string;
218
+ items: {
219
+ code?: string | null | undefined;
220
+ disabledMeasurements?: string[] | null | undefined;
221
+ type: "menu" | "sku" | "recipe";
222
+ id: string;
223
+ name: string;
224
+ }[];
225
+ name: string;
226
+ } | undefined;
227
+ show?: boolean | undefined;
228
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
229
+ onSubmitted?: (() => void) | undefined;
230
+ }>;
231
+ templateDetailsProps: Ref<{
232
+ template?: {
233
+ _rev?: string | null | undefined;
234
+ locations?: {
235
+ type: "restaurant" | "warehouse";
236
+ name: string;
237
+ acceptRequest: boolean;
238
+ dbName: string;
239
+ doc: {
240
+ _id: string;
241
+ businessId: string;
242
+ profile: {
243
+ code?: string | null | undefined;
244
+ _id?: string | null | undefined;
245
+ name?: string | undefined;
246
+ address?: {
247
+ coordinates?: number[] | null | undefined;
248
+ line2?: string | null | undefined;
249
+ state: string;
250
+ country: string;
251
+ line1: string;
252
+ city: string;
253
+ postcode: string;
254
+ } | undefined;
255
+ email?: string | undefined;
256
+ regNo?: string | undefined;
257
+ sstRegNo?: string | null | undefined;
258
+ phoneNo?: string | undefined;
259
+ legalName?: string | null | undefined;
260
+ discovery?: boolean | null | undefined;
261
+ coverPhoto?: string | null | undefined;
262
+ thumbnailPhoto?: string | null | undefined;
263
+ description?: string | null | undefined;
264
+ photos?: string[] | null | undefined;
265
+ operatingHours?: {
266
+ 0: {
267
+ hours: {
268
+ end: string;
269
+ start: string;
270
+ }[];
271
+ enable: boolean;
272
+ };
273
+ 2: {
274
+ hours: {
275
+ end: string;
276
+ start: string;
277
+ }[];
278
+ enable: boolean;
279
+ };
280
+ 1: {
281
+ hours: {
282
+ end: string;
283
+ start: string;
284
+ }[];
285
+ enable: boolean;
286
+ };
287
+ 3: {
288
+ hours: {
289
+ end: string;
290
+ start: string;
291
+ }[];
292
+ enable: boolean;
293
+ };
294
+ 4: {
295
+ hours: {
296
+ end: string;
297
+ start: string;
298
+ }[];
299
+ enable: boolean;
300
+ };
301
+ 5: {
302
+ hours: {
303
+ end: string;
304
+ start: string;
305
+ }[];
306
+ enable: boolean;
307
+ };
308
+ 6: {
309
+ hours: {
310
+ end: string;
311
+ start: string;
312
+ }[];
313
+ enable: boolean;
314
+ };
315
+ } | null | undefined;
316
+ tags?: string[] | null | undefined;
317
+ url?: string | null | undefined;
318
+ };
319
+ };
320
+ }[] | null | undefined;
321
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
322
+ _id: string;
323
+ items: {
324
+ code?: string | null | undefined;
325
+ disabledMeasurements?: string[] | null | undefined;
326
+ type: "menu" | "sku" | "recipe";
327
+ id: string;
328
+ name: string;
329
+ }[];
330
+ name: string;
331
+ } | undefined;
332
+ show?: boolean | undefined;
333
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
334
+ 'onAction:edit'?: (() => void) | undefined;
335
+ }, WastageTemplateDetailsPropsWithEventBinding | {
336
+ template?: {
337
+ _rev?: string | null | undefined;
338
+ locations?: {
339
+ type: "restaurant" | "warehouse";
340
+ name: string;
341
+ acceptRequest: boolean;
342
+ dbName: string;
343
+ doc: {
344
+ _id: string;
345
+ businessId: string;
346
+ profile: {
347
+ code?: string | null | undefined;
348
+ _id?: string | null | undefined;
349
+ name?: string | undefined;
350
+ address?: {
351
+ coordinates?: number[] | null | undefined;
352
+ line2?: string | null | undefined;
353
+ state: string;
354
+ country: string;
355
+ line1: string;
356
+ city: string;
357
+ postcode: string;
358
+ } | undefined;
359
+ email?: string | undefined;
360
+ regNo?: string | undefined;
361
+ sstRegNo?: string | null | undefined;
362
+ phoneNo?: string | undefined;
363
+ legalName?: string | null | undefined;
364
+ discovery?: boolean | null | undefined;
365
+ coverPhoto?: string | null | undefined;
366
+ thumbnailPhoto?: string | null | undefined;
367
+ description?: string | null | undefined;
368
+ photos?: string[] | null | undefined;
369
+ operatingHours?: {
370
+ 0: {
371
+ hours: {
372
+ end: string;
373
+ start: string;
374
+ }[];
375
+ enable: boolean;
376
+ };
377
+ 2: {
378
+ hours: {
379
+ end: string;
380
+ start: string;
381
+ }[];
382
+ enable: boolean;
383
+ };
384
+ 1: {
385
+ hours: {
386
+ end: string;
387
+ start: string;
388
+ }[];
389
+ enable: boolean;
390
+ };
391
+ 3: {
392
+ hours: {
393
+ end: string;
394
+ start: string;
395
+ }[];
396
+ enable: boolean;
397
+ };
398
+ 4: {
399
+ hours: {
400
+ end: string;
401
+ start: string;
402
+ }[];
403
+ enable: boolean;
404
+ };
405
+ 5: {
406
+ hours: {
407
+ end: string;
408
+ start: string;
409
+ }[];
410
+ enable: boolean;
411
+ };
412
+ 6: {
413
+ hours: {
414
+ end: string;
415
+ start: string;
416
+ }[];
417
+ enable: boolean;
418
+ };
419
+ } | null | undefined;
420
+ tags?: string[] | null | undefined;
421
+ url?: string | null | undefined;
422
+ };
423
+ };
424
+ }[] | null | undefined;
425
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
426
+ _id: string;
427
+ items: {
428
+ code?: string | null | undefined;
429
+ disabledMeasurements?: string[] | null | undefined;
430
+ type: "menu" | "sku" | "recipe";
431
+ id: string;
432
+ name: string;
433
+ }[];
434
+ name: string;
435
+ } | undefined;
436
+ show?: boolean | undefined;
437
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
438
+ 'onAction:edit'?: (() => void) | undefined;
439
+ }>;
440
+ }, "templateDialogProps" | "templateDetailsProps">>, Pick<{
441
+ createTemplate: () => void;
442
+ viewTemplate: (template: FdoAdjustmentTemplate) => void;
443
+ updateTemplate: (template: FdoAdjustmentTemplate) => void;
444
+ deleteTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
445
+ exportTemplates: () => void;
446
+ importTemplates: () => void;
447
+ templateDialogProps: Ref<{
448
+ mode?: FormMode | undefined;
449
+ modelValue?: {
450
+ _rev?: string | null | undefined;
451
+ locations?: {
452
+ type: "restaurant" | "warehouse";
453
+ name: string;
454
+ acceptRequest: boolean;
455
+ dbName: string;
456
+ doc: {
457
+ _id: string;
458
+ businessId: string;
459
+ profile: {
460
+ code?: string | null | undefined;
461
+ _id?: string | null | undefined;
462
+ name?: string | undefined;
463
+ address?: {
464
+ coordinates?: number[] | null | undefined;
465
+ line2?: string | null | undefined;
466
+ state: string;
467
+ country: string;
468
+ line1: string;
469
+ city: string;
470
+ postcode: string;
471
+ } | undefined;
472
+ email?: string | undefined;
473
+ regNo?: string | undefined;
474
+ sstRegNo?: string | null | undefined;
475
+ phoneNo?: string | undefined;
476
+ legalName?: string | null | undefined;
477
+ discovery?: boolean | null | undefined;
478
+ coverPhoto?: string | null | undefined;
479
+ thumbnailPhoto?: string | null | undefined;
480
+ description?: string | null | undefined;
481
+ photos?: string[] | null | undefined;
482
+ operatingHours?: {
483
+ 0: {
484
+ hours: {
485
+ end: string;
486
+ start: string;
487
+ }[];
488
+ enable: boolean;
489
+ };
490
+ 2: {
491
+ hours: {
492
+ end: string;
493
+ start: string;
494
+ }[];
495
+ enable: boolean;
496
+ };
497
+ 1: {
498
+ hours: {
499
+ end: string;
500
+ start: string;
501
+ }[];
502
+ enable: boolean;
503
+ };
504
+ 3: {
505
+ hours: {
506
+ end: string;
507
+ start: string;
508
+ }[];
509
+ enable: boolean;
510
+ };
511
+ 4: {
512
+ hours: {
513
+ end: string;
514
+ start: string;
515
+ }[];
516
+ enable: boolean;
517
+ };
518
+ 5: {
519
+ hours: {
520
+ end: string;
521
+ start: string;
522
+ }[];
523
+ enable: boolean;
524
+ };
525
+ 6: {
526
+ hours: {
527
+ end: string;
528
+ start: string;
529
+ }[];
530
+ enable: boolean;
531
+ };
532
+ } | null | undefined;
533
+ tags?: string[] | null | undefined;
534
+ url?: string | null | undefined;
535
+ };
536
+ };
537
+ }[] | null | undefined;
538
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
539
+ _id: string;
540
+ items: {
541
+ code?: string | null | undefined;
542
+ disabledMeasurements?: string[] | null | undefined;
543
+ type: "menu" | "sku" | "recipe";
544
+ id: string;
545
+ name: string;
546
+ }[];
547
+ name: string;
548
+ } | undefined;
549
+ show?: boolean | undefined;
550
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
551
+ onSubmitted?: (() => void) | undefined;
552
+ }, WastageTemplateDialogPropsWithEventBinding | {
553
+ mode?: FormMode | undefined;
554
+ modelValue?: {
555
+ _rev?: string | null | undefined;
556
+ locations?: {
557
+ type: "restaurant" | "warehouse";
558
+ name: string;
559
+ acceptRequest: boolean;
560
+ dbName: string;
561
+ doc: {
562
+ _id: string;
563
+ businessId: string;
564
+ profile: {
565
+ code?: string | null | undefined;
566
+ _id?: string | null | undefined;
567
+ name?: string | undefined;
568
+ address?: {
569
+ coordinates?: number[] | null | undefined;
570
+ line2?: string | null | undefined;
571
+ state: string;
572
+ country: string;
573
+ line1: string;
574
+ city: string;
575
+ postcode: string;
576
+ } | undefined;
577
+ email?: string | undefined;
578
+ regNo?: string | undefined;
579
+ sstRegNo?: string | null | undefined;
580
+ phoneNo?: string | undefined;
581
+ legalName?: string | null | undefined;
582
+ discovery?: boolean | null | undefined;
583
+ coverPhoto?: string | null | undefined;
584
+ thumbnailPhoto?: string | null | undefined;
585
+ description?: string | null | undefined;
586
+ photos?: string[] | null | undefined;
587
+ operatingHours?: {
588
+ 0: {
589
+ hours: {
590
+ end: string;
591
+ start: string;
592
+ }[];
593
+ enable: boolean;
594
+ };
595
+ 2: {
596
+ hours: {
597
+ end: string;
598
+ start: string;
599
+ }[];
600
+ enable: boolean;
601
+ };
602
+ 1: {
603
+ hours: {
604
+ end: string;
605
+ start: string;
606
+ }[];
607
+ enable: boolean;
608
+ };
609
+ 3: {
610
+ hours: {
611
+ end: string;
612
+ start: string;
613
+ }[];
614
+ enable: boolean;
615
+ };
616
+ 4: {
617
+ hours: {
618
+ end: string;
619
+ start: string;
620
+ }[];
621
+ enable: boolean;
622
+ };
623
+ 5: {
624
+ hours: {
625
+ end: string;
626
+ start: string;
627
+ }[];
628
+ enable: boolean;
629
+ };
630
+ 6: {
631
+ hours: {
632
+ end: string;
633
+ start: string;
634
+ }[];
635
+ enable: boolean;
636
+ };
637
+ } | null | undefined;
638
+ tags?: string[] | null | undefined;
639
+ url?: string | null | undefined;
640
+ };
641
+ };
642
+ }[] | null | undefined;
643
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
644
+ _id: string;
645
+ items: {
646
+ code?: string | null | undefined;
647
+ disabledMeasurements?: string[] | null | undefined;
648
+ type: "menu" | "sku" | "recipe";
649
+ id: string;
650
+ name: string;
651
+ }[];
652
+ name: string;
653
+ } | undefined;
654
+ show?: boolean | undefined;
655
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
656
+ onSubmitted?: (() => void) | undefined;
657
+ }>;
658
+ templateDetailsProps: Ref<{
659
+ template?: {
660
+ _rev?: string | null | undefined;
661
+ locations?: {
662
+ type: "restaurant" | "warehouse";
663
+ name: string;
664
+ acceptRequest: boolean;
665
+ dbName: string;
666
+ doc: {
667
+ _id: string;
668
+ businessId: string;
669
+ profile: {
670
+ code?: string | null | undefined;
671
+ _id?: string | null | undefined;
672
+ name?: string | undefined;
673
+ address?: {
674
+ coordinates?: number[] | null | undefined;
675
+ line2?: string | null | undefined;
676
+ state: string;
677
+ country: string;
678
+ line1: string;
679
+ city: string;
680
+ postcode: string;
681
+ } | undefined;
682
+ email?: string | undefined;
683
+ regNo?: string | undefined;
684
+ sstRegNo?: string | null | undefined;
685
+ phoneNo?: string | undefined;
686
+ legalName?: string | null | undefined;
687
+ discovery?: boolean | null | undefined;
688
+ coverPhoto?: string | null | undefined;
689
+ thumbnailPhoto?: string | null | undefined;
690
+ description?: string | null | undefined;
691
+ photos?: string[] | null | undefined;
692
+ operatingHours?: {
693
+ 0: {
694
+ hours: {
695
+ end: string;
696
+ start: string;
697
+ }[];
698
+ enable: boolean;
699
+ };
700
+ 2: {
701
+ hours: {
702
+ end: string;
703
+ start: string;
704
+ }[];
705
+ enable: boolean;
706
+ };
707
+ 1: {
708
+ hours: {
709
+ end: string;
710
+ start: string;
711
+ }[];
712
+ enable: boolean;
713
+ };
714
+ 3: {
715
+ hours: {
716
+ end: string;
717
+ start: string;
718
+ }[];
719
+ enable: boolean;
720
+ };
721
+ 4: {
722
+ hours: {
723
+ end: string;
724
+ start: string;
725
+ }[];
726
+ enable: boolean;
727
+ };
728
+ 5: {
729
+ hours: {
730
+ end: string;
731
+ start: string;
732
+ }[];
733
+ enable: boolean;
734
+ };
735
+ 6: {
736
+ hours: {
737
+ end: string;
738
+ start: string;
739
+ }[];
740
+ enable: boolean;
741
+ };
742
+ } | null | undefined;
743
+ tags?: string[] | null | undefined;
744
+ url?: string | null | undefined;
745
+ };
746
+ };
747
+ }[] | null | undefined;
748
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
749
+ _id: string;
750
+ items: {
751
+ code?: string | null | undefined;
752
+ disabledMeasurements?: string[] | null | undefined;
753
+ type: "menu" | "sku" | "recipe";
754
+ id: string;
755
+ name: string;
756
+ }[];
757
+ name: string;
758
+ } | undefined;
759
+ show?: boolean | undefined;
760
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
761
+ 'onAction:edit'?: (() => void) | undefined;
762
+ }, WastageTemplateDetailsPropsWithEventBinding | {
763
+ template?: {
764
+ _rev?: string | null | undefined;
765
+ locations?: {
766
+ type: "restaurant" | "warehouse";
767
+ name: string;
768
+ acceptRequest: boolean;
769
+ dbName: string;
770
+ doc: {
771
+ _id: string;
772
+ businessId: string;
773
+ profile: {
774
+ code?: string | null | undefined;
775
+ _id?: string | null | undefined;
776
+ name?: string | undefined;
777
+ address?: {
778
+ coordinates?: number[] | null | undefined;
779
+ line2?: string | null | undefined;
780
+ state: string;
781
+ country: string;
782
+ line1: string;
783
+ city: string;
784
+ postcode: string;
785
+ } | undefined;
786
+ email?: string | undefined;
787
+ regNo?: string | undefined;
788
+ sstRegNo?: string | null | undefined;
789
+ phoneNo?: string | undefined;
790
+ legalName?: string | null | undefined;
791
+ discovery?: boolean | null | undefined;
792
+ coverPhoto?: string | null | undefined;
793
+ thumbnailPhoto?: string | null | undefined;
794
+ description?: string | null | undefined;
795
+ photos?: string[] | null | undefined;
796
+ operatingHours?: {
797
+ 0: {
798
+ hours: {
799
+ end: string;
800
+ start: string;
801
+ }[];
802
+ enable: boolean;
803
+ };
804
+ 2: {
805
+ hours: {
806
+ end: string;
807
+ start: string;
808
+ }[];
809
+ enable: boolean;
810
+ };
811
+ 1: {
812
+ hours: {
813
+ end: string;
814
+ start: string;
815
+ }[];
816
+ enable: boolean;
817
+ };
818
+ 3: {
819
+ hours: {
820
+ end: string;
821
+ start: string;
822
+ }[];
823
+ enable: boolean;
824
+ };
825
+ 4: {
826
+ hours: {
827
+ end: string;
828
+ start: string;
829
+ }[];
830
+ enable: boolean;
831
+ };
832
+ 5: {
833
+ hours: {
834
+ end: string;
835
+ start: string;
836
+ }[];
837
+ enable: boolean;
838
+ };
839
+ 6: {
840
+ hours: {
841
+ end: string;
842
+ start: string;
843
+ }[];
844
+ enable: boolean;
845
+ };
846
+ } | null | undefined;
847
+ tags?: string[] | null | undefined;
848
+ url?: string | null | undefined;
849
+ };
850
+ };
851
+ }[] | null | undefined;
852
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
853
+ _id: string;
854
+ items: {
855
+ code?: string | null | undefined;
856
+ disabledMeasurements?: string[] | null | undefined;
857
+ type: "menu" | "sku" | "recipe";
858
+ id: string;
859
+ name: string;
860
+ }[];
861
+ name: string;
862
+ } | undefined;
863
+ show?: boolean | undefined;
864
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
865
+ 'onAction:edit'?: (() => void) | undefined;
866
+ }>;
867
+ }, never>, Pick<{
868
+ createTemplate: () => void;
869
+ viewTemplate: (template: FdoAdjustmentTemplate) => void;
870
+ updateTemplate: (template: FdoAdjustmentTemplate) => void;
871
+ deleteTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
872
+ exportTemplates: () => void;
873
+ importTemplates: () => void;
874
+ templateDialogProps: Ref<{
875
+ mode?: FormMode | undefined;
876
+ modelValue?: {
877
+ _rev?: string | null | undefined;
878
+ locations?: {
879
+ type: "restaurant" | "warehouse";
880
+ name: string;
881
+ acceptRequest: boolean;
882
+ dbName: string;
883
+ doc: {
884
+ _id: string;
885
+ businessId: string;
886
+ profile: {
887
+ code?: string | null | undefined;
888
+ _id?: string | null | undefined;
889
+ name?: string | undefined;
890
+ address?: {
891
+ coordinates?: number[] | null | undefined;
892
+ line2?: string | null | undefined;
893
+ state: string;
894
+ country: string;
895
+ line1: string;
896
+ city: string;
897
+ postcode: string;
898
+ } | undefined;
899
+ email?: string | undefined;
900
+ regNo?: string | undefined;
901
+ sstRegNo?: string | null | undefined;
902
+ phoneNo?: string | undefined;
903
+ legalName?: string | null | undefined;
904
+ discovery?: boolean | null | undefined;
905
+ coverPhoto?: string | null | undefined;
906
+ thumbnailPhoto?: string | null | undefined;
907
+ description?: string | null | undefined;
908
+ photos?: string[] | null | undefined;
909
+ operatingHours?: {
910
+ 0: {
911
+ hours: {
912
+ end: string;
913
+ start: string;
914
+ }[];
915
+ enable: boolean;
916
+ };
917
+ 2: {
918
+ hours: {
919
+ end: string;
920
+ start: string;
921
+ }[];
922
+ enable: boolean;
923
+ };
924
+ 1: {
925
+ hours: {
926
+ end: string;
927
+ start: string;
928
+ }[];
929
+ enable: boolean;
930
+ };
931
+ 3: {
932
+ hours: {
933
+ end: string;
934
+ start: string;
935
+ }[];
936
+ enable: boolean;
937
+ };
938
+ 4: {
939
+ hours: {
940
+ end: string;
941
+ start: string;
942
+ }[];
943
+ enable: boolean;
944
+ };
945
+ 5: {
946
+ hours: {
947
+ end: string;
948
+ start: string;
949
+ }[];
950
+ enable: boolean;
951
+ };
952
+ 6: {
953
+ hours: {
954
+ end: string;
955
+ start: string;
956
+ }[];
957
+ enable: boolean;
958
+ };
959
+ } | null | undefined;
960
+ tags?: string[] | null | undefined;
961
+ url?: string | null | undefined;
962
+ };
963
+ };
964
+ }[] | null | undefined;
965
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
966
+ _id: string;
967
+ items: {
968
+ code?: string | null | undefined;
969
+ disabledMeasurements?: string[] | null | undefined;
970
+ type: "menu" | "sku" | "recipe";
971
+ id: string;
972
+ name: string;
973
+ }[];
974
+ name: string;
975
+ } | undefined;
976
+ show?: boolean | undefined;
977
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
978
+ onSubmitted?: (() => void) | undefined;
979
+ }, WastageTemplateDialogPropsWithEventBinding | {
980
+ mode?: FormMode | undefined;
981
+ modelValue?: {
982
+ _rev?: string | null | undefined;
983
+ locations?: {
984
+ type: "restaurant" | "warehouse";
985
+ name: string;
986
+ acceptRequest: boolean;
987
+ dbName: string;
988
+ doc: {
989
+ _id: string;
990
+ businessId: string;
991
+ profile: {
992
+ code?: string | null | undefined;
993
+ _id?: string | null | undefined;
994
+ name?: string | undefined;
995
+ address?: {
996
+ coordinates?: number[] | null | undefined;
997
+ line2?: string | null | undefined;
998
+ state: string;
999
+ country: string;
1000
+ line1: string;
1001
+ city: string;
1002
+ postcode: string;
1003
+ } | undefined;
1004
+ email?: string | undefined;
1005
+ regNo?: string | undefined;
1006
+ sstRegNo?: string | null | undefined;
1007
+ phoneNo?: string | undefined;
1008
+ legalName?: string | null | undefined;
1009
+ discovery?: boolean | null | undefined;
1010
+ coverPhoto?: string | null | undefined;
1011
+ thumbnailPhoto?: string | null | undefined;
1012
+ description?: string | null | undefined;
1013
+ photos?: string[] | null | undefined;
1014
+ operatingHours?: {
1015
+ 0: {
1016
+ hours: {
1017
+ end: string;
1018
+ start: string;
1019
+ }[];
1020
+ enable: boolean;
1021
+ };
1022
+ 2: {
1023
+ hours: {
1024
+ end: string;
1025
+ start: string;
1026
+ }[];
1027
+ enable: boolean;
1028
+ };
1029
+ 1: {
1030
+ hours: {
1031
+ end: string;
1032
+ start: string;
1033
+ }[];
1034
+ enable: boolean;
1035
+ };
1036
+ 3: {
1037
+ hours: {
1038
+ end: string;
1039
+ start: string;
1040
+ }[];
1041
+ enable: boolean;
1042
+ };
1043
+ 4: {
1044
+ hours: {
1045
+ end: string;
1046
+ start: string;
1047
+ }[];
1048
+ enable: boolean;
1049
+ };
1050
+ 5: {
1051
+ hours: {
1052
+ end: string;
1053
+ start: string;
1054
+ }[];
1055
+ enable: boolean;
1056
+ };
1057
+ 6: {
1058
+ hours: {
1059
+ end: string;
1060
+ start: string;
1061
+ }[];
1062
+ enable: boolean;
1063
+ };
1064
+ } | null | undefined;
1065
+ tags?: string[] | null | undefined;
1066
+ url?: string | null | undefined;
1067
+ };
1068
+ };
1069
+ }[] | null | undefined;
1070
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1071
+ _id: string;
1072
+ items: {
1073
+ code?: string | null | undefined;
1074
+ disabledMeasurements?: string[] | null | undefined;
1075
+ type: "menu" | "sku" | "recipe";
1076
+ id: string;
1077
+ name: string;
1078
+ }[];
1079
+ name: string;
1080
+ } | undefined;
1081
+ show?: boolean | undefined;
1082
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1083
+ onSubmitted?: (() => void) | undefined;
1084
+ }>;
1085
+ templateDetailsProps: Ref<{
1086
+ template?: {
1087
+ _rev?: string | null | undefined;
1088
+ locations?: {
1089
+ type: "restaurant" | "warehouse";
1090
+ name: string;
1091
+ acceptRequest: boolean;
1092
+ dbName: string;
1093
+ doc: {
1094
+ _id: string;
1095
+ businessId: string;
1096
+ profile: {
1097
+ code?: string | null | undefined;
1098
+ _id?: string | null | undefined;
1099
+ name?: string | undefined;
1100
+ address?: {
1101
+ coordinates?: number[] | null | undefined;
1102
+ line2?: string | null | undefined;
1103
+ state: string;
1104
+ country: string;
1105
+ line1: string;
1106
+ city: string;
1107
+ postcode: string;
1108
+ } | undefined;
1109
+ email?: string | undefined;
1110
+ regNo?: string | undefined;
1111
+ sstRegNo?: string | null | undefined;
1112
+ phoneNo?: string | undefined;
1113
+ legalName?: string | null | undefined;
1114
+ discovery?: boolean | null | undefined;
1115
+ coverPhoto?: string | null | undefined;
1116
+ thumbnailPhoto?: string | null | undefined;
1117
+ description?: string | null | undefined;
1118
+ photos?: string[] | null | undefined;
1119
+ operatingHours?: {
1120
+ 0: {
1121
+ hours: {
1122
+ end: string;
1123
+ start: string;
1124
+ }[];
1125
+ enable: boolean;
1126
+ };
1127
+ 2: {
1128
+ hours: {
1129
+ end: string;
1130
+ start: string;
1131
+ }[];
1132
+ enable: boolean;
1133
+ };
1134
+ 1: {
1135
+ hours: {
1136
+ end: string;
1137
+ start: string;
1138
+ }[];
1139
+ enable: boolean;
1140
+ };
1141
+ 3: {
1142
+ hours: {
1143
+ end: string;
1144
+ start: string;
1145
+ }[];
1146
+ enable: boolean;
1147
+ };
1148
+ 4: {
1149
+ hours: {
1150
+ end: string;
1151
+ start: string;
1152
+ }[];
1153
+ enable: boolean;
1154
+ };
1155
+ 5: {
1156
+ hours: {
1157
+ end: string;
1158
+ start: string;
1159
+ }[];
1160
+ enable: boolean;
1161
+ };
1162
+ 6: {
1163
+ hours: {
1164
+ end: string;
1165
+ start: string;
1166
+ }[];
1167
+ enable: boolean;
1168
+ };
1169
+ } | null | undefined;
1170
+ tags?: string[] | null | undefined;
1171
+ url?: string | null | undefined;
1172
+ };
1173
+ };
1174
+ }[] | null | undefined;
1175
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1176
+ _id: string;
1177
+ items: {
1178
+ code?: string | null | undefined;
1179
+ disabledMeasurements?: string[] | null | undefined;
1180
+ type: "menu" | "sku" | "recipe";
1181
+ id: string;
1182
+ name: string;
1183
+ }[];
1184
+ name: string;
1185
+ } | undefined;
1186
+ show?: boolean | undefined;
1187
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1188
+ 'onAction:edit'?: (() => void) | undefined;
1189
+ }, WastageTemplateDetailsPropsWithEventBinding | {
1190
+ template?: {
1191
+ _rev?: string | null | undefined;
1192
+ locations?: {
1193
+ type: "restaurant" | "warehouse";
1194
+ name: string;
1195
+ acceptRequest: boolean;
1196
+ dbName: string;
1197
+ doc: {
1198
+ _id: string;
1199
+ businessId: string;
1200
+ profile: {
1201
+ code?: string | null | undefined;
1202
+ _id?: string | null | undefined;
1203
+ name?: string | undefined;
1204
+ address?: {
1205
+ coordinates?: number[] | null | undefined;
1206
+ line2?: string | null | undefined;
1207
+ state: string;
1208
+ country: string;
1209
+ line1: string;
1210
+ city: string;
1211
+ postcode: string;
1212
+ } | undefined;
1213
+ email?: string | undefined;
1214
+ regNo?: string | undefined;
1215
+ sstRegNo?: string | null | undefined;
1216
+ phoneNo?: string | undefined;
1217
+ legalName?: string | null | undefined;
1218
+ discovery?: boolean | null | undefined;
1219
+ coverPhoto?: string | null | undefined;
1220
+ thumbnailPhoto?: string | null | undefined;
1221
+ description?: string | null | undefined;
1222
+ photos?: string[] | null | undefined;
1223
+ operatingHours?: {
1224
+ 0: {
1225
+ hours: {
1226
+ end: string;
1227
+ start: string;
1228
+ }[];
1229
+ enable: boolean;
1230
+ };
1231
+ 2: {
1232
+ hours: {
1233
+ end: string;
1234
+ start: string;
1235
+ }[];
1236
+ enable: boolean;
1237
+ };
1238
+ 1: {
1239
+ hours: {
1240
+ end: string;
1241
+ start: string;
1242
+ }[];
1243
+ enable: boolean;
1244
+ };
1245
+ 3: {
1246
+ hours: {
1247
+ end: string;
1248
+ start: string;
1249
+ }[];
1250
+ enable: boolean;
1251
+ };
1252
+ 4: {
1253
+ hours: {
1254
+ end: string;
1255
+ start: string;
1256
+ }[];
1257
+ enable: boolean;
1258
+ };
1259
+ 5: {
1260
+ hours: {
1261
+ end: string;
1262
+ start: string;
1263
+ }[];
1264
+ enable: boolean;
1265
+ };
1266
+ 6: {
1267
+ hours: {
1268
+ end: string;
1269
+ start: string;
1270
+ }[];
1271
+ enable: boolean;
1272
+ };
1273
+ } | null | undefined;
1274
+ tags?: string[] | null | undefined;
1275
+ url?: string | null | undefined;
1276
+ };
1277
+ };
1278
+ }[] | null | undefined;
1279
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1280
+ _id: string;
1281
+ items: {
1282
+ code?: string | null | undefined;
1283
+ disabledMeasurements?: string[] | null | undefined;
1284
+ type: "menu" | "sku" | "recipe";
1285
+ id: string;
1286
+ name: string;
1287
+ }[];
1288
+ name: string;
1289
+ } | undefined;
1290
+ show?: boolean | undefined;
1291
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1292
+ 'onAction:edit'?: (() => void) | undefined;
1293
+ }>;
1294
+ }, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate" | "exportTemplates" | "importTemplates">>;
1295
+ export {};