@luminati-io/uikit 6.3.128 → 6.3.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +24 -24
- package/dist/index.js.map +1 -1
- package/dist/umd/uikit.development.js +159 -39
- package/dist/umd/uikit.development.js.map +1 -1
- package/dist/umd/uikit.production.min.js +24 -24
- package/package.json +2 -2
|
@@ -347,17 +347,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
347
347
|
/* harmony import */ var _visa_svg__WEBPACK_IMPORTED_MODULE_322__ = __webpack_require__(/*! ./visa.svg */ "./assets/icons/visa.svg");
|
|
348
348
|
/* harmony import */ var _warning_svg__WEBPACK_IMPORTED_MODULE_323__ = __webpack_require__(/*! ./warning.svg */ "./assets/icons/warning.svg");
|
|
349
349
|
/* harmony import */ var _warning_solid_svg__WEBPACK_IMPORTED_MODULE_324__ = __webpack_require__(/*! ./warning_solid.svg */ "./assets/icons/warning_solid.svg");
|
|
350
|
-
/* harmony import */ var
|
|
351
|
-
/* harmony import */ var
|
|
352
|
-
/* harmony import */ var
|
|
353
|
-
/* harmony import */ var
|
|
354
|
-
/* harmony import */ var
|
|
355
|
-
/* harmony import */ var
|
|
356
|
-
/* harmony import */ var
|
|
357
|
-
/* harmony import */ var
|
|
358
|
-
/* harmony import */ var
|
|
359
|
-
/* harmony import */ var
|
|
360
|
-
/* harmony import */ var
|
|
350
|
+
/* harmony import */ var _web_archive_svg__WEBPACK_IMPORTED_MODULE_325__ = __webpack_require__(/*! ./web_archive.svg */ "./assets/icons/web_archive.svg");
|
|
351
|
+
/* harmony import */ var _webmaster_console_svg__WEBPACK_IMPORTED_MODULE_326__ = __webpack_require__(/*! ./webmaster_console.svg */ "./assets/icons/webmaster_console.svg");
|
|
352
|
+
/* harmony import */ var _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_327__ = __webpack_require__(/*! ./web_scrapper.svg */ "./assets/icons/web_scrapper.svg");
|
|
353
|
+
/* harmony import */ var _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_328__ = __webpack_require__(/*! ./web_scrapper_small.svg */ "./assets/icons/web_scrapper_small.svg");
|
|
354
|
+
/* harmony import */ var _web_unlock_svg__WEBPACK_IMPORTED_MODULE_329__ = __webpack_require__(/*! ./web_unlock.svg */ "./assets/icons/web_unlock.svg");
|
|
355
|
+
/* harmony import */ var _web_unlock2_svg__WEBPACK_IMPORTED_MODULE_330__ = __webpack_require__(/*! ./web_unlock2.svg */ "./assets/icons/web_unlock2.svg");
|
|
356
|
+
/* harmony import */ var _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_331__ = __webpack_require__(/*! ./web_unlock_small.svg */ "./assets/icons/web_unlock_small.svg");
|
|
357
|
+
/* harmony import */ var _yandex_svg__WEBPACK_IMPORTED_MODULE_332__ = __webpack_require__(/*! ./yandex.svg */ "./assets/icons/yandex.svg");
|
|
358
|
+
/* harmony import */ var _zapier_svg__WEBPACK_IMPORTED_MODULE_333__ = __webpack_require__(/*! ./zapier.svg */ "./assets/icons/zapier.svg");
|
|
359
|
+
/* harmony import */ var _scraper_studio_svg__WEBPACK_IMPORTED_MODULE_334__ = __webpack_require__(/*! ./scraper_studio.svg */ "./assets/icons/scraper_studio.svg");
|
|
360
|
+
/* harmony import */ var _web_scraper_api_svg__WEBPACK_IMPORTED_MODULE_335__ = __webpack_require__(/*! ./web_scraper_api.svg */ "./assets/icons/web_scraper_api.svg");
|
|
361
|
+
/* harmony import */ var _filter_api_svg__WEBPACK_IMPORTED_MODULE_336__ = __webpack_require__(/*! ./filter_api.svg */ "./assets/icons/filter_api.svg");
|
|
361
362
|
// LICENSE_CODE ZON
|
|
362
363
|
/*jslint react:true*/
|
|
363
364
|
|
|
@@ -696,6 +697,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
696
697
|
|
|
697
698
|
|
|
698
699
|
|
|
700
|
+
|
|
699
701
|
|
|
700
702
|
|
|
701
703
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
@@ -1024,17 +1026,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1024
1026
|
Visa: _visa_svg__WEBPACK_IMPORTED_MODULE_322__["default"],
|
|
1025
1027
|
Warning: _warning_svg__WEBPACK_IMPORTED_MODULE_323__["default"],
|
|
1026
1028
|
WarningSolid: _warning_solid_svg__WEBPACK_IMPORTED_MODULE_324__["default"],
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1029
|
+
WebArchive: _web_archive_svg__WEBPACK_IMPORTED_MODULE_325__["default"],
|
|
1030
|
+
WebmasterConsole: _webmaster_console_svg__WEBPACK_IMPORTED_MODULE_326__["default"],
|
|
1031
|
+
WebScrapper: _web_scrapper_svg__WEBPACK_IMPORTED_MODULE_327__["default"],
|
|
1032
|
+
WebScrapperSmall: _web_scrapper_small_svg__WEBPACK_IMPORTED_MODULE_328__["default"],
|
|
1033
|
+
WebUnlock: _web_unlock_svg__WEBPACK_IMPORTED_MODULE_329__["default"],
|
|
1034
|
+
WebUnlock2: _web_unlock2_svg__WEBPACK_IMPORTED_MODULE_330__["default"],
|
|
1035
|
+
WebUnlockSmall: _web_unlock_small_svg__WEBPACK_IMPORTED_MODULE_331__["default"],
|
|
1036
|
+
Yandex: _yandex_svg__WEBPACK_IMPORTED_MODULE_332__["default"],
|
|
1037
|
+
Zapier: _zapier_svg__WEBPACK_IMPORTED_MODULE_333__["default"],
|
|
1038
|
+
ScraperStudio: _scraper_studio_svg__WEBPACK_IMPORTED_MODULE_334__["default"],
|
|
1039
|
+
WebScraperApi: _web_scraper_api_svg__WEBPACK_IMPORTED_MODULE_335__["default"],
|
|
1040
|
+
FilterApi: _filter_api_svg__WEBPACK_IMPORTED_MODULE_336__["default"],
|
|
1038
1041
|
});
|
|
1039
1042
|
|
|
1040
1043
|
|
|
@@ -57187,6 +57190,10 @@ var Provider = function Provider(_ref3) {
|
|
|
57187
57190
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
57188
57191
|
isDraggingRow = _useState4[0],
|
|
57189
57192
|
setIsDraggingRow = _useState4[1];
|
|
57193
|
+
var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null),
|
|
57194
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
57195
|
+
contextMenu = _useState6[0],
|
|
57196
|
+
setContextMenu = _useState6[1];
|
|
57190
57197
|
var hiddenColumns = (0,_util__WEBPACK_IMPORTED_MODULE_7__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('hiddenColumns'), _hiddenColumns);
|
|
57191
57198
|
var pinnedColumns = (0,_util__WEBPACK_IMPORTED_MODULE_7__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('pinnedColumns'), _pinnedColumns);
|
|
57192
57199
|
var columnOrder = (0,_util__WEBPACK_IMPORTED_MODULE_7__.firstDefined)(stateManager === null || stateManager === void 0 ? void 0 : stateManager.get('columnOrder'), _columnOrder);
|
|
@@ -57279,7 +57286,9 @@ var Provider = function Provider(_ref3) {
|
|
|
57279
57286
|
hoverActionsDirection: hoverActionsDirection,
|
|
57280
57287
|
virtualized: virtualized,
|
|
57281
57288
|
skeletonLoader: skeletonLoader,
|
|
57282
|
-
skeletonRowCount: skeletonRowCount
|
|
57289
|
+
skeletonRowCount: skeletonRowCount,
|
|
57290
|
+
contextMenu: contextMenu,
|
|
57291
|
+
setContextMenu: setContextMenu
|
|
57283
57292
|
});
|
|
57284
57293
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TableContext.Provider, {
|
|
57285
57294
|
value: value
|
|
@@ -59606,6 +59615,7 @@ var renderRow = function renderRow(opt) {
|
|
|
59606
59615
|
var className = opt.className,
|
|
59607
59616
|
row = opt.row,
|
|
59608
59617
|
onRowClick = opt.onRowClick,
|
|
59618
|
+
onContextMenu = opt.onContextMenu,
|
|
59609
59619
|
getRowProps = opt.getRowProps,
|
|
59610
59620
|
rowDensity = opt.rowDensity,
|
|
59611
59621
|
isLast = opt.isLast,
|
|
@@ -59618,9 +59628,16 @@ var renderRow = function renderRow(opt) {
|
|
|
59618
59628
|
var onClick = onRowClick ? function (evt) {
|
|
59619
59629
|
if (!evt.target.matches(".".concat(preventOnClickClass, " *"))) onRowClick(original, evt);
|
|
59620
59630
|
} : undefined;
|
|
59631
|
+
var onContextMenuHandler = onContextMenu ? function (evt) {
|
|
59632
|
+
if (!evt.target.matches(".".concat(preventOnClickClass, " *"))) {
|
|
59633
|
+
evt.preventDefault();
|
|
59634
|
+
onContextMenu(row, evt);
|
|
59635
|
+
}
|
|
59636
|
+
} : undefined;
|
|
59621
59637
|
var cursor = onRowClick ? 'pointer' : undefined;
|
|
59622
59638
|
var tableRow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TableRow, _extends({}, rowProps, {
|
|
59623
59639
|
onClick: onClick,
|
|
59640
|
+
onContextMenu: onContextMenuHandler,
|
|
59624
59641
|
className: (0,_util__WEBPACK_IMPORTED_MODULE_2__.cn)(className, {
|
|
59625
59642
|
tableRow: true,
|
|
59626
59643
|
'tableRow--is-pinned': isPinned,
|
|
@@ -59882,16 +59899,20 @@ var useRowHoverActions = function useRowHoverActions() {
|
|
|
59882
59899
|
"use strict";
|
|
59883
59900
|
__webpack_require__.r(__webpack_exports__);
|
|
59884
59901
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
59902
|
+
/* harmony export */ RowContextMenu: () => (/* binding */ RowContextMenu),
|
|
59885
59903
|
/* harmony export */ addRowMenuInternalAction: () => (/* binding */ addRowMenuInternalAction),
|
|
59886
59904
|
/* harmony export */ useRowMenu: () => (/* binding */ useRowMenu)
|
|
59887
59905
|
/* harmony export */ });
|
|
59888
59906
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
59889
59907
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
59890
|
-
/* harmony import */ var
|
|
59891
|
-
/* harmony import */ var
|
|
59892
|
-
/* harmony import */ var
|
|
59893
|
-
/* harmony import */ var
|
|
59894
|
-
/* harmony import */ var
|
|
59908
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
|
|
59909
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
|
|
59910
|
+
/* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../popover */ "./src/popover/index.js");
|
|
59911
|
+
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
|
|
59912
|
+
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../menu */ "./src/menu/index.js");
|
|
59913
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
|
59914
|
+
/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./context */ "./src/table/context.js");
|
|
59915
|
+
/* harmony import */ var _render_row__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./render_row */ "./src/table/render_row.js");
|
|
59895
59916
|
// LICENSE_CODE ZON
|
|
59896
59917
|
|
|
59897
59918
|
|
|
@@ -59921,10 +59942,12 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
59921
59942
|
|
|
59922
59943
|
|
|
59923
59944
|
|
|
59945
|
+
|
|
59946
|
+
|
|
59924
59947
|
var RowMenuCell = function RowMenuCell(_ref) {
|
|
59925
59948
|
var row = _ref.row,
|
|
59926
59949
|
column = _ref.column;
|
|
59927
|
-
var _useTableContext = (0,
|
|
59950
|
+
var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_6__.useTableContext)(),
|
|
59928
59951
|
rowActions = _useTableContext.rowActions;
|
|
59929
59952
|
var allActions = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
|
|
59930
59953
|
return [].concat(_toConsumableArray(rowActions || []), _toConsumableArray(Object.values(column.internalActions))).map(function (item) {
|
|
@@ -59946,7 +59969,7 @@ var RowMenuCellPopover = function RowMenuCellPopover(_ref2) {
|
|
|
59946
59969
|
_useState2 = _slicedToArray(_useState, 2),
|
|
59947
59970
|
visible = _useState2[0],
|
|
59948
59971
|
setVisible = _useState2[1];
|
|
59949
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
|
59972
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_popover__WEBPACK_IMPORTED_MODULE_2__.Popover, {
|
|
59950
59973
|
placement: "left",
|
|
59951
59974
|
visible: visible,
|
|
59952
59975
|
onVisibleChange: setVisible,
|
|
@@ -59958,11 +59981,11 @@ var RowMenuCellPopover = function RowMenuCellPopover(_ref2) {
|
|
|
59958
59981
|
return setVisible(false);
|
|
59959
59982
|
}
|
|
59960
59983
|
})
|
|
59961
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
|
59984
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_3__.IconButton, {
|
|
59962
59985
|
"data-testid": "row-actions-toggle",
|
|
59963
59986
|
icon: "DotsHorizontal",
|
|
59964
59987
|
size: "xs",
|
|
59965
|
-
className:
|
|
59988
|
+
className: _render_row__WEBPACK_IMPORTED_MODULE_7__.preventOnClickClass
|
|
59966
59989
|
}));
|
|
59967
59990
|
};
|
|
59968
59991
|
var PopoverMenu = function PopoverMenu(_ref3) {
|
|
@@ -59983,8 +60006,8 @@ var PopoverMenu = function PopoverMenu(_ref3) {
|
|
|
59983
60006
|
});
|
|
59984
60007
|
});
|
|
59985
60008
|
}, [allActions]);
|
|
59986
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
|
59987
|
-
className:
|
|
60009
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_4__.Menu, {
|
|
60010
|
+
className: _render_row__WEBPACK_IMPORTED_MODULE_7__.preventOnClickClass,
|
|
59988
60011
|
items: items,
|
|
59989
60012
|
size: "sm",
|
|
59990
60013
|
unstyled: true
|
|
@@ -60035,6 +60058,63 @@ useRowMenu.pluginName = 'useRowMenu';
|
|
|
60035
60058
|
var addRowMenuInternalAction = function addRowMenuInternalAction(id, action) {
|
|
60036
60059
|
if (!rowMenuColumn.internalActions[id]) rowMenuColumn.internalActions[id] = action;
|
|
60037
60060
|
};
|
|
60061
|
+
var theme = function theme(cb) {
|
|
60062
|
+
return function (p) {
|
|
60063
|
+
return cb(p.theme);
|
|
60064
|
+
};
|
|
60065
|
+
};
|
|
60066
|
+
var ContextMenuOverlay = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
|
60067
|
+
displayName: "ContextMenuOverlay",
|
|
60068
|
+
componentId: "sc-q7kjip-0"
|
|
60069
|
+
})(["position:fixed;z-index:", ";border-radius:4px;border:1px solid ", ";background:", ";box-shadow:", ";"], _constants__WEBPACK_IMPORTED_MODULE_5__.Z_INDEX.popover, theme(function (t) {
|
|
60070
|
+
return t.color.popover_border;
|
|
60071
|
+
}), theme(function (t) {
|
|
60072
|
+
return t.color.bg;
|
|
60073
|
+
}), theme(function (t) {
|
|
60074
|
+
return t.color.popover_shadow;
|
|
60075
|
+
}));
|
|
60076
|
+
var RowContextMenu = function RowContextMenu() {
|
|
60077
|
+
var _useTableContext2 = (0,_context__WEBPACK_IMPORTED_MODULE_6__.useTableContext)(),
|
|
60078
|
+
contextMenu = _useTableContext2.contextMenu,
|
|
60079
|
+
setContextMenu = _useTableContext2.setContextMenu,
|
|
60080
|
+
rowActions = _useTableContext2.rowActions;
|
|
60081
|
+
var menuRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
60082
|
+
var hideMenu = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
|
|
60083
|
+
return setContextMenu(null);
|
|
60084
|
+
}, [setContextMenu]);
|
|
60085
|
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
|
60086
|
+
if (!contextMenu) return;
|
|
60087
|
+
var handle = function handle(evt) {
|
|
60088
|
+
if (menuRef.current && !menuRef.current.contains(evt.target)) hideMenu();
|
|
60089
|
+
};
|
|
60090
|
+
document.addEventListener('mousedown', handle, true);
|
|
60091
|
+
return function () {
|
|
60092
|
+
return document.removeEventListener('mousedown', handle, true);
|
|
60093
|
+
};
|
|
60094
|
+
}, [contextMenu, hideMenu]);
|
|
60095
|
+
if (!contextMenu) return null;
|
|
60096
|
+
var x = contextMenu.x,
|
|
60097
|
+
y = contextMenu.y,
|
|
60098
|
+
row = contextMenu.row;
|
|
60099
|
+
var allActions = [].concat(_toConsumableArray(rowActions || []), _toConsumableArray(Object.values(rowMenuColumn.internalActions))).map(function (item) {
|
|
60100
|
+
return typeof item == 'function' ? item(row) : item;
|
|
60101
|
+
}).filter(function (item) {
|
|
60102
|
+
return item && item.key;
|
|
60103
|
+
});
|
|
60104
|
+
if (!allActions.length) return null;
|
|
60105
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ContextMenuOverlay, {
|
|
60106
|
+
ref: menuRef,
|
|
60107
|
+
style: {
|
|
60108
|
+
top: y,
|
|
60109
|
+
left: x
|
|
60110
|
+
},
|
|
60111
|
+
className: _render_row__WEBPACK_IMPORTED_MODULE_7__.preventOnClickClass
|
|
60112
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(PopoverMenu, {
|
|
60113
|
+
allActions: allActions,
|
|
60114
|
+
row: row,
|
|
60115
|
+
hidePopover: hideMenu
|
|
60116
|
+
}));
|
|
60117
|
+
};
|
|
60038
60118
|
|
|
60039
60119
|
/***/ }),
|
|
60040
60120
|
|
|
@@ -60588,6 +60668,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60588
60668
|
/* harmony import */ var _dnd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./dnd */ "./src/table/dnd.js");
|
|
60589
60669
|
/* harmony import */ var _row_hover_actions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./row_hover_actions */ "./src/table/row_hover_actions.js");
|
|
60590
60670
|
/* harmony import */ var _skeleton_loader__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./skeleton_loader */ "./src/table/skeleton_loader.js");
|
|
60671
|
+
/* harmony import */ var _row_menu__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./row_menu */ "./src/table/row_menu.js");
|
|
60591
60672
|
// LICENSE_CODE ZON
|
|
60592
60673
|
|
|
60593
60674
|
|
|
@@ -60624,6 +60705,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
60624
60705
|
|
|
60625
60706
|
|
|
60626
60707
|
|
|
60708
|
+
|
|
60627
60709
|
var Table = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function _Table(props, ref) {
|
|
60628
60710
|
var context = (0,_context__WEBPACK_IMPORTED_MODULE_6__.useTableContext)();
|
|
60629
60711
|
// not under context
|
|
@@ -60715,7 +60797,7 @@ var InnerTable = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwa
|
|
|
60715
60797
|
tableRef: tableRef,
|
|
60716
60798
|
scrollTarget: scrollTarget,
|
|
60717
60799
|
wrapperRef: wrapperRef
|
|
60718
|
-
})));
|
|
60800
|
+
})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_row_menu__WEBPACK_IMPORTED_MODULE_15__.RowContextMenu, null));
|
|
60719
60801
|
});
|
|
60720
60802
|
InnerTable.displayName = 'InnerTable';
|
|
60721
60803
|
var TableWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
|
@@ -60749,12 +60831,21 @@ var TableBody = function TableBody(_ref4) {
|
|
|
60749
60831
|
pinnedRows = _useTableContext2$pin === void 0 ? [] : _useTableContext2$pin,
|
|
60750
60832
|
getRowProps = _useTableContext2.getRowProps,
|
|
60751
60833
|
renderRowSubComponent = _useTableContext2.renderRowSubComponent,
|
|
60752
|
-
draggableRows = _useTableContext2.draggableRows
|
|
60834
|
+
draggableRows = _useTableContext2.draggableRows,
|
|
60835
|
+
rowActions = _useTableContext2.rowActions,
|
|
60836
|
+
setContextMenu = _useTableContext2.setContextMenu;
|
|
60753
60837
|
var rows = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
|
60754
60838
|
return [].concat(_toConsumableArray(pinnedRows), _toConsumableArray(page.filter(function (row) {
|
|
60755
60839
|
return !row.isPinned;
|
|
60756
60840
|
})));
|
|
60757
60841
|
}, [pinnedRows, page]);
|
|
60842
|
+
var onContextMenu = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function (row, evt) {
|
|
60843
|
+
return setContextMenu({
|
|
60844
|
+
x: evt.clientX,
|
|
60845
|
+
y: evt.clientY,
|
|
60846
|
+
row: row
|
|
60847
|
+
});
|
|
60848
|
+
}, [setContextMenu]);
|
|
60758
60849
|
var renderRowCb = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function (_ref5) {
|
|
60759
60850
|
var row = _ref5.row,
|
|
60760
60851
|
index = _ref5.index,
|
|
@@ -60764,6 +60855,7 @@ var TableBody = function TableBody(_ref4) {
|
|
|
60764
60855
|
row: row,
|
|
60765
60856
|
rowDensity: rowDensity,
|
|
60766
60857
|
onRowClick: onRowClick,
|
|
60858
|
+
onContextMenu: rowActions !== null && rowActions !== void 0 && rowActions.length ? onContextMenu : undefined,
|
|
60767
60859
|
isLast: !row.isPinned && index == rows.length - 1,
|
|
60768
60860
|
showExpand: !row.isPinned && row.canExpand,
|
|
60769
60861
|
className: className,
|
|
@@ -60771,7 +60863,7 @@ var TableBody = function TableBody(_ref4) {
|
|
|
60771
60863
|
renderRowSubComponent: renderRowSubComponent,
|
|
60772
60864
|
wrapperProps: wrapperProps
|
|
60773
60865
|
});
|
|
60774
|
-
}, [prepareRow, rowDensity, onRowClick, className, getRowProps, renderRowSubComponent]);
|
|
60866
|
+
}, [prepareRow, rowDensity, onRowClick, onContextMenu, rowActions, className, getRowProps, renderRowSubComponent]);
|
|
60775
60867
|
var cache = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(new react_virtualized__WEBPACK_IMPORTED_MODULE_4__.CellMeasurerCache({
|
|
60776
60868
|
fixedWidth: true,
|
|
60777
60869
|
defaultHeight: 30
|
|
@@ -105171,7 +105263,7 @@ var symbol = new (_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMP
|
|
|
105171
105263
|
"id": "filter_api_uikit_icon",
|
|
105172
105264
|
"use": "filter_api_uikit_icon-usage",
|
|
105173
105265
|
"viewBox": "0 0 24 24",
|
|
105174
|
-
"content": "<symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" id=\"filter_api_uikit_icon\"><path fill=\"#9D97F4\" d=\"M15.847 13.912a.485.485 0 0 1 .343.826l-1.594 1.593 1.594 1.593a.485.485 0 0 1-.685.684l-1.936-1.935a.483.483 0 0 1 0-.684l1.936-1.935a.
|
|
105266
|
+
"content": "<symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" id=\"filter_api_uikit_icon\"><path fill=\"#9D97F4\" d=\"M15.847 13.912a.485.485 0 0 1 .343.826l-1.594 1.593 1.594 1.593a.485.485 0 0 1-.685.684l-1.936-1.935a.483.483 0 0 1 0-.684l1.936-1.935a.5.5 0 0 1 .342-.142m2.42 0c.128 0 .25.051.342.142l1.935 1.935a.485.485 0 0 1 0 .684l-1.935 1.935a.485.485 0 0 1-.685-.684l1.593-1.593-1.593-1.593a.485.485 0 0 1 .342-.826M15.56 5.5a1.001 1.001 0 0 1 .74 1.672h-.002l-.005.006-4.233 4.52v3.468a1 1 0 0 1-.446.834l-2 1.334A1 1 0 0 1 8.06 16.5v-4.802l-4.233-4.52-.005-.006A1 1 0 0 1 4.56 5.5z\" /></symbol>"
|
|
105175
105267
|
});
|
|
105176
105268
|
var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default().add(symbol);
|
|
105177
105269
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (symbol);
|
|
@@ -108335,7 +108427,7 @@ var symbol = new (_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMP
|
|
|
108335
108427
|
"id": "scraper_studio_uikit_icon",
|
|
108336
108428
|
"use": "scraper_studio_uikit_icon-usage",
|
|
108337
108429
|
"viewBox": "0 0 24 24",
|
|
108338
|
-
"content": "<symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" id=\"scraper_studio_uikit_icon\"><path fill=\"#9D97F4\" d=\"M22.7 3.5a.6.6 0 0 1 .6.6v12c0 .331-.27.6-.6.6H11.704l.104-.278 1.777-.661.009-.003c1.873-.706 1.873-3.356 0-4.062l-.01-.003-1.776-.66-.661-1.78-.003-.007c-.707-1.873-3.356-1.873-4.062 0l-.003.008-.661 1.778-1.12.416V4.1a.6.6 0 0 1 .6-.6zM8.094 12.
|
|
108430
|
+
"content": "<symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" id=\"scraper_studio_uikit_icon\"><path fill=\"#9D97F4\" d=\"M22.7 3.5a.6.6 0 0 1 .6.6v12c0 .331-.27.6-.6.6H11.704l.104-.278 1.777-.661.009-.003c1.873-.706 1.873-3.356 0-4.062l-.01-.003-1.776-.66-.661-1.78-.003-.007c-.707-1.873-3.356-1.873-4.062 0l-.003.008-.661 1.778-1.12.416V4.1a.6.6 0 0 1 .6-.6zM8.094 12.136zm1.154-2.228.023.043a.2.2 0 0 0-.025-.045zM8.599 5.3a.9.9 0 1 0 .002 1.8.9.9 0 0 0-.001-1.8m3 0a.9.9 0 1 0 .002 1.8.9.9 0 0 0-.001-1.8m3 0a.9.9 0 1 0 .002 1.8.9.9 0 0 0-.001-1.8\" /><path fill=\"#D4D0FF\" d=\"M5.102 16.636a.595.595 0 0 1 1.113 0l.001.002.375 1.009a.56.56 0 0 0 .223.276l.108.055 1.01.375h.001a.595.595 0 0 1 0 1.113l-.002.001-1.009.375a.56.56 0 0 0-.33.331l-.376 1.009v.002a.595.595 0 0 1-1.071.09l-.043-.09v-.002l-.375-1.009-.055-.108a.56.56 0 0 0-.275-.223h-.001l-1.009-.375-.002-.001a.595.595 0 0 1 0-1.113h.002l1.008-.375a.57.57 0 0 0 .332-.332l.375-1.008zm-1.541 2.362 1.009.375zm3.188.374zl1.008-.375h.001zm1.738-9.597a.67.67 0 0 1 1.254 0v.003l.675 1.814.062.14c.137.273.357.495.63.632l.14.06 1.816.675h.002a.67.67 0 0 1 0 1.255h-.002l-1.815.676-.141.061a1.42 1.42 0 0 0-.692.77l-.674 1.816-.001.002a.67.67 0 0 1-1.206.102l-.048-.102-.001-.002-.675-1.815-.06-.141a1.42 1.42 0 0 0-.772-.691h.001l-1.815-.675-.003-.001a.67.67 0 0 1 0-1.254l.003-.001 1.815-.674-.001-.001c.385-.144.688-.447.832-.832l.675-1.814zm4.49 3.868-.005-.01q-.004-.006-.01-.01l.014.02m-3.03-1.876q.038.097.084.19l-.082-.19-.676-1.816z\" /></symbol>"
|
|
108339
108431
|
});
|
|
108340
108432
|
var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default().add(symbol);
|
|
108341
108433
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (symbol);
|
|
@@ -110274,6 +110366,34 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
|
|
|
110274
110366
|
|
|
110275
110367
|
/***/ }),
|
|
110276
110368
|
|
|
110369
|
+
/***/ "./assets/icons/web_archive.svg":
|
|
110370
|
+
/*!**************************************!*\
|
|
110371
|
+
!*** ./assets/icons/web_archive.svg ***!
|
|
110372
|
+
\**************************************/
|
|
110373
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
110374
|
+
|
|
110375
|
+
"use strict";
|
|
110376
|
+
__webpack_require__.r(__webpack_exports__);
|
|
110377
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
110378
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
110379
|
+
/* harmony export */ });
|
|
110380
|
+
/* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/svg-baker-runtime/browser-symbol.js */ "./node_modules/svg-baker-runtime/browser-symbol.js");
|
|
110381
|
+
/* harmony import */ var _node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
110382
|
+
/* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../node_modules/svg-sprite-loader/runtime/browser-sprite.build.js */ "./node_modules/svg-sprite-loader/runtime/browser-sprite.build.js");
|
|
110383
|
+
/* harmony import */ var _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
110384
|
+
|
|
110385
|
+
|
|
110386
|
+
var symbol = new (_node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0___default())({
|
|
110387
|
+
"id": "web_archive_uikit_icon",
|
|
110388
|
+
"use": "web_archive_uikit_icon-usage",
|
|
110389
|
+
"viewBox": "0 0 17 13",
|
|
110390
|
+
"content": "<symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 13\" id=\"web_archive_uikit_icon\"><path fill=\"currentColor\" d=\"M15.786 0H1.214A1.214 1.214 0 0 0 0 1.214v1.822A1.214 1.214 0 0 0 1.214 4.25v6.679a1.214 1.214 0 0 0 1.215 1.214H14.57a1.215 1.215 0 0 0 1.215-1.214V4.25A1.214 1.214 0 0 0 17 3.036V1.214A1.214 1.214 0 0 0 15.786 0M10.32 7.286H6.68a.607.607 0 0 1 0-1.215h3.642a.607.607 0 1 1 0 1.215m5.465-4.25H1.214V1.214h14.572z\" /></symbol>"
|
|
110391
|
+
});
|
|
110392
|
+
var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WEBPACK_IMPORTED_MODULE_1___default().add(symbol);
|
|
110393
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (symbol);
|
|
110394
|
+
|
|
110395
|
+
/***/ }),
|
|
110396
|
+
|
|
110277
110397
|
/***/ "./assets/icons/web_scraper_api.svg":
|
|
110278
110398
|
/*!******************************************!*\
|
|
110279
110399
|
!*** ./assets/icons/web_scraper_api.svg ***!
|