@feedmepos/mf-inventory-portal 0.0.20-dev.1 → 0.0.21-dev.1
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/{ApprovalView-CF-RhtHH.js → ApprovalView-DW0_5glj.js} +5 -5
- package/dist/{BindingsDialog-0_fCmf7t.js → BindingsDialog-Czx4IaxD.js} +1 -1
- package/dist/{BindingsPicker-CT-56t-W.js → BindingsPicker-C25wyJ5c.js} +1 -1
- package/dist/BindingsTable-DypE3NR_.js +145 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js} +1 -1
- package/dist/IngredientsView-B-Hwi7zE.js +1751 -0
- package/dist/{IntegrationView-D7hqf0P5.js → IntegrationView-BrsjpHwN.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DZOs6wE2.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Y3A-wRZm.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-C92PdleC.js → PurchaseOrderPrintPreview-BYxCDtxN.js} +1 -1
- package/dist/{ReceiveRequestView-BaxEQWOD.js → ReceiveRequestView-Da81c19A.js} +7 -7
- package/dist/{RecipeView-CDgZpLPk.js → RecipeView-21VHawYH.js} +4 -4
- package/dist/{StockView-B77CrARl.js → StockView-BRxg62Jk.js} +499 -487
- package/dist/{SupplierView-DQ3hB7q2.js → SupplierView-BR7mmuKe.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js → TransferDetails.vue_vue_type_script_setup_true_lang-BixtDHmX.js} +88 -87
- package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js → TransferDialog.vue_vue_type_script_setup_true_lang-q75hFaSf.js} +473 -475
- package/dist/TransferTemplateView-BXNj1QDe.js +1381 -0
- package/dist/{UnitView-DlmlVNOx.js → UnitView-bO2BhUFj.js} +5 -5
- package/dist/{WarehouseView-DXWls5vv.js → WarehouseView-CmB2drN4.js} +3 -3
- package/dist/api/inventory.d.ts +104 -5
- package/dist/api/stock.d.ts +8 -0
- package/dist/{app-P7rGzGsF.js → app-CmxCdDLB.js} +5169 -5113
- package/dist/app.d.ts +6 -0
- package/dist/app.js +3 -3
- package/dist/components/FmUnitInputProps.d.ts +1 -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-4ONRlhOO.js → decimal-jg7WewgV.js} +1 -1
- package/dist/{id-to-date-D8Ey2CVj.js → id-to-date-5ySGvt_H.js} +1 -1
- package/dist/{layout-D-zXtsSp.js → layout-DTjCHRyt.js} +6 -6
- package/dist/purchase-order-transaction-type-B9KguKXt.js +723 -0
- package/dist/stores/inventory.d.ts +4 -4
- package/dist/stores/location.d.ts +308 -1612
- package/dist/style.css +1 -1
- package/dist/{supplier-DsUIjl-L.js → supplier-D1iKgl2Z.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -5
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +12 -12
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -12
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +109 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1461 -249
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +926 -118
- package/dist/{xlsx-zfERRe6K.js → xlsx-DE-wX-rr.js} +1 -1
- package/dist/{xlsx.util-DnbiJzsk.js → xlsx.util-ktlEcFIy.js} +2 -2
- package/package.json +3 -3
- package/dist/BindingsTable-DEftAnTN.js +0 -120
- package/dist/IngredientsView-Au6oRwF2.js +0 -1663
- package/dist/TransferTemplateView-Dt04xMCK.js +0 -1290
- package/dist/format-unit-display-DJpElzu_.js +0 -707
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as H, computed as V, openBlock as v, createElementBlock as k, createElementVNode as l, Fragment as N, renderList as q, toDisplayString as h, createCommentVNode as O, ref as R, resolveComponent as E, createBlock as T, withCtx as I, createVNode as y, unref as a, isRef as X, normalizeStyle as se, Teleport as ae, normalizeProps as re, guardReactiveProps as ie } from "vue";
|
|
2
|
-
import { u as K, S as ue, c as ne, R as z, A as de, a as Y, l as me, m as ce, e as Z, j as pe } from "./app-
|
|
2
|
+
import { u as K, S as ue, c as ne, R as z, A as de, a as Y, l as me, m as ce, e as Z, j as pe } from "./app-CmxCdDLB.js";
|
|
3
3
|
import { useDialog as fe, useSnackbar as oe, useProxiedModel as ee, useBreakpoints as ve } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as ye, _ as be } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as w, D as te, R as j } from "./row-action.enum-PMKMRrZR.js";
|
|
6
6
|
import { defineStore as ge, storeToRefs as xe } from "pinia";
|
|
7
|
-
import { c as _e, _ as he, F as Ve, u as Ue } from "./layout-
|
|
7
|
+
import { c as _e, _ as he, F as Ve, u as Ue } from "./layout-DTjCHRyt.js";
|
|
8
8
|
import { useI18n as G } from "@feedmepos/mf-common";
|
|
9
|
-
import { _ as we, a as Ce } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { F as ke } from "./decimal-
|
|
11
|
-
import { _ as Fe } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as we, a as Ce } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js";
|
|
10
|
+
import { F as ke } from "./decimal-jg7WewgV.js";
|
|
11
|
+
import { _ as Fe } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DZOs6wE2.js";
|
|
12
12
|
const Se = { class: "flex flex-col gap-8" }, $e = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "flex flex-col"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as W, defineComponent as O, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as S, createElementBlock as j, toRaw as be, reactive as $e, createElementVNode as b, toDisplayString as L, unref as c, createVNode as k, resolveComponent as B, createSlots as De, withCtx as q, createTextVNode as We, renderSlot as Pe, createBlock as z, createCommentVNode as xe, computed as D, isRef as we, normalizeStyle as Se } from "vue";
|
|
2
|
-
import { n as Re, Q as Te, T as Ee, c as G, V as ae, W as le, X as Ue, i as Le, R as N, j as Ne } from "./app-
|
|
2
|
+
import { n as Re, Q as Te, T as Ee, c as G, V as ae, W as le, X as Ue, i as Le, R as N, j as Ne } from "./app-CmxCdDLB.js";
|
|
3
3
|
import { useCoreStore as Be, useI18n as I } from "@feedmepos/mf-common";
|
|
4
4
|
import { D as Ve, R as Z, F as E } from "./row-action.enum-PMKMRrZR.js";
|
|
5
|
-
import { c as qe, _ as Ie, F as J, u as je } from "./layout-
|
|
6
|
-
import { _ as ze, a as Oe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { c as qe, _ as Ie, F as J, u as je } from "./layout-DTjCHRyt.js";
|
|
6
|
+
import { _ as ze, a as Oe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js";
|
|
7
7
|
import { useDialogChild as Ge, useDialog as Ae, useSnackbar as se, useProxiedModel as oe, useBreakpoints as Ke } from "@feedmepos/ui-library";
|
|
8
8
|
const Y = Re((p, m) => {
|
|
9
9
|
const f = Be();
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -1,7 +1,106 @@
|
|
|
1
|
-
import { type InventoryLocation } from '@/stores/location';
|
|
2
1
|
import { type WithRev } from '@/api/type';
|
|
3
2
|
export declare const useInventoryApi: () => {
|
|
4
|
-
readInventoryLocations(): Promise<
|
|
3
|
+
readInventoryLocations(): Promise<({
|
|
4
|
+
doc?: any;
|
|
5
|
+
type: "restaurant";
|
|
6
|
+
name: string;
|
|
7
|
+
acceptRequest: boolean;
|
|
8
|
+
dbName: string;
|
|
9
|
+
} | {
|
|
10
|
+
type: "warehouse";
|
|
11
|
+
name: string;
|
|
12
|
+
acceptRequest: boolean;
|
|
13
|
+
dbName: string;
|
|
14
|
+
doc: {
|
|
15
|
+
pf_business?: {
|
|
16
|
+
internal?: boolean | null | undefined;
|
|
17
|
+
url?: string | null | undefined;
|
|
18
|
+
expiredAt?: string | null | undefined;
|
|
19
|
+
agentId?: string | null | undefined;
|
|
20
|
+
restaurantTagGroups?: {
|
|
21
|
+
name: string;
|
|
22
|
+
id: string;
|
|
23
|
+
tags: {
|
|
24
|
+
name: string;
|
|
25
|
+
id: string;
|
|
26
|
+
}[];
|
|
27
|
+
}[] | null | undefined;
|
|
28
|
+
pf_agent?: {
|
|
29
|
+
clickupId?: string | null | undefined;
|
|
30
|
+
members?: {
|
|
31
|
+
pf_user?: {
|
|
32
|
+
email?: string | null | undefined;
|
|
33
|
+
phoneNumber?: string | null | undefined;
|
|
34
|
+
birthday?: string | null | undefined;
|
|
35
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
36
|
+
addresses?: {
|
|
37
|
+
name: string;
|
|
38
|
+
address: string;
|
|
39
|
+
coordinates: number[];
|
|
40
|
+
}[] | null | undefined;
|
|
41
|
+
photoURL?: string | null | undefined;
|
|
42
|
+
displayName?: string | null | undefined;
|
|
43
|
+
imported?: {
|
|
44
|
+
raw: Record<string, any>;
|
|
45
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
46
|
+
} | null | undefined;
|
|
47
|
+
_id: string;
|
|
48
|
+
} | null | undefined;
|
|
49
|
+
role: "ADMIN";
|
|
50
|
+
userId: string;
|
|
51
|
+
}[] | null | undefined;
|
|
52
|
+
code: string;
|
|
53
|
+
name: string;
|
|
54
|
+
_id: string;
|
|
55
|
+
isReseller: boolean;
|
|
56
|
+
} | null | undefined;
|
|
57
|
+
thumbnail?: string | null | undefined;
|
|
58
|
+
billingInfos?: {
|
|
59
|
+
_id?: string | null | undefined;
|
|
60
|
+
name: string;
|
|
61
|
+
address: {
|
|
62
|
+
coordinates?: number[] | null | undefined;
|
|
63
|
+
line2?: string | null | undefined;
|
|
64
|
+
state: string;
|
|
65
|
+
country: string;
|
|
66
|
+
line1: string;
|
|
67
|
+
city: string;
|
|
68
|
+
postcode: string;
|
|
69
|
+
};
|
|
70
|
+
email: string;
|
|
71
|
+
companyName: string;
|
|
72
|
+
contact: string;
|
|
73
|
+
}[] | null | undefined;
|
|
74
|
+
customerDisplayImages?: {
|
|
75
|
+
url: string;
|
|
76
|
+
restaurantIds: string[];
|
|
77
|
+
}[] | null | undefined;
|
|
78
|
+
name: string;
|
|
79
|
+
_id: string;
|
|
80
|
+
ownerId: string;
|
|
81
|
+
restaurantQuota: number;
|
|
82
|
+
warehouseQuota: number;
|
|
83
|
+
menuVersion: string;
|
|
84
|
+
} | null | undefined;
|
|
85
|
+
_id: string;
|
|
86
|
+
businessId: string;
|
|
87
|
+
profile: {
|
|
88
|
+
email?: string | null | undefined;
|
|
89
|
+
phoneNo?: string | null | undefined;
|
|
90
|
+
name: string;
|
|
91
|
+
address: {
|
|
92
|
+
coordinates?: number[] | null | undefined;
|
|
93
|
+
line2?: string | null | undefined;
|
|
94
|
+
state: string;
|
|
95
|
+
country: string;
|
|
96
|
+
line1: string;
|
|
97
|
+
city: string;
|
|
98
|
+
postcode: string;
|
|
99
|
+
};
|
|
100
|
+
regNo: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
})[]>;
|
|
5
104
|
readInventory(): Promise<WithRev<{
|
|
6
105
|
unit?: {
|
|
7
106
|
_id: string;
|
|
@@ -57,11 +156,11 @@ export declare const useInventoryApi: () => {
|
|
|
57
156
|
precision: number;
|
|
58
157
|
};
|
|
59
158
|
} | null | undefined;
|
|
60
|
-
operationalGroup?: string | null | undefined;
|
|
61
159
|
thresholds?: {
|
|
62
160
|
low: number;
|
|
63
161
|
mid: number;
|
|
64
162
|
} | null | undefined;
|
|
163
|
+
operationalGroup?: string | null | undefined;
|
|
65
164
|
unit: {
|
|
66
165
|
_id: string;
|
|
67
166
|
name: string;
|
|
@@ -160,11 +259,11 @@ export declare const useInventoryApi: () => {
|
|
|
160
259
|
precision: number;
|
|
161
260
|
};
|
|
162
261
|
} | null | undefined;
|
|
163
|
-
operationalGroup?: string | null | undefined;
|
|
164
262
|
thresholds?: {
|
|
165
263
|
low: number;
|
|
166
264
|
mid: number;
|
|
167
265
|
} | null | undefined;
|
|
266
|
+
operationalGroup?: string | null | undefined;
|
|
168
267
|
unit: {
|
|
169
268
|
_id: string;
|
|
170
269
|
name: string;
|
|
@@ -263,11 +362,11 @@ export declare const useInventoryApi: () => {
|
|
|
263
362
|
precision: number;
|
|
264
363
|
};
|
|
265
364
|
} | null | undefined;
|
|
266
|
-
operationalGroup?: string | null | undefined;
|
|
267
365
|
thresholds?: {
|
|
268
366
|
low: number;
|
|
269
367
|
mid: number;
|
|
270
368
|
} | null | undefined;
|
|
369
|
+
operationalGroup?: string | null | undefined;
|
|
271
370
|
unit: {
|
|
272
371
|
_id: string;
|
|
273
372
|
name: string;
|
package/dist/api/stock.d.ts
CHANGED
|
@@ -6,4 +6,12 @@ export declare const useStockApi: () => {
|
|
|
6
6
|
readStockAdjustment(id: string, start: string, end: string): Promise<WithRev<FdoInventoryAdjustment>[]>;
|
|
7
7
|
convertSku(dto: FdtoConvertSku): Promise<any>;
|
|
8
8
|
adjustSku(dto: FdtoAdjustSkuBalance): Promise<any>;
|
|
9
|
+
recalculation: {
|
|
10
|
+
getRecalculateAbility(): Promise<{
|
|
11
|
+
reason?: string | null | undefined;
|
|
12
|
+
lastClosing?: string | null | undefined;
|
|
13
|
+
canRecalculate: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
startRecalculateTask(): Promise<any>;
|
|
16
|
+
};
|
|
9
17
|
};
|