pds-dev-kit-web-test 2.5.594 → 2.5.596
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 +6 -6
- package/dist/index.js +3 -12
- package/dist/src/common/assets/icons/fill/index.d.ts +0 -1
- package/dist/src/common/assets/icons/fill/index.js +0 -2
- package/dist/src/common/assets/icons/line/index.d.ts +0 -1
- package/dist/src/common/assets/icons/line/index.js +0 -2
- package/dist/src/common/hooks/useTooltip.js +1 -1
- package/dist/src/common/index.d.ts +1 -1
- package/dist/src/common/services/i18n/resources/en.json +1 -61
- package/dist/src/common/services/i18n/resources/es.json +1 -61
- package/dist/src/common/services/i18n/resources/fil.json +1 -61
- package/dist/src/common/services/i18n/resources/index.d.ts +0 -421
- package/dist/src/common/services/i18n/resources/ja.json +1 -61
- package/dist/src/common/services/i18n/resources/ko.json +1 -62
- package/dist/src/common/services/i18n/resources/zh-cn.json +1 -61
- package/dist/src/common/services/i18n/resources/zh-tw.json +1 -61
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -4
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -4
- package/dist/src/common/styles/colorSet/UIColor.json +1 -5
- package/dist/src/common/styles/colorSet/index.d.ts +0 -10
- package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -4
- package/dist/src/common/types/components.d.ts +0 -9
- package/dist/src/common/types/components.js +0 -8
- package/dist/src/common/types/form.d.ts +9 -0
- package/dist/src/common/types/form.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 +0 -2
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
- package/dist/src/common/utils/dateHelper.d.ts +0 -3
- package/dist/src/common/utils/dateHelper.js +0 -37
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -4
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +23 -32
- package/dist/src/desktop/components/AdminList/AdminList.js +17 -15
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +2 -8
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +6 -67
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +1 -6
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +2 -70
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
- package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +3 -6
- package/dist/src/desktop/components/TextButton/TextButton.js +40 -67
- package/dist/src/desktop/components/TextField/TextField.d.ts +1 -2
- package/dist/src/desktop/components/TextField/TextField.js +7 -7
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +39 -56
- package/dist/src/desktop/components/index.d.ts +1 -7
- package/dist/src/desktop/components/index.js +1 -14
- package/dist/src/desktop/index.d.ts +1 -1
- package/dist/src/desktop/index.js +2 -8
- 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 +5 -8
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +2 -17
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +6 -37
- package/dist/src/desktop/panels/index.d.ts +1 -2
- package/dist/src/desktop/panels/index.js +1 -6
- package/dist/src/hybrid/components/Divider/Divider.d.ts +1 -3
- package/dist/src/hybrid/components/Divider/Divider.js +7 -9
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -3
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +22 -26
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
- package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +3 -6
- package/dist/src/mobile/components/TextButton/TextButton.js +31 -55
- package/dist/src/mobile/components/TextField/TextField.d.ts +1 -2
- package/dist/src/mobile/components/TextField/TextField.js +7 -7
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +30 -44
- package/dist/src/mobile/components/index.d.ts +1 -6
- package/dist/src/mobile/components/index.js +1 -11
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +2 -7
- package/dist/src/sub/AdminList/AdminList/AdminList.js +17 -18
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1133 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +5 -3
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +24 -2
- package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
- package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +911 -0
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +4238 -0
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/mock_composition.js +1607 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1111 -0
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +1091 -0
- package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
- package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +854 -0
- package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
- package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +4 -5
- package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -961
- package/dist/src/sub/DynamicLayout/mocks.js +55 -4239
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +10 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +134 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +61 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +87 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +182 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +139 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +214 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +85 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +29 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +130 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
- package/dist/src/{desktop/panels/MultilingualModal → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList}/index.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +67 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +39 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +151 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +20 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +173 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +87 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +16 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +63 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
- package/dist/src/{desktop/components/Snackbar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner}/index.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +186 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +163 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +49 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +7 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +211 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +3 -28
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +5 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +55 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +7 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +16 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +53 -3
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -0
- package/dist/src/sub/DynamicLayout/types.d.ts +64 -17
- package/package.json +4 -8
- package/release-note.md +2 -2
- package/dist/scripts/copy-tinymce.d.ts +0 -1
- package/dist/scripts/copy-tinymce.js +0 -32
- package/dist/src/common/assets/icons/fill/Translate.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/Translate.js +0 -30
- package/dist/src/common/assets/icons/line/Translate.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Translate.js +0 -30
- package/dist/src/common/hooks/useParentResizeObserver.d.ts +0 -2
- package/dist/src/common/hooks/useParentResizeObserver.js +0 -20
- package/dist/src/common/hooks/useResizeObserver.d.ts +0 -3
- package/dist/src/common/hooks/useResizeObserver.js +0 -27
- package/dist/src/common/hooks/useWindowSize.d.ts +0 -4
- package/dist/src/common/hooks/useWindowSize.js +0 -22
- package/dist/src/common/styles/editorContentStyle.d.ts +0 -1
- package/dist/src/common/styles/editorContentStyle.js +0 -76
- package/dist/src/common/types/multilingual.d.ts +0 -16
- package/dist/src/core/pricing/formatter.d.ts +0 -4
- package/dist/src/core/pricing/formatter.js +0 -18
- package/dist/src/core/pricing/index.d.ts +0 -2
- package/dist/src/core/pricing/index.js +0 -18
- package/dist/src/core/pricing/policy.d.ts +0 -26
- package/dist/src/core/pricing/policy.js +0 -98
- package/dist/src/core/pricing/service.d.ts +0 -62
- package/dist/src/core/pricing/service.js +0 -157
- package/dist/src/core/pricing/translator.d.ts +0 -27
- package/dist/src/core/pricing/translator.js +0 -54
- package/dist/src/core/pricing/types.d.ts +0 -19
- package/dist/src/core/pricing/types.js +0 -31
- package/dist/src/core/pricing/validator.d.ts +0 -29
- package/dist/src/core/pricing/validator.js +0 -105
- package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +0 -67
- package/dist/src/desktop/components/BoxItem/BoxItem.js +0 -107
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +0 -9
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +0 -11
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +0 -9
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +0 -36
- package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +0 -2
- package/dist/src/desktop/components/BoxItem/LeftBox/index.js +0 -8
- package/dist/src/desktop/components/BoxItem/index.d.ts +0 -1
- package/dist/src/desktop/components/BoxItem/index.js +0 -8
- package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +0 -12
- package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +0 -134
- package/dist/src/desktop/components/Calendar/Calendar.d.ts +0 -4
- package/dist/src/desktop/components/Calendar/Calendar.js +0 -399
- package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +0 -51
- package/dist/src/desktop/components/Calendar/CalendarContext.js +0 -76
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +0 -7
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +0 -48
- package/dist/src/desktop/components/Calendar/DailyView.d.ts +0 -2
- package/dist/src/desktop/components/Calendar/DailyView.js +0 -91
- package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +0 -28
- package/dist/src/desktop/components/Calendar/MonthlyView.js +0 -419
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +0 -21
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +0 -186
- package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +0 -25
- package/dist/src/desktop/components/Calendar/ScheduleItem.js +0 -56
- package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +0 -12
- package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +0 -184
- package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +0 -6
- package/dist/src/desktop/components/Calendar/WeeklyView.js +0 -114
- package/dist/src/desktop/components/Calendar/YearlyView.d.ts +0 -13
- package/dist/src/desktop/components/Calendar/YearlyView.js +0 -76
- package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +0 -24
- package/dist/src/desktop/components/Calendar/calendarUtils.js +0 -87
- package/dist/src/desktop/components/Calendar/constants.d.ts +0 -1
- package/dist/src/desktop/components/Calendar/constants.js +0 -31
- package/dist/src/desktop/components/Calendar/index.d.ts +0 -14
- package/dist/src/desktop/components/Calendar/index.js +0 -42
- package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +0 -18
- package/dist/src/desktop/components/Calendar/timeFormatUtils.js +0 -59
- package/dist/src/desktop/components/Calendar/types.d.ts +0 -61
- package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +0 -43
- package/dist/src/desktop/components/PriceTextField/PriceTextField.js +0 -604
- package/dist/src/desktop/components/PriceTextField/index.d.ts +0 -1
- package/dist/src/desktop/components/PriceTextField/index.js +0 -8
- package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
- package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +0 -47
- package/dist/src/desktop/components/PriceTextLabel/index.d.ts +0 -1
- package/dist/src/desktop/components/PriceTextLabel/index.js +0 -8
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +0 -34
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +0 -247
- package/dist/src/desktop/components/RichTextEditor/index.d.ts +0 -2
- package/dist/src/desktop/components/RichTextEditor/index.js +0 -8
- package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +0 -17
- package/dist/src/desktop/components/Snackbar/Snackbar.js +0 -221
- package/dist/src/desktop/components/Snackbar/index.d.ts +0 -1
- package/dist/src/desktop/components/Snackbar/provider.d.ts +0 -11
- package/dist/src/desktop/components/Snackbar/provider.js +0 -43
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +0 -13
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +0 -213
- package/dist/src/desktop/panels/MultilingualModal/index.d.ts +0 -1
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +0 -67
- package/dist/src/mobile/components/BoxItem/BoxItem.js +0 -106
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +0 -9
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +0 -11
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +0 -9
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +0 -36
- package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +0 -2
- package/dist/src/mobile/components/BoxItem/LeftBox/index.js +0 -8
- package/dist/src/mobile/components/BoxItem/index.d.ts +0 -1
- package/dist/src/mobile/components/BoxItem/index.js +0 -8
- package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +0 -42
- package/dist/src/mobile/components/PriceTextField/PriceTextField.js +0 -591
- package/dist/src/mobile/components/PriceTextField/index.d.ts +0 -1
- package/dist/src/mobile/components/PriceTextField/index.js +0 -8
- package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
- package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +0 -47
- package/dist/src/mobile/components/PriceTextLabel/index.d.ts +0 -1
- package/dist/src/mobile/components/PriceTextLabel/index.js +0 -8
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.d.ts +0 -34
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +0 -253
- package/dist/src/mobile/components/RichTextEditor/index.d.ts +0 -2
- package/dist/src/mobile/components/RichTextEditor/index.js +0 -8
- package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +0 -17
- package/dist/src/mobile/components/Snackbar/Snackbar.js +0 -221
- package/dist/src/mobile/components/Snackbar/index.d.ts +0 -1
- package/dist/src/mobile/components/Snackbar/index.js +0 -8
- package/dist/src/mobile/components/Snackbar/provider.d.ts +0 -11
- package/dist/src/mobile/components/Snackbar/provider.js +0 -43
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
- package/dist/tinymce/CHANGELOG.md +0 -3453
- package/dist/tinymce/README.md +0 -73
- package/dist/tinymce/bower.json +0 -27
- package/dist/tinymce/composer.json +0 -52
- package/dist/tinymce/icons/default/icons.js +0 -194
- package/dist/tinymce/icons/default/icons.min.js +0 -1
- package/dist/tinymce/icons/default/index.js +0 -7
- package/dist/tinymce/license.txt +0 -21
- package/dist/tinymce/models/dom/index.js +0 -7
- package/dist/tinymce/models/dom/model.js +0 -8040
- package/dist/tinymce/models/dom/model.min.js +0 -1
- package/dist/tinymce/notices.txt +0 -21
- package/dist/tinymce/package.json +0 -32
- package/dist/tinymce/plugins/accordion/index.js +0 -7
- package/dist/tinymce/plugins/accordion/plugin.js +0 -1054
- package/dist/tinymce/plugins/accordion/plugin.min.js +0 -5
- package/dist/tinymce/plugins/advlist/index.js +0 -7
- package/dist/tinymce/plugins/advlist/plugin.js +0 -259
- package/dist/tinymce/plugins/advlist/plugin.min.js +0 -5
- package/dist/tinymce/plugins/anchor/index.js +0 -7
- package/dist/tinymce/plugins/anchor/plugin.js +0 -214
- package/dist/tinymce/plugins/anchor/plugin.min.js +0 -5
- package/dist/tinymce/plugins/autolink/index.js +0 -7
- package/dist/tinymce/plugins/autolink/plugin.js +0 -228
- package/dist/tinymce/plugins/autolink/plugin.min.js +0 -5
- package/dist/tinymce/plugins/autoresize/index.js +0 -7
- package/dist/tinymce/plugins/autoresize/plugin.js +0 -192
- package/dist/tinymce/plugins/autoresize/plugin.min.js +0 -5
- package/dist/tinymce/plugins/autosave/index.js +0 -7
- package/dist/tinymce/plugins/autosave/plugin.js +0 -233
- package/dist/tinymce/plugins/autosave/plugin.min.js +0 -5
- package/dist/tinymce/plugins/charmap/index.js +0 -7
- package/dist/tinymce/plugins/charmap/plugin.js +0 -1658
- package/dist/tinymce/plugins/charmap/plugin.min.js +0 -5
- package/dist/tinymce/plugins/code/index.js +0 -7
- package/dist/tinymce/plugins/code/plugin.js +0 -85
- package/dist/tinymce/plugins/code/plugin.min.js +0 -5
- package/dist/tinymce/plugins/codesample/index.js +0 -7
- package/dist/tinymce/plugins/codesample/plugin.js +0 -2471
- package/dist/tinymce/plugins/codesample/plugin.min.js +0 -13
- package/dist/tinymce/plugins/directionality/index.js +0 -7
- package/dist/tinymce/plugins/directionality/plugin.js +0 -395
- package/dist/tinymce/plugins/directionality/plugin.min.js +0 -5
- package/dist/tinymce/plugins/emoticons/index.js +0 -7
- package/dist/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
- package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -1
- package/dist/tinymce/plugins/emoticons/js/emojis.js +0 -1
- package/dist/tinymce/plugins/emoticons/js/emojis.min.js +0 -1
- package/dist/tinymce/plugins/emoticons/plugin.js +0 -595
- package/dist/tinymce/plugins/emoticons/plugin.min.js +0 -5
- package/dist/tinymce/plugins/fullscreen/index.js +0 -7
- package/dist/tinymce/plugins/fullscreen/plugin.js +0 -1249
- package/dist/tinymce/plugins/fullscreen/plugin.min.js +0 -5
- package/dist/tinymce/plugins/help/index.js +0 -7
- package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
- package/dist/tinymce/plugins/help/plugin.js +0 -898
- package/dist/tinymce/plugins/help/plugin.min.js +0 -5
- package/dist/tinymce/plugins/image/index.js +0 -7
- package/dist/tinymce/plugins/image/plugin.js +0 -1505
- package/dist/tinymce/plugins/image/plugin.min.js +0 -5
- package/dist/tinymce/plugins/importcss/index.js +0 -7
- package/dist/tinymce/plugins/importcss/plugin.js +0 -344
- package/dist/tinymce/plugins/importcss/plugin.min.js +0 -5
- package/dist/tinymce/plugins/insertdatetime/index.js +0 -7
- package/dist/tinymce/plugins/insertdatetime/plugin.js +0 -187
- package/dist/tinymce/plugins/insertdatetime/plugin.min.js +0 -5
- package/dist/tinymce/plugins/link/index.js +0 -7
- package/dist/tinymce/plugins/link/plugin.js +0 -1242
- package/dist/tinymce/plugins/link/plugin.min.js +0 -5
- package/dist/tinymce/plugins/lists/index.js +0 -7
- package/dist/tinymce/plugins/lists/plugin.js +0 -2172
- package/dist/tinymce/plugins/lists/plugin.min.js +0 -5
- package/dist/tinymce/plugins/media/index.js +0 -7
- package/dist/tinymce/plugins/media/plugin.js +0 -1217
- package/dist/tinymce/plugins/media/plugin.min.js +0 -5
- package/dist/tinymce/plugins/nonbreaking/index.js +0 -7
- package/dist/tinymce/plugins/nonbreaking/plugin.js +0 -123
- package/dist/tinymce/plugins/nonbreaking/plugin.min.js +0 -5
- package/dist/tinymce/plugins/pagebreak/index.js +0 -7
- package/dist/tinymce/plugins/pagebreak/plugin.js +0 -117
- package/dist/tinymce/plugins/pagebreak/plugin.min.js +0 -5
- package/dist/tinymce/plugins/preview/index.js +0 -7
- package/dist/tinymce/plugins/preview/plugin.js +0 -97
- package/dist/tinymce/plugins/preview/plugin.min.js +0 -5
- package/dist/tinymce/plugins/quickbars/index.js +0 -7
- package/dist/tinymce/plugins/quickbars/plugin.js +0 -447
- package/dist/tinymce/plugins/quickbars/plugin.min.js +0 -5
- package/dist/tinymce/plugins/save/index.js +0 -7
- package/dist/tinymce/plugins/save/plugin.js +0 -118
- package/dist/tinymce/plugins/save/plugin.min.js +0 -5
- package/dist/tinymce/plugins/searchreplace/index.js +0 -7
- package/dist/tinymce/plugins/searchreplace/plugin.js +0 -1093
- package/dist/tinymce/plugins/searchreplace/plugin.min.js +0 -5
- package/dist/tinymce/plugins/table/index.js +0 -7
- package/dist/tinymce/plugins/table/plugin.js +0 -3462
- package/dist/tinymce/plugins/table/plugin.min.js +0 -5
- package/dist/tinymce/plugins/template/index.js +0 -7
- package/dist/tinymce/plugins/template/plugin.js +0 -567
- package/dist/tinymce/plugins/template/plugin.min.js +0 -5
- package/dist/tinymce/plugins/visualblocks/index.js +0 -7
- package/dist/tinymce/plugins/visualblocks/plugin.js +0 -98
- package/dist/tinymce/plugins/visualblocks/plugin.min.js +0 -5
- package/dist/tinymce/plugins/visualchars/index.js +0 -7
- package/dist/tinymce/plugins/visualchars/plugin.js +0 -560
- package/dist/tinymce/plugins/visualchars/plugin.min.js +0 -5
- package/dist/tinymce/plugins/wordcount/index.js +0 -7
- package/dist/tinymce/plugins/wordcount/plugin.js +0 -405
- package/dist/tinymce/plugins/wordcount/plugin.min.js +0 -5
- package/dist/tinymce/skins/content/dark/content.css +0 -79
- package/dist/tinymce/skins/content/dark/content.js +0 -15
- package/dist/tinymce/skins/content/dark/content.min.css +0 -14
- package/dist/tinymce/skins/content/default/content.css +0 -74
- package/dist/tinymce/skins/content/default/content.js +0 -15
- package/dist/tinymce/skins/content/default/content.min.css +0 -14
- package/dist/tinymce/skins/content/document/content.css +0 -79
- package/dist/tinymce/skins/content/document/content.js +0 -15
- package/dist/tinymce/skins/content/document/content.min.css +0 -14
- package/dist/tinymce/skins/content/tinymce-5/content.css +0 -74
- package/dist/tinymce/skins/content/tinymce-5/content.js +0 -15
- package/dist/tinymce/skins/content/tinymce-5/content.min.css +0 -14
- package/dist/tinymce/skins/content/tinymce-5-dark/content.css +0 -79
- package/dist/tinymce/skins/content/tinymce-5-dark/content.js +0 -15
- package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -14
- package/dist/tinymce/skins/content/writer/content.css +0 -75
- package/dist/tinymce/skins/content/writer/content.js +0 -15
- package/dist/tinymce/skins/content/writer/content.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide/content.css +0 -798
- package/dist/tinymce/skins/ui/oxide/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/oxide/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/oxide/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide/content.js +0 -15
- package/dist/tinymce/skins/ui/oxide/content.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide/skin.css +0 -3763
- package/dist/tinymce/skins/ui/oxide/skin.js +0 -2
- package/dist/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/skins/ui/oxide-dark/content.css +0 -779
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide-dark/content.js +0 -15
- package/dist/tinymce/skins/ui/oxide-dark/content.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
- package/dist/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5/content.css +0 -798
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5/content.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5/content.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5/skin.css +0 -3857
- package/dist/tinymce/skins/ui/tinymce-5/skin.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +0 -779
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3857
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/themes/silver/index.js +0 -7
- package/dist/tinymce/themes/silver/theme.js +0 -30775
- package/dist/tinymce/themes/silver/theme.min.js +0 -1
- package/dist/tinymce/tinymce.d.ts +0 -3238
- package/dist/tinymce/tinymce.js +0 -31779
- package/dist/tinymce/tinymce.min.js +0 -11
- package/scripts/copy-tinymce.js +0 -37
- /package/dist/src/{common/types/multilingual.js → sub/DynamicLayout/compositionActionTypes.js} +0 -0
- /package/dist/src/{desktop/components/Calendar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel}/types.js +0 -0
@@ -0,0 +1,211 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TEXT_SPEC_FORMAT_OPRIONS = void 0;
|
4
|
+
exports.TEXT_SPEC_FORMAT_OPRIONS = {
|
5
|
+
TYPE1: {
|
6
|
+
name: 'Thousands comma, No decimal',
|
7
|
+
description: '천단위 콤마, 소숫점 없음 (반올림)',
|
8
|
+
formatter: function (value) {
|
9
|
+
var num = Number(value);
|
10
|
+
if (isNaN(num))
|
11
|
+
return value; // Return original if not a number
|
12
|
+
return new Intl.NumberFormat('en-US', {
|
13
|
+
maximumFractionDigits: 0
|
14
|
+
}).format(num);
|
15
|
+
}
|
16
|
+
},
|
17
|
+
TYPE2: {
|
18
|
+
name: 'Thousands comma, 1 decimal place',
|
19
|
+
description: '천단위 콤마, 소숫점 1자리 (반올림)',
|
20
|
+
formatter: function (value) {
|
21
|
+
var num = Number(value);
|
22
|
+
if (isNaN(num))
|
23
|
+
return value; // Return original if not a number
|
24
|
+
return new Intl.NumberFormat('en-US', {
|
25
|
+
minimumFractionDigits: 1,
|
26
|
+
maximumFractionDigits: 1
|
27
|
+
}).format(num);
|
28
|
+
}
|
29
|
+
},
|
30
|
+
TYPE3: {
|
31
|
+
name: 'Thousands comma, 2 decimal places',
|
32
|
+
description: '천단위 콤마, 소숫점 2자리 (반올림)',
|
33
|
+
formatter: function (value) {
|
34
|
+
var num = Number(value);
|
35
|
+
if (isNaN(num))
|
36
|
+
return value; // Return original if not a number
|
37
|
+
return new Intl.NumberFormat('en-US', {
|
38
|
+
minimumFractionDigits: 2,
|
39
|
+
maximumFractionDigits: 2
|
40
|
+
}).format(num);
|
41
|
+
}
|
42
|
+
},
|
43
|
+
TYPE4: {
|
44
|
+
name: 'Date (YYYY/MM/DD)',
|
45
|
+
description: '날짜 (YYYY/MM/dd)',
|
46
|
+
formatter: function (value) {
|
47
|
+
var d = new Date(value);
|
48
|
+
if (isNaN(d.getTime()))
|
49
|
+
return value; // Return original if invalid date
|
50
|
+
var yyyy = d.getFullYear();
|
51
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
52
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
53
|
+
return "".concat(yyyy, "/").concat(mm, "/").concat(dd);
|
54
|
+
}
|
55
|
+
},
|
56
|
+
TYPE5: {
|
57
|
+
name: 'Date (YYYY-MM-DD)',
|
58
|
+
description: '날짜 (YYYY-MM-dd)',
|
59
|
+
formatter: function (value) {
|
60
|
+
var d = new Date(value);
|
61
|
+
if (isNaN(d.getTime()))
|
62
|
+
return value;
|
63
|
+
var yyyy = d.getFullYear();
|
64
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
65
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
66
|
+
return "".concat(yyyy, "-").concat(mm, "-").concat(dd);
|
67
|
+
}
|
68
|
+
},
|
69
|
+
TYPE6: {
|
70
|
+
name: 'Date (YYYY. MM. DD)',
|
71
|
+
description: '날짜 (YYYY. MM. dd)',
|
72
|
+
formatter: function (value) {
|
73
|
+
var d = new Date(value);
|
74
|
+
if (isNaN(d.getTime()))
|
75
|
+
return value;
|
76
|
+
var yyyy = d.getFullYear();
|
77
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
78
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
79
|
+
return "".concat(yyyy, ". ").concat(mm, ". ").concat(dd);
|
80
|
+
}
|
81
|
+
},
|
82
|
+
TYPE7: {
|
83
|
+
name: 'Date (YY/MM/DD)',
|
84
|
+
description: '날짜 (YY/MM/dd)',
|
85
|
+
formatter: function (value) {
|
86
|
+
var d = new Date(value);
|
87
|
+
if (isNaN(d.getTime()))
|
88
|
+
return value;
|
89
|
+
var yy = String(d.getFullYear()).slice(-2);
|
90
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
91
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
92
|
+
return "".concat(yy, "/").concat(mm, "/").concat(dd);
|
93
|
+
}
|
94
|
+
},
|
95
|
+
TYPE8: {
|
96
|
+
name: 'Date (MM/DD/YY)',
|
97
|
+
description: '날짜 (MM/dd/YY)',
|
98
|
+
formatter: function (value) {
|
99
|
+
var d = new Date(value);
|
100
|
+
if (isNaN(d.getTime()))
|
101
|
+
return value;
|
102
|
+
var yy = String(d.getFullYear()).slice(-2);
|
103
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
104
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
105
|
+
return "".concat(mm, "/").concat(dd, "/").concat(yy);
|
106
|
+
}
|
107
|
+
},
|
108
|
+
TYPE9: {
|
109
|
+
name: 'Date (DD/MM/YY)',
|
110
|
+
description: '날짜 (dd/MM/YY)',
|
111
|
+
formatter: function (value) {
|
112
|
+
var d = new Date(value);
|
113
|
+
if (isNaN(d.getTime()))
|
114
|
+
return value;
|
115
|
+
var yy = String(d.getFullYear()).slice(-2);
|
116
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
117
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
118
|
+
return "".concat(dd, "/").concat(mm, "/").concat(yy);
|
119
|
+
}
|
120
|
+
},
|
121
|
+
TYPE10: {
|
122
|
+
name: 'Date (YYYY-MM-DD Korean)',
|
123
|
+
description: '날짜 (YYYY년 MM월 dd일)',
|
124
|
+
formatter: function (value) {
|
125
|
+
var d = new Date(value);
|
126
|
+
if (isNaN(d.getTime()))
|
127
|
+
return value;
|
128
|
+
var yyyy = d.getFullYear();
|
129
|
+
var mm = d.getMonth() + 1;
|
130
|
+
var dd = d.getDate();
|
131
|
+
return "".concat(yyyy, "\uB144 ").concat(mm, "\uC6D4 ").concat(dd, "\uC77C");
|
132
|
+
}
|
133
|
+
},
|
134
|
+
TYPE11: {
|
135
|
+
name: 'Date (DD MMM)',
|
136
|
+
description: '날짜 (dd MMM)',
|
137
|
+
formatter: function (value) {
|
138
|
+
var d = new Date(value);
|
139
|
+
if (isNaN(d.getTime()))
|
140
|
+
return value;
|
141
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
142
|
+
var mmm = d.toLocaleString('en-US', { month: 'short' });
|
143
|
+
return "".concat(dd, " ").concat(mmm);
|
144
|
+
}
|
145
|
+
},
|
146
|
+
TYPE12: {
|
147
|
+
name: 'Date (MM. DD)',
|
148
|
+
description: '날짜 (MM. dd)',
|
149
|
+
formatter: function (value) {
|
150
|
+
var d = new Date(value);
|
151
|
+
if (isNaN(d.getTime()))
|
152
|
+
return value;
|
153
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
154
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
155
|
+
return "".concat(mm, ". ").concat(dd);
|
156
|
+
}
|
157
|
+
},
|
158
|
+
TYPE13: {
|
159
|
+
name: 'Datetime (YYYY.MM.DD HH:mm:ss)',
|
160
|
+
description: '날짜 (YYYY.MM.dd hh:mm:ss)',
|
161
|
+
formatter: function (value) {
|
162
|
+
// FIX: Return original value if time info is missing.
|
163
|
+
if (!value.includes('T') && !value.includes(':')) {
|
164
|
+
return value;
|
165
|
+
}
|
166
|
+
var d = new Date(value);
|
167
|
+
if (isNaN(d.getTime()))
|
168
|
+
return value;
|
169
|
+
var yyyy = d.getFullYear();
|
170
|
+
var mm = String(d.getMonth() + 1).padStart(2, '0');
|
171
|
+
var dd = String(d.getDate()).padStart(2, '0');
|
172
|
+
var hh = String(d.getHours()).padStart(2, '0');
|
173
|
+
var min = String(d.getMinutes()).padStart(2, '0');
|
174
|
+
var ss = String(d.getSeconds()).padStart(2, '0');
|
175
|
+
return "".concat(yyyy, ".").concat(mm, ".").concat(dd, " ").concat(hh, ":").concat(min, ":").concat(ss);
|
176
|
+
}
|
177
|
+
},
|
178
|
+
TYPE14: {
|
179
|
+
name: 'Time (HH:mm:ss)',
|
180
|
+
description: '시간 (hh:mm:ss)',
|
181
|
+
formatter: function (value) {
|
182
|
+
// FIX: Return original value if time info is missing.
|
183
|
+
if (!value.includes('T') && !value.includes(':')) {
|
184
|
+
return value;
|
185
|
+
}
|
186
|
+
var d = new Date(value);
|
187
|
+
if (isNaN(d.getTime()))
|
188
|
+
return value;
|
189
|
+
var hh = String(d.getHours()).padStart(2, '0');
|
190
|
+
var min = String(d.getMinutes()).padStart(2, '0');
|
191
|
+
var ss = String(d.getSeconds()).padStart(2, '0');
|
192
|
+
return "".concat(hh, ":").concat(min, ":").concat(ss);
|
193
|
+
}
|
194
|
+
},
|
195
|
+
TYPE15: {
|
196
|
+
name: 'Time (HH:mm)',
|
197
|
+
description: '시간 (hh:mm)',
|
198
|
+
formatter: function (value) {
|
199
|
+
// FIX: Return original value if time info is missing.
|
200
|
+
if (!value.includes('T') && !value.includes(':')) {
|
201
|
+
return value;
|
202
|
+
}
|
203
|
+
var d = new Date(value);
|
204
|
+
if (isNaN(d.getTime()))
|
205
|
+
return value;
|
206
|
+
var hh = String(d.getHours()).padStart(2, '0');
|
207
|
+
var min = String(d.getMinutes()).padStart(2, '0');
|
208
|
+
return "".concat(hh, ":").concat(min);
|
209
|
+
}
|
210
|
+
}
|
211
|
+
};
|
@@ -53,7 +53,7 @@ function VideoPlayer(props) {
|
|
53
53
|
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
54
54
|
var hasEffect = !isNoneEffectType;
|
55
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
|
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;
|
57
57
|
var shouldAutoplay = (CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY && device === 'DESKTOP') ||
|
58
58
|
(CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY && device === 'MOBILE');
|
59
59
|
var videoRef = (0, react_1.useRef)(null);
|
@@ -115,31 +115,6 @@ function VideoPlayer(props) {
|
|
115
115
|
(0, react_1.useEffect)(function () {
|
116
116
|
setVideoURL((0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).encodedURL);
|
117
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
118
|
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
119
|
position: 'absolute',
|
145
120
|
top: '50%',
|
@@ -150,7 +125,7 @@ function VideoPlayer(props) {
|
|
150
125
|
alignItems: 'center',
|
151
126
|
justifyContent: 'center',
|
152
127
|
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,
|
128
|
+
} }, { 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, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, onLoadedMetadata: onLoadedMetadata, onPlay: onPlay, onError: onVideoError, "data-src": CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR }, { 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
129
|
}
|
155
130
|
function getBGColorStyles(props, device) {
|
156
131
|
var availableSpecCodes = [
|
@@ -165,7 +140,7 @@ function getBGColorStyles(props, device) {
|
|
165
140
|
];
|
166
141
|
return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
|
167
142
|
}
|
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:
|
143
|
+
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: cover;\n pointer-events: ", ";\n width: 100%;\n"], ["\n aspect-ratio: 16 / 9;\n height: 100%;\n max-height: 100%;\n object-fit: cover;\n pointer-events: ", ";\n width: 100%;\n"])), function (_a) {
|
169
144
|
var isEditMode = _a.isEditMode;
|
170
145
|
return (isEditMode ? 'none' : 'auto');
|
171
146
|
});
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.parseTargetUrl = void 0;
|
4
4
|
function parseTargetUrl(url) {
|
5
5
|
var _a = url.split('?'), encodedURL = _a[0], query = _a[1];
|
6
6
|
if (!query) {
|
7
7
|
return {
|
8
|
-
encodedURL:
|
8
|
+
encodedURL: encodedURL,
|
9
9
|
fallbackURL: null
|
10
10
|
};
|
11
11
|
}
|
@@ -13,23 +13,13 @@ function parseTargetUrl(url) {
|
|
13
13
|
var fallbackUrl = params.get('fallbackUrl');
|
14
14
|
if (!fallbackUrl) {
|
15
15
|
return {
|
16
|
-
encodedURL:
|
16
|
+
encodedURL: encodedURL,
|
17
17
|
fallbackURL: null
|
18
18
|
};
|
19
19
|
}
|
20
20
|
return {
|
21
|
-
encodedURL:
|
22
|
-
fallbackURL:
|
21
|
+
encodedURL: encodedURL,
|
22
|
+
fallbackURL: "http://".concat(fallbackUrl)
|
23
23
|
};
|
24
24
|
}
|
25
25
|
exports.parseTargetUrl = parseTargetUrl;
|
26
|
-
function convertToCdnUrl(url) {
|
27
|
-
if (!url) {
|
28
|
-
return url;
|
29
|
-
}
|
30
|
-
return url
|
31
|
-
.replace(/^https?:\/\/publ-upload-local\.s3\.ap-northeast-2\.amazonaws\.com\//, 'https://cdn.local.publishingkit.net/')
|
32
|
-
.replace(/^https?:\/\/publ-upload-dev\.s3\.ap-northeast-2\.amazonaws\.com\//, 'https://cdn.dev.publishingkit.net/')
|
33
|
-
.replace(/^https?:\/\/publ-upload-prod\.s3\.ap-northeast-2\.amazonaws\.com\//, 'https://cdn.publishingkit.net/');
|
34
|
-
}
|
35
|
-
exports.convertToCdnUrl = convertToCdnUrl;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN } from '../../../util/types';
|
2
|
+
import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN, CCB_VALUE_TYPE, CB_VALUE_TYPE } from '../../../util/types';
|
3
3
|
export type StylesProps = {
|
4
4
|
normalStyle: React.CSSProperties;
|
5
5
|
hoverStyle: React.CSSProperties;
|
@@ -7,15 +7,23 @@ export type StylesProps = {
|
|
7
7
|
export type CB_CONTENT_PROP_TEXT = {
|
8
8
|
CB_CONTENT_PROP_TEXT_SPEC_TEXT: STRING_PLAIN;
|
9
9
|
CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE: STRING_PLAIN;
|
10
|
+
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
|
11
|
+
CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA: STRING_PLAIN;
|
12
|
+
CB_CONTENT_PROP_TEXT_SPEC_PREFIX: STRING_PLAIN;
|
13
|
+
CB_CONTENT_PROP_TEXT_SPEC_SUFFIX: STRING_PLAIN;
|
10
14
|
};
|
11
15
|
export type CB_CONTENT_PROP_CLINK = {
|
12
16
|
CB_CONTENT_PROP_CLINK_SPEC_TYPE: 'INTERNAL' | 'EXTERNAL' | 'DISABLED';
|
13
17
|
CB_CONTENT_PROP_CLINK_SPEC_SRC: STRING_PLAIN;
|
14
18
|
CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC: STRING_PLAIN;
|
15
19
|
CB_CONTENT_PROP_CLINK_SPEC_NEWTAB: boolean;
|
20
|
+
CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
|
21
|
+
CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA: STRING_PLAIN;
|
16
22
|
};
|
17
23
|
export type CB_CONTENT_PROP_IMAGE = {
|
18
24
|
CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR: STRING_PLAIN;
|
25
|
+
CB_CONTENT_PROP_IMAGE_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
|
26
|
+
CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA: STRING_PLAIN;
|
19
27
|
};
|
20
28
|
export type CB_CONTENT_PROP_TWITTER = {
|
21
29
|
CB_CONTENT_PROP_TWITTER_SPEC_SRC: STRING_PLAIN;
|
@@ -23,6 +31,44 @@ export type CB_CONTENT_PROP_TWITTER = {
|
|
23
31
|
export type CB_CONTENT_PROP_CODEBLOCK = {
|
24
32
|
CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE: STRING_PLAIN;
|
25
33
|
};
|
34
|
+
export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
|
35
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
36
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA: STRING_PLAIN;
|
37
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DATASORTING: STRING_PLAIN;
|
38
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_OFFSET: NUMBER_INTEGER;
|
39
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MANUALITEMS: MockComposition[];
|
40
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
41
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
42
|
+
};
|
43
|
+
export type CB_CONTENT_PROP_SLIDEBANNER = {
|
44
|
+
CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
45
|
+
CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA: STRING_PLAIN;
|
46
|
+
CB_CONTENT_PROP_SLIDEBANNER_SPEC_DATASORTING: STRING_PLAIN;
|
47
|
+
CB_CONTENT_PROP_SLIDEBANNER_SPEC_OFFSET: NUMBER_INTEGER;
|
48
|
+
CB_CONTENT_PROP_SLIDEBANNER_SPEC_MENUALITEMS: MockComposition[];
|
49
|
+
CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
50
|
+
};
|
51
|
+
export type CB_CONTENT_PROP_CONTENTSLIST = {
|
52
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
53
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA: STRING_PLAIN;
|
54
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATASORTING: STRING_PLAIN;
|
55
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATAFILTER: STRING_PLAIN;
|
56
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_OFFSET: NUMBER_INTEGER;
|
57
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS: MockComposition[];
|
58
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
59
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
60
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS: NUMBER_INTEGER;
|
61
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_EDITCOMMONITEM: null | STRING_PLAIN;
|
62
|
+
};
|
63
|
+
export type MockComposition = {
|
64
|
+
title: string;
|
65
|
+
width: number;
|
66
|
+
minWidth: number;
|
67
|
+
maxWidth: number;
|
68
|
+
height: number;
|
69
|
+
minHeight: number;
|
70
|
+
maxHeight: number;
|
71
|
+
};
|
26
72
|
export type CBTextPropsKeys = keyof CB_STYLE_PROP_TEXT_SPECS;
|
27
73
|
export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
|
28
74
|
CB_STYLE_PROP_TEXT_SPEC_TYPEFACE: ENUM_STRING;
|
@@ -33,6 +79,8 @@ export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
|
|
33
79
|
CB_STYLE_PROP_TEXT_SPEC_COLOR: STRING_8DIGIT_HEX;
|
34
80
|
CB_STYLE_PROP_TEXT_SPEC_HORIZONTAL: ENUM_STRING;
|
35
81
|
CB_STYLE_PROP_TEXT_SPEC_VERTICAL: ENUM_STRING;
|
82
|
+
CB_STYLE_PROP_TEXT_SPEC_FORMAT: ENUM_STRING;
|
83
|
+
CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS: NUMBER_INTEGER;
|
36
84
|
};
|
37
85
|
export type CB_STYLE_PROP_TEXT_SPECS = CB_STYLE_PROP_TEXT_SPECS_BASE & {
|
38
86
|
'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:HOVER': ENUM_STRING | null | undefined;
|
@@ -59,6 +107,12 @@ export type CB_STYLE_PROP_TEXT_SPECS = CB_STYLE_PROP_TEXT_SPECS_BASE & {
|
|
59
107
|
'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:HOVER': ENUM_STRING | null | undefined;
|
60
108
|
'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE': ENUM_STRING | null | undefined;
|
61
109
|
'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE:HOVER': ENUM_STRING | null | undefined;
|
110
|
+
'CB_STYLE_PROP_TEXT_SPEC_FORMAT:HOVER': ENUM_STRING | null | undefined;
|
111
|
+
'CB_STYLE_PROP_TEXT_SPEC_FORMAT:MOBILE': ENUM_STRING | null | undefined;
|
112
|
+
'CB_STYLE_PROP_TEXT_SPEC_FORMAT:MOBILE:HOVER': ENUM_STRING | null | undefined;
|
113
|
+
'CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS:HOVER': NUMBER_INTEGER | null | undefined;
|
114
|
+
'CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS:MOBILE': NUMBER_INTEGER | null | undefined;
|
115
|
+
'CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS:MOBILE:HOVER': NUMBER_INTEGER | null | undefined;
|
62
116
|
};
|
63
117
|
export type CBColorPropsKeys = keyof CB_STYLE_PROP_COLOR_SPECS;
|
64
118
|
export type CBColorValueSetType = Partial<Record<keyof CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_COLOR_ENUM_GRADIENT | NUMBER_INTEGER | ENUM_STRING | undefined>>;
|
@@ -108,6 +162,4 @@ export type CB_CONTENT_PROP_VIDEO = {
|
|
108
162
|
CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
|
109
163
|
CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
|
110
164
|
CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
|
111
|
-
CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME: number;
|
112
|
-
CB_CONTENT_PROP_VIDEO_SPEC_REPLAY: boolean;
|
113
165
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ComponentBlock } from '../types';
|
2
|
-
import type { Layout, LayoutItem } from 'publ-echo/dist/lib';
|
2
|
+
import type { Layout, LayoutItem } from 'publ-echo-test/dist/lib';
|
3
3
|
export interface LayoutItemWithGroupType extends LayoutItem {
|
4
4
|
childrenIds: string[];
|
5
5
|
keepInLastIndex?: boolean;
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE } from './util/types';
|
1
|
+
import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE } from './util/types';
|
2
2
|
import type { IComposition } from '../../../DynamicLayout/types';
|
3
3
|
export type CB_TYPES = 'GENERAL';
|
4
|
-
export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP |
|
4
|
+
export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER | CB_VIDEOPLAYER;
|
5
5
|
type GeneralCustomSectionType = {
|
6
6
|
id: number;
|
7
7
|
type: 'GENERAL';
|
8
|
+
blockId?: string;
|
8
9
|
availablePlugins: Array<string>;
|
9
10
|
queryableTapSrc: string;
|
10
11
|
queryableDefinitionPreset: string;
|
@@ -18,7 +19,7 @@ export type GroupCustomSectionType = {
|
|
18
19
|
queryableDefinitionPreset: string;
|
19
20
|
dynamicLayoutSectionId: number;
|
20
21
|
};
|
21
|
-
export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE;
|
22
|
+
export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE;
|
22
23
|
export type CB_TEXT_TYPE = GeneralCustomSectionType & {
|
23
24
|
componentBlockCode: CB_ALL_CODES.CB_TEXT;
|
24
25
|
jsonProperties: {
|
@@ -55,6 +56,12 @@ export type CB_YOUTUBE = GeneralCustomSectionType & {
|
|
55
56
|
data: CB_YOUTUBE_PROPERTIES_TYPE;
|
56
57
|
};
|
57
58
|
};
|
59
|
+
export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
|
60
|
+
componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
|
61
|
+
jsonProperties: {
|
62
|
+
data: CB_YOUTUBE_PROPERTIES_TYPE;
|
63
|
+
};
|
64
|
+
};
|
58
65
|
export type CB_TWITTER = GeneralCustomSectionType & {
|
59
66
|
componentBlockCode: CB_ALL_CODES.CB_TWITTER;
|
60
67
|
jsonProperties: {
|
@@ -73,18 +80,26 @@ export type CB_GROUP = GeneralCustomSectionType & {
|
|
73
80
|
data: CB_BTN_PROPERTIES_TYPE;
|
74
81
|
};
|
75
82
|
};
|
76
|
-
export type
|
77
|
-
componentBlockCode: CB_ALL_CODES.
|
83
|
+
export type CB_CONTENTSCAROUSEL = GeneralCustomSectionType & {
|
84
|
+
componentBlockCode: CB_ALL_CODES.CB_CONTENTSCAROUSEL;
|
78
85
|
jsonProperties: {
|
79
|
-
data:
|
86
|
+
data: CB_CONTENTSCAROUSEL_PROPERTIES_TYPE;
|
80
87
|
};
|
81
88
|
compositions: Array<IComposition>;
|
82
89
|
};
|
83
|
-
export type
|
84
|
-
componentBlockCode: CB_ALL_CODES.
|
90
|
+
export type CB_SLIDEBANNER = GeneralCustomSectionType & {
|
91
|
+
componentBlockCode: CB_ALL_CODES.CB_SLIDEBANNER;
|
85
92
|
jsonProperties: {
|
86
|
-
data:
|
93
|
+
data: CB_SLIDEBANNER_PROPERTIES_TYPE;
|
87
94
|
};
|
95
|
+
compositions: Array<IComposition>;
|
96
|
+
};
|
97
|
+
export type CB_LIST = GeneralCustomSectionType & {
|
98
|
+
componentBlockCode: CB_ALL_CODES.CB_LIST;
|
99
|
+
jsonProperties: {
|
100
|
+
data: CB_LIST_PROPERTIES_TYPE;
|
101
|
+
};
|
102
|
+
compositions: Array<IComposition>;
|
88
103
|
};
|
89
104
|
export declare enum CB_ALL_CODES {
|
90
105
|
CB_TEXT = "CB_TEXT",
|
@@ -96,7 +111,9 @@ export declare enum CB_ALL_CODES {
|
|
96
111
|
CB_TWITTER = "CB_TWITTER",
|
97
112
|
CB_EMBED = "CB_EMBED",
|
98
113
|
CB_GROUP = "CB_GROUP",
|
99
|
-
|
114
|
+
CB_LIST = "CB_LIST",
|
115
|
+
CB_CONTENTSCAROUSEL = "CB_CONTENTSCAROUSEL",
|
116
|
+
CB_SLIDEBANNER = "CB_SLIDEBANNER",
|
100
117
|
CB_VIDEOPLAYER = "CB_VIDEOPLAYER"
|
101
118
|
}
|
102
119
|
export {};
|
@@ -12,6 +12,8 @@ var CB_ALL_CODES;
|
|
12
12
|
CB_ALL_CODES["CB_TWITTER"] = "CB_TWITTER";
|
13
13
|
CB_ALL_CODES["CB_EMBED"] = "CB_EMBED";
|
14
14
|
CB_ALL_CODES["CB_GROUP"] = "CB_GROUP";
|
15
|
-
CB_ALL_CODES["
|
15
|
+
CB_ALL_CODES["CB_LIST"] = "CB_LIST";
|
16
|
+
CB_ALL_CODES["CB_CONTENTSCAROUSEL"] = "CB_CONTENTSCAROUSEL";
|
17
|
+
CB_ALL_CODES["CB_SLIDEBANNER"] = "CB_SLIDEBANNER";
|
16
18
|
CB_ALL_CODES["CB_VIDEOPLAYER"] = "CB_VIDEOPLAYER";
|
17
19
|
})(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
|
@@ -12,8 +12,8 @@ export type CB_EFFECT_PROP_ENTANIM_BASE = {
|
|
12
12
|
CB_EFFECT_PROP_ENTANIM_SPEC_TYPE: string;
|
13
13
|
};
|
14
14
|
export type CB_EFFECT_PROP_ENTANIM_SPECS = CB_EFFECT_PROP_ENTANIM_BASE & Partial<{
|
15
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined;
|
16
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined;
|
17
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined;
|
18
|
-
'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined;
|
15
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined | null;
|
16
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined | null;
|
17
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined | null;
|
18
|
+
'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined | null;
|
19
19
|
}>;
|
@@ -16,8 +16,8 @@ export type CB_STYLE_PROP_PADDING_BASE = {
|
|
16
16
|
};
|
17
17
|
export type CB_LAYOUT_PROP_PADDING_SPECS = CB_STYLE_PROP_PADDING_BASE & {
|
18
18
|
CB_LAYOUT_PROP_PADDING_SPEC_PADDING: CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ;
|
19
|
-
'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined;
|
19
|
+
'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined | null;
|
20
20
|
CB_LAYOUT_PROP_PADDING_SPEC_FIX: boolean;
|
21
|
-
'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined;
|
21
|
+
'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined | null;
|
22
22
|
};
|
23
23
|
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { ICompositionJsonProperties } from '../../../../DynamicLayout/types';
|
2
|
+
type Props = {
|
3
|
+
isMobile: boolean;
|
4
|
+
compositionProps: ICompositionJsonProperties['data']['CB_PLACEMENT_PROP_COMPOSITION'];
|
5
|
+
};
|
6
|
+
declare function parseCompositionPlacement({ isMobile, compositionProps }: Props): {
|
7
|
+
minHeight: number | null;
|
8
|
+
maxHeight: number | null;
|
9
|
+
minWidth: number | null;
|
10
|
+
maxWidth: number | null;
|
11
|
+
rows: number;
|
12
|
+
columns: number;
|
13
|
+
};
|
14
|
+
export default parseCompositionPlacement;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
function parseCompositionPlacement(_a) {
|
4
|
+
var _b, _c, _d, _e, _f, _g;
|
5
|
+
var isMobile = _a.isMobile, compositionProps = _a.compositionProps;
|
6
|
+
var CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH, CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS, CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS;
|
7
|
+
if (isMobile) {
|
8
|
+
return {
|
9
|
+
minHeight: (_b = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT:MOBILE']) !== null && _b !== void 0 ? _b : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT,
|
10
|
+
maxHeight: (_c = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT:MOBILE']) !== null && _c !== void 0 ? _c : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT,
|
11
|
+
minWidth: (_d = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH:MOBILE']) !== null && _d !== void 0 ? _d : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH,
|
12
|
+
maxWidth: (_e = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH:MOBILE']) !== null && _e !== void 0 ? _e : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH,
|
13
|
+
rows: (_f = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS:MOBILE']) !== null && _f !== void 0 ? _f : CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS,
|
14
|
+
columns: (_g = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS:MOBILE']) !== null && _g !== void 0 ? _g : CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS
|
15
|
+
};
|
16
|
+
}
|
17
|
+
return {
|
18
|
+
minHeight: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT,
|
19
|
+
maxHeight: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT,
|
20
|
+
minWidth: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH,
|
21
|
+
maxWidth: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH,
|
22
|
+
rows: CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS,
|
23
|
+
columns: CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS
|
24
|
+
};
|
25
|
+
}
|
26
|
+
exports.default = parseCompositionPlacement;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { Device, JsonPropertiesParserResult } from './types';
|
2
|
-
import type { ISectionJsonProperties } from '../../../../DynamicLayout/types';
|
3
|
-
export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
|
2
|
+
import type { ICompositionJsonProperties, ISectionJsonProperties } from '../../../../DynamicLayout/types';
|
3
|
+
export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | ICompositionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { ComponentBlock } from '../types';
|
2
|
-
import type {
|
3
|
-
|
2
|
+
import type { PlaceRestrictionType } from '../../../../DynamicLayout/types';
|
3
|
+
import type { ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
|
4
|
+
export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder, placementRestriction?: PlaceRestrictionType): {
|
4
5
|
sm: {
|
5
6
|
i: string;
|
6
7
|
x: number;
|
@@ -9,6 +10,8 @@ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZO
|
|
9
10
|
h: number;
|
10
11
|
z: number;
|
11
12
|
autoResize: boolean;
|
13
|
+
minH: number;
|
14
|
+
minW: number;
|
12
15
|
}[];
|
13
16
|
lg: {
|
14
17
|
i: string;
|
@@ -18,6 +21,8 @@ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZO
|
|
18
21
|
h: number;
|
19
22
|
z: number;
|
20
23
|
autoResize: boolean;
|
24
|
+
minH: number;
|
25
|
+
minW: number;
|
21
26
|
}[];
|
22
27
|
};
|
23
28
|
export default parsePlacement;
|