wt-enjoy-link-antd-repack 4.1.31 → 4.1.36
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/BiuADatePicker/index.d.ts +3 -3
- package/dist/esm/component/BiuAForm/index.d.ts +1 -1
- package/dist/esm/component/BiuComSelect/index.d.ts +1 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/index.js +3 -3
- package/dist/esm/component/BiuField/component/appliedgoodsTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/dicNameSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/dicTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/dockingPartySelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/editLocationSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/electronicFaceSheet/addresSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/electronicFaceSheet/platformSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/goodsTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/interfaceNameSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/lpnSelect.js +9 -5
- package/dist/esm/component/BiuField/component/lpnSelectNew.js +2 -2
- package/dist/esm/component/BiuField/component/orderTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/parkSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/propertNameSelect.d.ts +2 -2
- package/dist/esm/component/BiuField/component/warehouseAreaSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/warehouseInfoSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/warehouseLoctionSelect.d.ts +1 -1
- package/dist/esm/package/requestWrapper/index.js +2 -2
- package/package.json +1 -1
@@ -1,15 +1,15 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
export declare const BiuADatePicker: React.NamedExoticComponent<import("styled-components/dist/types").Substitute<(import("antd/lib/date-picker/generatePicker").PickerProps<import("moment").Moment> & {
|
3
|
-
status?: "" | "
|
3
|
+
status?: "" | "warning" | "error" | undefined;
|
4
4
|
dropdownClassName?: string | undefined;
|
5
5
|
popupClassName?: string | undefined;
|
6
6
|
}) & React.RefAttributes<React.Component<import("antd/lib/date-picker/generatePicker").PickerProps<import("moment").Moment> & {
|
7
|
-
status?: "" | "
|
7
|
+
status?: "" | "warning" | "error" | undefined;
|
8
8
|
dropdownClassName?: string | undefined;
|
9
9
|
popupClassName?: string | undefined;
|
10
10
|
}, unknown, any>>, import("styled-components/dist/types").BaseObject>>;
|
11
11
|
export declare const BiuAMouthPicker: React.MemoExoticComponent<import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<import("moment").Moment> & {
|
12
|
-
status?: "" | "
|
12
|
+
status?: "" | "warning" | "error" | undefined;
|
13
13
|
dropdownClassName?: string | undefined;
|
14
14
|
popupClassName?: string | undefined;
|
15
15
|
}, "picker">, unknown>>;
|
@@ -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?: "" | "warning" | "error" | "success" | "validating" | undefined;
|
6
6
|
};
|
7
7
|
}>;
|
@@ -17,7 +17,7 @@ export type BiuComSelectPropsType = {
|
|
17
17
|
* @returns
|
18
18
|
*/
|
19
19
|
export declare const BiuComSelect: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
20
|
-
value?: string | number |
|
20
|
+
value?: string | number | number[] | string[] | undefined;
|
21
21
|
loginCode?: string | undefined;
|
22
22
|
isForce?: boolean | undefined;
|
23
23
|
isVaild?: boolean | undefined;
|
@@ -91,7 +91,7 @@ var UnSubDepartSelect = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(functio
|
|
91
91
|
disabled: disabled,
|
92
92
|
treeDataSimpleMode: true,
|
93
93
|
autoClearSearchValue: true,
|
94
|
-
dropdownMatchSelectWidth:
|
94
|
+
dropdownMatchSelectWidth: false,
|
95
95
|
onChange: setState,
|
96
96
|
value: !treeData || treeData.length <= 0 ? undefined : state,
|
97
97
|
allowClear: allowClear,
|
@@ -150,7 +150,7 @@ var SubDepartSelect = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function
|
|
150
150
|
autoClearSearchValue: true,
|
151
151
|
treeDefaultExpandAll: true,
|
152
152
|
treeNodeFilterProp: 'title',
|
153
|
-
dropdownMatchSelectWidth:
|
153
|
+
dropdownMatchSelectWidth: false,
|
154
154
|
onChange: setState,
|
155
155
|
loading: loading,
|
156
156
|
value: !treeData || treeData.length <= 0 || !state || state == null ? undefined : +state,
|
@@ -220,7 +220,7 @@ var InSubDepartSelect = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(functio
|
|
220
220
|
disabled: disabled,
|
221
221
|
treeDataSimpleMode: true,
|
222
222
|
autoClearSearchValue: true,
|
223
|
-
dropdownMatchSelectWidth:
|
223
|
+
dropdownMatchSelectWidth: false,
|
224
224
|
onChange: setState,
|
225
225
|
value: !treeData || treeData.length <= 0 ? undefined : state,
|
226
226
|
allowClear: allowClear
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
4
|
id?: string | undefined;
|
5
5
|
ownerId?: string | undefined;
|
6
|
-
value?: string | number |
|
6
|
+
value?: string | number | number[] | string[] | undefined;
|
7
7
|
noOwnerContent?: string | undefined;
|
8
8
|
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "onChange"> & React.RefAttributes<unknown>>>;
|
9
9
|
export default _default;
|
@@ -5,7 +5,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
5
5
|
typename?: string | undefined;
|
6
6
|
page?: number | undefined;
|
7
7
|
pageSize?: number | undefined;
|
8
|
-
values?: string | number |
|
8
|
+
values?: string | number | number[] | string[] | undefined;
|
9
9
|
invalid?: number | undefined;
|
10
10
|
queryType?: number | undefined;
|
11
11
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
@@ -20,7 +20,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
20
20
|
/**
|
21
21
|
* 绑定值 value: string | string[] | number | number[];
|
22
22
|
*/
|
23
|
-
value?: string | number |
|
23
|
+
value?: string | number | number[] | string[] | undefined;
|
24
24
|
invalid?: number | undefined;
|
25
25
|
/**
|
26
26
|
* 数据状态 invalid: number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { SelectProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
|
-
value?: string | number |
|
4
|
+
value?: string | number | number[] | string[] | undefined;
|
5
5
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
6
6
|
type?: string | undefined;
|
7
7
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
@@ -7,7 +7,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
7
7
|
warehouseIds?: string | undefined;
|
8
8
|
locationCode?: string | undefined;
|
9
9
|
warehouseAreaId?: number | undefined;
|
10
|
-
value?: string | number |
|
10
|
+
value?: string | number | number[] | string[] | undefined;
|
11
11
|
onChangeData?: ((value: any, record: any) => any) | undefined;
|
12
12
|
areaType?: string | undefined;
|
13
13
|
interfaceType?: string | undefined;
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
6
6
|
* @returns
|
7
7
|
*/
|
8
8
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
9
|
-
value?: string | number |
|
9
|
+
value?: string | number | number[] | string[] | undefined;
|
10
10
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
11
11
|
accountId: string | number;
|
12
12
|
carrierId: string | number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { SelectProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
|
-
value?: string | number |
|
4
|
+
value?: string | number | number[] | string[] | undefined;
|
5
5
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
6
6
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
7
7
|
export default _default;
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
4
|
id?: string | undefined;
|
5
5
|
ownerId?: string | undefined;
|
6
|
-
value?: string | number |
|
6
|
+
value?: string | number | number[] | string[] | undefined;
|
7
7
|
noOwnerContent?: string | undefined;
|
8
8
|
isFirstLoad?: boolean | undefined;
|
9
9
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
@@ -2,7 +2,7 @@ import type { SelectProps } from 'antd';
|
|
2
2
|
import React from 'react';
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
4
|
dockingCode?: string | undefined;
|
5
|
-
value?: string | number |
|
5
|
+
value?: string | number | number[] | string[] | undefined;
|
6
6
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
7
7
|
type?: string | undefined;
|
8
8
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["warehouseId", "onChange", "onChangeData", "isFirstLoad"];
|
2
|
+
var _excluded = ["warehouseId", "onChange", "onChangeData", "isFirstLoad", "isDelete"];
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
@@ -33,6 +33,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
33
33
|
onChangeData = props.onChangeData,
|
34
34
|
_props$isFirstLoad = props.isFirstLoad,
|
35
35
|
isFirstLoad = _props$isFirstLoad === void 0 ? true : _props$isFirstLoad,
|
36
|
+
_props$isDelete = props.isDelete,
|
37
|
+
isDelete = _props$isDelete === void 0 ? 0 : _props$isDelete,
|
36
38
|
restProps = _objectWithoutProperties(props, _excluded);
|
37
39
|
var _useState = useState([]),
|
38
40
|
_useState2 = _slicedToArray(_useState, 2),
|
@@ -47,22 +49,24 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
47
49
|
setLoading(true);
|
48
50
|
getLpnPager({
|
49
51
|
page: 1,
|
50
|
-
size: 20
|
52
|
+
size: 20,
|
53
|
+
isDelete: isDelete
|
51
54
|
}).then(function (data) {
|
52
55
|
SetLpnData(data === null || data === void 0 ? void 0 : data.rows);
|
53
56
|
setLoading(false);
|
54
57
|
});
|
55
58
|
}
|
56
|
-
}, [warehouseId, isFirstLoad]);
|
59
|
+
}, [warehouseId, isFirstLoad, isDelete]);
|
57
60
|
var onSearch = useCallback(function (value) {
|
58
61
|
setLoading(true);
|
59
62
|
getLpnPager({
|
60
|
-
lpn: value
|
63
|
+
lpn: value,
|
64
|
+
isDelete: isDelete
|
61
65
|
}).then(function (data) {
|
62
66
|
SetLpnData(data === null || data === void 0 ? void 0 : data.rows);
|
63
67
|
setLoading(false);
|
64
68
|
});
|
65
|
-
}, []);
|
69
|
+
}, [isDelete]);
|
66
70
|
return /*#__PURE__*/_jsx(BiuASelect, _objectSpread(_objectSpread({
|
67
71
|
ref: ref,
|
68
72
|
showSearch: true,
|
@@ -55,10 +55,10 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
55
55
|
defaultValue = _useState6[0],
|
56
56
|
setDefaultValue = _useState6[1];
|
57
57
|
useEffect(function () {
|
58
|
-
if (locationId) {
|
58
|
+
if (locationId && !defaultValues) {
|
59
59
|
setDefaultValue('');
|
60
60
|
}
|
61
|
-
}, [locationId]);
|
61
|
+
}, [defaultValues, locationId]);
|
62
62
|
useEffect(function () {
|
63
63
|
if (!locationType && !locationId) {
|
64
64
|
setResult([]);
|
@@ -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 |
|
12
|
+
orderType: 0 | 2 | 1 | 3 | 4 | 5;
|
13
13
|
isFirstLoad: boolean;
|
14
14
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
15
15
|
export default _default;
|
@@ -4,7 +4,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
4
4
|
distributionCentreCodeOrName?: string | undefined;
|
5
5
|
page?: number | undefined;
|
6
6
|
pageSize?: number | undefined;
|
7
|
-
value?: string | number |
|
7
|
+
value?: string | number | number[] | string[] | undefined;
|
8
8
|
companyId?: string | undefined;
|
9
9
|
noDisContent?: string | undefined;
|
10
10
|
isFirstLoad?: boolean | undefined;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { SelectProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
|
-
returnOwnerArray?:
|
4
|
+
returnOwnerArray?: number[] | string[] | undefined;
|
5
5
|
serialNumber: string;
|
6
|
-
value?: string | number |
|
6
|
+
value?: string | number | number[] | string[] | undefined;
|
7
7
|
openType?: string | undefined;
|
8
8
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
9
9
|
export default _default;
|
@@ -2,7 +2,7 @@ import type { SelectProps } from 'antd';
|
|
2
2
|
import React from 'react';
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
4
|
warehouseId?: number | undefined;
|
5
|
-
value?: string | number |
|
5
|
+
value?: string | number | number[] | string[] | undefined;
|
6
6
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
7
7
|
isFirstLoad?: boolean | undefined;
|
8
8
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
@@ -2,7 +2,7 @@ import type { SelectProps } from 'antd';
|
|
2
2
|
import React from 'react';
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
4
4
|
warehouseName?: string | undefined;
|
5
|
-
value?: string | number |
|
5
|
+
value?: string | number | number[] | string[] | undefined;
|
6
6
|
ownerId?: string | undefined;
|
7
7
|
clientid?: string | undefined;
|
8
8
|
employeecode?: string | undefined;
|
@@ -5,7 +5,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
5
5
|
warehouseId?: number | undefined;
|
6
6
|
locationCode?: string | undefined;
|
7
7
|
warehouseAreaId?: number | undefined;
|
8
|
-
value?: string | number |
|
8
|
+
value?: string | number | number[] | string[] | undefined;
|
9
9
|
onSelectChange?: ((value: any, record: any) => any) | undefined;
|
10
10
|
isFirstLoad?: true | undefined;
|
11
11
|
warehouseAreaType?: string | undefined;
|
@@ -50,9 +50,9 @@ var RequestDataFormat = function RequestDataFormat(data) {
|
|
50
50
|
* @param apiName 接口名称
|
51
51
|
*/
|
52
52
|
var generalRequestHeader = function generalRequestHeader() {
|
53
|
-
var _localStorage$getItem,
|
53
|
+
var _localStorage$getItem, _localStorage$getItem2, _getAuthToken;
|
54
54
|
var warehouseInfo = JSON.parse((_localStorage$getItem = localStorage.getItem(BUBU100_CACHE_WAREINFO_KEY)) !== null && _localStorage$getItem !== void 0 ? _localStorage$getItem : '{}');
|
55
|
-
var userInfo = JSON.parse((
|
55
|
+
var userInfo = JSON.parse((_localStorage$getItem2 = localStorage.getItem(BUBU100_CACHE_USERINFO_KEY)) !== null && _localStorage$getItem2 !== void 0 ? _localStorage$getItem2 : '{}');
|
56
56
|
var headers = {
|
57
57
|
Authorization: getToken() || '',
|
58
58
|
authToken: (_getAuthToken = getAuthToken()) !== null && _getAuthToken !== void 0 ? _getAuthToken : ''
|