agora-ui-foundation 1.0.0
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/lib/components/Icon-text/index.css +35 -0
- package/lib/components/Icon-text/index.d.ts +25 -0
- package/lib/components/Icon-text/index.js +78 -0
- package/lib/components/Icon-text/index.stories.d.ts +5 -0
- package/lib/components/Icon-text/index.stories.js +69 -0
- package/lib/components/action-bar/board/index.d.ts +4 -0
- package/lib/components/action-bar/board/index.js +34 -0
- package/lib/components/action-bar/breakout-room/index.d.ts +4 -0
- package/lib/components/action-bar/breakout-room/index.js +32 -0
- package/lib/components/action-bar/chat/index.css +67 -0
- package/lib/components/action-bar/chat/index.d.ts +5 -0
- package/lib/components/action-bar/chat/index.js +134 -0
- package/lib/components/action-bar/device/index.css +149 -0
- package/lib/components/action-bar/device/index.d.ts +9 -0
- package/lib/components/action-bar/device/index.js +419 -0
- package/lib/components/action-bar/end/index.d.ts +1 -0
- package/lib/components/action-bar/end/index.js +26 -0
- package/lib/components/action-bar/index.css +92 -0
- package/lib/components/action-bar/index.d.ts +20 -0
- package/lib/components/action-bar/index.js +166 -0
- package/lib/components/action-bar/index.stories.d.ts +6 -0
- package/lib/components/action-bar/index.stories.js +42 -0
- package/lib/components/action-bar/item-placement.d.ts +8 -0
- package/lib/components/action-bar/item-placement.js +18 -0
- package/lib/components/action-bar/item.d.ts +21 -0
- package/lib/components/action-bar/item.js +113 -0
- package/lib/components/action-bar/more/index.d.ts +4 -0
- package/lib/components/action-bar/more/index.js +48 -0
- package/lib/components/action-bar/participants/index.d.ts +4 -0
- package/lib/components/action-bar/participants/index.js +55 -0
- package/lib/components/action-bar/record/index.css +15 -0
- package/lib/components/action-bar/record/index.d.ts +5 -0
- package/lib/components/action-bar/record/index.js +34 -0
- package/lib/components/action-bar/respond/index.d.ts +4 -0
- package/lib/components/action-bar/respond/index.js +32 -0
- package/lib/components/action-bar/screen-share/index.d.ts +4 -0
- package/lib/components/action-bar/screen-share/index.js +32 -0
- package/lib/components/action-bar/security/index.d.ts +4 -0
- package/lib/components/action-bar/security/index.js +110 -0
- package/lib/components/action-bar/settings/index.d.ts +4 -0
- package/lib/components/action-bar/settings/index.js +32 -0
- package/lib/components/action-phone/index.css +55 -0
- package/lib/components/action-phone/index.d.ts +12 -0
- package/lib/components/action-phone/index.js +78 -0
- package/lib/components/action-phone/index.stories.d.ts +11 -0
- package/lib/components/action-phone/index.stories.js +55 -0
- package/lib/components/avatar/helper.d.ts +2 -0
- package/lib/components/avatar/helper.js +46 -0
- package/lib/components/avatar/index.css +9 -0
- package/lib/components/avatar/index.d.ts +11 -0
- package/lib/components/avatar/index.js +40 -0
- package/lib/components/avatar/index.stories.d.ts +13 -0
- package/lib/components/avatar/index.stories.js +50 -0
- package/lib/components/avatar-icon/index.css +13 -0
- package/lib/components/avatar-icon/index.d.ts +8 -0
- package/lib/components/avatar-icon/index.js +33 -0
- package/lib/components/avatar-icon/index.stories.d.ts +12 -0
- package/lib/components/avatar-icon/index.stories.js +37 -0
- package/lib/components/blinking-box/index.css +85 -0
- package/lib/components/blinking-box/index.d.ts +13 -0
- package/lib/components/blinking-box/index.js +47 -0
- package/lib/components/blinking-box/index.stories.d.ts +5 -0
- package/lib/components/blinking-box/index.stories.js +121 -0
- package/lib/components/button/action.d.ts +11 -0
- package/lib/components/button/action.js +50 -0
- package/lib/components/button/index.css +576 -0
- package/lib/components/button/index.d.ts +87 -0
- package/lib/components/button/index.js +132 -0
- package/lib/components/button/index.stories.d.ts +6 -0
- package/lib/components/button/index.stories.js +212 -0
- package/lib/components/card/index.css +74 -0
- package/lib/components/card/index.d.ts +13 -0
- package/lib/components/card/index.js +41 -0
- package/lib/components/chat-manager/index.css +39 -0
- package/lib/components/chat-manager/index.d.ts +10 -0
- package/lib/components/chat-manager/index.js +156 -0
- package/lib/components/chat-wrapper/chat-top.d.ts +2 -0
- package/lib/components/chat-wrapper/chat-top.js +59 -0
- package/lib/components/chat-wrapper/index.css +96 -0
- package/lib/components/chat-wrapper/index.d.ts +26 -0
- package/lib/components/chat-wrapper/index.js +228 -0
- package/lib/components/chat-wrapper/index.stories.d.ts +5 -0
- package/lib/components/chat-wrapper/index.stories.js +56 -0
- package/lib/components/checkbox/index.css +76 -0
- package/lib/components/checkbox/index.d.ts +13 -0
- package/lib/components/checkbox/index.js +93 -0
- package/lib/components/checkbox/index.stories.d.ts +6 -0
- package/lib/components/checkbox/index.stories.js +43 -0
- package/lib/components/confirm-content/index.css +79 -0
- package/lib/components/confirm-content/index.d.ts +48 -0
- package/lib/components/confirm-content/index.js +123 -0
- package/lib/components/confirm-content/index.stories.d.ts +4 -0
- package/lib/components/confirm-content/index.stories.js +25 -0
- package/lib/components/device-pretest/index.css +99 -0
- package/lib/components/device-pretest/index.d.ts +30 -0
- package/lib/components/device-pretest/index.js +134 -0
- package/lib/components/device-pretest-settings/index.css +0 -0
- package/lib/components/device-pretest-settings/index.d.ts +28 -0
- package/lib/components/device-pretest-settings/index.js +64 -0
- package/lib/components/device-settings/audio-settings/audio-settings.d.ts +3 -0
- package/lib/components/device-settings/audio-settings/audio-settings.js +227 -0
- package/lib/components/device-settings/audio-settings/index.css +113 -0
- package/lib/components/device-settings/audio-settings/microphone-detection.d.ts +2 -0
- package/lib/components/device-settings/audio-settings/microphone-detection.js +71 -0
- package/lib/components/device-settings/audio-settings/speaker-detection.d.ts +2 -0
- package/lib/components/device-settings/audio-settings/speaker-detection.js +71 -0
- package/lib/components/device-settings/common/advance-link.d.ts +3 -0
- package/lib/components/device-settings/common/advance-link.js +27 -0
- package/lib/components/device-settings/common/index.css +27 -0
- package/lib/components/device-settings/common/my-i18n.d.ts +52 -0
- package/lib/components/device-settings/common/my-i18n.js +62 -0
- package/lib/components/device-settings/common/useNamespace.d.ts +15 -0
- package/lib/components/device-settings/common/useNamespace.js +66 -0
- package/lib/components/device-settings/dialog-wrapper.d.ts +2 -0
- package/lib/components/device-settings/dialog-wrapper.js +59 -0
- package/lib/components/device-settings/index.css +89 -0
- package/lib/components/device-settings/index.stories.d.ts +6 -0
- package/lib/components/device-settings/index.stories.js +26 -0
- package/lib/components/device-settings/video-settings/camera-select.d.ts +2 -0
- package/lib/components/device-settings/video-settings/camera-select.js +41 -0
- package/lib/components/device-settings/video-settings/index.css +94 -0
- package/lib/components/device-settings/video-settings/local-video-player.d.ts +2 -0
- package/lib/components/device-settings/video-settings/local-video-player.js +16 -0
- package/lib/components/device-settings/video-settings/mirror-toggle.d.ts +2 -0
- package/lib/components/device-settings/video-settings/mirror-toggle.js +64 -0
- package/lib/components/device-settings/video-settings/video-settings-basic.d.ts +2 -0
- package/lib/components/device-settings/video-settings/video-settings-basic.js +86 -0
- package/lib/components/device-settings/video-settings/video-settings.d.ts +3 -0
- package/lib/components/device-settings/video-settings/video-settings.js +76 -0
- package/lib/components/device-settings/view.d.ts +3 -0
- package/lib/components/device-settings/view.js +84 -0
- package/lib/components/dialog/basic-confirm-dialog.css +34 -0
- package/lib/components/dialog/basic-confirm-dialog.d.ts +14 -0
- package/lib/components/dialog/basic-confirm-dialog.js +52 -0
- package/lib/components/dialog/class-dialog.css +41 -0
- package/lib/components/dialog/class-dialog.d.ts +51 -0
- package/lib/components/dialog/class-dialog.js +81 -0
- package/lib/components/dialog/confirm-dialog.css +38 -0
- package/lib/components/dialog/confirm-dialog.d.ts +70 -0
- package/lib/components/dialog/confirm-dialog.js +101 -0
- package/lib/components/dialog/confirm.d.ts +46 -0
- package/lib/components/dialog/confirm.js +159 -0
- package/lib/components/dialog/draggable-dialog.css +17 -0
- package/lib/components/dialog/draggable-dialog.d.ts +10 -0
- package/lib/components/dialog/draggable-dialog.js +48 -0
- package/lib/components/dialog/global-dialog.css +63 -0
- package/lib/components/dialog/global-dialog.d.ts +11 -0
- package/lib/components/dialog/global-dialog.js +49 -0
- package/lib/components/dialog/index.css +152 -0
- package/lib/components/dialog/index.d.ts +70 -0
- package/lib/components/dialog/index.js +117 -0
- package/lib/components/dialog/index.stories.d.ts +4 -0
- package/lib/components/dialog/index.stories.js +159 -0
- package/lib/components/divider/index.css +39 -0
- package/lib/components/divider/index.d.ts +11 -0
- package/lib/components/divider/index.js +65 -0
- package/lib/components/divider/index.stories.d.ts +6 -0
- package/lib/components/divider/index.stories.js +42 -0
- package/lib/components/drop-menu/index.css +93 -0
- package/lib/components/drop-menu/index.d.ts +23 -0
- package/lib/components/drop-menu/index.js +74 -0
- package/lib/components/drop-menu/index.stories.d.ts +6 -0
- package/lib/components/drop-menu/index.stories.js +108 -0
- package/lib/components/icon/index.d.ts +12 -0
- package/lib/components/icon/index.js +49 -0
- package/lib/components/icon/index.stories.d.ts +6 -0
- package/lib/components/icon/index.stories.js +55 -0
- package/lib/components/icon/mic.d.ts +7 -0
- package/lib/components/icon/mic.js +63 -0
- package/lib/components/icon/paths/fcr_alf2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_alf2.js +25 -0
- package/lib/components/icon/paths/fcr_all_mute.d.ts +3 -0
- package/lib/components/icon/paths/fcr_all_mute.js +22 -0
- package/lib/components/icon/paths/fcr_all_unmute.d.ts +3 -0
- package/lib/components/icon/paths/fcr_all_unmute.js +22 -0
- package/lib/components/icon/paths/fcr_allleave.d.ts +3 -0
- package/lib/components/icon/paths/fcr_allleave.js +34 -0
- package/lib/components/icon/paths/fcr_angle_tips.d.ts +3 -0
- package/lib/components/icon/paths/fcr_angle_tips.js +38 -0
- package/lib/components/icon/paths/fcr_attach.d.ts +3 -0
- package/lib/components/icon/paths/fcr_attach.js +26 -0
- package/lib/components/icon/paths/fcr_background2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_background2.js +22 -0
- package/lib/components/icon/paths/fcr_beauty.d.ts +3 -0
- package/lib/components/icon/paths/fcr_beauty.js +22 -0
- package/lib/components/icon/paths/fcr_beauty_blush.d.ts +3 -0
- package/lib/components/icon/paths/fcr_beauty_blush.js +86 -0
- package/lib/components/icon/paths/fcr_beauty_retouch.d.ts +3 -0
- package/lib/components/icon/paths/fcr_beauty_retouch.js +76 -0
- package/lib/components/icon/paths/fcr_bell.d.ts +3 -0
- package/lib/components/icon/paths/fcr_bell.js +62 -0
- package/lib/components/icon/paths/fcr_btn_loading.d.ts +3 -0
- package/lib/components/icon/paths/fcr_btn_loading.js +44 -0
- package/lib/components/icon/paths/fcr_camera.d.ts +3 -0
- package/lib/components/icon/paths/fcr_camera.js +22 -0
- package/lib/components/icon/paths/fcr_camera3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_camera3.js +42 -0
- package/lib/components/icon/paths/fcr_camera_window_loading.d.ts +3 -0
- package/lib/components/icon/paths/fcr_camera_window_loading.js +22 -0
- package/lib/components/icon/paths/fcr_camera_window_not.d.ts +3 -0
- package/lib/components/icon/paths/fcr_camera_window_not.js +22 -0
- package/lib/components/icon/paths/fcr_camera_window_notwork.d.ts +3 -0
- package/lib/components/icon/paths/fcr_camera_window_notwork.js +22 -0
- package/lib/components/icon/paths/fcr_cameracrash.d.ts +3 -0
- package/lib/components/icon/paths/fcr_cameracrash.js +28 -0
- package/lib/components/icon/paths/fcr_cameraoff.d.ts +3 -0
- package/lib/components/icon/paths/fcr_cameraoff.js +28 -0
- package/lib/components/icon/paths/fcr_chat.d.ts +3 -0
- package/lib/components/icon/paths/fcr_chat.js +23 -0
- package/lib/components/icon/paths/fcr_chat2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_chat2.js +22 -0
- package/lib/components/icon/paths/fcr_chat_on.d.ts +3 -0
- package/lib/components/icon/paths/fcr_chat_on.js +23 -0
- package/lib/components/icon/paths/fcr_chat_placeholder.d.ts +3 -0
- package/lib/components/icon/paths/fcr_chat_placeholder.js +55 -0
- package/lib/components/icon/paths/fcr_chat_reddot.d.ts +3 -0
- package/lib/components/icon/paths/fcr_chat_reddot.js +32 -0
- package/lib/components/icon/paths/fcr_checkbox_check.d.ts +3 -0
- package/lib/components/icon/paths/fcr_checkbox_check.js +21 -0
- package/lib/components/icon/paths/fcr_chexbox_indeterminate.d.ts +3 -0
- package/lib/components/icon/paths/fcr_chexbox_indeterminate.js +24 -0
- package/lib/components/icon/paths/fcr_chooseit.d.ts +3 -0
- package/lib/components/icon/paths/fcr_chooseit.js +22 -0
- package/lib/components/icon/paths/fcr_clock.d.ts +3 -0
- package/lib/components/icon/paths/fcr_clock.js +27 -0
- package/lib/components/icon/paths/fcr_close.d.ts +3 -0
- package/lib/components/icon/paths/fcr_close.js +22 -0
- package/lib/components/icon/paths/fcr_cloudrecord.d.ts +3 -0
- package/lib/components/icon/paths/fcr_cloudrecord.js +22 -0
- package/lib/components/icon/paths/fcr_colon.d.ts +3 -0
- package/lib/components/icon/paths/fcr_colon.js +29 -0
- package/lib/components/icon/paths/fcr_computerdata.d.ts +3 -0
- package/lib/components/icon/paths/fcr_computerdata.js +22 -0
- package/lib/components/icon/paths/fcr_copy.d.ts +3 -0
- package/lib/components/icon/paths/fcr_copy.js +29 -0
- package/lib/components/icon/paths/fcr_countdown_down.d.ts +3 -0
- package/lib/components/icon/paths/fcr_countdown_down.js +33 -0
- package/lib/components/icon/paths/fcr_countdown_up.d.ts +3 -0
- package/lib/components/icon/paths/fcr_countdown_up.js +33 -0
- package/lib/components/icon/paths/fcr_delete3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_delete3.js +22 -0
- package/lib/components/icon/paths/fcr_deviceaudiooff.d.ts +3 -0
- package/lib/components/icon/paths/fcr_deviceaudiooff.js +22 -0
- package/lib/components/icon/paths/fcr_deviceaudioon.d.ts +3 -0
- package/lib/components/icon/paths/fcr_deviceaudioon.js +20 -0
- package/lib/components/icon/paths/fcr_down.d.ts +3 -0
- package/lib/components/icon/paths/fcr_down.js +22 -0
- package/lib/components/icon/paths/fcr_down1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_down1.js +23 -0
- package/lib/components/icon/paths/fcr_download.d.ts +3 -0
- package/lib/components/icon/paths/fcr_download.js +23 -0
- package/lib/components/icon/paths/fcr_dropdown.d.ts +3 -0
- package/lib/components/icon/paths/fcr_dropdown.js +20 -0
- package/lib/components/icon/paths/fcr_dropdown2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_dropdown2.js +33 -0
- package/lib/components/icon/paths/fcr_dropdown4.d.ts +3 -0
- package/lib/components/icon/paths/fcr_dropdown4.js +20 -0
- package/lib/components/icon/paths/fcr_dropup4.d.ts +3 -0
- package/lib/components/icon/paths/fcr_dropup4.js +20 -0
- package/lib/components/icon/paths/fcr_emo.d.ts +3 -0
- package/lib/components/icon/paths/fcr_emo.js +37 -0
- package/lib/components/icon/paths/fcr_endmeeting.d.ts +3 -0
- package/lib/components/icon/paths/fcr_endmeeting.js +20 -0
- package/lib/components/icon/paths/fcr_equalratio.d.ts +3 -0
- package/lib/components/icon/paths/fcr_equalratio.js +22 -0
- package/lib/components/icon/paths/fcr_exclamationmask.d.ts +3 -0
- package/lib/components/icon/paths/fcr_exclamationmask.js +22 -0
- package/lib/components/icon/paths/fcr_file.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file.js +22 -0
- package/lib/components/icon/paths/fcr_file_ah5.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_ah5.js +26 -0
- package/lib/components/icon/paths/fcr_file_alf.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_alf.js +32 -0
- package/lib/components/icon/paths/fcr_file_audio.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_audio.js +26 -0
- package/lib/components/icon/paths/fcr_file_doc.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_doc.js +32 -0
- package/lib/components/icon/paths/fcr_file_excel.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_excel.js +26 -0
- package/lib/components/icon/paths/fcr_file_noformat.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_noformat.js +28 -0
- package/lib/components/icon/paths/fcr_file_pdf.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_pdf.js +32 -0
- package/lib/components/icon/paths/fcr_file_photo.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_photo.js +28 -0
- package/lib/components/icon/paths/fcr_file_ppt.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_ppt.js +32 -0
- package/lib/components/icon/paths/fcr_file_video.d.ts +3 -0
- package/lib/components/icon/paths/fcr_file_video.js +31 -0
- package/lib/components/icon/paths/fcr_focusonhim.d.ts +3 -0
- package/lib/components/icon/paths/fcr_focusonhim.js +22 -0
- package/lib/components/icon/paths/fcr_fourwindows.d.ts +3 -0
- package/lib/components/icon/paths/fcr_fourwindows.js +22 -0
- package/lib/components/icon/paths/fcr_fourwindows2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_fourwindows2.js +21 -0
- package/lib/components/icon/paths/fcr_fullcoverage.d.ts +3 -0
- package/lib/components/icon/paths/fcr_fullcoverage.js +22 -0
- package/lib/components/icon/paths/fcr_gotostage.d.ts +3 -0
- package/lib/components/icon/paths/fcr_gotostage.js +22 -0
- package/lib/components/icon/paths/fcr_gotostage_not.d.ts +3 -0
- package/lib/components/icon/paths/fcr_gotostage_not.js +22 -0
- package/lib/components/icon/paths/fcr_gotostage_on.d.ts +3 -0
- package/lib/components/icon/paths/fcr_gotostage_on.js +22 -0
- package/lib/components/icon/paths/fcr_grid_big.d.ts +3 -0
- package/lib/components/icon/paths/fcr_grid_big.js +20 -0
- package/lib/components/icon/paths/fcr_head.d.ts +3 -0
- package/lib/components/icon/paths/fcr_head.js +20 -0
- package/lib/components/icon/paths/fcr_helpquestion.d.ts +3 -0
- package/lib/components/icon/paths/fcr_helpquestion.js +34 -0
- package/lib/components/icon/paths/fcr_hidevideo.d.ts +3 -0
- package/lib/components/icon/paths/fcr_hidevideo.js +27 -0
- package/lib/components/icon/paths/fcr_home_code2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_home_code2.js +27 -0
- package/lib/components/icon/paths/fcr_host.d.ts +3 -0
- package/lib/components/icon/paths/fcr_host.js +20 -0
- package/lib/components/icon/paths/fcr_left.d.ts +3 -0
- package/lib/components/icon/paths/fcr_left.js +35 -0
- package/lib/components/icon/paths/fcr_left1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_left1.js +35 -0
- package/lib/components/icon/paths/fcr_left3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_left3.js +20 -0
- package/lib/components/icon/paths/fcr_left4.d.ts +3 -0
- package/lib/components/icon/paths/fcr_left4.js +22 -0
- package/lib/components/icon/paths/fcr_link.d.ts +3 -0
- package/lib/components/icon/paths/fcr_link.js +33 -0
- package/lib/components/icon/paths/fcr_list_delete.d.ts +3 -0
- package/lib/components/icon/paths/fcr_list_delete.js +25 -0
- package/lib/components/icon/paths/fcr_list_on_right_big.d.ts +3 -0
- package/lib/components/icon/paths/fcr_list_on_right_big.js +20 -0
- package/lib/components/icon/paths/fcr_list_on_top_big.d.ts +3 -0
- package/lib/components/icon/paths/fcr_list_on_top_big.js +21 -0
- package/lib/components/icon/paths/fcr_live.d.ts +3 -0
- package/lib/components/icon/paths/fcr_live.js +23 -0
- package/lib/components/icon/paths/fcr_liveicon.d.ts +3 -0
- package/lib/components/icon/paths/fcr_liveicon.js +22 -0
- package/lib/components/icon/paths/fcr_loading.d.ts +3 -0
- package/lib/components/icon/paths/fcr_loading.js +40 -0
- package/lib/components/icon/paths/fcr_lower_hand.d.ts +3 -0
- package/lib/components/icon/paths/fcr_lower_hand.js +28 -0
- package/lib/components/icon/paths/fcr_minus.d.ts +3 -0
- package/lib/components/icon/paths/fcr_minus.js +24 -0
- package/lib/components/icon/paths/fcr_mirrorimage_left.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mirrorimage_left.js +22 -0
- package/lib/components/icon/paths/fcr_mirrorimage_off.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mirrorimage_off.js +30 -0
- package/lib/components/icon/paths/fcr_mirrorimage_off.svg +4 -0
- package/lib/components/icon/paths/fcr_mirrorimage_right.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mirrorimage_right.js +34 -0
- package/lib/components/icon/paths/fcr_mobile_camera2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_camera2.js +22 -0
- package/lib/components/icon/paths/fcr_mobile_chat2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_chat2.js +22 -0
- package/lib/components/icon/paths/fcr_mobile_chat3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_chat3.js +36 -0
- package/lib/components/icon/paths/fcr_mobile_duplicate.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_duplicate.js +22 -0
- package/lib/components/icon/paths/fcr_mobile_more.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_more.js +32 -0
- package/lib/components/icon/paths/fcr_mobile_sharescreen.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_sharescreen.js +22 -0
- package/lib/components/icon/paths/fcr_mobile_whiteboard_redo.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_whiteboard_redo.js +22 -0
- package/lib/components/icon/paths/fcr_mobile_whiteboard_undo.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mobile_whiteboard_undo.js +22 -0
- package/lib/components/icon/paths/fcr_more2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_more2.js +22 -0
- package/lib/components/icon/paths/fcr_move.d.ts +3 -0
- package/lib/components/icon/paths/fcr_move.js +22 -0
- package/lib/components/icon/paths/fcr_moveto.d.ts +3 -0
- package/lib/components/icon/paths/fcr_moveto.js +22 -0
- package/lib/components/icon/paths/fcr_mute.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mute.js +23 -0
- package/lib/components/icon/paths/fcr_mutecrash.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mutecrash.js +35 -0
- package/lib/components/icon/paths/fcr_mutedefault.d.ts +3 -0
- package/lib/components/icon/paths/fcr_mutedefault.js +26 -0
- package/lib/components/icon/paths/fcr_nomute.d.ts +3 -0
- package/lib/components/icon/paths/fcr_nomute.js +25 -0
- package/lib/components/icon/paths/fcr_notice.d.ts +3 -0
- package/lib/components/icon/paths/fcr_notice.js +20 -0
- package/lib/components/icon/paths/fcr_oneleave.d.ts +3 -0
- package/lib/components/icon/paths/fcr_oneleave.js +22 -0
- package/lib/components/icon/paths/fcr_openfile.d.ts +3 -0
- package/lib/components/icon/paths/fcr_openfile.js +23 -0
- package/lib/components/icon/paths/fcr_order_down.d.ts +3 -0
- package/lib/components/icon/paths/fcr_order_down.js +20 -0
- package/lib/components/icon/paths/fcr_order_up.d.ts +3 -0
- package/lib/components/icon/paths/fcr_order_up.js +20 -0
- package/lib/components/icon/paths/fcr_pause2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pause2.js +23 -0
- package/lib/components/icon/paths/fcr_pen_curve_1size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_curve_1size.js +23 -0
- package/lib/components/icon/paths/fcr_pen_curve_2size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_curve_2size.js +23 -0
- package/lib/components/icon/paths/fcr_pen_curve_3size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_curve_3size.js +23 -0
- package/lib/components/icon/paths/fcr_pen_curve_4size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_curve_4size.js +23 -0
- package/lib/components/icon/paths/fcr_pen_line_1size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_line_1size.js +23 -0
- package/lib/components/icon/paths/fcr_pen_line_2size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_line_2size.js +23 -0
- package/lib/components/icon/paths/fcr_pen_line_3size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_line_3size.js +23 -0
- package/lib/components/icon/paths/fcr_pen_line_4size.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pen_line_4size.js +23 -0
- package/lib/components/icon/paths/fcr_pensize.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pensize.js +27 -0
- package/lib/components/icon/paths/fcr_pensize_straight.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pensize_straight.js +26 -0
- package/lib/components/icon/paths/fcr_people.d.ts +3 -0
- package/lib/components/icon/paths/fcr_people.js +22 -0
- package/lib/components/icon/paths/fcr_phonecall1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_phonecall1.js +21 -0
- package/lib/components/icon/paths/fcr_phonecall2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_phonecall2.js +22 -0
- package/lib/components/icon/paths/fcr_phonecall3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_phonecall3.js +23 -0
- package/lib/components/icon/paths/fcr_phonecall_silence.d.ts +3 -0
- package/lib/components/icon/paths/fcr_phonecall_silence.js +22 -0
- package/lib/components/icon/paths/fcr_picture.d.ts +3 -0
- package/lib/components/icon/paths/fcr_picture.js +28 -0
- package/lib/components/icon/paths/fcr_pin.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pin.js +22 -0
- package/lib/components/icon/paths/fcr_pinpage.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pinpage.js +20 -0
- package/lib/components/icon/paths/fcr_pinpage2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_pinpage2.js +20 -0
- package/lib/components/icon/paths/fcr_platform.d.ts +3 -0
- package/lib/components/icon/paths/fcr_platform.js +20 -0
- package/lib/components/icon/paths/fcr_ppt_broken.d.ts +3 -0
- package/lib/components/icon/paths/fcr_ppt_broken.js +24 -0
- package/lib/components/icon/paths/fcr_question.d.ts +3 -0
- package/lib/components/icon/paths/fcr_question.js +20 -0
- package/lib/components/icon/paths/fcr_question2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_question2.js +23 -0
- package/lib/components/icon/paths/fcr_quit2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_quit2.js +22 -0
- package/lib/components/icon/paths/fcr_raisehands.d.ts +3 -0
- package/lib/components/icon/paths/fcr_raisehands.js +22 -0
- package/lib/components/icon/paths/fcr_recording_end.d.ts +3 -0
- package/lib/components/icon/paths/fcr_recording_end.js +24 -0
- package/lib/components/icon/paths/fcr_recording_on.d.ts +3 -0
- package/lib/components/icon/paths/fcr_recording_on.js +22 -0
- package/lib/components/icon/paths/fcr_recording_play.d.ts +3 -0
- package/lib/components/icon/paths/fcr_recording_play.js +20 -0
- package/lib/components/icon/paths/fcr_recording_play2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_recording_play2.js +22 -0
- package/lib/components/icon/paths/fcr_recording_stop.d.ts +3 -0
- package/lib/components/icon/paths/fcr_recording_stop.js +22 -0
- package/lib/components/icon/paths/fcr_remove_pin.d.ts +3 -0
- package/lib/components/icon/paths/fcr_remove_pin.js +27 -0
- package/lib/components/icon/paths/fcr_rename.d.ts +3 -0
- package/lib/components/icon/paths/fcr_rename.js +22 -0
- package/lib/components/icon/paths/fcr_reset.d.ts +3 -0
- package/lib/components/icon/paths/fcr_reset.js +20 -0
- package/lib/components/icon/paths/fcr_reverseorder.d.ts +3 -0
- package/lib/components/icon/paths/fcr_reverseorder.js +20 -0
- package/lib/components/icon/paths/fcr_reward.d.ts +3 -0
- package/lib/components/icon/paths/fcr_reward.js +22 -0
- package/lib/components/icon/paths/fcr_rewardall.d.ts +3 -0
- package/lib/components/icon/paths/fcr_rewardall.js +27 -0
- package/lib/components/icon/paths/fcr_right.d.ts +3 -0
- package/lib/components/icon/paths/fcr_right.js +35 -0
- package/lib/components/icon/paths/fcr_right2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_right2.js +35 -0
- package/lib/components/icon/paths/fcr_right3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_right3.js +20 -0
- package/lib/components/icon/paths/fcr_right4.d.ts +3 -0
- package/lib/components/icon/paths/fcr_right4.js +22 -0
- package/lib/components/icon/paths/fcr_right5.d.ts +3 -0
- package/lib/components/icon/paths/fcr_right5.js +20 -0
- package/lib/components/icon/paths/fcr_rightwindows.d.ts +3 -0
- package/lib/components/icon/paths/fcr_rightwindows.js +22 -0
- package/lib/components/icon/paths/fcr_rotatingvideo.d.ts +3 -0
- package/lib/components/icon/paths/fcr_rotatingvideo.js +22 -0
- package/lib/components/icon/paths/fcr_screenshare_change1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_screenshare_change1.js +22 -0
- package/lib/components/icon/paths/fcr_screenshare_change2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_screenshare_change2.js +22 -0
- package/lib/components/icon/paths/fcr_screensharing.d.ts +3 -0
- package/lib/components/icon/paths/fcr_screensharing.js +22 -0
- package/lib/components/icon/paths/fcr_screensharing_1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_screensharing_1.js +22 -0
- package/lib/components/icon/paths/fcr_screensharing_on.d.ts +3 -0
- package/lib/components/icon/paths/fcr_screensharing_on.js +22 -0
- package/lib/components/icon/paths/fcr_security.d.ts +3 -0
- package/lib/components/icon/paths/fcr_security.js +20 -0
- package/lib/components/icon/paths/fcr_send.d.ts +3 -0
- package/lib/components/icon/paths/fcr_send.js +20 -0
- package/lib/components/icon/paths/fcr_setting.d.ts +3 -0
- package/lib/components/icon/paths/fcr_setting.js +20 -0
- package/lib/components/icon/paths/fcr_setting_none.d.ts +3 -0
- package/lib/components/icon/paths/fcr_setting_none.js +22 -0
- package/lib/components/icon/paths/fcr_share.d.ts +3 -0
- package/lib/components/icon/paths/fcr_share.js +22 -0
- package/lib/components/icon/paths/fcr_sharingbar_down.d.ts +3 -0
- package/lib/components/icon/paths/fcr_sharingbar_down.js +20 -0
- package/lib/components/icon/paths/fcr_sharingbar_up.d.ts +3 -0
- package/lib/components/icon/paths/fcr_sharingbar_up.js +20 -0
- package/lib/components/icon/paths/fcr_showvideo.d.ts +3 -0
- package/lib/components/icon/paths/fcr_showvideo.js +22 -0
- package/lib/components/icon/paths/fcr_sipdevice.d.ts +3 -0
- package/lib/components/icon/paths/fcr_sipdevice.js +28 -0
- package/lib/components/icon/paths/fcr_smooth.d.ts +3 -0
- package/lib/components/icon/paths/fcr_smooth.js +70 -0
- package/lib/components/icon/paths/fcr_star.d.ts +3 -0
- package/lib/components/icon/paths/fcr_star.js +20 -0
- package/lib/components/icon/paths/fcr_stop.d.ts +3 -0
- package/lib/components/icon/paths/fcr_stop.js +22 -0
- package/lib/components/icon/paths/fcr_stop3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_stop3.js +23 -0
- package/lib/components/icon/paths/fcr_stoplive.d.ts +3 -0
- package/lib/components/icon/paths/fcr_stoplive.js +22 -0
- package/lib/components/icon/paths/fcr_stopscreensharing.d.ts +3 -0
- package/lib/components/icon/paths/fcr_stopscreensharing.js +22 -0
- package/lib/components/icon/paths/fcr_student_rasiehand.d.ts +3 -0
- package/lib/components/icon/paths/fcr_student_rasiehand.js +22 -0
- package/lib/components/icon/paths/fcr_subtract.d.ts +3 -0
- package/lib/components/icon/paths/fcr_subtract.js +22 -0
- package/lib/components/icon/paths/fcr_tooltip_arrow.d.ts +3 -0
- package/lib/components/icon/paths/fcr_tooltip_arrow.js +22 -0
- package/lib/components/icon/paths/fcr_tooltip_arrow_2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_tooltip_arrow_2.js +39 -0
- package/lib/components/icon/paths/fcr_topwindows.d.ts +3 -0
- package/lib/components/icon/paths/fcr_topwindows.js +22 -0
- package/lib/components/icon/paths/fcr_underline.d.ts +3 -0
- package/lib/components/icon/paths/fcr_underline.js +34 -0
- package/lib/components/icon/paths/fcr_unpin.d.ts +3 -0
- package/lib/components/icon/paths/fcr_unpin.js +25 -0
- package/lib/components/icon/paths/fcr_up.d.ts +3 -0
- package/lib/components/icon/paths/fcr_up.js +22 -0
- package/lib/components/icon/paths/fcr_up2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_up2.js +22 -0
- package/lib/components/icon/paths/fcr_uploadlist.d.ts +3 -0
- package/lib/components/icon/paths/fcr_uploadlist.js +21 -0
- package/lib/components/icon/paths/fcr_uporder.d.ts +3 -0
- package/lib/components/icon/paths/fcr_uporder.js +20 -0
- package/lib/components/icon/paths/fcr_users.d.ts +3 -0
- package/lib/components/icon/paths/fcr_users.js +22 -0
- package/lib/components/icon/paths/fcr_v2_answer.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_answer.js +22 -0
- package/lib/components/icon/paths/fcr_v2_breakroom.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_breakroom.js +22 -0
- package/lib/components/icon/paths/fcr_v2_chevron_down2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_chevron_down2.js +22 -0
- package/lib/components/icon/paths/fcr_v2_chevron_left2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_chevron_left2.js +22 -0
- package/lib/components/icon/paths/fcr_v2_chevron_right2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_chevron_right2.js +22 -0
- package/lib/components/icon/paths/fcr_v2_expansionscreen.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_expansionscreen.js +22 -0
- package/lib/components/icon/paths/fcr_v2_gou_alart.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_gou_alart.js +22 -0
- package/lib/components/icon/paths/fcr_v2_louder.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_louder.js +22 -0
- package/lib/components/icon/paths/fcr_v2_louder_min.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_louder_min.js +22 -0
- package/lib/components/icon/paths/fcr_v2_phone_more1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_phone_more1.js +22 -0
- package/lib/components/icon/paths/fcr_v2_poll_add.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_poll_add.js +30 -0
- package/lib/components/icon/paths/fcr_v2_poll_minus.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_poll_minus.js +20 -0
- package/lib/components/icon/paths/fcr_v2_poll_zoom.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_poll_zoom.js +21 -0
- package/lib/components/icon/paths/fcr_v2_quite.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_quite.js +22 -0
- package/lib/components/icon/paths/fcr_v2_search.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_search.js +22 -0
- package/lib/components/icon/paths/fcr_v2_signal_bad.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_signal_bad.js +29 -0
- package/lib/components/icon/paths/fcr_v2_signal_good.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_signal_good.js +22 -0
- package/lib/components/icon/paths/fcr_v2_signal_normal.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_signal_normal.js +29 -0
- package/lib/components/icon/paths/fcr_v2_tanhao_alart.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_tanhao_alart.js +22 -0
- package/lib/components/icon/paths/fcr_v2_timer.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_timer.js +22 -0
- package/lib/components/icon/paths/fcr_v2_tool_new.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_tool_new.js +22 -0
- package/lib/components/icon/paths/fcr_v2_vote.d.ts +3 -0
- package/lib/components/icon/paths/fcr_v2_vote.js +22 -0
- package/lib/components/icon/paths/fcr_video_sharescreen.d.ts +3 -0
- package/lib/components/icon/paths/fcr_video_sharescreen.js +22 -0
- package/lib/components/icon/paths/fcr_videoback.d.ts +3 -0
- package/lib/components/icon/paths/fcr_videoback.js +22 -0
- package/lib/components/icon/paths/fcr_web_chat.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_chat.js +23 -0
- package/lib/components/icon/paths/fcr_web_connectsound.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_connectsound.js +29 -0
- package/lib/components/icon/paths/fcr_web_fullscream.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_fullscream.js +24 -0
- package/lib/components/icon/paths/fcr_web_move_page.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_move_page.js +25 -0
- package/lib/components/icon/paths/fcr_web_restoration.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_restoration.js +22 -0
- package/lib/components/icon/paths/fcr_web_scale_left.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_scale_left.js +34 -0
- package/lib/components/icon/paths/fcr_web_scale_right.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_scale_right.js +35 -0
- package/lib/components/icon/paths/fcr_web_sharingview_middle.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_sharingview_middle.js +21 -0
- package/lib/components/icon/paths/fcr_web_sharingview_mix.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_sharingview_mix.js +23 -0
- package/lib/components/icon/paths/fcr_web_sharingview_small.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_sharingview_small.js +21 -0
- package/lib/components/icon/paths/fcr_web_smallest.d.ts +3 -0
- package/lib/components/icon/paths/fcr_web_smallest.js +23 -0
- package/lib/components/icon/paths/fcr_whiteboard.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard2.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_back.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_back.js +20 -0
- package/lib/components/icon/paths/fcr_whiteboard_bg.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_bg.js +29 -0
- package/lib/components/icon/paths/fcr_whiteboard_cloud.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_cloud.js +20 -0
- package/lib/components/icon/paths/fcr_whiteboard_eliminate.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_eliminate.js +20 -0
- package/lib/components/icon/paths/fcr_whiteboard_eraser.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_eraser.js +24 -0
- package/lib/components/icon/paths/fcr_whiteboard_expand2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_expand2.js +23 -0
- package/lib/components/icon/paths/fcr_whiteboard_forward.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_forward.js +20 -0
- package/lib/components/icon/paths/fcr_whiteboard_laserpen.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_laserpen.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_laserpen2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_laserpen2.js +35 -0
- package/lib/components/icon/paths/fcr_whiteboard_lowerrightarrow.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_lowerrightarrow.js +20 -0
- package/lib/components/icon/paths/fcr_whiteboard_mouse.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_mouse.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_move.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_move.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_movesubjects.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_movesubjects.js +20 -0
- package/lib/components/icon/paths/fcr_whiteboard_movesubjects2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_movesubjects2.js +23 -0
- package/lib/components/icon/paths/fcr_whiteboard_on.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_on.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_page.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_page.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped2.js +28 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped3.js +31 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped_curve.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped_curve.js +26 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped_straightline.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_ped_straightline.js +26 -0
- package/lib/components/icon/paths/fcr_whiteboard_save.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_save.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_arrow.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_arrow.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_circle.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_circle.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_circle_1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_circle_1.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_line.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_line.js +23 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_rehumbus.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_rehumbus.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_square.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_square.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_star.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_star.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_triangle.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_shap_triangle.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_slice.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_slice.js +25 -0
- package/lib/components/icon/paths/fcr_whiteboard_text.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_text.js +22 -0
- package/lib/components/icon/paths/fcr_whiteboard_toolbox.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whiteboard_toolbox.js +22 -0
- package/lib/components/icon/paths/fcr_whitechoose.d.ts +3 -0
- package/lib/components/icon/paths/fcr_whitechoose.js +28 -0
- package/lib/components/icon/paths/fcr_wihiteboard_slice.d.ts +3 -0
- package/lib/components/icon/paths/fcr_wihiteboard_slice.js +22 -0
- package/lib/components/icon/paths/fcr_wihiteboard_slicewithoutclassroom.d.ts +3 -0
- package/lib/components/icon/paths/fcr_wihiteboard_slicewithoutclassroom.js +22 -0
- package/lib/components/icon/paths/fcr_window_bigger.d.ts +3 -0
- package/lib/components/icon/paths/fcr_window_bigger.js +22 -0
- package/lib/components/icon/paths/fcr_window_smaller.d.ts +3 -0
- package/lib/components/icon/paths/fcr_window_smaller.js +22 -0
- package/lib/components/icon/paths/fcr_windowpage_bigger.d.ts +3 -0
- package/lib/components/icon/paths/fcr_windowpage_bigger.js +22 -0
- package/lib/components/icon/paths/fcr_windowpage_lonely.d.ts +3 -0
- package/lib/components/icon/paths/fcr_windowpage_lonely.js +32 -0
- package/lib/components/icon/paths/fcr_windowpage_smaller.d.ts +3 -0
- package/lib/components/icon/paths/fcr_windowpage_smaller.js +24 -0
- package/lib/components/icon/paths/fcr_windowpage_smaller2.d.ts +3 -0
- package/lib/components/icon/paths/fcr_windowpage_smaller2.js +33 -0
- package/lib/components/icon/paths/fcr_windowpage_smaller3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_windowpage_smaller3.js +29 -0
- package/lib/components/icon/paths/fcr_wizard_arrow.d.ts +3 -0
- package/lib/components/icon/paths/fcr_wizard_arrow.js +23 -0
- package/lib/components/icon/paths/fcr_wrong.d.ts +3 -0
- package/lib/components/icon/paths/fcr_wrong.js +42 -0
- package/lib/components/icon/paths/fcr_zoomin.d.ts +3 -0
- package/lib/components/icon/paths/fcr_zoomin.js +22 -0
- package/lib/components/icon/paths/fcr_zoomout.d.ts +3 -0
- package/lib/components/icon/paths/fcr_zoomout.js +22 -0
- package/lib/components/icon/svg-dict.d.ts +12 -0
- package/lib/components/icon/svg-dict.js +36 -0
- package/lib/components/icon/svg-exports.d.ts +269 -0
- package/lib/components/icon/svg-exports.js +556 -0
- package/lib/components/icon/type.d.ts +271 -0
- package/lib/components/icon/type.js +279 -0
- package/lib/components/icon-button/index.css +81 -0
- package/lib/components/icon-button/index.d.ts +24 -0
- package/lib/components/icon-button/index.js +53 -0
- package/lib/components/icon-button/index.stories.d.ts +6 -0
- package/lib/components/icon-button/index.stories.js +50 -0
- package/lib/components/icon-frame/index.css +0 -0
- package/lib/components/icon-frame/index.d.ts +10 -0
- package/lib/components/icon-frame/index.js +43 -0
- package/lib/components/icon-frame/index.stories.d.ts +5 -0
- package/lib/components/icon-frame/index.stories.js +39 -0
- package/lib/components/icon-phone-call/index.d.ts +9 -0
- package/lib/components/icon-phone-call/index.js +49 -0
- package/lib/components/icon-phone-call/index.stories.d.ts +5 -0
- package/lib/components/icon-phone-call/index.stories.js +41 -0
- package/lib/components/input/index.css +137 -0
- package/lib/components/input/index.d.ts +70 -0
- package/lib/components/input/index.js +147 -0
- package/lib/components/input/index.stories.d.ts +5 -0
- package/lib/components/input/index.stories.js +124 -0
- package/lib/components/input/input-password.d.ts +69 -0
- package/lib/components/input/input-password.js +156 -0
- package/lib/components/input-number/index.css +114 -0
- package/lib/components/input-number/index.d.ts +69 -0
- package/lib/components/input-number/index.js +196 -0
- package/lib/components/input-number/index.stories.d.ts +6 -0
- package/lib/components/input-number/index.stories.js +74 -0
- package/lib/components/latest-button/index.css +17 -0
- package/lib/components/latest-button/index.d.ts +14 -0
- package/lib/components/latest-button/index.js +79 -0
- package/lib/components/latest-button/index.stories.d.ts +5 -0
- package/lib/components/latest-button/index.stories.js +107 -0
- package/lib/components/line-copy-button/index.css +106 -0
- package/lib/components/line-copy-button/index.d.ts +24 -0
- package/lib/components/line-copy-button/index.js +262 -0
- package/lib/components/line-copy-button/index.stories.d.ts +5 -0
- package/lib/components/line-copy-button/index.stories.js +147 -0
- package/lib/components/live-streaming/container.css +58 -0
- package/lib/components/live-streaming/container.d.ts +11 -0
- package/lib/components/live-streaming/container.js +174 -0
- package/lib/components/live-streaming/index.stories.d.ts +6 -0
- package/lib/components/live-streaming/index.stories.js +69 -0
- package/lib/components/local-video-player/index.css +98 -0
- package/lib/components/local-video-player/index.d.ts +29 -0
- package/lib/components/local-video-player/index.js +158 -0
- package/lib/components/message-bar/index.css +62 -0
- package/lib/components/message-bar/index.d.ts +12 -0
- package/lib/components/message-bar/index.js +65 -0
- package/lib/components/message-bar/index.stories.d.ts +5 -0
- package/lib/components/message-bar/index.stories.js +63 -0
- package/lib/components/message-bubble/emoji-msg.d.ts +7 -0
- package/lib/components/message-bubble/emoji-msg.js +98 -0
- package/lib/components/message-bubble/index.css +71 -0
- package/lib/components/message-bubble/index.d.ts +14 -0
- package/lib/components/message-bubble/index.js +96 -0
- package/lib/components/message-bubble/index.stories.d.ts +5 -0
- package/lib/components/message-bubble/index.stories.js +194 -0
- package/lib/components/message-label/index.css +95 -0
- package/lib/components/message-label/index.d.ts +18 -0
- package/lib/components/message-label/index.js +91 -0
- package/lib/components/message-label/index.stories.d.ts +5 -0
- package/lib/components/message-label/index.stories.js +231 -0
- package/lib/components/message-textarea/handleUploadImag.d.ts +1 -0
- package/lib/components/message-textarea/handleUploadImag.js +63 -0
- package/lib/components/message-textarea/index.css +111 -0
- package/lib/components/message-textarea/index.d.ts +20 -0
- package/lib/components/message-textarea/index.js +250 -0
- package/lib/components/message-textarea/index.stories.d.ts +5 -0
- package/lib/components/message-textarea/index.stories.js +80 -0
- package/lib/components/microphone-indicator/index.d.ts +7 -0
- package/lib/components/microphone-indicator/index.js +59 -0
- package/lib/components/multi-select/index.css +63 -0
- package/lib/components/multi-select/index.d.ts +9 -0
- package/lib/components/multi-select/index.js +114 -0
- package/lib/components/multi-select/index.stories.d.ts +5 -0
- package/lib/components/multi-select/index.stories.js +43 -0
- package/lib/components/multi-select-checkbox/index.css +45 -0
- package/lib/components/multi-select-checkbox/index.d.ts +11 -0
- package/lib/components/multi-select-checkbox/index.js +42 -0
- package/lib/components/multi-select-checkbox/index.stories.d.ts +5 -0
- package/lib/components/multi-select-checkbox/index.stories.js +36 -0
- package/lib/components/participants/attendee/index.css +151 -0
- package/lib/components/participants/attendee/index.d.ts +24 -0
- package/lib/components/participants/attendee/index.js +190 -0
- package/lib/components/participants/data.d.ts +3 -0
- package/lib/components/participants/data.js +527 -0
- package/lib/components/participants/footer/index.css +14 -0
- package/lib/components/participants/footer/index.d.ts +11 -0
- package/lib/components/participants/footer/index.js +207 -0
- package/lib/components/participants/hover-perspective-attendee/index.d.ts +5 -0
- package/lib/components/participants/hover-perspective-attendee/index.js +22 -0
- package/lib/components/participants/index.css +88 -0
- package/lib/components/participants/index.d.ts +17 -0
- package/lib/components/participants/index.js +120 -0
- package/lib/components/participants/index.stories.d.ts +6 -0
- package/lib/components/participants/index.stories.js +66 -0
- package/lib/components/participants/participants-more/index.css +17 -0
- package/lib/components/participants/participants-more/index.d.ts +4 -0
- package/lib/components/participants/participants-more/index.js +194 -0
- package/lib/components/popover/index.css +17 -0
- package/lib/components/popover/index.d.ts +47 -0
- package/lib/components/popover/index.js +193 -0
- package/lib/components/popover/index.stories.d.ts +6 -0
- package/lib/components/popover/index.stories.js +46 -0
- package/lib/components/radio/index.css +76 -0
- package/lib/components/radio/index.d.ts +22 -0
- package/lib/components/radio/index.js +113 -0
- package/lib/components/radio/index.stories.d.ts +6 -0
- package/lib/components/radio/index.stories.js +39 -0
- package/lib/components/room-screen-share-state-bar/camera-state/index.d.ts +6 -0
- package/lib/components/room-screen-share-state-bar/camera-state/index.js +24 -0
- package/lib/components/room-screen-share-state-bar/device/index.css +27 -0
- package/lib/components/room-screen-share-state-bar/device/index.d.ts +24 -0
- package/lib/components/room-screen-share-state-bar/device/index.js +256 -0
- package/lib/components/room-screen-share-state-bar/index.css +30 -0
- package/lib/components/room-screen-share-state-bar/index.d.ts +2 -0
- package/lib/components/room-screen-share-state-bar/index.js +118 -0
- package/lib/components/room-screen-share-state-bar/index.stories.d.ts +6 -0
- package/lib/components/room-screen-share-state-bar/index.stories.js +22 -0
- package/lib/components/room-screen-share-state-bar/meeting-security/index.d.ts +3 -0
- package/lib/components/room-screen-share-state-bar/meeting-security/index.js +31 -0
- package/lib/components/room-screen-share-state-bar/microphone-state/index.d.ts +8 -0
- package/lib/components/room-screen-share-state-bar/microphone-state/index.js +50 -0
- package/lib/components/room-screen-share-state-bar/more/index.css +3 -0
- package/lib/components/room-screen-share-state-bar/more/index.d.ts +9 -0
- package/lib/components/room-screen-share-state-bar/more/index.js +118 -0
- package/lib/components/room-screen-share-state-bar/participants/index.d.ts +3 -0
- package/lib/components/room-screen-share-state-bar/participants/index.js +29 -0
- package/lib/components/room-screen-share-state-bar/screen-share-control-bar/data.d.ts +2 -0
- package/lib/components/room-screen-share-state-bar/screen-share-control-bar/data.js +106 -0
- package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.css +23 -0
- package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.d.ts +13 -0
- package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.js +46 -0
- package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.stories.d.ts +6 -0
- package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.stories.js +33 -0
- package/lib/components/room-screen-share-state-bar/share-action-nav/index.css +137 -0
- package/lib/components/room-screen-share-state-bar/share-action-nav/index.d.ts +9 -0
- package/lib/components/room-screen-share-state-bar/share-action-nav/index.js +71 -0
- package/lib/components/room-screen-share-state-bar/share-audio/index.css +66 -0
- package/lib/components/room-screen-share-state-bar/share-audio/index.d.ts +12 -0
- package/lib/components/room-screen-share-state-bar/share-audio/index.js +149 -0
- package/lib/components/room-screen-share-state-bar/share-screen-button/index.d.ts +5 -0
- package/lib/components/room-screen-share-state-bar/share-screen-button/index.js +28 -0
- package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.css +23 -0
- package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.d.ts +6 -0
- package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.js +35 -0
- package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.stories.d.ts +6 -0
- package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.stories.js +49 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/drag-icon.css +3 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/drag-icon.d.ts +2 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/drag-icon.js +31 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/index.css +39 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/index.d.ts +4 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/index.js +53 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/index.stories.d.ts +6 -0
- package/lib/components/room-screen-share-state-bar/share-state-bar/index.stories.js +22 -0
- package/lib/components/room-screen-share-state-bar/share-state-nav/index.css +55 -0
- package/lib/components/room-screen-share-state-bar/share-state-nav/index.d.ts +9 -0
- package/lib/components/room-screen-share-state-bar/share-state-nav/index.js +69 -0
- package/lib/components/room-screen-share-state-bar/transfer-position-icon/index.d.ts +11 -0
- package/lib/components/room-screen-share-state-bar/transfer-position-icon/index.js +46 -0
- package/lib/components/select/index.css +156 -0
- package/lib/components/select/index.d.ts +73 -0
- package/lib/components/select/index.js +125 -0
- package/lib/components/select/index.stories.d.ts +15 -0
- package/lib/components/select/index.stories.js +125 -0
- package/lib/components/select-phone/index.css +95 -0
- package/lib/components/select-phone/index.d.ts +59 -0
- package/lib/components/select-phone/index.js +102 -0
- package/lib/components/select-phone/index.stories.d.ts +15 -0
- package/lib/components/select-phone/index.stories.js +70 -0
- package/lib/components/share-selection/index.css +59 -0
- package/lib/components/share-selection/index.d.ts +11 -0
- package/lib/components/share-selection/index.js +104 -0
- package/lib/components/share-selection/index.stories.d.ts +6 -0
- package/lib/components/share-selection/index.stories.js +113 -0
- package/lib/components/slider/index.css +59 -0
- package/lib/components/slider/index.d.ts +50 -0
- package/lib/components/slider/index.js +167 -0
- package/lib/components/slider/index.stories.d.ts +6 -0
- package/lib/components/slider/index.stories.js +158 -0
- package/lib/components/state-bar/assets/fcr_grid_big.svg +3 -0
- package/lib/components/state-bar/assets/fcr_listontop_big.svg +3 -0
- package/lib/components/state-bar/assets/live-streaming.gif +0 -0
- package/lib/components/state-bar/assets/state-bar-logo.png +0 -0
- package/lib/components/state-bar/assets/step-gradient.svg +10 -0
- package/lib/components/state-bar/index.css +404 -0
- package/lib/components/state-bar/index.d.ts +1 -0
- package/lib/components/state-bar/index.js +37 -0
- package/lib/components/state-bar/index.stories.d.ts +6 -0
- package/lib/components/state-bar/index.stories.js +37 -0
- package/lib/components/state-bar/layout-config.d.ts +5 -0
- package/lib/components/state-bar/layout-config.js +131 -0
- package/lib/components/state-bar/meeting-time.d.ts +13 -0
- package/lib/components/state-bar/meeting-time.js +46 -0
- package/lib/components/state-bar/network-quality.d.ts +6 -0
- package/lib/components/state-bar/network-quality.js +27 -0
- package/lib/components/state-bar/view.d.ts +5 -0
- package/lib/components/state-bar/view.js +298 -0
- package/lib/components/switch/index.css +64 -0
- package/lib/components/switch/index.d.ts +30 -0
- package/lib/components/switch/index.js +49 -0
- package/lib/components/switch/index.stories.d.ts +6 -0
- package/lib/components/switch/index.stories.js +45 -0
- package/lib/components/tabs/index.css +88 -0
- package/lib/components/tabs/index.d.ts +13 -0
- package/lib/components/tabs/index.js +128 -0
- package/lib/components/tabs/index.stories.d.ts +5 -0
- package/lib/components/tabs/index.stories.js +103 -0
- package/lib/components/text-bubble/index.css +88 -0
- package/lib/components/text-bubble/index.d.ts +13 -0
- package/lib/components/text-bubble/index.js +61 -0
- package/lib/components/text-bubble/index.stories.d.ts +5 -0
- package/lib/components/text-bubble/index.stories.js +109 -0
- package/lib/components/textarea/helper.d.ts +2 -0
- package/lib/components/textarea/helper.js +63 -0
- package/lib/components/textarea/index.css +113 -0
- package/lib/components/textarea/index.d.ts +100 -0
- package/lib/components/textarea/index.js +195 -0
- package/lib/components/textarea/index.stories.d.ts +6 -0
- package/lib/components/textarea/index.stories.js +95 -0
- package/lib/components/toast/index.css +239 -0
- package/lib/components/toast/index.d.ts +123 -0
- package/lib/components/toast/index.js +352 -0
- package/lib/components/toast/index.stories.d.ts +6 -0
- package/lib/components/toast/index.stories.js +135 -0
- package/lib/components/tooltip/arrow.css +159 -0
- package/lib/components/tooltip/dialog.d.ts +18 -0
- package/lib/components/tooltip/dialog.js +83 -0
- package/lib/components/tooltip/guide.d.ts +26 -0
- package/lib/components/tooltip/guide.js +85 -0
- package/lib/components/tooltip/index.css +314 -0
- package/lib/components/tooltip/index.d.ts +90 -0
- package/lib/components/tooltip/index.js +110 -0
- package/lib/components/tooltip/index.stories.d.ts +14 -0
- package/lib/components/tooltip/index.stories.js +99 -0
- package/lib/components/tooltip/info.d.ts +6 -0
- package/lib/components/tooltip/info.js +59 -0
- package/lib/components/tooltips-button/index.d.ts +34 -0
- package/lib/components/tooltips-button/index.js +111 -0
- package/lib/components/tooltips-button/index.stories.d.ts +6 -0
- package/lib/components/tooltips-button/index.stories.js +57 -0
- package/lib/components/tooltips-button/tooltip-button.css +58 -0
- package/lib/components/volume-indicator/index.css +17 -0
- package/lib/components/volume-indicator/index.d.ts +20 -0
- package/lib/components/volume-indicator/index.js +33 -0
- package/lib/components/volume-indicator/index.stories.d.ts +6 -0
- package/lib/components/volume-indicator/index.stories.js +77 -0
- package/lib/components/window-header/index.css +66 -0
- package/lib/components/window-header/index.d.ts +19 -0
- package/lib/components/window-header/index.js +96 -0
- package/lib/components/window-header/index.stories.d.ts +6 -0
- package/lib/components/window-header/index.stories.js +51 -0
- package/lib/components/windows-control/index.css +34 -0
- package/lib/components/windows-control/index.d.ts +10 -0
- package/lib/components/windows-control/index.js +90 -0
- package/lib/components/windows-control/index.stories.d.ts +6 -0
- package/lib/components/windows-control/index.stories.js +41 -0
- package/lib/components/zone-phone/index.css +147 -0
- package/lib/components/zone-phone/index.d.ts +96 -0
- package/lib/components/zone-phone/index.js +197 -0
- package/lib/components/zone-phone/index.stories.d.ts +21 -0
- package/lib/components/zone-phone/index.stories.js +76 -0
- package/lib/global.d.ts +15 -0
- package/lib/hooks/use-click-anywhere.d.ts +2 -0
- package/lib/hooks/use-click-anywhere.js +18 -0
- package/lib/i18n/index.d.ts +9 -0
- package/lib/i18n/index.js +116 -0
- package/lib/theme/context.d.ts +21 -0
- package/lib/theme/context.js +11 -0
- package/lib/theme/fcr-ui-config.d.ts +357 -0
- package/lib/theme/fcr-ui-config.js +373 -0
- package/lib/theme/generate.d.ts +4 -0
- package/lib/theme/generate.js +54 -0
- package/lib/utilities/click-anywhere.d.ts +1 -0
- package/lib/utilities/click-anywhere.js +39 -0
- package/lib/utilities/color-palette.d.ts +1 -0
- package/lib/utilities/color-palette.js +93 -0
- package/lib/utilities/global.css +686 -0
- package/lib/utilities/hooks/animations.d.ts +14 -0
- package/lib/utilities/hooks/animations.js +76 -0
- package/lib/utilities/hooks/use-click-anywhere.d.ts +2 -0
- package/lib/utilities/hooks/use-click-anywhere.js +18 -0
- package/lib/utilities/use-namespace.d.ts +15 -0
- package/lib/utilities/use-namespace.js +66 -0
- package/package.json +64 -0
- package/patches/rc-util+5.39.1.patch +60 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = exports.Doc = void 0;
|
|
8
|
+
var _ = require(".");
|
|
9
|
+
var _avatar = require("../avatar");
|
|
10
|
+
var _messageBubble = require("../message-bubble");
|
|
11
|
+
var _i18n = require("../../i18n");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
var meta = {
|
|
14
|
+
title: 'Components/MessageLabel',
|
|
15
|
+
tags: ['autodocs'],
|
|
16
|
+
component: _.MessageLabel,
|
|
17
|
+
args: {
|
|
18
|
+
styles: {
|
|
19
|
+
display: 'flex'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
argTypes: {}
|
|
23
|
+
};
|
|
24
|
+
var Doc = exports.Doc = function Doc(props) {
|
|
25
|
+
var styles = props.styles;
|
|
26
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
27
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
28
|
+
style: {
|
|
29
|
+
display: 'flex',
|
|
30
|
+
flexDirection: 'column',
|
|
31
|
+
padding: 50,
|
|
32
|
+
border: 'solid 0.5px #e5e7eb'
|
|
33
|
+
},
|
|
34
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
35
|
+
style: {
|
|
36
|
+
width: 300,
|
|
37
|
+
marginBottom: 50,
|
|
38
|
+
display: 'flex',
|
|
39
|
+
flexDirection: 'column'
|
|
40
|
+
},
|
|
41
|
+
children: ["Basic: \u81EA\u5DF1\u662F\u4E3B\u6301\u4EBA", /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
42
|
+
style: {
|
|
43
|
+
display: 'flex',
|
|
44
|
+
paddingRight: 30,
|
|
45
|
+
flexDirection: 'column'
|
|
46
|
+
},
|
|
47
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
48
|
+
color: '#6A79FF',
|
|
49
|
+
publisher: '',
|
|
50
|
+
target: '',
|
|
51
|
+
time: '2023-12-29 12:20 AM',
|
|
52
|
+
tag: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
53
|
+
className: "fcr-msg-tag",
|
|
54
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
55
|
+
children: transI18n('fmt_role_host')
|
|
56
|
+
})
|
|
57
|
+
})
|
|
58
|
+
})
|
|
59
|
+
})]
|
|
60
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
61
|
+
style: {
|
|
62
|
+
width: 300,
|
|
63
|
+
marginBottom: 50,
|
|
64
|
+
display: 'flex',
|
|
65
|
+
flexDirection: 'column'
|
|
66
|
+
},
|
|
67
|
+
children: ["Basic:", /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
68
|
+
style: {
|
|
69
|
+
display: 'flex',
|
|
70
|
+
paddingRight: 30,
|
|
71
|
+
flexDirection: 'column'
|
|
72
|
+
},
|
|
73
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
74
|
+
color: '#6A79FF',
|
|
75
|
+
publisher: '',
|
|
76
|
+
target: '',
|
|
77
|
+
time: '2023-12-29 12:20 AM'
|
|
78
|
+
})
|
|
79
|
+
})]
|
|
80
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
81
|
+
style: {
|
|
82
|
+
width: 300,
|
|
83
|
+
marginBottom: 50,
|
|
84
|
+
display: 'flex',
|
|
85
|
+
flexDirection: 'column'
|
|
86
|
+
},
|
|
87
|
+
children: ["\u5E26\u5934\u50CF:", /*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
88
|
+
color: '#6A79FF',
|
|
89
|
+
publisher: '',
|
|
90
|
+
target: '',
|
|
91
|
+
time: '2023-12-29 12:20 AM',
|
|
92
|
+
avatar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.FcrAvatar, {
|
|
93
|
+
size: 24,
|
|
94
|
+
textSize: 24,
|
|
95
|
+
nickName: "\u5468"
|
|
96
|
+
})
|
|
97
|
+
})]
|
|
98
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
99
|
+
style: {
|
|
100
|
+
width: 400,
|
|
101
|
+
marginBottom: 50,
|
|
102
|
+
display: 'flex',
|
|
103
|
+
flexDirection: 'column'
|
|
104
|
+
},
|
|
105
|
+
children: ["\u5E26\u5934\u50CF & Tag:", /*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
106
|
+
color: '#6A79FF',
|
|
107
|
+
publisher: '',
|
|
108
|
+
target: '',
|
|
109
|
+
time: '2023-12-29 12:20 AM'
|
|
110
|
+
/**TODO:Tag */,
|
|
111
|
+
tag: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
112
|
+
className: "fcr-msg-tag",
|
|
113
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
114
|
+
children: transI18n('fmt_role_host')
|
|
115
|
+
})
|
|
116
|
+
}),
|
|
117
|
+
avatar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.FcrAvatar, {
|
|
118
|
+
size: 24,
|
|
119
|
+
textSize: 24,
|
|
120
|
+
nickName: "T"
|
|
121
|
+
})
|
|
122
|
+
})]
|
|
123
|
+
}), "\u5E26\u6D88\u606F\u6C14\u6CE1\u5C55\u793A\uFF1A", /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
124
|
+
style: {
|
|
125
|
+
width: 300,
|
|
126
|
+
marginBottom: 50,
|
|
127
|
+
display: 'flex',
|
|
128
|
+
flexDirection: 'column'
|
|
129
|
+
},
|
|
130
|
+
children: ["Basic:", /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
131
|
+
style: {
|
|
132
|
+
display: 'flex',
|
|
133
|
+
paddingRight: 30,
|
|
134
|
+
flexDirection: 'column'
|
|
135
|
+
},
|
|
136
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
137
|
+
color: '#6A79FF',
|
|
138
|
+
publisher: '',
|
|
139
|
+
target: '',
|
|
140
|
+
time: '2023-12-29 12:20 AM',
|
|
141
|
+
tag: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
142
|
+
className: "fcr-msg-tag",
|
|
143
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
144
|
+
children: transI18n('fmt_role_host')
|
|
145
|
+
})
|
|
146
|
+
})
|
|
147
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_messageBubble.MessageBubble, {
|
|
148
|
+
role: 'participant',
|
|
149
|
+
isSelf: true
|
|
150
|
+
})]
|
|
151
|
+
})]
|
|
152
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
153
|
+
style: {
|
|
154
|
+
width: 300,
|
|
155
|
+
marginBottom: 50,
|
|
156
|
+
display: 'flex',
|
|
157
|
+
flexDirection: 'column'
|
|
158
|
+
},
|
|
159
|
+
children: ["Basic:", /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
160
|
+
style: {
|
|
161
|
+
display: 'flex',
|
|
162
|
+
paddingRight: 30,
|
|
163
|
+
flexDirection: 'column'
|
|
164
|
+
},
|
|
165
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
166
|
+
color: '#6A79FF',
|
|
167
|
+
publisher: '',
|
|
168
|
+
target: '',
|
|
169
|
+
time: '2023-12-29 12:20 AM'
|
|
170
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_messageBubble.MessageBubble, {
|
|
171
|
+
role: 'participant',
|
|
172
|
+
isSelf: true
|
|
173
|
+
})]
|
|
174
|
+
})]
|
|
175
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
176
|
+
style: {
|
|
177
|
+
width: 300,
|
|
178
|
+
marginBottom: 50,
|
|
179
|
+
display: 'flex',
|
|
180
|
+
flexDirection: 'column'
|
|
181
|
+
},
|
|
182
|
+
children: ["\u5E26\u5934\u50CF:", /*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
183
|
+
color: '#6A79FF',
|
|
184
|
+
publisher: '',
|
|
185
|
+
target: '',
|
|
186
|
+
time: '2023-12-29 12:20 AM',
|
|
187
|
+
avatar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.FcrAvatar, {
|
|
188
|
+
size: 24,
|
|
189
|
+
textSize: 24,
|
|
190
|
+
nickName: "\u5468"
|
|
191
|
+
})
|
|
192
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_messageBubble.MessageBubble, {
|
|
193
|
+
role: "participant",
|
|
194
|
+
styles: {
|
|
195
|
+
marginLeft: 34
|
|
196
|
+
}
|
|
197
|
+
})]
|
|
198
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
199
|
+
style: {
|
|
200
|
+
width: 400,
|
|
201
|
+
marginBottom: 50,
|
|
202
|
+
display: 'flex',
|
|
203
|
+
flexDirection: 'column'
|
|
204
|
+
},
|
|
205
|
+
children: ["\u5E26\u5934\u50CF & Tag:", /*#__PURE__*/(0, _jsxRuntime.jsx)(_.MessageLabel, {
|
|
206
|
+
color: '#6A79FF',
|
|
207
|
+
time: '2023-12-29 12:20 AM'
|
|
208
|
+
/**TODO:Tag */,
|
|
209
|
+
tag: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
210
|
+
className: "fcr-msg-tag",
|
|
211
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
212
|
+
children: transI18n('fmt_role_host')
|
|
213
|
+
})
|
|
214
|
+
}),
|
|
215
|
+
avatar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.FcrAvatar, {
|
|
216
|
+
size: 24,
|
|
217
|
+
textSize: 24,
|
|
218
|
+
nickName: "T"
|
|
219
|
+
}),
|
|
220
|
+
publisher: '',
|
|
221
|
+
target: ''
|
|
222
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_messageBubble.MessageBubble, {
|
|
223
|
+
role: "host",
|
|
224
|
+
styles: {
|
|
225
|
+
marginLeft: 34
|
|
226
|
+
}
|
|
227
|
+
})]
|
|
228
|
+
})]
|
|
229
|
+
});
|
|
230
|
+
};
|
|
231
|
+
var _default = exports["default"] = meta;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function handleClickUploadImage(handleImagData: (imgData: any) => void): void;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.handleClickUploadImage = handleClickUploadImage;
|
|
8
|
+
require("core-js/modules/es.array.iterator.js");
|
|
9
|
+
require("core-js/modules/es.function.name.js");
|
|
10
|
+
require("core-js/modules/es.object.to-string.js");
|
|
11
|
+
require("core-js/modules/es.string.iterator.js");
|
|
12
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
13
|
+
require("core-js/modules/web.url.js");
|
|
14
|
+
require("core-js/modules/web.url.to-json.js");
|
|
15
|
+
require("core-js/modules/web.url-search-params.js");
|
|
16
|
+
require("core-js/modules/web.url-search-params.delete.js");
|
|
17
|
+
require("core-js/modules/web.url-search-params.has.js");
|
|
18
|
+
require("core-js/modules/web.url-search-params.size.js");
|
|
19
|
+
function handleClickUploadImage(handleImagData) {
|
|
20
|
+
var fileInput = document.createElement('input');
|
|
21
|
+
fileInput.setAttribute('readonly', 'readonly');
|
|
22
|
+
fileInput.type = 'file';
|
|
23
|
+
fileInput.accept = 'image/*';
|
|
24
|
+
fileInput.style.display = 'none';
|
|
25
|
+
fileInput.addEventListener('change', function (ev) {
|
|
26
|
+
handleFileSelect(ev, handleImagData);
|
|
27
|
+
}, false);
|
|
28
|
+
fileInput.addEventListener('cancel', function () {
|
|
29
|
+
document.body.removeChild(fileInput);
|
|
30
|
+
});
|
|
31
|
+
document.body.appendChild(fileInput);
|
|
32
|
+
fileInput.click();
|
|
33
|
+
}
|
|
34
|
+
function handleFileSelect(event, handleImagData) {
|
|
35
|
+
var _event$target;
|
|
36
|
+
var file = event === null || event === void 0 || (_event$target = event.target) === null || _event$target === void 0 || (_event$target = _event$target.files) === null || _event$target === void 0 ? void 0 : _event$target[0];
|
|
37
|
+
if (file) {
|
|
38
|
+
var reader = new FileReader();
|
|
39
|
+
reader.onload = function (e) {
|
|
40
|
+
var _e$target;
|
|
41
|
+
var fileData = e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.result;
|
|
42
|
+
var url = URL.createObjectURL(file);
|
|
43
|
+
// TODO: 数据类型
|
|
44
|
+
var chatRoomFile = {
|
|
45
|
+
filename: file.name,
|
|
46
|
+
filetype: file.type,
|
|
47
|
+
url: url,
|
|
48
|
+
data: fileData
|
|
49
|
+
};
|
|
50
|
+
handleImagData(chatRoomFile);
|
|
51
|
+
URL.revokeObjectURL(url);
|
|
52
|
+
};
|
|
53
|
+
reader.onerror = function () {
|
|
54
|
+
console.error('文件读取失败');
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
// base64 读取
|
|
58
|
+
reader.readAsDataURL(file);
|
|
59
|
+
reader.onloadend = function () {
|
|
60
|
+
event.target.remove();
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.fcr-message-input {
|
|
2
|
+
min-width: 312px;
|
|
3
|
+
max-height: 110px;
|
|
4
|
+
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
padding: 8px 8px 0 10px;
|
|
9
|
+
|
|
10
|
+
background: var(--fcr_ui_scene_input);
|
|
11
|
+
border-radius: var(--fcr_cornerradius_m);
|
|
12
|
+
border: 1px solid var(--fcr_ui_scene_line1);
|
|
13
|
+
font-size: 12px;
|
|
14
|
+
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.fcr-input__box {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex: 1;
|
|
21
|
+
/* margin-bottom: 4px; */
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.fcr-message-input__focus {
|
|
25
|
+
border: 1px solid var(--fcr_ui_scene_ramp_brand6);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.fcr-message-input__error {
|
|
29
|
+
border: 1px solid var(--fcr_ui_scene_ramp_red6);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.fcr-message-input textarea {
|
|
33
|
+
background: inherit;
|
|
34
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
35
|
+
width: 100%;
|
|
36
|
+
resize: none;
|
|
37
|
+
line-height: 18px;
|
|
38
|
+
overflow: auto;
|
|
39
|
+
scrollbar-width: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fcr-message-input textarea:focus {
|
|
43
|
+
outline: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.fcr-input__bottom-bar {
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: space-between;
|
|
49
|
+
align-items: center;
|
|
50
|
+
flex-direction: row;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.fcr-bar__buttons {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: flex-start;
|
|
56
|
+
align-items: center;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.fcr-bar__buttons button {
|
|
61
|
+
background: var(--fcr_web_ui_scene_fill2);
|
|
62
|
+
border: none;
|
|
63
|
+
margin-right: 4px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.fcr-bar__confirm {
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: flex-end;
|
|
69
|
+
align-items: center;
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.fcr-bar__confirm button {
|
|
75
|
+
background: var(--fcr_ui_scene_input);
|
|
76
|
+
border: none;
|
|
77
|
+
width: 32px;
|
|
78
|
+
height: 32px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.fcr-confirm_error {
|
|
82
|
+
color: var(--fcr_ui_scene_ramp_red6);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.fcr-confirm_normal {
|
|
86
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.fcr-bar__confirm span {
|
|
90
|
+
font-weight: 400;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.fcr-button-icons {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
background: var(--fcr_web_ui_scene_fill2);
|
|
97
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.fcr-button-icons button {
|
|
101
|
+
margin: 0;
|
|
102
|
+
cursor: inherit;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.fcr-icon-drop {
|
|
106
|
+
margin-left: -4px;
|
|
107
|
+
background: transparent;
|
|
108
|
+
height: 16px;
|
|
109
|
+
width: 16px;
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import './index.css';
|
|
3
|
+
import { handleClickUploadImage } from './handleUploadImag';
|
|
4
|
+
export interface MessageInputProps {
|
|
5
|
+
updateErrVisible?: (visible: boolean) => void;
|
|
6
|
+
onMsg?: (msg: string) => void;
|
|
7
|
+
limitation?: number;
|
|
8
|
+
styles?: CSSProperties;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
onEmoji?: (emoji: string) => void;
|
|
11
|
+
onFile?: (file: string) => void;
|
|
12
|
+
handleClickUploadImage?: () => void;
|
|
13
|
+
defaultMsg?: string;
|
|
14
|
+
updateChatTextMsg?: (msg: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const MessageTextArea: React.ForwardRefExoticComponent<MessageInputProps & React.RefAttributes<{
|
|
17
|
+
dom: HTMLTextAreaElement | null;
|
|
18
|
+
}>>;
|
|
19
|
+
export declare const ButtonIcons: React.FC<{}>;
|
|
20
|
+
export { handleClickUploadImage };
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.array.filter.js");
|
|
5
|
+
require("core-js/modules/es.array.for-each.js");
|
|
6
|
+
require("core-js/modules/es.array.iterator.js");
|
|
7
|
+
require("core-js/modules/es.array.push.js");
|
|
8
|
+
require("core-js/modules/es.object.define-properties.js");
|
|
9
|
+
require("core-js/modules/es.object.define-property.js");
|
|
10
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
11
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
12
|
+
require("core-js/modules/es.object.to-string.js");
|
|
13
|
+
require("core-js/modules/es.string.iterator.js");
|
|
14
|
+
require("core-js/modules/es.weak-map.js");
|
|
15
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
16
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
17
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
18
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
19
|
+
Object.defineProperty(exports, "__esModule", {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
exports.MessageTextArea = exports.ButtonIcons = void 0;
|
|
23
|
+
Object.defineProperty(exports, "handleClickUploadImage", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function get() {
|
|
26
|
+
return _handleUploadImag.handleClickUploadImage;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
require("core-js/modules/es.array.map.js");
|
|
30
|
+
require("core-js/modules/es.object.keys.js");
|
|
31
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
32
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
33
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
34
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
35
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
36
|
+
require("./index.css");
|
|
37
|
+
var _iconButton = require("../icon-button");
|
|
38
|
+
var _type = require("../icon/type");
|
|
39
|
+
var _icon = require("../icon");
|
|
40
|
+
var _handleUploadImag = require("./handleUploadImag");
|
|
41
|
+
var _popover = require("../popover");
|
|
42
|
+
var svgExports = _interopRequireWildcard(require("../icon/svg-exports"));
|
|
43
|
+
var _i18n = require("../../i18n");
|
|
44
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
45
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
46
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
47
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
48
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
49
|
+
var defaultAutoSizeParams = {
|
|
50
|
+
minHeight: 45,
|
|
51
|
+
maxHeight: 68
|
|
52
|
+
};
|
|
53
|
+
var MessageTextArea = exports.MessageTextArea = /*#__PURE__*/(0, _react.forwardRef)(function MessageTextArea(props, ref) {
|
|
54
|
+
var t = (0, _i18n.useI18n)();
|
|
55
|
+
var updateErrVisible = props.updateErrVisible,
|
|
56
|
+
onSendMsg = props.onMsg,
|
|
57
|
+
_props$limitation = props.limitation,
|
|
58
|
+
limitation = _props$limitation === void 0 ? 200 : _props$limitation,
|
|
59
|
+
styles = props.styles,
|
|
60
|
+
_props$placeholder = props.placeholder,
|
|
61
|
+
placeholder = _props$placeholder === void 0 ? t('fmt_chat_label_enter_message') : _props$placeholder,
|
|
62
|
+
onEmoji = props.onEmoji,
|
|
63
|
+
onFile = props.onFile,
|
|
64
|
+
handleClickUploadImage = props.handleClickUploadImage,
|
|
65
|
+
_props$defaultMsg = props.defaultMsg,
|
|
66
|
+
defaultMsg = _props$defaultMsg === void 0 ? '' : _props$defaultMsg,
|
|
67
|
+
updateChatTextMsg = props.updateChatTextMsg;
|
|
68
|
+
var _useState = (0, _react.useState)(defaultMsg),
|
|
69
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
70
|
+
textMsg = _useState2[0],
|
|
71
|
+
setTextMsg = _useState2[1];
|
|
72
|
+
var _useState3 = (0, _react.useState)(false),
|
|
73
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
74
|
+
focus = _useState4[0],
|
|
75
|
+
setFocus = _useState4[1];
|
|
76
|
+
var cls = (0, _classnames["default"])('fcr-message-input', {
|
|
77
|
+
'fcr-message-input__focus': focus && textMsg.length <= limitation,
|
|
78
|
+
'fcr-message-input__error': textMsg.length > limitation
|
|
79
|
+
});
|
|
80
|
+
var _useState5 = (0, _react.useState)(false),
|
|
81
|
+
_useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
|
|
82
|
+
emojiVisible = _useState6[0],
|
|
83
|
+
setEmojiVisible = _useState6[1];
|
|
84
|
+
var inputRef = (0, _react.useRef)(null);
|
|
85
|
+
(0, _react.useImperativeHandle)(ref, function () {
|
|
86
|
+
return {
|
|
87
|
+
dom: inputRef.current
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
var handleSize = function handleSize() {
|
|
91
|
+
var _defaultAutoSizeParam = defaultAutoSizeParams.minHeight,
|
|
92
|
+
minHeight = _defaultAutoSizeParam === void 0 ? 100 : _defaultAutoSizeParam;
|
|
93
|
+
if (inputRef !== null && inputRef !== void 0 && inputRef.current) {
|
|
94
|
+
inputRef.current.style.height = minHeight + 'px';
|
|
95
|
+
inputRef.current.style.height = inputRef.current.scrollHeight + 'px';
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
(0, _react.useEffect)(handleSize, [textMsg]);
|
|
99
|
+
(0, _react.useEffect)(function () {
|
|
100
|
+
if (textMsg.length <= limitation) {
|
|
101
|
+
updateErrVisible && updateErrVisible(false);
|
|
102
|
+
}
|
|
103
|
+
}, [textMsg]);
|
|
104
|
+
(0, _react.useEffect)(function () {
|
|
105
|
+
return function () {
|
|
106
|
+
updateChatTextMsg === null || updateChatTextMsg === void 0 || updateChatTextMsg(textMsg);
|
|
107
|
+
};
|
|
108
|
+
}, [textMsg]);
|
|
109
|
+
var msgSendHandler = function msgSendHandler() {
|
|
110
|
+
if (textMsg.length === 0) return;
|
|
111
|
+
if (textMsg.length > limitation) {
|
|
112
|
+
updateErrVisible && updateErrVisible(true);
|
|
113
|
+
} else {
|
|
114
|
+
onSendMsg && onSendMsg(textMsg);
|
|
115
|
+
setTextMsg('');
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
var _useState7 = (0, _react.useState)(false),
|
|
119
|
+
_useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
|
|
120
|
+
isComposing = _useState8[0],
|
|
121
|
+
setIsComposing = _useState8[1];
|
|
122
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
123
|
+
className: cls,
|
|
124
|
+
style: _objectSpread({}, styles),
|
|
125
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
126
|
+
className: "fcr-input__box",
|
|
127
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("textarea", {
|
|
128
|
+
ref: inputRef,
|
|
129
|
+
style: _objectSpread(_objectSpread({}, defaultAutoSizeParams), {}, {
|
|
130
|
+
height: defaultAutoSizeParams.minHeight
|
|
131
|
+
}),
|
|
132
|
+
placeholder: placeholder,
|
|
133
|
+
value: textMsg,
|
|
134
|
+
onChange: function onChange(target) {
|
|
135
|
+
setTextMsg(target.target.value);
|
|
136
|
+
},
|
|
137
|
+
onFocus: function onFocus() {
|
|
138
|
+
setFocus(true);
|
|
139
|
+
},
|
|
140
|
+
onBlur: function onBlur() {
|
|
141
|
+
setFocus(false);
|
|
142
|
+
},
|
|
143
|
+
onCompositionStart: function onCompositionStart(_) {
|
|
144
|
+
setIsComposing(true);
|
|
145
|
+
},
|
|
146
|
+
onCompositionEnd: function onCompositionEnd(_) {
|
|
147
|
+
setIsComposing(false);
|
|
148
|
+
},
|
|
149
|
+
onKeyDown: function onKeyDown(event) {
|
|
150
|
+
if (event.key === 'Enter' && !isComposing) {
|
|
151
|
+
if (!event.shiftKey) {
|
|
152
|
+
msgSendHandler();
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
})
|
|
158
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
159
|
+
className: "fcr-input__bottom-bar",
|
|
160
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
161
|
+
className: "fcr-bar__buttons",
|
|
162
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_iconButton.FcrIconButton, {
|
|
163
|
+
icon: _type.FcrIconType.FCR_PICTURE,
|
|
164
|
+
size: "mini",
|
|
165
|
+
iconColors: {
|
|
166
|
+
iconPrimary: 'var(--fcr_ui_scene_ramp_brand2)',
|
|
167
|
+
iconSecondary: 'var(--fcr_card_purple2)'
|
|
168
|
+
},
|
|
169
|
+
onClick: handleClickUploadImage
|
|
170
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
|
|
171
|
+
trigger: 'click',
|
|
172
|
+
placement: 'bottomLeft',
|
|
173
|
+
overlayInnerStyle: {
|
|
174
|
+
maxHeight: 200,
|
|
175
|
+
overflow: 'auto'
|
|
176
|
+
},
|
|
177
|
+
visible: emojiVisible,
|
|
178
|
+
onVisibleChange: function onVisibleChange(visible) {
|
|
179
|
+
setEmojiVisible(visible);
|
|
180
|
+
},
|
|
181
|
+
content: Object.keys(svgExports).map(function (key) {
|
|
182
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
183
|
+
style: {
|
|
184
|
+
display: 'inline-block',
|
|
185
|
+
cursor: 'pointer'
|
|
186
|
+
},
|
|
187
|
+
type: key,
|
|
188
|
+
size: 24,
|
|
189
|
+
colors: {
|
|
190
|
+
iconPrimary: '#ccc'
|
|
191
|
+
},
|
|
192
|
+
onClick: function onClick() {
|
|
193
|
+
onEmoji && onEmoji(key);
|
|
194
|
+
setTextMsg(textMsg + "[".concat(key, "]"));
|
|
195
|
+
setEmojiVisible(false);
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
}),
|
|
199
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconButton.FcrIconButton, {
|
|
200
|
+
icon: _type.FcrIconType.FCR_EMO,
|
|
201
|
+
size: "mini",
|
|
202
|
+
iconColors: {
|
|
203
|
+
iconPrimary: 'var(--fcr_ui_scene_black10)'
|
|
204
|
+
},
|
|
205
|
+
onClick: function onClick() {
|
|
206
|
+
setEmojiVisible(true);
|
|
207
|
+
}
|
|
208
|
+
})
|
|
209
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(ButtonIcons, {})]
|
|
210
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
211
|
+
className: "fcr-bar__confirm",
|
|
212
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
213
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
214
|
+
className: textMsg.length >= limitation ? 'fcr-confirm_error' : 'fcr-confirm_normal',
|
|
215
|
+
children: textMsg.length
|
|
216
|
+
}), ' ', "/ ", limitation]
|
|
217
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconButton.FcrIconButton, {
|
|
218
|
+
disabled: textMsg.length === 0,
|
|
219
|
+
icon: _type.FcrIconType.FCR_SEND,
|
|
220
|
+
size: "large",
|
|
221
|
+
iconColors: {
|
|
222
|
+
iconPrimary: 'var(--fcr_ui_scene_ramp_brand6)'
|
|
223
|
+
},
|
|
224
|
+
onClick: msgSendHandler
|
|
225
|
+
})]
|
|
226
|
+
})]
|
|
227
|
+
})]
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
var ButtonIcons = exports.ButtonIcons = function ButtonIcons(_ref) {
|
|
231
|
+
(0, _objectDestructuringEmpty2["default"])(_ref);
|
|
232
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
233
|
+
className: "fcr-button-icons",
|
|
234
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_iconButton.FcrIconButton, {
|
|
235
|
+
icon: _type.FcrIconType.FCR_OPENFILE,
|
|
236
|
+
iconColors: {
|
|
237
|
+
iconPrimary: 'var(--fcr_web_ui_scene_mainicon1)'
|
|
238
|
+
},
|
|
239
|
+
size: "mini"
|
|
240
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
241
|
+
className: 'fcr-icon-drop',
|
|
242
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
243
|
+
type: _type.FcrIconType.FCR_DROPDOWN,
|
|
244
|
+
colors: {
|
|
245
|
+
iconPrimary: 'var(--fcr_web_ui_scene_mainicon1)'
|
|
246
|
+
}
|
|
247
|
+
})
|
|
248
|
+
})]
|
|
249
|
+
});
|
|
250
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { MessageTextArea, MessageInputProps } from '.';
|
|
3
|
+
declare const meta: Meta<typeof MessageTextArea>;
|
|
4
|
+
export declare const Doc: (props: MessageInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default meta;
|