tg-core-components 6.1.17 → 6.1.19-alpha.0
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/es/components/Money/index.js +2 -24
- package/es/components/Picture/index.js +1 -1
- package/es/lib/utils/selectUnit.js +64 -0
- package/es/lib/utils/translate.js +1 -1
- package/es/misc/countryEmojiFlags.js +5 -0
- package/es/widgets/AccountDetail/index.js +0 -8
- package/es/widgets/ActivateWidget/index.js +1 -1
- package/es/widgets/BonusWidget/index.js +7 -8
- package/es/widgets/BonusWidget/types.js +23 -0
- package/es/widgets/Cashier/Deposit/PaymentForm/index.js +5 -2
- package/es/widgets/Cashier/Payment/PaymentAccountForms/index.js +41 -10
- package/es/widgets/Cashier/Payment/PaymentAccountParser.js +6 -0
- package/es/widgets/CashierAccordion/Payment/PaymentAccountForms/index.js +168 -62
- package/es/widgets/CashierAccordion/Payment/PaymentAccountParser.js +12 -0
- package/es/widgets/CashierAccordion/Withdraw/WithdrawWidget/index.js +1 -2
- package/es/widgets/HistoryWidget/index.js +20 -84
- package/es/widgets/ResponsibleGamingWidget/Timespan.js +5 -3
- package/es/widgets/VerifyAccordionWidget/index.js +1 -1
- package/lib/components/Money/index.js +2 -25
- package/lib/components/Picture/index.js +1 -1
- package/lib/lib/utils/selectUnit.js +69 -0
- package/lib/lib/utils/translate.js +1 -1
- package/lib/misc/countryEmojiFlags.js +5 -0
- package/lib/widgets/AccountDetail/index.js +0 -8
- package/lib/widgets/ActivateWidget/index.js +1 -1
- package/lib/widgets/BonusWidget/index.js +8 -8
- package/lib/widgets/BonusWidget/types.js +37 -0
- package/lib/widgets/Cashier/Deposit/PaymentForm/index.js +5 -2
- package/lib/widgets/Cashier/Payment/PaymentAccountForms/index.js +42 -11
- package/lib/widgets/Cashier/Payment/PaymentAccountParser.js +6 -0
- package/lib/widgets/CashierAccordion/Payment/PaymentAccountForms/index.js +169 -63
- package/lib/widgets/CashierAccordion/Payment/PaymentAccountParser.js +12 -0
- package/lib/widgets/CashierAccordion/Withdraw/WithdrawWidget/index.js +1 -2
- package/lib/widgets/HistoryWidget/index.js +24 -87
- package/lib/widgets/ResponsibleGamingWidget/Timespan.js +5 -3
- package/lib/widgets/VerifyAccordionWidget/index.js +3 -3
- package/package.json +2 -2
|
@@ -44,14 +44,14 @@ var _Translate = require('../../components/Translate');
|
|
|
44
44
|
|
|
45
45
|
var _Translate2 = _interopRequireDefault(_Translate);
|
|
46
46
|
|
|
47
|
-
var _intlUtils = require('@formatjs/intl-utils');
|
|
48
|
-
|
|
49
47
|
var _types = require('../Verify/types');
|
|
50
48
|
|
|
51
49
|
var _reasons = require('../Verify/reasons');
|
|
52
50
|
|
|
53
51
|
var _status = require('../Verify/status');
|
|
54
52
|
|
|
53
|
+
var _selectUnit = require('../../lib/utils/selectUnit');
|
|
54
|
+
|
|
55
55
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
56
56
|
|
|
57
57
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -119,7 +119,7 @@ var KYCList = function KYCList(_ref2) {
|
|
|
119
119
|
'div',
|
|
120
120
|
{ className: 'bold' },
|
|
121
121
|
(0, _types.getKycType)(item.Type)
|
|
122
|
-
), (0, _status.getKycStatus)(item.Status)], [_react2.default.createElement('div', { className: 'space' }), _react2.default.createElement(_reactIntl.FormattedRelativeTime, (0,
|
|
122
|
+
), (0, _status.getKycStatus)(item.Status)], [_react2.default.createElement('div', { className: 'space' }), _react2.default.createElement(_reactIntl.FormattedRelativeTime, (0, _selectUnit.selectUnit)(new Date(item.Added + '+00:00')))]],
|
|
123
123
|
detail: [[_react2.default.createElement(_Translate2.default, { id: 'label.comment', defaultMessage: 'Comment' }), _react2.default.createElement(_Translate2.default, { id: 'label.reasons', defaultMessage: 'Reasons' })], [item.Comment ? _react2.default.createElement(
|
|
124
124
|
'span',
|
|
125
125
|
null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-core-components",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.19-alpha.0",
|
|
4
4
|
"description": "tg-core-components",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"webpack": "^3.0.0",
|
|
77
77
|
"webpack-blocks": "^1.0.0"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "6d83b9356e983d2c43f8440f6fceac7bbd545086"
|
|
80
80
|
}
|