pds-dev-kit-web-test 2.7.92 → 2.7.94
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 +3 -16
- package/dist/src/common/assets/icons/fill/index.d.ts +0 -2
- package/dist/src/common/assets/icons/fill/index.js +1 -5
- package/dist/src/common/assets/icons/line/index.d.ts +0 -3
- package/dist/src/common/assets/icons/line/index.js +1 -7
- package/dist/src/common/hooks/useTooltip.js +1 -1
- package/dist/src/common/index.d.ts +1 -1
- package/dist/src/common/services/i18n/i18n.d.ts +2 -2
- package/dist/src/common/services/i18n/i18n.js +7 -10
- package/dist/src/common/services/i18n/resources/en.json +2 -71
- package/dist/src/common/services/i18n/resources/es.json +1 -70
- package/dist/src/common/services/i18n/resources/fil.json +2 -64
- package/dist/src/common/services/i18n/resources/index.d.ts +0 -476
- package/dist/src/common/services/i18n/resources/ja.json +1 -70
- package/dist/src/common/services/i18n/resources/ko.json +1 -70
- package/dist/src/common/services/i18n/resources/zh-cn.json +2 -71
- package/dist/src/common/services/i18n/resources/zh-tw.json +1 -70
- 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 -6
- package/dist/src/common/styles/colorSet/index.d.ts +124 -135
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -5
- package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +0 -2
- package/dist/src/common/styles/scroll/scrollbarStyle.js +3 -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.d.ts +1 -11
- package/dist/src/desktop/components/AdminList/AdminList.js +19 -47
- package/dist/src/desktop/components/AdminList/BulkActionBar.js +2 -2
- package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +1 -10
- package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +1 -3
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +2 -3
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -2
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +4 -4
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -2
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +3 -10
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +2 -5
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +6 -17
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +1 -4
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +2 -22
- 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/ContextMenu/ContextMenu.d.ts +1 -3
- package/dist/src/desktop/components/ContextMenu/ContextMenu.js +7 -38
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +1 -1
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +8 -21
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -3
- package/dist/src/desktop/components/Dropdown/Dropdown.js +6 -6
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +1 -3
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +10 -19
- 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 -4
- package/dist/src/desktop/components/TextField/TextField.js +14 -24
- 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 -8
- package/dist/src/desktop/components/index.js +1 -16
- package/dist/src/desktop/index.d.ts +2 -2
- package/dist/src/desktop/index.js +2 -10
- 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/ContentSheet/ContentSheet.d.ts +1 -4
- package/dist/src/desktop/panels/ContentSheet/ContentSheet.js +3 -11
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +1 -2
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +15 -13
- package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +1 -3
- package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +10 -16
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +3 -19
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +31 -42
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +1 -3
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +5 -11
- package/dist/src/desktop/panels/SectionSheet/SectionSheet.d.ts +1 -4
- package/dist/src/desktop/panels/SectionSheet/SectionSheet.js +3 -11
- 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/ContextMenu/ContextMenu.d.ts +1 -3
- package/dist/src/mobile/components/ContextMenu/ContextMenu.js +7 -38
- package/dist/src/mobile/components/DatePicker/DatePicker.js +2 -2
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -3
- package/dist/src/mobile/components/Dropdown/Dropdown.js +6 -6
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +1 -3
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +13 -36
- 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 +8 -9
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
- package/dist/src/mobile/components/TextLabel/TextLabel.js +1 -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/mobile/panels/ContentSheet/ContentSheet.d.ts +1 -4
- package/dist/src/mobile/panels/ContentSheet/ContentSheet.js +3 -11
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +1 -3
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +7 -14
- package/dist/src/mobile/panels/SectionSheet/SectionSheet.d.ts +1 -4
- package/dist/src/mobile/panels/SectionSheet/SectionSheet.js +3 -11
- package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -10
- package/dist/src/sub/AdminList/AdminList/AdminList.js +20 -51
- package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -10
- package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +0 -2
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +5 -15
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
- package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -2
- package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1134 -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 +123 -55
- 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/FlexGridItem.d.ts +6 -2
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.js +11 -15
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.js +68 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +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/GridAutoRowEditor/GridAutoRowEditor.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditor.js +356 -0
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +2 -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/gleStyles.js +1 -1
- package/dist/src/sub/DynamicLayout/mock.json +8163 -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 +1664 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1168 -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 +43 -4237
- 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 +12 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +7 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.d.ts → ComponentBlockMatcherWithCCB.d.ts} +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.js → ComponentBlockMatcherWithCCB.js} +15 -5
- 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 +151 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +76 -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 +256 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +16 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +38 -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/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
- 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/Embed/IframeDenied.js +2 -2
- 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 +159 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +38 -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 +179 -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.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +59 -9
- 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 +52 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.js +17 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.js +13 -0
- 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 +6 -20
- 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/parseProperties.js +4 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +58 -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/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +2 -2
- package/dist/src/sub/DynamicLayout/types.d.ts +68 -17
- package/dist/src/sub/DynamicLayout/utils/groupUtils.d.ts +16 -0
- package/dist/src/sub/DynamicLayout/utils/groupUtils.js +156 -0
- package/package.json +14 -23
- package/release-note.md +3 -4
- package/dist/scripts/copy-tinymce.d.ts +0 -1
- package/dist/scripts/copy-tinymce.js +0 -32
- package/dist/src/common/assets/icons/fill/Gift.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/Gift.js +0 -30
- 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/Gift.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Gift.js +0 -30
- package/dist/src/common/assets/icons/line/TimeExtension.d.ts +0 -4
- package/dist/src/common/assets/icons/line/TimeExtension.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/usePackageTranslation.d.ts +0 -4
- package/dist/src/common/hooks/usePackageTranslation.js +0 -14
- 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/LocalizedContent.d.ts +0 -4
- 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 -68
- 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 -437
- package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +0 -53
- package/dist/src/desktop/components/Calendar/CalendarContext.js +0 -77
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +0 -7
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +0 -49
- package/dist/src/desktop/components/Calendar/DailyView.d.ts +0 -8
- package/dist/src/desktop/components/Calendar/DailyView.js +0 -172
- package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +0 -29
- package/dist/src/desktop/components/Calendar/MonthlyView.js +0 -494
- 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 -9
- package/dist/src/desktop/components/Calendar/WeeklyView.js +0 -220
- 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 -13
- package/dist/src/desktop/components/Calendar/calendarUtils.js +0 -59
- 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 -65
- package/dist/src/desktop/components/LocalizedButton/LocalizedButton.d.ts +0 -8
- package/dist/src/desktop/components/LocalizedButton/LocalizedButton.js +0 -44
- package/dist/src/desktop/components/LocalizedButton/index.d.ts +0 -1
- package/dist/src/desktop/components/LocalizedButton/index.js +0 -8
- package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +0 -44
- package/dist/src/desktop/components/PriceTextField/PriceTextField.js +0 -587
- 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/HTMLReader.d.ts +0 -5
- package/dist/src/desktop/components/RichTextEditor/HTMLReader.js +0 -35
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +0 -37
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +0 -276
- 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/LocalizedContentModal/LocalizedContentModal.d.ts +0 -34
- package/dist/src/desktop/panels/LocalizedContentModal/LocalizedContentModal.js +0 -171
- package/dist/src/desktop/panels/LocalizedContentModal/index.d.ts +0 -1
- package/dist/src/desktop/panels/LocalizedContentModal/index.js +0 -8
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +0 -68
- 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 -43
- package/dist/src/mobile/components/PriceTextField/PriceTextField.js +0 -574
- 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 -37
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +0 -281
- 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/LocalizedContent.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
@@ -44,17 +44,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
44
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
45
45
|
var react_1 = require("react");
|
46
46
|
var react_dom_1 = __importDefault(require("react-dom"));
|
47
|
-
var scrollbarStyle_1 = require("../../../common/styles/scroll/scrollbarStyle");
|
48
|
-
var components_1 = require("../../components");
|
49
47
|
var styled_components_1 = __importStar(require("styled-components"));
|
50
48
|
var animationStyle_1 = require("../../../common/styles/movement/animationStyle");
|
49
|
+
var scrollbarStyle_1 = require("../../../common/styles/scroll/scrollbarStyle");
|
51
50
|
function DesktopHeadlessModal(_a) {
|
52
|
-
var body = _a.body, _b = _a.size, size = _b === void 0 ? 'rlarge' : _b, _c = _a.dimmedClickCloseMode, dimmedClickCloseMode = _c === void 0 ? 'none' : _c, _d = _a.scrollVisibleType, scrollVisibleType = _d === void 0 ? 'visible' : _d, onClose = _a.onClose
|
51
|
+
var body = _a.body, _b = _a.size, size = _b === void 0 ? 'rlarge' : _b, _c = _a.dimmedClickCloseMode, dimmedClickCloseMode = _c === void 0 ? 'none' : _c, _d = _a.scrollVisibleType, scrollVisibleType = _d === void 0 ? 'visible' : _d, onClose = _a.onClose;
|
53
52
|
var container = (0, react_1.useState)(function () {
|
54
53
|
var modalRoot = document.createElement('div');
|
55
54
|
modalRoot.setAttribute('id', 'DesktopHeadlessModal');
|
56
55
|
return modalRoot;
|
57
56
|
})[0];
|
57
|
+
var targetRef = (0, react_1.useRef)(null);
|
58
58
|
var handleClickOutside = function (e) {
|
59
59
|
e.stopPropagation();
|
60
60
|
if (dimmedClickCloseMode === 'use') {
|
@@ -65,24 +65,35 @@ function DesktopHeadlessModal(_a) {
|
|
65
65
|
};
|
66
66
|
(0, react_1.useLayoutEffect)(function () {
|
67
67
|
var root = document.getElementById('root');
|
68
|
+
var isScrolling;
|
69
|
+
var handleScroll = function () {
|
70
|
+
if (targetRef.current) {
|
71
|
+
targetRef.current.classList.add('scrollMoving');
|
72
|
+
}
|
73
|
+
isScrolling = setTimeout(function () {
|
74
|
+
var _a;
|
75
|
+
(_a = targetRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove('scrollMoving');
|
76
|
+
}, 500);
|
77
|
+
};
|
68
78
|
if (!root) {
|
69
79
|
return;
|
70
80
|
}
|
81
|
+
if (targetRef.current) {
|
82
|
+
targetRef.current.onscroll = handleScroll;
|
83
|
+
}
|
71
84
|
root.appendChild(container);
|
72
85
|
return function () {
|
73
86
|
root.removeChild(container);
|
87
|
+
clearTimeout(isScrolling);
|
74
88
|
};
|
75
89
|
}, []);
|
76
|
-
|
77
|
-
var btn2Mode = ['mbtn_amount2', 'mbtn_amount3'];
|
78
|
-
var btn3Mode = ['mbtn_amount3'];
|
79
|
-
return react_dom_1.default.createPortal((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(S_ModalOverlay, { "x-pds-name": "DesktopHeadlessModal", "x-pds-element-type": "panel", "x-pds-device-type": "desktop", onMouseDown: handleClickOutside }), (0, jsx_runtime_1.jsxs)(S_ModalWrapper, __assign({ size: size }, { children: [(0, jsx_runtime_1.jsx)(S_Body, __assign({ scrollVisibleType: scrollVisibleType }, { children: body && body })), footerMode === 'use' && ((0, jsx_runtime_1.jsxs)(S_Footer, { children: [(0, jsx_runtime_1.jsx)(S_Left, { children: btn3Mode.includes(btnMode) && mBtn3Text && ((0, jsx_runtime_1.jsx)(components_1.MainButton, { styleTheme: "secondary", text: mBtn3Text, state: mBtn3State, type: mBtn3Type, size: "medium", onClick: onClickMBtn3 })) }), (0, jsx_runtime_1.jsxs)(S_Right, { children: [(0, jsx_runtime_1.jsx)(S_Btn2Wrapper, { children: btn2Mode.includes(btnMode) && mBtn2Text && ((0, jsx_runtime_1.jsx)(components_1.MainButton, { styleTheme: "secondary", text: mBtn2Text, state: mBtn2State, type: mBtn2Type, size: "medium", onClick: onClickMBtn2 })) }), btn1Mode.includes(btnMode) && mBtn1Text && ((0, jsx_runtime_1.jsx)(components_1.MainButton, { text: mBtn1Text, state: mBtn1State, type: mBtn1Type, size: "medium", onClick: onClickMBtn1 }))] })] }))] }))] }), container);
|
90
|
+
return react_dom_1.default.createPortal((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(S_ModalOverlay, { "x-pds-name": "DesktopHeadlessModal", "x-pds-element-type": "panel", "x-pds-device-type": "desktop", onMouseDown: handleClickOutside }), (0, jsx_runtime_1.jsx)(S_ModalWrapper, __assign({ size: size }, { children: (0, jsx_runtime_1.jsx)(S_Body, __assign({ ref: targetRef, scrollVisibleType: scrollVisibleType }, { children: body && body })) }))] }), container);
|
80
91
|
}
|
81
92
|
var S_ModalOverlay = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"], ["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"])), function (_a) {
|
82
93
|
var theme = _a.theme;
|
83
94
|
return theme.ui_cpnt_modal_dimmed;
|
84
95
|
}, animationStyle_1.modalOverlayOnAni);
|
85
|
-
var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-shadow: ", ";\n box-sizing: border-box;\n display: flex;\n
|
96
|
+
var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-shadow: ", ";\n box-sizing: border-box;\n display: flex;\n left: 50%;\n max-height: 80vh;\n min-width: ", ";\n pointer-events: auto;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: ", ";\n\n ", "\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-shadow: ", ";\n box-sizing: border-box;\n display: flex;\n left: 50%;\n max-height: 80vh;\n min-width: ", ";\n pointer-events: auto;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: ", ";\n\n ", "\n"])), function (_a) {
|
86
97
|
var theme = _a.theme;
|
87
98
|
return theme.ui_cpnt_modal_base;
|
88
99
|
}, function (_a) {
|
@@ -93,51 +104,29 @@ var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templa
|
|
93
104
|
return theme.boxShadow.elevation4;
|
94
105
|
}, function (_a) {
|
95
106
|
var size = _a.size;
|
96
|
-
return size === 'rlarge'
|
107
|
+
return size === 'rlarge' && '960px';
|
97
108
|
}, function (_a) {
|
98
109
|
var size = _a.size;
|
99
110
|
var sizes = {
|
100
111
|
small: '400px',
|
101
112
|
medium: '688px',
|
102
113
|
large: '960px',
|
103
|
-
rlarge: '60vw'
|
104
|
-
xlarge: '1200px',
|
105
|
-
rxlarge: '70vw'
|
114
|
+
rlarge: '60vw'
|
106
115
|
};
|
107
116
|
return sizes[size];
|
108
117
|
}, animationStyle_1.modalOnAni);
|
109
118
|
var scrollInvisible = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ::-webkit-scrollbar {\n display: none;\n }\n"], ["\n ::-webkit-scrollbar {\n display: none;\n }\n"])));
|
110
|
-
var S_Body = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n overflow: auto;\n overflow-y: overlay;\n width: 100%;\n\n ", "\n"], ["\n overflow: auto;\n overflow-y: overlay;\n width: 100%;\n\n ", "\n"])), function (_a) {
|
119
|
+
var S_Body = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n overflow: auto;\n overflow-y: overlay;\n width: 100%;\n\n ", "\n\n &.scrollMoving {\n ", "\n }\n"], ["\n overflow: auto;\n overflow-y: overlay;\n width: 100%;\n\n ", "\n\n &.scrollMoving {\n ", "\n }\n"])), function (_a) {
|
111
120
|
var scrollVisibleType = _a.scrollVisibleType;
|
112
|
-
return
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
var theme = _a.theme;
|
119
|
-
return theme.spacing.spacingB;
|
120
|
-
});
|
121
|
-
var S_Btn2Wrapper = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
|
122
|
-
var theme = _a.theme;
|
123
|
-
return theme.spacing.spacingB;
|
124
|
-
});
|
125
|
-
var S_Right = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
126
|
-
var S_Footer = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n border-top: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n"], ["\n border-top: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n"])), function (_a) {
|
127
|
-
var theme = _a.theme;
|
128
|
-
return theme.ui_cpnt_modal_border;
|
129
|
-
}, function (_a) {
|
130
|
-
var theme = _a.theme;
|
131
|
-
return theme.spacing.spacingD;
|
132
|
-
}, function (_a) {
|
133
|
-
var theme = _a.theme;
|
134
|
-
return theme.spacing.spacingE;
|
135
|
-
}, function (_a) {
|
136
|
-
var theme = _a.theme;
|
137
|
-
return theme.spacing.spacingE;
|
121
|
+
return scrollVisibleType &&
|
122
|
+
{
|
123
|
+
moving: scrollInvisible,
|
124
|
+
visible: scrollbarStyle_1.scrollbarWithPaddingStyle,
|
125
|
+
hidden: scrollInvisible
|
126
|
+
}[scrollVisibleType];
|
138
127
|
}, function (_a) {
|
139
|
-
var
|
140
|
-
return
|
128
|
+
var scrollVisibleType = _a.scrollVisibleType;
|
129
|
+
return scrollVisibleType === 'moving' && scrollbarStyle_1.scrollbarWithPaddingStyle;
|
141
130
|
});
|
142
131
|
exports.default = DesktopHeadlessModal;
|
143
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4
|
132
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { ScrollVisibleType } from '../../../common/styles/scroll/scrollbarStyle';
|
3
2
|
import type { PDSTextType } from '../../../common';
|
4
3
|
export type DesktopTutorialModalInfoType = {
|
5
4
|
sideTabTitleText: PDSTextType;
|
@@ -14,8 +13,7 @@ type DesktopTutorialModalProps = {
|
|
14
13
|
modalTitleText: PDSTextType;
|
15
14
|
infoArray: DesktopTutorialModalInfoType[];
|
16
15
|
sequenceMode?: 'use' | 'none';
|
17
|
-
scrollVisibleType?: ScrollVisibleType;
|
18
16
|
onClose: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
19
17
|
};
|
20
|
-
declare function DesktopTutorialModal({ modalTitleText, infoArray, sequenceMode,
|
18
|
+
declare function DesktopTutorialModal({ modalTitleText, infoArray, sequenceMode, onClose }: DesktopTutorialModalProps): import("react").ReactPortal;
|
21
19
|
export default DesktopTutorialModal;
|
@@ -21,14 +21,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
22
22
|
var react_1 = require("react");
|
23
23
|
var react_dom_1 = __importDefault(require("react-dom"));
|
24
|
-
var scrollbarStyle_1 = require("../../../common/styles/scroll/scrollbarStyle");
|
25
24
|
var styled_components_1 = __importDefault(require("styled-components"));
|
26
25
|
var animationStyle_1 = require("../../../common/styles/movement/animationStyle");
|
26
|
+
var scrollbarStyle_1 = require("../../../common/styles/scroll/scrollbarStyle");
|
27
27
|
var hybrid_1 = require("../../../hybrid");
|
28
28
|
var components_1 = require("../../components");
|
29
29
|
var Components_1 = require("./Components");
|
30
30
|
function DesktopTutorialModal(_a) {
|
31
|
-
var modalTitleText = _a.modalTitleText, infoArray = _a.infoArray, _b = _a.sequenceMode, sequenceMode = _b === void 0 ? 'use' : _b,
|
31
|
+
var modalTitleText = _a.modalTitleText, infoArray = _a.infoArray, _b = _a.sequenceMode, sequenceMode = _b === void 0 ? 'use' : _b, onClose = _a.onClose;
|
32
32
|
var container = (0, react_1.useState)(function () {
|
33
33
|
var modalRoot = document.createElement('div');
|
34
34
|
modalRoot.setAttribute('id', 'DesktopTutorialModal');
|
@@ -44,7 +44,7 @@ function DesktopTutorialModal(_a) {
|
|
44
44
|
root.removeChild(container);
|
45
45
|
};
|
46
46
|
}, []);
|
47
|
-
var
|
47
|
+
var _c = (0, react_1.useState)("".concat(infoArray[0].sideTabTitleText, "0")), selectedItem = _c[0], setSelectedItem = _c[1];
|
48
48
|
var sideTabTitleArray = infoArray.map(function (data, index) {
|
49
49
|
return {
|
50
50
|
title: data.sideTabTitleText,
|
@@ -70,7 +70,7 @@ function DesktopTutorialModal(_a) {
|
|
70
70
|
};
|
71
71
|
return react_dom_1.default.createPortal((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(S_ModalOverlay, {}), (0, jsx_runtime_1.jsxs)(S_ModalWrapper, __assign({ "x-pds-name": "DesktopTutorialModal", "x-pds-element-type": "panel", "x-pds-device-type": "desktop" }, { children: [(0, jsx_runtime_1.jsxs)(S_LeftPanel, { children: [(0, jsx_runtime_1.jsx)(S_Header, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: modalTitleText, lineLimit: 2, ellipsisMode: "use", styleTheme: "headingBold" }) }), (0, jsx_runtime_1.jsxs)(S_SideTabWrapper, { children: [(0, jsx_runtime_1.jsx)(Components_1.SideTab, { itemArray: sideTabTitleArray }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_i" })] })] }), infoArray
|
72
72
|
.filter(function (data, index) { return selectedItem === "".concat(data.sideTabTitleText).concat(index); })
|
73
|
-
.map(function (data, index) { return ((0, jsx_runtime_1.jsxs)(S_RightPanel, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { src: data.imageSrc, shapeType: "rectangle", width: "responsive", ratio: "16_9", scaleType: "cover", backgroundFillMode: "use" }), (0, jsx_runtime_1.jsxs)(S_InfoBox,
|
73
|
+
.map(function (data, index) { return ((0, jsx_runtime_1.jsxs)(S_RightPanel, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { src: data.imageSrc, shapeType: "rectangle", width: "responsive", ratio: "16_9", scaleType: "cover", backgroundFillMode: "use" }), (0, jsx_runtime_1.jsxs)(S_InfoBox, { children: [(0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: data.infoTitleText ? data.infoTitleText : data.sideTabTitleText, styleTheme: "headingBold" }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_d" }), (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: data.infoDescText, styleTheme: "body2Regular", colorTheme: "sysTextSecondary" })] }), data.btnMode === 'btn_amount1' && ((0, jsx_runtime_1.jsx)(S_Footer, { children: (0, jsx_runtime_1.jsx)(components_1.MainButton, { text: data.btn1Text, type: "button", size: "medium", onClick: data.onClickBtn1 }) }))] }, "".concat(data.sideTabTitleText).concat(index))); }), (0, jsx_runtime_1.jsx)(S_IconButtonWrapper, { children: sequenceMode === 'use' && selectedItemIndex !== lastIndex ? ((0, jsx_runtime_1.jsx)(components_1.IconButton, { shapeType: "circular", baseSize: "medium", baseColorKey: "ui_cpnt_button_fill_base_tutorialmodal", iconName: "ic_arrow_right", iconColorKey: "ui_cpnt_button_icon_white", onClick: handleClickNextBtn })) : ((0, jsx_runtime_1.jsx)(components_1.IconButton, { shapeType: "circular", baseSize: "medium", baseColorKey: "ui_cpnt_button_fill_base_tutorialmodal", iconName: "ic_xmark", iconColorKey: "ui_cpnt_button_icon_white", onClick: handleClickCloseBtn })) })] }))] }), container);
|
74
74
|
}
|
75
75
|
var S_ModalOverlay = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"], ["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"])), function (_a) {
|
76
76
|
var theme = _a.theme;
|
@@ -114,13 +114,7 @@ var S_InfoBox = styled_components_1.default.div(templateObject_7 || (templateObj
|
|
114
114
|
}, function (_a) {
|
115
115
|
var theme = _a.theme;
|
116
116
|
return theme.spacing.spacingF;
|
117
|
-
},
|
118
|
-
var scrollVisibleType = _a.scrollVisibleType;
|
119
|
-
return ({
|
120
|
-
visible: scrollbarStyle_1.scrollbarStyle,
|
121
|
-
hidden: scrollbarStyle_1.scrollInvisible
|
122
|
-
}[scrollVisibleType]);
|
123
|
-
});
|
117
|
+
}, scrollbarStyle_1.scrollbarStyle);
|
124
118
|
var S_Footer = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n align-items: flex-end;\n box-sizing: border-box;\n display: flex;\n height: 88px;\n min-height: 88px;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n align-items: flex-end;\n box-sizing: border-box;\n display: flex;\n height: 88px;\n min-height: 88px;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
125
119
|
var theme = _a.theme;
|
126
120
|
return theme.spacing.spacingF;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import type { UiColors } from '../../../common';
|
2
|
-
import type { ScrollVisibleType } from '../../../common/styles/scroll/scrollbarStyle';
|
3
2
|
import type { CSSProperties } from 'react';
|
4
3
|
type PaddingSpacingType = 'none' | keyof typeof paddingSpacing;
|
5
4
|
export type SectionSheetProps = {
|
@@ -19,7 +18,6 @@ export type SectionSheetProps = {
|
|
19
18
|
paddingLeft?: PaddingSpacingType;
|
20
19
|
overrideCSS?: CSSProperties;
|
21
20
|
children: React.ReactNode;
|
22
|
-
scrollVisibleType?: ScrollVisibleType;
|
23
21
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
24
22
|
};
|
25
23
|
export type StyleProps = {
|
@@ -38,7 +36,6 @@ export type StyleProps = {
|
|
38
36
|
paddingBottom?: PaddingSpacingType;
|
39
37
|
paddingLeft?: PaddingSpacingType;
|
40
38
|
hasOnClick?: boolean;
|
41
|
-
scrollVisibleType?: ScrollVisibleType;
|
42
39
|
};
|
43
40
|
declare const paddingSpacing: {
|
44
41
|
readonly spacing_a: "spacingA";
|
@@ -56,5 +53,5 @@ declare const paddingSpacing: {
|
|
56
53
|
readonly spacing_m: "spacingM";
|
57
54
|
readonly spacing_n: "spacingN";
|
58
55
|
};
|
59
|
-
declare function SectionSheet({ width, height, backgroundColorTheme, overrideBackgroundColorKey, borderMode, borderWidth, borderColorTheme, overrideBorderColorKey, shapeType, radius, paddingTop, paddingRight, paddingBottom, paddingLeft, overrideCSS, children,
|
56
|
+
declare function SectionSheet({ width, height, backgroundColorTheme, overrideBackgroundColorKey, borderMode, borderWidth, borderColorTheme, overrideBorderColorKey, shapeType, radius, paddingTop, paddingRight, paddingBottom, paddingLeft, overrideCSS, children, onClick }: SectionSheetProps): JSX.Element;
|
60
57
|
export default SectionSheet;
|
@@ -39,7 +39,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
39
|
};
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
42
|
-
var scrollbarStyle_1 = require("../../../common/styles/scroll/scrollbarStyle");
|
43
42
|
var styled_components_1 = __importStar(require("styled-components"));
|
44
43
|
var backgroundColorTheme = {
|
45
44
|
transparent: 'ui_cpnt_sheet_base_03',
|
@@ -71,13 +70,13 @@ var paddingSpacing = {
|
|
71
70
|
spacing_n: 'spacingN'
|
72
71
|
};
|
73
72
|
function SectionSheet(_a) {
|
74
|
-
var width = _a.width, height = _a.height, _b = _a.backgroundColorTheme, backgroundColorTheme = _b === void 0 ? 'transparent' : _b, overrideBackgroundColorKey = _a.overrideBackgroundColorKey, _c = _a.borderMode, borderMode = _c === void 0 ? 'none' : _c, _d = _a.borderWidth, borderWidth = _d === void 0 ? 1 : _d, _e = _a.borderColorTheme, borderColorTheme = _e === void 0 ? 'grey' : _e, overrideBorderColorKey = _a.overrideBorderColorKey, _f = _a.shapeType, shapeType = _f === void 0 ? 'rectangle' : _f, _g = _a.radius, radius = _g === void 0 ? 24 : _g, _h = _a.paddingTop, paddingTop = _h === void 0 ? 'spacing_e' : _h, _j = _a.paddingRight, paddingRight = _j === void 0 ? 'spacing_e' : _j, _k = _a.paddingBottom, paddingBottom = _k === void 0 ? 'spacing_e' : _k, _l = _a.paddingLeft, paddingLeft = _l === void 0 ? 'spacing_e' : _l, overrideCSS = _a.overrideCSS, children = _a.children,
|
73
|
+
var width = _a.width, height = _a.height, _b = _a.backgroundColorTheme, backgroundColorTheme = _b === void 0 ? 'transparent' : _b, overrideBackgroundColorKey = _a.overrideBackgroundColorKey, _c = _a.borderMode, borderMode = _c === void 0 ? 'none' : _c, _d = _a.borderWidth, borderWidth = _d === void 0 ? 1 : _d, _e = _a.borderColorTheme, borderColorTheme = _e === void 0 ? 'grey' : _e, overrideBorderColorKey = _a.overrideBorderColorKey, _f = _a.shapeType, shapeType = _f === void 0 ? 'rectangle' : _f, _g = _a.radius, radius = _g === void 0 ? 24 : _g, _h = _a.paddingTop, paddingTop = _h === void 0 ? 'spacing_e' : _h, _j = _a.paddingRight, paddingRight = _j === void 0 ? 'spacing_e' : _j, _k = _a.paddingBottom, paddingBottom = _k === void 0 ? 'spacing_e' : _k, _l = _a.paddingLeft, paddingLeft = _l === void 0 ? 'spacing_e' : _l, overrideCSS = _a.overrideCSS, children = _a.children, onClick = _a.onClick;
|
75
74
|
var handleClick = function (e) {
|
76
75
|
if (onClick) {
|
77
76
|
onClick(e);
|
78
77
|
}
|
79
78
|
};
|
80
|
-
return ((0, jsx_runtime_1.jsx)(S_SectionSheet, __assign({ "x-pds-name": "SectionSheet", "x-pds-element-type": "panel", "x-pds-device-type": "desktop", "$width": width, "$height": height, "$backgroundColorTheme": backgroundColorTheme, overrideBackgroundColorKey: overrideBackgroundColorKey, borderMode: borderMode, "$borderWidth": borderWidth, "$borderColorTheme": borderColorTheme, overrideBorderColorKey: overrideBorderColorKey, shapeType: shapeType, "$radius": radius, paddingTop: paddingTop, paddingRight: paddingRight, paddingBottom: paddingBottom, paddingLeft: paddingLeft, style: overrideCSS, onClick: handleClick, hasOnClick: !!onClick
|
79
|
+
return ((0, jsx_runtime_1.jsx)(S_SectionSheet, __assign({ "x-pds-name": "SectionSheet", "x-pds-element-type": "panel", "x-pds-device-type": "desktop", "$width": width, "$height": height, "$backgroundColorTheme": backgroundColorTheme, overrideBackgroundColorKey: overrideBackgroundColorKey, borderMode: borderMode, "$borderWidth": borderWidth, "$borderColorTheme": borderColorTheme, overrideBorderColorKey: overrideBorderColorKey, shapeType: shapeType, "$radius": radius, paddingTop: paddingTop, paddingRight: paddingRight, paddingBottom: paddingBottom, paddingLeft: paddingLeft, style: overrideCSS, onClick: handleClick, hasOnClick: !!onClick }, { children: children })));
|
81
80
|
}
|
82
81
|
var radiusStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), function (_a) {
|
83
82
|
var $radius = _a.$radius;
|
@@ -106,7 +105,7 @@ var advancedCSS = (0, styled_components_1.css)(templateObject_6 || (templateObje
|
|
106
105
|
var theme = _a.theme, overrideBorderColorKey = _a.overrideBorderColorKey;
|
107
106
|
return overrideBorderColorKey && theme[overrideBorderColorKey];
|
108
107
|
});
|
109
|
-
var S_SectionSheet = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border-color: ", ";\n border-style: ", ";\n border-width: ", ";\n box-sizing: border-box;\n cursor: ", ";\n height: ", ";\n
|
108
|
+
var S_SectionSheet = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border-color: ", ";\n border-style: ", ";\n border-width: ", ";\n box-sizing: border-box;\n cursor: ", ";\n height: ", ";\n width: ", ";\n\n ", ";\n\n ", ";\n ", ";\n ", ";\n ", ";\n\n ", "\n"], ["\n background-color: ", ";\n border-color: ", ";\n border-style: ", ";\n border-width: ", ";\n box-sizing: border-box;\n cursor: ", ";\n height: ", ";\n width: ", ";\n\n ", ";\n\n ", ";\n ", ";\n ", ";\n ", ";\n\n ", "\n"])), function (_a) {
|
110
109
|
var theme = _a.theme, $backgroundColorTheme = _a.$backgroundColorTheme;
|
111
110
|
return $backgroundColorTheme && theme[backgroundColorTheme[$backgroundColorTheme]];
|
112
111
|
}, function (_a) {
|
@@ -142,13 +141,6 @@ var S_SectionSheet = styled_components_1.default.div(templateObject_7 || (templa
|
|
142
141
|
}, function (_a) {
|
143
142
|
var paddingLeft = _a.paddingLeft;
|
144
143
|
return paddingLeft !== 'none' && paddingLeftStyle;
|
145
|
-
}, function (_a) {
|
146
|
-
var scrollVisibleType = _a.scrollVisibleType;
|
147
|
-
return scrollVisibleType &&
|
148
|
-
{
|
149
|
-
visible: scrollbarStyle_1.scrollbarStyle,
|
150
|
-
hidden: scrollbarStyle_1.scrollInvisible
|
151
|
-
}[scrollVisibleType];
|
152
144
|
}, advancedCSS);
|
153
145
|
exports.default = SectionSheet;
|
154
146
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
@@ -4,8 +4,7 @@ import { DesktopBasicModal } from './DesktopBasicModal';
|
|
4
4
|
import { DesktopBasicModalWithTab, DesktopBasicModalWithTabInfoType } from './DesktopBasicModalWithTab';
|
5
5
|
import { DesktopHeadlessModal } from './DesktopHeadlessModal';
|
6
6
|
import { DesktopTutorialModal, DesktopTutorialModalInfoType } from './DesktopTutorialModal';
|
7
|
-
import LocalizedContentModal from './LocalizedContentModal';
|
8
7
|
import { SectionSheet } from './SectionSheet';
|
9
|
-
export { AnnotationSheet, ContentSheet, DesktopBasicModal, DesktopBasicModalWithTab, DesktopHeadlessModal, DesktopTutorialModal,
|
8
|
+
export { AnnotationSheet, ContentSheet, DesktopBasicModal, DesktopBasicModalWithTab, DesktopHeadlessModal, DesktopTutorialModal, SectionSheet };
|
10
9
|
export { DesktopBasicModalWithTabInfoType };
|
11
10
|
export { DesktopTutorialModalInfoType };
|
@@ -1,9 +1,6 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.SectionSheet = exports.
|
3
|
+
exports.SectionSheet = exports.DesktopTutorialModal = exports.DesktopHeadlessModal = exports.DesktopBasicModalWithTab = exports.DesktopBasicModal = exports.ContentSheet = exports.AnnotationSheet = void 0;
|
7
4
|
var AnnotationSheet_1 = require("./AnnotationSheet");
|
8
5
|
Object.defineProperty(exports, "AnnotationSheet", { enumerable: true, get: function () { return AnnotationSheet_1.AnnotationSheet; } });
|
9
6
|
var ContentSheet_1 = require("./ContentSheet");
|
@@ -16,7 +13,5 @@ var DesktopHeadlessModal_1 = require("./DesktopHeadlessModal");
|
|
16
13
|
Object.defineProperty(exports, "DesktopHeadlessModal", { enumerable: true, get: function () { return DesktopHeadlessModal_1.DesktopHeadlessModal; } });
|
17
14
|
var DesktopTutorialModal_1 = require("./DesktopTutorialModal");
|
18
15
|
Object.defineProperty(exports, "DesktopTutorialModal", { enumerable: true, get: function () { return DesktopTutorialModal_1.DesktopTutorialModal; } });
|
19
|
-
var LocalizedContentModal_1 = __importDefault(require("./LocalizedContentModal"));
|
20
|
-
exports.LocalizedContentModal = LocalizedContentModal_1.default;
|
21
16
|
var SectionSheet_1 = require("./SectionSheet");
|
22
17
|
Object.defineProperty(exports, "SectionSheet", { enumerable: true, get: function () { return SectionSheet_1.SectionSheet; } });
|
@@ -1,11 +1,9 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type { UiColors } from '../../../common/types';
|
3
2
|
export type DividerProps = {
|
4
3
|
displayType?: 'line' | 'area';
|
5
4
|
direction?: 'vertical' | 'horizontal';
|
6
5
|
height?: number;
|
7
6
|
colorTheme?: 'none' | 'divider1' | 'divider2';
|
8
|
-
overrideColorKey?: UiColors;
|
9
7
|
};
|
10
|
-
declare function Divider({ displayType, direction, height, colorTheme
|
8
|
+
declare function Divider({ displayType, direction, height, colorTheme }: DividerProps): JSX.Element;
|
11
9
|
export default Divider;
|
@@ -30,8 +30,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
31
31
|
var styled_components_1 = __importStar(require("styled-components"));
|
32
32
|
function Divider(_a) {
|
33
|
-
var _b = _a.displayType, displayType = _b === void 0 ? 'line' : _b, _c = _a.direction, direction = _c === void 0 ? 'horizontal' : _c, height = _a.height, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'none' : _d
|
34
|
-
return ((0, jsx_runtime_1.jsx)(S_Divider, { "x-pds-name": "Divider", "x-pds-element-type": "component", "x-pds-device-type": "hybrid", displayType: displayType, "$height": height, "$direction": direction, colorTheme: colorTheme
|
33
|
+
var _b = _a.displayType, displayType = _b === void 0 ? 'line' : _b, _c = _a.direction, direction = _c === void 0 ? 'horizontal' : _c, height = _a.height, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'none' : _d;
|
34
|
+
return ((0, jsx_runtime_1.jsx)(S_Divider, { "x-pds-name": "Divider", "x-pds-element-type": "component", "x-pds-device-type": "hybrid", displayType: displayType, "$height": height, "$direction": direction, colorTheme: colorTheme }));
|
35
35
|
}
|
36
36
|
var horizontal = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n height: ", ";\n width: 100%;\n"], ["\n background-color: ", ";\n height: ", ";\n width: 100%;\n"])), function (_a) {
|
37
37
|
var displayType = _a.displayType, theme = _a.theme;
|
@@ -63,22 +63,20 @@ var divider2Color = (0, styled_components_1.css)(templateObject_4 || (templateOb
|
|
63
63
|
var theme = _a.theme;
|
64
64
|
return theme.ui_cpnt_divider_white_opacity00;
|
65
65
|
});
|
66
|
-
var S_Divider = styled_components_1.default.div(
|
66
|
+
var S_Divider = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", ";\n ", ";\n ", ";\n"], ["\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
|
67
67
|
var $direction = _a.$direction;
|
68
68
|
return $direction === 'horizontal' && horizontal;
|
69
69
|
}, function (_a) {
|
70
70
|
var $direction = _a.$direction, displayType = _a.displayType;
|
71
71
|
return $direction === 'vertical' && displayType === 'line' && vertical;
|
72
72
|
}, function (_a) {
|
73
|
-
var
|
74
|
-
|
75
|
-
return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), theme[overrideColorKey]);
|
76
|
-
return (colorTheme &&
|
73
|
+
var colorTheme = _a.colorTheme;
|
74
|
+
return colorTheme &&
|
77
75
|
{
|
78
76
|
divider1: divider1Color,
|
79
77
|
divider2: divider2Color,
|
80
78
|
none: ''
|
81
|
-
}[colorTheme]
|
79
|
+
}[colorTheme];
|
82
80
|
});
|
83
81
|
exports.default = Divider;
|
84
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5
|
82
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
@@ -23,9 +23,7 @@ export type TextFieldBaseProps = {
|
|
23
23
|
max?: number;
|
24
24
|
maxLength?: number;
|
25
25
|
textSize: DesktopFontSize;
|
26
|
-
customFontSize?: string;
|
27
26
|
textWeight: FontWeight;
|
28
|
-
hintTextWeight?: FontWeight;
|
29
27
|
fieldPaddingRight?: number;
|
30
28
|
fieldPaddingLeft?: number;
|
31
29
|
fieldHeight?: number;
|
@@ -48,5 +46,5 @@ export type TextFieldBaseProps = {
|
|
48
46
|
onTarget?: () => void;
|
49
47
|
[x: string]: any;
|
50
48
|
} & Record<string, any>;
|
51
|
-
declare function TextFieldBase({ name, hintText, defaultText, textAlign, validation, preventBlankMode, enterSubmitMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, inputMode, state, colorTheme, min, max, maxLength, textSize,
|
49
|
+
declare function TextFieldBase({ name, hintText, defaultText, textAlign, validation, preventBlankMode, enterSubmitMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, inputMode, state, colorTheme, min, max, maxLength, textSize, textWeight, fieldPaddingRight, fieldPaddingLeft, textPadding, fieldHeight, deleteIconMode, deleteIconSize, deleteIconColor, suffixText, suffixTextRightSpacingMode, isFocused, autoComplete, stepperMode, stepperRightSpacing, innerSpinButtonSize, step, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onTarget, ...rest }: TextFieldBaseProps): JSX.Element;
|
52
50
|
export default TextFieldBase;
|
@@ -61,11 +61,11 @@ var common_1 = require("../../../../common");
|
|
61
61
|
var IconButton_1 = require("../../../components/IconButton");
|
62
62
|
var constants_1 = require("./constants");
|
63
63
|
function TextFieldBase(_a) {
|
64
|
-
var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, validation = _a.validation, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.enterSubmitMode, enterSubmitMode = _d === void 0 ? 'none' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, multiRows = _a.multiRows, autoMinRows = _a.autoMinRows, autoMaxRows = _a.autoMaxRows, _f = _a.inputType, inputType = _f === void 0 ? 'text' : _f, inputMode = _a.inputMode, _g = _a.state, state = _g === void 0 ? 'normal' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, min = _a.min, max = _a.max, _j = _a.maxLength, maxLength = _j === void 0 ? Infinity : _j, _k = _a.textSize, textSize = _k === void 0 ? 'form2' : _k,
|
65
|
-
var
|
64
|
+
var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, validation = _a.validation, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.enterSubmitMode, enterSubmitMode = _d === void 0 ? 'none' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, multiRows = _a.multiRows, autoMinRows = _a.autoMinRows, autoMaxRows = _a.autoMaxRows, _f = _a.inputType, inputType = _f === void 0 ? 'text' : _f, inputMode = _a.inputMode, _g = _a.state, state = _g === void 0 ? 'normal' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, min = _a.min, max = _a.max, _j = _a.maxLength, maxLength = _j === void 0 ? Infinity : _j, _k = _a.textSize, textSize = _k === void 0 ? 'form2' : _k, _l = _a.textWeight, textWeight = _l === void 0 ? 'normal' : _l, fieldPaddingRight = _a.fieldPaddingRight, fieldPaddingLeft = _a.fieldPaddingLeft, textPadding = _a.textPadding, _m = _a.fieldHeight, fieldHeight = _m === void 0 ? 48 : _m, _o = _a.deleteIconMode, deleteIconMode = _o === void 0 ? 'use' : _o, _p = _a.deleteIconSize, deleteIconSize = _p === void 0 ? 20 : _p, _q = _a.deleteIconColor, deleteIconColor = _q === void 0 ? 'ui_cpnt_button_icon_disabled' : _q, suffixText = _a.suffixText, _r = _a.suffixTextRightSpacingMode, suffixTextRightSpacingMode = _r === void 0 ? 'none' : _r, isFocused = _a.isFocused, _s = _a.autoComplete, autoComplete = _s === void 0 ? 'on' : _s, _t = _a.stepperMode, stepperMode = _t === void 0 ? 'none' : _t, _u = _a.stepperRightSpacing, stepperRightSpacing = _u === void 0 ? 1 : _u, _v = _a.innerSpinButtonSize, innerSpinButtonSize = _v === void 0 ? 16 : _v, step = _a.step, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, onKeyDown = _a.onKeyDown, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget, rest = __rest(_a, ["name", "hintText", "defaultText", "textAlign", "validation", "preventBlankMode", "enterSubmitMode", "textLineType", "multiRows", "autoMinRows", "autoMaxRows", "inputType", "inputMode", "state", "colorTheme", "min", "max", "maxLength", "textSize", "textWeight", "fieldPaddingRight", "fieldPaddingLeft", "textPadding", "fieldHeight", "deleteIconMode", "deleteIconSize", "deleteIconColor", "suffixText", "suffixTextRightSpacingMode", "isFocused", "autoComplete", "stepperMode", "stepperRightSpacing", "innerSpinButtonSize", "step", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onTarget"]);
|
65
|
+
var _w = (0, react_hook_form_1.useFormContext)(), register = _w.register, setValue = _w.setValue, getValues = _w.getValues, clearErrors = _w.clearErrors;
|
66
66
|
var timeout;
|
67
67
|
var suffixTextRef = (0, react_1.useRef)(null);
|
68
|
-
var
|
68
|
+
var _x = (0, react_1.useState)(0), suffixTextWidth = _x[0], setSuffixTextWidth = _x[1];
|
69
69
|
// NOTE suffixText가 변할때마다 suffixText가 차지하는 너비를 알아내어 suffixTextWidth에 담는다.
|
70
70
|
(0, react_1.useEffect)(function () {
|
71
71
|
var calculateDivWidth = function () {
|
@@ -165,7 +165,7 @@ function TextFieldBase(_a) {
|
|
165
165
|
}
|
166
166
|
}
|
167
167
|
var textAreaRef = (0, react_1.useRef)(null);
|
168
|
-
var
|
168
|
+
var _y = register(name, validation), ref = _y.ref, refRest = __rest(_y, ["ref"]);
|
169
169
|
(0, react_1.useEffect)(function () {
|
170
170
|
if (textAreaRef === null || textAreaRef.current === null) {
|
171
171
|
return;
|
@@ -226,13 +226,13 @@ function TextFieldBase(_a) {
|
|
226
226
|
}
|
227
227
|
var S_TextFieldBase = function () {
|
228
228
|
if (textLineType === 'single') {
|
229
|
-
return ((0, jsx_runtime_1.jsxs)(S_InputWrapper, { children: [stepperMode === 'use' && ((0, jsx_runtime_1.jsxs)(S_IconBox, __assign({ innerSpinButtonSize: innerSpinButtonSize, isFocused: isFocused, stepperRightSpacing: stepperRightSpacing }, { children: [(0, jsx_runtime_1.jsx)(components_2.Icon, { iconName: "ic_arrow_up_stepper", fillType: "fill", size: innerSpinButtonSize }), (0, jsx_runtime_1.jsx)(components_2.Icon, { iconName: "ic_arrow_down_stepper", fillType: "fill", size: innerSpinButtonSize })] }))), (0, jsx_runtime_1.jsx)(S_Input, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, type: inputType, inputMode: inputMode, state: state, readOnly: state === 'read_only', disabled: state === 'disabled', maxLength: maxLength, textSize: textSize,
|
229
|
+
return ((0, jsx_runtime_1.jsxs)(S_InputWrapper, { children: [stepperMode === 'use' && ((0, jsx_runtime_1.jsxs)(S_IconBox, __assign({ innerSpinButtonSize: innerSpinButtonSize, isFocused: isFocused, stepperRightSpacing: stepperRightSpacing }, { children: [(0, jsx_runtime_1.jsx)(components_2.Icon, { iconName: "ic_arrow_up_stepper", fillType: "fill", size: innerSpinButtonSize }), (0, jsx_runtime_1.jsx)(components_2.Icon, { iconName: "ic_arrow_down_stepper", fillType: "fill", size: innerSpinButtonSize })] }))), (0, jsx_runtime_1.jsx)(S_Input, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, type: inputType, inputMode: inputMode, state: state, readOnly: state === 'read_only', disabled: state === 'disabled', maxLength: maxLength, textSize: textSize, textWeight: textWeight, fieldPaddingRight: fieldPaddingRight, fieldPaddingLeft: fieldPaddingLeft, colorTheme: colorTheme, min: min, max: max, autoComplete: autoComplete, stepperMode: stepperMode, innerSpinButtonSize: innerSpinButtonSize, step: step, deleteIconMode: deleteIconMode, suffixText: suffixText, suffixTextWidth: suffixTextWidth, stepperRightSpacing: stepperRightSpacing, isFocused: isFocused, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, onKeyPress: handleKeyPress, ref: ref })), (deleteIconMode === 'use' || suffixText) && ((0, jsx_runtime_1.jsxs)(S_RightBox, __assign({ deleteIconMode: deleteIconMode, stepperMode: stepperMode, suffixText: suffixText, innerSpinButtonSize: innerSpinButtonSize }, { children: [deleteIconMode === 'use' && ((0, jsx_runtime_1.jsx)(S_IconButtonWrapper, __assign({ innerSpinButtonSize: innerSpinButtonSize, deleteIconMode: deleteIconMode, stepperMode: stepperMode, suffixText: suffixText, isFocused: isFocused, suffixTextWidth: suffixTextWidth, stepperRightSpacing: stepperRightSpacing }, { children: isFocused && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_delete", baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: deleteIconSize, iconColorKey: deleteIconColor, iconFillType: "fill", state: state === 'disabled' ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: deleteValue })) }))), suffixText && ((0, jsx_runtime_1.jsxs)(S_SuffixTextBox, __assign({ ref: suffixTextRef }, { children: [(0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_b", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: suffixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", colorOverride: stepperMode === 'use' && isFocused ? 'ui_106' : undefined, textAlign: "right", singleLineMode: "use" }), suffixTextRightSpacingMode === 'use' && ((0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_b", spacingType: "width" }))] })))] })))] }));
|
230
230
|
}
|
231
231
|
if (textLineType === 'multi') {
|
232
|
-
return ((0, jsx_runtime_1.jsx)(S_Multi, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, rows: multiRows, textSize: textSize,
|
232
|
+
return ((0, jsx_runtime_1.jsx)(S_Multi, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, rows: multiRows, textSize: textSize, textWeight: textWeight, fieldPaddingRight: fieldPaddingRight, fieldPaddingLeft: fieldPaddingLeft, textPadding: textPadding, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, onKeyPress: handleKeyPress, ref: ref })));
|
233
233
|
}
|
234
234
|
if (textLineType === 'auto') {
|
235
|
-
return ((0, jsx_runtime_1.jsx)(S_Auto, __assign({}, refRest, rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, textSize: textSize,
|
235
|
+
return ((0, jsx_runtime_1.jsx)(S_Auto, __assign({}, refRest, rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, textSize: textSize, textWeight: textWeight, fieldPaddingRight: fieldPaddingRight, fieldPaddingLeft: fieldPaddingLeft, textPadding: textPadding, fieldHeight: fieldHeight, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, onKeyPress: handleKeyPress, ref: function (e) {
|
236
236
|
ref(e);
|
237
237
|
textAreaRef.current = e;
|
238
238
|
}, onInput: handleResizeHeight })));
|
@@ -314,8 +314,8 @@ var basicStyle = (0, styled_components_1.css)(templateObject_9 || (templateObjec
|
|
314
314
|
transparent: theme.ui_cpnt_textfield_text_colortheme_transparent_enabled
|
315
315
|
}[colorTheme];
|
316
316
|
}, function (_a) {
|
317
|
-
var textSize = _a.textSize
|
318
|
-
return
|
317
|
+
var textSize = _a.textSize;
|
318
|
+
return common_1.desktopFontSize[textSize];
|
319
319
|
}, function (_a) {
|
320
320
|
var textWeight = _a.textWeight;
|
321
321
|
return common_1.fontWeight[textWeight];
|
@@ -334,11 +334,11 @@ var basicStyle = (0, styled_components_1.css)(templateObject_9 || (templateObjec
|
|
334
334
|
transparent: theme.ui_cpnt_textfield_text_colortheme_transparent_hint
|
335
335
|
}[colorTheme];
|
336
336
|
}, function (_a) {
|
337
|
-
var textSize = _a.textSize
|
338
|
-
return
|
337
|
+
var textSize = _a.textSize;
|
338
|
+
return common_1.desktopFontSize[textSize];
|
339
339
|
}, function (_a) {
|
340
|
-
var textWeight = _a.textWeight
|
341
|
-
return common_1.fontWeight[
|
340
|
+
var textWeight = _a.textWeight;
|
341
|
+
return common_1.fontWeight[textWeight];
|
342
342
|
}, function (_a) {
|
343
343
|
var textSize = _a.textSize;
|
344
344
|
return common_1.desktopLineHeight[textSize];
|
@@ -449,7 +449,7 @@ var stepper = (0, styled_components_1.css)(templateObject_13 || (templateObject_
|
|
449
449
|
}
|
450
450
|
return;
|
451
451
|
});
|
452
|
-
var inputInnerSpinButtonStyle = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n -webkit-appearance: none;\n
|
452
|
+
var inputInnerSpinButtonStyle = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n -webkit-appearance: none;\n z-index: 1;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n position: absolute;\n right: ", ";\n top: calc(\n 50% - ", "\n );\n"], ["\n -webkit-appearance: none;\n z-index: 1;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n position: absolute;\n right: ", ";\n top: calc(\n 50% - ", "\n );\n"])), function (_a) {
|
453
453
|
var innerSpinButtonSize = _a.innerSpinButtonSize;
|
454
454
|
return innerSpinButtonSize && "".concat(innerSpinButtonSize * 2, "px");
|
455
455
|
}, function (_a) {
|
@@ -478,23 +478,19 @@ var S_Input = styled_components_1.default.input(templateObject_15 || (templateOb
|
|
478
478
|
return theme.ui_cpnt_textfield_text_typed;
|
479
479
|
});
|
480
480
|
var S_Auto = styled_components_1.default.textarea(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"])), basicStyle, function (_a) {
|
481
|
-
var autoMaxRows = _a.autoMaxRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight
|
481
|
+
var autoMaxRows = _a.autoMaxRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight;
|
482
482
|
return autoMaxRows &&
|
483
483
|
fieldHeight &&
|
484
|
-
"max-height: ".concat(
|
485
|
-
|
486
|
-
|
487
|
-
Number(common_1.desktopLineHeight[textSize]) *
|
488
|
-
autoMaxRows, "px;");
|
484
|
+
"max-height: ".concat(Number(common_1.desktopFontSize[textSize].substring(0, 2)) *
|
485
|
+
Number(common_1.desktopLineHeight[textSize]) *
|
486
|
+
autoMaxRows, "px;");
|
489
487
|
}, function (_a) {
|
490
|
-
var autoMinRows = _a.autoMinRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight
|
488
|
+
var autoMinRows = _a.autoMinRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight;
|
491
489
|
return autoMinRows &&
|
492
490
|
fieldHeight &&
|
493
|
-
"min-height: ".concat(
|
494
|
-
|
495
|
-
|
496
|
-
Number(common_1.desktopLineHeight[textSize]) *
|
497
|
-
autoMinRows, "px;");
|
491
|
+
"min-height: ".concat(Number(common_1.desktopFontSize[textSize].substring(0, 2)) *
|
492
|
+
Number(common_1.desktopLineHeight[textSize]) *
|
493
|
+
autoMinRows, "px;");
|
498
494
|
});
|
499
495
|
var S_Multi = styled_components_1.default.textarea(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"])), basicStyle);
|
500
496
|
exports.default = TextFieldBase;
|
@@ -9,7 +9,8 @@ export type ChatBubbleListItemProps = {
|
|
9
9
|
colorTheme?: ColorThemeType;
|
10
10
|
timeMode?: 'none' | 'use';
|
11
11
|
timeText?: PDSTextType;
|
12
|
-
|
12
|
+
countMode?: 'none' | 'use';
|
13
|
+
countText?: PDSTextType;
|
13
14
|
contextMenuOptionArray?: PDSValueOption[];
|
14
15
|
contextMenuState?: 'normal' | 'disabled';
|
15
16
|
children?: React.ReactNode;
|
@@ -17,5 +18,5 @@ export type ChatBubbleListItemProps = {
|
|
17
18
|
onClickContextMenuItem?: (option: PDSValueOption) => void;
|
18
19
|
onClickDownloadIBtn?: () => void;
|
19
20
|
};
|
20
|
-
declare function ChatBubbleListItem({ titleText, imageSrc, hoverMode, styleTheme, colorTheme, timeMode, timeText,
|
21
|
+
declare function ChatBubbleListItem({ titleText, imageSrc, hoverMode, styleTheme, colorTheme, timeMode, timeText, countMode, countText, contextMenuOptionArray, contextMenuState, children, downloadIBtnMode, onClickContextMenuItem, onClickDownloadIBtn }: ChatBubbleListItemProps): JSX.Element;
|
21
22
|
export default ChatBubbleListItem;
|