pds-dev-kit-web-test 2.7.205 → 2.7.207
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/mock_slideBanner.d.ts +2930 -176
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +3990 -236
- package/dist/src/sub/DynamicLayout/mocks.js +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +3 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +5 -5
- package/package.json +1 -1
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOCK_SECTIONS = void 0;
|
4
4
|
var mock_contentsCarousel_1 = require("./mock_contentsCarousel");
|
5
5
|
var mock_contentsList_1 = require("./mock_contentsList");
|
6
|
+
var mock_slideBanner_1 = require("./mock_slideBanner");
|
6
7
|
exports.MOCK_SECTIONS = [
|
7
8
|
{
|
8
9
|
administrativeTitle: 'Daily Pages',
|
@@ -11,7 +12,7 @@ exports.MOCK_SECTIONS = [
|
|
11
12
|
// MOCK_VIDEO_CB,
|
12
13
|
// MOCK_VIDEO_CB_2,
|
13
14
|
mock_contentsCarousel_1.SAMPLE_CONTENTSCAROUSEL_CB,
|
14
|
-
|
15
|
+
mock_slideBanner_1.SAMPLE_SLIDEBANNER_CB,
|
15
16
|
mock_contentsList_1.SAMPLE_LIST_CB
|
16
17
|
// ...MOCK_COMPONENT_BLOCKS
|
17
18
|
],
|
@@ -62,9 +62,9 @@ var createComponent = function (type, getDesignType, getLocation) {
|
|
62
62
|
};
|
63
63
|
function SlideBanner(props) {
|
64
64
|
var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode, queryData = _a.queryData;
|
65
|
-
var index = props.index, _b = props.CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS, CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE, CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA, CB_CONTENT_PROP_SLIDEBANNER_SPEC_MANUALITEMS = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_MANUALITEMS,
|
65
|
+
var index = props.index, _b = props.CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS, CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE, CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA, CB_CONTENT_PROP_SLIDEBANNER_SPEC_MANUALITEMS = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_MANUALITEMS, CB_STYLE_PROP_SLIDEBANNERDESIGN = props.CB_STYLE_PROP_SLIDEBANNERDESIGN, CB_STYLE_PROP_SLIDEBANNERPAGINATION = props.CB_STYLE_PROP_SLIDEBANNERPAGINATION, CB_STYLE_PROP_SLIDEBANNERBUTTON = props.CB_STYLE_PROP_SLIDEBANNERBUTTON, CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD = props.CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD, CB_STYLE_PROP_SLIDEBANNERPROGRESSBAR = props.CB_STYLE_PROP_SLIDEBANNERPROGRESSBAR, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM, CB_STYLE_PROP_BGMEDIA = props.CB_STYLE_PROP_BGMEDIA;
|
66
66
|
var compositions = props.compositions;
|
67
|
-
var CB_STYLE_PROP_SLIDEBANNER = __assign(__assign(__assign(__assign(__assign({},
|
67
|
+
var CB_STYLE_PROP_SLIDEBANNER = __assign(__assign(__assign(__assign(__assign({}, CB_STYLE_PROP_SLIDEBANNERDESIGN), CB_STYLE_PROP_SLIDEBANNERPAGINATION), CB_STYLE_PROP_SLIDEBANNERBUTTON), CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD), CB_STYLE_PROP_SLIDEBANNERPROGRESSBAR);
|
68
68
|
var _c = (0, util_1.parseProperties)(props, device), style = _c.style, hoverStyle = _c.hoverStyle, layout = _c.layout, overlayStyle = _c.overlayStyle, effect = _c.effect;
|
69
69
|
var _d = (0, slideBannerUtils_1.parseSlideBannerStyleToSlideBannerCoreProp)({
|
70
70
|
props: CB_STYLE_PROP_SLIDEBANNER,
|
@@ -111,6 +111,7 @@ function SlideBanner(props) {
|
|
111
111
|
var _k = (0, useFlexGridLayout_1.useFlexGridLayout)({ components: components }), layoutRef = _k.layoutRef, positionRefs = _k.positionRefs,
|
112
112
|
// ccbInset,
|
113
113
|
componentGroups = _k.componentGroups, getPositionStyle = _k.getPositionStyle, getComponentGroupLayout = _k.getComponentGroupLayout;
|
114
|
+
console.log(components);
|
114
115
|
var ccbInset = {
|
115
116
|
top: '0px',
|
116
117
|
right: '0px',
|
@@ -153,11 +153,11 @@ export type CB_EFFECT_PROP_CONTENTSCAROUSEL = {
|
|
153
153
|
};
|
154
154
|
export type CB_SLIDEBANNER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
155
155
|
CB_CONTENT_PROP_SLIDEBANNER: CB_CONTENT_PROP_SLIDEBANNER;
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
156
|
+
CB_STYLE_PROP_SLIDEBANNERDESIGN: CB_STYLE_PROP_SLIDEBANNERDESIGN_SPECS;
|
157
|
+
CB_STYLE_PROP_SLIDEBANNERPAGINATION: CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPECS;
|
158
|
+
CB_STYLE_PROP_SLIDEBANNERBUTTON: CB_STYLE_PROP_SLIDEBANNERBUTTON_SPECS;
|
159
|
+
CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD: CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD_SPECS;
|
160
|
+
CB_STYLE_PROP_SLIDEBANNERPROGRESSBAR: CB_STYLE_PROP_SLIDEBANNERPROGRESSBAR_SPECS;
|
161
161
|
CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
|
162
162
|
CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
|
163
163
|
CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
|