pds-dev-kit-web-test 2.5.418 → 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/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 -1047
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +222 -1009
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -810
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +267 -771
- 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 +57 -140
- 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.js +56 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +4 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +21 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +23 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +11 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +319 -69
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +24 -9
- 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 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +132 -59
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +35 -32
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +2 -2
- 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 +28 -77
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +56 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +21 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +23 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +67 -64
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +7 -7
- 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 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -96
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -23
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -176
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/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 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -96
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/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,44 +155,268 @@ 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
|
}
|
|
184
|
+
function parseCarouselStyleToCustomPaginationProp(_a) {
|
|
185
|
+
var props = _a.props, device = _a.device;
|
|
186
|
+
var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
|
|
187
|
+
return availableSpecCodes.reduce(function (acc, currentKey) {
|
|
188
|
+
var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
|
|
189
|
+
var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
|
|
190
|
+
var customPaginationPropertyKey = getCustomPaginationPropKey(currentKey);
|
|
191
|
+
if (customPaginationPropertyKey === 'type') {
|
|
192
|
+
var value = props[keyWithDevice];
|
|
193
|
+
var hoverValue = props[keyWithHover];
|
|
194
|
+
return {
|
|
195
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
|
196
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
if (customPaginationPropertyKey === 'offset') {
|
|
200
|
+
var value = props[keyWithDevice];
|
|
201
|
+
var hoverValue = props[keyWithHover];
|
|
202
|
+
return {
|
|
203
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { offset: getCustomPaginationOffset(value) }),
|
|
204
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue) })
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
if (customPaginationPropertyKey === 'size') {
|
|
208
|
+
var value = props[keyWithDevice];
|
|
209
|
+
var hoverValue = props[keyWithHover];
|
|
210
|
+
return {
|
|
211
|
+
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomPaginationSize(value) }),
|
|
212
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue) })
|
|
213
|
+
};
|
|
214
|
+
}
|
|
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':
|
|
259
|
+
return {
|
|
260
|
+
top: '0px',
|
|
261
|
+
left: '50%',
|
|
262
|
+
translateX: -50,
|
|
263
|
+
translateY: -100,
|
|
264
|
+
transformOrigin: 'top left'
|
|
265
|
+
};
|
|
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
|
+
}
|
|
170
420
|
function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
171
421
|
var props = _a.props, device = _a.device;
|
|
172
422
|
var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
|
|
@@ -179,7 +429,7 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
|
179
429
|
var hoverValue = props[keyWithHover];
|
|
180
430
|
return {
|
|
181
431
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnType: value }),
|
|
182
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue
|
|
432
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue })
|
|
183
433
|
};
|
|
184
434
|
}
|
|
185
435
|
if (customNavigationPropertyKey === 'prevBtnOffset') {
|
|
@@ -187,7 +437,7 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
|
187
437
|
var hoverValue = props[keyWithHover];
|
|
188
438
|
return {
|
|
189
439
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnOffset: getCustomNavigationOffset(value) }),
|
|
190
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue
|
|
440
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue) })
|
|
191
441
|
};
|
|
192
442
|
}
|
|
193
443
|
if (customNavigationPropertyKey === 'prevBtnSize') {
|
|
@@ -195,7 +445,7 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
|
195
445
|
var hoverValue = props[keyWithHover];
|
|
196
446
|
return {
|
|
197
447
|
normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSize: getCustomNavigationSize(value) }),
|
|
198
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue
|
|
448
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue) })
|
|
199
449
|
};
|
|
200
450
|
}
|
|
201
451
|
if (customNavigationPropertyKey === 'nextBtnType') {
|
|
@@ -203,7 +453,7 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
|
203
453
|
var hoverValue = props[keyWithHover];
|
|
204
454
|
return {
|
|
205
455
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnType: value }),
|
|
206
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue
|
|
456
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue })
|
|
207
457
|
};
|
|
208
458
|
}
|
|
209
459
|
if (customNavigationPropertyKey === 'nextBtnOffset') {
|
|
@@ -211,7 +461,7 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
|
211
461
|
var hoverValue = props[keyWithHover];
|
|
212
462
|
return {
|
|
213
463
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnOffset: getCustomNavigationOffset(value) }),
|
|
214
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue
|
|
464
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue) })
|
|
215
465
|
};
|
|
216
466
|
}
|
|
217
467
|
if (customNavigationPropertyKey === 'nextBtnSize') {
|
|
@@ -219,7 +469,7 @@ function parseCarouselStyleToCustomNavigationProp(_a) {
|
|
|
219
469
|
var hoverValue = props[keyWithHover];
|
|
220
470
|
return {
|
|
221
471
|
normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSize: getCustomNavigationSize(value) }),
|
|
222
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue
|
|
472
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue) })
|
|
223
473
|
};
|
|
224
474
|
}
|
|
225
475
|
return {
|
|
@@ -348,7 +598,7 @@ function getCustomNavigationOffset(value) {
|
|
|
348
598
|
return {
|
|
349
599
|
top: '100%',
|
|
350
600
|
left: '0px',
|
|
351
|
-
translateX: -
|
|
601
|
+
translateX: -50,
|
|
352
602
|
translateY: -100,
|
|
353
603
|
transformOrigin: 'right top'
|
|
354
604
|
};
|
|
@@ -356,7 +606,7 @@ function getCustomNavigationOffset(value) {
|
|
|
356
606
|
return {
|
|
357
607
|
top: '50%',
|
|
358
608
|
left: '0px',
|
|
359
|
-
translateX: -
|
|
609
|
+
translateX: -50,
|
|
360
610
|
translateY: -50,
|
|
361
611
|
transformOrigin: 'right top'
|
|
362
612
|
};
|
|
@@ -364,13 +614,13 @@ function getCustomNavigationOffset(value) {
|
|
|
364
614
|
return {
|
|
365
615
|
top: '0px',
|
|
366
616
|
left: '0px',
|
|
367
|
-
translateX: -
|
|
617
|
+
translateX: -50,
|
|
368
618
|
translateY: 0,
|
|
369
619
|
transformOrigin: 'right top'
|
|
370
620
|
};
|
|
371
|
-
case '
|
|
621
|
+
case 'INSET13':
|
|
372
622
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
373
|
-
case '
|
|
623
|
+
case 'INSET14':
|
|
374
624
|
return {
|
|
375
625
|
top: '0px',
|
|
376
626
|
left: '50%',
|
|
@@ -378,7 +628,7 @@ function getCustomNavigationOffset(value) {
|
|
|
378
628
|
translateY: 0,
|
|
379
629
|
transformOrigin: 'left top'
|
|
380
630
|
};
|
|
381
|
-
case '
|
|
631
|
+
case 'INSET15':
|
|
382
632
|
return {
|
|
383
633
|
top: '0px',
|
|
384
634
|
left: '100%',
|
|
@@ -386,7 +636,7 @@ function getCustomNavigationOffset(value) {
|
|
|
386
636
|
translateY: 0,
|
|
387
637
|
transformOrigin: 'left top'
|
|
388
638
|
};
|
|
389
|
-
case '
|
|
639
|
+
case 'INSET16':
|
|
390
640
|
return {
|
|
391
641
|
top: '50%',
|
|
392
642
|
left: '100%',
|
|
@@ -394,7 +644,7 @@ function getCustomNavigationOffset(value) {
|
|
|
394
644
|
translateY: -50,
|
|
395
645
|
transformOrigin: 'left top'
|
|
396
646
|
};
|
|
397
|
-
case '
|
|
647
|
+
case 'INSET17':
|
|
398
648
|
return {
|
|
399
649
|
top: '100%',
|
|
400
650
|
left: '100%',
|
|
@@ -402,7 +652,7 @@ function getCustomNavigationOffset(value) {
|
|
|
402
652
|
translateY: -100,
|
|
403
653
|
transformOrigin: 'left top'
|
|
404
654
|
};
|
|
405
|
-
case '
|
|
655
|
+
case 'INSET18':
|
|
406
656
|
return {
|
|
407
657
|
top: '100%',
|
|
408
658
|
left: '50%',
|
|
@@ -410,7 +660,7 @@ function getCustomNavigationOffset(value) {
|
|
|
410
660
|
translateY: -100,
|
|
411
661
|
transformOrigin: 'left top'
|
|
412
662
|
};
|
|
413
|
-
case '
|
|
663
|
+
case 'INSET19':
|
|
414
664
|
return {
|
|
415
665
|
top: '100%',
|
|
416
666
|
left: '0px',
|
|
@@ -418,7 +668,7 @@ function getCustomNavigationOffset(value) {
|
|
|
418
668
|
translateY: -100,
|
|
419
669
|
transformOrigin: 'top left'
|
|
420
670
|
};
|
|
421
|
-
case '
|
|
671
|
+
case 'INSET20':
|
|
422
672
|
return {
|
|
423
673
|
top: '50%',
|
|
424
674
|
left: '0px',
|
|
@@ -435,9 +685,9 @@ function getCustomNavigationSize(value) {
|
|
|
435
685
|
case 'SMALL':
|
|
436
686
|
return 1;
|
|
437
687
|
case 'MEDIUM':
|
|
438
|
-
return 1.5;
|
|
439
|
-
case 'LARGE':
|
|
440
688
|
return 2;
|
|
689
|
+
case 'LARGE':
|
|
690
|
+
return 3;
|
|
441
691
|
default:
|
|
442
692
|
return 1;
|
|
443
693
|
}
|
|
@@ -454,16 +704,16 @@ function parseCarouselStyleToCustomProgressbarProp(_a) {
|
|
|
454
704
|
var hoverValue = props[keyWithHover];
|
|
455
705
|
return {
|
|
456
706
|
normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
|
|
457
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue
|
|
707
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
|
|
458
708
|
};
|
|
459
709
|
}
|
|
460
710
|
if (customProgressbarPropertyKey === 'size') {
|
|
461
711
|
var value = props[keyWithDevice];
|
|
462
712
|
var hoverValue = props[keyWithHover];
|
|
463
|
-
var offset = getCustomProgressbarOffset('
|
|
713
|
+
var offset = getCustomProgressbarOffset('INSET17');
|
|
464
714
|
return {
|
|
465
715
|
normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomProgressbarSize(value), offset: offset }),
|
|
466
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue
|
|
716
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue), offset: offset })
|
|
467
717
|
};
|
|
468
718
|
}
|
|
469
719
|
return {
|
|
@@ -592,9 +842,9 @@ function getCustomProgressbarOffset(value) {
|
|
|
592
842
|
translateY: 0,
|
|
593
843
|
transformOrigin: 'right top'
|
|
594
844
|
};
|
|
595
|
-
case '
|
|
845
|
+
case 'INSET13':
|
|
596
846
|
return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
|
|
597
|
-
case '
|
|
847
|
+
case 'INSET14':
|
|
598
848
|
return {
|
|
599
849
|
top: '0px',
|
|
600
850
|
left: '50%',
|
|
@@ -602,7 +852,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
602
852
|
translateY: 0,
|
|
603
853
|
transformOrigin: 'left top'
|
|
604
854
|
};
|
|
605
|
-
case '
|
|
855
|
+
case 'INSET15':
|
|
606
856
|
return {
|
|
607
857
|
top: '0px',
|
|
608
858
|
left: '100%',
|
|
@@ -610,7 +860,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
610
860
|
translateY: 0,
|
|
611
861
|
transformOrigin: 'left top'
|
|
612
862
|
};
|
|
613
|
-
case '
|
|
863
|
+
case 'INSET16':
|
|
614
864
|
return {
|
|
615
865
|
top: '50%',
|
|
616
866
|
left: '100%',
|
|
@@ -618,7 +868,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
618
868
|
translateY: -50,
|
|
619
869
|
transformOrigin: 'left top'
|
|
620
870
|
};
|
|
621
|
-
case '
|
|
871
|
+
case 'INSET17':
|
|
622
872
|
return {
|
|
623
873
|
top: '100%',
|
|
624
874
|
left: '100%',
|
|
@@ -626,7 +876,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
626
876
|
translateY: -100,
|
|
627
877
|
transformOrigin: 'left top'
|
|
628
878
|
};
|
|
629
|
-
case '
|
|
879
|
+
case 'INSET18':
|
|
630
880
|
return {
|
|
631
881
|
top: '100%',
|
|
632
882
|
left: '50%',
|
|
@@ -634,7 +884,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
634
884
|
translateY: -100,
|
|
635
885
|
transformOrigin: 'left top'
|
|
636
886
|
};
|
|
637
|
-
case '
|
|
887
|
+
case 'INSET19':
|
|
638
888
|
return {
|
|
639
889
|
top: '100%',
|
|
640
890
|
left: '0px',
|
|
@@ -642,7 +892,7 @@ function getCustomProgressbarOffset(value) {
|
|
|
642
892
|
translateY: -100,
|
|
643
893
|
transformOrigin: 'top left'
|
|
644
894
|
};
|
|
645
|
-
case '
|
|
895
|
+
case 'INSET20':
|
|
646
896
|
return {
|
|
647
897
|
top: '50%',
|
|
648
898
|
left: '0px',
|
|
@@ -659,11 +909,11 @@ function getCustomProgressbarSize(value) {
|
|
|
659
909
|
case 'SMALL':
|
|
660
910
|
return 1;
|
|
661
911
|
case 'MEDIUM':
|
|
662
|
-
return 1.5;
|
|
663
|
-
case 'LARGE':
|
|
664
912
|
return 2;
|
|
913
|
+
case 'LARGE':
|
|
914
|
+
return 3;
|
|
665
915
|
default:
|
|
666
916
|
return 1;
|
|
667
917
|
}
|
|
668
918
|
}
|
|
669
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
919
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|