pds-dev-kit-web-test 2.7.449 → 2.7.452
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.
|
@@ -81,7 +81,7 @@ function ContentsList(props) {
|
|
|
81
81
|
: CB_CONTENT_PROP_CONTENTSLIST_SPEC_MCOLUMNS;
|
|
82
82
|
var displayCounts = device === 'DESKTOP'
|
|
83
83
|
? CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS
|
|
84
|
-
: CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS
|
|
84
|
+
: CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS;
|
|
85
85
|
var totalPage = Math.ceil((CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE === 'DATA' && queryDataValue
|
|
86
86
|
? queryDataValue === null || queryDataValue === void 0 ? void 0 : queryDataValue.length
|
|
87
87
|
: CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS.length) / displayCounts);
|
|
@@ -137,8 +137,8 @@ function ContentsList(props) {
|
|
|
137
137
|
CB_LAYOUT_PROP_PADDING.CB_LAYOUT_PROP_PADDING_SPEC_PADDING.bottom;
|
|
138
138
|
var queryPath = removeFirstSegment(CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA);
|
|
139
139
|
var queryLength = (_f = (_e = queryData === null || queryData === void 0 ? void 0 : queryData[queryPath]) === null || _e === void 0 ? void 0 : _e.length) !== null && _f !== void 0 ? _f : 0;
|
|
140
|
-
|
|
141
|
-
var numberOfRows = Math.ceil(
|
|
140
|
+
// const displayedItemLength = Math.max(0, Math.min(endIndex, queryLength) - startIndex);
|
|
141
|
+
var numberOfRows = Math.ceil(displayCounts / numberOfColumns);
|
|
142
142
|
var listMinWidth = oneCompositionMinWidth * numberOfColumns + (numberOfColumns - 1) * columnGap + paddingLR;
|
|
143
143
|
var listMinHeight = oneCompositionMinHeight * numberOfRows +
|
|
144
144
|
(numberOfRows - 1) * rowGap +
|