agora-appbuilder-core 4.1.8-beta.7 → 4.1.8-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/defaultConfig.js +2 -2
- package/template/package.json +1 -1
- package/template/src/components/common/data-table.tsx +24 -15
- package/template/src/components/recordings/RecordingItemRow.tsx +3 -3
- package/template/src/components/recordings/RecordingsDateTable.tsx +5 -1
package/package.json
CHANGED
|
@@ -77,8 +77,8 @@ const DefaultConfig = {
|
|
|
77
77
|
CHAT_ORG_NAME: '',
|
|
78
78
|
CHAT_APP_NAME: '',
|
|
79
79
|
CHAT_URL: '',
|
|
80
|
-
CLI_VERSION: '3.1.8-beta.
|
|
81
|
-
CORE_VERSION: '4.1.8-beta.
|
|
80
|
+
CLI_VERSION: '3.1.8-beta.8',
|
|
81
|
+
CORE_VERSION: '4.1.8-beta.8',
|
|
82
82
|
DISABLE_LANDSCAPE_MODE: false,
|
|
83
83
|
STT_AUTO_START: false,
|
|
84
84
|
CLOUD_RECORDING_AUTO_START: false,
|
package/template/package.json
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"agora-extension-beauty-effect": "^1.0.2-beta",
|
|
65
65
|
"agora-extension-virtual-background": "^1.1.3",
|
|
66
66
|
"agora-react-native-rtm": "1.5.1",
|
|
67
|
-
"agora-rtc-sdk-ng": "4.23.
|
|
67
|
+
"agora-rtc-sdk-ng": "4.23.4",
|
|
68
68
|
"agora-rtm-sdk": "1.5.1",
|
|
69
69
|
"buffer": "^6.0.3",
|
|
70
70
|
"electron-log": "4.3.5",
|
|
@@ -19,6 +19,7 @@ interface TableHeaderProps {
|
|
|
19
19
|
rowStyle?: ViewStyle;
|
|
20
20
|
cellStyle?: ViewStyle;
|
|
21
21
|
firstCellStyle?: ViewStyle;
|
|
22
|
+
lastCellStyle?: ViewStyle;
|
|
22
23
|
textStyle?: TextStyle;
|
|
23
24
|
}
|
|
24
25
|
|
|
@@ -28,22 +29,27 @@ const TableHeader: React.FC<TableHeaderProps> = ({
|
|
|
28
29
|
rowStyle,
|
|
29
30
|
cellStyle,
|
|
30
31
|
firstCellStyle,
|
|
32
|
+
lastCellStyle,
|
|
31
33
|
textStyle,
|
|
32
34
|
}) => (
|
|
33
35
|
<View style={[style.thead, containerStyle]}>
|
|
34
36
|
<View style={[style.throw, rowStyle]}>
|
|
35
|
-
{columns.map((col, index) =>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
{columns.map((col, index) => {
|
|
38
|
+
const isFirst = index === 0;
|
|
39
|
+
const isLast = index === (columns.length > 1 ? columns.length - 1 : 0);
|
|
40
|
+
return (
|
|
41
|
+
<View
|
|
42
|
+
key={col}
|
|
43
|
+
style={[
|
|
44
|
+
style.th,
|
|
45
|
+
cellStyle,
|
|
46
|
+
isFirst && firstCellStyle,
|
|
47
|
+
isLast && lastCellStyle,
|
|
48
|
+
]}>
|
|
49
|
+
<Text style={[style.thText, textStyle]}>{col}</Text>
|
|
50
|
+
</View>
|
|
51
|
+
);
|
|
52
|
+
})}
|
|
47
53
|
</View>
|
|
48
54
|
</View>
|
|
49
55
|
);
|
|
@@ -222,7 +228,7 @@ export const style = StyleSheet.create({
|
|
|
222
228
|
flex: 1,
|
|
223
229
|
alignSelf: 'stretch',
|
|
224
230
|
justifyContent: 'center',
|
|
225
|
-
paddingHorizontal: 12,
|
|
231
|
+
// paddingHorizontal: 12,
|
|
226
232
|
},
|
|
227
233
|
thText: {
|
|
228
234
|
color: $config.FONT_COLOR + ThemeConfig.EmphasisPlus.medium,
|
|
@@ -389,8 +395,8 @@ export const style = StyleSheet.create({
|
|
|
389
395
|
flexShrink: 0,
|
|
390
396
|
alignItems: 'flex-start',
|
|
391
397
|
justifyContent: 'center',
|
|
392
|
-
minWidth:
|
|
393
|
-
paddingRight: 50 + 12,
|
|
398
|
+
minWidth: 52,
|
|
399
|
+
// paddingRight: 50 + 12,
|
|
394
400
|
},
|
|
395
401
|
thIconCell: {
|
|
396
402
|
flex: 0,
|
|
@@ -400,4 +406,7 @@ export const style = StyleSheet.create({
|
|
|
400
406
|
minWidth: 50,
|
|
401
407
|
paddingHorizontal: 12,
|
|
402
408
|
},
|
|
409
|
+
alignCellToRight: {
|
|
410
|
+
alignItems: 'flex-end',
|
|
411
|
+
},
|
|
403
412
|
});
|
|
@@ -33,7 +33,7 @@ export default function RecordingItemRow({
|
|
|
33
33
|
error,
|
|
34
34
|
data: {stts = []},
|
|
35
35
|
} = sttRecState;
|
|
36
|
-
|
|
36
|
+
|
|
37
37
|
useEffect(() => {
|
|
38
38
|
if (expanded) {
|
|
39
39
|
if (item.id) {
|
|
@@ -223,7 +223,7 @@ export default function RecordingItemRow({
|
|
|
223
223
|
{expanded && (
|
|
224
224
|
<View style={expanedStyles.expandedContainer}>
|
|
225
225
|
<View>
|
|
226
|
-
<Text style={expanedStyles.expandedHeaderText}>
|
|
226
|
+
<Text style={expanedStyles.expandedHeaderText}>Text-tracks</Text>
|
|
227
227
|
</View>
|
|
228
228
|
<View style={expanedStyles.expandedHeaderBody}>
|
|
229
229
|
{status === 'idle' || status === 'pending' ? (
|
|
@@ -235,7 +235,7 @@ export default function RecordingItemRow({
|
|
|
235
235
|
</Text>
|
|
236
236
|
) : status === 'resolved' && stts?.length === 0 ? (
|
|
237
237
|
<Text style={style.ttime}>
|
|
238
|
-
There are no
|
|
238
|
+
There are no text-tracks's for this recording
|
|
239
239
|
</Text>
|
|
240
240
|
) : (
|
|
241
241
|
<>
|
|
@@ -113,7 +113,11 @@ function RecordingsDateTable(props) {
|
|
|
113
113
|
|
|
114
114
|
return (
|
|
115
115
|
<View style={style.ttable}>
|
|
116
|
-
<TableHeader
|
|
116
|
+
<TableHeader
|
|
117
|
+
columns={headers}
|
|
118
|
+
firstCellStyle={style.thIconCell}
|
|
119
|
+
lastCellStyle={style.alignCellToRight}
|
|
120
|
+
/>
|
|
117
121
|
<TableBody
|
|
118
122
|
status={state.status}
|
|
119
123
|
items={state.data.recordings}
|