@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,8 +1,7 @@
|
|
|
1
1
|
import { ref as f, computed as l } from "vue";
|
|
2
|
-
import { u as g, aP as b,
|
|
3
|
-
import { useSnackbar as
|
|
2
|
+
import { u as g, aP as b, aJ as v, c as d, b as S } from "./app-BmsY87Mv.js";
|
|
3
|
+
import { useSnackbar as p } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
|
-
import { u as d } from "./feature-CifIpcNk.js";
|
|
6
5
|
function h() {
|
|
7
6
|
return {
|
|
8
7
|
setting: {
|
|
@@ -53,7 +52,7 @@ function E() {
|
|
|
53
52
|
}));
|
|
54
53
|
s.value.categories = r, s.value.setting = await n.readSetting();
|
|
55
54
|
} catch (o) {
|
|
56
|
-
|
|
55
|
+
p().open({
|
|
57
56
|
title: "Something went wrong",
|
|
58
57
|
message: "Cannot fetch integration info. Please try again.",
|
|
59
58
|
type: "error"
|
|
@@ -94,8 +93,8 @@ function x() {
|
|
|
94
93
|
}
|
|
95
94
|
};
|
|
96
95
|
}
|
|
97
|
-
function
|
|
98
|
-
const n =
|
|
96
|
+
function F() {
|
|
97
|
+
const n = S(), a = E(), e = x(), t = l(() => n.isEnabled), i = l(() => a.isEnabled), o = l(() => e.isEnabled);
|
|
99
98
|
return {
|
|
100
99
|
get enabledIntegrations() {
|
|
101
100
|
return [t.value, i.value, o.value].filter((r) => r).length;
|
|
@@ -122,5 +121,5 @@ function L() {
|
|
|
122
121
|
export {
|
|
123
122
|
E as a,
|
|
124
123
|
x as b,
|
|
125
|
-
|
|
124
|
+
F as u
|
|
126
125
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as m, u as B, a as l, ak as k, L as p } from "./app-BmsY87Mv.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 S } from "vue";
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
/** NOTE: for consistency, keep the key and value names the same with flagsmith value*/
|
|
2
|
+
export declare enum InventoryFeature {
|
|
3
|
+
inventory_portal_must_use_transfer_template = "inventory_portal_must_use_transfer_template",
|
|
4
|
+
inventory_portal_use_iframe = "inventory_portal_use_iframe",
|
|
5
|
+
inventory_pos_adjust_v1 = "inventory_pos_adjust_v1",
|
|
6
|
+
inventory_pos_adjust_v2_wastage = "inventory_pos_adjust_v2_wastage",
|
|
7
|
+
inventory_pos_closing_recalculation = "inventory_pos_closing_recalculation",
|
|
8
|
+
inventory_pos_closing_v1 = "inventory_pos_closing_v1",
|
|
9
|
+
inventory_pos_closing_v2 = "inventory_pos_closing_v2",
|
|
10
|
+
inventory_pos_convert_v1 = "inventory_pos_convert_v1",
|
|
11
|
+
inventory_pos_costing = "inventory_pos_costing",
|
|
12
|
+
inventory_pos_stock_return = "inventory_pos_stock_return",
|
|
13
|
+
inventory_pos_transfer_require_fulfillment = "inventory_pos_transfer_require_fulfillment",
|
|
14
|
+
inventory_purchase_order_approval = "inventory_purchase_order_approval",
|
|
15
|
+
inventory_portal_xilnex_transfer_note = "inventory_portal_xilnex_transfer_note",
|
|
16
|
+
inventory_portal_custom_attribute = "inventory_portal_custom_attribute",
|
|
17
|
+
inventory_portal_purchase_order_v2 = "inventory_portal_purchase_order_v2",
|
|
18
|
+
inventory_portal_accept_require_fulfillment = "inventory_portal_accept_require_fulfillment",
|
|
19
|
+
inventory_xilnex_opening_migration = "inventory_xilnex_opening_migration"
|
|
20
|
+
}
|
|
2
21
|
export interface FeatureState {
|
|
3
22
|
enableTotalCost: boolean;
|
|
4
23
|
enableBackdatePo: boolean;
|
|
@@ -18,7 +37,6 @@ export interface FeatureState {
|
|
|
18
37
|
enableCustomAttribute: boolean;
|
|
19
38
|
usePurchaseOrderV2: boolean;
|
|
20
39
|
acceptRequireFulfillment?: boolean;
|
|
21
|
-
useOperatePurchaseOrderV2: boolean;
|
|
22
40
|
inventory_xilnex_opening_migration: boolean;
|
|
23
41
|
}
|
|
24
42
|
export declare const useFeatureStore: () => {
|
|
@@ -43,6 +61,5 @@ export declare const useFeatureStore: () => {
|
|
|
43
61
|
readonly enableCustomAttribute: boolean;
|
|
44
62
|
readonly usePurchaseOrderV2: boolean;
|
|
45
63
|
readonly acceptRequireFulfillment: boolean | undefined;
|
|
46
|
-
readonly useOperatePurchaseOrderV2: boolean;
|
|
47
64
|
init(): Promise<void>;
|
|
48
65
|
};
|
|
@@ -26,19 +26,19 @@ export declare function useNetSuiteStore(): {
|
|
|
26
26
|
subsidiaryIds: string[];
|
|
27
27
|
includeChildren: boolean;
|
|
28
28
|
}[];
|
|
29
|
-
syncedAt?: string | null | undefined;
|
|
30
|
-
restlet?: {
|
|
31
|
-
type: "createItemReceipt" | "retrieveRecordInfo";
|
|
32
|
-
scriptId: string;
|
|
33
|
-
deploymentId: string;
|
|
34
|
-
}[] | null | undefined;
|
|
35
29
|
locations: {
|
|
30
|
+
type: "restaurant" | "warehouse";
|
|
36
31
|
id: string;
|
|
37
32
|
name: string;
|
|
38
|
-
type: "restaurant" | "warehouse";
|
|
39
33
|
netSuiteId: string;
|
|
40
34
|
subsidiaryId: string;
|
|
41
35
|
}[];
|
|
36
|
+
syncedAt?: string | null | undefined;
|
|
37
|
+
restlet?: {
|
|
38
|
+
type: "createItemReceipt" | "retrieveRecordInfo";
|
|
39
|
+
scriptId: string;
|
|
40
|
+
deploymentId: string;
|
|
41
|
+
}[] | null | undefined;
|
|
42
42
|
childItems: {
|
|
43
43
|
externalId?: string | null | undefined;
|
|
44
44
|
cogsAccount?: {
|
|
@@ -63,12 +63,12 @@ export declare function useInventoryStore(): {
|
|
|
63
63
|
precision: number;
|
|
64
64
|
};
|
|
65
65
|
} | null | undefined;
|
|
66
|
-
id: string;
|
|
67
66
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
68
67
|
amount: {
|
|
69
68
|
amount: number;
|
|
70
69
|
precision: number;
|
|
71
70
|
};
|
|
71
|
+
id: string;
|
|
72
72
|
}[] | null | undefined;
|
|
73
73
|
} | null | undefined;
|
|
74
74
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -94,9 +94,6 @@ export declare function useInventoryStore(): {
|
|
|
94
94
|
mid: number;
|
|
95
95
|
} | null | undefined;
|
|
96
96
|
customAttributes?: Record<string, any> | null | undefined;
|
|
97
|
-
_id: string;
|
|
98
|
-
name: string;
|
|
99
|
-
code: string;
|
|
100
97
|
unit: {
|
|
101
98
|
_id: string;
|
|
102
99
|
name: string;
|
|
@@ -112,6 +109,9 @@ export declare function useInventoryStore(): {
|
|
|
112
109
|
};
|
|
113
110
|
}[];
|
|
114
111
|
};
|
|
112
|
+
code: string;
|
|
113
|
+
_id: string;
|
|
114
|
+
name: string;
|
|
115
115
|
}[] | null | undefined;
|
|
116
116
|
recipe?: {
|
|
117
117
|
customAttributes?: Record<string, any> | null | undefined;
|
|
@@ -127,18 +127,16 @@ export declare function useInventoryStore(): {
|
|
|
127
127
|
precision: number;
|
|
128
128
|
};
|
|
129
129
|
} | null | undefined;
|
|
130
|
-
id: string;
|
|
131
130
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
132
131
|
amount: {
|
|
133
132
|
amount: number;
|
|
134
133
|
precision: number;
|
|
135
134
|
};
|
|
135
|
+
id: string;
|
|
136
136
|
}[];
|
|
137
137
|
}[] | null | undefined;
|
|
138
138
|
skuGroup?: {
|
|
139
139
|
ref?: string | null | undefined;
|
|
140
|
-
_id: string;
|
|
141
|
-
name: string;
|
|
142
140
|
unit: {
|
|
143
141
|
_id: string;
|
|
144
142
|
name: string;
|
|
@@ -154,6 +152,8 @@ export declare function useInventoryStore(): {
|
|
|
154
152
|
};
|
|
155
153
|
}[];
|
|
156
154
|
};
|
|
155
|
+
_id: string;
|
|
156
|
+
name: string;
|
|
157
157
|
skus: {
|
|
158
158
|
trackingMeasurement?: string | null | undefined;
|
|
159
159
|
convert?: {
|
|
@@ -168,12 +168,12 @@ export declare function useInventoryStore(): {
|
|
|
168
168
|
precision: number;
|
|
169
169
|
};
|
|
170
170
|
} | null | undefined;
|
|
171
|
-
id: string;
|
|
172
171
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
173
172
|
amount: {
|
|
174
173
|
amount: number;
|
|
175
174
|
precision: number;
|
|
176
175
|
};
|
|
176
|
+
id: string;
|
|
177
177
|
}[] | null | undefined;
|
|
178
178
|
} | null | undefined;
|
|
179
179
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -199,9 +199,9 @@ export declare function useInventoryStore(): {
|
|
|
199
199
|
mid: number;
|
|
200
200
|
} | null | undefined;
|
|
201
201
|
customAttributes?: Record<string, any> | null | undefined;
|
|
202
|
+
code: string;
|
|
202
203
|
_id: string;
|
|
203
204
|
name: string;
|
|
204
|
-
code: string;
|
|
205
205
|
}[];
|
|
206
206
|
}[] | null | undefined;
|
|
207
207
|
updatedAt?: string | null | undefined;
|
|
@@ -839,12 +839,12 @@ export declare function useInventoryStore(): {
|
|
|
839
839
|
precision: number;
|
|
840
840
|
};
|
|
841
841
|
} | null | undefined;
|
|
842
|
-
id: string;
|
|
843
842
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
844
843
|
amount: {
|
|
845
844
|
amount: number;
|
|
846
845
|
precision: number;
|
|
847
846
|
};
|
|
847
|
+
id: string;
|
|
848
848
|
}[] | null | undefined;
|
|
849
849
|
} | null | undefined;
|
|
850
850
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -870,9 +870,6 @@ export declare function useInventoryStore(): {
|
|
|
870
870
|
mid: number;
|
|
871
871
|
} | null | undefined;
|
|
872
872
|
customAttributes?: Record<string, any> | null | undefined;
|
|
873
|
-
_id: string;
|
|
874
|
-
name: string;
|
|
875
|
-
code: string;
|
|
876
873
|
unit: {
|
|
877
874
|
_id: string;
|
|
878
875
|
name: string;
|
|
@@ -888,6 +885,9 @@ export declare function useInventoryStore(): {
|
|
|
888
885
|
};
|
|
889
886
|
}[];
|
|
890
887
|
};
|
|
888
|
+
code: string;
|
|
889
|
+
_id: string;
|
|
890
|
+
name: string;
|
|
891
891
|
}[] | null | undefined;
|
|
892
892
|
recipe?: {
|
|
893
893
|
customAttributes?: Record<string, any> | null | undefined;
|
|
@@ -903,18 +903,16 @@ export declare function useInventoryStore(): {
|
|
|
903
903
|
precision: number;
|
|
904
904
|
};
|
|
905
905
|
} | null | undefined;
|
|
906
|
-
id: string;
|
|
907
906
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
908
907
|
amount: {
|
|
909
908
|
amount: number;
|
|
910
909
|
precision: number;
|
|
911
910
|
};
|
|
911
|
+
id: string;
|
|
912
912
|
}[];
|
|
913
913
|
}[] | null | undefined;
|
|
914
914
|
skuGroup?: {
|
|
915
915
|
ref?: string | null | undefined;
|
|
916
|
-
_id: string;
|
|
917
|
-
name: string;
|
|
918
916
|
unit: {
|
|
919
917
|
_id: string;
|
|
920
918
|
name: string;
|
|
@@ -930,6 +928,8 @@ export declare function useInventoryStore(): {
|
|
|
930
928
|
};
|
|
931
929
|
}[];
|
|
932
930
|
};
|
|
931
|
+
_id: string;
|
|
932
|
+
name: string;
|
|
933
933
|
skus: {
|
|
934
934
|
trackingMeasurement?: string | null | undefined;
|
|
935
935
|
convert?: {
|
|
@@ -944,12 +944,12 @@ export declare function useInventoryStore(): {
|
|
|
944
944
|
precision: number;
|
|
945
945
|
};
|
|
946
946
|
} | null | undefined;
|
|
947
|
-
id: string;
|
|
948
947
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
949
948
|
amount: {
|
|
950
949
|
amount: number;
|
|
951
950
|
precision: number;
|
|
952
951
|
};
|
|
952
|
+
id: string;
|
|
953
953
|
}[] | null | undefined;
|
|
954
954
|
} | null | undefined;
|
|
955
955
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -975,9 +975,9 @@ export declare function useInventoryStore(): {
|
|
|
975
975
|
mid: number;
|
|
976
976
|
} | null | undefined;
|
|
977
977
|
customAttributes?: Record<string, any> | null | undefined;
|
|
978
|
+
code: string;
|
|
978
979
|
_id: string;
|
|
979
980
|
name: string;
|
|
980
|
-
code: string;
|
|
981
981
|
}[];
|
|
982
982
|
}[] | null | undefined;
|
|
983
983
|
updatedAt?: string | null | undefined;
|
|
@@ -2060,12 +2060,12 @@ export declare function useInventoryStore(): {
|
|
|
2060
2060
|
precision: number;
|
|
2061
2061
|
};
|
|
2062
2062
|
} | null | undefined;
|
|
2063
|
-
id: string;
|
|
2064
2063
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2065
2064
|
amount: {
|
|
2066
2065
|
amount: number;
|
|
2067
2066
|
precision: number;
|
|
2068
2067
|
};
|
|
2068
|
+
id: string;
|
|
2069
2069
|
}[];
|
|
2070
2070
|
}[];
|
|
2071
2071
|
readonly recipeById: Record<string, {
|
|
@@ -2082,12 +2082,12 @@ export declare function useInventoryStore(): {
|
|
|
2082
2082
|
precision: number;
|
|
2083
2083
|
};
|
|
2084
2084
|
} | null | undefined;
|
|
2085
|
-
id: string;
|
|
2086
2085
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2087
2086
|
amount: {
|
|
2088
2087
|
amount: number;
|
|
2089
2088
|
precision: number;
|
|
2090
2089
|
};
|
|
2090
|
+
id: string;
|
|
2091
2091
|
}[];
|
|
2092
2092
|
}>;
|
|
2093
2093
|
readonly skus: {
|
|
@@ -2104,12 +2104,12 @@ export declare function useInventoryStore(): {
|
|
|
2104
2104
|
precision: number;
|
|
2105
2105
|
};
|
|
2106
2106
|
} | null | undefined;
|
|
2107
|
-
id: string;
|
|
2108
2107
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2109
2108
|
amount: {
|
|
2110
2109
|
amount: number;
|
|
2111
2110
|
precision: number;
|
|
2112
2111
|
};
|
|
2112
|
+
id: string;
|
|
2113
2113
|
}[] | null | undefined;
|
|
2114
2114
|
} | null | undefined;
|
|
2115
2115
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2135,9 +2135,6 @@ export declare function useInventoryStore(): {
|
|
|
2135
2135
|
mid: number;
|
|
2136
2136
|
} | null | undefined;
|
|
2137
2137
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2138
|
-
_id: string;
|
|
2139
|
-
name: string;
|
|
2140
|
-
code: string;
|
|
2141
2138
|
unit: {
|
|
2142
2139
|
_id: string;
|
|
2143
2140
|
name: string;
|
|
@@ -2153,6 +2150,9 @@ export declare function useInventoryStore(): {
|
|
|
2153
2150
|
};
|
|
2154
2151
|
}[];
|
|
2155
2152
|
};
|
|
2153
|
+
code: string;
|
|
2154
|
+
_id: string;
|
|
2155
|
+
name: string;
|
|
2156
2156
|
}[];
|
|
2157
2157
|
readonly skuById: Record<string, {
|
|
2158
2158
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -2168,12 +2168,12 @@ export declare function useInventoryStore(): {
|
|
|
2168
2168
|
precision: number;
|
|
2169
2169
|
};
|
|
2170
2170
|
} | null | undefined;
|
|
2171
|
-
id: string;
|
|
2172
2171
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2173
2172
|
amount: {
|
|
2174
2173
|
amount: number;
|
|
2175
2174
|
precision: number;
|
|
2176
2175
|
};
|
|
2176
|
+
id: string;
|
|
2177
2177
|
}[] | null | undefined;
|
|
2178
2178
|
} | null | undefined;
|
|
2179
2179
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2199,9 +2199,6 @@ export declare function useInventoryStore(): {
|
|
|
2199
2199
|
mid: number;
|
|
2200
2200
|
} | null | undefined;
|
|
2201
2201
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2202
|
-
_id: string;
|
|
2203
|
-
name: string;
|
|
2204
|
-
code: string;
|
|
2205
2202
|
unit: {
|
|
2206
2203
|
_id: string;
|
|
2207
2204
|
name: string;
|
|
@@ -2217,6 +2214,9 @@ export declare function useInventoryStore(): {
|
|
|
2217
2214
|
};
|
|
2218
2215
|
}[];
|
|
2219
2216
|
};
|
|
2217
|
+
code: string;
|
|
2218
|
+
_id: string;
|
|
2219
|
+
name: string;
|
|
2220
2220
|
}>;
|
|
2221
2221
|
readonly skuByCode: Record<string, {
|
|
2222
2222
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -2232,12 +2232,12 @@ export declare function useInventoryStore(): {
|
|
|
2232
2232
|
precision: number;
|
|
2233
2233
|
};
|
|
2234
2234
|
} | null | undefined;
|
|
2235
|
-
id: string;
|
|
2236
2235
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2237
2236
|
amount: {
|
|
2238
2237
|
amount: number;
|
|
2239
2238
|
precision: number;
|
|
2240
2239
|
};
|
|
2240
|
+
id: string;
|
|
2241
2241
|
}[] | null | undefined;
|
|
2242
2242
|
} | null | undefined;
|
|
2243
2243
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2263,9 +2263,6 @@ export declare function useInventoryStore(): {
|
|
|
2263
2263
|
mid: number;
|
|
2264
2264
|
} | null | undefined;
|
|
2265
2265
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2266
|
-
_id: string;
|
|
2267
|
-
name: string;
|
|
2268
|
-
code: string;
|
|
2269
2266
|
unit: {
|
|
2270
2267
|
_id: string;
|
|
2271
2268
|
name: string;
|
|
@@ -2281,11 +2278,12 @@ export declare function useInventoryStore(): {
|
|
|
2281
2278
|
};
|
|
2282
2279
|
}[];
|
|
2283
2280
|
};
|
|
2281
|
+
code: string;
|
|
2282
|
+
_id: string;
|
|
2283
|
+
name: string;
|
|
2284
2284
|
}>;
|
|
2285
2285
|
readonly skuGroups: {
|
|
2286
2286
|
ref?: string | null | undefined;
|
|
2287
|
-
_id: string;
|
|
2288
|
-
name: string;
|
|
2289
2287
|
unit: {
|
|
2290
2288
|
_id: string;
|
|
2291
2289
|
name: string;
|
|
@@ -2301,6 +2299,8 @@ export declare function useInventoryStore(): {
|
|
|
2301
2299
|
};
|
|
2302
2300
|
}[];
|
|
2303
2301
|
};
|
|
2302
|
+
_id: string;
|
|
2303
|
+
name: string;
|
|
2304
2304
|
skus: {
|
|
2305
2305
|
trackingMeasurement?: string | null | undefined;
|
|
2306
2306
|
convert?: {
|
|
@@ -2315,12 +2315,12 @@ export declare function useInventoryStore(): {
|
|
|
2315
2315
|
precision: number;
|
|
2316
2316
|
};
|
|
2317
2317
|
} | null | undefined;
|
|
2318
|
-
id: string;
|
|
2319
2318
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2320
2319
|
amount: {
|
|
2321
2320
|
amount: number;
|
|
2322
2321
|
precision: number;
|
|
2323
2322
|
};
|
|
2323
|
+
id: string;
|
|
2324
2324
|
}[] | null | undefined;
|
|
2325
2325
|
} | null | undefined;
|
|
2326
2326
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2346,9 +2346,9 @@ export declare function useInventoryStore(): {
|
|
|
2346
2346
|
mid: number;
|
|
2347
2347
|
} | null | undefined;
|
|
2348
2348
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2349
|
+
code: string;
|
|
2349
2350
|
_id: string;
|
|
2350
2351
|
name: string;
|
|
2351
|
-
code: string;
|
|
2352
2352
|
}[];
|
|
2353
2353
|
}[];
|
|
2354
2354
|
readonly skuTags: Map<unknown, [{
|
|
@@ -2365,12 +2365,12 @@ export declare function useInventoryStore(): {
|
|
|
2365
2365
|
precision: number;
|
|
2366
2366
|
};
|
|
2367
2367
|
} | null | undefined;
|
|
2368
|
-
id: string;
|
|
2369
2368
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2370
2369
|
amount: {
|
|
2371
2370
|
amount: number;
|
|
2372
2371
|
precision: number;
|
|
2373
2372
|
};
|
|
2373
|
+
id: string;
|
|
2374
2374
|
}[] | null | undefined;
|
|
2375
2375
|
} | null | undefined;
|
|
2376
2376
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2396,9 +2396,6 @@ export declare function useInventoryStore(): {
|
|
|
2396
2396
|
mid: number;
|
|
2397
2397
|
} | null | undefined;
|
|
2398
2398
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2399
|
-
_id: string;
|
|
2400
|
-
name: string;
|
|
2401
|
-
code: string;
|
|
2402
2399
|
unit: {
|
|
2403
2400
|
_id: string;
|
|
2404
2401
|
name: string;
|
|
@@ -2414,6 +2411,9 @@ export declare function useInventoryStore(): {
|
|
|
2414
2411
|
};
|
|
2415
2412
|
}[];
|
|
2416
2413
|
};
|
|
2414
|
+
code: string;
|
|
2415
|
+
_id: string;
|
|
2416
|
+
name: string;
|
|
2417
2417
|
}, ...{
|
|
2418
2418
|
trackingMeasurement?: string | null | undefined;
|
|
2419
2419
|
convert?: {
|
|
@@ -2428,12 +2428,12 @@ export declare function useInventoryStore(): {
|
|
|
2428
2428
|
precision: number;
|
|
2429
2429
|
};
|
|
2430
2430
|
} | null | undefined;
|
|
2431
|
-
id: string;
|
|
2432
2431
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2433
2432
|
amount: {
|
|
2434
2433
|
amount: number;
|
|
2435
2434
|
precision: number;
|
|
2436
2435
|
};
|
|
2436
|
+
id: string;
|
|
2437
2437
|
}[] | null | undefined;
|
|
2438
2438
|
} | null | undefined;
|
|
2439
2439
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2459,9 +2459,6 @@ export declare function useInventoryStore(): {
|
|
|
2459
2459
|
mid: number;
|
|
2460
2460
|
} | null | undefined;
|
|
2461
2461
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2462
|
-
_id: string;
|
|
2463
|
-
name: string;
|
|
2464
|
-
code: string;
|
|
2465
2462
|
unit: {
|
|
2466
2463
|
_id: string;
|
|
2467
2464
|
name: string;
|
|
@@ -2477,6 +2474,9 @@ export declare function useInventoryStore(): {
|
|
|
2477
2474
|
};
|
|
2478
2475
|
}[];
|
|
2479
2476
|
};
|
|
2477
|
+
code: string;
|
|
2478
|
+
_id: string;
|
|
2479
|
+
name: string;
|
|
2480
2480
|
}[]]>;
|
|
2481
2481
|
init(): Promise<void>;
|
|
2482
2482
|
readClosing(): Promise<void>;
|