material-react-table 0.7.0-alpha.4 → 0.7.0-alpha.5

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.
@@ -2904,18 +2904,18 @@ var MRT_TableRoot = function MRT_TableRoot(props) {
2904
2904
  }, [props.data, props.isLoading]); //@ts-ignore
2905
2905
 
2906
2906
  var tableInstance = reactTable.useTable(table, _extends({}, props, {
2907
- //@ts-ignore
2908
- filterTypes: defaultFilterFNs,
2909
- debugAll: false,
2910
- globalFilterType: currentGlobalFilterType,
2911
2907
  columnFilterRowsFn: reactTable.columnFilterRowsFn,
2912
2908
  columns: columns,
2913
2909
  data: data,
2910
+ debugAll: false,
2914
2911
  expandRowsFn: reactTable.expandRowsFn,
2912
+ //@ts-ignore
2913
+ filterTypes: defaultFilterFNs,
2915
2914
  getSubRows: (_props$getSubRows = props.getSubRows) != null ? _props$getSubRows : function (originalRow) {
2916
2915
  return originalRow.subRows;
2917
2916
  },
2918
2917
  globalFilterRowsFn: reactTable.globalFilterRowsFn,
2918
+ globalFilterType: currentGlobalFilterType,
2919
2919
  groupRowsFn: reactTable.groupRowsFn,
2920
2920
  idPrefix: idPrefix,
2921
2921
  onPaginationChange: function onPaginationChange(updater) {
@@ -2950,6 +2950,12 @@ var MRT_TableRoot = function MRT_TableRoot(props) {
2950
2950
  };
2951
2951
 
2952
2952
  var _excluded$5 = ["enableColumnActions", "enableColumnFilters", "enableDensePaddingToggle", "enableExpandAll", "enableFullScreenToggle", "enableGlobalFilter", "enableHiding", "enablePagination", "enableSelectAll", "enableSorting", "enableStickyHeader", "icons", "localization", "positionActionsColumn", "positionPagination", "positionToolbarActions", "positionToolbarAlertBanner"];
2953
+
2954
+ window.performance = window.performance || {
2955
+ now: function now() {
2956
+ return new Date().getTime();
2957
+ }
2958
+ };
2953
2959
  var MaterialReactTable = (function (_ref) {
2954
2960
  var _ref$enableColumnActi = _ref.enableColumnActions,
2955
2961
  enableColumnActions = _ref$enableColumnActi === void 0 ? true : _ref$enableColumnActi,