@feedmepos/mf-inventory-portal 0.0.23-dev.31 → 0.0.23-dev.4

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