@feedmepos/mf-inventory-portal 0.0.16 → 0.0.17-dev.2
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-UPMlfF5g.js → ApprovalView-DuDqkTeC.js} +9 -9
- package/dist/{BindingsDialog-DLiropIq.js → BindingsDialog-0Q6o47Up.js} +5 -5
- package/dist/{BindingsPicker-DhCy4s2z.js → BindingsPicker-k4drpC9m.js} +6 -6
- package/dist/{BindingsTable-Dhps_Bmp.js → BindingsTable-B5hZHvuD.js} +26 -26
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DaGRG8JZ.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CoiUbqV-.js} +1 -1
- package/dist/{FmMultiselectDialog.vue_vue_type_script_setup_true_lang-C4CDnbbR.js → FmMultiselectDialog.vue_vue_type_script_setup_true_lang-C1TGiM-x.js} +9 -9
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BOH3bs27.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DsjnPaTj.js} +3 -3
- package/dist/IngredientsView-D3uTxXqO.js +1637 -0
- package/dist/{IntegrationView-CzsOzr40.js → IntegrationView-B1iYpADR.js} +4 -4
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-mXNWcOA1.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-GinKxaoG.js} +6 -6
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BurvAmK1.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BDznyTkG.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-ClzPjQT5.js → PurchaseOrderPrintPreview-BJ4uktza.js} +4 -4
- package/dist/{ReceiveRequestView-DMwEXkO8.js → ReceiveRequestView-BOvNswDa.js} +13 -13
- package/dist/RecipeView-4I-OWCb6.js +581 -0
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-Dov3Uq2z.js +64 -0
- package/dist/StockForecast.vue_vue_type_style_index_0_lang-B5EK101t.js +58 -0
- package/dist/StockView-D2cS56Qi.js +1960 -0
- package/dist/{SupplierView-mKXvaKxV.js → SupplierView-CZPwQkMt.js} +8 -8
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CGQsxC-o.js → TransferDetails.vue_vue_type_script_setup_true_lang-CqKi2NMD.js} +5 -5
- package/dist/{UnitView-Blc7xGVs.js → UnitView-CV7Od1Jw.js} +7 -7
- package/dist/{WarehouseView-Bto12ePn.js → WarehouseView-BtQJYBl0.js} +4 -4
- package/dist/api/inventory.d.ts +102 -0
- package/dist/api/stock.d.ts +8 -0
- package/dist/{app-6F9Nq1nz.js → app-B4nF7QvC.js} +1037 -1019
- package/dist/app.js +1 -1
- package/dist/components/FmDroppableField.vue.d.ts +75 -0
- package/dist/components/StockForecast.vue.d.ts +1 -1
- package/dist/components/StockForecastProps.d.ts +7 -0
- package/dist/{date2-BfJmVTjj.js → date2-BwR5G9qy.js} +4 -4
- package/dist/{dayjs.min-fpInHghy.js → dayjs.min-DGsqRPL2.js} +171 -136
- package/dist/{decimal-CCOpA0Pu.js → decimal-DGwTROX2.js} +1 -1
- package/dist/{fuzzy-5KUpKfV-.js → fuzzy-D903uHSq.js} +1 -1
- package/dist/helper/random.d.ts +2 -0
- package/dist/helper/xlsx.util.d.ts +1 -0
- package/dist/{init-date-range-BFXfLRPQ.js → init-date-range-CWbgpQ8e.js} +1 -1
- package/dist/{layout-17a6ifdn.js → layout-8DgajRcn.js} +12 -12
- package/dist/{rules-lFRUMKT0.js → rules-Dq4Ee_PT.js} +1 -1
- package/dist/{stock-estimate-BpYbGfCv.js → stock-estimate-4jgl53Nk.js} +2 -2
- package/dist/stores/inventory.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-DcmzVKNJ.js → supplier-Bv4RiUno.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-CGJklwZu.js → use-inventory-binding-dialog-h8HlGzcz.js} +2 -2
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +12 -0
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItemProps.d.ts +6 -0
- package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +2 -0
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientsProps.d.ts +5 -0
- package/dist/views/ingredients/helper/import-export.helper.d.ts +45 -0
- package/dist/views/ingredients/helper/sku-days-threshold.helper.d.ts +1 -0
- package/dist/views/ingredients/helper/sku-id.helper.d.ts +1 -0
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
- package/dist/xlsx-wBLs03H5.js +24004 -0
- package/dist/xlsx.util-DxDZloWT.js +107 -0
- package/package.json +6 -6
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-pxmVRIYW.js +0 -49
- package/dist/IngredientsView-BugOG1Jr.js +0 -832
- package/dist/RecipeView-DueXRRaL.js +0 -596
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +0 -53
- package/dist/StockView-BN5rzuO5.js +0 -1887
- package/dist/util-CEVKTbZD.js +0 -18
- package/dist/xlsx-Cm2_c_X-.js +0 -15510
package/dist/app.js
CHANGED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { FmDropFieldProps } from '@feedmepos/ui-library';
|
|
2
|
+
export interface FmDroppableFieldProps extends FmDropFieldProps {
|
|
3
|
+
buttonLabel?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface FmDroppableFieldEvents {
|
|
6
|
+
(event: 'file-upload', file: File): void;
|
|
7
|
+
(event: 'file-rejected', obj: {
|
|
8
|
+
file: File;
|
|
9
|
+
reason: string[];
|
|
10
|
+
}[]): void;
|
|
11
|
+
}
|
|
12
|
+
export interface FmDroppableFieldSlotDefault {
|
|
13
|
+
isDragging: boolean;
|
|
14
|
+
isValidFileType: boolean | null;
|
|
15
|
+
isValidFileSize: boolean | null;
|
|
16
|
+
singleValidFile?: File | null;
|
|
17
|
+
openFileDialog?(): void;
|
|
18
|
+
}
|
|
19
|
+
export interface FmDroppableFieldSlots {
|
|
20
|
+
default(props: FmDroppableFieldSlotDefault): void;
|
|
21
|
+
label(): void;
|
|
22
|
+
}
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmDroppableFieldProps>, {
|
|
24
|
+
label: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
accept: string;
|
|
27
|
+
/** Default max is `8mb` */
|
|
28
|
+
maxFileSize: number;
|
|
29
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
"file-upload": (file: File) => void;
|
|
31
|
+
"file-rejected": (obj: {
|
|
32
|
+
file: File;
|
|
33
|
+
reason: string[];
|
|
34
|
+
}[]) => void;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmDroppableFieldProps>, {
|
|
36
|
+
label: string;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
accept: string;
|
|
39
|
+
/** Default max is `8mb` */
|
|
40
|
+
maxFileSize: number;
|
|
41
|
+
}>>> & {
|
|
42
|
+
"onFile-upload"?: ((file: File) => any) | undefined;
|
|
43
|
+
"onFile-rejected"?: ((obj: {
|
|
44
|
+
file: File;
|
|
45
|
+
reason: string[];
|
|
46
|
+
}[]) => any) | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
label: string;
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
accept: string;
|
|
51
|
+
maxFileSize: number;
|
|
52
|
+
}, {}>, Readonly<FmDroppableFieldSlots> & FmDroppableFieldSlots>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
56
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
+
} : {
|
|
59
|
+
type: import('vue').PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type __VLS_WithDefaults<P, D> = {
|
|
64
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
+
default: D[K];
|
|
66
|
+
}> : P[K];
|
|
67
|
+
};
|
|
68
|
+
type __VLS_Prettify<T> = {
|
|
69
|
+
[K in keyof T]: T[K];
|
|
70
|
+
} & {};
|
|
71
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type StockForecastProps } from '@/components/StockForecastProps';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<StockForecastProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<StockForecastProps>>>, {}, {}>;
|
|
3
3
|
export default _default;
|
|
4
4
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as u, d as p } from "./dayjs.min-
|
|
1
|
+
import { F as u, d as p } from "./dayjs.min-DGsqRPL2.js";
|
|
2
2
|
function w(t, e) {
|
|
3
3
|
return u.convertPrecision({
|
|
4
4
|
value: t,
|
|
@@ -172,9 +172,9 @@ export {
|
|
|
172
172
|
P as o,
|
|
173
173
|
C as p,
|
|
174
174
|
i as q,
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
Y as r,
|
|
176
|
+
R as s,
|
|
177
177
|
I as t,
|
|
178
|
-
|
|
178
|
+
H as u,
|
|
179
179
|
A as v
|
|
180
180
|
};
|