ods-component-lib 1.18.47 → 1.18.49

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 CHANGED
@@ -16718,13 +16718,6 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
16718
16718
  }
16719
16719
  }
16720
16720
  }, []);
16721
- var renderTotalPaging = React.useCallback(function () {
16722
- var result = "";
16723
- if (totalPageCount > 1) {
16724
- result = props.customSummary.summaryTotalPageCountLabel + (":" + loadedPageCount + " / " + totalPageCount);
16725
- }
16726
- return result;
16727
- }, [loadedPageCount, totalPageCount]);
16728
16721
  var renderTotal = React.useCallback(function () {
16729
16722
  var result = "";
16730
16723
  var totalloaded = 0;
@@ -16741,12 +16734,15 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
16741
16734
  result = props.customSummary.summaryTotalDataLabel + " : " + props.customSummary.summaryTotalCount;
16742
16735
  result = concatFilteredLabel(result, totalloaded);
16743
16736
  }
16737
+ if (totalPageCount > 1) {
16738
+ result = result + " - " + props.customSummary.summaryTotalPageCountLabel + " " + loadedPageCount + " / " + totalPageCount;
16739
+ }
16744
16740
  return result;
16745
16741
  }, [data, filteredRowCount, loadedPageCount, props.pageSize, totalRecordCount, filterApplied]);
16746
16742
  var concatFilteredLabel = function concatFilteredLabel(result, totalloaded) {
16747
16743
  if (filteredRowCount > 0 && totalloaded !== filteredRowCount && filterApplied) {
16748
16744
  var filteredLabel = filteredRowCount + " " + props.customSummary.summaryFilteredDataLabel + "- ";
16749
- result = filteredLabel + " " + result;
16745
+ result = filteredLabel + " " + result + " ";
16750
16746
  }
16751
16747
  return result;
16752
16748
  };
@@ -16989,11 +16985,6 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
16989
16985
  summaryType: "custom",
16990
16986
  displayFormat: "customizeText",
16991
16987
  customizeText: renderTotal
16992
- }), React__default.createElement(DataGrid.TotalItem, {
16993
- column: columns[columns.length - 1].dataField,
16994
- summaryType: "custom",
16995
- displayFormat: "customizeText",
16996
- customizeText: renderTotalPaging
16997
16988
  })), React__default.createElement(DataGrid.StateStoring, {
16998
16989
  enabled: true,
16999
16990
  type: "custom",