pds-dev-kit-web-test 2.7.117 → 2.7.119
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/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/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/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +3 -3
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -1
- package/dist/src/desktop/components/BasicListItem/Contents.js +1 -1
- 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/Switch.js +1 -1
- 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/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 +1 -1
- 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/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/Contents.d.ts +1 -1
- package/dist/src/mobile/components/BasicListItem/Contents.js +1 -1
- 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/Switch.js +1 -1
- 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/DatePicker/DatePicker.d.ts +1 -1
- package/dist/src/mobile/components/DatePicker/DatePicker.js +2 -2
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +1 -1
- package/dist/src/mobile/components/DatePicker/Day.js +1 -1
- package/dist/src/mobile/components/DatePicker/utils.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/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 +1 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.js +2 -2
- 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 +3 -3
- 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.js +2 -2
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +4 -4
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.d.ts +4 -2
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.js +7 -5
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.js +68 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditor.js +65 -30
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +1 -1
- 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 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +1 -1
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -1
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +1 -1
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +135 -0
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +3 -1
- package/dist/src/sub/DynamicLayout/mocks.js +0 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +2 -2
- 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 +7 -7
- 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 +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +1 -1
- 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 +7 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +1 -1
- 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/hooks/useFlexGridLayout.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +1 -1
- 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 +2 -2
- 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 +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +15 -17
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +1 -1
- 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/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +16 -6
- 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/VideoPlayer/VideoPlayer.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +5 -5
- 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 +7 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +1 -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/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +31 -13
- 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/utils/groupUtils.d.ts +24 -0
- package/dist/src/sub/DynamicLayout/utils/groupUtils.js +224 -0
- package/dist/src/sub/SandollFontKit/types.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.d.ts → ComponentBlockMatcherWithCCB.d.ts} +0 -0
- /package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.js → ComponentBlockMatcherWithCCB.js} +0 -0
|
@@ -55,10 +55,9 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
55
55
|
var group_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/group");
|
|
56
56
|
var renderHelpers_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/utils/renderHelpers");
|
|
57
57
|
require("publ-echo/dist/lib/GridItem/OutsideClickHandler");
|
|
58
|
-
var group_2 = require("publ-echo/dist/lib/GridLayoutEditor/group");
|
|
59
58
|
var react_1 = __importStar(require("react"));
|
|
60
|
-
var ErrorBoundary_1 = require("
|
|
61
|
-
var dynamicLayoutContext_1 = require("
|
|
59
|
+
var ErrorBoundary_1 = require("../../DynamicLayout/components/Section/ErrorBoundary");
|
|
60
|
+
var dynamicLayoutContext_1 = require("../../DynamicLayout/dynamicLayoutContext");
|
|
62
61
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
63
62
|
var components_1 = require("../components");
|
|
64
63
|
var FlexGridItem_1 = __importDefault(require("../CompositionRenderer/FlexGridItem"));
|
|
@@ -66,6 +65,7 @@ var gleStyles_1 = require("../gleStyles");
|
|
|
66
65
|
var useResizableObserver_1 = require("../sections/CustomSection/hooks/useResizableObserver");
|
|
67
66
|
var util_1 = require("../sections/CustomSection/util");
|
|
68
67
|
var parseSectionPadding_1 = __importDefault(require("../sections/CustomSection/util/layoutPropParsers/parseSectionPadding"));
|
|
68
|
+
var groupUtils_1 = __importDefault(require("../utils/groupUtils"));
|
|
69
69
|
var GRID_CELL_MIN = 24;
|
|
70
70
|
var DESKTOP_GRID_COLS = 24;
|
|
71
71
|
var MOBILE_GRID_COLS = 8;
|
|
@@ -77,16 +77,15 @@ var GLE_MIN_WIDTH_MOBILE_PX = "".concat(GRID_CELL_MIN * MOBILE_GRID_COLS, "px");
|
|
|
77
77
|
// queryData: QueryData;
|
|
78
78
|
// };
|
|
79
79
|
var GridAutoRowEditor = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
80
|
-
var _a,
|
|
81
|
-
var _c = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _c.device, editingSectionId = _c.editingSectionId, mode = _c.mode, shortcutKeyMode = _c.shortcutKeyMode, sectionActionHandler = _c.sectionActionHandler, queryData = _c.queryData;
|
|
80
|
+
var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, editingSectionId = _a.editingSectionId, mode = _a.mode, shortcutKeyMode = _a.shortcutKeyMode, sectionActionHandler = _a.sectionActionHandler, queryData = _a.queryData;
|
|
82
81
|
var componentBlocks = props.componentBlocks, jsonProperties = props.jsonProperties;
|
|
83
|
-
var
|
|
82
|
+
var _b = jsonProperties, _c = _b.data, CB_PLACEMENT_PROP_SECTION = _c.CB_PLACEMENT_PROP_SECTION, CB_LAYOUT_PROP_PADDING = _c.CB_LAYOUT_PROP_PADDING, zOrders = _b.zOrders;
|
|
84
83
|
var layouts = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders);
|
|
85
84
|
var containerRef = (0, react_1.useRef)(null);
|
|
86
85
|
var size = (0, useResizableObserver_1.useResizeObserver)({ ref: containerRef, box: 'border-box' });
|
|
87
|
-
var
|
|
86
|
+
var _d = (0, react_1.useState)(null), selectedCB = _d[0], setSelectedCB = _d[1];
|
|
88
87
|
var gleRef = (0, react_1.useRef)(null);
|
|
89
|
-
var
|
|
88
|
+
var _e = (0, react_1.useState)([]), selectedRows = _e[0], setSelectedRows = _e[1]; // 빈 배열로 초기화
|
|
90
89
|
var isMobile = device === 'MOBILE';
|
|
91
90
|
var isEditMode = mode === 'EDIT';
|
|
92
91
|
// const layoutByDevice = device === 'DESKTOP' ? 'lg' : 'sm';
|
|
@@ -144,10 +143,10 @@ var GridAutoRowEditor = (0, react_1.forwardRef)(function CustomSection(props, re
|
|
|
144
143
|
setSelectedCB('BULK');
|
|
145
144
|
}
|
|
146
145
|
}, [selectedCB, shortcutKeyMode, sectionActionHandler, setSelectedCB]);
|
|
147
|
-
var
|
|
146
|
+
var _f = (0, util_1.parseCustomSectionPlacement)({
|
|
148
147
|
isMobile: isMobile,
|
|
149
148
|
customSectionProps: CB_PLACEMENT_PROP_SECTION
|
|
150
|
-
}), width =
|
|
149
|
+
}), width = _f.width, minHeight = _f.minHeight, isFullWidth = _f.isFullWidth;
|
|
151
150
|
var customSectionStyles = {
|
|
152
151
|
minHeight: "".concat(minHeight, "vh"),
|
|
153
152
|
width: '100%',
|
|
@@ -206,13 +205,25 @@ var GridAutoRowEditor = (0, react_1.forwardRef)(function CustomSection(props, re
|
|
|
206
205
|
return 16;
|
|
207
206
|
})();
|
|
208
207
|
var pedigree = jsonProperties === null || jsonProperties === void 0 ? void 0 : jsonProperties.pedigree;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
208
|
+
// const [editingGroupBlock, setEditingGroupBlock] = useState<string>('ROOT');
|
|
209
|
+
// const editableCBIds = findDirectChildrenCbIds(pedigree, 'ROOT');
|
|
210
|
+
// const groupblocks = findGroupBlocks(pedigree, editingGroupBlock) ?? [];
|
|
211
|
+
// const handleGroupBlockDoubleClick = (blockId: string) => {
|
|
212
|
+
// setEditingGroupBlock(blockId);
|
|
213
|
+
// };
|
|
214
|
+
var _g = (0, react_1.useState)([]), pinnedGBs = _g[0], setPinnedGBs = _g[1];
|
|
215
|
+
// const pinnedChildrens = pinnedGBs.map((gbId) => findAllChildrenCbIds(pedigree, gbId)).flat();
|
|
216
|
+
// const currentDepthCbs = props.componentBlocks?.filter((cb) => {
|
|
217
|
+
// return editableCBIds.includes(cb.id);
|
|
218
|
+
// });
|
|
219
|
+
var onToggleGBPinned = function (gbId) {
|
|
220
|
+
setPinnedGBs(function (prev) {
|
|
221
|
+
if (prev.includes(gbId)) {
|
|
222
|
+
return prev.filter(function (id) { return id !== gbId; });
|
|
223
|
+
}
|
|
224
|
+
return __spreadArray(__spreadArray([], prev, true), [gbId], false);
|
|
225
|
+
});
|
|
214
226
|
};
|
|
215
|
-
console.log(editingGroupBlock);
|
|
216
227
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(dynamicLayoutContext_1.dynamicLayoutContext.Provider, __assign({ value: {
|
|
217
228
|
device: device,
|
|
218
229
|
mode: mode,
|
|
@@ -259,19 +270,26 @@ var GridAutoRowEditor = (0, react_1.forwardRef)(function CustomSection(props, re
|
|
|
259
270
|
backgroundColor: '#e8e1e189',
|
|
260
271
|
border: '1px solid #6b666688'
|
|
261
272
|
}, "data-row": rIdx + 1, "data-col": cIdx + 1 }, "bg-grid-item-".concat(rIdx + 1, "-").concat(cIdx + 1))); }) }), "bg-grid-row-".concat(rIdx + 1)));
|
|
262
|
-
}), (
|
|
263
|
-
var _a;
|
|
264
|
-
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(FlexGridItem_1.default, { cb: cb, index: index, device: device, rowHeight: rowHeight, zIndex: (_a = zOrders === null || zOrders === void 0 ? void 0 : zOrders[device === 'DESKTOP' ? 'desktop' : 'mobile'][cb.id]) !== null && _a !== void 0 ? _a : 0, style: editableCBIds.includes(cb.id)
|
|
265
|
-
? { pointerEvents: 'none', boxShadow: '0 0 0 3px #e602ff' }
|
|
266
|
-
: { pointerEvents: 'none', opacity: 0.3 }, showPinned: editableCBIds.includes(cb.id) }) }, cb.id));
|
|
267
|
-
}), groupblocks.map(function (groupblock, gIdx) {
|
|
268
|
-
return ((0, jsx_runtime_1.jsx)(GroupBlockRender, { block: groupblock, layouts: layouts, pedigree: pedigree, onDoubleClick: function () { return handleGroupBlockDoubleClick(groupblock.blockId); } }, groupblock.blockId));
|
|
269
|
-
})] })) })) })) }) })) }));
|
|
273
|
+
}), pedigree.children.map(function (child) { return ((0, jsx_runtime_1.jsx)(groupUtils_1.default, { block: child, rowHeight: rowHeight, layoutItems: layouts[device === 'DESKTOP' ? 'lg' : 'sm'], cbs: props.componentBlocks, device: device, selectedRows: selectedRows, pinnedGBs: pinnedGBs, onToggleGBPinned: onToggleGBPinned, isEditMode: true }, child.blockId)); })] })) })) })) }) })) }));
|
|
270
274
|
});
|
|
271
275
|
function GroupBlockRender(_a) {
|
|
272
|
-
var block = _a.block, layouts = _a.layouts, pedigree = _a.pedigree, onDoubleClick = _a.onDoubleClick;
|
|
276
|
+
var block = _a.block, layouts = _a.layouts, pedigree = _a.pedigree, isEditing = _a.isEditing, isPinned = _a.isPinned, componentBlocks = _a.componentBlocks, onTogglePinned = _a.onTogglePinned, onDoubleClick = _a.onDoubleClick, onDoubleClickOutside = _a.onDoubleClickOutside;
|
|
273
277
|
var childrenIds = (0, group_1.findAllChildrenCbIds)(pedigree, block.blockId).map(function (i) { return i.toString(); });
|
|
274
|
-
var bounding = (0, renderHelpers_1.getBoundingArea)(layouts
|
|
278
|
+
var bounding = (0, renderHelpers_1.getBoundingArea)(layouts, childrenIds);
|
|
279
|
+
(0, react_1.useEffect)(function () {
|
|
280
|
+
if (!isEditing) {
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
function handleDoubleClickOutside(e) {
|
|
284
|
+
if (!e.target.closest('.group')) {
|
|
285
|
+
onDoubleClickOutside();
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
document.addEventListener('dblclick', handleDoubleClickOutside);
|
|
289
|
+
return function () {
|
|
290
|
+
document.removeEventListener('dblclick', handleDoubleClickOutside);
|
|
291
|
+
};
|
|
292
|
+
}, [isEditing]);
|
|
275
293
|
if (!bounding) {
|
|
276
294
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
277
295
|
}
|
|
@@ -281,8 +299,25 @@ function GroupBlockRender(_a) {
|
|
|
281
299
|
cols: bounding.w,
|
|
282
300
|
rows: bounding.h
|
|
283
301
|
});
|
|
284
|
-
|
|
302
|
+
var children = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.filter(function (cb) { return childrenIds.includes(cb.id.toString()); });
|
|
303
|
+
if (childrenIds.length === 0) {
|
|
304
|
+
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "\uB529\uD06C\uADF8\uB8F9" });
|
|
305
|
+
}
|
|
306
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: {
|
|
307
|
+
gridArea: gridArea,
|
|
308
|
+
position: 'relative',
|
|
309
|
+
width: '100%',
|
|
310
|
+
height: '100%'
|
|
311
|
+
}, onDoubleClick: onDoubleClick }, { children: [!isEditing && ((0, jsx_runtime_1.jsx)(S_Pinned, { children: isPinned ? ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: onTogglePinned }, { children: "(\uADF8\uB8F9)H\uACE0\uC815\uB428 \uD83D\uDCCC" }))) : ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: onTogglePinned }, { children: "(\uADF8\uB8F9)H\uB298\uC5B4\uB0A8 \uD83E\uDEB1" }))) })), (0, jsx_runtime_1.jsx)("div", { className: "group", style: {
|
|
312
|
+
position: 'absolute',
|
|
313
|
+
top: 0,
|
|
314
|
+
left: 0,
|
|
315
|
+
right: 0,
|
|
316
|
+
bottom: 0,
|
|
317
|
+
boxShadow: '0 0 0 3px #e602ff'
|
|
318
|
+
} }), children === null || children === void 0 ? void 0 : children.map(function (cb, index) { return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(FlexGridItem_1.default, { cb: cb, index: index, device: "DESKTOP", rowHeight: 50, zIndex: 0, style: { pointerEvents: 'none', opacity: isEditing ? 1 : 0.3 }, showPinned: isEditing, isParentGroupPinned: isPinned }) }, cb.id)); })] })));
|
|
285
319
|
}
|
|
320
|
+
var S_Pinned = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"], ["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"])));
|
|
286
321
|
function getGridAreaFromGroup(position) {
|
|
287
322
|
var x = position.x, y = position.y, cols = position.cols, rows = position.rows;
|
|
288
323
|
var colStart = clamp(x + 1, 1, Math.max(1, 25 - cols));
|
|
@@ -303,7 +338,7 @@ function getGridAreaFromGroup(position) {
|
|
|
303
338
|
function clamp(num, min, max) {
|
|
304
339
|
return Math.max(Math.min(num, max), min);
|
|
305
340
|
}
|
|
306
|
-
var GridContainer = styled_components_1.default.div(
|
|
341
|
+
var GridContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: grid; /* Space between grid items */\n gap: 10px;\n grid-auto-rows: minmax(", ", auto);\n grid-template-columns: repeat(", ", 1fr);\n\n grid-template-rows: ", "; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n padding: 10px 10px;\n\n * {\n box-sizing: border-box;\n }\n\n .bg-grid-item {\n transition: background-color 0.2s ease;\n }\n\n /* 1. \uAE30\uBCF8 \uD638\uBC84 (\uC120\uD0DD\uB418\uC9C0 \uC54A\uC558\uC744 \uB54C) */\n .bg-grid-row:not(.selected):hover > .bg-grid-item {\n background-color: #90ee90 !important; /* \uC5F0\uB450\uC0C9 */\n }\n\n /* 2. 'selected' \uD074\uB798\uC2A4\uAC00 \uBD99\uC740 \uD589\uC758 \uC544\uC774\uD15C (\uC120\uD0DD\uB428) */\n .bg-grid-row.selected > .bg-grid-item {\n background-color: #90ee90 !important; /* \uC5F0\uB450\uC0C9 */\n }\n\n /* 3. \uC120\uD0DD\uB41C \uD589\uC5D0 \uD638\uBC84\uD588\uC744 \uB54C */\n .bg-grid-row.selected:hover > .bg-grid-item {\n background-color: #ffc0cb !important; /* \uD551\uD06C\uC0C9 */\n }\n"], ["\n display: grid; /* Space between grid items */\n gap: 10px;\n grid-auto-rows: minmax(", ", auto);\n grid-template-columns: repeat(", ", 1fr);\n\n grid-template-rows: ", "; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n padding: 10px 10px;\n\n * {\n box-sizing: border-box;\n }\n\n .bg-grid-item {\n transition: background-color 0.2s ease;\n }\n\n /* 1. \uAE30\uBCF8 \uD638\uBC84 (\uC120\uD0DD\uB418\uC9C0 \uC54A\uC558\uC744 \uB54C) */\n .bg-grid-row:not(.selected):hover > .bg-grid-item {\n background-color: #90ee90 !important; /* \uC5F0\uB450\uC0C9 */\n }\n\n /* 2. 'selected' \uD074\uB798\uC2A4\uAC00 \uBD99\uC740 \uD589\uC758 \uC544\uC774\uD15C (\uC120\uD0DD\uB428) */\n .bg-grid-row.selected > .bg-grid-item {\n background-color: #90ee90 !important; /* \uC5F0\uB450\uC0C9 */\n }\n\n /* 3. \uC120\uD0DD\uB41C \uD589\uC5D0 \uD638\uBC84\uD588\uC744 \uB54C */\n .bg-grid-row.selected:hover > .bg-grid-item {\n background-color: #ffc0cb !important; /* \uD551\uD06C\uC0C9 */\n }\n"])), function (props) { return "".concat(props.rowHeight, "px"); }, function (props) { return props.cols; }, function (props) {
|
|
307
342
|
// 전체 행 개수만큼 배열을 생성하여 각 행의 CSS 값을 정의합니다.
|
|
308
343
|
return Array.from({ length: props.sectionRow })
|
|
309
344
|
.map(function (_, index) {
|
|
@@ -315,7 +350,7 @@ var GridContainer = styled_components_1.default.div(templateObject_1 || (templat
|
|
|
315
350
|
)
|
|
316
351
|
.join(' ');
|
|
317
352
|
});
|
|
318
|
-
var S_SectionWrapper = styled_components_1.default.div(
|
|
353
|
+
var S_SectionWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
319
354
|
exports.default = react_1.default.memo(GridAutoRowEditor);
|
|
320
355
|
function getDefensiveFontSize(device, width) {
|
|
321
356
|
if (device === 'MOBILE') {
|
|
@@ -323,4 +358,4 @@ function getDefensiveFontSize(device, width) {
|
|
|
323
358
|
}
|
|
324
359
|
return width * (0.0000246 * width - 0.01618);
|
|
325
360
|
}
|
|
326
|
-
var templateObject_1, templateObject_2;
|
|
361
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js
CHANGED
|
@@ -27,7 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
29
|
var react_1 = require("react");
|
|
30
|
-
var sections_1 = require("
|
|
30
|
+
var sections_1 = require("../../../DynamicLayout/sections");
|
|
31
31
|
var SectionBox_1 = __importDefault(require("./SectionBox"));
|
|
32
32
|
function EditModeSectionMatcher(_a) {
|
|
33
33
|
var filteredSortedSection = _a.filteredSortedSection, scrollDownTargetSectionId = _a.scrollDownTargetSectionId, editingSectionId = _a.editingSectionId, dynamicLayoutRef = _a.dynamicLayoutRef, onClickEditSection = _a.onClickEditSection;
|
|
@@ -20,8 +20,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
22
|
var react_1 = require("react");
|
|
23
|
-
var util_1 = require("
|
|
24
|
-
var isNullOrUndefined_1 = __importDefault(require("
|
|
23
|
+
var util_1 = require("../../../../DynamicLayout/sections/CustomSection/util");
|
|
24
|
+
var isNullOrUndefined_1 = __importDefault(require("../../../../DynamicLayout/sections/CustomSection/util/isNullOrUndefined"));
|
|
25
25
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
26
26
|
var sectionContext_1 = require("../sectionContext");
|
|
27
27
|
var CustomSectionBackgroundMedia_1 = require("./CustomSectionBackgroundMedia");
|
package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
2
|
import { CSSProperties } from 'styled-components';
|
|
3
|
-
import type { Device } from '
|
|
4
|
-
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '
|
|
3
|
+
import type { Device } from '../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
4
|
+
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '../../../../DynamicLayout/types';
|
|
5
5
|
type Props = {
|
|
6
6
|
specs: CB_STYLE_PROP_BGMEDIA_SPECS;
|
|
7
7
|
playerId: number;
|
package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js
CHANGED
|
@@ -44,8 +44,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
44
44
|
exports.CustomSectionBackgroundMedia = void 0;
|
|
45
45
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
46
46
|
var react_1 = require("react");
|
|
47
|
-
var compositionQueryContext_1 = require("
|
|
48
|
-
var utils_1 = require("
|
|
47
|
+
var compositionQueryContext_1 = require("../../../../DynamicLayout/compositionQueryContext");
|
|
48
|
+
var utils_1 = require("../../../../DynamicLayout/utils");
|
|
49
49
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
50
50
|
var YouTubeIframe_1 = require("../../YouTubeIframe");
|
|
51
51
|
var util_1 = require("../util");
|
|
@@ -20,7 +20,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
22
|
var react_1 = require("react");
|
|
23
|
-
var helper_1 = require("
|
|
23
|
+
var helper_1 = require("../../../../DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper");
|
|
24
24
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
25
25
|
function VideoBGMedia(_a) {
|
|
26
26
|
var src = _a.src, startTime = _a.startTime, endTime = _a.endTime, loop = _a.loop;
|
package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Device } from '
|
|
2
|
-
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '
|
|
1
|
+
import type { Device } from '../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
2
|
+
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '../../../../DynamicLayout/types';
|
|
3
3
|
type SpecKeys = keyof Omit<CB_STYLE_PROP_BGMEDIA_SPECS, 'CB_STYLE_PROP_BGMEDIA_SPEC_MPLAY'>;
|
|
4
4
|
type ValueSetType = Partial<Record<SpecKeys, string | number | boolean | undefined>>;
|
|
5
5
|
export default function UseCustomSectionBackgroundMediaData(specs: CB_STYLE_PROP_BGMEDIA_SPECS, device: Device): ValueSetType;
|
package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js
CHANGED
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
var isNullOrUndefined_1 = __importDefault(require("
|
|
17
|
+
var isNullOrUndefined_1 = __importDefault(require("../../../../DynamicLayout/sections/CustomSection/util/isNullOrUndefined"));
|
|
18
18
|
var AVAILABLE_SPECS = [
|
|
19
19
|
'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC',
|
|
20
20
|
'CB_STYLE_PROP_BGMEDIA_SPEC_TYPE',
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
|
-
var FlexGridCustomSection_1 = __importDefault(require("
|
|
29
|
+
var FlexGridCustomSection_1 = __importDefault(require("../../../DynamicLayout/sections/FlexGridCustomSection"));
|
|
30
30
|
var sections_1 = require("../../sections");
|
|
31
31
|
function SectionMatcher(_a) {
|
|
32
32
|
var props = __rest(_a, []);
|
|
@@ -178,6 +178,8 @@ export declare const MOCK_COMPONENT_BLOCKS: ({
|
|
|
178
178
|
};
|
|
179
179
|
CB_CONTENT_PROP_TEXT: {
|
|
180
180
|
CB_CONTENT_PROP_TEXT_SPEC_TEXT: string;
|
|
181
|
+
CB_CONTENT_PROP_TEXT_SPEC_PREFIX?: undefined;
|
|
182
|
+
CB_CONTENT_PROP_TEXT_SPEC_SUFFIX?: undefined;
|
|
181
183
|
};
|
|
182
184
|
CB_CONTENT_PROP_VISIBILITY: {
|
|
183
185
|
CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: boolean;
|
|
@@ -388,6 +390,137 @@ export declare const MOCK_COMPONENT_BLOCKS: ({
|
|
|
388
390
|
};
|
|
389
391
|
CB_CONTENT_PROP_TEXT: {
|
|
390
392
|
CB_CONTENT_PROP_TEXT_SPEC_TEXT: string;
|
|
393
|
+
CB_CONTENT_PROP_TEXT_SPEC_PREFIX: string;
|
|
394
|
+
CB_CONTENT_PROP_TEXT_SPEC_SUFFIX: string;
|
|
395
|
+
};
|
|
396
|
+
CB_CONTENT_PROP_VISIBILITY: {
|
|
397
|
+
CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: boolean;
|
|
398
|
+
CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB: boolean;
|
|
399
|
+
};
|
|
400
|
+
CB_EFFECT_PROP_ENTANIM: {
|
|
401
|
+
CB_EFFECT_PROP_ENTANIM_SPEC_DURATION: number;
|
|
402
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': null;
|
|
403
|
+
CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT: number;
|
|
404
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': null;
|
|
405
|
+
CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC: string;
|
|
406
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': null;
|
|
407
|
+
CB_EFFECT_PROP_ENTANIM_SPEC_TYPE: string;
|
|
408
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': null;
|
|
409
|
+
};
|
|
410
|
+
CB_EFFECT_PROP_HOVERANIM: {
|
|
411
|
+
CB_EFFECT_PROP_HOVERANIM_SPEC_DURATION: number;
|
|
412
|
+
'CB_EFFECT_PROP_HOVERANIM_SPEC_DURATION:MOBILE': null;
|
|
413
|
+
CB_EFFECT_PROP_HOVERANIM_SPEC_REPEAT: number;
|
|
414
|
+
'CB_EFFECT_PROP_HOVERANIM_SPEC_REPEAT:MOBILE': null;
|
|
415
|
+
CB_EFFECT_PROP_HOVERANIM_SPEC_TFUNC: string;
|
|
416
|
+
'CB_EFFECT_PROP_HOVERANIM_SPEC_TFUNC:MOBILE': null;
|
|
417
|
+
CB_EFFECT_PROP_HOVERANIM_SPEC_TYPE: string;
|
|
418
|
+
'CB_EFFECT_PROP_HOVERANIM_SPEC_TYPE:MOBILE': null;
|
|
419
|
+
};
|
|
420
|
+
CB_LAYOUT_PROP_PADDING: {
|
|
421
|
+
CB_LAYOUT_PROP_PADDING_SPEC_FIX: boolean;
|
|
422
|
+
'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': null;
|
|
423
|
+
CB_LAYOUT_PROP_PADDING_SPEC_PADDING: {
|
|
424
|
+
bottom: number;
|
|
425
|
+
left: number;
|
|
426
|
+
right: number;
|
|
427
|
+
top: number;
|
|
428
|
+
};
|
|
429
|
+
'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': {
|
|
430
|
+
bottom: number;
|
|
431
|
+
left: number;
|
|
432
|
+
right: number;
|
|
433
|
+
top: number;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
CB_PLACEMENT_PROP_PLACEMENT: {
|
|
437
|
+
CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS: number;
|
|
438
|
+
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE': number;
|
|
439
|
+
CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS: number;
|
|
440
|
+
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE': number;
|
|
441
|
+
CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX: number;
|
|
442
|
+
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX:MOBILE': number;
|
|
443
|
+
CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY: number;
|
|
444
|
+
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE': number;
|
|
445
|
+
CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX: number;
|
|
446
|
+
'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE': number;
|
|
447
|
+
};
|
|
448
|
+
CB_STYLE_PROP_OPACITY: {
|
|
449
|
+
CB_STYLE_PROP_OPACITY_SPEC_OPACITY: number;
|
|
450
|
+
'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:HOVER': null;
|
|
451
|
+
'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:MOBILE': null;
|
|
452
|
+
'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:MOBILE:HOVER': null;
|
|
453
|
+
};
|
|
454
|
+
CB_STYLE_PROP_TEXT: {
|
|
455
|
+
CB_STYLE_PROP_TEXT_SPEC_COLOR: string;
|
|
456
|
+
'CB_STYLE_PROP_TEXT_SPEC_COLOR:HOVER': null;
|
|
457
|
+
'CB_STYLE_PROP_TEXT_SPEC_COLOR:MOBILE': null;
|
|
458
|
+
'CB_STYLE_PROP_TEXT_SPEC_COLOR:MOBILE:HOVER': null;
|
|
459
|
+
CB_STYLE_PROP_TEXT_SPEC_HORIZONTAL: string;
|
|
460
|
+
'CB_STYLE_PROP_TEXT_SPEC_HORIZONTAL:HOVER': null;
|
|
461
|
+
'CB_STYLE_PROP_TEXT_SPEC_HORIZONTAL:MOBILE': null;
|
|
462
|
+
'CB_STYLE_PROP_TEXT_SPEC_HORIZONTAL:MOBILE:HOVER': null;
|
|
463
|
+
CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING: number;
|
|
464
|
+
'CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING:HOVER': null;
|
|
465
|
+
'CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING:MOBILE': null;
|
|
466
|
+
'CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING:MOBILE:HOVER': null;
|
|
467
|
+
CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT: number;
|
|
468
|
+
'CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT:HOVER': null;
|
|
469
|
+
'CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT:MOBILE': null;
|
|
470
|
+
'CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT:MOBILE:HOVER': null;
|
|
471
|
+
CB_STYLE_PROP_TEXT_SPEC_SIZE: number;
|
|
472
|
+
'CB_STYLE_PROP_TEXT_SPEC_SIZE:HOVER': null;
|
|
473
|
+
'CB_STYLE_PROP_TEXT_SPEC_SIZE:MOBILE': null;
|
|
474
|
+
'CB_STYLE_PROP_TEXT_SPEC_SIZE:MOBILE:HOVER': null;
|
|
475
|
+
CB_STYLE_PROP_TEXT_SPEC_TYPEFACE: string;
|
|
476
|
+
'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:HOVER': null;
|
|
477
|
+
'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:MOBILE': null;
|
|
478
|
+
'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:MOBILE:HOVER': null;
|
|
479
|
+
CB_STYLE_PROP_TEXT_SPEC_VERTICAL: string;
|
|
480
|
+
'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:HOVER': null;
|
|
481
|
+
'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE': null;
|
|
482
|
+
'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE:HOVER': null;
|
|
483
|
+
CB_STYLE_PROP_TEXT_SPEC_WEIGHT: number;
|
|
484
|
+
'CB_STYLE_PROP_TEXT_SPEC_WEIGHT:HOVER': null;
|
|
485
|
+
'CB_STYLE_PROP_TEXT_SPEC_WEIGHT:MOBILE': null;
|
|
486
|
+
'CB_STYLE_PROP_TEXT_SPEC_WEIGHT:MOBILE:HOVER': null;
|
|
487
|
+
};
|
|
488
|
+
CB_CONTENT_PROP_IMAGE?: undefined;
|
|
489
|
+
CB_STYLE_PROP_BORDER?: undefined;
|
|
490
|
+
CB_STYLE_PROP_IMAGE?: undefined;
|
|
491
|
+
CB_STYLE_PROP_SHADOW?: undefined;
|
|
492
|
+
CB_STYLE_PROP_COLOR?: undefined;
|
|
493
|
+
};
|
|
494
|
+
minVersion: string;
|
|
495
|
+
version: string;
|
|
496
|
+
};
|
|
497
|
+
queryableDefinitionPreset: string;
|
|
498
|
+
queryableTapSrc: string;
|
|
499
|
+
updatedAt: string;
|
|
500
|
+
} | {
|
|
501
|
+
availablePlugins: never[];
|
|
502
|
+
blockId: string;
|
|
503
|
+
componentBlockCode: string;
|
|
504
|
+
componentBlockType: string;
|
|
505
|
+
dynamicLayoutSectionId: number;
|
|
506
|
+
id: number;
|
|
507
|
+
insertedAt: string;
|
|
508
|
+
jsonProperties: {
|
|
509
|
+
currentVersion: string;
|
|
510
|
+
data: {
|
|
511
|
+
CB_CONTENT_PROP_CLINK: {
|
|
512
|
+
CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC: string;
|
|
513
|
+
CB_CONTENT_PROP_CLINK_SPEC_NEWTAB: boolean;
|
|
514
|
+
CB_CONTENT_PROP_CLINK_SPEC_SRC: string;
|
|
515
|
+
CB_CONTENT_PROP_CLINK_SPEC_TYPE: string;
|
|
516
|
+
};
|
|
517
|
+
CB_CONTENT_PROP_HOVER: {
|
|
518
|
+
CB_CONTENT_PROP_HOVER_SPEC_MUSE: boolean;
|
|
519
|
+
};
|
|
520
|
+
CB_CONTENT_PROP_TEXT: {
|
|
521
|
+
CB_CONTENT_PROP_TEXT_SPEC_TEXT: string;
|
|
522
|
+
CB_CONTENT_PROP_TEXT_SPEC_PREFIX?: undefined;
|
|
523
|
+
CB_CONTENT_PROP_TEXT_SPEC_SUFFIX?: undefined;
|
|
391
524
|
};
|
|
392
525
|
CB_CONTENT_PROP_VISIBILITY: {
|
|
393
526
|
CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: boolean;
|
|
@@ -673,6 +806,8 @@ export declare const MOCK_COMPONENT_BLOCKS: ({
|
|
|
673
806
|
};
|
|
674
807
|
CB_CONTENT_PROP_TEXT: {
|
|
675
808
|
CB_CONTENT_PROP_TEXT_SPEC_TEXT: string;
|
|
809
|
+
CB_CONTENT_PROP_TEXT_SPEC_PREFIX?: undefined;
|
|
810
|
+
CB_CONTENT_PROP_TEXT_SPEC_SUFFIX?: undefined;
|
|
676
811
|
};
|
|
677
812
|
CB_CONTENT_PROP_VISIBILITY: {
|
|
678
813
|
CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: boolean;
|
|
@@ -1171,7 +1171,9 @@ exports.MOCK_COMPONENT_BLOCKS = [
|
|
|
1171
1171
|
CB_CONTENT_PROP_HOVER_SPEC_MUSE: true
|
|
1172
1172
|
},
|
|
1173
1173
|
CB_CONTENT_PROP_TEXT: {
|
|
1174
|
-
CB_CONTENT_PROP_TEXT_SPEC_TEXT: "Today's Book Highlight"
|
|
1174
|
+
CB_CONTENT_PROP_TEXT_SPEC_TEXT: "Today's Book Highlight",
|
|
1175
|
+
CB_CONTENT_PROP_TEXT_SPEC_PREFIX: '[Prefix]',
|
|
1176
|
+
CB_CONTENT_PROP_TEXT_SPEC_SUFFIX: '[Suffix]'
|
|
1175
1177
|
},
|
|
1176
1178
|
CB_CONTENT_PROP_VISIBILITY: {
|
|
1177
1179
|
CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: true,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOCK_SECTIONS = void 0;
|
|
4
|
-
require("./mock_componentBlocks");
|
|
5
4
|
var mock_contentsCarousel_1 = require("./mock_contentsCarousel");
|
|
6
5
|
var mock_contentsList_1 = require("./mock_contentsList");
|
|
7
6
|
var mock_slideBanner_1 = require("./mock_slideBanner");
|
|
8
|
-
require("./mock_video");
|
|
9
|
-
require("./types");
|
|
10
7
|
exports.MOCK_SECTIONS = [
|
|
11
8
|
{
|
|
12
9
|
administrativeTitle: 'Daily Pages',
|
|
@@ -55,12 +55,12 @@ var publ_echo_test_1 = require("publ-echo-test");
|
|
|
55
55
|
var group_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/group");
|
|
56
56
|
var renderHelpers_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/utils/renderHelpers");
|
|
57
57
|
var react_1 = __importStar(require("react"));
|
|
58
|
-
var ErrorBoundary_1 = require("
|
|
59
|
-
var dynamicLayoutContext_1 = require("
|
|
60
|
-
var gleStyles_1 = require("
|
|
58
|
+
var ErrorBoundary_1 = require("../../../DynamicLayout/components/Section/ErrorBoundary");
|
|
59
|
+
var dynamicLayoutContext_1 = require("../../../DynamicLayout/dynamicLayoutContext");
|
|
60
|
+
var gleStyles_1 = require("../../../DynamicLayout/gleStyles");
|
|
61
61
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
62
62
|
var components_1 = require("../../components");
|
|
63
|
-
var
|
|
63
|
+
var ComponentBlockMatcherWithCCB_1 = __importDefault(require("./components/ComponentBlock/ComponentBlockMatcherWithCCB"));
|
|
64
64
|
var S_HiddenCover_1 = require("./components/ComponentBlock/componentBlocks/components/S_HiddenCover");
|
|
65
65
|
var clsx_1 = require("./newUtils/clsx");
|
|
66
66
|
var group_2 = require("./newUtils/group");
|
|
@@ -1084,7 +1084,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
1084
1084
|
e.stopPropagation();
|
|
1085
1085
|
e.preventDefault();
|
|
1086
1086
|
onContextMenuCB(matchedCB.id, e);
|
|
1087
|
-
} }, { children: (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(
|
|
1087
|
+
} }, { children: (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcherWithCCB_1.default, { cbProps: matchedCB, device: device, rowHeight: rowHeight, index: index }) }) })) }), each.i));
|
|
1088
1088
|
}) })) })) }))] })) }));
|
|
1089
1089
|
});
|
|
1090
1090
|
function isLayoutPlacementSame(current, prev) {
|
|
@@ -20,7 +20,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
22
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
23
|
-
var
|
|
23
|
+
var ComponentBlockMatcherWithCCB_1 = __importDefault(require("./components/ComponentBlock/ComponentBlockMatcherWithCCB"));
|
|
24
24
|
var types_1 = require("./types");
|
|
25
25
|
var gap = 10;
|
|
26
26
|
function FlexGridItem(_a) {
|
|
@@ -32,7 +32,7 @@ function FlexGridItem(_a) {
|
|
|
32
32
|
return ((0, jsx_runtime_1.jsx)(GridItem, __assign({ "data-cb-id": cb.id, style: __assign({ zIndex: zIndex, gridArea: gridArea }, (isRichText && {
|
|
33
33
|
minHeight: 0,
|
|
34
34
|
overflowY: 'scroll'
|
|
35
|
-
})) }, { children: (0, jsx_runtime_1.jsx)(
|
|
35
|
+
})) }, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcherWithCCB_1.default, { rowHeight: rowHeight, cbProps: cb, device: device, index: index }) })));
|
|
36
36
|
}
|
|
37
37
|
var GridItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: auto;\n word-break: break-word;\n"], ["\n height: auto;\n word-break: break-word;\n"])));
|
|
38
38
|
function getMaxHeight(props, device, rowHeight) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { CB_BTN_PROPERTIES_TYPE, IndexForIntersection } from '
|
|
2
|
+
import type { CB_BTN_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
3
3
|
type Props = CB_BTN_PROPERTIES_TYPE & IndexForIntersection;
|
|
4
4
|
declare function Button(props: Props): JSX.Element;
|
|
5
5
|
export default Button;
|
|
@@ -28,13 +28,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
28
28
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
29
|
/* eslint-disable react/destructuring-assignment */
|
|
30
30
|
var react_1 = require("react");
|
|
31
|
-
var DynamicLayout_1 = require("
|
|
32
|
-
var compositionQueryContext_1 = require("
|
|
33
|
-
var hooks_1 = require("
|
|
34
|
-
var useGoogleFonts_1 = require("
|
|
35
|
-
var newUtils_1 = require("
|
|
36
|
-
var colorUtil_1 = require("
|
|
37
|
-
var util_1 = require("
|
|
31
|
+
var DynamicLayout_1 = require("../../../../../../../DynamicLayout");
|
|
32
|
+
var compositionQueryContext_1 = require("../../../../../../../DynamicLayout/compositionQueryContext");
|
|
33
|
+
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
|
34
|
+
var useGoogleFonts_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks/useGoogleFonts");
|
|
35
|
+
var newUtils_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils");
|
|
36
|
+
var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
|
|
37
|
+
var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
|
|
38
38
|
var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
|
|
39
39
|
var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
|
|
40
40
|
var S_HiddenCover_1 = require("../components/S_HiddenCover");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { INSET_POSTIION, OUTSET_POSTIION } from './types';
|
|
3
|
-
import type { CB_CONTENTSCAROUSEL } from '
|
|
4
|
-
import type { CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, IndexForIntersection } from '
|
|
3
|
+
import type { CB_CONTENTSCAROUSEL } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
4
|
+
import type { CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
5
5
|
type Props = CB_CONTENTSCAROUSEL_PROPERTIES_TYPE & IndexForIntersection & {
|
|
6
6
|
compositions: CB_CONTENTSCAROUSEL['compositions'];
|
|
7
7
|
};
|
|
@@ -20,10 +20,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
22
|
var react_1 = require("react");
|
|
23
|
-
var createCompositions_1 = require("
|
|
24
|
-
var dynamicLayoutContext_1 = require("
|
|
25
|
-
var hooks_1 = require("
|
|
26
|
-
var util_1 = require("
|
|
23
|
+
var createCompositions_1 = require("../../../../../../../DynamicLayout/CompositionRenderer/createCompositions");
|
|
24
|
+
var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
|
|
25
|
+
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
|
26
|
+
var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
|
|
27
27
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
28
28
|
var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
|
|
29
29
|
var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
|
|
@@ -40,7 +40,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
41
|
exports.CustomNavigationNextBtn = void 0;
|
|
42
42
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
43
|
-
var IconButton_1 = require("
|
|
43
|
+
var IconButton_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton");
|
|
44
44
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
45
45
|
var navigationConfigs_1 = require("./navigationConfigs");
|
|
46
46
|
var CustomNavigationNextBtn = function (_a) {
|
|
@@ -40,7 +40,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
41
|
exports.CustomNavigationPrevBtn = void 0;
|
|
42
42
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
43
|
-
var IconButton_1 = require("
|
|
43
|
+
var IconButton_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton");
|
|
44
44
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
45
45
|
var navigationConfigs_1 = require("./navigationConfigs");
|
|
46
46
|
var CustomNavigationPrevBtn = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE, CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE } from '../types';
|
|
2
|
-
import type { IconButtonProps } from '
|
|
2
|
+
import type { IconButtonProps } from '../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton';
|
|
3
3
|
export declare const prevButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE, IconButtonProps>;
|
|
4
4
|
export declare const nextButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE, IconButtonProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CB_CONTENT_PROP_CONTENTSCAROUSEL } from '../types';
|
|
2
2
|
import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS, ContentsCarouselPropsKeys, CustomNavigationProps, CustomProgressbarProps, CoreCarouselProps } from './types';
|
|
3
|
-
import type { Device } from '
|
|
3
|
+
import type { Device } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
4
4
|
import type { css } from 'styled-components';
|
|
5
5
|
type ParseCarouselStyleToCarouselCoreProps = {
|
|
6
6
|
props: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
|