@feedmepos/mf-inventory-portal 1.0.15-dev.2 → 1.0.15-dev.4
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-CgxrN-aD.js → App-C2-uZBjX.js} +2 -2
- package/dist/ApprovalView-BYSG24mC.js +213 -0
- package/dist/{BindingsDialog-B_ZMDl-b.js → BindingsDialog-BVgAl7QB.js} +2 -2
- package/dist/{BindingsPicker-B84BG8zT.js → BindingsPicker-CTqO6MTh.js} +1 -1
- package/dist/{BindingsTable-DrvoykYc.js → BindingsTable-DAkGh7yD.js} +1 -1
- package/dist/{ClosingDraftView-Ds9sI2Eg.js → ClosingDraftView-CJe3za1B.js} +41 -41
- package/dist/{ClosingTemplateView-BhZ1OXkD.js → ClosingTemplateView-CzuyG1NM.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Yuxf-jCh.js → DeliveryOrderPrintPreview-DC-S5Jkp.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D6ktiUO5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BIR8hIIx.js} +43 -43
- package/dist/{FmMultiselectDialog-4lVsA2Rn.js → FmMultiselectDialog-CyhyAmUf.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-XmTRSHn_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DbASoXHB.js} +57 -57
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B3PvtR0j.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BNcVcxkw.js} +1 -1
- package/dist/IngredientGroupView-CoVSqi7W.js +977 -0
- package/dist/IngredientsView-auG4thna.js +1778 -0
- package/dist/{IntegrationView-BnrCkjWt.js → IntegrationView-BCGzax4k.js} +5 -5
- package/dist/{InventoryBindingForm-uyHh2TI_.js → InventoryBindingForm-BlpwH-je.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CECDj9Pw.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DJxy3D57.js} +46 -46
- package/dist/{InventoryBindingSummary-DyHCqgIe.js → InventoryBindingSummary-B1dzBf4n.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dx2lMf6h.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BqxFQWOu.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BCX3vlmU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-COUgrdWW.js} +15 -15
- package/dist/{PublishView-BVGyY6nn.js → PublishView-DRiyZ8D8.js} +13 -13
- package/dist/{PurchaseOrderPrintPreview-pbYIFiOG.js → PurchaseOrderPrintPreview-DQjCaQ1U.js} +4 -4
- package/dist/ReceiveRequestView-B88Nfuck.js +2576 -0
- package/dist/{RecipeView-DcgoCf4g.js → RecipeView-B-PR_bJO.js} +4 -4
- package/dist/{StockView-zO2uL662.js → StockView-DWZ9OiPc.js} +108 -108
- package/dist/{SupplierView-I5bqiX_2.js → SupplierView-BXLJkj_P.js} +37 -37
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-GMAU4wTt.js +2090 -0
- package/dist/{TransferTemplateView-BDOt17yc.js → TransferTemplateView-BU4CJAi6.js} +149 -149
- package/dist/{UnitView-BVY5S6-3.js → UnitView-6Z2MUNL0.js} +32 -32
- package/dist/{WarehouseView-m6MKrtYq.js → WarehouseView-TVrrr6uJ.js} +26 -26
- package/dist/api/inventory.d.ts +12 -0
- package/dist/{app-DtICLubM.js → app-BFIrvTDw.js} +33844 -25682
- package/dist/app.d.ts +1 -0
- package/dist/app.js +5 -5
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +36 -0
- package/dist/{decimal-C1dAcCf3.js → decimal-wpLnNWZL.js} +1 -1
- package/dist/{feature-Y7qzvbl4.js → feature-BvpauT6E.js} +79 -79
- package/dist/{format-unit-display-CPqfS4vp.js → format-unit-display-BbK1Rcd3.js} +48 -48
- package/dist/helper/rules.d.ts +1 -1
- package/dist/{index-DIEdSG3y.js → index-C2nfh-Rm.js} +1 -1
- package/dist/{index-0qsqwB0T.js → index-DI7DUbNm.js} +4 -4
- package/dist/{stock-CowNp_xM.js → stock-DkHVa1PB.js} +1 -1
- package/dist/stores/inventory.d.ts +16 -0
- package/dist/{supplier-JVTTlQNL.js → supplier-BiJ-_4RN.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Df59lld2.js → use-ingredient-select-dialog-Bkt9TvKm.js} +5 -5
- package/dist/{use-inventory-binding-dialog-Bxxb93Kz.js → use-inventory-binding-dialog-ClzflO2S.js} +1 -1
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +4 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +5 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -0
- package/dist/{vue-i18n-DJOdRwc3.js → vue-i18n-Bvbu7J8Z.js} +153 -153
- package/package.json +4 -4
- package/dist/ApprovalView-DNGhkVc9.js +0 -147
- package/dist/IngredientGroupView-usK9stxT.js +0 -8779
- package/dist/IngredientsView-DPx8Z2zo.js +0 -1749
- package/dist/ReceiveRequestView-DZAgH2_u.js +0 -2516
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-NyQg_yR9.js +0 -2020
package/dist/{use-ingredient-select-dialog-Df59lld2.js → use-ingredient-select-dialog-Bkt9TvKm.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineStore as y } from "pinia";
|
|
2
|
-
import { a as S,
|
|
2
|
+
import { a as S, a0 as b } from "./app-BFIrvTDw.js";
|
|
3
3
|
import { useDialog as A } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
5
5
|
const h = y(
|
|
6
6
|
"ingredientSelectDialog",
|
|
7
7
|
function() {
|
|
8
|
-
const { t: s } = I(), n = S(),
|
|
9
|
-
async function
|
|
8
|
+
const { t: s } = I(), n = S(), a = A();
|
|
9
|
+
async function m(l, u) {
|
|
10
10
|
const p = n.skus, g = u ?? ((t) => n.skuByCode[t]), d = p.map(
|
|
11
11
|
(t) => {
|
|
12
12
|
var e, o, i, c;
|
|
@@ -19,7 +19,7 @@ const h = y(
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
), f = l, { promise: v, resolve: r } = Promise.withResolvers();
|
|
22
|
-
return
|
|
22
|
+
return a.open({
|
|
23
23
|
title: s("inventory.transfer.form.items.selectItem"),
|
|
24
24
|
closeButton: !0,
|
|
25
25
|
contentComponent: b,
|
|
@@ -43,7 +43,7 @@ const h = y(
|
|
|
43
43
|
r(e);
|
|
44
44
|
}), v;
|
|
45
45
|
}
|
|
46
|
-
return { promptSelectIngredients:
|
|
46
|
+
return { promptSelectIngredients: m };
|
|
47
47
|
}
|
|
48
48
|
);
|
|
49
49
|
export {
|
|
@@ -5,7 +5,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5
5
|
_id: string;
|
|
6
6
|
name: string;
|
|
7
7
|
skuRefs: {
|
|
8
|
+
priority?: number | null | undefined;
|
|
8
9
|
trackingMeasurement?: string | null | undefined;
|
|
10
|
+
default?: boolean | null | undefined;
|
|
9
11
|
_id: string;
|
|
10
12
|
}[];
|
|
11
13
|
} | null | undefined;
|
|
@@ -16,7 +18,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
18
|
_id: string;
|
|
17
19
|
name: string;
|
|
18
20
|
skuRefs: {
|
|
21
|
+
priority?: number | null | undefined;
|
|
19
22
|
trackingMeasurement?: string | null | undefined;
|
|
23
|
+
default?: boolean | null | undefined;
|
|
20
24
|
_id: string;
|
|
21
25
|
}[];
|
|
22
26
|
} | null | undefined;
|
|
@@ -4,6 +4,8 @@ export declare const enum ItemColumn {
|
|
|
4
4
|
SkuRef = "skuRef",
|
|
5
5
|
UnitOption = "unitOption",
|
|
6
6
|
Unit = "unit",
|
|
7
|
+
Priority = "priority",
|
|
8
|
+
Default = "default",
|
|
7
9
|
Move = "move"
|
|
8
10
|
}
|
|
9
11
|
export declare function useIngredientGroupRuleItem(controller: {
|
|
@@ -14,7 +16,9 @@ export declare function useIngredientGroupRuleItem(controller: {
|
|
|
14
16
|
allowOverride?: boolean;
|
|
15
17
|
}): {
|
|
16
18
|
readonly columnDefs: ColumnDef<{
|
|
19
|
+
priority?: number | null | undefined;
|
|
17
20
|
trackingMeasurement?: string | null | undefined;
|
|
21
|
+
default?: boolean | null | undefined;
|
|
18
22
|
_id: string;
|
|
19
23
|
}>[];
|
|
20
24
|
promptAddIngredient: () => Promise<void>;
|
|
@@ -22,5 +26,6 @@ export declare function useIngredientGroupRuleItem(controller: {
|
|
|
22
26
|
readonly delete: boolean;
|
|
23
27
|
readonly unit: boolean;
|
|
24
28
|
readonly unitOption: boolean;
|
|
29
|
+
readonly move: false;
|
|
25
30
|
};
|
|
26
31
|
};
|
|
@@ -5,7 +5,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
|
|
|
5
5
|
columnDefs: import("vue").ComputedRef<ColumnDef<{
|
|
6
6
|
ref?: string | null | undefined;
|
|
7
7
|
defaultSkuRefs?: {
|
|
8
|
+
priority?: number | null | undefined;
|
|
8
9
|
trackingMeasurement?: string | null | undefined;
|
|
10
|
+
default?: boolean | null | undefined;
|
|
9
11
|
_id: string;
|
|
10
12
|
}[] | null | undefined;
|
|
11
13
|
rules?: {
|
|
@@ -13,7 +15,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
|
|
|
13
15
|
_id: string;
|
|
14
16
|
name: string;
|
|
15
17
|
skuRefs: {
|
|
18
|
+
priority?: number | null | undefined;
|
|
16
19
|
trackingMeasurement?: string | null | undefined;
|
|
20
|
+
default?: boolean | null | undefined;
|
|
17
21
|
_id: string;
|
|
18
22
|
}[];
|
|
19
23
|
}[] | null | undefined;
|
|
@@ -26,7 +30,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
|
|
|
26
30
|
columnDefs: import("vue").ComputedRef<ColumnDef<{
|
|
27
31
|
ref?: string | null | undefined;
|
|
28
32
|
defaultSkuRefs?: {
|
|
33
|
+
priority?: number | null | undefined;
|
|
29
34
|
trackingMeasurement?: string | null | undefined;
|
|
35
|
+
default?: boolean | null | undefined;
|
|
30
36
|
_id: string;
|
|
31
37
|
}[] | null | undefined;
|
|
32
38
|
rules?: {
|
|
@@ -34,7 +40,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
|
|
|
34
40
|
_id: string;
|
|
35
41
|
name: string;
|
|
36
42
|
skuRefs: {
|
|
43
|
+
priority?: number | null | undefined;
|
|
37
44
|
trackingMeasurement?: string | null | undefined;
|
|
45
|
+
default?: boolean | null | undefined;
|
|
38
46
|
_id: string;
|
|
39
47
|
}[];
|
|
40
48
|
}[] | null | undefined;
|
|
@@ -47,7 +55,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
|
|
|
47
55
|
columnDefs: import("vue").ComputedRef<ColumnDef<{
|
|
48
56
|
ref?: string | null | undefined;
|
|
49
57
|
defaultSkuRefs?: {
|
|
58
|
+
priority?: number | null | undefined;
|
|
50
59
|
trackingMeasurement?: string | null | undefined;
|
|
60
|
+
default?: boolean | null | undefined;
|
|
51
61
|
_id: string;
|
|
52
62
|
}[] | null | undefined;
|
|
53
63
|
rules?: {
|
|
@@ -55,7 +65,9 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
|
|
|
55
65
|
_id: string;
|
|
56
66
|
name: string;
|
|
57
67
|
skuRefs: {
|
|
68
|
+
priority?: number | null | undefined;
|
|
58
69
|
trackingMeasurement?: string | null | undefined;
|
|
70
|
+
default?: boolean | null | undefined;
|
|
59
71
|
_id: string;
|
|
60
72
|
}[];
|
|
61
73
|
}[] | null | undefined;
|