@feedmepos/mf-inventory-portal 1.0.8 → 1.0.9-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-DeBNx7kq.js → App-DfxhucPn.js} +50 -49
- package/dist/{ApprovalView-CYgDG4X-.js → ApprovalView-BUYgTb8S.js} +24 -24
- package/dist/{BindingsDialog-Bojdsd9h.js → BindingsDialog-Cbs9aVch.js} +2 -2
- package/dist/{BindingsPicker-TkiARkrC.js → BindingsPicker-BH9bil6g.js} +3 -3
- package/dist/{BindingsTable-BWYaPoFt.js → BindingsTable-DBsS_9yb.js} +1 -1
- package/dist/ClosingDraftView-CcQssDLY.js +1415 -0
- package/dist/{ClosingTemplateView-CUjkAFjw.js → ClosingTemplateView-BHPqi-bL.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-BOEKl7zP.js → DeliveryOrderPrintPreview-DlTLtZ1f.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bve5cng3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CtJSPDCo.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-1-G4gmCj.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B-erI7fq.js} +51 -51
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bl526zYj.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DT4nyE8i.js} +1 -1
- package/dist/{IngredientGroupView-stli1Xiv.js → IngredientGroupView-DE15kdqH.js} +11 -11
- package/dist/{IngredientsView-jmDSRSkr.js → IngredientsView-BCEznLxB.js} +15 -14
- package/dist/{IntegrationView-BQZtDqlR.js → IntegrationView-COSJuqnB.js} +146 -145
- package/dist/{InventoryBindingForm-hHgB20dI.js → InventoryBindingForm-B3C8gktf.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BK36mlQE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bn2X1jxB.js} +20 -20
- package/dist/{InventoryBindingSummary-JsAhd0Jm.js → InventoryBindingSummary-BF1OtGum.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4A6bDPB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMTXHa4I.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C6bND0mn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CZR7wF6-.js} +10 -10
- package/dist/{PublishView-BK7WwXeV.js → PublishView-Cp5tpVb0.js} +12 -12
- package/dist/{PurchaseOrderPrintPreview-CMnaZkzc.js → PurchaseOrderPrintPreview-DWOcxCH8.js} +4 -4
- package/dist/{ReceiveRequestView-Bb6RQyJ8.js → ReceiveRequestView-CRuhm8r1.js} +53 -52
- package/dist/{RecipeView-CZnElbJ8.js → RecipeView-BTS1LBKZ.js} +29 -29
- package/dist/{StockView-CDAHrTyi.js → StockView-CuK8s5rt.js} +73 -72
- package/dist/{SupplierView-WTgrwbJ_.js → SupplierView-Bwpe9RoM.js} +12 -11
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DDAZMTzq.js +1897 -0
- package/dist/{TransferTemplateView-26w6orAY.js → TransferTemplateView-BlluEiV-.js} +291 -290
- package/dist/{UnitView-DAl0OS01.js → UnitView-BWGQHOWP.js} +23 -23
- package/dist/{WarehouseView-Db2wXza_.js → WarehouseView-dOCu22dg.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 +5 -1
- package/dist/api/stock.d.ts +1 -0
- package/dist/{app-Ch3IXeOL.js → app-BkIAyhP-.js} +16504 -16961
- 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/composable/usePromise.d.ts +41 -0
- package/dist/{decimal-BFWsfQmw.js → decimal-BiC7uGww.js} +1 -1
- package/dist/feature-CCDDWpq8.js +17319 -0
- package/dist/{format-unit-display-CyBzA_Ye.js → format-unit-display-CLa0op_h.js} +60 -60
- package/dist/{index-CKB7R0y2.js → index-BbFvsU1Z.js} +7 -6
- package/dist/{index-CSjhH3PC.js → index-UgbyiGok.js} +1 -1
- package/dist/{stock-BjY9UvKO.js → stock-SxO4bxTm.js} +29 -25
- package/dist/stores/feature.d.ts +5 -20
- 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-8x-ZFcOk.js → supplier-BVdCk7nI.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CxZAaSGc.js → use-ingredient-select-dialog-CDeGXhur.js} +1 -1
- package/dist/{use-inventory-binding-dialog-Kmg24YiM.js → use-inventory-binding-dialog-CeRKqMy7.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 +780 -74
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +424 -409
- 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 +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 +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 +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-CXd9SF_G.js → vue-i18n-3Mh8tKq8.js} +341 -341
- package/package.json +3 -1
- package/dist/ClosingDraftView-C0ECZ9zi.js +0 -1394
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-mHNmxBuV.js +0 -1746
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @deprecated use enum from
|
|
2
|
+
* @deprecated use enum from F_INVENTORY_LOCATION_TYPE
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
16
15
|
name: string;
|
|
16
|
+
type: "restaurant" | "warehouse";
|
|
17
17
|
acceptRequest: boolean;
|
|
18
18
|
dbName: string;
|
|
19
19
|
doc: {
|
|
@@ -21,26 +21,14 @@ 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;
|
|
24
26
|
_id?: string | null | undefined;
|
|
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;
|
|
37
|
-
sstRegNo?: string | null | undefined;
|
|
38
|
-
phoneNo?: string | undefined;
|
|
39
27
|
legalName?: string | null | undefined;
|
|
28
|
+
sstRegNo?: string | null | undefined;
|
|
40
29
|
discovery?: boolean | null | undefined;
|
|
41
30
|
coverPhoto?: string | null | undefined;
|
|
42
31
|
thumbnailPhoto?: string | null | undefined;
|
|
43
|
-
description?: string | null | undefined;
|
|
44
32
|
photos?: string[] | null | undefined;
|
|
45
33
|
operatingHours?: {
|
|
46
34
|
0: {
|
|
@@ -94,7 +82,19 @@ export declare function useLocationStore(): {
|
|
|
94
82
|
};
|
|
95
83
|
} | null | undefined;
|
|
96
84
|
tags?: string[] | null | undefined;
|
|
97
|
-
|
|
85
|
+
name: string;
|
|
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;
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
107
106
|
name: string;
|
|
107
|
+
type: "restaurant" | "warehouse";
|
|
108
108
|
acceptRequest: boolean;
|
|
109
109
|
dbName: string;
|
|
110
110
|
doc: {
|
|
@@ -112,26 +112,14 @@ 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;
|
|
115
117
|
_id?: string | null | undefined;
|
|
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;
|
|
128
|
-
sstRegNo?: string | null | undefined;
|
|
129
|
-
phoneNo?: string | undefined;
|
|
130
118
|
legalName?: string | null | undefined;
|
|
119
|
+
sstRegNo?: string | null | undefined;
|
|
131
120
|
discovery?: boolean | null | undefined;
|
|
132
121
|
coverPhoto?: string | null | undefined;
|
|
133
122
|
thumbnailPhoto?: string | null | undefined;
|
|
134
|
-
description?: string | null | undefined;
|
|
135
123
|
photos?: string[] | null | undefined;
|
|
136
124
|
operatingHours?: {
|
|
137
125
|
0: {
|
|
@@ -185,7 +173,19 @@ export declare function useLocationStore(): {
|
|
|
185
173
|
};
|
|
186
174
|
} | null | undefined;
|
|
187
175
|
tags?: string[] | null | undefined;
|
|
188
|
-
|
|
176
|
+
name: string;
|
|
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;
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
199
198
|
name: string;
|
|
199
|
+
type: "restaurant" | "warehouse";
|
|
200
200
|
acceptRequest: boolean;
|
|
201
201
|
dbName: string;
|
|
202
202
|
doc: {
|
|
@@ -204,26 +204,14 @@ 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;
|
|
207
209
|
_id?: string | null | undefined;
|
|
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;
|
|
220
|
-
sstRegNo?: string | null | undefined;
|
|
221
|
-
phoneNo?: string | undefined;
|
|
222
210
|
legalName?: string | null | undefined;
|
|
211
|
+
sstRegNo?: string | null | undefined;
|
|
223
212
|
discovery?: boolean | null | undefined;
|
|
224
213
|
coverPhoto?: string | null | undefined;
|
|
225
214
|
thumbnailPhoto?: string | null | undefined;
|
|
226
|
-
description?: string | null | undefined;
|
|
227
215
|
photos?: string[] | null | undefined;
|
|
228
216
|
operatingHours?: {
|
|
229
217
|
0: {
|
|
@@ -277,7 +265,19 @@ export declare function useLocationStore(): {
|
|
|
277
265
|
};
|
|
278
266
|
} | null | undefined;
|
|
279
267
|
tags?: string[] | null | undefined;
|
|
280
|
-
|
|
268
|
+
name: string;
|
|
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;
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
290
289
|
name: string;
|
|
290
|
+
type: "restaurant" | "warehouse";
|
|
291
291
|
acceptRequest: boolean;
|
|
292
292
|
dbName: string;
|
|
293
293
|
doc: {
|
|
@@ -295,26 +295,14 @@ 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;
|
|
298
300
|
_id?: string | null | undefined;
|
|
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;
|
|
311
|
-
sstRegNo?: string | null | undefined;
|
|
312
|
-
phoneNo?: string | undefined;
|
|
313
301
|
legalName?: string | null | undefined;
|
|
302
|
+
sstRegNo?: string | null | undefined;
|
|
314
303
|
discovery?: boolean | null | undefined;
|
|
315
304
|
coverPhoto?: string | null | undefined;
|
|
316
305
|
thumbnailPhoto?: string | null | undefined;
|
|
317
|
-
description?: string | null | undefined;
|
|
318
306
|
photos?: string[] | null | undefined;
|
|
319
307
|
operatingHours?: {
|
|
320
308
|
0: {
|
|
@@ -368,7 +356,19 @@ export declare function useLocationStore(): {
|
|
|
368
356
|
};
|
|
369
357
|
} | null | undefined;
|
|
370
358
|
tags?: string[] | null | undefined;
|
|
371
|
-
|
|
359
|
+
name: string;
|
|
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;
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
382
381
|
name: string;
|
|
382
|
+
type: "restaurant" | "warehouse";
|
|
383
383
|
acceptRequest: boolean;
|
|
384
384
|
dbName: string;
|
|
385
385
|
doc: {
|
|
@@ -387,26 +387,14 @@ 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;
|
|
390
392
|
_id?: string | null | undefined;
|
|
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;
|
|
403
|
-
sstRegNo?: string | null | undefined;
|
|
404
|
-
phoneNo?: string | undefined;
|
|
405
393
|
legalName?: string | null | undefined;
|
|
394
|
+
sstRegNo?: string | null | undefined;
|
|
406
395
|
discovery?: boolean | null | undefined;
|
|
407
396
|
coverPhoto?: string | null | undefined;
|
|
408
397
|
thumbnailPhoto?: string | null | undefined;
|
|
409
|
-
description?: string | null | undefined;
|
|
410
398
|
photos?: string[] | null | undefined;
|
|
411
399
|
operatingHours?: {
|
|
412
400
|
0: {
|
|
@@ -460,7 +448,19 @@ export declare function useLocationStore(): {
|
|
|
460
448
|
};
|
|
461
449
|
} | null | undefined;
|
|
462
450
|
tags?: string[] | null | undefined;
|
|
463
|
-
|
|
451
|
+
name: string;
|
|
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;
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
473
472
|
name: string;
|
|
473
|
+
type: "restaurant" | "warehouse";
|
|
474
474
|
acceptRequest: boolean;
|
|
475
475
|
dbName: string;
|
|
476
476
|
doc: {
|
|
@@ -478,26 +478,14 @@ 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;
|
|
481
483
|
_id?: string | null | undefined;
|
|
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;
|
|
494
|
-
sstRegNo?: string | null | undefined;
|
|
495
|
-
phoneNo?: string | undefined;
|
|
496
484
|
legalName?: string | null | undefined;
|
|
485
|
+
sstRegNo?: string | null | undefined;
|
|
497
486
|
discovery?: boolean | null | undefined;
|
|
498
487
|
coverPhoto?: string | null | undefined;
|
|
499
488
|
thumbnailPhoto?: string | null | undefined;
|
|
500
|
-
description?: string | null | undefined;
|
|
501
489
|
photos?: string[] | null | undefined;
|
|
502
490
|
operatingHours?: {
|
|
503
491
|
0: {
|
|
@@ -551,7 +539,19 @@ export declare function useLocationStore(): {
|
|
|
551
539
|
};
|
|
552
540
|
} | null | undefined;
|
|
553
541
|
tags?: string[] | null | undefined;
|
|
554
|
-
|
|
542
|
+
name: string;
|
|
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;
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
567
566
|
name: string;
|
|
567
|
+
type: "restaurant" | "warehouse";
|
|
568
568
|
acceptRequest: boolean;
|
|
569
569
|
dbName: string;
|
|
570
570
|
doc: {
|
|
@@ -572,26 +572,14 @@ 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;
|
|
575
577
|
_id?: string | null | undefined;
|
|
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;
|
|
588
|
-
sstRegNo?: string | null | undefined;
|
|
589
|
-
phoneNo?: string | undefined;
|
|
590
578
|
legalName?: string | null | undefined;
|
|
579
|
+
sstRegNo?: string | null | undefined;
|
|
591
580
|
discovery?: boolean | null | undefined;
|
|
592
581
|
coverPhoto?: string | null | undefined;
|
|
593
582
|
thumbnailPhoto?: string | null | undefined;
|
|
594
|
-
description?: string | null | undefined;
|
|
595
583
|
photos?: string[] | null | undefined;
|
|
596
584
|
operatingHours?: {
|
|
597
585
|
0: {
|
|
@@ -645,7 +633,19 @@ export declare function useLocationStore(): {
|
|
|
645
633
|
};
|
|
646
634
|
} | null | undefined;
|
|
647
635
|
tags?: string[] | null | undefined;
|
|
648
|
-
|
|
636
|
+
name: string;
|
|
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;
|
|
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
|
-
type: "restaurant" | "warehouse";
|
|
659
658
|
name: string;
|
|
659
|
+
type: "restaurant" | "warehouse";
|
|
660
660
|
acceptRequest: boolean;
|
|
661
661
|
dbName: string;
|
|
662
662
|
doc: {
|
|
@@ -664,26 +664,14 @@ 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;
|
|
667
669
|
_id?: string | null | undefined;
|
|
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;
|
|
680
|
-
sstRegNo?: string | null | undefined;
|
|
681
|
-
phoneNo?: string | undefined;
|
|
682
670
|
legalName?: string | null | undefined;
|
|
671
|
+
sstRegNo?: string | null | undefined;
|
|
683
672
|
discovery?: boolean | null | undefined;
|
|
684
673
|
coverPhoto?: string | null | undefined;
|
|
685
674
|
thumbnailPhoto?: string | null | undefined;
|
|
686
|
-
description?: string | null | undefined;
|
|
687
675
|
photos?: string[] | null | undefined;
|
|
688
676
|
operatingHours?: {
|
|
689
677
|
0: {
|
|
@@ -737,7 +725,19 @@ export declare function useLocationStore(): {
|
|
|
737
725
|
};
|
|
738
726
|
} | null | undefined;
|
|
739
727
|
tags?: string[] | null | undefined;
|
|
740
|
-
|
|
728
|
+
name: string;
|
|
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;
|
|
741
741
|
};
|
|
742
742
|
};
|
|
743
743
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { X as m, u, v as y, ak as b, al as v } from "./app-BkIAyhP-.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
|
-
import { defineStore as
|
|
3
|
+
import { defineStore as w } 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 = w("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 v || e.error("Error at reading suppliers"), r;
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
suppliers: a,
|