pds-dev-kit-web-test 2.5.672 → 2.5.674
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.
@@ -49,6 +49,7 @@ var createComponent = function (type, getDesignType, getLocation) {
|
|
49
49
|
function ContentsList(props) {
|
50
50
|
var _a, _b, _c, _d;
|
51
51
|
var _e = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _e.device, mode = _e.mode, queryData = _e.queryData;
|
52
|
+
console.log(queryData);
|
52
53
|
var index = props.index, compositions = props.compositions, CB_CONTENT_PROP_CONTENTSLIST = props.CB_CONTENT_PROP_CONTENTSLIST, CB_STYLE_PROP_CONTENTSLIST = props.CB_STYLE_PROP_CONTENTSLIST, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM, CB_LAYOUT_PROP_PADDING = props.CB_LAYOUT_PROP_PADDING, CB_STYLE_PROP_BGMEDIA = props.CB_STYLE_PROP_BGMEDIA;
|
53
54
|
var CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS, CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS, CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE, CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA, CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS;
|
54
55
|
var _f = (0, react_1.useState)(false), isHovered = _f[0], setIsHovered = _f[1];
|
@@ -89,9 +90,6 @@ function ContentsList(props) {
|
|
89
90
|
setCurrentPage(page);
|
90
91
|
};
|
91
92
|
var displayCounts = CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS !== null && CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS !== void 0 ? CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS : CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS;
|
92
|
-
console.log('CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS:', CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS);
|
93
|
-
console.log('CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS:', CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS);
|
94
|
-
console.log('displayCounts:', displayCounts);
|
95
93
|
var startIndex = (currentPage - 1) * displayCounts;
|
96
94
|
var endIndex = startIndex + displayCounts;
|
97
95
|
// list의 minheight / minwidth를 계산
|