@feedmepos/mf-inventory-portal 1.0.9-dev.3 → 1.0.9-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-C6gg2tff.js → App-BOKGVcoO.js} +2 -2
- package/dist/{ApprovalView-DZifohZp.js → ApprovalView-Bo-4fnEU.js} +2 -2
- package/dist/{BindingsDialog-D-NE4sbz.js → BindingsDialog-DM2b4GN4.js} +2 -2
- package/dist/{BindingsPicker-BP5HkQhe.js → BindingsPicker-CJKBXA0c.js} +3 -3
- package/dist/{BindingsTable-DCLu2260.js → BindingsTable-BxCEEJfb.js} +1 -1
- package/dist/{ClosingDraftView-CF1WvxPK.js → ClosingDraftView-bQxPF18V.js} +2 -2
- package/dist/{ClosingTemplateView-BTAwwKIK.js → ClosingTemplateView-DLkp9Qt8.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-C0ornFrS.js → DeliveryOrderPrintPreview-CK3HdYVb.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C5aDXHfX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DvCBsPdI.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DMHC_WQn.js → FmUnitInput.vue_vue_type_script_setup_true_lang-R8f-Q9Nk.js} +20 -20
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CDB7BLGo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BOyqgaik.js} +1 -1
- package/dist/{IngredientsView-Cw9hWci5.js → IngredientsView-DmKCy_JQ.js} +4 -4
- package/dist/{IntegrationView-Af4yE6YN.js → IntegrationView-B1dzt8WK.js} +4 -4
- package/dist/{InventoryBindingForm-CKNE-9XF.js → InventoryBindingForm-CeTlH0U1.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DXGno3jm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DsM2bCNe.js} +92 -87
- package/dist/{InventoryBindingSummary-DeNGAysn.js → InventoryBindingSummary-QVSD87YL.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BiB8cZwH.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C-lgLo2e.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CriwQBvl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CEMRfo1C.js} +1 -1
- package/dist/{PublishView-CXRCoNai.js → PublishView-BYGKLC9D.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-C02inqk2.js → PurchaseOrderPrintPreview-CEVjGeom.js} +1 -1
- package/dist/{ReceiveRequestView-B7S4pKgp.js → ReceiveRequestView-D5PcGCLv.js} +42 -42
- package/dist/RecipeView-DmTDCsvk.js +8493 -0
- package/dist/{StockView-C7X97PgJ.js → StockView-EmTqUcP1.js} +7 -7
- package/dist/{SupplierView-DSD56NEd.js → SupplierView-BaLnW761.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-COa-ENT_.js → TransferDetails.vue_vue_type_script_setup_true_lang-B3ew6mc5.js} +36 -36
- package/dist/{TransferTemplateView-D76GtJPP.js → TransferTemplateView-DoeLAFmJ.js} +114 -114
- package/dist/{UnitView-DjrfCvNG.js → UnitView-6Kobe5di.js} +18 -18
- package/dist/{WarehouseView-BenlwQj0.js → WarehouseView-BBMS14jU.js} +1 -1
- package/dist/api/inventory.d.ts +66 -207
- package/dist/{app-Cn649AKe.js → app-CUTIQqG_.js} +7318 -7360
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +22 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +22 -0
- package/dist/{decimal-B_2tpC5T.js → decimal-Bb7Chjpr.js} +1 -1
- package/dist/{feature-C3tkzv_R.js → feature-D5GLIW5h.js} +143 -148
- package/dist/{format-unit-display-CUjVAExM.js → format-unit-display-CqqBiewI.js} +29 -29
- package/dist/{index-WEO-tzBF.js → index-B7QMXzGe.js} +2739 -2823
- package/dist/{index-C8N0qnaj.js → index-DiEdX1Bs.js} +2 -2
- package/dist/main.d.ts +1 -0
- package/dist/{stock-D5ctHplB.js → stock-CO0XWh8j.js} +1 -1
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/inventory.d.ts +89 -211
- package/dist/{supplier-CnlrJD2z.js → supplier-C877x7mU.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DnG7HGSX.js → use-ingredient-select-dialog-ClufUFeU.js} +1 -1
- package/dist/{use-inventory-binding-dialog-sALJ--xH.js → use-inventory-binding-dialog-BuRe6QNp.js} +1 -1
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +44 -0
- package/dist/views/recipe/components/recipe-override-form-field/RecipeOverrideFormField.vue.d.ts +61 -0
- package/dist/views/recipe/composables/use-recipe-overrides-form-field.d.ts +10 -0
- package/dist/{vue-i18n-B_Hl3d6o.js → vue-i18n-CxuQa0ds.js} +401 -401
- package/package.json +6 -5
- package/dist/IngredientGroupView-DwUeV_bZ.js +0 -604
- package/dist/RecipeView-dUKMM9iC.js +0 -616
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -12
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -20
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -218
package/dist/{use-ingredient-select-dialog-DnG7HGSX.js → use-ingredient-select-dialog-ClufUFeU.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore as y } from "pinia";
|
|
2
|
-
import { a as S,
|
|
2
|
+
import { a as S, W as b } from "./app-CUTIQqG_.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 +6,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (mv: {
|
|
8
8
|
customAttributes?: Record<string, any> | null | undefined;
|
|
9
|
+
overrides?: {
|
|
10
|
+
rule?: any;
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
override: {
|
|
14
|
+
measurement?: {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
abbrev: string;
|
|
18
|
+
conversion: {
|
|
19
|
+
amount: number;
|
|
20
|
+
precision: number;
|
|
21
|
+
};
|
|
22
|
+
} | null | undefined;
|
|
23
|
+
id: string;
|
|
24
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
25
|
+
amount: {
|
|
26
|
+
amount: number;
|
|
27
|
+
precision: number;
|
|
28
|
+
};
|
|
29
|
+
}[];
|
|
30
|
+
}[] | null | undefined;
|
|
9
31
|
_id: string;
|
|
10
32
|
name: string;
|
|
11
33
|
contains: {
|
|
@@ -30,6 +52,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
52
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RecipeFormProps>>> & Readonly<{
|
|
31
53
|
"onUpdate:modelValue"?: ((mv: {
|
|
32
54
|
customAttributes?: Record<string, any> | null | undefined;
|
|
55
|
+
overrides?: {
|
|
56
|
+
rule?: any;
|
|
57
|
+
id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
override: {
|
|
60
|
+
measurement?: {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
abbrev: string;
|
|
64
|
+
conversion: {
|
|
65
|
+
amount: number;
|
|
66
|
+
precision: number;
|
|
67
|
+
};
|
|
68
|
+
} | null | undefined;
|
|
69
|
+
id: string;
|
|
70
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
71
|
+
amount: {
|
|
72
|
+
amount: number;
|
|
73
|
+
precision: number;
|
|
74
|
+
};
|
|
75
|
+
}[];
|
|
76
|
+
}[] | null | undefined;
|
|
33
77
|
_id: string;
|
|
34
78
|
name: string;
|
|
35
79
|
contains: {
|
package/dist/views/recipe/components/recipe-override-form-field/RecipeOverrideFormField.vue.d.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
disabled?: boolean | undefined;
|
|
3
|
+
modelValue?: {
|
|
4
|
+
rule?: any;
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
override: {
|
|
8
|
+
measurement?: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
abbrev: string;
|
|
12
|
+
conversion: {
|
|
13
|
+
amount: number;
|
|
14
|
+
precision: number;
|
|
15
|
+
};
|
|
16
|
+
} | null | undefined;
|
|
17
|
+
id: string;
|
|
18
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
19
|
+
amount: {
|
|
20
|
+
amount: number;
|
|
21
|
+
precision: number;
|
|
22
|
+
};
|
|
23
|
+
}[];
|
|
24
|
+
} | undefined;
|
|
25
|
+
recipeId: string;
|
|
26
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
27
|
+
disabled?: boolean | undefined;
|
|
28
|
+
modelValue?: {
|
|
29
|
+
rule?: any;
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
override: {
|
|
33
|
+
measurement?: {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
abbrev: string;
|
|
37
|
+
conversion: {
|
|
38
|
+
amount: number;
|
|
39
|
+
precision: number;
|
|
40
|
+
};
|
|
41
|
+
} | null | undefined;
|
|
42
|
+
id: string;
|
|
43
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
44
|
+
amount: {
|
|
45
|
+
amount: number;
|
|
46
|
+
precision: number;
|
|
47
|
+
};
|
|
48
|
+
}[];
|
|
49
|
+
} | undefined;
|
|
50
|
+
recipeId: string;
|
|
51
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: import('vue').PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type OverridesController = {
|
|
2
|
+
get overrides(): FdoRecipeOverride[];
|
|
3
|
+
set overrides(value: FdoRecipeOverride[]);
|
|
4
|
+
};
|
|
5
|
+
export declare function useRecipeOverridesFormField(controller: OverridesController): {
|
|
6
|
+
addOverride: () => void;
|
|
7
|
+
updateOverride: (override?: FdoRecipeOverride) => void;
|
|
8
|
+
removeOverride: (override: FdoRecipeOverride) => void;
|
|
9
|
+
};
|
|
10
|
+
export {};
|