@luminati-io/uikit 3.5.1-beta.1 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,13 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("prop-types"), require("react"), require("styled-components"), require("react-virtualized"), require("react-dom"), require("react-table"));
3
+ module.exports = factory(require("react"), require("prop-types"), require("react-virtualized"), require("styled-components"), require("react-dom"), require("react-table"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["prop-types", "react", "styled-components", "react-virtualized", "react-dom", "react-table"], factory);
5
+ define(["react", "prop-types", "react-virtualized", "styled-components", "react-dom", "react-table"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["uikit"] = factory(require("prop-types"), require("react"), require("styled-components"), require("react-virtualized"), require("react-dom"), require("react-table"));
7
+ exports["uikit"] = factory(require("react"), require("prop-types"), require("react-virtualized"), require("styled-components"), require("react-dom"), require("react-table"));
8
8
  else
9
- root["uikit"] = factory(root["prop-types"], root["react"], root["styled-components"], root["react-virtualized"], root["react-dom"], root["react-table"]);
10
- })(this, (__WEBPACK_EXTERNAL_MODULE_prop_types__, __WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_styled_components__, __WEBPACK_EXTERNAL_MODULE_react_virtualized__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_react_table__) => {
9
+ root["uikit"] = factory(root["react"], root["prop-types"], root["react-virtualized"], root["styled-components"], root["react-dom"], root["react-table"]);
10
+ })(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_prop_types__, __WEBPACK_EXTERNAL_MODULE_react_virtualized__, __WEBPACK_EXTERNAL_MODULE_styled_components__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_react_table__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
@@ -28141,7 +28141,7 @@ __webpack_require__.r(__webpack_exports__);
28141
28141
  "use strict";
28142
28142
  __webpack_require__.r(__webpack_exports__);
28143
28143
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
28144
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
28144
+ /* harmony export */ Badge: () => (/* binding */ Badge)
28145
28145
  /* harmony export */ });
28146
28146
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
28147
28147
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
@@ -28230,7 +28230,6 @@ var BadgeWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_lay
28230
28230
  }, function (props) {
28231
28231
  return props.$color;
28232
28232
  });
28233
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Badge);
28234
28233
 
28235
28234
  /***/ }),
28236
28235
 
@@ -30961,7 +30960,7 @@ var ComboButtonMenu = function ComboButtonMenu(props) {
30961
30960
  var size = props.size,
30962
30961
  items = props.items,
30963
30962
  popover = props.popover;
30964
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_5__["default"], {
30963
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_5__.Menu, {
30965
30964
  size: size,
30966
30965
  items: items,
30967
30966
  onClick: popover.hide
@@ -31079,53 +31078,53 @@ var Z_INDEX = {
31079
31078
  "use strict";
31080
31079
  __webpack_require__.r(__webpack_exports__);
31081
31080
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
31082
- /* harmony export */ Badge: () => (/* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_0__["default"]),
31083
- /* harmony export */ Button: () => (/* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_13__.Button),
31084
- /* harmony export */ Chart: () => (/* reexport safe */ _chart__WEBPACK_IMPORTED_MODULE_1__["default"]),
31081
+ /* harmony export */ Badge: () => (/* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_11__.Badge),
31082
+ /* harmony export */ Button: () => (/* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_12__.Button),
31083
+ /* harmony export */ Chart: () => (/* reexport safe */ _chart__WEBPACK_IMPORTED_MODULE_0__["default"]),
31085
31084
  /* harmony export */ ClickableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_19__.ClickableTag),
31086
- /* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_14__.Code),
31087
- /* harmony export */ CodeBlock: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_14__.CodeBlock),
31088
- /* harmony export */ CodeSnippet: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_14__.CodeSnippet),
31089
- /* harmony export */ ComboButton: () => (/* reexport safe */ _combo_button__WEBPACK_IMPORTED_MODULE_2__["default"]),
31085
+ /* harmony export */ Code: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_13__.Code),
31086
+ /* harmony export */ CodeBlock: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_13__.CodeBlock),
31087
+ /* harmony export */ CodeSnippet: () => (/* reexport safe */ _code__WEBPACK_IMPORTED_MODULE_13__.CodeSnippet),
31088
+ /* harmony export */ ComboButton: () => (/* reexport safe */ _combo_button__WEBPACK_IMPORTED_MODULE_1__["default"]),
31090
31089
  /* harmony export */ Icon: () => (/* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_20__.Icon),
31091
31090
  /* harmony export */ IconButton: () => (/* reexport safe */ _icon_button__WEBPACK_IMPORTED_MODULE_21__.IconButton),
31092
- /* harmony export */ InfoChip: () => (/* reexport safe */ _infochip__WEBPACK_IMPORTED_MODULE_3__["default"]),
31093
- /* harmony export */ Input: () => (/* reexport module object */ _input__WEBPACK_IMPORTED_MODULE_4__),
31094
- /* harmony export */ Layout: () => (/* reexport module object */ _layout__WEBPACK_IMPORTED_MODULE_5__),
31095
- /* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_16__.Link),
31096
- /* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_6__["default"]),
31097
- /* harmony export */ Modal: () => (/* reexport module object */ _modal__WEBPACK_IMPORTED_MODULE_7__),
31091
+ /* harmony export */ InfoChip: () => (/* reexport safe */ _infochip__WEBPACK_IMPORTED_MODULE_2__["default"]),
31092
+ /* harmony export */ Input: () => (/* reexport module object */ _input__WEBPACK_IMPORTED_MODULE_3__),
31093
+ /* harmony export */ Layout: () => (/* reexport module object */ _layout__WEBPACK_IMPORTED_MODULE_4__),
31094
+ /* harmony export */ Link: () => (/* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_15__.Link),
31095
+ /* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_16__.Menu),
31096
+ /* harmony export */ Modal: () => (/* reexport module object */ _modal__WEBPACK_IMPORTED_MODULE_5__),
31098
31097
  /* harmony export */ Progress: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_17__.Progress),
31099
31098
  /* harmony export */ ProgressBar: () => (/* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_17__.ProgressBar),
31100
31099
  /* harmony export */ RemovableTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_19__.RemovableTag),
31101
31100
  /* harmony export */ Snackbar: () => (/* reexport safe */ _snackbar__WEBPACK_IMPORTED_MODULE_18__.Snackbar),
31102
- /* harmony export */ Tab: () => (/* reexport safe */ _tab__WEBPACK_IMPORTED_MODULE_11__["default"]),
31103
- /* harmony export */ Table: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_8__["default"]),
31101
+ /* harmony export */ Tab: () => (/* reexport safe */ _tab__WEBPACK_IMPORTED_MODULE_9__["default"]),
31102
+ /* harmony export */ Table: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_6__["default"]),
31104
31103
  /* harmony export */ TagGroup: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_19__.TagGroup),
31105
31104
  /* harmony export */ Tooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_22__.Tooltip),
31106
- /* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_12__),
31107
- /* harmony export */ theme: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_9__["default"]),
31108
- /* harmony export */ translation: () => (/* reexport safe */ _translation__WEBPACK_IMPORTED_MODULE_10__["default"]),
31109
- /* harmony export */ withPopover: () => (/* reexport safe */ _hoc__WEBPACK_IMPORTED_MODULE_15__.withPopover),
31105
+ /* harmony export */ Typography: () => (/* reexport module object */ _typography__WEBPACK_IMPORTED_MODULE_10__),
31106
+ /* harmony export */ theme: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_7__["default"]),
31107
+ /* harmony export */ translation: () => (/* reexport safe */ _translation__WEBPACK_IMPORTED_MODULE_8__["default"]),
31108
+ /* harmony export */ withPopover: () => (/* reexport safe */ _hoc__WEBPACK_IMPORTED_MODULE_14__.withPopover),
31110
31109
  /* harmony export */ withTooltip: () => (/* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_22__.withTooltip)
31111
31110
  /* harmony export */ });
31112
- /* harmony import */ var _badge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./badge */ "./src/badge.js");
31113
- /* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chart */ "./src/chart/index.js");
31114
- /* harmony import */ var _combo_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./combo_button */ "./src/combo_button/index.js");
31115
- /* harmony import */ var _infochip__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./infochip */ "./src/infochip.js");
31116
- /* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./input */ "./src/input/index.js");
31117
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./layout */ "./src/layout/index.js");
31118
- /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./menu */ "./src/menu/index.js");
31119
- /* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modal */ "./src/modal/index.js");
31120
- /* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./table */ "./src/table/index.js");
31121
- /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./theme */ "./src/theme.js");
31122
- /* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./translation */ "./src/translation.js");
31123
- /* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./tab */ "./src/tab/index.js");
31124
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
31125
- /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./button */ "./src/button/index.js");
31126
- /* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./code */ "./src/code/index.js");
31127
- /* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./hoc */ "./src/hoc/index.js");
31128
- /* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./link */ "./src/link/index.js");
31111
+ /* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chart */ "./src/chart/index.js");
31112
+ /* harmony import */ var _combo_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./combo_button */ "./src/combo_button/index.js");
31113
+ /* harmony import */ var _infochip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./infochip */ "./src/infochip.js");
31114
+ /* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./input */ "./src/input/index.js");
31115
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./layout */ "./src/layout/index.js");
31116
+ /* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modal */ "./src/modal/index.js");
31117
+ /* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./table */ "./src/table/index.js");
31118
+ /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./theme */ "./src/theme.js");
31119
+ /* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./translation */ "./src/translation.js");
31120
+ /* harmony import */ var _tab__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./tab */ "./src/tab/index.js");
31121
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
31122
+ /* harmony import */ var _badge__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./badge */ "./src/badge.js");
31123
+ /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./button */ "./src/button/index.js");
31124
+ /* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./code */ "./src/code/index.js");
31125
+ /* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./hoc */ "./src/hoc/index.js");
31126
+ /* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./link */ "./src/link/index.js");
31127
+ /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./menu */ "./src/menu/index.js");
31129
31128
  /* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./progress */ "./src/progress/index.js");
31130
31129
  /* harmony import */ var _snackbar__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./snackbar */ "./src/snackbar/index.js");
31131
31130
  /* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./tag */ "./src/tag/index.js");
@@ -32702,7 +32701,7 @@ var CompareToMenuList = function CompareToMenuList(props) {
32702
32701
  setValue(value, opt);
32703
32702
  setIsCustom(false);
32704
32703
  };
32705
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, !isCustom && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dropdown_menu_list__WEBPACK_IMPORTED_MODULE_11__.MenuList, props, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__["default"].Item, {
32704
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, !isCustom && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dropdown_menu_list__WEBPACK_IMPORTED_MODULE_11__.MenuList, props, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__.Menu.Item, {
32706
32705
  type: "item",
32707
32706
  className: cx({
32708
32707
  option: true
@@ -33899,7 +33898,7 @@ var Option = function Option(props) {
33899
33898
  tag: tag
33900
33899
  }));
33901
33900
  };
33902
- var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__["default"].Item).withConfig({
33901
+ var StyledItem = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_menu__WEBPACK_IMPORTED_MODULE_3__.Menu.Item).withConfig({
33903
33902
  displayName: "StyledItem",
33904
33903
  componentId: "sc-10s9fdi-0"
33905
33904
  })(["background-color:", ";"], function (props) {
@@ -36142,7 +36141,7 @@ StyledLink.displayName = 'StyledLink';
36142
36141
  "use strict";
36143
36142
  __webpack_require__.r(__webpack_exports__);
36144
36143
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36145
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
36144
+ /* harmony export */ Menu: () => (/* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_0__.Menu)
36146
36145
  /* harmony export */ });
36147
36146
  /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
36148
36147
  /* harmony import */ var _menu_item__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./menu_item */ "./src/menu/menu_item.js");
@@ -36153,7 +36152,7 @@ __webpack_require__.r(__webpack_exports__);
36153
36152
 
36154
36153
 
36155
36154
  _menu__WEBPACK_IMPORTED_MODULE_0__.Menu.Item = _menu_item__WEBPACK_IMPORTED_MODULE_1__.MenuItem;
36156
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_menu__WEBPACK_IMPORTED_MODULE_0__.Menu);
36155
+
36157
36156
 
36158
36157
  /***/ }),
36159
36158
 
@@ -37757,7 +37756,7 @@ __webpack_require__.r(__webpack_exports__);
37757
37756
  /*jslint react:true*/
37758
37757
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
37759
37758
 
37760
- var _excluded = ["data", "pageSize", "pageSizes", "children", "stateManager", "hooks", "NoDataComp", "LoadingComp", "ExpandHandleComp", "noDataText", "loadingText", "isLoading", "onPageChange", "manualPagination", "totalCount", "paginateExpandedRows", "getHeaderProps", "getColumnProps", "getRowProps", "getCellProps", "getFooterProps", "selectedRowIds", "canOrderColumns", "rowActions", "onColumnSortChanged"];
37759
+ var _excluded = ["data", "pageSize", "pageSizes", "children", "stateManager", "hooks", "NoDataComp", "LoadingComp", "ExpandHandleComp", "noDataText", "loadingText", "isLoading", "onPageChange", "manualPagination", "totalCount", "paginateExpandedRows", "getHeaderProps", "getColumnProps", "getRowProps", "getCellProps", "getFooterProps", "selectedRowIds", "canOrderColumns", "rowActions", "columnSort", "onColumnSortChanged", "isCellEditable", "onStartEdit"];
37761
37760
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
37762
37761
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37763
37762
  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; }
@@ -37837,7 +37836,10 @@ var Provider = function Provider(props) {
37837
37836
  selectedRowIds = props.selectedRowIds,
37838
37837
  canOrderColumns = props.canOrderColumns,
37839
37838
  rowActions = props.rowActions,
37839
+ columnSort = props.columnSort,
37840
37840
  onColumnSortChanged = props.onColumnSortChanged,
37841
+ isCellEditable = props.isCellEditable,
37842
+ onStartEdit = props.onStartEdit,
37841
37843
  rest = _objectWithoutProperties(props, _excluded);
37842
37844
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(0),
37843
37845
  _useState2 = _slicedToArray(_useState, 2),
@@ -37857,7 +37859,6 @@ var Provider = function Provider(props) {
37857
37859
  }, selectedRowIds && {
37858
37860
  selectedRowIds: selectedRowIds
37859
37861
  });
37860
- var columnSort = (0,_util__WEBPACK_IMPORTED_MODULE_7__.firstDefined)(props.columnSort, props.columnsSort);
37861
37862
  var table = react_table__WEBPACK_IMPORTED_MODULE_3__.useTable.apply(void 0, [_objectSpread({
37862
37863
  data: data,
37863
37864
  defaultColumn: defaultColumn,
@@ -37874,7 +37875,7 @@ var Provider = function Provider(props) {
37874
37875
  getCellProps: getCellProps,
37875
37876
  getFooterProps: getFooterProps,
37876
37877
  ExpandHandleComp: ExpandHandleComp
37877
- }, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'initialState', 'hiddenColumns', 'pinnedColumns', 'columnOrder', 'columnSort', 'columnsSort')), useCanHideColumns, react_table__WEBPACK_IMPORTED_MODULE_3__.useExpanded, _expandable_rows__WEBPACK_IMPORTED_MODULE_10__.useExpandHandle, react_table__WEBPACK_IMPORTED_MODULE_3__.usePagination, props.fullWidth ? react_table__WEBPACK_IMPORTED_MODULE_3__.useFlexLayout : react_table__WEBPACK_IMPORTED_MODULE_3__.useBlockLayout, react_table__WEBPACK_IMPORTED_MODULE_3__.useResizeColumns, react_table__WEBPACK_IMPORTED_MODULE_3__.useColumnOrder, _pinned_columns__WEBPACK_IMPORTED_MODULE_9__.usePinnedColumns, _editable_columns__WEBPACK_IMPORTED_MODULE_8__.useEditableColumns, react_table__WEBPACK_IMPORTED_MODULE_3__.useRowSelect, _select_rows__WEBPACK_IMPORTED_MODULE_11__.useSelectRows].concat(_toConsumableArray(rowActions !== null && rowActions !== void 0 && rowActions.length ? [_row_menu__WEBPACK_IMPORTED_MODULE_12__.useRowMenu] : []), _toConsumableArray(hooks)));
37878
+ }, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'initialState', 'hiddenColumns', 'pinnedColumns', 'columnOrder')), useCanHideColumns, react_table__WEBPACK_IMPORTED_MODULE_3__.useExpanded, _expandable_rows__WEBPACK_IMPORTED_MODULE_10__.useExpandHandle, react_table__WEBPACK_IMPORTED_MODULE_3__.usePagination, props.fullWidth ? react_table__WEBPACK_IMPORTED_MODULE_3__.useFlexLayout : react_table__WEBPACK_IMPORTED_MODULE_3__.useBlockLayout, react_table__WEBPACK_IMPORTED_MODULE_3__.useResizeColumns, react_table__WEBPACK_IMPORTED_MODULE_3__.useColumnOrder, _pinned_columns__WEBPACK_IMPORTED_MODULE_9__.usePinnedColumns, _editable_columns__WEBPACK_IMPORTED_MODULE_8__.useEditableColumns, react_table__WEBPACK_IMPORTED_MODULE_3__.useRowSelect, _select_rows__WEBPACK_IMPORTED_MODULE_11__.useSelectRows].concat(_toConsumableArray(rowActions !== null && rowActions !== void 0 && rowActions.length ? [_row_menu__WEBPACK_IMPORTED_MODULE_12__.useRowMenu] : []), _toConsumableArray(hooks)));
37878
37879
  var _table$state = table.state,
37879
37880
  pageIndex = _table$state.pageIndex,
37880
37881
  _pageSize = _table$state.pageSize;
@@ -37894,7 +37895,9 @@ var Provider = function Provider(props) {
37894
37895
  var orderLogic = (0,_order_logic__WEBPACK_IMPORTED_MODULE_13__.useOrderLogic)(table);
37895
37896
  var value = _objectSpread(_objectSpread({
37896
37897
  columnSort: columnSort,
37897
- onColumnSortChanged: onColumnSortChanged
37898
+ onColumnSortChanged: onColumnSortChanged,
37899
+ isCellEditable: isCellEditable,
37900
+ onStartEdit: onStartEdit
37898
37901
  }, table), {}, {
37899
37902
  canOrderColumns: canOrderColumns,
37900
37903
  orderLogic: orderLogic,
@@ -37924,7 +37927,11 @@ Provider.defaultProps = {
37924
37927
  getCellProps: defaultPropGetter,
37925
37928
  getFooterProps: defaultPropGetter,
37926
37929
  rowDensity: 'busy_bee',
37927
- canOrderColumns: false
37930
+ canOrderColumns: false,
37931
+ isCellEditable: function isCellEditable(_ref) {
37932
+ var column = _ref.column;
37933
+ return column.canEdit;
37934
+ }
37928
37935
  };
37929
37936
  Provider.propTypes = {
37930
37937
  columns: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
@@ -37962,6 +37969,7 @@ Provider.propTypes = {
37962
37969
  disablePinning: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
37963
37970
  canEdit: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
37964
37971
  isCellEditable: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
37972
+ onStartEdit: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
37965
37973
  hideHeader: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
37966
37974
  hideFooter: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
37967
37975
  getHeaderProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
@@ -38009,8 +38017,8 @@ var useComp = function useComp(text, Comp) {
38009
38017
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(EmptyBody, null, text);
38010
38018
  }, [text, Comp]);
38011
38019
  };
38012
- var EmptyBody = function EmptyBody(_ref) {
38013
- var children = _ref.children;
38020
+ var EmptyBody = function EmptyBody(_ref2) {
38021
+ var children = _ref2.children;
38014
38022
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_4__.Flex, {
38015
38023
  align_items: "center",
38016
38024
  width: "100%",
@@ -39836,7 +39844,7 @@ var renderRow = function renderRow(opt) {
39836
39844
  var TableRow = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
39837
39845
  displayName: "TableRow",
39838
39846
  componentId: "sc-vrm5bg-0"
39839
- })(["cursor:", ";border-bottom:", ";& ", "{height:", "px;}&:hover ", "{background-color:", ";}"], function (props) {
39847
+ })(["cursor:", ";border-bottom:", ";& ", "{min-height:", "px;}&:hover ", "{background-color:", ";}"], function (props) {
39840
39848
  return props.$cursor;
39841
39849
  }, function (props) {
39842
39850
  return props.$isLast ? 'none' : "1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_3);
@@ -39948,7 +39956,7 @@ var PopoverMenu = function PopoverMenu(props) {
39948
39956
  });
39949
39957
  });
39950
39958
  }, [allActions]);
39951
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_4__["default"], {
39959
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_4__.Menu, {
39952
39960
  className: _render_row__WEBPACK_IMPORTED_MODULE_7__.preventOnClickClass,
39953
39961
  items: items,
39954
39962
  size: "sm"
@@ -40668,8 +40676,9 @@ var TableCell = function TableCell(props) {
40668
40676
  columnDoneEditing = _useTableContext.columnDoneEditing,
40669
40677
  getColumnProps = _useTableContext.getColumnProps,
40670
40678
  getCellProps = _useTableContext.getCellProps,
40671
- isCellEditable = _useTableContext.isCellEditable;
40672
- var cellEditable = canEdit && (isCellEditable ? isCellEditable(cell) : true);
40679
+ isCellEditable = _useTableContext.isCellEditable,
40680
+ onStartEdit = _useTableContext.onStartEdit;
40681
+ var cellEditable = canEdit && isCellEditable(cell);
40673
40682
  var startEditing = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
40674
40683
  columnStartEditing(columnId, rowId);
40675
40684
  }, [columnStartEditing, columnId, rowId]);
@@ -40679,9 +40688,12 @@ var TableCell = function TableCell(props) {
40679
40688
  var onClick = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (evt) {
40680
40689
  if (cellEditable) {
40681
40690
  evt.stopPropagation();
40682
- startEditing();
40691
+ onStartEdit === null || onStartEdit === void 0 || onStartEdit(cell, {
40692
+ startEditing: startEditing,
40693
+ doneEditing: doneEditing
40694
+ });
40683
40695
  }
40684
- }, [cellEditable, startEditing]);
40696
+ }, [cellEditable, onStartEdit, startEditing, doneEditing]);
40685
40697
  var cellProps = cell.getCellProps([getColumnProps(column), getCellProps(cell)]);
40686
40698
  cellProps.className = (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(null, null, (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(column.className, {
40687
40699
  cell: true
@@ -40713,13 +40725,13 @@ var TableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
40713
40725
  var CellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
40714
40726
  displayName: "CellContent",
40715
40727
  componentId: "sc-1gdt4qg-1"
40716
- })(["box-sizing:border-box;display:flex;align-items:center;padding:0 15px;overflow:clip;", ""], function (props) {
40728
+ })(["box-sizing:border-box;display:flex;align-items:center;padding:4px 16px;overflow:clip;", ""], function (props) {
40717
40729
  return props.$type == 'number' ? 'text-align: right;' : null;
40718
40730
  });
40719
40731
  var EditableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(CellContent).withConfig({
40720
40732
  displayName: "EditableCellContent",
40721
40733
  componentId: "sc-1gdt4qg-2"
40722
- })(["padding:0 14px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_9, function (props) {
40734
+ })(["padding:3px 15px;border:1px solid transparent;&:hover{background-color:", ";border-color:", ";}", ""], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_9, function (props) {
40723
40735
  return props.$isEditing ? (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["background-color:", ";border:1px solid ", " !important;box-shadow:inset 0px 0px 0px 3px rgba(0,106,220,0.4);"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.blue_11) : undefined;
40724
40736
  });
40725
40737
 
@@ -40783,7 +40795,7 @@ var BadgeIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__
40783
40795
  componentId: "sc-1j3m7xm-0"
40784
40796
  })(["min-width:14px;width:14px;min-height:14px;height:14px;color:", ";"], _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_9);
40785
40797
  var TagBadge = function TagBadge(props) {
40786
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_badge__WEBPACK_IMPORTED_MODULE_3__["default"], {
40798
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_badge__WEBPACK_IMPORTED_MODULE_3__.Badge, {
40787
40799
  shape: "rounded"
40788
40800
  }, props.children);
40789
40801
  };