@feedmepos/mf-inventory-portal 1.2.7 → 1.2.8
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-BtLCesbn.js → App-D1IJlQS8.js} +1 -1
- package/dist/{ApprovalView-Ba4XBhGf.js → ApprovalView-GnDYWZHY.js} +69 -68
- package/dist/{BindingsDialog-BbBUniCu.js → BindingsDialog-Bs00N9mp.js} +2 -2
- package/dist/{BindingsPicker-C3q3ROku.js → BindingsPicker-LO15pMdZ.js} +1 -1
- package/dist/{BindingsTable-BTxWMif_.js → BindingsTable-g27KG9q4.js} +1 -1
- package/dist/{ClosingDraftView-DGITBnaY.js → ClosingDraftView-Ddsgcrmg.js} +203 -203
- package/dist/ClosingTemplateView-G8Ya81UZ.js +1862 -0
- package/dist/{DeliveryOrderPrintPreview-CUaHpblV.js → DeliveryOrderPrintPreview-qq1rhFKV.js} +8 -8
- package/dist/{FmAdminBadge-BdwGZY-f.js → FmAdminBadge-B2NpMmJi.js} +6 -6
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C1i9CHE1.js +230 -0
- package/dist/{FmMultiselectDialog-BETfHs3j.js → FmMultiselectDialog-u2dbuZUp.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BNdbeRQp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-vpiiv6C1.js} +23 -23
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-VYMMcwLl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-3T-d1pIb.js} +1 -1
- package/dist/{IngredientGroupView-C4d9b3Td.js → IngredientGroupView-CqB73-e4.js} +12 -12
- package/dist/IngredientsView-Cq42ytcN.js +2291 -0
- package/dist/{IntegrationView-CWFzRDWO.js → IntegrationView-OHnUGZst.js} +4 -4
- package/dist/{InventoryBindingForm-Cx0Prlq8.js → InventoryBindingForm-DorgxR-Y.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-cpR3Sf2Y.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CZy77tY7.js} +41 -41
- package/dist/{InventoryBindingSummary-l8XvpxVU.js → InventoryBindingSummary-B_YavyPb.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjRvIX-v.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-XuEDo134.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-gjuZveKy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Blq1oE5l.js} +11 -11
- package/dist/{PublishView-D2iUnDan.js → PublishView-Ds_ztGcV.js} +14 -14
- package/dist/{PurchaseOrderPrintPreview-DdLvM-wt.js → PurchaseOrderPrintPreview-DnyqN_xE.js} +11 -11
- package/dist/{ReceiveRequestView-DpF5ZzvH.js → ReceiveRequestView-ChpKsDaF.js} +148 -145
- package/dist/{RecipeView-Dvtm8o1Y.js → RecipeView-Dyp9Xcme.js} +49 -49
- package/dist/StockView-D-iP52Zw.js +2089 -0
- package/dist/{SupplierView-7GtIJ3Fz.js → SupplierView-BaEK3C8q.js} +1133 -1015
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B_ravTwn.js +3058 -0
- package/dist/{TransferTemplateView-Cmvg-yvW.js → TransferTemplateView-3zS7hNZz.js} +131 -130
- package/dist/{UnitView-DjVm1iVX.js → UnitView-BP5eztAG.js} +59 -59
- package/dist/WarehouseView-DMY7Lgwq.js +1066 -0
- package/dist/api/inventory.d.ts +8 -0
- package/dist/api/netsuite.d.ts +3 -0
- package/dist/api/purchase-order-template.d.ts +1 -0
- package/dist/api/purchase-order.d.ts +2 -0
- package/dist/api/shipment.d.ts +11 -0
- package/dist/api/warehouse.d.ts +3 -1
- package/dist/{app-Z-ylwRmy.js → app-P6XaUzjP.js} +17877 -17113
- package/dist/app.d.ts +96 -9
- package/dist/app.js +3 -3
- package/dist/closing-template-BGYZPBty.js +53 -0
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +9 -2
- package/dist/components/netsuite/SubsidiaryTreeDialog.vue.d.ts +2 -0
- package/dist/{decimal-D1pJ2776.js → decimal-wz5HXhQ8.js} +1 -1
- package/dist/{format-unit-display-9BMm-8A4.js → format-unit-display-DOOJqLop.js} +372 -404
- package/dist/{index-BOl10vcm.js → index-CHTB43Wl.js} +1 -1
- package/dist/{index-rEIM0AVC.js → index-oR0svfBM.js} +1 -1
- package/dist/purchase-order-template-BGunGekw.js +41 -0
- package/dist/{stock-B8ewk80v.js → stock-TJayQnag.js} +1 -1
- package/dist/stores/feature.d.ts +10 -0
- package/dist/stores/integration/netsuite.d.ts +19 -0
- package/dist/stores/inventory.d.ts +1 -0
- package/dist/stores/location.d.ts +57 -1
- package/dist/stores/supplier.d.ts +96 -0
- package/dist/stores/warehouse.d.ts +4 -0
- package/dist/{supplier-DLSXYY1o.js → supplier-C_vqpE92.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CTjwdY3T.js → use-ingredient-select-dialog-CIahwuTX.js} +5 -5
- package/dist/{use-inventory-binding-dialog-zXJB7MQY.js → use-inventory-binding-dialog-BiKRXVhY.js} +8 -8
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +24 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +6 -0
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
- package/dist/views/receive-request/components/delivery-order-form/CreateForm.vue.d.ts +16 -0
- package/dist/views/receive-request/components/delivery-order-form/CreateFormProps.d.ts +4 -0
- package/dist/views/receive-request/components/delivery-order-form/EditForm.vue.d.ts +16 -0
- package/dist/views/receive-request/components/delivery-order-form/EditFormProps.d.ts +4 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +60 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +10 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +94 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +72 -1
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
- package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
- package/package.json +3 -3
- package/dist/ClosingTemplateView-eRvwxXBq.js +0 -1908
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lDkElrkF.js +0 -227
- package/dist/IngredientsView-BvqWuIVT.js +0 -1876
- package/dist/StockView-CRDu_GQ_.js +0 -2086
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DbmLtbZt.js +0 -2494
- package/dist/WarehouseView-CBso3SXT.js +0 -1034
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b3 as x, bb as V, bc as q, bd as Ne, be as cl, bf as sr, bg as Lt, bh as fl, bi as $l } from "./app-P6XaUzjP.js";
|
|
2
2
|
function vl(t, e) {
|
|
3
3
|
for (var r = 0; r < e.length; r++) {
|
|
4
4
|
const n = e[r];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as u } from "vue";
|
|
2
|
-
import { u as d,
|
|
2
|
+
import { u as d, b4 as p, aW as v, c as m, b as h } from "./app-P6XaUzjP.js";
|
|
3
3
|
import { useSnackbar as E } from "@feedmepos/ui-library";
|
|
4
4
|
function I() {
|
|
5
5
|
return {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { a6 as s } from "./app-P6XaUzjP.js";
|
|
2
|
+
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
|
+
const u = s((n, a) => {
|
|
4
|
+
function o() {
|
|
5
|
+
var t;
|
|
6
|
+
return `business_${((t = c().currentBusiness.value) == null ? void 0 : t._id) ?? ""}`;
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
async getTemplate(e) {
|
|
10
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template/${e}`;
|
|
11
|
+
return a.get(t);
|
|
12
|
+
},
|
|
13
|
+
async getTemplateBySupplierId(e) {
|
|
14
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template?supplierId=${e}`;
|
|
15
|
+
return a.get(t);
|
|
16
|
+
},
|
|
17
|
+
async readTemplates() {
|
|
18
|
+
const e = o(), r = `${n.inventoryBackendUrl}/${e}/purchase-order-template`;
|
|
19
|
+
return a.get(r);
|
|
20
|
+
},
|
|
21
|
+
async createTemplate(e) {
|
|
22
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template`;
|
|
23
|
+
return a.post(t, e);
|
|
24
|
+
},
|
|
25
|
+
async updateTemplate(e) {
|
|
26
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template`;
|
|
27
|
+
return a.put(t, e);
|
|
28
|
+
},
|
|
29
|
+
async deleteTemplate(e) {
|
|
30
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template`;
|
|
31
|
+
return a.delete(t, { _id: e._id, _rev: e._rev });
|
|
32
|
+
},
|
|
33
|
+
async importTemplates(e) {
|
|
34
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template/import`;
|
|
35
|
+
return a.post(t, e);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
u
|
|
41
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as m, u as k, a as l, ax as B, Z as p } from "./app-P6XaUzjP.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $ } from "@feedmepos/ui-library";
|
|
4
4
|
import { ref as y, computed as b } from "vue";
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -22,6 +22,11 @@ export interface FeatureState {
|
|
|
22
22
|
inventory_xilnex_opening_migration: boolean;
|
|
23
23
|
inventory_synergy_opening_migration: boolean;
|
|
24
24
|
inventory_netsuite_inventory_transfer_out: boolean;
|
|
25
|
+
inventory_portal_supplier_preparation_time: boolean;
|
|
26
|
+
inventory_portal_delivery_order_write: boolean;
|
|
27
|
+
inventory_pos_transfer_require_fulfillment: boolean;
|
|
28
|
+
inventory_backdate_receive: boolean;
|
|
29
|
+
inventory_purchase_order_custom_cost: boolean;
|
|
25
30
|
}
|
|
26
31
|
export declare const useFeatureStore: () => {
|
|
27
32
|
readonly businessDbName: string;
|
|
@@ -48,6 +53,11 @@ export declare const useFeatureStore: () => {
|
|
|
48
53
|
readonly acceptRequireFulfillment: boolean | undefined;
|
|
49
54
|
readonly useOperatePurchaseOrderV2: boolean;
|
|
50
55
|
readonly isNetSuiteInventoryTransferOutEnabled: boolean;
|
|
56
|
+
readonly enableSupplierPreparationTime: boolean;
|
|
57
|
+
readonly enablePortalDeliveryOrderWrite: boolean;
|
|
58
|
+
readonly enablePOSTransferRequireFulfillment: boolean;
|
|
59
|
+
readonly enableBackdateReceive: boolean;
|
|
60
|
+
readonly enablePurchaseOrderReceiveWithCustomCost: boolean;
|
|
51
61
|
init(): Promise<void>;
|
|
52
62
|
awaitFeatureLoaded(callback: () => boolean): Promise<boolean>;
|
|
53
63
|
};
|
|
@@ -20,7 +20,12 @@ interface NetSuiteSettingOption {
|
|
|
20
20
|
}
|
|
21
21
|
export interface NetSuiteState {
|
|
22
22
|
setting: Omit<FdoNetSuiteSetting, 'realm' | 'accessToken'>;
|
|
23
|
+
businessSubsidiaryName: string;
|
|
23
24
|
vendorSubsidiary: Record<string, string>;
|
|
25
|
+
skuSubsidiaries: Record<string, {
|
|
26
|
+
includeChildren: boolean;
|
|
27
|
+
subsidiaryNames: string[];
|
|
28
|
+
}>;
|
|
24
29
|
isReady: boolean;
|
|
25
30
|
skuOptions: Record<string, NetSuiteSettingOption>;
|
|
26
31
|
}
|
|
@@ -40,6 +45,8 @@ export declare function useNetSuiteStore(): {
|
|
|
40
45
|
readonly isReady: boolean;
|
|
41
46
|
readonly isEnabled: boolean;
|
|
42
47
|
readonly isBusinessLocation: boolean;
|
|
48
|
+
readonly businessSubsidiaryId: string | null | undefined;
|
|
49
|
+
readonly businessSubsidiaryName: string;
|
|
43
50
|
readonly state: {
|
|
44
51
|
setting: {
|
|
45
52
|
_id: string;
|
|
@@ -60,6 +67,7 @@ export declare function useNetSuiteStore(): {
|
|
|
60
67
|
subsidiaryIds: string[];
|
|
61
68
|
includeChildren: boolean;
|
|
62
69
|
}[];
|
|
70
|
+
subsidiaryId?: string | null | undefined;
|
|
63
71
|
syncedAt?: string | null | undefined;
|
|
64
72
|
restlet?: {
|
|
65
73
|
type: "createItemReceipt" | "retrieveRecordInfo";
|
|
@@ -114,7 +122,12 @@ export declare function useNetSuiteStore(): {
|
|
|
114
122
|
subsidiaryId: string;
|
|
115
123
|
}[];
|
|
116
124
|
};
|
|
125
|
+
businessSubsidiaryName: string;
|
|
117
126
|
vendorSubsidiary: Record<string, string>;
|
|
127
|
+
skuSubsidiaries: Record<string, {
|
|
128
|
+
includeChildren: boolean;
|
|
129
|
+
subsidiaryNames: string[];
|
|
130
|
+
}>;
|
|
118
131
|
isReady: boolean;
|
|
119
132
|
skuOptions: Record<string, NetSuiteSettingOption>;
|
|
120
133
|
};
|
|
@@ -238,6 +251,8 @@ export declare function useNetSuiteStore(): {
|
|
|
238
251
|
label: string;
|
|
239
252
|
value: FdoPurchaseOrderSubsidiaryNetSuiteSetting;
|
|
240
253
|
}[];
|
|
254
|
+
getBusinessSubsidiaryTree(): FdoNetSuiteSubsidiaryWithChildren[];
|
|
255
|
+
getBusinessSubsidiaryPath(): string[];
|
|
241
256
|
getAvailableItems(subsidiaryId?: string | null): string[];
|
|
242
257
|
getAvailableMeasurements(skuId: string, subsidiaryId?: string | null): string[];
|
|
243
258
|
readSetting(): Promise<void>;
|
|
@@ -247,6 +262,10 @@ export declare function useNetSuiteStore(): {
|
|
|
247
262
|
}>): Promise<any>;
|
|
248
263
|
getNetSuiteLocations(): Promise<any>;
|
|
249
264
|
getVendorSubsidiaryName(supplierId: string): string;
|
|
265
|
+
getSkuSubsidiaries(skuId: string): {
|
|
266
|
+
includeChildren: boolean;
|
|
267
|
+
subsidiaryNames: string[];
|
|
268
|
+
};
|
|
250
269
|
syncPurchaseOrder(poId: string, locationDb?: string): Promise<void>;
|
|
251
270
|
getItemCustomCode(sku: FdoInventorySku, measurementId?: string | null): string | null;
|
|
252
271
|
getNetSuiteLocationOptions(): Promise<{
|
|
@@ -5,13 +5,17 @@ export declare const InventoryLocationType: {
|
|
|
5
5
|
restaurant: "restaurant";
|
|
6
6
|
warehouse: "warehouse";
|
|
7
7
|
};
|
|
8
|
-
export type InventoryLocation =
|
|
8
|
+
export type InventoryLocation = FdtoInventoryLocationInfo;
|
|
9
9
|
export declare function useLocationStore(): {
|
|
10
10
|
_currentLocation: {
|
|
11
11
|
inventory?: {
|
|
12
12
|
_id: string;
|
|
13
13
|
updatedAt: string;
|
|
14
14
|
} | null | undefined;
|
|
15
|
+
preparationTime?: {
|
|
16
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
17
|
+
value: number;
|
|
18
|
+
} | null | undefined;
|
|
15
19
|
name: string;
|
|
16
20
|
type: "restaurant" | "warehouse";
|
|
17
21
|
acceptRequest: boolean;
|
|
@@ -103,6 +107,10 @@ export declare function useLocationStore(): {
|
|
|
103
107
|
_id: string;
|
|
104
108
|
updatedAt: string;
|
|
105
109
|
} | null | undefined;
|
|
110
|
+
preparationTime?: {
|
|
111
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
112
|
+
value: number;
|
|
113
|
+
} | null | undefined;
|
|
106
114
|
name: string;
|
|
107
115
|
type: "restaurant" | "warehouse";
|
|
108
116
|
acceptRequest: boolean;
|
|
@@ -194,6 +202,10 @@ export declare function useLocationStore(): {
|
|
|
194
202
|
_id: string;
|
|
195
203
|
updatedAt: string;
|
|
196
204
|
} | null | undefined;
|
|
205
|
+
preparationTime?: {
|
|
206
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
207
|
+
value: number;
|
|
208
|
+
} | null | undefined;
|
|
197
209
|
name: string;
|
|
198
210
|
type: "restaurant" | "warehouse";
|
|
199
211
|
acceptRequest: boolean;
|
|
@@ -285,6 +297,10 @@ export declare function useLocationStore(): {
|
|
|
285
297
|
_id: string;
|
|
286
298
|
updatedAt: string;
|
|
287
299
|
} | null | undefined;
|
|
300
|
+
preparationTime?: {
|
|
301
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
302
|
+
value: number;
|
|
303
|
+
} | null | undefined;
|
|
288
304
|
name: string;
|
|
289
305
|
type: "restaurant" | "warehouse";
|
|
290
306
|
acceptRequest: boolean;
|
|
@@ -377,6 +393,10 @@ export declare function useLocationStore(): {
|
|
|
377
393
|
_id: string;
|
|
378
394
|
updatedAt: string;
|
|
379
395
|
} | null | undefined;
|
|
396
|
+
preparationTime?: {
|
|
397
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
398
|
+
value: number;
|
|
399
|
+
} | null | undefined;
|
|
380
400
|
name: string;
|
|
381
401
|
type: "restaurant" | "warehouse";
|
|
382
402
|
acceptRequest: boolean;
|
|
@@ -468,6 +488,10 @@ export declare function useLocationStore(): {
|
|
|
468
488
|
_id: string;
|
|
469
489
|
updatedAt: string;
|
|
470
490
|
} | null | undefined;
|
|
491
|
+
preparationTime?: {
|
|
492
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
493
|
+
value: number;
|
|
494
|
+
} | null | undefined;
|
|
471
495
|
name: string;
|
|
472
496
|
type: "restaurant" | "warehouse";
|
|
473
497
|
acceptRequest: boolean;
|
|
@@ -559,6 +583,10 @@ export declare function useLocationStore(): {
|
|
|
559
583
|
_id: string;
|
|
560
584
|
updatedAt: string;
|
|
561
585
|
} | null | undefined;
|
|
586
|
+
preparationTime?: {
|
|
587
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
588
|
+
value: number;
|
|
589
|
+
} | null | undefined;
|
|
562
590
|
name: string;
|
|
563
591
|
type: "restaurant" | "warehouse";
|
|
564
592
|
acceptRequest: boolean;
|
|
@@ -650,6 +678,10 @@ export declare function useLocationStore(): {
|
|
|
650
678
|
_id: string;
|
|
651
679
|
updatedAt: string;
|
|
652
680
|
} | null | undefined;
|
|
681
|
+
preparationTime?: {
|
|
682
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
683
|
+
value: number;
|
|
684
|
+
} | null | undefined;
|
|
653
685
|
name: string;
|
|
654
686
|
type: "restaurant" | "warehouse";
|
|
655
687
|
acceptRequest: boolean;
|
|
@@ -742,6 +774,10 @@ export declare function useLocationStore(): {
|
|
|
742
774
|
_id: string;
|
|
743
775
|
updatedAt: string;
|
|
744
776
|
} | null | undefined;
|
|
777
|
+
preparationTime?: {
|
|
778
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
779
|
+
value: number;
|
|
780
|
+
} | null | undefined;
|
|
745
781
|
name: string;
|
|
746
782
|
type: "restaurant" | "warehouse";
|
|
747
783
|
acceptRequest: boolean;
|
|
@@ -833,6 +869,10 @@ export declare function useLocationStore(): {
|
|
|
833
869
|
_id: string;
|
|
834
870
|
updatedAt: string;
|
|
835
871
|
} | null | undefined;
|
|
872
|
+
preparationTime?: {
|
|
873
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
874
|
+
value: number;
|
|
875
|
+
} | null | undefined;
|
|
836
876
|
name: string;
|
|
837
877
|
type: "restaurant" | "warehouse";
|
|
838
878
|
acceptRequest: boolean;
|
|
@@ -927,6 +967,10 @@ export declare function useLocationStore(): {
|
|
|
927
967
|
_id: string;
|
|
928
968
|
updatedAt: string;
|
|
929
969
|
} | null | undefined;
|
|
970
|
+
preparationTime?: {
|
|
971
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
972
|
+
value: number;
|
|
973
|
+
} | null | undefined;
|
|
930
974
|
name: string;
|
|
931
975
|
type: "restaurant" | "warehouse";
|
|
932
976
|
acceptRequest: boolean;
|
|
@@ -1018,6 +1062,10 @@ export declare function useLocationStore(): {
|
|
|
1018
1062
|
_id: string;
|
|
1019
1063
|
updatedAt: string;
|
|
1020
1064
|
} | null | undefined;
|
|
1065
|
+
preparationTime?: {
|
|
1066
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1067
|
+
value: number;
|
|
1068
|
+
} | null | undefined;
|
|
1021
1069
|
name: string;
|
|
1022
1070
|
type: "restaurant" | "warehouse";
|
|
1023
1071
|
acceptRequest: boolean;
|
|
@@ -1109,6 +1157,10 @@ export declare function useLocationStore(): {
|
|
|
1109
1157
|
_id: string;
|
|
1110
1158
|
updatedAt: string;
|
|
1111
1159
|
} | null | undefined;
|
|
1160
|
+
preparationTime?: {
|
|
1161
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1162
|
+
value: number;
|
|
1163
|
+
} | null | undefined;
|
|
1112
1164
|
name: string;
|
|
1113
1165
|
type: "restaurant" | "warehouse";
|
|
1114
1166
|
acceptRequest: boolean;
|
|
@@ -1201,6 +1253,10 @@ export declare function useLocationStore(): {
|
|
|
1201
1253
|
_id: string;
|
|
1202
1254
|
updatedAt: string;
|
|
1203
1255
|
} | null | undefined;
|
|
1256
|
+
preparationTime?: {
|
|
1257
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1258
|
+
value: number;
|
|
1259
|
+
} | null | undefined;
|
|
1204
1260
|
name: string;
|
|
1205
1261
|
type: "restaurant" | "warehouse";
|
|
1206
1262
|
acceptRequest: boolean;
|
|
@@ -31,6 +31,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
31
31
|
};
|
|
32
32
|
skuId: string;
|
|
33
33
|
}[] | null | undefined;
|
|
34
|
+
preparationTime?: {
|
|
35
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
36
|
+
value: number;
|
|
37
|
+
} | null | undefined;
|
|
34
38
|
_id: string;
|
|
35
39
|
name: string;
|
|
36
40
|
address: {
|
|
@@ -68,6 +72,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
68
72
|
};
|
|
69
73
|
skuId: string;
|
|
70
74
|
}[] | null | undefined;
|
|
75
|
+
preparationTime?: {
|
|
76
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
77
|
+
value: number;
|
|
78
|
+
} | null | undefined;
|
|
71
79
|
_id: string;
|
|
72
80
|
name: string;
|
|
73
81
|
address: {
|
|
@@ -104,6 +112,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
104
112
|
};
|
|
105
113
|
skuId: string;
|
|
106
114
|
}[] | null | undefined;
|
|
115
|
+
preparationTime?: {
|
|
116
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
117
|
+
value: number;
|
|
118
|
+
} | null | undefined;
|
|
107
119
|
_id: string;
|
|
108
120
|
name: string;
|
|
109
121
|
address: {
|
|
@@ -140,6 +152,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
140
152
|
};
|
|
141
153
|
skuId: string;
|
|
142
154
|
}[] | null | undefined;
|
|
155
|
+
preparationTime?: {
|
|
156
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
157
|
+
value: number;
|
|
158
|
+
} | null | undefined;
|
|
143
159
|
_id: string;
|
|
144
160
|
name: string;
|
|
145
161
|
address: {
|
|
@@ -177,6 +193,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
177
193
|
};
|
|
178
194
|
skuId: string;
|
|
179
195
|
}[] | null | undefined;
|
|
196
|
+
preparationTime?: {
|
|
197
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
198
|
+
value: number;
|
|
199
|
+
} | null | undefined;
|
|
180
200
|
_id: string;
|
|
181
201
|
name: string;
|
|
182
202
|
address: {
|
|
@@ -213,6 +233,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
213
233
|
};
|
|
214
234
|
skuId: string;
|
|
215
235
|
}[] | null | undefined;
|
|
236
|
+
preparationTime?: {
|
|
237
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
238
|
+
value: number;
|
|
239
|
+
} | null | undefined;
|
|
216
240
|
_id: string;
|
|
217
241
|
name: string;
|
|
218
242
|
address: {
|
|
@@ -249,6 +273,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
249
273
|
};
|
|
250
274
|
skuId: string;
|
|
251
275
|
}[] | null | undefined;
|
|
276
|
+
preparationTime?: {
|
|
277
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
278
|
+
value: number;
|
|
279
|
+
} | null | undefined;
|
|
252
280
|
_id: string;
|
|
253
281
|
name: string;
|
|
254
282
|
address: {
|
|
@@ -287,6 +315,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
287
315
|
};
|
|
288
316
|
skuId: string;
|
|
289
317
|
}[] | null | undefined;
|
|
318
|
+
preparationTime?: {
|
|
319
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
320
|
+
value: number;
|
|
321
|
+
} | null | undefined;
|
|
290
322
|
_id: string;
|
|
291
323
|
name: string;
|
|
292
324
|
address: {
|
|
@@ -332,6 +364,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
332
364
|
};
|
|
333
365
|
skuId: string;
|
|
334
366
|
}[] | null | undefined;
|
|
367
|
+
preparationTime?: {
|
|
368
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
369
|
+
value: number;
|
|
370
|
+
} | null | undefined;
|
|
335
371
|
_id: string;
|
|
336
372
|
name: string;
|
|
337
373
|
address: {
|
|
@@ -369,6 +405,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
369
405
|
};
|
|
370
406
|
skuId: string;
|
|
371
407
|
}[] | null | undefined;
|
|
408
|
+
preparationTime?: {
|
|
409
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
410
|
+
value: number;
|
|
411
|
+
} | null | undefined;
|
|
372
412
|
_id: string;
|
|
373
413
|
name: string;
|
|
374
414
|
address: {
|
|
@@ -405,6 +445,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
405
445
|
};
|
|
406
446
|
skuId: string;
|
|
407
447
|
}[] | null | undefined;
|
|
448
|
+
preparationTime?: {
|
|
449
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
450
|
+
value: number;
|
|
451
|
+
} | null | undefined;
|
|
408
452
|
_id: string;
|
|
409
453
|
name: string;
|
|
410
454
|
address: {
|
|
@@ -441,6 +485,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
441
485
|
};
|
|
442
486
|
skuId: string;
|
|
443
487
|
}[] | null | undefined;
|
|
488
|
+
preparationTime?: {
|
|
489
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
490
|
+
value: number;
|
|
491
|
+
} | null | undefined;
|
|
444
492
|
_id: string;
|
|
445
493
|
name: string;
|
|
446
494
|
address: {
|
|
@@ -478,6 +526,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
478
526
|
};
|
|
479
527
|
skuId: string;
|
|
480
528
|
}[] | null | undefined;
|
|
529
|
+
preparationTime?: {
|
|
530
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
531
|
+
value: number;
|
|
532
|
+
} | null | undefined;
|
|
481
533
|
_id: string;
|
|
482
534
|
name: string;
|
|
483
535
|
address: {
|
|
@@ -514,6 +566,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
514
566
|
};
|
|
515
567
|
skuId: string;
|
|
516
568
|
}[] | null | undefined;
|
|
569
|
+
preparationTime?: {
|
|
570
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
571
|
+
value: number;
|
|
572
|
+
} | null | undefined;
|
|
517
573
|
_id: string;
|
|
518
574
|
name: string;
|
|
519
575
|
address: {
|
|
@@ -550,6 +606,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
550
606
|
};
|
|
551
607
|
skuId: string;
|
|
552
608
|
}[] | null | undefined;
|
|
609
|
+
preparationTime?: {
|
|
610
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
611
|
+
value: number;
|
|
612
|
+
} | null | undefined;
|
|
553
613
|
_id: string;
|
|
554
614
|
name: string;
|
|
555
615
|
address: {
|
|
@@ -588,6 +648,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
588
648
|
};
|
|
589
649
|
skuId: string;
|
|
590
650
|
}[] | null | undefined;
|
|
651
|
+
preparationTime?: {
|
|
652
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
653
|
+
value: number;
|
|
654
|
+
} | null | undefined;
|
|
591
655
|
_id: string;
|
|
592
656
|
name: string;
|
|
593
657
|
address: {
|
|
@@ -633,6 +697,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
633
697
|
};
|
|
634
698
|
skuId: string;
|
|
635
699
|
}[] | null | undefined;
|
|
700
|
+
preparationTime?: {
|
|
701
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
702
|
+
value: number;
|
|
703
|
+
} | null | undefined;
|
|
636
704
|
_id: string;
|
|
637
705
|
name: string;
|
|
638
706
|
address: {
|
|
@@ -670,6 +738,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
670
738
|
};
|
|
671
739
|
skuId: string;
|
|
672
740
|
}[] | null | undefined;
|
|
741
|
+
preparationTime?: {
|
|
742
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
743
|
+
value: number;
|
|
744
|
+
} | null | undefined;
|
|
673
745
|
_id: string;
|
|
674
746
|
name: string;
|
|
675
747
|
address: {
|
|
@@ -706,6 +778,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
706
778
|
};
|
|
707
779
|
skuId: string;
|
|
708
780
|
}[] | null | undefined;
|
|
781
|
+
preparationTime?: {
|
|
782
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
783
|
+
value: number;
|
|
784
|
+
} | null | undefined;
|
|
709
785
|
_id: string;
|
|
710
786
|
name: string;
|
|
711
787
|
address: {
|
|
@@ -742,6 +818,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
742
818
|
};
|
|
743
819
|
skuId: string;
|
|
744
820
|
}[] | null | undefined;
|
|
821
|
+
preparationTime?: {
|
|
822
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
823
|
+
value: number;
|
|
824
|
+
} | null | undefined;
|
|
745
825
|
_id: string;
|
|
746
826
|
name: string;
|
|
747
827
|
address: {
|
|
@@ -779,6 +859,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
779
859
|
};
|
|
780
860
|
skuId: string;
|
|
781
861
|
}[] | null | undefined;
|
|
862
|
+
preparationTime?: {
|
|
863
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
864
|
+
value: number;
|
|
865
|
+
} | null | undefined;
|
|
782
866
|
_id: string;
|
|
783
867
|
name: string;
|
|
784
868
|
address: {
|
|
@@ -815,6 +899,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
815
899
|
};
|
|
816
900
|
skuId: string;
|
|
817
901
|
}[] | null | undefined;
|
|
902
|
+
preparationTime?: {
|
|
903
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
904
|
+
value: number;
|
|
905
|
+
} | null | undefined;
|
|
818
906
|
_id: string;
|
|
819
907
|
name: string;
|
|
820
908
|
address: {
|
|
@@ -851,6 +939,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
851
939
|
};
|
|
852
940
|
skuId: string;
|
|
853
941
|
}[] | null | undefined;
|
|
942
|
+
preparationTime?: {
|
|
943
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
944
|
+
value: number;
|
|
945
|
+
} | null | undefined;
|
|
854
946
|
_id: string;
|
|
855
947
|
name: string;
|
|
856
948
|
address: {
|
|
@@ -889,6 +981,10 @@ export declare const useSupplierStore: import("pinia").StoreDefinition<"supplier
|
|
|
889
981
|
};
|
|
890
982
|
skuId: string;
|
|
891
983
|
}[] | null | undefined;
|
|
984
|
+
preparationTime?: {
|
|
985
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
986
|
+
value: number;
|
|
987
|
+
} | null | undefined;
|
|
892
988
|
_id: string;
|
|
893
989
|
name: string;
|
|
894
990
|
address: {
|
|
@@ -72,6 +72,10 @@ export declare function useWarehouseStore(): {
|
|
|
72
72
|
menuVersion: string;
|
|
73
73
|
} | null | undefined;
|
|
74
74
|
customAttributes?: Record<string, any> | null | undefined;
|
|
75
|
+
preparationTime?: {
|
|
76
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
77
|
+
value: number;
|
|
78
|
+
} | null | undefined;
|
|
75
79
|
_id: string;
|
|
76
80
|
businessId: string;
|
|
77
81
|
profile: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as m, u, c as b, C as w, ay as v, az as $ } from "./app-P6XaUzjP.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as A } from "pinia";
|
|
4
4
|
import { ref as l, computed as d } from "vue";
|