@feedmepos/mf-inventory-portal 1.0.7-dev.1 → 1.0.7
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-zspCOQeF.js → App-DF14rGlK.js} +49 -50
- package/dist/{ApprovalView-CKJV87es.js → ApprovalView-C_xhq-_c.js} +24 -24
- package/dist/{BindingsDialog-CTmuzAWi.js → BindingsDialog-CCY1fDj8.js} +4 -4
- package/dist/{BindingsPicker-Dabonsov.js → BindingsPicker-CnXbK5O3.js} +6 -6
- package/dist/{BindingsTable-L0yzAoQq.js → BindingsTable-cQIUUuVv.js} +8 -8
- package/dist/{ClosingDraftView-CddxqfNi.js → ClosingDraftView-DUZ31x3s.js} +463 -464
- package/dist/{ClosingTemplateView-BsW-nPec.js → ClosingTemplateView-6ysEDEcV.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-DQ4msDpJ.js → DeliveryOrderPrintPreview-BGjFS8h7.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-TnVI2vdF.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CanJ2fzb.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRvXmLV6.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BcKtJQMt.js} +86 -86
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BHLx7Lbo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bb9xMoX-.js} +1 -1
- package/dist/{IngredientGroupView-CF2GLMSD.js → IngredientGroupView-i08KHlW7.js} +11 -11
- package/dist/{IngredientsView-DopQVz7u.js → IngredientsView-D0tBukwK.js} +14 -15
- package/dist/{IntegrationView-EnD2l7af.js → IntegrationView-BqCrKL13.js} +85 -86
- package/dist/{InventoryBindingForm-VP2_coNH.js → InventoryBindingForm-BJwIFQVS.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-dQF7h_Jp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DU9j1Q8M.js} +27 -27
- package/dist/{InventoryBindingSummary-BCEXzmFu.js → InventoryBindingSummary-B2M3Th8T.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-RfkBlwxw.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BH4A_Lc5.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CGgxjz4P.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CdxCyEBi.js} +10 -10
- package/dist/{PublishView-ExvxeKR_.js → PublishView-B9x92vDM.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-59AaXtZ_.js → PurchaseOrderPrintPreview-MbGDNmgh.js} +4 -4
- package/dist/{ReceiveRequestView-BxGss8gu.js → ReceiveRequestView-CTNycYUr.js} +52 -53
- package/dist/{RecipeView-BqTsG4xX.js → RecipeView-sHTcJgzP.js} +32 -32
- package/dist/{StockView-D-WvydHv.js → StockView-CUv4dcGJ.js} +72 -73
- package/dist/{SupplierView-C6ruAEih.js → SupplierView-hu6OhDss.js} +11 -12
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CCKlQGMf.js +1746 -0
- package/dist/{TransferTemplateView-qSA3Txpn.js → TransferTemplateView-DMSkUc0D.js} +290 -291
- package/dist/{UnitView-oHDOLM8k.js → UnitView-B5q7IVbT.js} +23 -23
- package/dist/{WarehouseView-C3EqYfCf.js → WarehouseView-Ds6z4Vz6.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 +44 -44
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/api/purchase-order.d.ts +1 -5
- package/dist/{app-DqrcGlGd.js → app-BmsY87Mv.js} +17641 -17171
- package/dist/app.d.ts +7 -7
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +8 -8
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
- package/dist/{decimal-rgCB5DGy.js → decimal-Baw9w4_A.js} +1 -1
- package/dist/{format-unit-display-DUWzu8vU.js → format-unit-display-D0_KiU3j.js} +60 -60
- package/dist/{index-YgIaxVhw.js → index-CDydl7WA.js} +1 -1
- package/dist/{index-CH3OzDYK.js → index-C_GU5Tc8.js} +6 -7
- package/dist/{stock-BPNYXwz1.js → stock-C-hm8Kdq.js} +1 -1
- package/dist/stores/feature.d.ts +20 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +7 -7
- package/dist/stores/inventory.d.ts +44 -44
- package/dist/stores/location.d.ts +137 -137
- package/dist/{supplier-CnrH580K.js → supplier-RX_yr24c.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CpnJoeWb.js → use-ingredient-select-dialog-BZhczMUl.js} +1 -1
- package/dist/{use-inventory-binding-dialog-DHvNwt_F.js → use-inventory-binding-dialog-dV-92pLe.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 +68 -68
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +408 -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/AddLocationDialog.vue.d.ts +204 -204
- package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +647 -675
- 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-receive-request-form.d.ts +1146 -1194
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1170 -1218
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- 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 +813 -813
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +813 -813
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/{vue-i18n-4m7yAqU2.js → vue-i18n-sbHu6D5a.js} +426 -426
- package/package.json +3 -5
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CQ-Om_rI.js +0 -1894
- package/dist/composable/usePromise.d.ts +0 -41
- package/dist/feature-CifIpcNk.js +0 -17345
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -614
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @deprecated use enum from
|
|
2
|
+
* @deprecated use enum from FdoInventoryLocationType
|
|
3
3
|
*/
|
|
4
4
|
export declare const InventoryLocationType: {
|
|
5
5
|
restaurant: "restaurant";
|
|
@@ -12,8 +12,8 @@ export declare function useLocationStore(): {
|
|
|
12
12
|
_id: string;
|
|
13
13
|
updatedAt: string;
|
|
14
14
|
} | null | undefined;
|
|
15
|
-
name: string;
|
|
16
15
|
type: "restaurant" | "warehouse";
|
|
16
|
+
name: string;
|
|
17
17
|
acceptRequest: boolean;
|
|
18
18
|
dbName: string;
|
|
19
19
|
doc: {
|
|
@@ -21,14 +21,26 @@ export declare function useLocationStore(): {
|
|
|
21
21
|
businessId: string;
|
|
22
22
|
profile: {
|
|
23
23
|
code?: string | null | undefined;
|
|
24
|
-
url?: string | null | undefined;
|
|
25
|
-
description?: string | null | undefined;
|
|
26
24
|
_id?: string | null | undefined;
|
|
27
|
-
|
|
25
|
+
name?: string | undefined;
|
|
26
|
+
address?: {
|
|
27
|
+
coordinates?: number[] | null | undefined;
|
|
28
|
+
line2?: string | null | undefined;
|
|
29
|
+
state: string;
|
|
30
|
+
country: string;
|
|
31
|
+
line1: string;
|
|
32
|
+
city: string;
|
|
33
|
+
postcode: string;
|
|
34
|
+
} | undefined;
|
|
35
|
+
email?: string | undefined;
|
|
36
|
+
regNo?: string | undefined;
|
|
28
37
|
sstRegNo?: string | null | undefined;
|
|
38
|
+
phoneNo?: string | undefined;
|
|
39
|
+
legalName?: string | null | undefined;
|
|
29
40
|
discovery?: boolean | null | undefined;
|
|
30
41
|
coverPhoto?: string | null | undefined;
|
|
31
42
|
thumbnailPhoto?: string | null | undefined;
|
|
43
|
+
description?: string | null | undefined;
|
|
32
44
|
photos?: string[] | null | undefined;
|
|
33
45
|
operatingHours?: {
|
|
34
46
|
0: {
|
|
@@ -82,19 +94,7 @@ export declare function useLocationStore(): {
|
|
|
82
94
|
};
|
|
83
95
|
} | null | undefined;
|
|
84
96
|
tags?: string[] | null | undefined;
|
|
85
|
-
|
|
86
|
-
address: {
|
|
87
|
-
coordinates?: number[] | null | undefined;
|
|
88
|
-
line2?: string | null | undefined;
|
|
89
|
-
state: string;
|
|
90
|
-
country: string;
|
|
91
|
-
line1: string;
|
|
92
|
-
city: string;
|
|
93
|
-
postcode: string;
|
|
94
|
-
};
|
|
95
|
-
email: string;
|
|
96
|
-
phoneNo: string;
|
|
97
|
-
regNo: string;
|
|
97
|
+
url?: string | null | undefined;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
} | null;
|
|
@@ -103,8 +103,8 @@ export declare function useLocationStore(): {
|
|
|
103
103
|
_id: string;
|
|
104
104
|
updatedAt: string;
|
|
105
105
|
} | null | undefined;
|
|
106
|
-
name: string;
|
|
107
106
|
type: "restaurant" | "warehouse";
|
|
107
|
+
name: string;
|
|
108
108
|
acceptRequest: boolean;
|
|
109
109
|
dbName: string;
|
|
110
110
|
doc: {
|
|
@@ -112,14 +112,26 @@ export declare function useLocationStore(): {
|
|
|
112
112
|
businessId: string;
|
|
113
113
|
profile: {
|
|
114
114
|
code?: string | null | undefined;
|
|
115
|
-
url?: string | null | undefined;
|
|
116
|
-
description?: string | null | undefined;
|
|
117
115
|
_id?: string | null | undefined;
|
|
118
|
-
|
|
116
|
+
name?: string | undefined;
|
|
117
|
+
address?: {
|
|
118
|
+
coordinates?: number[] | null | undefined;
|
|
119
|
+
line2?: string | null | undefined;
|
|
120
|
+
state: string;
|
|
121
|
+
country: string;
|
|
122
|
+
line1: string;
|
|
123
|
+
city: string;
|
|
124
|
+
postcode: string;
|
|
125
|
+
} | undefined;
|
|
126
|
+
email?: string | undefined;
|
|
127
|
+
regNo?: string | undefined;
|
|
119
128
|
sstRegNo?: string | null | undefined;
|
|
129
|
+
phoneNo?: string | undefined;
|
|
130
|
+
legalName?: string | null | undefined;
|
|
120
131
|
discovery?: boolean | null | undefined;
|
|
121
132
|
coverPhoto?: string | null | undefined;
|
|
122
133
|
thumbnailPhoto?: string | null | undefined;
|
|
134
|
+
description?: string | null | undefined;
|
|
123
135
|
photos?: string[] | null | undefined;
|
|
124
136
|
operatingHours?: {
|
|
125
137
|
0: {
|
|
@@ -173,19 +185,7 @@ export declare function useLocationStore(): {
|
|
|
173
185
|
};
|
|
174
186
|
} | null | undefined;
|
|
175
187
|
tags?: string[] | null | undefined;
|
|
176
|
-
|
|
177
|
-
address: {
|
|
178
|
-
coordinates?: number[] | null | undefined;
|
|
179
|
-
line2?: string | null | undefined;
|
|
180
|
-
state: string;
|
|
181
|
-
country: string;
|
|
182
|
-
line1: string;
|
|
183
|
-
city: string;
|
|
184
|
-
postcode: string;
|
|
185
|
-
};
|
|
186
|
-
email: string;
|
|
187
|
-
phoneNo: string;
|
|
188
|
-
regNo: string;
|
|
188
|
+
url?: string | null | undefined;
|
|
189
189
|
};
|
|
190
190
|
};
|
|
191
191
|
}[] | null;
|
|
@@ -195,8 +195,8 @@ export declare function useLocationStore(): {
|
|
|
195
195
|
_id: string;
|
|
196
196
|
updatedAt: string;
|
|
197
197
|
} | null | undefined;
|
|
198
|
-
name: string;
|
|
199
198
|
type: "restaurant" | "warehouse";
|
|
199
|
+
name: string;
|
|
200
200
|
acceptRequest: boolean;
|
|
201
201
|
dbName: string;
|
|
202
202
|
doc: {
|
|
@@ -204,14 +204,26 @@ export declare function useLocationStore(): {
|
|
|
204
204
|
businessId: string;
|
|
205
205
|
profile: {
|
|
206
206
|
code?: string | null | undefined;
|
|
207
|
-
url?: string | null | undefined;
|
|
208
|
-
description?: string | null | undefined;
|
|
209
207
|
_id?: string | null | undefined;
|
|
210
|
-
|
|
208
|
+
name?: string | undefined;
|
|
209
|
+
address?: {
|
|
210
|
+
coordinates?: number[] | null | undefined;
|
|
211
|
+
line2?: string | null | undefined;
|
|
212
|
+
state: string;
|
|
213
|
+
country: string;
|
|
214
|
+
line1: string;
|
|
215
|
+
city: string;
|
|
216
|
+
postcode: string;
|
|
217
|
+
} | undefined;
|
|
218
|
+
email?: string | undefined;
|
|
219
|
+
regNo?: string | undefined;
|
|
211
220
|
sstRegNo?: string | null | undefined;
|
|
221
|
+
phoneNo?: string | undefined;
|
|
222
|
+
legalName?: string | null | undefined;
|
|
212
223
|
discovery?: boolean | null | undefined;
|
|
213
224
|
coverPhoto?: string | null | undefined;
|
|
214
225
|
thumbnailPhoto?: string | null | undefined;
|
|
226
|
+
description?: string | null | undefined;
|
|
215
227
|
photos?: string[] | null | undefined;
|
|
216
228
|
operatingHours?: {
|
|
217
229
|
0: {
|
|
@@ -265,19 +277,7 @@ export declare function useLocationStore(): {
|
|
|
265
277
|
};
|
|
266
278
|
} | null | undefined;
|
|
267
279
|
tags?: string[] | null | undefined;
|
|
268
|
-
|
|
269
|
-
address: {
|
|
270
|
-
coordinates?: number[] | null | undefined;
|
|
271
|
-
line2?: string | null | undefined;
|
|
272
|
-
state: string;
|
|
273
|
-
country: string;
|
|
274
|
-
line1: string;
|
|
275
|
-
city: string;
|
|
276
|
-
postcode: string;
|
|
277
|
-
};
|
|
278
|
-
email: string;
|
|
279
|
-
phoneNo: string;
|
|
280
|
-
regNo: string;
|
|
280
|
+
url?: string | null | undefined;
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
283
|
} | null;
|
|
@@ -286,8 +286,8 @@ export declare function useLocationStore(): {
|
|
|
286
286
|
_id: string;
|
|
287
287
|
updatedAt: string;
|
|
288
288
|
} | null | undefined;
|
|
289
|
-
name: string;
|
|
290
289
|
type: "restaurant" | "warehouse";
|
|
290
|
+
name: string;
|
|
291
291
|
acceptRequest: boolean;
|
|
292
292
|
dbName: string;
|
|
293
293
|
doc: {
|
|
@@ -295,14 +295,26 @@ export declare function useLocationStore(): {
|
|
|
295
295
|
businessId: string;
|
|
296
296
|
profile: {
|
|
297
297
|
code?: string | null | undefined;
|
|
298
|
-
url?: string | null | undefined;
|
|
299
|
-
description?: string | null | undefined;
|
|
300
298
|
_id?: string | null | undefined;
|
|
301
|
-
|
|
299
|
+
name?: string | undefined;
|
|
300
|
+
address?: {
|
|
301
|
+
coordinates?: number[] | null | undefined;
|
|
302
|
+
line2?: string | null | undefined;
|
|
303
|
+
state: string;
|
|
304
|
+
country: string;
|
|
305
|
+
line1: string;
|
|
306
|
+
city: string;
|
|
307
|
+
postcode: string;
|
|
308
|
+
} | undefined;
|
|
309
|
+
email?: string | undefined;
|
|
310
|
+
regNo?: string | undefined;
|
|
302
311
|
sstRegNo?: string | null | undefined;
|
|
312
|
+
phoneNo?: string | undefined;
|
|
313
|
+
legalName?: string | null | undefined;
|
|
303
314
|
discovery?: boolean | null | undefined;
|
|
304
315
|
coverPhoto?: string | null | undefined;
|
|
305
316
|
thumbnailPhoto?: string | null | undefined;
|
|
317
|
+
description?: string | null | undefined;
|
|
306
318
|
photos?: string[] | null | undefined;
|
|
307
319
|
operatingHours?: {
|
|
308
320
|
0: {
|
|
@@ -356,19 +368,7 @@ export declare function useLocationStore(): {
|
|
|
356
368
|
};
|
|
357
369
|
} | null | undefined;
|
|
358
370
|
tags?: string[] | null | undefined;
|
|
359
|
-
|
|
360
|
-
address: {
|
|
361
|
-
coordinates?: number[] | null | undefined;
|
|
362
|
-
line2?: string | null | undefined;
|
|
363
|
-
state: string;
|
|
364
|
-
country: string;
|
|
365
|
-
line1: string;
|
|
366
|
-
city: string;
|
|
367
|
-
postcode: string;
|
|
368
|
-
};
|
|
369
|
-
email: string;
|
|
370
|
-
phoneNo: string;
|
|
371
|
-
regNo: string;
|
|
371
|
+
url?: string | null | undefined;
|
|
372
372
|
};
|
|
373
373
|
};
|
|
374
374
|
}[] | null;
|
|
@@ -378,8 +378,8 @@ export declare function useLocationStore(): {
|
|
|
378
378
|
_id: string;
|
|
379
379
|
updatedAt: string;
|
|
380
380
|
} | null | undefined;
|
|
381
|
-
name: string;
|
|
382
381
|
type: "restaurant" | "warehouse";
|
|
382
|
+
name: string;
|
|
383
383
|
acceptRequest: boolean;
|
|
384
384
|
dbName: string;
|
|
385
385
|
doc: {
|
|
@@ -387,14 +387,26 @@ export declare function useLocationStore(): {
|
|
|
387
387
|
businessId: string;
|
|
388
388
|
profile: {
|
|
389
389
|
code?: string | null | undefined;
|
|
390
|
-
url?: string | null | undefined;
|
|
391
|
-
description?: string | null | undefined;
|
|
392
390
|
_id?: string | null | undefined;
|
|
393
|
-
|
|
391
|
+
name?: string | undefined;
|
|
392
|
+
address?: {
|
|
393
|
+
coordinates?: number[] | null | undefined;
|
|
394
|
+
line2?: string | null | undefined;
|
|
395
|
+
state: string;
|
|
396
|
+
country: string;
|
|
397
|
+
line1: string;
|
|
398
|
+
city: string;
|
|
399
|
+
postcode: string;
|
|
400
|
+
} | undefined;
|
|
401
|
+
email?: string | undefined;
|
|
402
|
+
regNo?: string | undefined;
|
|
394
403
|
sstRegNo?: string | null | undefined;
|
|
404
|
+
phoneNo?: string | undefined;
|
|
405
|
+
legalName?: string | null | undefined;
|
|
395
406
|
discovery?: boolean | null | undefined;
|
|
396
407
|
coverPhoto?: string | null | undefined;
|
|
397
408
|
thumbnailPhoto?: string | null | undefined;
|
|
409
|
+
description?: string | null | undefined;
|
|
398
410
|
photos?: string[] | null | undefined;
|
|
399
411
|
operatingHours?: {
|
|
400
412
|
0: {
|
|
@@ -448,19 +460,7 @@ export declare function useLocationStore(): {
|
|
|
448
460
|
};
|
|
449
461
|
} | null | undefined;
|
|
450
462
|
tags?: string[] | null | undefined;
|
|
451
|
-
|
|
452
|
-
address: {
|
|
453
|
-
coordinates?: number[] | null | undefined;
|
|
454
|
-
line2?: string | null | undefined;
|
|
455
|
-
state: string;
|
|
456
|
-
country: string;
|
|
457
|
-
line1: string;
|
|
458
|
-
city: string;
|
|
459
|
-
postcode: string;
|
|
460
|
-
};
|
|
461
|
-
email: string;
|
|
462
|
-
phoneNo: string;
|
|
463
|
-
regNo: string;
|
|
463
|
+
url?: string | null | undefined;
|
|
464
464
|
};
|
|
465
465
|
};
|
|
466
466
|
}>;
|
|
@@ -469,8 +469,8 @@ export declare function useLocationStore(): {
|
|
|
469
469
|
_id: string;
|
|
470
470
|
updatedAt: string;
|
|
471
471
|
} | null | undefined;
|
|
472
|
-
name: string;
|
|
473
472
|
type: "restaurant" | "warehouse";
|
|
473
|
+
name: string;
|
|
474
474
|
acceptRequest: boolean;
|
|
475
475
|
dbName: string;
|
|
476
476
|
doc: {
|
|
@@ -478,14 +478,26 @@ export declare function useLocationStore(): {
|
|
|
478
478
|
businessId: string;
|
|
479
479
|
profile: {
|
|
480
480
|
code?: string | null | undefined;
|
|
481
|
-
url?: string | null | undefined;
|
|
482
|
-
description?: string | null | undefined;
|
|
483
481
|
_id?: string | null | undefined;
|
|
484
|
-
|
|
482
|
+
name?: string | undefined;
|
|
483
|
+
address?: {
|
|
484
|
+
coordinates?: number[] | null | undefined;
|
|
485
|
+
line2?: string | null | undefined;
|
|
486
|
+
state: string;
|
|
487
|
+
country: string;
|
|
488
|
+
line1: string;
|
|
489
|
+
city: string;
|
|
490
|
+
postcode: string;
|
|
491
|
+
} | undefined;
|
|
492
|
+
email?: string | undefined;
|
|
493
|
+
regNo?: string | undefined;
|
|
485
494
|
sstRegNo?: string | null | undefined;
|
|
495
|
+
phoneNo?: string | undefined;
|
|
496
|
+
legalName?: string | null | undefined;
|
|
486
497
|
discovery?: boolean | null | undefined;
|
|
487
498
|
coverPhoto?: string | null | undefined;
|
|
488
499
|
thumbnailPhoto?: string | null | undefined;
|
|
500
|
+
description?: string | null | undefined;
|
|
489
501
|
photos?: string[] | null | undefined;
|
|
490
502
|
operatingHours?: {
|
|
491
503
|
0: {
|
|
@@ -539,19 +551,7 @@ export declare function useLocationStore(): {
|
|
|
539
551
|
};
|
|
540
552
|
} | null | undefined;
|
|
541
553
|
tags?: string[] | null | undefined;
|
|
542
|
-
|
|
543
|
-
address: {
|
|
544
|
-
coordinates?: number[] | null | undefined;
|
|
545
|
-
line2?: string | null | undefined;
|
|
546
|
-
state: string;
|
|
547
|
-
country: string;
|
|
548
|
-
line1: string;
|
|
549
|
-
city: string;
|
|
550
|
-
postcode: string;
|
|
551
|
-
};
|
|
552
|
-
email: string;
|
|
553
|
-
phoneNo: string;
|
|
554
|
-
regNo: string;
|
|
554
|
+
url?: string | null | undefined;
|
|
555
555
|
};
|
|
556
556
|
};
|
|
557
557
|
};
|
|
@@ -563,8 +563,8 @@ export declare function useLocationStore(): {
|
|
|
563
563
|
_id: string;
|
|
564
564
|
updatedAt: string;
|
|
565
565
|
} | null | undefined;
|
|
566
|
-
name: string;
|
|
567
566
|
type: "restaurant" | "warehouse";
|
|
567
|
+
name: string;
|
|
568
568
|
acceptRequest: boolean;
|
|
569
569
|
dbName: string;
|
|
570
570
|
doc: {
|
|
@@ -572,14 +572,26 @@ export declare function useLocationStore(): {
|
|
|
572
572
|
businessId: string;
|
|
573
573
|
profile: {
|
|
574
574
|
code?: string | null | undefined;
|
|
575
|
-
url?: string | null | undefined;
|
|
576
|
-
description?: string | null | undefined;
|
|
577
575
|
_id?: string | null | undefined;
|
|
578
|
-
|
|
576
|
+
name?: string | undefined;
|
|
577
|
+
address?: {
|
|
578
|
+
coordinates?: number[] | null | undefined;
|
|
579
|
+
line2?: string | null | undefined;
|
|
580
|
+
state: string;
|
|
581
|
+
country: string;
|
|
582
|
+
line1: string;
|
|
583
|
+
city: string;
|
|
584
|
+
postcode: string;
|
|
585
|
+
} | undefined;
|
|
586
|
+
email?: string | undefined;
|
|
587
|
+
regNo?: string | undefined;
|
|
579
588
|
sstRegNo?: string | null | undefined;
|
|
589
|
+
phoneNo?: string | undefined;
|
|
590
|
+
legalName?: string | null | undefined;
|
|
580
591
|
discovery?: boolean | null | undefined;
|
|
581
592
|
coverPhoto?: string | null | undefined;
|
|
582
593
|
thumbnailPhoto?: string | null | undefined;
|
|
594
|
+
description?: string | null | undefined;
|
|
583
595
|
photos?: string[] | null | undefined;
|
|
584
596
|
operatingHours?: {
|
|
585
597
|
0: {
|
|
@@ -633,19 +645,7 @@ export declare function useLocationStore(): {
|
|
|
633
645
|
};
|
|
634
646
|
} | null | undefined;
|
|
635
647
|
tags?: string[] | null | undefined;
|
|
636
|
-
|
|
637
|
-
address: {
|
|
638
|
-
coordinates?: number[] | null | undefined;
|
|
639
|
-
line2?: string | null | undefined;
|
|
640
|
-
state: string;
|
|
641
|
-
country: string;
|
|
642
|
-
line1: string;
|
|
643
|
-
city: string;
|
|
644
|
-
postcode: string;
|
|
645
|
-
};
|
|
646
|
-
email: string;
|
|
647
|
-
phoneNo: string;
|
|
648
|
-
regNo: string;
|
|
648
|
+
url?: string | null | undefined;
|
|
649
649
|
};
|
|
650
650
|
};
|
|
651
651
|
}[];
|
|
@@ -655,8 +655,8 @@ export declare function useLocationStore(): {
|
|
|
655
655
|
_id: string;
|
|
656
656
|
updatedAt: string;
|
|
657
657
|
} | null | undefined;
|
|
658
|
-
name: string;
|
|
659
658
|
type: "restaurant" | "warehouse";
|
|
659
|
+
name: string;
|
|
660
660
|
acceptRequest: boolean;
|
|
661
661
|
dbName: string;
|
|
662
662
|
doc: {
|
|
@@ -664,14 +664,26 @@ export declare function useLocationStore(): {
|
|
|
664
664
|
businessId: string;
|
|
665
665
|
profile: {
|
|
666
666
|
code?: string | null | undefined;
|
|
667
|
-
url?: string | null | undefined;
|
|
668
|
-
description?: string | null | undefined;
|
|
669
667
|
_id?: string | null | undefined;
|
|
670
|
-
|
|
668
|
+
name?: string | undefined;
|
|
669
|
+
address?: {
|
|
670
|
+
coordinates?: number[] | null | undefined;
|
|
671
|
+
line2?: string | null | undefined;
|
|
672
|
+
state: string;
|
|
673
|
+
country: string;
|
|
674
|
+
line1: string;
|
|
675
|
+
city: string;
|
|
676
|
+
postcode: string;
|
|
677
|
+
} | undefined;
|
|
678
|
+
email?: string | undefined;
|
|
679
|
+
regNo?: string | undefined;
|
|
671
680
|
sstRegNo?: string | null | undefined;
|
|
681
|
+
phoneNo?: string | undefined;
|
|
682
|
+
legalName?: string | null | undefined;
|
|
672
683
|
discovery?: boolean | null | undefined;
|
|
673
684
|
coverPhoto?: string | null | undefined;
|
|
674
685
|
thumbnailPhoto?: string | null | undefined;
|
|
686
|
+
description?: string | null | undefined;
|
|
675
687
|
photos?: string[] | null | undefined;
|
|
676
688
|
operatingHours?: {
|
|
677
689
|
0: {
|
|
@@ -725,19 +737,7 @@ export declare function useLocationStore(): {
|
|
|
725
737
|
};
|
|
726
738
|
} | null | undefined;
|
|
727
739
|
tags?: string[] | null | undefined;
|
|
728
|
-
|
|
729
|
-
address: {
|
|
730
|
-
coordinates?: number[] | null | undefined;
|
|
731
|
-
line2?: string | null | undefined;
|
|
732
|
-
state: string;
|
|
733
|
-
country: string;
|
|
734
|
-
line1: string;
|
|
735
|
-
city: string;
|
|
736
|
-
postcode: string;
|
|
737
|
-
};
|
|
738
|
-
email: string;
|
|
739
|
-
phoneNo: string;
|
|
740
|
-
regNo: string;
|
|
740
|
+
url?: string | null | undefined;
|
|
741
741
|
};
|
|
742
742
|
};
|
|
743
743
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as m, u, w as y, al as b, am as w } from "./app-BmsY87Mv.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
|
-
import { defineStore as
|
|
3
|
+
import { defineStore as v } from "pinia";
|
|
4
4
|
import { ref as l, computed as d } from "vue";
|
|
5
5
|
const i = m((t, p) => {
|
|
6
6
|
function a() {
|
|
@@ -39,7 +39,7 @@ const i = m((t, p) => {
|
|
|
39
39
|
return await p.delete(r, s);
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
}), f =
|
|
42
|
+
}), f = v("supplier", () => {
|
|
43
43
|
const t = l(new Array()), p = l(new Array()), a = d(() => [...t.value, ...p.value]), s = d(() => y(a.value, "_id"));
|
|
44
44
|
return {
|
|
45
45
|
async readSuppliers() {
|
|
@@ -63,7 +63,7 @@ const i = m((t, p) => {
|
|
|
63
63
|
try {
|
|
64
64
|
await this.readSuppliers();
|
|
65
65
|
} catch (r) {
|
|
66
|
-
throw r instanceof
|
|
66
|
+
throw r instanceof w || e.error("Error at reading suppliers"), r;
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
suppliers: a,
|