@feedmepos/mf-inventory-portal 1.0.9 → 1.0.10-dev.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.
- package/dist/{App-RT4bBubX.js → App-COPx00z6.js} +50 -49
- package/dist/{ApprovalView-BgOWHNMD.js → ApprovalView-DEtUW_BD.js} +24 -24
- package/dist/{BindingsDialog-Dip74zuT.js → BindingsDialog-8WUk3Dv3.js} +2 -2
- package/dist/{BindingsPicker-DMQXwEn4.js → BindingsPicker-D8ABQZWj.js} +7 -7
- package/dist/{BindingsTable-Czz32F7d.js → BindingsTable-E4ObCYZW.js} +5 -5
- package/dist/{ClosingDraftView-Ps4DgRNG.js → ClosingDraftView-BuwTXzoD.js} +499 -498
- package/dist/{ClosingTemplateView-EjVLgUCH.js → ClosingTemplateView-Dwlu2WDi.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-C52aY34D.js → DeliveryOrderPrintPreview-CZQP0ZBf.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MSqPw_6t.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CIpktJ_p.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DbN_e9U8.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BAsfttD3.js} +51 -51
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DHuB4hRb.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BtLdE9Qw.js} +1 -1
- package/dist/{IngredientGroupView-CRTjNc-p.js → IngredientGroupView-DKncarkj.js} +11 -11
- package/dist/{IngredientsView-CuLOu_v9.js → IngredientsView-DJhR4pNL.js} +15 -14
- package/dist/IntegrationView-DbehNBiT.js +10361 -0
- package/dist/{InventoryBindingForm-C1NfSdOs.js → InventoryBindingForm-CakKTaAx.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BJ7h3Nr6.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-qrYebXqE.js} +94 -89
- package/dist/{InventoryBindingSummary-CFjSwhxA.js → InventoryBindingSummary-ax4kqODn.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B73N8AvB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BD8iRcNk.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-rve3vJhu.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D13DAIwe.js} +10 -10
- package/dist/{PublishView-Bj0JawUb.js → PublishView-BMQzmmkT.js} +12 -12
- package/dist/{PurchaseOrderPrintPreview-DCAZVrDM.js → PurchaseOrderPrintPreview-CdbxZWLq.js} +4 -4
- package/dist/{ReceiveRequestView-B_bWd1hC.js → ReceiveRequestView-Blxchs0k.js} +53 -52
- package/dist/RecipeView-Bnigp2lS.js +8493 -0
- package/dist/{StockView-CsZ2hfAY.js → StockView-B4p6XQPR.js} +73 -72
- package/dist/{SupplierView-BUaouKYm.js → SupplierView-ojORzTSY.js} +12 -11
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-G478rFCP.js +1894 -0
- package/dist/{TransferTemplateView-Rq7N13OR.js → TransferTemplateView-DTN23wTJ.js} +291 -290
- package/dist/{UnitView-C9j2RjtY.js → UnitView-w-bUgjIw.js} +23 -23
- package/dist/{WarehouseView-Ct6TWKej.js → WarehouseView-cJ7u4vTr.js} +26 -26
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +110 -44
- package/dist/api/netsuite.d.ts +191 -8
- package/dist/api/purchase-order.d.ts +5 -1
- package/dist/{app-Cryb1Kx8.js → app-DtLEhFCD.js} +19871 -19809
- package/dist/app.d.ts +7 -7
- package/dist/app.js +2 -2
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +30 -8
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +27 -5
- package/dist/composable/usePromise.d.ts +41 -0
- package/dist/{decimal-Ko0ukH7B.js → decimal-D0mDm48J.js} +1 -1
- package/dist/feature-GZEf4CLT.js +17427 -0
- package/dist/{format-unit-display-C1sTywhb.js → format-unit-display-Dl7kbJn1.js} +60 -60
- package/dist/{index-BAyyesj2.js → index-BglOiNaU.js} +7 -6
- package/dist/{index-WgH7CKAS.js → index-DKLr1Nm9.js} +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/{stock-BVCXjojk.js → stock-V0Qm2pTD.js} +3 -3
- package/dist/stores/feature.d.ts +3 -20
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +22 -7
- package/dist/stores/inventory.d.ts +132 -44
- package/dist/stores/location.d.ts +137 -137
- package/dist/{supplier-Brxhm840.js → supplier-DK4PWcz4.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DCAYNC6e.js → use-ingredient-select-dialog-BfJ-qHni.js} +1 -1
- package/dist/{use-inventory-binding-dialog-TYwx9mzF.js → use-inventory-binding-dialog-C5IYjwW5.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
- package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +140 -136
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +420 -408
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +48 -0
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +180 -0
- package/dist/views/integration/components/netsuite/NetSuiteSideSheet.vue.d.ts +24 -0
- package/dist/views/integration/components/netsuite/NetSuiteSideSheetProps.d.ts +8 -0
- package/dist/views/integration/components/netsuite/{AddLocationDialog.vue.d.ts → business/AddLocationDialog.vue.d.ts} +204 -204
- package/dist/views/integration/components/netsuite/{LocationConfigurationDialog.vue.d.ts → business/BusinessNetSuiteSideSheet.vue.d.ts} +3 -3
- package/dist/views/integration/components/netsuite/{LocationConfigurationDialogProps.d.ts → business/BusinessNetSuiteSideSheetProps.d.ts} +1 -5
- package/dist/views/integration/components/netsuite/{NetSuiteLocationField.vue.d.ts → business/NetSuiteLocationField.vue.d.ts} +11 -9
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +665 -637
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1190 -1142
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1192 -1144
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +46 -2
- package/dist/views/recipe/components/recipe-override-form-field/RecipeOverrideFormField.vue.d.ts +61 -0
- package/dist/views/recipe/composables/use-recipe-overrides-form-field.d.ts +10 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/vue-i18n-3LoKMrMa.js +2365 -0
- package/package.json +8 -5
- package/dist/IntegrationView-DXxwE0z8.js +0 -2148
- package/dist/RecipeView-m7aSOTrT.js +0 -616
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DqImAdxA.js +0 -1746
- package/dist/vue-i18n-B-kKlljK.js +0 -2365
package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
48
48
|
};
|
|
49
49
|
id: string;
|
|
50
50
|
}[] | null | undefined;
|
|
51
|
+
stockSnapshotAt?: string | null | undefined;
|
|
51
52
|
approvedAt?: string | null | undefined;
|
|
52
53
|
approvedBy?: {
|
|
53
54
|
name: string;
|
|
@@ -80,12 +81,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
81
|
precision: number;
|
|
81
82
|
};
|
|
82
83
|
} | null | undefined;
|
|
84
|
+
id: string;
|
|
83
85
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
84
86
|
amount: {
|
|
85
87
|
amount: number;
|
|
86
88
|
precision: number;
|
|
87
89
|
};
|
|
88
|
-
id: string;
|
|
89
90
|
}[] | null | undefined;
|
|
90
91
|
} | null | undefined;
|
|
91
92
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -111,6 +112,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
112
|
mid: number;
|
|
112
113
|
} | null | undefined;
|
|
113
114
|
customAttributes?: Record<string, any> | null | undefined;
|
|
115
|
+
_id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
code: string;
|
|
114
118
|
unit: {
|
|
115
119
|
_id: string;
|
|
116
120
|
name: string;
|
|
@@ -126,15 +130,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
130
|
};
|
|
127
131
|
}[];
|
|
128
132
|
};
|
|
129
|
-
code: string;
|
|
130
|
-
_id: string;
|
|
131
|
-
name: string;
|
|
132
133
|
};
|
|
133
134
|
baseAmount: {
|
|
134
135
|
amount: number;
|
|
135
136
|
precision: number;
|
|
136
137
|
};
|
|
137
138
|
measurementsAmounts: {
|
|
139
|
+
amount: {
|
|
140
|
+
amount: number;
|
|
141
|
+
precision: number;
|
|
142
|
+
};
|
|
138
143
|
measurement: {
|
|
139
144
|
id: string;
|
|
140
145
|
name: string;
|
|
@@ -144,14 +149,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
149
|
precision: number;
|
|
145
150
|
};
|
|
146
151
|
};
|
|
147
|
-
amount: {
|
|
148
|
-
amount: number;
|
|
149
|
-
precision: number;
|
|
150
|
-
};
|
|
151
152
|
}[];
|
|
152
153
|
}[] | null | undefined;
|
|
153
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
154
154
|
_id: string;
|
|
155
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
155
156
|
items: {
|
|
156
157
|
remark?: string | null | undefined;
|
|
157
158
|
sku: {
|
|
@@ -168,12 +169,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
168
169
|
precision: number;
|
|
169
170
|
};
|
|
170
171
|
} | null | undefined;
|
|
172
|
+
id: string;
|
|
171
173
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
172
174
|
amount: {
|
|
173
175
|
amount: number;
|
|
174
176
|
precision: number;
|
|
175
177
|
};
|
|
176
|
-
id: string;
|
|
177
178
|
}[] | null | undefined;
|
|
178
179
|
} | null | undefined;
|
|
179
180
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -199,6 +200,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
200
|
mid: number;
|
|
200
201
|
} | null | undefined;
|
|
201
202
|
customAttributes?: Record<string, any> | null | undefined;
|
|
203
|
+
_id: string;
|
|
204
|
+
name: string;
|
|
205
|
+
code: string;
|
|
202
206
|
unit: {
|
|
203
207
|
_id: string;
|
|
204
208
|
name: string;
|
|
@@ -214,15 +218,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
214
218
|
};
|
|
215
219
|
}[];
|
|
216
220
|
};
|
|
217
|
-
code: string;
|
|
218
|
-
_id: string;
|
|
219
|
-
name: string;
|
|
220
221
|
};
|
|
221
222
|
baseAmount: {
|
|
222
223
|
amount: number;
|
|
223
224
|
precision: number;
|
|
224
225
|
};
|
|
225
226
|
measurementsAmounts: {
|
|
227
|
+
amount: {
|
|
228
|
+
amount: number;
|
|
229
|
+
precision: number;
|
|
230
|
+
};
|
|
226
231
|
measurement: {
|
|
227
232
|
id: string;
|
|
228
233
|
name: string;
|
|
@@ -232,10 +237,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
232
237
|
precision: number;
|
|
233
238
|
};
|
|
234
239
|
};
|
|
235
|
-
amount: {
|
|
236
|
-
amount: number;
|
|
237
|
-
precision: number;
|
|
238
|
-
};
|
|
239
240
|
}[];
|
|
240
241
|
}[];
|
|
241
242
|
createdBy: {
|
|
@@ -253,8 +254,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
253
254
|
_id: string;
|
|
254
255
|
updatedAt: string;
|
|
255
256
|
} | null | undefined;
|
|
256
|
-
type: "restaurant" | "warehouse";
|
|
257
257
|
name: string;
|
|
258
|
+
type: "restaurant" | "warehouse";
|
|
258
259
|
acceptRequest: boolean;
|
|
259
260
|
dbName: string;
|
|
260
261
|
doc: {
|
|
@@ -262,26 +263,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
262
263
|
businessId: string;
|
|
263
264
|
profile: {
|
|
264
265
|
code?: string | null | undefined;
|
|
266
|
+
url?: string | null | undefined;
|
|
267
|
+
description?: string | null | undefined;
|
|
265
268
|
_id?: string | null | undefined;
|
|
266
|
-
name?: string | undefined;
|
|
267
|
-
address?: {
|
|
268
|
-
coordinates?: number[] | null | undefined;
|
|
269
|
-
line2?: string | null | undefined;
|
|
270
|
-
state: string;
|
|
271
|
-
country: string;
|
|
272
|
-
line1: string;
|
|
273
|
-
city: string;
|
|
274
|
-
postcode: string;
|
|
275
|
-
} | undefined;
|
|
276
|
-
email?: string | undefined;
|
|
277
|
-
regNo?: string | undefined;
|
|
278
|
-
sstRegNo?: string | null | undefined;
|
|
279
|
-
phoneNo?: string | undefined;
|
|
280
269
|
legalName?: string | null | undefined;
|
|
270
|
+
sstRegNo?: string | null | undefined;
|
|
281
271
|
discovery?: boolean | null | undefined;
|
|
282
272
|
coverPhoto?: string | null | undefined;
|
|
283
273
|
thumbnailPhoto?: string | null | undefined;
|
|
284
|
-
description?: string | null | undefined;
|
|
285
274
|
photos?: string[] | null | undefined;
|
|
286
275
|
operatingHours?: {
|
|
287
276
|
0: {
|
|
@@ -335,7 +324,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
335
324
|
};
|
|
336
325
|
} | null | undefined;
|
|
337
326
|
tags?: string[] | null | undefined;
|
|
338
|
-
|
|
327
|
+
name: string;
|
|
328
|
+
address: {
|
|
329
|
+
coordinates?: number[] | null | undefined;
|
|
330
|
+
line2?: string | null | undefined;
|
|
331
|
+
state: string;
|
|
332
|
+
country: string;
|
|
333
|
+
line1: string;
|
|
334
|
+
city: string;
|
|
335
|
+
postcode: string;
|
|
336
|
+
};
|
|
337
|
+
email: string;
|
|
338
|
+
phoneNo: string;
|
|
339
|
+
regNo: string;
|
|
339
340
|
};
|
|
340
341
|
};
|
|
341
342
|
}[] | null | undefined;
|
|
@@ -401,6 +402,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
401
402
|
};
|
|
402
403
|
id: string;
|
|
403
404
|
}[] | null | undefined;
|
|
405
|
+
stockSnapshotAt?: string | null | undefined;
|
|
404
406
|
approvedAt?: string | null | undefined;
|
|
405
407
|
approvedBy?: {
|
|
406
408
|
name: string;
|
|
@@ -433,12 +435,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
433
435
|
precision: number;
|
|
434
436
|
};
|
|
435
437
|
} | null | undefined;
|
|
438
|
+
id: string;
|
|
436
439
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
437
440
|
amount: {
|
|
438
441
|
amount: number;
|
|
439
442
|
precision: number;
|
|
440
443
|
};
|
|
441
|
-
id: string;
|
|
442
444
|
}[] | null | undefined;
|
|
443
445
|
} | null | undefined;
|
|
444
446
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -464,6 +466,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
464
466
|
mid: number;
|
|
465
467
|
} | null | undefined;
|
|
466
468
|
customAttributes?: Record<string, any> | null | undefined;
|
|
469
|
+
_id: string;
|
|
470
|
+
name: string;
|
|
471
|
+
code: string;
|
|
467
472
|
unit: {
|
|
468
473
|
_id: string;
|
|
469
474
|
name: string;
|
|
@@ -479,15 +484,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
479
484
|
};
|
|
480
485
|
}[];
|
|
481
486
|
};
|
|
482
|
-
code: string;
|
|
483
|
-
_id: string;
|
|
484
|
-
name: string;
|
|
485
487
|
};
|
|
486
488
|
baseAmount: {
|
|
487
489
|
amount: number;
|
|
488
490
|
precision: number;
|
|
489
491
|
};
|
|
490
492
|
measurementsAmounts: {
|
|
493
|
+
amount: {
|
|
494
|
+
amount: number;
|
|
495
|
+
precision: number;
|
|
496
|
+
};
|
|
491
497
|
measurement: {
|
|
492
498
|
id: string;
|
|
493
499
|
name: string;
|
|
@@ -497,14 +503,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
497
503
|
precision: number;
|
|
498
504
|
};
|
|
499
505
|
};
|
|
500
|
-
amount: {
|
|
501
|
-
amount: number;
|
|
502
|
-
precision: number;
|
|
503
|
-
};
|
|
504
506
|
}[];
|
|
505
507
|
}[] | null | undefined;
|
|
506
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
507
508
|
_id: string;
|
|
509
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
508
510
|
items: {
|
|
509
511
|
remark?: string | null | undefined;
|
|
510
512
|
sku: {
|
|
@@ -521,12 +523,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
521
523
|
precision: number;
|
|
522
524
|
};
|
|
523
525
|
} | null | undefined;
|
|
526
|
+
id: string;
|
|
524
527
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
525
528
|
amount: {
|
|
526
529
|
amount: number;
|
|
527
530
|
precision: number;
|
|
528
531
|
};
|
|
529
|
-
id: string;
|
|
530
532
|
}[] | null | undefined;
|
|
531
533
|
} | null | undefined;
|
|
532
534
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -552,6 +554,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
552
554
|
mid: number;
|
|
553
555
|
} | null | undefined;
|
|
554
556
|
customAttributes?: Record<string, any> | null | undefined;
|
|
557
|
+
_id: string;
|
|
558
|
+
name: string;
|
|
559
|
+
code: string;
|
|
555
560
|
unit: {
|
|
556
561
|
_id: string;
|
|
557
562
|
name: string;
|
|
@@ -567,15 +572,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
567
572
|
};
|
|
568
573
|
}[];
|
|
569
574
|
};
|
|
570
|
-
code: string;
|
|
571
|
-
_id: string;
|
|
572
|
-
name: string;
|
|
573
575
|
};
|
|
574
576
|
baseAmount: {
|
|
575
577
|
amount: number;
|
|
576
578
|
precision: number;
|
|
577
579
|
};
|
|
578
580
|
measurementsAmounts: {
|
|
581
|
+
amount: {
|
|
582
|
+
amount: number;
|
|
583
|
+
precision: number;
|
|
584
|
+
};
|
|
579
585
|
measurement: {
|
|
580
586
|
id: string;
|
|
581
587
|
name: string;
|
|
@@ -585,10 +591,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
585
591
|
precision: number;
|
|
586
592
|
};
|
|
587
593
|
};
|
|
588
|
-
amount: {
|
|
589
|
-
amount: number;
|
|
590
|
-
precision: number;
|
|
591
|
-
};
|
|
592
594
|
}[];
|
|
593
595
|
}[];
|
|
594
596
|
createdBy: {
|
|
@@ -606,8 +608,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
606
608
|
_id: string;
|
|
607
609
|
updatedAt: string;
|
|
608
610
|
} | null | undefined;
|
|
609
|
-
type: "restaurant" | "warehouse";
|
|
610
611
|
name: string;
|
|
612
|
+
type: "restaurant" | "warehouse";
|
|
611
613
|
acceptRequest: boolean;
|
|
612
614
|
dbName: string;
|
|
613
615
|
doc: {
|
|
@@ -615,26 +617,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
615
617
|
businessId: string;
|
|
616
618
|
profile: {
|
|
617
619
|
code?: string | null | undefined;
|
|
620
|
+
url?: string | null | undefined;
|
|
621
|
+
description?: string | null | undefined;
|
|
618
622
|
_id?: string | null | undefined;
|
|
619
|
-
name?: string | undefined;
|
|
620
|
-
address?: {
|
|
621
|
-
coordinates?: number[] | null | undefined;
|
|
622
|
-
line2?: string | null | undefined;
|
|
623
|
-
state: string;
|
|
624
|
-
country: string;
|
|
625
|
-
line1: string;
|
|
626
|
-
city: string;
|
|
627
|
-
postcode: string;
|
|
628
|
-
} | undefined;
|
|
629
|
-
email?: string | undefined;
|
|
630
|
-
regNo?: string | undefined;
|
|
631
|
-
sstRegNo?: string | null | undefined;
|
|
632
|
-
phoneNo?: string | undefined;
|
|
633
623
|
legalName?: string | null | undefined;
|
|
624
|
+
sstRegNo?: string | null | undefined;
|
|
634
625
|
discovery?: boolean | null | undefined;
|
|
635
626
|
coverPhoto?: string | null | undefined;
|
|
636
627
|
thumbnailPhoto?: string | null | undefined;
|
|
637
|
-
description?: string | null | undefined;
|
|
638
628
|
photos?: string[] | null | undefined;
|
|
639
629
|
operatingHours?: {
|
|
640
630
|
0: {
|
|
@@ -688,7 +678,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
688
678
|
};
|
|
689
679
|
} | null | undefined;
|
|
690
680
|
tags?: string[] | null | undefined;
|
|
691
|
-
|
|
681
|
+
name: string;
|
|
682
|
+
address: {
|
|
683
|
+
coordinates?: number[] | null | undefined;
|
|
684
|
+
line2?: string | null | undefined;
|
|
685
|
+
state: string;
|
|
686
|
+
country: string;
|
|
687
|
+
line1: string;
|
|
688
|
+
city: string;
|
|
689
|
+
postcode: string;
|
|
690
|
+
};
|
|
691
|
+
email: string;
|
|
692
|
+
phoneNo: string;
|
|
693
|
+
regNo: string;
|
|
692
694
|
};
|
|
693
695
|
};
|
|
694
696
|
}[] | null | undefined;
|
|
@@ -754,6 +756,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
754
756
|
};
|
|
755
757
|
id: string;
|
|
756
758
|
}[] | null | undefined;
|
|
759
|
+
stockSnapshotAt?: string | null | undefined;
|
|
757
760
|
approvedAt?: string | null | undefined;
|
|
758
761
|
approvedBy?: {
|
|
759
762
|
name: string;
|
|
@@ -786,12 +789,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
786
789
|
precision: number;
|
|
787
790
|
};
|
|
788
791
|
} | null | undefined;
|
|
792
|
+
id: string;
|
|
789
793
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
790
794
|
amount: {
|
|
791
795
|
amount: number;
|
|
792
796
|
precision: number;
|
|
793
797
|
};
|
|
794
|
-
id: string;
|
|
795
798
|
}[] | null | undefined;
|
|
796
799
|
} | null | undefined;
|
|
797
800
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -817,6 +820,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
817
820
|
mid: number;
|
|
818
821
|
} | null | undefined;
|
|
819
822
|
customAttributes?: Record<string, any> | null | undefined;
|
|
823
|
+
_id: string;
|
|
824
|
+
name: string;
|
|
825
|
+
code: string;
|
|
820
826
|
unit: {
|
|
821
827
|
_id: string;
|
|
822
828
|
name: string;
|
|
@@ -832,15 +838,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
832
838
|
};
|
|
833
839
|
}[];
|
|
834
840
|
};
|
|
835
|
-
code: string;
|
|
836
|
-
_id: string;
|
|
837
|
-
name: string;
|
|
838
841
|
};
|
|
839
842
|
baseAmount: {
|
|
840
843
|
amount: number;
|
|
841
844
|
precision: number;
|
|
842
845
|
};
|
|
843
846
|
measurementsAmounts: {
|
|
847
|
+
amount: {
|
|
848
|
+
amount: number;
|
|
849
|
+
precision: number;
|
|
850
|
+
};
|
|
844
851
|
measurement: {
|
|
845
852
|
id: string;
|
|
846
853
|
name: string;
|
|
@@ -850,14 +857,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
850
857
|
precision: number;
|
|
851
858
|
};
|
|
852
859
|
};
|
|
853
|
-
amount: {
|
|
854
|
-
amount: number;
|
|
855
|
-
precision: number;
|
|
856
|
-
};
|
|
857
860
|
}[];
|
|
858
861
|
}[] | null | undefined;
|
|
859
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
860
862
|
_id: string;
|
|
863
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
861
864
|
items: {
|
|
862
865
|
remark?: string | null | undefined;
|
|
863
866
|
sku: {
|
|
@@ -874,12 +877,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
874
877
|
precision: number;
|
|
875
878
|
};
|
|
876
879
|
} | null | undefined;
|
|
880
|
+
id: string;
|
|
877
881
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
878
882
|
amount: {
|
|
879
883
|
amount: number;
|
|
880
884
|
precision: number;
|
|
881
885
|
};
|
|
882
|
-
id: string;
|
|
883
886
|
}[] | null | undefined;
|
|
884
887
|
} | null | undefined;
|
|
885
888
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -905,6 +908,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
905
908
|
mid: number;
|
|
906
909
|
} | null | undefined;
|
|
907
910
|
customAttributes?: Record<string, any> | null | undefined;
|
|
911
|
+
_id: string;
|
|
912
|
+
name: string;
|
|
913
|
+
code: string;
|
|
908
914
|
unit: {
|
|
909
915
|
_id: string;
|
|
910
916
|
name: string;
|
|
@@ -920,15 +926,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
920
926
|
};
|
|
921
927
|
}[];
|
|
922
928
|
};
|
|
923
|
-
code: string;
|
|
924
|
-
_id: string;
|
|
925
|
-
name: string;
|
|
926
929
|
};
|
|
927
930
|
baseAmount: {
|
|
928
931
|
amount: number;
|
|
929
932
|
precision: number;
|
|
930
933
|
};
|
|
931
934
|
measurementsAmounts: {
|
|
935
|
+
amount: {
|
|
936
|
+
amount: number;
|
|
937
|
+
precision: number;
|
|
938
|
+
};
|
|
932
939
|
measurement: {
|
|
933
940
|
id: string;
|
|
934
941
|
name: string;
|
|
@@ -938,10 +945,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
938
945
|
precision: number;
|
|
939
946
|
};
|
|
940
947
|
};
|
|
941
|
-
amount: {
|
|
942
|
-
amount: number;
|
|
943
|
-
precision: number;
|
|
944
|
-
};
|
|
945
948
|
}[];
|
|
946
949
|
}[];
|
|
947
950
|
createdBy: {
|
|
@@ -959,8 +962,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
959
962
|
_id: string;
|
|
960
963
|
updatedAt: string;
|
|
961
964
|
} | null | undefined;
|
|
962
|
-
type: "restaurant" | "warehouse";
|
|
963
965
|
name: string;
|
|
966
|
+
type: "restaurant" | "warehouse";
|
|
964
967
|
acceptRequest: boolean;
|
|
965
968
|
dbName: string;
|
|
966
969
|
doc: {
|
|
@@ -968,26 +971,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
968
971
|
businessId: string;
|
|
969
972
|
profile: {
|
|
970
973
|
code?: string | null | undefined;
|
|
974
|
+
url?: string | null | undefined;
|
|
975
|
+
description?: string | null | undefined;
|
|
971
976
|
_id?: string | null | undefined;
|
|
972
|
-
name?: string | undefined;
|
|
973
|
-
address?: {
|
|
974
|
-
coordinates?: number[] | null | undefined;
|
|
975
|
-
line2?: string | null | undefined;
|
|
976
|
-
state: string;
|
|
977
|
-
country: string;
|
|
978
|
-
line1: string;
|
|
979
|
-
city: string;
|
|
980
|
-
postcode: string;
|
|
981
|
-
} | undefined;
|
|
982
|
-
email?: string | undefined;
|
|
983
|
-
regNo?: string | undefined;
|
|
984
|
-
sstRegNo?: string | null | undefined;
|
|
985
|
-
phoneNo?: string | undefined;
|
|
986
977
|
legalName?: string | null | undefined;
|
|
978
|
+
sstRegNo?: string | null | undefined;
|
|
987
979
|
discovery?: boolean | null | undefined;
|
|
988
980
|
coverPhoto?: string | null | undefined;
|
|
989
981
|
thumbnailPhoto?: string | null | undefined;
|
|
990
|
-
description?: string | null | undefined;
|
|
991
982
|
photos?: string[] | null | undefined;
|
|
992
983
|
operatingHours?: {
|
|
993
984
|
0: {
|
|
@@ -1041,7 +1032,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1041
1032
|
};
|
|
1042
1033
|
} | null | undefined;
|
|
1043
1034
|
tags?: string[] | null | undefined;
|
|
1044
|
-
|
|
1035
|
+
name: string;
|
|
1036
|
+
address: {
|
|
1037
|
+
coordinates?: number[] | null | undefined;
|
|
1038
|
+
line2?: string | null | undefined;
|
|
1039
|
+
state: string;
|
|
1040
|
+
country: string;
|
|
1041
|
+
line1: string;
|
|
1042
|
+
city: string;
|
|
1043
|
+
postcode: string;
|
|
1044
|
+
};
|
|
1045
|
+
email: string;
|
|
1046
|
+
phoneNo: string;
|
|
1047
|
+
regNo: string;
|
|
1045
1048
|
};
|
|
1046
1049
|
};
|
|
1047
1050
|
}[] | null | undefined;
|
|
@@ -1107,6 +1110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1107
1110
|
};
|
|
1108
1111
|
id: string;
|
|
1109
1112
|
}[] | null | undefined;
|
|
1113
|
+
stockSnapshotAt?: string | null | undefined;
|
|
1110
1114
|
approvedAt?: string | null | undefined;
|
|
1111
1115
|
approvedBy?: {
|
|
1112
1116
|
name: string;
|
|
@@ -1139,12 +1143,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1139
1143
|
precision: number;
|
|
1140
1144
|
};
|
|
1141
1145
|
} | null | undefined;
|
|
1146
|
+
id: string;
|
|
1142
1147
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1143
1148
|
amount: {
|
|
1144
1149
|
amount: number;
|
|
1145
1150
|
precision: number;
|
|
1146
1151
|
};
|
|
1147
|
-
id: string;
|
|
1148
1152
|
}[] | null | undefined;
|
|
1149
1153
|
} | null | undefined;
|
|
1150
1154
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1170,6 +1174,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1170
1174
|
mid: number;
|
|
1171
1175
|
} | null | undefined;
|
|
1172
1176
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1177
|
+
_id: string;
|
|
1178
|
+
name: string;
|
|
1179
|
+
code: string;
|
|
1173
1180
|
unit: {
|
|
1174
1181
|
_id: string;
|
|
1175
1182
|
name: string;
|
|
@@ -1185,15 +1192,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1185
1192
|
};
|
|
1186
1193
|
}[];
|
|
1187
1194
|
};
|
|
1188
|
-
code: string;
|
|
1189
|
-
_id: string;
|
|
1190
|
-
name: string;
|
|
1191
1195
|
};
|
|
1192
1196
|
baseAmount: {
|
|
1193
1197
|
amount: number;
|
|
1194
1198
|
precision: number;
|
|
1195
1199
|
};
|
|
1196
1200
|
measurementsAmounts: {
|
|
1201
|
+
amount: {
|
|
1202
|
+
amount: number;
|
|
1203
|
+
precision: number;
|
|
1204
|
+
};
|
|
1197
1205
|
measurement: {
|
|
1198
1206
|
id: string;
|
|
1199
1207
|
name: string;
|
|
@@ -1203,14 +1211,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1203
1211
|
precision: number;
|
|
1204
1212
|
};
|
|
1205
1213
|
};
|
|
1206
|
-
amount: {
|
|
1207
|
-
amount: number;
|
|
1208
|
-
precision: number;
|
|
1209
|
-
};
|
|
1210
1214
|
}[];
|
|
1211
1215
|
}[] | null | undefined;
|
|
1212
|
-
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1213
1216
|
_id: string;
|
|
1217
|
+
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1214
1218
|
items: {
|
|
1215
1219
|
remark?: string | null | undefined;
|
|
1216
1220
|
sku: {
|
|
@@ -1227,12 +1231,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1227
1231
|
precision: number;
|
|
1228
1232
|
};
|
|
1229
1233
|
} | null | undefined;
|
|
1234
|
+
id: string;
|
|
1230
1235
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1231
1236
|
amount: {
|
|
1232
1237
|
amount: number;
|
|
1233
1238
|
precision: number;
|
|
1234
1239
|
};
|
|
1235
|
-
id: string;
|
|
1236
1240
|
}[] | null | undefined;
|
|
1237
1241
|
} | null | undefined;
|
|
1238
1242
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1258,6 +1262,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1258
1262
|
mid: number;
|
|
1259
1263
|
} | null | undefined;
|
|
1260
1264
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1265
|
+
_id: string;
|
|
1266
|
+
name: string;
|
|
1267
|
+
code: string;
|
|
1261
1268
|
unit: {
|
|
1262
1269
|
_id: string;
|
|
1263
1270
|
name: string;
|
|
@@ -1273,15 +1280,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1273
1280
|
};
|
|
1274
1281
|
}[];
|
|
1275
1282
|
};
|
|
1276
|
-
code: string;
|
|
1277
|
-
_id: string;
|
|
1278
|
-
name: string;
|
|
1279
1283
|
};
|
|
1280
1284
|
baseAmount: {
|
|
1281
1285
|
amount: number;
|
|
1282
1286
|
precision: number;
|
|
1283
1287
|
};
|
|
1284
1288
|
measurementsAmounts: {
|
|
1289
|
+
amount: {
|
|
1290
|
+
amount: number;
|
|
1291
|
+
precision: number;
|
|
1292
|
+
};
|
|
1285
1293
|
measurement: {
|
|
1286
1294
|
id: string;
|
|
1287
1295
|
name: string;
|
|
@@ -1291,10 +1299,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1291
1299
|
precision: number;
|
|
1292
1300
|
};
|
|
1293
1301
|
};
|
|
1294
|
-
amount: {
|
|
1295
|
-
amount: number;
|
|
1296
|
-
precision: number;
|
|
1297
|
-
};
|
|
1298
1302
|
}[];
|
|
1299
1303
|
}[];
|
|
1300
1304
|
createdBy: {
|
|
@@ -1312,8 +1316,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1312
1316
|
_id: string;
|
|
1313
1317
|
updatedAt: string;
|
|
1314
1318
|
} | null | undefined;
|
|
1315
|
-
type: "restaurant" | "warehouse";
|
|
1316
1319
|
name: string;
|
|
1320
|
+
type: "restaurant" | "warehouse";
|
|
1317
1321
|
acceptRequest: boolean;
|
|
1318
1322
|
dbName: string;
|
|
1319
1323
|
doc: {
|
|
@@ -1321,26 +1325,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1321
1325
|
businessId: string;
|
|
1322
1326
|
profile: {
|
|
1323
1327
|
code?: string | null | undefined;
|
|
1328
|
+
url?: string | null | undefined;
|
|
1329
|
+
description?: string | null | undefined;
|
|
1324
1330
|
_id?: string | null | undefined;
|
|
1325
|
-
name?: string | undefined;
|
|
1326
|
-
address?: {
|
|
1327
|
-
coordinates?: number[] | null | undefined;
|
|
1328
|
-
line2?: string | null | undefined;
|
|
1329
|
-
state: string;
|
|
1330
|
-
country: string;
|
|
1331
|
-
line1: string;
|
|
1332
|
-
city: string;
|
|
1333
|
-
postcode: string;
|
|
1334
|
-
} | undefined;
|
|
1335
|
-
email?: string | undefined;
|
|
1336
|
-
regNo?: string | undefined;
|
|
1337
|
-
sstRegNo?: string | null | undefined;
|
|
1338
|
-
phoneNo?: string | undefined;
|
|
1339
1331
|
legalName?: string | null | undefined;
|
|
1332
|
+
sstRegNo?: string | null | undefined;
|
|
1340
1333
|
discovery?: boolean | null | undefined;
|
|
1341
1334
|
coverPhoto?: string | null | undefined;
|
|
1342
1335
|
thumbnailPhoto?: string | null | undefined;
|
|
1343
|
-
description?: string | null | undefined;
|
|
1344
1336
|
photos?: string[] | null | undefined;
|
|
1345
1337
|
operatingHours?: {
|
|
1346
1338
|
0: {
|
|
@@ -1394,7 +1386,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1394
1386
|
};
|
|
1395
1387
|
} | null | undefined;
|
|
1396
1388
|
tags?: string[] | null | undefined;
|
|
1397
|
-
|
|
1389
|
+
name: string;
|
|
1390
|
+
address: {
|
|
1391
|
+
coordinates?: number[] | null | undefined;
|
|
1392
|
+
line2?: string | null | undefined;
|
|
1393
|
+
state: string;
|
|
1394
|
+
country: string;
|
|
1395
|
+
line1: string;
|
|
1396
|
+
city: string;
|
|
1397
|
+
postcode: string;
|
|
1398
|
+
};
|
|
1399
|
+
email: string;
|
|
1400
|
+
phoneNo: string;
|
|
1401
|
+
regNo: string;
|
|
1398
1402
|
};
|
|
1399
1403
|
};
|
|
1400
1404
|
}[] | null | undefined;
|