fcr-ui-scene 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.
Files changed (169) hide show
  1. package/lib/fcr-ui-kit/src/components/avatar/helper.d.ts +2 -0
  2. package/lib/fcr-ui-kit/src/components/avatar/index.d.ts +8 -0
  3. package/lib/fcr-ui-kit/src/components/button/index.d.ts +82 -0
  4. package/lib/fcr-ui-kit/src/components/checkbox/index.d.ts +12 -0
  5. package/lib/fcr-ui-kit/src/components/dialog/class-dialog.d.ts +51 -0
  6. package/lib/fcr-ui-kit/src/components/dialog/confirm-dialog.d.ts +70 -0
  7. package/lib/fcr-ui-kit/src/components/dialog/global-dialog.d.ts +11 -0
  8. package/lib/fcr-ui-kit/src/components/dialog/index.d.ts +68 -0
  9. package/lib/fcr-ui-kit/src/components/dropdown/index.d.ts +58 -0
  10. package/lib/fcr-ui-kit/src/components/input/index.d.ts +69 -0
  11. package/lib/fcr-ui-kit/src/components/input-number/index.d.ts +69 -0
  12. package/lib/fcr-ui-kit/src/components/pagination/index.d.ts +27 -0
  13. package/lib/fcr-ui-kit/src/components/popover/index.d.ts +47 -0
  14. package/lib/fcr-ui-kit/src/components/progress/index.d.ts +11 -0
  15. package/lib/fcr-ui-kit/src/components/radio/index.d.ts +21 -0
  16. package/lib/fcr-ui-kit/src/components/slider/index.d.ts +22 -0
  17. package/lib/fcr-ui-kit/src/components/sound-player/index.d.ts +6 -0
  18. package/lib/fcr-ui-kit/src/components/svg-img/clickable-icon.d.ts +25 -0
  19. package/lib/fcr-ui-kit/src/components/svg-img/index.d.ts +15 -0
  20. package/lib/fcr-ui-kit/src/components/svg-img/mic.d.ts +5 -0
  21. package/lib/fcr-ui-kit/src/components/svg-img/svg-dict.d.ts +12 -0
  22. package/lib/fcr-ui-kit/src/components/svg-img/type.d.ts +195 -0
  23. package/lib/fcr-ui-kit/src/components/svga-player/index.d.ts +15 -0
  24. package/lib/fcr-ui-kit/src/components/svga-player/svga-types.d.ts +1 -0
  25. package/lib/fcr-ui-kit/src/components/table/index.d.ts +9 -0
  26. package/lib/fcr-ui-kit/src/components/tabs/index.d.ts +14 -0
  27. package/lib/fcr-ui-kit/src/components/textarea/helper.d.ts +2 -0
  28. package/lib/fcr-ui-kit/src/components/textarea/index.d.ts +100 -0
  29. package/lib/fcr-ui-kit/src/components/toast/index.d.ts +122 -0
  30. package/lib/fcr-ui-kit/src/components/tooltip/dialog.d.ts +19 -0
  31. package/lib/fcr-ui-kit/src/components/tooltip/index.d.ts +89 -0
  32. package/lib/fcr-ui-kit/src/components/tooltip/info.d.ts +6 -0
  33. package/lib/fcr-ui-kit/src/components/volume/index.d.ts +8 -0
  34. package/lib/fcr-ui-kit/src/utils/click-anywhere.d.ts +1 -0
  35. package/lib/fcr-ui-kit/src/utils/hooks/animations.d.ts +14 -0
  36. package/lib/fcr-ui-kit/src/utils/hooks/use-click-anywhere.d.ts +2 -0
  37. package/lib/fcr-ui-kit/src/utils/tailwindcss.d.ts +3 -0
  38. package/lib/fcr-ui-scene/src/app.d.ts +5 -0
  39. package/lib/fcr-ui-scene/src/configs/base-theme.d.ts +391 -0
  40. package/lib/fcr-ui-scene/src/configs/base-ui.d.ts +12 -0
  41. package/lib/fcr-ui-scene/src/containers/action-bar/chat/index.d.ts +3 -0
  42. package/lib/fcr-ui-scene/src/containers/action-bar/cloud/index.d.ts +3 -0
  43. package/lib/fcr-ui-scene/src/containers/action-bar/device/index.d.ts +9 -0
  44. package/lib/fcr-ui-scene/src/containers/action-bar/index.d.ts +24 -0
  45. package/lib/fcr-ui-scene/src/containers/action-bar/leave/index.d.ts +4 -0
  46. package/lib/fcr-ui-scene/src/containers/action-bar/participants/index.d.ts +5 -0
  47. package/lib/fcr-ui-scene/src/containers/action-bar/raise-hands/index.d.ts +3 -0
  48. package/lib/fcr-ui-scene/src/containers/action-bar/record/index.d.ts +3 -0
  49. package/lib/fcr-ui-scene/src/containers/action-bar/screen-share/index.d.ts +3 -0
  50. package/lib/fcr-ui-scene/src/containers/action-bar/setting/index.d.ts +3 -0
  51. package/lib/fcr-ui-scene/src/containers/action-bar/toolbox/index.d.ts +3 -0
  52. package/lib/fcr-ui-scene/src/containers/action-bar/whiteboard/index.d.ts +3 -0
  53. package/lib/fcr-ui-scene/src/containers/breakout-room/ask-help-list.d.ts +10 -0
  54. package/lib/fcr-ui-scene/src/containers/breakout-room/broadcast-panel.d.ts +4 -0
  55. package/lib/fcr-ui-scene/src/containers/breakout-room/create-panel.d.ts +4 -0
  56. package/lib/fcr-ui-scene/src/containers/breakout-room/group-info-panel.d.ts +2 -0
  57. package/lib/fcr-ui-scene/src/containers/breakout-room/group-panel.d.ts +5 -0
  58. package/lib/fcr-ui-scene/src/containers/breakout-room/group-status-panel.d.ts +2 -0
  59. package/lib/fcr-ui-scene/src/containers/breakout-room/grouping.d.ts +15 -0
  60. package/lib/fcr-ui-scene/src/containers/breakout-room/index.d.ts +3 -0
  61. package/lib/fcr-ui-scene/src/containers/breakout-room/search-panel.d.ts +5 -0
  62. package/lib/fcr-ui-scene/src/containers/breakout-room/wizard.d.ts +6 -0
  63. package/lib/fcr-ui-scene/src/containers/cloud/dialog-header.d.ts +3 -0
  64. package/lib/fcr-ui-scene/src/containers/cloud/index.d.ts +6 -0
  65. package/lib/fcr-ui-scene/src/containers/cloud/personal.d.ts +3 -0
  66. package/lib/fcr-ui-scene/src/containers/cloud/public.d.ts +4 -0
  67. package/lib/fcr-ui-scene/src/containers/common/interact-labels.d.ts +6 -0
  68. package/lib/fcr-ui-scene/src/containers/device-pretest/basic-settings.d.ts +4 -0
  69. package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-filter.d.ts +2 -0
  70. package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-slider.d.ts +2 -0
  71. package/lib/fcr-ui-scene/src/containers/device-pretest/device-select.d.ts +4 -0
  72. package/lib/fcr-ui-scene/src/containers/device-pretest/index.d.ts +4 -0
  73. package/lib/fcr-ui-scene/src/containers/device-pretest/mirror-toggle.d.ts +4 -0
  74. package/lib/fcr-ui-scene/src/containers/device-pretest/video-portal.d.ts +2 -0
  75. package/lib/fcr-ui-scene/src/containers/device-pretest/virtual-background.d.ts +4 -0
  76. package/lib/fcr-ui-scene/src/containers/device-settings/audio-settings.d.ts +2 -0
  77. package/lib/fcr-ui-scene/src/containers/device-settings/dialog-wrapper.d.ts +2 -0
  78. package/lib/fcr-ui-scene/src/containers/device-settings/index.d.ts +3 -0
  79. package/lib/fcr-ui-scene/src/containers/device-settings/video-settings.d.ts +2 -0
  80. package/lib/fcr-ui-scene/src/containers/dialog/class-info.d.ts +3 -0
  81. package/lib/fcr-ui-scene/src/containers/dialog/confirm.d.ts +3 -0
  82. package/lib/fcr-ui-scene/src/containers/dialog/index.d.ts +2 -0
  83. package/lib/fcr-ui-scene/src/containers/layout/cover-view.d.ts +2 -0
  84. package/lib/fcr-ui-scene/src/containers/layout/gallery-view.d.ts +3 -0
  85. package/lib/fcr-ui-scene/src/containers/layout/presentation-view.d.ts +3 -0
  86. package/lib/fcr-ui-scene/src/containers/loading/index.d.ts +3 -0
  87. package/lib/fcr-ui-scene/src/containers/participants/dialog.d.ts +2 -0
  88. package/lib/fcr-ui-scene/src/containers/participants/index.d.ts +5 -0
  89. package/lib/fcr-ui-scene/src/containers/status-bar/class-duration/index.d.ts +3 -0
  90. package/lib/fcr-ui-scene/src/containers/status-bar/fullscreen/index.d.ts +3 -0
  91. package/lib/fcr-ui-scene/src/containers/status-bar/index.d.ts +4 -0
  92. package/lib/fcr-ui-scene/src/containers/status-bar/layout-switch/index.d.ts +22 -0
  93. package/lib/fcr-ui-scene/src/containers/status-bar/network/index.d.ts +4 -0
  94. package/lib/fcr-ui-scene/src/containers/status-bar/record-status/index.d.ts +3 -0
  95. package/lib/fcr-ui-scene/src/containers/status-bar/room-info/index.d.ts +4 -0
  96. package/lib/fcr-ui-scene/src/containers/status-bar/share/index.d.ts +3 -0
  97. package/lib/fcr-ui-scene/src/containers/status-bar/widgets/index.d.ts +3 -0
  98. package/lib/fcr-ui-scene/src/containers/stream-window/context.d.ts +52 -0
  99. package/lib/fcr-ui-scene/src/containers/stream-window/index.d.ts +3 -0
  100. package/lib/fcr-ui-scene/src/containers/video-player/index.d.ts +2 -0
  101. package/lib/fcr-ui-scene/src/containers/video-player/players.d.ts +3 -0
  102. package/lib/fcr-ui-scene/src/containers/video-player/tools-overlay.d.ts +1 -0
  103. package/lib/fcr-ui-scene/src/containers/widget/break-out-room/index.d.ts +2 -0
  104. package/lib/fcr-ui-scene/src/containers/widget/draggable-wrapper/index.d.ts +7 -0
  105. package/lib/fcr-ui-scene/src/containers/widget/helpers.d.ts +40 -0
  106. package/lib/fcr-ui-scene/src/containers/widget/hooks.d.ts +21 -0
  107. package/lib/fcr-ui-scene/src/containers/widget/index.d.ts +7 -0
  108. package/lib/fcr-ui-scene/src/containers/widget/participants/index.d.ts +2 -0
  109. package/lib/fcr-ui-scene/src/extension/board.d.ts +73 -0
  110. package/lib/fcr-ui-scene/src/extension/edu-tool.d.ts +57 -0
  111. package/lib/fcr-ui-scene/src/extension/events.d.ts +91 -0
  112. package/lib/fcr-ui-scene/src/extension/type.d.ts +94 -0
  113. package/lib/fcr-ui-scene/src/index.d.ts +39 -0
  114. package/lib/fcr-ui-scene/src/preset.d.ts +1 -0
  115. package/lib/fcr-ui-scene/src/resources/translations/enUs.d.ts +393 -0
  116. package/lib/fcr-ui-scene/src/resources/translations/zhCn.d.ts +398 -0
  117. package/lib/fcr-ui-scene/src/scenarios/classroom.d.ts +2 -0
  118. package/lib/fcr-ui-scene/src/scenarios/layout/index.d.ts +2 -0
  119. package/lib/fcr-ui-scene/src/type.d.ts +347 -0
  120. package/lib/fcr-ui-scene/src/uistores/action-bar.d.ts +58 -0
  121. package/lib/fcr-ui-scene/src/uistores/base.d.ts +58 -0
  122. package/lib/fcr-ui-scene/src/uistores/breakout.d.ts +225 -0
  123. package/lib/fcr-ui-scene/src/uistores/cloud/helper.d.ts +26 -0
  124. package/lib/fcr-ui-scene/src/uistores/cloud/index.d.ts +51 -0
  125. package/lib/fcr-ui-scene/src/uistores/cloud/struct.d.ts +131 -0
  126. package/lib/fcr-ui-scene/src/uistores/context.d.ts +7 -0
  127. package/lib/fcr-ui-scene/src/uistores/device-setting.d.ts +219 -0
  128. package/lib/fcr-ui-scene/src/uistores/gallery-view.d.ts +16 -0
  129. package/lib/fcr-ui-scene/src/uistores/getters.d.ts +39 -0
  130. package/lib/fcr-ui-scene/src/uistores/index.d.ts +47 -0
  131. package/lib/fcr-ui-scene/src/uistores/layout.d.ts +64 -0
  132. package/lib/fcr-ui-scene/src/uistores/notification.d.ts +9 -0
  133. package/lib/fcr-ui-scene/src/uistores/participants.d.ts +48 -0
  134. package/lib/fcr-ui-scene/src/uistores/presentation-view.d.ts +24 -0
  135. package/lib/fcr-ui-scene/src/uistores/status-bar.d.ts +47 -0
  136. package/lib/fcr-ui-scene/src/uistores/stream.d.ts +48 -0
  137. package/lib/fcr-ui-scene/src/uistores/subscription/abstract.d.ts +45 -0
  138. package/lib/fcr-ui-scene/src/uistores/subscription/index.d.ts +13 -0
  139. package/lib/fcr-ui-scene/src/uistores/subscription/main-room.d.ts +14 -0
  140. package/lib/fcr-ui-scene/src/uistores/subscription/type.d.ts +10 -0
  141. package/lib/fcr-ui-scene/src/uistores/type.d.ts +86 -0
  142. package/lib/fcr-ui-scene/src/uistores/widget.d.ts +46 -0
  143. package/lib/fcr-ui-scene/src/utils/asset.d.ts +1 -0
  144. package/lib/fcr-ui-scene/src/utils/check.d.ts +7 -0
  145. package/lib/fcr-ui-scene/src/utils/clamp-bounds.d.ts +14 -0
  146. package/lib/fcr-ui-scene/src/utils/config-loader.d.ts +7 -0
  147. package/lib/fcr-ui-scene/src/utils/grid/index.d.ts +9 -0
  148. package/lib/fcr-ui-scene/src/utils/hooks/use-authorization.d.ts +5 -0
  149. package/lib/fcr-ui-scene/src/utils/hooks/use-device-switch.d.ts +29 -0
  150. package/lib/fcr-ui-scene/src/utils/hooks/use-drag-position.d.ts +21 -0
  151. package/lib/fcr-ui-scene/src/utils/hooks/use-network.d.ts +17 -0
  152. package/lib/fcr-ui-scene/src/utils/hooks/use-pin-stream.d.ts +4 -0
  153. package/lib/fcr-ui-scene/src/utils/hooks/use-rnd-position.d.ts +24 -0
  154. package/lib/fcr-ui-scene/src/utils/hooks/use-store.d.ts +1 -0
  155. package/lib/fcr-ui-scene/src/utils/hooks/use-video-renderable.d.ts +3 -0
  156. package/lib/fcr-ui-scene/src/utils/hooks/use-z-index.d.ts +8 -0
  157. package/lib/fcr-ui-scene/src/utils/index.d.ts +7 -0
  158. package/lib/fcr-ui-scene/src/utils/launch-options-holder.d.ts +10 -0
  159. package/lib/fcr-ui-scene/src/utils/rtc-extensions.d.ts +29 -0
  160. package/lib/fcr-ui-scene/src/utils/short-name.d.ts +1 -0
  161. package/lib/fcr-ui-scene/src/utils/stream/index.d.ts +3 -0
  162. package/lib/fcr-ui-scene/src/utils/stream/state-keeper.d.ts +18 -0
  163. package/lib/fcr-ui-scene/src/utils/stream/struct.d.ts +67 -0
  164. package/lib/fcr-ui-scene/src/utils/z-index-controller.d.ts +9 -0
  165. package/lib/fcr-ui-scene/tailwind.config.d.ts +1 -0
  166. package/lib/log.worker.bundle.worker.js.LICENSE.txt +1 -0
  167. package/lib/scene.bundle.js +2 -0
  168. package/lib/scene.bundle.js.LICENSE.txt +334 -0
  169. package/package.json +95 -0
@@ -0,0 +1,15 @@
1
+ import { FC, MouseEvent, CSSProperties } from "react";
2
+ import { PathOptions } from "./svg-dict";
3
+ import { SvgIconEnum } from "./type";
4
+ export declare type SvgImgProps = {
5
+ type: SvgIconEnum;
6
+ className?: string;
7
+ style?: CSSProperties;
8
+ colors?: Partial<PathOptions>;
9
+ size?: number | string;
10
+ onClick?: (e: MouseEvent) => void;
11
+ onMouseDown?: (e: MouseEvent) => void;
12
+ onMouseUp?: (e: MouseEvent) => void;
13
+ };
14
+ export declare const SvgImg: FC<SvgImgProps>;
15
+ export { SvgIconEnum } from "./type";
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const MicrophoneIndicator: ({ size, voicePercent, }: {
3
+ size?: number | undefined;
4
+ voicePercent?: number | undefined;
5
+ }) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export declare type PathOptions = {
3
+ iconPrimary: string;
4
+ iconSecondary: string;
5
+ [key: string]: string;
6
+ };
7
+ export declare type SvgPath = {
8
+ path: (options: PathOptions) => React.ReactNode;
9
+ viewBox?: string;
10
+ };
11
+ export declare const getPath: (name: string, props: PathOptions) => string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
12
+ export declare const getViewBox: (name: string) => string | undefined;
@@ -0,0 +1,195 @@
1
+ export declare enum SvgIconEnum {
2
+ FCR_ALF2 = "fcr_alf2",
3
+ FCR_ALL_MUTE = "fcr_all_mute",
4
+ FCR_ALL_UNMUTE = "fcr_all_unmute",
5
+ FCR_ALLLEAVE = "fcr_allleave",
6
+ FCR_ANGLE_TIPS = "fcr_angle_tips",
7
+ FCR_BACKGROUND2 = "fcr_background2",
8
+ FCR_BEAUTY = "fcr_beauty",
9
+ FCR_BEAUTY_BLUSH = "fcr_beauty_blush",
10
+ FCR_BEAUTY_RETOUCH = "fcr_beauty_retouch",
11
+ FCR_BELL = "fcr_bell",
12
+ FCR_BTN_LOADING = "fcr_btn_loading",
13
+ FCR_CAMERA = "fcr_camera",
14
+ FCR_CAMERA3 = "fcr_camera3",
15
+ FCR_CAMERA_WINDOW_LOADING = "fcr_camera_window_loading",
16
+ FCR_CAMERA_WINDOW_NOT = "fcr_camera_window_not",
17
+ FCR_CAMERA_WINDOW_NOTWORK = "fcr_camera_window_notwork",
18
+ FCR_CAMERACRASH = "fcr_cameracrash",
19
+ FCR_CAMERAOFF = "fcr_cameraoff",
20
+ FCR_CHAT = "fcr_chat",
21
+ FCR_CHAT2 = "fcr_chat2",
22
+ FCR_CHAT_ON = "fcr_chat_on",
23
+ FCR_CHAT_PLACEHOLDER = "fcr_chat_placeholder",
24
+ FCR_CHECKBOX_CHECK = "fcr_checkbox_check",
25
+ FCR_CHEXBOX_INDETERMINATE = "fcr_chexbox_indeterminate",
26
+ FCR_CHOOSEIT = "fcr_chooseit",
27
+ FCR_CLOSE = "fcr_close",
28
+ FCR_COLON = "fcr_colon",
29
+ FCR_COPY = "fcr_copy",
30
+ FCR_COUNTDOWN_DOWN = "fcr_countdown_down",
31
+ FCR_COUNTDOWN_UP = "fcr_countdown_up",
32
+ FCR_DELETE3 = "fcr_delete3",
33
+ FCR_DOWN = "fcr_down",
34
+ FCR_DOWN1 = "fcr_down1",
35
+ FCR_DROPDOWN = "fcr_dropdown",
36
+ FCR_DROPDOWN4 = "fcr_dropdown4",
37
+ FCR_DROPUP4 = "fcr_dropup4",
38
+ FCR_EMO = "fcr_emo",
39
+ FCR_FILE = "fcr_file",
40
+ FCR_FILE_AH5 = "fcr_file_ah5",
41
+ FCR_FILE_ALF = "fcr_file_alf",
42
+ FCR_FILE_AUDIO = "fcr_file_audio",
43
+ FCR_FILE_DOC = "fcr_file_doc",
44
+ FCR_FILE_EXCEL = "fcr_file_excel",
45
+ FCR_FILE_NOFORMAT = "fcr_file_noformat",
46
+ FCR_FILE_PDF = "fcr_file_pdf",
47
+ FCR_FILE_PHOTO = "fcr_file_photo",
48
+ FCR_FILE_PPT = "fcr_file_ppt",
49
+ FCR_FILE_VIDEO = "fcr_file_video",
50
+ FCR_FOURWINDOWS = "fcr_fourwindows",
51
+ FCR_GOTOSTAGE = "fcr_gotostage",
52
+ FCR_GOTOSTAGE_NOT = "fcr_gotostage_not",
53
+ FCR_GOTOSTAGE_ON = "fcr_gotostage_on",
54
+ FCR_GRID_BIG = "fcr_grid_big",
55
+ FCR_HEAD = "fcr_head",
56
+ FCR_HOST = "fcr_host",
57
+ FCR_LEFT = "fcr_left",
58
+ FCR_LEFT1 = "fcr_left1",
59
+ FCR_LEFT3 = "fcr_left3",
60
+ FCR_LEFT4 = "fcr_left4",
61
+ FCR_LINK = "fcr_link",
62
+ FCR_LIST_DELETE = "fcr_list_delete",
63
+ FCR_LIST_ON_RIGHT_BIG = "fcr_list_on_right_big",
64
+ FCR_LIST_ON_TOP_BIG = "fcr_list_on_top_big",
65
+ FCR_LOADING = "fcr_loading",
66
+ FCR_LOWER_HAND = "fcr_lower_hand",
67
+ FCR_MINUS = "fcr_minus",
68
+ FCR_MIRRORIMAGE_LEFT = "fcr_mirrorimage_left",
69
+ FCR_MIRRORIMAGE_RIGHT = "fcr_mirrorimage_right",
70
+ FCR_MOBILE_CHAT2 = "fcr_mobile_chat2",
71
+ FCR_MOBILE_MORE = "fcr_mobile_more",
72
+ FCR_MOBILE_WHITEBOARD_REDO = "fcr_mobile_whiteboard_redo",
73
+ FCR_MOBILE_WHITEBOARD_UNDO = "fcr_mobile_whiteboard_undo",
74
+ FCR_MORE2 = "fcr_more2",
75
+ FCR_MOVE = "fcr_move",
76
+ FCR_MOVETO = "fcr_moveto",
77
+ FCR_MUTE = "fcr_mute",
78
+ FCR_MUTECRASH = "fcr_mutecrash",
79
+ FCR_NOMUTE = "fcr_nomute",
80
+ FCR_NOTICE = "fcr_notice",
81
+ FCR_ONELEAVE = "fcr_oneleave",
82
+ FCR_ORDER_DOWN = "fcr_order_down",
83
+ FCR_ORDER_UP = "fcr_order_up",
84
+ FCR_PEN_CURVE_1SIZE = "fcr_pen_curve_1size",
85
+ FCR_PEN_CURVE_2SIZE = "fcr_pen_curve_2size",
86
+ FCR_PEN_CURVE_3SIZE = "fcr_pen_curve_3size",
87
+ FCR_PEN_CURVE_4SIZE = "fcr_pen_curve_4size",
88
+ FCR_PEN_LINE_1SIZE = "fcr_pen_line_1size",
89
+ FCR_PEN_LINE_2SIZE = "fcr_pen_line_2size",
90
+ FCR_PEN_LINE_3SIZE = "fcr_pen_line_3size",
91
+ FCR_PEN_LINE_4SIZE = "fcr_pen_line_4size",
92
+ FCR_PEOPLE = "fcr_people",
93
+ FCR_PICTURE = "fcr_picture",
94
+ FCR_PIN = "fcr_pin",
95
+ FCR_PLATFORM = "fcr_platform",
96
+ FCR_QUESTION = "fcr_question",
97
+ FCR_QUESTION2 = "fcr_question2",
98
+ FCR_QUIT2 = "fcr_quit2",
99
+ FCR_RAISEHANDS = "fcr_raisehands",
100
+ FCR_RECORDING_ON = "fcr_recording_on",
101
+ FCR_RECORDING_PLAY = "fcr_recording_play",
102
+ FCR_RECORDING_STOP = "fcr_recording_stop",
103
+ FCR_REMOVE_PIN = "fcr_remove_pin",
104
+ FCR_RENAME = "fcr_rename",
105
+ FCR_RESET = "fcr_reset",
106
+ FCR_REVERSEORDER = "fcr_reverseorder",
107
+ FCR_REWARD = "fcr_reward",
108
+ FCR_REWARDALL = "fcr_rewardall",
109
+ FCR_RIGHT = "fcr_right",
110
+ FCR_RIGHT2 = "fcr_right2",
111
+ FCR_RIGHT3 = "fcr_right3",
112
+ FCR_RIGHT4 = "fcr_right4",
113
+ FCR_RIGHTWINDOWS = "fcr_rightwindows",
114
+ FCR_SCREENSHARE_CHANGE1 = "fcr_screenshare_change1",
115
+ FCR_SCREENSHARE_CHANGE2 = "fcr_screenshare_change2",
116
+ FCR_SCREENSHARING = "fcr_screensharing",
117
+ FCR_SCREENSHARING_ON = "fcr_screensharing_on",
118
+ FCR_SEND = "fcr_send",
119
+ FCR_SETTING = "fcr_setting",
120
+ FCR_SETTING_NONE = "fcr_setting_none",
121
+ FCR_SHARE = "fcr_share",
122
+ FCR_SMOOTH = "fcr_smooth",
123
+ FCR_STAR = "fcr_star",
124
+ FCR_STOP = "fcr_stop",
125
+ FCR_STUDENT_RASIEHAND = "fcr_student_rasiehand",
126
+ FCR_SUBTRACT = "fcr_subtract",
127
+ FCR_TOOLTIP_ARROW = "fcr_tooltip_arrow",
128
+ FCR_TOOLTIP_ARROW_2 = "fcr_tooltip_arrow_2",
129
+ FCR_TOPWINDOWS = "fcr_topwindows",
130
+ FCR_UNDERLINE = "fcr_underline",
131
+ FCR_UP = "fcr_up",
132
+ FCR_UP2 = "fcr_up2",
133
+ FCR_UPLOADLIST = "fcr_uploadlist",
134
+ FCR_UPORDER = "fcr_uporder",
135
+ FCR_V2_ANSWER = "fcr_v2_answer",
136
+ FCR_V2_BREAKROOM = "fcr_v2_breakroom",
137
+ FCR_V2_CHEVRON_LEFT2 = "fcr_v2_chevron_left2",
138
+ FCR_V2_CHEVRON_RIGHT2 = "fcr_v2_chevron_right2",
139
+ FCR_V2_EXPANSIONSCREEN = "fcr_v2_expansionscreen",
140
+ FCR_V2_GOU_ALART = "fcr_v2_gou_alart",
141
+ FCR_V2_LOUDER = "fcr_v2_louder",
142
+ FCR_V2_LOUDER_MIN = "fcr_v2_louder_min",
143
+ FCR_V2_PHONE_MORE1 = "fcr_v2_phone_more1",
144
+ FCR_V2_POLL_ADD = "fcr_v2_poll_add",
145
+ FCR_V2_POLL_MINUS = "fcr_v2_poll_minus",
146
+ FCR_V2_POLL_ZOOM = "fcr_v2_poll_zoom",
147
+ FCR_V2_QUITE = "fcr_v2_quite",
148
+ FCR_V2_SEARCH = "fcr_v2_search",
149
+ FCR_V2_SIGNAL_BAD = "fcr_v2_signal_bad",
150
+ FCR_V2_SIGNAL_GOOD = "fcr_v2_signal_good",
151
+ FCR_V2_SIGNAL_NORMAL = "fcr_v2_signal_normal",
152
+ FCR_V2_TANHAO_ALART = "fcr_v2_tanhao_alart",
153
+ FCR_V2_TIMER = "fcr_v2_timer",
154
+ FCR_V2_TOOL_NEW = "fcr_v2_tool_new",
155
+ FCR_V2_VOTE = "fcr_v2_vote",
156
+ FCR_VIDEOBACK = "fcr_videoback",
157
+ FCR_WHITEBOARD = "fcr_whiteboard",
158
+ FCR_WHITEBOARD_BACK = "fcr_whiteboard_back",
159
+ FCR_WHITEBOARD_CLOUD = "fcr_whiteboard_cloud",
160
+ FCR_WHITEBOARD_ELIMINATE = "fcr_whiteboard_eliminate",
161
+ FCR_WHITEBOARD_ERASER = "fcr_whiteboard_eraser",
162
+ FCR_WHITEBOARD_FORWARD = "fcr_whiteboard_forward",
163
+ FCR_WHITEBOARD_LASERPEN = "fcr_whiteboard_laserpen",
164
+ FCR_WHITEBOARD_LOWERRIGHTARROW = "fcr_whiteboard_lowerrightarrow",
165
+ FCR_WHITEBOARD_MOUSE = "fcr_whiteboard_mouse",
166
+ FCR_WHITEBOARD_MOVE = "fcr_whiteboard_move",
167
+ FCR_WHITEBOARD_MOVESUBJECTS = "fcr_whiteboard_movesubjects",
168
+ FCR_WHITEBOARD_ON = "fcr_whiteboard_on",
169
+ FCR_WHITEBOARD_PAGE = "fcr_whiteboard_page",
170
+ FCR_WHITEBOARD_PED = "fcr_whiteboard_ped",
171
+ FCR_WHITEBOARD_PED_CURVE = "fcr_whiteboard_ped_curve",
172
+ FCR_WHITEBOARD_PED_STRAIGHTLINE = "fcr_whiteboard_ped_straightline",
173
+ FCR_WHITEBOARD_SAVE = "fcr_whiteboard_save",
174
+ FCR_WHITEBOARD_SHAP_ARROW = "fcr_whiteboard_shap_arrow",
175
+ FCR_WHITEBOARD_SHAP_CIRCLE = "fcr_whiteboard_shap_circle",
176
+ FCR_WHITEBOARD_SHAP_CIRCLE_1 = "fcr_whiteboard_shap_circle_1",
177
+ FCR_WHITEBOARD_SHAP_REHUMBUS = "fcr_whiteboard_shap_rehumbus",
178
+ FCR_WHITEBOARD_SHAP_SQUARE = "fcr_whiteboard_shap_square",
179
+ FCR_WHITEBOARD_SHAP_STAR = "fcr_whiteboard_shap_star",
180
+ FCR_WHITEBOARD_SHAP_TRIANGLE = "fcr_whiteboard_shap_triangle",
181
+ FCR_WHITEBOARD_TEXT = "fcr_whiteboard_text",
182
+ FCR_WHITEBOARD_TOOLBOX = "fcr_whiteboard_toolbox",
183
+ FCR_WHITECHOOSE = "fcr_whitechoose",
184
+ FCR_WIHITEBOARD_SLICE = "fcr_wihiteboard_slice",
185
+ FCR_WIHITEBOARD_SLICEWITHOUTCLASSROOM = "fcr_wihiteboard_slicewithoutclassroom",
186
+ FCR_WINDOW_BIGGER = "fcr_window_bigger",
187
+ FCR_WINDOW_SMALLER = "fcr_window_smaller",
188
+ FCR_WINDOWPAGE_BIGGER = "fcr_windowpage_bigger",
189
+ FCR_WINDOWPAGE_SMALLER = "fcr_windowpage_smaller",
190
+ FCR_WINDOWPAGE_SMALLER2 = "fcr_windowpage_smaller2",
191
+ FCR_WINDOWPAGE_SMALLER3 = "fcr_windowpage_smaller3",
192
+ FCR_WRONG = "fcr_wrong",
193
+ FCR_RECORDING_END = "fcr_recording_end",
194
+ FCR_WIZARD_ARROW = "fcr_wizard_arrow"
195
+ }
@@ -0,0 +1,15 @@
1
+ import React, { CSSProperties } from 'react';
2
+ export type { SvgaTypes } from './svga-types';
3
+ export interface BaseProps {
4
+ style?: CSSProperties;
5
+ className?: string;
6
+ id?: string;
7
+ }
8
+ export interface SvgaPlayerProps extends BaseProps {
9
+ width?: number;
10
+ height?: number;
11
+ url: string;
12
+ onFinish?: () => void;
13
+ loops?: boolean;
14
+ }
15
+ export declare const SvgaPlayer: React.FC<SvgaPlayerProps>;
@@ -0,0 +1 @@
1
+ export declare type SvgaTypes = 'reward';
@@ -0,0 +1,9 @@
1
+ import './index.css';
2
+ import { TableProps } from 'rc-table/lib/Table';
3
+ import { DefaultRecordType } from 'rc-table/lib/interface';
4
+ import { CSSProperties, FC, PropsWithChildren } from 'react';
5
+ export type { ColumnsType } from 'rc-table/lib/interface';
6
+ export declare const Table: <R extends DefaultRecordType>(props: TableProps<R>) => JSX.Element;
7
+ export declare const TableEmpty: FC<PropsWithChildren & {
8
+ style?: CSSProperties;
9
+ }>;
@@ -0,0 +1,14 @@
1
+ import { FC } from 'react';
2
+ import './index.css';
3
+ declare type TabsProps = {
4
+ items: {
5
+ label: string;
6
+ key: string;
7
+ }[];
8
+ activeKey: string;
9
+ onChange: (key: string) => void;
10
+ variant?: 'simple';
11
+ };
12
+ export declare const Tabs: FC<TabsProps>;
13
+ export declare const FashionTabs: FC<Omit<TabsProps, 'variant'>>;
14
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare function setCaretIndex(win: Window, contentEditable: Node, newCaretIndex: number): void;
2
+ export declare function getCaretIndex(win: Window, contentEditable: Node): number;
@@ -0,0 +1,100 @@
1
+ import React, { FC } from 'react';
2
+ import './index.css';
3
+ export declare type TextAreaProps = {
4
+ /**
5
+ * 文本框中的值
6
+ */
7
+ /** @en
8
+ * Value of the textarea
9
+ */
10
+ value?: string;
11
+ /**
12
+ * 限制最大文本输入字数
13
+ */
14
+ /** @en
15
+ * Limit the max character count of the textarea
16
+ */
17
+ maxCount?: number;
18
+ /**
19
+ * 文本框的提示符
20
+ */
21
+ /** @en
22
+ * Placeholder of the textarea
23
+ */
24
+ placeholder?: string;
25
+ /**
26
+ * 文本框是否可以垂直方向拖拽更改尺寸
27
+ */
28
+ /** @en
29
+ * Whether the textarea can be resized vertically
30
+ */
31
+ resizable?: boolean;
32
+ /**
33
+ * 文本框是否禁用
34
+ */
35
+ /** @en
36
+ * Whether the textarea is disabled
37
+ */
38
+ disabled?: boolean;
39
+ /**
40
+ * 值变更事件
41
+ * @param value 变更值
42
+ */
43
+ /** @en
44
+ * Change event of the textarea's value
45
+ * @param value changed value
46
+ */
47
+ onChange?: (value: string) => void;
48
+ showCount?: boolean;
49
+ onFocusChange?: (focus: boolean) => void;
50
+ autoSize?: {
51
+ minHeight?: number;
52
+ maxHeight?: number;
53
+ } | boolean;
54
+ onKeyDown?: React.KeyboardEventHandler<HTMLTextAreaElement>;
55
+ };
56
+ export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<{
57
+ dom: HTMLTextAreaElement | null;
58
+ }>>;
59
+ declare type TextAreaBorderLessProps = {
60
+ /**
61
+ * 文本框的标签,一般展示在文本框的头部,提示用户需要输入的内容
62
+ */
63
+ /** @en
64
+ * The label of the textarea, usually displayed at the head of the textarea, prompting the user to enter the content
65
+ */
66
+ label?: string;
67
+ /**
68
+ *
69
+ */
70
+ /** @en
71
+ *
72
+ */
73
+ labelIcon?: React.ReactElement;
74
+ /**
75
+ * 文本框的提示符
76
+ */
77
+ /** @en
78
+ * Placeholder of the textarea
79
+ */
80
+ placeholder?: string;
81
+ /**
82
+ * 值变更事件,只会在文本框失去焦点时触发
83
+ * @param value 变更值
84
+ */
85
+ /** @en
86
+ * Change event of the textarea's value, only fired when it lose focus
87
+ * @param value changed value
88
+ */
89
+ onChange?: (value: string) => void;
90
+ /**
91
+ *
92
+ */
93
+ /** @en
94
+ *
95
+ */
96
+ defaultValue?: string;
97
+ maxLength?: number;
98
+ };
99
+ export declare const TextAreaBorderLess: FC<TextAreaBorderLessProps>;
100
+ export {};
@@ -0,0 +1,122 @@
1
+ /// <reference types="react" />
2
+ import { SvgIconEnum } from '../svg-img';
3
+ import './index.css';
4
+ export declare type ToastType = 'error' | 'warn' | 'info' | 'normal';
5
+ export declare type ToastSize = 'small' | 'large';
6
+ interface ToastProps {
7
+ /**
8
+ * 消息提示框类型,可选值为 'error'(错误) | 'warn'(警告) | 'info'(消息) | 'normal'(普通)
9
+ */
10
+ /** @en
11
+ * The type of toast, can be set to 'error' | 'warn' | 'info' | 'normal'.
12
+ */
13
+ type: ToastType;
14
+ /**
15
+ * 消息提示内容
16
+ */
17
+ /** @en
18
+ * The content of toast.
19
+ */
20
+ content: string;
21
+ /**
22
+ * 消息是否显示关闭按钮
23
+ */
24
+ /** @en
25
+ * wheter a close button is visible on right of the toast or not.
26
+ */
27
+ closable?: boolean;
28
+ /**
29
+ * 消息内容前显示的图标
30
+ */
31
+ /** @en
32
+ *
33
+ */
34
+ icon?: SvgIconEnum;
35
+ /**
36
+ * 消息中的额外操作选项
37
+ */
38
+ /** @en
39
+ * Size of the input box:
40
+ * medium
41
+ * large
42
+ */
43
+ action?: {
44
+ /**
45
+ * 消息中的额外操作选项文案
46
+ */
47
+ /** @en
48
+ * Size of the input box:
49
+ * medium
50
+ * large
51
+ */
52
+ text: string;
53
+ /**
54
+ * 消息中的额外操作选项点击回调
55
+ */
56
+ /** @en
57
+ * Size of the input box:
58
+ * medium
59
+ * large
60
+ */
61
+ onClick: () => void;
62
+ };
63
+ /**
64
+ * 点击关闭按钮的回调
65
+ */
66
+ /** @en
67
+ * Size of the input box:
68
+ * medium
69
+ * large
70
+ */
71
+ onClose?: () => void;
72
+ size?: ToastSize;
73
+ }
74
+ export declare const Toast: (props: ToastProps) => JSX.Element;
75
+ export declare const ToastTransitionGroup: (props: {
76
+ onEnded?: () => void;
77
+ duration?: number;
78
+ position?: 'top' | 'bottom';
79
+ } & ToastProps) => JSX.Element;
80
+ interface ToastConfig {
81
+ id?: string;
82
+ persist?: boolean;
83
+ toastProps: ToastProps;
84
+ duration?: number;
85
+ }
86
+ export declare class ToastApi {
87
+ private static get _presistToastContainer();
88
+ private static get _singleToastContainer();
89
+ private static get _classroomViewport();
90
+ private static _maxPresistToastRenderCount;
91
+ private static _presistToastRenderCount;
92
+ private static _presistToasts;
93
+ private static _singleToast;
94
+ private static _singleToastContainerCls;
95
+ private static _presistToastContainerCls;
96
+ private static _classroomViewportClassName;
97
+ private static _unmountToast;
98
+ private static _preCheck;
99
+ private static _createToastContainer;
100
+ private static _removeToastContainer;
101
+ private static _scanRenderableToast;
102
+ private static _render;
103
+ static open(config: ToastConfig): void;
104
+ static destroyAll(): void;
105
+ }
106
+ export declare class ToastApiFactory {
107
+ private _toastPlacement;
108
+ private _renderContainer;
109
+ constructor({ toastPlacement, renderContainer, }: {
110
+ toastPlacement: 'top' | 'bottom';
111
+ renderContainer: HTMLElement;
112
+ });
113
+ private get _toastContainer();
114
+ private get _toastContainerCls();
115
+ private _toast;
116
+ private _unmountToast;
117
+ private _createToastContainer;
118
+ private _removeToastContainer;
119
+ private _render;
120
+ open(config: ToastConfig): void;
121
+ }
122
+ export {};
@@ -0,0 +1,19 @@
1
+ import 'rc-tooltip/assets/bootstrap_white.css';
2
+ import { FC } from 'react';
3
+ import './index.css';
4
+ import './arrow.css';
5
+ import { ToolTipProps } from '.';
6
+ interface DialogToolTipProps extends ToolTipProps {
7
+ /**
8
+ * 点击关闭按钮的回调
9
+ */
10
+ /** @en
11
+ * Size of the input box:
12
+ * medium
13
+ * large
14
+ */
15
+ onClose?: () => void;
16
+ closeable?: boolean;
17
+ }
18
+ export declare const DialogToolTip: FC<DialogToolTipProps>;
19
+ export {};
@@ -0,0 +1,89 @@
1
+ import { CSSMotionProps } from 'rc-motion';
2
+ import { CSSProperties, FC, ReactNode } from 'react';
3
+ import './index.css';
4
+ import './arrow.css';
5
+ declare type ToolTipActionType = 'hover' | 'focus' | 'click' | 'contextMenu';
6
+ export interface ToolTipProps {
7
+ /**
8
+ * 卡片内容
9
+ */
10
+ /** @en
11
+ * Size of the input box:
12
+ * medium
13
+ * large
14
+ */
15
+ content?: ReactNode;
16
+ /**
17
+ * 触发行为,可选 hover | focus | click | contextMenu
18
+ */
19
+ /** @en
20
+ * Size of the input box:
21
+ * medium
22
+ * large
23
+ */
24
+ trigger?: ToolTipActionType;
25
+ /**
26
+ * 气泡框位置,可选 top left right bottom topLeft topRight bottomLeft bottomRight leftTop leftBottom rightTop rightBottom
27
+ */
28
+ /** @en
29
+ * Size of the input box:
30
+ * medium
31
+ * large
32
+ */
33
+ placement?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
34
+ /**
35
+ * 自定义箭头
36
+ */
37
+ /** @en
38
+ * Size of the input box:
39
+ * medium
40
+ * large
41
+ */
42
+ arrowContent?: ReactNode;
43
+ /**
44
+ * 卡片内容区域的样式对象
45
+ */
46
+ /** @en
47
+ * Size of the input box:
48
+ * medium
49
+ * large
50
+ */
51
+ overlayInnerStyle?: CSSProperties;
52
+ /**
53
+ * 气泡的显示状态
54
+ */
55
+ /** @en
56
+ * Size of the input box:
57
+ * medium
58
+ * large
59
+ */
60
+ visible?: boolean;
61
+ /**
62
+ * 卡片类名
63
+ */
64
+ /** @en
65
+ * Size of the input box:
66
+ * medium
67
+ * large
68
+ */
69
+ overlayClassName?: string;
70
+ /**
71
+ * 修改箭头的显示状态
72
+ */
73
+ /** @en
74
+ * Size of the input box:
75
+ * medium
76
+ * large
77
+ */
78
+ showArrow?: boolean;
79
+ onVisibleChange?: (visible: boolean) => void;
80
+ motion?: CSSMotionProps;
81
+ getTooltipContainer?: (node: HTMLElement) => HTMLElement;
82
+ children?: React.ReactNode;
83
+ mouseEnterDelay?: number;
84
+ overlayOffset?: number;
85
+ mouseLeaveDelay?: number;
86
+ afterVisibleChange?: (visible: boolean) => void;
87
+ }
88
+ export declare const ToolTip: FC<ToolTipProps>;
89
+ export {};
@@ -0,0 +1,6 @@
1
+ import 'rc-tooltip/assets/bootstrap_white.css';
2
+ import { FC } from 'react';
3
+ import './index.css';
4
+ import './arrow.css';
5
+ import { ToolTipProps } from '.';
6
+ export declare const InfoToolTip: FC<ToolTipProps>;
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import './index.css';
3
+ declare type VolumeIndicatorProps = {
4
+ value: number;
5
+ barCount?: number;
6
+ };
7
+ export declare const VolumeIndicator: FC<VolumeIndicatorProps>;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const clickAnywhere: (el: HTMLElement, cb: () => void) => () => void;
@@ -0,0 +1,14 @@
1
+ import { CSSProperties } from 'react';
2
+ /**
3
+ * 最小化
4
+ * Minimize
5
+ * @returns
6
+ */
7
+ export declare const useMinimize: ({ minimize, afterChange, beforeChange, }: {
8
+ minimize: boolean;
9
+ beforeChange?: ((minimize: boolean) => void) | undefined;
10
+ afterChange?: ((minimize: boolean) => void) | undefined;
11
+ }) => {
12
+ ref: import("react").MutableRefObject<HTMLDivElement | null>;
13
+ style: CSSProperties;
14
+ };
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const useClickAnywhere: (cb: () => void) => import("react").RefObject<HTMLDivElement>;
@@ -0,0 +1,3 @@
1
+ import { TailwindConfig } from "tailwindcss/tailwind-config";
2
+ export declare const setTailwindConfig: (tailwindConfig: Partial<TailwindConfig>) => void;
3
+ export declare const themeVal: (key: string) => Record<string, string>;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import './index.css';
3
+ export declare const App: ({ skipDevicePretest }: {
4
+ skipDevicePretest: boolean;
5
+ }) => JSX.Element | null;