revdev-components 0.167.0 → 0.168.0
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/build/index.js
CHANGED
|
@@ -5180,7 +5180,7 @@ var InfoDialog = function (_a) {
|
|
|
5180
5180
|
var s$i = {"root":"index-module_root__BQI-i","header":"index-module_header__OUCQj","title":"index-module_title__HPbDC","close":"index-module_close__-FN6K","content":"index-module_content__BpXha","footer":"index-module_footer__xqKte"};
|
|
5181
5181
|
|
|
5182
5182
|
var RegularDialog = function (_a) {
|
|
5183
|
-
var titleIcon = _a.titleIcon, titlePrefix = _a.titlePrefix, title = _a.title, children = _a.children, _b = _a.hideFooter, hideFooter = _b === void 0 ? false : _b, className = _a.className, width = _a.width, okText = _a.okText, cancelText = _a.cancelText, footerClassName = _a.footerClassName, contentClassName = _a.contentClassName, okHide = _a.okHide, okDisabled = _a.okDisabled, onOk = _a.onOk, onClose = _a.onClose, _c = _a.open, open = _c === void 0 ? true : _c, _d = _a.maskClosable, maskClosable = _d === void 0 ? false : _d;
|
|
5183
|
+
var titleIcon = _a.titleIcon, titlePrefix = _a.titlePrefix, title = _a.title, children = _a.children, _b = _a.hideFooter, hideFooter = _b === void 0 ? false : _b, className = _a.className, width = _a.width, okText = _a.okText, cancelText = _a.cancelText, footerClassName = _a.footerClassName, contentClassName = _a.contentClassName, okHide = _a.okHide, okDisabled = _a.okDisabled, okLoading = _a.okLoading, onOk = _a.onOk, onClose = _a.onClose, _c = _a.open, open = _c === void 0 ? true : _c, _d = _a.maskClosable, maskClosable = _d === void 0 ? false : _d;
|
|
5184
5184
|
var close = React.useMemo(function () {
|
|
5185
5185
|
return React.createElement(RegularIcon, { name: "cross", className: s$i.close, onClick: onClose });
|
|
5186
5186
|
}, [onClose]);
|
|
@@ -5212,7 +5212,7 @@ var RegularDialog = function (_a) {
|
|
|
5212
5212
|
React.createElement("div", { className: classNames(s$i.content, contentClassName) }, children),
|
|
5213
5213
|
hideFooter ? null : (React.createElement("div", { className: classNames(s$i.footer, footerClassName) },
|
|
5214
5214
|
React.createElement(antd.Button, { onClick: onClose }, cancelText || "Cancel"),
|
|
5215
|
-
okHide ? null : (React.createElement(antd.Button, { type: "primary", onClick: onOk, disabled: okDisabled }, okText || "OK"))))));
|
|
5215
|
+
okHide ? null : (React.createElement(antd.Button, { type: "primary", onClick: onOk, disabled: okDisabled, loading: okLoading }, okText || "OK"))))));
|
|
5216
5216
|
};
|
|
5217
5217
|
|
|
5218
5218
|
var s$h = {"root":"index-module_root__qFuRH"};
|