@feedmepos/mf-inventory-portal 0.0.22-dev.3 → 0.0.22-dev.31
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.vue.d.ts +2 -0
- package/dist/{ApprovalView-BnkFRJgX.js → ApprovalView-DURCoP6_.js} +26 -26
- package/dist/{BindingsDialog-BDzmf8Wr.js → BindingsDialog-Cgf5MuLY.js} +1 -1
- package/dist/{BindingsPicker-CRGFd-d8.js → BindingsPicker-DvcjRma9.js} +8 -8
- package/dist/{BindingsTable-BnHju77G.js → BindingsTable-BPrs04hn.js} +1 -1
- package/dist/ClosingTemplateView-DU_OX_KS.js +1072 -0
- package/dist/Entry.vue.d.ts +0 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BRV9dZhu.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BNhYJdT-.js} +8 -8
- package/dist/IngredientsView-BGB-So1n.js +1817 -0
- package/dist/{IntegrationView-UySDEAnh.js → IntegrationView-tOw9GGXr.js} +120 -120
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cxy6vo9D.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CWz2vOzD.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-ChrCZc0C.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Qqp3wJ2n.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-CGxMILW0.js → PurchaseOrderPrintPreview-PnIeMMrq.js} +1 -1
- package/dist/{ReceiveRequestView-BHOC-ZLV.js → ReceiveRequestView-WjoI68r_.js} +20 -21
- package/dist/RecipeView-B2KynG4H.js +590 -0
- package/dist/{StockView-BcXcQZpl.js → StockView-DsutlmVn.js} +602 -585
- package/dist/{SupplierView-Bl13ZM-9.js → SupplierView-BuyFY-tF.js} +108 -108
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BoGGbhJi.js +858 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-8yMFTCo1.js +1678 -0
- package/dist/TransferTemplateView-BSn-HKWr.js +1232 -0
- package/dist/{UnitView-DG8PGv5Y.js → UnitView-Bx-dS9Nv.js} +6 -6
- package/dist/{WarehouseView-CeS8jrgw.js → WarehouseView-DpMvmi_A.js} +17 -17
- package/dist/api/inventory.d.ts +72 -85
- package/dist/api/netsuite.d.ts +47 -0
- package/dist/api/purchase-order-template.d.ts +0 -4
- package/dist/{app-DYhspC_r.js → app-B6CTWYqZ.js} +21877 -20978
- package/dist/app.d.ts +7 -0
- package/dist/app.js +3 -3
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/{decimal-DwEh3AcZ.js → decimal-DDNJiEl8.js} +1 -1
- package/dist/{defineDeepModel-htf7zxRR.js → defineDeepModel-CjoZrLbV.js} +3 -3
- package/dist/{format-time-from-id-1BxShIsX.js → format-time-from-id-CNRJtPZY.js} +3 -3
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/{id-to-date-CzSDsYm2.js → id-to-date-DJcRYNGy.js} +1 -1
- package/dist/purchase-order-transaction-type-Cew6w60I.js +678 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +22 -0
- package/dist/stores/location.d.ts +420 -504
- package/dist/stores/netsuite.d.ts +68 -0
- package/dist/stores/route.d.ts +0 -5
- package/dist/stores/warehouse.d.ts +4 -7
- package/dist/style.css +1 -1
- package/dist/{supplier-DegAxD_n.js → supplier-bvsRMnxk.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-DSlNJ-VP.js +85 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1080 -1020
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1080 -1020
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1854 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2329 -286
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2213 -170
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1253 -1457
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +420 -1474
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +230 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
- package/dist/{xlsx-CSS2klUs.js → xlsx-CnMhXCRI.js} +1 -1
- package/dist/{xlsx.util-CeY18XxV.js → xlsx.util-CV-IkG_3.js} +2 -2
- package/package.json +7 -7
- package/dist/ClosingTemplateView-D2EIa9YG.js +0 -1030
- package/dist/IngredientsView-CiUpjKmC.js +0 -1759
- package/dist/RecipeView-lgrm1J9x.js +0 -581
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-SXFiNrtm.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DSBEn-Mt.js +0 -1409
- package/dist/TransferTemplateView-C_eqQ9a8.js +0 -1230
- package/dist/array-ClJzD_Lt.js +0 -30
- package/dist/layout/InventoryLayout.vue.d.ts +0 -2
- package/dist/layout/layout-routes.d.ts +0 -6
- package/dist/purchase-order-transaction-type-lwIoC03T.js +0 -712
- package/dist/use-template-enabled-locations-B2ZtZAoX.js +0 -57
package/dist/app.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const i18nMessages: {
|
|
|
4
4
|
'en-US': {
|
|
5
5
|
inventory: {
|
|
6
6
|
common: {
|
|
7
|
+
success: string;
|
|
7
8
|
proPlan: {
|
|
8
9
|
title: string;
|
|
9
10
|
subtitle: string;
|
|
@@ -405,6 +406,9 @@ export declare const i18nMessages: {
|
|
|
405
406
|
subtitle: string;
|
|
406
407
|
error: string;
|
|
407
408
|
};
|
|
409
|
+
netsuite: {
|
|
410
|
+
subsidiary: string;
|
|
411
|
+
};
|
|
408
412
|
items: {
|
|
409
413
|
title: string;
|
|
410
414
|
addItem: string;
|
|
@@ -1108,6 +1112,9 @@ export declare const i18nMessages: {
|
|
|
1108
1112
|
subtitle: string;
|
|
1109
1113
|
error: string;
|
|
1110
1114
|
};
|
|
1115
|
+
netsuite: {
|
|
1116
|
+
subsidiary: string;
|
|
1117
|
+
};
|
|
1111
1118
|
items: {
|
|
1112
1119
|
title: string;
|
|
1113
1120
|
addItem: string;
|
package/dist/app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { au as n, _ as r, av as e, as as o, at as t, u as i } from "./app-B6CTWYqZ.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
n as FmApp,
|
|
4
|
+
r as InventoryBindingForm,
|
|
5
5
|
e as InventoryBindingSummary,
|
|
6
6
|
o as i18nMessages,
|
|
7
7
|
t as routers,
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { ISelectItem } from '@feedmepos/ui-library';
|
|
2
|
+
import FuzzySearch from 'fuzzy-search';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
search: import("vue").PropType<string>;
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: import("vue").PropType<any>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
maxHeight: {
|
|
10
|
+
type: import("vue").PropType<number>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
width: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
handleItemChange: {
|
|
18
|
+
type: import("vue").PropType<(isSelected: boolean, item: ISelectItem) => void>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
items: {
|
|
22
|
+
type: import("vue").PropType<ISelectItem[]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
options: {
|
|
26
|
+
type: import("vue").PropType<FuzzySearch.Options>;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
search: import("vue").PropType<string>;
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: import("vue").PropType<any>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
maxHeight: {
|
|
35
|
+
type: import("vue").PropType<number>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
type: import("vue").PropType<string>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
handleItemChange: {
|
|
43
|
+
type: import("vue").PropType<(isSelected: boolean, item: ISelectItem) => void>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
items: {
|
|
47
|
+
type: import("vue").PropType<ISelectItem[]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
options: {
|
|
51
|
+
type: import("vue").PropType<FuzzySearch.Options>;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { FmMinMaxInputModel } from './FmMinMaxInputProps';
|
|
2
|
+
import type { FdoDecimal } from '@feedmepos/core/entity';
|
|
2
3
|
export declare function FmMinMaxRequired(): (model?: FmMinMaxInputModel) => true | "Required";
|
|
3
4
|
/** Both `min` and `max` are inclusive */
|
|
4
5
|
export declare function FmMinMaxBoundary(min: number, max: number): (model?: FmMinMaxInputModel) => string | true;
|
|
6
|
+
export declare function FmMinMaxMultipleOf(decimal: FdoDecimal): (model?: FmMinMaxInputModel) => string | true;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { FmGroupModelValue } from './FmUnitInputProps';
|
|
2
2
|
import type { ValidationResult } from '@feedmepos/ui-library';
|
|
3
|
+
import type { FdoDecimal } from '@feedmepos/core/entity';
|
|
3
4
|
export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Must be a number";
|
|
4
5
|
export declare function FmUnitInputAmountAtLeastRule(minimum: number): (value: FmGroupModelValue) => string | true;
|
|
5
6
|
export declare function FmUnitInputAmountMoreThanRule(minimum: number): (value: FmGroupModelValue) => string | true;
|
|
6
7
|
export declare function FmUnitInputAmountAtMostRule(maximum: number): (value: FmGroupModelValue) => string | true;
|
|
7
8
|
export declare function FmUnitInputMaxPrecisionRule(unit: FdoInventoryUnit, applyAmountRule?: boolean): (value: any) => ValidationResult;
|
|
8
9
|
export declare function FmUnitInputMaxPrecisionRule(precision: number, applyAmountRule?: boolean): (value: any) => ValidationResult;
|
|
10
|
+
export declare function FmUnitInputAmountMultipleOf(decimal: FdoDecimal): (value: FmGroupModelValue) => ValidationResult;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as d,
|
|
2
|
-
import { getCurrentInstance as r, reactive as m, watch as
|
|
1
|
+
import { c as d, al as i } from "./app-B6CTWYqZ.js";
|
|
2
|
+
import { getCurrentInstance as r, reactive as m, watch as l } from "vue";
|
|
3
3
|
function b(e = "modelValue") {
|
|
4
4
|
var o, n;
|
|
5
5
|
const s = ((o = r()) == null ? void 0 : o.props) ?? {}, a = ((n = r()) == null ? void 0 : n.emit) ?? (() => {
|
|
6
6
|
}), t = m(d(s[e] ?? {})), c = `update:${i(e)}`;
|
|
7
|
-
return
|
|
7
|
+
return l(t, (p) => {
|
|
8
8
|
a(c, p);
|
|
9
9
|
}), t;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { am as n } from "./app-B6CTWYqZ.js";
|
|
2
|
+
function m(r) {
|
|
3
3
|
const t = a(r);
|
|
4
4
|
return t === null ? "" : n(t);
|
|
5
5
|
}
|
|
@@ -10,6 +10,6 @@ function a(r) {
|
|
|
10
10
|
return isNaN(e.getTime()) ? null : e;
|
|
11
11
|
}
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
m as f,
|
|
14
14
|
a as p
|
|
15
15
|
};
|
package/dist/helper/rules.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ValidationResult } from 'node_modules/@feedmepos/ui-library/dist/composables/useValidation';
|
|
2
2
|
import { type AdjustmentAmount } from './number';
|
|
3
3
|
import type { ISelectItem } from '@feedmepos/ui-library';
|
|
4
|
+
import type { FdoDecimal } from '@feedmepos/core/entity';
|
|
4
5
|
export declare function Required(): (val: string) => true | "Required";
|
|
5
6
|
export declare function isAdjustmentAmount(val: any): val is AdjustmentAmount;
|
|
6
7
|
export declare function AtLeast(amount: number | AdjustmentAmount, message?: string | ((current: number) => string)): (val: any) => string | true;
|
|
@@ -20,3 +21,9 @@ export declare function MaximumPrecision(unit: FdoInventoryUnit, measurement?: F
|
|
|
20
21
|
};
|
|
21
22
|
export declare function MaximumPrecisionLiteral(precision: number, message?: string | ((precision: number) => string)): (val: string) => string | true;
|
|
22
23
|
export declare function Unique(pool: ISelectItem[], current?: string, message?: (item: ISelectItem) => string): (value: any) => string | true;
|
|
24
|
+
export declare function MultipleOf(n: number): {
|
|
25
|
+
(val: any): ValidationResult;
|
|
26
|
+
};
|
|
27
|
+
export declare function MultipleOf(n: FdoDecimal): {
|
|
28
|
+
(val: any): ValidationResult;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|