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,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.FcrTabs = exports.FcrFashionTabs = void 0;
|
|
9
|
+
require("core-js/modules/es.array.map.js");
|
|
10
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
12
|
+
var _react = require("react");
|
|
13
|
+
require("./index.css");
|
|
14
|
+
var _icon = require("../icon");
|
|
15
|
+
var _type = require("../icon/type");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
var FcrTabs = exports.FcrTabs = function FcrTabs(_ref) {
|
|
18
|
+
var _ref$items = _ref.items,
|
|
19
|
+
items = _ref$items === void 0 ? [] : _ref$items,
|
|
20
|
+
activeKey = _ref.activeKey,
|
|
21
|
+
_ref$onChange = _ref.onChange,
|
|
22
|
+
onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange,
|
|
23
|
+
variant = _ref.variant;
|
|
24
|
+
var _useState = (0, _react.useState)({}),
|
|
25
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
26
|
+
indicatorStyle = _useState2[0],
|
|
27
|
+
setIndicatorStyle = _useState2[1];
|
|
28
|
+
var selectorRef = (0, _react.useRef)(null);
|
|
29
|
+
(0, _react.useEffect)(function () {
|
|
30
|
+
var _selectorRef$current;
|
|
31
|
+
var el = (_selectorRef$current = selectorRef.current) === null || _selectorRef$current === void 0 ? void 0 : _selectorRef$current.querySelector(".fcr-tabs__nav-item-".concat(activeKey));
|
|
32
|
+
if (el) {
|
|
33
|
+
var _ref2 = el,
|
|
34
|
+
offsetLeft = _ref2.offsetLeft;
|
|
35
|
+
setIndicatorStyle({
|
|
36
|
+
left: offsetLeft,
|
|
37
|
+
width: el.clientWidth
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}, [activeKey]);
|
|
41
|
+
var cls = (0, _classnames["default"])('fcr-tabs', {
|
|
42
|
+
'fcr-simple-tabs': variant === 'simple'
|
|
43
|
+
});
|
|
44
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
45
|
+
className: cls,
|
|
46
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
47
|
+
className: "fcr-tabs__nav-list",
|
|
48
|
+
ref: selectorRef,
|
|
49
|
+
children: [items.map(function (_ref3) {
|
|
50
|
+
var label = _ref3.label,
|
|
51
|
+
key = _ref3.key;
|
|
52
|
+
var cls = (0, _classnames["default"])("fcr-tabs__nav-item fcr-tabs__nav-item-".concat(key), {
|
|
53
|
+
'fcr-tabs__nav-item--active': key === activeKey
|
|
54
|
+
});
|
|
55
|
+
var handleClick = function handleClick() {
|
|
56
|
+
onChange(key);
|
|
57
|
+
};
|
|
58
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
59
|
+
className: cls,
|
|
60
|
+
onClick: handleClick,
|
|
61
|
+
children: label
|
|
62
|
+
}, key);
|
|
63
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
64
|
+
className: "fcr-tabs__nav-indicator",
|
|
65
|
+
style: indicatorStyle
|
|
66
|
+
})]
|
|
67
|
+
})
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
var FcrFashionTabs = exports.FcrFashionTabs = function FcrFashionTabs(_ref4) {
|
|
71
|
+
var _ref4$items = _ref4.items,
|
|
72
|
+
items = _ref4$items === void 0 ? [] : _ref4$items,
|
|
73
|
+
activeKey = _ref4.activeKey,
|
|
74
|
+
_ref4$onChange = _ref4.onChange,
|
|
75
|
+
onChange = _ref4$onChange === void 0 ? function () {} : _ref4$onChange;
|
|
76
|
+
var rootRef = (0, _react.useRef)(null);
|
|
77
|
+
var _useState3 = (0, _react.useState)({}),
|
|
78
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
79
|
+
indicatorStyle = _useState4[0],
|
|
80
|
+
setIndicatorStyle = _useState4[1];
|
|
81
|
+
(0, _react.useEffect)(function () {
|
|
82
|
+
if (!rootRef.current) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
var el = rootRef.current.querySelector(".fcr-tabs__nav-item-".concat(activeKey));
|
|
86
|
+
if (el) {
|
|
87
|
+
var _ref5 = el,
|
|
88
|
+
offsetLeft = _ref5.offsetLeft;
|
|
89
|
+
setIndicatorStyle({
|
|
90
|
+
left: offsetLeft + el.clientWidth - 40,
|
|
91
|
+
width: 40,
|
|
92
|
+
top: -7
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}, [activeKey, items]);
|
|
96
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
97
|
+
className: "fcr-tabs fcr-fashion-tabs",
|
|
98
|
+
ref: rootRef,
|
|
99
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
100
|
+
className: "fcr-tabs__nav-list",
|
|
101
|
+
children: [items.map(function (_ref6) {
|
|
102
|
+
var label = _ref6.label,
|
|
103
|
+
key = _ref6.key;
|
|
104
|
+
var cls = (0, _classnames["default"])("fcr-tabs__nav-item fcr-tabs__nav-item-".concat(key), {
|
|
105
|
+
'fcr-tabs__nav-item--active': key === activeKey
|
|
106
|
+
});
|
|
107
|
+
var handleClick = function handleClick() {
|
|
108
|
+
onChange(key);
|
|
109
|
+
};
|
|
110
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
111
|
+
className: cls,
|
|
112
|
+
onClick: handleClick,
|
|
113
|
+
children: label
|
|
114
|
+
}, key);
|
|
115
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
116
|
+
className: "fcr-fashion-tabs__nav-indicator",
|
|
117
|
+
style: indicatorStyle,
|
|
118
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
119
|
+
type: _type.FcrIconType.FCR_UNDERLINE,
|
|
120
|
+
colors: {
|
|
121
|
+
iconPrimary: 'var(--fcr_ui_scene_icontext2)'
|
|
122
|
+
},
|
|
123
|
+
size: 40
|
|
124
|
+
})
|
|
125
|
+
})]
|
|
126
|
+
})
|
|
127
|
+
});
|
|
128
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
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.keys.js");
|
|
13
|
+
require("core-js/modules/es.object.to-string.js");
|
|
14
|
+
require("core-js/modules/es.string.iterator.js");
|
|
15
|
+
require("core-js/modules/es.weak-map.js");
|
|
16
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
17
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
18
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
19
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
20
|
+
Object.defineProperty(exports, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
});
|
|
23
|
+
exports["default"] = exports.Docs = void 0;
|
|
24
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
25
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
26
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
27
|
+
var _ = require(".");
|
|
28
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
29
|
+
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); }
|
|
30
|
+
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; }
|
|
31
|
+
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; }
|
|
32
|
+
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; }
|
|
33
|
+
var meta = {
|
|
34
|
+
title: 'Components/Tabs',
|
|
35
|
+
component: _.FcrTabs,
|
|
36
|
+
args: {
|
|
37
|
+
items: [{
|
|
38
|
+
label: 'Chat',
|
|
39
|
+
key: 'chat'
|
|
40
|
+
}, {
|
|
41
|
+
label: 'Member(20)',
|
|
42
|
+
key: 'member'
|
|
43
|
+
}]
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var Docs = exports.Docs = function Docs(props) {
|
|
47
|
+
var _useState = (0, _react.useState)('chat'),
|
|
48
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
49
|
+
activeKey = _useState2[0],
|
|
50
|
+
setActiveKey = _useState2[1];
|
|
51
|
+
var handleChange = function handleChange(key) {
|
|
52
|
+
setActiveKey(key);
|
|
53
|
+
};
|
|
54
|
+
var _useState3 = (0, _react.useState)('setting'),
|
|
55
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
56
|
+
activeKey1 = _useState4[0],
|
|
57
|
+
setActiveKey1 = _useState4[1];
|
|
58
|
+
var handleChange1 = function handleChange1(key) {
|
|
59
|
+
setActiveKey1(key);
|
|
60
|
+
};
|
|
61
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
62
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
63
|
+
style: {
|
|
64
|
+
width: 400,
|
|
65
|
+
marginBottom: 50
|
|
66
|
+
},
|
|
67
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FcrTabs, _objectSpread(_objectSpread({}, props), {}, {
|
|
68
|
+
activeKey: activeKey,
|
|
69
|
+
onChange: handleChange
|
|
70
|
+
}))
|
|
71
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
72
|
+
style: {
|
|
73
|
+
width: 400,
|
|
74
|
+
marginBottom: 50
|
|
75
|
+
},
|
|
76
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FcrTabs, _objectSpread(_objectSpread({}, props), {}, {
|
|
77
|
+
activeKey: activeKey,
|
|
78
|
+
onChange: handleChange,
|
|
79
|
+
variant: "simple"
|
|
80
|
+
}))
|
|
81
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
82
|
+
style: {
|
|
83
|
+
width: 600,
|
|
84
|
+
marginBottom: 50
|
|
85
|
+
},
|
|
86
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FcrFashionTabs, {
|
|
87
|
+
items: [{
|
|
88
|
+
label: 'Basic Setting',
|
|
89
|
+
key: 'setting'
|
|
90
|
+
}, {
|
|
91
|
+
label: 'Background',
|
|
92
|
+
key: 'background'
|
|
93
|
+
}, {
|
|
94
|
+
label: 'Beauty Filter',
|
|
95
|
+
key: 'filter'
|
|
96
|
+
}],
|
|
97
|
+
activeKey: activeKey1,
|
|
98
|
+
onChange: handleChange1
|
|
99
|
+
})
|
|
100
|
+
})]
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
var _default = exports["default"] = meta;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.fcr-text-bubble {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
|
|
5
|
+
text-align: center;
|
|
6
|
+
vertical-align: middle;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-self: center;
|
|
9
|
+
|
|
10
|
+
border-radius: 50px;
|
|
11
|
+
|
|
12
|
+
font-family: 'Helvetica Neue';
|
|
13
|
+
cursor: default;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fcr-text-bubble--gray {
|
|
17
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
18
|
+
background: var(--fcr_chat_bg);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fcr-text-bubble--gray-2 {
|
|
22
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
23
|
+
background: var(--fcr_ui_scene_input);
|
|
24
|
+
border-radius: 10px;
|
|
25
|
+
border: 1px solid var(--fcr_ui_scene_line1);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.fcr-text-bubble--white {
|
|
29
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
30
|
+
background: var(--fcr_mobile_ui_scene_color_popup_block1);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.fcr-text-bubble--white:hover {
|
|
34
|
+
color: var(--fcr_web_ui_scene_mainicon2);
|
|
35
|
+
background: var(--fcr_web_ui_scene_hover);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.fcr-text-bubble--white:hover path {
|
|
39
|
+
fill: var(--fcr_web_ui_scene_mainicon2);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fcr-text-bubble--purple {
|
|
43
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
44
|
+
background: var(--fcr_ui_scene_ramp_purple3);
|
|
45
|
+
border: 0.5px solid var(--fcr_ui_scene_ramp_purple5);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.fcr-text-bubble--large {
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
padding: 10px 20px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.fcr-text-bubble--medium {
|
|
54
|
+
font-size: 12px;
|
|
55
|
+
padding: 7px 16px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.fcr-text-bubble--small {
|
|
59
|
+
font-size: 10px;
|
|
60
|
+
padding: 5px 12px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.fcr-text-bubble--weight-bold {
|
|
64
|
+
font-weight: 700;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.fcr-text-bubble--weight-normal {
|
|
68
|
+
font-weight: 300;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.fcr-text-bubble--line-height-large {
|
|
72
|
+
line-height: 16px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.fcr-text-bubble--line-height-medium {
|
|
76
|
+
line-height: 14px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.fcr-text-bubble--line-height-small {
|
|
80
|
+
line-height: 12px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.fcr-text-bubble--transparent {
|
|
84
|
+
color: var(--fcr_ui_scene_black4);
|
|
85
|
+
padding: 0;
|
|
86
|
+
background: transparent;
|
|
87
|
+
font-family: Helvetica;
|
|
88
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import './index.css';
|
|
3
|
+
export interface TextBubbleProps {
|
|
4
|
+
styles?: CSSProperties;
|
|
5
|
+
type?: 'gray' | 'gray_2' | 'white' | 'transparent' | 'purple';
|
|
6
|
+
size?: 'small' | 'medium' | 'large';
|
|
7
|
+
txt?: string | ReactNode;
|
|
8
|
+
bold?: boolean;
|
|
9
|
+
lineHeight?: 'small' | 'medium' | 'large';
|
|
10
|
+
marginBottom?: number;
|
|
11
|
+
classnames?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const TextBubble: React.FC<React.PropsWithChildren<TextBubbleProps>>;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.push.js");
|
|
7
|
+
require("core-js/modules/es.object.define-properties.js");
|
|
8
|
+
require("core-js/modules/es.object.define-property.js");
|
|
9
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
10
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
11
|
+
require("core-js/modules/es.object.keys.js");
|
|
12
|
+
require("core-js/modules/es.object.to-string.js");
|
|
13
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
14
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
15
|
+
Object.defineProperty(exports, "__esModule", {
|
|
16
|
+
value: true
|
|
17
|
+
});
|
|
18
|
+
exports.TextBubble = void 0;
|
|
19
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
20
|
+
require("core-js/modules/es.string.bold.js");
|
|
21
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
22
|
+
var _react = _interopRequireDefault(require("react"));
|
|
23
|
+
require("./index.css");
|
|
24
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
|
+
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; }
|
|
26
|
+
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; }
|
|
27
|
+
var TextBubble = exports.TextBubble = function TextBubble(_ref) {
|
|
28
|
+
var styles = _ref.styles,
|
|
29
|
+
_ref$type = _ref.type,
|
|
30
|
+
type = _ref$type === void 0 ? 'gray' : _ref$type,
|
|
31
|
+
_ref$size = _ref.size,
|
|
32
|
+
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
33
|
+
_ref$txt = _ref.txt,
|
|
34
|
+
txt = _ref$txt === void 0 ? 'Hello, World!' : _ref$txt,
|
|
35
|
+
_ref$bold = _ref.bold,
|
|
36
|
+
bold = _ref$bold === void 0 ? false : _ref$bold,
|
|
37
|
+
_ref$lineHeight = _ref.lineHeight,
|
|
38
|
+
lineHeight = _ref$lineHeight === void 0 ? 'medium' : _ref$lineHeight,
|
|
39
|
+
_ref$marginBottom = _ref.marginBottom,
|
|
40
|
+
marginBottom = _ref$marginBottom === void 0 ? 0 : _ref$marginBottom,
|
|
41
|
+
classnames = _ref.classnames;
|
|
42
|
+
var cls = (0, _classnames["default"])('fcr-text-bubble', classnames, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({
|
|
43
|
+
'fcr-text-bubble--gray': type === 'gray',
|
|
44
|
+
'fcr-text-bubble--gray-2': type === 'gray_2',
|
|
45
|
+
'fcr-text-bubble--white': type === 'white',
|
|
46
|
+
'fcr-text-bubble--purple': type === 'purple',
|
|
47
|
+
'fcr-text-bubble--transparent': type === 'transparent',
|
|
48
|
+
'fcr-text-bubble--small': size === 'small',
|
|
49
|
+
'fcr-text-bubble--medium': size === 'medium',
|
|
50
|
+
'fcr-text-bubble--large': size === 'large'
|
|
51
|
+
}, bold ? 'fcr-text-bubble--weight-bold' : 'fcr-text-bubble--weight-normal', true), 'fcr-text-bubble--line-height-small', lineHeight === 'small'), 'fcr-text-bubble--line-height-medium', lineHeight === 'medium'), 'fcr-text-bubble--line-height-large', lineHeight === 'large'));
|
|
52
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
53
|
+
className: cls,
|
|
54
|
+
style: _objectSpread(_objectSpread({}, styles), marginBottom ? {
|
|
55
|
+
marginBottom: marginBottom
|
|
56
|
+
} : {}),
|
|
57
|
+
children: typeof txt === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
58
|
+
children: txt
|
|
59
|
+
}) : txt
|
|
60
|
+
});
|
|
61
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.Doc = void 0;
|
|
9
|
+
require("core-js/modules/web.timers.js");
|
|
10
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
|
+
var _react = require("react");
|
|
12
|
+
var _ = require(".");
|
|
13
|
+
var _type = require("../icon/type");
|
|
14
|
+
var _iconText = require("../icon-text");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
var meta = {
|
|
17
|
+
title: 'Components/TextBubble',
|
|
18
|
+
tags: ['autodocs'],
|
|
19
|
+
component: _.TextBubble,
|
|
20
|
+
args: {
|
|
21
|
+
styles: {
|
|
22
|
+
display: 'flex'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
argTypes: {}
|
|
26
|
+
};
|
|
27
|
+
var Doc = exports.Doc = function Doc(props) {
|
|
28
|
+
var styles = props.styles;
|
|
29
|
+
var _useState = (0, _react.useState)(true),
|
|
30
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
31
|
+
basicVisible = _useState2[0],
|
|
32
|
+
setBasicVisible = _useState2[1];
|
|
33
|
+
var handleChange = function handleChange(val) {
|
|
34
|
+
if (!val) {
|
|
35
|
+
setBasicVisible(false);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
(0, _react.useEffect)(function () {
|
|
39
|
+
if (!basicVisible) {
|
|
40
|
+
var timerId = setTimeout(function () {
|
|
41
|
+
setBasicVisible(true);
|
|
42
|
+
clearTimeout(timerId);
|
|
43
|
+
}, 2 * 1000);
|
|
44
|
+
}
|
|
45
|
+
}, [basicVisible]);
|
|
46
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
47
|
+
style: {
|
|
48
|
+
display: 'flex',
|
|
49
|
+
flexDirection: 'column',
|
|
50
|
+
padding: 50,
|
|
51
|
+
border: 'solid 0.5px #e5e7eb'
|
|
52
|
+
},
|
|
53
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
54
|
+
style: {
|
|
55
|
+
width: 200,
|
|
56
|
+
marginBottom: 50,
|
|
57
|
+
display: 'flex',
|
|
58
|
+
flexDirection: 'column'
|
|
59
|
+
},
|
|
60
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
61
|
+
style: {
|
|
62
|
+
marginBottom: 10
|
|
63
|
+
},
|
|
64
|
+
children: "Basic: none bg"
|
|
65
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.TextBubble, {
|
|
66
|
+
txt: "12:30 AM",
|
|
67
|
+
type: "transparent",
|
|
68
|
+
bold: true,
|
|
69
|
+
lineHeight: "small"
|
|
70
|
+
})]
|
|
71
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
72
|
+
style: {
|
|
73
|
+
width: 200,
|
|
74
|
+
marginBottom: 50,
|
|
75
|
+
display: 'flex',
|
|
76
|
+
flexDirection: 'column'
|
|
77
|
+
},
|
|
78
|
+
children: ["Basic: bg-gray", /*#__PURE__*/(0, _jsxRuntime.jsx)(_.TextBubble, {
|
|
79
|
+
txt: "\u4E3B\u6301\u4EBA(\u6211) \u5F00\u542F\u4E86\u804A\u5929\u5BA4\u7981\u8A00",
|
|
80
|
+
type: "gray",
|
|
81
|
+
lineHeight: "large",
|
|
82
|
+
marginBottom: 15
|
|
83
|
+
})]
|
|
84
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
85
|
+
style: {
|
|
86
|
+
width: 300,
|
|
87
|
+
marginBottom: 50,
|
|
88
|
+
display: 'flex',
|
|
89
|
+
flexDirection: 'column'
|
|
90
|
+
},
|
|
91
|
+
children: ["Icon Text & bg-gray_2:", /*#__PURE__*/(0, _jsxRuntime.jsx)(_.TextBubble, {
|
|
92
|
+
styles: {
|
|
93
|
+
minWidth: 312,
|
|
94
|
+
maxHeight: 37
|
|
95
|
+
},
|
|
96
|
+
txt: /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconText.IconText, {
|
|
97
|
+
icon: _type.FcrIconType.FCR_SETTING_NONE,
|
|
98
|
+
colors: {
|
|
99
|
+
iconPrimary: 'var(--fcr_ui_scene_icontext1)'
|
|
100
|
+
},
|
|
101
|
+
txt: "\u5168\u4F53\u7981\u8A00"
|
|
102
|
+
}),
|
|
103
|
+
type: "gray_2",
|
|
104
|
+
lineHeight: "large"
|
|
105
|
+
})]
|
|
106
|
+
})]
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
var _default = exports["default"] = meta;
|
|
@@ -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.getCaretIndex = getCaretIndex;
|
|
8
|
+
exports.setCaretIndex = setCaretIndex;
|
|
9
|
+
require("core-js/modules/es.array.concat.js");
|
|
10
|
+
require("core-js/modules/es.array.push.js");
|
|
11
|
+
function textNodesUnder(node) {
|
|
12
|
+
// https://stackoverflow.com/a/10730777/3245937
|
|
13
|
+
var all = [];
|
|
14
|
+
for (node = (_node = node) === null || _node === void 0 ? void 0 : _node.firstChild; node; node = node.nextSibling) {
|
|
15
|
+
var _node;
|
|
16
|
+
if (node.nodeType == 3) {
|
|
17
|
+
all.push(node);
|
|
18
|
+
} else {
|
|
19
|
+
all = all.concat(textNodesUnder(node));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return all;
|
|
23
|
+
}
|
|
24
|
+
function setCaretIndex(win, contentEditable, newCaretIndex) {
|
|
25
|
+
var cumulativeIndex = 0;
|
|
26
|
+
var relativeIndex = 0;
|
|
27
|
+
var targetNode = null;
|
|
28
|
+
var textNodes = textNodesUnder(contentEditable);
|
|
29
|
+
for (var i = 0; i < textNodes.length; i++) {
|
|
30
|
+
var _node$textContent, _node$textContent2;
|
|
31
|
+
var node = textNodes[i];
|
|
32
|
+
if (newCaretIndex <= cumulativeIndex + (((_node$textContent = node.textContent) === null || _node$textContent === void 0 ? void 0 : _node$textContent.length) || 0)) {
|
|
33
|
+
targetNode = node;
|
|
34
|
+
relativeIndex = newCaretIndex - cumulativeIndex;
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
cumulativeIndex += ((_node$textContent2 = node.textContent) === null || _node$textContent2 === void 0 ? void 0 : _node$textContent2.length) || 0;
|
|
38
|
+
}
|
|
39
|
+
var range = win.document.createRange();
|
|
40
|
+
range.setStart(targetNode, relativeIndex);
|
|
41
|
+
range.setEnd(targetNode, relativeIndex);
|
|
42
|
+
range.collapse();
|
|
43
|
+
var sel = win.getSelection();
|
|
44
|
+
sel === null || sel === void 0 || sel.removeAllRanges();
|
|
45
|
+
sel === null || sel === void 0 || sel.addRange(range);
|
|
46
|
+
}
|
|
47
|
+
function getCaretIndex(win, contentEditable) {
|
|
48
|
+
var index = 0;
|
|
49
|
+
var selection = win.getSelection();
|
|
50
|
+
var textNodes = textNodesUnder(contentEditable);
|
|
51
|
+
for (var i = 0; i < textNodes.length; i++) {
|
|
52
|
+
var node = textNodes[i];
|
|
53
|
+
var isSelectedNode = node === (selection === null || selection === void 0 ? void 0 : selection.focusNode);
|
|
54
|
+
if (isSelectedNode) {
|
|
55
|
+
index += selection.focusOffset;
|
|
56
|
+
break;
|
|
57
|
+
} else {
|
|
58
|
+
var _node$textContent3;
|
|
59
|
+
index += ((_node$textContent3 = node.textContent) === null || _node$textContent3 === void 0 ? void 0 : _node$textContent3.length) || 0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return index;
|
|
63
|
+
}
|