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.
Files changed (1000) hide show
  1. package/lib/components/Icon-text/index.css +35 -0
  2. package/lib/components/Icon-text/index.d.ts +25 -0
  3. package/lib/components/Icon-text/index.js +78 -0
  4. package/lib/components/Icon-text/index.stories.d.ts +5 -0
  5. package/lib/components/Icon-text/index.stories.js +69 -0
  6. package/lib/components/action-bar/board/index.d.ts +4 -0
  7. package/lib/components/action-bar/board/index.js +34 -0
  8. package/lib/components/action-bar/breakout-room/index.d.ts +4 -0
  9. package/lib/components/action-bar/breakout-room/index.js +32 -0
  10. package/lib/components/action-bar/chat/index.css +67 -0
  11. package/lib/components/action-bar/chat/index.d.ts +5 -0
  12. package/lib/components/action-bar/chat/index.js +134 -0
  13. package/lib/components/action-bar/device/index.css +149 -0
  14. package/lib/components/action-bar/device/index.d.ts +9 -0
  15. package/lib/components/action-bar/device/index.js +419 -0
  16. package/lib/components/action-bar/end/index.d.ts +1 -0
  17. package/lib/components/action-bar/end/index.js +26 -0
  18. package/lib/components/action-bar/index.css +92 -0
  19. package/lib/components/action-bar/index.d.ts +20 -0
  20. package/lib/components/action-bar/index.js +166 -0
  21. package/lib/components/action-bar/index.stories.d.ts +6 -0
  22. package/lib/components/action-bar/index.stories.js +42 -0
  23. package/lib/components/action-bar/item-placement.d.ts +8 -0
  24. package/lib/components/action-bar/item-placement.js +18 -0
  25. package/lib/components/action-bar/item.d.ts +21 -0
  26. package/lib/components/action-bar/item.js +113 -0
  27. package/lib/components/action-bar/more/index.d.ts +4 -0
  28. package/lib/components/action-bar/more/index.js +48 -0
  29. package/lib/components/action-bar/participants/index.d.ts +4 -0
  30. package/lib/components/action-bar/participants/index.js +55 -0
  31. package/lib/components/action-bar/record/index.css +15 -0
  32. package/lib/components/action-bar/record/index.d.ts +5 -0
  33. package/lib/components/action-bar/record/index.js +34 -0
  34. package/lib/components/action-bar/respond/index.d.ts +4 -0
  35. package/lib/components/action-bar/respond/index.js +32 -0
  36. package/lib/components/action-bar/screen-share/index.d.ts +4 -0
  37. package/lib/components/action-bar/screen-share/index.js +32 -0
  38. package/lib/components/action-bar/security/index.d.ts +4 -0
  39. package/lib/components/action-bar/security/index.js +110 -0
  40. package/lib/components/action-bar/settings/index.d.ts +4 -0
  41. package/lib/components/action-bar/settings/index.js +32 -0
  42. package/lib/components/action-phone/index.css +55 -0
  43. package/lib/components/action-phone/index.d.ts +12 -0
  44. package/lib/components/action-phone/index.js +78 -0
  45. package/lib/components/action-phone/index.stories.d.ts +11 -0
  46. package/lib/components/action-phone/index.stories.js +55 -0
  47. package/lib/components/avatar/helper.d.ts +2 -0
  48. package/lib/components/avatar/helper.js +46 -0
  49. package/lib/components/avatar/index.css +9 -0
  50. package/lib/components/avatar/index.d.ts +11 -0
  51. package/lib/components/avatar/index.js +40 -0
  52. package/lib/components/avatar/index.stories.d.ts +13 -0
  53. package/lib/components/avatar/index.stories.js +50 -0
  54. package/lib/components/avatar-icon/index.css +13 -0
  55. package/lib/components/avatar-icon/index.d.ts +8 -0
  56. package/lib/components/avatar-icon/index.js +33 -0
  57. package/lib/components/avatar-icon/index.stories.d.ts +12 -0
  58. package/lib/components/avatar-icon/index.stories.js +37 -0
  59. package/lib/components/blinking-box/index.css +85 -0
  60. package/lib/components/blinking-box/index.d.ts +13 -0
  61. package/lib/components/blinking-box/index.js +47 -0
  62. package/lib/components/blinking-box/index.stories.d.ts +5 -0
  63. package/lib/components/blinking-box/index.stories.js +121 -0
  64. package/lib/components/button/action.d.ts +11 -0
  65. package/lib/components/button/action.js +50 -0
  66. package/lib/components/button/index.css +576 -0
  67. package/lib/components/button/index.d.ts +87 -0
  68. package/lib/components/button/index.js +132 -0
  69. package/lib/components/button/index.stories.d.ts +6 -0
  70. package/lib/components/button/index.stories.js +212 -0
  71. package/lib/components/card/index.css +74 -0
  72. package/lib/components/card/index.d.ts +13 -0
  73. package/lib/components/card/index.js +41 -0
  74. package/lib/components/chat-manager/index.css +39 -0
  75. package/lib/components/chat-manager/index.d.ts +10 -0
  76. package/lib/components/chat-manager/index.js +156 -0
  77. package/lib/components/chat-wrapper/chat-top.d.ts +2 -0
  78. package/lib/components/chat-wrapper/chat-top.js +59 -0
  79. package/lib/components/chat-wrapper/index.css +96 -0
  80. package/lib/components/chat-wrapper/index.d.ts +26 -0
  81. package/lib/components/chat-wrapper/index.js +228 -0
  82. package/lib/components/chat-wrapper/index.stories.d.ts +5 -0
  83. package/lib/components/chat-wrapper/index.stories.js +56 -0
  84. package/lib/components/checkbox/index.css +76 -0
  85. package/lib/components/checkbox/index.d.ts +13 -0
  86. package/lib/components/checkbox/index.js +93 -0
  87. package/lib/components/checkbox/index.stories.d.ts +6 -0
  88. package/lib/components/checkbox/index.stories.js +43 -0
  89. package/lib/components/confirm-content/index.css +79 -0
  90. package/lib/components/confirm-content/index.d.ts +48 -0
  91. package/lib/components/confirm-content/index.js +123 -0
  92. package/lib/components/confirm-content/index.stories.d.ts +4 -0
  93. package/lib/components/confirm-content/index.stories.js +25 -0
  94. package/lib/components/device-pretest/index.css +99 -0
  95. package/lib/components/device-pretest/index.d.ts +30 -0
  96. package/lib/components/device-pretest/index.js +134 -0
  97. package/lib/components/device-pretest-settings/index.css +0 -0
  98. package/lib/components/device-pretest-settings/index.d.ts +28 -0
  99. package/lib/components/device-pretest-settings/index.js +64 -0
  100. package/lib/components/device-settings/audio-settings/audio-settings.d.ts +3 -0
  101. package/lib/components/device-settings/audio-settings/audio-settings.js +227 -0
  102. package/lib/components/device-settings/audio-settings/index.css +113 -0
  103. package/lib/components/device-settings/audio-settings/microphone-detection.d.ts +2 -0
  104. package/lib/components/device-settings/audio-settings/microphone-detection.js +71 -0
  105. package/lib/components/device-settings/audio-settings/speaker-detection.d.ts +2 -0
  106. package/lib/components/device-settings/audio-settings/speaker-detection.js +71 -0
  107. package/lib/components/device-settings/common/advance-link.d.ts +3 -0
  108. package/lib/components/device-settings/common/advance-link.js +27 -0
  109. package/lib/components/device-settings/common/index.css +27 -0
  110. package/lib/components/device-settings/common/my-i18n.d.ts +52 -0
  111. package/lib/components/device-settings/common/my-i18n.js +62 -0
  112. package/lib/components/device-settings/common/useNamespace.d.ts +15 -0
  113. package/lib/components/device-settings/common/useNamespace.js +66 -0
  114. package/lib/components/device-settings/dialog-wrapper.d.ts +2 -0
  115. package/lib/components/device-settings/dialog-wrapper.js +59 -0
  116. package/lib/components/device-settings/index.css +89 -0
  117. package/lib/components/device-settings/index.stories.d.ts +6 -0
  118. package/lib/components/device-settings/index.stories.js +26 -0
  119. package/lib/components/device-settings/video-settings/camera-select.d.ts +2 -0
  120. package/lib/components/device-settings/video-settings/camera-select.js +41 -0
  121. package/lib/components/device-settings/video-settings/index.css +94 -0
  122. package/lib/components/device-settings/video-settings/local-video-player.d.ts +2 -0
  123. package/lib/components/device-settings/video-settings/local-video-player.js +16 -0
  124. package/lib/components/device-settings/video-settings/mirror-toggle.d.ts +2 -0
  125. package/lib/components/device-settings/video-settings/mirror-toggle.js +64 -0
  126. package/lib/components/device-settings/video-settings/video-settings-basic.d.ts +2 -0
  127. package/lib/components/device-settings/video-settings/video-settings-basic.js +86 -0
  128. package/lib/components/device-settings/video-settings/video-settings.d.ts +3 -0
  129. package/lib/components/device-settings/video-settings/video-settings.js +76 -0
  130. package/lib/components/device-settings/view.d.ts +3 -0
  131. package/lib/components/device-settings/view.js +84 -0
  132. package/lib/components/dialog/basic-confirm-dialog.css +34 -0
  133. package/lib/components/dialog/basic-confirm-dialog.d.ts +14 -0
  134. package/lib/components/dialog/basic-confirm-dialog.js +52 -0
  135. package/lib/components/dialog/class-dialog.css +41 -0
  136. package/lib/components/dialog/class-dialog.d.ts +51 -0
  137. package/lib/components/dialog/class-dialog.js +81 -0
  138. package/lib/components/dialog/confirm-dialog.css +38 -0
  139. package/lib/components/dialog/confirm-dialog.d.ts +70 -0
  140. package/lib/components/dialog/confirm-dialog.js +101 -0
  141. package/lib/components/dialog/confirm.d.ts +46 -0
  142. package/lib/components/dialog/confirm.js +159 -0
  143. package/lib/components/dialog/draggable-dialog.css +17 -0
  144. package/lib/components/dialog/draggable-dialog.d.ts +10 -0
  145. package/lib/components/dialog/draggable-dialog.js +48 -0
  146. package/lib/components/dialog/global-dialog.css +63 -0
  147. package/lib/components/dialog/global-dialog.d.ts +11 -0
  148. package/lib/components/dialog/global-dialog.js +49 -0
  149. package/lib/components/dialog/index.css +152 -0
  150. package/lib/components/dialog/index.d.ts +70 -0
  151. package/lib/components/dialog/index.js +117 -0
  152. package/lib/components/dialog/index.stories.d.ts +4 -0
  153. package/lib/components/dialog/index.stories.js +159 -0
  154. package/lib/components/divider/index.css +39 -0
  155. package/lib/components/divider/index.d.ts +11 -0
  156. package/lib/components/divider/index.js +65 -0
  157. package/lib/components/divider/index.stories.d.ts +6 -0
  158. package/lib/components/divider/index.stories.js +42 -0
  159. package/lib/components/drop-menu/index.css +93 -0
  160. package/lib/components/drop-menu/index.d.ts +23 -0
  161. package/lib/components/drop-menu/index.js +74 -0
  162. package/lib/components/drop-menu/index.stories.d.ts +6 -0
  163. package/lib/components/drop-menu/index.stories.js +108 -0
  164. package/lib/components/icon/index.d.ts +12 -0
  165. package/lib/components/icon/index.js +49 -0
  166. package/lib/components/icon/index.stories.d.ts +6 -0
  167. package/lib/components/icon/index.stories.js +55 -0
  168. package/lib/components/icon/mic.d.ts +7 -0
  169. package/lib/components/icon/mic.js +63 -0
  170. package/lib/components/icon/paths/fcr_alf2.d.ts +3 -0
  171. package/lib/components/icon/paths/fcr_alf2.js +25 -0
  172. package/lib/components/icon/paths/fcr_all_mute.d.ts +3 -0
  173. package/lib/components/icon/paths/fcr_all_mute.js +22 -0
  174. package/lib/components/icon/paths/fcr_all_unmute.d.ts +3 -0
  175. package/lib/components/icon/paths/fcr_all_unmute.js +22 -0
  176. package/lib/components/icon/paths/fcr_allleave.d.ts +3 -0
  177. package/lib/components/icon/paths/fcr_allleave.js +34 -0
  178. package/lib/components/icon/paths/fcr_angle_tips.d.ts +3 -0
  179. package/lib/components/icon/paths/fcr_angle_tips.js +38 -0
  180. package/lib/components/icon/paths/fcr_attach.d.ts +3 -0
  181. package/lib/components/icon/paths/fcr_attach.js +26 -0
  182. package/lib/components/icon/paths/fcr_background2.d.ts +3 -0
  183. package/lib/components/icon/paths/fcr_background2.js +22 -0
  184. package/lib/components/icon/paths/fcr_beauty.d.ts +3 -0
  185. package/lib/components/icon/paths/fcr_beauty.js +22 -0
  186. package/lib/components/icon/paths/fcr_beauty_blush.d.ts +3 -0
  187. package/lib/components/icon/paths/fcr_beauty_blush.js +86 -0
  188. package/lib/components/icon/paths/fcr_beauty_retouch.d.ts +3 -0
  189. package/lib/components/icon/paths/fcr_beauty_retouch.js +76 -0
  190. package/lib/components/icon/paths/fcr_bell.d.ts +3 -0
  191. package/lib/components/icon/paths/fcr_bell.js +62 -0
  192. package/lib/components/icon/paths/fcr_btn_loading.d.ts +3 -0
  193. package/lib/components/icon/paths/fcr_btn_loading.js +44 -0
  194. package/lib/components/icon/paths/fcr_camera.d.ts +3 -0
  195. package/lib/components/icon/paths/fcr_camera.js +22 -0
  196. package/lib/components/icon/paths/fcr_camera3.d.ts +3 -0
  197. package/lib/components/icon/paths/fcr_camera3.js +42 -0
  198. package/lib/components/icon/paths/fcr_camera_window_loading.d.ts +3 -0
  199. package/lib/components/icon/paths/fcr_camera_window_loading.js +22 -0
  200. package/lib/components/icon/paths/fcr_camera_window_not.d.ts +3 -0
  201. package/lib/components/icon/paths/fcr_camera_window_not.js +22 -0
  202. package/lib/components/icon/paths/fcr_camera_window_notwork.d.ts +3 -0
  203. package/lib/components/icon/paths/fcr_camera_window_notwork.js +22 -0
  204. package/lib/components/icon/paths/fcr_cameracrash.d.ts +3 -0
  205. package/lib/components/icon/paths/fcr_cameracrash.js +28 -0
  206. package/lib/components/icon/paths/fcr_cameraoff.d.ts +3 -0
  207. package/lib/components/icon/paths/fcr_cameraoff.js +28 -0
  208. package/lib/components/icon/paths/fcr_chat.d.ts +3 -0
  209. package/lib/components/icon/paths/fcr_chat.js +23 -0
  210. package/lib/components/icon/paths/fcr_chat2.d.ts +3 -0
  211. package/lib/components/icon/paths/fcr_chat2.js +22 -0
  212. package/lib/components/icon/paths/fcr_chat_on.d.ts +3 -0
  213. package/lib/components/icon/paths/fcr_chat_on.js +23 -0
  214. package/lib/components/icon/paths/fcr_chat_placeholder.d.ts +3 -0
  215. package/lib/components/icon/paths/fcr_chat_placeholder.js +55 -0
  216. package/lib/components/icon/paths/fcr_chat_reddot.d.ts +3 -0
  217. package/lib/components/icon/paths/fcr_chat_reddot.js +32 -0
  218. package/lib/components/icon/paths/fcr_checkbox_check.d.ts +3 -0
  219. package/lib/components/icon/paths/fcr_checkbox_check.js +21 -0
  220. package/lib/components/icon/paths/fcr_chexbox_indeterminate.d.ts +3 -0
  221. package/lib/components/icon/paths/fcr_chexbox_indeterminate.js +24 -0
  222. package/lib/components/icon/paths/fcr_chooseit.d.ts +3 -0
  223. package/lib/components/icon/paths/fcr_chooseit.js +22 -0
  224. package/lib/components/icon/paths/fcr_clock.d.ts +3 -0
  225. package/lib/components/icon/paths/fcr_clock.js +27 -0
  226. package/lib/components/icon/paths/fcr_close.d.ts +3 -0
  227. package/lib/components/icon/paths/fcr_close.js +22 -0
  228. package/lib/components/icon/paths/fcr_cloudrecord.d.ts +3 -0
  229. package/lib/components/icon/paths/fcr_cloudrecord.js +22 -0
  230. package/lib/components/icon/paths/fcr_colon.d.ts +3 -0
  231. package/lib/components/icon/paths/fcr_colon.js +29 -0
  232. package/lib/components/icon/paths/fcr_computerdata.d.ts +3 -0
  233. package/lib/components/icon/paths/fcr_computerdata.js +22 -0
  234. package/lib/components/icon/paths/fcr_copy.d.ts +3 -0
  235. package/lib/components/icon/paths/fcr_copy.js +29 -0
  236. package/lib/components/icon/paths/fcr_countdown_down.d.ts +3 -0
  237. package/lib/components/icon/paths/fcr_countdown_down.js +33 -0
  238. package/lib/components/icon/paths/fcr_countdown_up.d.ts +3 -0
  239. package/lib/components/icon/paths/fcr_countdown_up.js +33 -0
  240. package/lib/components/icon/paths/fcr_delete3.d.ts +3 -0
  241. package/lib/components/icon/paths/fcr_delete3.js +22 -0
  242. package/lib/components/icon/paths/fcr_deviceaudiooff.d.ts +3 -0
  243. package/lib/components/icon/paths/fcr_deviceaudiooff.js +22 -0
  244. package/lib/components/icon/paths/fcr_deviceaudioon.d.ts +3 -0
  245. package/lib/components/icon/paths/fcr_deviceaudioon.js +20 -0
  246. package/lib/components/icon/paths/fcr_down.d.ts +3 -0
  247. package/lib/components/icon/paths/fcr_down.js +22 -0
  248. package/lib/components/icon/paths/fcr_down1.d.ts +3 -0
  249. package/lib/components/icon/paths/fcr_down1.js +23 -0
  250. package/lib/components/icon/paths/fcr_download.d.ts +3 -0
  251. package/lib/components/icon/paths/fcr_download.js +23 -0
  252. package/lib/components/icon/paths/fcr_dropdown.d.ts +3 -0
  253. package/lib/components/icon/paths/fcr_dropdown.js +20 -0
  254. package/lib/components/icon/paths/fcr_dropdown2.d.ts +3 -0
  255. package/lib/components/icon/paths/fcr_dropdown2.js +33 -0
  256. package/lib/components/icon/paths/fcr_dropdown4.d.ts +3 -0
  257. package/lib/components/icon/paths/fcr_dropdown4.js +20 -0
  258. package/lib/components/icon/paths/fcr_dropup4.d.ts +3 -0
  259. package/lib/components/icon/paths/fcr_dropup4.js +20 -0
  260. package/lib/components/icon/paths/fcr_emo.d.ts +3 -0
  261. package/lib/components/icon/paths/fcr_emo.js +37 -0
  262. package/lib/components/icon/paths/fcr_endmeeting.d.ts +3 -0
  263. package/lib/components/icon/paths/fcr_endmeeting.js +20 -0
  264. package/lib/components/icon/paths/fcr_equalratio.d.ts +3 -0
  265. package/lib/components/icon/paths/fcr_equalratio.js +22 -0
  266. package/lib/components/icon/paths/fcr_exclamationmask.d.ts +3 -0
  267. package/lib/components/icon/paths/fcr_exclamationmask.js +22 -0
  268. package/lib/components/icon/paths/fcr_file.d.ts +3 -0
  269. package/lib/components/icon/paths/fcr_file.js +22 -0
  270. package/lib/components/icon/paths/fcr_file_ah5.d.ts +3 -0
  271. package/lib/components/icon/paths/fcr_file_ah5.js +26 -0
  272. package/lib/components/icon/paths/fcr_file_alf.d.ts +3 -0
  273. package/lib/components/icon/paths/fcr_file_alf.js +32 -0
  274. package/lib/components/icon/paths/fcr_file_audio.d.ts +3 -0
  275. package/lib/components/icon/paths/fcr_file_audio.js +26 -0
  276. package/lib/components/icon/paths/fcr_file_doc.d.ts +3 -0
  277. package/lib/components/icon/paths/fcr_file_doc.js +32 -0
  278. package/lib/components/icon/paths/fcr_file_excel.d.ts +3 -0
  279. package/lib/components/icon/paths/fcr_file_excel.js +26 -0
  280. package/lib/components/icon/paths/fcr_file_noformat.d.ts +3 -0
  281. package/lib/components/icon/paths/fcr_file_noformat.js +28 -0
  282. package/lib/components/icon/paths/fcr_file_pdf.d.ts +3 -0
  283. package/lib/components/icon/paths/fcr_file_pdf.js +32 -0
  284. package/lib/components/icon/paths/fcr_file_photo.d.ts +3 -0
  285. package/lib/components/icon/paths/fcr_file_photo.js +28 -0
  286. package/lib/components/icon/paths/fcr_file_ppt.d.ts +3 -0
  287. package/lib/components/icon/paths/fcr_file_ppt.js +32 -0
  288. package/lib/components/icon/paths/fcr_file_video.d.ts +3 -0
  289. package/lib/components/icon/paths/fcr_file_video.js +31 -0
  290. package/lib/components/icon/paths/fcr_focusonhim.d.ts +3 -0
  291. package/lib/components/icon/paths/fcr_focusonhim.js +22 -0
  292. package/lib/components/icon/paths/fcr_fourwindows.d.ts +3 -0
  293. package/lib/components/icon/paths/fcr_fourwindows.js +22 -0
  294. package/lib/components/icon/paths/fcr_fourwindows2.d.ts +3 -0
  295. package/lib/components/icon/paths/fcr_fourwindows2.js +21 -0
  296. package/lib/components/icon/paths/fcr_fullcoverage.d.ts +3 -0
  297. package/lib/components/icon/paths/fcr_fullcoverage.js +22 -0
  298. package/lib/components/icon/paths/fcr_gotostage.d.ts +3 -0
  299. package/lib/components/icon/paths/fcr_gotostage.js +22 -0
  300. package/lib/components/icon/paths/fcr_gotostage_not.d.ts +3 -0
  301. package/lib/components/icon/paths/fcr_gotostage_not.js +22 -0
  302. package/lib/components/icon/paths/fcr_gotostage_on.d.ts +3 -0
  303. package/lib/components/icon/paths/fcr_gotostage_on.js +22 -0
  304. package/lib/components/icon/paths/fcr_grid_big.d.ts +3 -0
  305. package/lib/components/icon/paths/fcr_grid_big.js +20 -0
  306. package/lib/components/icon/paths/fcr_head.d.ts +3 -0
  307. package/lib/components/icon/paths/fcr_head.js +20 -0
  308. package/lib/components/icon/paths/fcr_helpquestion.d.ts +3 -0
  309. package/lib/components/icon/paths/fcr_helpquestion.js +34 -0
  310. package/lib/components/icon/paths/fcr_hidevideo.d.ts +3 -0
  311. package/lib/components/icon/paths/fcr_hidevideo.js +27 -0
  312. package/lib/components/icon/paths/fcr_home_code2.d.ts +3 -0
  313. package/lib/components/icon/paths/fcr_home_code2.js +27 -0
  314. package/lib/components/icon/paths/fcr_host.d.ts +3 -0
  315. package/lib/components/icon/paths/fcr_host.js +20 -0
  316. package/lib/components/icon/paths/fcr_left.d.ts +3 -0
  317. package/lib/components/icon/paths/fcr_left.js +35 -0
  318. package/lib/components/icon/paths/fcr_left1.d.ts +3 -0
  319. package/lib/components/icon/paths/fcr_left1.js +35 -0
  320. package/lib/components/icon/paths/fcr_left3.d.ts +3 -0
  321. package/lib/components/icon/paths/fcr_left3.js +20 -0
  322. package/lib/components/icon/paths/fcr_left4.d.ts +3 -0
  323. package/lib/components/icon/paths/fcr_left4.js +22 -0
  324. package/lib/components/icon/paths/fcr_link.d.ts +3 -0
  325. package/lib/components/icon/paths/fcr_link.js +33 -0
  326. package/lib/components/icon/paths/fcr_list_delete.d.ts +3 -0
  327. package/lib/components/icon/paths/fcr_list_delete.js +25 -0
  328. package/lib/components/icon/paths/fcr_list_on_right_big.d.ts +3 -0
  329. package/lib/components/icon/paths/fcr_list_on_right_big.js +20 -0
  330. package/lib/components/icon/paths/fcr_list_on_top_big.d.ts +3 -0
  331. package/lib/components/icon/paths/fcr_list_on_top_big.js +21 -0
  332. package/lib/components/icon/paths/fcr_live.d.ts +3 -0
  333. package/lib/components/icon/paths/fcr_live.js +23 -0
  334. package/lib/components/icon/paths/fcr_liveicon.d.ts +3 -0
  335. package/lib/components/icon/paths/fcr_liveicon.js +22 -0
  336. package/lib/components/icon/paths/fcr_loading.d.ts +3 -0
  337. package/lib/components/icon/paths/fcr_loading.js +40 -0
  338. package/lib/components/icon/paths/fcr_lower_hand.d.ts +3 -0
  339. package/lib/components/icon/paths/fcr_lower_hand.js +28 -0
  340. package/lib/components/icon/paths/fcr_minus.d.ts +3 -0
  341. package/lib/components/icon/paths/fcr_minus.js +24 -0
  342. package/lib/components/icon/paths/fcr_mirrorimage_left.d.ts +3 -0
  343. package/lib/components/icon/paths/fcr_mirrorimage_left.js +22 -0
  344. package/lib/components/icon/paths/fcr_mirrorimage_off.d.ts +3 -0
  345. package/lib/components/icon/paths/fcr_mirrorimage_off.js +30 -0
  346. package/lib/components/icon/paths/fcr_mirrorimage_off.svg +4 -0
  347. package/lib/components/icon/paths/fcr_mirrorimage_right.d.ts +3 -0
  348. package/lib/components/icon/paths/fcr_mirrorimage_right.js +34 -0
  349. package/lib/components/icon/paths/fcr_mobile_camera2.d.ts +3 -0
  350. package/lib/components/icon/paths/fcr_mobile_camera2.js +22 -0
  351. package/lib/components/icon/paths/fcr_mobile_chat2.d.ts +3 -0
  352. package/lib/components/icon/paths/fcr_mobile_chat2.js +22 -0
  353. package/lib/components/icon/paths/fcr_mobile_chat3.d.ts +3 -0
  354. package/lib/components/icon/paths/fcr_mobile_chat3.js +36 -0
  355. package/lib/components/icon/paths/fcr_mobile_duplicate.d.ts +3 -0
  356. package/lib/components/icon/paths/fcr_mobile_duplicate.js +22 -0
  357. package/lib/components/icon/paths/fcr_mobile_more.d.ts +3 -0
  358. package/lib/components/icon/paths/fcr_mobile_more.js +32 -0
  359. package/lib/components/icon/paths/fcr_mobile_sharescreen.d.ts +3 -0
  360. package/lib/components/icon/paths/fcr_mobile_sharescreen.js +22 -0
  361. package/lib/components/icon/paths/fcr_mobile_whiteboard_redo.d.ts +3 -0
  362. package/lib/components/icon/paths/fcr_mobile_whiteboard_redo.js +22 -0
  363. package/lib/components/icon/paths/fcr_mobile_whiteboard_undo.d.ts +3 -0
  364. package/lib/components/icon/paths/fcr_mobile_whiteboard_undo.js +22 -0
  365. package/lib/components/icon/paths/fcr_more2.d.ts +3 -0
  366. package/lib/components/icon/paths/fcr_more2.js +22 -0
  367. package/lib/components/icon/paths/fcr_move.d.ts +3 -0
  368. package/lib/components/icon/paths/fcr_move.js +22 -0
  369. package/lib/components/icon/paths/fcr_moveto.d.ts +3 -0
  370. package/lib/components/icon/paths/fcr_moveto.js +22 -0
  371. package/lib/components/icon/paths/fcr_mute.d.ts +3 -0
  372. package/lib/components/icon/paths/fcr_mute.js +23 -0
  373. package/lib/components/icon/paths/fcr_mutecrash.d.ts +3 -0
  374. package/lib/components/icon/paths/fcr_mutecrash.js +35 -0
  375. package/lib/components/icon/paths/fcr_mutedefault.d.ts +3 -0
  376. package/lib/components/icon/paths/fcr_mutedefault.js +26 -0
  377. package/lib/components/icon/paths/fcr_nomute.d.ts +3 -0
  378. package/lib/components/icon/paths/fcr_nomute.js +25 -0
  379. package/lib/components/icon/paths/fcr_notice.d.ts +3 -0
  380. package/lib/components/icon/paths/fcr_notice.js +20 -0
  381. package/lib/components/icon/paths/fcr_oneleave.d.ts +3 -0
  382. package/lib/components/icon/paths/fcr_oneleave.js +22 -0
  383. package/lib/components/icon/paths/fcr_openfile.d.ts +3 -0
  384. package/lib/components/icon/paths/fcr_openfile.js +23 -0
  385. package/lib/components/icon/paths/fcr_order_down.d.ts +3 -0
  386. package/lib/components/icon/paths/fcr_order_down.js +20 -0
  387. package/lib/components/icon/paths/fcr_order_up.d.ts +3 -0
  388. package/lib/components/icon/paths/fcr_order_up.js +20 -0
  389. package/lib/components/icon/paths/fcr_pause2.d.ts +3 -0
  390. package/lib/components/icon/paths/fcr_pause2.js +23 -0
  391. package/lib/components/icon/paths/fcr_pen_curve_1size.d.ts +3 -0
  392. package/lib/components/icon/paths/fcr_pen_curve_1size.js +23 -0
  393. package/lib/components/icon/paths/fcr_pen_curve_2size.d.ts +3 -0
  394. package/lib/components/icon/paths/fcr_pen_curve_2size.js +23 -0
  395. package/lib/components/icon/paths/fcr_pen_curve_3size.d.ts +3 -0
  396. package/lib/components/icon/paths/fcr_pen_curve_3size.js +23 -0
  397. package/lib/components/icon/paths/fcr_pen_curve_4size.d.ts +3 -0
  398. package/lib/components/icon/paths/fcr_pen_curve_4size.js +23 -0
  399. package/lib/components/icon/paths/fcr_pen_line_1size.d.ts +3 -0
  400. package/lib/components/icon/paths/fcr_pen_line_1size.js +23 -0
  401. package/lib/components/icon/paths/fcr_pen_line_2size.d.ts +3 -0
  402. package/lib/components/icon/paths/fcr_pen_line_2size.js +23 -0
  403. package/lib/components/icon/paths/fcr_pen_line_3size.d.ts +3 -0
  404. package/lib/components/icon/paths/fcr_pen_line_3size.js +23 -0
  405. package/lib/components/icon/paths/fcr_pen_line_4size.d.ts +3 -0
  406. package/lib/components/icon/paths/fcr_pen_line_4size.js +23 -0
  407. package/lib/components/icon/paths/fcr_pensize.d.ts +3 -0
  408. package/lib/components/icon/paths/fcr_pensize.js +27 -0
  409. package/lib/components/icon/paths/fcr_pensize_straight.d.ts +3 -0
  410. package/lib/components/icon/paths/fcr_pensize_straight.js +26 -0
  411. package/lib/components/icon/paths/fcr_people.d.ts +3 -0
  412. package/lib/components/icon/paths/fcr_people.js +22 -0
  413. package/lib/components/icon/paths/fcr_phonecall1.d.ts +3 -0
  414. package/lib/components/icon/paths/fcr_phonecall1.js +21 -0
  415. package/lib/components/icon/paths/fcr_phonecall2.d.ts +3 -0
  416. package/lib/components/icon/paths/fcr_phonecall2.js +22 -0
  417. package/lib/components/icon/paths/fcr_phonecall3.d.ts +3 -0
  418. package/lib/components/icon/paths/fcr_phonecall3.js +23 -0
  419. package/lib/components/icon/paths/fcr_phonecall_silence.d.ts +3 -0
  420. package/lib/components/icon/paths/fcr_phonecall_silence.js +22 -0
  421. package/lib/components/icon/paths/fcr_picture.d.ts +3 -0
  422. package/lib/components/icon/paths/fcr_picture.js +28 -0
  423. package/lib/components/icon/paths/fcr_pin.d.ts +3 -0
  424. package/lib/components/icon/paths/fcr_pin.js +22 -0
  425. package/lib/components/icon/paths/fcr_pinpage.d.ts +3 -0
  426. package/lib/components/icon/paths/fcr_pinpage.js +20 -0
  427. package/lib/components/icon/paths/fcr_pinpage2.d.ts +3 -0
  428. package/lib/components/icon/paths/fcr_pinpage2.js +20 -0
  429. package/lib/components/icon/paths/fcr_platform.d.ts +3 -0
  430. package/lib/components/icon/paths/fcr_platform.js +20 -0
  431. package/lib/components/icon/paths/fcr_ppt_broken.d.ts +3 -0
  432. package/lib/components/icon/paths/fcr_ppt_broken.js +24 -0
  433. package/lib/components/icon/paths/fcr_question.d.ts +3 -0
  434. package/lib/components/icon/paths/fcr_question.js +20 -0
  435. package/lib/components/icon/paths/fcr_question2.d.ts +3 -0
  436. package/lib/components/icon/paths/fcr_question2.js +23 -0
  437. package/lib/components/icon/paths/fcr_quit2.d.ts +3 -0
  438. package/lib/components/icon/paths/fcr_quit2.js +22 -0
  439. package/lib/components/icon/paths/fcr_raisehands.d.ts +3 -0
  440. package/lib/components/icon/paths/fcr_raisehands.js +22 -0
  441. package/lib/components/icon/paths/fcr_recording_end.d.ts +3 -0
  442. package/lib/components/icon/paths/fcr_recording_end.js +24 -0
  443. package/lib/components/icon/paths/fcr_recording_on.d.ts +3 -0
  444. package/lib/components/icon/paths/fcr_recording_on.js +22 -0
  445. package/lib/components/icon/paths/fcr_recording_play.d.ts +3 -0
  446. package/lib/components/icon/paths/fcr_recording_play.js +20 -0
  447. package/lib/components/icon/paths/fcr_recording_play2.d.ts +3 -0
  448. package/lib/components/icon/paths/fcr_recording_play2.js +22 -0
  449. package/lib/components/icon/paths/fcr_recording_stop.d.ts +3 -0
  450. package/lib/components/icon/paths/fcr_recording_stop.js +22 -0
  451. package/lib/components/icon/paths/fcr_remove_pin.d.ts +3 -0
  452. package/lib/components/icon/paths/fcr_remove_pin.js +27 -0
  453. package/lib/components/icon/paths/fcr_rename.d.ts +3 -0
  454. package/lib/components/icon/paths/fcr_rename.js +22 -0
  455. package/lib/components/icon/paths/fcr_reset.d.ts +3 -0
  456. package/lib/components/icon/paths/fcr_reset.js +20 -0
  457. package/lib/components/icon/paths/fcr_reverseorder.d.ts +3 -0
  458. package/lib/components/icon/paths/fcr_reverseorder.js +20 -0
  459. package/lib/components/icon/paths/fcr_reward.d.ts +3 -0
  460. package/lib/components/icon/paths/fcr_reward.js +22 -0
  461. package/lib/components/icon/paths/fcr_rewardall.d.ts +3 -0
  462. package/lib/components/icon/paths/fcr_rewardall.js +27 -0
  463. package/lib/components/icon/paths/fcr_right.d.ts +3 -0
  464. package/lib/components/icon/paths/fcr_right.js +35 -0
  465. package/lib/components/icon/paths/fcr_right2.d.ts +3 -0
  466. package/lib/components/icon/paths/fcr_right2.js +35 -0
  467. package/lib/components/icon/paths/fcr_right3.d.ts +3 -0
  468. package/lib/components/icon/paths/fcr_right3.js +20 -0
  469. package/lib/components/icon/paths/fcr_right4.d.ts +3 -0
  470. package/lib/components/icon/paths/fcr_right4.js +22 -0
  471. package/lib/components/icon/paths/fcr_right5.d.ts +3 -0
  472. package/lib/components/icon/paths/fcr_right5.js +20 -0
  473. package/lib/components/icon/paths/fcr_rightwindows.d.ts +3 -0
  474. package/lib/components/icon/paths/fcr_rightwindows.js +22 -0
  475. package/lib/components/icon/paths/fcr_rotatingvideo.d.ts +3 -0
  476. package/lib/components/icon/paths/fcr_rotatingvideo.js +22 -0
  477. package/lib/components/icon/paths/fcr_screenshare_change1.d.ts +3 -0
  478. package/lib/components/icon/paths/fcr_screenshare_change1.js +22 -0
  479. package/lib/components/icon/paths/fcr_screenshare_change2.d.ts +3 -0
  480. package/lib/components/icon/paths/fcr_screenshare_change2.js +22 -0
  481. package/lib/components/icon/paths/fcr_screensharing.d.ts +3 -0
  482. package/lib/components/icon/paths/fcr_screensharing.js +22 -0
  483. package/lib/components/icon/paths/fcr_screensharing_1.d.ts +3 -0
  484. package/lib/components/icon/paths/fcr_screensharing_1.js +22 -0
  485. package/lib/components/icon/paths/fcr_screensharing_on.d.ts +3 -0
  486. package/lib/components/icon/paths/fcr_screensharing_on.js +22 -0
  487. package/lib/components/icon/paths/fcr_security.d.ts +3 -0
  488. package/lib/components/icon/paths/fcr_security.js +20 -0
  489. package/lib/components/icon/paths/fcr_send.d.ts +3 -0
  490. package/lib/components/icon/paths/fcr_send.js +20 -0
  491. package/lib/components/icon/paths/fcr_setting.d.ts +3 -0
  492. package/lib/components/icon/paths/fcr_setting.js +20 -0
  493. package/lib/components/icon/paths/fcr_setting_none.d.ts +3 -0
  494. package/lib/components/icon/paths/fcr_setting_none.js +22 -0
  495. package/lib/components/icon/paths/fcr_share.d.ts +3 -0
  496. package/lib/components/icon/paths/fcr_share.js +22 -0
  497. package/lib/components/icon/paths/fcr_sharingbar_down.d.ts +3 -0
  498. package/lib/components/icon/paths/fcr_sharingbar_down.js +20 -0
  499. package/lib/components/icon/paths/fcr_sharingbar_up.d.ts +3 -0
  500. package/lib/components/icon/paths/fcr_sharingbar_up.js +20 -0
  501. package/lib/components/icon/paths/fcr_showvideo.d.ts +3 -0
  502. package/lib/components/icon/paths/fcr_showvideo.js +22 -0
  503. package/lib/components/icon/paths/fcr_sipdevice.d.ts +3 -0
  504. package/lib/components/icon/paths/fcr_sipdevice.js +28 -0
  505. package/lib/components/icon/paths/fcr_smooth.d.ts +3 -0
  506. package/lib/components/icon/paths/fcr_smooth.js +70 -0
  507. package/lib/components/icon/paths/fcr_star.d.ts +3 -0
  508. package/lib/components/icon/paths/fcr_star.js +20 -0
  509. package/lib/components/icon/paths/fcr_stop.d.ts +3 -0
  510. package/lib/components/icon/paths/fcr_stop.js +22 -0
  511. package/lib/components/icon/paths/fcr_stop3.d.ts +3 -0
  512. package/lib/components/icon/paths/fcr_stop3.js +23 -0
  513. package/lib/components/icon/paths/fcr_stoplive.d.ts +3 -0
  514. package/lib/components/icon/paths/fcr_stoplive.js +22 -0
  515. package/lib/components/icon/paths/fcr_stopscreensharing.d.ts +3 -0
  516. package/lib/components/icon/paths/fcr_stopscreensharing.js +22 -0
  517. package/lib/components/icon/paths/fcr_student_rasiehand.d.ts +3 -0
  518. package/lib/components/icon/paths/fcr_student_rasiehand.js +22 -0
  519. package/lib/components/icon/paths/fcr_subtract.d.ts +3 -0
  520. package/lib/components/icon/paths/fcr_subtract.js +22 -0
  521. package/lib/components/icon/paths/fcr_tooltip_arrow.d.ts +3 -0
  522. package/lib/components/icon/paths/fcr_tooltip_arrow.js +22 -0
  523. package/lib/components/icon/paths/fcr_tooltip_arrow_2.d.ts +3 -0
  524. package/lib/components/icon/paths/fcr_tooltip_arrow_2.js +39 -0
  525. package/lib/components/icon/paths/fcr_topwindows.d.ts +3 -0
  526. package/lib/components/icon/paths/fcr_topwindows.js +22 -0
  527. package/lib/components/icon/paths/fcr_underline.d.ts +3 -0
  528. package/lib/components/icon/paths/fcr_underline.js +34 -0
  529. package/lib/components/icon/paths/fcr_unpin.d.ts +3 -0
  530. package/lib/components/icon/paths/fcr_unpin.js +25 -0
  531. package/lib/components/icon/paths/fcr_up.d.ts +3 -0
  532. package/lib/components/icon/paths/fcr_up.js +22 -0
  533. package/lib/components/icon/paths/fcr_up2.d.ts +3 -0
  534. package/lib/components/icon/paths/fcr_up2.js +22 -0
  535. package/lib/components/icon/paths/fcr_uploadlist.d.ts +3 -0
  536. package/lib/components/icon/paths/fcr_uploadlist.js +21 -0
  537. package/lib/components/icon/paths/fcr_uporder.d.ts +3 -0
  538. package/lib/components/icon/paths/fcr_uporder.js +20 -0
  539. package/lib/components/icon/paths/fcr_users.d.ts +3 -0
  540. package/lib/components/icon/paths/fcr_users.js +22 -0
  541. package/lib/components/icon/paths/fcr_v2_answer.d.ts +3 -0
  542. package/lib/components/icon/paths/fcr_v2_answer.js +22 -0
  543. package/lib/components/icon/paths/fcr_v2_breakroom.d.ts +3 -0
  544. package/lib/components/icon/paths/fcr_v2_breakroom.js +22 -0
  545. package/lib/components/icon/paths/fcr_v2_chevron_down2.d.ts +3 -0
  546. package/lib/components/icon/paths/fcr_v2_chevron_down2.js +22 -0
  547. package/lib/components/icon/paths/fcr_v2_chevron_left2.d.ts +3 -0
  548. package/lib/components/icon/paths/fcr_v2_chevron_left2.js +22 -0
  549. package/lib/components/icon/paths/fcr_v2_chevron_right2.d.ts +3 -0
  550. package/lib/components/icon/paths/fcr_v2_chevron_right2.js +22 -0
  551. package/lib/components/icon/paths/fcr_v2_expansionscreen.d.ts +3 -0
  552. package/lib/components/icon/paths/fcr_v2_expansionscreen.js +22 -0
  553. package/lib/components/icon/paths/fcr_v2_gou_alart.d.ts +3 -0
  554. package/lib/components/icon/paths/fcr_v2_gou_alart.js +22 -0
  555. package/lib/components/icon/paths/fcr_v2_louder.d.ts +3 -0
  556. package/lib/components/icon/paths/fcr_v2_louder.js +22 -0
  557. package/lib/components/icon/paths/fcr_v2_louder_min.d.ts +3 -0
  558. package/lib/components/icon/paths/fcr_v2_louder_min.js +22 -0
  559. package/lib/components/icon/paths/fcr_v2_phone_more1.d.ts +3 -0
  560. package/lib/components/icon/paths/fcr_v2_phone_more1.js +22 -0
  561. package/lib/components/icon/paths/fcr_v2_poll_add.d.ts +3 -0
  562. package/lib/components/icon/paths/fcr_v2_poll_add.js +30 -0
  563. package/lib/components/icon/paths/fcr_v2_poll_minus.d.ts +3 -0
  564. package/lib/components/icon/paths/fcr_v2_poll_minus.js +20 -0
  565. package/lib/components/icon/paths/fcr_v2_poll_zoom.d.ts +3 -0
  566. package/lib/components/icon/paths/fcr_v2_poll_zoom.js +21 -0
  567. package/lib/components/icon/paths/fcr_v2_quite.d.ts +3 -0
  568. package/lib/components/icon/paths/fcr_v2_quite.js +22 -0
  569. package/lib/components/icon/paths/fcr_v2_search.d.ts +3 -0
  570. package/lib/components/icon/paths/fcr_v2_search.js +22 -0
  571. package/lib/components/icon/paths/fcr_v2_signal_bad.d.ts +3 -0
  572. package/lib/components/icon/paths/fcr_v2_signal_bad.js +29 -0
  573. package/lib/components/icon/paths/fcr_v2_signal_good.d.ts +3 -0
  574. package/lib/components/icon/paths/fcr_v2_signal_good.js +22 -0
  575. package/lib/components/icon/paths/fcr_v2_signal_normal.d.ts +3 -0
  576. package/lib/components/icon/paths/fcr_v2_signal_normal.js +29 -0
  577. package/lib/components/icon/paths/fcr_v2_tanhao_alart.d.ts +3 -0
  578. package/lib/components/icon/paths/fcr_v2_tanhao_alart.js +22 -0
  579. package/lib/components/icon/paths/fcr_v2_timer.d.ts +3 -0
  580. package/lib/components/icon/paths/fcr_v2_timer.js +22 -0
  581. package/lib/components/icon/paths/fcr_v2_tool_new.d.ts +3 -0
  582. package/lib/components/icon/paths/fcr_v2_tool_new.js +22 -0
  583. package/lib/components/icon/paths/fcr_v2_vote.d.ts +3 -0
  584. package/lib/components/icon/paths/fcr_v2_vote.js +22 -0
  585. package/lib/components/icon/paths/fcr_video_sharescreen.d.ts +3 -0
  586. package/lib/components/icon/paths/fcr_video_sharescreen.js +22 -0
  587. package/lib/components/icon/paths/fcr_videoback.d.ts +3 -0
  588. package/lib/components/icon/paths/fcr_videoback.js +22 -0
  589. package/lib/components/icon/paths/fcr_web_chat.d.ts +3 -0
  590. package/lib/components/icon/paths/fcr_web_chat.js +23 -0
  591. package/lib/components/icon/paths/fcr_web_connectsound.d.ts +3 -0
  592. package/lib/components/icon/paths/fcr_web_connectsound.js +29 -0
  593. package/lib/components/icon/paths/fcr_web_fullscream.d.ts +3 -0
  594. package/lib/components/icon/paths/fcr_web_fullscream.js +24 -0
  595. package/lib/components/icon/paths/fcr_web_move_page.d.ts +3 -0
  596. package/lib/components/icon/paths/fcr_web_move_page.js +25 -0
  597. package/lib/components/icon/paths/fcr_web_restoration.d.ts +3 -0
  598. package/lib/components/icon/paths/fcr_web_restoration.js +22 -0
  599. package/lib/components/icon/paths/fcr_web_scale_left.d.ts +3 -0
  600. package/lib/components/icon/paths/fcr_web_scale_left.js +34 -0
  601. package/lib/components/icon/paths/fcr_web_scale_right.d.ts +3 -0
  602. package/lib/components/icon/paths/fcr_web_scale_right.js +35 -0
  603. package/lib/components/icon/paths/fcr_web_sharingview_middle.d.ts +3 -0
  604. package/lib/components/icon/paths/fcr_web_sharingview_middle.js +21 -0
  605. package/lib/components/icon/paths/fcr_web_sharingview_mix.d.ts +3 -0
  606. package/lib/components/icon/paths/fcr_web_sharingview_mix.js +23 -0
  607. package/lib/components/icon/paths/fcr_web_sharingview_small.d.ts +3 -0
  608. package/lib/components/icon/paths/fcr_web_sharingview_small.js +21 -0
  609. package/lib/components/icon/paths/fcr_web_smallest.d.ts +3 -0
  610. package/lib/components/icon/paths/fcr_web_smallest.js +23 -0
  611. package/lib/components/icon/paths/fcr_whiteboard.d.ts +3 -0
  612. package/lib/components/icon/paths/fcr_whiteboard.js +22 -0
  613. package/lib/components/icon/paths/fcr_whiteboard2.d.ts +3 -0
  614. package/lib/components/icon/paths/fcr_whiteboard2.js +22 -0
  615. package/lib/components/icon/paths/fcr_whiteboard_back.d.ts +3 -0
  616. package/lib/components/icon/paths/fcr_whiteboard_back.js +20 -0
  617. package/lib/components/icon/paths/fcr_whiteboard_bg.d.ts +3 -0
  618. package/lib/components/icon/paths/fcr_whiteboard_bg.js +29 -0
  619. package/lib/components/icon/paths/fcr_whiteboard_cloud.d.ts +3 -0
  620. package/lib/components/icon/paths/fcr_whiteboard_cloud.js +20 -0
  621. package/lib/components/icon/paths/fcr_whiteboard_eliminate.d.ts +3 -0
  622. package/lib/components/icon/paths/fcr_whiteboard_eliminate.js +20 -0
  623. package/lib/components/icon/paths/fcr_whiteboard_eraser.d.ts +3 -0
  624. package/lib/components/icon/paths/fcr_whiteboard_eraser.js +24 -0
  625. package/lib/components/icon/paths/fcr_whiteboard_expand2.d.ts +3 -0
  626. package/lib/components/icon/paths/fcr_whiteboard_expand2.js +23 -0
  627. package/lib/components/icon/paths/fcr_whiteboard_forward.d.ts +3 -0
  628. package/lib/components/icon/paths/fcr_whiteboard_forward.js +20 -0
  629. package/lib/components/icon/paths/fcr_whiteboard_laserpen.d.ts +3 -0
  630. package/lib/components/icon/paths/fcr_whiteboard_laserpen.js +22 -0
  631. package/lib/components/icon/paths/fcr_whiteboard_laserpen2.d.ts +3 -0
  632. package/lib/components/icon/paths/fcr_whiteboard_laserpen2.js +35 -0
  633. package/lib/components/icon/paths/fcr_whiteboard_lowerrightarrow.d.ts +3 -0
  634. package/lib/components/icon/paths/fcr_whiteboard_lowerrightarrow.js +20 -0
  635. package/lib/components/icon/paths/fcr_whiteboard_mouse.d.ts +3 -0
  636. package/lib/components/icon/paths/fcr_whiteboard_mouse.js +22 -0
  637. package/lib/components/icon/paths/fcr_whiteboard_move.d.ts +3 -0
  638. package/lib/components/icon/paths/fcr_whiteboard_move.js +22 -0
  639. package/lib/components/icon/paths/fcr_whiteboard_movesubjects.d.ts +3 -0
  640. package/lib/components/icon/paths/fcr_whiteboard_movesubjects.js +20 -0
  641. package/lib/components/icon/paths/fcr_whiteboard_movesubjects2.d.ts +3 -0
  642. package/lib/components/icon/paths/fcr_whiteboard_movesubjects2.js +23 -0
  643. package/lib/components/icon/paths/fcr_whiteboard_on.d.ts +3 -0
  644. package/lib/components/icon/paths/fcr_whiteboard_on.js +22 -0
  645. package/lib/components/icon/paths/fcr_whiteboard_page.d.ts +3 -0
  646. package/lib/components/icon/paths/fcr_whiteboard_page.js +22 -0
  647. package/lib/components/icon/paths/fcr_whiteboard_ped.d.ts +3 -0
  648. package/lib/components/icon/paths/fcr_whiteboard_ped.js +22 -0
  649. package/lib/components/icon/paths/fcr_whiteboard_ped2.d.ts +3 -0
  650. package/lib/components/icon/paths/fcr_whiteboard_ped2.js +28 -0
  651. package/lib/components/icon/paths/fcr_whiteboard_ped3.d.ts +3 -0
  652. package/lib/components/icon/paths/fcr_whiteboard_ped3.js +31 -0
  653. package/lib/components/icon/paths/fcr_whiteboard_ped_curve.d.ts +3 -0
  654. package/lib/components/icon/paths/fcr_whiteboard_ped_curve.js +26 -0
  655. package/lib/components/icon/paths/fcr_whiteboard_ped_straightline.d.ts +3 -0
  656. package/lib/components/icon/paths/fcr_whiteboard_ped_straightline.js +26 -0
  657. package/lib/components/icon/paths/fcr_whiteboard_save.d.ts +3 -0
  658. package/lib/components/icon/paths/fcr_whiteboard_save.js +22 -0
  659. package/lib/components/icon/paths/fcr_whiteboard_shap_arrow.d.ts +3 -0
  660. package/lib/components/icon/paths/fcr_whiteboard_shap_arrow.js +22 -0
  661. package/lib/components/icon/paths/fcr_whiteboard_shap_circle.d.ts +3 -0
  662. package/lib/components/icon/paths/fcr_whiteboard_shap_circle.js +22 -0
  663. package/lib/components/icon/paths/fcr_whiteboard_shap_circle_1.d.ts +3 -0
  664. package/lib/components/icon/paths/fcr_whiteboard_shap_circle_1.js +22 -0
  665. package/lib/components/icon/paths/fcr_whiteboard_shap_line.d.ts +3 -0
  666. package/lib/components/icon/paths/fcr_whiteboard_shap_line.js +23 -0
  667. package/lib/components/icon/paths/fcr_whiteboard_shap_rehumbus.d.ts +3 -0
  668. package/lib/components/icon/paths/fcr_whiteboard_shap_rehumbus.js +22 -0
  669. package/lib/components/icon/paths/fcr_whiteboard_shap_square.d.ts +3 -0
  670. package/lib/components/icon/paths/fcr_whiteboard_shap_square.js +22 -0
  671. package/lib/components/icon/paths/fcr_whiteboard_shap_star.d.ts +3 -0
  672. package/lib/components/icon/paths/fcr_whiteboard_shap_star.js +22 -0
  673. package/lib/components/icon/paths/fcr_whiteboard_shap_triangle.d.ts +3 -0
  674. package/lib/components/icon/paths/fcr_whiteboard_shap_triangle.js +22 -0
  675. package/lib/components/icon/paths/fcr_whiteboard_slice.d.ts +3 -0
  676. package/lib/components/icon/paths/fcr_whiteboard_slice.js +25 -0
  677. package/lib/components/icon/paths/fcr_whiteboard_text.d.ts +3 -0
  678. package/lib/components/icon/paths/fcr_whiteboard_text.js +22 -0
  679. package/lib/components/icon/paths/fcr_whiteboard_toolbox.d.ts +3 -0
  680. package/lib/components/icon/paths/fcr_whiteboard_toolbox.js +22 -0
  681. package/lib/components/icon/paths/fcr_whitechoose.d.ts +3 -0
  682. package/lib/components/icon/paths/fcr_whitechoose.js +28 -0
  683. package/lib/components/icon/paths/fcr_wihiteboard_slice.d.ts +3 -0
  684. package/lib/components/icon/paths/fcr_wihiteboard_slice.js +22 -0
  685. package/lib/components/icon/paths/fcr_wihiteboard_slicewithoutclassroom.d.ts +3 -0
  686. package/lib/components/icon/paths/fcr_wihiteboard_slicewithoutclassroom.js +22 -0
  687. package/lib/components/icon/paths/fcr_window_bigger.d.ts +3 -0
  688. package/lib/components/icon/paths/fcr_window_bigger.js +22 -0
  689. package/lib/components/icon/paths/fcr_window_smaller.d.ts +3 -0
  690. package/lib/components/icon/paths/fcr_window_smaller.js +22 -0
  691. package/lib/components/icon/paths/fcr_windowpage_bigger.d.ts +3 -0
  692. package/lib/components/icon/paths/fcr_windowpage_bigger.js +22 -0
  693. package/lib/components/icon/paths/fcr_windowpage_lonely.d.ts +3 -0
  694. package/lib/components/icon/paths/fcr_windowpage_lonely.js +32 -0
  695. package/lib/components/icon/paths/fcr_windowpage_smaller.d.ts +3 -0
  696. package/lib/components/icon/paths/fcr_windowpage_smaller.js +24 -0
  697. package/lib/components/icon/paths/fcr_windowpage_smaller2.d.ts +3 -0
  698. package/lib/components/icon/paths/fcr_windowpage_smaller2.js +33 -0
  699. package/lib/components/icon/paths/fcr_windowpage_smaller3.d.ts +3 -0
  700. package/lib/components/icon/paths/fcr_windowpage_smaller3.js +29 -0
  701. package/lib/components/icon/paths/fcr_wizard_arrow.d.ts +3 -0
  702. package/lib/components/icon/paths/fcr_wizard_arrow.js +23 -0
  703. package/lib/components/icon/paths/fcr_wrong.d.ts +3 -0
  704. package/lib/components/icon/paths/fcr_wrong.js +42 -0
  705. package/lib/components/icon/paths/fcr_zoomin.d.ts +3 -0
  706. package/lib/components/icon/paths/fcr_zoomin.js +22 -0
  707. package/lib/components/icon/paths/fcr_zoomout.d.ts +3 -0
  708. package/lib/components/icon/paths/fcr_zoomout.js +22 -0
  709. package/lib/components/icon/svg-dict.d.ts +12 -0
  710. package/lib/components/icon/svg-dict.js +36 -0
  711. package/lib/components/icon/svg-exports.d.ts +269 -0
  712. package/lib/components/icon/svg-exports.js +556 -0
  713. package/lib/components/icon/type.d.ts +271 -0
  714. package/lib/components/icon/type.js +279 -0
  715. package/lib/components/icon-button/index.css +81 -0
  716. package/lib/components/icon-button/index.d.ts +24 -0
  717. package/lib/components/icon-button/index.js +53 -0
  718. package/lib/components/icon-button/index.stories.d.ts +6 -0
  719. package/lib/components/icon-button/index.stories.js +50 -0
  720. package/lib/components/icon-frame/index.css +0 -0
  721. package/lib/components/icon-frame/index.d.ts +10 -0
  722. package/lib/components/icon-frame/index.js +43 -0
  723. package/lib/components/icon-frame/index.stories.d.ts +5 -0
  724. package/lib/components/icon-frame/index.stories.js +39 -0
  725. package/lib/components/icon-phone-call/index.d.ts +9 -0
  726. package/lib/components/icon-phone-call/index.js +49 -0
  727. package/lib/components/icon-phone-call/index.stories.d.ts +5 -0
  728. package/lib/components/icon-phone-call/index.stories.js +41 -0
  729. package/lib/components/input/index.css +137 -0
  730. package/lib/components/input/index.d.ts +70 -0
  731. package/lib/components/input/index.js +147 -0
  732. package/lib/components/input/index.stories.d.ts +5 -0
  733. package/lib/components/input/index.stories.js +124 -0
  734. package/lib/components/input/input-password.d.ts +69 -0
  735. package/lib/components/input/input-password.js +156 -0
  736. package/lib/components/input-number/index.css +114 -0
  737. package/lib/components/input-number/index.d.ts +69 -0
  738. package/lib/components/input-number/index.js +196 -0
  739. package/lib/components/input-number/index.stories.d.ts +6 -0
  740. package/lib/components/input-number/index.stories.js +74 -0
  741. package/lib/components/latest-button/index.css +17 -0
  742. package/lib/components/latest-button/index.d.ts +14 -0
  743. package/lib/components/latest-button/index.js +79 -0
  744. package/lib/components/latest-button/index.stories.d.ts +5 -0
  745. package/lib/components/latest-button/index.stories.js +107 -0
  746. package/lib/components/line-copy-button/index.css +106 -0
  747. package/lib/components/line-copy-button/index.d.ts +24 -0
  748. package/lib/components/line-copy-button/index.js +262 -0
  749. package/lib/components/line-copy-button/index.stories.d.ts +5 -0
  750. package/lib/components/line-copy-button/index.stories.js +147 -0
  751. package/lib/components/live-streaming/container.css +58 -0
  752. package/lib/components/live-streaming/container.d.ts +11 -0
  753. package/lib/components/live-streaming/container.js +174 -0
  754. package/lib/components/live-streaming/index.stories.d.ts +6 -0
  755. package/lib/components/live-streaming/index.stories.js +69 -0
  756. package/lib/components/local-video-player/index.css +98 -0
  757. package/lib/components/local-video-player/index.d.ts +29 -0
  758. package/lib/components/local-video-player/index.js +158 -0
  759. package/lib/components/message-bar/index.css +62 -0
  760. package/lib/components/message-bar/index.d.ts +12 -0
  761. package/lib/components/message-bar/index.js +65 -0
  762. package/lib/components/message-bar/index.stories.d.ts +5 -0
  763. package/lib/components/message-bar/index.stories.js +63 -0
  764. package/lib/components/message-bubble/emoji-msg.d.ts +7 -0
  765. package/lib/components/message-bubble/emoji-msg.js +98 -0
  766. package/lib/components/message-bubble/index.css +71 -0
  767. package/lib/components/message-bubble/index.d.ts +14 -0
  768. package/lib/components/message-bubble/index.js +96 -0
  769. package/lib/components/message-bubble/index.stories.d.ts +5 -0
  770. package/lib/components/message-bubble/index.stories.js +194 -0
  771. package/lib/components/message-label/index.css +95 -0
  772. package/lib/components/message-label/index.d.ts +18 -0
  773. package/lib/components/message-label/index.js +91 -0
  774. package/lib/components/message-label/index.stories.d.ts +5 -0
  775. package/lib/components/message-label/index.stories.js +231 -0
  776. package/lib/components/message-textarea/handleUploadImag.d.ts +1 -0
  777. package/lib/components/message-textarea/handleUploadImag.js +63 -0
  778. package/lib/components/message-textarea/index.css +111 -0
  779. package/lib/components/message-textarea/index.d.ts +20 -0
  780. package/lib/components/message-textarea/index.js +250 -0
  781. package/lib/components/message-textarea/index.stories.d.ts +5 -0
  782. package/lib/components/message-textarea/index.stories.js +80 -0
  783. package/lib/components/microphone-indicator/index.d.ts +7 -0
  784. package/lib/components/microphone-indicator/index.js +59 -0
  785. package/lib/components/multi-select/index.css +63 -0
  786. package/lib/components/multi-select/index.d.ts +9 -0
  787. package/lib/components/multi-select/index.js +114 -0
  788. package/lib/components/multi-select/index.stories.d.ts +5 -0
  789. package/lib/components/multi-select/index.stories.js +43 -0
  790. package/lib/components/multi-select-checkbox/index.css +45 -0
  791. package/lib/components/multi-select-checkbox/index.d.ts +11 -0
  792. package/lib/components/multi-select-checkbox/index.js +42 -0
  793. package/lib/components/multi-select-checkbox/index.stories.d.ts +5 -0
  794. package/lib/components/multi-select-checkbox/index.stories.js +36 -0
  795. package/lib/components/participants/attendee/index.css +151 -0
  796. package/lib/components/participants/attendee/index.d.ts +24 -0
  797. package/lib/components/participants/attendee/index.js +190 -0
  798. package/lib/components/participants/data.d.ts +3 -0
  799. package/lib/components/participants/data.js +527 -0
  800. package/lib/components/participants/footer/index.css +14 -0
  801. package/lib/components/participants/footer/index.d.ts +11 -0
  802. package/lib/components/participants/footer/index.js +207 -0
  803. package/lib/components/participants/hover-perspective-attendee/index.d.ts +5 -0
  804. package/lib/components/participants/hover-perspective-attendee/index.js +22 -0
  805. package/lib/components/participants/index.css +88 -0
  806. package/lib/components/participants/index.d.ts +17 -0
  807. package/lib/components/participants/index.js +120 -0
  808. package/lib/components/participants/index.stories.d.ts +6 -0
  809. package/lib/components/participants/index.stories.js +66 -0
  810. package/lib/components/participants/participants-more/index.css +17 -0
  811. package/lib/components/participants/participants-more/index.d.ts +4 -0
  812. package/lib/components/participants/participants-more/index.js +194 -0
  813. package/lib/components/popover/index.css +17 -0
  814. package/lib/components/popover/index.d.ts +47 -0
  815. package/lib/components/popover/index.js +193 -0
  816. package/lib/components/popover/index.stories.d.ts +6 -0
  817. package/lib/components/popover/index.stories.js +46 -0
  818. package/lib/components/radio/index.css +76 -0
  819. package/lib/components/radio/index.d.ts +22 -0
  820. package/lib/components/radio/index.js +113 -0
  821. package/lib/components/radio/index.stories.d.ts +6 -0
  822. package/lib/components/radio/index.stories.js +39 -0
  823. package/lib/components/room-screen-share-state-bar/camera-state/index.d.ts +6 -0
  824. package/lib/components/room-screen-share-state-bar/camera-state/index.js +24 -0
  825. package/lib/components/room-screen-share-state-bar/device/index.css +27 -0
  826. package/lib/components/room-screen-share-state-bar/device/index.d.ts +24 -0
  827. package/lib/components/room-screen-share-state-bar/device/index.js +256 -0
  828. package/lib/components/room-screen-share-state-bar/index.css +30 -0
  829. package/lib/components/room-screen-share-state-bar/index.d.ts +2 -0
  830. package/lib/components/room-screen-share-state-bar/index.js +118 -0
  831. package/lib/components/room-screen-share-state-bar/index.stories.d.ts +6 -0
  832. package/lib/components/room-screen-share-state-bar/index.stories.js +22 -0
  833. package/lib/components/room-screen-share-state-bar/meeting-security/index.d.ts +3 -0
  834. package/lib/components/room-screen-share-state-bar/meeting-security/index.js +31 -0
  835. package/lib/components/room-screen-share-state-bar/microphone-state/index.d.ts +8 -0
  836. package/lib/components/room-screen-share-state-bar/microphone-state/index.js +50 -0
  837. package/lib/components/room-screen-share-state-bar/more/index.css +3 -0
  838. package/lib/components/room-screen-share-state-bar/more/index.d.ts +9 -0
  839. package/lib/components/room-screen-share-state-bar/more/index.js +118 -0
  840. package/lib/components/room-screen-share-state-bar/participants/index.d.ts +3 -0
  841. package/lib/components/room-screen-share-state-bar/participants/index.js +29 -0
  842. package/lib/components/room-screen-share-state-bar/screen-share-control-bar/data.d.ts +2 -0
  843. package/lib/components/room-screen-share-state-bar/screen-share-control-bar/data.js +106 -0
  844. package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.css +23 -0
  845. package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.d.ts +13 -0
  846. package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.js +46 -0
  847. package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.stories.d.ts +6 -0
  848. package/lib/components/room-screen-share-state-bar/screen-share-control-bar/index.stories.js +33 -0
  849. package/lib/components/room-screen-share-state-bar/share-action-nav/index.css +137 -0
  850. package/lib/components/room-screen-share-state-bar/share-action-nav/index.d.ts +9 -0
  851. package/lib/components/room-screen-share-state-bar/share-action-nav/index.js +71 -0
  852. package/lib/components/room-screen-share-state-bar/share-audio/index.css +66 -0
  853. package/lib/components/room-screen-share-state-bar/share-audio/index.d.ts +12 -0
  854. package/lib/components/room-screen-share-state-bar/share-audio/index.js +149 -0
  855. package/lib/components/room-screen-share-state-bar/share-screen-button/index.d.ts +5 -0
  856. package/lib/components/room-screen-share-state-bar/share-screen-button/index.js +28 -0
  857. package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.css +23 -0
  858. package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.d.ts +6 -0
  859. package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.js +35 -0
  860. package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.stories.d.ts +6 -0
  861. package/lib/components/room-screen-share-state-bar/share-screen-content-hint/index.stories.js +49 -0
  862. package/lib/components/room-screen-share-state-bar/share-state-bar/drag-icon.css +3 -0
  863. package/lib/components/room-screen-share-state-bar/share-state-bar/drag-icon.d.ts +2 -0
  864. package/lib/components/room-screen-share-state-bar/share-state-bar/drag-icon.js +31 -0
  865. package/lib/components/room-screen-share-state-bar/share-state-bar/index.css +39 -0
  866. package/lib/components/room-screen-share-state-bar/share-state-bar/index.d.ts +4 -0
  867. package/lib/components/room-screen-share-state-bar/share-state-bar/index.js +53 -0
  868. package/lib/components/room-screen-share-state-bar/share-state-bar/index.stories.d.ts +6 -0
  869. package/lib/components/room-screen-share-state-bar/share-state-bar/index.stories.js +22 -0
  870. package/lib/components/room-screen-share-state-bar/share-state-nav/index.css +55 -0
  871. package/lib/components/room-screen-share-state-bar/share-state-nav/index.d.ts +9 -0
  872. package/lib/components/room-screen-share-state-bar/share-state-nav/index.js +69 -0
  873. package/lib/components/room-screen-share-state-bar/transfer-position-icon/index.d.ts +11 -0
  874. package/lib/components/room-screen-share-state-bar/transfer-position-icon/index.js +46 -0
  875. package/lib/components/select/index.css +156 -0
  876. package/lib/components/select/index.d.ts +73 -0
  877. package/lib/components/select/index.js +125 -0
  878. package/lib/components/select/index.stories.d.ts +15 -0
  879. package/lib/components/select/index.stories.js +125 -0
  880. package/lib/components/select-phone/index.css +95 -0
  881. package/lib/components/select-phone/index.d.ts +59 -0
  882. package/lib/components/select-phone/index.js +102 -0
  883. package/lib/components/select-phone/index.stories.d.ts +15 -0
  884. package/lib/components/select-phone/index.stories.js +70 -0
  885. package/lib/components/share-selection/index.css +59 -0
  886. package/lib/components/share-selection/index.d.ts +11 -0
  887. package/lib/components/share-selection/index.js +104 -0
  888. package/lib/components/share-selection/index.stories.d.ts +6 -0
  889. package/lib/components/share-selection/index.stories.js +113 -0
  890. package/lib/components/slider/index.css +59 -0
  891. package/lib/components/slider/index.d.ts +50 -0
  892. package/lib/components/slider/index.js +167 -0
  893. package/lib/components/slider/index.stories.d.ts +6 -0
  894. package/lib/components/slider/index.stories.js +158 -0
  895. package/lib/components/state-bar/assets/fcr_grid_big.svg +3 -0
  896. package/lib/components/state-bar/assets/fcr_listontop_big.svg +3 -0
  897. package/lib/components/state-bar/assets/live-streaming.gif +0 -0
  898. package/lib/components/state-bar/assets/state-bar-logo.png +0 -0
  899. package/lib/components/state-bar/assets/step-gradient.svg +10 -0
  900. package/lib/components/state-bar/index.css +404 -0
  901. package/lib/components/state-bar/index.d.ts +1 -0
  902. package/lib/components/state-bar/index.js +37 -0
  903. package/lib/components/state-bar/index.stories.d.ts +6 -0
  904. package/lib/components/state-bar/index.stories.js +37 -0
  905. package/lib/components/state-bar/layout-config.d.ts +5 -0
  906. package/lib/components/state-bar/layout-config.js +131 -0
  907. package/lib/components/state-bar/meeting-time.d.ts +13 -0
  908. package/lib/components/state-bar/meeting-time.js +46 -0
  909. package/lib/components/state-bar/network-quality.d.ts +6 -0
  910. package/lib/components/state-bar/network-quality.js +27 -0
  911. package/lib/components/state-bar/view.d.ts +5 -0
  912. package/lib/components/state-bar/view.js +298 -0
  913. package/lib/components/switch/index.css +64 -0
  914. package/lib/components/switch/index.d.ts +30 -0
  915. package/lib/components/switch/index.js +49 -0
  916. package/lib/components/switch/index.stories.d.ts +6 -0
  917. package/lib/components/switch/index.stories.js +45 -0
  918. package/lib/components/tabs/index.css +88 -0
  919. package/lib/components/tabs/index.d.ts +13 -0
  920. package/lib/components/tabs/index.js +128 -0
  921. package/lib/components/tabs/index.stories.d.ts +5 -0
  922. package/lib/components/tabs/index.stories.js +103 -0
  923. package/lib/components/text-bubble/index.css +88 -0
  924. package/lib/components/text-bubble/index.d.ts +13 -0
  925. package/lib/components/text-bubble/index.js +61 -0
  926. package/lib/components/text-bubble/index.stories.d.ts +5 -0
  927. package/lib/components/text-bubble/index.stories.js +109 -0
  928. package/lib/components/textarea/helper.d.ts +2 -0
  929. package/lib/components/textarea/helper.js +63 -0
  930. package/lib/components/textarea/index.css +113 -0
  931. package/lib/components/textarea/index.d.ts +100 -0
  932. package/lib/components/textarea/index.js +195 -0
  933. package/lib/components/textarea/index.stories.d.ts +6 -0
  934. package/lib/components/textarea/index.stories.js +95 -0
  935. package/lib/components/toast/index.css +239 -0
  936. package/lib/components/toast/index.d.ts +123 -0
  937. package/lib/components/toast/index.js +352 -0
  938. package/lib/components/toast/index.stories.d.ts +6 -0
  939. package/lib/components/toast/index.stories.js +135 -0
  940. package/lib/components/tooltip/arrow.css +159 -0
  941. package/lib/components/tooltip/dialog.d.ts +18 -0
  942. package/lib/components/tooltip/dialog.js +83 -0
  943. package/lib/components/tooltip/guide.d.ts +26 -0
  944. package/lib/components/tooltip/guide.js +85 -0
  945. package/lib/components/tooltip/index.css +314 -0
  946. package/lib/components/tooltip/index.d.ts +90 -0
  947. package/lib/components/tooltip/index.js +110 -0
  948. package/lib/components/tooltip/index.stories.d.ts +14 -0
  949. package/lib/components/tooltip/index.stories.js +99 -0
  950. package/lib/components/tooltip/info.d.ts +6 -0
  951. package/lib/components/tooltip/info.js +59 -0
  952. package/lib/components/tooltips-button/index.d.ts +34 -0
  953. package/lib/components/tooltips-button/index.js +111 -0
  954. package/lib/components/tooltips-button/index.stories.d.ts +6 -0
  955. package/lib/components/tooltips-button/index.stories.js +57 -0
  956. package/lib/components/tooltips-button/tooltip-button.css +58 -0
  957. package/lib/components/volume-indicator/index.css +17 -0
  958. package/lib/components/volume-indicator/index.d.ts +20 -0
  959. package/lib/components/volume-indicator/index.js +33 -0
  960. package/lib/components/volume-indicator/index.stories.d.ts +6 -0
  961. package/lib/components/volume-indicator/index.stories.js +77 -0
  962. package/lib/components/window-header/index.css +66 -0
  963. package/lib/components/window-header/index.d.ts +19 -0
  964. package/lib/components/window-header/index.js +96 -0
  965. package/lib/components/window-header/index.stories.d.ts +6 -0
  966. package/lib/components/window-header/index.stories.js +51 -0
  967. package/lib/components/windows-control/index.css +34 -0
  968. package/lib/components/windows-control/index.d.ts +10 -0
  969. package/lib/components/windows-control/index.js +90 -0
  970. package/lib/components/windows-control/index.stories.d.ts +6 -0
  971. package/lib/components/windows-control/index.stories.js +41 -0
  972. package/lib/components/zone-phone/index.css +147 -0
  973. package/lib/components/zone-phone/index.d.ts +96 -0
  974. package/lib/components/zone-phone/index.js +197 -0
  975. package/lib/components/zone-phone/index.stories.d.ts +21 -0
  976. package/lib/components/zone-phone/index.stories.js +76 -0
  977. package/lib/global.d.ts +15 -0
  978. package/lib/hooks/use-click-anywhere.d.ts +2 -0
  979. package/lib/hooks/use-click-anywhere.js +18 -0
  980. package/lib/i18n/index.d.ts +9 -0
  981. package/lib/i18n/index.js +116 -0
  982. package/lib/theme/context.d.ts +21 -0
  983. package/lib/theme/context.js +11 -0
  984. package/lib/theme/fcr-ui-config.d.ts +357 -0
  985. package/lib/theme/fcr-ui-config.js +373 -0
  986. package/lib/theme/generate.d.ts +4 -0
  987. package/lib/theme/generate.js +54 -0
  988. package/lib/utilities/click-anywhere.d.ts +1 -0
  989. package/lib/utilities/click-anywhere.js +39 -0
  990. package/lib/utilities/color-palette.d.ts +1 -0
  991. package/lib/utilities/color-palette.js +93 -0
  992. package/lib/utilities/global.css +686 -0
  993. package/lib/utilities/hooks/animations.d.ts +14 -0
  994. package/lib/utilities/hooks/animations.js +76 -0
  995. package/lib/utilities/hooks/use-click-anywhere.d.ts +2 -0
  996. package/lib/utilities/hooks/use-click-anywhere.js +18 -0
  997. package/lib/utilities/use-namespace.d.ts +15 -0
  998. package/lib/utilities/use-namespace.js +66 -0
  999. package/package.json +64 -0
  1000. package/patches/rc-util+5.39.1.patch +60 -0
@@ -0,0 +1,96 @@
1
+ import { FC, ChangeEvent } from 'react';
2
+ import './index.css';
3
+ export type SelectStyleType = 'white';
4
+ export type SelectProps = {
5
+ /**
6
+ * 下拉框的提示符
7
+ */
8
+ /** @en
9
+ * Placeholder of the select
10
+ */
11
+ placeholder?: string;
12
+ /**
13
+ * 区域下拉框选项
14
+ */
15
+ /** @en
16
+ * The select options
17
+ */
18
+ zoneOptions?: {
19
+ text: string;
20
+ value: string;
21
+ }[];
22
+ /**
23
+ * 区域下拉框选项
24
+ */
25
+ /** @en
26
+ * The select options
27
+ */
28
+ phoneOptions?: {
29
+ text: string;
30
+ value: string;
31
+ }[];
32
+ /**
33
+ * 输入框的尺寸:
34
+ * small - 小
35
+ * medium - 中等(default)
36
+ * large - 大
37
+ */
38
+ /** @en
39
+ * Size of the select:
40
+ * small
41
+ * medium
42
+ * large
43
+ */
44
+ size?: 'large' | 'medium' | 'small';
45
+ /**
46
+ * 下拉框样式类型,可选值为 'white'
47
+ */
48
+ /** @en
49
+ * Set the style type of select, can be set to 'white'.
50
+ */
51
+ styleType?: SelectStyleType;
52
+ /** 选择值变化
53
+ * Change event of the input's value
54
+ *
55
+ */
56
+ onChange?: (zone: string, phone: string) => void;
57
+ /**
58
+ *
59
+ *输入框失去焦点变化
60
+ */
61
+ onInputBlur?: (e: ChangeEvent<HTMLInputElement>) => void;
62
+ /**
63
+ *
64
+ *输入框值变化
65
+ */
66
+ onInputChange?: (e: ChangeEvent<HTMLInputElement>) => void;
67
+ /**
68
+ * 下拉框是否禁用
69
+ */
70
+ /** @en
71
+ * Whether the select is disabled
72
+ */
73
+ disabled?: boolean;
74
+ /**
75
+ * zoneDefault
76
+ */
77
+ /** @en
78
+ * Whether the select is disabled
79
+ */
80
+ zoneDefault?: string;
81
+ /**
82
+ * phoneDefault
83
+ */
84
+ /** @en
85
+ * Whether the select is disabled
86
+ */
87
+ phoneDefault?: string;
88
+ /**
89
+ * maxlength
90
+ */
91
+ /** @en
92
+ * phone input maxlength
93
+ */
94
+ maxlength?: string;
95
+ };
96
+ export declare const FcrZonePhone: FC<SelectProps>;
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.object.define-property.js");
5
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.string.iterator.js");
8
+ require("core-js/modules/es.weak-map.js");
9
+ require("core-js/modules/web.dom-collections.iterator.js");
10
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
11
+ var _typeof = require("@babel/runtime/helpers/typeof");
12
+ Object.defineProperty(exports, "__esModule", {
13
+ value: true
14
+ });
15
+ exports.FcrZonePhone = void 0;
16
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
17
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
18
+ require("core-js/modules/es.array.map.js");
19
+ require("core-js/modules/es.number.constructor.js");
20
+ require("core-js/modules/es.regexp.exec.js");
21
+ require("core-js/modules/es.string.replace.js");
22
+ require("core-js/modules/es.string.trim.js");
23
+ var _classnames = _interopRequireDefault(require("classnames"));
24
+ var _react = _interopRequireWildcard(require("react"));
25
+ require("./index.css");
26
+ var _icon = require("../icon");
27
+ var _type = require("../icon/type");
28
+ var _useClickAnywhere = require("../../utilities/hooks/use-click-anywhere");
29
+ var _jsxRuntime = require("react/jsx-runtime");
30
+ 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); }
31
+ 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; }
32
+ var FcrZonePhone = exports.FcrZonePhone = function FcrZonePhone(_ref) {
33
+ var placeholder = _ref.placeholder,
34
+ zoneOptions = _ref.zoneOptions,
35
+ phoneOptions = _ref.phoneOptions,
36
+ zoneDefault = _ref.zoneDefault,
37
+ phoneDefault = _ref.phoneDefault,
38
+ _ref$size = _ref.size,
39
+ size = _ref$size === void 0 ? 'small' : _ref$size,
40
+ styleType = _ref.styleType,
41
+ _ref$onInputBlur = _ref.onInputBlur,
42
+ onInputBlur = _ref$onInputBlur === void 0 ? function () {} : _ref$onInputBlur,
43
+ _ref$onInputChange = _ref.onInputChange,
44
+ onInputChange = _ref$onInputChange === void 0 ? function () {} : _ref$onInputChange,
45
+ _ref$onChange = _ref.onChange,
46
+ onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange,
47
+ disabled = _ref.disabled,
48
+ _ref$maxlength = _ref.maxlength,
49
+ maxlength = _ref$maxlength === void 0 ? 11 : _ref$maxlength;
50
+ var formatPhone = function formatPhone(val) {
51
+ if (!val) return '';
52
+ return val.replace(/\s/g, '').replace(/[^\d]/g, '').replace(/(\d{3})(\d{0,4})(\d{0,4})/, '$1 $2 $3').trim();
53
+ };
54
+ var restorePhone = function restorePhone(val) {
55
+ return val.replace(/\s/g, '');
56
+ };
57
+ var _useState = (0, _react.useState)(false),
58
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
59
+ zoneFocused = _useState2[0],
60
+ setZoneFocused = _useState2[1];
61
+ var _useState3 = (0, _react.useState)(false),
62
+ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
63
+ inputIconFocused = _useState4[0],
64
+ setInputIconFocused = _useState4[1];
65
+ var _useState5 = (0, _react.useState)(zoneDefault || ''),
66
+ _useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
67
+ zoneVal = _useState6[0],
68
+ setZoneVal = _useState6[1];
69
+ var _useState7 = (0, _react.useState)(formatPhone(phoneDefault || '')),
70
+ _useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
71
+ phoneVal = _useState8[0],
72
+ setPhoneVal = _useState8[1];
73
+ var ref = (0, _useClickAnywhere.useClickAnywhere)(function () {
74
+ setInputIconFocused(false);
75
+ setZoneFocused(false);
76
+ });
77
+ var wrapperCls = (0, _classnames["default"])('fcr-select-wrapper', {
78
+ 'fcr-select-wrapper-l': size === 'large',
79
+ 'fcr-select-wrapper-m': size === 'medium',
80
+ 'fcr-select-wrapper-s': size === 'small'
81
+ });
82
+ var cls = (0, _classnames["default"])('fcr-select-phone', (0, _defineProperty2["default"])({
83
+ 'fcr-select-phone--disabled': disabled,
84
+ 'fcr-select-phone-l': size === 'large',
85
+ 'fcr-select-phone-m': size === 'medium',
86
+ 'fcr-select-phone-s': size === 'small'
87
+ }, "fcr-select-phone-".concat(styleType), !!styleType));
88
+ var zoneCls = (0, _classnames["default"])('fcr-select-phone-zone', {
89
+ 'fcr-select-phone-zone--focused': zoneFocused
90
+ });
91
+ var optionsCls = (0, _classnames["default"])('fcr-select-phone__options', {
92
+ 'fcr-select-phone__options--invisible': !zoneFocused && !inputIconFocused
93
+ });
94
+ var inputCls = (0, _classnames["default"])('fcr-select-phone-input', {
95
+ 'fcr-select-phone-input--focused': inputIconFocused
96
+ });
97
+ var optionValCls = (0, _classnames["default"])({
98
+ 'fcr-select-phone__option-phone': inputIconFocused
99
+ });
100
+ var renderOptions = (0, _react.useMemo)(function () {
101
+ return zoneFocused || inputIconFocused ? zoneFocused ? zoneOptions : phoneOptions : [];
102
+ }, [zoneOptions, phoneOptions, zoneFocused, inputIconFocused]);
103
+ var handleZoneClick = disabled ? function () {} : function () {
104
+ setZoneFocused(!zoneFocused);
105
+ setInputIconFocused(false);
106
+ };
107
+ var handleInputFocus = disabled ? function () {} : function () {
108
+ setZoneFocused(false);
109
+ setInputIconFocused(false);
110
+ };
111
+ var handleInputIconClick = disabled ? function () {} : function () {
112
+ setInputIconFocused(!inputIconFocused);
113
+ setZoneFocused(false);
114
+ };
115
+ var handleInputChange = function handleInputChange(e) {
116
+ var inputval = e.target.value;
117
+ if (maxlength && inputval.replace(/\s+/g, '').length > Number(maxlength)) return;
118
+ setPhoneVal(formatPhone(inputval));
119
+ onInputChange(e);
120
+ onChange(zoneVal, restorePhone(inputval));
121
+ };
122
+ var handleBlur = function handleBlur(e) {
123
+ onInputBlur(e);
124
+ };
125
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
126
+ className: wrapperCls,
127
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
128
+ className: cls,
129
+ ref: ref,
130
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
131
+ className: 'fcr-select-phone-top',
132
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
133
+ className: zoneCls,
134
+ onClick: handleZoneClick,
135
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
136
+ children: zoneVal
137
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
138
+ className: "fcr-select-phone-zone__icon",
139
+ colors: {
140
+ iconPrimary: zoneFocused ? 'var(--fcr_ui_scene_ramp_brand6)' : 'var(--fcr_ui_scene_icontext1)'
141
+ },
142
+ type: _type.FcrIconType.FCR_DROPDOWN,
143
+ size: 24
144
+ })]
145
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
146
+ className: inputCls,
147
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
148
+ value: phoneVal,
149
+ placeholder: placeholder,
150
+ onBlur: handleBlur,
151
+ onChange: handleInputChange,
152
+ onFocus: handleInputFocus
153
+ }), phoneOptions && phoneOptions.length > 1 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
154
+ onClick: handleInputIconClick,
155
+ className: "fcr-select-phone-input__icon",
156
+ colors: {
157
+ iconPrimary: inputIconFocused ? 'var(--fcr_ui_scene_ramp_brand6)' : 'var(--fcr_ui_scene_icontext1)'
158
+ },
159
+ type: _type.FcrIconType.FCR_DROPDOWN,
160
+ size: 24
161
+ }) : null]
162
+ })]
163
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("ul", {
164
+ className: optionsCls,
165
+ children: renderOptions === null || renderOptions === void 0 ? void 0 : renderOptions.map(function (_ref2) {
166
+ var text = _ref2.text,
167
+ value = _ref2.value;
168
+ var optionCls = (0, _classnames["default"])('fcr-select-phone__option', {
169
+ 'fcr-select-phone__option--active': zoneFocused ? zoneVal === value : phoneVal === formatPhone(value)
170
+ });
171
+ var handleClick = function handleClick() {
172
+ if (zoneFocused && zoneVal !== value) {
173
+ setZoneVal(value);
174
+ onChange(value, phoneVal);
175
+ setZoneFocused(false);
176
+ } else if (inputIconFocused && phoneVal !== value) {
177
+ setPhoneVal(formatPhone(value));
178
+ onChange(zoneVal, value);
179
+ setInputIconFocused(false);
180
+ }
181
+ };
182
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
183
+ className: optionCls,
184
+ onClick: handleClick,
185
+ children: [zoneFocused && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
186
+ className: "fcr-select-phone__option-zone",
187
+ children: text
188
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
189
+ className: optionValCls,
190
+ children: inputIconFocused ? formatPhone(value) : value
191
+ })]
192
+ }, value);
193
+ })
194
+ })]
195
+ })
196
+ });
197
+ };
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { SelectProps } from '.';
3
+ declare const meta: {
4
+ title: string;
5
+ component: React.FC<SelectProps>;
6
+ args: {
7
+ zoneOptions: {
8
+ text: string;
9
+ value: string;
10
+ }[];
11
+ phoneOptions: {
12
+ text: string;
13
+ value: string;
14
+ }[];
15
+ placeholder: string;
16
+ zoneDefault: string;
17
+ phoneDefault: string;
18
+ };
19
+ };
20
+ export declare const Docs: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
21
+ export default meta;
@@ -0,0 +1,76 @@
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/FcrZonePhone',
35
+ component: _.FcrZonePhone,
36
+ args: {
37
+ zoneOptions: [{
38
+ text: '中国',
39
+ value: '+86'
40
+ }, {
41
+ text: '美国',
42
+ value: '+1'
43
+ }],
44
+ phoneOptions: [{
45
+ text: '+86',
46
+ value: '13567897654'
47
+ }, {
48
+ text: '+86',
49
+ value: '13567894554'
50
+ }],
51
+ placeholder: 'Please',
52
+ zoneDefault: '+86',
53
+ phoneDefault: '134324234'
54
+ }
55
+ };
56
+ var Docs = exports.Docs = function Docs(props) {
57
+ var _useState = (0, _react.useState)(''),
58
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
59
+ value = _useState2[0],
60
+ setValue = _useState2[1];
61
+ var handleChange = function handleChange(value) {
62
+ setValue(value);
63
+ };
64
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
65
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
66
+ style: {
67
+ width: 306,
68
+ marginBottom: 50
69
+ },
70
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FcrZonePhone, _objectSpread(_objectSpread({}, props), {}, {
71
+ onChange: handleChange
72
+ }))
73
+ })
74
+ });
75
+ };
76
+ var _default = exports["default"] = meta;
@@ -0,0 +1,15 @@
1
+ declare type I18nResouceTypes = Record<string, any>;
2
+
3
+ interface Window {
4
+ $$agora_language: string;
5
+ }
6
+
7
+ declare module '*.css';
8
+ declare module '*.svga';
9
+ declare module '*.svg';
10
+ declare module '*.mp3';
11
+ declare module '*.mp4';
12
+ declare module '*.png';
13
+ declare module '*.gif';
14
+ declare module '*.jpg';
15
+
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const useClickAnywhere: (cb: () => void) => import("react").RefObject<HTMLDivElement>;
@@ -0,0 +1,18 @@
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.useClickAnywhere = void 0;
8
+ var _react = require("react");
9
+ var _clickAnywhere = require("../utilities/click-anywhere");
10
+ var useClickAnywhere = exports.useClickAnywhere = function useClickAnywhere(cb) {
11
+ var ref = (0, _react.useRef)(null);
12
+ (0, _react.useEffect)(function () {
13
+ if (ref.current) {
14
+ return (0, _clickAnywhere.clickAnywhere)(ref.current, cb);
15
+ }
16
+ }, []);
17
+ return ref;
18
+ };
@@ -0,0 +1,9 @@
1
+ export type GenerateI18nKey<Obj> = {
2
+ [Key in keyof Obj]: Key extends string ? Obj[Key] extends Record<string, any> ? Key | `${Key}.${GenerateI18nKey<Obj[Key]>}` : Key : never;
3
+ }[keyof Obj];
4
+ export declare const useI18n: () => (text: GenerateI18nKey<I18nResouceTypes>, options?: any) => string;
5
+ export declare const addResourceBundle: (lang: string, resourceBundle: any, namespace?: string) => Promise<void>;
6
+ export declare const changeLanguage: (lang: string) => Promise<void>;
7
+ export declare const getLanguage: () => string;
8
+ export declare const transI18n: (text: GenerateI18nKey<I18nResouceTypes>, options?: any) => string;
9
+ export declare const getI18n: () => import("i18next").i18n;
@@ -0,0 +1,116 @@
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.useI18n = exports.transI18n = exports.getLanguage = exports.getI18n = exports.changeLanguage = exports.addResourceBundle = void 0;
9
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
10
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
11
+ require("core-js/modules/es.array.for-each.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.regexp.exec.js");
15
+ require("core-js/modules/es.string.replace.js");
16
+ require("core-js/modules/web.dom-collections.for-each.js");
17
+ var _i18next = _interopRequireDefault(require("i18next"));
18
+ var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
19
+ var _reactI18next = require("react-i18next");
20
+ var _i18n = _i18next["default"];
21
+ var _i18nInitPromise = null;
22
+ var useI18n = exports.useI18n = function useI18n() {
23
+ var _useTranslation = (0, _reactI18next.useTranslation)(),
24
+ translate = _useTranslation.t,
25
+ i18n = _useTranslation.i18n;
26
+ return function (text, options) {
27
+ if (!i18n.isInitialized) return '';
28
+ var content = translate(text);
29
+ if (!(0, _isEmpty["default"])(options)) {
30
+ Object.keys(options).forEach(function (k) {
31
+ content = content.replace("{".concat(k, "}"), options[k] || '');
32
+ });
33
+ }
34
+ return content;
35
+ };
36
+ };
37
+ var initI18n = function initI18n() {
38
+ if (!_i18nInitPromise) {
39
+ // passes i18n down to react-i18next
40
+ _i18nInitPromise = _i18n.use(_reactI18next.initReactI18next).init({
41
+ lng: getLanguage(),
42
+ initImmediate: false,
43
+ // keySeparator: false, // we do not use keys in form messages.welcome
44
+ interpolation: {
45
+ escapeValue: false // react already safes from xss
46
+ }
47
+ });
48
+ }
49
+ return _i18nInitPromise;
50
+ };
51
+ var addResourceBundle = exports.addResourceBundle = /*#__PURE__*/function () {
52
+ var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(lang, resourceBundle) {
53
+ var namespace,
54
+ _args = arguments;
55
+ return _regenerator["default"].wrap(function _callee$(_context) {
56
+ while (1) switch (_context.prev = _context.next) {
57
+ case 0:
58
+ namespace = _args.length > 2 && _args[2] !== undefined ? _args[2] : 'translation';
59
+ if (_i18n.isInitialized) {
60
+ _context.next = 4;
61
+ break;
62
+ }
63
+ _context.next = 4;
64
+ return initI18n();
65
+ case 4:
66
+ _i18n.addResourceBundle(lang, namespace, resourceBundle, true, true);
67
+ case 5:
68
+ case "end":
69
+ return _context.stop();
70
+ }
71
+ }, _callee);
72
+ }));
73
+ return function addResourceBundle(_x, _x2) {
74
+ return _ref.apply(this, arguments);
75
+ };
76
+ }();
77
+ var changeLanguage = exports.changeLanguage = /*#__PURE__*/function () {
78
+ var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(lang) {
79
+ return _regenerator["default"].wrap(function _callee2$(_context2) {
80
+ while (1) switch (_context2.prev = _context2.next) {
81
+ case 0:
82
+ window.$$agora_language = lang;
83
+ if (_i18n.isInitialized) {
84
+ _context2.next = 4;
85
+ break;
86
+ }
87
+ _context2.next = 4;
88
+ return initI18n();
89
+ case 4:
90
+ _context2.next = 6;
91
+ return _i18n.changeLanguage(lang);
92
+ case 6:
93
+ case "end":
94
+ return _context2.stop();
95
+ }
96
+ }, _callee2);
97
+ }));
98
+ return function changeLanguage(_x3) {
99
+ return _ref2.apply(this, arguments);
100
+ };
101
+ }();
102
+ var getLanguage = exports.getLanguage = function getLanguage() {
103
+ return window.$$agora_language || 'en';
104
+ };
105
+ var transI18n = exports.transI18n = function transI18n(text, options) {
106
+ var content = _i18n.t(text);
107
+ if (!(0, _isEmpty["default"])(options)) {
108
+ Object.keys(options).forEach(function (k) {
109
+ content = content.replace("{".concat(k, "}"), options[k] || '');
110
+ });
111
+ }
112
+ return content;
113
+ };
114
+ var getI18n = exports.getI18n = function getI18n() {
115
+ return _i18n;
116
+ };
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { FcrUIConfig, FcrUIDarkColors, FcrUILightColors, FcrUIRadius } from './fcr-ui-config';
3
+ import { ThemeMode } from './generate';
4
+ export declare const themeContext: import("react").Context<{
5
+ theme: ThemeMode;
6
+ config: FcrUIConfig;
7
+ getCurrentThemeColors: () => FcrUILightColors | FcrUIDarkColors;
8
+ getRadius: () => FcrUIRadius;
9
+ }>;
10
+ declare const Provider: import("react").Provider<{
11
+ theme: ThemeMode;
12
+ config: FcrUIConfig;
13
+ getCurrentThemeColors: () => FcrUILightColors | FcrUIDarkColors;
14
+ getRadius: () => FcrUIRadius;
15
+ }>, Consumer: import("react").Consumer<{
16
+ theme: ThemeMode;
17
+ config: FcrUIConfig;
18
+ getCurrentThemeColors: () => FcrUILightColors | FcrUIDarkColors;
19
+ getRadius: () => FcrUIRadius;
20
+ }>;
21
+ export { Provider as ThemeProvider, Consumer as ThemeConsumer };
@@ -0,0 +1,11 @@
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.themeContext = exports.ThemeProvider = exports.ThemeConsumer = void 0;
8
+ var _react = require("react");
9
+ var themeContext = exports.themeContext = /*#__PURE__*/(0, _react.createContext)({});
10
+ var Provider = exports.ThemeProvider = themeContext.Provider,
11
+ Consumer = exports.ThemeConsumer = themeContext.Consumer;