pds-dev-kit-web-test 2.5.413 → 2.5.414
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 +3 -2
- package/dist/src/common/assets/icons/fill/Cam.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Cam.js +30 -0
- package/dist/src/common/assets/icons/fill/CamOff.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/CamOff.js +30 -0
- 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/VideoStop.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/VideoStop.js +30 -0
- package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
- package/dist/src/common/assets/icons/fill/index.d.ts +3 -0
- package/dist/src/common/assets/icons/fill/index.js +7 -1
- package/dist/src/common/assets/icons/line/Cam.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Cam.js +30 -0
- package/dist/src/common/assets/icons/line/CamOff.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CamOff.js +30 -0
- package/dist/src/common/assets/icons/line/CheckBox.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CheckBox.js +30 -0
- package/dist/src/common/assets/icons/line/Dropdown.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Dropdown.js +30 -0
- package/dist/src/common/assets/icons/line/Radio.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Radio.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestion32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestion40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +30 -0
- package/dist/src/common/assets/icons/line/TextLong.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TextLong.js +30 -0
- package/dist/src/common/assets/icons/line/TextShort.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TextShort.js +30 -0
- 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/VideoStop.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoStop.js +30 -0
- package/dist/src/common/assets/icons/line/VideoType.js +1 -1
- package/dist/src/common/assets/icons/line/index.d.ts +12 -0
- package/dist/src/common/assets/icons/line/index.js +25 -1
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +2 -1
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +48 -4
- package/dist/src/common/services/i18n/resources/en.json +9 -1
- package/dist/src/common/services/i18n/resources/es.json +9 -1
- package/dist/src/common/services/i18n/resources/fil.json +9 -1
- package/dist/src/common/services/i18n/resources/index.d.ts +56 -0
- package/dist/src/common/services/i18n/resources/ja.json +9 -1
- package/dist/src/common/services/i18n/resources/ko.json +9 -1
- package/dist/src/common/services/i18n/resources/zh-cn.json +9 -1
- package/dist/src/common/services/i18n/resources/zh-tw.json +9 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +9 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +9 -1
- package/dist/src/common/styles/colorSet/UIColor.json +14 -1
- package/dist/src/common/styles/colorSet/index.d.ts +31 -2
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +13 -0
- package/dist/src/common/utils/dateHelper.d.ts +13 -0
- package/dist/src/common/utils/dateHelper.js +87 -0
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -0
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +27 -13
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +4 -1
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +26 -4
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +3 -1
- package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +1 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +3 -1
- package/dist/src/desktop/components/Checkbox/Checkbox.js +17 -3
- package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
- package/dist/src/desktop/components/Chip/Chip.js +50 -5
- package/dist/src/desktop/components/Radio/Radio.js +2 -2
- package/dist/src/desktop/components/TextField/TextField.js +41 -15
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +4 -1
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +26 -4
- package/dist/src/mobile/components/BasicListItem/Contents.d.ts +3 -1
- package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +1 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +3 -1
- package/dist/src/mobile/components/Checkbox/Checkbox.js +17 -3
- package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
- package/dist/src/mobile/components/Chip/Chip.js +50 -5
- package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +16 -0
- package/dist/src/mobile/components/DatePicker/DatePicker.js +156 -0
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +14 -0
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +27 -0
- package/dist/src/mobile/components/DatePicker/Day.d.ts +13 -0
- package/dist/src/mobile/components/DatePicker/Day.js +94 -0
- package/dist/src/mobile/components/DatePicker/index.d.ts +1 -0
- package/dist/src/mobile/components/DatePicker/index.js +8 -0
- package/dist/src/mobile/components/DatePicker/utils.d.ts +16 -0
- package/dist/src/mobile/components/DatePicker/utils.js +68 -0
- package/dist/src/mobile/components/Radio/Radio.js +2 -2
- package/dist/src/mobile/components/TextField/TextField.js +41 -15
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +6 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.js +83 -3
- package/dist/src/mobile/components/index.d.ts +2 -1
- package/dist/src/mobile/components/index.js +3 -1
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +3 -2
- 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 +36 -10
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -1
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +12 -1
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +77 -0
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/mock_composition.js +4 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1047 -274
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +1008 -222
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +810 -2
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +772 -268
- package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
- package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +368 -0
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +371 -0
- package/dist/src/sub/DynamicLayout/mocks.d.ts +2 -776
- package/dist/src/sub/DynamicLayout/mocks.js +4266 -11
- 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 +11 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +25 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +102 -26
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +21 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +4 -55
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +7 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +26 -20
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +46 -23
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +27 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +96 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +84 -98
- 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 +32 -20
- 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 +59 -132
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +23 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +176 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +24 -30
- 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 +13 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +88 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +4 -55
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +7 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +26 -20
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +46 -23
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +27 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +96 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +64 -67
- 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 +10 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +148 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +25 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +16 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +11 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
- 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 +15 -2
- 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 +10 -1
- package/package.json +2 -3
- package/release-note.md +3 -3
@@ -33,7 +33,8 @@ 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'
|
36
|
+
if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA' ||
|
37
|
+
CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DELEGATEDDATA') {
|
37
38
|
if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
38
39
|
return "ERROR: QueryData NOT FOUND";
|
39
40
|
}
|
@@ -71,8 +72,13 @@ function Text(props) {
|
|
71
72
|
var hasEffect = !isNoneEffectType;
|
72
73
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
73
74
|
var textValue = function () {
|
74
|
-
|
75
|
-
|
75
|
+
var isDataConnected = CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DATA' ||
|
76
|
+
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
|
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';
|
76
82
|
}
|
77
83
|
if (device === 'MOBILE' &&
|
78
84
|
mode !== 'EDIT' &&
|
@@ -101,7 +107,7 @@ function Text(props) {
|
|
101
107
|
e.currentTarget.classList.add('hovered');
|
102
108
|
}, onMouseLeave: function (e) {
|
103
109
|
e.currentTarget.classList.remove('hovered');
|
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() })) }))] }));
|
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() === 'ERROR' ? 'EDITOR:FALLBACK_TEXT' : textValue() })) }))] }));
|
105
111
|
}
|
106
112
|
function getTextStyles(props, device) {
|
107
113
|
var availableSpecCodes = [
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { CB_VIDEOPLAYER_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
3
|
+
type Props = CB_VIDEOPLAYER_PROPERTIES_TYPE & IndexForIntersection;
|
4
|
+
declare function VideoPlayer(props: Props): JSX.Element;
|
5
|
+
export default VideoPlayer;
|
@@ -0,0 +1,148 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
4
|
+
return cooked;
|
5
|
+
};
|
6
|
+
var __assign = (this && this.__assign) || function () {
|
7
|
+
__assign = Object.assign || function(t) {
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
9
|
+
s = arguments[i];
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
11
|
+
t[p] = s[p];
|
12
|
+
}
|
13
|
+
return t;
|
14
|
+
};
|
15
|
+
return __assign.apply(this, arguments);
|
16
|
+
};
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
19
|
+
};
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
21
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
22
|
+
var react_1 = require("react");
|
23
|
+
var Icon_1 = require("../../../../../../../DynamicLayout/components/pdsOriginal/hybrid/Icon");
|
24
|
+
var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
|
25
|
+
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
26
|
+
var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
|
27
|
+
var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
|
28
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
29
|
+
var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
|
30
|
+
var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
|
31
|
+
var S_HiddenCover_1 = require("../components/S_HiddenCover");
|
32
|
+
var helper_1 = require("./helper");
|
33
|
+
function VideoPlayer(props) {
|
34
|
+
var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
|
35
|
+
var CB_CONTENT_PROP_VIDEO = props.CB_CONTENT_PROP_VIDEO;
|
36
|
+
var index = props.index, CB_STYLE_PROP_BGCOLOR = props.CB_STYLE_PROP_BGCOLOR, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
|
37
|
+
var isEditMode = mode === 'EDIT';
|
38
|
+
var _b = getBGColorStyles(CB_STYLE_PROP_BGCOLOR, device), bgColorStyle = _b.style, bgColorHoverStyle = _b.hoverStyle;
|
39
|
+
var _c = (0, util_1.parseProperties)(props, device), propsStyle = _c.style, propsHoverStyle = _c.hoverStyle, layoutStyle = _c.layout, effect = _c.effect;
|
40
|
+
var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
|
41
|
+
if (mode === 'EDIT') {
|
42
|
+
propsStyle.visibility = 'visible';
|
43
|
+
}
|
44
|
+
var cbRef = (0, react_1.useRef)(null);
|
45
|
+
var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 0.2, freezeOnceVisible: false }, [
|
46
|
+
index
|
47
|
+
]);
|
48
|
+
var _d = (0, react_1.useState)(false), videoStarted = _d[0], setVideoStarted = _d[1];
|
49
|
+
var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
|
50
|
+
var effectCssProperties = isVisible ? effect : {};
|
51
|
+
var isNoneEffectType = device === 'DESKTOP'
|
52
|
+
? CB_EFFECT_PROP_ENTANIM.CB_EFFECT_PROP_ENTANIM_SPEC_TYPE === 'NONE'
|
53
|
+
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
54
|
+
var hasEffect = !isNoneEffectType;
|
55
|
+
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
56
|
+
var CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR, CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME, CB_CONTENT_PROP_VIDEO_SPEC_THUMB = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_THUMB, CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY, CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY;
|
57
|
+
var shouldAutoplay = (CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY && device === 'DESKTOP') ||
|
58
|
+
(CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY && device === 'MOBILE');
|
59
|
+
var videoRef = (0, react_1.useRef)(null);
|
60
|
+
var _e = (0, react_1.useState)(false), videoLoaded = _e[0], setVideoLoaded = _e[1];
|
61
|
+
var _f = (0, react_1.useState)(function () {
|
62
|
+
return (0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).encodedURL;
|
63
|
+
}), videoURL = _f[0], setVideoURL = _f[1];
|
64
|
+
var onVideoError = function () {
|
65
|
+
var fallbackURL = (0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).fallbackURL;
|
66
|
+
var isFallbackURL = fallbackURL === videoURL;
|
67
|
+
if (fallbackURL && !isFallbackURL) {
|
68
|
+
setVideoURL(fallbackURL);
|
69
|
+
return;
|
70
|
+
}
|
71
|
+
};
|
72
|
+
var onLoadedMetadata = function () {
|
73
|
+
setVideoLoaded(true);
|
74
|
+
};
|
75
|
+
var onPlay = function () {
|
76
|
+
var video = videoRef.current;
|
77
|
+
if (!video || isEditMode || videoStarted || shouldAutoplay) {
|
78
|
+
return;
|
79
|
+
}
|
80
|
+
if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
|
81
|
+
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
82
|
+
setVideoStarted(true);
|
83
|
+
}
|
84
|
+
};
|
85
|
+
(0, react_1.useEffect)(function () {
|
86
|
+
var video = videoRef.current;
|
87
|
+
if (!video || isEditMode || !videoLoaded || !shouldAutoplay) {
|
88
|
+
return;
|
89
|
+
}
|
90
|
+
var handleIntersection = function (entries) {
|
91
|
+
entries.forEach(function (entry) {
|
92
|
+
if (entry.isIntersecting) {
|
93
|
+
if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
|
94
|
+
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
95
|
+
}
|
96
|
+
video.muted = true;
|
97
|
+
video.play().catch(function (err) {
|
98
|
+
// eslint-disable-next-line no-console
|
99
|
+
console.error('Error: CB VIDEO_PLAYER:', err);
|
100
|
+
});
|
101
|
+
}
|
102
|
+
else {
|
103
|
+
video.pause();
|
104
|
+
}
|
105
|
+
});
|
106
|
+
};
|
107
|
+
var observer = new IntersectionObserver(handleIntersection, {
|
108
|
+
threshold: 0.2
|
109
|
+
});
|
110
|
+
observer.observe(video);
|
111
|
+
return function () {
|
112
|
+
observer.disconnect();
|
113
|
+
};
|
114
|
+
}, [videoLoaded, isEditMode, shouldAutoplay]);
|
115
|
+
(0, react_1.useEffect)(function () {
|
116
|
+
setVideoURL((0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).encodedURL);
|
117
|
+
}, [CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR]);
|
118
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsxs)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, propsStyle), layoutStyle), effectCssProperties), bgColorStyle), hoverStyle: __assign(__assign({}, propsHoverStyle), bgColorHoverStyle), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: [isEditMode && ((0, jsx_runtime_1.jsx)("div", __assign({ style: {
|
119
|
+
position: 'absolute',
|
120
|
+
top: '50%',
|
121
|
+
left: '50%',
|
122
|
+
width: '100%',
|
123
|
+
height: '100%',
|
124
|
+
display: 'flex',
|
125
|
+
alignItems: 'center',
|
126
|
+
justifyContent: 'center',
|
127
|
+
transform: 'translate(-50%, -50%)'
|
128
|
+
} }, { children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconName: "ic_video_play_circle", fillType: "fill", colorKey: "ui_cpnt_icon_sys_white", size: 48 }) }))), (0, jsx_runtime_1.jsxs)(S_Video, __assign({ muted: true, playsInline: true, controls: !isEditMode, isEditMode: isEditMode, ref: videoRef, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, onLoadedMetadata: onLoadedMetadata, onPlay: onPlay, onError: onVideoError, "data-src": CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR }, { children: [(0, jsx_runtime_1.jsx)("source", { src: videoURL }), "Your browser does not support the video tag."] }), videoURL + CB_CONTENT_PROP_VIDEO_SPEC_THUMB)] })) }))] }));
|
129
|
+
}
|
130
|
+
function getBGColorStyles(props, device) {
|
131
|
+
var availableSpecCodes = [
|
132
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE',
|
133
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR',
|
134
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR',
|
135
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC',
|
136
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT',
|
137
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR',
|
138
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC',
|
139
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE'
|
140
|
+
];
|
141
|
+
return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
|
142
|
+
}
|
143
|
+
var S_Video = styled_components_1.default.video(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n aspect-ratio: 16 / 9;\n height: 100%;\n max-height: 100%;\n object-fit: cover;\n pointer-events: ", ";\n width: 100%;\n"], ["\n aspect-ratio: 16 / 9;\n height: 100%;\n max-height: 100%;\n object-fit: cover;\n pointer-events: ", ";\n width: 100%;\n"])), function (_a) {
|
144
|
+
var isEditMode = _a.isEditMode;
|
145
|
+
return (isEditMode ? 'none' : 'auto');
|
146
|
+
});
|
147
|
+
exports.default = VideoPlayer;
|
148
|
+
var templateObject_1;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.parseTargetUrl = void 0;
|
4
|
+
function parseTargetUrl(url) {
|
5
|
+
var _a = url.split('?'), encodedURL = _a[0], query = _a[1];
|
6
|
+
if (!query) {
|
7
|
+
return {
|
8
|
+
encodedURL: encodedURL,
|
9
|
+
fallbackURL: null
|
10
|
+
};
|
11
|
+
}
|
12
|
+
var params = new URLSearchParams(query);
|
13
|
+
var fallbackUrl = params.get('fallbackUrl');
|
14
|
+
if (!fallbackUrl) {
|
15
|
+
return {
|
16
|
+
encodedURL: encodedURL,
|
17
|
+
fallbackURL: null
|
18
|
+
};
|
19
|
+
}
|
20
|
+
return {
|
21
|
+
encodedURL: encodedURL,
|
22
|
+
fallbackURL: "http://".concat(fallbackUrl)
|
23
|
+
};
|
24
|
+
}
|
25
|
+
exports.parseTargetUrl = parseTargetUrl;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as VideoPlayer } from './VideoPlayer';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.VideoPlayer = void 0;
|
7
|
+
var VideoPlayer_1 = require("./VideoPlayer");
|
8
|
+
Object.defineProperty(exports, "VideoPlayer", { enumerable: true, get: function () { return __importDefault(VideoPlayer_1).default; } });
|
@@ -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, CCB_VALUE_TYPE, CB_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: CCB_VALUE_TYPE | CB_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: CCB_VALUE_TYPE | CB_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: CCB_VALUE_TYPE | CB_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: CCB_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: CCB_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: CCB_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,3 +144,12 @@ 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
|
2
|
+
import type { Layout, LayoutItem } from 'publ-echo/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,
|
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, CB_VIDEOPLAYER_PROPERTIES_TYPE, CB_YOUTUBE_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 | CB_VIDEOPLAYER;
|
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 | CB_VIDEOPLAYER_PROPERTIES_TYPE;
|
23
23
|
export type CB_TEXT_TYPE = GeneralCustomSectionType & {
|
24
24
|
componentBlockCode: CB_ALL_CODES.CB_TEXT;
|
25
25
|
jsonProperties: {
|
@@ -56,6 +56,12 @@ 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
|
+
};
|
59
65
|
export type CB_TWITTER = GeneralCustomSectionType & {
|
60
66
|
componentBlockCode: CB_ALL_CODES.CB_TWITTER;
|
61
67
|
jsonProperties: {
|
@@ -107,6 +113,7 @@ export declare enum CB_ALL_CODES {
|
|
107
113
|
CB_GROUP = "CB_GROUP",
|
108
114
|
CB_LIST = "CB_LIST",
|
109
115
|
CB_CONTENTSCAROUSEL = "CB_CONTENTSCAROUSEL",
|
110
|
-
CB_SLIDEBANNER = "CB_SLIDEBANNER"
|
116
|
+
CB_SLIDEBANNER = "CB_SLIDEBANNER",
|
117
|
+
CB_VIDEOPLAYER = "CB_VIDEOPLAYER"
|
111
118
|
}
|
112
119
|
export {};
|
@@ -15,4 +15,5 @@ var CB_ALL_CODES;
|
|
15
15
|
CB_ALL_CODES["CB_LIST"] = "CB_LIST";
|
16
16
|
CB_ALL_CODES["CB_CONTENTSCAROUSEL"] = "CB_CONTENTSCAROUSEL";
|
17
17
|
CB_ALL_CODES["CB_SLIDEBANNER"] = "CB_SLIDEBANNER";
|
18
|
+
CB_ALL_CODES["CB_VIDEOPLAYER"] = "CB_VIDEOPLAYER";
|
18
19
|
})(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ComponentBlock } from '../types';
|
2
|
-
import type { ZOrder } from 'publ-echo
|
2
|
+
import type { ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
|
3
3
|
export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder): {
|
4
4
|
sm: {
|
5
5
|
i: string;
|
@@ -34,7 +34,7 @@ function parsePropPlacement(props, id, cbCode, zOrders) {
|
|
34
34
|
w: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS,
|
35
35
|
h: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS,
|
36
36
|
z: zOrders.desktop[id],
|
37
|
-
autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
|
37
|
+
autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
|
38
38
|
};
|
39
39
|
var mobileLayout = {
|
40
40
|
i: id.toString(),
|
@@ -43,7 +43,7 @@ function parsePropPlacement(props, id, cbCode, zOrders) {
|
|
43
43
|
w: props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'],
|
44
44
|
h: props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'],
|
45
45
|
z: zOrders.mobile[id],
|
46
|
-
autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
|
46
|
+
autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
|
47
47
|
};
|
48
48
|
return {
|
49
49
|
mobileLayout: mobileLayout,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CB_LAYOUT_PROP_KEYS } from './layoutPropParsers/types';
|
2
2
|
import { CB_STYLE_PROP_KEYS } from './stylePropParsers/types';
|
3
|
-
import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE } from './types';
|
3
|
+
import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE } from './types';
|
4
4
|
export type specTypes = CB_LAYOUT_PROP_KEYS | CB_STYLE_PROP_KEYS;
|
5
|
-
export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE, device: Device): ParserResult;
|
5
|
+
export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE, device: Device): ParserResult;
|
@@ -2,7 +2,7 @@ import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS } from '../components/Compone
|
|
2
2
|
import type { CB_STYLE_PROP_CONTENTSLIST_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsList/types';
|
3
3
|
import type { CB_STYLE_PROP_SLIDEBANNER_SPECS } from '../components/ComponentBlock/componentBlocks/SlideBanner/types';
|
4
4
|
import type { CB_TWITTER_STYLE_PROPS } from '../components/ComponentBlock/componentBlocks/Twitter/types';
|
5
|
-
import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST } from '../components/ComponentBlock/componentBlocks/types';
|
5
|
+
import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST, CB_CONTENT_PROP_VIDEO } from '../components/ComponentBlock/componentBlocks/types';
|
6
6
|
import type { CB_CONTENT_PROP_YOUTUBE_TYPE, CB_STYLE_PROP_BGCOLOR_SPECS } from '../components/ComponentBlock/componentBlocks/Youtube/types';
|
7
7
|
import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './contentPropParsers/parseContentVisibility';
|
8
8
|
import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './effectPropParsers/parseEffectPropEntAnim';
|
@@ -22,7 +22,9 @@ export type STRING_PLAIN = string;
|
|
22
22
|
export type ENUM_STRING = string;
|
23
23
|
export type NUMBER_INTEGER = number;
|
24
24
|
export type STRING_8DIGIT_HEX = string;
|
25
|
-
export type
|
25
|
+
export type CCB_VALUE_TYPE = 'VALUE' | 'DATA';
|
26
|
+
export type CB_VALUE_TYPE = 'VALUE' | 'DELEGATEDDATA' | 'QUERYDATA';
|
27
|
+
export type SECTION_VALUE_TYPE = 'VALUE' | 'QUERYDATA';
|
26
28
|
export type CB_GENERAL_PROPERTIES_TYPE = {
|
27
29
|
CB_PLACEMENT_PROP_PLACEMENT: CB_PLACEMENT_PROP_SPECS;
|
28
30
|
CB_CONTENT_PROP_HOVER: {
|
@@ -139,6 +141,7 @@ export type CB_CONTENTSCAROUSEL_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
|
139
141
|
CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
|
140
142
|
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
141
143
|
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
144
|
+
CB_CONTENT_PROP_CLINK: CB_CONTENT_PROP_CLINK;
|
142
145
|
};
|
143
146
|
export type CB_SLIDEBANNER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
144
147
|
CB_CONTENT_PROP_SLIDEBANNER: CB_CONTENT_PROP_SLIDEBANNER;
|
@@ -168,6 +171,16 @@ export type CB_LIST_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
|
168
171
|
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
169
172
|
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
170
173
|
};
|
174
|
+
export type CB_VIDEOPLAYER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
175
|
+
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
176
|
+
CB_CONTENT_PROP_VIDEO: CB_CONTENT_PROP_VIDEO;
|
177
|
+
CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
|
178
|
+
CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
|
179
|
+
CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
|
180
|
+
CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
|
181
|
+
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
182
|
+
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
183
|
+
};
|
171
184
|
export type StyleType = {
|
172
185
|
style: CSSProperties;
|
173
186
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { ISection } from '../types';
|
3
|
-
import type { Layout } from 'publ-echo
|
3
|
+
import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
|
4
4
|
export type LayoutsType = {
|
5
5
|
sm: Layout;
|
6
6
|
lg: Layout;
|
@@ -181,7 +181,7 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
|
|
181
181
|
return size.width * 0.0133;
|
182
182
|
}
|
183
183
|
if (size.width < 1200) {
|
184
|
-
return Math.max(getDefensiveFontSize(device, size.width),
|
184
|
+
return Math.max(getDefensiveFontSize(device, size.width), 16);
|
185
185
|
}
|
186
186
|
return 16;
|
187
187
|
})();
|
@@ -5,7 +5,8 @@ import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './sections/CustomSection/util
|
|
5
5
|
import type { CB_LAYOUT_PROP_PADDING_SPECS } from './sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding';
|
6
6
|
import type { CB_STYLE_PROP_BGCOLOR_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgColor';
|
7
7
|
import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay';
|
8
|
-
import type {
|
8
|
+
import type { CCB_VALUE_TYPE } from './sections/CustomSection/util/types';
|
9
|
+
import type { Block, ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
|
9
10
|
import type { Ref } from 'react';
|
10
11
|
export { TypeOfSectionAction };
|
11
12
|
export type TypeOfSectionManifestSchema = 'BASE_INTRO' | 'BASE_CONTENTS' | 'BASE_CONTENTS_CAROUSEL' | 'BASE_FOOTER' | 'BASE_INFO_BOX' | 'EXP_IFRAME' | 'PRG_MEMBERSHIP_DISPLAY' | 'CUSTOM';
|
@@ -347,6 +348,8 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS_BASE = {
|
|
347
348
|
CB_STYLE_PROP_BGMEDIA_SPEC_IMAGESELECTOR: string;
|
348
349
|
CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: string;
|
349
350
|
CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME: number;
|
351
|
+
CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR: string;
|
352
|
+
CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
350
353
|
};
|
351
354
|
export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
|
352
355
|
'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:HOVER': number | null | undefined;
|
@@ -377,6 +380,12 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
|
|
377
380
|
'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:HOVER': string | null | undefined;
|
378
381
|
'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:MOBILE': string | null | undefined;
|
379
382
|
'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:MOBILE:HOVER': string | null | undefined;
|
383
|
+
'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:HOVER'?: string | null;
|
384
|
+
'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE'?: string | null;
|
385
|
+
'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE:HOVER'?: string | null;
|
386
|
+
'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:HOVER'?: CCB_VALUE_TYPE | null;
|
387
|
+
'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE'?: CCB_VALUE_TYPE | null;
|
388
|
+
'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE:HOVER'?: CCB_VALUE_TYPE | null;
|
380
389
|
};
|
381
390
|
export interface IComposition {
|
382
391
|
id: number;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pds-dev-kit-web-test",
|
3
|
-
"version": "2.5.
|
3
|
+
"version": "2.5.414",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
6
|
"main": "dist/index.js",
|
@@ -22,8 +22,7 @@
|
|
22
22
|
"i18next-intervalplural-postprocessor": "^3.0.0",
|
23
23
|
"lottie-react": "^2.3.1",
|
24
24
|
"nuka-carousel": "^4.8.4",
|
25
|
-
"publ-echo": "^0.0.
|
26
|
-
"publ-echo-test": "^0.0.213",
|
25
|
+
"publ-echo": "^0.0.119",
|
27
26
|
"react-hook-form": "^7.28.1",
|
28
27
|
"react-i18next": "^11.12.0",
|
29
28
|
"react-router-dom": "^5.2.0",
|
package/release-note.md
CHANGED