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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE } from './util/types';
|
|
2
|
-
import type { IComposition } from '
|
|
2
|
+
import type { IComposition } from '../../../DynamicLayout/types';
|
|
3
3
|
export type CB_TYPES = 'GENERAL';
|
|
4
4
|
export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER | CB_VIDEOPLAYER;
|
|
5
5
|
type GeneralCustomSectionType = {
|
package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ICompositionJsonProperties } from '
|
|
1
|
+
import type { ICompositionJsonProperties } from '../../../../DynamicLayout/types';
|
|
2
2
|
type Props = {
|
|
3
3
|
isMobile: boolean;
|
|
4
4
|
compositionProps: ICompositionJsonProperties['data']['CB_PLACEMENT_PROP_COMPOSITION'];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Device, JsonPropertiesParserResult } from './types';
|
|
2
|
-
import type { ICompositionJsonProperties, ISectionJsonProperties } from '
|
|
2
|
+
import type { ICompositionJsonProperties, ISectionJsonProperties } from '../../../../DynamicLayout/types';
|
|
3
3
|
export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | ICompositionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentBlock } from '../types';
|
|
2
|
-
import type { PlaceRestrictionType } from '
|
|
2
|
+
import type { PlaceRestrictionType } from '../../../../DynamicLayout/types';
|
|
3
3
|
import type { ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
|
|
4
4
|
import type { LayoutItem } from 'publ-echo/dist/lib';
|
|
5
5
|
export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder, placementRestriction?: PlaceRestrictionType): {
|
|
@@ -16,7 +16,7 @@ import type { CB_STYLE_PROP_IMAGE_SPECS } from './stylePropParsers/parseStylePro
|
|
|
16
16
|
import type { CB_STYLE_PROP_TEXT_OPACITY_SPECS } from './stylePropParsers/parseStylePropOpacity';
|
|
17
17
|
import type { CB_STYLE_PROP_SHADOW_SPECS } from './stylePropParsers/parseStylePropShadow';
|
|
18
18
|
import type { NamedStylePropType } from './stylePropParsers/types';
|
|
19
|
-
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '
|
|
19
|
+
import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '../../../../DynamicLayout/types';
|
|
20
20
|
import type { CSSProperties } from 'react';
|
|
21
21
|
export type STRING_PLAIN = string;
|
|
22
22
|
export type ENUM_STRING = string;
|
|
@@ -37,6 +37,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
37
37
|
__setModuleDefault(result, mod);
|
|
38
38
|
return result;
|
|
39
39
|
};
|
|
40
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
41
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
42
|
+
if (ar || !(i in from)) {
|
|
43
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
44
|
+
ar[i] = from[i];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
48
|
+
};
|
|
40
49
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
41
50
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
42
51
|
};
|
|
@@ -44,12 +53,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
44
53
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
45
54
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
46
55
|
var react_1 = __importStar(require("react"));
|
|
47
|
-
var ErrorBoundary_1 = require("
|
|
48
|
-
var dynamicLayoutContext_1 = require("
|
|
56
|
+
var ErrorBoundary_1 = require("../../DynamicLayout/components/Section/ErrorBoundary");
|
|
57
|
+
var dynamicLayoutContext_1 = require("../../DynamicLayout/dynamicLayoutContext");
|
|
49
58
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
50
59
|
var components_1 = require("../components");
|
|
51
60
|
var gleStyles_1 = require("../gleStyles");
|
|
52
|
-
var
|
|
61
|
+
var groupUtils_1 = __importDefault(require("../utils/groupUtils"));
|
|
62
|
+
require("./CustomSection/FlexGridItem");
|
|
53
63
|
var useResizableObserver_1 = require("./CustomSection/hooks/useResizableObserver");
|
|
54
64
|
var util_1 = require("./CustomSection/util");
|
|
55
65
|
var parseSectionPadding_1 = __importDefault(require("./CustomSection/util/layoutPropParsers/parseSectionPadding"));
|
|
@@ -59,13 +69,12 @@ var MOBILE_GRID_COLS = 8;
|
|
|
59
69
|
var GLE_MIN_WIDTH_DESKTOP_PX = "".concat(GRID_CELL_MIN * DESKTOP_GRID_COLS, "px");
|
|
60
70
|
var GLE_MIN_WIDTH_MOBILE_PX = "".concat(GRID_CELL_MIN * MOBILE_GRID_COLS, "px");
|
|
61
71
|
var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
62
|
-
var _a;
|
|
63
|
-
var _b = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _b.device, editingSectionId = _b.editingSectionId, mode = _b.mode, shortcutKeyMode = _b.shortcutKeyMode, sectionActionHandler = _b.sectionActionHandler;
|
|
72
|
+
var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, editingSectionId = _a.editingSectionId, mode = _a.mode, shortcutKeyMode = _a.shortcutKeyMode, sectionActionHandler = _a.sectionActionHandler;
|
|
64
73
|
var componentBlocks = props.componentBlocks, jsonProperties = props.jsonProperties;
|
|
65
|
-
var
|
|
74
|
+
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;
|
|
66
75
|
var containerRef = (0, react_1.useRef)(null);
|
|
67
76
|
var size = (0, useResizableObserver_1.useResizeObserver)({ ref: containerRef, box: 'border-box' });
|
|
68
|
-
var
|
|
77
|
+
var _d = (0, react_1.useState)(null), selectedCB = _d[0], setSelectedCB = _d[1];
|
|
69
78
|
var gleRef = (0, react_1.useRef)(null);
|
|
70
79
|
var isMobile = device === 'MOBILE';
|
|
71
80
|
var isEditMode = mode === 'EDIT';
|
|
@@ -124,10 +133,10 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
|
|
|
124
133
|
setSelectedCB('BULK');
|
|
125
134
|
}
|
|
126
135
|
}, [selectedCB, shortcutKeyMode, sectionActionHandler, setSelectedCB]);
|
|
127
|
-
var
|
|
136
|
+
var _e = (0, util_1.parseCustomSectionPlacement)({
|
|
128
137
|
isMobile: isMobile,
|
|
129
138
|
customSectionProps: CB_PLACEMENT_PROP_SECTION
|
|
130
|
-
}), width =
|
|
139
|
+
}), width = _e.width, minHeight = _e.minHeight, isFullWidth = _e.isFullWidth;
|
|
131
140
|
var customSectionStyles = {
|
|
132
141
|
minHeight: "".concat(minHeight, "vh"),
|
|
133
142
|
width: '100%',
|
|
@@ -185,6 +194,18 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
|
|
|
185
194
|
}
|
|
186
195
|
return 16;
|
|
187
196
|
})();
|
|
197
|
+
var pedigree = jsonProperties === null || jsonProperties === void 0 ? void 0 : jsonProperties.pedigree;
|
|
198
|
+
var layouts = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders);
|
|
199
|
+
var _f = (0, react_1.useState)([]), selectedRows = _f[0], setSelectedRows = _f[1];
|
|
200
|
+
var _g = (0, react_1.useState)([]), pinnedGBs = _g[0], setPinnedGBs = _g[1];
|
|
201
|
+
var onToggleGBPinned = function (gbId) {
|
|
202
|
+
setPinnedGBs(function (prev) {
|
|
203
|
+
if (prev.includes(gbId)) {
|
|
204
|
+
return prev.filter(function (id) { return id !== gbId; });
|
|
205
|
+
}
|
|
206
|
+
return __spreadArray(__spreadArray([], prev, true), [gbId], false);
|
|
207
|
+
});
|
|
208
|
+
};
|
|
188
209
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(gleStyles_1.S_gleStyles, { children: (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
|
|
189
210
|
minHeight: customSectionStyles.minHeight,
|
|
190
211
|
paddingTop: padding.top,
|
|
@@ -196,10 +217,7 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
|
|
|
196
217
|
maxWidth: customSectionStyles.maxWidth,
|
|
197
218
|
minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
|
|
198
219
|
fontSize: "".concat(baseFontSize, "px")
|
|
199
|
-
} }, { children: (
|
|
200
|
-
var _a;
|
|
201
|
-
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 }) }, cb.id));
|
|
202
|
-
}) })) })) })) }) }));
|
|
220
|
+
} }, { children: 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: false }, child.blockId)); }) })) })) })) }) }));
|
|
203
221
|
});
|
|
204
222
|
var GridContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid; /* Space between grid items */\n gap: 10px;\n grid-auto-rows: minmax(", ", auto);\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(\n ", ",\n minmax(", ", auto)\n );\n padding: 10px 10px;\n\n * {\n box-sizing: border-box;\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 grid-template-rows: repeat(\n ", ",\n minmax(", ", auto)\n );\n padding: 10px 10px;\n\n * {\n box-sizing: border-box;\n }\n"])), function (props) { return "".concat(props.rowHeight, "px"); }, function (props) { return props.cols; }, function (props) { return props.sectionRow; }, function (props) { return "".concat(props.rowHeight, "px"); });
|
|
205
223
|
var S_SectionWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
var react_1 = require("react");
|
|
5
|
-
var DynamicLayout_1 = require("
|
|
5
|
+
var DynamicLayout_1 = require("../../../../../../DynamicLayout");
|
|
6
6
|
var Section_1 = require("../../../../../components/Section");
|
|
7
7
|
function TemplateA() {
|
|
8
8
|
var sectionActionHandler = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext).sectionActionHandler;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
var react_1 = require("react");
|
|
5
|
-
var DynamicLayout_1 = require("
|
|
5
|
+
var DynamicLayout_1 = require("../../../../../../DynamicLayout");
|
|
6
6
|
var Section_1 = require("../../../../../components/Section");
|
|
7
7
|
function TemplateA() {
|
|
8
8
|
var sectionActionHandler = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext).sectionActionHandler;
|
package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { ISection } from '
|
|
2
|
+
import type { ISection } from '../../../../DynamicLayout/types';
|
|
3
3
|
declare function EditTypeMembershipSection({ ...props }: ISection): JSX.Element;
|
|
4
4
|
export default EditTypeMembershipSection;
|
|
@@ -31,7 +31,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
33
33
|
var react_1 = require("react");
|
|
34
|
-
var components_1 = require("
|
|
34
|
+
var components_1 = require("../../../../DynamicLayout/components");
|
|
35
35
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
36
36
|
var templates_1 = require("./templates");
|
|
37
37
|
function EditTypeMembershipSection(_a) {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
var react_1 = require("react");
|
|
5
|
-
var Section_1 = require("
|
|
6
|
-
var dynamicLayoutContext_1 = require("
|
|
5
|
+
var Section_1 = require("../../../../../../DynamicLayout/components/Section");
|
|
6
|
+
var dynamicLayoutContext_1 = require("../../../../../../DynamicLayout/dynamicLayoutContext");
|
|
7
7
|
var desktop_1 = require("./desktop");
|
|
8
8
|
var mobile_1 = require("./mobile");
|
|
9
9
|
function TemplateA(_a) {
|
|
@@ -14,10 +14,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
15
|
var react_1 = require("react");
|
|
16
16
|
var react_i18next_1 = require("react-i18next");
|
|
17
|
-
var panels_1 = require("
|
|
18
|
-
var Section_1 = require("
|
|
19
|
-
var components_1 = require("
|
|
20
|
-
var constants_1 = require("
|
|
17
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
18
|
+
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
19
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
20
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
21
21
|
function EmptyMembershipSheet() {
|
|
22
22
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
|
23
23
|
var section = (0, react_1.useContext)(Section_1.sectionContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IMembershipBenefitInfo } from '
|
|
2
|
+
import type { IMembershipBenefitInfo } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
membershipBenefitInfo: IMembershipBenefitInfo;
|
|
5
5
|
itemToneTextLabelColor: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
-
var components_1 = require("
|
|
5
|
-
var components_2 = require("
|
|
4
|
+
var components_1 = require("../../../../../../../../DynamicLayout/components");
|
|
5
|
+
var components_2 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
6
6
|
function MembershipBenefitInfo(_a) {
|
|
7
7
|
var membershipBenefitInfo = _a.membershipBenefitInfo, itemToneTextLabelColor = _a.itemToneTextLabelColor;
|
|
8
8
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }), membershipBenefitInfo.benefitAlpha && ((0, jsx_runtime_1.jsx)(components_2.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitAlpha, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })), membershipBenefitInfo.benefitBravo && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_2.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitBravo, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitCharlie && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_2.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitCharlie, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitDelta && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_2.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitDelta, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitEcho && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_2.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitEcho, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] }))] }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IConnectedSubscriptionProducts, ISectionStyles } from '
|
|
2
|
+
import type { IConnectedSubscriptionProducts, ISectionStyles } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
connectedSubscriptionProducts: IConnectedSubscriptionProducts;
|
|
5
5
|
sectionStyles: ISectionStyles;
|
|
@@ -21,11 +21,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
22
|
var react_1 = require("react");
|
|
23
23
|
var react_i18next_1 = require("react-i18next");
|
|
24
|
-
var panels_1 = require("
|
|
25
|
-
var components_1 = require("
|
|
26
|
-
var components_2 = require("
|
|
27
|
-
var constants_1 = require("
|
|
28
|
-
var formatCurrency_1 = __importDefault(require("
|
|
24
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
25
|
+
var components_1 = require("../../../../../../../../../hybrid/components");
|
|
26
|
+
var components_2 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
27
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
28
|
+
var formatCurrency_1 = __importDefault(require("../../../../../../../../DynamicLayout/utils/formatCurrency"));
|
|
29
29
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
30
30
|
function MembershipPlanSheet(_a) {
|
|
31
31
|
var connectedSubscriptionProducts = _a.connectedSubscriptionProducts, sectionStyles = _a.sectionStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IConnectedMembership } from '
|
|
2
|
+
import type { IConnectedMembership } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
connectedMemberships: IConnectedMembership[];
|
|
5
5
|
isWideView: boolean;
|
|
@@ -43,10 +43,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
43
43
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
44
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
45
45
|
var react_1 = require("react");
|
|
46
|
-
var panels_1 = require("
|
|
47
|
-
var Section_1 = require("
|
|
48
|
-
var components_1 = require("
|
|
49
|
-
var constants_1 = require("
|
|
46
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
47
|
+
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
48
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
49
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
50
50
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
51
51
|
var MembershipBenefitInfo_1 = __importDefault(require("./MembershipBenefitInfo"));
|
|
52
52
|
var MembershipPlanSheet_1 = __importDefault(require("./MembershipPlanSheet"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IConnectedMembership, TypeOfItemToneType } from '
|
|
2
|
+
import type { IConnectedMembership, TypeOfItemToneType } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
connectedMemberships: IConnectedMembership[];
|
|
5
5
|
itemHighlightingColorInHex: string;
|
|
@@ -40,9 +40,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
42
|
var react_1 = require("react");
|
|
43
|
-
var panels_1 = require("
|
|
44
|
-
var components_1 = require("
|
|
45
|
-
var constants_1 = require("
|
|
43
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
44
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
45
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
46
46
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
47
47
|
function NarrowMembershipListView(_a) {
|
|
48
48
|
var connectedMemberships = _a.connectedMemberships, itemHighlightingColorInHex = _a.itemHighlightingColorInHex, itemToneType = _a.itemToneType, currentIndex = _a.currentIndex, handleMembershipClick = _a.handleMembershipClick;
|
|
@@ -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 Section_1 = require("
|
|
24
|
-
var components_1 = require("
|
|
23
|
+
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
24
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
25
25
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
26
26
|
function SectionContents() {
|
|
27
27
|
var section = (0, react_1.useContext)(Section_1.sectionContext);
|
|
@@ -13,10 +13,10 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
15
|
var react_i18next_1 = require("react-i18next");
|
|
16
|
-
var panels_1 = require("
|
|
17
|
-
var components_1 = require("
|
|
18
|
-
var components_2 = require("
|
|
19
|
-
var constants_1 = require("
|
|
16
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
17
|
+
var components_1 = require("../../../../../../../../../hybrid/components");
|
|
18
|
+
var components_2 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
19
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
20
20
|
function UnavailableMembershipPlanSheet(_a) {
|
|
21
21
|
var sectionStyles = _a.sectionStyles;
|
|
22
22
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IConnectedMembership, TypeOfItemToneType } from '
|
|
2
|
+
import type { IConnectedMembership, TypeOfItemToneType } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
connectedMemberships: IConnectedMembership[];
|
|
5
5
|
itemHighlightingColorInHex: string;
|
|
@@ -20,9 +20,9 @@ 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 panels_1 = require("
|
|
24
|
-
var components_1 = require("
|
|
25
|
-
var constants_1 = require("
|
|
23
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
24
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
25
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
26
26
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
27
27
|
function WideMembershipListView(_a) {
|
|
28
28
|
var connectedMemberships = _a.connectedMemberships, itemHighlightingColorInHex = _a.itemHighlightingColorInHex, itemToneType = _a.itemToneType, currentIndex = _a.currentIndex, handleMembershipClick = _a.handleMembershipClick;
|
|
@@ -14,10 +14,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
15
|
var react_1 = require("react");
|
|
16
16
|
var react_i18next_1 = require("react-i18next");
|
|
17
|
-
var panels_1 = require("
|
|
18
|
-
var Section_1 = require("
|
|
19
|
-
var components_1 = require("
|
|
20
|
-
var constants_1 = require("
|
|
17
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
18
|
+
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
19
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
20
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
21
21
|
function MembershipSheet() {
|
|
22
22
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
|
23
23
|
var section = (0, react_1.useContext)(Section_1.sectionContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IMembershipBenefitInfo, TypeOfItemToneType } from '
|
|
2
|
+
import type { IMembershipBenefitInfo, TypeOfItemToneType } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
membershipBenefitInfo: IMembershipBenefitInfo;
|
|
5
5
|
itemToneType: TypeOfItemToneType;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
-
var components_1 = require("
|
|
5
|
-
var mobile_1 = require("
|
|
6
|
-
var constants_1 = require("
|
|
4
|
+
var components_1 = require("../../../../../../../../DynamicLayout/components");
|
|
5
|
+
var mobile_1 = require("../../../../../../../../DynamicLayout/components/mobile");
|
|
6
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
7
7
|
function MembershipBenefitInfo(_a) {
|
|
8
8
|
var membershipBenefitInfo = _a.membershipBenefitInfo, itemToneType = _a.itemToneType;
|
|
9
9
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [membershipBenefitInfo.benefitAlpha && ((0, jsx_runtime_1.jsx)(mobile_1.Item.Description, { text: membershipBenefitInfo.benefitAlpha, styleTheme: "body2Regular", color: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].membershipSheetTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })), membershipBenefitInfo.benefitBravo && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(mobile_1.Item.Description, { text: membershipBenefitInfo.benefitBravo, styleTheme: "body2Regular", color: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].membershipSheetTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitCharlie && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(mobile_1.Item.Description, { text: membershipBenefitInfo.benefitCharlie, styleTheme: "body2Regular", color: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].membershipSheetTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitDelta && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(mobile_1.Item.Description, { text: membershipBenefitInfo.benefitDelta, styleTheme: "body2Regular", color: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].membershipSheetTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitEcho && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(mobile_1.Item.Description, { text: membershipBenefitInfo.benefitEcho, styleTheme: "body2Regular", color: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].membershipSheetTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] }))] }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IConnectedMembership } from '
|
|
2
|
+
import type { IConnectedMembership } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
orderedConnectedMemberships: IConnectedMembership[];
|
|
5
5
|
};
|
|
@@ -20,11 +20,11 @@ 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 components_1 = require("
|
|
24
|
-
var panels_1 = require("
|
|
25
|
-
var Section_1 = require("
|
|
26
|
-
var components_2 = require("
|
|
27
|
-
var constants_1 = require("
|
|
23
|
+
var components_1 = require("../../../../../../../../../hybrid/components");
|
|
24
|
+
var panels_1 = require("../../../../../../../../../mobile/panels");
|
|
25
|
+
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
26
|
+
var components_2 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
27
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
28
28
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
29
29
|
var MembershipBenefitInfo_1 = __importDefault(require("./MembershipBenefitInfo"));
|
|
30
30
|
function MembershipSectionSheet(_a) {
|
|
@@ -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 Section_1 = require("
|
|
24
|
-
var components_1 = require("
|
|
23
|
+
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
24
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
25
25
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
26
26
|
function SectionContents() {
|
|
27
27
|
var section = (0, react_1.useContext)(Section_1.sectionContext);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
var react_1 = require("react");
|
|
5
|
-
var Section_1 = require("
|
|
6
|
-
var dynamicLayoutContext_1 = require("
|
|
5
|
+
var Section_1 = require("../../../../../../DynamicLayout/components/Section");
|
|
6
|
+
var dynamicLayoutContext_1 = require("../../../../../../DynamicLayout/dynamicLayoutContext");
|
|
7
7
|
var desktop_1 = require("./desktop");
|
|
8
8
|
var mobile_1 = require("./mobile");
|
|
9
9
|
function TemplateB(_a) {
|
|
@@ -14,10 +14,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
15
|
var react_1 = require("react");
|
|
16
16
|
var react_i18next_1 = require("react-i18next");
|
|
17
|
-
var panels_1 = require("
|
|
18
|
-
var Section_1 = require("
|
|
19
|
-
var components_1 = require("
|
|
20
|
-
var constants_1 = require("
|
|
17
|
+
var panels_1 = require("../../../../../../../../../desktop/panels");
|
|
18
|
+
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
19
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
20
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
21
21
|
function EmptyMembershipSheet() {
|
|
22
22
|
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
|
23
23
|
var section = (0, react_1.useContext)(Section_1.sectionContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IMembershipBenefitInfo } from '
|
|
2
|
+
import type { IMembershipBenefitInfo } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
membershipBenefitInfo: IMembershipBenefitInfo;
|
|
5
5
|
itemToneTextLabelColor: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
-
var pdsOriginal_1 = require("
|
|
5
|
-
var components_1 = require("
|
|
4
|
+
var pdsOriginal_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal");
|
|
5
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
6
6
|
function MembershipBenefitInfo(_a) {
|
|
7
7
|
var membershipBenefitInfo = _a.membershipBenefitInfo, itemToneTextLabelColor = _a.itemToneTextLabelColor;
|
|
8
8
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_e" }), membershipBenefitInfo.benefitAlpha && ((0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitAlpha, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })), membershipBenefitInfo.benefitBravo && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitBravo, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitCharlie && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitCharlie, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitDelta && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitDelta, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] })), membershipBenefitInfo.benefitEcho && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: membershipBenefitInfo.benefitEcho, styleTheme: "subTitleRegular", color: itemToneTextLabelColor, textAlign: "left", wordBreak: "break_all", bulletPointMode: "use" })] }))] }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IMembershipCardTemplate } from '
|
|
2
|
+
import type { IMembershipCardTemplate } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
membershipCardTemplate: IMembershipCardTemplate;
|
|
5
5
|
};
|
|
@@ -39,8 +39,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
39
39
|
};
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
-
var components_1 = require("
|
|
43
|
-
var constants_1 = require("
|
|
42
|
+
var components_1 = require("../../../../../../../../../hybrid/components");
|
|
43
|
+
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
44
44
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
45
45
|
function MembershipCard(_a) {
|
|
46
46
|
var membershipCardTemplate = _a.membershipCardTemplate;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { IConnectedSubscriptionProducts, ISectionStyles } from '
|
|
2
|
+
import type { IConnectedSubscriptionProducts, ISectionStyles } from '../../../../../../../../DynamicLayout/types';
|
|
3
3
|
type Props = {
|
|
4
4
|
connectedSubscriptionProduct: IConnectedSubscriptionProducts;
|
|
5
5
|
sectionStyles: ISectionStyles;
|