@luminati-io/uikit 6.3.10 → 6.3.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -39314,7 +39314,7 @@ CodeBlock.propTypes = {
|
|
39314
39314
|
header: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
39315
39315
|
code: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
39316
39316
|
lang: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
39317
|
-
maxHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
39317
|
+
maxHeight: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)]),
|
39318
39318
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['black', 'white']),
|
39319
39319
|
lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
39320
39320
|
copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
@@ -39378,6 +39378,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
39378
39378
|
|
39379
39379
|
|
39380
39380
|
/*jslint react:true*/
|
39381
|
+
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); }
|
39382
|
+
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; }
|
39383
|
+
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; }
|
39384
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
39385
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
39386
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
39381
39387
|
|
39382
39388
|
|
39383
39389
|
|
@@ -39389,6 +39395,7 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
|
|
39389
39395
|
var code = _ref.code,
|
39390
39396
|
lang = _ref.lang,
|
39391
39397
|
className = _ref.className,
|
39398
|
+
style = _ref.style,
|
39392
39399
|
lineNumbers = _ref.lineNumbers,
|
39393
39400
|
copyButton = _ref.copyButton,
|
39394
39401
|
loading = _ref.loading,
|
@@ -39403,9 +39410,9 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
|
|
39403
39410
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeSnippetWrapper, {
|
39404
39411
|
ref: ref,
|
39405
39412
|
className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(null, {}, className, variant),
|
39406
|
-
style: maxHeight ? {
|
39413
|
+
style: maxHeight ? _objectSpread({
|
39407
39414
|
maxHeight: maxHeight
|
39408
|
-
} :
|
39415
|
+
}, style) : style
|
39409
39416
|
}, !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_5__.CopyButton, {
|
39410
39417
|
placement: copyButtonPlacement,
|
39411
39418
|
className: copyButtonClassName,
|
@@ -39429,7 +39436,7 @@ CodeSnippet.propTypes = {
|
|
39429
39436
|
className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
39430
39437
|
code: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
39431
39438
|
lang: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
39432
|
-
maxHeight: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
39439
|
+
maxHeight: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)]),
|
39433
39440
|
variant: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['black', 'white']),
|
39434
39441
|
lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
|
39435
39442
|
copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
|
@@ -49629,7 +49636,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
49629
49636
|
|
49630
49637
|
|
49631
49638
|
/*jslint react:true*/
|
49632
|
-
var _excluded = ["className", "classNamePrefix", "style", "trigger", "visible", "placement", "popover", "onVisibleChange", "afterVisibleChange", "children", "hideOnScroll", "getScrollDOMNode"];
|
49639
|
+
var _excluded = ["className", "classNamePrefix", "style", "trigger", "visible", "placement", "popover", "onVisibleChange", "afterVisibleChange", "children", "hideOnScroll", "getScrollDOMNode", "destroyOnClose"];
|
49633
49640
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
49634
49641
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
49635
49642
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
@@ -49662,6 +49669,8 @@ var _Popover = function Popover(_ref) {
|
|
49662
49669
|
children = _ref.children,
|
49663
49670
|
hideOnScroll = _ref.hideOnScroll,
|
49664
49671
|
getScrollDOMNode = _ref.getScrollDOMNode,
|
49672
|
+
_ref$destroyOnClose = _ref.destroyOnClose,
|
49673
|
+
destroyOnClose = _ref$destroyOnClose === void 0 ? true : _ref$destroyOnClose,
|
49665
49674
|
rest = _objectWithoutProperties(_ref, _excluded);
|
49666
49675
|
var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)();
|
49667
49676
|
var mouseEnterDelay = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(rest.showDelay, _Popover.showDelay);
|
@@ -49708,7 +49717,8 @@ var _Popover = function Popover(_ref) {
|
|
49708
49717
|
afterPopupVisibleChange: afterVisibleChange,
|
49709
49718
|
mouseEnterDelay: mouseEnterDelay,
|
49710
49719
|
mouseLeaveDelay: mouseLeaveDelay,
|
49711
|
-
popup: popover
|
49720
|
+
popup: popover,
|
49721
|
+
destroyOnClose: destroyOnClose
|
49712
49722
|
}, children));
|
49713
49723
|
};
|
49714
49724
|
|
@@ -49725,7 +49735,8 @@ _Popover.propTypes = {
|
|
49725
49735
|
onVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
49726
49736
|
afterVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
49727
49737
|
hideOnScroll: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
49728
|
-
getScrollDOMNode: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
49738
|
+
getScrollDOMNode: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
49739
|
+
destroyOnClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
49729
49740
|
};
|
49730
49741
|
_Popover.showDelay = 0.1;
|
49731
49742
|
_Popover.hideDelay = 0.1;
|
@@ -50427,7 +50438,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
50427
50438
|
|
50428
50439
|
|
50429
50440
|
/*jslint react:true*/
|
50430
|
-
var _excluded = ["className", "classNamePrefix", "style", "popupClassName", "variant", "moreIcon", "more", "tabs", "children", "indicator", "onChange", "onTabClick", "onTabScroll", "tabBarGutter", "tabBarStyle", "locale", "activeKey", "renderTabBar"];
|
50441
|
+
var _excluded = ["className", "classNamePrefix", "style", "popupClassName", "variant", "moreIcon", "more", "tabs", "children", "indicator", "onChange", "onTabClick", "onTabScroll", "tabBarExtraContent", "tabBarGutter", "tabBarStyle", "locale", "activeKey", "renderTabBar"];
|
50431
50442
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
50432
50443
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
50433
50444
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
@@ -50454,6 +50465,7 @@ var Tabs = function Tabs(_ref) {
|
|
50454
50465
|
onChange = _ref.onChange,
|
50455
50466
|
onTabClick = _ref.onTabClick,
|
50456
50467
|
onTabScroll = _ref.onTabScroll,
|
50468
|
+
tabBarExtraContent = _ref.tabBarExtraContent,
|
50457
50469
|
tabBarGutter = _ref.tabBarGutter,
|
50458
50470
|
tabBarStyle = _ref.tabBarStyle,
|
50459
50471
|
locale = _ref.locale,
|
@@ -50482,6 +50494,7 @@ var Tabs = function Tabs(_ref) {
|
|
50482
50494
|
onChange: onChange,
|
50483
50495
|
onTabClick: onTabClick,
|
50484
50496
|
onTabScroll: onTabClick,
|
50497
|
+
tabBarExtraContent: tabBarExtraContent,
|
50485
50498
|
tabBarGutter: tabBarGutter,
|
50486
50499
|
tabBarStyle: tabBarStyle,
|
50487
50500
|
locale: locale,
|
@@ -50499,6 +50512,10 @@ Tabs.propTypes = {
|
|
50499
50512
|
onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
50500
50513
|
onTabClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
50501
50514
|
onTabScroll: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
50515
|
+
tabBarExtraContent: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().node), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
50516
|
+
left: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
50517
|
+
right: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
|
50518
|
+
})]),
|
50502
50519
|
tabBarGutter: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
50503
50520
|
tabBarStyle: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
50504
50521
|
locale: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
@@ -50506,7 +50523,8 @@ Tabs.propTypes = {
|
|
50506
50523
|
removeAriaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
50507
50524
|
addAriaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
50508
50525
|
}),
|
50509
|
-
activeKey: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
|
50526
|
+
activeKey: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
50527
|
+
renderTabBar: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
50510
50528
|
};
|
50511
50529
|
var prefixCls = function prefixCls(p) {
|
50512
50530
|
return p.$prefixCls;
|
@@ -52921,7 +52939,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
52921
52939
|
|
52922
52940
|
/*jslint react:true*/
|
52923
52941
|
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); }
|
52924
|
-
var _excluded = ["provided", "style", "measureContentSize"];
|
52942
|
+
var _excluded = ["provided", "style", "measureContentSize", "registerChild"];
|
52925
52943
|
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; }
|
52926
52944
|
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; }
|
52927
52945
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
@@ -53020,6 +53038,7 @@ var RowWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(
|
|
53020
53038
|
_wrapperProps$style = wrapperProps.style,
|
53021
53039
|
style = _wrapperProps$style === void 0 ? {} : _wrapperProps$style,
|
53022
53040
|
measureContentSize = wrapperProps.measureContentSize,
|
53041
|
+
registerChild = wrapperProps.registerChild,
|
53023
53042
|
rest = _objectWithoutProperties(wrapperProps, _excluded);
|
53024
53043
|
var _wrapperProps = _objectSpread(_objectSpread(_objectSpread({}, rest), provided.draggableProps), {}, {
|
53025
53044
|
style: _objectSpread(_objectSpread({}, style), (_provided$draggablePr = provided.draggableProps) === null || _provided$draggablePr === void 0 ? void 0 : _provided$draggablePr.style)
|
@@ -53027,7 +53046,9 @@ var RowWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(
|
|
53027
53046
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () {
|
53028
53047
|
return measureContentSize === null || measureContentSize === void 0 ? void 0 : measureContentSize();
|
53029
53048
|
}, []);
|
53030
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div",
|
53049
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
|
53050
|
+
ref: registerChild
|
53051
|
+
}, _wrapperProps), children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
|
53031
53052
|
style: {
|
53032
53053
|
visibility: 'hidden'
|
53033
53054
|
}
|
@@ -54086,9 +54107,12 @@ var Body = function Body(props) {
|
|
54086
54107
|
type: 'ROWS'
|
54087
54108
|
};
|
54088
54109
|
}, []);
|
54089
|
-
if (virtualized)
|
54090
|
-
|
54091
|
-
|
54110
|
+
if (virtualized) {
|
54111
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_virtualized_body__WEBPACK_IMPORTED_MODULE_11__.VirtualizedBody, _extends({}, props, {
|
54112
|
+
draggableRows: draggableRows,
|
54113
|
+
droppableProps: droppableProps
|
54114
|
+
}));
|
54115
|
+
}
|
54092
54116
|
if (draggableRows) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dnd__WEBPACK_IMPORTED_MODULE_12__.DroppableBody, _extends({}, props, {
|
54093
54117
|
droppableProps: droppableProps
|
54094
54118
|
}));
|
@@ -54309,8 +54333,7 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
|
|
54309
54333
|
parent = props.parent,
|
54310
54334
|
rowHoverEvents = props.rowHoverEvents,
|
54311
54335
|
draggableRows = props.draggableRows;
|
54312
|
-
// padding is needed to see the divider between rows
|
54313
|
-
// when new rows are added
|
54336
|
+
// padding is needed to see the divider between rows when new rows are added
|
54314
54337
|
var _style = _objectSpread(_objectSpread({}, style), {}, {
|
54315
54338
|
padding: '0.3px 0'
|
54316
54339
|
});
|
@@ -54320,7 +54343,8 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
|
|
54320
54343
|
columnIndex: 0,
|
54321
54344
|
rowIndex: index
|
54322
54345
|
}, function (_ref) {
|
54323
|
-
var measure = _ref.measure
|
54346
|
+
var measure = _ref.measure,
|
54347
|
+
registerChild = _ref.registerChild;
|
54324
54348
|
if (draggableRows) {
|
54325
54349
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_dnd__WEBPACK_IMPORTED_MODULE_4__.DraggableWrapper, {
|
54326
54350
|
key: row.id,
|
@@ -54343,7 +54367,12 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
|
|
54343
54367
|
}
|
54344
54368
|
return renderRow({
|
54345
54369
|
row: row,
|
54346
|
-
index: index
|
54370
|
+
index: index,
|
54371
|
+
wrapperProps: _objectSpread(_objectSpread({}, rowHoverEvents), {}, {
|
54372
|
+
style: _style,
|
54373
|
+
measureContentSize: measure,
|
54374
|
+
registerChild: registerChild
|
54375
|
+
})
|
54347
54376
|
});
|
54348
54377
|
});
|
54349
54378
|
});
|
@@ -54419,72 +54448,46 @@ var VirtualizedBodyComp = function VirtualizedBodyComp(props) {
|
|
54419
54448
|
return acc += measurerCache.current.getHeight(index, 0);
|
54420
54449
|
}, 0));
|
54421
54450
|
}, [listDOMRef, rows]);
|
54451
|
+
var getBody = function getBody(provided) {
|
54452
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
54453
|
+
style: {
|
54454
|
+
height: _height,
|
54455
|
+
maxHeight: maxHeight,
|
54456
|
+
width: '100%'
|
54457
|
+
}
|
54458
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.AutoSizer, null, function (_ref3) {
|
54459
|
+
var width = _ref3.width,
|
54460
|
+
height = _ref3.height;
|
54461
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledList, {
|
54462
|
+
width: width,
|
54463
|
+
height: height,
|
54464
|
+
overscanRowCount: 5,
|
54465
|
+
estimatedRowSize: 30,
|
54466
|
+
rowHeight: measurerCache.current.rowHeight,
|
54467
|
+
rowCount: rows.length,
|
54468
|
+
deferredMeasurementCache: measurerCache.current,
|
54469
|
+
ref: listRefHandler(setListDOMRef, provided),
|
54470
|
+
rowRenderer: rowRenderer(rows, measurerCache, renderRow, rowHoverEvents, draggableRows)
|
54471
|
+
});
|
54472
|
+
})), renderHoverActions());
|
54473
|
+
};
|
54422
54474
|
if (draggableRows) {
|
54423
54475
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_6__.Droppable, _extends({}, droppableProps, {
|
54424
54476
|
mode: "virtual",
|
54425
54477
|
renderClone: renderClone(rows, renderRow)
|
54426
54478
|
}), function (provided) {
|
54427
|
-
return
|
54428
|
-
rows: rows,
|
54429
|
-
measurerCache: measurerCache,
|
54430
|
-
renderRow: renderRow,
|
54431
|
-
rowHoverEvents: rowHoverEvents,
|
54432
|
-
style: {
|
54433
|
-
height: _height,
|
54434
|
-
maxHeight: maxHeight,
|
54435
|
-
width: '100%'
|
54436
|
-
},
|
54437
|
-
listRef: listRefHandler(setListDOMRef, provided),
|
54438
|
-
draggableRows: true
|
54439
|
-
}), renderHoverActions());
|
54479
|
+
return getBody(provided);
|
54440
54480
|
});
|
54441
54481
|
}
|
54442
|
-
return
|
54443
|
-
rows: rows,
|
54444
|
-
measurerCache: measurerCache,
|
54445
|
-
renderRow: renderRow,
|
54446
|
-
rowHoverEvents: rowHoverEvents,
|
54447
|
-
style: {
|
54448
|
-
height: _height,
|
54449
|
-
maxHeight: maxHeight,
|
54450
|
-
width: '100%'
|
54451
|
-
},
|
54452
|
-
listRef: listRefHandler(setListDOMRef, undefined)
|
54453
|
-
});
|
54482
|
+
return getBody(null);
|
54454
54483
|
};
|
54455
54484
|
var VirtualizedBody = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(VirtualizedBodyComp);
|
54456
54485
|
VirtualizedBody.displayName = 'VirtualizedBody';
|
54457
|
-
var VirtualizedBodyList = function VirtualizedBodyList(_ref3) {
|
54458
|
-
var rows = _ref3.rows,
|
54459
|
-
measurerCache = _ref3.measurerCache,
|
54460
|
-
renderRow = _ref3.renderRow,
|
54461
|
-
rowHoverEvents = _ref3.rowHoverEvents,
|
54462
|
-
style = _ref3.style,
|
54463
|
-
listRef = _ref3.listRef,
|
54464
|
-
draggableRows = _ref3.draggableRows;
|
54465
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
54466
|
-
style: style
|
54467
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.AutoSizer, null, function (_ref4) {
|
54468
|
-
var width = _ref4.width,
|
54469
|
-
height = _ref4.height;
|
54470
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledList, {
|
54471
|
-
width: width,
|
54472
|
-
height: height,
|
54473
|
-
overscanRowCount: 5,
|
54474
|
-
estimatedRowSize: 30,
|
54475
|
-
rowHeight: measurerCache.current.rowHeight,
|
54476
|
-
rowCount: rows.length,
|
54477
|
-
deferredMeasurementCache: measurerCache.current,
|
54478
|
-
ref: listRef,
|
54479
|
-
rowRenderer: rowRenderer(rows, measurerCache, renderRow, rowHoverEvents, draggableRows)
|
54480
|
-
});
|
54481
|
-
}));
|
54482
|
-
};
|
54483
54486
|
var StyledList = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.List).withConfig({
|
54484
54487
|
displayName: "StyledList",
|
54485
54488
|
componentId: "sc-1mdy9tq-0"
|
54486
|
-
})(["", ""], function (
|
54487
|
-
var scrollbars =
|
54489
|
+
})(["", ""], function (_ref4) {
|
54490
|
+
var scrollbars = _ref4.theme.scrollbars;
|
54488
54491
|
return scrollbars.thin;
|
54489
54492
|
});
|
54490
54493
|
|
@@ -56360,7 +56363,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
56360
56363
|
|
56361
56364
|
|
56362
56365
|
/*jslint react:true*/
|
56363
|
-
var _excluded = ["id", "className", "classNamePrefix", "variant", "trigger", "visible", "placement", "tooltip", "showArrow", "onVisibleChange", "afterVisibleChange", "children"];
|
56366
|
+
var _excluded = ["id", "className", "classNamePrefix", "variant", "trigger", "visible", "placement", "tooltip", "showArrow", "onVisibleChange", "afterVisibleChange", "children", "destroyOnClose"];
|
56364
56367
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
56365
56368
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
56366
56369
|
|
@@ -56386,6 +56389,8 @@ var _Tooltip = function Tooltip2(_ref) {
|
|
56386
56389
|
onVisibleChange = _ref.onVisibleChange,
|
56387
56390
|
afterVisibleChange = _ref.afterVisibleChange,
|
56388
56391
|
children = _ref.children,
|
56392
|
+
_ref$destroyOnClose = _ref.destroyOnClose,
|
56393
|
+
destroyOnClose = _ref$destroyOnClose === void 0 ? true : _ref$destroyOnClose,
|
56389
56394
|
rest = _objectWithoutProperties(_ref, _excluded);
|
56390
56395
|
var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.useTheme)();
|
56391
56396
|
var mouseEnterDelay = (0,_util__WEBPACK_IMPORTED_MODULE_4__.firstDefined)(rest.showDelay, _Tooltip.showDelay);
|
@@ -56410,7 +56415,8 @@ var _Tooltip = function Tooltip2(_ref) {
|
|
56410
56415
|
align: align,
|
56411
56416
|
showArrow: showArrow,
|
56412
56417
|
onVisibleChange: onVisibleChange,
|
56413
|
-
afterVisibleChange: afterVisibleChange
|
56418
|
+
afterVisibleChange: afterVisibleChange,
|
56419
|
+
destroyOnClose: destroyOnClose
|
56414
56420
|
}, children));
|
56415
56421
|
};
|
56416
56422
|
|
@@ -56428,7 +56434,8 @@ _Tooltip.propTypes = {
|
|
56428
56434
|
align: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
|
56429
56435
|
showArrow: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
56430
56436
|
onVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
56431
|
-
afterVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
56437
|
+
afterVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
56438
|
+
destroyOnClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
56432
56439
|
};
|
56433
56440
|
_Tooltip.showDelay = 0.1;
|
56434
56441
|
_Tooltip.hideDelay = 0.1;
|