agora-ui-foundation 3.2.0 → 3.3.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.
Files changed (69) hide show
  1. package/lib/components/action-bar/device/index.css +1 -1
  2. package/lib/components/button/index.css +0 -3
  3. package/lib/components/button/index.js +1 -1
  4. package/lib/components/card/index.css +1 -1
  5. package/lib/components/chat-manager/index.css +13 -5
  6. package/lib/components/chat-manager/index.js +25 -2
  7. package/lib/components/checkbox/index.css +2 -2
  8. package/lib/components/confirm-content/index.css +37 -14
  9. package/lib/components/confirm-content/index.js +11 -8
  10. package/lib/components/device-pretest/index.js +1 -1
  11. package/lib/components/dialog/index.css +1 -1
  12. package/lib/components/dialog/index.d.ts +1 -0
  13. package/lib/components/drop-menu/index.css +24 -13
  14. package/lib/components/drop-menu/index.d.ts +1 -0
  15. package/lib/components/drop-menu/index.js +6 -5
  16. package/lib/components/icon/paths/fcr_cameraoff.d.ts +2 -2
  17. package/lib/components/icon/paths/fcr_cameraoff.js +8 -6
  18. package/lib/components/icon/paths/fcr_exclamationmask.js +1 -1
  19. package/lib/components/icon/paths/fcr_put_waiting_room.d.ts +3 -0
  20. package/lib/components/icon/paths/fcr_put_waiting_room.js +22 -0
  21. package/lib/components/icon/paths/fcr_waiting_room.d.ts +3 -0
  22. package/lib/components/icon/paths/fcr_waiting_room.js +22 -0
  23. package/lib/components/icon/paths/fcr_web_fullscream.js +1 -1
  24. package/lib/components/icon/paths/fcr_windowpage_lonely.d.ts +1 -1
  25. package/lib/components/icon/paths/fcr_windowpage_lonely.js +8 -20
  26. package/lib/components/icon/svg-dict.d.ts +1 -1
  27. package/lib/components/icon/svg-exports.d.ts +2 -0
  28. package/lib/components/icon/svg-exports.js +6 -2
  29. package/lib/components/icon/type.d.ts +2 -0
  30. package/lib/components/icon/type.js +2 -0
  31. package/lib/components/icon-text/index.css +4 -0
  32. package/lib/components/icon-text/index.d.ts +1 -0
  33. package/lib/components/icon-text/index.js +7 -4
  34. package/lib/components/input/index.css +13 -6
  35. package/lib/components/live-streaming/container.css +12 -0
  36. package/lib/components/live-streaming/container.js +3 -2
  37. package/lib/components/local-video-player/index.css +7 -2
  38. package/lib/components/notification/index.d.ts +9 -0
  39. package/lib/components/notification/index.js +40 -0
  40. package/lib/components/participants/attendee/index.css +13 -1
  41. package/lib/components/participants/attendee/index.d.ts +50 -1
  42. package/lib/components/participants/attendee/index.js +52 -7
  43. package/lib/components/participants/index.css +4 -1
  44. package/lib/components/participants/index.d.ts +3 -2
  45. package/lib/components/participants/index.js +8 -2
  46. package/lib/components/participants/index.stories.d.ts +1 -4
  47. package/lib/components/participants/index.stories.js +1 -39
  48. package/lib/components/participants/participants-more/index.d.ts +3 -2
  49. package/lib/components/participants/participants-more/index.js +106 -86
  50. package/lib/components/radio/index.css +2 -2
  51. package/lib/components/room-screen-share-state-bar/camera-state/index.js +2 -1
  52. package/lib/components/room-screen-share-state-bar/device/index.css +16 -1
  53. package/lib/components/room-screen-share-state-bar/device/index.js +2 -1
  54. package/lib/components/room-screen-share-state-bar/more/index.js +1 -1
  55. package/lib/components/room-screen-share-state-bar/share-action-nav/index.css +2 -1
  56. package/lib/components/room-screen-share-state-bar/share-audio/index.css +28 -4
  57. package/lib/components/room-screen-share-state-bar/share-audio/index.js +3 -3
  58. package/lib/components/state-bar/index.css +2 -2
  59. package/lib/components/tabs/index.css +1 -1
  60. package/lib/components/tabs/index.d.ts +1 -1
  61. package/lib/components/tooltips-button/tooltip-button.css +2 -2
  62. package/lib/components/watermark/index.css +3 -0
  63. package/lib/components/watermark/index.d.ts +47 -0
  64. package/lib/components/watermark/index.js +195 -0
  65. package/lib/components/window-header/index.js +9 -14
  66. package/lib/theme/fcr-ui-config.d.ts +74 -6
  67. package/lib/theme/fcr-ui-config.js +79 -11
  68. package/package.json +4 -3
  69. package/patches/rc-notification+5.6.2.patch +13 -0
@@ -9,4 +9,4 @@ export type SvgPath = {
9
9
  viewBox?: string;
10
10
  };
11
11
  export declare const getPath: (name: string, props: PathOptions) => import("react/jsx-runtime").JSX.Element;
12
- export declare const getViewBox: (name: string) => "0 0 48 48" | "0 0 20 8" | "0 0 20 20" | "0 0 32 32" | "0 0 50 50" | "0 0 20 21" | "0 0 28 28" | "0 0 48 49" | "0 0 49 49" | "0 0 200 120" | "0 0 10 10" | "0 0 22 22" | "0 0 5 19" | "0 0 32 20" | "0 0 48 30" | "0 0 48 20" | "0 0 24 24" | "0 0 16 16" | "0 0 30 48" | "0 0 49 48" | "0 0 100 56" | "0 0 20 48" | "0 0 36 36" | "0 0 21 20" | "0 0 39 10" | "0 0 30 30" | "0 0 18 18" | "0 0 40 40" | "0 0 9 9" | "0 0 26 26" | "0 0 14 30" | "0 4 16 8" | "0 0 40 11" | "0 0 16 13" | "0 0 15 13.5" | "0 0 8 32" | "0 0 31 30" | "0 0 4 4" | "0 0 45 7" | "0 0 0 0";
12
+ export declare const getViewBox: (name: string) => "0 0 48 48" | "0 0 20 8" | "0 0 20 20" | "0 0 32 32" | "0 0 50 50" | "0 0 20 21" | "0 0 30 30" | "0 0 48 49" | "0 0 49 49" | "0 0 200 120" | "0 0 10 10" | "0 0 22 22" | "0 0 5 19" | "0 0 32 20" | "0 0 48 30" | "0 0 48 20" | "0 0 24 24" | "0 0 16 16" | "0 0 30 48" | "0 0 49 48" | "0 0 100 56" | "0 0 28 28" | "0 0 20 48" | "0 0 36 36" | "0 0 21 20" | "0 0 39 10" | "0 0 18 18" | "0 0 40 40" | "0 0 9 9" | "0 0 26 26" | "0 0 14 30" | "0 4 16 8" | "0 0 40 11" | "0 0 16 13" | "0 0 15 13.5" | "0 0 8 32" | "0 0 31 30" | "0 0 4 4" | "0 0 45 7" | "0 0 0 0";
@@ -274,6 +274,8 @@ export * as fcr_wizard_arrow from './paths/fcr_wizard_arrow';
274
274
  export * as fcr_wrong from './paths/fcr_wrong';
275
275
  export * as fcr_zoomin from './paths/fcr_zoomin';
276
276
  export * as fcr_zoomout from './paths/fcr_zoomout';
277
+ export * as fcr_waiting_room from './paths/fcr_waiting_room';
278
+ export * as fcr_put_waiting_room from './paths/fcr_put_waiting_room';
277
279
  export * as logo_moonshot from './paths/logo_moonshot';
278
280
  export * as logo_openai from './paths/logo_openai';
279
281
  export * as set_sale from './paths/set_sale';
@@ -14,8 +14,8 @@ Object.defineProperty(exports, "__esModule", {
14
14
  value: true
15
15
  });
16
16
  exports.fcr_mobile_subtities_on = exports.fcr_mobile_sharescreen = exports.fcr_mobile_more = exports.fcr_mobile_duplicate = exports.fcr_mobile_chat3 = exports.fcr_mobile_chat2 = exports.fcr_mobile_camera2 = exports.fcr_mirrorimage_right = exports.fcr_mirrorimage_off = exports.fcr_mirrorimage_left = exports.fcr_minus = exports.fcr_meetingrecord = exports.fcr_lower_hand = exports.fcr_loading = exports.fcr_liveicon = exports.fcr_live = exports.fcr_list_on_top_big = exports.fcr_list_on_right_big = exports.fcr_list_delete = exports.fcr_link = exports.fcr_left4 = exports.fcr_left3 = exports.fcr_left1 = exports.fcr_left = exports.fcr_host2 = exports.fcr_host = exports.fcr_home_code2 = exports.fcr_hidevideo = exports.fcr_helpquestion = exports.fcr_head = exports.fcr_grid_big = exports.fcr_gotostage_on = exports.fcr_gotostage_not = exports.fcr_gotostage = exports.fcr_fullcoverage = exports.fcr_fourwindows2 = exports.fcr_fourwindows = exports.fcr_focusonhim = exports.fcr_file_video = exports.fcr_file_ppt = exports.fcr_file_photo = exports.fcr_file_pdf = exports.fcr_file_noformat = exports.fcr_file_excel = exports.fcr_file_doc = exports.fcr_file_audio = exports.fcr_file_alf = exports.fcr_file_ah5 = exports.fcr_file = exports.fcr_exclamationmask = exports.fcr_equalratio = exports.fcr_endmeeting = exports.fcr_emo = exports.fcr_dropup4 = exports.fcr_dropdown4 = exports.fcr_dropdown2 = exports.fcr_dropdown = exports.fcr_download = exports.fcr_down1 = exports.fcr_down = exports.fcr_deviceaudioon = exports.fcr_deviceaudiooff = exports.fcr_delete3 = exports.fcr_countdown_up = exports.fcr_countdown_down = exports.fcr_copy = exports.fcr_computerdata = exports.fcr_colon = exports.fcr_cohost2 = exports.fcr_cloudrecord = exports.fcr_close = exports.fcr_clock = exports.fcr_chooseit = exports.fcr_chexbox_indeterminate = exports.fcr_checkbox_check = exports.fcr_chat_reddot = exports.fcr_chat_placeholder = exports.fcr_chat_on = exports.fcr_chat2 = exports.fcr_chat = exports.fcr_cameraoff = exports.fcr_cameracrash = exports.fcr_camera_window_notwork = exports.fcr_camera_window_not = exports.fcr_camera_window_loading = exports.fcr_camera3 = exports.fcr_camera = exports.fcr_btn_loading = exports.fcr_bell = exports.fcr_beauty_retouch = exports.fcr_beauty_blush = exports.fcr_beauty = exports.fcr_background2 = exports.fcr_attach = exports.fcr_angle_tips = exports.fcr_allleave = exports.fcr_all_unmute = exports.fcr_all_mute = exports.fcr_aliyun = exports.fcr_alf2 = void 0;
17
- exports.fcr_v2_louder = exports.fcr_v2_gou_alart = exports.fcr_v2_expansionscreen = exports.fcr_v2_chevron_right2 = exports.fcr_v2_chevron_left2 = exports.fcr_v2_chevron_down2 = exports.fcr_v2_breakroom = exports.fcr_v2_answer = exports.fcr_users = exports.fcr_uporder = exports.fcr_uploadlist = exports.fcr_up2 = exports.fcr_up = exports.fcr_unpin = exports.fcr_underline = exports.fcr_topwindows = exports.fcr_tooltip_arrow_2 = exports.fcr_tooltip_arrow = exports.fcr_subtract = exports.fcr_student_rasiehand = exports.fcr_stopscreensharing = exports.fcr_stoplive = exports.fcr_stop3 = exports.fcr_stop = exports.fcr_star = exports.fcr_smooth = exports.fcr_sipdevice = exports.fcr_showvideo = exports.fcr_sharingbar_up = exports.fcr_sharingbar_down = exports.fcr_share = exports.fcr_setting_teacher = exports.fcr_setting_none = exports.fcr_setting_meetingassistant = exports.fcr_setting = exports.fcr_send = exports.fcr_security = exports.fcr_screensharing_on = exports.fcr_screensharing_1 = exports.fcr_screensharing = exports.fcr_screenshare_change2 = exports.fcr_screenshare_change1 = exports.fcr_rotatingvideo = exports.fcr_rightwindows = exports.fcr_right5 = exports.fcr_right4 = exports.fcr_right3 = exports.fcr_right2 = exports.fcr_right = exports.fcr_rewardall = exports.fcr_reward = exports.fcr_reverseorder = exports.fcr_reset = exports.fcr_rename = exports.fcr_remove_pin = exports.fcr_recording_stop = exports.fcr_recording_play2 = exports.fcr_recording_play = exports.fcr_recording_on = exports.fcr_recording_end = exports.fcr_raisehands = exports.fcr_quit2 = exports.fcr_question2 = exports.fcr_question = exports.fcr_ppt_broken = exports.fcr_platform = exports.fcr_pinpage2 = exports.fcr_pinpage = exports.fcr_pin = exports.fcr_picture = exports.fcr_phonecall_silence = exports.fcr_phonecall3 = exports.fcr_phonecall2 = exports.fcr_phonecall1 = exports.fcr_people = exports.fcr_pensize_straight = exports.fcr_pensize = exports.fcr_pen_line_4size = exports.fcr_pen_line_3size = exports.fcr_pen_line_2size = exports.fcr_pen_line_1size = exports.fcr_pen_curve_4size = exports.fcr_pen_curve_3size = exports.fcr_pen_curve_2size = exports.fcr_pen_curve_1size = exports.fcr_pause2 = exports.fcr_order_up = exports.fcr_order_down = exports.fcr_openfile = exports.fcr_oneleave = exports.fcr_notice = exports.fcr_nomute = exports.fcr_mutedefault = exports.fcr_mutecrash = exports.fcr_mute = exports.fcr_moveto = exports.fcr_move = exports.fcr_more2 = exports.fcr_mobile_whiteboard_undo = exports.fcr_mobile_whiteboard_redo = void 0;
18
- exports.zhipuai = exports.set_sale = exports.logo_openai = exports.logo_moonshot = exports.fcr_zoomout = exports.fcr_zoomin = exports.fcr_wrong = exports.fcr_wizard_arrow = exports.fcr_windowpage_smaller3 = exports.fcr_windowpage_smaller2 = exports.fcr_windowpage_smaller = exports.fcr_windowpage_lonely = exports.fcr_windowpage_bigger = exports.fcr_window_smaller = exports.fcr_window_bigger = exports.fcr_wihiteboard_slicewithoutclassroom = exports.fcr_wihiteboard_slice = exports.fcr_whitechoose = exports.fcr_whiteboard_toolbox = exports.fcr_whiteboard_text = exports.fcr_whiteboard_slice = exports.fcr_whiteboard_shap_triangle = exports.fcr_whiteboard_shap_star = exports.fcr_whiteboard_shap_square = exports.fcr_whiteboard_shap_rehumbus = exports.fcr_whiteboard_shap_line = exports.fcr_whiteboard_shap_circle_1 = exports.fcr_whiteboard_shap_circle = exports.fcr_whiteboard_shap_arrow = exports.fcr_whiteboard_save = exports.fcr_whiteboard_ped_straightline = exports.fcr_whiteboard_ped_curve = exports.fcr_whiteboard_ped3 = exports.fcr_whiteboard_ped2 = exports.fcr_whiteboard_ped = exports.fcr_whiteboard_page = exports.fcr_whiteboard_on = exports.fcr_whiteboard_movesubjects2 = exports.fcr_whiteboard_movesubjects = exports.fcr_whiteboard_move = exports.fcr_whiteboard_mouse = exports.fcr_whiteboard_lowerrightarrow = exports.fcr_whiteboard_laserpen2 = exports.fcr_whiteboard_laserpen = exports.fcr_whiteboard_forward = exports.fcr_whiteboard_expand2 = exports.fcr_whiteboard_eraser = exports.fcr_whiteboard_eliminate = exports.fcr_whiteboard_cloud = exports.fcr_whiteboard_bg = exports.fcr_whiteboard_back = exports.fcr_whiteboard2 = exports.fcr_whiteboard = exports.fcr_web_smallest = exports.fcr_web_sharingview_small = exports.fcr_web_sharingview_mix = exports.fcr_web_sharingview_middle = exports.fcr_web_scale_right = exports.fcr_web_scale_left = exports.fcr_web_restoration = exports.fcr_web_move_page = exports.fcr_web_fullscream = exports.fcr_web_connectsound = exports.fcr_web_chat = exports.fcr_videoback = exports.fcr_video_sharescreen = exports.fcr_v2_vote = exports.fcr_v2_tool_new = exports.fcr_v2_timer = exports.fcr_v2_tanhao_alart = exports.fcr_v2_signal_normal = exports.fcr_v2_signal_good = exports.fcr_v2_signal_bad = exports.fcr_v2_search = exports.fcr_v2_quite = exports.fcr_v2_poll_zoom = exports.fcr_v2_poll_minus = exports.fcr_v2_poll_add = exports.fcr_v2_phone_more1 = exports.fcr_v2_louder_min = void 0;
17
+ exports.fcr_v2_gou_alart = exports.fcr_v2_expansionscreen = exports.fcr_v2_chevron_right2 = exports.fcr_v2_chevron_left2 = exports.fcr_v2_chevron_down2 = exports.fcr_v2_breakroom = exports.fcr_v2_answer = exports.fcr_users = exports.fcr_uporder = exports.fcr_uploadlist = exports.fcr_up2 = exports.fcr_up = exports.fcr_unpin = exports.fcr_underline = exports.fcr_topwindows = exports.fcr_tooltip_arrow_2 = exports.fcr_tooltip_arrow = exports.fcr_subtract = exports.fcr_student_rasiehand = exports.fcr_stopscreensharing = exports.fcr_stoplive = exports.fcr_stop3 = exports.fcr_stop = exports.fcr_star = exports.fcr_smooth = exports.fcr_sipdevice = exports.fcr_showvideo = exports.fcr_sharingbar_up = exports.fcr_sharingbar_down = exports.fcr_share = exports.fcr_setting_teacher = exports.fcr_setting_none = exports.fcr_setting_meetingassistant = exports.fcr_setting = exports.fcr_send = exports.fcr_security = exports.fcr_screensharing_on = exports.fcr_screensharing_1 = exports.fcr_screensharing = exports.fcr_screenshare_change2 = exports.fcr_screenshare_change1 = exports.fcr_rotatingvideo = exports.fcr_rightwindows = exports.fcr_right5 = exports.fcr_right4 = exports.fcr_right3 = exports.fcr_right2 = exports.fcr_right = exports.fcr_rewardall = exports.fcr_reward = exports.fcr_reverseorder = exports.fcr_reset = exports.fcr_rename = exports.fcr_remove_pin = exports.fcr_recording_stop = exports.fcr_recording_play2 = exports.fcr_recording_play = exports.fcr_recording_on = exports.fcr_recording_end = exports.fcr_raisehands = exports.fcr_quit2 = exports.fcr_question2 = exports.fcr_question = exports.fcr_put_waiting_room = exports.fcr_ppt_broken = exports.fcr_platform = exports.fcr_pinpage2 = exports.fcr_pinpage = exports.fcr_pin = exports.fcr_picture = exports.fcr_phonecall_silence = exports.fcr_phonecall3 = exports.fcr_phonecall2 = exports.fcr_phonecall1 = exports.fcr_people = exports.fcr_pensize_straight = exports.fcr_pensize = exports.fcr_pen_line_4size = exports.fcr_pen_line_3size = exports.fcr_pen_line_2size = exports.fcr_pen_line_1size = exports.fcr_pen_curve_4size = exports.fcr_pen_curve_3size = exports.fcr_pen_curve_2size = exports.fcr_pen_curve_1size = exports.fcr_pause2 = exports.fcr_order_up = exports.fcr_order_down = exports.fcr_openfile = exports.fcr_oneleave = exports.fcr_notice = exports.fcr_nomute = exports.fcr_mutedefault = exports.fcr_mutecrash = exports.fcr_mute = exports.fcr_moveto = exports.fcr_move = exports.fcr_more2 = exports.fcr_mobile_whiteboard_undo = exports.fcr_mobile_whiteboard_redo = void 0;
18
+ exports.zhipuai = exports.set_sale = exports.logo_openai = exports.logo_moonshot = exports.fcr_zoomout = exports.fcr_zoomin = exports.fcr_wrong = exports.fcr_wizard_arrow = exports.fcr_windowpage_smaller3 = exports.fcr_windowpage_smaller2 = exports.fcr_windowpage_smaller = exports.fcr_windowpage_lonely = exports.fcr_windowpage_bigger = exports.fcr_window_smaller = exports.fcr_window_bigger = exports.fcr_wihiteboard_slicewithoutclassroom = exports.fcr_wihiteboard_slice = exports.fcr_whitechoose = exports.fcr_whiteboard_toolbox = exports.fcr_whiteboard_text = exports.fcr_whiteboard_slice = exports.fcr_whiteboard_shap_triangle = exports.fcr_whiteboard_shap_star = exports.fcr_whiteboard_shap_square = exports.fcr_whiteboard_shap_rehumbus = exports.fcr_whiteboard_shap_line = exports.fcr_whiteboard_shap_circle_1 = exports.fcr_whiteboard_shap_circle = exports.fcr_whiteboard_shap_arrow = exports.fcr_whiteboard_save = exports.fcr_whiteboard_ped_straightline = exports.fcr_whiteboard_ped_curve = exports.fcr_whiteboard_ped3 = exports.fcr_whiteboard_ped2 = exports.fcr_whiteboard_ped = exports.fcr_whiteboard_page = exports.fcr_whiteboard_on = exports.fcr_whiteboard_movesubjects2 = exports.fcr_whiteboard_movesubjects = exports.fcr_whiteboard_move = exports.fcr_whiteboard_mouse = exports.fcr_whiteboard_lowerrightarrow = exports.fcr_whiteboard_laserpen2 = exports.fcr_whiteboard_laserpen = exports.fcr_whiteboard_forward = exports.fcr_whiteboard_expand2 = exports.fcr_whiteboard_eraser = exports.fcr_whiteboard_eliminate = exports.fcr_whiteboard_cloud = exports.fcr_whiteboard_bg = exports.fcr_whiteboard_back = exports.fcr_whiteboard2 = exports.fcr_whiteboard = exports.fcr_web_smallest = exports.fcr_web_sharingview_small = exports.fcr_web_sharingview_mix = exports.fcr_web_sharingview_middle = exports.fcr_web_scale_right = exports.fcr_web_scale_left = exports.fcr_web_restoration = exports.fcr_web_move_page = exports.fcr_web_fullscream = exports.fcr_web_connectsound = exports.fcr_web_chat = exports.fcr_waiting_room = exports.fcr_videoback = exports.fcr_video_sharescreen = exports.fcr_v2_vote = exports.fcr_v2_tool_new = exports.fcr_v2_timer = exports.fcr_v2_tanhao_alart = exports.fcr_v2_signal_normal = exports.fcr_v2_signal_good = exports.fcr_v2_signal_bad = exports.fcr_v2_search = exports.fcr_v2_quite = exports.fcr_v2_poll_zoom = exports.fcr_v2_poll_minus = exports.fcr_v2_poll_add = exports.fcr_v2_phone_more1 = exports.fcr_v2_louder_min = exports.fcr_v2_louder = void 0;
19
19
  var _fcr_alf = _interopRequireWildcard(require("./paths/fcr_alf2"));
20
20
  exports.fcr_alf2 = _fcr_alf;
21
21
  var _fcr_aliyun = _interopRequireWildcard(require("./paths/fcr_aliyun"));
@@ -568,6 +568,10 @@ var _fcr_zoomin = _interopRequireWildcard(require("./paths/fcr_zoomin"));
568
568
  exports.fcr_zoomin = _fcr_zoomin;
569
569
  var _fcr_zoomout = _interopRequireWildcard(require("./paths/fcr_zoomout"));
570
570
  exports.fcr_zoomout = _fcr_zoomout;
571
+ var _fcr_waiting_room = _interopRequireWildcard(require("./paths/fcr_waiting_room"));
572
+ exports.fcr_waiting_room = _fcr_waiting_room;
573
+ var _fcr_put_waiting_room = _interopRequireWildcard(require("./paths/fcr_put_waiting_room"));
574
+ exports.fcr_put_waiting_room = _fcr_put_waiting_room;
571
575
  var _logo_moonshot = _interopRequireWildcard(require("./paths/logo_moonshot"));
572
576
  exports.logo_moonshot = _logo_moonshot;
573
577
  var _logo_openai = _interopRequireWildcard(require("./paths/logo_openai"));
@@ -275,6 +275,8 @@ export declare enum FcrIconType {
275
275
  FCR_WRONG = "fcr_wrong",
276
276
  FCR_ZOOMIN = "fcr_zoomin",
277
277
  FCR_ZOOMOUT = "fcr_zoomout",
278
+ FCR_WAITING_ROOM = "fcr_waiting_room",
279
+ FCR_PUT_WAITING_ROOM = "fcr_put_waiting_room",
278
280
  LOGO_MOONSHOT = "logo_moonshot",
279
281
  LOGO_OPENAI = "logo_openai",
280
282
  SET_SALE = "set_sale",
@@ -282,6 +282,8 @@ var FcrIconType = exports.FcrIconType = /*#__PURE__*/function (FcrIconType) {
282
282
  FcrIconType["FCR_WRONG"] = "fcr_wrong";
283
283
  FcrIconType["FCR_ZOOMIN"] = "fcr_zoomin";
284
284
  FcrIconType["FCR_ZOOMOUT"] = "fcr_zoomout";
285
+ FcrIconType["FCR_WAITING_ROOM"] = "fcr_waiting_room";
286
+ FcrIconType["FCR_PUT_WAITING_ROOM"] = "fcr_put_waiting_room";
285
287
  FcrIconType["LOGO_MOONSHOT"] = "logo_moonshot";
286
288
  FcrIconType["LOGO_OPENAI"] = "logo_openai";
287
289
  FcrIconType["SET_SALE"] = "set_sale";
@@ -16,6 +16,10 @@
16
16
  color: var(--fcr_ui_scene_icontext1);
17
17
  }
18
18
 
19
+ .fcr-icon-text__text--hide-icon {
20
+ margin: 0 4px;
21
+ }
22
+
19
23
  .fcr-icon-text__text--small {
20
24
  font-size: 10px;
21
25
  line-height: 10px;
@@ -12,6 +12,7 @@ export interface IconTextProps {
12
12
  classnames?: {
13
13
  [key: string]: boolean;
14
14
  };
15
+ isHideIcon?: boolean;
15
16
  /**
16
17
  * 支持点击
17
18
  */
@@ -49,25 +49,28 @@ var IconText = exports.IconText = function IconText(_ref) {
49
49
  classnames = _ref.classnames,
50
50
  enable = _ref.enable,
51
51
  _onClick = _ref.onClick,
52
- iconReverse = _ref.iconReverse;
52
+ iconReverse = _ref.iconReverse,
53
+ _ref$isHideIcon = _ref.isHideIcon,
54
+ isHideIcon = _ref$isHideIcon === void 0 ? false : _ref$isHideIcon;
53
55
  var cls = (0, _classnames["default"])('fcr-icon-text');
54
56
  var spanCls = (0, _classnames["default"])('fcr-icon-text__text', _objectSpread({
55
57
  'fcr-icon-text__text--small': fontSize === 'small',
56
58
  'fcr-icon-text__text--medium': fontSize === 'medium',
57
- 'fcr-icon-text__text--large': fontSize === 'large'
59
+ 'fcr-icon-text__text--large': fontSize === 'large',
60
+ 'fcr-icon-text__text--hide-icon': isHideIcon
58
61
  }, classnames));
59
62
  var text = (0, _react.useMemo)(function () {
60
63
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
61
64
  className: spanCls,
62
65
  children: txt
63
66
  });
64
- }, [txt]);
67
+ }, [txt, spanCls]);
65
68
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
66
69
  className: cls,
67
70
  style: _objectSpread({}, styles),
68
71
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
69
72
  className: 'fcr-icon-text-wrapper',
70
- children: [iconReverse && text, /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
73
+ children: [iconReverse && text, !isHideIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
71
74
  style: _objectSpread({}, transform && {
72
75
  transform: 'rotate(180deg)'
73
76
  }),
@@ -20,20 +20,25 @@
20
20
  border-radius: var(--fcr_cornerradius_l);
21
21
  height: 48px;
22
22
  }
23
+
23
24
  .fcr-input.fcr-input-m {
24
25
  height: 36px;
25
26
  }
27
+
26
28
  .fcr-input.fcr-input-s {
27
- border-radius: var(--fcr_cornerradius_s);
29
+ border-radius: var(--fcr_cornerradius_xs);
28
30
  height: 32px;
29
31
  }
32
+
30
33
  .fcr-input.fcr-input-xs {
31
34
  border-radius: var(--fcr_cornerradius_xs);
32
35
  height: 24px;
33
36
  }
37
+
34
38
  .fcr-input.fcr-input-circle {
35
39
  border-radius: var(--fcr_cornerradius_round);
36
40
  }
41
+
37
42
  .fcr-input-label {
38
43
  font-weight: var(--fcr_font_weight_x);
39
44
  color: var(--fcr_ui_scene_icontext1);
@@ -93,10 +98,12 @@
93
98
  cursor: not-allowed;
94
99
  opacity: 50%;
95
100
  }
101
+
96
102
  .fcr-input.fcr-input--disabled input {
97
103
  color: var(--fcr_ui_scene_icontext2);
98
104
  cursor: not-allowed;
99
105
  }
106
+
100
107
  .fcr-input.fcr-input--disabled input::placeholder {
101
108
  color: var(--fcr_ui_scene_icontext2);
102
109
  }
@@ -105,13 +112,16 @@
105
112
  height: 28px;
106
113
  width: 32px;
107
114
  }
115
+
108
116
  .input-password-hidden:hover {
109
117
  border-radius: var(--fcr_cornerradius_xxs);
110
118
  background-color: var(--fcr_web_ui_scene_hover);
111
119
  }
120
+
112
121
  .fcr-input-normal {
113
122
  color: var(--fcr_ui_scene_icontext2);
114
123
  }
124
+
115
125
  .fcr-input-count-error {
116
126
  color: var(--fcr_ui_scene_ramp_red6);
117
127
  }
@@ -124,14 +134,11 @@
124
134
  align-items: center;
125
135
  justify-content: center;
126
136
  }
137
+
127
138
  .fcr-input-suffix {
128
139
  height: 100%;
129
140
  display: flex;
130
141
  flex-direction: row;
131
142
  flex-wrap: nowrap;
132
143
  align-items: center;
133
- }
134
-
135
- .fcr-input-allow-show-password {
136
- padding-right: 38px;
137
- }
144
+ }
@@ -3,10 +3,12 @@
3
3
  flex-direction: column;
4
4
  gap: 20px;
5
5
  }
6
+
6
7
  .fcr-live-streaming-container-title {
7
8
  display: flex;
8
9
  flex-direction: column;
9
10
  }
11
+
10
12
  .fcr-live-streaming-container-main-title {
11
13
  font-weight: var(--fcr_font_weight_x);
12
14
  color: var(--fcr_ui_scene_icontext1);
@@ -14,21 +16,25 @@
14
16
  margin-bottom: 8px;
15
17
  margin-left: 5px;
16
18
  }
19
+
17
20
  .fcr-live-streaming-container-secondary-title {
18
21
  color: var(--fcr_ui_scene_icontext3);
19
22
  font-size: 12px;
20
23
  margin-bottom: 14px;
21
24
  margin-left: 5px;
22
25
  }
26
+
23
27
  .fcr-live-streaming-container__start-live {
24
28
  width: 100%;
25
29
  margin-top: 30px;
26
30
  -webkit-app-region: no-drag;
27
31
  }
32
+
28
33
  .fcr-live-streaming-container__start-live button {
29
34
  width: 100%;
30
35
  -webkit-app-region: no-drag;
31
36
  }
37
+
32
38
  .fcr-live-streaming-container__started-tips {
33
39
  background-color: var(--fcr_ui_scene_ramp_yellow2);
34
40
  color: var(--fcr_web_ui_scene_mainicon3_red);
@@ -38,6 +44,7 @@
38
44
  margin: auto;
39
45
  border-radius: var(--fcr_cornerradius_xs) var(--fcr_cornerradius_xs) 0 0;
40
46
  }
47
+
41
48
  .fcr-live-streaming-container__error-tip {
42
49
  color: var(--fcr_ui_scene_ramp_red6);
43
50
  width: 100%;
@@ -45,6 +52,7 @@
45
52
  flex-direction: row-reverse;
46
53
  font-size: 12px;
47
54
  }
55
+
48
56
  .fcr-live-streaming-container__error {
49
57
  color: var(--fcr_ui_scene_ramp_red6);
50
58
  width: 100%;
@@ -56,3 +64,7 @@
56
64
  align-items: center;
57
65
  justify-content: center;
58
66
  }
67
+
68
+ .fcr-live-streaming-password-input .fcr-input {
69
+ padding-right: 2px;
70
+ }
@@ -95,7 +95,7 @@ var FcrLiveStreamingContainer = exports.FcrLiveStreamingContainer = function Fcr
95
95
  label: "Video streaming URL",
96
96
  placeholder: t('fmt_live_inputtips_videostreamingurl'),
97
97
  shape: "rounded",
98
- size: "medium",
98
+ size: "small",
99
99
  value: videoSteamingUrl,
100
100
  onChange: function onChange(value) {
101
101
  return setVideoSteamingUrl(value);
@@ -109,11 +109,12 @@ var FcrLiveStreamingContainer = exports.FcrLiveStreamingContainer = function Fcr
109
109
  children: t('fmt_broadcast_tips_righturl')
110
110
  })]
111
111
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
112
+ className: "fcr-live-streaming-password-input",
112
113
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_inputPassword.FcrInputPassword, {
113
114
  label: "Video streaming key",
114
115
  placeholder: t('fmt_live_inputtips_videostreamingkey'),
115
116
  shape: "rounded",
116
- size: "medium",
117
+ size: "small",
117
118
  value: videoStreamingKey,
118
119
  onChange: function onChange(value) {
119
120
  return setVideoStreamingKey(value);
@@ -23,6 +23,7 @@
23
23
  align-items: center;
24
24
  gap: 10px;
25
25
  width: 100%;
26
+ padding-right: calc(10px + 30px);
26
27
  }
27
28
 
28
29
  .fcr-device-settings-video__view-select {
@@ -30,7 +31,7 @@
30
31
  bottom: 0px;
31
32
  width: 100%;
32
33
  height: 100%;
33
- padding: 8px;
34
+ padding: 6px;
34
35
  z-index: 10;
35
36
  display: grid;
36
37
  align-items: start;
@@ -41,7 +42,6 @@
41
42
  justify-content: center;
42
43
  align-items: center;
43
44
  min-height: 42px;
44
- margin: 6px 6px 0 6px;
45
45
  background: var(--fcr_ui_scene_white5);
46
46
  box-shadow: 0px 0px 18.75px 0px #8f8f8f26;
47
47
  border-radius: var(--fcr_cornerradius_xs);
@@ -64,6 +64,11 @@
64
64
 
65
65
  .fcr-device-settings-video__view-select .fcr-tabs {
66
66
  width: fit-content;
67
+ border-radius: var(--fcr_cornerradius_s);
68
+ }
69
+
70
+ .fcr-device-settings-video__view-select .fcr-tabs__nav-list .fcr-tabs__nav-indicator {
71
+ border-radius: var(--fcr_cornerradius_xs);
67
72
  }
68
73
 
69
74
  .fcr-device-settings-video__mirror-video {
@@ -0,0 +1,9 @@
1
+ import { NotificationAPI } from 'rc-notification';
2
+ import 'rc-notification/assets/index.css';
3
+ import { JSXElementConstructor, ReactElement } from 'react';
4
+ export declare const NOTIFICATION_ROOT_CLASS_NAME = "fcr-notification-root";
5
+ declare const useFcrNotification: () => [
6
+ NotificationAPI,
7
+ ReactElement<any, string | JSXElementConstructor<any>>
8
+ ];
9
+ export default useFcrNotification;
@@ -0,0 +1,40 @@
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.NOTIFICATION_ROOT_CLASS_NAME = void 0;
9
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
+ var _rcNotification = require("rc-notification");
11
+ require("rc-notification/assets/index.css");
12
+ var _react = require("react");
13
+ var _reactDom = _interopRequireDefault(require("react-dom"));
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ var ContextHolder = function ContextHolder(_ref) {
16
+ var contextHolder = _ref.contextHolder;
17
+ return contextHolder;
18
+ };
19
+ var NOTIFICATION_ROOT_CLASS_NAME = exports.NOTIFICATION_ROOT_CLASS_NAME = 'fcr-notification-root';
20
+ function getRoot() {
21
+ return document.querySelector(".".concat(NOTIFICATION_ROOT_CLASS_NAME));
22
+ }
23
+ var useFcrNotification = function useFcrNotification() {
24
+ var _useNotification = (0, _rcNotification.useNotification)({
25
+ stack: true
26
+ }),
27
+ _useNotification2 = (0, _slicedToArray2["default"])(_useNotification, 2),
28
+ notification = _useNotification2[0],
29
+ contextHolder = _useNotification2[1];
30
+ (0, _react.useEffect)(function () {
31
+ var dom = getRoot();
32
+ var div = document.createElement('div');
33
+ dom === null || dom === void 0 || dom.appendChild(div);
34
+ _reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(ContextHolder, {
35
+ contextHolder: contextHolder
36
+ }), div);
37
+ }, []);
38
+ return [notification, contextHolder];
39
+ };
40
+ var _default = exports["default"] = useFcrNotification;
@@ -116,14 +116,26 @@
116
116
  opacity: 1;
117
117
  }
118
118
 
119
+ .attendee__footer-more-actions .fcr-drop-menu {
120
+ padding: 16px;
121
+ }
122
+ .attendee__footer-more-actions .fcr-drop-menu-option {
123
+ padding: 0px;
124
+ margin-left: -4px;
125
+ }
126
+ .attendee__footer-more-actions .fcr-checkbox-label {
127
+ font-size: 13px;
128
+ }
129
+
119
130
  .attendee__more-actions .fcr-drop-menu-title,
120
131
  .attendee__footer-more-actions .fcr-drop-menu-title {
121
- color: var(--fcr_ui_scene_icontext2);
132
+ color: var(--fcr_ui_scene_icontext1);
122
133
  font-size: 12px;
123
134
  text-align: left;
124
135
  overflow: hidden;
125
136
  text-overflow: ellipsis;
126
137
  white-space: nowrap;
138
+ font-weight: 700;
127
139
  }
128
140
 
129
141
  .attendee__more-actions {
@@ -16,9 +16,58 @@ export interface User {
16
16
  userRole?: number;
17
17
  isSpotlight?: boolean;
18
18
  isBoardActive?: boolean;
19
+ allowedOperations?: string[];
20
+ isPin?: boolean;
21
+ }
22
+ export declare enum ParticipantActionType {
23
+ MUTE_AUDIO = "MUTE_AUDIO",
24
+ UNMUTE_AUDIO = "UNMUTE_AUDIO",
25
+ MUTE_VIDEO = "MUTE_VIDEO",
26
+ UNMUTE_VIDEO = "UNMUTE_VIDEO",
27
+ PRIVATE_CHAT = "PRIVATE_CHAT",
28
+ KICK_OUT = "KICK_OUT",
29
+ ADD_PIN = "ADD_PIN",
30
+ REMOVE_PIN = "REMOVE_PIN",
31
+ SET_AS_HOST = "SET_AS_HOST",
32
+ SET_AS_CO_HOST = "SET_AS_CO_HOST",
33
+ SET_AS_ATTENDEE = "SET_AS_ATTENDEE",
34
+ RENAME = "RENAME",
35
+ ALL_RECORDING_LOCAL_VIDEO = "ALL_RECORDING_LOCAL_VIDEO",
36
+ PUT_IN_WAITING_ROOM = "PUT_IN_WAITING_ROOM",
37
+ STOP_RAISE_HAND = "STOP_RAISE_HAND",
38
+ SET_MAIN_SPEAKER = "SET_MAIN_SPEAKER",
39
+ MERGE_VIDEO = "MERGE_VIDEO"
40
+ }
41
+ export declare const enum FcrUserRole {
42
+ HOST = 1,
43
+ COHOST = 2,
44
+ PARTICIPANT = 3,
45
+ AUDIENCE = 4,
46
+ OBSERVER = 5,
47
+ ROBOT = 6
48
+ }
49
+ export type FcrUserRoleValue = 1 | 2 | 3 | 4 | 5 | 6;
50
+ export interface ParticipantsMoreActionsProps {
51
+ isMe?: boolean;
52
+ userId: string;
53
+ hasVideo: boolean;
54
+ hasAudio: boolean;
55
+ onParticipantsButtonClick: (action: ParticipantActionType, userId: string) => void;
56
+ userName: string;
57
+ userRole: FcrUserRoleValue;
58
+ isPin: boolean;
59
+ hasPinnedStream: boolean;
60
+ allowedOperations: string[];
61
+ audioDeviceType: string;
62
+ userType?: string;
63
+ perspectiveType?: string;
64
+ hideActions?: string[];
19
65
  }
20
66
  export interface IFcrParticipantProps extends User {
21
67
  perspectiveType: 'host' | 'attendee' | 'cohost';
22
- onParticipantsButtonClick?: (action: string, userId?: string, data?: any) => void;
68
+ allowedOperations: string[];
69
+ hasPinnedStream: boolean;
70
+ isPin: boolean;
71
+ onParticipantsButtonClick?: (action: ParticipantActionType, userId: string) => void;
23
72
  }
24
73
  export declare const FcrParticipant: FC<IFcrParticipantProps>;
@@ -20,7 +20,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
20
20
  Object.defineProperty(exports, "__esModule", {
21
21
  value: true
22
22
  });
23
- exports.FcrParticipant = void 0;
23
+ exports.ParticipantActionType = exports.FcrUserRole = exports.FcrParticipant = void 0;
24
24
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
25
25
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
26
26
  var _react = require("react");
@@ -38,10 +38,40 @@ var _i18n = require("../../../i18n");
38
38
  var _jsxRuntime = require("react/jsx-runtime");
39
39
  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; }
40
40
  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; }
41
+ var ParticipantActionType = exports.ParticipantActionType = /*#__PURE__*/function (ParticipantActionType) {
42
+ ParticipantActionType["MUTE_AUDIO"] = "MUTE_AUDIO";
43
+ ParticipantActionType["UNMUTE_AUDIO"] = "UNMUTE_AUDIO";
44
+ ParticipantActionType["MUTE_VIDEO"] = "MUTE_VIDEO";
45
+ ParticipantActionType["UNMUTE_VIDEO"] = "UNMUTE_VIDEO";
46
+ ParticipantActionType["PRIVATE_CHAT"] = "PRIVATE_CHAT";
47
+ ParticipantActionType["KICK_OUT"] = "KICK_OUT";
48
+ ParticipantActionType["ADD_PIN"] = "ADD_PIN";
49
+ ParticipantActionType["REMOVE_PIN"] = "REMOVE_PIN";
50
+ ParticipantActionType["SET_AS_HOST"] = "SET_AS_HOST";
51
+ ParticipantActionType["SET_AS_CO_HOST"] = "SET_AS_CO_HOST";
52
+ ParticipantActionType["SET_AS_ATTENDEE"] = "SET_AS_ATTENDEE";
53
+ ParticipantActionType["RENAME"] = "RENAME";
54
+ ParticipantActionType["ALL_RECORDING_LOCAL_VIDEO"] = "ALL_RECORDING_LOCAL_VIDEO";
55
+ ParticipantActionType["PUT_IN_WAITING_ROOM"] = "PUT_IN_WAITING_ROOM";
56
+ ParticipantActionType["STOP_RAISE_HAND"] = "STOP_RAISE_HAND";
57
+ ParticipantActionType["SET_MAIN_SPEAKER"] = "SET_MAIN_SPEAKER";
58
+ ParticipantActionType["MERGE_VIDEO"] = "MERGE_VIDEO";
59
+ return ParticipantActionType;
60
+ }({});
61
+ var FcrUserRole = exports.FcrUserRole = /*#__PURE__*/function (FcrUserRole) {
62
+ FcrUserRole[FcrUserRole["HOST"] = 1] = "HOST";
63
+ FcrUserRole[FcrUserRole["COHOST"] = 2] = "COHOST";
64
+ FcrUserRole[FcrUserRole["PARTICIPANT"] = 3] = "PARTICIPANT";
65
+ FcrUserRole[FcrUserRole["AUDIENCE"] = 4] = "AUDIENCE";
66
+ FcrUserRole[FcrUserRole["OBSERVER"] = 5] = "OBSERVER";
67
+ FcrUserRole[FcrUserRole["ROBOT"] = 6] = "ROBOT";
68
+ return FcrUserRole;
69
+ }({}); // 定义一个类型来表示该枚举的值类型
41
70
  var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
42
71
  var userId = props.userId,
43
72
  _props$userName = props.userName,
44
73
  userName = _props$userName === void 0 ? '' : _props$userName,
74
+ userRole = props.userRole,
45
75
  hasAudio = props.hasAudio,
46
76
  hasVideo = props.hasVideo,
47
77
  isHost = props.isHost,
@@ -54,7 +84,10 @@ var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
54
84
  onParticipantsButtonClick = _props$onParticipants === void 0 ? function () {} : _props$onParticipants,
55
85
  userType = props.userType,
56
86
  videoDeviceType = props.videoDeviceType,
57
- audioDeviceType = props.audioDeviceType;
87
+ audioDeviceType = props.audioDeviceType,
88
+ allowedOperations = props.allowedOperations,
89
+ hasPinnedStream = props.hasPinnedStream,
90
+ isPin = props.isPin;
58
91
  var t = (0, _i18n.useI18n)();
59
92
  var _useState = (0, _react.useState)(false),
60
93
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
@@ -73,7 +106,7 @@ var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
73
106
  children: [perspectiveType === 'host' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_action.FcrActionButton, {
74
107
  size: "small",
75
108
  onClick: function onClick() {
76
- return onParticipantsButtonClick(hasAudio ? 'MUTE_AUDIO' : 'UNMUTE_AUDIO', userId);
109
+ onParticipantsButtonClick(hasAudio ? ParticipantActionType.MUTE_AUDIO : ParticipantActionType.UNMUTE_AUDIO, userId);
77
110
  },
78
111
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
79
112
  className: hasAudio ? 'attendee__danger-operate' : 'attendee__normal-operate',
@@ -83,13 +116,13 @@ var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
83
116
  children: isMe ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_action.FcrActionButton, {
84
117
  size: "small",
85
118
  onClick: function onClick() {
86
- return onParticipantsButtonClick(hasAudio ? 'MUTE_AUDIO' : 'UNMUTE_AUDIO', userId);
119
+ return onParticipantsButtonClick(hasAudio ? ParticipantActionType.MUTE_AUDIO : ParticipantActionType.UNMUTE_AUDIO, userId);
87
120
  },
88
121
  children: hasAudio ? t('fmt_device_label_audio_mute') : t('fmt_device_label_audio_unmute')
89
122
  }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_action.FcrActionButton, {
90
123
  size: "small",
91
124
  onClick: function onClick() {
92
- return onParticipantsButtonClick('PRIVATE_CHAT', userId);
125
+ return onParticipantsButtonClick(ParticipantActionType.PRIVATE_CHAT, userId);
93
126
  },
94
127
  children: t('fmt_chats_label_privatechat')
95
128
  })
@@ -97,7 +130,7 @@ var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
97
130
  visible: isShowDropMenu,
98
131
  overlayInnerStyle: {
99
132
  border: 0,
100
- boxShadow: '0px 0px 15px var(--fcr_web_light_dropup_m)',
133
+ boxShadow: 'var(--fcr_web_light_dropup_m)',
101
134
  borderRadius: 'var(--fcr_cornerradius_l)'
102
135
  },
103
136
  overlayClassName: "attendee__more-actions",
@@ -109,7 +142,19 @@ var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
109
142
  onMouseLeave: function onMouseLeave() {
110
143
  return setIsShowDropMenu(false);
111
144
  },
112
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_participantsMore.FcrParticipantsMoreActions, _objectSpread({}, props))
145
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_participantsMore.FcrParticipantsMoreActions, {
146
+ isMe: isMe,
147
+ userId: userId,
148
+ userName: userName,
149
+ userRole: userRole,
150
+ hasVideo: hasVideo,
151
+ hasAudio: hasAudio,
152
+ isPin: isPin,
153
+ hasPinnedStream: hasPinnedStream,
154
+ allowedOperations: allowedOperations,
155
+ audioDeviceType: audioDeviceType,
156
+ onParticipantsButtonClick: onParticipantsButtonClick
157
+ })
113
158
  }),
114
159
  placement: "bottomRight",
115
160
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_action.FcrActionButton, {
@@ -38,6 +38,9 @@
38
38
  justify-content: space-between;
39
39
  padding: 4px 15px 10px 15px;
40
40
  gap: 8px;
41
+ position: absolute;
42
+ bottom: 0;
43
+ width: 100%;
41
44
  }
42
45
 
43
46
  .fcr-participant__footer button {
@@ -66,7 +69,7 @@
66
69
  .attendee__more-actions,
67
70
  .attendee__footer-more-actions {
68
71
  border: 0;
69
- box-shadow: 0px 0px 15px var(--fcr_web_light_dropup_m);
72
+ box-shadow: var(--fcr_web_light_dropup_m);
70
73
  border-radius: var(--fcr_cornerradius_l);
71
74
  max-width: fit-content;
72
75
  }
@@ -1,5 +1,5 @@
1
1
  import './index.css';
2
- import { User } from './attendee';
2
+ import { ParticipantActionType, User } from './attendee';
3
3
  export interface ParticipantProps {
4
4
  type: 'window' | 'modal';
5
5
  userList: User[];
@@ -7,10 +7,11 @@ export interface ParticipantProps {
7
7
  footer?: React.ReactNode;
8
8
  perspectiveType?: 'host' | 'attendee' | 'cohost';
9
9
  userRenderer?: (user: User) => React.ReactNode;
10
- toggleParticipantAction?: (action: string, userId?: string, data?: any) => void;
10
+ toggleParticipantAction?: (action: ParticipantActionType, userId: string) => void;
11
11
  toggleRoomControlAction?: (action: string, userId?: string) => void;
12
12
  onSearch: (value: string) => void;
13
13
  searchText?: string;
14
14
  onInvite?: () => void;
15
+ hasPinnedStream: boolean;
15
16
  }
16
17
  export declare const FcrParticipants: (props: ParticipantProps) => import("react/jsx-runtime").JSX.Element;