@feedmepos/mf-inventory-portal 0.0.25-dev.4 → 0.0.25-dev.41
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-DavuRdR4.js → App-BqAbcrCa.js} +35 -34
- package/dist/ApprovalView-CstNyWuq.js +143 -0
- package/dist/{BindingsDialog-Ckbhr9x3.js → BindingsDialog-B2POgTvT.js} +6 -6
- package/dist/{BindingsPicker-B63gIPVJ.js → BindingsPicker-Bp8wNAW0.js} +8 -8
- package/dist/{BindingsTable-5w7_8JzF.js → BindingsTable-C5ToIwJw.js} +6 -6
- package/dist/ClosingDraftView-B5KgTQOB.js +1348 -0
- package/dist/ClosingTemplateView-B6gT5-A_.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-BcedQV1P.js +211 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-M5pWGm8D.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bc6eTKR-.js} +52 -52
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-C76t4wed.js +51 -0
- package/dist/{IngredientGroupView-D_1gJl4X.js → IngredientGroupView-Bo18pDpd.js} +1 -1
- package/dist/IngredientsView-D4Tx5h1N.js +1744 -0
- package/dist/{IntegrationView-BcF7Qhvw.js → IntegrationView-5cTVErK7.js} +660 -623
- package/dist/{InventoryBindingForm-Cm49VDtA.js → InventoryBindingForm-D_JUD2PF.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-EJ0U2gdF.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Co33Sz1A.js} +96 -96
- package/dist/{InventoryBindingSummary-D821YZ-3.js → InventoryBindingSummary-DsQqzLxI.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6jGlkOx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKCHqrFd.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-TMYgOcbh.js → PremiumBadge.vue_vue_type_script_setup_true_lang-NhSXPpV1.js} +15 -15
- package/dist/PublishView-CVReC-7J.js +222 -0
- package/dist/{PurchaseOrderPrintPreview-DiCTMEY4.js → PurchaseOrderPrintPreview-kHtSdc_I.js} +1 -1
- package/dist/ReceiveRequestView-JJdBl6jR.js +2577 -0
- package/dist/{RecipeView-k5yiAPop.js → RecipeView-BAZzsPdQ.js} +32 -31
- package/dist/{index-DhAsCP14.js → StockView-Dwzf7ewT.js} +3577 -1764
- package/dist/{SupplierView-De4_YCtR.js → SupplierView-BoTsfsYX.js} +12 -11
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C2ZBmCNY.js +1564 -0
- package/dist/TransferTemplateView-BLO1uHet.js +1526 -0
- package/dist/{UnitView-DouWNXFf.js → UnitView-DfJ-huaQ.js} +14 -14
- package/dist/{WarehouseView-RQN-XBeO.js → WarehouseView-h5_GDAYM.js} +332 -314
- package/dist/api/closing-draft.d.ts +1 -0
- package/dist/api/inventory.d.ts +9 -6
- package/dist/api/netsuite.d.ts +21 -4
- package/dist/api/purchase-order.d.ts +6 -1
- package/dist/api/stock.d.ts +1 -0
- package/dist/{app-Bmmin1VX.js → app-CRWxxzQN.js} +29019 -28968
- 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 +23 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +20 -3
- package/dist/components/FmMultiselectDialogProps.d.ts +2 -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-CZhBTty7.js → decimal-BDt03-KF.js} +1 -1
- package/dist/feature-D_c7uzcV.js +1007 -0
- package/dist/{format-unit-display-CijRcRSo.js → format-unit-display-CsfojMpU.js} +335 -328
- package/dist/helper/fuzzy.d.ts +10 -0
- package/dist/index-BbwuhE-c.js +35546 -0
- package/dist/{stock-D5lxPBQG.js → stock-DSyF_gBG.js} +29 -25
- package/dist/stores/feature.d.ts +4 -5
- package/dist/stores/integration/netsuite.d.ts +21 -4
- 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-BU1WhNTR.js → supplier-BLqNIQG9.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-ingredient-select-dialog-BSxFzWSk.js +51 -0
- package/dist/{use-inventory-binding-dialog-ZneYylve.js → use-inventory-binding-dialog-DyIQsTTm.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/TransferDetailsProps.d.ts +4 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +411 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +6 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +382 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +6 -3
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +822 -29
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +650 -48
- package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
- package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
- package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
- package/dist/views/receive-request/import/export.d.ts +12 -0
- package/dist/views/receive-request/import/props.d.ts +7 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +220 -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 +9 -4
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +60 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +60 -12
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -0
- package/dist/{vue-i18n-BQNx5sCM.js → vue-i18n-ZO6qpjnw.js} +226 -226
- package/package.json +2 -2
- package/dist/ApprovalView-DjDzZmVI.js +0 -138
- package/dist/ClosingDraftView-BwV3uiYC.js +0 -1225
- package/dist/ClosingTemplateView-vaAj0Y-0.js +0 -1819
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-Dy1BXu1R.js +0 -142
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZ_Q-3lU.js +0 -286
- package/dist/IngredientsView-Xzt0_AP8.js +0 -1706
- package/dist/PublishView-CYdu5jl4.js +0 -192
- package/dist/ReceiveRequestView-DGqs1rpr.js +0 -1876
- package/dist/StockView-DX0RjayP.js +0 -1817
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DhdMwHAA.js +0 -1327
- package/dist/TransferTemplateView-DEwJaqYB.js +0 -1284
- package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
- package/dist/index-DbE8p73U.js +0 -29202
|
@@ -1,41 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useCoreStore as
|
|
1
|
+
import { W as m, u as B, a as l, an as k, K as v } from "./app-CRWxxzQN.js";
|
|
2
|
+
import { useCoreStore as p } 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
|
|
6
|
+
const c = B(), a = p(), u = y();
|
|
7
7
|
return o.onError(async (t) => {
|
|
8
|
-
t.name === "SvcForbiddenError" && (
|
|
8
|
+
t.name === "SvcForbiddenError" && (u == null || u.open({
|
|
9
9
|
title: t.title,
|
|
10
10
|
message: t.message,
|
|
11
11
|
type: "error"
|
|
12
12
|
}));
|
|
13
13
|
}), {
|
|
14
14
|
async readStockBalance() {
|
|
15
|
-
const t =
|
|
15
|
+
const t = c.currentLocationDBName, e = `${r.inventoryBackendUrl}/${t}/stock-balance`;
|
|
16
16
|
return await o.get(e);
|
|
17
17
|
},
|
|
18
18
|
async readSkuBalance() {
|
|
19
19
|
var s;
|
|
20
|
-
const t =
|
|
20
|
+
const t = c.currentLocationDBName, e = `${r.inventoryBackendUrl}/${t}/sku/balance`;
|
|
21
21
|
return (((s = a.currentBusiness.value) == null ? void 0 : s.menuVersion) ?? "") === "v3" ? await o.get(e) : await o.get(`${e}?useInventoryDoc=true`);
|
|
22
22
|
},
|
|
23
23
|
async readSingleAdjustment(t) {
|
|
24
|
-
const e =
|
|
24
|
+
const e = c.currentLocationDBName, n = `${r.inventoryBackendUrl}/${e}/adjustment`;
|
|
25
25
|
return await o.get(`${n}?adjustmentId=${t}`);
|
|
26
26
|
},
|
|
27
27
|
async readStockAdjustment(t, e, n) {
|
|
28
|
-
const s =
|
|
28
|
+
const s = c.currentLocationDBName, i = `${r.inventoryBackendUrl}/${s}/sku`;
|
|
29
29
|
return await o.get(`${i}?skuId=${t}&start=${e}&end=${n}`);
|
|
30
30
|
},
|
|
31
|
+
async readAdjustmentById(t) {
|
|
32
|
+
const e = c.currentLocationDBName, n = `${r.inventoryBackendUrl}/${e}/adjustment`;
|
|
33
|
+
return await o.get(`${n}?adjustmentId=${t}`);
|
|
34
|
+
},
|
|
31
35
|
async convertSku(t) {
|
|
32
36
|
var i;
|
|
33
|
-
const e =
|
|
37
|
+
const e = c.currentLocationDBName, n = `${r.inventoryBackendUrl}/${e}/sku/convert`;
|
|
34
38
|
return (((i = a.currentBusiness.value) == null ? void 0 : i.menuVersion) ?? "") === "v3" ? await o.post(n, t) : await o.post(`${n}?useInventoryDoc=true`, t);
|
|
35
39
|
},
|
|
36
40
|
async adjustSku(t) {
|
|
37
41
|
var i;
|
|
38
|
-
const e =
|
|
42
|
+
const e = c.currentLocationDBName, n = `${r.inventoryBackendUrl}/${e}/sku/adjust`;
|
|
39
43
|
return (((i = a.currentBusiness.value) == null ? void 0 : i.menuVersion) ?? "") === "v3" ? await o.post(n, t) : await o.post(`${n}?useInventoryDoc=true`, t);
|
|
40
44
|
},
|
|
41
45
|
recalculation: {
|
|
@@ -61,44 +65,44 @@ function g() {
|
|
|
61
65
|
productBalance: []
|
|
62
66
|
};
|
|
63
67
|
}
|
|
64
|
-
const f =
|
|
68
|
+
const f = v(0), w = {
|
|
65
69
|
id: "",
|
|
66
70
|
balance: f,
|
|
67
71
|
closing: null,
|
|
68
72
|
costs: null
|
|
69
|
-
},
|
|
70
|
-
const r =
|
|
73
|
+
}, d = $(g()), A = () => {
|
|
74
|
+
const r = l(), o = S(() => {
|
|
71
75
|
var t;
|
|
72
|
-
const a = (t =
|
|
76
|
+
const a = (t = d.value.stockBalance.skus) == null ? void 0 : t.groupBy((e) => e.id), u = (e) => {
|
|
73
77
|
var n;
|
|
74
78
|
return ((n = a == null ? void 0 : a.get(e)) == null ? void 0 : n[0]) ?? { ...w, id: e };
|
|
75
79
|
};
|
|
76
|
-
return r.skus.map((e) =>
|
|
77
|
-
}),
|
|
80
|
+
return r.skus.map((e) => u(e._id));
|
|
81
|
+
}), c = b();
|
|
78
82
|
return {
|
|
79
83
|
// state
|
|
80
84
|
get stockBalance() {
|
|
81
85
|
return {
|
|
82
|
-
...
|
|
86
|
+
...d.value.stockBalance,
|
|
83
87
|
skus: o.value
|
|
84
88
|
};
|
|
85
89
|
},
|
|
86
90
|
set stockBalance(a) {
|
|
87
|
-
|
|
91
|
+
d.value.stockBalance = a;
|
|
88
92
|
},
|
|
89
93
|
get productBalance() {
|
|
90
|
-
return
|
|
94
|
+
return d.value.productBalance;
|
|
91
95
|
},
|
|
92
96
|
set productBalance(a) {
|
|
93
|
-
|
|
97
|
+
d.value.productBalance = a;
|
|
94
98
|
},
|
|
95
99
|
// actions
|
|
96
100
|
async readStockBalance() {
|
|
97
|
-
this.stockBalance = await
|
|
101
|
+
this.stockBalance = await c.readStockBalance();
|
|
98
102
|
},
|
|
99
103
|
async readProductBalance() {
|
|
100
104
|
this.productBalance = [];
|
|
101
|
-
const a =
|
|
105
|
+
const a = l(), u = k({
|
|
102
106
|
recipes: a.recipes,
|
|
103
107
|
skus: a.skus,
|
|
104
108
|
inventoryBindingMapping: {},
|
|
@@ -108,9 +112,9 @@ const f = p(0), w = {
|
|
|
108
112
|
function t(e, n) {
|
|
109
113
|
return Object.prototype.hasOwnProperty.call(e, n);
|
|
110
114
|
}
|
|
111
|
-
for (const e in
|
|
112
|
-
if (t(
|
|
113
|
-
const n =
|
|
115
|
+
for (const e in u.convertCountdown)
|
|
116
|
+
if (t(u.convertCountdown, e)) {
|
|
117
|
+
const n = u.convertCountdown[e];
|
|
114
118
|
this.productBalance.push({
|
|
115
119
|
id: e,
|
|
116
120
|
count: n
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -11,7 +11,8 @@ export declare enum InventoryFeature {
|
|
|
11
11
|
inventory_pos_costing = "inventory_pos_costing",
|
|
12
12
|
inventory_pos_stock_return = "inventory_pos_stock_return",
|
|
13
13
|
inventory_pos_transfer_require_fulfillment = "inventory_pos_transfer_require_fulfillment",
|
|
14
|
-
inventory_purchase_order_approval = "inventory_purchase_order_approval"
|
|
14
|
+
inventory_purchase_order_approval = "inventory_purchase_order_approval",
|
|
15
|
+
inventory_portal_xilnex_transfer_note = "inventory_portal_xilnex_transfer_note"
|
|
15
16
|
}
|
|
16
17
|
export interface FeatureState {
|
|
17
18
|
enableTotalCost: boolean;
|
|
@@ -25,10 +26,9 @@ export interface FeatureState {
|
|
|
25
26
|
enableWastageTemplate: boolean;
|
|
26
27
|
enableIngredientGroup: boolean;
|
|
27
28
|
mustUsePoTemplate: boolean;
|
|
28
|
-
/** @deprecated TODO: remove */
|
|
29
|
-
mustUseDefaultCost: boolean;
|
|
30
29
|
enableSupplierMasterList: boolean;
|
|
31
30
|
businessSupplierOnly: boolean;
|
|
31
|
+
enableXilnexTransferNote: boolean;
|
|
32
32
|
}
|
|
33
33
|
export declare const useFeatureStore: () => {
|
|
34
34
|
readonly businessDbName: string;
|
|
@@ -45,10 +45,9 @@ export declare const useFeatureStore: () => {
|
|
|
45
45
|
readonly enableWastageTemplate: boolean;
|
|
46
46
|
readonly enableIngredientGroup: boolean;
|
|
47
47
|
readonly mustUsePoTemplate: boolean;
|
|
48
|
-
/** @deprecated TODO: remove */
|
|
49
|
-
readonly mustUseDefaultCost: boolean;
|
|
50
48
|
readonly enableSupplierMasterList: boolean;
|
|
51
49
|
readonly businessSupplierOnly: boolean;
|
|
50
|
+
readonly enableXilnexTransferNote: boolean;
|
|
52
51
|
init(): Promise<void>;
|
|
53
52
|
setUser(location: FdoInventoryLocation): Promise<void>;
|
|
54
53
|
};
|
|
@@ -12,9 +12,13 @@ export declare function useNetSuiteStore(): {
|
|
|
12
12
|
_id: string;
|
|
13
13
|
enable: boolean;
|
|
14
14
|
items: {
|
|
15
|
+
externalId?: string | null | undefined;
|
|
16
|
+
cogsAccount?: {
|
|
17
|
+
id: string;
|
|
18
|
+
refName: string;
|
|
19
|
+
} | null | undefined;
|
|
15
20
|
pktCode?: string | null | undefined;
|
|
16
21
|
pktName?: string | null | undefined;
|
|
17
|
-
externalId?: string | null | undefined;
|
|
18
22
|
id: string;
|
|
19
23
|
netSuiteId: string;
|
|
20
24
|
unitTypeId: string;
|
|
@@ -36,9 +40,13 @@ export declare function useNetSuiteStore(): {
|
|
|
36
40
|
deploymentId: string;
|
|
37
41
|
}[] | null | undefined;
|
|
38
42
|
childItems: {
|
|
43
|
+
externalId?: string | null | undefined;
|
|
44
|
+
cogsAccount?: {
|
|
45
|
+
id: string;
|
|
46
|
+
refName: string;
|
|
47
|
+
} | null | undefined;
|
|
39
48
|
pktCode?: string | null | undefined;
|
|
40
49
|
pktName?: string | null | undefined;
|
|
41
|
-
externalId?: string | null | undefined;
|
|
42
50
|
netSuiteId: string;
|
|
43
51
|
parentNetSuiteId: string;
|
|
44
52
|
unitTypeId: string;
|
|
@@ -77,9 +85,13 @@ export declare function useNetSuiteStore(): {
|
|
|
77
85
|
readonly netSuiteItemIdToSkuId: Map<unknown, [string, ...string[]]>;
|
|
78
86
|
readonly netSuiteMeasurementIdToMeasurementId: Map<unknown, [string, ...string[]]>;
|
|
79
87
|
readonly netSuiteItemBySkuId: Map<unknown, [{
|
|
88
|
+
externalId?: string | null | undefined;
|
|
89
|
+
cogsAccount?: {
|
|
90
|
+
id: string;
|
|
91
|
+
refName: string;
|
|
92
|
+
} | null | undefined;
|
|
80
93
|
pktCode?: string | null | undefined;
|
|
81
94
|
pktName?: string | null | undefined;
|
|
82
|
-
externalId?: string | null | undefined;
|
|
83
95
|
id: string;
|
|
84
96
|
netSuiteId: string;
|
|
85
97
|
unitTypeId: string;
|
|
@@ -87,9 +99,13 @@ export declare function useNetSuiteStore(): {
|
|
|
87
99
|
subsidiaryIds: string[];
|
|
88
100
|
includeChildren: boolean;
|
|
89
101
|
}, ...{
|
|
102
|
+
externalId?: string | null | undefined;
|
|
103
|
+
cogsAccount?: {
|
|
104
|
+
id: string;
|
|
105
|
+
refName: string;
|
|
106
|
+
} | null | undefined;
|
|
90
107
|
pktCode?: string | null | undefined;
|
|
91
108
|
pktName?: string | null | undefined;
|
|
92
|
-
externalId?: string | null | undefined;
|
|
93
109
|
id: string;
|
|
94
110
|
netSuiteId: string;
|
|
95
111
|
unitTypeId: string;
|
|
@@ -172,6 +188,7 @@ export declare function useNetSuiteStore(): {
|
|
|
172
188
|
getAvailableItems(subsidiaryId?: string | null): string[];
|
|
173
189
|
getAvailableMeasurements(skuId: string, subsidiaryId?: string | null): string[];
|
|
174
190
|
readSetting(): Promise<void>;
|
|
191
|
+
getNetSuiteLocations(): Promise<any>;
|
|
175
192
|
getVendorSubsidiaryName(supplierId: string): string;
|
|
176
193
|
syncTransferOrder(type: string, poId: string, porId?: string): Promise<void>;
|
|
177
194
|
getItemPKTCode(sku: FdoInventorySku, measurementId?: string | null): string | null;
|
|
@@ -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-
|
|
1
|
+
.fm-droppable-field[data-v-2937afd0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-2937afd0]{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-2937afd0]{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-2937afd0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-2937afd0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-2937afd0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-2937afd0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-2937afd0]: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)}
|