wt-enjoy-link-antd-repack 4.1.37 → 4.1.39
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.
@@ -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>, "
|
6
|
+
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
7
7
|
htmlType?: "button" | "submit" | "reset" | undefined;
|
8
8
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
9
|
-
} & Omit<React.ButtonHTMLAttributes<any>, "
|
9
|
+
} & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">> & 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>, "
|
13
|
+
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
14
14
|
htmlType?: "button" | "submit" | "reset" | undefined;
|
15
15
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
16
|
-
} & Omit<React.ButtonHTMLAttributes<any>, "
|
16
|
+
} & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">> & React.RefAttributes<HTMLElement>> & {
|
17
17
|
Group: React.FC<import("antd/lib/button").ButtonGroupProps>;
|
18
18
|
}, keyof React.Component<any, {}, any>>>;
|
@@ -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 = ["onChangeData", "attributeType", "showType", "clientType", "queryext", "warehouseFilter", "clientsettype", "businesstype", "isFirstLoad", "connection", "useType", "queryParams"];
|
2
|
+
var _excluded = ["onChangeData", "attributeType", "showType", "clientType", "queryext", "warehouseFilter", "clientsettype", "businesstype", "isFirstLoad", "connection", "useType", "invalid", "queryParams"];
|
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; }
|
@@ -81,6 +81,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
81
81
|
connection = props.connection,
|
82
82
|
_props$useType = props.useType,
|
83
83
|
useType = _props$useType === void 0 ? 1 : _props$useType,
|
84
|
+
_props$invalid = props.invalid,
|
85
|
+
invalid = _props$invalid === void 0 ? 0 : _props$invalid,
|
84
86
|
_props$queryParams = props.queryParams,
|
85
87
|
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams,
|
86
88
|
restProps = _objectWithoutProperties(props, _excluded);
|
@@ -88,7 +90,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
88
90
|
warehouseFilter: warehouseFilter,
|
89
91
|
clientsettype: clientsettype,
|
90
92
|
isFirstLoad: isFirstLoad,
|
91
|
-
useType: useType
|
93
|
+
useType: useType,
|
94
|
+
invalid: invalid
|
92
95
|
}, queryParams)),
|
93
96
|
_useState2 = _slicedToArray(_useState, 2),
|
94
97
|
queryData = _useState2[0],
|
@@ -100,6 +103,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
100
103
|
businesstype: businesstype,
|
101
104
|
connection: connection,
|
102
105
|
useType: useType,
|
106
|
+
invalid: invalid,
|
103
107
|
remoteSearchCValue: params
|
104
108
|
});
|
105
109
|
}, {
|
@@ -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 |
|
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;
|