wargerm 0.7.33 → 0.7.35
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/components/Modal/index.d.ts +1 -0
- package/dist/index.esm.js +14 -11
- package/dist/index.js +14 -11
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -6321,7 +6321,8 @@ var Modal = /*#__PURE__*/function (_React$PureComponent) {
|
|
6321
6321
|
isDrag = _this$props2.isDrag,
|
6322
6322
|
showFullscreen = _this$props2.showFullscreen,
|
6323
6323
|
renderMin = _this$props2.renderMin,
|
6324
|
-
renderFullScreen = _this$props2.renderFullScreen
|
6324
|
+
renderFullScreen = _this$props2.renderFullScreen,
|
6325
|
+
fullscreenClassName = _this$props2.fullscreenClassName;
|
6325
6326
|
|
6326
6327
|
var onMouseDown = function onMouseDown(eventDown) {
|
6327
6328
|
if (!isDrag) return;
|
@@ -6359,20 +6360,22 @@ var Modal = /*#__PURE__*/function (_React$PureComponent) {
|
|
6359
6360
|
display: 'flex',
|
6360
6361
|
alignItems: 'center'
|
6361
6362
|
},
|
6362
|
-
className: "model-closeIcon"
|
6363
|
-
|
6364
|
-
|
6365
|
-
|
6363
|
+
className: "model-closeIcon",
|
6364
|
+
onClick: function onClick(e) {
|
6365
|
+
e.stopPropagation();
|
6366
|
+
onClose && onClose();
|
6367
|
+
closeCb && closeCb();
|
6368
|
+
}
|
6369
|
+
}, renderClose ? renderClose : /*#__PURE__*/React.createElement(CloseCircleOutlined, null), showFullscreen && /*#__PURE__*/React.createElement("span", {
|
6370
|
+
className: "mr5 cp fullscreenIcon ".concat(fullscreenClassName),
|
6371
|
+
onClick: function onClick(e) {
|
6372
|
+
e.stopPropagation();
|
6373
|
+
|
6366
6374
|
_this.setState({
|
6367
6375
|
isFullScreen: !_this.state.isFullScreen
|
6368
6376
|
});
|
6369
6377
|
}
|
6370
|
-
}, _this.state.isFullScreen ? renderMin || /*#__PURE__*/React.createElement(MinusOutlined, null) : renderFullScreen || /*#__PURE__*/React.createElement(FullscreenOutlined, null))
|
6371
|
-
onClick: function onClick() {
|
6372
|
-
onClose && onClose();
|
6373
|
-
closeCb && closeCb();
|
6374
|
-
}
|
6375
|
-
}, renderClose ? renderClose : /*#__PURE__*/React.createElement(CloseCircleOutlined, null))));
|
6378
|
+
}, _this.state.isFullScreen ? renderMin || /*#__PURE__*/React.createElement(MinusOutlined, null) : renderFullScreen || /*#__PURE__*/React.createElement(FullscreenOutlined, null))));
|
6376
6379
|
};
|
6377
6380
|
|
6378
6381
|
_this.renderContent = function () {
|
package/dist/index.js
CHANGED
@@ -6365,7 +6365,8 @@ var Modal = /*#__PURE__*/function (_React$PureComponent) {
|
|
6365
6365
|
isDrag = _this$props2.isDrag,
|
6366
6366
|
showFullscreen = _this$props2.showFullscreen,
|
6367
6367
|
renderMin = _this$props2.renderMin,
|
6368
|
-
renderFullScreen = _this$props2.renderFullScreen
|
6368
|
+
renderFullScreen = _this$props2.renderFullScreen,
|
6369
|
+
fullscreenClassName = _this$props2.fullscreenClassName;
|
6369
6370
|
|
6370
6371
|
var onMouseDown = function onMouseDown(eventDown) {
|
6371
6372
|
if (!isDrag) return;
|
@@ -6403,20 +6404,22 @@ var Modal = /*#__PURE__*/function (_React$PureComponent) {
|
|
6403
6404
|
display: 'flex',
|
6404
6405
|
alignItems: 'center'
|
6405
6406
|
},
|
6406
|
-
className: "model-closeIcon"
|
6407
|
-
|
6408
|
-
|
6409
|
-
|
6407
|
+
className: "model-closeIcon",
|
6408
|
+
onClick: function onClick(e) {
|
6409
|
+
e.stopPropagation();
|
6410
|
+
onClose && onClose();
|
6411
|
+
closeCb && closeCb();
|
6412
|
+
}
|
6413
|
+
}, renderClose ? renderClose : /*#__PURE__*/React__default['default'].createElement(icons.CloseCircleOutlined, null), showFullscreen && /*#__PURE__*/React__default['default'].createElement("span", {
|
6414
|
+
className: "mr5 cp fullscreenIcon ".concat(fullscreenClassName),
|
6415
|
+
onClick: function onClick(e) {
|
6416
|
+
e.stopPropagation();
|
6417
|
+
|
6410
6418
|
_this.setState({
|
6411
6419
|
isFullScreen: !_this.state.isFullScreen
|
6412
6420
|
});
|
6413
6421
|
}
|
6414
|
-
}, _this.state.isFullScreen ? renderMin || /*#__PURE__*/React__default['default'].createElement(icons.MinusOutlined, null) : renderFullScreen || /*#__PURE__*/React__default['default'].createElement(icons.FullscreenOutlined, null))
|
6415
|
-
onClick: function onClick() {
|
6416
|
-
onClose && onClose();
|
6417
|
-
closeCb && closeCb();
|
6418
|
-
}
|
6419
|
-
}, renderClose ? renderClose : /*#__PURE__*/React__default['default'].createElement(icons.CloseCircleOutlined, null))));
|
6422
|
+
}, _this.state.isFullScreen ? renderMin || /*#__PURE__*/React__default['default'].createElement(icons.MinusOutlined, null) : renderFullScreen || /*#__PURE__*/React__default['default'].createElement(icons.FullscreenOutlined, null))));
|
6420
6423
|
};
|
6421
6424
|
|
6422
6425
|
_this.renderContent = function () {
|