wt-enjoy-link-antd-repack 4.1.38 → 4.1.40
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/esm/component/BiuAButton/index.d.ts +6 -6
- package/dist/esm/component/BiuAForm/index.d.ts +1 -1
- package/dist/esm/component/BiuField/component/lpnSelectNew.js +4 -1
- package/dist/esm/component/BiuField/component/orderTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuVirtualTable/index.d.ts +1 -1
- package/package.json +57 -57
@@ -3,16 +3,16 @@ export declare const BiuAButton: React.MemoExoticComponent<import("styled-compon
|
|
3
3
|
href: string;
|
4
4
|
target?: string | undefined;
|
5
5
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
6
|
-
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "
|
7
|
-
htmlType?: "button" | "
|
6
|
+
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
|
7
|
+
htmlType?: "button" | "reset" | "submit" | undefined;
|
8
8
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
9
|
-
} & Omit<React.ButtonHTMLAttributes<any>, "
|
9
|
+
} & Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">> & React.RefAttributes<HTMLElement>, never>> & Omit<React.ForwardRefExoticComponent<Partial<{
|
10
10
|
href: string;
|
11
11
|
target?: string | undefined;
|
12
12
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
13
|
-
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "
|
14
|
-
htmlType?: "button" | "
|
13
|
+
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
|
14
|
+
htmlType?: "button" | "reset" | "submit" | undefined;
|
15
15
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
16
|
-
} & Omit<React.ButtonHTMLAttributes<any>, "
|
16
|
+
} & Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
17
17
|
Group: React.FC<import("antd/lib/button").ButtonGroupProps>;
|
18
18
|
}, keyof React.Component<any, {}, any>>>;
|
@@ -2,6 +2,6 @@ import React from 'react';
|
|
2
2
|
export { Form as BiuAForm } from 'antd';
|
3
3
|
export declare const BiuAFormItem: React.MemoExoticComponent<(<Values = any>(props: import("antd").FormItemProps<Values>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
4
4
|
useStatus: () => {
|
5
|
-
status?: "" | "
|
5
|
+
status?: "" | "validating" | "success" | "warning" | "error" | undefined;
|
6
6
|
};
|
7
7
|
}>;
|
@@ -68,6 +68,9 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
68
68
|
setResult([]);
|
69
69
|
return;
|
70
70
|
}
|
71
|
+
if (locationType == 3 && !defaultValues) {
|
72
|
+
setDefaultValue('');
|
73
|
+
}
|
71
74
|
getLpnList({
|
72
75
|
locationId: locationId,
|
73
76
|
locationType: locationType
|
@@ -81,7 +84,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
81
84
|
});
|
82
85
|
setResult(data || []);
|
83
86
|
});
|
84
|
-
}, [locationId, isFirstLoadSearch, locationType, defaultValue]);
|
87
|
+
}, [locationId, isFirstLoadSearch, locationType, defaultValue, defaultValues]);
|
85
88
|
var onSearch = useCallback(function () {
|
86
89
|
setIsFirstLoadSearch(true);
|
87
90
|
}, []);
|
@@ -9,7 +9,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
9
9
|
/**
|
10
10
|
* 0:入库 1:出库 2:移库 3:冻结 4:调整 5:属性变更
|
11
11
|
*/
|
12
|
-
orderType: 0 | 1 | 2 |
|
12
|
+
orderType: 0 | 1 | 2 | 4 | 3 | 5;
|
13
13
|
isFirstLoad: boolean;
|
14
14
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
15
15
|
export default _default;
|
@@ -10,4 +10,4 @@ export interface BiuVirtualTablePropsType {
|
|
10
10
|
y: number;
|
11
11
|
};
|
12
12
|
}
|
13
|
-
export declare const BiuVirtualTable: React.MemoExoticComponent<React.ForwardRefExoticComponent<BiuVirtualTablePropsType & Omit<TableProps<any>, "
|
13
|
+
export declare const BiuVirtualTable: React.MemoExoticComponent<React.ForwardRefExoticComponent<BiuVirtualTablePropsType & Omit<TableProps<any>, "scroll" | "columns"> & React.RefAttributes<unknown>>>;
|
package/package.json
CHANGED
@@ -1,59 +1,59 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
2
|
+
"name": "wt-enjoy-link-antd-repack",
|
3
|
+
"version": "4.1.40",
|
4
|
+
"description": "万通业务组件",
|
5
|
+
"sideEffects": false,
|
6
|
+
"main": "dist/index.js",
|
7
|
+
"module": "dist/esm/index.js",
|
8
|
+
"typings": "dist/esm/index.d.ts",
|
9
|
+
"files": [
|
10
|
+
"dist"
|
11
|
+
],
|
12
|
+
"scripts": {
|
13
|
+
"start": "dumi dev",
|
14
|
+
"start:hot-rebuild": "father dev",
|
15
|
+
"build": "father build",
|
16
|
+
"repack": "pnpm run build && npm publish --no-git-checks && npx cnpm sync wt-enjoy-link-antd-repack"
|
17
|
+
},
|
18
|
+
"dependencies": {
|
19
|
+
"@amap/amap-jsapi-loader": "^1.0.1",
|
20
|
+
"@ant-design/icons": "^5.3.0",
|
21
|
+
"ahooks": "^3.8.4",
|
22
|
+
"antd": "^4.24.14",
|
23
|
+
"classnames": "^2.5.1",
|
24
|
+
"dumi": "^2.2.17",
|
25
|
+
"idb": "^7.1.1",
|
26
|
+
"jsbarcode": "^3.11.6",
|
27
|
+
"lodash": "^4.17.20",
|
28
|
+
"moment": "^2.30.1",
|
29
|
+
"path": "^0.12.7",
|
30
|
+
"react": "^18.2.0",
|
31
|
+
"react-dom": "^18.2.0",
|
32
|
+
"react-drag-listview": "^2.0.0",
|
33
|
+
"react-draggable": "^4.4.6",
|
34
|
+
"react-resizable": "^3.0.5",
|
35
|
+
"react-window": "^1.8.10",
|
36
|
+
"styled-components": "^6.1.8",
|
37
|
+
"umi-request": "^1.3.9",
|
38
|
+
"use-media-antd-query": "^1.1.0",
|
39
|
+
"xlsx": "^0.18.5"
|
40
|
+
},
|
41
|
+
"devDependencies": {
|
42
|
+
"@types/lodash": "^4.14.202",
|
43
|
+
"@types/node": "^20.11.14",
|
44
|
+
"@types/react": "^18.2.48",
|
45
|
+
"@types/react-dom": "^18.2.17",
|
46
|
+
"@types/react-resizable": "^3.0.7",
|
47
|
+
"@types/react-window": "^1.8.8",
|
48
|
+
"@umijs/fabric": "^4.0.1",
|
49
|
+
"eslint": "^8.54.0",
|
50
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
51
|
+
"eslint-plugin-import": "^2.29.0",
|
52
|
+
"father": "^4.4.0",
|
53
|
+
"prettier": "^3.2.4",
|
54
|
+
"typescript": "^5.3.2"
|
55
|
+
},
|
56
|
+
"publishConfig": {
|
57
|
+
"registry": "https://registry.npmjs.org"
|
58
|
+
}
|
59
59
|
}
|