pds-dev-kit-web-test 2.5.419 → 2.5.420
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/hooks/useAbsolutePositioner.js +2 -2
- package/dist/src/common/hooks/useTooltip.d.ts +2 -2
- package/dist/src/common/hooks/useTooltip.js +2 -2
- 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/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.d.ts +1 -1
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.d.ts +1 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +2 -2
- package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +1 -1
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -1
- 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/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +3 -3
- 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 +2 -4
- package/dist/src/desktop/components/BasicListItem/Contents.js +3 -3
- package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +1 -1
- package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +1 -1
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +1 -1
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +1 -1
- 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/BasicListItem/RightBox/Switch.js +1 -1
- 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/ContextMenuItem/ContextMenuItem.d.ts +1 -1
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +1 -1
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +2 -2
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
- package/dist/src/desktop/components/IconButton/IconButton.d.ts +1 -1
- package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
- package/dist/src/desktop/components/Radio/Radio.js +2 -2
- package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
- package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +3 -3
- package/dist/src/desktop/components/Select/Select.js +1 -1
- package/dist/src/desktop/components/Slider/Slider.d.ts +1 -1
- package/dist/src/desktop/components/Slider/Slider.js +1 -1
- package/dist/src/desktop/components/TextField/TextField.js +16 -42
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +1 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +2 -2
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
- package/dist/src/hybrid/components/Switch/Switch.d.ts +1 -1
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +2 -2
- package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
- package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- 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 +2 -4
- package/dist/src/mobile/components/BasicListItem/Contents.js +3 -3
- package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +1 -1
- package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +1 -1
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +1 -1
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +1 -1
- 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/BasicListItem/RightBox/Switch.js +1 -1
- 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/ContextMenuItem/ContextMenuItem.d.ts +1 -1
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +1 -1
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
- package/dist/src/mobile/components/MobileHeaderBar/utils.d.ts +1 -1
- package/dist/src/mobile/components/Radio/Radio.js +2 -2
- package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
- package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +1 -1
- package/dist/src/mobile/components/Select/Select.js +1 -1
- package/dist/src/mobile/components/Slider/Slider.d.ts +1 -1
- package/dist/src/mobile/components/Slider/Slider.js +1 -1
- package/dist/src/mobile/components/TextField/TextField.js +16 -42
- 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/AdminList/AdminList.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminList/AdminList.js +2 -2
- package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +2 -2
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +1 -1
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +6 -6
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +1 -1
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
- package/dist/src/sub/AdminList/ToolBar/ChipList.d.ts +1 -1
- package/dist/src/sub/AdminList/ToolBar/ChipList.js +1 -1
- package/dist/src/sub/AdminList/ToolBar/SearchField.js +4 -4
- package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -1
- package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +7 -8
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +4 -4
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +4 -5
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +12 -38
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +1 -1
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -13
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +2 -4
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +1 -1
- 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 +7 -7
- 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.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +11 -32
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +58 -153
- 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 +57 -6
- 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 +33 -31
- 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 +13 -3
- 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 +24 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +96 -47
- 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 +2 -2
- 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 +2 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +7 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +30 -95
- 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 +57 -6
- 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 +33 -31
- 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 +4 -4
- 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 +7 -47
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +6 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +8 -17
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +5 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -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 +3 -16
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +6 -6
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/types.d.ts +1 -10
- package/dist/src/sub/SandollFontKit/types.d.ts +1 -1
- 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
|
@@ -15,39 +15,69 @@ var __assign = (this && this.__assign) || function () {
|
|
|
15
15
|
return __assign.apply(this, arguments);
|
|
16
16
|
};
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.getCustomProgressbarPropKey = exports.parseCarouselStyleToCustomProgressbarProp = exports.getCustomNavigationPropKey = exports.parseCarouselStyleToCustomNavigationProp = exports.getCarouselCorePropKey = exports.parseCarouselStyleToCarouselCoreProp = void 0;
|
|
18
|
+
exports.getCustomProgressbarPropKey = exports.parseCarouselStyleToCustomProgressbarProp = exports.getCustomNavigationPropKey = exports.parseCarouselStyleToCustomNavigationProp = exports.getCustomPaginationPropKey = exports.parseCarouselStyleToCustomPaginationProp = exports.getCarouselCorePropKey = exports.parseCarouselStyleToCarouselCoreProp = void 0;
|
|
19
19
|
var styled_components_1 = require("styled-components");
|
|
20
20
|
function parseCarouselStyleToCarouselCoreProp(_a) {
|
|
21
21
|
var props = _a.props, contentsPropsPartials = _a.contentsPropsPartials, 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, _e, _f;
|
|
24
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
25
|
var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
|
|
26
26
|
var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
|
|
27
27
|
var carouselCorePropertyKey = getCarouselCorePropKey(currentKey);
|
|
28
28
|
if (carouselCorePropertyKey === '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[carouselCorePropertyKey] = 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[carouselCorePropertyKey] = getStyle(value), _b)),
|
|
39
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_c = {}, _c[carouselCorePropertyKey] = getStyle(hoverValue), _c))
|
|
34
40
|
};
|
|
35
41
|
}
|
|
36
42
|
if (carouselCorePropertyKey === 'spaceBetween') {
|
|
37
43
|
var value = props[keyWithDevice];
|
|
38
44
|
var hoverValue = props[keyWithHover];
|
|
45
|
+
if (hoverValue === null || hoverValue === undefined) {
|
|
46
|
+
return {
|
|
47
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_d = {}, _d[carouselCorePropertyKey] = getItemSpacing(value), _d)),
|
|
48
|
+
hoverStyle: __assign({}, acc.hoverStyle)
|
|
49
|
+
};
|
|
50
|
+
}
|
|
39
51
|
return {
|
|
40
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), (
|
|
41
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), (
|
|
52
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_e = {}, _e[carouselCorePropertyKey] = getItemSpacing(value), _e)),
|
|
53
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_f = {}, _f[carouselCorePropertyKey] = getItemSpacing(hoverValue), _f))
|
|
42
54
|
};
|
|
43
55
|
}
|
|
44
56
|
if (carouselCorePropertyKey === 'slidesPerGroup') {
|
|
45
57
|
var value = props[keyWithDevice];
|
|
46
58
|
var hoverValue = props[keyWithHover];
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
59
|
+
if (hoverValue === null || hoverValue === undefined) {
|
|
60
|
+
return {
|
|
61
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_g = {}, _g[carouselCorePropertyKey] = 1, _g)),
|
|
62
|
+
hoverStyle: __assign({}, acc.hoverStyle)
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
if (value === 'ALL') {
|
|
66
|
+
return {
|
|
67
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_h = {}, _h[carouselCorePropertyKey] = contentsPropsPartials.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, _h)),
|
|
68
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_j = {}, _j[carouselCorePropertyKey] = contentsPropsPartials.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, _j))
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
if (value === 'SCROLL') {
|
|
72
|
+
return {
|
|
73
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { scrollbar: { draggable: true }, freeMode: { enabled: true, sticky: false } }),
|
|
74
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { scrollbar: { draggable: true }, freeMode: { enabled: true, sticky: false } })
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
// NOTE value === 'ONCE' 일때, Default 값
|
|
78
|
+
return {
|
|
79
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_k = {}, _k[carouselCorePropertyKey] = 1, _k)),
|
|
80
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_l = {}, _l[carouselCorePropertyKey] = 1, _l))
|
|
51
81
|
};
|
|
52
82
|
}
|
|
53
83
|
if (carouselCorePropertyKey === 'useAutoplay') {
|
|
@@ -55,20 +85,16 @@ function parseCarouselStyleToCarouselCoreProp(_a) {
|
|
|
55
85
|
var hoverValue = props[keyWithHover];
|
|
56
86
|
return {
|
|
57
87
|
normalStyle: __assign(__assign({}, acc.normalStyle), { useAutoplay: value === true }),
|
|
58
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay:
|
|
88
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay: hoverValue === true })
|
|
59
89
|
};
|
|
60
90
|
}
|
|
61
91
|
if (carouselCorePropertyKey === 'autoplayDelay') {
|
|
62
92
|
var value = props[keyWithDevice];
|
|
63
93
|
var hoverValue = props[keyWithHover];
|
|
64
94
|
return {
|
|
65
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: {
|
|
66
|
-
delay: value * 1000,
|
|
67
|
-
disableOnInteraction: false,
|
|
68
|
-
pauseOnMouseEnter: true
|
|
69
|
-
} }),
|
|
95
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: { delay: value * 1000, disableOnInteraction: false, pauseOnMouseEnter: true } }),
|
|
70
96
|
hoverStyle: __assign(__assign({}, acc.hoverStyle), { autoplay: {
|
|
71
|
-
delay:
|
|
97
|
+
delay: hoverValue * 1000,
|
|
72
98
|
disableOnInteraction: false,
|
|
73
99
|
pauseOnMouseEnter: true
|
|
74
100
|
} })
|
|
@@ -78,8 +104,8 @@ function parseCarouselStyleToCarouselCoreProp(_a) {
|
|
|
78
104
|
var value = props[keyWithDevice];
|
|
79
105
|
var hoverValue = props[keyWithHover];
|
|
80
106
|
return {
|
|
81
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), (
|
|
82
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), (
|
|
107
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), (_m = {}, _m[carouselCorePropertyKey] = value === false ? false : true, _m)),
|
|
108
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_o = {}, _o[carouselCorePropertyKey] = hoverValue === false ? false : true, _o))
|
|
83
109
|
};
|
|
84
110
|
}
|
|
85
111
|
return {
|
|
@@ -129,129 +155,321 @@ function getCarouselCorePropKey(key) {
|
|
|
129
155
|
}
|
|
130
156
|
}
|
|
131
157
|
exports.getCarouselCorePropKey = getCarouselCorePropKey;
|
|
132
|
-
function getSlidesPerGroupConfig(cursorType, displayCounts) {
|
|
133
|
-
if (cursorType === 'ALL') {
|
|
134
|
-
return { slidesPerGroup: displayCounts };
|
|
135
|
-
}
|
|
136
|
-
if (cursorType === 'SCROLL') {
|
|
137
|
-
return {
|
|
138
|
-
scrollbar: { draggable: true },
|
|
139
|
-
freeMode: { enabled: true, sticky: false }
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
// 'ONCE'
|
|
143
|
-
return { slidesPerGroup: 1 };
|
|
144
|
-
}
|
|
145
158
|
function getStyle(value) {
|
|
146
159
|
switch (value) {
|
|
147
160
|
case 'DESIGN1':
|
|
148
161
|
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 "])));
|
|
149
162
|
case 'DESIGN2': {
|
|
150
|
-
|
|
163
|
+
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 "])));
|
|
164
|
+
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);
|
|
151
165
|
}
|
|
152
166
|
default: {
|
|
153
|
-
return (0, styled_components_1.css)(
|
|
167
|
+
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 "])));
|
|
154
168
|
}
|
|
155
169
|
}
|
|
156
170
|
}
|
|
157
171
|
function getItemSpacing(value) {
|
|
158
|
-
var NORMAL =
|
|
172
|
+
var NORMAL = 40;
|
|
159
173
|
switch (value) {
|
|
160
174
|
case 'WIDE':
|
|
161
175
|
return 50;
|
|
162
176
|
case 'NORMAL':
|
|
163
177
|
return NORMAL;
|
|
164
178
|
case 'NARROW':
|
|
165
|
-
return
|
|
179
|
+
return 30;
|
|
166
180
|
default:
|
|
167
181
|
return NORMAL;
|
|
168
182
|
}
|
|
169
183
|
}
|
|
170
|
-
function
|
|
184
|
+
function parseCarouselStyleToCustomPaginationProp(_a) {
|
|
171
185
|
var props = _a.props, device = _a.device;
|
|
172
186
|
var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
|
|
173
187
|
return availableSpecCodes.reduce(function (acc, currentKey) {
|
|
174
188
|
var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
|
|
175
189
|
var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
|
|
176
|
-
var
|
|
177
|
-
if (
|
|
190
|
+
var customPaginationPropertyKey = getCustomPaginationPropKey(currentKey);
|
|
191
|
+
if (customPaginationPropertyKey === 'type') {
|
|
178
192
|
var value = props[keyWithDevice];
|
|
179
193
|
var hoverValue = props[keyWithHover];
|
|
180
194
|
return {
|
|
181
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
182
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
195
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
|
196
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
|
183
197
|
};
|
|
184
198
|
}
|
|
185
|
-
if (
|
|
199
|
+
if (customPaginationPropertyKey === 'offset') {
|
|
186
200
|
var value = props[keyWithDevice];
|
|
187
201
|
var hoverValue = props[keyWithHover];
|
|
188
202
|
return {
|
|
189
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
190
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
203
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { offset: getCustomPaginationOffset(value) }),
|
|
204
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue) })
|
|
191
205
|
};
|
|
192
206
|
}
|
|
193
|
-
if (
|
|
207
|
+
if (customPaginationPropertyKey === 'size') {
|
|
194
208
|
var value = props[keyWithDevice];
|
|
195
209
|
var hoverValue = props[keyWithHover];
|
|
196
210
|
return {
|
|
197
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
198
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
211
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomPaginationSize(value) }),
|
|
212
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue) })
|
|
199
213
|
};
|
|
200
214
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
215
|
+
return {
|
|
216
|
+
normalStyle: __assign({}, acc.normalStyle),
|
|
217
|
+
hoverStyle: __assign({}, acc.hoverStyle)
|
|
218
|
+
};
|
|
219
|
+
}, {
|
|
220
|
+
normalStyle: {},
|
|
221
|
+
hoverStyle: {}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
exports.parseCarouselStyleToCustomPaginationProp = parseCarouselStyleToCustomPaginationProp;
|
|
225
|
+
function getCustomPaginationPropKey(key) {
|
|
226
|
+
switch (key) {
|
|
227
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE":
|
|
228
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:HOVER":
|
|
229
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:MOBILE":
|
|
230
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:MOBILE:HOVER":
|
|
231
|
+
return 'type';
|
|
232
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION":
|
|
233
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:HOVER":
|
|
234
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:MOBILE":
|
|
235
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:MOBILE:HOVER":
|
|
236
|
+
return 'offset';
|
|
237
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE":
|
|
238
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:HOVER":
|
|
239
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:MOBILE":
|
|
240
|
+
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:MOBILE:HOVER":
|
|
241
|
+
return 'size';
|
|
242
|
+
default:
|
|
243
|
+
return '';
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
exports.getCustomPaginationPropKey = getCustomPaginationPropKey;
|
|
247
|
+
function getCustomPaginationOffset(value) {
|
|
248
|
+
var OUTSET1 = {
|
|
249
|
+
top: '0px',
|
|
250
|
+
left: '0px',
|
|
251
|
+
translateX: 0,
|
|
252
|
+
translateY: -100,
|
|
253
|
+
transformOrigin: 'top left'
|
|
254
|
+
};
|
|
255
|
+
switch (value) {
|
|
256
|
+
case 'OUTSET1':
|
|
257
|
+
return OUTSET1;
|
|
258
|
+
case 'OUTSET2':
|
|
204
259
|
return {
|
|
205
|
-
|
|
206
|
-
|
|
260
|
+
top: '0px',
|
|
261
|
+
left: '50%',
|
|
262
|
+
translateX: -50,
|
|
263
|
+
translateY: -100,
|
|
264
|
+
transformOrigin: 'top left'
|
|
207
265
|
};
|
|
208
|
-
|
|
209
|
-
|
|
266
|
+
case 'OUTSET3':
|
|
267
|
+
return {
|
|
268
|
+
top: '0px',
|
|
269
|
+
left: '100%',
|
|
270
|
+
translateX: -100,
|
|
271
|
+
translateY: -100,
|
|
272
|
+
transformOrigin: 'top left'
|
|
273
|
+
};
|
|
274
|
+
case 'OUTSET4':
|
|
275
|
+
return {
|
|
276
|
+
top: '0px',
|
|
277
|
+
left: '100%',
|
|
278
|
+
translateX: 0,
|
|
279
|
+
translateY: 0,
|
|
280
|
+
transformOrigin: 'left top'
|
|
281
|
+
};
|
|
282
|
+
case 'OUTSET5':
|
|
283
|
+
return {
|
|
284
|
+
top: '50%',
|
|
285
|
+
left: '100%',
|
|
286
|
+
translateX: 0,
|
|
287
|
+
translateY: -50,
|
|
288
|
+
transformOrigin: 'left top'
|
|
289
|
+
};
|
|
290
|
+
case 'OUTSET6':
|
|
291
|
+
return {
|
|
292
|
+
top: '100%',
|
|
293
|
+
left: '100%',
|
|
294
|
+
translateX: 0,
|
|
295
|
+
translateY: -100,
|
|
296
|
+
transformOrigin: 'left top'
|
|
297
|
+
};
|
|
298
|
+
case 'OUTSET7':
|
|
299
|
+
return {
|
|
300
|
+
top: '100%',
|
|
301
|
+
left: '100%',
|
|
302
|
+
translateX: -100,
|
|
303
|
+
translateY: 0,
|
|
304
|
+
transformOrigin: 'top left'
|
|
305
|
+
};
|
|
306
|
+
case 'OUTSET8':
|
|
307
|
+
return {
|
|
308
|
+
top: '100%',
|
|
309
|
+
left: '50%',
|
|
310
|
+
translateX: -50,
|
|
311
|
+
translateY: 0,
|
|
312
|
+
transformOrigin: 'top left'
|
|
313
|
+
};
|
|
314
|
+
case 'OUTSET9':
|
|
315
|
+
return {
|
|
316
|
+
top: '100%',
|
|
317
|
+
left: '0px',
|
|
318
|
+
translateX: 0,
|
|
319
|
+
translateY: 0,
|
|
320
|
+
transformOrigin: 'top left'
|
|
321
|
+
};
|
|
322
|
+
case 'OUTSET10':
|
|
323
|
+
return {
|
|
324
|
+
top: '100%',
|
|
325
|
+
left: '0px',
|
|
326
|
+
translateX: -50,
|
|
327
|
+
translateY: -100,
|
|
328
|
+
transformOrigin: 'right top'
|
|
329
|
+
};
|
|
330
|
+
case 'OUTSET11':
|
|
331
|
+
return {
|
|
332
|
+
top: '50%',
|
|
333
|
+
left: '0px',
|
|
334
|
+
translateX: -50,
|
|
335
|
+
translateY: -50,
|
|
336
|
+
transformOrigin: 'right top'
|
|
337
|
+
};
|
|
338
|
+
case 'OUTSET12':
|
|
339
|
+
return {
|
|
340
|
+
top: '0px',
|
|
341
|
+
left: '0px',
|
|
342
|
+
translateX: -50,
|
|
343
|
+
translateY: 0,
|
|
344
|
+
transformOrigin: 'right top'
|
|
345
|
+
};
|
|
346
|
+
case 'INSET13':
|
|
347
|
+
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
348
|
+
case 'INSET14':
|
|
349
|
+
return {
|
|
350
|
+
top: '0px',
|
|
351
|
+
left: '50%',
|
|
352
|
+
translateX: -50,
|
|
353
|
+
translateY: 0,
|
|
354
|
+
transformOrigin: 'left top'
|
|
355
|
+
};
|
|
356
|
+
case 'INSET15':
|
|
357
|
+
return {
|
|
358
|
+
top: '0px',
|
|
359
|
+
left: '100%',
|
|
360
|
+
translateX: -100,
|
|
361
|
+
translateY: 0,
|
|
362
|
+
transformOrigin: 'left top'
|
|
363
|
+
};
|
|
364
|
+
case 'INSET16':
|
|
365
|
+
return {
|
|
366
|
+
top: '50%',
|
|
367
|
+
left: '100%',
|
|
368
|
+
translateX: -100,
|
|
369
|
+
translateY: -50,
|
|
370
|
+
transformOrigin: 'left top'
|
|
371
|
+
};
|
|
372
|
+
case 'INSET17':
|
|
373
|
+
return {
|
|
374
|
+
top: '100%',
|
|
375
|
+
left: '100%',
|
|
376
|
+
translateX: -100,
|
|
377
|
+
translateY: -100,
|
|
378
|
+
transformOrigin: 'left top'
|
|
379
|
+
};
|
|
380
|
+
case 'INSET18':
|
|
381
|
+
return {
|
|
382
|
+
top: '100%',
|
|
383
|
+
left: '50%',
|
|
384
|
+
translateX: -50,
|
|
385
|
+
translateY: -100,
|
|
386
|
+
transformOrigin: 'left top'
|
|
387
|
+
};
|
|
388
|
+
case 'INSET19':
|
|
389
|
+
return {
|
|
390
|
+
top: '100%',
|
|
391
|
+
left: '0px',
|
|
392
|
+
translateX: 0,
|
|
393
|
+
translateY: -100,
|
|
394
|
+
transformOrigin: 'top left'
|
|
395
|
+
};
|
|
396
|
+
case 'INSET20':
|
|
397
|
+
return {
|
|
398
|
+
top: '50%',
|
|
399
|
+
left: '0px',
|
|
400
|
+
translateX: 0,
|
|
401
|
+
translateY: -50,
|
|
402
|
+
transformOrigin: 'top left'
|
|
403
|
+
};
|
|
404
|
+
default:
|
|
405
|
+
return OUTSET1;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
function getCustomPaginationSize(value) {
|
|
409
|
+
switch (value) {
|
|
410
|
+
case 'SMALL':
|
|
411
|
+
return 1;
|
|
412
|
+
case 'MEDIUM':
|
|
413
|
+
return 2;
|
|
414
|
+
case 'LARGE':
|
|
415
|
+
return 3;
|
|
416
|
+
default:
|
|
417
|
+
return 1;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
421
|
+
var props = _a.props, device = _a.device;
|
|
422
|
+
var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
|
|
423
|
+
return availableSpecCodes.reduce(function (acc, currentKey) {
|
|
424
|
+
var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
|
|
425
|
+
var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
|
|
426
|
+
var customNavigationPropertyKey = getCustomNavigationPropKey(currentKey);
|
|
427
|
+
if (customNavigationPropertyKey === 'prevBtnType') {
|
|
210
428
|
var value = props[keyWithDevice];
|
|
211
429
|
var hoverValue = props[keyWithHover];
|
|
212
430
|
return {
|
|
213
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
214
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
431
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnType: value }),
|
|
432
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue })
|
|
215
433
|
};
|
|
216
434
|
}
|
|
217
|
-
if (customNavigationPropertyKey === '
|
|
435
|
+
if (customNavigationPropertyKey === 'prevBtnOffset') {
|
|
218
436
|
var value = props[keyWithDevice];
|
|
219
437
|
var hoverValue = props[keyWithHover];
|
|
220
438
|
return {
|
|
221
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
222
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
439
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnOffset: getCustomNavigationOffset(value) }),
|
|
440
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue) })
|
|
223
441
|
};
|
|
224
442
|
}
|
|
225
|
-
if (customNavigationPropertyKey === '
|
|
443
|
+
if (customNavigationPropertyKey === 'prevBtnSize') {
|
|
226
444
|
var value = props[keyWithDevice];
|
|
227
445
|
var hoverValue = props[keyWithHover];
|
|
228
446
|
return {
|
|
229
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
230
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
447
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSize: getCustomNavigationSize(value) }),
|
|
448
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue) })
|
|
231
449
|
};
|
|
232
450
|
}
|
|
233
|
-
if (customNavigationPropertyKey === '
|
|
451
|
+
if (customNavigationPropertyKey === 'nextBtnType') {
|
|
234
452
|
var value = props[keyWithDevice];
|
|
235
453
|
var hoverValue = props[keyWithHover];
|
|
236
454
|
return {
|
|
237
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
238
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
455
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnType: value }),
|
|
456
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue })
|
|
239
457
|
};
|
|
240
458
|
}
|
|
241
|
-
if (customNavigationPropertyKey === '
|
|
459
|
+
if (customNavigationPropertyKey === 'nextBtnOffset') {
|
|
242
460
|
var value = props[keyWithDevice];
|
|
243
461
|
var hoverValue = props[keyWithHover];
|
|
244
462
|
return {
|
|
245
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
246
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
463
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnOffset: getCustomNavigationOffset(value) }),
|
|
464
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue) })
|
|
247
465
|
};
|
|
248
466
|
}
|
|
249
|
-
if (customNavigationPropertyKey === '
|
|
467
|
+
if (customNavigationPropertyKey === 'nextBtnSize') {
|
|
250
468
|
var value = props[keyWithDevice];
|
|
251
469
|
var hoverValue = props[keyWithHover];
|
|
252
470
|
return {
|
|
253
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), {
|
|
254
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), {
|
|
471
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSize: getCustomNavigationSize(value) }),
|
|
472
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue) })
|
|
255
473
|
};
|
|
256
474
|
}
|
|
257
475
|
return {
|
|
@@ -281,16 +499,6 @@ function getCustomNavigationPropKey(key) {
|
|
|
281
499
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE":
|
|
282
500
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE:HOVER":
|
|
283
501
|
return 'prevBtnSize';
|
|
284
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR":
|
|
285
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:HOVER":
|
|
286
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE":
|
|
287
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER":
|
|
288
|
-
return 'prevBtnPrimaryColor';
|
|
289
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR":
|
|
290
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:HOVER":
|
|
291
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE":
|
|
292
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER":
|
|
293
|
-
return 'prevBtnSecondaryColor';
|
|
294
502
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE":
|
|
295
503
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:HOVER":
|
|
296
504
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:MOBILE":
|
|
@@ -306,16 +514,6 @@ function getCustomNavigationPropKey(key) {
|
|
|
306
514
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE":
|
|
307
515
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE:HOVER":
|
|
308
516
|
return 'nextBtnSize';
|
|
309
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR":
|
|
310
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:HOVER":
|
|
311
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE":
|
|
312
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER":
|
|
313
|
-
return 'nextBtnPrimaryColor';
|
|
314
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR":
|
|
315
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:HOVER":
|
|
316
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE":
|
|
317
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER":
|
|
318
|
-
return 'nextBtnSecondaryColor';
|
|
319
517
|
default:
|
|
320
518
|
return '';
|
|
321
519
|
}
|
|
@@ -400,7 +598,7 @@ function getCustomNavigationOffset(value) {
|
|
|
400
598
|
return {
|
|
401
599
|
top: '100%',
|
|
402
600
|
left: '0px',
|
|
403
|
-
translateX: -
|
|
601
|
+
translateX: -50,
|
|
404
602
|
translateY: -100,
|
|
405
603
|
transformOrigin: 'right top'
|
|
406
604
|
};
|
|
@@ -408,7 +606,7 @@ function getCustomNavigationOffset(value) {
|
|
|
408
606
|
return {
|
|
409
607
|
top: '50%',
|
|
410
608
|
left: '0px',
|
|
411
|
-
translateX: -
|
|
609
|
+
translateX: -50,
|
|
412
610
|
translateY: -50,
|
|
413
611
|
transformOrigin: 'right top'
|
|
414
612
|
};
|
|
@@ -416,13 +614,13 @@ function getCustomNavigationOffset(value) {
|
|
|
416
614
|
return {
|
|
417
615
|
top: '0px',
|
|
418
616
|
left: '0px',
|
|
419
|
-
translateX: -
|
|
617
|
+
translateX: -50,
|
|
420
618
|
translateY: 0,
|
|
421
619
|
transformOrigin: 'right top'
|
|
422
620
|
};
|
|
423
|
-
case '
|
|
621
|
+
case 'INSET13':
|
|
424
622
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
425
|
-
case '
|
|
623
|
+
case 'INSET14':
|
|
426
624
|
return {
|
|
427
625
|
top: '0px',
|
|
428
626
|
left: '50%',
|
|
@@ -430,7 +628,7 @@ function getCustomNavigationOffset(value) {
|
|
|
430
628
|
translateY: 0,
|
|
431
629
|
transformOrigin: 'left top'
|
|
432
630
|
};
|
|
433
|
-
case '
|
|
631
|
+
case 'INSET15':
|
|
434
632
|
return {
|
|
435
633
|
top: '0px',
|
|
436
634
|
left: '100%',
|
|
@@ -438,7 +636,7 @@ function getCustomNavigationOffset(value) {
|
|
|
438
636
|
translateY: 0,
|
|
439
637
|
transformOrigin: 'left top'
|
|
440
638
|
};
|
|
441
|
-
case '
|
|
639
|
+
case 'INSET16':
|
|
442
640
|
return {
|
|
443
641
|
top: '50%',
|
|
444
642
|
left: '100%',
|
|
@@ -446,7 +644,7 @@ function getCustomNavigationOffset(value) {
|
|
|
446
644
|
translateY: -50,
|
|
447
645
|
transformOrigin: 'left top'
|
|
448
646
|
};
|
|
449
|
-
case '
|
|
647
|
+
case 'INSET17':
|
|
450
648
|
return {
|
|
451
649
|
top: '100%',
|
|
452
650
|
left: '100%',
|
|
@@ -454,7 +652,7 @@ function getCustomNavigationOffset(value) {
|
|
|
454
652
|
translateY: -100,
|
|
455
653
|
transformOrigin: 'left top'
|
|
456
654
|
};
|
|
457
|
-
case '
|
|
655
|
+
case 'INSET18':
|
|
458
656
|
return {
|
|
459
657
|
top: '100%',
|
|
460
658
|
left: '50%',
|
|
@@ -462,7 +660,7 @@ function getCustomNavigationOffset(value) {
|
|
|
462
660
|
translateY: -100,
|
|
463
661
|
transformOrigin: 'left top'
|
|
464
662
|
};
|
|
465
|
-
case '
|
|
663
|
+
case 'INSET19':
|
|
466
664
|
return {
|
|
467
665
|
top: '100%',
|
|
468
666
|
left: '0px',
|
|
@@ -470,7 +668,7 @@ function getCustomNavigationOffset(value) {
|
|
|
470
668
|
translateY: -100,
|
|
471
669
|
transformOrigin: 'top left'
|
|
472
670
|
};
|
|
473
|
-
case '
|
|
671
|
+
case 'INSET20':
|
|
474
672
|
return {
|
|
475
673
|
top: '50%',
|
|
476
674
|
left: '0px',
|
|
@@ -487,9 +685,9 @@ function getCustomNavigationSize(value) {
|
|
|
487
685
|
case 'SMALL':
|
|
488
686
|
return 1;
|
|
489
687
|
case 'MEDIUM':
|
|
490
|
-
return 1.5;
|
|
491
|
-
case 'LARGE':
|
|
492
688
|
return 2;
|
|
689
|
+
case 'LARGE':
|
|
690
|
+
return 3;
|
|
493
691
|
default:
|
|
494
692
|
return 1;
|
|
495
693
|
}
|
|
@@ -506,32 +704,16 @@ function parseCarouselStyleToCustomProgressbarProp(_a) {
|
|
|
506
704
|
var hoverValue = props[keyWithHover];
|
|
507
705
|
return {
|
|
508
706
|
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
|
509
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue
|
|
707
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
|
510
708
|
};
|
|
511
709
|
}
|
|
512
710
|
if (customProgressbarPropertyKey === 'size') {
|
|
513
711
|
var value = props[keyWithDevice];
|
|
514
712
|
var hoverValue = props[keyWithHover];
|
|
515
|
-
var offset = getCustomProgressbarOffset('
|
|
713
|
+
var offset = getCustomProgressbarOffset('INSET17');
|
|
516
714
|
return {
|
|
517
715
|
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomProgressbarSize(value), offset: offset }),
|
|
518
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue
|
|
519
|
-
};
|
|
520
|
-
}
|
|
521
|
-
if (customProgressbarPropertyKey === 'primaryColor') {
|
|
522
|
-
var value = props[keyWithDevice];
|
|
523
|
-
var hoverValue = props[keyWithHover];
|
|
524
|
-
return {
|
|
525
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { primaryColor: value }),
|
|
526
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { primaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
527
|
-
};
|
|
528
|
-
}
|
|
529
|
-
if (customProgressbarPropertyKey === 'secondaryColor') {
|
|
530
|
-
var value = props[keyWithDevice];
|
|
531
|
-
var hoverValue = props[keyWithHover];
|
|
532
|
-
return {
|
|
533
|
-
normalStyle: __assign(__assign({}, acc.normalStyle), { secondaryColor: value }),
|
|
534
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { secondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
|
|
716
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue), offset: offset })
|
|
535
717
|
};
|
|
536
718
|
}
|
|
537
719
|
return {
|
|
@@ -556,16 +738,6 @@ function getCustomProgressbarPropKey(key) {
|
|
|
556
738
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE":
|
|
557
739
|
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE:HOVER":
|
|
558
740
|
return 'size';
|
|
559
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR":
|
|
560
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER":
|
|
561
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE":
|
|
562
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER":
|
|
563
|
-
return 'primaryColor';
|
|
564
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR":
|
|
565
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER":
|
|
566
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE":
|
|
567
|
-
case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER":
|
|
568
|
-
return 'secondaryColor';
|
|
569
741
|
default:
|
|
570
742
|
return '';
|
|
571
743
|
}
|
|
@@ -670,9 +842,9 @@ function getCustomProgressbarOffset(value) {
|
|
|
670
842
|
translateY: 0,
|
|
671
843
|
transformOrigin: 'right top'
|
|
672
844
|
};
|
|
673
|
-
case '
|
|
845
|
+
case 'INSET13':
|
|
674
846
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
675
|
-
case '
|
|
847
|
+
case 'INSET14':
|
|
676
848
|
return {
|
|
677
849
|
top: '0px',
|
|
678
850
|
left: '50%',
|
|
@@ -680,7 +852,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
680
852
|
translateY: 0,
|
|
681
853
|
transformOrigin: 'left top'
|
|
682
854
|
};
|
|
683
|
-
case '
|
|
855
|
+
case 'INSET15':
|
|
684
856
|
return {
|
|
685
857
|
top: '0px',
|
|
686
858
|
left: '100%',
|
|
@@ -688,7 +860,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
688
860
|
translateY: 0,
|
|
689
861
|
transformOrigin: 'left top'
|
|
690
862
|
};
|
|
691
|
-
case '
|
|
863
|
+
case 'INSET16':
|
|
692
864
|
return {
|
|
693
865
|
top: '50%',
|
|
694
866
|
left: '100%',
|
|
@@ -696,7 +868,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
696
868
|
translateY: -50,
|
|
697
869
|
transformOrigin: 'left top'
|
|
698
870
|
};
|
|
699
|
-
case '
|
|
871
|
+
case 'INSET17':
|
|
700
872
|
return {
|
|
701
873
|
top: '100%',
|
|
702
874
|
left: '100%',
|
|
@@ -704,7 +876,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
704
876
|
translateY: -100,
|
|
705
877
|
transformOrigin: 'left top'
|
|
706
878
|
};
|
|
707
|
-
case '
|
|
879
|
+
case 'INSET18':
|
|
708
880
|
return {
|
|
709
881
|
top: '100%',
|
|
710
882
|
left: '50%',
|
|
@@ -712,7 +884,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
712
884
|
translateY: -100,
|
|
713
885
|
transformOrigin: 'left top'
|
|
714
886
|
};
|
|
715
|
-
case '
|
|
887
|
+
case 'INSET19':
|
|
716
888
|
return {
|
|
717
889
|
top: '100%',
|
|
718
890
|
left: '0px',
|
|
@@ -720,7 +892,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
720
892
|
translateY: -100,
|
|
721
893
|
transformOrigin: 'top left'
|
|
722
894
|
};
|
|
723
|
-
case '
|
|
895
|
+
case 'INSET20':
|
|
724
896
|
return {
|
|
725
897
|
top: '50%',
|
|
726
898
|
left: '0px',
|
|
@@ -737,11 +909,11 @@ function getCustomProgressbarSize(value) {
|
|
|
737
909
|
case 'SMALL':
|
|
738
910
|
return 1;
|
|
739
911
|
case 'MEDIUM':
|
|
740
|
-
return 1.5;
|
|
741
|
-
case 'LARGE':
|
|
742
912
|
return 2;
|
|
913
|
+
case 'LARGE':
|
|
914
|
+
return 3;
|
|
743
915
|
default:
|
|
744
916
|
return 1;
|
|
745
917
|
}
|
|
746
918
|
}
|
|
747
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
919
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|