wt-enjoy-link-antd-repack 4.1.54 → 4.1.55
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 +4 -4
- package/dist/esm/component/BiuField/component/editLocationSelect.d.ts +1 -0
- package/dist/esm/component/BiuField/component/editLocationSelect.js +5 -3
- package/dist/esm/component/BiuField/component/orderTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuTableSelect/index.d.ts +1 -1
- package/package.json +1 -1
@@ -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>, "type" | "onClick"> & {
|
7
7
|
htmlType?: "button" | "submit" | "reset" | 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>, "
|
13
|
+
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
|
14
14
|
htmlType?: "button" | "submit" | "reset" | 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>>>;
|
@@ -16,5 +16,6 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
16
16
|
isAutoGenerate?: string | undefined;
|
17
17
|
remoteSearchValue?: string | undefined;
|
18
18
|
isQueryScene?: number | undefined;
|
19
|
+
locationCodes?: string | undefined;
|
19
20
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
20
21
|
export default _default;
|
@@ -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 = ["ownerId", "locationCode", "warehouseAreaId", "warehouseId", "warehouseIds", "onChange", "onChangeData", "type", "areaType", "interfaceType", "temperateZone", "isFirstLoad", "isAutoGenerate", "isQueryScene"];
|
2
|
+
var _excluded = ["ownerId", "locationCode", "warehouseAreaId", "warehouseId", "warehouseIds", "onChange", "onChangeData", "type", "areaType", "interfaceType", "temperateZone", "isFirstLoad", "isAutoGenerate", "isQueryScene", "locationCodes"];
|
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; }
|
@@ -57,6 +57,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
57
57
|
isAutoGenerate = _props$isAutoGenerate === void 0 ? '2' : _props$isAutoGenerate,
|
58
58
|
_props$isQueryScene = props.isQueryScene,
|
59
59
|
isQueryScene = _props$isQueryScene === void 0 ? 2 : _props$isQueryScene,
|
60
|
+
locationCodes = props.locationCodes,
|
60
61
|
restProps = _objectWithoutProperties(props, _excluded);
|
61
62
|
var _useState5 = useState(isFirstLoad),
|
62
63
|
_useState6 = _slicedToArray(_useState5, 2),
|
@@ -82,7 +83,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
82
83
|
isFirstLoadSearch: isFirstLoadSearch,
|
83
84
|
remoteSearchCValue: remoteSearchCValue,
|
84
85
|
isAutoGenerate: isAutoGenerate,
|
85
|
-
isQueryScene: isQueryScene
|
86
|
+
isQueryScene: isQueryScene,
|
87
|
+
locationCodes: locationCodes
|
86
88
|
};
|
87
89
|
return interfaceType && interfaceType === '1' ? _objectSpread(_objectSpread({}, params), {}, {
|
88
90
|
warehouseAreaType: areaType,
|
@@ -92,7 +94,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
92
94
|
page: 1,
|
93
95
|
size: 20
|
94
96
|
});
|
95
|
-
}, [locationCode, warehouseAreaId, warehouseId, warehouseIds, areaType, interfaceType, ownerId, temperateZone, isFirstLoadSearch, remoteSearchCValue, isAutoGenerate, isQueryScene]);
|
97
|
+
}, [locationCode, warehouseAreaId, warehouseId, warehouseIds, areaType, interfaceType, ownerId, temperateZone, isFirstLoadSearch, remoteSearchCValue, isAutoGenerate, isQueryScene, locationCodes]);
|
96
98
|
var handleOnChange = useCallback(function (value, option) {
|
97
99
|
if (onChange) onChange(value, option);
|
98
100
|
if (onChangeData) {
|
@@ -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 | 3 | 1 | 4 | 2 | 5;
|
13
13
|
isFirstLoad: boolean;
|
14
14
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
15
15
|
export default _default;
|
@@ -46,4 +46,4 @@ export declare const BiuTableSelect: React.MemoExoticComponent<React.ForwardRefE
|
|
46
46
|
* 转换下绑定到组件上的数据源
|
47
47
|
*/
|
48
48
|
dataOption?: ((value: Record<string, any>) => Record<string, any>[]) | undefined;
|
49
|
-
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "showSearch" | "allowClear"> & Pick<TableProps<any>, "
|
49
|
+
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "showSearch" | "allowClear"> & Pick<TableProps<any>, "dataSource" | "onRow"> & React.RefAttributes<unknown>>>;
|