pds-dev-kit-web-test 2.5.419 → 2.5.421
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -3
- package/dist/src/common/assets/icons/fill/Video.js +1 -1
- package/dist/src/common/assets/icons/fill/VideoOff.js +1 -1
- package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
- package/dist/src/common/assets/icons/fill/index.d.ts +0 -3
- package/dist/src/common/assets/icons/fill/index.js +1 -7
- package/dist/src/common/assets/icons/line/Video.js +1 -1
- package/dist/src/common/assets/icons/line/VideoOff.js +1 -1
- package/dist/src/common/assets/icons/line/VideoType.js +1 -1
- package/dist/src/common/assets/icons/line/index.d.ts +0 -12
- package/dist/src/common/assets/icons/line/index.js +1 -25
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +1 -2
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +4 -48
- package/dist/src/common/services/i18n/resources/en.json +1 -9
- package/dist/src/common/services/i18n/resources/es.json +1 -9
- package/dist/src/common/services/i18n/resources/fil.json +1 -9
- package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
- package/dist/src/common/services/i18n/resources/ja.json +1 -9
- package/dist/src/common/services/i18n/resources/ko.json +1 -9
- package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
- package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
- package/dist/src/common/styles/colorSet/UIColor.json +1 -14
- package/dist/src/common/styles/colorSet/index.d.ts +2 -31
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -3
- package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
- package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
- package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
- package/dist/src/desktop/components/Chip/Chip.js +5 -50
- package/dist/src/desktop/components/Radio/Radio.js +2 -2
- package/dist/src/desktop/components/TextField/TextField.js +15 -41
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
- package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -3
- package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
- package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
- package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
- package/dist/src/mobile/components/Chip/Chip.js +5 -50
- package/dist/src/mobile/components/Radio/Radio.js +2 -2
- package/dist/src/mobile/components/TextField/TextField.js +15 -41
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
- package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
- package/dist/src/mobile/components/index.d.ts +1 -2
- package/dist/src/mobile/components/index.js +1 -3
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +2 -3
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +5 -6
- 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 +3 -4
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +12 -38
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -12
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/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/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/mock_composition.js +43 -852
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +274 -1071
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +222 -1017
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -842
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +267 -803
- package/dist/src/sub/DynamicLayout/mocks.d.ts +776 -2
- package/dist/src/sub/DynamicLayout/mocks.js +11 -4266
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +0 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +4 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +54 -149
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +1 -21
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +1 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +56 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +4 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +32 -30
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +24 -47
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +12 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +316 -144
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +23 -38
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +91 -43
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +132 -59
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +35 -58
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +1 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +5 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +26 -91
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +1 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +56 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -9
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +32 -30
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +24 -47
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +67 -168
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +6 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +4 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +8 -17
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +4 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +2 -15
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -1
- package/dist/src/sub/DynamicLayout/types.d.ts +1 -10
- package/package.json +3 -2
- package/release-note.md +3 -3
- package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/Cam.js +0 -30
- package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
- package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
- package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Cam.js +0 -30
- package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
- package/dist/src/common/assets/icons/line/CamOff.js +0 -30
- package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
- package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
- package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
- package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Radio.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
- package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
- package/dist/src/common/assets/icons/line/TextLong.js +0 -30
- package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
- package/dist/src/common/assets/icons/line/TextShort.js +0 -30
- package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
- package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
- package/dist/src/common/utils/dateHelper.d.ts +0 -13
- package/dist/src/common/utils/dateHelper.js +0 -87
- package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
- package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
- package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
- package/dist/src/mobile/components/DatePicker/Day.js +0 -94
- package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
- package/dist/src/mobile/components/DatePicker/index.js +0 -8
- package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
- package/dist/src/mobile/components/DatePicker/utils.js +0 -68
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
- package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
- package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
- package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -368
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -371
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
- 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 -849
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -148
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -8
|
@@ -21,37 +21,39 @@ function parseSlideBannerStyleToSlideBannerCoreProp(_a) {
|
|
|
21
21
|
var props = _a.props, device = _a.device;
|
|
22
22
|
var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
|
|
23
23
|
return availableSpecCodes.reduce(function (acc, currentKey) {
|
|
24
|
-
var _a, _b, _c, _d;
|
|
24
|
+
var _a, _b, _c, _d, _e;
|
|
25
25
|
var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
|
|
26
26
|
var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
|
|
27
27
|
var slideBannerCorePropertyKey = getSlideBannerCorePropKey(currentKey);
|
|
28
28
|
if (slideBannerCorePropertyKey === 'customStyle') {
|
|
29
29
|
var value = props[keyWithDevice];
|
|
30
30
|
var hoverValue = props[keyWithHover];
|
|
31
|
+
if (hoverValue === null || hoverValue === undefined) {
|
|
32
|
+
return {
|
|
33
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_a = {}, _a[slideBannerCorePropertyKey] = getStyle(value), _a)),
|
|
34
|
+
hoverStyle: __assign({}, acc.hoverStyle)
|
|
35
|
+
};
|
|
36
|
+
}
|
|
31
37
|
return {
|
|
32
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), (
|
|
33
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), (
|
|
38
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_b = {}, _b[slideBannerCorePropertyKey] = getStyle(value), _b)),
|
|
39
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_c = {}, _c[slideBannerCorePropertyKey] = getStyle(hoverValue), _c))
|
|
34
40
|
};
|
|
35
41
|
}
|
|
36
42
|
if (slideBannerCorePropertyKey === 'useAutoplay') {
|
|
37
43
|
var value = props[keyWithDevice];
|
|
38
44
|
var hoverValue = props[keyWithHover];
|
|
39
45
|
return {
|
|
40
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { useAutoplay: value }),
|
|
41
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay: hoverValue
|
|
46
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { useAutoplay: value === true }),
|
|
47
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay: hoverValue === true })
|
|
42
48
|
};
|
|
43
49
|
}
|
|
44
50
|
if (slideBannerCorePropertyKey === 'autoplayDelay') {
|
|
45
51
|
var value = props[keyWithDevice];
|
|
46
52
|
var hoverValue = props[keyWithHover];
|
|
47
53
|
return {
|
|
48
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: {
|
|
49
|
-
delay: value * 1000,
|
|
50
|
-
disableOnInteraction: false,
|
|
51
|
-
pauseOnMouseEnter: true
|
|
52
|
-
} }),
|
|
54
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: { delay: value * 1000, disableOnInteraction: false, pauseOnMouseEnter: true } }),
|
|
53
55
|
hoverStyle: __assign(__assign({}, acc.hoverStyle), { autoplay: {
|
|
54
|
-
delay:
|
|
56
|
+
delay: hoverValue * 1000,
|
|
55
57
|
disableOnInteraction: false,
|
|
56
58
|
pauseOnMouseEnter: true
|
|
57
59
|
} })
|
|
@@ -61,8 +63,8 @@ function parseSlideBannerStyleToSlideBannerCoreProp(_a) {
|
|
|
61
63
|
var value = props[keyWithDevice];
|
|
62
64
|
var hoverValue = props[keyWithHover];
|
|
63
65
|
return {
|
|
64
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), (
|
|
65
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), (
|
|
66
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_d = {}, _d[slideBannerCorePropertyKey] = value === false ? false : true, _d)),
|
|
67
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_e = {}, _e[slideBannerCorePropertyKey] = hoverValue === false ? false : true, _e))
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
70
|
return {
|
|
@@ -107,10 +109,11 @@ function getStyle(value) {
|
|
|
107
109
|
case 'DESIGN1':
|
|
108
110
|
return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
|
|
109
111
|
case 'DESIGN2': {
|
|
110
|
-
|
|
112
|
+
var overlayEffect = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "], ["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "])));
|
|
113
|
+
return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "], ["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "])), overlayEffect, overlayEffect);
|
|
111
114
|
}
|
|
112
115
|
default: {
|
|
113
|
-
return (0, styled_components_1.css)(
|
|
116
|
+
return (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
|
|
114
117
|
}
|
|
115
118
|
}
|
|
116
119
|
}
|
|
@@ -126,7 +129,7 @@ function parseSlideBannerStyleToCustomPaginationProp(_a) {
|
|
|
126
129
|
var hoverValue = props[keyWithHover];
|
|
127
130
|
return {
|
|
128
131
|
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
|
129
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue
|
|
132
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
|
130
133
|
};
|
|
131
134
|
}
|
|
132
135
|
if (customPaginationPropertyKey === 'offset') {
|
|
@@ -134,7 +137,7 @@ function parseSlideBannerStyleToCustomPaginationProp(_a) {
|
|
|
134
137
|
var hoverValue = props[keyWithHover];
|
|
135
138
|
return {
|
|
136
139
|
normalStyle: __assign(__assign({}, acc.normalStyle), { offset: getCustomPaginationOffset(value) }),
|
|
137
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue
|
|
140
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue) })
|
|
138
141
|
};
|
|
139
142
|
}
|
|
140
143
|
if (customPaginationPropertyKey === 'size') {
|
|
@@ -142,23 +145,7 @@ function parseSlideBannerStyleToCustomPaginationProp(_a) {
|
|
|
142
145
|
var hoverValue = props[keyWithHover];
|
|
143
146
|
return {
|
|
144
147
|
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomPaginationSize(value) }),
|
|
145
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
if (customPaginationPropertyKey === 'primaryColor') {
|
|
149
|
-
var value = props[keyWithDevice];
|
|
150
|
-
var hoverValue = props[keyWithHover];
|
|
151
|
-
return {
|
|
152
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { primaryColor: value }),
|
|
153
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { primaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
if (customPaginationPropertyKey === 'secondaryColor') {
|
|
157
|
-
var value = props[keyWithDevice];
|
|
158
|
-
var hoverValue = props[keyWithHover];
|
|
159
|
-
return {
|
|
160
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { secondaryColor: value }),
|
|
161
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { secondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
148
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue) })
|
|
162
149
|
};
|
|
163
150
|
}
|
|
164
151
|
return {
|
|
@@ -188,16 +175,6 @@ function getCustomPaginationPropKey(key) {
|
|
|
188
175
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:MOBILE":
|
|
189
176
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:MOBILE:HOVER":
|
|
190
177
|
return 'size';
|
|
191
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR":
|
|
192
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:HOVER":
|
|
193
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE":
|
|
194
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE:HOVER":
|
|
195
|
-
return 'primaryColor';
|
|
196
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR":
|
|
197
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:HOVER":
|
|
198
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE":
|
|
199
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE:HOVER":
|
|
200
|
-
return 'secondaryColor';
|
|
201
178
|
default:
|
|
202
179
|
return '';
|
|
203
180
|
}
|
|
@@ -282,7 +259,7 @@ function getCustomPaginationOffset(value) {
|
|
|
282
259
|
return {
|
|
283
260
|
top: '100%',
|
|
284
261
|
left: '0px',
|
|
285
|
-
translateX: -
|
|
262
|
+
translateX: -50,
|
|
286
263
|
translateY: -100,
|
|
287
264
|
transformOrigin: 'right top'
|
|
288
265
|
};
|
|
@@ -290,7 +267,7 @@ function getCustomPaginationOffset(value) {
|
|
|
290
267
|
return {
|
|
291
268
|
top: '50%',
|
|
292
269
|
left: '0px',
|
|
293
|
-
translateX: -
|
|
270
|
+
translateX: -50,
|
|
294
271
|
translateY: -50,
|
|
295
272
|
transformOrigin: 'right top'
|
|
296
273
|
};
|
|
@@ -298,13 +275,13 @@ function getCustomPaginationOffset(value) {
|
|
|
298
275
|
return {
|
|
299
276
|
top: '0px',
|
|
300
277
|
left: '0px',
|
|
301
|
-
translateX: -
|
|
278
|
+
translateX: -50,
|
|
302
279
|
translateY: 0,
|
|
303
280
|
transformOrigin: 'right top'
|
|
304
281
|
};
|
|
305
|
-
case '
|
|
282
|
+
case 'INSET13':
|
|
306
283
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
307
|
-
case '
|
|
284
|
+
case 'INSET14':
|
|
308
285
|
return {
|
|
309
286
|
top: '0px',
|
|
310
287
|
left: '50%',
|
|
@@ -312,7 +289,7 @@ function getCustomPaginationOffset(value) {
|
|
|
312
289
|
translateY: 0,
|
|
313
290
|
transformOrigin: 'left top'
|
|
314
291
|
};
|
|
315
|
-
case '
|
|
292
|
+
case 'INSET15':
|
|
316
293
|
return {
|
|
317
294
|
top: '0px',
|
|
318
295
|
left: '100%',
|
|
@@ -320,7 +297,7 @@ function getCustomPaginationOffset(value) {
|
|
|
320
297
|
translateY: 0,
|
|
321
298
|
transformOrigin: 'left top'
|
|
322
299
|
};
|
|
323
|
-
case '
|
|
300
|
+
case 'INSET16':
|
|
324
301
|
return {
|
|
325
302
|
top: '50%',
|
|
326
303
|
left: '100%',
|
|
@@ -328,7 +305,7 @@ function getCustomPaginationOffset(value) {
|
|
|
328
305
|
translateY: -50,
|
|
329
306
|
transformOrigin: 'left top'
|
|
330
307
|
};
|
|
331
|
-
case '
|
|
308
|
+
case 'INSET17':
|
|
332
309
|
return {
|
|
333
310
|
top: '100%',
|
|
334
311
|
left: '100%',
|
|
@@ -336,7 +313,7 @@ function getCustomPaginationOffset(value) {
|
|
|
336
313
|
translateY: -100,
|
|
337
314
|
transformOrigin: 'left top'
|
|
338
315
|
};
|
|
339
|
-
case '
|
|
316
|
+
case 'INSET18':
|
|
340
317
|
return {
|
|
341
318
|
top: '100%',
|
|
342
319
|
left: '50%',
|
|
@@ -344,7 +321,7 @@ function getCustomPaginationOffset(value) {
|
|
|
344
321
|
translateY: -100,
|
|
345
322
|
transformOrigin: 'left top'
|
|
346
323
|
};
|
|
347
|
-
case '
|
|
324
|
+
case 'INSET19':
|
|
348
325
|
return {
|
|
349
326
|
top: '100%',
|
|
350
327
|
left: '0px',
|
|
@@ -352,7 +329,7 @@ function getCustomPaginationOffset(value) {
|
|
|
352
329
|
translateY: -100,
|
|
353
330
|
transformOrigin: 'top left'
|
|
354
331
|
};
|
|
355
|
-
case '
|
|
332
|
+
case 'INSET20':
|
|
356
333
|
return {
|
|
357
334
|
top: '50%',
|
|
358
335
|
left: '0px',
|
|
@@ -369,9 +346,9 @@ function getCustomPaginationSize(value) {
|
|
|
369
346
|
case 'SMALL':
|
|
370
347
|
return 1;
|
|
371
348
|
case 'MEDIUM':
|
|
372
|
-
return 1.5;
|
|
373
|
-
case 'LARGE':
|
|
374
349
|
return 2;
|
|
350
|
+
case 'LARGE':
|
|
351
|
+
return 3;
|
|
375
352
|
default:
|
|
376
353
|
return 1;
|
|
377
354
|
}
|
|
@@ -388,7 +365,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
|
388
365
|
var hoverValue = props[keyWithHover];
|
|
389
366
|
return {
|
|
390
367
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnType: value }),
|
|
391
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue
|
|
368
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue })
|
|
392
369
|
};
|
|
393
370
|
}
|
|
394
371
|
if (customNavigationPropertyKey === 'prevBtnOffset') {
|
|
@@ -396,7 +373,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
|
396
373
|
var hoverValue = props[keyWithHover];
|
|
397
374
|
return {
|
|
398
375
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnOffset: getCustomNavigationOffset(value) }),
|
|
399
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue
|
|
376
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue) })
|
|
400
377
|
};
|
|
401
378
|
}
|
|
402
379
|
if (customNavigationPropertyKey === 'prevBtnSize') {
|
|
@@ -404,23 +381,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
|
404
381
|
var hoverValue = props[keyWithHover];
|
|
405
382
|
return {
|
|
406
383
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSize: getCustomNavigationSize(value) }),
|
|
407
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue
|
|
408
|
-
};
|
|
409
|
-
}
|
|
410
|
-
if (customNavigationPropertyKey === 'prevBtnPrimaryColor') {
|
|
411
|
-
var value = props[keyWithDevice];
|
|
412
|
-
var hoverValue = props[keyWithHover];
|
|
413
|
-
return {
|
|
414
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnPrimaryColor: value }),
|
|
415
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnPrimaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
416
|
-
};
|
|
417
|
-
}
|
|
418
|
-
if (customNavigationPropertyKey === 'prevBtnSecondaryColor') {
|
|
419
|
-
var value = props[keyWithDevice];
|
|
420
|
-
var hoverValue = props[keyWithHover];
|
|
421
|
-
return {
|
|
422
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSecondaryColor: value }),
|
|
423
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSecondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
384
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue) })
|
|
424
385
|
};
|
|
425
386
|
}
|
|
426
387
|
if (customNavigationPropertyKey === 'nextBtnType') {
|
|
@@ -428,7 +389,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
|
428
389
|
var hoverValue = props[keyWithHover];
|
|
429
390
|
return {
|
|
430
391
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnType: value }),
|
|
431
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue
|
|
392
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue })
|
|
432
393
|
};
|
|
433
394
|
}
|
|
434
395
|
if (customNavigationPropertyKey === 'nextBtnOffset') {
|
|
@@ -436,7 +397,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
|
436
397
|
var hoverValue = props[keyWithHover];
|
|
437
398
|
return {
|
|
438
399
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnOffset: getCustomNavigationOffset(value) }),
|
|
439
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue
|
|
400
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue) })
|
|
440
401
|
};
|
|
441
402
|
}
|
|
442
403
|
if (customNavigationPropertyKey === 'nextBtnSize') {
|
|
@@ -444,23 +405,7 @@ function parseSlideBannerStyleToCustomNavigationProp(_a) {
|
|
|
444
405
|
var hoverValue = props[keyWithHover];
|
|
445
406
|
return {
|
|
446
407
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSize: getCustomNavigationSize(value) }),
|
|
447
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue
|
|
448
|
-
};
|
|
449
|
-
}
|
|
450
|
-
if (customNavigationPropertyKey === 'nextBtnPrimaryColor') {
|
|
451
|
-
var value = props[keyWithDevice];
|
|
452
|
-
var hoverValue = props[keyWithHover];
|
|
453
|
-
return {
|
|
454
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnPrimaryColor: value }),
|
|
455
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnPrimaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
456
|
-
};
|
|
457
|
-
}
|
|
458
|
-
if (customNavigationPropertyKey === 'nextBtnSecondaryColor') {
|
|
459
|
-
var value = props[keyWithDevice];
|
|
460
|
-
var hoverValue = props[keyWithHover];
|
|
461
|
-
return {
|
|
462
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSecondaryColor: value }),
|
|
463
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSecondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
408
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue) })
|
|
464
409
|
};
|
|
465
410
|
}
|
|
466
411
|
return {
|
|
@@ -490,16 +435,6 @@ function getCustomNavigationPropKey(key) {
|
|
|
490
435
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:MOBILE":
|
|
491
436
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:MOBILE:HOVER":
|
|
492
437
|
return 'prevBtnSize';
|
|
493
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR":
|
|
494
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:HOVER":
|
|
495
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE":
|
|
496
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER":
|
|
497
|
-
return 'prevBtnPrimaryColor';
|
|
498
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR":
|
|
499
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:HOVER":
|
|
500
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE":
|
|
501
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER":
|
|
502
|
-
return 'prevBtnSecondaryColor';
|
|
503
438
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE":
|
|
504
439
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:HOVER":
|
|
505
440
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:MOBILE":
|
|
@@ -515,16 +450,6 @@ function getCustomNavigationPropKey(key) {
|
|
|
515
450
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE":
|
|
516
451
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE:HOVER":
|
|
517
452
|
return 'nextBtnSize';
|
|
518
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR":
|
|
519
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:HOVER":
|
|
520
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE":
|
|
521
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER":
|
|
522
|
-
return 'nextBtnPrimaryColor';
|
|
523
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR":
|
|
524
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:HOVER":
|
|
525
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE":
|
|
526
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER":
|
|
527
|
-
return 'nextBtnSecondaryColor';
|
|
528
453
|
default:
|
|
529
454
|
return '';
|
|
530
455
|
}
|
|
@@ -609,7 +534,7 @@ function getCustomNavigationOffset(value) {
|
|
|
609
534
|
return {
|
|
610
535
|
top: '100%',
|
|
611
536
|
left: '0px',
|
|
612
|
-
translateX: -
|
|
537
|
+
translateX: -50,
|
|
613
538
|
translateY: -100,
|
|
614
539
|
transformOrigin: 'right top'
|
|
615
540
|
};
|
|
@@ -617,7 +542,7 @@ function getCustomNavigationOffset(value) {
|
|
|
617
542
|
return {
|
|
618
543
|
top: '50%',
|
|
619
544
|
left: '0px',
|
|
620
|
-
translateX: -
|
|
545
|
+
translateX: -50,
|
|
621
546
|
translateY: -50,
|
|
622
547
|
transformOrigin: 'right top'
|
|
623
548
|
};
|
|
@@ -625,13 +550,13 @@ function getCustomNavigationOffset(value) {
|
|
|
625
550
|
return {
|
|
626
551
|
top: '0px',
|
|
627
552
|
left: '0px',
|
|
628
|
-
translateX: -
|
|
553
|
+
translateX: -50,
|
|
629
554
|
translateY: 0,
|
|
630
555
|
transformOrigin: 'right top'
|
|
631
556
|
};
|
|
632
|
-
case '
|
|
557
|
+
case 'INSET13':
|
|
633
558
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
634
|
-
case '
|
|
559
|
+
case 'INSET14':
|
|
635
560
|
return {
|
|
636
561
|
top: '0px',
|
|
637
562
|
left: '50%',
|
|
@@ -639,7 +564,7 @@ function getCustomNavigationOffset(value) {
|
|
|
639
564
|
translateY: 0,
|
|
640
565
|
transformOrigin: 'left top'
|
|
641
566
|
};
|
|
642
|
-
case '
|
|
567
|
+
case 'INSET15':
|
|
643
568
|
return {
|
|
644
569
|
top: '0px',
|
|
645
570
|
left: '100%',
|
|
@@ -647,7 +572,7 @@ function getCustomNavigationOffset(value) {
|
|
|
647
572
|
translateY: 0,
|
|
648
573
|
transformOrigin: 'left top'
|
|
649
574
|
};
|
|
650
|
-
case '
|
|
575
|
+
case 'INSET16':
|
|
651
576
|
return {
|
|
652
577
|
top: '50%',
|
|
653
578
|
left: '100%',
|
|
@@ -655,7 +580,7 @@ function getCustomNavigationOffset(value) {
|
|
|
655
580
|
translateY: -50,
|
|
656
581
|
transformOrigin: 'left top'
|
|
657
582
|
};
|
|
658
|
-
case '
|
|
583
|
+
case 'INSET17':
|
|
659
584
|
return {
|
|
660
585
|
top: '100%',
|
|
661
586
|
left: '100%',
|
|
@@ -663,7 +588,7 @@ function getCustomNavigationOffset(value) {
|
|
|
663
588
|
translateY: -100,
|
|
664
589
|
transformOrigin: 'left top'
|
|
665
590
|
};
|
|
666
|
-
case '
|
|
591
|
+
case 'INSET18':
|
|
667
592
|
return {
|
|
668
593
|
top: '100%',
|
|
669
594
|
left: '50%',
|
|
@@ -671,7 +596,7 @@ function getCustomNavigationOffset(value) {
|
|
|
671
596
|
translateY: -100,
|
|
672
597
|
transformOrigin: 'left top'
|
|
673
598
|
};
|
|
674
|
-
case '
|
|
599
|
+
case 'INSET19':
|
|
675
600
|
return {
|
|
676
601
|
top: '100%',
|
|
677
602
|
left: '0px',
|
|
@@ -679,7 +604,7 @@ function getCustomNavigationOffset(value) {
|
|
|
679
604
|
translateY: -100,
|
|
680
605
|
transformOrigin: 'top left'
|
|
681
606
|
};
|
|
682
|
-
case '
|
|
607
|
+
case 'INSET20':
|
|
683
608
|
return {
|
|
684
609
|
top: '50%',
|
|
685
610
|
left: '0px',
|
|
@@ -696,11 +621,11 @@ function getCustomNavigationSize(value) {
|
|
|
696
621
|
case 'SMALL':
|
|
697
622
|
return 1;
|
|
698
623
|
case 'MEDIUM':
|
|
699
|
-
return
|
|
624
|
+
return 2;
|
|
700
625
|
case 'LARGE':
|
|
701
626
|
return 3;
|
|
702
627
|
default:
|
|
703
|
-
return
|
|
628
|
+
return 1;
|
|
704
629
|
}
|
|
705
630
|
}
|
|
706
631
|
function parseSlideBannerStyleToCustomProgressbarProp(_a) {
|
|
@@ -715,32 +640,16 @@ function parseSlideBannerStyleToCustomProgressbarProp(_a) {
|
|
|
715
640
|
var hoverValue = props[keyWithHover];
|
|
716
641
|
return {
|
|
717
642
|
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
|
718
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue
|
|
643
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
|
719
644
|
};
|
|
720
645
|
}
|
|
721
646
|
if (customProgressbarPropertyKey === 'size') {
|
|
722
647
|
var value = props[keyWithDevice];
|
|
723
648
|
var hoverValue = props[keyWithHover];
|
|
724
|
-
var offset = getCustomProgressbarOffset('
|
|
649
|
+
var offset = getCustomProgressbarOffset('INSET17');
|
|
725
650
|
return {
|
|
726
651
|
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomProgressbarSize(value), offset: offset }),
|
|
727
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue
|
|
728
|
-
};
|
|
729
|
-
}
|
|
730
|
-
if (customProgressbarPropertyKey === 'primaryColor') {
|
|
731
|
-
var value = props[keyWithDevice];
|
|
732
|
-
var hoverValue = props[keyWithHover];
|
|
733
|
-
return {
|
|
734
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { primaryColor: value }),
|
|
735
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { primaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
736
|
-
};
|
|
737
|
-
}
|
|
738
|
-
if (customProgressbarPropertyKey === 'secondaryColor') {
|
|
739
|
-
var value = props[keyWithDevice];
|
|
740
|
-
var hoverValue = props[keyWithHover];
|
|
741
|
-
return {
|
|
742
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { secondaryColor: value }),
|
|
743
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { secondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
652
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue), offset: offset })
|
|
744
653
|
};
|
|
745
654
|
}
|
|
746
655
|
return {
|
|
@@ -765,16 +674,6 @@ function getCustomProgressbarPropKey(key) {
|
|
|
765
674
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:MOBILE":
|
|
766
675
|
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:MOBILE:HOVER":
|
|
767
676
|
return 'size';
|
|
768
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR":
|
|
769
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER":
|
|
770
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE":
|
|
771
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER":
|
|
772
|
-
return 'primaryColor';
|
|
773
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR":
|
|
774
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER":
|
|
775
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE":
|
|
776
|
-
case "CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER":
|
|
777
|
-
return 'secondaryColor';
|
|
778
677
|
default:
|
|
779
678
|
return '';
|
|
780
679
|
}
|
|
@@ -879,9 +778,9 @@ function getCustomProgressbarOffset(value) {
|
|
|
879
778
|
translateY: 0,
|
|
880
779
|
transformOrigin: 'right top'
|
|
881
780
|
};
|
|
882
|
-
case '
|
|
781
|
+
case 'INSET13':
|
|
883
782
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
884
|
-
case '
|
|
783
|
+
case 'INSET14':
|
|
885
784
|
return {
|
|
886
785
|
top: '0px',
|
|
887
786
|
left: '50%',
|
|
@@ -889,7 +788,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
889
788
|
translateY: 0,
|
|
890
789
|
transformOrigin: 'left top'
|
|
891
790
|
};
|
|
892
|
-
case '
|
|
791
|
+
case 'INSET15':
|
|
893
792
|
return {
|
|
894
793
|
top: '0px',
|
|
895
794
|
left: '100%',
|
|
@@ -897,7 +796,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
897
796
|
translateY: 0,
|
|
898
797
|
transformOrigin: 'left top'
|
|
899
798
|
};
|
|
900
|
-
case '
|
|
799
|
+
case 'INSET16':
|
|
901
800
|
return {
|
|
902
801
|
top: '50%',
|
|
903
802
|
left: '100%',
|
|
@@ -905,7 +804,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
905
804
|
translateY: -50,
|
|
906
805
|
transformOrigin: 'left top'
|
|
907
806
|
};
|
|
908
|
-
case '
|
|
807
|
+
case 'INSET17':
|
|
909
808
|
return {
|
|
910
809
|
top: '100%',
|
|
911
810
|
left: '100%',
|
|
@@ -913,7 +812,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
913
812
|
translateY: -100,
|
|
914
813
|
transformOrigin: 'left top'
|
|
915
814
|
};
|
|
916
|
-
case '
|
|
815
|
+
case 'INSET18':
|
|
917
816
|
return {
|
|
918
817
|
top: '100%',
|
|
919
818
|
left: '50%',
|
|
@@ -921,7 +820,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
921
820
|
translateY: -100,
|
|
922
821
|
transformOrigin: 'left top'
|
|
923
822
|
};
|
|
924
|
-
case '
|
|
823
|
+
case 'INSET19':
|
|
925
824
|
return {
|
|
926
825
|
top: '100%',
|
|
927
826
|
left: '0px',
|
|
@@ -929,7 +828,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
929
828
|
translateY: -100,
|
|
930
829
|
transformOrigin: 'top left'
|
|
931
830
|
};
|
|
932
|
-
case '
|
|
831
|
+
case 'INSET20':
|
|
933
832
|
return {
|
|
934
833
|
top: '50%',
|
|
935
834
|
left: '0px',
|
|
@@ -946,11 +845,11 @@ function getCustomProgressbarSize(value) {
|
|
|
946
845
|
case 'SMALL':
|
|
947
846
|
return 1;
|
|
948
847
|
case 'MEDIUM':
|
|
949
|
-
return 1.5;
|
|
950
|
-
case 'LARGE':
|
|
951
848
|
return 2;
|
|
849
|
+
case 'LARGE':
|
|
850
|
+
return 3;
|
|
952
851
|
default:
|
|
953
852
|
return 1;
|
|
954
853
|
}
|
|
955
854
|
}
|
|
956
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
855
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|