pds-dev-kit-web-test 2.7.310 → 2.7.312
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 +5 -2
- 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 +3 -1
- 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,6 +35,7 @@ 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"));
|
|
@@ -198,7 +199,8 @@ function ContentsList(props) {
|
|
|
198
199
|
queryPath: CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA,
|
|
199
200
|
limit: displayCounts,
|
|
200
201
|
queryData: queryData,
|
|
201
|
-
compositions: orderedCompositions
|
|
202
|
+
compositions: orderedCompositions,
|
|
203
|
+
componentBlockCode: types_1.CB_ALL_CODES.CB_LIST
|
|
202
204
|
}).slice(startIndex, endIndex + 1) })) }))) : ((0, jsx_runtime_1.jsx)(EmptyString, {}))] })) }))] }));
|
|
203
205
|
}
|
|
204
206
|
function getIsBgMedia(isMobile, specs) {
|
|
@@ -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: [
|