@luminati-io/uikit 3.0.10 → 3.0.11

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.
@@ -20267,7 +20267,7 @@ __webpack_require__.r(__webpack_exports__);
20267
20267
 
20268
20268
  /*jslint react:true*/
20269
20269
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
20270
- var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "stacked", "showTooltip", "tooltipContent"];
20270
+ var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "stacked", "showTooltip", "tooltipContent", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "pointerEventsDataKey"];
20271
20271
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
20272
20272
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20273
20273
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -20313,7 +20313,12 @@ var AreaChart = function AreaChart(props) {
20313
20313
  stacked = props.stacked,
20314
20314
  showTooltip = props.showTooltip,
20315
20315
  _props$tooltipContent = props.tooltipContent,
20316
- tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_6__["default"] : _props$tooltipContent;
20316
+ tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_6__["default"] : _props$tooltipContent,
20317
+ onPointerMove = props.onPointerMove,
20318
+ onPointerOut = props.onPointerOut,
20319
+ onPointerUp = props.onPointerUp,
20320
+ onPointerDown = props.onPointerDown,
20321
+ pointerEventsDataKey = props.pointerEventsDataKey;
20317
20322
  var _getAnimatedOrUnanima = (0,_get_components__WEBPACK_IMPORTED_MODULE_3__.getAnimatedOrUnanimatedComponents)(animated),
20318
20323
  XYChart = _getAnimatedOrUnanima.XYChart,
20319
20324
  Grid = _getAnimatedOrUnanima.Grid,
@@ -20329,7 +20334,12 @@ var AreaChart = function AreaChart(props) {
20329
20334
  yScale: config.y,
20330
20335
  width: width,
20331
20336
  height: height,
20332
- margin: margin
20337
+ margin: margin,
20338
+ onPointerMove: onPointerMove,
20339
+ onPointerOut: onPointerOut,
20340
+ onPointerUp: onPointerUp,
20341
+ onPointerDown: onPointerDown,
20342
+ pointerEventsDataKey: pointerEventsDataKey
20333
20343
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Grid, {
20334
20344
  key: "grid-".concat(animationTrajectory) // force animate on update
20335
20345
  ,
@@ -20399,6 +20409,11 @@ var Area = function Area(props) {
20399
20409
  stacked = props.stacked,
20400
20410
  showTooltip = props.showTooltip,
20401
20411
  tooltipContent = props.tooltipContent,
20412
+ onPointerMove = props.onPointerMove,
20413
+ onPointerOut = props.onPointerOut,
20414
+ onPointerUp = props.onPointerUp,
20415
+ onPointerDown = props.onPointerDown,
20416
+ pointerEventsDataKey = props.pointerEventsDataKey,
20402
20417
  rest = _objectWithoutProperties(props, _excluded);
20403
20418
  var chartProps = {
20404
20419
  animated: animated,
@@ -20411,7 +20426,12 @@ var Area = function Area(props) {
20411
20426
  margin: margin,
20412
20427
  stacked: stacked,
20413
20428
  showTooltip: showTooltip,
20414
- tooltipContent: tooltipContent
20429
+ tooltipContent: tooltipContent,
20430
+ onPointerMove: onPointerMove,
20431
+ onPointerOut: onPointerOut,
20432
+ onPointerUp: onPointerUp,
20433
+ onPointerDown: onPointerDown,
20434
+ pointerEventsDataKey: pointerEventsDataKey
20415
20435
  };
20416
20436
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_chart_container__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({}, rest, {
20417
20437
  Chart: AreaChart,
@@ -20461,7 +20481,12 @@ Area.propTypes = {
20461
20481
  }),
20462
20482
  stacked: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20463
20483
  showTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20464
- tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)])
20484
+ tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
20485
+ onPointerMove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20486
+ onPointerOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20487
+ onPointerUp: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20488
+ onPointerDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20489
+ pointerEventsDataKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['all', 'nearest'])
20465
20490
  };
20466
20491
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Area);
20467
20492
 
@@ -20494,7 +20519,7 @@ __webpack_require__.r(__webpack_exports__);
20494
20519
 
20495
20520
  /*jslint react:true*/
20496
20521
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
20497
- var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "horizontal", "stacked", "showAnnotations", "showTooltip", "tooltipContent"];
20522
+ var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "horizontal", "stacked", "showAnnotations", "showTooltip", "tooltipContent", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "pointerEventsDataKey"];
20498
20523
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
20499
20524
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20500
20525
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -20541,7 +20566,12 @@ var BarChart = function BarChart(props) {
20541
20566
  showAnnotations = props.showAnnotations,
20542
20567
  showTooltip = props.showTooltip,
20543
20568
  _props$tooltipContent = props.tooltipContent,
20544
- tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_5__["default"] : _props$tooltipContent;
20569
+ tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_5__["default"] : _props$tooltipContent,
20570
+ onPointerMove = props.onPointerMove,
20571
+ onPointerOut = props.onPointerOut,
20572
+ onPointerUp = props.onPointerUp,
20573
+ onPointerDown = props.onPointerDown,
20574
+ pointerEventsDataKey = props.pointerEventsDataKey;
20545
20575
  var _getAnimatedOrUnanima = (0,_get_components__WEBPACK_IMPORTED_MODULE_4__.getAnimatedOrUnanimatedComponents)(animated),
20546
20576
  XYChart = _getAnimatedOrUnanima.XYChart,
20547
20577
  Grid = _getAnimatedOrUnanima.Grid,
@@ -20565,7 +20595,12 @@ var BarChart = function BarChart(props) {
20565
20595
  yScale: config.y,
20566
20596
  width: width,
20567
20597
  height: height,
20568
- margin: margin
20598
+ margin: margin,
20599
+ onPointerMove: onPointerMove,
20600
+ onPointerOut: onPointerOut,
20601
+ onPointerUp: onPointerUp,
20602
+ onPointerDown: onPointerDown,
20603
+ pointerEventsDataKey: pointerEventsDataKey
20569
20604
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Grid, {
20570
20605
  key: "grid-".concat(animationTrajectory) // force animate on update
20571
20606
  ,
@@ -20581,7 +20616,14 @@ var BarChart = function BarChart(props) {
20581
20616
  xAccessor: lineData.accessors[horizontal ? 'yAccessor' : 'xAccessor'],
20582
20617
  yAccessor: lineData.accessors[horizontal ? 'xAccessor' : 'yAccessor'],
20583
20618
  colorAccessor: lineData.accessors.colorAccessor
20584
- }, lineData.barProps));
20619
+ }, lineData.barProps, {
20620
+ onFocus: function onFocus() {
20621
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
20622
+ args[_key] = arguments[_key];
20623
+ }
20624
+ return console.log(args);
20625
+ }
20626
+ }));
20585
20627
  })), !!showAnnotations && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_bar_annotation__WEBPACK_IMPORTED_MODULE_2__.AnnotationGroup, null, data.map(function (lineData) {
20586
20628
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_bar_annotation__WEBPACK_IMPORTED_MODULE_2__.Annotation, {
20587
20629
  key: lineData.name,
@@ -20640,6 +20682,11 @@ var Bar = function Bar(props) {
20640
20682
  showAnnotations = props.showAnnotations,
20641
20683
  showTooltip = props.showTooltip,
20642
20684
  tooltipContent = props.tooltipContent,
20685
+ onPointerMove = props.onPointerMove,
20686
+ onPointerOut = props.onPointerOut,
20687
+ onPointerUp = props.onPointerUp,
20688
+ onPointerDown = props.onPointerDown,
20689
+ pointerEventsDataKey = props.pointerEventsDataKey,
20643
20690
  rest = _objectWithoutProperties(props, _excluded);
20644
20691
  var chartProps = {
20645
20692
  animated: animated,
@@ -20654,7 +20701,12 @@ var Bar = function Bar(props) {
20654
20701
  stacked: stacked,
20655
20702
  showAnnotations: showAnnotations,
20656
20703
  showTooltip: showTooltip,
20657
- tooltipContent: tooltipContent
20704
+ tooltipContent: tooltipContent,
20705
+ onPointerMove: onPointerMove,
20706
+ onPointerOut: onPointerOut,
20707
+ onPointerUp: onPointerUp,
20708
+ onPointerDown: onPointerDown,
20709
+ pointerEventsDataKey: pointerEventsDataKey
20658
20710
  };
20659
20711
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_chart_container__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({}, rest, {
20660
20712
  Chart: BarChart,
@@ -20706,7 +20758,12 @@ Bar.propTypes = {
20706
20758
  stacked: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20707
20759
  showAnnotations: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20708
20760
  showTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20709
- tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)])
20761
+ tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
20762
+ onPointerMove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20763
+ onPointerOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20764
+ onPointerUp: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20765
+ onPointerDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20766
+ pointerEventsDataKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['all', 'nearest'])
20710
20767
  };
20711
20768
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Bar);
20712
20769
 
@@ -21529,7 +21586,7 @@ __webpack_require__.r(__webpack_exports__);
21529
21586
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
21530
21587
  var _excluded = ["label", "numTicks", "formatTick", "labelOffset"],
21531
21588
  _excluded2 = ["label", "numTicks", "formatTick", "labelOffset"],
21532
- _excluded3 = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "showTooltip", "tooltipContent", "curveType"];
21589
+ _excluded3 = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "showTooltip", "tooltipContent", "curveType", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "pointerEventsDataKey"];
21533
21590
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21534
21591
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
21535
21592
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -21575,7 +21632,12 @@ var LineChart = function LineChart(props) {
21575
21632
  _props$tooltipContent = props.tooltipContent,
21576
21633
  tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_5__["default"] : _props$tooltipContent,
21577
21634
  _props$curveType = props.curveType,
21578
- curveType = _props$curveType === void 0 ? '' : _props$curveType;
21635
+ curveType = _props$curveType === void 0 ? '' : _props$curveType,
21636
+ onPointerMove = props.onPointerMove,
21637
+ onPointerOut = props.onPointerOut,
21638
+ onPointerUp = props.onPointerUp,
21639
+ onPointerDown = props.onPointerDown,
21640
+ pointerEventsDataKey = props.pointerEventsDataKey;
21579
21641
  var _getAnimatedOrUnanima = (0,_get_components__WEBPACK_IMPORTED_MODULE_4__.getAnimatedOrUnanimatedComponents)(animated),
21580
21642
  XYChart = _getAnimatedOrUnanima.XYChart,
21581
21643
  Grid = _getAnimatedOrUnanima.Grid,
@@ -21605,7 +21667,12 @@ var LineChart = function LineChart(props) {
21605
21667
  yScale: yScale,
21606
21668
  width: width,
21607
21669
  height: height,
21608
- margin: margin
21670
+ margin: margin,
21671
+ onPointerMove: onPointerMove,
21672
+ onPointerOut: onPointerOut,
21673
+ onPointerUp: onPointerUp,
21674
+ onPointerDown: onPointerDown,
21675
+ pointerEventsDataKey: pointerEventsDataKey
21609
21676
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Grid, {
21610
21677
  key: "grid-".concat(animationTrajectory) // force animate on update
21611
21678
  ,
@@ -21667,6 +21734,11 @@ var Line = function Line(props) {
21667
21734
  showTooltip = props.showTooltip,
21668
21735
  tooltipContent = props.tooltipContent,
21669
21736
  curveType = props.curveType,
21737
+ onPointerMove = props.onPointerMove,
21738
+ onPointerOut = props.onPointerOut,
21739
+ onPointerUp = props.onPointerUp,
21740
+ onPointerDown = props.onPointerDown,
21741
+ pointerEventsDataKey = props.pointerEventsDataKey,
21670
21742
  rest = _objectWithoutProperties(props, _excluded3);
21671
21743
  var chartProps = {
21672
21744
  animated: animated,
@@ -21679,7 +21751,12 @@ var Line = function Line(props) {
21679
21751
  margin: margin,
21680
21752
  showTooltip: showTooltip,
21681
21753
  tooltipContent: tooltipContent,
21682
- curveType: curveType
21754
+ curveType: curveType,
21755
+ onPointerMove: onPointerMove,
21756
+ onPointerOut: onPointerOut,
21757
+ onPointerUp: onPointerUp,
21758
+ onPointerDown: onPointerDown,
21759
+ pointerEventsDataKey: pointerEventsDataKey
21683
21760
  };
21684
21761
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_chart_container__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({}, rest, {
21685
21762
  Chart: LineChart,
@@ -21729,7 +21806,12 @@ Line.propTypes = {
21729
21806
  }),
21730
21807
  showTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
21731
21808
  tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
21732
- curveType: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['basis', 'basisClosed', 'basisOpen', 'step', 'stepAfter', 'stepBefore', 'bundle', 'linear', 'linearClosed', 'cardinal', 'cardinalClosed', 'cardinalOpen', 'catmullRom', 'catmullRomClosed', 'catmullRomOpen', 'monotoneX', 'monotoneY', 'natural'])
21809
+ curveType: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['basis', 'basisClosed', 'basisOpen', 'step', 'stepAfter', 'stepBefore', 'bundle', 'linear', 'linearClosed', 'cardinal', 'cardinalClosed', 'cardinalOpen', 'catmullRom', 'catmullRomClosed', 'catmullRomOpen', 'monotoneX', 'monotoneY', 'natural']),
21810
+ onPointerMove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21811
+ onPointerOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21812
+ onPointerUp: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21813
+ onPointerDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21814
+ pointerEventsDataKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['all', 'nearest'])
21733
21815
  };
21734
21816
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Line);
21735
21817
 
@@ -28091,7 +28173,6 @@ var Provider = function Provider(props) {
28091
28173
  }, [manualPagination, totalCount, pageIndex, _pageSize]);
28092
28174
  var _LoadingComp = useComp(loadingText, LoadingComp);
28093
28175
  var _NoDataComp = useComp(noDataText, NoDataComp);
28094
- console.log(_NoDataComp);
28095
28176
  var value = _objectSpread(_objectSpread({
28096
28177
  columnsSort: columnsSort
28097
28178
  }, table), {}, {