@signalplus/params-about 1.0.26-alpha15 → 1.0.26-alpha17

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.
Files changed (2) hide show
  1. package/lib/es/index.js +10 -3
  2. 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
3
  * Generated: 2025-11-07
4
- * Version: 1.0.26-alpha15
4
+ * Version: 1.0.26-alpha17
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -2895,8 +2895,7 @@ var ExpiryVegaAlphaByEdgeList = /*#__PURE__*/function (_PureComponent) {
2895
2895
  style: {
2896
2896
  display: 'flex',
2897
2897
  flexDirection: 'column',
2898
- width: '100%',
2899
- marginBottom: i > 0 ? -30 : 0
2898
+ width: '100%'
2900
2899
  }
2901
2900
  }, /*#__PURE__*/React.createElement("div", {
2902
2901
  style: {
@@ -3438,10 +3437,18 @@ var ParamTypeConfig = (_ParamTypeConfig = {}, _defineProperty(_ParamTypeConfig,
3438
3437
  return emptyErrText(i, "delta range's min");
3439
3438
  }
3440
3439
 
3440
+ if (Number(vegaRule.deltaRange.min) <= 0) {
3441
+ return zeroErrText(i, "delta range's min", 'max');
3442
+ }
3443
+
3441
3444
  if (isEmpty(vegaRule.deltaRange.max)) {
3442
3445
  return emptyErrText(i, "delta range's max");
3443
3446
  }
3444
3447
 
3448
+ if (Number(vegaRule.deltaRange.max) <= 0) {
3449
+ return zeroErrText(i, "delta range's max", 'max');
3450
+ }
3451
+
3445
3452
  if (isEmpty(vegaRule.bidEdgeSpan.from)) {
3446
3453
  return emptyErrText(i, "bid edge range's from");
3447
3454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "1.0.26-alpha15",
3
+ "version": "1.0.26-alpha17",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",