@feedmepos/mf-inventory-portal 0.0.25-dev.2 → 0.0.25-dev.21
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-D6WBVERc.js +278 -0
- package/dist/ApprovalView-BIBoagE8.js +146 -0
- package/dist/{BindingsDialog-qeGh3ND8.js → BindingsDialog-DHRRkK1Z.js} +6 -6
- package/dist/{BindingsPicker-SfiA8fmD.js → BindingsPicker-DohvMDDF.js} +3 -3
- package/dist/{BindingsTable-BjW-eJr6.js → BindingsTable-C_JwU9ei.js} +6 -6
- package/dist/ClosingDraftView-BBebhUj-.js +1308 -0
- package/dist/ClosingTemplateView-CXRN19-D.js +1859 -0
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js +34 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BJufUQNE.js +215 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-5rldKjyh.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C5Xk19jY.js} +52 -52
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-7HNI82u-.js +51 -0
- package/dist/{IngredientGroupView-CGyyFyvj.js → IngredientGroupView-l2bAc1Kj.js} +1 -1
- package/dist/{IngredientsView-BLKk-VxQ.js → IngredientsView-zDXt7KEx.js} +394 -382
- package/dist/{IntegrationView-C6gwvZ9b.js → IntegrationView-BYnlAPrP.js} +660 -623
- package/dist/{InventoryBindingForm-BB3ZN3Lx.js → InventoryBindingForm-BuweG4Vl.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-PT7Quw7j.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DgxN0U4N.js} +99 -99
- package/dist/{InventoryBindingSummary-yr0oie3c.js → InventoryBindingSummary-BpEo0JsK.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DjJGUE9a.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CcjzkzCt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-O1mYRa5W.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Ej20iSHA.js} +15 -15
- package/dist/PublishView-DCZ0zIaP.js +222 -0
- package/dist/{PurchaseOrderPrintPreview-Q_9-KVNj.js → PurchaseOrderPrintPreview-Cag7UEvz.js} +1 -1
- package/dist/ReceiveRequestView-ChIJGA98.js +2319 -0
- package/dist/{RecipeView-DBfugmRY.js → RecipeView-bBshe0eF.js} +32 -31
- package/dist/{index-CgspzSQi.js → StockView-D6-oKpAC.js} +3577 -1764
- package/dist/{SupplierView-BQViPyfj.js → SupplierView-dyIcGp9Q.js} +12 -11
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C_7wbQow.js +1771 -0
- package/dist/TransferTemplateView-D2rxV0k_.js +1660 -0
- package/dist/{UnitView-CrbFeWaB.js → UnitView-DVS5Az5c.js} +14 -14
- package/dist/{WarehouseView-Dy5GljxY.js → WarehouseView-CR03TpnA.js} +332 -314
- package/dist/api/closing-draft.d.ts +1 -0
- package/dist/api/inventory.d.ts +9 -6
- package/dist/api/purchase-order.d.ts +2 -1
- package/dist/{app-D0O4wr2X.js → app-oV9ISfFL.js} +28343 -28141
- package/dist/app.js +1 -1
- package/dist/components/FmAutocompleteTextField.vue.d.ts +31 -0
- package/dist/components/FmCustomAttribute.vue.d.ts +3 -8
- package/dist/components/FmLockableField.vue.d.ts +3 -0
- package/dist/components/FmMultiselectDialog.d.ts +46 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +20 -3
- package/dist/components/FmMultiselectDialogProps.d.ts +2 -0
- package/dist/components/MountListener.vue.d.ts +15 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
- package/dist/{decimal-CPGmj9BT.js → decimal-C7zgfr5G.js} +1 -1
- package/dist/feature-CDQQ-mV9.js +1003 -0
- package/dist/{format-unit-display-CMM6DZJj.js → format-unit-display-CVBzrNQ4.js} +334 -327
- package/dist/helper/fuzzy.d.ts +10 -0
- package/dist/index-0VS4cuk3.js +35546 -0
- package/dist/{stock-9nTT4Amy.js → stock-BIP_NIK_.js} +3 -3
- package/dist/stores/feature.d.ts +4 -7
- package/dist/stores/integration/netsuite.d.ts +5 -0
- package/dist/stores/inventory.d.ts +135 -8
- package/dist/stores/location.d.ts +100 -0
- package/dist/stores/warehouse.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-CH4EwBZM.js → supplier-DUQ2VSMg.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-ingredient-select-dialog-VkU5_Aaj.js +51 -0
- package/dist/{use-inventory-binding-dialog-Dli3xtq4.js → use-inventory-binding-dialog-BXp0z3v_.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +24 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +24 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -12
- package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +2 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +16 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +1387 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +5 -1
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +3 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -2
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +48 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +490 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferSubItemTable.vue.d.ts +72 -0
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +25 -2
- package/dist/views/receive-request/components/transfer-form/helpers/calculate-sub-item-total.helper.d.ts +4 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +693 -35
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +684 -35
- package/dist/views/receive-request/helper/po-to-po-template.util.d.ts +1 -0
- package/dist/views/receive-request/helper/print-po.d.ts +9 -2
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +270 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +286 -0
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateSubItem.vue.d.ts +74 -0
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateSubItemTable.vue.d.ts +92 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +8 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +1 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +36 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +456 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +456 -12
- package/dist/views/transfer-template/helpers/location-to-po-supplier.util.d.ts +75 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -0
- package/dist/{vue-i18n-BcYt8MNZ.js → vue-i18n-CCd5_SRR.js} +212 -212
- package/package.json +3 -3
- package/dist/App-oKNdl2la.js +0 -276
- package/dist/ApprovalView-hDGkcBDy.js +0 -138
- package/dist/ClosingDraftView-CEeeL7W4.js +0 -1225
- package/dist/ClosingTemplateView-CkS9e0MV.js +0 -1819
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-CIBSvY0s.js +0 -142
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dg_7ELeT.js +0 -286
- package/dist/PublishView-ByXdmuJL.js +0 -192
- package/dist/ReceiveRequestView-CApg7LGM.js +0 -1876
- package/dist/StockView-D6o_oUlz.js +0 -1817
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D2skLe2M.js +0 -1327
- package/dist/TransferTemplateView-DVesObTd.js +0 -1284
- package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
- package/dist/index-P5iEcRw3.js +0 -29202
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -2628
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as m, u as B, a as d, ao as k, K as p } from "./app-oV9ISfFL.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as y } from "@feedmepos/ui-library";
|
|
4
4
|
import { ref as $, computed as S } from "vue";
|
|
5
5
|
const b = m((r, o) => {
|
|
6
|
-
const u =
|
|
6
|
+
const u = B(), a = v(), c = y();
|
|
7
7
|
return o.onError(async (t) => {
|
|
8
8
|
t.name === "SvcForbiddenError" && (c == null || c.open({
|
|
9
9
|
title: t.title,
|
|
@@ -98,7 +98,7 @@ const f = p(0), w = {
|
|
|
98
98
|
},
|
|
99
99
|
async readProductBalance() {
|
|
100
100
|
this.productBalance = [];
|
|
101
|
-
const a = d(), c =
|
|
101
|
+
const a = d(), c = k({
|
|
102
102
|
recipes: a.recipes,
|
|
103
103
|
skus: a.skus,
|
|
104
104
|
inventoryBindingMapping: {},
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ export declare enum InventoryFeature {
|
|
|
9
9
|
inventory_pos_closing_v2 = "inventory_pos_closing_v2",
|
|
10
10
|
inventory_pos_convert_v1 = "inventory_pos_convert_v1",
|
|
11
11
|
inventory_pos_costing = "inventory_pos_costing",
|
|
12
|
-
inventory_pos_stock_return = "inventory_pos_stock_return",
|
|
13
12
|
inventory_pos_transfer_require_fulfillment = "inventory_pos_transfer_require_fulfillment",
|
|
14
|
-
inventory_purchase_order_approval = "inventory_purchase_order_approval"
|
|
13
|
+
inventory_purchase_order_approval = "inventory_purchase_order_approval",
|
|
14
|
+
inventory_portal_stock_return = "inventory_portal_stock_return"
|
|
15
15
|
}
|
|
16
16
|
export interface FeatureState {
|
|
17
17
|
enableTotalCost: boolean;
|
|
@@ -25,10 +25,9 @@ export interface FeatureState {
|
|
|
25
25
|
enableWastageTemplate: boolean;
|
|
26
26
|
enableIngredientGroup: boolean;
|
|
27
27
|
mustUsePoTemplate: boolean;
|
|
28
|
-
/** @deprecated TODO: remove */
|
|
29
|
-
mustUseDefaultCost: boolean;
|
|
30
28
|
enableSupplierMasterList: boolean;
|
|
31
29
|
businessSupplierOnly: boolean;
|
|
30
|
+
enableReturnStocks: boolean;
|
|
32
31
|
}
|
|
33
32
|
export declare const useFeatureStore: () => {
|
|
34
33
|
readonly businessDbName: string;
|
|
@@ -45,10 +44,8 @@ export declare const useFeatureStore: () => {
|
|
|
45
44
|
readonly enableWastageTemplate: boolean;
|
|
46
45
|
readonly enableIngredientGroup: boolean;
|
|
47
46
|
readonly mustUsePoTemplate: boolean;
|
|
48
|
-
/** @deprecated TODO: remove */
|
|
49
|
-
readonly mustUseDefaultCost: boolean;
|
|
50
47
|
readonly enableSupplierMasterList: boolean;
|
|
51
48
|
readonly businessSupplierOnly: boolean;
|
|
49
|
+
readonly enableReturnStocks: boolean;
|
|
52
50
|
init(): Promise<void>;
|
|
53
|
-
setUser(location: FdoInventoryLocation): Promise<void>;
|
|
54
51
|
};
|
|
@@ -145,6 +145,11 @@ export declare function useNetSuiteStore(): {
|
|
|
145
145
|
} | undefined)[]]>;
|
|
146
146
|
getNetSuiteVendor(supplierId: string): FdoNetSuiteVendor | undefined;
|
|
147
147
|
getNetSuiteLocation(locationId: string): FdoNetSuiteLocation | undefined;
|
|
148
|
+
getSubsidiaryFullName(subsidiaryId?: string | null): {
|
|
149
|
+
id: string | undefined;
|
|
150
|
+
name: string;
|
|
151
|
+
fullName: string;
|
|
152
|
+
};
|
|
148
153
|
getLocationSubsidiary(netSuiteLocationId?: string | null): {
|
|
149
154
|
id: string | undefined;
|
|
150
155
|
name: string;
|
|
@@ -50,6 +50,7 @@ export declare function useInventoryStore(): {
|
|
|
50
50
|
}[];
|
|
51
51
|
}[] | null | undefined;
|
|
52
52
|
sku?: {
|
|
53
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
53
54
|
trackingMeasurement?: string | null | undefined;
|
|
54
55
|
convert?: {
|
|
55
56
|
measurement?: string | null | undefined;
|
|
@@ -93,7 +94,6 @@ export declare function useInventoryStore(): {
|
|
|
93
94
|
low: number;
|
|
94
95
|
mid: number;
|
|
95
96
|
} | null | undefined;
|
|
96
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
97
97
|
unit: {
|
|
98
98
|
_id: string;
|
|
99
99
|
name: string;
|
|
@@ -155,6 +155,7 @@ export declare function useInventoryStore(): {
|
|
|
155
155
|
_id: string;
|
|
156
156
|
name: string;
|
|
157
157
|
skus: {
|
|
158
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
158
159
|
trackingMeasurement?: string | null | undefined;
|
|
159
160
|
convert?: {
|
|
160
161
|
measurement?: string | null | undefined;
|
|
@@ -198,7 +199,6 @@ export declare function useInventoryStore(): {
|
|
|
198
199
|
low: number;
|
|
199
200
|
mid: number;
|
|
200
201
|
} | null | undefined;
|
|
201
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
202
202
|
code: string;
|
|
203
203
|
_id: string;
|
|
204
204
|
name: string;
|
|
@@ -826,6 +826,7 @@ export declare function useInventoryStore(): {
|
|
|
826
826
|
}[];
|
|
827
827
|
}[] | null | undefined;
|
|
828
828
|
sku?: {
|
|
829
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
829
830
|
trackingMeasurement?: string | null | undefined;
|
|
830
831
|
convert?: {
|
|
831
832
|
measurement?: string | null | undefined;
|
|
@@ -869,7 +870,6 @@ export declare function useInventoryStore(): {
|
|
|
869
870
|
low: number;
|
|
870
871
|
mid: number;
|
|
871
872
|
} | null | undefined;
|
|
872
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
873
873
|
unit: {
|
|
874
874
|
_id: string;
|
|
875
875
|
name: string;
|
|
@@ -931,6 +931,7 @@ export declare function useInventoryStore(): {
|
|
|
931
931
|
_id: string;
|
|
932
932
|
name: string;
|
|
933
933
|
skus: {
|
|
934
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
934
935
|
trackingMeasurement?: string | null | undefined;
|
|
935
936
|
convert?: {
|
|
936
937
|
measurement?: string | null | undefined;
|
|
@@ -974,7 +975,6 @@ export declare function useInventoryStore(): {
|
|
|
974
975
|
low: number;
|
|
975
976
|
mid: number;
|
|
976
977
|
} | null | undefined;
|
|
977
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
978
978
|
code: string;
|
|
979
979
|
_id: string;
|
|
980
980
|
name: string;
|
|
@@ -2085,6 +2085,7 @@ export declare function useInventoryStore(): {
|
|
|
2085
2085
|
}[];
|
|
2086
2086
|
}>;
|
|
2087
2087
|
readonly skus: {
|
|
2088
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2088
2089
|
trackingMeasurement?: string | null | undefined;
|
|
2089
2090
|
convert?: {
|
|
2090
2091
|
measurement?: string | null | undefined;
|
|
@@ -2128,7 +2129,6 @@ export declare function useInventoryStore(): {
|
|
|
2128
2129
|
low: number;
|
|
2129
2130
|
mid: number;
|
|
2130
2131
|
} | null | undefined;
|
|
2131
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2132
2132
|
unit: {
|
|
2133
2133
|
_id: string;
|
|
2134
2134
|
name: string;
|
|
@@ -2149,6 +2149,7 @@ export declare function useInventoryStore(): {
|
|
|
2149
2149
|
name: string;
|
|
2150
2150
|
}[];
|
|
2151
2151
|
readonly skuById: Record<string, {
|
|
2152
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2152
2153
|
trackingMeasurement?: string | null | undefined;
|
|
2153
2154
|
convert?: {
|
|
2154
2155
|
measurement?: string | null | undefined;
|
|
@@ -2192,7 +2193,6 @@ export declare function useInventoryStore(): {
|
|
|
2192
2193
|
low: number;
|
|
2193
2194
|
mid: number;
|
|
2194
2195
|
} | null | undefined;
|
|
2195
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2196
2196
|
unit: {
|
|
2197
2197
|
_id: string;
|
|
2198
2198
|
name: string;
|
|
@@ -2213,6 +2213,7 @@ export declare function useInventoryStore(): {
|
|
|
2213
2213
|
name: string;
|
|
2214
2214
|
}>;
|
|
2215
2215
|
readonly skuByCode: Record<string, {
|
|
2216
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2216
2217
|
trackingMeasurement?: string | null | undefined;
|
|
2217
2218
|
convert?: {
|
|
2218
2219
|
measurement?: string | null | undefined;
|
|
@@ -2256,7 +2257,6 @@ export declare function useInventoryStore(): {
|
|
|
2256
2257
|
low: number;
|
|
2257
2258
|
mid: number;
|
|
2258
2259
|
} | null | undefined;
|
|
2259
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2260
2260
|
unit: {
|
|
2261
2261
|
_id: string;
|
|
2262
2262
|
name: string;
|
|
@@ -2296,6 +2296,7 @@ export declare function useInventoryStore(): {
|
|
|
2296
2296
|
_id: string;
|
|
2297
2297
|
name: string;
|
|
2298
2298
|
skus: {
|
|
2299
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2299
2300
|
trackingMeasurement?: string | null | undefined;
|
|
2300
2301
|
convert?: {
|
|
2301
2302
|
measurement?: string | null | undefined;
|
|
@@ -2339,12 +2340,138 @@ export declare function useInventoryStore(): {
|
|
|
2339
2340
|
low: number;
|
|
2340
2341
|
mid: number;
|
|
2341
2342
|
} | null | undefined;
|
|
2342
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2343
2343
|
code: string;
|
|
2344
2344
|
_id: string;
|
|
2345
2345
|
name: string;
|
|
2346
2346
|
}[];
|
|
2347
2347
|
}[];
|
|
2348
|
+
readonly skuTags: Map<unknown, [{
|
|
2349
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2350
|
+
trackingMeasurement?: string | null | undefined;
|
|
2351
|
+
convert?: {
|
|
2352
|
+
measurement?: string | null | undefined;
|
|
2353
|
+
inventoryBindings?: {
|
|
2354
|
+
measurement?: {
|
|
2355
|
+
id: string;
|
|
2356
|
+
name: string;
|
|
2357
|
+
abbrev: string;
|
|
2358
|
+
conversion: {
|
|
2359
|
+
amount: number;
|
|
2360
|
+
precision: number;
|
|
2361
|
+
};
|
|
2362
|
+
} | null | undefined;
|
|
2363
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2364
|
+
amount: {
|
|
2365
|
+
amount: number;
|
|
2366
|
+
precision: number;
|
|
2367
|
+
};
|
|
2368
|
+
id: string;
|
|
2369
|
+
}[] | null | undefined;
|
|
2370
|
+
} | null | undefined;
|
|
2371
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2372
|
+
defaultCost?: {
|
|
2373
|
+
measurement?: {
|
|
2374
|
+
id: string;
|
|
2375
|
+
name: string;
|
|
2376
|
+
abbrev: string;
|
|
2377
|
+
conversion: {
|
|
2378
|
+
amount: number;
|
|
2379
|
+
precision: number;
|
|
2380
|
+
};
|
|
2381
|
+
} | null | undefined;
|
|
2382
|
+
costPerUnit: {
|
|
2383
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2384
|
+
amount: number;
|
|
2385
|
+
precision: number;
|
|
2386
|
+
};
|
|
2387
|
+
} | null | undefined;
|
|
2388
|
+
operationalGroup?: string | null | undefined;
|
|
2389
|
+
thresholds?: {
|
|
2390
|
+
low: number;
|
|
2391
|
+
mid: number;
|
|
2392
|
+
} | null | undefined;
|
|
2393
|
+
unit: {
|
|
2394
|
+
_id: string;
|
|
2395
|
+
name: string;
|
|
2396
|
+
abbrev: string;
|
|
2397
|
+
precision: number;
|
|
2398
|
+
measurements: {
|
|
2399
|
+
id: string;
|
|
2400
|
+
name: string;
|
|
2401
|
+
abbrev: string;
|
|
2402
|
+
conversion: {
|
|
2403
|
+
amount: number;
|
|
2404
|
+
precision: number;
|
|
2405
|
+
};
|
|
2406
|
+
}[];
|
|
2407
|
+
};
|
|
2408
|
+
code: string;
|
|
2409
|
+
_id: string;
|
|
2410
|
+
name: string;
|
|
2411
|
+
}, ...{
|
|
2412
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2413
|
+
trackingMeasurement?: string | null | undefined;
|
|
2414
|
+
convert?: {
|
|
2415
|
+
measurement?: string | null | undefined;
|
|
2416
|
+
inventoryBindings?: {
|
|
2417
|
+
measurement?: {
|
|
2418
|
+
id: string;
|
|
2419
|
+
name: string;
|
|
2420
|
+
abbrev: string;
|
|
2421
|
+
conversion: {
|
|
2422
|
+
amount: number;
|
|
2423
|
+
precision: number;
|
|
2424
|
+
};
|
|
2425
|
+
} | null | undefined;
|
|
2426
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2427
|
+
amount: {
|
|
2428
|
+
amount: number;
|
|
2429
|
+
precision: number;
|
|
2430
|
+
};
|
|
2431
|
+
id: string;
|
|
2432
|
+
}[] | null | undefined;
|
|
2433
|
+
} | null | undefined;
|
|
2434
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2435
|
+
defaultCost?: {
|
|
2436
|
+
measurement?: {
|
|
2437
|
+
id: string;
|
|
2438
|
+
name: string;
|
|
2439
|
+
abbrev: string;
|
|
2440
|
+
conversion: {
|
|
2441
|
+
amount: number;
|
|
2442
|
+
precision: number;
|
|
2443
|
+
};
|
|
2444
|
+
} | null | undefined;
|
|
2445
|
+
costPerUnit: {
|
|
2446
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2447
|
+
amount: number;
|
|
2448
|
+
precision: number;
|
|
2449
|
+
};
|
|
2450
|
+
} | null | undefined;
|
|
2451
|
+
operationalGroup?: string | null | undefined;
|
|
2452
|
+
thresholds?: {
|
|
2453
|
+
low: number;
|
|
2454
|
+
mid: number;
|
|
2455
|
+
} | null | undefined;
|
|
2456
|
+
unit: {
|
|
2457
|
+
_id: string;
|
|
2458
|
+
name: string;
|
|
2459
|
+
abbrev: string;
|
|
2460
|
+
precision: number;
|
|
2461
|
+
measurements: {
|
|
2462
|
+
id: string;
|
|
2463
|
+
name: string;
|
|
2464
|
+
abbrev: string;
|
|
2465
|
+
conversion: {
|
|
2466
|
+
amount: number;
|
|
2467
|
+
precision: number;
|
|
2468
|
+
};
|
|
2469
|
+
}[];
|
|
2470
|
+
};
|
|
2471
|
+
code: string;
|
|
2472
|
+
_id: string;
|
|
2473
|
+
name: string;
|
|
2474
|
+
}[]]>;
|
|
2348
2475
|
init(): Promise<void>;
|
|
2349
2476
|
readClosing(): Promise<void>;
|
|
2350
2477
|
getAffectedMenu(id: string): Promise<BindedWithRecipeId[]>;
|
|
@@ -17,6 +17,7 @@ export declare function useLocationStore(): {
|
|
|
17
17
|
acceptRequest: boolean;
|
|
18
18
|
dbName: string;
|
|
19
19
|
doc: {
|
|
20
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
20
21
|
_id: string;
|
|
21
22
|
businessId: string;
|
|
22
23
|
profile: {
|
|
@@ -108,6 +109,7 @@ export declare function useLocationStore(): {
|
|
|
108
109
|
acceptRequest: boolean;
|
|
109
110
|
dbName: string;
|
|
110
111
|
doc: {
|
|
112
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
111
113
|
_id: string;
|
|
112
114
|
businessId: string;
|
|
113
115
|
profile: {
|
|
@@ -200,6 +202,7 @@ export declare function useLocationStore(): {
|
|
|
200
202
|
acceptRequest: boolean;
|
|
201
203
|
dbName: string;
|
|
202
204
|
doc: {
|
|
205
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
203
206
|
_id: string;
|
|
204
207
|
businessId: string;
|
|
205
208
|
profile: {
|
|
@@ -291,6 +294,7 @@ export declare function useLocationStore(): {
|
|
|
291
294
|
acceptRequest: boolean;
|
|
292
295
|
dbName: string;
|
|
293
296
|
doc: {
|
|
297
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
294
298
|
_id: string;
|
|
295
299
|
businessId: string;
|
|
296
300
|
profile: {
|
|
@@ -373,6 +377,98 @@ export declare function useLocationStore(): {
|
|
|
373
377
|
};
|
|
374
378
|
}[] | null;
|
|
375
379
|
};
|
|
380
|
+
readonly locationById: Record<string, {
|
|
381
|
+
inventory?: {
|
|
382
|
+
_id: string;
|
|
383
|
+
updatedAt: string;
|
|
384
|
+
} | null | undefined;
|
|
385
|
+
type: "restaurant" | "warehouse";
|
|
386
|
+
name: string;
|
|
387
|
+
acceptRequest: boolean;
|
|
388
|
+
dbName: string;
|
|
389
|
+
doc: {
|
|
390
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
391
|
+
_id: string;
|
|
392
|
+
businessId: string;
|
|
393
|
+
profile: {
|
|
394
|
+
code?: string | null | undefined;
|
|
395
|
+
_id?: string | null | undefined;
|
|
396
|
+
name?: string | undefined;
|
|
397
|
+
address?: {
|
|
398
|
+
coordinates?: number[] | null | undefined;
|
|
399
|
+
line2?: string | null | undefined;
|
|
400
|
+
state: string;
|
|
401
|
+
country: string;
|
|
402
|
+
line1: string;
|
|
403
|
+
city: string;
|
|
404
|
+
postcode: string;
|
|
405
|
+
} | undefined;
|
|
406
|
+
email?: string | undefined;
|
|
407
|
+
regNo?: string | undefined;
|
|
408
|
+
sstRegNo?: string | null | undefined;
|
|
409
|
+
phoneNo?: string | undefined;
|
|
410
|
+
legalName?: string | null | undefined;
|
|
411
|
+
discovery?: boolean | null | undefined;
|
|
412
|
+
coverPhoto?: string | null | undefined;
|
|
413
|
+
thumbnailPhoto?: string | null | undefined;
|
|
414
|
+
description?: string | null | undefined;
|
|
415
|
+
photos?: string[] | null | undefined;
|
|
416
|
+
operatingHours?: {
|
|
417
|
+
0: {
|
|
418
|
+
hours: {
|
|
419
|
+
end: string;
|
|
420
|
+
start: string;
|
|
421
|
+
}[];
|
|
422
|
+
enable: boolean;
|
|
423
|
+
};
|
|
424
|
+
2: {
|
|
425
|
+
hours: {
|
|
426
|
+
end: string;
|
|
427
|
+
start: string;
|
|
428
|
+
}[];
|
|
429
|
+
enable: boolean;
|
|
430
|
+
};
|
|
431
|
+
1: {
|
|
432
|
+
hours: {
|
|
433
|
+
end: string;
|
|
434
|
+
start: string;
|
|
435
|
+
}[];
|
|
436
|
+
enable: boolean;
|
|
437
|
+
};
|
|
438
|
+
3: {
|
|
439
|
+
hours: {
|
|
440
|
+
end: string;
|
|
441
|
+
start: string;
|
|
442
|
+
}[];
|
|
443
|
+
enable: boolean;
|
|
444
|
+
};
|
|
445
|
+
4: {
|
|
446
|
+
hours: {
|
|
447
|
+
end: string;
|
|
448
|
+
start: string;
|
|
449
|
+
}[];
|
|
450
|
+
enable: boolean;
|
|
451
|
+
};
|
|
452
|
+
5: {
|
|
453
|
+
hours: {
|
|
454
|
+
end: string;
|
|
455
|
+
start: string;
|
|
456
|
+
}[];
|
|
457
|
+
enable: boolean;
|
|
458
|
+
};
|
|
459
|
+
6: {
|
|
460
|
+
hours: {
|
|
461
|
+
end: string;
|
|
462
|
+
start: string;
|
|
463
|
+
}[];
|
|
464
|
+
enable: boolean;
|
|
465
|
+
};
|
|
466
|
+
} | null | undefined;
|
|
467
|
+
tags?: string[] | null | undefined;
|
|
468
|
+
url?: string | null | undefined;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
}>;
|
|
376
472
|
readonly currentLocation: {
|
|
377
473
|
inventory?: {
|
|
378
474
|
_id: string;
|
|
@@ -383,6 +479,7 @@ export declare function useLocationStore(): {
|
|
|
383
479
|
acceptRequest: boolean;
|
|
384
480
|
dbName: string;
|
|
385
481
|
doc: {
|
|
482
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
386
483
|
_id: string;
|
|
387
484
|
businessId: string;
|
|
388
485
|
profile: {
|
|
@@ -477,6 +574,7 @@ export declare function useLocationStore(): {
|
|
|
477
574
|
acceptRequest: boolean;
|
|
478
575
|
dbName: string;
|
|
479
576
|
doc: {
|
|
577
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
480
578
|
_id: string;
|
|
481
579
|
businessId: string;
|
|
482
580
|
profile: {
|
|
@@ -569,6 +667,7 @@ export declare function useLocationStore(): {
|
|
|
569
667
|
acceptRequest: boolean;
|
|
570
668
|
dbName: string;
|
|
571
669
|
doc: {
|
|
670
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
572
671
|
_id: string;
|
|
573
672
|
businessId: string;
|
|
574
673
|
profile: {
|
|
@@ -657,4 +756,5 @@ export declare function useLocationStore(): {
|
|
|
657
756
|
setLocations(resp: InventoryLocation[]): void;
|
|
658
757
|
selectLocation(location?: InventoryLocation, skipStorage?: boolean): void;
|
|
659
758
|
init(): Promise<void>;
|
|
759
|
+
readonly locationCustomTags: string[];
|
|
660
760
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.fm-droppable-field[data-v-e121b2c1]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-e121b2c1]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-e121b2c1]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-e121b2c1]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-e121b2c1]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-e121b2c1]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-e121b2c1]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-e121b2c1]:disabled{display:none;cursor:not-allowed}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-
|
|
1
|
+
.fm-droppable-field[data-v-e121b2c1]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-e121b2c1]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-e121b2c1]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-e121b2c1]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-e121b2c1]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-e121b2c1]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-e121b2c1]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-e121b2c1]:disabled{display:none;cursor:not-allowed}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-2ace8ff3],.fade-leave-active[data-v-2ace8ff3]{transition:opacity .25s ease}.fade-enter[data-v-2ace8ff3],.fade-leave-to[data-v-2ace8ff3]{opacity:0}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}table[data-v-92a03d5c]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-92a03d5c],table th[data-v-92a03d5c]{padding:3px 5px;vertical-align:top}hr[data-v-92a03d5c]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-92a03d5c]{text-align:left}.text-right[data-v-92a03d5c]{text-align:right}.purchase-box[data-v-92a03d5c]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-92a03d5c]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-92a03d5c]{font-weight:600;color:#333}.sub-header[data-v-92a03d5c]{font-size:18px;color:#333}.caption[data-v-92a03d5c]{font-size:14px;color:#666}.address[data-v-92a03d5c]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-92a03d5c]{margin-top:30px}.item-header[data-v-92a03d5c]{border:0px;background:#ccc;color:#444}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;height:22px}.fm-status-badge-draft{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as m, u, s as y, ap as b, aq as v } from "./app-oV9ISfFL.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as w } from "pinia";
|
|
4
4
|
import { ref as l, computed as d } from "vue";
|