@luminati-io/uikit 3.1.11 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -35101,6 +35101,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35101
35101
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! styled-components */ "styled-components");
|
35102
35102
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_19__);
|
35103
35103
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
35104
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
35104
35105
|
// LICENSE_CODE ZON
|
35105
35106
|
|
35106
35107
|
|
@@ -35124,6 +35125,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35124
35125
|
|
35125
35126
|
|
35126
35127
|
|
35128
|
+
|
35127
35129
|
|
35128
35130
|
|
35129
35131
|
(prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_1___default().manual) = true;
|
@@ -35131,7 +35133,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
35131
35133
|
// import 'prismjs/plugins/line-numbers/prism-line-numbers';
|
35132
35134
|
|
35133
35135
|
var Code = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (props, ref) {
|
35134
|
-
var
|
35136
|
+
var className = props.className,
|
35137
|
+
text = props.text,
|
35135
35138
|
lang = props.lang,
|
35136
35139
|
themeProp = props.theme,
|
35137
35140
|
lineNumbers = props.lineNumbers;
|
@@ -35141,7 +35144,7 @@ var Code = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(functi
|
|
35141
35144
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeWrapper, {
|
35142
35145
|
ref: ref,
|
35143
35146
|
$theme: themeProp,
|
35144
|
-
className: "".concat(lineNumbers ? '' : 'no-', "line-numbers")
|
35147
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_21__.classNames)(null, null, className, "".concat(lineNumbers ? '' : 'no-', "line-numbers"))
|
35145
35148
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("code", {
|
35146
35149
|
className: "language-".concat(lang, " content")
|
35147
35150
|
}, text));
|
@@ -37420,7 +37423,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
37420
37423
|
|
37421
37424
|
|
37422
37425
|
/*jslint react:true*/
|
37423
|
-
var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "
|
37426
|
+
var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "className", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions", "defaultOptions", "cacheOptions", "onCreateOption", "formatCreateLabel", "isValidNewOption", "getNewOptionData"];
|
37424
37427
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
37425
37428
|
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; }
|
37426
37429
|
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; }
|
@@ -37454,7 +37457,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
37454
37457
|
disabled = props.disabled,
|
37455
37458
|
invalid = props.invalid,
|
37456
37459
|
helperText = props.helperText,
|
37457
|
-
|
37460
|
+
className = props.className,
|
37458
37461
|
onChangeCapture = props.onChangeCapture,
|
37459
37462
|
menuPortalTarget = props.menuPortalTarget,
|
37460
37463
|
filterOption = props.filterOption,
|
@@ -37493,7 +37496,8 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
37493
37496
|
}, [props.autosize, hideSelectedOptions]);
|
37494
37497
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, _extends({
|
37495
37498
|
ref: forwardRef,
|
37496
|
-
"data-testid": "dropdown"
|
37499
|
+
"data-testid": "dropdown",
|
37500
|
+
className: className
|
37497
37501
|
}, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(rest), {
|
37498
37502
|
flex_direction: "column",
|
37499
37503
|
gap: "02"
|
@@ -37520,7 +37524,10 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
37520
37524
|
required: required,
|
37521
37525
|
styles: styles,
|
37522
37526
|
components: (0,_build_components__WEBPACK_IMPORTED_MODULE_10__.buildComponents)(props),
|
37523
|
-
|
37527
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_8__.classNames)(className, {
|
37528
|
+
container: true
|
37529
|
+
}),
|
37530
|
+
classNamePrefix: className,
|
37524
37531
|
menuPortalTarget: menuPortalTarget,
|
37525
37532
|
onChangeCapture: onChangeCapture,
|
37526
37533
|
closeMenuOnSelect: !multiselect,
|
@@ -37564,7 +37571,7 @@ Dropdown.propTypes = {
|
|
37564
37571
|
multiselect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37565
37572
|
clearable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37566
37573
|
creatable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37567
|
-
|
37574
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
37568
37575
|
menuPlacement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['bottom', 'auto', 'top']),
|
37569
37576
|
virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
37570
37577
|
autosize: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
@@ -38446,7 +38453,7 @@ var VirtualizedListRowRenderer = function VirtualizedListRowRenderer(_ref7) {
|
|
38446
38453
|
innerProps: thisProps.innerProps,
|
38447
38454
|
formatOptionLabel: formatOptionLabel,
|
38448
38455
|
tag: "div"
|
38449
|
-
}));
|
38456
|
+
}, thisProps.children));
|
38450
38457
|
};
|
38451
38458
|
Comp.displayName = 'VirtualizedListRowRendererComp';
|
38452
38459
|
return Comp;
|
@@ -41131,8 +41138,8 @@ var Text = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography_
|
|
41131
41138
|
"use strict";
|
41132
41139
|
__webpack_require__.r(__webpack_exports__);
|
41133
41140
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
41134
|
-
/* harmony export */
|
41135
|
-
/* harmony export */
|
41141
|
+
/* harmony export */ Cell: () => (/* binding */ Cell),
|
41142
|
+
/* harmony export */ StyledCell: () => (/* binding */ StyledCell)
|
41136
41143
|
/* harmony export */ });
|
41137
41144
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
41138
41145
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -41148,7 +41155,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
41148
41155
|
|
41149
41156
|
/*jslint react:true*/
|
41150
41157
|
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); }
|
41151
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
41152
41158
|
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; }
|
41153
41159
|
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; }
|
41154
41160
|
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; }
|
@@ -41162,7 +41168,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
41162
41168
|
|
41163
41169
|
|
41164
41170
|
var Cell = function Cell(props) {
|
41165
|
-
var
|
41171
|
+
var className = props.className,
|
41166
41172
|
rowDensity = props.rowDensity,
|
41167
41173
|
isLastRow = props.isLastRow,
|
41168
41174
|
cell = props.cell;
|
@@ -41174,12 +41180,6 @@ var Cell = function Cell(props) {
|
|
41174
41180
|
_column$type = column.type,
|
41175
41181
|
type = _column$type === void 0 ? 'string' : _column$type,
|
41176
41182
|
canEdit = column.canEdit;
|
41177
|
-
var columnClassName = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.classNames)(column.classNamePrefix, {
|
41178
|
-
cell: true
|
41179
|
-
});
|
41180
|
-
var cellClassName = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.classNames)(classNamePrefix, {
|
41181
|
-
tableCell: true
|
41182
|
-
});
|
41183
41183
|
var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_5__.useTableContext)(),
|
41184
41184
|
columnStartEditing = _useTableContext.columnStartEditing,
|
41185
41185
|
columnDoneEditing = _useTableContext.columnDoneEditing,
|
@@ -41198,16 +41198,18 @@ var Cell = function Cell(props) {
|
|
41198
41198
|
$isEditing: isEditing,
|
41199
41199
|
$isLastRow: isLastRow
|
41200
41200
|
}, cell.getCellProps([getColumnProps(column), getCellProps(cell)]));
|
41201
|
+
cellProps.className = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.classNames)(null, null, (0,_utils__WEBPACK_IMPORTED_MODULE_3__.classNames)(column.className, {
|
41202
|
+
cell: true
|
41203
|
+
}), (0,_utils__WEBPACK_IMPORTED_MODULE_3__.classNames)(className, {
|
41204
|
+
tableCell: true
|
41205
|
+
}), cellProps.className);
|
41201
41206
|
if (canEdit) {
|
41202
41207
|
cellProps.onClick = function (e) {
|
41203
41208
|
e.stopPropagation();
|
41204
41209
|
startEditing();
|
41205
41210
|
};
|
41206
41211
|
}
|
41207
|
-
|
41208
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledCell, _extends({}, cellProps, {
|
41209
|
-
className: className
|
41210
|
-
}), cell.render('Cell', {
|
41212
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledCell, cellProps, cell.render('Cell', {
|
41211
41213
|
row: row,
|
41212
41214
|
isEditing: isEditing,
|
41213
41215
|
startEditing: startEditing,
|
@@ -41220,7 +41222,7 @@ var StyledCell = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.wi
|
|
41220
41222
|
componentId: "sc-b034il-0"
|
41221
41223
|
})(["padding:5px 15px;overflow-x:clip;", " background-color:", ";border:1px solid ", ";", ":hover &{background-color:", ";border-left-color:", ";border-right-color:", ";}", " ", " &[data-pinned-last]{", "}", ""], function (props) {
|
41222
41224
|
return props.$type == 'number' ? 'text-align: right;' : null;
|
41223
|
-
}, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _table_row__WEBPACK_IMPORTED_MODULE_6__
|
41225
|
+
}, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.white, _table_row__WEBPACK_IMPORTED_MODULE_6__.TableRow, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_2, function (props) {
|
41224
41226
|
if (props.$isFooter) return "border-top-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_3, ";");
|
41225
41227
|
if (props.$isLastRow) return "border-bottom-color: ".concat(_theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.gray_3, ";");
|
41226
41228
|
}, function (props) {
|
@@ -41244,7 +41246,6 @@ var StyledCell = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.wi
|
|
41244
41246
|
}
|
41245
41247
|
});
|
41246
41248
|
StyledCell.displayName = 'StyledCell';
|
41247
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Cell);
|
41248
41249
|
|
41249
41250
|
/***/ }),
|
41250
41251
|
|
@@ -41459,8 +41460,8 @@ Provider.propTypes = {
|
|
41459
41460
|
maxWidth: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
41460
41461
|
disableResizing: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41461
41462
|
disablePinning: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41462
|
-
|
41463
|
-
|
41463
|
+
canEdit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41464
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
41464
41465
|
})),
|
41465
41466
|
data: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array),
|
41466
41467
|
columnsSort: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
@@ -41477,7 +41478,7 @@ Provider.propTypes = {
|
|
41477
41478
|
disableHiding: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41478
41479
|
disableResizing: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41479
41480
|
disablePinning: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41480
|
-
|
41481
|
+
canEdit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41481
41482
|
hideHeader: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41482
41483
|
hideFooter: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
41483
41484
|
getHeaderProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
@@ -41492,7 +41493,7 @@ Provider.propTypes = {
|
|
41492
41493
|
onRowClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
41493
41494
|
stickyHeader: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)]),
|
41494
41495
|
scrollTarget: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
|
41495
|
-
|
41496
|
+
className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
41496
41497
|
};
|
41497
41498
|
var calcPageCount = function calcPageCount(totalCount, pageSize) {
|
41498
41499
|
return Math.ceil(totalCount / pageSize);
|
@@ -41839,9 +41840,9 @@ var useEditableInstance = function useEditableInstance(instance) {
|
|
41839
41840
|
};
|
41840
41841
|
var useEditableInstanceBeforeDimensions = function useEditableInstanceBeforeDimensions(instance) {
|
41841
41842
|
var flatHeaders = instance.flatHeaders,
|
41842
|
-
|
41843
|
+
canEdit = instance.canEdit;
|
41843
41844
|
flatHeaders.forEach(function (header) {
|
41844
|
-
header.canEdit = (0,_util__WEBPACK_IMPORTED_MODULE_2__.firstDefined)(header.
|
41845
|
+
header.canEdit = (0,_util__WEBPACK_IMPORTED_MODULE_2__.firstDefined)(header.canEdit, canEdit, false);
|
41845
41846
|
});
|
41846
41847
|
};
|
41847
41848
|
var useEditableColumns = function useEditableColumns(hooks) {
|
@@ -41921,7 +41922,7 @@ useExpandHandle.pluginName = 'useExpandHandle';
|
|
41921
41922
|
"use strict";
|
41922
41923
|
__webpack_require__.r(__webpack_exports__);
|
41923
41924
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
41924
|
-
/* harmony export */
|
41925
|
+
/* harmony export */ TableFooter: () => (/* binding */ TableFooter)
|
41925
41926
|
/* harmony export */ });
|
41926
41927
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
41927
41928
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -41947,7 +41948,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
41947
41948
|
|
41948
41949
|
|
41949
41950
|
var TableFooter = function TableFooter(props) {
|
41950
|
-
var
|
41951
|
+
var className = props.className,
|
41951
41952
|
rowDensity = props.rowDensity;
|
41952
41953
|
var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_3__.useTableContext)(),
|
41953
41954
|
footerGroups = _useTableContext.footerGroups,
|
@@ -41960,7 +41961,7 @@ var TableFooter = function TableFooter(props) {
|
|
41960
41961
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
41961
41962
|
role: "rowgroup",
|
41962
41963
|
"data-rowgroup-type": "footer",
|
41963
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(
|
41964
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(className, {
|
41964
41965
|
tableFooter: true
|
41965
41966
|
})
|
41966
41967
|
}, footerGroups.map(function (group) {
|
@@ -41971,7 +41972,7 @@ var TableFooter = function TableFooter(props) {
|
|
41971
41972
|
key: key,
|
41972
41973
|
role: "row"
|
41973
41974
|
}, rest, {
|
41974
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(
|
41975
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(className, {
|
41975
41976
|
footerRow: true
|
41976
41977
|
})
|
41977
41978
|
}), group.headers.map(function (column) {
|
@@ -41979,7 +41980,7 @@ var TableFooter = function TableFooter(props) {
|
|
41979
41980
|
column: column,
|
41980
41981
|
key: column.getFooterProps().key,
|
41981
41982
|
rowDensity: rowDensity,
|
41982
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(
|
41983
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(className, {
|
41983
41984
|
footerCell: true
|
41984
41985
|
})
|
41985
41986
|
});
|
@@ -41988,12 +41989,11 @@ var TableFooter = function TableFooter(props) {
|
|
41988
41989
|
};
|
41989
41990
|
TableFooter.displayName = 'TableFooter';
|
41990
41991
|
var FooterCell = function FooterCell(props) {
|
41991
|
-
var
|
41992
|
+
var className = props.className,
|
41992
41993
|
column = props.column,
|
41993
41994
|
rowDensity = props.rowDensity;
|
41994
41995
|
var _column$type = column.type,
|
41995
|
-
type = _column$type === void 0 ? 'string' : _column$type
|
41996
|
-
classNamePrefix = column.classNamePrefix;
|
41996
|
+
type = _column$type === void 0 ? 'string' : _column$type;
|
41997
41997
|
var _useTableContext2 = (0,_context__WEBPACK_IMPORTED_MODULE_3__.useTableContext)(),
|
41998
41998
|
getColumnProps = _useTableContext2.getColumnProps,
|
41999
41999
|
getFooterProps = _useTableContext2.getFooterProps;
|
@@ -42002,17 +42002,14 @@ var FooterCell = function FooterCell(props) {
|
|
42002
42002
|
$rowDensity: rowDensity,
|
42003
42003
|
$isFooter: true
|
42004
42004
|
}, column.getFooterProps([getColumnProps(column), getFooterProps(column)]));
|
42005
|
-
|
42005
|
+
footerProps.className = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(column.className, {
|
42006
42006
|
footer: true
|
42007
|
-
},
|
42007
|
+
}, className, footerProps.className);
|
42008
42008
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_cell__WEBPACK_IMPORTED_MODULE_2__.StyledCell, _extends({
|
42009
42009
|
role: "cell"
|
42010
|
-
}, footerProps,
|
42011
|
-
className: className
|
42012
|
-
}), column.render('Footer'));
|
42010
|
+
}, footerProps), column.render('Footer'));
|
42013
42011
|
};
|
42014
42012
|
FooterCell.displayName = 'FooterCell';
|
42015
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableFooter);
|
42016
42013
|
|
42017
42014
|
/***/ }),
|
42018
42015
|
|
@@ -42025,7 +42022,7 @@ FooterCell.displayName = 'FooterCell';
|
|
42025
42022
|
"use strict";
|
42026
42023
|
__webpack_require__.r(__webpack_exports__);
|
42027
42024
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
42028
|
-
/* harmony export */
|
42025
|
+
/* harmony export */ TableHeader: () => (/* binding */ TableHeader)
|
42029
42026
|
/* harmony export */ });
|
42030
42027
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
42031
42028
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -42064,7 +42061,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
42064
42061
|
|
42065
42062
|
|
42066
42063
|
var TableHeader = function TableHeader(props) {
|
42067
|
-
var
|
42064
|
+
var className = props.className,
|
42068
42065
|
compact = props.compact,
|
42069
42066
|
left = props.left;
|
42070
42067
|
var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_6__.useTableContext)(),
|
@@ -42079,7 +42076,7 @@ var TableHeader = function TableHeader(props) {
|
|
42079
42076
|
role: "rowgroup",
|
42080
42077
|
style: style
|
42081
42078
|
}, dataAttributes, {
|
42082
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(
|
42079
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(className, {
|
42083
42080
|
tableHeader: true,
|
42084
42081
|
'tableHeader--is-compact': compact
|
42085
42082
|
})
|
@@ -42090,7 +42087,7 @@ var TableHeader = function TableHeader(props) {
|
|
42090
42087
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
|
42091
42088
|
key: key
|
42092
42089
|
}, rest, {
|
42093
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(
|
42090
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(className, {
|
42094
42091
|
headerRow: true
|
42095
42092
|
})
|
42096
42093
|
}), group.headers.map(function (header, i, arr) {
|
@@ -42100,7 +42097,7 @@ var TableHeader = function TableHeader(props) {
|
|
42100
42097
|
isLast: isLast,
|
42101
42098
|
key: header.getHeaderProps().key,
|
42102
42099
|
header: header,
|
42103
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(
|
42100
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(className, {
|
42104
42101
|
headerCell: true,
|
42105
42102
|
'headerCell--is-compact': compact,
|
42106
42103
|
'headerCell--is-last': isLast
|
@@ -42119,8 +42116,7 @@ var HeaderCell = function HeaderCell(props) {
|
|
42119
42116
|
name = header.name,
|
42120
42117
|
on_sort = header.on_sort,
|
42121
42118
|
isResizing = header.isResizing,
|
42122
|
-
getResizerProps = header.getResizerProps
|
42123
|
-
classNamePrefix = header.classNamePrefix;
|
42119
|
+
getResizerProps = header.getResizerProps;
|
42124
42120
|
var _useTableContext2 = (0,_context__WEBPACK_IMPORTED_MODULE_6__.useTableContext)(),
|
42125
42121
|
getColumnProps = _useTableContext2.getColumnProps,
|
42126
42122
|
getHeaderProps = _useTableContext2.getHeaderProps,
|
@@ -42145,7 +42141,7 @@ var HeaderCell = function HeaderCell(props) {
|
|
42145
42141
|
var iconVisible = canSort && (['asc', 'desc'].includes(sort) || hovered);
|
42146
42142
|
var headerCellProps = header.getHeaderProps([getColumnProps(header), getHeaderProps(header)]);
|
42147
42143
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(HeaderCellContent, _extends({}, headerCellProps, {
|
42148
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(
|
42144
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_4__.classNames)(header.className, {
|
42149
42145
|
header: true
|
42150
42146
|
}, className, headerCellProps.className),
|
42151
42147
|
onMouseOver: function onMouseOver() {
|
@@ -42202,7 +42198,6 @@ var HeaderCellResizer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()
|
|
42202
42198
|
}
|
42203
42199
|
});
|
42204
42200
|
HeaderCellResizer.displayName = 'HeaderCellResizer';
|
42205
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableHeader);
|
42206
42201
|
|
42207
42202
|
/***/ }),
|
42208
42203
|
|
@@ -42941,7 +42936,7 @@ var plugins = {};
|
|
42941
42936
|
"use strict";
|
42942
42937
|
__webpack_require__.r(__webpack_exports__);
|
42943
42938
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
42944
|
-
/* harmony export */
|
42939
|
+
/* harmony export */ renderRow: () => (/* binding */ renderRow)
|
42945
42940
|
/* harmony export */ });
|
42946
42941
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
42947
42942
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -42952,48 +42947,53 @@ __webpack_require__.r(__webpack_exports__);
|
|
42952
42947
|
|
42953
42948
|
|
42954
42949
|
/*jslint react:true*/
|
42955
|
-
var _excluded = ["key"];
|
42956
42950
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
42957
|
-
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; }
|
42958
|
-
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; }
|
42959
42951
|
|
42960
42952
|
|
42961
42953
|
|
42962
42954
|
|
42963
42955
|
var renderRow = function renderRow(opt) {
|
42964
|
-
var
|
42956
|
+
var className = opt.className,
|
42965
42957
|
row = opt.row,
|
42966
42958
|
onRowClick = opt.onRowClick,
|
42967
42959
|
getRowProps = opt.getRowProps,
|
42968
42960
|
rowDensity = opt.rowDensity,
|
42969
|
-
isLastRow = opt.isLastRow
|
42970
|
-
|
42971
|
-
|
42972
|
-
rowProps = _objectWithoutProperties(_row$getRowProps, _excluded);
|
42961
|
+
isLastRow = opt.isLastRow,
|
42962
|
+
renderRowSubComponent = opt.renderRowSubComponent;
|
42963
|
+
var rowProps = row.getRowProps(getRowProps === null || getRowProps === void 0 ? void 0 : getRowProps(row));
|
42973
42964
|
var onClick = onRowClick ? function (evt) {
|
42974
42965
|
return onRowClick(row.original, evt);
|
42975
42966
|
} : undefined;
|
42976
42967
|
var cursor = onRowClick ? 'pointer' : undefined;
|
42977
|
-
|
42978
|
-
key: key
|
42979
|
-
}, rowProps, {
|
42968
|
+
var tableRow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_table_row__WEBPACK_IMPORTED_MODULE_3__.TableRow, _extends({}, rowProps, {
|
42980
42969
|
onClick: onClick,
|
42981
|
-
|
42982
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(classNamePrefix, {
|
42970
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(className, {
|
42983
42971
|
tableRow: true,
|
42984
42972
|
'tableRow--is-pinned': row.isPinned
|
42985
|
-
}, rowProps.className)
|
42973
|
+
}, rowProps.className),
|
42974
|
+
$cursor: cursor
|
42986
42975
|
}), row.cells.map(function (cell) {
|
42987
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_cell__WEBPACK_IMPORTED_MODULE_2__
|
42976
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_cell__WEBPACK_IMPORTED_MODULE_2__.Cell, {
|
42988
42977
|
key: cell.getCellProps().key,
|
42989
42978
|
cell: cell,
|
42990
|
-
|
42979
|
+
className: className,
|
42991
42980
|
rowDensity: rowDensity,
|
42992
42981
|
isLastRow: isLastRow
|
42993
42982
|
});
|
42994
42983
|
}));
|
42984
|
+
if (!row.isExpanded || !renderRowSubComponent) return tableRow;
|
42985
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
|
42986
|
+
key: "".concat(rowProps.key, "_fragment")
|
42987
|
+
}, tableRow, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_table_row__WEBPACK_IMPORTED_MODULE_3__.TableRow, _extends({}, rowProps, {
|
42988
|
+
key: "".concat(rowProps.key, "_subcomponent"),
|
42989
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.classNames)(className, {
|
42990
|
+
rowSubComponent: true
|
42991
|
+
}, rowProps.className)
|
42992
|
+
}), renderRowSubComponent({
|
42993
|
+
row: row,
|
42994
|
+
rowProps: rowProps
|
42995
|
+
})));
|
42995
42996
|
};
|
42996
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (renderRow);
|
42997
42997
|
|
42998
42998
|
/***/ }),
|
42999
42999
|
|
@@ -43043,7 +43043,7 @@ SortIcon.defaultProps = {
|
|
43043
43043
|
"use strict";
|
43044
43044
|
__webpack_require__.r(__webpack_exports__);
|
43045
43045
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
43046
|
-
/* harmony export */
|
43046
|
+
/* harmony export */ StickyHeader: () => (/* binding */ StickyHeader)
|
43047
43047
|
/* harmony export */ });
|
43048
43048
|
/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/throttle */ "./node_modules/lodash/throttle.js");
|
43049
43049
|
/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -43077,7 +43077,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
43077
43077
|
|
43078
43078
|
|
43079
43079
|
var StickyHeader = function StickyHeader(props) {
|
43080
|
-
var
|
43080
|
+
var className = props.className,
|
43081
43081
|
offsetTop = props.offsetTop,
|
43082
43082
|
onRowClick = props.onRowClick,
|
43083
43083
|
rowDensity = props.rowDensity,
|
@@ -43125,22 +43125,22 @@ var StickyHeader = function StickyHeader(props) {
|
|
43125
43125
|
if (!showSticky) return null;
|
43126
43126
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StickyHeaderWrapper, {
|
43127
43127
|
style: style,
|
43128
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.classNames)(
|
43128
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.classNames)(className, {
|
43129
43129
|
stickyHeader: true
|
43130
43130
|
})
|
43131
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_header__WEBPACK_IMPORTED_MODULE_7__
|
43131
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_header__WEBPACK_IMPORTED_MODULE_7__.TableHeader, {
|
43132
43132
|
left: left,
|
43133
|
-
|
43133
|
+
className: className,
|
43134
43134
|
compact: true
|
43135
43135
|
}), pinnedRows.map(function (row) {
|
43136
43136
|
prepareRow(row);
|
43137
|
-
return (0,_render_row__WEBPACK_IMPORTED_MODULE_8__
|
43137
|
+
return (0,_render_row__WEBPACK_IMPORTED_MODULE_8__.renderRow)({
|
43138
43138
|
row: row,
|
43139
43139
|
columnStartEditing: columnStartEditing,
|
43140
43140
|
columnDoneEditing: columnDoneEditing,
|
43141
43141
|
rowDensity: rowDensity,
|
43142
43142
|
onRowClick: onRowClick,
|
43143
|
-
|
43143
|
+
className: className
|
43144
43144
|
});
|
43145
43145
|
}));
|
43146
43146
|
};
|
@@ -43150,7 +43150,6 @@ var StickyHeaderWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
|
|
43150
43150
|
componentId: "sc-hh47bp-0"
|
43151
43151
|
})(["position:fixed;z-index:", ";overflow-x:hidden;box-shadow:0px 2px 4px -2px rgba(24,39,75,0.12);"], _constants__WEBPACK_IMPORTED_MODULE_4__.Z_INDEX.stickyHeader);
|
43152
43152
|
StickyHeaderWrapper.displayName = 'StickyHeaderWrapper';
|
43153
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StickyHeader);
|
43154
43153
|
|
43155
43154
|
/***/ }),
|
43156
43155
|
|
@@ -43331,7 +43330,7 @@ var rowMenuColumn = {
|
|
43331
43330
|
disableHiding: true,
|
43332
43331
|
disableResizing: true,
|
43333
43332
|
disablePinning: true,
|
43334
|
-
|
43333
|
+
canEdit: false,
|
43335
43334
|
width: 48,
|
43336
43335
|
minWidth: 48,
|
43337
43336
|
maxWidth: 48
|
@@ -43418,38 +43417,34 @@ var InnerTable = function InnerTable(props) {
|
|
43418
43417
|
var onRowClick = (0,_util__WEBPACK_IMPORTED_MODULE_12__.firstDefined)(props.onRowClick, context.onRowClick);
|
43419
43418
|
var stickyHeader = (0,_util__WEBPACK_IMPORTED_MODULE_12__.firstDefined)(props.stickyHeader, context.stickyHeader);
|
43420
43419
|
var scrollTarget = (0,_util__WEBPACK_IMPORTED_MODULE_12__.firstDefined)(props.scrollTarget, context.scrollTarget);
|
43421
|
-
var classNamePrefix = (0,_util__WEBPACK_IMPORTED_MODULE_12__.firstDefined)(props.classNamePrefix, context.classNamePrefix);
|
43422
43420
|
var offsetTop = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(stickyHeader) && stickyHeader.offsetTop || 0;
|
43423
43421
|
var wrapperRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
|
43424
43422
|
var tableRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
|
43425
43423
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableWrapper, {
|
43426
43424
|
ref: wrapperRef,
|
43427
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(
|
43425
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
|
43428
43426
|
container: true
|
43429
43427
|
}, className)
|
43430
43428
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(StyledTable, _extends({
|
43431
43429
|
ref: tableRef
|
43432
43430
|
}, getTableProps(), {
|
43433
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(
|
43431
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
|
43434
43432
|
table: true
|
43435
43433
|
})
|
43436
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_header__WEBPACK_IMPORTED_MODULE_9__
|
43437
|
-
|
43434
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_header__WEBPACK_IMPORTED_MODULE_9__.TableHeader, {
|
43435
|
+
className: className
|
43438
43436
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableBody, {
|
43439
|
-
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(classNamePrefix, {
|
43440
|
-
tableBody: true
|
43441
|
-
}),
|
43442
43437
|
rowDensity: rowDensity,
|
43443
|
-
|
43444
|
-
|
43445
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_footer__WEBPACK_IMPORTED_MODULE_8__
|
43438
|
+
className: className,
|
43439
|
+
onRowClick: onRowClick
|
43440
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_footer__WEBPACK_IMPORTED_MODULE_8__.TableFooter, {
|
43446
43441
|
rowDensity: rowDensity,
|
43447
|
-
|
43448
|
-
}), !!stickyHeader && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_sticky_header__WEBPACK_IMPORTED_MODULE_11__
|
43442
|
+
className: className
|
43443
|
+
}), !!stickyHeader && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_sticky_header__WEBPACK_IMPORTED_MODULE_11__.StickyHeader, {
|
43449
43444
|
offsetTop: offsetTop,
|
43450
43445
|
onRowClick: onRowClick,
|
43451
43446
|
rowDensity: rowDensity,
|
43452
|
-
|
43447
|
+
className: className,
|
43453
43448
|
tableRef: tableRef,
|
43454
43449
|
scrollTarget: scrollTarget,
|
43455
43450
|
wrapperRef: wrapperRef
|
@@ -43469,8 +43464,7 @@ StyledTable.displayName = 'StyledTable';
|
|
43469
43464
|
var TableBody = function TableBody(props) {
|
43470
43465
|
var className = props.className,
|
43471
43466
|
rowDensity = props.rowDensity,
|
43472
|
-
onRowClick = props.onRowClick
|
43473
|
-
classNamePrefix = props.classNamePrefix;
|
43467
|
+
onRowClick = props.onRowClick;
|
43474
43468
|
var _useTableContext2 = (0,_context__WEBPACK_IMPORTED_MODULE_7__.useTableContext)(),
|
43475
43469
|
getTableBodyProps = _useTableContext2.getTableBodyProps,
|
43476
43470
|
prepareRow = _useTableContext2.prepareRow,
|
@@ -43480,35 +43474,40 @@ var TableBody = function TableBody(props) {
|
|
43480
43474
|
NoDataComp = _useTableContext2.NoDataComp,
|
43481
43475
|
LoadingComp = _useTableContext2.LoadingComp,
|
43482
43476
|
isLoading = _useTableContext2.isLoading,
|
43483
|
-
getRowProps = _useTableContext2.getRowProps
|
43477
|
+
getRowProps = _useTableContext2.getRowProps,
|
43478
|
+
renderRowSubComponent = _useTableContext2.renderRowSubComponent;
|
43484
43479
|
var body = function () {
|
43485
43480
|
if (isLoading) return (0,_util_flex_renderer__WEBPACK_IMPORTED_MODULE_6__.flexRender)(LoadingComp);
|
43486
43481
|
if (!page.length) return (0,_util_flex_renderer__WEBPACK_IMPORTED_MODULE_6__.flexRender)(NoDataComp);
|
43487
43482
|
return page.map(function (row, i, arr) {
|
43488
43483
|
prepareRow(row);
|
43489
43484
|
if (row.isPinned) return null;
|
43490
|
-
return (0,_render_row__WEBPACK_IMPORTED_MODULE_10__
|
43485
|
+
return (0,_render_row__WEBPACK_IMPORTED_MODULE_10__.renderRow)({
|
43491
43486
|
row: row,
|
43492
43487
|
rowDensity: rowDensity,
|
43493
43488
|
onRowClick: onRowClick,
|
43494
43489
|
isLastRow: i == arr.length - 1,
|
43495
|
-
|
43496
|
-
getRowProps: getRowProps
|
43490
|
+
className: className,
|
43491
|
+
getRowProps: getRowProps,
|
43492
|
+
renderRowSubComponent: renderRowSubComponent
|
43497
43493
|
});
|
43498
43494
|
});
|
43499
43495
|
}();
|
43500
43496
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", _extends({
|
43501
43497
|
"data-rowgroup-type": "body"
|
43502
43498
|
}, getTableBodyProps(), {
|
43503
|
-
className: className
|
43499
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
|
43500
|
+
tableBody: true
|
43501
|
+
})
|
43504
43502
|
}), pinnedRows.map(function (row) {
|
43505
43503
|
prepareRow(row);
|
43506
|
-
return (0,_render_row__WEBPACK_IMPORTED_MODULE_10__
|
43504
|
+
return (0,_render_row__WEBPACK_IMPORTED_MODULE_10__.renderRow)({
|
43507
43505
|
row: row,
|
43508
43506
|
rowDensity: rowDensity,
|
43509
43507
|
onRowClick: onRowClick,
|
43510
|
-
|
43511
|
-
getRowProps: getRowProps
|
43508
|
+
className: className,
|
43509
|
+
getRowProps: getRowProps,
|
43510
|
+
renderRowSubComponent: renderRowSubComponent
|
43512
43511
|
});
|
43513
43512
|
}), body);
|
43514
43513
|
};
|
@@ -43525,7 +43524,7 @@ var TableBody = function TableBody(props) {
|
|
43525
43524
|
"use strict";
|
43526
43525
|
__webpack_require__.r(__webpack_exports__);
|
43527
43526
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
43528
|
-
/* harmony export */
|
43527
|
+
/* harmony export */ TableRow: () => (/* binding */ TableRow)
|
43529
43528
|
/* harmony export */ });
|
43530
43529
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! styled-components */ "styled-components");
|
43531
43530
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -43538,9 +43537,8 @@ var TableRow = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.with
|
|
43538
43537
|
displayName: "TableRow",
|
43539
43538
|
componentId: "sc-es7xjx-0"
|
43540
43539
|
})(["cursor:", ";"], function (props) {
|
43541
|
-
return props
|
43540
|
+
return props.$cursor;
|
43542
43541
|
});
|
43543
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableRow);
|
43544
43542
|
|
43545
43543
|
/***/ }),
|
43546
43544
|
|