agora-appbuilder-core 4.1.22-beta.2 → 4.1.22-beta.3

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 (43) hide show
  1. package/package.json +2 -2
  2. package/template/.eslintrc.js +20 -0
  3. package/template/.prettierrc.js +18 -0
  4. package/template/.watchmanconfig +1 -0
  5. package/template/agora-rn-uikit/src/Views/MaxVideoView.tsx +2 -0
  6. package/template/agora-rn-uikit/src/Views/MinVideoView.tsx +12 -2
  7. package/template/bridge/rtc/webNg/RtcEngine.ts +639 -251
  8. package/template/bridge/rtc/webNg/RtcSurfaceView.tsx +203 -16
  9. package/template/bridge/rtc/webNg/__tests__/screenshareLifecycle.test.ts +358 -0
  10. package/template/bridge/rtc/webNg/__tests__/screenshareMediaHealth.test.ts +49 -0
  11. package/template/bridge/rtc/webNg/screenshareMediaHealth.ts +49 -0
  12. package/template/bridge/rtm/web/index.ts +22 -31
  13. package/template/config.json +101 -0
  14. package/template/customization-api/atoms.ts +0 -2
  15. package/template/customization-api/customEvents.ts +1 -4
  16. package/template/customization-api/index.ts +0 -1
  17. package/template/customization-api/typeDefinition.ts +1 -6
  18. package/template/defaultConfig.js +2 -2
  19. package/template/src/components/Controls.tsx +12 -6
  20. package/template/src/components/CustomSidePanel.tsx +13 -13
  21. package/template/src/components/RTMConfigure.tsx +0 -14
  22. package/template/src/components/participants/UserActionMenuOptions.tsx +1 -28
  23. package/template/src/logger/transports/__tests__/agora-transport.test.ts +48 -0
  24. package/template/src/logger/transports/agora-transport.ts +18 -6
  25. package/template/src/pages/Create.tsx +19 -31
  26. package/template/src/pages/video-call/ActionSheet.native.tsx +0 -2
  27. package/template/src/pages/video-call/ActionSheet.tsx +0 -2
  28. package/template/src/pages/video-call/ActionSheetHandle.tsx +0 -1
  29. package/template/src/pages/video-call/SidePanelHeader.tsx +1 -3
  30. package/template/src/pages/video-call/VideoCallScreen.tsx +0 -3
  31. package/template/src/pages/video-call/VideoRenderer.tsx +0 -4
  32. package/template/src/rtm-events-api/Events.ts +3 -1
  33. package/template/src/rtm-events-api/__tests__/Events.test.ts +55 -0
  34. package/template/src/subComponents/SidePanelHeader.tsx +2 -16
  35. package/template/src/subComponents/screenshare/ScreenshareButton.tsx +38 -4
  36. package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +280 -34
  37. package/template/src/subComponents/screenshare/__tests__/screenshareJourney.test.ts +10 -0
  38. package/template/src/subComponents/screenshare/__tests__/screenshareOperation.test.ts +31 -0
  39. package/template/src/subComponents/screenshare/screenshareJourney.ts +6 -0
  40. package/template/src/subComponents/screenshare/screenshareOperation.ts +21 -0
  41. package/template/src/subComponents/screenshare/useScreenshare.tsx +8 -0
  42. package/template/theme.json +91 -0
  43. package/template/customization-api/ai-agent.ts +0 -4
@@ -0,0 +1,91 @@
1
+ {
2
+ "layoutProps": {"topPinned": false},
3
+ "primaryButton":{
4
+ "width": "100%",
5
+ "backgroundColor": "#00AEFC",
6
+ "borderRadius": 100,
7
+ "maxWidth": 450,
8
+ "minWidth": 200,
9
+ "minHeight": 45
10
+ },
11
+ "primaryButtonText": {
12
+ "width": "100%",
13
+ "height": 45,
14
+ "lineHeight": 45,
15
+ "fontSize": 16,
16
+ "textAlign": "center",
17
+ "textAlignVertical": "center",
18
+ "color": "#fff"
19
+ },
20
+ "secondaryBtn": {
21
+ "width": "100%",
22
+ "borderColor": "#00AEFC",
23
+ "borderWidth": 1,
24
+ "borderRadius": 100,
25
+ "maxWidth": 450,
26
+ "minWidth": 200,
27
+ "minHeight": 45
28
+ },
29
+ "secondaryButtonText": {
30
+ "width": "100%",
31
+ "height": 45,
32
+ "lineHeight": 45,
33
+ "fontSize": 16,
34
+ "textAlign": "center",
35
+ "fontWeight": "500",
36
+ "textAlignVertical": "center",
37
+ "color": "#000"
38
+ },
39
+ "textInput": {
40
+ "width": "100%",
41
+ "paddingLeft": 8,
42
+ "paddingRight": 8,
43
+ "borderColor": "#00AEFC",
44
+ "borderRadius": 100,
45
+ "borderWidth": 1,
46
+ "textAlign": "center",
47
+ "color": "#333333",
48
+ "fontSize": 16,
49
+ "maxWidth": 450,
50
+ "minHeight": 45
51
+ },
52
+ "videoView": {
53
+ "flex": 12,
54
+ "backgroundColor": "#fff",
55
+ "flexDirection": "row"
56
+ },
57
+ "navHolder": {
58
+ "width": "100%",
59
+ "height": "6%",
60
+ "minHeight": 40,
61
+ "backgroundColor": "#f1f4f9",
62
+ "flexDirection": "row",
63
+ "alignItems": "center",
64
+ "justifyContent": "flex-end"
65
+ },
66
+ "controlsHolder": {
67
+ "minHeight": 80,
68
+ "maxHeight": "8%",
69
+ "backgroundColor": "#f1f4f9",
70
+ "flexDirection": "row",
71
+ "justifyContent": "space-evenly",
72
+ "position": "relative",
73
+ "margin": 0,
74
+ "bottom": 0
75
+ },
76
+ "localButton": {
77
+ "backgroundColor": "#fff",
78
+ "borderRadius": 23,
79
+ "width": 40,
80
+ "height": 40,
81
+ "display": "flex",
82
+ "alignSelf": "center",
83
+ "alignItems": "center",
84
+ "justifyContent": "center"
85
+ },
86
+ "buttonIcon": {
87
+ "width": "70%",
88
+ "height": "70%",
89
+ "tintColor": "#00AEFC"
90
+ }
91
+ }
@@ -1,4 +0,0 @@
1
- export {
2
- default as AIAgentAudioVisualizer,
3
- DisconnectedView as AIAgentDisconnectedView,
4
- } from '../src/ai-agent/components/AudioVisualizer';