pds-dev-kit-web-test 2.5.411 → 2.5.413
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/index.d.ts +2 -2
- package/dist/index.js +2 -3
- package/dist/src/common/assets/icons/fill/Video.js +1 -1
- package/dist/src/common/assets/icons/fill/VideoOff.js +1 -1
- package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
- package/dist/src/common/assets/icons/fill/index.d.ts +0 -3
- package/dist/src/common/assets/icons/fill/index.js +1 -7
- package/dist/src/common/assets/icons/line/Video.js +1 -1
- package/dist/src/common/assets/icons/line/VideoOff.js +1 -1
- package/dist/src/common/assets/icons/line/VideoType.js +1 -1
- package/dist/src/common/assets/icons/line/index.d.ts +0 -12
- package/dist/src/common/assets/icons/line/index.js +1 -25
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +1 -2
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +4 -48
- package/dist/src/common/services/i18n/resources/en.json +1 -9
- package/dist/src/common/services/i18n/resources/es.json +1 -9
- package/dist/src/common/services/i18n/resources/fil.json +1 -9
- package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
- package/dist/src/common/services/i18n/resources/ja.json +1 -9
- package/dist/src/common/services/i18n/resources/ko.json +1 -9
- package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
- package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
- package/dist/src/common/styles/colorSet/UIColor.json +1 -14
- package/dist/src/common/styles/colorSet/index.d.ts +2 -31
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -3
- package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
- package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
- package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
- package/dist/src/desktop/components/Chip/Chip.js +5 -50
- package/dist/src/desktop/components/Radio/Radio.js +2 -2
- package/dist/src/desktop/components/TextField/TextField.js +15 -41
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
- package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -3
- package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
- package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
- package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
- package/dist/src/mobile/components/Chip/Chip.js +5 -50
- package/dist/src/mobile/components/Radio/Radio.js +2 -2
- package/dist/src/mobile/components/TextField/TextField.js +15 -41
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
- package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
- package/dist/src/mobile/components/index.d.ts +1 -2
- package/dist/src/mobile/components/index.js +1 -3
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +2 -3
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +4 -4
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +2 -2
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +10 -36
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -12
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/mock_composition.js +0 -4
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +274 -1047
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +222 -1008
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -810
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +268 -772
- package/dist/src/sub/DynamicLayout/mocks.d.ts +776 -2
- package/dist/src/sub/DynamicLayout/mocks.js +11 -4266
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +0 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +4 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +26 -102
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +1 -21
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +96 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +2 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +20 -26
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +23 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +98 -84
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +6 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +20 -32
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +132 -59
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +30 -24
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +5 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +13 -88
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +96 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +20 -26
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +23 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +67 -64
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +6 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +4 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +7 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +4 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +2 -15
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -1
- package/dist/src/sub/DynamicLayout/types.d.ts +1 -10
- package/package.json +3 -2
- package/release-note.md +3 -3
- package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/Cam.js +0 -30
- package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
- package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
- package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Cam.js +0 -30
- package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
- package/dist/src/common/assets/icons/line/CamOff.js +0 -30
- package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
- package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
- package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
- package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Radio.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
- package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
- package/dist/src/common/assets/icons/line/TextLong.js +0 -30
- package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
- package/dist/src/common/assets/icons/line/TextShort.js +0 -30
- package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
- package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
- package/dist/src/common/utils/dateHelper.d.ts +0 -13
- package/dist/src/common/utils/dateHelper.js +0 -87
- package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
- package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
- package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
- package/dist/src/mobile/components/DatePicker/Day.js +0 -94
- package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
- package/dist/src/mobile/components/DatePicker/index.js +0 -8
- package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
- package/dist/src/mobile/components/DatePicker/utils.js +0 -68
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
- package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
- package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -368
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -371
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -209
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -96
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -23
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -176
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -209
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -96
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -148
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -8
@@ -21,37 +21,39 @@ function parseSlideBannerStyleToSlideBannerCoreProp(_a) {
|
|
21
21
|
var props = _a.props, device = _a.device;
|
22
22
|
var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
|
23
23
|
return availableSpecCodes.reduce(function (acc, currentKey) {
|
24
|
-
var _a, _b, _c, _d;
|
24
|
+
var _a, _b, _c, _d, _e;
|
25
25
|
var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
|
26
26
|
var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
|
27
27
|
var slideBannerCorePropertyKey = getSlideBannerCorePropKey(currentKey);
|
28
28
|
if (slideBannerCorePropertyKey === 'customStyle') {
|
29
29
|
var value = props[keyWithDevice];
|
30
30
|
var hoverValue = props[keyWithHover];
|
31
|
+
if (hoverValue === null || hoverValue === undefined) {
|
32
|
+
return {
|
33
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_a = {}, _a[slideBannerCorePropertyKey] = getStyle(value), _a)),
|
34
|
+
hoverStyle: __assign({}, acc.hoverStyle)
|
35
|
+
};
|
36
|
+
}
|
31
37
|
return {
|
32
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), (
|
33
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), (
|
38
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_b = {}, _b[slideBannerCorePropertyKey] = getStyle(value), _b)),
|
39
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_c = {}, _c[slideBannerCorePropertyKey] = getStyle(hoverValue), _c))
|
34
40
|
};
|
35
41
|
}
|
36
42
|
if (slideBannerCorePropertyKey === 'useAutoplay') {
|
37
43
|
var value = props[keyWithDevice];
|
38
44
|
var hoverValue = props[keyWithHover];
|
39
45
|
return {
|
40
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { useAutoplay: value }),
|
41
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay: hoverValue
|
46
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { useAutoplay: value === true }),
|
47
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay: hoverValue === true })
|
42
48
|
};
|
43
49
|
}
|
44
50
|
if (slideBannerCorePropertyKey === 'autoplayDelay') {
|
45
51
|
var value = props[keyWithDevice];
|
46
52
|
var hoverValue = props[keyWithHover];
|
47
53
|
return {
|
48
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: {
|
49
|
-
delay: value * 1000,
|
50
|
-
disableOnInteraction: false,
|
51
|
-
pauseOnMouseEnter: true
|
52
|
-
} }),
|
54
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: { delay: value * 1000, disableOnInteraction: false, pauseOnMouseEnter: true } }),
|
53
55
|
hoverStyle: __assign(__assign({}, acc.hoverStyle), { autoplay: {
|
54
|
-
delay:
|
56
|
+
delay: hoverValue * 1000,
|
55
57
|
disableOnInteraction: false,
|
56
58
|
pauseOnMouseEnter: true
|
57
59
|
} })
|
@@ -61,8 +63,8 @@ function parseSlideBannerStyleToSlideBannerCoreProp(_a) {
|
|
61
63
|
var value = props[keyWithDevice];
|
62
64
|
var hoverValue = props[keyWithHover];
|
63
65
|
return {
|
64
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), (
|
65
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), (
|
66
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_d = {}, _d[slideBannerCorePropertyKey] = value === false ? false : true, _d)),
|
67
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_e = {}, _e[slideBannerCorePropertyKey] = hoverValue === false ? false : true, _e))
|
66
68
|
};
|
67
69
|
}
|
68
70
|
return {
|
@@ -107,10 +109,11 @@ function getStyle(value) {
|
|
107
109
|
case 'DESIGN1':
|
108
110
|
return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
|
109
111
|
case 'DESIGN2': {
|
110
|
-
|
112
|
+
var overlayEffect = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "], ["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "])));
|
113
|
+
return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "], ["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "])), overlayEffect, overlayEffect);
|
111
114
|
}
|
112
115
|
default: {
|
113
|
-
return (0, styled_components_1.css)(
|
116
|
+
return (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
|
114
117
|
}
|
115
118
|
}
|
116
119
|
}
|
@@ -126,7 +129,7 @@ function parseSlideBannerStyleToCustomPaginationProp(_a) {
|
|
126
129
|
var hoverValue = props[keyWithHover];
|
127
130
|
return {
|
128
131
|
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
129
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue
|
132
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
130
133
|
};
|
131
134
|
}
|
132
135
|
if (customPaginationPropertyKey === 'offset') {
|
@@ -134,7 +137,7 @@ function parseSlideBannerStyleToCustomPaginationProp(_a) {
|
|
134
137
|
var hoverValue = props[keyWithHover];
|
135
138
|
return {
|
136
139
|
normalStyle: __assign(__assign({}, acc.normalStyle), { offset: getCustomPaginationOffset(value) }),
|
137
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue
|
140
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue) })
|
138
141
|
};
|
139
142
|
}
|
140
143
|
if (customPaginationPropertyKey === 'size') {
|
@@ -142,7 +145,7 @@ function parseSlideBannerStyleToCustomPaginationProp(_a) {
|
|
142
145
|
var hoverValue = props[keyWithHover];
|
143
146
|
return {
|
144
147
|
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomPaginationSize(value) }),
|
145
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue
|
148
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue) })
|
146
149
|
};
|
147
150
|
}
|
148
151
|
return {
|
@@ -256,7 +259,7 @@ function getCustomPaginationOffset(value) {
|
|
256
259
|
return {
|
257
260
|
top: '100%',
|
258
261
|
left: '0px',
|
259
|
-
translateX: -
|
262
|
+
translateX: -50,
|
260
263
|
translateY: -100,
|
261
264
|
transformOrigin: 'right top'
|
262
265
|
};
|
@@ -264,7 +267,7 @@ function getCustomPaginationOffset(value) {
|
|
264
267
|
return {
|
265
268
|
top: '50%',
|
266
269
|
left: '0px',
|
267
|
-
translateX: -
|
270
|
+
translateX: -50,
|
268
271
|
translateY: -50,
|
269
272
|
transformOrigin: 'right top'
|
270
273
|
};
|
@@ -272,13 +275,13 @@ function getCustomPaginationOffset(value) {
|
|
272
275
|
return {
|
273
276
|
top: '0px',
|
274
277
|
left: '0px',
|
275
|
-
translateX: -
|
278
|
+
translateX: -50,
|
276
279
|
translateY: 0,
|
277
280
|
transformOrigin: 'right top'
|
278
281
|
};
|
279
|
-
case '
|
282
|
+
case 'INSET13':
|
280
283
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
281
|
-
case '
|
284
|
+
case 'INSET14':
|
282
285
|
return {
|
283
286
|
top: '0px',
|
284
287
|
left: '50%',
|
@@ -286,7 +289,7 @@ function getCustomPaginationOffset(value) {
|
|
286
289
|
translateY: 0,
|
287
290
|
transformOrigin: 'left top'
|
288
291
|
};
|
289
|
-
case '
|
292
|
+
case 'INSET15':
|
290
293
|
return {
|
291
294
|
top: '0px',
|
292
295
|
left: '100%',
|
@@ -294,7 +297,7 @@ function getCustomPaginationOffset(value) {
|
|
294
297
|
translateY: 0,
|
295
298
|
transformOrigin: 'left top'
|
296
299
|
};
|
297
|
-
case '
|
300
|
+
case 'INSET16':
|
298
301
|
return {
|
299
302
|
top: '50%',
|
300
303
|
left: '100%',
|
@@ -302,7 +305,7 @@ function getCustomPaginationOffset(value) {
|
|
302
305
|
translateY: -50,
|
303
306
|
transformOrigin: 'left top'
|
304
307
|
};
|
305
|
-
case '
|
308
|
+
case 'INSET17':
|
306
309
|
return {
|
307
310
|
top: '100%',
|
308
311
|
left: '100%',
|
@@ -310,7 +313,7 @@ function getCustomPaginationOffset(value) {
|
|
310
313
|
translateY: -100,
|
311
314
|
transformOrigin: 'left top'
|
312
315
|
};
|
313
|
-
case '
|
316
|
+
case 'INSET18':
|
314
317
|
return {
|
315
318
|
top: '100%',
|
316
319
|
left: '50%',
|
@@ -318,7 +321,7 @@ function getCustomPaginationOffset(value) {
|
|
318
321
|
translateY: -100,
|
319
322
|
transformOrigin: 'left top'
|
320
323
|
};
|
321
|
-
case '
|
324
|
+
case 'INSET19':
|
322
325
|
return {
|
323
326
|
top: '100%',
|
324
327
|
left: '0px',
|
@@ -326,7 +329,7 @@ function getCustomPaginationOffset(value) {
|
|
326
329
|
translateY: -100,
|
327
330
|
transformOrigin: 'top left'
|
328
331
|
};
|
329
|
-
case '
|
332
|
+
case 'INSET20':
|
330
333
|
return {
|
331
334
|
top: '50%',
|
332
335
|
left: '0px',
|
@@ -343,9 +346,9 @@ function getCustomPaginationSize(value) {
|
|
343
346
|
case 'SMALL':
|
344
347
|
return 1;
|
345
348
|
case 'MEDIUM':
|
346
|
-
return 1.5;
|
347
|
-
case 'LARGE':
|
348
349
|
return 2;
|
350
|
+
case 'LARGE':
|
351
|
+
return 3;
|
349
352
|
default:
|
350
353
|
return 1;
|
351
354
|
}
|
@@ -362,7 +365,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
362
365
|
var hoverValue = props[keyWithHover];
|
363
366
|
return {
|
364
367
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnType: value }),
|
365
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue
|
368
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue })
|
366
369
|
};
|
367
370
|
}
|
368
371
|
if (customNavigationPropertyKey === 'prevBtnOffset') {
|
@@ -370,7 +373,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
370
373
|
var hoverValue = props[keyWithHover];
|
371
374
|
return {
|
372
375
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnOffset: getCustomNavigationOffset(value) }),
|
373
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue
|
376
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue) })
|
374
377
|
};
|
375
378
|
}
|
376
379
|
if (customNavigationPropertyKey === 'prevBtnSize') {
|
@@ -378,7 +381,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
378
381
|
var hoverValue = props[keyWithHover];
|
379
382
|
return {
|
380
383
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSize: getCustomNavigationSize(value) }),
|
381
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue
|
384
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue) })
|
382
385
|
};
|
383
386
|
}
|
384
387
|
if (customNavigationPropertyKey === 'nextBtnType') {
|
@@ -386,7 +389,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
386
389
|
var hoverValue = props[keyWithHover];
|
387
390
|
return {
|
388
391
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnType: value }),
|
389
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue
|
392
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue })
|
390
393
|
};
|
391
394
|
}
|
392
395
|
if (customNavigationPropertyKey === 'nextBtnOffset') {
|
@@ -394,7 +397,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
394
397
|
var hoverValue = props[keyWithHover];
|
395
398
|
return {
|
396
399
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnOffset: getCustomNavigationOffset(value) }),
|
397
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue
|
400
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue) })
|
398
401
|
};
|
399
402
|
}
|
400
403
|
if (customNavigationPropertyKey === 'nextBtnSize') {
|
@@ -402,7 +405,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
402
405
|
var hoverValue = props[keyWithHover];
|
403
406
|
return {
|
404
407
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSize: getCustomNavigationSize(value) }),
|
405
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue
|
408
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue) })
|
406
409
|
};
|
407
410
|
}
|
408
411
|
return {
|
@@ -531,7 +534,7 @@ function getCustomNavigationOffset(value) {
|
|
531
534
|
return {
|
532
535
|
top: '100%',
|
533
536
|
left: '0px',
|
534
|
-
translateX: -
|
537
|
+
translateX: -50,
|
535
538
|
translateY: -100,
|
536
539
|
transformOrigin: 'right top'
|
537
540
|
};
|
@@ -539,7 +542,7 @@ function getCustomNavigationOffset(value) {
|
|
539
542
|
return {
|
540
543
|
top: '50%',
|
541
544
|
left: '0px',
|
542
|
-
translateX: -
|
545
|
+
translateX: -50,
|
543
546
|
translateY: -50,
|
544
547
|
transformOrigin: 'right top'
|
545
548
|
};
|
@@ -547,13 +550,13 @@ function getCustomNavigationOffset(value) {
|
|
547
550
|
return {
|
548
551
|
top: '0px',
|
549
552
|
left: '0px',
|
550
|
-
translateX: -
|
553
|
+
translateX: -50,
|
551
554
|
translateY: 0,
|
552
555
|
transformOrigin: 'right top'
|
553
556
|
};
|
554
|
-
case '
|
557
|
+
case 'INSET13':
|
555
558
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
556
|
-
case '
|
559
|
+
case 'INSET14':
|
557
560
|
return {
|
558
561
|
top: '0px',
|
559
562
|
left: '50%',
|
@@ -561,7 +564,7 @@ function getCustomNavigationOffset(value) {
|
|
561
564
|
translateY: 0,
|
562
565
|
transformOrigin: 'left top'
|
563
566
|
};
|
564
|
-
case '
|
567
|
+
case 'INSET15':
|
565
568
|
return {
|
566
569
|
top: '0px',
|
567
570
|
left: '100%',
|
@@ -569,7 +572,7 @@ function getCustomNavigationOffset(value) {
|
|
569
572
|
translateY: 0,
|
570
573
|
transformOrigin: 'left top'
|
571
574
|
};
|
572
|
-
case '
|
575
|
+
case 'INSET16':
|
573
576
|
return {
|
574
577
|
top: '50%',
|
575
578
|
left: '100%',
|
@@ -577,7 +580,7 @@ function getCustomNavigationOffset(value) {
|
|
577
580
|
translateY: -50,
|
578
581
|
transformOrigin: 'left top'
|
579
582
|
};
|
580
|
-
case '
|
583
|
+
case 'INSET17':
|
581
584
|
return {
|
582
585
|
top: '100%',
|
583
586
|
left: '100%',
|
@@ -585,7 +588,7 @@ function getCustomNavigationOffset(value) {
|
|
585
588
|
translateY: -100,
|
586
589
|
transformOrigin: 'left top'
|
587
590
|
};
|
588
|
-
case '
|
591
|
+
case 'INSET18':
|
589
592
|
return {
|
590
593
|
top: '100%',
|
591
594
|
left: '50%',
|
@@ -593,7 +596,7 @@ function getCustomNavigationOffset(value) {
|
|
593
596
|
translateY: -100,
|
594
597
|
transformOrigin: 'left top'
|
595
598
|
};
|
596
|
-
case '
|
599
|
+
case 'INSET19':
|
597
600
|
return {
|
598
601
|
top: '100%',
|
599
602
|
left: '0px',
|
@@ -601,7 +604,7 @@ function getCustomNavigationOffset(value) {
|
|
601
604
|
translateY: -100,
|
602
605
|
transformOrigin: 'top left'
|
603
606
|
};
|
604
|
-
case '
|
607
|
+
case 'INSET20':
|
605
608
|
return {
|
606
609
|
top: '50%',
|
607
610
|
left: '0px',
|
@@ -618,11 +621,11 @@ function getCustomNavigationSize(value) {
|
|
618
621
|
case 'SMALL':
|
619
622
|
return 1;
|
620
623
|
case 'MEDIUM':
|
621
|
-
return
|
624
|
+
return 2;
|
622
625
|
case 'LARGE':
|
623
626
|
return 3;
|
624
627
|
default:
|
625
|
-
return
|
628
|
+
return 1;
|
626
629
|
}
|
627
630
|
}
|
628
631
|
function parseSlideBannerStyleToCustomProgressbarProp(_a) {
|
@@ -637,16 +640,16 @@ function parseSlideBannerStyleToCustomProgressbarProp(_a) {
|
|
637
640
|
var hoverValue = props[keyWithHover];
|
638
641
|
return {
|
639
642
|
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
640
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue
|
643
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
641
644
|
};
|
642
645
|
}
|
643
646
|
if (customProgressbarPropertyKey === 'size') {
|
644
647
|
var value = props[keyWithDevice];
|
645
648
|
var hoverValue = props[keyWithHover];
|
646
|
-
var offset = getCustomProgressbarOffset('
|
649
|
+
var offset = getCustomProgressbarOffset('INSET17');
|
647
650
|
return {
|
648
651
|
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomProgressbarSize(value), offset: offset }),
|
649
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue
|
652
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue), offset: offset })
|
650
653
|
};
|
651
654
|
}
|
652
655
|
return {
|
@@ -775,9 +778,9 @@ function getCustomProgressbarOffset(value) {
|
|
775
778
|
translateY: 0,
|
776
779
|
transformOrigin: 'right top'
|
777
780
|
};
|
778
|
-
case '
|
781
|
+
case 'INSET13':
|
779
782
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
780
|
-
case '
|
783
|
+
case 'INSET14':
|
781
784
|
return {
|
782
785
|
top: '0px',
|
783
786
|
left: '50%',
|
@@ -785,7 +788,7 @@ function getCustomProgressbarOffset(value) {
|
|
785
788
|
translateY: 0,
|
786
789
|
transformOrigin: 'left top'
|
787
790
|
};
|
788
|
-
case '
|
791
|
+
case 'INSET15':
|
789
792
|
return {
|
790
793
|
top: '0px',
|
791
794
|
left: '100%',
|
@@ -793,7 +796,7 @@ function getCustomProgressbarOffset(value) {
|
|
793
796
|
translateY: 0,
|
794
797
|
transformOrigin: 'left top'
|
795
798
|
};
|
796
|
-
case '
|
799
|
+
case 'INSET16':
|
797
800
|
return {
|
798
801
|
top: '50%',
|
799
802
|
left: '100%',
|
@@ -801,7 +804,7 @@ function getCustomProgressbarOffset(value) {
|
|
801
804
|
translateY: -50,
|
802
805
|
transformOrigin: 'left top'
|
803
806
|
};
|
804
|
-
case '
|
807
|
+
case 'INSET17':
|
805
808
|
return {
|
806
809
|
top: '100%',
|
807
810
|
left: '100%',
|
@@ -809,7 +812,7 @@ function getCustomProgressbarOffset(value) {
|
|
809
812
|
translateY: -100,
|
810
813
|
transformOrigin: 'left top'
|
811
814
|
};
|
812
|
-
case '
|
815
|
+
case 'INSET18':
|
813
816
|
return {
|
814
817
|
top: '100%',
|
815
818
|
left: '50%',
|
@@ -817,7 +820,7 @@ function getCustomProgressbarOffset(value) {
|
|
817
820
|
translateY: -100,
|
818
821
|
transformOrigin: 'left top'
|
819
822
|
};
|
820
|
-
case '
|
823
|
+
case 'INSET19':
|
821
824
|
return {
|
822
825
|
top: '100%',
|
823
826
|
left: '0px',
|
@@ -825,7 +828,7 @@ function getCustomProgressbarOffset(value) {
|
|
825
828
|
translateY: -100,
|
826
829
|
transformOrigin: 'top left'
|
827
830
|
};
|
828
|
-
case '
|
831
|
+
case 'INSET20':
|
829
832
|
return {
|
830
833
|
top: '50%',
|
831
834
|
left: '0px',
|
@@ -842,11 +845,11 @@ function getCustomProgressbarSize(value) {
|
|
842
845
|
case 'SMALL':
|
843
846
|
return 1;
|
844
847
|
case 'MEDIUM':
|
845
|
-
return 1.5;
|
846
|
-
case 'LARGE':
|
847
848
|
return 2;
|
849
|
+
case 'LARGE':
|
850
|
+
return 3;
|
848
851
|
default:
|
849
852
|
return 1;
|
850
853
|
}
|
851
854
|
}
|
852
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
855
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
@@ -2,14 +2,14 @@ import type { NUMBER_INTEGER } from '../../../../../../../DynamicLayout/sections
|
|
2
2
|
export type SlideBannerPropsKeys = keyof CB_STYLE_PROP_SLIDEBANNER_SPECS;
|
3
3
|
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE = 'DESIGN1' | 'DESIGN2';
|
4
4
|
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE = boolean;
|
5
|
-
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16';
|
6
|
-
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | '
|
5
|
+
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17';
|
6
|
+
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET13' | 'INSET14' | 'INSET15' | 'INSET16' | 'INSET17' | 'INSET18' | 'INSET19' | 'INSET20';
|
7
7
|
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
8
|
-
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20'
|
9
|
-
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | '
|
8
|
+
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20';
|
9
|
+
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET13' | 'INSET14' | 'INSET15' | 'INSET16' | 'INSET17' | 'INSET18' | 'INSET19' | 'INSET20';
|
10
10
|
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
11
|
-
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20'
|
12
|
-
export type CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | '
|
11
|
+
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20';
|
12
|
+
export type CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET13' | 'INSET14' | 'INSET15' | 'INSET16' | 'INSET17' | 'INSET18' | 'INSET19' | 'INSET20';
|
13
13
|
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
14
14
|
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8';
|
15
15
|
export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
|
@@ -33,8 +33,7 @@ function Text(props) {
|
|
33
33
|
var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
|
34
34
|
var index = props.index, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE, CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM, _c = props.CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE = _c.CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA = _c.CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA;
|
35
35
|
var cLinkValue = function () {
|
36
|
-
if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA'
|
37
|
-
CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DELEGATEDDATA') {
|
36
|
+
if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA') {
|
38
37
|
if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
39
38
|
return "ERROR: QueryData NOT FOUND";
|
40
39
|
}
|
@@ -72,13 +71,8 @@ function Text(props) {
|
|
72
71
|
var hasEffect = !isNoneEffectType;
|
73
72
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
74
73
|
var textValue = function () {
|
75
|
-
|
76
|
-
|
77
|
-
if (isDataConnected) {
|
78
|
-
if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
|
79
|
-
return queryContext.queryData[CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA];
|
80
|
-
}
|
81
|
-
return 'ERROR';
|
74
|
+
if (CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DATA' && (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
75
|
+
return queryContext.queryData[CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA];
|
82
76
|
}
|
83
77
|
if (device === 'MOBILE' &&
|
84
78
|
mode !== 'EDIT' &&
|
@@ -107,7 +101,7 @@ function Text(props) {
|
|
107
101
|
e.currentTarget.classList.add('hovered');
|
108
102
|
}, onMouseLeave: function (e) {
|
109
103
|
e.currentTarget.classList.remove('hovered');
|
110
|
-
}, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: textValue()
|
104
|
+
}, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: textValue() })) }))] }));
|
111
105
|
}
|
112
106
|
function getTextStyles(props, device) {
|
113
107
|
var availableSpecCodes = [
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN,
|
2
|
+
import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN, VALUE_TYPE } from '../../../util/types';
|
3
3
|
export type StylesProps = {
|
4
4
|
normalStyle: React.CSSProperties;
|
5
5
|
hoverStyle: React.CSSProperties;
|
@@ -7,7 +7,7 @@ export type StylesProps = {
|
|
7
7
|
export type CB_CONTENT_PROP_TEXT = {
|
8
8
|
CB_CONTENT_PROP_TEXT_SPEC_TEXT: STRING_PLAIN;
|
9
9
|
CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE: STRING_PLAIN;
|
10
|
-
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE:
|
10
|
+
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE: VALUE_TYPE;
|
11
11
|
CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA: STRING_PLAIN;
|
12
12
|
};
|
13
13
|
export type CB_CONTENT_PROP_CLINK = {
|
@@ -15,12 +15,12 @@ export type CB_CONTENT_PROP_CLINK = {
|
|
15
15
|
CB_CONTENT_PROP_CLINK_SPEC_SRC: STRING_PLAIN;
|
16
16
|
CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC: STRING_PLAIN;
|
17
17
|
CB_CONTENT_PROP_CLINK_SPEC_NEWTAB: boolean;
|
18
|
-
CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE:
|
18
|
+
CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE: VALUE_TYPE;
|
19
19
|
CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA: STRING_PLAIN;
|
20
20
|
};
|
21
21
|
export type CB_CONTENT_PROP_IMAGE = {
|
22
22
|
CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR: STRING_PLAIN;
|
23
|
-
CB_CONTENT_PROP_IMAGE_SPEC_VALUETYPE:
|
23
|
+
CB_CONTENT_PROP_IMAGE_SPEC_VALUETYPE: VALUE_TYPE;
|
24
24
|
CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA: STRING_PLAIN;
|
25
25
|
};
|
26
26
|
export type CB_CONTENT_PROP_TWITTER = {
|
@@ -30,7 +30,7 @@ export type CB_CONTENT_PROP_CODEBLOCK = {
|
|
30
30
|
CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE: STRING_PLAIN;
|
31
31
|
};
|
32
32
|
export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
|
33
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE:
|
33
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE: VALUE_TYPE;
|
34
34
|
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA: STRING_PLAIN;
|
35
35
|
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DATASORTING: STRING_PLAIN;
|
36
36
|
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_OFFSET: NUMBER_INTEGER;
|
@@ -39,7 +39,7 @@ export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
|
|
39
39
|
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
40
40
|
};
|
41
41
|
export type CB_CONTENT_PROP_SLIDEBANNER = {
|
42
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE:
|
42
|
+
CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE: VALUE_TYPE;
|
43
43
|
CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA: STRING_PLAIN;
|
44
44
|
CB_CONTENT_PROP_SLIDEBANNER_SPEC_DATASORTING: STRING_PLAIN;
|
45
45
|
CB_CONTENT_PROP_SLIDEBANNER_SPEC_OFFSET: NUMBER_INTEGER;
|
@@ -48,7 +48,7 @@ export type CB_CONTENT_PROP_SLIDEBANNER = {
|
|
48
48
|
CB_CONTENT_PROP_SLIDEBANNER_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
49
49
|
};
|
50
50
|
export type CB_CONTENT_PROP_CONTENTSLIST = {
|
51
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE:
|
51
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE: VALUE_TYPE;
|
52
52
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA: STRING_PLAIN;
|
53
53
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATASORTING: STRING_PLAIN;
|
54
54
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATAFILTER: STRING_PLAIN;
|
@@ -144,12 +144,3 @@ export type CB_STYLE_PROP_COLOR_SPECS = CB_STYLE_PROP_COLOR_SPECS_BASE & {
|
|
144
144
|
'CB_STYLE_PROP_COLOR_SPEC_TYPE:MOBILE': CB_STYLE_PROP_COLOR_ENUM_TYPE | null | undefined;
|
145
145
|
'CB_STYLE_PROP_COLOR_SPEC_TYPE:MOBILE:HOVER': CB_STYLE_PROP_COLOR_ENUM_TYPE | null | undefined;
|
146
146
|
};
|
147
|
-
export type CB_CONTENT_PROP_VIDEO = {
|
148
|
-
CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: STRING_PLAIN;
|
149
|
-
CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: string;
|
150
|
-
CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY: string;
|
151
|
-
CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY: string;
|
152
|
-
CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
|
153
|
-
CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
|
154
|
-
CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
|
155
|
-
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ComponentBlock } from '../types';
|
2
|
-
import type { Layout, LayoutItem } from 'publ-echo/dist/lib';
|
2
|
+
import type { Layout, LayoutItem } from 'publ-echo-test/dist/lib';
|
3
3
|
export interface LayoutItemWithGroupType extends LayoutItem {
|
4
4
|
childrenIds: string[];
|
5
5
|
keepInLastIndex?: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE
|
1
|
+
import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE } from './util/types';
|
2
2
|
import type { IComposition } from '../../../DynamicLayout/types';
|
3
3
|
export type CB_TYPES = 'GENERAL';
|
4
|
-
export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER
|
4
|
+
export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER;
|
5
5
|
type GeneralCustomSectionType = {
|
6
6
|
id: number;
|
7
7
|
type: 'GENERAL';
|
@@ -19,7 +19,7 @@ export type GroupCustomSectionType = {
|
|
19
19
|
queryableDefinitionPreset: string;
|
20
20
|
dynamicLayoutSectionId: number;
|
21
21
|
};
|
22
|
-
export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE
|
22
|
+
export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE;
|
23
23
|
export type CB_TEXT_TYPE = GeneralCustomSectionType & {
|
24
24
|
componentBlockCode: CB_ALL_CODES.CB_TEXT;
|
25
25
|
jsonProperties: {
|
@@ -56,12 +56,6 @@ export type CB_YOUTUBE = GeneralCustomSectionType & {
|
|
56
56
|
data: CB_YOUTUBE_PROPERTIES_TYPE;
|
57
57
|
};
|
58
58
|
};
|
59
|
-
export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
|
60
|
-
componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
|
61
|
-
jsonProperties: {
|
62
|
-
data: CB_YOUTUBE_PROPERTIES_TYPE;
|
63
|
-
};
|
64
|
-
};
|
65
59
|
export type CB_TWITTER = GeneralCustomSectionType & {
|
66
60
|
componentBlockCode: CB_ALL_CODES.CB_TWITTER;
|
67
61
|
jsonProperties: {
|
@@ -113,7 +107,6 @@ export declare enum CB_ALL_CODES {
|
|
113
107
|
CB_GROUP = "CB_GROUP",
|
114
108
|
CB_LIST = "CB_LIST",
|
115
109
|
CB_CONTENTSCAROUSEL = "CB_CONTENTSCAROUSEL",
|
116
|
-
CB_SLIDEBANNER = "CB_SLIDEBANNER"
|
117
|
-
CB_VIDEOPLAYER = "CB_VIDEOPLAYER"
|
110
|
+
CB_SLIDEBANNER = "CB_SLIDEBANNER"
|
118
111
|
}
|
119
112
|
export {};
|