pds-dev-kit-web-test 2.7.204 → 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.
@@ -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
- // SAMPLE_SLIDEBANNER_CB,
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, CB_CONTENT_PROP_SLIDEBANNERDESIGN = props.CB_CONTENT_PROP_SLIDEBANNERDESIGN, CB_CONTENT_PROP_SLIDEBANNERPAGINATION = props.CB_CONTENT_PROP_SLIDEBANNERPAGINATION, CB_CONTENT_PROP_SLIDEBANNERBUTTON = props.CB_CONTENT_PROP_SLIDEBANNERBUTTON, CB_CONTENT_PROP_SLIDEBANNERPLAYBACKMETHOD = props.CB_CONTENT_PROP_SLIDEBANNERPLAYBACKMETHOD, CB_CONTENT_PROP_SLIDEBANNERPROGRESSBAR = props.CB_CONTENT_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;
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({}, CB_CONTENT_PROP_SLIDEBANNERDESIGN), CB_CONTENT_PROP_SLIDEBANNERPAGINATION), CB_CONTENT_PROP_SLIDEBANNERBUTTON), CB_CONTENT_PROP_SLIDEBANNERPLAYBACKMETHOD), CB_CONTENT_PROP_SLIDEBANNERPROGRESSBAR);
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',
@@ -55,8 +55,8 @@ exports.getCustomProgressbarPropKey = getCustomProgressbarPropKey;
55
55
  function getCustomPaginationPropKey(key) {
56
56
  var baseKey = key.split(':')[0];
57
57
  var keyMapping = {
58
- CB_STYLE_PROP_SLIDEBANNERDESIGN_SPEC_PAGINATIONSTYLE: 'type',
59
- CB_STYLE_PROP_SLIDEBANNERDESIGN_SPEC_PAGINATIONSIZE: 'size',
58
+ CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSTYLE: 'type',
59
+ CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSIZE: 'size',
60
60
  CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONLOCATION: 'location',
61
61
  CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONPRIMARYCOLOR: 'primaryColor',
62
62
  CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSECONDARYCOLOR: 'secondaryColor'
@@ -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
- CB_CONTENT_PROP_SLIDEBANNERDESIGN: CB_STYLE_PROP_SLIDEBANNERDESIGN_SPECS;
157
- CB_CONTENT_PROP_SLIDEBANNERPAGINATION: CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPECS;
158
- CB_CONTENT_PROP_SLIDEBANNERBUTTON: CB_STYLE_PROP_SLIDEBANNERBUTTON_SPECS;
159
- CB_CONTENT_PROP_SLIDEBANNERPLAYBACKMETHOD: CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD_SPECS;
160
- CB_CONTENT_PROP_SLIDEBANNERPROGRESSBAR: CB_STYLE_PROP_SLIDEBANNERPROGRESSBAR_SPECS;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.204",
3
+ "version": "2.7.207",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",