@aloudata/aloudata-design 2.14.10 → 2.14.11
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/Modal/index.js +5 -1
- package/package.json +1 -1
package/dist/Modal/index.js
CHANGED
|
@@ -139,6 +139,10 @@ var OriginModal = function OriginModal(props) {
|
|
|
139
139
|
padding: 0
|
|
140
140
|
};
|
|
141
141
|
}, [responsiveBounds]);
|
|
142
|
+
var confirmLoading = restProps.confirmLoading;
|
|
143
|
+
var mergedOkButtonProps = _objectSpread({
|
|
144
|
+
loading: confirmLoading
|
|
145
|
+
}, okButtonProps);
|
|
142
146
|
return /*#__PURE__*/React.createElement(AntdModal, _extends({}, restProps, {
|
|
143
147
|
style: _objectSpread(_objectSpread({}, style), responsiveBoundsStyle),
|
|
144
148
|
width: responsiveBounds ? responsiveBoundsStyle.width : width || DEFAULT_WIDTH,
|
|
@@ -153,7 +157,7 @@ var OriginModal = function OriginModal(props) {
|
|
|
153
157
|
'ald-modal-hide-header-bottom-border': hideHeaderBottomBorder,
|
|
154
158
|
'ald-modal-responsive-bounds': responsiveBounds
|
|
155
159
|
}),
|
|
156
|
-
okButtonProps: getButtonProps(
|
|
160
|
+
okButtonProps: getButtonProps(mergedOkButtonProps, 'primary', okType),
|
|
157
161
|
wrapClassName: classNames(props.wrapClassName, {
|
|
158
162
|
'ald-modal-responsive-bounds-wrap': responsiveBounds
|
|
159
163
|
}),
|