pds-dev-kit-web-test 2.5.378 → 2.5.380
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/VideoStop.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/VideoStop.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
- package/dist/src/common/assets/icons/fill/index.js +3 -1
- 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/VideoStop.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoStop.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +10 -0
- package/dist/src/common/assets/icons/line/index.js +21 -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/hooks/useTooltip.js +1 -1
- 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/index.d.ts +124 -124
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
- 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/BasicButtonGroup/BasicButtonGroup.js +1 -1
- 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/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/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/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner → mobile/components/DatePicker}/index.js +3 -3
- 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/CompositionRenderer/ComponentBlockMatcher.js +1 -4
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +2 -4
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -3
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -1
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +5 -1
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +26 -25
- package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
- 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/{mock_video.js → mock_video_cb.js} +2 -2
- package/dist/src/sub/DynamicLayout/mocks.d.ts +960 -8
- package/dist/src/sub/DynamicLayout/mocks.js +4239 -4296
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +11 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +23 -19
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +2 -230
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +3 -33
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +6 -28
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +45 -42
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +10 -56
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +10 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +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 +3 -52
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -2
- package/dist/src/sub/DynamicLayout/types.d.ts +15 -48
- package/package.json +3 -3
- package/release-note.md +3 -3
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -20
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1132
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -9
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -53
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/downIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/downIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/index.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/index.js +0 -47
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/leftIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/leftIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/rightIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/rightIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/upIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/upIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
- package/dist/src/sub/DynamicLayout/compositionActionTypes.js +0 -2
- package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/compositionQueryContext.js +0 -14
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/mock_composition.js +0 -801
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -1099
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +0 -1082
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -810
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -822
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -17
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -59
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +0 -31
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +0 -118
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +0 -31
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +0 -191
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -21
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -117
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -889
- 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/ContentsCarousel/contentsCarouselUtils.d.ts +0 -50
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -905
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -90
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -112
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +0 -17
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +0 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -115
- 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/ContentsList/contentsListUtils.d.ts +0 -30
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -351
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -225
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +0 -31
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +0 -118
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -31
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -191
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -21
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -117
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -889
- 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/SlideBanner/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -48
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -852
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -80
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
- /package/dist/src/sub/DynamicLayout/{mock_video.d.ts → mock_video_cb.d.ts} +0 -0
@@ -19,9 +19,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
19
19
|
};
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
22
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
23
22
|
var react_1 = require("react");
|
24
|
-
var
|
23
|
+
var Icon_1 = require("../../../../../../../DynamicLayout/components/pdsOriginal/hybrid/Icon");
|
25
24
|
var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
|
26
25
|
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
27
26
|
var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
|
@@ -32,7 +31,6 @@ var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
|
|
32
31
|
var S_HiddenCover_1 = require("../components/S_HiddenCover");
|
33
32
|
function VideoPlayer(props) {
|
34
33
|
var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
|
35
|
-
var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
|
36
34
|
var CB_CONTENT_PROP_VIDEO = props.CB_CONTENT_PROP_VIDEO;
|
37
35
|
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;
|
38
36
|
var isEditMode = mode === 'EDIT';
|
@@ -53,57 +51,62 @@ function VideoPlayer(props) {
|
|
53
51
|
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
54
52
|
var hasEffect = !isNoneEffectType;
|
55
53
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
56
|
-
var
|
54
|
+
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;
|
55
|
+
var shouldAutoplay = CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY ||
|
56
|
+
(CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY && device === 'MOBILE');
|
57
57
|
var getVideoSrc = function () {
|
58
|
-
if (CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE === 'DELEGATEDDATA' ||
|
59
|
-
CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE === 'QUERYDATA') {
|
60
|
-
if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
61
|
-
return "ERROR: QueryData NOT FOUND";
|
62
|
-
}
|
63
|
-
var src = queryContext.queryData[CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA];
|
64
|
-
return src;
|
65
|
-
}
|
66
58
|
return CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR;
|
67
59
|
};
|
68
60
|
var videoRef = (0, react_1.useRef)(null);
|
61
|
+
var _d = (0, react_1.useState)(false), videoLoaded = _d[0], setVideoLoaded = _d[1];
|
62
|
+
var onLoadedMetadata = function () {
|
63
|
+
var video = videoRef.current;
|
64
|
+
if (!video || isEditMode) {
|
65
|
+
return;
|
66
|
+
}
|
67
|
+
if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
|
68
|
+
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
69
|
+
}
|
70
|
+
setVideoLoaded(true);
|
71
|
+
};
|
69
72
|
(0, react_1.useEffect)(function () {
|
70
73
|
var video = videoRef.current;
|
71
|
-
if (!video)
|
74
|
+
if (!video || isEditMode || !videoLoaded || !shouldAutoplay) {
|
72
75
|
return;
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
// 구간 반복
|
83
|
-
var handleTimeUpdate = function () {
|
84
|
-
if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number' &&
|
85
|
-
typeof CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME === 'number') {
|
86
|
-
if (video.currentTime < CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME) {
|
87
|
-
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
76
|
+
}
|
77
|
+
var handleIntersection = function (entries) {
|
78
|
+
entries.forEach(function (entry) {
|
79
|
+
if (entry.isIntersecting) {
|
80
|
+
video.muted = true;
|
81
|
+
video.play().catch(function (err) {
|
82
|
+
// eslint-disable-next-line no-console
|
83
|
+
console.error('Error: CB VIDEO_PLAYER:', err);
|
84
|
+
});
|
88
85
|
}
|
89
|
-
|
90
|
-
video.
|
91
|
-
video.play();
|
86
|
+
else {
|
87
|
+
video.pause();
|
92
88
|
}
|
93
|
-
}
|
89
|
+
});
|
94
90
|
};
|
95
|
-
|
96
|
-
|
91
|
+
var observer = new IntersectionObserver(handleIntersection, {
|
92
|
+
threshold: 0.2
|
93
|
+
});
|
94
|
+
observer.observe(video);
|
97
95
|
return function () {
|
98
|
-
|
99
|
-
video.removeEventListener('timeupdate', handleTimeUpdate);
|
96
|
+
observer.disconnect();
|
100
97
|
};
|
101
|
-
}, [
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
98
|
+
}, [videoLoaded, isEditMode, shouldAutoplay]);
|
99
|
+
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: {
|
100
|
+
position: 'absolute',
|
101
|
+
top: '50%',
|
102
|
+
left: '50%',
|
103
|
+
width: '100%',
|
104
|
+
height: '100%',
|
105
|
+
display: 'flex',
|
106
|
+
alignItems: 'center',
|
107
|
+
justifyContent: 'center',
|
108
|
+
transform: 'translate(-50%, -50%)'
|
109
|
+
} }, { 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, controls: !isEditMode, isEditMode: isEditMode, ref: videoRef, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, onLoadedMetadata: onLoadedMetadata }, { children: [(0, jsx_runtime_1.jsx)("source", { src: getVideoSrc(), type: "video/mp4" }), "Your browser does not support the video tag."] }), CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR + CB_CONTENT_PROP_VIDEO_SPEC_THUMB)] })) }))] }));
|
107
110
|
}
|
108
111
|
function getBGColorStyles(props, device) {
|
109
112
|
var availableSpecCodes = [
|
@@ -4,6 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.VideoPlayer = void 0;
|
7
|
-
// export { default as VideoPlayer } from './VideoPlayer';
|
8
7
|
var VideoPlayer_1 = require("./VideoPlayer");
|
9
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 } from '../../../util/types';
|
3
3
|
export type StylesProps = {
|
4
4
|
normalStyle: React.CSSProperties;
|
5
5
|
hoverStyle: React.CSSProperties;
|
@@ -7,21 +7,15 @@ 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: CCB_VALUE_TYPE | CB_VALUE_TYPE;
|
11
|
-
CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA: STRING_PLAIN;
|
12
10
|
};
|
13
11
|
export type CB_CONTENT_PROP_CLINK = {
|
14
12
|
CB_CONTENT_PROP_CLINK_SPEC_TYPE: 'INTERNAL' | 'EXTERNAL' | 'DISABLED';
|
15
13
|
CB_CONTENT_PROP_CLINK_SPEC_SRC: STRING_PLAIN;
|
16
14
|
CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC: STRING_PLAIN;
|
17
15
|
CB_CONTENT_PROP_CLINK_SPEC_NEWTAB: boolean;
|
18
|
-
CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
|
19
|
-
CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA: STRING_PLAIN;
|
20
16
|
};
|
21
17
|
export type CB_CONTENT_PROP_IMAGE = {
|
22
18
|
CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR: STRING_PLAIN;
|
23
|
-
CB_CONTENT_PROP_IMAGE_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
|
24
|
-
CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA: STRING_PLAIN;
|
25
19
|
};
|
26
20
|
export type CB_CONTENT_PROP_TWITTER = {
|
27
21
|
CB_CONTENT_PROP_TWITTER_SPEC_SRC: STRING_PLAIN;
|
@@ -29,55 +23,6 @@ export type CB_CONTENT_PROP_TWITTER = {
|
|
29
23
|
export type CB_CONTENT_PROP_CODEBLOCK = {
|
30
24
|
CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE: STRING_PLAIN;
|
31
25
|
};
|
32
|
-
export type CB_CONTENT_PROP_VIDEO = {
|
33
|
-
CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: STRING_PLAIN;
|
34
|
-
CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME: number;
|
35
|
-
CB_CONTENT_PROP_VIDEO_SPEC_MPLAY: boolean;
|
36
|
-
CB_CONTENT_PROP_VIDEO_SPEC_REPLAY: boolean;
|
37
|
-
CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: string;
|
38
|
-
CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
|
39
|
-
CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
|
40
|
-
CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
|
41
|
-
CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE: CB_VALUE_TYPE;
|
42
|
-
};
|
43
|
-
export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
|
44
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
45
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA: STRING_PLAIN;
|
46
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DATASORTING: STRING_PLAIN;
|
47
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_OFFSET: NUMBER_INTEGER;
|
48
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MANUALITEMS: MockComposition[];
|
49
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
50
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
51
|
-
};
|
52
|
-
export type CB_CONTENT_PROP_SLIDEBANNER = {
|
53
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
54
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA: STRING_PLAIN;
|
55
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_DATASORTING: STRING_PLAIN;
|
56
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_OFFSET: NUMBER_INTEGER;
|
57
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_MENUALITEMS: MockComposition[];
|
58
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
59
|
-
CB_CONTENT_PROP_SLIDEBANNER_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
60
|
-
};
|
61
|
-
export type CB_CONTENT_PROP_CONTENTSLIST = {
|
62
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
63
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA: STRING_PLAIN;
|
64
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATASORTING: STRING_PLAIN;
|
65
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATAFILTER: STRING_PLAIN;
|
66
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_OFFSET: NUMBER_INTEGER;
|
67
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS: MockComposition[];
|
68
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
69
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS: NUMBER_INTEGER;
|
70
|
-
CB_CONTENT_PROP_CONTENTSLIST_SPEC_EDITCOMMONITEM: null | STRING_PLAIN;
|
71
|
-
};
|
72
|
-
export type MockComposition = {
|
73
|
-
title: string;
|
74
|
-
width: number;
|
75
|
-
minWidth: number;
|
76
|
-
maxWidth: number;
|
77
|
-
height: number;
|
78
|
-
minHeight: number;
|
79
|
-
maxHeight: number;
|
80
|
-
};
|
81
26
|
export type CBTextPropsKeys = keyof CB_STYLE_PROP_TEXT_SPECS;
|
82
27
|
export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
|
83
28
|
CB_STYLE_PROP_TEXT_SPEC_TYPEFACE: ENUM_STRING;
|
@@ -155,3 +100,12 @@ export type CB_STYLE_PROP_COLOR_SPECS = CB_STYLE_PROP_COLOR_SPECS_BASE & {
|
|
155
100
|
'CB_STYLE_PROP_COLOR_SPEC_TYPE:MOBILE': CB_STYLE_PROP_COLOR_ENUM_TYPE | null | undefined;
|
156
101
|
'CB_STYLE_PROP_COLOR_SPEC_TYPE:MOBILE:HOVER': CB_STYLE_PROP_COLOR_ENUM_TYPE | null | undefined;
|
157
102
|
};
|
103
|
+
export type CB_CONTENT_PROP_VIDEO = {
|
104
|
+
CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: STRING_PLAIN;
|
105
|
+
CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: string;
|
106
|
+
CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY: string;
|
107
|
+
CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY: string;
|
108
|
+
CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
|
109
|
+
CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
|
110
|
+
CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
|
111
|
+
};
|
@@ -1,11 +1,10 @@
|
|
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_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 |
|
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_CONTENTS_CAROUSEL | CB_VIDEOPLAYER;
|
5
5
|
type GeneralCustomSectionType = {
|
6
6
|
id: number;
|
7
7
|
type: 'GENERAL';
|
8
|
-
blockId?: string;
|
9
8
|
availablePlugins: Array<string>;
|
10
9
|
queryableTapSrc: string;
|
11
10
|
queryableDefinitionPreset: string;
|
@@ -19,7 +18,7 @@ export type GroupCustomSectionType = {
|
|
19
18
|
queryableDefinitionPreset: string;
|
20
19
|
dynamicLayoutSectionId: number;
|
21
20
|
};
|
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 |
|
21
|
+
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_VIDEOPLAYER_PROPERTIES_TYPE;
|
23
22
|
export type CB_TEXT_TYPE = GeneralCustomSectionType & {
|
24
23
|
componentBlockCode: CB_ALL_CODES.CB_TEXT;
|
25
24
|
jsonProperties: {
|
@@ -56,12 +55,6 @@ export type CB_YOUTUBE = GeneralCustomSectionType & {
|
|
56
55
|
data: CB_YOUTUBE_PROPERTIES_TYPE;
|
57
56
|
};
|
58
57
|
};
|
59
|
-
export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
|
60
|
-
componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
|
61
|
-
jsonProperties: {
|
62
|
-
data: CB_YOUTUBE_PROPERTIES_TYPE;
|
63
|
-
};
|
64
|
-
};
|
65
58
|
export type CB_TWITTER = GeneralCustomSectionType & {
|
66
59
|
componentBlockCode: CB_ALL_CODES.CB_TWITTER;
|
67
60
|
jsonProperties: {
|
@@ -80,26 +73,18 @@ export type CB_GROUP = GeneralCustomSectionType & {
|
|
80
73
|
data: CB_BTN_PROPERTIES_TYPE;
|
81
74
|
};
|
82
75
|
};
|
83
|
-
export type
|
84
|
-
componentBlockCode: CB_ALL_CODES.
|
85
|
-
jsonProperties: {
|
86
|
-
data: CB_CONTENTSCAROUSEL_PROPERTIES_TYPE;
|
87
|
-
};
|
88
|
-
compositions: Array<IComposition>;
|
89
|
-
};
|
90
|
-
export type CB_SLIDEBANNER = GeneralCustomSectionType & {
|
91
|
-
componentBlockCode: CB_ALL_CODES.CB_SLIDEBANNER;
|
76
|
+
export type CB_CONTENTS_CAROUSEL = GeneralCustomSectionType & {
|
77
|
+
componentBlockCode: CB_ALL_CODES.CB_CONTENTS_CAROUSEL;
|
92
78
|
jsonProperties: {
|
93
|
-
data:
|
79
|
+
data: CB_BTN_PROPERTIES_TYPE;
|
94
80
|
};
|
95
81
|
compositions: Array<IComposition>;
|
96
82
|
};
|
97
|
-
export type
|
98
|
-
componentBlockCode: CB_ALL_CODES.
|
83
|
+
export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
|
84
|
+
componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
|
99
85
|
jsonProperties: {
|
100
|
-
data:
|
86
|
+
data: CB_VIDEOPLAYER_PROPERTIES_TYPE;
|
101
87
|
};
|
102
|
-
compositions: Array<IComposition>;
|
103
88
|
};
|
104
89
|
export declare enum CB_ALL_CODES {
|
105
90
|
CB_TEXT = "CB_TEXT",
|
@@ -111,9 +96,7 @@ export declare enum CB_ALL_CODES {
|
|
111
96
|
CB_TWITTER = "CB_TWITTER",
|
112
97
|
CB_EMBED = "CB_EMBED",
|
113
98
|
CB_GROUP = "CB_GROUP",
|
114
|
-
|
115
|
-
CB_CONTENTSCAROUSEL = "CB_CONTENTSCAROUSEL",
|
116
|
-
CB_SLIDEBANNER = "CB_SLIDEBANNER",
|
99
|
+
CB_CONTENTS_CAROUSEL = "CB_CONTENTS_CAROUSEL",
|
117
100
|
CB_VIDEOPLAYER = "CB_VIDEOPLAYER"
|
118
101
|
}
|
119
102
|
export {};
|
@@ -12,8 +12,6 @@ var CB_ALL_CODES;
|
|
12
12
|
CB_ALL_CODES["CB_TWITTER"] = "CB_TWITTER";
|
13
13
|
CB_ALL_CODES["CB_EMBED"] = "CB_EMBED";
|
14
14
|
CB_ALL_CODES["CB_GROUP"] = "CB_GROUP";
|
15
|
-
CB_ALL_CODES["
|
16
|
-
CB_ALL_CODES["CB_CONTENTSCAROUSEL"] = "CB_CONTENTSCAROUSEL";
|
17
|
-
CB_ALL_CODES["CB_SLIDEBANNER"] = "CB_SLIDEBANNER";
|
15
|
+
CB_ALL_CODES["CB_CONTENTS_CAROUSEL"] = "CB_CONTENTS_CAROUSEL";
|
18
16
|
CB_ALL_CODES["CB_VIDEOPLAYER"] = "CB_VIDEOPLAYER";
|
19
17
|
})(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
|
@@ -12,8 +12,8 @@ export type CB_EFFECT_PROP_ENTANIM_BASE = {
|
|
12
12
|
CB_EFFECT_PROP_ENTANIM_SPEC_TYPE: string;
|
13
13
|
};
|
14
14
|
export type CB_EFFECT_PROP_ENTANIM_SPECS = CB_EFFECT_PROP_ENTANIM_BASE & Partial<{
|
15
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined
|
16
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined
|
17
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined
|
18
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined
|
15
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined;
|
16
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined;
|
17
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined;
|
18
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined;
|
19
19
|
}>;
|
@@ -16,8 +16,8 @@ export type CB_STYLE_PROP_PADDING_BASE = {
|
|
16
16
|
};
|
17
17
|
export type CB_LAYOUT_PROP_PADDING_SPECS = CB_STYLE_PROP_PADDING_BASE & {
|
18
18
|
CB_LAYOUT_PROP_PADDING_SPEC_PADDING: CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ;
|
19
|
-
'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined
|
19
|
+
'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined;
|
20
20
|
CB_LAYOUT_PROP_PADDING_SPEC_FIX: boolean;
|
21
|
-
'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined
|
21
|
+
'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined;
|
22
22
|
};
|
23
23
|
export {};
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { Device, JsonPropertiesParserResult } from './types';
|
2
|
-
import type {
|
3
|
-
export default function parseJsonProperties(properties: ISectionJsonProperties['data'] |
|
2
|
+
import type { ISectionJsonProperties } from '../../../../DynamicLayout/types';
|
3
|
+
export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
|
@@ -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,
|
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_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 |
|
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_VIDEOPLAYER_PROPERTIES_TYPE, device: Device): ParserResult;
|
@@ -1,30 +1,22 @@
|
|
1
|
-
import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsCarousel/types';
|
2
|
-
import type { CB_STYLE_PROP_CONTENTSLIST_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsList/types';
|
3
|
-
import type { CB_STYLE_PROP_SLIDEBANNER_SPECS } from '../components/ComponentBlock/componentBlocks/SlideBanner/types';
|
4
1
|
import type { CB_TWITTER_STYLE_PROPS } from '../components/ComponentBlock/componentBlocks/Twitter/types';
|
5
|
-
import type {
|
2
|
+
import type { CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_CONTENT_PROP_VIDEO, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS } from '../components/ComponentBlock/componentBlocks/types';
|
6
3
|
import type { CB_CONTENT_PROP_YOUTUBE_TYPE, CB_STYLE_PROP_BGCOLOR_SPECS } from '../components/ComponentBlock/componentBlocks/Youtube/types';
|
7
4
|
import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './contentPropParsers/parseContentVisibility';
|
8
5
|
import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './effectPropParsers/parseEffectPropEntAnim';
|
9
6
|
import type { CB_LAYOUT_PROP_ARRANGE_SPECS } from './layoutPropParsers/parseLayoutPropArrange';
|
10
7
|
import type { CB_LAYOUT_PROP_PADDING_SPECS } from './layoutPropParsers/parseLayoutPropPadding';
|
11
8
|
import type { NamedLayoutPropType } from './layoutPropParsers/types';
|
12
|
-
import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './stylePropParsers/parseStylePropBgOverlay';
|
13
9
|
import type { CB_STYLE_PROP_BORDER_SPECS } from './stylePropParsers/parseStylePropBorder';
|
14
10
|
import type { CB_STYLE_PROP_DIVIDER_SPECS } from './stylePropParsers/parseStylePropDivider';
|
15
11
|
import type { CB_STYLE_PROP_IMAGE_SPECS } from './stylePropParsers/parseStylePropImage';
|
16
12
|
import type { CB_STYLE_PROP_TEXT_OPACITY_SPECS } from './stylePropParsers/parseStylePropOpacity';
|
17
13
|
import type { CB_STYLE_PROP_SHADOW_SPECS } from './stylePropParsers/parseStylePropShadow';
|
18
14
|
import type { NamedStylePropType } from './stylePropParsers/types';
|
19
|
-
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '../../../../DynamicLayout/types';
|
20
15
|
import type { CSSProperties } from 'react';
|
21
16
|
export type STRING_PLAIN = string;
|
22
17
|
export type ENUM_STRING = string;
|
23
18
|
export type NUMBER_INTEGER = number;
|
24
19
|
export type STRING_8DIGIT_HEX = string;
|
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';
|
28
20
|
export type CB_GENERAL_PROPERTIES_TYPE = {
|
29
21
|
CB_PLACEMENT_PROP_PLACEMENT: CB_PLACEMENT_PROP_SPECS;
|
30
22
|
CB_CONTENT_PROP_HOVER: {
|
@@ -42,6 +34,8 @@ export type CB_PLACEMENT_PROP_SPECS = {
|
|
42
34
|
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE': number;
|
43
35
|
CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX: number;
|
44
36
|
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE': number;
|
37
|
+
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LATEST_LOCKED_STARTY:MOBILE': number;
|
38
|
+
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LOCKSTATUS:MOBILE': 'LOCKED' | 'FALLBACK_TO_SYNC' | undefined;
|
45
39
|
};
|
46
40
|
export type CB_TEXT_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
47
41
|
CB_CONTENT_PROP_TEXT: CB_CONTENT_PROP_TEXT;
|
@@ -128,49 +122,6 @@ export type CB_YOUTUBE_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
|
128
122
|
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
129
123
|
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
130
124
|
};
|
131
|
-
export type CB_CONTENTSCAROUSEL_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
132
|
-
CB_CONTENT_PROP_CONTENTSCAROUSEL: CB_CONTENT_PROP_CONTENTSCAROUSEL;
|
133
|
-
CB_STYLE_PROP_CONTENTSCAROUSEL: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
|
134
|
-
CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
|
135
|
-
CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
|
136
|
-
CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
|
137
|
-
CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
|
138
|
-
CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
|
139
|
-
CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
|
140
|
-
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
141
|
-
CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
|
142
|
-
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
143
|
-
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
144
|
-
CB_CONTENT_PROP_CLINK: CB_CONTENT_PROP_CLINK;
|
145
|
-
};
|
146
|
-
export type CB_SLIDEBANNER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
147
|
-
CB_CONTENT_PROP_SLIDEBANNER: CB_CONTENT_PROP_SLIDEBANNER;
|
148
|
-
CB_STYLE_PROP_SLIDEBANNER: CB_STYLE_PROP_SLIDEBANNER_SPECS;
|
149
|
-
CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
|
150
|
-
CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
|
151
|
-
CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
|
152
|
-
CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
|
153
|
-
CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
|
154
|
-
CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
|
155
|
-
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
156
|
-
CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
|
157
|
-
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
158
|
-
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
159
|
-
};
|
160
|
-
export type CB_LIST_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
161
|
-
CB_CONTENT_PROP_CONTENTSLIST: CB_CONTENT_PROP_CONTENTSLIST;
|
162
|
-
CB_STYLE_PROP_CONTENTSLIST: CB_STYLE_PROP_CONTENTSLIST_SPECS;
|
163
|
-
CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
|
164
|
-
CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
|
165
|
-
CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
|
166
|
-
CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
|
167
|
-
CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
|
168
|
-
CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
|
169
|
-
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
170
|
-
CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
|
171
|
-
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
172
|
-
CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
|
173
|
-
};
|
174
125
|
export type CB_VIDEOPLAYER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
175
126
|
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
176
127
|
CB_CONTENT_PROP_VIDEO: CB_CONTENT_PROP_VIDEO;
|
@@ -176,12 +176,11 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
|
|
176
176
|
}
|
177
177
|
return 16;
|
178
178
|
}
|
179
|
-
// NOTE: Desktop
|
180
179
|
if (responsiveFontMode) {
|
181
180
|
return size.width * 0.0133;
|
182
181
|
}
|
183
182
|
if (size.width < 1200) {
|
184
|
-
return Math.max(getDefensiveFontSize(device, size.width),
|
183
|
+
return Math.max(getDefensiveFontSize(device, size.width), 16);
|
185
184
|
}
|
186
185
|
return 16;
|
187
186
|
})();
|
@@ -5,7 +5,6 @@ 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 { CCB_VALUE_TYPE } from './sections/CustomSection/util/types';
|
9
8
|
import type { Block, ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
|
10
9
|
import type { Ref } from 'react';
|
11
10
|
export { TypeOfSectionAction };
|
@@ -236,10 +235,6 @@ export type DynamicLayoutProps = {
|
|
236
235
|
shortcutKeyMode?: CustomSectionShortcutKeysType;
|
237
236
|
dynamicLayoutRef?: Ref<CustomSectionImperativeHandleRef>;
|
238
237
|
zoomScale?: number;
|
239
|
-
queryData?: QueryData;
|
240
|
-
};
|
241
|
-
export type QueryData = {
|
242
|
-
[key: string]: Array<Record<string, unknown>>;
|
243
238
|
};
|
244
239
|
export type NavHandlerAction = {
|
245
240
|
openNewTab: boolean;
|
@@ -349,7 +344,6 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS_BASE = {
|
|
349
344
|
CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: string;
|
350
345
|
CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME: number;
|
351
346
|
CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR: string;
|
352
|
-
CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
353
347
|
};
|
354
348
|
export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
|
355
349
|
'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:HOVER': number | null | undefined;
|
@@ -383,16 +377,25 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
|
|
383
377
|
'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:HOVER'?: string | null;
|
384
378
|
'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE'?: string | null;
|
385
379
|
'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;
|
389
380
|
};
|
390
381
|
export interface IComposition {
|
391
382
|
id: number;
|
392
383
|
administrativeTitle?: string;
|
393
|
-
|
384
|
+
display: boolean;
|
385
|
+
order: number;
|
386
|
+
manifest: {
|
387
|
+
schema: TypeOfSectionManifestSchema;
|
388
|
+
availableProperties: Array<KeyOfSectionProperties>;
|
389
|
+
availableStyles: Array<KeyOfSectionStyles>;
|
390
|
+
availableTemplates: Array<TypeofSectionTemplate>;
|
391
|
+
} | Record<string, never>;
|
392
|
+
template: TypeofSectionTemplate;
|
393
|
+
properties: ISectionProperties;
|
394
|
+
styles: ISectionStyles;
|
395
|
+
dynamicLayoutSectionItems: Array<IItem> | null;
|
394
396
|
insertedAt: string;
|
395
397
|
updatedAt: string;
|
398
|
+
type: TypeOfSectionType;
|
396
399
|
program?: 'MEMBERSHIP_DISPLAY';
|
397
400
|
programData?: {
|
398
401
|
mdid: string;
|
@@ -406,42 +409,6 @@ export interface IComposition {
|
|
406
409
|
};
|
407
410
|
};
|
408
411
|
};
|
409
|
-
componentBlocks
|
410
|
-
jsonProperties
|
411
|
-
compositionCode: string;
|
412
|
-
compositionTemplateCode: string;
|
413
|
-
dynamicLayoutComponentBlockId: number;
|
412
|
+
componentBlocks?: ComponentBlock[];
|
413
|
+
jsonProperties?: ISectionJsonProperties;
|
414
414
|
}
|
415
|
-
export type ICompositionJsonProperties = {
|
416
|
-
data: {
|
417
|
-
CB_CONTENT_PROP_COMPOSITIONSMARTARRANGE: {
|
418
|
-
CB_CONTENT_PROP_COMPOSITIONSMARTARRANGE_SPEC_MANUAL: null;
|
419
|
-
};
|
420
|
-
CB_CONTENT_PROP_HOVER: {
|
421
|
-
CB_CONTENT_PROP_HOVER_SPEC_MUSE: boolean;
|
422
|
-
};
|
423
|
-
CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
|
424
|
-
CB_PLACEMENT_PROP_COMPOSITION: {
|
425
|
-
CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS: number;
|
426
|
-
'CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS:MOBILE': number | null;
|
427
|
-
CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT: number | null;
|
428
|
-
'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT:MOBILE': number | null;
|
429
|
-
CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH: number | null;
|
430
|
-
'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH:MOBILE': number | null;
|
431
|
-
CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT: number | null;
|
432
|
-
'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT:MOBILE': number | null;
|
433
|
-
CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH: number | null;
|
434
|
-
'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH:MOBILE': number | null;
|
435
|
-
CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS: number;
|
436
|
-
'CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS:MOBILE': number | null;
|
437
|
-
};
|
438
|
-
CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
|
439
|
-
CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
|
440
|
-
CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
|
441
|
-
};
|
442
|
-
zOrders: ZOrder;
|
443
|
-
pedigree: SectionPedigree;
|
444
|
-
currentVersion: string;
|
445
|
-
minVersion: string;
|
446
|
-
version: string;
|
447
|
-
};
|
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.380",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
6
|
"main": "dist/index.js",
|
@@ -22,14 +22,14 @@
|
|
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.
|
25
|
+
"publ-echo": "^0.0.119",
|
26
26
|
"react-hook-form": "^7.28.1",
|
27
27
|
"react-i18next": "^11.12.0",
|
28
28
|
"react-router-dom": "^5.2.0",
|
29
29
|
"react-scripts": "4.0.3",
|
30
30
|
"smoothscroll-polyfill": "^0.4.4",
|
31
31
|
"styled-components": "^5.2.1",
|
32
|
-
"swiper": "^
|
32
|
+
"swiper": "^8.4.5",
|
33
33
|
"tsc-init": "^2.1.0",
|
34
34
|
"web-vitals": "^1.1.2"
|
35
35
|
},
|
package/release-note.md
CHANGED
@@ -1,20 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { TypeOfCompositionAction } from '../compositionActionTypes';
|
3
|
-
import type { CustomSectionShortcutKeysType, IComposition } from '../types';
|
4
|
-
import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
|
5
|
-
export type LayoutsType = {
|
6
|
-
sm: Layout;
|
7
|
-
lg: Layout;
|
8
|
-
};
|
9
|
-
export type CompositionEditorCanvasProps = {
|
10
|
-
device: 'DESKTOP' | 'MOBILE';
|
11
|
-
zoomScale: number;
|
12
|
-
shortcutKeyMode: CustomSectionShortcutKeysType | '';
|
13
|
-
compositionActionHandler: (action: TypeOfCompositionAction) => void;
|
14
|
-
};
|
15
|
-
export type CompositionEditorProps = {
|
16
|
-
compositionData: IComposition;
|
17
|
-
editorProps: CompositionEditorCanvasProps;
|
18
|
-
};
|
19
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<CompositionEditorProps & React.RefAttributes<unknown>>>;
|
20
|
-
export default _default;
|