@signalplus/params-about 1.0.26-alpha3 → 1.0.26-alpha4
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/lib/es/index.js +8 -4
- package/package.json +1 -1
package/lib/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Bundle of @signalplus/params-about
|
|
3
|
-
* Generated: 2025-10-
|
|
4
|
-
* Version: 1.0.26-
|
|
3
|
+
* Generated: 2025-10-28
|
|
4
|
+
* Version: 1.0.26-alpha4
|
|
5
5
|
* License: MIT
|
|
6
6
|
* Author: 2631541504@qq.com
|
|
7
7
|
*/
|
|
@@ -629,7 +629,7 @@ var NumRange = /*#__PURE__*/function (_PureComponent) {
|
|
|
629
629
|
}, this.props.className),
|
|
630
630
|
style: this.props.style
|
|
631
631
|
}, this.props.readonly ? '(' : '', /*#__PURE__*/React.createElement(Num, {
|
|
632
|
-
placeholder: 'Min',
|
|
632
|
+
placeholder: this.props.minName || 'Min',
|
|
633
633
|
value: (_this$props$value = this.props.value) === null || _this$props$value === void 0 ? void 0 : _this$props$value.min,
|
|
634
634
|
onChange: this.onChange.bind(null, 'min'),
|
|
635
635
|
isPercentage: this.props.isPercentage,
|
|
@@ -642,7 +642,7 @@ var NumRange = /*#__PURE__*/function (_PureComponent) {
|
|
|
642
642
|
marginRight: 4
|
|
643
643
|
} : undefined
|
|
644
644
|
}, this.props.readonly ? ',' : '~'), /*#__PURE__*/React.createElement(Num, {
|
|
645
|
-
placeholder: 'Max',
|
|
645
|
+
placeholder: this.props.maxName || 'Max',
|
|
646
646
|
value: (_this$props$value2 = this.props.value) === null || _this$props$value2 === void 0 ? void 0 : _this$props$value2.max,
|
|
647
647
|
onChange: this.onChange.bind(null, 'max'),
|
|
648
648
|
isPercentage: this.props.isPercentage,
|
|
@@ -2788,6 +2788,8 @@ var ExpiryVegaAlphaByEdgeList = /*#__PURE__*/function (_PureComponent) {
|
|
|
2788
2788
|
min: rule.bidEdgeRange.min,
|
|
2789
2789
|
max: rule.bidEdgeRange.max
|
|
2790
2790
|
},
|
|
2791
|
+
minName: "From",
|
|
2792
|
+
maxName: "To",
|
|
2791
2793
|
onChange: function onChange(val) {
|
|
2792
2794
|
return _this2.onChange(i, val, 'vegaRules', k, 'bidEdgeRange');
|
|
2793
2795
|
},
|
|
@@ -2798,6 +2800,8 @@ var ExpiryVegaAlphaByEdgeList = /*#__PURE__*/function (_PureComponent) {
|
|
|
2798
2800
|
min: rule.askEdgeRange.min,
|
|
2799
2801
|
max: rule.askEdgeRange.max
|
|
2800
2802
|
},
|
|
2803
|
+
minName: "From",
|
|
2804
|
+
maxName: "To",
|
|
2801
2805
|
onChange: function onChange(val) {
|
|
2802
2806
|
return _this2.onChange(i, val, 'vegaRules', k, 'askEdgeRange');
|
|
2803
2807
|
},
|