@luminati-io/uikit 3.9.0 → 3.9.2-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33818,7 +33818,8 @@ var DatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
33818
33818
  format: fmt,
33819
33819
  value: value,
33820
33820
  popoverProps: popoverProps,
33821
- size: size
33821
+ size: size,
33822
+ isRange: isRange
33822
33823
  }));
33823
33824
  });
33824
33825
  DatePicker.displayName = 'DatePicker';
@@ -40279,7 +40280,7 @@ var Provider = function Provider(_ref3) {
40279
40280
  Cell: Cell
40280
40281
  };
40281
40282
  }, []);
40282
- var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(undefined),
40283
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0),
40283
40284
  _useState2 = _slicedToArray(_useState, 2),
40284
40285
  pageCount = _useState2[0],
40285
40286
  setPageCount = _useState2[1];
@@ -40290,19 +40291,17 @@ var Provider = function Provider(_ref3) {
40290
40291
  var hiddenColumns = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('hiddenColumns'), _hiddenColumns);
40291
40292
  var pinnedColumns = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('pinnedColumns'), _pinnedColumns);
40292
40293
  var columnOrder = (0,_util__WEBPACK_IMPORTED_MODULE_6__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('columnOrder'), _columnOrder);
40293
- var initialState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
40294
- return assign({}, _initialState, pageSize && {
40295
- pageSize: pageSize
40296
- }, hiddenColumns && {
40297
- hiddenColumns: hiddenColumns
40298
- }, pinnedColumns && {
40299
- pinnedColumns: pinnedColumns
40300
- }, columnOrder && {
40301
- columnOrder: columnOrder
40302
- }, selectedRowIds && {
40303
- selectedRowIds: selectedRowIds
40304
- });
40305
- }, [_initialState, pageSize, hiddenColumns, pinnedColumns, columnOrder, selectedRowIds]);
40294
+ var initialState = assign({}, _initialState, pageSize && {
40295
+ pageSize: pageSize
40296
+ }, hiddenColumns && {
40297
+ hiddenColumns: hiddenColumns
40298
+ }, pinnedColumns && {
40299
+ pinnedColumns: pinnedColumns
40300
+ }, columnOrder && {
40301
+ columnOrder: columnOrder
40302
+ }, selectedRowIds && {
40303
+ selectedRowIds: selectedRowIds
40304
+ });
40306
40305
  var table = react_table__WEBPACK_IMPORTED_MODULE_2__.useTable.apply(void 0, [Object.assign(_objectSpread({
40307
40306
  columns: columns,
40308
40307
  data: data,