pds-dev-kit-web-test 2.7.550 → 2.7.551
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,11 +49,6 @@ function CustomSectionBackground(_a) {
|
|
|
49
49
|
var isBgMedia = getIsBgMedia(isMobile, CB_STYLE_PROP_BGMEDIA);
|
|
50
50
|
var mediaType = getMediaType(isMobile, CB_STYLE_PROP_BGMEDIA);
|
|
51
51
|
var _d = extractBorderStyle(style), borderStyleProps = _d.borderStyleProps, borderRadiusStyle = _d.borderRadiusStyle, remainingStyle = _d.remainingStyle;
|
|
52
|
-
if (id === 15772) {
|
|
53
|
-
console.log('style', data.CB_STYLE_PROP_BORDER);
|
|
54
|
-
console.log('jsonProperties', jsonProperties);
|
|
55
|
-
console.log('borderStyleProps', borderStyleProps);
|
|
56
|
-
}
|
|
57
52
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isOverlay && CB_STYLE_PROP_BGOVERLAY && ((0, jsx_runtime_1.jsx)(S_CustomBackgroundOverlay, { className: "Overlay", style: __assign(__assign({}, overlayStyle), borderRadiusStyle) })), (0, jsx_runtime_1.jsx)(S_CustomBackgroundWrapper, __assign({ className: "CustomSection", ref: backgroundRef, style: __assign(__assign(__assign({}, effect), borderStyleProps), { background: style.background }) }, { children: isBgMedia && CB_STYLE_PROP_BGMEDIA && ((0, jsx_runtime_1.jsx)(CustomSectionBackgroundMedia_1.CustomSectionBackgroundMedia, { specs: CB_STYLE_PROP_BGMEDIA, componentStyle: remainingStyle, playerId: id, mediaType: mediaType || 'NONE', device: isMobile ? 'MOBILE' : 'DESKTOP', backgroundRef: backgroundRef })) }))] }));
|
|
58
53
|
}
|
|
59
54
|
function extractBorderStyle(style) {
|
|
@@ -106,8 +106,8 @@ function ContentsCarousel(props) {
|
|
|
106
106
|
: compositions.filter(function (comp) { return !comp.ccbManualItemUuid; });
|
|
107
107
|
var childrenLength = CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE === 'VALUE'
|
|
108
108
|
? orderedCompositions.length
|
|
109
|
-
:
|
|
110
|
-
var loop = contentsCarouselNormalStyle.loop &&
|
|
109
|
+
: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS;
|
|
110
|
+
var loop = contentsCarouselNormalStyle.loop && orderedCompositions.length > displayCounts;
|
|
111
111
|
// NOTE: edit모드에서는 그리드의 이벤트만 작동하도록 CB의 포인터 이벤트는 막습니다.
|
|
112
112
|
var editModeStyle = mode === 'EDIT' ? { pointerEvents: 'none' } : {};
|
|
113
113
|
// NOTE: EFFECT와 관련된 함수들입니다.
|