tg-core-components 6.3.4-2.6 → 6.3.4-2.7
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.
|
@@ -348,7 +348,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
348
348
|
inputMode === 'input' && React.createElement(
|
|
349
349
|
Fragment,
|
|
350
350
|
null,
|
|
351
|
-
console.log(
|
|
351
|
+
console.log(newLimit),
|
|
352
352
|
React.createElement(Input, {
|
|
353
353
|
type: 'number',
|
|
354
354
|
pattern: '\\d*',
|
|
@@ -359,7 +359,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
359
359
|
},
|
|
360
360
|
autoFocus: !isIphone,
|
|
361
361
|
min: validationState['limit-remove-blocked'] ? '1' : '0',
|
|
362
|
-
max: validationState['limit-increase-blocked'] ? getByPath(currentLimit, 'Amount') :
|
|
362
|
+
max: validationState['limit-increase-blocked'] ? getByPath(currentLimit, 'Amount') : Infinity
|
|
363
363
|
}),
|
|
364
364
|
React.createElement(
|
|
365
365
|
Button,
|
|
@@ -42,6 +42,8 @@ var validate = function validate(_ref) {
|
|
|
42
42
|
return getByPath(t, 'newLimit.Type') === 'Deposit' && t.timespan === 30;
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
+
//const exceedingMaxLimitAmount = timespans.find(t => getByPath(t, 'newLimit.'))
|
|
46
|
+
|
|
45
47
|
/**
|
|
46
48
|
* Compose jurisdictions with rules
|
|
47
49
|
*/
|
|
@@ -379,7 +379,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
379
379
|
inputMode === 'input' && _react2.default.createElement(
|
|
380
380
|
_react.Fragment,
|
|
381
381
|
null,
|
|
382
|
-
console.log(
|
|
382
|
+
console.log(newLimit),
|
|
383
383
|
_react2.default.createElement(_Input2.default, {
|
|
384
384
|
type: 'number',
|
|
385
385
|
pattern: '\\d*',
|
|
@@ -390,7 +390,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
390
390
|
},
|
|
391
391
|
autoFocus: !isIphone,
|
|
392
392
|
min: validationState['limit-remove-blocked'] ? '1' : '0',
|
|
393
|
-
max: validationState['limit-increase-blocked'] ? (0, _get2.default)(currentLimit, 'Amount') :
|
|
393
|
+
max: validationState['limit-increase-blocked'] ? (0, _get2.default)(currentLimit, 'Amount') : Infinity
|
|
394
394
|
}),
|
|
395
395
|
_react2.default.createElement(
|
|
396
396
|
_Button2.default,
|
|
@@ -52,6 +52,8 @@ var validate = function validate(_ref) {
|
|
|
52
52
|
return (0, _get2.default)(t, 'newLimit.Type') === 'Deposit' && t.timespan === 30;
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
+
//const exceedingMaxLimitAmount = timespans.find(t => getByPath(t, 'newLimit.'))
|
|
56
|
+
|
|
55
57
|
/**
|
|
56
58
|
* Compose jurisdictions with rules
|
|
57
59
|
*/
|