pds-dev-kit-web-test 2.2.99 → 2.2.244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -7
- package/dist/index.js +17 -3
- package/dist/scripts/copy-tinymce.d.ts +1 -0
- package/dist/scripts/copy-tinymce.js +32 -0
- package/dist/src/common/assets/icons/fill/BringForward.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/BringForward.js +30 -0
- package/dist/src/common/assets/icons/fill/BringToFront.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/BringToFront.js +30 -0
- package/dist/src/common/assets/icons/fill/BringToFrontArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/BringToFrontArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/Cam.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Cam.js +30 -0
- package/dist/src/common/assets/icons/fill/CamOff.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/CamOff.js +30 -0
- package/dist/src/common/assets/icons/fill/CheckboxIndeterminate.js +1 -1
- package/dist/src/common/assets/icons/fill/CheckboxOn.js +1 -1
- package/dist/src/common/assets/icons/fill/CloudDownload.js +1 -1
- package/dist/src/common/assets/icons/fill/Cut.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Cut.js +30 -0
- package/dist/src/common/assets/icons/fill/DesktopSync.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/DesktopSync.js +30 -0
- package/dist/src/common/assets/icons/fill/Developer.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Developer.js +30 -0
- package/dist/src/common/assets/icons/fill/Downloaded.js +1 -1
- package/dist/src/common/assets/icons/fill/Duplicate.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Duplicate.js +30 -0
- package/dist/src/common/assets/icons/fill/Gift.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Gift.js +30 -0
- package/dist/src/common/assets/icons/fill/Group.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Group.js +30 -0
- package/dist/src/common/assets/icons/fill/LogoGoogle.js +1 -1
- package/dist/src/common/assets/icons/fill/LogoSandoll.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/LogoSandoll.js +30 -0
- package/dist/src/common/assets/icons/fill/MenuHome.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MenuHome.js +30 -0
- package/dist/src/common/assets/icons/fill/MoveBackward.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MoveBackward.js +30 -0
- package/dist/src/common/assets/icons/fill/MoveBackwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MoveBackwardArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/MoveForward.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MoveForward.js +30 -0
- package/dist/src/common/assets/icons/fill/MoveForwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/MoveForwardArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/Paste.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Paste.js +30 -0
- package/dist/src/common/assets/icons/fill/PostPost.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/PostPost.js +30 -0
- package/dist/src/common/assets/icons/fill/PostSeries.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/PostSeries.js +30 -0
- package/dist/src/common/assets/icons/fill/SendBackward.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/SendBackward.js +30 -0
- package/dist/src/common/assets/icons/fill/SendToBack.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/SendToBack.js +30 -0
- package/dist/src/common/assets/icons/fill/SendToBackArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/SendToBackArrow.js +30 -0
- package/dist/src/common/assets/icons/fill/ToggleDown.js +1 -1
- package/dist/src/common/assets/icons/fill/ToggleUp.js +1 -1
- package/dist/src/common/assets/icons/fill/Translate.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Translate.js +30 -0
- package/dist/src/common/assets/icons/fill/TypefaceSystem.js +1 -1
- package/dist/src/common/assets/icons/fill/Ungroup.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Ungroup.js +30 -0
- package/dist/src/common/assets/icons/fill/Video.js +1 -1
- package/dist/src/common/assets/icons/fill/VideoEpisode.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/VideoEpisode.js +30 -0
- package/dist/src/common/assets/icons/fill/VideoOff.js +1 -1
- package/dist/src/common/assets/icons/fill/VideoSeries.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/VideoSeries.js +30 -0
- package/dist/src/common/assets/icons/fill/VideoStop.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/VideoStop.js +30 -0
- package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
- package/dist/src/common/assets/icons/fill/index.d.ts +28 -0
- package/dist/src/common/assets/icons/fill/index.js +57 -1
- package/dist/src/common/assets/icons/image/index.d.ts +202 -0
- package/dist/src/common/assets/icons/image/index.js +205 -0
- package/dist/src/common/assets/icons/line/BookingCompleted.js +1 -1
- package/dist/src/common/assets/icons/line/BringForward.d.ts +4 -0
- package/dist/src/common/assets/icons/line/BringForward.js +30 -0
- package/dist/src/common/assets/icons/line/BringToFront.d.ts +4 -0
- package/dist/src/common/assets/icons/line/BringToFront.js +30 -0
- package/dist/src/common/assets/icons/line/BringToFrontArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/BringToFrontArrow.js +30 -0
- package/dist/src/common/assets/icons/line/Cam.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Cam.js +30 -0
- package/dist/src/common/assets/icons/line/CamOff.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CamOff.js +30 -0
- package/dist/src/common/assets/icons/line/CheckBox.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CheckBox.js +30 -0
- package/dist/src/common/assets/icons/line/Cut.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Cut.js +30 -0
- package/dist/src/common/assets/icons/line/DesktopSync.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DesktopSync.js +30 -0
- package/dist/src/common/assets/icons/line/Dropdown.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Dropdown.js +30 -0
- package/dist/src/common/assets/icons/line/Duplicate.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Duplicate.js +30 -0
- package/dist/src/common/assets/icons/line/Gift.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Gift.js +30 -0
- package/dist/src/common/assets/icons/line/Group.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Group.js +30 -0
- package/dist/src/common/assets/icons/line/Heart.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Heart.js +30 -0
- package/dist/src/common/assets/icons/line/LogoGoogle.js +1 -1
- package/dist/src/common/assets/icons/line/LogoSandoll.d.ts +4 -0
- package/dist/src/common/assets/icons/line/LogoSandoll.js +30 -0
- package/dist/src/common/assets/icons/line/MenuHome.d.ts +4 -0
- package/dist/src/common/assets/icons/line/MenuHome.js +30 -0
- package/dist/src/common/assets/icons/line/MoveBackward.d.ts +4 -0
- package/dist/src/common/assets/icons/line/MoveBackward.js +30 -0
- package/dist/src/common/assets/icons/line/MoveBackwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/MoveBackwardArrow.js +30 -0
- package/dist/src/common/assets/icons/line/MoveForward.d.ts +4 -0
- package/dist/src/common/assets/icons/line/MoveForward.js +30 -0
- package/dist/src/common/assets/icons/line/MoveForwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/MoveForwardArrow.js +30 -0
- package/dist/src/common/assets/icons/line/PageCollapse.d.ts +4 -0
- package/dist/src/common/assets/icons/line/PageCollapse.js +30 -0
- package/dist/src/common/assets/icons/line/Paste.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Paste.js +30 -0
- package/dist/src/common/assets/icons/line/PostPost.d.ts +4 -0
- package/dist/src/common/assets/icons/line/PostPost.js +30 -0
- package/dist/src/common/assets/icons/line/PostSeries.d.ts +4 -0
- package/dist/src/common/assets/icons/line/PostSeries.js +31 -0
- package/dist/src/common/assets/icons/line/Radio.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Radio.js +30 -0
- package/dist/src/common/assets/icons/line/Recent.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Recent.js +30 -0
- package/dist/src/common/assets/icons/line/SectionBanner32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionBanner32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionBanner40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionBanner40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionFeed32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionFeed32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionFeed40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionFeed40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionHero32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionHero32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionHero40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionHero40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestion32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestion40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +30 -0
- package/dist/src/common/assets/icons/line/SendBackward.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SendBackward.js +30 -0
- package/dist/src/common/assets/icons/line/SendToBack.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SendToBack.js +30 -0
- package/dist/src/common/assets/icons/line/SendToBackArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SendToBackArrow.js +30 -0
- package/dist/src/common/assets/icons/line/TextLong.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TextLong.js +30 -0
- package/dist/src/common/assets/icons/line/TextShort.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TextShort.js +30 -0
- package/dist/src/common/assets/icons/line/TimeExtension.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TimeExtension.js +30 -0
- package/dist/src/common/assets/icons/line/Translate.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Translate.js +30 -0
- package/dist/src/common/assets/icons/line/TypefaceBlackLetter20.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TypefaceBlackLetter20.js +30 -0
- package/dist/src/common/assets/icons/line/TypefaceDeco20.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TypefaceDeco20.js +30 -0
- package/dist/src/common/assets/icons/line/TypefaceRound20.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TypefaceRound20.js +30 -0
- package/dist/src/common/assets/icons/line/TypefaceScript20.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TypefaceScript20.js +30 -0
- package/dist/src/common/assets/icons/line/TypefaceSlab20.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TypefaceSlab20.js +30 -0
- package/dist/src/common/assets/icons/line/TypefaceSymbol20.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TypefaceSymbol20.js +30 -0
- package/dist/src/common/assets/icons/line/TypefaceSystem.js +1 -1
- package/dist/src/common/assets/icons/line/Ungroup.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Ungroup.js +30 -0
- package/dist/src/common/assets/icons/line/Video.js +1 -1
- package/dist/src/common/assets/icons/line/VideoEpisode.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoEpisode.js +30 -0
- package/dist/src/common/assets/icons/line/VideoOff.js +1 -1
- package/dist/src/common/assets/icons/line/VideoSeries.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoSeries.js +30 -0
- package/dist/src/common/assets/icons/line/VideoStop.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoStop.js +30 -0
- package/dist/src/common/assets/icons/line/VideoType.js +1 -1
- package/dist/src/common/assets/icons/line/index.d.ts +54 -0
- package/dist/src/common/assets/icons/line/index.js +109 -1
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +2 -1
- package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +48 -4
- package/dist/src/common/hooks/useParentResizeObserver.d.ts +2 -0
- package/dist/src/common/hooks/useParentResizeObserver.js +20 -0
- package/dist/src/common/hooks/useResizeObserver.d.ts +3 -0
- package/dist/src/common/hooks/useResizeObserver.js +27 -0
- package/dist/src/common/hooks/useWindowSize.d.ts +4 -0
- package/dist/src/common/hooks/useWindowSize.js +22 -0
- package/dist/src/common/index.d.ts +1 -1
- package/dist/src/common/services/i18n/resources/en.json +79 -1
- package/dist/src/common/services/i18n/resources/es.json +79 -1
- package/dist/src/common/services/i18n/resources/fil.json +72 -1
- package/dist/src/common/services/i18n/resources/index.d.ts +540 -0
- package/dist/src/common/services/i18n/resources/ja.json +79 -1
- package/dist/src/common/services/i18n/resources/ko.json +80 -1
- package/dist/src/common/services/i18n/resources/zh-cn.json +79 -1
- package/dist/src/common/services/i18n/resources/zh-tw.json +79 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +29 -2
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +30 -3
- package/dist/src/common/styles/colorSet/SemanticColor.json +6 -2
- package/dist/src/common/styles/colorSet/UIColor.json +56 -3
- package/dist/src/common/styles/colorSet/index.d.ts +233 -122
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +53 -0
- package/dist/src/common/styles/editorContentStyle.d.ts +1 -0
- package/dist/src/common/styles/editorContentStyle.js +76 -0
- package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +2 -0
- package/dist/src/common/styles/scroll/scrollbarStyle.js +4 -3
- package/dist/src/common/styles/ui-colors.js +13 -5
- package/dist/src/common/types/LocalizedContent.d.ts +4 -0
- package/dist/src/common/types/components.d.ts +18 -4
- package/dist/src/common/types/components.js +8 -0
- package/dist/src/common/types/icon.d.ts +8 -3
- package/dist/src/common/types/icon.js +10 -0
- package/dist/src/common/types/index.d.ts +1 -1
- package/dist/src/common/types/index.js +1 -1
- package/dist/src/common/types/text.d.ts +2 -0
- package/dist/src/common/utils/dateHelper.d.ts +16 -0
- package/dist/src/common/utils/dateHelper.js +124 -0
- package/dist/src/core/pricing/formatter.d.ts +4 -0
- package/dist/src/core/pricing/formatter.js +18 -0
- package/dist/src/core/pricing/index.d.ts +2 -0
- package/dist/src/core/pricing/index.js +18 -0
- package/dist/src/core/pricing/policy.d.ts +26 -0
- package/dist/src/core/pricing/policy.js +98 -0
- package/dist/src/core/pricing/service.d.ts +62 -0
- package/dist/src/core/pricing/service.js +157 -0
- package/dist/src/core/pricing/translator.d.ts +27 -0
- package/dist/src/core/pricing/translator.js +54 -0
- package/dist/src/core/pricing/types.d.ts +19 -0
- package/dist/src/core/pricing/types.js +31 -0
- package/dist/src/core/pricing/validator.d.ts +29 -0
- package/dist/src/core/pricing/validator.js +105 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +6 -2
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +61 -23
- package/dist/src/desktop/components/AdminList/AdminList.d.ts +11 -1
- package/dist/src/desktop/components/AdminList/AdminList.js +47 -19
- package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +10 -1
- package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +3 -1
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +3 -2
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +2 -1
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +2 -2
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +3 -0
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +34 -13
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +7 -5
- package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.d.ts +2 -1
- package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.js +3 -3
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +6 -2
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +28 -3
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +8 -5
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +26 -4
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +3 -1
- package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +1 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +4 -1
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +22 -2
- package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +68 -0
- package/dist/src/desktop/components/BoxItem/BoxItem.js +107 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +9 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +11 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +9 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +36 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +2 -0
- package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text → desktop/components/BoxItem/LeftBox}/index.js +3 -3
- package/dist/src/desktop/components/BoxItem/index.d.ts +1 -0
- package/dist/src/desktop/components/BoxItem/index.js +8 -0
- package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +12 -0
- package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +134 -0
- package/dist/src/desktop/components/Calendar/Calendar.d.ts +4 -0
- package/dist/src/desktop/components/Calendar/Calendar.js +437 -0
- package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +53 -0
- package/dist/src/desktop/components/Calendar/CalendarContext.js +77 -0
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +7 -0
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +49 -0
- package/dist/src/desktop/components/Calendar/DailyView.d.ts +8 -0
- package/dist/src/desktop/components/Calendar/DailyView.js +172 -0
- package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +29 -0
- package/dist/src/desktop/components/Calendar/MonthlyView.js +494 -0
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +21 -0
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +186 -0
- package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +25 -0
- package/dist/src/desktop/components/Calendar/ScheduleItem.js +56 -0
- package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +12 -0
- package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +184 -0
- package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +9 -0
- package/dist/src/desktop/components/Calendar/WeeklyView.js +220 -0
- package/dist/src/desktop/components/Calendar/YearlyView.d.ts +13 -0
- package/dist/src/desktop/components/Calendar/YearlyView.js +76 -0
- package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +13 -0
- package/dist/src/desktop/components/Calendar/calendarUtils.js +59 -0
- package/dist/src/desktop/components/Calendar/constants.d.ts +1 -0
- package/dist/src/desktop/components/Calendar/constants.js +31 -0
- package/dist/src/desktop/components/Calendar/index.d.ts +14 -0
- package/dist/src/desktop/components/Calendar/index.js +42 -0
- package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +18 -0
- package/dist/src/desktop/components/Calendar/timeFormatUtils.js +59 -0
- package/dist/src/desktop/components/Calendar/types.d.ts +65 -0
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
- package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
- package/dist/src/desktop/components/ChatList/ChatList.d.ts +12 -9
- package/dist/src/desktop/components/ChatList/ChatList.js +3 -3
- package/dist/src/desktop/components/ChatList/ChatTextField.d.ts +5 -5
- package/dist/src/desktop/components/ChatList/Footer.d.ts +5 -5
- package/dist/src/desktop/components/ChatList/Header.d.ts +2 -2
- package/dist/src/desktop/components/ChatList/Header.js +5 -2
- package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +3 -1
- package/dist/src/desktop/components/Checkbox/Checkbox.js +17 -3
- package/dist/src/desktop/components/Chip/Chip.d.ts +3 -3
- package/dist/src/desktop/components/Chip/Chip.js +50 -5
- package/dist/src/desktop/components/ContextMenu/ContextMenu.d.ts +3 -1
- package/dist/src/desktop/components/ContextMenu/ContextMenu.js +38 -7
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +9 -10
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.d.ts +2 -2
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +3 -3
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +34 -15
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +3 -1
- package/dist/src/desktop/components/Dropdown/Dropdown.js +22 -12
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.d.ts +1 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.js +1 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.d.ts +1 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.js +2 -2
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +3 -1
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +19 -10
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.d.ts +2 -1
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.js +8 -4
- package/dist/src/desktop/components/IconButton/IconButton.d.ts +2 -2
- package/dist/src/desktop/components/LocalizedButton/LocalizedButton.d.ts +8 -0
- package/dist/src/desktop/components/LocalizedButton/LocalizedButton.js +44 -0
- package/dist/src/desktop/components/LocalizedButton/index.d.ts +1 -0
- package/dist/src/desktop/components/LocalizedButton/index.js +8 -0
- package/dist/src/desktop/components/MainButton/MainButton.d.ts +3 -3
- package/dist/src/desktop/components/MainButton/MainButton.js +35 -15
- package/dist/src/desktop/components/PageTitleTextGroup/CompoundButton.d.ts +2 -2
- package/dist/src/desktop/components/PageTitleTextGroup/PageTitleTextGroup.d.ts +2 -2
- package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +44 -0
- package/dist/src/desktop/components/PriceTextField/PriceTextField.js +587 -0
- package/dist/src/desktop/components/PriceTextField/index.d.ts +1 -0
- package/dist/src/desktop/components/PriceTextField/index.js +8 -0
- package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
- package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +47 -0
- package/dist/src/desktop/components/PriceTextLabel/index.d.ts +1 -0
- package/dist/src/desktop/components/PriceTextLabel/index.js +8 -0
- package/dist/src/desktop/components/Radio/Radio.js +2 -2
- package/dist/src/desktop/components/RichTextEditor/HTMLReader.d.ts +5 -0
- package/dist/src/desktop/components/RichTextEditor/HTMLReader.js +35 -0
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +37 -0
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +276 -0
- package/dist/src/desktop/components/RichTextEditor/index.d.ts +2 -0
- package/dist/src/desktop/components/RichTextEditor/index.js +8 -0
- package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +8 -6
- package/dist/src/desktop/components/Select/Select.d.ts +7 -2
- package/dist/src/desktop/components/Select/Select.js +90 -27
- package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +17 -0
- package/dist/src/desktop/components/Snackbar/Snackbar.js +221 -0
- package/dist/src/desktop/components/Snackbar/index.d.ts +1 -0
- package/dist/src/desktop/components/Snackbar/index.js +8 -0
- package/dist/src/desktop/components/Snackbar/provider.d.ts +11 -0
- package/dist/src/desktop/components/Snackbar/provider.js +43 -0
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +6 -3
- package/dist/src/desktop/components/TextButton/TextButton.js +68 -41
- package/dist/src/desktop/components/TextField/TextField.d.ts +9 -31
- package/dist/src/desktop/components/TextField/TextField.js +61 -24
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +4 -3
- package/dist/src/desktop/components/TextLabel/TextLabel.js +6 -3
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +2 -2
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +3 -3
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +22 -8
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +56 -39
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.d.ts +2 -1
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.js +4 -4
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.d.ts +2 -1
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.js +58 -7
- package/dist/src/desktop/components/index.d.ts +8 -1
- package/dist/src/desktop/components/index.js +16 -1
- package/dist/src/desktop/index.d.ts +2 -2
- package/dist/src/desktop/index.js +10 -2
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +8 -5
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +1 -0
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSI.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSI.js +28 -17
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSJ.js +2 -2
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
- package/dist/src/desktop/panels/ContentSheet/ContentSheet.d.ts +4 -1
- package/dist/src/desktop/panels/ContentSheet/ContentSheet.js +11 -3
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +2 -1
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +13 -15
- package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +3 -1
- package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +16 -10
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +19 -3
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +42 -31
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +3 -1
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +11 -5
- package/dist/src/desktop/panels/LocalizedContentModal/LocalizedContentModal.d.ts +34 -0
- package/dist/src/desktop/panels/LocalizedContentModal/LocalizedContentModal.js +165 -0
- package/dist/src/desktop/panels/LocalizedContentModal/index.d.ts +1 -0
- package/dist/src/desktop/panels/LocalizedContentModal/index.js +8 -0
- package/dist/src/desktop/panels/SectionSheet/SectionSheet.d.ts +4 -1
- package/dist/src/desktop/panels/SectionSheet/SectionSheet.js +11 -3
- package/dist/src/desktop/panels/index.d.ts +2 -1
- package/dist/src/desktop/panels/index.js +6 -1
- package/dist/src/hybrid/components/Divider/Divider.d.ts +3 -1
- package/dist/src/hybrid/components/Divider/Divider.js +9 -7
- package/dist/src/hybrid/components/Icon/Icon.d.ts +4 -3
- package/dist/src/hybrid/components/Icon/Icon.js +14 -4
- package/dist/src/hybrid/components/Switch/Switch.d.ts +3 -1
- package/dist/src/hybrid/components/Switch/Switch.js +11 -5
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +5 -2
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +55 -22
- package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +6 -4
- package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.d.ts +2 -1
- package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.js +3 -3
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +8 -5
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +26 -4
- package/dist/src/mobile/components/BasicListItem/Contents.d.ts +3 -1
- package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +1 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +68 -0
- package/dist/src/mobile/components/BoxItem/BoxItem.js +106 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +9 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +11 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +9 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +36 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +2 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/index.js +8 -0
- package/dist/src/mobile/components/BoxItem/index.d.ts +1 -0
- package/dist/src/mobile/components/BoxItem/index.js +8 -0
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
- package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
- package/dist/src/mobile/components/ChatList/ChatList.d.ts +12 -9
- package/dist/src/mobile/components/ChatList/ChatList.js +3 -3
- package/dist/src/mobile/components/ChatList/ChatTextField.d.ts +5 -5
- package/dist/src/mobile/components/ChatList/Footer.d.ts +5 -5
- package/dist/src/mobile/components/ChatList/Header.d.ts +2 -2
- package/dist/src/mobile/components/ChatList/Header.js +5 -2
- package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +3 -1
- package/dist/src/mobile/components/Checkbox/Checkbox.js +17 -3
- package/dist/src/mobile/components/Chip/Chip.d.ts +3 -3
- package/dist/src/mobile/components/Chip/Chip.js +50 -5
- package/dist/src/mobile/components/ContextMenu/ContextMenu.d.ts +3 -1
- package/dist/src/mobile/components/ContextMenu/ContextMenu.js +38 -7
- package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +16 -0
- package/dist/src/mobile/components/DatePicker/DatePicker.js +156 -0
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +14 -0
- package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +27 -0
- package/dist/src/mobile/components/DatePicker/Day.d.ts +13 -0
- package/dist/src/mobile/components/DatePicker/Day.js +94 -0
- package/dist/src/mobile/components/DatePicker/index.d.ts +1 -0
- package/dist/src/mobile/components/DatePicker/index.js +8 -0
- package/dist/src/mobile/components/DatePicker/utils.d.ts +16 -0
- package/dist/src/mobile/components/DatePicker/utils.js +68 -0
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +3 -1
- package/dist/src/mobile/components/Dropdown/Dropdown.js +20 -12
- package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/dist/src/mobile/components/IconButton/IconButton.d.ts +2 -2
- package/dist/src/mobile/components/MainButton/MainButton.d.ts +3 -3
- package/dist/src/mobile/components/MainButton/MainButton.js +20 -6
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +3 -3
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +3 -1
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +49 -16
- package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +43 -0
- package/dist/src/mobile/components/PriceTextField/PriceTextField.js +574 -0
- package/dist/src/mobile/components/PriceTextField/index.d.ts +1 -0
- package/dist/src/mobile/components/PriceTextField/index.js +8 -0
- package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
- package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +47 -0
- package/dist/src/mobile/components/PriceTextLabel/index.d.ts +1 -0
- package/dist/src/mobile/components/PriceTextLabel/index.js +8 -0
- package/dist/src/mobile/components/Radio/Radio.js +2 -2
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.d.ts +37 -0
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +281 -0
- package/dist/src/mobile/components/RichTextEditor/index.d.ts +2 -0
- package/dist/src/mobile/components/RichTextEditor/index.js +8 -0
- package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +8 -6
- package/dist/src/mobile/components/Select/Select.d.ts +7 -2
- package/dist/src/mobile/components/Select/Select.js +87 -20
- package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +17 -0
- package/dist/src/mobile/components/Snackbar/Snackbar.js +221 -0
- package/dist/src/mobile/components/Snackbar/index.d.ts +1 -0
- package/dist/src/mobile/components/Snackbar/index.js +8 -0
- package/dist/src/mobile/components/Snackbar/provider.d.ts +11 -0
- package/dist/src/mobile/components/Snackbar/provider.js +43 -0
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +6 -3
- package/dist/src/mobile/components/TextButton/TextButton.js +55 -31
- package/dist/src/mobile/components/TextField/TextField.d.ts +7 -31
- package/dist/src/mobile/components/TextField/TextField.js +50 -22
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +9 -4
- package/dist/src/mobile/components/TextLabel/TextLabel.js +83 -3
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.d.ts +2 -2
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +3 -3
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +20 -6
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +44 -30
- package/dist/src/mobile/components/index.d.ts +7 -1
- package/dist/src/mobile/components/index.js +13 -1
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +8 -2
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
- package/dist/src/mobile/panels/ContentSheet/ContentSheet.d.ts +4 -1
- package/dist/src/mobile/panels/ContentSheet/ContentSheet.js +11 -3
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +3 -1
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +14 -7
- package/dist/src/mobile/panels/SectionSheet/SectionSheet.d.ts +4 -1
- package/dist/src/mobile/panels/SectionSheet/SectionSheet.js +11 -3
- package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +10 -1
- package/dist/src/sub/AdminList/AdminList/AdminList.js +51 -20
- package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +10 -1
- package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +2 -0
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +18 -8
- package/dist/src/sub/AdminList/ToolBar/SearchField.js +2 -2
- package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +6 -5
- package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +56 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +217 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.js +75 -0
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +17 -3
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +3 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -1
- package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/ErrorBoundary.js +12 -1
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +12 -1
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +77 -0
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
- package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +5 -1
- package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.js +7 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/CheckboxIndeterminate.js +1 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/CheckboxOn.js +1 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/CloudDownload.js +1 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/Downloaded.js +1 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/BookingCompleted.js +1 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/MainButton/MainButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/mobile/IconButton/IconButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/mobile/MainButton/MainButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/gleStyles.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/gleStyles.js +19 -0
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.js +6 -1
- package/dist/src/sub/DynamicLayout/mock_samplePage.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_samplePage.js +1064 -69
- package/dist/src/sub/DynamicLayout/mock_storybook.js +2 -2
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +369 -0
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +372 -0
- package/dist/src/sub/DynamicLayout/mocks.d.ts +1296 -0
- package/dist/src/sub/DynamicLayout/mocks.js +4786 -0
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +77 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +0 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +790 -177
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +71 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +11 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +45 -23
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +12 -0
- 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/EmbedIframe.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/Image/Image.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +28 -43
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +173 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +35 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_Backdrop.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_Backdrop.js +13 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.js +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/types.d.ts +90 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.d.ts +2 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.js +3 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.js +2 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIsMounted.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIsMounted.js +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useResizableObserver.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useResizableObserver.js +74 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/clsx.d.ts +7 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/clsx.js +33 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/fontSizeAdjustment.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/fontSizeAdjustment.js +333 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/{hooks/useGroupDrag/utils.d.ts → newUtils/group.d.ts} +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/{hooks/useGroupDrag/utils.js → newUtils/group.js} +14 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +8 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.d.ts +1 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +3 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +5 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +13 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/types.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +15 -5
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +212 -0
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/types.d.ts +50 -1
- package/dist/src/sub/GoogleFontkit/headless/GoogleFontsList.js +1 -1
- package/dist/src/sub/SandollFontKit/api/getSandollFonts.d.ts +4 -0
- package/dist/src/sub/SandollFontKit/api/getSandollFonts.js +80 -0
- package/dist/src/sub/SandollFontKit/api/types.d.ts +51 -0
- package/dist/src/sub/SandollFontKit/constants.d.ts +9 -0
- package/dist/src/sub/SandollFontKit/constants.js +32 -0
- package/dist/src/sub/SandollFontKit/headless/SandollFontsList.d.ts +18 -0
- package/dist/src/sub/SandollFontKit/headless/SandollFontsList.js +76 -0
- package/dist/src/sub/SandollFontKit/hooks/useQueryParamsReducer.d.ts +30 -0
- package/dist/src/sub/SandollFontKit/hooks/useQueryParamsReducer.js +78 -0
- package/dist/src/sub/SandollFontKit/index.d.ts +5 -0
- package/dist/src/sub/SandollFontKit/index.js +28 -0
- package/dist/src/sub/SandollFontKit/types.d.ts +14 -0
- package/dist/src/sub/SandollFontKit/types.js +2 -0
- package/dist/src/sub/SandollFontKit/utils/appendSandollTagToHead.d.ts +1 -0
- package/dist/src/sub/SandollFontKit/utils/appendSandollTagToHead.js +31 -0
- package/dist/src/sub/SandollFontKit/utils/getSandollFontNameInKorean.d.ts +3 -0
- package/dist/src/sub/SandollFontKit/utils/getSandollFontNameInKorean.js +47 -0
- package/dist/tinymce/CHANGELOG.md +3453 -0
- package/dist/tinymce/README.md +73 -0
- package/dist/tinymce/bower.json +27 -0
- package/dist/tinymce/composer.json +52 -0
- package/dist/tinymce/icons/default/icons.js +194 -0
- package/dist/tinymce/icons/default/icons.min.js +1 -0
- package/dist/tinymce/icons/default/index.js +7 -0
- package/dist/tinymce/license.txt +21 -0
- package/dist/tinymce/models/dom/index.js +7 -0
- package/dist/tinymce/models/dom/model.js +8040 -0
- package/dist/tinymce/models/dom/model.min.js +1 -0
- package/dist/tinymce/notices.txt +21 -0
- package/dist/tinymce/package.json +32 -0
- package/dist/tinymce/plugins/accordion/index.js +7 -0
- package/dist/tinymce/plugins/accordion/plugin.js +1054 -0
- package/dist/tinymce/plugins/accordion/plugin.min.js +5 -0
- package/dist/tinymce/plugins/advlist/index.js +7 -0
- package/dist/tinymce/plugins/advlist/plugin.js +259 -0
- package/dist/tinymce/plugins/advlist/plugin.min.js +5 -0
- package/dist/tinymce/plugins/anchor/index.js +7 -0
- package/dist/tinymce/plugins/anchor/plugin.js +214 -0
- package/dist/tinymce/plugins/anchor/plugin.min.js +5 -0
- package/dist/tinymce/plugins/autolink/index.js +7 -0
- package/dist/tinymce/plugins/autolink/plugin.js +228 -0
- package/dist/tinymce/plugins/autolink/plugin.min.js +5 -0
- package/dist/tinymce/plugins/autoresize/index.js +7 -0
- package/dist/tinymce/plugins/autoresize/plugin.js +192 -0
- package/dist/tinymce/plugins/autoresize/plugin.min.js +5 -0
- package/dist/tinymce/plugins/autosave/index.js +7 -0
- package/dist/tinymce/plugins/autosave/plugin.js +233 -0
- package/dist/tinymce/plugins/autosave/plugin.min.js +5 -0
- package/dist/tinymce/plugins/charmap/index.js +7 -0
- package/dist/tinymce/plugins/charmap/plugin.js +1658 -0
- package/dist/tinymce/plugins/charmap/plugin.min.js +5 -0
- package/dist/tinymce/plugins/code/index.js +7 -0
- package/dist/tinymce/plugins/code/plugin.js +85 -0
- package/dist/tinymce/plugins/code/plugin.min.js +5 -0
- package/dist/tinymce/plugins/codesample/index.js +7 -0
- package/dist/tinymce/plugins/codesample/plugin.js +2471 -0
- package/dist/tinymce/plugins/codesample/plugin.min.js +13 -0
- package/dist/tinymce/plugins/directionality/index.js +7 -0
- package/dist/tinymce/plugins/directionality/plugin.js +395 -0
- package/dist/tinymce/plugins/directionality/plugin.min.js +5 -0
- package/dist/tinymce/plugins/emoticons/index.js +7 -0
- package/dist/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojis.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojis.min.js +1 -0
- package/dist/tinymce/plugins/emoticons/plugin.js +595 -0
- package/dist/tinymce/plugins/emoticons/plugin.min.js +5 -0
- package/dist/tinymce/plugins/fullscreen/index.js +7 -0
- package/dist/tinymce/plugins/fullscreen/plugin.js +1249 -0
- package/dist/tinymce/plugins/fullscreen/plugin.min.js +5 -0
- package/dist/tinymce/plugins/help/index.js +7 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/dist/tinymce/plugins/help/plugin.js +898 -0
- package/dist/tinymce/plugins/help/plugin.min.js +5 -0
- package/dist/tinymce/plugins/image/index.js +7 -0
- package/dist/tinymce/plugins/image/plugin.js +1505 -0
- package/dist/tinymce/plugins/image/plugin.min.js +5 -0
- package/dist/tinymce/plugins/importcss/index.js +7 -0
- package/dist/tinymce/plugins/importcss/plugin.js +344 -0
- package/dist/tinymce/plugins/importcss/plugin.min.js +5 -0
- package/dist/tinymce/plugins/insertdatetime/index.js +7 -0
- package/dist/tinymce/plugins/insertdatetime/plugin.js +187 -0
- package/dist/tinymce/plugins/insertdatetime/plugin.min.js +5 -0
- package/dist/tinymce/plugins/link/index.js +7 -0
- package/dist/tinymce/plugins/link/plugin.js +1242 -0
- package/dist/tinymce/plugins/link/plugin.min.js +5 -0
- package/dist/tinymce/plugins/lists/index.js +7 -0
- package/dist/tinymce/plugins/lists/plugin.js +2172 -0
- package/dist/tinymce/plugins/lists/plugin.min.js +5 -0
- package/dist/tinymce/plugins/media/index.js +7 -0
- package/dist/tinymce/plugins/media/plugin.js +1217 -0
- package/dist/tinymce/plugins/media/plugin.min.js +5 -0
- package/dist/tinymce/plugins/nonbreaking/index.js +7 -0
- package/dist/tinymce/plugins/nonbreaking/plugin.js +123 -0
- package/dist/tinymce/plugins/nonbreaking/plugin.min.js +5 -0
- package/dist/tinymce/plugins/pagebreak/index.js +7 -0
- package/dist/tinymce/plugins/pagebreak/plugin.js +117 -0
- package/dist/tinymce/plugins/pagebreak/plugin.min.js +5 -0
- package/dist/tinymce/plugins/preview/index.js +7 -0
- package/dist/tinymce/plugins/preview/plugin.js +97 -0
- package/dist/tinymce/plugins/preview/plugin.min.js +5 -0
- package/dist/tinymce/plugins/quickbars/index.js +7 -0
- package/dist/tinymce/plugins/quickbars/plugin.js +447 -0
- package/dist/tinymce/plugins/quickbars/plugin.min.js +5 -0
- package/dist/tinymce/plugins/save/index.js +7 -0
- package/dist/tinymce/plugins/save/plugin.js +118 -0
- package/dist/tinymce/plugins/save/plugin.min.js +5 -0
- package/dist/tinymce/plugins/searchreplace/index.js +7 -0
- package/dist/tinymce/plugins/searchreplace/plugin.js +1093 -0
- package/dist/tinymce/plugins/searchreplace/plugin.min.js +5 -0
- package/dist/tinymce/plugins/table/index.js +7 -0
- package/dist/tinymce/plugins/table/plugin.js +3462 -0
- package/dist/tinymce/plugins/table/plugin.min.js +5 -0
- package/dist/tinymce/plugins/template/index.js +7 -0
- package/dist/tinymce/plugins/template/plugin.js +567 -0
- package/dist/tinymce/plugins/template/plugin.min.js +5 -0
- package/dist/tinymce/plugins/visualblocks/index.js +7 -0
- package/dist/tinymce/plugins/visualblocks/plugin.js +98 -0
- package/dist/tinymce/plugins/visualblocks/plugin.min.js +5 -0
- package/dist/tinymce/plugins/visualchars/index.js +7 -0
- package/dist/tinymce/plugins/visualchars/plugin.js +560 -0
- package/dist/tinymce/plugins/visualchars/plugin.min.js +5 -0
- package/dist/tinymce/plugins/wordcount/index.js +7 -0
- package/dist/tinymce/plugins/wordcount/plugin.js +405 -0
- package/dist/tinymce/plugins/wordcount/plugin.min.js +5 -0
- package/dist/tinymce/skins/content/dark/content.css +79 -0
- package/dist/tinymce/skins/content/dark/content.js +15 -0
- package/dist/tinymce/skins/content/dark/content.min.css +14 -0
- package/dist/tinymce/skins/content/default/content.css +74 -0
- package/dist/tinymce/skins/content/default/content.js +15 -0
- package/dist/tinymce/skins/content/default/content.min.css +14 -0
- package/dist/tinymce/skins/content/document/content.css +79 -0
- package/dist/tinymce/skins/content/document/content.js +15 -0
- package/dist/tinymce/skins/content/document/content.min.css +14 -0
- package/dist/tinymce/skins/content/tinymce-5/content.css +74 -0
- package/dist/tinymce/skins/content/tinymce-5/content.js +15 -0
- package/dist/tinymce/skins/content/tinymce-5/content.min.css +14 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.css +79 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.js +15 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +14 -0
- package/dist/tinymce/skins/content/writer/content.css +75 -0
- package/dist/tinymce/skins/content/writer/content.js +15 -0
- package/dist/tinymce/skins/content/writer/content.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide/content.css +798 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide/content.js +15 -0
- package/dist/tinymce/skins/ui/oxide/content.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide/skin.css +3763 -0
- package/dist/tinymce/skins/ui/oxide/skin.js +2 -0
- package/dist/tinymce/skins/ui/oxide/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.css +779 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.js +15 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.css +798 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.css +3857 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +779 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +3857 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/themes/silver/index.js +7 -0
- package/dist/tinymce/themes/silver/theme.js +30775 -0
- package/dist/tinymce/themes/silver/theme.min.js +1 -0
- package/dist/tinymce/tinymce.d.ts +3238 -0
- package/dist/tinymce/tinymce.js +31779 -0
- package/dist/tinymce/tinymce.min.js +11 -0
- package/package.json +13 -12
- package/release-note.md +5 -5
- package/scripts/copy-tinymce.js +37 -0
- package/dist/src/common/types/form.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +0 -3339
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +0 -4894
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.d.ts +0 -76
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/types.d.ts +0 -38
- package/dist/src/sub/DynamicLayout/sections/CustomSection/customSectionContext.d.ts +0 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/customSectionContext.js +0 -21
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.js +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.d.ts +0 -22
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.js +0 -273
- /package/dist/src/common/types/{form.js → LocalizedContent.js} +0 -0
- /package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text → desktop/components/Calendar}/types.js +0 -0
- /package/dist/src/sub/{DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/btnTypes.js → SandollFontKit/api/types.js} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ComponentBlock } from './types';
|
|
3
|
+
import type { Device } from './util/types';
|
|
4
|
+
type Props = {
|
|
5
|
+
cb: ComponentBlock;
|
|
6
|
+
index: number;
|
|
7
|
+
device: Device;
|
|
8
|
+
rowHeight: number;
|
|
9
|
+
zIndex: number;
|
|
10
|
+
};
|
|
11
|
+
declare function FlexGridItem({ cb, index, device, rowHeight, zIndex }: Props): JSX.Element;
|
|
12
|
+
export default FlexGridItem;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __assign = (this && this.__assign) || function () {
|
|
7
|
+
__assign = Object.assign || function(t) {
|
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
+
s = arguments[i];
|
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
+
t[p] = s[p];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
return __assign.apply(this, arguments);
|
|
16
|
+
};
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
23
|
+
var ComponentBlockMatcher_1 = __importDefault(require("./components/ComponentBlock/ComponentBlockMatcher"));
|
|
24
|
+
var gap = 10;
|
|
25
|
+
function FlexGridItem(_a) {
|
|
26
|
+
var cb = _a.cb, index = _a.index, device = _a.device, rowHeight = _a.rowHeight, zIndex = _a.zIndex;
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
28
|
+
var defaultHeight = getMaxHeight(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device, rowHeight);
|
|
29
|
+
var gridArea = getGridAreaFromCB(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device);
|
|
30
|
+
return ((0, jsx_runtime_1.jsx)(GridItem, __assign({ "data-cb-id": cb.id, style: {
|
|
31
|
+
zIndex: zIndex,
|
|
32
|
+
gridArea: gridArea
|
|
33
|
+
// maxHeight: cb.componentBlockCode !== CB_ALL_CODES.CB_TEXT ? defaultHeight : undefined
|
|
34
|
+
} }, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { rowHeight: rowHeight, cbProps: cb, device: device, index: index }) })));
|
|
35
|
+
}
|
|
36
|
+
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"])));
|
|
37
|
+
function getMaxHeight(props, device, rowHeight) {
|
|
38
|
+
if (device === 'DESKTOP') {
|
|
39
|
+
var CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS;
|
|
40
|
+
var height_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS * rowHeight +
|
|
41
|
+
(CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS - 1) * gap;
|
|
42
|
+
return height_1;
|
|
43
|
+
}
|
|
44
|
+
var rowsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'];
|
|
45
|
+
var height = rowsMobile * rowHeight + (rowsMobile - 1) * gap;
|
|
46
|
+
return height;
|
|
47
|
+
}
|
|
48
|
+
function clamp(num, min, max) {
|
|
49
|
+
return Math.max(Math.min(num, max), min);
|
|
50
|
+
}
|
|
51
|
+
function getGridAreaFromCB(props, device) {
|
|
52
|
+
var CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX, CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY, cols = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS, rows = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS;
|
|
53
|
+
if (device === 'DESKTOP') {
|
|
54
|
+
var colStart_1 = clamp(CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX + 1, 1, Math.max(1, 25 - cols));
|
|
55
|
+
var rowStart_1 = clamp(CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY + 1, 1, Infinity);
|
|
56
|
+
var rowEnd_1 = clamp(rows + rowStart_1, rowStart_1 + 1, Infinity);
|
|
57
|
+
var colEnd_1 = clamp(colStart_1 + cols, colStart_1 + 1, 25);
|
|
58
|
+
return "".concat(rowStart_1, " / ").concat(colStart_1, " / ").concat(rowEnd_1, " / ").concat(colEnd_1);
|
|
59
|
+
}
|
|
60
|
+
var startXMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX:MOBILE'];
|
|
61
|
+
var startYMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE'];
|
|
62
|
+
var colsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'];
|
|
63
|
+
var rowsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'];
|
|
64
|
+
var colStart = clamp(startXMobile + 1, 1, Math.max(1, 9 - colsMobile));
|
|
65
|
+
var rowStart = clamp(startYMobile + 1, 1, Infinity);
|
|
66
|
+
var rowEnd = clamp(rowsMobile + rowStart, rowStart + 1, Infinity);
|
|
67
|
+
var colEnd = clamp(colStart + colsMobile, colStart + 1, 9);
|
|
68
|
+
return "".concat(rowStart, " / ").concat(colStart, " / ").concat(rowEnd, " / ").concat(colEnd);
|
|
69
|
+
}
|
|
70
|
+
exports.default = FlexGridItem;
|
|
71
|
+
var templateObject_1;
|
|
@@ -5,7 +5,7 @@ type Props = {
|
|
|
5
5
|
cbProps: ComponentBlock;
|
|
6
6
|
device: Device;
|
|
7
7
|
index: number;
|
|
8
|
-
|
|
8
|
+
rowHeight: number;
|
|
9
9
|
};
|
|
10
|
-
export default function ComponentBlockMatcher({ cbProps, device, index
|
|
10
|
+
export default function ComponentBlockMatcher({ cbProps, device, index }: Props): JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -19,22 +19,24 @@ require("react");
|
|
|
19
19
|
var newUtils_1 = require("../../newUtils");
|
|
20
20
|
var types_1 = require("../../types");
|
|
21
21
|
var Button_1 = __importDefault(require("./componentBlocks/Button/Button"));
|
|
22
|
+
var ContentsCarousel_1 = __importDefault(require("./componentBlocks/ContentsCarousel/ContentsCarousel"));
|
|
22
23
|
var Divider_1 = __importDefault(require("./componentBlocks/Divider/Divider"));
|
|
23
24
|
var Embed_1 = __importDefault(require("./componentBlocks/Embed/Embed"));
|
|
24
25
|
var Image_1 = __importDefault(require("./componentBlocks/Image/Image"));
|
|
25
26
|
var RichText_1 = require("./componentBlocks/RichText");
|
|
26
|
-
var Text_1 = require("./componentBlocks/Text");
|
|
27
|
+
var Text_1 = __importDefault(require("./componentBlocks/Text/Text"));
|
|
27
28
|
var Twitter_1 = __importDefault(require("./componentBlocks/Twitter/Twitter"));
|
|
29
|
+
var VideoPlayer_1 = require("./componentBlocks/VideoPlayer");
|
|
28
30
|
var Youtube_1 = require("./componentBlocks/Youtube");
|
|
29
31
|
function ComponentBlockMatcher(_a) {
|
|
30
|
-
var cbProps = _a.cbProps, device = _a.device, index = _a.index
|
|
32
|
+
var cbProps = _a.cbProps, device = _a.device, index = _a.index;
|
|
31
33
|
var componentBlockCode = cbProps.componentBlockCode, data = cbProps.jsonProperties.data;
|
|
32
34
|
var propsWithValue = device === 'MOBILE' ? (0, newUtils_1.replaceUndefinedValues)(data) : data;
|
|
33
35
|
switch (componentBlockCode) {
|
|
34
36
|
case types_1.CB_ALL_CODES.CB_BTN:
|
|
35
37
|
return (0, jsx_runtime_1.jsx)(Button_1.default, __assign({}, propsWithValue, { index: index }));
|
|
36
38
|
case types_1.CB_ALL_CODES.CB_TEXT:
|
|
37
|
-
return (0, jsx_runtime_1.jsx)(Text_1.
|
|
39
|
+
return (0, jsx_runtime_1.jsx)(Text_1.default, __assign({}, propsWithValue, { index: index }));
|
|
38
40
|
case types_1.CB_ALL_CODES.CB_RICHTEXT:
|
|
39
41
|
return (0, jsx_runtime_1.jsx)(RichText_1.RichText, __assign({}, propsWithValue, { index: index }));
|
|
40
42
|
case types_1.CB_ALL_CODES.CB_DIVIDER:
|
|
@@ -47,6 +49,12 @@ function ComponentBlockMatcher(_a) {
|
|
|
47
49
|
return (0, jsx_runtime_1.jsx)(Youtube_1.Youtube, __assign({}, propsWithValue, { index: index }));
|
|
48
50
|
case types_1.CB_ALL_CODES.CB_EMBED:
|
|
49
51
|
return (0, jsx_runtime_1.jsx)(Embed_1.default, __assign({}, propsWithValue, { index: index }));
|
|
52
|
+
case types_1.CB_ALL_CODES.CB_VIDEOPLAYER:
|
|
53
|
+
return (0, jsx_runtime_1.jsx)(VideoPlayer_1.VideoPlayer, __assign({}, propsWithValue, { index: index }));
|
|
54
|
+
case types_1.CB_ALL_CODES.CB_CONTENTS_CAROUSEL: {
|
|
55
|
+
var compositions = cbProps.compositions;
|
|
56
|
+
return ((0, jsx_runtime_1.jsx)(ContentsCarousel_1.default, __assign({}, propsWithValue, { compositions: compositions, index: index })));
|
|
57
|
+
}
|
|
50
58
|
default:
|
|
51
59
|
return (0, jsx_runtime_1.jsx)("div", { children: "Error: not supported CB" });
|
|
52
60
|
}
|
|
@@ -40,18 +40,18 @@ var S_HiddenCover_1 = require("../components/S_HiddenCover");
|
|
|
40
40
|
var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
|
|
41
41
|
function Button(props) {
|
|
42
42
|
var _a = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
|
|
43
|
-
var index = props.index,
|
|
43
|
+
var index = props.index, CB_STYLE_PROP_COLOR = props.CB_STYLE_PROP_COLOR, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
|
|
44
44
|
var _c = (0, useCLINK_1.default)({
|
|
45
45
|
src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
|
|
46
46
|
type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
|
|
47
47
|
openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
|
|
48
48
|
internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
|
|
49
49
|
}), onClickCLINK = _c.onClickCLINK, CLINKCursor = _c.CLINKCursor;
|
|
50
|
-
var _d = getBTNStyles(props.
|
|
51
|
-
var _e = getBTNColorStyles(
|
|
50
|
+
var _d = getBTNStyles(props.CB_STYLE_PROP_TEXT, device), btnTextStyle = _d.style, btnTextHoverStyle = _d.hoverStyle;
|
|
51
|
+
var _e = getBTNColorStyles(CB_STYLE_PROP_COLOR, device), btnColorStyle = _e.style, btnColorHoverStyle = _e.hoverStyle;
|
|
52
52
|
var _f = (0, util_1.parseProperties)(props, device), propsStyle = _f.style, propsHoverStyle = _f.hoverStyle, _g = _f.layout, paddingLeft = _g.paddingLeft, paddingRight = _g.paddingRight, paddingTop = _g.paddingTop, paddingBottom = _g.paddingBottom, layoutStyle = __rest(_g, ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom"]), effect = _f.effect;
|
|
53
53
|
var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
|
|
54
|
-
var googleFonts = (0, useGoogleFonts_1.
|
|
54
|
+
var googleFonts = (0, useGoogleFonts_1.getGoogleFontsFromTextSpecCode)(props.CB_STYLE_PROP_TEXT, device === 'MOBILE');
|
|
55
55
|
(0, useGoogleFonts_1.useGoogleFonts)({ fonts: googleFonts });
|
|
56
56
|
if (mode === 'EDIT') {
|
|
57
57
|
propsStyle.visibility = 'visible';
|
|
@@ -67,37 +67,59 @@ function Button(props) {
|
|
|
67
67
|
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
|
68
68
|
var hasEffect = !isNoneEffectType;
|
|
69
69
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
|
70
|
+
var textValue = function () {
|
|
71
|
+
if (device === 'MOBILE' &&
|
|
72
|
+
mode !== 'EDIT' &&
|
|
73
|
+
props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB === false) {
|
|
74
|
+
return '';
|
|
75
|
+
}
|
|
76
|
+
if (device === 'DESKTOP' &&
|
|
77
|
+
mode !== 'EDIT' &&
|
|
78
|
+
props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP === false) {
|
|
79
|
+
return '';
|
|
80
|
+
}
|
|
81
|
+
if (device === 'MOBILE') {
|
|
82
|
+
var value = props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE;
|
|
83
|
+
if (value === null || value === undefined) {
|
|
84
|
+
return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
|
|
85
|
+
}
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
|
|
89
|
+
};
|
|
70
90
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle, style: {
|
|
71
91
|
paddingLeft: paddingLeft,
|
|
72
92
|
paddingRight: paddingRight,
|
|
73
93
|
paddingBottom: paddingBottom,
|
|
74
94
|
paddingTop: paddingTop
|
|
75
|
-
} }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({
|
|
95
|
+
} }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ onMouseLeave: function (e) {
|
|
96
|
+
e.currentTarget.classList.remove('hovered');
|
|
97
|
+
}, className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign(__assign({}, btnTextStyle), propsStyle), layoutStyle), effectCssProperties), btnColorStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor }), hoverStyle: __assign(__assign(__assign(__assign({}, btnTextHoverStyle), propsHoverStyle), btnColorHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: textValue() })) }))] }));
|
|
76
98
|
}
|
|
77
99
|
function getBTNStyles(props, device) {
|
|
78
100
|
var availableSpecCodes = [
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
101
|
+
'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE',
|
|
102
|
+
'CB_STYLE_PROP_TEXT_SPEC_WEIGHT',
|
|
103
|
+
'CB_STYLE_PROP_TEXT_SPEC_SIZE',
|
|
104
|
+
'CB_STYLE_PROP_TEXT_SPEC_LINEHEIGHT',
|
|
105
|
+
'CB_STYLE_PROP_TEXT_SPEC_LETTERSPACING',
|
|
106
|
+
'CB_STYLE_PROP_TEXT_SPEC_COLOR',
|
|
107
|
+
'CB_STYLE_PROP_TEXT_SPEC_HORIZONTAL',
|
|
108
|
+
'CB_STYLE_PROP_TEXT_SPEC_VERTICAL'
|
|
87
109
|
];
|
|
88
|
-
return (0, newUtils_1.parseStyleTextToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, device: device, propKey: '
|
|
110
|
+
return (0, newUtils_1.parseStyleTextToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, device: device, propKey: 'TEXT' });
|
|
89
111
|
}
|
|
90
112
|
function getBTNColorStyles(props, device) {
|
|
91
113
|
var availableSpecCodes = [
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
114
|
+
'CB_STYLE_PROP_COLOR_SPEC_ANGLE',
|
|
115
|
+
'CB_STYLE_PROP_COLOR_SPEC_COLOR',
|
|
116
|
+
'CB_STYLE_PROP_COLOR_SPEC_ENDCOLOR',
|
|
117
|
+
'CB_STYLE_PROP_COLOR_SPEC_ENDLOC',
|
|
118
|
+
'CB_STYLE_PROP_COLOR_SPEC_GRADIENT',
|
|
119
|
+
'CB_STYLE_PROP_COLOR_SPEC_STARTCOLOR',
|
|
120
|
+
'CB_STYLE_PROP_COLOR_SPEC_STARTLOC',
|
|
121
|
+
'CB_STYLE_PROP_COLOR_SPEC_TYPE'
|
|
100
122
|
];
|
|
101
|
-
return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: '
|
|
123
|
+
return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'COLOR', device: device });
|
|
102
124
|
}
|
|
103
125
|
exports.default = Button;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CB_CONTENTS_CAROUSEL } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
|
|
3
|
+
import type { CB_BTN_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
4
|
+
type Props = CB_BTN_PROPERTIES_TYPE & IndexForIntersection & {
|
|
5
|
+
compositions: CB_CONTENTS_CAROUSEL['compositions'];
|
|
6
|
+
};
|
|
7
|
+
declare function ContentsCarousel(props: Props): JSX.Element;
|
|
8
|
+
export default ContentsCarousel;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
var CompositionRenderer_1 = __importDefault(require("../../../../../../../DynamicLayout/CompositionRenderer/CompositionRenderer"));
|
|
8
|
+
function ContentsCarousel(props) {
|
|
9
|
+
var compositions = props.compositions;
|
|
10
|
+
return (0, jsx_runtime_1.jsx)(CompositionRenderer_1.default, { compositions: compositions });
|
|
11
|
+
}
|
|
12
|
+
exports.default = ContentsCarousel;
|
|
@@ -43,6 +43,6 @@ function Embed(props) {
|
|
|
43
43
|
var hasEffect = !isNoneEffectType;
|
|
44
44
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
|
45
45
|
var iframeDenied = constant_1.EMBED_DENIED_HOSTS.includes(window.location.hostname);
|
|
46
|
-
return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: iframeDenied ? ((0, jsx_runtime_1.jsx)(IframeDenied_1.default, {})) : ((0, jsx_runtime_1.jsx)(EmbedIframe_1.default, { embedCode: CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE, style: layout })) })) })));
|
|
46
|
+
return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), { position: 'relative' }), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: iframeDenied ? ((0, jsx_runtime_1.jsx)(IframeDenied_1.default, {})) : ((0, jsx_runtime_1.jsx)(EmbedIframe_1.default, { embedCode: CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE, style: layout })) })) })));
|
|
47
47
|
}
|
|
48
48
|
exports.default = Embed;
|
|
@@ -31,7 +31,7 @@ var EmbedIframe = function (_a) {
|
|
|
31
31
|
}, [embedHtml]);
|
|
32
32
|
return ((0, jsx_runtime_1.jsx)(S_Iframe, { ref: iframeRef, title: "cb-embed", allow: "accelerometer; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; clipboard-write;", sandbox: "allow-forms allow-modals allow-same-origin allow-popups allow-presentation allow-scripts allow-downloads allow-pointer-lock" }));
|
|
33
33
|
};
|
|
34
|
-
var S_Iframe = styled_components_1.default.iframe(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border: none;\n display: block;\n height: 100%;\n width: 100%;\n"], ["\n border: none;\n display: block;\n height: 100%;\n width: 100%;\n"])));
|
|
34
|
+
var S_Iframe = styled_components_1.default.iframe(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border: none;\n display: block;\n height: 100%;\n position: absolute;\n width: 100%;\n"], ["\n border: none;\n display: block;\n height: 100%;\n position: absolute;\n width: 100%;\n"])));
|
|
35
35
|
function getHtmlCode(code, style) {
|
|
36
36
|
var styleString = Object.entries(style).reduce(function (styleStr, _a) {
|
|
37
37
|
var prop = _a[0], value = _a[1];
|
|
@@ -16,6 +16,6 @@ function IframeDenied() {
|
|
|
16
16
|
var t = (0, react_i18next_1.useTranslation)().t;
|
|
17
17
|
return ((0, jsx_runtime_1.jsx)(S_Denied, { children: (0, jsx_runtime_1.jsx)(components_1.D_TextLabel, { text: t('str_key_user_scene_x00001pages_notconnectdomain_embedcb_hide_info'), styleTheme: "caption1Regular", colorTheme: "sysTextSecondary", textAlign: "center" }) }));
|
|
18
18
|
}
|
|
19
|
-
var S_Denied = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: #
|
|
19
|
+
var S_Denied = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: #ddd;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 100%;\n"], ["\n align-items: center;\n background-color: #ddd;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 100%;\n"])));
|
|
20
20
|
exports.default = IframeDenied;
|
|
21
21
|
var templateObject_1;
|
|
@@ -74,7 +74,7 @@ function Image(props) {
|
|
|
74
74
|
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
|
75
75
|
var hasEffect = !isNoneEffectType;
|
|
76
76
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
|
77
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ style: __assign({}, effectCssProperties) }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), { overflow: 'hidden' }), boxStyle.normal), { cursor: CLINKCursor }), hoverStyle: __assign({}, boxStyle.hover), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image,
|
|
77
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ style: __assign({}, effectCssProperties) }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), { overflow: 'hidden' }), boxStyle.normal), { cursor: CLINKCursor }), hoverStyle: __assign({}, boxStyle.hover), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image, { src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, normalStyle: __assign({}, imgStyle.normal), hoverStyle: __assign({}, imgStyle.hover) }) })) })) }))] }));
|
|
78
78
|
}
|
|
79
79
|
function parseImageCBStyle(style, hoverStyle, mode) {
|
|
80
80
|
var boxStyle = {
|
|
@@ -115,7 +115,7 @@ function parseImageCBStyle(style, hoverStyle, mode) {
|
|
|
115
115
|
};
|
|
116
116
|
return { boxStyle: boxStyle, imgStyle: imgStyle };
|
|
117
117
|
}
|
|
118
|
-
var S_ImageWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n width: 100%;\n"])));
|
|
118
|
+
var S_ImageWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n max-height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n max-height: 100%;\n width: 100%;\n"])));
|
|
119
119
|
var S_Image = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-image: ", ";\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n\n & img {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"], ["\n background-image: ", ";\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n\n & img {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"])), function (_a) {
|
|
120
120
|
var src = _a.src;
|
|
121
121
|
return "url(".concat(src, ")");
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { CB_TEXT_PROPERTIES_TYPE, IndexForIntersection } from '../../../../util/types';
|
|
3
|
-
type Props = CB_TEXT_PROPERTIES_TYPE & IndexForIntersection
|
|
4
|
-
id: number;
|
|
5
|
-
};
|
|
3
|
+
type Props = CB_TEXT_PROPERTIES_TYPE & IndexForIntersection;
|
|
6
4
|
declare function Text(props: Props): JSX.Element;
|
|
7
5
|
export default Text;
|
|
@@ -15,14 +15,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
|
-
/* eslint-disable no-console */
|
|
19
18
|
/* eslint-disable react/destructuring-assignment */
|
|
20
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
21
|
-
var lodash_1 = require("lodash");
|
|
22
19
|
var react_1 = require("react");
|
|
23
|
-
var react_measure_1 = __importDefault(require("react-measure"));
|
|
24
20
|
var DynamicLayout_1 = require("../../../../../../../DynamicLayout");
|
|
25
|
-
var customSectionContext_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/customSectionContext");
|
|
26
21
|
var hooks_1 = require("../../../../hooks");
|
|
27
22
|
var getGoogleFonts_1 = require("../../../../hooks/useGoogleFonts/getGoogleFonts");
|
|
28
23
|
var useGoogleFonts_1 = __importDefault(require("../../../../hooks/useGoogleFonts/useGoogleFonts"));
|
|
@@ -44,7 +39,7 @@ function Text(props) {
|
|
|
44
39
|
var _d = getTextStyles(props.CB_STYLE_PROP_TEXT, device), textStyle = _d.style, textHoverStyle = _d.hoverStyle;
|
|
45
40
|
var _e = (0, util_1.parseProperties)(props, device), propsStyle = _e.style, propsHoverStyle = _e.hoverStyle, layoutStyle = _e.layout, effect = _e.effect;
|
|
46
41
|
var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
|
|
47
|
-
var googleFonts = (0, getGoogleFonts_1.
|
|
42
|
+
var googleFonts = (0, getGoogleFonts_1.getGoogleFontsFromTextSpecCode)(props.CB_STYLE_PROP_TEXT, device === 'MOBILE');
|
|
48
43
|
(0, useGoogleFonts_1.default)({ fonts: googleFonts });
|
|
49
44
|
if (mode === 'EDIT') {
|
|
50
45
|
propsStyle.visibility = 'visible';
|
|
@@ -60,45 +55,35 @@ function Text(props) {
|
|
|
60
55
|
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
|
61
56
|
var hasEffect = !isNoneEffectType;
|
|
62
57
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
|
63
|
-
var
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
type: '@CUSTOMSECTION/AUTO_RESIZED_TO_FIT_CONTENT',
|
|
69
|
-
payload: payload
|
|
70
|
-
});
|
|
71
|
-
}, 1000), [sectionActionHandler]);
|
|
72
|
-
var handleResize = function (contentRect) {
|
|
73
|
-
var breakpoint = device === 'DESKTOP' ? 'lg' : 'sm';
|
|
74
|
-
if (!contentRect.bounds) {
|
|
75
|
-
return;
|
|
58
|
+
var textValue = function () {
|
|
59
|
+
if (device === 'MOBILE' &&
|
|
60
|
+
mode !== 'EDIT' &&
|
|
61
|
+
props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB === false) {
|
|
62
|
+
return '';
|
|
76
63
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
w: copy[breakpoint][targetIndex].w,
|
|
91
|
-
x: copy[breakpoint][targetIndex].x,
|
|
92
|
-
y: copy[breakpoint][targetIndex].y
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
return copy;
|
|
96
|
-
});
|
|
64
|
+
if (device === 'DESKTOP' &&
|
|
65
|
+
mode !== 'EDIT' &&
|
|
66
|
+
props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP === false) {
|
|
67
|
+
return '';
|
|
68
|
+
}
|
|
69
|
+
if (device === 'MOBILE') {
|
|
70
|
+
var value = props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE;
|
|
71
|
+
if (value === null || value === undefined) {
|
|
72
|
+
return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
|
|
73
|
+
}
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
|
|
97
77
|
};
|
|
98
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
78
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ style: {
|
|
79
|
+
height: '100%',
|
|
80
|
+
display: 'flex',
|
|
81
|
+
alignItems: textStyle.alignItems
|
|
82
|
+
}, ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_Box_1.S_CB_Box, __assign({ onMouseEnter: function (e) {
|
|
83
|
+
e.currentTarget.classList.add('hovered');
|
|
84
|
+
}, onMouseLeave: function (e) {
|
|
85
|
+
e.currentTarget.classList.remove('hovered');
|
|
86
|
+
}, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: textValue() })) }))] }));
|
|
102
87
|
}
|
|
103
88
|
function getTextStyles(props, device) {
|
|
104
89
|
var availableSpecCodes = [
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CB_VIDEOPLAYER_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
|
|
3
|
+
type Props = CB_VIDEOPLAYER_PROPERTIES_TYPE & IndexForIntersection;
|
|
4
|
+
declare function VideoPlayer(props: Props): JSX.Element;
|
|
5
|
+
export default VideoPlayer;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __assign = (this && this.__assign) || function () {
|
|
7
|
+
__assign = Object.assign || function(t) {
|
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
+
s = arguments[i];
|
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
+
t[p] = s[p];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
return __assign.apply(this, arguments);
|
|
16
|
+
};
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
+
var react_1 = require("react");
|
|
23
|
+
var Icon_1 = require("../../../../../../../DynamicLayout/components/pdsOriginal/hybrid/Icon");
|
|
24
|
+
var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
|
|
25
|
+
var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
|
|
26
|
+
var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
|
|
27
|
+
var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
|
|
28
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
29
|
+
var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
|
|
30
|
+
var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
|
|
31
|
+
var S_HiddenCover_1 = require("../components/S_HiddenCover");
|
|
32
|
+
var helper_1 = require("./helper");
|
|
33
|
+
function VideoPlayer(props) {
|
|
34
|
+
var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
|
|
35
|
+
var CB_CONTENT_PROP_VIDEO = props.CB_CONTENT_PROP_VIDEO;
|
|
36
|
+
var index = props.index, CB_STYLE_PROP_BGCOLOR = props.CB_STYLE_PROP_BGCOLOR, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
|
|
37
|
+
var isEditMode = mode === 'EDIT';
|
|
38
|
+
var _b = getBGColorStyles(CB_STYLE_PROP_BGCOLOR, device), bgColorStyle = _b.style, bgColorHoverStyle = _b.hoverStyle;
|
|
39
|
+
var _c = (0, util_1.parseProperties)(props, device), propsStyle = _c.style, propsHoverStyle = _c.hoverStyle, layoutStyle = _c.layout, effect = _c.effect;
|
|
40
|
+
var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
|
|
41
|
+
if (mode === 'EDIT') {
|
|
42
|
+
propsStyle.visibility = 'visible';
|
|
43
|
+
}
|
|
44
|
+
var cbRef = (0, react_1.useRef)(null);
|
|
45
|
+
var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 0.2, freezeOnceVisible: false }, [
|
|
46
|
+
index
|
|
47
|
+
]);
|
|
48
|
+
var _d = (0, react_1.useState)(false), videoStarted = _d[0], setVideoStarted = _d[1];
|
|
49
|
+
var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
|
|
50
|
+
var effectCssProperties = isVisible ? effect : {};
|
|
51
|
+
var isNoneEffectType = device === 'DESKTOP'
|
|
52
|
+
? CB_EFFECT_PROP_ENTANIM.CB_EFFECT_PROP_ENTANIM_SPEC_TYPE === 'NONE'
|
|
53
|
+
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
|
54
|
+
var hasEffect = !isNoneEffectType;
|
|
55
|
+
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
|
56
|
+
var CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR, CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME, CB_CONTENT_PROP_VIDEO_SPEC_THUMB = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_THUMB, CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY, CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY, CB_CONTENT_PROP_VIDEO_SPEC_REPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_REPLAY, CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME;
|
|
57
|
+
var shouldAutoplay = (CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY && device === 'DESKTOP') ||
|
|
58
|
+
(CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY && device === 'MOBILE');
|
|
59
|
+
var videoRef = (0, react_1.useRef)(null);
|
|
60
|
+
var _e = (0, react_1.useState)(false), videoLoaded = _e[0], setVideoLoaded = _e[1];
|
|
61
|
+
var _f = (0, react_1.useState)(function () {
|
|
62
|
+
return (0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).encodedURL;
|
|
63
|
+
}), videoURL = _f[0], setVideoURL = _f[1];
|
|
64
|
+
var onVideoError = function () {
|
|
65
|
+
var fallbackURL = (0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).fallbackURL;
|
|
66
|
+
var isFallbackURL = fallbackURL === videoURL;
|
|
67
|
+
if (fallbackURL && !isFallbackURL) {
|
|
68
|
+
setVideoURL(fallbackURL);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var onLoadedMetadata = function () {
|
|
73
|
+
setVideoLoaded(true);
|
|
74
|
+
};
|
|
75
|
+
var onPlay = function () {
|
|
76
|
+
var video = videoRef.current;
|
|
77
|
+
if (!video || isEditMode || videoStarted || shouldAutoplay) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
|
|
81
|
+
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
|
82
|
+
setVideoStarted(true);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
(0, react_1.useEffect)(function () {
|
|
86
|
+
var video = videoRef.current;
|
|
87
|
+
if (!video || isEditMode || !videoLoaded || !shouldAutoplay) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
var handleIntersection = function (entries) {
|
|
91
|
+
entries.forEach(function (entry) {
|
|
92
|
+
if (entry.isIntersecting) {
|
|
93
|
+
if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
|
|
94
|
+
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
|
95
|
+
}
|
|
96
|
+
video.muted = true;
|
|
97
|
+
video.play().catch(function (err) {
|
|
98
|
+
// eslint-disable-next-line no-console
|
|
99
|
+
console.error('Error: CB VIDEO_PLAYER:', err);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
video.pause();
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
var observer = new IntersectionObserver(handleIntersection, {
|
|
108
|
+
threshold: 0.2
|
|
109
|
+
});
|
|
110
|
+
observer.observe(video);
|
|
111
|
+
return function () {
|
|
112
|
+
observer.disconnect();
|
|
113
|
+
};
|
|
114
|
+
}, [videoLoaded, isEditMode, shouldAutoplay]);
|
|
115
|
+
(0, react_1.useEffect)(function () {
|
|
116
|
+
setVideoURL((0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).encodedURL);
|
|
117
|
+
}, [CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR]);
|
|
118
|
+
var onTimeUpdate = function () {
|
|
119
|
+
var video = videoRef.current;
|
|
120
|
+
if (!video) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
var currentTimeFloor = Math.floor(video.currentTime);
|
|
124
|
+
if (typeof CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME === 'number' &&
|
|
125
|
+
currentTimeFloor === CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME) {
|
|
126
|
+
if (CB_CONTENT_PROP_VIDEO_SPEC_REPLAY) {
|
|
127
|
+
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
video.pause();
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
var onEnded = function () {
|
|
135
|
+
var video = videoRef.current;
|
|
136
|
+
if (!video || !CB_CONTENT_PROP_VIDEO_SPEC_REPLAY) {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
|
|
140
|
+
video.play();
|
|
141
|
+
return;
|
|
142
|
+
};
|
|
143
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsxs)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, propsStyle), layoutStyle), effectCssProperties), bgColorStyle), hoverStyle: __assign(__assign({}, propsHoverStyle), bgColorHoverStyle), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: [isEditMode && ((0, jsx_runtime_1.jsx)("div", __assign({ style: {
|
|
144
|
+
position: 'absolute',
|
|
145
|
+
top: '50%',
|
|
146
|
+
left: '50%',
|
|
147
|
+
width: '100%',
|
|
148
|
+
height: '100%',
|
|
149
|
+
display: 'flex',
|
|
150
|
+
alignItems: 'center',
|
|
151
|
+
justifyContent: 'center',
|
|
152
|
+
transform: 'translate(-50%, -50%)'
|
|
153
|
+
} }, { children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconName: "ic_video_play_circle", fillType: "fill", colorKey: "ui_cpnt_icon_sys_white", size: 48 }) }))), (0, jsx_runtime_1.jsxs)(S_Video, __assign({ muted: true, playsInline: true, controls: !isEditMode, isEditMode: isEditMode, ref: videoRef, "data-src": CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, onPlay: onPlay, onEnded: onEnded, onError: onVideoError, onTimeUpdate: onTimeUpdate, onLoadedMetadata: onLoadedMetadata }, { children: [(0, jsx_runtime_1.jsx)("source", { src: videoURL }), "Your browser does not support the video tag."] }), videoURL + CB_CONTENT_PROP_VIDEO_SPEC_THUMB)] })) }))] }));
|
|
154
|
+
}
|
|
155
|
+
function getBGColorStyles(props, device) {
|
|
156
|
+
var availableSpecCodes = [
|
|
157
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE',
|
|
158
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR',
|
|
159
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR',
|
|
160
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC',
|
|
161
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT',
|
|
162
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR',
|
|
163
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC',
|
|
164
|
+
'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE'
|
|
165
|
+
];
|
|
166
|
+
return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
|
|
167
|
+
}
|
|
168
|
+
var S_Video = styled_components_1.default.video(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n aspect-ratio: 16 / 9;\n height: 100%;\n max-height: 100%;\n object-fit: contain;\n pointer-events: ", ";\n width: 100%;\n"], ["\n aspect-ratio: 16 / 9;\n height: 100%;\n max-height: 100%;\n object-fit: contain;\n pointer-events: ", ";\n width: 100%;\n"])), function (_a) {
|
|
169
|
+
var isEditMode = _a.isEditMode;
|
|
170
|
+
return (isEditMode ? 'none' : 'auto');
|
|
171
|
+
});
|
|
172
|
+
exports.default = VideoPlayer;
|
|
173
|
+
var templateObject_1;
|