@signalplus/params-about 0.1.39 → 0.1.40
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 +6 -6
- 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: 2022-04-
|
|
4
|
-
* Version: 0.1.
|
|
3
|
+
* Generated: 2022-04-19
|
|
4
|
+
* Version: 0.1.40
|
|
5
5
|
* License: MIT
|
|
6
6
|
* Author: 2631541504@qq.com
|
|
7
7
|
*/
|
|
@@ -957,9 +957,9 @@ var ExpiriesLimit = /*#__PURE__*/function (_PureComponent) {
|
|
|
957
957
|
key: i
|
|
958
958
|
}, it.expiry, /*#__PURE__*/React.createElement("span", {
|
|
959
959
|
className: "param-expiries-limit-val-sep"
|
|
960
|
-
}, "/"), it.minAumPercentage && it.maxAumPercentage ? "(".concat(NumCvt.show(it.minAumPercentage, true), "%, ").concat(NumCvt.show(it.maxAumPercentage, true), "%)") : '-', /*#__PURE__*/React.createElement("span", {
|
|
960
|
+
}, "/"), !isNullLike(it.minAumPercentage) && !isNullLike(it.maxAumPercentage) ? "(".concat(NumCvt.show(it.minAumPercentage, true), "%, ").concat(NumCvt.show(it.maxAumPercentage, true), "%)") : '-', /*#__PURE__*/React.createElement("span", {
|
|
961
961
|
className: "param-expiries-limit-val-sep"
|
|
962
|
-
}, "/"), it.minAbs && it.maxAbs ? "(".concat(it.minAbs, ", ").concat(it.maxAbs, ")") : '-');
|
|
962
|
+
}, "/"), !isNullLike(it.minAbs) && !isNullLike(it.maxAbs) ? "(".concat(it.minAbs, ", ").concat(it.maxAbs, ")") : '-');
|
|
963
963
|
}) : '-' : /*#__PURE__*/React.createElement("div", {
|
|
964
964
|
className: "param-expiries-limit-inputs"
|
|
965
965
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1167,10 +1167,10 @@ var ParamTypeConfig = (_ParamTypeConfig = {}, _defineProperty(_ParamTypeConfig,
|
|
|
1167
1167
|
return "The ".concat(i + 1, "th item: at least one parameter must be specified between AUM and ABS");
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
|
-
if (val.minAbs
|
|
1170
|
+
if (val.minAbs >= val.maxAbs) // return { [i]: { minAbs: 'Min ABS should smaller than Max ABS' } }
|
|
1171
1171
|
return "The ".concat(i + 1, "th item: Min ABS should smaller than Max ABS");
|
|
1172
1172
|
|
|
1173
|
-
if (val.minAumPercentage
|
|
1173
|
+
if (val.minAumPercentage >= val.maxAumPercentage) {
|
|
1174
1174
|
// return {
|
|
1175
1175
|
// [i]: { minAumPercentage: 'Min AUM should smaller than Max AUM' },
|
|
1176
1176
|
// }
|