pds-dev-kit-web-test 2.7.309 → 2.7.311
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/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +4 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +3 -3
- package/dist/src/sub/DynamicLayout/mock_section.json +6366 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +9 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { type CB_CONTENTSCAROUSEL } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
2
3
|
import type { CB_STYLE_PROP_CONTENTSCAROUSELBUTTON_SPEC_PREVBTNSTYLE_TYPE, INSET_POSTIION, OUTSET_POSTIION } from './types';
|
|
3
|
-
import type { CB_CONTENTSCAROUSEL } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
4
4
|
import type { CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
5
5
|
type Props = CB_CONTENTSCAROUSEL_PROPERTIES_TYPE & IndexForIntersection & {
|
|
6
6
|
compositions: CB_CONTENTSCAROUSEL['compositions'];
|
|
@@ -34,6 +34,7 @@ var CustomSectionBackgroundMedia_1 = require("../../../../../../../DynamicLayout
|
|
|
34
34
|
var createCompositions_1 = require("../../../../../../../DynamicLayout/CompositionRenderer/createCompositions");
|
|
35
35
|
var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
|
|
36
36
|
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
|
37
|
+
var types_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/types");
|
|
37
38
|
var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
|
|
38
39
|
var isNullOrUndefined_1 = __importDefault(require("../../../../../../../DynamicLayout/sections/CustomSection/util/isNullOrUndefined"));
|
|
39
40
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
@@ -178,7 +179,8 @@ function ContentsCarousel(props) {
|
|
|
178
179
|
queryPath: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA,
|
|
179
180
|
limit: displayCounts,
|
|
180
181
|
queryData: queryData,
|
|
181
|
-
compositions: orderedCompositions
|
|
182
|
+
compositions: orderedCompositions,
|
|
183
|
+
componentBlockCode: types_1.CB_ALL_CODES.CB_CONTENTSCAROUSEL
|
|
182
184
|
}) }), CB_EFFECT_PROP_CONTENTSCAROUSEL_SPEC_TRANSITIONTYPE +
|
|
183
185
|
autoPlayEnabled +
|
|
184
186
|
orderedCompositions.length) })) }))) : ((0, jsx_runtime_1.jsx)(EmptyString, {}))] })) }))] }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { type CB_LIST } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
2
3
|
import type { OUTSET_POSTIION, INSET_POSTIION, CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE } from './types';
|
|
3
|
-
import type { CB_LIST } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
4
4
|
import type { CB_LIST_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
5
5
|
type Props = CB_LIST_PROPERTIES_TYPE & IndexForIntersection & {
|
|
6
6
|
compositions: CB_LIST['compositions'];
|
|
@@ -35,11 +35,13 @@ var CustomSectionBackgroundMedia_1 = require("../../../../../../../DynamicLayout
|
|
|
35
35
|
var createCompositions_1 = require("../../../../../../../DynamicLayout/CompositionRenderer/createCompositions");
|
|
36
36
|
var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
|
|
37
37
|
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
|
38
|
+
var types_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/types");
|
|
38
39
|
var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
|
|
39
40
|
var isNullOrUndefined_1 = __importDefault(require("../../../../../../../DynamicLayout/sections/CustomSection/util/isNullOrUndefined"));
|
|
40
41
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
41
42
|
var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
|
|
42
43
|
var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
|
|
44
|
+
var S_HeightFitContentCover_1 = require("../components/S_HeightFitContentCover");
|
|
43
45
|
var CustomPagination_1 = require("./components/CustomPagination");
|
|
44
46
|
var contentsListUtils_1 = require("./contentsListUtils");
|
|
45
47
|
var useFlexGridLayout_1 = require("./hooks/useFlexGridLayout");
|
|
@@ -170,7 +172,11 @@ function ContentsList(props) {
|
|
|
170
172
|
.map(function (item) {
|
|
171
173
|
return compositions.find(function (comp) { return comp.ccbManualItemUuid === item.uuid; });
|
|
172
174
|
});
|
|
173
|
-
|
|
175
|
+
var heightFitContentByDevice = device === 'DESKTOP'
|
|
176
|
+
? CB_STYLE_PROP_CONTENTSLIST.CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMHEIGHTFITCONTENT
|
|
177
|
+
: CB_STYLE_PROP_CONTENTSLIST['CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMHEIGHTFITCONTENT:MOBILE'];
|
|
178
|
+
var isEditModeAndHeightFitContent = heightFitContentByDevice && mode === 'EDIT';
|
|
179
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHeightFitContent && ((0, jsx_runtime_1.jsx)(S_HeightFitContentCover_1.S_HeightFitContentCover, { bottomText: "<\uC774\uAC70 \uBB34\uC870\uAC74 \uB2E4\uBCF4\uC784>" })), Object.entries(componentGroups).map(function (_a) {
|
|
174
180
|
var position = _a[0], groupComponents = _a[1];
|
|
175
181
|
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "cb-contentslist-button-group ccb-elements", ref: function (el) {
|
|
176
182
|
if (el) {
|
|
@@ -193,7 +199,8 @@ function ContentsList(props) {
|
|
|
193
199
|
queryPath: CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA,
|
|
194
200
|
limit: displayCounts,
|
|
195
201
|
queryData: queryData,
|
|
196
|
-
compositions: orderedCompositions
|
|
202
|
+
compositions: orderedCompositions,
|
|
203
|
+
componentBlockCode: types_1.CB_ALL_CODES.CB_LIST
|
|
197
204
|
}).slice(startIndex, endIndex + 1) })) }))) : ((0, jsx_runtime_1.jsx)(EmptyString, {}))] })) }))] }));
|
|
198
205
|
}
|
|
199
206
|
function getIsBgMedia(isMobile, specs) {
|
|
@@ -28,9 +28,7 @@ export type CB_STYLE_PROP_CONTENTSLISTDESIGN_SPECS = CB_STYLE_PROP_CONTENTSLISTD
|
|
|
28
28
|
'CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMLINEHEIGHT:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE;
|
|
29
29
|
'CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMLINEHEIGHT:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE;
|
|
30
30
|
'CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMLINEHEIGHT:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE;
|
|
31
|
-
'CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMHEIGHTFITCONTENT:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE;
|
|
32
31
|
'CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMHEIGHTFITCONTENT:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE;
|
|
33
|
-
'CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMHEIGHTFITCONTENT:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE;
|
|
34
32
|
};
|
|
35
33
|
export type CB_STYLE_PROP_CONTENTSLISTPAGINATION_BASE_SPECS = {
|
|
36
34
|
CB_STYLE_PROP_CONTENTSLISTPAGINATION_SPEC_PAGINATIONSTYLE: CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { type CB_SLIDEBANNER } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
2
3
|
import type { CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE, INSET_POSTIION, OUTSET_POSTIION } from './types';
|
|
3
|
-
import type { CB_SLIDEBANNER } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
4
4
|
import type { CB_SLIDEBANNER_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
5
5
|
type Props = CB_SLIDEBANNER_PROPERTIES_TYPE & IndexForIntersection & {
|
|
6
6
|
compositions: CB_SLIDEBANNER['compositions'];
|
|
@@ -34,6 +34,7 @@ var CustomSectionBackgroundMedia_1 = require("../../../../../../../DynamicLayout
|
|
|
34
34
|
var createCompositions_1 = require("../../../../../../../DynamicLayout/CompositionRenderer/createCompositions");
|
|
35
35
|
var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
|
|
36
36
|
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
|
37
|
+
var types_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/types");
|
|
37
38
|
var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
|
|
38
39
|
var isNullOrUndefined_1 = __importDefault(require("../../../../../../../DynamicLayout/sections/CustomSection/util/isNullOrUndefined"));
|
|
39
40
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
@@ -162,7 +163,8 @@ function SlideBanner(props) {
|
|
|
162
163
|
queryPath: CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA,
|
|
163
164
|
limit: CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS,
|
|
164
165
|
queryData: queryData,
|
|
165
|
-
compositions: orderedCompositions
|
|
166
|
+
compositions: orderedCompositions,
|
|
167
|
+
componentBlockCode: types_1.CB_ALL_CODES.CB_SLIDEBANNER
|
|
166
168
|
}) }), CB_EFFECT_PROP_SLIDEBANNER_SPEC_TRANSITIONTYPE +
|
|
167
169
|
autoPlayEnabled +
|
|
168
170
|
orderedCompositions.length) })) }))) : ((0, jsx_runtime_1.jsx)(EmptyString, {}))] })) }))] }));
|
|
@@ -33,7 +33,7 @@ var react_2 = require("swiper/react");
|
|
|
33
33
|
var StyledSwiper_1 = __importDefault(require("../../../StyledSwiper/StyledSwiper"));
|
|
34
34
|
var SlideBannerCore = (0, react_1.forwardRef)(function (_a, ref) {
|
|
35
35
|
var styles = _a.styles, slidesPerView = _a.slidesPerView, children = _a.children, props = __rest(_a, ["styles", "slidesPerView", "children"]);
|
|
36
|
-
return ((0, jsx_runtime_1.jsx)(StyledSwiper_1.default, __assign({ id: "styled-swiper-wrapper" }, { children: (0, jsx_runtime_1.jsx)(react_2.Swiper, __assign({ ref: ref, style: {
|
|
36
|
+
return ((0, jsx_runtime_1.jsx)(StyledSwiper_1.default, __assign({ id: "styled-swiper-wrapper", style: { height: '100%' } }, { children: (0, jsx_runtime_1.jsx)(react_2.Swiper, __assign({ ref: ref, style: {
|
|
37
37
|
width: '100%',
|
|
38
38
|
height: '100%'
|
|
39
39
|
}, slidesPerView: slidesPerView, scrollbar: styles.scrollbar, freeMode: styles.freeMode, autoplay: styles.useAutoplay ? styles.autoplay : false, loop: styles.loop, modules: [
|