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