pds-dev-kit-web-test 2.5.510 → 2.5.511
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 +4 -4
- package/dist/index.js +3 -6
- package/dist/src/common/assets/icons/fill/index.d.ts +0 -1
- package/dist/src/common/assets/icons/fill/index.js +0 -2
- package/dist/src/common/assets/icons/line/index.d.ts +0 -1
- package/dist/src/common/assets/icons/line/index.js +0 -2
- package/dist/src/common/hooks/useTooltip.js +1 -1
- package/dist/src/common/services/i18n/resources/en.json +1 -50
- package/dist/src/common/services/i18n/resources/es.json +1 -50
- package/dist/src/common/services/i18n/resources/fil.json +1 -50
- package/dist/src/common/services/i18n/resources/index.d.ts +0 -343
- package/dist/src/common/services/i18n/resources/ja.json +1 -50
- package/dist/src/common/services/i18n/resources/ko.json +1 -50
- package/dist/src/common/services/i18n/resources/zh-cn.json +1 -50
- package/dist/src/common/services/i18n/resources/zh-tw.json +1 -50
- package/dist/src/common/styles/colorSet/index.d.ts +2 -2
- package/dist/src/common/styles/colorSet/index.js +2 -2
- 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/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 -2
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +16 -20
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +2 -6
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +6 -67
- 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/index.d.ts +1 -3
- package/dist/src/desktop/components/index.js +1 -6
- package/dist/src/desktop/index.d.ts +1 -1
- package/dist/src/desktop/index.js +2 -4
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +2 -17
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +6 -37
- package/dist/src/desktop/panels/index.d.ts +1 -2
- package/dist/src/desktop/panels/index.js +1 -6
- package/dist/src/hybrid/components/Divider/Divider.d.ts +1 -3
- package/dist/src/hybrid/components/Divider/Divider.js +7 -9
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -2
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +16 -20
- 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/index.d.ts +1 -2
- package/dist/src/mobile/components/index.js +1 -3
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +2 -3
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1133 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +5 -3
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +53 -53
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -2
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +24 -2
- package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
- package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +776 -0
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +4236 -0
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/mock_composition.js +1607 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1111 -0
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +1091 -0
- package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
- package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -0
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +854 -0
- package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
- package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +4 -5
- package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -961
- package/dist/src/sub/DynamicLayout/mocks.js +55 -4239
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +10 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +134 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +61 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +87 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +182 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +139 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +206 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +85 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +29 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +128 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
- package/dist/src/{desktop/panels/MultilingualModal → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList}/index.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +67 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +39 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +151 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +12 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +15 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +69 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +20 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +173 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +87 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +18 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +229 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +16 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +63 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
- package/dist/src/{desktop/components/BoxItem/LeftBox → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner}/index.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +46 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +186 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +163 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +38 -7
- 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 +49 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +7 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +10 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +53 -3
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -0
- package/dist/src/sub/DynamicLayout/types.d.ts +64 -17
- package/package.json +3 -2
- package/release-note.md +2 -2
- package/dist/src/common/assets/icons/fill/Translate.d.ts +0 -4
- package/dist/src/common/assets/icons/fill/Translate.js +0 -30
- package/dist/src/common/assets/icons/line/Translate.d.ts +0 -4
- package/dist/src/common/assets/icons/line/Translate.js +0 -30
- package/dist/src/common/types/multilingual.d.ts +0 -16
- package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +0 -62
- package/dist/src/desktop/components/BoxItem/BoxItem.js +0 -104
- 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/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 -13
- package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +0 -132
- package/dist/src/desktop/components/Calendar/Calendar.d.ts +0 -4
- package/dist/src/desktop/components/Calendar/Calendar.js +0 -397
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +0 -7
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +0 -48
- package/dist/src/desktop/components/Calendar/DailyView.d.ts +0 -19
- package/dist/src/desktop/components/Calendar/DailyView.js +0 -64
- package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +0 -29
- package/dist/src/desktop/components/Calendar/MonthlyView.js +0 -314
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +0 -20
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +0 -155
- package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +0 -17
- 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 -189
- package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +0 -24
- package/dist/src/desktop/components/Calendar/WeeklyView.js +0 -92
- package/dist/src/desktop/components/Calendar/YearlyView.d.ts +0 -12
- package/dist/src/desktop/components/Calendar/YearlyView.js +0 -76
- package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +0 -24
- package/dist/src/desktop/components/Calendar/calendarUtils.js +0 -87
- package/dist/src/desktop/components/Calendar/constants.d.ts +0 -1
- package/dist/src/desktop/components/Calendar/constants.js +0 -31
- package/dist/src/desktop/components/Calendar/index.d.ts +0 -10
- package/dist/src/desktop/components/Calendar/index.js +0 -37
- package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +0 -16
- package/dist/src/desktop/components/Calendar/timeFormatUtils.js +0 -45
- package/dist/src/desktop/components/Calendar/types.d.ts +0 -61
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +0 -11
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +0 -198
- package/dist/src/desktop/panels/MultilingualModal/index.d.ts +0 -1
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +0 -62
- package/dist/src/mobile/components/BoxItem/BoxItem.js +0 -104
- 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/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
- /package/dist/src/{common/types/multilingual.js → sub/DynamicLayout/compositionActionTypes.js} +0 -0
- /package/dist/src/{desktop/components/Calendar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel}/types.js +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getErrorByName = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* 중첩된 객체 구조에서 점(.)으로 구분된 경로를 통해 에러 객체를 조회합니다
|
|
6
|
+
*/
|
|
7
|
+
var getErrorByName = function (errors, name) {
|
|
8
|
+
return name.split('.').reduce(function (errors, property) { return errors && errors[property]; }, errors);
|
|
9
|
+
};
|
|
10
|
+
exports.getErrorByName = getErrorByName;
|
|
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./form"), exports);
|
|
17
18
|
__exportStar(require("./icon"), exports);
|
|
18
19
|
__exportStar(require("./styled-components"), exports);
|
|
19
20
|
__exportStar(require("./text"), exports);
|
|
20
21
|
__exportStar(require("./uiColors"), exports);
|
|
21
22
|
__exportStar(require("./components"), exports);
|
|
22
|
-
__exportStar(require("./multilingual"), exports);
|
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
function hoverTypeSystemUICssGenerator(_a) {
|
|
11
11
|
var baseSize = _a.baseSize, sizeOffset = _a.sizeOffset, positionOffset = _a.positionOffset, systemUIPosition = _a.systemUIPosition, _b = _a.distance, distance = _b === void 0 ? 8 : _b;
|
|
12
12
|
if (!sizeOffset || !positionOffset) {
|
|
13
|
-
return '';
|
|
13
|
+
return 'visibility: hidden;';
|
|
14
14
|
}
|
|
15
15
|
var end = positionOffset.left, bottom = positionOffset.bottom, top = positionOffset.top;
|
|
16
16
|
var width = sizeOffset.width, height = sizeOffset.height;
|
|
@@ -10,7 +10,4 @@ export declare class DateHelper {
|
|
|
10
10
|
static addMonths(date: Date, diff: number): Date;
|
|
11
11
|
static addDays(date: Date, diff: number): Date;
|
|
12
12
|
static getCalendarDates(monthDate: Date, startOfWeek: 'sunday' | 'monday'): Date[];
|
|
13
|
-
static endOfMonth(date: Date): Date;
|
|
14
|
-
static getCalendarDatesForCalendar(monthDate: Date, startOfWeek: 'sunday' | 'monday'): Date[];
|
|
15
|
-
static getDatesInRange(startDate: Date, endDate: Date): Date[];
|
|
16
13
|
}
|
|
@@ -82,43 +82,6 @@ var DateHelper = /** @class */ (function () {
|
|
|
82
82
|
var calendarStart = this.addDays(start, -offset);
|
|
83
83
|
return Array.from({ length: 42 }, function (_, i) { return _this.addDays(calendarStart, i); });
|
|
84
84
|
};
|
|
85
|
-
/*
|
|
86
|
-
* 월의 마지막 날짜 반환
|
|
87
|
-
*/
|
|
88
|
-
DateHelper.endOfMonth = function (date) {
|
|
89
|
-
return new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
|
90
|
-
};
|
|
91
|
-
/*
|
|
92
|
-
* 일반 캘린더처럼 현재 달의 날짜만 표시하고, 필요한 경우에만 이전/다음 달의 날짜를 포함
|
|
93
|
-
*/
|
|
94
|
-
DateHelper.getCalendarDatesForCalendar = function (monthDate, startOfWeek) {
|
|
95
|
-
var start = this.startOfMonth(monthDate);
|
|
96
|
-
var end = this.endOfMonth(monthDate);
|
|
97
|
-
var startIndex = startOfWeek === 'monday' ? 1 : 0;
|
|
98
|
-
// 시작 날짜의 요일 조정
|
|
99
|
-
var startOffset = (start.getDay() - startIndex + 7) % 7;
|
|
100
|
-
var calendarStart = this.addDays(start, -startOffset);
|
|
101
|
-
// 마지막 날짜의 요일 조정
|
|
102
|
-
var endOffset = (6 - end.getDay() + startIndex) % 7;
|
|
103
|
-
var calendarEnd = this.addDays(end, endOffset);
|
|
104
|
-
// 전체 날짜 배열 생성
|
|
105
|
-
var dates = [];
|
|
106
|
-
var currentDate = new Date(calendarStart);
|
|
107
|
-
while (currentDate <= calendarEnd) {
|
|
108
|
-
dates.push(new Date(currentDate));
|
|
109
|
-
currentDate = this.addDays(currentDate, 1);
|
|
110
|
-
}
|
|
111
|
-
return dates;
|
|
112
|
-
};
|
|
113
|
-
DateHelper.getDatesInRange = function (startDate, endDate) {
|
|
114
|
-
var dates = [];
|
|
115
|
-
var currentDate = new Date(startDate);
|
|
116
|
-
while (currentDate <= endDate) {
|
|
117
|
-
dates.push(new Date(currentDate));
|
|
118
|
-
currentDate.setDate(currentDate.getDate() + 1);
|
|
119
|
-
}
|
|
120
|
-
return dates;
|
|
121
|
-
};
|
|
122
85
|
return DateHelper;
|
|
123
86
|
}());
|
|
124
87
|
exports.DateHelper = DateHelper;
|
|
@@ -23,7 +23,6 @@ export type TextFieldBaseProps = {
|
|
|
23
23
|
max?: number;
|
|
24
24
|
maxLength?: number;
|
|
25
25
|
textSize: DesktopFontSize;
|
|
26
|
-
customFontSize?: string;
|
|
27
26
|
textWeight: FontWeight;
|
|
28
27
|
fieldPaddingRight?: number;
|
|
29
28
|
fieldPaddingLeft?: number;
|
|
@@ -48,5 +47,5 @@ export type TextFieldBaseProps = {
|
|
|
48
47
|
inputRef?: any;
|
|
49
48
|
[x: string]: any;
|
|
50
49
|
} & 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,
|
|
50
|
+
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, fieldHeight, deleteIconMode, deleteIconSize, deleteIconColor, suffixText, suffixTextRightSpacingMode, isFocused, autoComplete, stepperMode, stepperRightSpacing, innerSpinButtonSize, step, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onTarget, inputRef, ...rest }: TextFieldBaseProps): JSX.Element;
|
|
52
51
|
export default TextFieldBase;
|
|
@@ -61,7 +61,7 @@ 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,
|
|
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, _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, inputRef = _a.inputRef, 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", "fieldHeight", "deleteIconMode", "deleteIconSize", "deleteIconColor", "suffixText", "suffixTextRightSpacingMode", "isFocused", "autoComplete", "stepperMode", "stepperRightSpacing", "innerSpinButtonSize", "step", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onTarget", "inputRef"]);
|
|
65
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);
|
|
@@ -226,7 +226,7 @@ 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: function (e) {
|
|
230
230
|
ref(e);
|
|
231
231
|
if (inputRef) {
|
|
232
232
|
inputRef.current = e;
|
|
@@ -234,7 +234,7 @@ function TextFieldBase(_a) {
|
|
|
234
234
|
} })), (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" }))] })))] })))] }));
|
|
235
235
|
}
|
|
236
236
|
if (textLineType === 'multi') {
|
|
237
|
-
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,
|
|
237
|
+
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, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, onKeyPress: handleKeyPress, ref: function (e) {
|
|
238
238
|
ref(e);
|
|
239
239
|
if (inputRef) {
|
|
240
240
|
inputRef.current = e;
|
|
@@ -242,7 +242,7 @@ function TextFieldBase(_a) {
|
|
|
242
242
|
} })));
|
|
243
243
|
}
|
|
244
244
|
if (textLineType === 'auto') {
|
|
245
|
-
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,
|
|
245
|
+
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, fieldHeight: fieldHeight, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, onKeyPress: handleKeyPress, ref: function (e) {
|
|
246
246
|
ref(e);
|
|
247
247
|
if (textAreaRef) {
|
|
248
248
|
textAreaRef.current = e;
|
|
@@ -332,8 +332,8 @@ var basicStyle = (0, styled_components_1.css)(templateObject_9 || (templateObjec
|
|
|
332
332
|
var state = _a.state;
|
|
333
333
|
return (state === 'disabled' ? 'not-allowed' : 'text');
|
|
334
334
|
}, function (_a) {
|
|
335
|
-
var textSize = _a.textSize
|
|
336
|
-
return
|
|
335
|
+
var textSize = _a.textSize;
|
|
336
|
+
return common_1.desktopFontSize[textSize];
|
|
337
337
|
}, function (_a) {
|
|
338
338
|
var textWeight = _a.textWeight;
|
|
339
339
|
return common_1.fontWeight[textWeight];
|
|
@@ -352,8 +352,8 @@ var basicStyle = (0, styled_components_1.css)(templateObject_9 || (templateObjec
|
|
|
352
352
|
transparent: theme.ui_cpnt_textfield_text_colortheme_transparent_hint
|
|
353
353
|
}[colorTheme];
|
|
354
354
|
}, function (_a) {
|
|
355
|
-
var textSize = _a.textSize
|
|
356
|
-
return
|
|
355
|
+
var textSize = _a.textSize;
|
|
356
|
+
return common_1.desktopFontSize[textSize];
|
|
357
357
|
}, function (_a) {
|
|
358
358
|
var textWeight = _a.textWeight;
|
|
359
359
|
return common_1.fontWeight[textWeight];
|
|
@@ -496,23 +496,19 @@ var S_Input = styled_components_1.default.input(templateObject_15 || (templateOb
|
|
|
496
496
|
return theme.ui_cpnt_textfield_text_typed;
|
|
497
497
|
});
|
|
498
498
|
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) {
|
|
499
|
-
var autoMaxRows = _a.autoMaxRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight
|
|
499
|
+
var autoMaxRows = _a.autoMaxRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight;
|
|
500
500
|
return autoMaxRows &&
|
|
501
501
|
fieldHeight &&
|
|
502
|
-
"max-height: ".concat(
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
Number(common_1.desktopLineHeight[textSize]) *
|
|
506
|
-
autoMaxRows, "px;");
|
|
502
|
+
"max-height: ".concat(Number(common_1.desktopFontSize[textSize].substring(0, 2)) *
|
|
503
|
+
Number(common_1.desktopLineHeight[textSize]) *
|
|
504
|
+
autoMaxRows, "px;");
|
|
507
505
|
}, function (_a) {
|
|
508
|
-
var autoMinRows = _a.autoMinRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight
|
|
506
|
+
var autoMinRows = _a.autoMinRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight;
|
|
509
507
|
return autoMinRows &&
|
|
510
508
|
fieldHeight &&
|
|
511
|
-
"min-height: ".concat(
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
Number(common_1.desktopLineHeight[textSize]) *
|
|
515
|
-
autoMinRows, "px;");
|
|
509
|
+
"min-height: ".concat(Number(common_1.desktopFontSize[textSize].substring(0, 2)) *
|
|
510
|
+
Number(common_1.desktopLineHeight[textSize]) *
|
|
511
|
+
autoMinRows, "px;");
|
|
516
512
|
});
|
|
517
513
|
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);
|
|
518
514
|
exports.default = TextFieldBase;
|
|
@@ -105,7 +105,7 @@ function BasicButtonGroup(_a) {
|
|
|
105
105
|
var isHoveredButton = index === hoveredButtonIndex;
|
|
106
106
|
return ((0, jsx_runtime_1.jsxs)(S_BasicButton, __assign({ size: size, onClick: function (e) { return onClick && onClick(e); }, onMouseDown: function (e) { return onMouseDown && onMouseDown(e); }, onPointerEnter: function () { return setHoveredButtonIndex(index); }, onPointerLeave: function () { return setHoveredButtonIndex(null); }, disabled: state === 'disabled' || buttonState === 'disabled', backgroundColorTheme: backgroundColorTheme }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: iconName, size: size === 'small' ? 20 : 24, fillType: iconFillType, colorKey: getColorKey(buttonState, iconColorTheme) }), tooltipText &&
|
|
107
107
|
isHoveredButton &&
|
|
108
|
-
(0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(S_TooltipWrapper, __assign({ className: "TooltipWrapper", ref: tooltipRef, tooltipPositionCss: tooltipPositionCss, size: size }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: tooltipText, colorOverride: "ui_cpnt_textlabel_button_tooltip", styleTheme: "caption2Regular", colorTheme: "sysTextSecondary" }) })), document.
|
|
108
|
+
(0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(S_TooltipWrapper, __assign({ className: "TooltipWrapper", ref: tooltipRef, tooltipPositionCss: tooltipPositionCss, size: size }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: tooltipText, colorOverride: "ui_cpnt_textlabel_button_tooltip", styleTheme: "caption2Regular", colorTheme: "sysTextSecondary" }) })), document.getElementById('tooltip-root'))] }), iconName + index));
|
|
109
109
|
}) })));
|
|
110
110
|
}
|
|
111
111
|
var S_BasicButtonGroup = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n width: max-content;\n\n & > button:not(:last-child) {\n margin-right: ", ";\n }\n"], ["\n align-items: center;\n display: flex;\n width: max-content;\n\n & > button:not(:last-child) {\n margin-right: ", ";\n }\n"])), function (_a) {
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PDSTextType
|
|
2
|
+
import type { PDSTextType } from '../../../common';
|
|
3
3
|
type BasicFormGroupProps = {
|
|
4
4
|
titleStyleTheme?: 'headingBold' | 'leadParaBold' | 'subTitleBold';
|
|
5
|
-
headerSize?: 'small' | 'medium' | 'large' | 'rlarge';
|
|
6
5
|
titleText?: PDSTextType;
|
|
7
6
|
descText?: PDSTextType;
|
|
8
7
|
captionText?: PDSTextType;
|
|
9
8
|
inputForm?: JSX.Element;
|
|
10
9
|
titleRequirementMode?: 'use' | 'none';
|
|
11
|
-
multilingualBtnMode?: 'use' | 'none';
|
|
12
|
-
multilingualBtnState?: 'normal' | 'disabled';
|
|
13
|
-
multilingualConfig?: MultilingualConfig;
|
|
14
10
|
};
|
|
15
|
-
declare function BasicFormGroup({ titleStyleTheme,
|
|
11
|
+
declare function BasicFormGroup({ titleStyleTheme, titleText, descText, captionText, inputForm, titleRequirementMode }: BasicFormGroupProps): JSX.Element;
|
|
16
12
|
export default BasicFormGroup;
|
|
@@ -19,78 +19,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
-
var react_1 = require("react");
|
|
23
|
-
var MultilingualModal_1 = __importDefault(require("../../panels/MultilingualModal"));
|
|
24
|
-
var components_1 = require("../../../hybrid/components");
|
|
25
22
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
26
|
-
var
|
|
23
|
+
var hybrid_1 = require("../../../hybrid");
|
|
27
24
|
var TextLabel_1 = require("../TextLabel");
|
|
28
25
|
function BasicFormGroup(_a) {
|
|
29
|
-
var _b = _a.titleStyleTheme, titleStyleTheme = _b === void 0 ? 'subTitleBold' : _b,
|
|
30
|
-
|
|
31
|
-
var _h = (0, react_1.useState)(false), hasMultilingualValues = _h[0], setHasMultilingualValues = _h[1];
|
|
32
|
-
var _j = (0, react_1.useState)(function () {
|
|
33
|
-
return JSON.stringify((multilingualConfig === null || multilingualConfig === void 0 ? void 0 : multilingualConfig.initialValues) || {});
|
|
34
|
-
}), hiddenInputValue = _j[0], setHiddenInputValue = _j[1];
|
|
35
|
-
// hiddenInput의 값이 있는지 확인하는 함수
|
|
36
|
-
var checkMultilingualValues = function () {
|
|
37
|
-
try {
|
|
38
|
-
var values = JSON.parse(hiddenInputValue || '{}');
|
|
39
|
-
var hasValues = Object.values(values).some(function (value) { return value && value.toString().trim() !== ''; });
|
|
40
|
-
setHasMultilingualValues(hasValues);
|
|
41
|
-
}
|
|
42
|
-
catch (_a) {
|
|
43
|
-
setHasMultilingualValues(false);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
// initialValues가 변경될 때 hiddenInputValue 업데이트
|
|
47
|
-
(0, react_1.useEffect)(function () {
|
|
48
|
-
var newValue = JSON.stringify((multilingualConfig === null || multilingualConfig === void 0 ? void 0 : multilingualConfig.initialValues) || {});
|
|
49
|
-
setHiddenInputValue(newValue);
|
|
50
|
-
}, [multilingualConfig === null || multilingualConfig === void 0 ? void 0 : multilingualConfig.initialValues]);
|
|
51
|
-
// hiddenInputValue가 변경될 때마다 체크
|
|
52
|
-
(0, react_1.useEffect)(function () {
|
|
53
|
-
checkMultilingualValues();
|
|
54
|
-
}, [hiddenInputValue]);
|
|
55
|
-
var handleLanguageButtonClick = function () {
|
|
56
|
-
// TinyEditor 모드일 때는 모달을 열지 않고 onTinyEditorAction 실행
|
|
57
|
-
if ((multilingualConfig === null || multilingualConfig === void 0 ? void 0 : multilingualConfig.textFieldLineType) === 'tinyeditor') {
|
|
58
|
-
if (multilingualConfig.onTinyEditorAction) {
|
|
59
|
-
multilingualConfig.onTinyEditorAction();
|
|
60
|
-
}
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
setIsMultiLanguageModalOpen(true);
|
|
64
|
-
};
|
|
65
|
-
var handleLanguageModalClose = function () {
|
|
66
|
-
setIsMultiLanguageModalOpen(false);
|
|
67
|
-
};
|
|
68
|
-
var handleHiddenInputUpdate = function (newValue) {
|
|
69
|
-
setHiddenInputValue(newValue);
|
|
70
|
-
};
|
|
71
|
-
return ((0, jsx_runtime_1.jsxs)("div", __assign({ "x-pds-name": "BasicFormGroup", "x-pds-element-type": "component", "x-pds-device-type": "desktop" }, { children: [titleText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(S_TitleTextWrapper, __assign({ "$headerSize": headerSize }, { children: [(0, jsx_runtime_1.jsxs)(S_TitleText, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: titleStyleTheme, colorTheme: "sysTextPrimary" }), titleRequirementMode === 'use' && ((0, jsx_runtime_1.jsx)(S_IconWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_requirement", size: 16, fillType: "line", colorKey: "ui_cpnt_icon_sys_error_01" }) }))] }), multilingualBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(S_MultilingualButtonWrapper, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconFillType: "line", iconName: "ic_translate", baseSize: "small", shapeType: "round", baseColorKey: "ui_cpnt_button_fill_base_default", iconColorKey: hasMultilingualValues
|
|
72
|
-
? 'ui_cpnt_button_icon_primary'
|
|
73
|
-
: 'ui_cpnt_icon_sys_grey_02', state: multilingualBtnState, onClick: multilingualBtnState === 'normal' ? handleLanguageButtonClick : undefined }) }))] })), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" })] })), multilingualBtnMode === 'use' && multilingualConfig && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("input", { type: "hidden", id: "hiddenInput_".concat(multilingualConfig.hiddenInputId), name: multilingualConfig.hiddenInputId, value: hiddenInputValue }), (0, jsx_runtime_1.jsx)(MultilingualModal_1.default, { isOpen: isMultiLanguageModalOpen, onClose: handleLanguageModalClose, config: multilingualConfig, onHiddenInputUpdate: handleHiddenInputUpdate })] })), descText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: descText, styleTheme: "caption1Regular", colorTheme: "sysTextSecondary" }), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_d" })] })), inputForm, captionText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: captionText, styleTheme: "caption1Regular", colorTheme: "sysTextPrimary" })] }))] })));
|
|
26
|
+
var _b = _a.titleStyleTheme, titleStyleTheme = _b === void 0 ? 'subTitleBold' : _b, titleText = _a.titleText, descText = _a.descText, captionText = _a.captionText, inputForm = _a.inputForm, _c = _a.titleRequirementMode, titleRequirementMode = _c === void 0 ? 'none' : _c;
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ "x-pds-name": "BasicFormGroup", "x-pds-element-type": "component", "x-pds-device-type": "desktop" }, { children: [titleText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(S_TitleTextWrapper, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: titleStyleTheme, colorTheme: "sysTextPrimary" }), titleRequirementMode === 'use' && ((0, jsx_runtime_1.jsx)(S_IconWrapper, { children: (0, jsx_runtime_1.jsx)(hybrid_1.Icon, { iconName: "ic_requirement", size: 16, fillType: "line", colorKey: "ui_cpnt_icon_sys_error_01" }) }))] }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" })] })), descText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: descText, styleTheme: "caption1Regular", colorTheme: "sysTextSecondary" }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_d" })] })), inputForm, captionText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: captionText, styleTheme: "caption1Regular", colorTheme: "sysTextPrimary" })] }))] })));
|
|
74
28
|
}
|
|
75
|
-
var S_TitleTextWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n
|
|
76
|
-
|
|
77
|
-
if ($headerSize === 'small')
|
|
78
|
-
return '188px';
|
|
79
|
-
if ($headerSize === 'medium')
|
|
80
|
-
return '188px';
|
|
81
|
-
if ($headerSize === 'large')
|
|
82
|
-
return '432px';
|
|
83
|
-
if ($headerSize === 'rlarge')
|
|
84
|
-
return '100%';
|
|
85
|
-
});
|
|
86
|
-
var S_TitleText = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
|
|
87
|
-
var S_IconWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n height: 16px;\n justify-content: center;\n padding: 0 ", ";\n width: 16px;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n height: 16px;\n justify-content: center;\n padding: 0 ", ";\n width: 16px;\n"])), function (_a) {
|
|
29
|
+
var S_TitleTextWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
|
|
30
|
+
var S_IconWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n height: 16px;\n justify-content: center;\n padding: 0 ", ";\n width: 16px;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n height: 16px;\n justify-content: center;\n padding: 0 ", ";\n width: 16px;\n"])), function (_a) {
|
|
88
31
|
var theme = _a.theme;
|
|
89
32
|
return theme.spacing.spacingA;
|
|
90
33
|
});
|
|
91
|
-
var S_MultilingualButtonWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n margin-left: ", ";\n"], ["\n align-items: center;\n display: flex;\n margin-left: ", ";\n"])), function (_a) {
|
|
92
|
-
var theme = _a.theme;
|
|
93
|
-
return theme.spacing.spacingB;
|
|
94
|
-
});
|
|
95
34
|
exports.default = BasicFormGroup;
|
|
96
|
-
var templateObject_1, templateObject_2
|
|
35
|
+
var templateObject_1, templateObject_2;
|
|
@@ -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;
|
|
@@ -68,8 +68,8 @@ var profileImageBorderColorTheme = {
|
|
|
68
68
|
transparent: 'ui_cpnt_list_chatbubble_base_transparent'
|
|
69
69
|
};
|
|
70
70
|
function ChatBubbleListItem(_a) {
|
|
71
|
-
var titleText = _a.titleText, imageSrc = _a.imageSrc, _b = _a.hoverMode, hoverMode = _b === void 0 ? 'use' : _b, styleTheme = _a.styleTheme, _c = _a.colorTheme, colorTheme = _c === void 0 ? 'grey' : _c, _d = _a.timeMode, timeMode = _d === void 0 ? 'use' : _d, timeText = _a.timeText,
|
|
72
|
-
var
|
|
71
|
+
var titleText = _a.titleText, imageSrc = _a.imageSrc, _b = _a.hoverMode, hoverMode = _b === void 0 ? 'use' : _b, styleTheme = _a.styleTheme, _c = _a.colorTheme, colorTheme = _c === void 0 ? 'grey' : _c, _d = _a.timeMode, timeMode = _d === void 0 ? 'use' : _d, timeText = _a.timeText, _e = _a.countMode, countMode = _e === void 0 ? 'none' : _e, countText = _a.countText, contextMenuOptionArray = _a.contextMenuOptionArray, _f = _a.contextMenuState, contextMenuState = _f === void 0 ? 'normal' : _f, children = _a.children, _g = _a.downloadIBtnMode, downloadIBtnMode = _g === void 0 ? 'none' : _g, onClickContextMenuItem = _a.onClickContextMenuItem, onClickDownloadIBtn = _a.onClickDownloadIBtn;
|
|
72
|
+
var _h = (0, react_1.useState)(false), isContextMenuOpen = _h[0], setIsContextMenuOpen = _h[1];
|
|
73
73
|
var contextMenuRef = (0, react_1.useRef)(null);
|
|
74
74
|
var chatBody = document.querySelector('#chatMessageBox');
|
|
75
75
|
var rect = chatBody === null || chatBody === void 0 ? void 0 : chatBody.getBoundingClientRect();
|
|
@@ -80,21 +80,26 @@ function ChatBubbleListItem(_a) {
|
|
|
80
80
|
styleTheme === 'other_avatar' ||
|
|
81
81
|
styleTheme === 'other_avatar_sub';
|
|
82
82
|
var titleTextColorTheme = 'sysTextPrimary';
|
|
83
|
+
var countTextColorTheme = 'sysTextPrimary';
|
|
83
84
|
switch (colorTheme) {
|
|
84
85
|
case 'grey': {
|
|
85
86
|
titleTextColorTheme = 'sysTextPrimary';
|
|
87
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
86
88
|
break;
|
|
87
89
|
}
|
|
88
90
|
case 'brand_primary': {
|
|
89
91
|
titleTextColorTheme = 'usrTextBrandPrimary';
|
|
92
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
90
93
|
break;
|
|
91
94
|
}
|
|
92
95
|
case 'translucent_white': {
|
|
93
96
|
titleTextColorTheme = 'sysTextBlack';
|
|
97
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
94
98
|
break;
|
|
95
99
|
}
|
|
96
100
|
case 'translucent_black': {
|
|
97
101
|
titleTextColorTheme = 'sysTextWhite';
|
|
102
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
98
103
|
}
|
|
99
104
|
}
|
|
100
105
|
/**
|
|
@@ -135,7 +140,7 @@ function ChatBubbleListItem(_a) {
|
|
|
135
140
|
}
|
|
136
141
|
setIsContextMenuOpen(false);
|
|
137
142
|
};
|
|
138
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ChatBubbleListItem, __assign({ "x-pds-name": "ChatBubbleListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", isMe: isMe }, { children: [hasLeftSpacing ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isProfileImageShow ? ((0, jsx_runtime_1.jsx)(S_ImageViewWrapper, __assign({ isOtherAvatarImpact: styleTheme === 'other_avatar_impact', colorTheme: colorTheme }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { shapeType: "circular", ratio: "1_1", scaleType: "cover", src: imageSrc, width: styleTheme === 'other_avatar_impact' ? 36 : 38 }) }))) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_g", spacingType: "width" })) })) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [isTitleTextShow && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: "caption1Bold", colorTheme: titleTextColorTheme }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" })] })), (0, jsx_runtime_1.jsxs)(S_ChatBubbleBox, { children: [(0, jsx_runtime_1.jsxs)(S_ChatBubbleWrapper, __assign({ isMe: isMe }, { children: [isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [downloadIBtnMode === 'use' && (0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { shapeType: "circular", iconFillType: "fill", baseColorKey: "ui_cpnt_list_chatbubble_download_button_base", iconColorKey: "ui_cpnt_button_icon_white", iconSize: 16, iconName: "ic_download", onClick: onClickDownloadIBtn })) })), (0, jsx_runtime_1.jsxs)(S_TimeWrapper, __assign({ isMe: isMe }, { children: [
|
|
143
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ChatBubbleListItem, __assign({ "x-pds-name": "ChatBubbleListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", isMe: isMe }, { children: [hasLeftSpacing ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isProfileImageShow ? ((0, jsx_runtime_1.jsx)(S_ImageViewWrapper, __assign({ isOtherAvatarImpact: styleTheme === 'other_avatar_impact', colorTheme: colorTheme }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { shapeType: "circular", ratio: "1_1", scaleType: "cover", src: imageSrc, width: styleTheme === 'other_avatar_impact' ? 36 : 38 }) }))) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_g", spacingType: "width" })) })) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [isTitleTextShow && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: "caption1Bold", colorTheme: titleTextColorTheme }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" })] })), (0, jsx_runtime_1.jsxs)(S_ChatBubbleBox, { children: [(0, jsx_runtime_1.jsxs)(S_ChatBubbleWrapper, __assign({ isMe: isMe }, { children: [isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [downloadIBtnMode === 'use' && (0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { shapeType: "circular", iconFillType: "fill", baseColorKey: "ui_cpnt_list_chatbubble_download_button_base", iconColorKey: "ui_cpnt_button_icon_white", iconSize: 16, iconName: "ic_download", onClick: onClickDownloadIBtn })) })), (0, jsx_runtime_1.jsxs)(S_TimeWrapper, __assign({ isMe: isMe }, { children: [countMode === 'use' && ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: countText, styleTheme: "caption2Regular", colorTheme: countTextColorTheme })), timeMode === 'use' && timeText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: timeText, styleTheme: "caption2Regular", colorTheme: "sysTextTertiary", singleLineMode: "use" })] }))] }))] })), (0, jsx_runtime_1.jsx)(ChatBubble_1.default, __assign({ colorTheme: colorTheme, tailType: chatBubbleTailType[styleTheme] }, { children: children })), !isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [downloadIBtnMode === 'use' && (0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { shapeType: "circular", iconFillType: "fill", baseColorKey: "ui_cpnt_list_chatbubble_download_button_base", iconColorKey: "ui_cpnt_button_icon_white", iconSize: 16, iconName: "ic_download", onClick: onClickDownloadIBtn })) })), (0, jsx_runtime_1.jsxs)(S_TimeWrapper, __assign({ isMe: isMe }, { children: [countMode === 'use' && ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: countText, styleTheme: "caption2Regular", colorTheme: countTextColorTheme })), timeMode === 'use' && timeText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: timeText, styleTheme: "caption2Regular", colorTheme: "sysTextTertiary", singleLineMode: "use" })] }))] }))] }))] })), hoverMode === 'use' && !isMe && ((0, jsx_runtime_1.jsx)(S_SeeMoreButton, __assign({ isContextMenuOpen: isContextMenuOpen, hoverMode: hoverMode, ref: contextMenuRef }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "xsmall", iconFillType: "fill", iconSize: 20, iconName: "ic_more", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: "ui_cpnt_button_icon_enabled", onClick: handleMoreButtonClick }) })))] })] }), (0, jsx_runtime_1.jsx)(Popup_1.PopupProvider, { children: (0, jsx_runtime_1.jsx)(Popup_1.Popup, __assign({ targetRef: contextMenuRef, isOpen: isContextMenuOpen, placement: "top-end", wrapperHeight: rect === null || rect === void 0 ? void 0 : rect.height, onClickOutside: function () { return setIsContextMenuOpen(false); } }, { children: (0, jsx_runtime_1.jsx)(ContextMenu_1.ContextMenu, { children: contextMenuOptionArray === null || contextMenuOptionArray === void 0 ? void 0 : contextMenuOptionArray.map(function (el) { return ((0, jsx_runtime_1.jsx)(ContextMenuItem_1.ContextMenuItem, { option: el, onClick: handleContextMenuItemClick, state: contextMenuState }, el.value)); }) }) })) })] })) }));
|
|
139
144
|
}
|
|
140
145
|
var MyChatBubbleListItem = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
|
|
141
146
|
var theme = _a.theme;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Props as ChatListProps } from './ChatList';
|
|
3
|
-
declare const Body: React.ForwardRefExoticComponent<Pick<ChatListProps, "children" | "scrollVisibleType" | "
|
|
3
|
+
declare const Body: React.ForwardRefExoticComponent<Pick<ChatListProps, "children" | "scrollVisibleType" | "bodyMBtnText" | "bodySpacingMode" | "bodyChildren"> & {
|
|
4
4
|
isSubmitted: boolean;
|
|
5
5
|
callBackAfterScrollToBottom: () => void;
|
|
6
6
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -8,8 +8,6 @@ import { BasicList } from './BasicList';
|
|
|
8
8
|
import { BasicListItem } from './BasicListItem';
|
|
9
9
|
import { BlogTextField } from './BlogTextField';
|
|
10
10
|
import { BodyTextGroup } from './BodyTextGroup';
|
|
11
|
-
import { BoxItem } from './BoxItem';
|
|
12
|
-
import { Calendar } from './Calendar';
|
|
13
11
|
import { Card } from './Card';
|
|
14
12
|
import { CardList } from './CardList';
|
|
15
13
|
import { ChatBubbleListItem } from './ChatBubbleListItem';
|
|
@@ -48,4 +46,4 @@ import { UploadTextButton } from './UploadTextButton';
|
|
|
48
46
|
import { UserDesktopNavBar } from './UserDesktopNavBar';
|
|
49
47
|
import { UserDesktopSideTab } from './UserDesktopSideTab';
|
|
50
48
|
import { UserDesktopTabBar } from './UserDesktopTabBar';
|
|
51
|
-
export { AdminList, AdminListHeader, AdminListItem, BasicButtonGroup, BasicChatListItem, BasicFormGroup, BasicList, BasicListItem, BlogTextField, BodyTextGroup,
|
|
49
|
+
export { AdminList, AdminListHeader, AdminListItem, BasicButtonGroup, BasicChatListItem, BasicFormGroup, BasicList, BasicListItem, BlogTextField, BodyTextGroup, Card, CardList, ChatBubbleListItem, ChatList, Checkbox, Chip, ContextMenu, ContextMenuItem, DesktopAlertDialog, DesktopHeaderBar, DesktopTabBar, Dropdown, DynamicDesktopNavBar, DynamicDesktopNavBarTemplates, EditApplyTextField, FilterBar, FloatingActionButton, Hero, HorizontalFormGroup, IconButton, ImageSlide, LottieReactionButton, MainButton, PageTitleTextGroup, Radio, ReactionButton, SegmentedButtonGroup, Select, Slider, StatusBlock, TextButton, TextField, TextLabel, UploadIconButton, UploadMainButton, UploadTextButton, UserDesktopNavBar, UserDesktopTabBar, UserDesktopSideTab };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserDesktopSideTab = exports.UserDesktopTabBar = exports.UserDesktopNavBar = exports.UploadTextButton = exports.UploadMainButton = exports.UploadIconButton = exports.TextLabel = exports.TextField = exports.TextButton = exports.StatusBlock = exports.Slider = exports.Select = exports.SegmentedButtonGroup = exports.ReactionButton = exports.Radio = exports.PageTitleTextGroup = exports.MainButton = exports.LottieReactionButton = exports.ImageSlide = exports.IconButton = exports.HorizontalFormGroup = exports.Hero = exports.FloatingActionButton = exports.FilterBar = exports.EditApplyTextField = exports.DynamicDesktopNavBarTemplates = exports.DynamicDesktopNavBar = exports.Dropdown = exports.DesktopTabBar = exports.DesktopHeaderBar = exports.DesktopAlertDialog = exports.ContextMenuItem = exports.ContextMenu = exports.Chip = exports.Checkbox = exports.ChatList = exports.ChatBubbleListItem = exports.CardList = exports.Card = exports.
|
|
4
|
-
exports.Calendar = void 0;
|
|
3
|
+
exports.UserDesktopSideTab = exports.UserDesktopTabBar = exports.UserDesktopNavBar = exports.UploadTextButton = exports.UploadMainButton = exports.UploadIconButton = exports.TextLabel = exports.TextField = exports.TextButton = exports.StatusBlock = exports.Slider = exports.Select = exports.SegmentedButtonGroup = exports.ReactionButton = exports.Radio = exports.PageTitleTextGroup = exports.MainButton = exports.LottieReactionButton = exports.ImageSlide = exports.IconButton = exports.HorizontalFormGroup = exports.Hero = exports.FloatingActionButton = exports.FilterBar = exports.EditApplyTextField = exports.DynamicDesktopNavBarTemplates = exports.DynamicDesktopNavBar = exports.Dropdown = exports.DesktopTabBar = exports.DesktopHeaderBar = exports.DesktopAlertDialog = exports.ContextMenuItem = exports.ContextMenu = exports.Chip = exports.Checkbox = exports.ChatList = exports.ChatBubbleListItem = exports.CardList = exports.Card = exports.BodyTextGroup = exports.BlogTextField = exports.BasicListItem = exports.BasicList = exports.BasicFormGroup = exports.BasicChatListItem = exports.BasicButtonGroup = exports.AdminListItem = exports.AdminListHeader = exports.AdminList = void 0;
|
|
5
4
|
var AdminList_1 = require("./AdminList");
|
|
6
5
|
Object.defineProperty(exports, "AdminList", { enumerable: true, get: function () { return AdminList_1.AdminList; } });
|
|
7
6
|
var AdminListHeader_1 = require("./AdminListHeader");
|
|
@@ -22,10 +21,6 @@ var BlogTextField_1 = require("./BlogTextField");
|
|
|
22
21
|
Object.defineProperty(exports, "BlogTextField", { enumerable: true, get: function () { return BlogTextField_1.BlogTextField; } });
|
|
23
22
|
var BodyTextGroup_1 = require("./BodyTextGroup");
|
|
24
23
|
Object.defineProperty(exports, "BodyTextGroup", { enumerable: true, get: function () { return BodyTextGroup_1.BodyTextGroup; } });
|
|
25
|
-
var BoxItem_1 = require("./BoxItem");
|
|
26
|
-
Object.defineProperty(exports, "BoxItem", { enumerable: true, get: function () { return BoxItem_1.BoxItem; } });
|
|
27
|
-
var Calendar_1 = require("./Calendar");
|
|
28
|
-
Object.defineProperty(exports, "Calendar", { enumerable: true, get: function () { return Calendar_1.Calendar; } });
|
|
29
24
|
var Card_1 = require("./Card");
|
|
30
25
|
Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return Card_1.Card; } });
|
|
31
26
|
var CardList_1 = require("./CardList");
|
|
@@ -8,5 +8,5 @@ export { ContainersBox as WSContainersBox } from './layout/LayoutWS/ContainersBo
|
|
|
8
8
|
export { LayoutWT } from './layout/LayoutWT';
|
|
9
9
|
export { GlobalMenuContainer as WTGlobalMenuContainer } from './layout/LayoutWT/Containers';
|
|
10
10
|
export { ContainersBox as WTContainersBox } from './layout/LayoutWT/ContainersBox';
|
|
11
|
-
export { AdminList as D_AdminList, AdminListHeader as D_AdminListHeader, AdminListItem as D_AdminListItem, BasicButtonGroup as D_BasicButtonGroup, BasicChatListItem as D_BasicChatListItem, BasicFormGroup as D_BasicFormGroup, BasicList as D_BasicList, BasicListItem as D_BasicListItem, BlogTextField as D_BlogTextField, BodyTextGroup as D_BodyTextGroup,
|
|
11
|
+
export { AdminList as D_AdminList, AdminListHeader as D_AdminListHeader, AdminListItem as D_AdminListItem, BasicButtonGroup as D_BasicButtonGroup, BasicChatListItem as D_BasicChatListItem, BasicFormGroup as D_BasicFormGroup, BasicList as D_BasicList, BasicListItem as D_BasicListItem, BlogTextField as D_BlogTextField, BodyTextGroup as D_BodyTextGroup, Card as D_Card, CardList as D_CardList, ChatBubbleListItem as D_ChatBubbleListItem, ChatList as D_ChatList, Checkbox as D_Checkbox, Chip as D_Chip, ContextMenu as D_ContextMenu, ContextMenuItem as D_ContextMenuItem, DesktopAlertDialog as D_DesktopAlertDialog, DesktopHeaderBar as D_DesktopHeaderBar, DesktopTabBar as D_DesktopTabBar, Dropdown as D_Dropdown, DynamicDesktopNavBar as D_DynamicDesktopNavBar, DynamicDesktopNavBarTemplates as D_DynamicDesktopNavBarTemplates, EditApplyTextField as D_EditApplyTextField, FilterBar as D_FilterBar, FloatingActionButton as D_FloatingActionButton, Hero as D_Hero, HorizontalFormGroup as D_HorizontalFormGroup, IconButton as D_IconButton, ImageSlide as D_ImageSlide, LottieReactionButton as D_LottieReactionButton, MainButton as D_MainButton, PageTitleTextGroup as D_PageTitleTextGroup, Radio as D_Radio, ReactionButton as D_ReactionButton, SegmentedButtonGroup as D_SegmentedButtonGroup, Select as D_Select, Slider as D_Slider, StatusBlock as D_StatusBlock, TextButton as D_TextButton, TextField as D_TextField, TextLabel as D_TextLabel, UploadIconButton as D_UploadIconButton, UploadMainButton as D_UploadMainButton, UploadTextButton as D_UploadTextButton, UserDesktopNavBar as D_UserDesktopNavBar, UserDesktopTabBar as D_UserDesktopTabBar, UserDesktopSideTab as D_UserDesktopSideTab } from './components';
|
|
12
12
|
export { AnnotationSheet as D_AnnotationSheet, ContentSheet as D_ContentSheet, DesktopBasicModal as D_DesktopBasicModal, DesktopBasicModalWithTab as D_DesktopBasicModalWithTab, DesktopBasicModalWithTabInfoType, DesktopHeadlessModal as D_DesktopHeadlessModal, DesktopTutorialModal as D_DesktopTutorialModal, DesktopTutorialModalInfoType, SectionSheet as D_SectionSheet } from './panels';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.D_Slider = exports.D_Select = exports.D_SegmentedButtonGroup = exports.D_ReactionButton = exports.D_Radio = exports.D_PageTitleTextGroup = exports.D_MainButton = exports.D_LottieReactionButton = exports.D_ImageSlide = exports.D_IconButton = exports.D_HorizontalFormGroup = exports.D_Hero = exports.D_FloatingActionButton = exports.D_FilterBar = exports.D_EditApplyTextField = exports.D_DynamicDesktopNavBarTemplates = exports.D_DynamicDesktopNavBar = exports.D_Dropdown = exports.D_DesktopTabBar = exports.D_DesktopHeaderBar = exports.D_DesktopAlertDialog = exports.D_ContextMenuItem = exports.D_ContextMenu = exports.D_Chip = exports.D_Checkbox = exports.D_ChatList = exports.D_ChatBubbleListItem = exports.D_CardList = exports.D_Card = exports.
|
|
4
|
-
exports.D_SectionSheet = exports.D_DesktopTutorialModal = exports.D_DesktopHeadlessModal = exports.D_DesktopBasicModalWithTab = exports.D_DesktopBasicModal = exports.D_ContentSheet = exports.D_AnnotationSheet = exports.
|
|
3
|
+
exports.D_StatusBlock = exports.D_Slider = exports.D_Select = exports.D_SegmentedButtonGroup = exports.D_ReactionButton = exports.D_Radio = exports.D_PageTitleTextGroup = exports.D_MainButton = exports.D_LottieReactionButton = exports.D_ImageSlide = exports.D_IconButton = exports.D_HorizontalFormGroup = exports.D_Hero = exports.D_FloatingActionButton = exports.D_FilterBar = exports.D_EditApplyTextField = exports.D_DynamicDesktopNavBarTemplates = exports.D_DynamicDesktopNavBar = exports.D_Dropdown = exports.D_DesktopTabBar = exports.D_DesktopHeaderBar = exports.D_DesktopAlertDialog = exports.D_ContextMenuItem = exports.D_ContextMenu = exports.D_Chip = exports.D_Checkbox = exports.D_ChatList = exports.D_ChatBubbleListItem = exports.D_CardList = exports.D_Card = exports.D_BodyTextGroup = exports.D_BlogTextField = exports.D_BasicListItem = exports.D_BasicList = exports.D_BasicFormGroup = exports.D_BasicChatListItem = exports.D_BasicButtonGroup = exports.D_AdminListItem = exports.D_AdminListHeader = exports.D_AdminList = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WHContainersBox = exports.LayoutWH = exports.WFContainersBox = exports.LayoutWF = void 0;
|
|
4
|
+
exports.D_SectionSheet = exports.D_DesktopTutorialModal = exports.D_DesktopHeadlessModal = exports.D_DesktopBasicModalWithTab = exports.D_DesktopBasicModal = exports.D_ContentSheet = exports.D_AnnotationSheet = exports.D_UserDesktopSideTab = exports.D_UserDesktopTabBar = exports.D_UserDesktopNavBar = exports.D_UploadTextButton = exports.D_UploadMainButton = exports.D_UploadIconButton = exports.D_TextLabel = exports.D_TextField = exports.D_TextButton = void 0;
|
|
5
5
|
// layoutWF
|
|
6
6
|
var LayoutWF_1 = require("./layout/LayoutWF");
|
|
7
7
|
Object.defineProperty(exports, "LayoutWF", { enumerable: true, get: function () { return LayoutWF_1.LayoutWF; } });
|
|
@@ -38,7 +38,6 @@ Object.defineProperty(exports, "D_BasicList", { enumerable: true, get: function
|
|
|
38
38
|
Object.defineProperty(exports, "D_BasicListItem", { enumerable: true, get: function () { return components_1.BasicListItem; } });
|
|
39
39
|
Object.defineProperty(exports, "D_BlogTextField", { enumerable: true, get: function () { return components_1.BlogTextField; } });
|
|
40
40
|
Object.defineProperty(exports, "D_BodyTextGroup", { enumerable: true, get: function () { return components_1.BodyTextGroup; } });
|
|
41
|
-
Object.defineProperty(exports, "D_BoxItem", { enumerable: true, get: function () { return components_1.BoxItem; } });
|
|
42
41
|
Object.defineProperty(exports, "D_Card", { enumerable: true, get: function () { return components_1.Card; } });
|
|
43
42
|
Object.defineProperty(exports, "D_CardList", { enumerable: true, get: function () { return components_1.CardList; } });
|
|
44
43
|
Object.defineProperty(exports, "D_ChatBubbleListItem", { enumerable: true, get: function () { return components_1.ChatBubbleListItem; } });
|
|
@@ -78,7 +77,6 @@ Object.defineProperty(exports, "D_UploadTextButton", { enumerable: true, get: fu
|
|
|
78
77
|
Object.defineProperty(exports, "D_UserDesktopNavBar", { enumerable: true, get: function () { return components_1.UserDesktopNavBar; } });
|
|
79
78
|
Object.defineProperty(exports, "D_UserDesktopTabBar", { enumerable: true, get: function () { return components_1.UserDesktopTabBar; } });
|
|
80
79
|
Object.defineProperty(exports, "D_UserDesktopSideTab", { enumerable: true, get: function () { return components_1.UserDesktopSideTab; } });
|
|
81
|
-
Object.defineProperty(exports, "D_Calendar", { enumerable: true, get: function () { return components_1.Calendar; } });
|
|
82
80
|
// panels
|
|
83
81
|
var panels_1 = require("./panels");
|
|
84
82
|
Object.defineProperty(exports, "D_AnnotationSheet", { enumerable: true, get: function () { return panels_1.AnnotationSheet; } });
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PDSTextType } from '../../../common/types';
|
|
3
2
|
type DesktopHeadlessModalProps = {
|
|
4
3
|
body: React.ReactNode;
|
|
5
|
-
size?: 'large' | 'medium' | 'small' | 'rlarge'
|
|
4
|
+
size?: 'large' | 'medium' | 'small' | 'rlarge';
|
|
6
5
|
dimmedClickCloseMode?: 'use' | 'none';
|
|
7
6
|
scrollVisibleType?: 'hidden' | 'moving' | 'visible';
|
|
8
|
-
footerMode?: 'use' | 'none';
|
|
9
|
-
btnMode?: 'mbtn_amount1' | 'mbtn_amount2' | 'mbtn_amount3';
|
|
10
|
-
mBtn1Text?: PDSTextType;
|
|
11
|
-
mBtn2Text?: PDSTextType;
|
|
12
|
-
mBtn3Text?: PDSTextType;
|
|
13
|
-
mBtn1State?: 'normal' | 'disabled';
|
|
14
|
-
mBtn2State?: 'normal' | 'disabled';
|
|
15
|
-
mBtn3State?: 'normal' | 'disabled';
|
|
16
|
-
mBtn1Type?: 'button' | 'submit';
|
|
17
|
-
mBtn2Type?: 'button' | 'submit';
|
|
18
|
-
mBtn3Type?: 'button' | 'submit';
|
|
19
|
-
onClickMBtn1?: () => void;
|
|
20
|
-
onClickMBtn2?: () => void;
|
|
21
|
-
onClickMBtn3?: () => void;
|
|
22
7
|
onClose?: () => void;
|
|
23
8
|
};
|
|
24
|
-
declare function DesktopHeadlessModal({ body, size, dimmedClickCloseMode, scrollVisibleType, onClose
|
|
9
|
+
declare function DesktopHeadlessModal({ body, size, dimmedClickCloseMode, scrollVisibleType, onClose }: DesktopHeadlessModalProps): import("react").ReactPortal;
|
|
25
10
|
export default DesktopHeadlessModal;
|