@signalplus/params-about 1.0.26-alpha12 → 1.0.26-alpha14
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/index.d.ts +1 -1
- package/lib/es/index.js +12 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
package/lib/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Bundle of @signalplus/params-about
|
|
3
3
|
* Generated: 2025-11-06
|
|
4
|
-
* Version: 1.0.26-
|
|
4
|
+
* Version: 1.0.26-alpha14
|
|
5
5
|
* License: MIT
|
|
6
6
|
* Author: 2631541504@qq.com
|
|
7
7
|
*/
|
|
@@ -3780,8 +3780,6 @@ var ParamFormModalEl = /*#__PURE__*/function (_PureComponent2) {
|
|
|
3780
3780
|
var _super2 = _createSuper(ParamFormModalEl);
|
|
3781
3781
|
|
|
3782
3782
|
function ParamFormModalEl() {
|
|
3783
|
-
var _this4$props$initialV, _ParamTypeConfig$_thi, _this4$props$initialV2;
|
|
3784
|
-
|
|
3785
3783
|
var _this4;
|
|
3786
3784
|
|
|
3787
3785
|
_classCallCheck(this, ParamFormModalEl);
|
|
@@ -3797,12 +3795,15 @@ var ParamFormModalEl = /*#__PURE__*/function (_PureComponent2) {
|
|
|
3797
3795
|
_defineProperty(_assertThisInitialized(_this4), "state", {
|
|
3798
3796
|
visible: false,
|
|
3799
3797
|
pending: false,
|
|
3800
|
-
width:
|
|
3798
|
+
width: 740
|
|
3801
3799
|
});
|
|
3802
3800
|
|
|
3803
3801
|
_defineProperty(_assertThisInitialized(_this4), "onShow", function () {
|
|
3802
|
+
var _this4$props$initialV, _ParamTypeConfig$_thi, _this4$props$initialV2;
|
|
3803
|
+
|
|
3804
3804
|
return _this4.setState({
|
|
3805
|
-
visible: true
|
|
3805
|
+
visible: true,
|
|
3806
|
+
width: ((_this4$props$initialV = _this4.props.initialValues) === null || _this4$props$initialV === void 0 ? void 0 : _this4$props$initialV.valueType) ? (_ParamTypeConfig$_thi = ParamTypeConfig[(_this4$props$initialV2 = _this4.props.initialValues) === null || _this4$props$initialV2 === void 0 ? void 0 : _this4$props$initialV2.valueType]) === null || _ParamTypeConfig$_thi === void 0 ? void 0 : _ParamTypeConfig$_thi.modalWidth : 740
|
|
3806
3807
|
});
|
|
3807
3808
|
});
|
|
3808
3809
|
|
|
@@ -3859,6 +3860,7 @@ var ParamFormModalEl = /*#__PURE__*/function (_PureComponent2) {
|
|
|
3859
3860
|
closable: false,
|
|
3860
3861
|
title: !this.isEdit ? '新增参数' : '修改参数',
|
|
3861
3862
|
visible: this.state.visible,
|
|
3863
|
+
destroyOnClose: true,
|
|
3862
3864
|
footer: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
|
|
3863
3865
|
onClick: this.onHide
|
|
3864
3866
|
}, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -4064,12 +4066,13 @@ var ParamValueEditorModalEl = /*#__PURE__*/function (_PureComponent2) {
|
|
|
4064
4066
|
_defineProperty(_assertThisInitialized(_this3), "state", {
|
|
4065
4067
|
visible: false,
|
|
4066
4068
|
pending: false,
|
|
4067
|
-
width:
|
|
4069
|
+
width: 740
|
|
4068
4070
|
});
|
|
4069
4071
|
|
|
4070
4072
|
_defineProperty(_assertThisInitialized(_this3), "onShow", function () {
|
|
4071
4073
|
return _this3.setState({
|
|
4072
|
-
visible: true
|
|
4074
|
+
visible: true,
|
|
4075
|
+
width: ParamTypeConfig[_this3.props.valueType].modalWidth || 740
|
|
4073
4076
|
});
|
|
4074
4077
|
});
|
|
4075
4078
|
|
|
@@ -4115,10 +4118,11 @@ var ParamValueEditorModalEl = /*#__PURE__*/function (_PureComponent2) {
|
|
|
4115
4118
|
value: function render() {
|
|
4116
4119
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
4117
4120
|
key: String(this.state.visible),
|
|
4118
|
-
width: this.state.width
|
|
4121
|
+
width: this.state.width,
|
|
4119
4122
|
title: 'Edit Value',
|
|
4120
4123
|
closable: false,
|
|
4121
4124
|
visible: this.state.visible,
|
|
4125
|
+
destroyOnClose: true,
|
|
4122
4126
|
footer: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
|
|
4123
4127
|
onClick: this.onHide
|
|
4124
4128
|
}, "Cancel"), /*#__PURE__*/React.createElement(Button, {
|