tg-core-components 6.3.3 → 6.3.4-2.4

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.
@@ -223,30 +223,35 @@ var LimitContent = function LimitContent(_ref3) {
223
223
  currency: currency
224
224
  }),
225
225
  Object.values(timespans).map(function (t) {
226
- return React.createElement(Timespan, _extends({
227
- key: t.timespan,
228
- title: Object.values(timespans).length > 1 && messages.get('header.responsible-gaming.timespan.' + t.timespan),
229
- onChangeLimit: onChangeLimit(t.timespan),
230
- onResetLimit: function onResetLimit() {
231
- return onSubmitLimits([t.currentLimit]);
232
- },
233
- onConfirmLimit: onConfirmLimit,
234
- onDeclineLimit: onDeclineLimit,
235
- onPickLimit: function onPickLimit(id) {
236
- return onSubmitLimits(t.pickLimits.filter(function (l) {
237
- return l.Id !== id;
238
- }).map(function (l) {
239
- return _extends({}, l, { Amount: 0 });
240
- }));
241
- },
242
- validationState: getValidationState(t.timespan),
243
- currency: currency,
244
- values: values,
245
- valueType: valueType,
246
- hideRemainingLimit: hideRemainingLimit,
247
- showCurrentValue: showCurrentValue,
248
- hideOther: hideOther
249
- }, t));
226
+ return React.createElement(
227
+ 'div',
228
+ null,
229
+ console.log(t),
230
+ React.createElement(Timespan, _extends({
231
+ key: t.timespan,
232
+ title: Object.values(timespans).length > 1 && messages.get('header.responsible-gaming.timespan.' + t.timespan),
233
+ onChangeLimit: onChangeLimit(t.timespan),
234
+ onResetLimit: function onResetLimit() {
235
+ return onSubmitLimits([t.currentLimit]);
236
+ },
237
+ onConfirmLimit: onConfirmLimit,
238
+ onDeclineLimit: onDeclineLimit,
239
+ onPickLimit: function onPickLimit(id) {
240
+ return onSubmitLimits(t.pickLimits.filter(function (l) {
241
+ return l.Id !== id;
242
+ }).map(function (l) {
243
+ return _extends({}, l, { Amount: 0 });
244
+ }));
245
+ },
246
+ validationState: getValidationState(t.timespan),
247
+ currency: currency,
248
+ values: values,
249
+ valueType: valueType,
250
+ hideRemainingLimit: hideRemainingLimit,
251
+ showCurrentValue: showCurrentValue,
252
+ hideOther: hideOther
253
+ }, t))
254
+ );
250
255
  }),
251
256
  !hideSubmit && React.createElement(
252
257
  Button,
@@ -265,30 +265,35 @@ var LimitContent = function LimitContent(_ref3) {
265
265
  currency: currency
266
266
  }),
267
267
  Object.values(timespans).map(function (t) {
268
- return _react2.default.createElement(_Timespan2.default, _extends({
269
- key: t.timespan,
270
- title: Object.values(timespans).length > 1 && _messages2.default.get('header.responsible-gaming.timespan.' + t.timespan),
271
- onChangeLimit: onChangeLimit(t.timespan),
272
- onResetLimit: function onResetLimit() {
273
- return onSubmitLimits([t.currentLimit]);
274
- },
275
- onConfirmLimit: onConfirmLimit,
276
- onDeclineLimit: onDeclineLimit,
277
- onPickLimit: function onPickLimit(id) {
278
- return onSubmitLimits(t.pickLimits.filter(function (l) {
279
- return l.Id !== id;
280
- }).map(function (l) {
281
- return _extends({}, l, { Amount: 0 });
282
- }));
283
- },
284
- validationState: getValidationState(t.timespan),
285
- currency: currency,
286
- values: values,
287
- valueType: valueType,
288
- hideRemainingLimit: hideRemainingLimit,
289
- showCurrentValue: showCurrentValue,
290
- hideOther: hideOther
291
- }, t));
268
+ return _react2.default.createElement(
269
+ 'div',
270
+ null,
271
+ console.log(t),
272
+ _react2.default.createElement(_Timespan2.default, _extends({
273
+ key: t.timespan,
274
+ title: Object.values(timespans).length > 1 && _messages2.default.get('header.responsible-gaming.timespan.' + t.timespan),
275
+ onChangeLimit: onChangeLimit(t.timespan),
276
+ onResetLimit: function onResetLimit() {
277
+ return onSubmitLimits([t.currentLimit]);
278
+ },
279
+ onConfirmLimit: onConfirmLimit,
280
+ onDeclineLimit: onDeclineLimit,
281
+ onPickLimit: function onPickLimit(id) {
282
+ return onSubmitLimits(t.pickLimits.filter(function (l) {
283
+ return l.Id !== id;
284
+ }).map(function (l) {
285
+ return _extends({}, l, { Amount: 0 });
286
+ }));
287
+ },
288
+ validationState: getValidationState(t.timespan),
289
+ currency: currency,
290
+ values: values,
291
+ valueType: valueType,
292
+ hideRemainingLimit: hideRemainingLimit,
293
+ showCurrentValue: showCurrentValue,
294
+ hideOther: hideOther
295
+ }, t))
296
+ );
292
297
  }),
293
298
  !hideSubmit && _react2.default.createElement(
294
299
  _Button2.default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-core-components",
3
- "version": "6.3.3",
3
+ "version": "6.3.4-2.4",
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": "df29624860793d17d9c0add85c5fcf03d3d5ac6b"
79
+ "gitHead": "655fb1956cc5f772c25bcb3a193836eb387d5122"
80
80
  }