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 +4 -13
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -13
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -16713,13 +16713,6 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16713
16713
|
}
|
|
16714
16714
|
}
|
|
16715
16715
|
}, []);
|
|
16716
|
-
var renderTotalPaging = useCallback(function () {
|
|
16717
|
-
var result = "";
|
|
16718
|
-
if (totalPageCount > 1) {
|
|
16719
|
-
result = props.customSummary.summaryTotalPageCountLabel + (":" + loadedPageCount + " / " + totalPageCount);
|
|
16720
|
-
}
|
|
16721
|
-
return result;
|
|
16722
|
-
}, [loadedPageCount, totalPageCount]);
|
|
16723
16716
|
var renderTotal = useCallback(function () {
|
|
16724
16717
|
var result = "";
|
|
16725
16718
|
var totalloaded = 0;
|
|
@@ -16736,12 +16729,15 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16736
16729
|
result = props.customSummary.summaryTotalDataLabel + " : " + props.customSummary.summaryTotalCount;
|
|
16737
16730
|
result = concatFilteredLabel(result, totalloaded);
|
|
16738
16731
|
}
|
|
16732
|
+
if (totalPageCount > 1) {
|
|
16733
|
+
result = result + " - " + props.customSummary.summaryTotalPageCountLabel + " " + loadedPageCount + " / " + totalPageCount;
|
|
16734
|
+
}
|
|
16739
16735
|
return result;
|
|
16740
16736
|
}, [data, filteredRowCount, loadedPageCount, props.pageSize, totalRecordCount, filterApplied]);
|
|
16741
16737
|
var concatFilteredLabel = function concatFilteredLabel(result, totalloaded) {
|
|
16742
16738
|
if (filteredRowCount > 0 && totalloaded !== filteredRowCount && filterApplied) {
|
|
16743
16739
|
var filteredLabel = filteredRowCount + " " + props.customSummary.summaryFilteredDataLabel + "- ";
|
|
16744
|
-
result = filteredLabel + " " + result;
|
|
16740
|
+
result = filteredLabel + " " + result + " ";
|
|
16745
16741
|
}
|
|
16746
16742
|
return result;
|
|
16747
16743
|
};
|
|
@@ -16984,11 +16980,6 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16984
16980
|
summaryType: "custom",
|
|
16985
16981
|
displayFormat: "customizeText",
|
|
16986
16982
|
customizeText: renderTotal
|
|
16987
|
-
}), React.createElement(TotalItem, {
|
|
16988
|
-
column: columns[columns.length - 1].dataField,
|
|
16989
|
-
summaryType: "custom",
|
|
16990
|
-
displayFormat: "customizeText",
|
|
16991
|
-
customizeText: renderTotalPaging
|
|
16992
16983
|
})), React.createElement(StateStoring, {
|
|
16993
16984
|
enabled: true,
|
|
16994
16985
|
type: "custom",
|