@100mslive/react-native-room-kit 0.0.2 → 0.0.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.
- package/lib/commonjs/HMSRoomSetup.js +1 -1
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/AnswerPhone/assets/answer-phone.png +0 -0
- package/lib/commonjs/Icons/AnswerPhone/assets/answer-phone@2x.png +0 -0
- package/lib/commonjs/Icons/AnswerPhone/assets/answer-phone@3x.png +0 -0
- package/lib/commonjs/Icons/AnswerPhone/index.js +30 -0
- package/lib/commonjs/Icons/AnswerPhone/index.js.map +1 -0
- package/lib/commonjs/Icons/Bluetooth/assets/bluetooth-on.png +0 -0
- package/lib/commonjs/Icons/Bluetooth/assets/bluetooth-on@2x.png +0 -0
- package/lib/commonjs/Icons/Bluetooth/assets/bluetooth-on@3x.png +0 -0
- package/lib/commonjs/Icons/Bluetooth/index.js +30 -0
- package/lib/commonjs/Icons/Bluetooth/index.js.map +1 -0
- package/lib/commonjs/Icons/GenericLogo/assets/generic-logo.png +0 -0
- package/lib/commonjs/Icons/GenericLogo/assets/generic-logo@2x.png +0 -0
- package/lib/commonjs/Icons/GenericLogo/assets/generic-logo@3x.png +0 -0
- package/lib/commonjs/Icons/GenericLogo/index.js +30 -0
- package/lib/commonjs/Icons/GenericLogo/index.js.map +1 -0
- package/lib/commonjs/Icons/Headphones/assets/headphones.png +0 -0
- package/lib/commonjs/Icons/Headphones/assets/headphones@2x.png +0 -0
- package/lib/commonjs/Icons/Headphones/assets/headphones@3x.png +0 -0
- package/lib/commonjs/Icons/Headphones/index.js +30 -0
- package/lib/commonjs/Icons/Headphones/index.js.map +1 -0
- package/lib/commonjs/Icons/Person/assets/person.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person@3x.png +0 -0
- package/lib/commonjs/Icons/Person/index.js +30 -0
- package/lib/commonjs/Icons/Person/index.js.map +1 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker-large.png +0 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker-large@2x.png +0 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker-large@3x.png +0 -0
- package/lib/commonjs/Icons/Speaker/index.js +7 -2
- package/lib/commonjs/Icons/Speaker/index.js.map +1 -1
- package/lib/commonjs/Icons/Wave/assets/wave.png +0 -0
- package/lib/commonjs/Icons/Wave/assets/wave@2x.png +0 -0
- package/lib/commonjs/Icons/Wave/assets/wave@3x.png +0 -0
- package/lib/commonjs/Icons/Wave/index.js +30 -0
- package/lib/commonjs/Icons/Wave/index.js.map +1 -0
- package/lib/commonjs/Icons/index.js +66 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/components/BackButton.js +1 -1
- package/lib/commonjs/components/BackButton.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewEditName.js +1 -1
- package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewJoinButton.js +11 -4
- package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewPeersList.js +9 -32
- package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTile.js +11 -61
- package/lib/commonjs/components/HMSPreviewTile.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js +0 -1
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/{HMSPreviewDeviceSettings.js → HMSSpeakerSettings.js} +69 -161
- package/lib/commonjs/components/HMSSpeakerSettings.js.map +1 -0
- package/lib/commonjs/components/Preview.js +72 -21
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/hooks-util.js +17 -60
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +2 -0
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +11 -1
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/hmsStates.js +12 -1
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
- package/lib/commonjs/utils/theme.js +5 -1
- package/lib/commonjs/utils/theme.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +1 -1
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/AnswerPhone/assets/answer-phone.png +0 -0
- package/lib/module/Icons/AnswerPhone/assets/answer-phone@2x.png +0 -0
- package/lib/module/Icons/AnswerPhone/assets/answer-phone@3x.png +0 -0
- package/lib/module/Icons/AnswerPhone/index.js +22 -0
- package/lib/module/Icons/AnswerPhone/index.js.map +1 -0
- package/lib/module/Icons/Bluetooth/assets/bluetooth-on.png +0 -0
- package/lib/module/Icons/Bluetooth/assets/bluetooth-on@2x.png +0 -0
- package/lib/module/Icons/Bluetooth/assets/bluetooth-on@3x.png +0 -0
- package/lib/module/Icons/Bluetooth/index.js +22 -0
- package/lib/module/Icons/Bluetooth/index.js.map +1 -0
- package/lib/module/Icons/GenericLogo/assets/generic-logo.png +0 -0
- package/lib/module/Icons/GenericLogo/assets/generic-logo@2x.png +0 -0
- package/lib/module/Icons/GenericLogo/assets/generic-logo@3x.png +0 -0
- package/lib/module/Icons/GenericLogo/index.js +22 -0
- package/lib/module/Icons/GenericLogo/index.js.map +1 -0
- package/lib/module/Icons/Headphones/assets/headphones.png +0 -0
- package/lib/module/Icons/Headphones/assets/headphones@2x.png +0 -0
- package/lib/module/Icons/Headphones/assets/headphones@3x.png +0 -0
- package/lib/module/Icons/Headphones/index.js +22 -0
- package/lib/module/Icons/Headphones/index.js.map +1 -0
- package/lib/module/Icons/Person/assets/person.png +0 -0
- package/lib/module/Icons/Person/assets/person@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person@3x.png +0 -0
- package/lib/module/Icons/Person/index.js +22 -0
- package/lib/module/Icons/Person/index.js.map +1 -0
- package/lib/module/Icons/Speaker/assets/speaker-large.png +0 -0
- package/lib/module/Icons/Speaker/assets/speaker-large@2x.png +0 -0
- package/lib/module/Icons/Speaker/assets/speaker-large@3x.png +0 -0
- package/lib/module/Icons/Speaker/index.js +7 -2
- package/lib/module/Icons/Speaker/index.js.map +1 -1
- package/lib/module/Icons/Wave/assets/wave.png +0 -0
- package/lib/module/Icons/Wave/assets/wave@2x.png +0 -0
- package/lib/module/Icons/Wave/assets/wave@3x.png +0 -0
- package/lib/module/Icons/Wave/index.js +22 -0
- package/lib/module/Icons/Wave/index.js.map +1 -0
- package/lib/module/Icons/index.js +6 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/components/BackButton.js +1 -1
- package/lib/module/components/BackButton.js.map +1 -1
- package/lib/module/components/HMSPreviewEditName.js +1 -1
- package/lib/module/components/HMSPreviewEditName.js.map +1 -1
- package/lib/module/components/HMSPreviewJoinButton.js +11 -4
- package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/module/components/HMSPreviewPeersList.js +9 -32
- package/lib/module/components/HMSPreviewPeersList.js.map +1 -1
- package/lib/module/components/HMSPreviewSubtitle.js +1 -1
- package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/module/components/HMSPreviewTile.js +12 -62
- package/lib/module/components/HMSPreviewTile.js.map +1 -1
- package/lib/module/components/HMSPreviewTitle.js +0 -1
- package/lib/module/components/HMSPreviewTitle.js.map +1 -1
- package/lib/module/components/HMSSpeakerSettings.js +204 -0
- package/lib/module/components/HMSSpeakerSettings.js.map +1 -0
- package/lib/module/components/Preview.js +73 -23
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/hooks-util.js +18 -61
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +2 -0
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +8 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/hmsStates.js +12 -1
- package/lib/module/redux/reducers/hmsStates.js.map +1 -1
- package/lib/module/utils/theme.js +5 -1
- package/lib/module/utils/theme.js.map +1 -1
- package/lib/typescript/Icons/AnswerPhone/index.d.ts +7 -0
- package/lib/typescript/Icons/AnswerPhone/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Bluetooth/index.d.ts +7 -0
- package/lib/typescript/Icons/Bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/Icons/GenericLogo/index.d.ts +7 -0
- package/lib/typescript/Icons/GenericLogo/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Headphones/index.d.ts +7 -0
- package/lib/typescript/Icons/Headphones/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Person/index.d.ts +7 -0
- package/lib/typescript/Icons/Person/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Speaker/index.d.ts +1 -0
- package/lib/typescript/Icons/Speaker/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Wave/index.d.ts +7 -0
- package/lib/typescript/Icons/Wave/index.d.ts.map +1 -0
- package/lib/typescript/Icons/index.d.ts +6 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewPeersList.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewTile.d.ts.map +1 -1
- package/lib/typescript/components/HMSSpeakerSettings.d.ts +3 -0
- package/lib/typescript/components/HMSSpeakerSettings.d.ts.map +1 -0
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +1 -1
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +3 -1
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +8 -0
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +1 -0
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/hmsStates.d.ts +11 -2
- package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +1 -0
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/utils/theme.d.ts +4 -0
- package/lib/typescript/utils/theme.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/HMSRoomSetup.tsx +1 -1
- package/src/Icons/AnswerPhone/assets/answer-phone.png +0 -0
- package/src/Icons/AnswerPhone/assets/answer-phone@2x.png +0 -0
- package/src/Icons/AnswerPhone/assets/answer-phone@3x.png +0 -0
- package/src/Icons/AnswerPhone/index.tsx +27 -0
- package/src/Icons/Bluetooth/assets/bluetooth-on.png +0 -0
- package/src/Icons/Bluetooth/assets/bluetooth-on@2x.png +0 -0
- package/src/Icons/Bluetooth/assets/bluetooth-on@3x.png +0 -0
- package/src/Icons/Bluetooth/index.tsx +27 -0
- package/src/Icons/GenericLogo/assets/generic-logo.png +0 -0
- package/src/Icons/GenericLogo/assets/generic-logo@2x.png +0 -0
- package/src/Icons/GenericLogo/assets/generic-logo@3x.png +0 -0
- package/src/Icons/GenericLogo/index.tsx +27 -0
- package/src/Icons/Headphones/assets/headphones.png +0 -0
- package/src/Icons/Headphones/assets/headphones@2x.png +0 -0
- package/src/Icons/Headphones/assets/headphones@3x.png +0 -0
- package/src/Icons/Headphones/index.tsx +27 -0
- package/src/Icons/Person/assets/person.png +0 -0
- package/src/Icons/Person/assets/person@2x.png +0 -0
- package/src/Icons/Person/assets/person@3x.png +0 -0
- package/src/Icons/Person/index.tsx +27 -0
- package/src/Icons/Speaker/assets/speaker-large.png +0 -0
- package/src/Icons/Speaker/assets/speaker-large@2x.png +0 -0
- package/src/Icons/Speaker/assets/speaker-large@3x.png +0 -0
- package/src/Icons/Speaker/index.tsx +10 -2
- package/src/Icons/Wave/assets/wave.png +0 -0
- package/src/Icons/Wave/assets/wave@2x.png +0 -0
- package/src/Icons/Wave/assets/wave@3x.png +0 -0
- package/src/Icons/Wave/index.tsx +24 -0
- package/src/Icons/index.ts +6 -0
- package/src/components/BackButton.tsx +1 -1
- package/src/components/HMSPreviewEditName.tsx +1 -1
- package/src/components/HMSPreviewJoinButton.tsx +21 -4
- package/src/components/HMSPreviewPeersList.tsx +19 -40
- package/src/components/HMSPreviewSubtitle.tsx +1 -1
- package/src/components/HMSPreviewTile.tsx +11 -67
- package/src/components/HMSPreviewTitle.tsx +0 -1
- package/src/components/HMSSpeakerSettings.tsx +259 -0
- package/src/components/Preview.tsx +92 -37
- package/src/hooks-util.ts +23 -57
- package/src/redux/actionTypes.ts +2 -0
- package/src/redux/actions/index.ts +10 -0
- package/src/redux/reducers/hmsStates.ts +28 -1
- package/src/utils/theme.ts +5 -1
- package/lib/commonjs/components/HMSPreviewDeviceSettings.js.map +0 -1
- package/lib/module/components/HMSPreviewDeviceSettings.js +0 -296
- package/lib/module/components/HMSPreviewDeviceSettings.js.map +0 -1
- package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts +0 -3
- package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts.map +0 -1
- package/src/components/HMSPreviewDeviceSettings.tsx +0 -387
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Image, StyleSheet } from 'react-native';
|
|
4
|
+
export const GenericLogoIcon = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
style,
|
|
7
|
+
...restProps
|
|
8
|
+
} = _ref;
|
|
9
|
+
return /*#__PURE__*/React.createElement(Image, _extends({
|
|
10
|
+
source: require('./assets/generic-logo.png'),
|
|
11
|
+
style: [styles.icon, style]
|
|
12
|
+
}, restProps));
|
|
13
|
+
};
|
|
14
|
+
const styles = StyleSheet.create({
|
|
15
|
+
icon: {
|
|
16
|
+
width: 30,
|
|
17
|
+
height: 30,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
justifyContent: 'center'
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Image","StyleSheet","GenericLogoIcon","_ref","style","restProps","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/GenericLogo/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAKhD,OAAO,MAAMC,eAA+C,GAAGC,IAAA,IAGzD;EAAA,IAH0D;IAC9DC,KAAK;IACL,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,oBACEJ,KAAA,CAAAO,aAAA,CAACN,KAAK,EAAAO,QAAA;IACJC,MAAM,EAAEC,OAAO,CAAC,2BAA2B,CAAE;IAC7CL,KAAK,EAAE,CAACM,MAAM,CAACC,IAAI,EAAEP,KAAK;EAAE,GACxBC,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMK,MAAM,GAAGT,UAAU,CAACW,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Image, StyleSheet } from 'react-native';
|
|
4
|
+
export const HeadphonesIcon = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
style,
|
|
7
|
+
...restProps
|
|
8
|
+
} = _ref;
|
|
9
|
+
return /*#__PURE__*/React.createElement(Image, _extends({
|
|
10
|
+
source: require('./assets/headphones.png'),
|
|
11
|
+
style: [styles.icon, style]
|
|
12
|
+
}, restProps));
|
|
13
|
+
};
|
|
14
|
+
const styles = StyleSheet.create({
|
|
15
|
+
icon: {
|
|
16
|
+
width: 24,
|
|
17
|
+
height: 24,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
justifyContent: 'center'
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Image","StyleSheet","HeadphonesIcon","_ref","style","restProps","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Headphones/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAKhD,OAAO,MAAMC,cAA6C,GAAGC,IAAA,IAGvD;EAAA,IAHwD;IAC5DC,KAAK;IACL,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,oBACEJ,KAAA,CAAAO,aAAA,CAACN,KAAK,EAAAO,QAAA;IACJC,MAAM,EAAEC,OAAO,CAAC,yBAAyB,CAAE;IAC3CL,KAAK,EAAE,CAACM,MAAM,CAACC,IAAI,EAAEP,KAAK;EAAE,GACxBC,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMK,MAAM,GAAGT,UAAU,CAACW,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Image, StyleSheet } from 'react-native';
|
|
4
|
+
export const PersonIcon = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
style,
|
|
7
|
+
...restProps
|
|
8
|
+
} = _ref;
|
|
9
|
+
return /*#__PURE__*/React.createElement(Image, _extends({
|
|
10
|
+
source: require('./assets/person.png'),
|
|
11
|
+
style: [styles.icon, style]
|
|
12
|
+
}, restProps));
|
|
13
|
+
};
|
|
14
|
+
const styles = StyleSheet.create({
|
|
15
|
+
icon: {
|
|
16
|
+
width: 24,
|
|
17
|
+
height: 24,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
justifyContent: 'center'
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Image","StyleSheet","PersonIcon","_ref","style","restProps","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Person/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAKhD,OAAO,MAAMC,UAAqC,GAAGC,IAAA,IAG/C;EAAA,IAHgD;IACpDC,KAAK;IACL,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,oBACEJ,KAAA,CAAAO,aAAA,CAACN,KAAK,EAAAO,QAAA;IACJC,MAAM,EAAEC,OAAO,CAAC,qBAAqB,CAAE;IACvCL,KAAK,EAAE,CAACM,MAAM,CAACC,IAAI,EAAEP,KAAK;EAAE,GACxBC,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMK,MAAM,GAAGT,UAAU,CAACW,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -3,13 +3,14 @@ import React from 'react';
|
|
|
3
3
|
import { Image, StyleSheet } from 'react-native';
|
|
4
4
|
export const SpeakerIcon = _ref => {
|
|
5
5
|
let {
|
|
6
|
+
size = 'normal',
|
|
6
7
|
muted,
|
|
7
8
|
style,
|
|
8
9
|
...restProps
|
|
9
10
|
} = _ref;
|
|
10
11
|
return /*#__PURE__*/React.createElement(Image, _extends({
|
|
11
|
-
source: muted ? require('./assets/speaker-muted.png') : require('./assets/speaker.png'),
|
|
12
|
-
style: [styles.icon, style]
|
|
12
|
+
source: muted ? require('./assets/speaker-muted.png') : size === 'normal' ? require('./assets/speaker.png') : require('./assets/speaker-large.png'),
|
|
13
|
+
style: [styles.icon, style, size === 'large' ? styles.large : null]
|
|
13
14
|
}, restProps));
|
|
14
15
|
};
|
|
15
16
|
const styles = StyleSheet.create({
|
|
@@ -18,6 +19,10 @@ const styles = StyleSheet.create({
|
|
|
18
19
|
height: 24,
|
|
19
20
|
alignItems: 'center',
|
|
20
21
|
justifyContent: 'center'
|
|
22
|
+
},
|
|
23
|
+
large: {
|
|
24
|
+
width: 32,
|
|
25
|
+
height: 32
|
|
21
26
|
}
|
|
22
27
|
});
|
|
23
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","StyleSheet","SpeakerIcon","_ref","muted","style","restProps","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Speaker/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;
|
|
1
|
+
{"version":3,"names":["React","Image","StyleSheet","SpeakerIcon","_ref","size","muted","style","restProps","createElement","_extends","source","require","styles","icon","large","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Speaker/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAQhD,OAAO,MAAMC,WAAuC,GAAGC,IAAA,IAKjD;EAAA,IALkD;IACtDC,IAAI,GAAG,QAAQ;IACfC,KAAK;IACLC,KAAK;IACL,GAAGC;EACL,CAAC,GAAAJ,IAAA;EACC,oBACEJ,KAAA,CAAAS,aAAA,CAACR,KAAK,EAAAS,QAAA;IACJC,MAAM,EACJL,KAAK,GACDM,OAAO,CAAC,4BAA4B,CAAC,GACrCP,IAAI,KAAK,QAAQ,GACjBO,OAAO,CAAC,sBAAsB,CAAC,GAC/BA,OAAO,CAAC,4BAA4B,CACzC;IACDL,KAAK,EAAE,CAACM,MAAM,CAACC,IAAI,EAAEP,KAAK,EAAEF,IAAI,KAAK,OAAO,GAAGQ,MAAM,CAACE,KAAK,GAAG,IAAI;EAAE,GAChEP,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMK,MAAM,GAAGX,UAAU,CAACc,MAAM,CAAC;EAC/BF,IAAI,EAAE;IACJG,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDL,KAAK,EAAE;IACLE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE;EACV;AACF,CAAC,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Image, StyleSheet } from 'react-native';
|
|
4
|
+
export const WaveIcon = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
style,
|
|
7
|
+
...restProps
|
|
8
|
+
} = _ref;
|
|
9
|
+
return /*#__PURE__*/React.createElement(Image, _extends({
|
|
10
|
+
source: require('./assets/wave.png'),
|
|
11
|
+
style: [styles.icon, style]
|
|
12
|
+
}, restProps));
|
|
13
|
+
};
|
|
14
|
+
const styles = StyleSheet.create({
|
|
15
|
+
icon: {
|
|
16
|
+
width: 24,
|
|
17
|
+
height: 24,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
justifyContent: 'center'
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Image","StyleSheet","WaveIcon","_ref","style","restProps","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Wave/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAKhD,OAAO,MAAMC,QAAiC,GAAGC,IAAA,IAA6B;EAAA,IAA5B;IAAEC,KAAK;IAAE,GAAGC;EAAU,CAAC,GAAAF,IAAA;EACvE,oBACEJ,KAAA,CAAAO,aAAA,CAACN,KAAK,EAAAO,QAAA;IACJC,MAAM,EAAEC,OAAO,CAAC,mBAAmB,CAAE;IACrCL,KAAK,EAAE,CAACM,MAAM,CAACC,IAAI,EAAEP,KAAK;EAAE,GACxBC,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMK,MAAM,GAAGT,UAAU,CAACW,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
|
|
@@ -17,4 +17,10 @@ export * from './Clock';
|
|
|
17
17
|
export * from './End';
|
|
18
18
|
export * from './100ms';
|
|
19
19
|
export * from './Hand';
|
|
20
|
+
export * from './Person';
|
|
21
|
+
export * from './AnswerPhone';
|
|
22
|
+
export * from './Bluetooth';
|
|
23
|
+
export * from './Headphones';
|
|
24
|
+
export * from './Wave';
|
|
25
|
+
export * from './GenericLogo';
|
|
20
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["Icons/index.ts"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,OAAO;AACrB,cAAc,gBAAgB;AAC9B,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,QAAQ"}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["Icons/index.ts"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,OAAO;AACrB,cAAc,gBAAgB;AAC9B,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,QAAQ;AACtB,cAAc,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","useNavigation","COLORS","PressableIcon","ChevronIcon","BackButton","navigation","canGoBack","handleGoBack","goBack","createElement","style","styles","button","rounded","border","onPress","direction","create","marginTop","marginLeft","backgroundColor","SURFACE","DEFAULT"],"sourceRoot":"../../../src","sources":["components/BackButton.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,aAAa,QAAQ,0BAA0B;AAExD,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,WAAW,QAAQ,UAAU;AAItC,OAAO,MAAMC,UAAqC,GAAGA,CAAA,KAAM;EACzD,MAAMC,UAAU,GAAGL,aAAa,CAAC,CAAC;EAElC,IAAI,CAACK,UAAU,CAACC,SAAS,CAAC,CAAC,EAAE;IAC3B,OAAO,IAAI;EACb;EAEA,MAAMC,YAAY,GAAGA,CAAA,KAAM;IACzB,IAAIF,UAAU,CAACC,SAAS,CAAC,CAAC,EAAE;MAC1BD,UAAU,CAACG,MAAM,CAAC,CAAC;IACrB;EACF,CAAC;EAED,oBACEV,KAAA,CAAAW,aAAA,CAACP,aAAa;IACZQ,KAAK,EAAEC,MAAM,CAACC,MAAO;IACrBC,OAAO,EAAE,IAAK;IACdC,MAAM,EAAE,KAAM;IACdC,OAAO,EAAER;EAAa,gBAEtBT,KAAA,CAAAW,aAAA,CAACN,WAAW;IAACa,SAAS,EAAC;EAAM,CAAE,CAClB,CAAC;AAEpB,CAAC;AAED,MAAML,MAAM,GAAGZ,UAAU,CAACkB,MAAM,CAAC;EAC/BL,MAAM,EAAE;IACNM,SAAS,EAAE,EAAE;IACbC,UAAU,EAAE,
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","useNavigation","COLORS","PressableIcon","ChevronIcon","BackButton","navigation","canGoBack","handleGoBack","goBack","createElement","style","styles","button","rounded","border","onPress","direction","create","marginTop","marginLeft","backgroundColor","SURFACE","DEFAULT"],"sourceRoot":"../../../src","sources":["components/BackButton.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,aAAa,QAAQ,0BAA0B;AAExD,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,WAAW,QAAQ,UAAU;AAItC,OAAO,MAAMC,UAAqC,GAAGA,CAAA,KAAM;EACzD,MAAMC,UAAU,GAAGL,aAAa,CAAC,CAAC;EAElC,IAAI,CAACK,UAAU,CAACC,SAAS,CAAC,CAAC,EAAE;IAC3B,OAAO,IAAI;EACb;EAEA,MAAMC,YAAY,GAAGA,CAAA,KAAM;IACzB,IAAIF,UAAU,CAACC,SAAS,CAAC,CAAC,EAAE;MAC1BD,UAAU,CAACG,MAAM,CAAC,CAAC;IACrB;EACF,CAAC;EAED,oBACEV,KAAA,CAAAW,aAAA,CAACP,aAAa;IACZQ,KAAK,EAAEC,MAAM,CAACC,MAAO;IACrBC,OAAO,EAAE,IAAK;IACdC,MAAM,EAAE,KAAM;IACdC,OAAO,EAAER;EAAa,gBAEtBT,KAAA,CAAAW,aAAA,CAACN,WAAW;IAACa,SAAS,EAAC;EAAM,CAAE,CAClB,CAAC;AAEpB,CAAC;AAED,MAAML,MAAM,GAAGZ,UAAU,CAACkB,MAAM,CAAC;EAC/BL,MAAM,EAAE;IACNM,SAAS,EAAE,EAAE;IACbC,UAAU,EAAE,EAAE;IACdC,eAAe,EAAEnB,MAAM,CAACoB,OAAO,CAACC;EAClC;AACF,CAAC,CAAC"}
|
|
@@ -21,7 +21,7 @@ export const HMSPreviewEditName = () => {
|
|
|
21
21
|
style: [styles.input, inputFocused ? styles.focusedInput : null],
|
|
22
22
|
value: userName,
|
|
23
23
|
onChangeText: handleNameChange,
|
|
24
|
-
placeholder: "Name",
|
|
24
|
+
placeholder: "Enter Name...",
|
|
25
25
|
autoCapitalize: "words",
|
|
26
26
|
autoCompleteType: "name",
|
|
27
27
|
placeholderTextColor: COLORS.SURFACE.ON_SURFACE.LOW,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","TextInput","useDispatch","useSelector","COLORS","changeUsername","useHMSConfig","HMSPreviewEditName","dispatch","clearConfig","userName","state","user","inputFocused","setInputFocused","useState","handleNameChange","name","handleInputFocus","handleInputBlur","createElement","style","styles","input","focusedInput","value","onChangeText","placeholder","autoCapitalize","autoCompleteType","placeholderTextColor","SURFACE","ON_SURFACE","LOW","selectionColor","HIGH","onFocus","onBlur","create","flex","textAlignVertical","backgroundColor","DEFAULT","paddingHorizontal","paddingVertical","borderRadius","color","fontSize","fontFamily","fontWeight","letterSpacing","borderWidth","borderColor","PRIMARY"],"sourceRoot":"../../../src","sources":["components/HMSPreviewEditName.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,SAAS,QAAQ,cAAc;AACpD,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AAEtD,SAASC,MAAM,QAAQ,gBAAgB;AAEvC,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,YAAY,QAAQ,eAAe;AAI5C,OAAO,MAAMC,kBAAqD,GAAGA,CAAA,KAAM;EACzE,MAAMC,QAAQ,GAAGN,WAAW,CAAC,CAAC;EAC9B,MAAM;IAAEO;EAAY,CAAC,GAAGH,YAAY,CAAC,CAAC;EACtC,MAAMI,QAAQ,GAAGP,WAAW,CAAEQ,KAAgB,IAAKA,KAAK,CAACC,IAAI,CAACF,QAAQ,CAAC;EACvE,MAAM,CAACG,YAAY,EAAEC,eAAe,CAAC,GAAGf,KAAK,CAACgB,QAAQ,CAAC,KAAK,CAAC;EAE7D,MAAMC,gBAAgB,GAAIC,IAAY,IAAK;IACzCT,QAAQ,CAACH,cAAc,CAACY,IAAI,CAAC,CAAC;IAC9BR,WAAW,CAAC,CAAC;EACf,CAAC;EAED,MAAMS,gBAAgB,GAAGA,CAAA,KAAMJ,eAAe,CAAC,IAAI,CAAC;EAEpD,MAAMK,eAAe,GAAGA,CAAA,KAAML,eAAe,CAAC,KAAK,CAAC;EAEpD,oBACEf,KAAA,CAAAqB,aAAA,CAACnB,SAAS;IACRoB,KAAK,EAAE,CAACC,MAAM,CAACC,KAAK,EAAEV,YAAY,GAAGS,MAAM,CAACE,YAAY,GAAG,IAAI,CAAE;IACjEC,KAAK,EAAEf,QAAS;IAChBgB,YAAY,EAAEV,gBAAiB;IAC/BW,WAAW,EAAC,
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","TextInput","useDispatch","useSelector","COLORS","changeUsername","useHMSConfig","HMSPreviewEditName","dispatch","clearConfig","userName","state","user","inputFocused","setInputFocused","useState","handleNameChange","name","handleInputFocus","handleInputBlur","createElement","style","styles","input","focusedInput","value","onChangeText","placeholder","autoCapitalize","autoCompleteType","placeholderTextColor","SURFACE","ON_SURFACE","LOW","selectionColor","HIGH","onFocus","onBlur","create","flex","textAlignVertical","backgroundColor","DEFAULT","paddingHorizontal","paddingVertical","borderRadius","color","fontSize","fontFamily","fontWeight","letterSpacing","borderWidth","borderColor","PRIMARY"],"sourceRoot":"../../../src","sources":["components/HMSPreviewEditName.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,SAAS,QAAQ,cAAc;AACpD,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AAEtD,SAASC,MAAM,QAAQ,gBAAgB;AAEvC,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,YAAY,QAAQ,eAAe;AAI5C,OAAO,MAAMC,kBAA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2B,OAAO,CAACW,OAAO;IACvCC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,EAAE;IACnBC,YAAY,EAAE,CAAC;IACfC,KAAK,EAAE1C,MAAM,CAAC2B,OAAO,CAACC,UAAU,CAACG,IAAI;IACrCY,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE,KAAK;IACjBC,aAAa,EAAE,GAAG;IAClBC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAEhD,MAAM,CAAC2B,OAAO,CAACW;EAC9B,CAAC;EACDlB,YAAY,EAAE;IACZ4B,WAAW,EAAEhD,MAAM,CAACiD,OAAO,CAACX,OAAO;IACnCS,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ActivityIndicator, StyleSheet, Text, TouchableHighlight } from 'react-native';
|
|
3
|
+
import { useSelector } from 'react-redux';
|
|
3
4
|
import { COLORS } from '../utils/theme';
|
|
4
5
|
export const HMSPreviewJoinButton = _ref => {
|
|
5
6
|
let {
|
|
6
7
|
loading,
|
|
7
8
|
onJoin
|
|
8
9
|
} = _ref;
|
|
10
|
+
const userNameInvalid = useSelector(state => state.user.userName.length <= 0);
|
|
11
|
+
const disabledJoin = userNameInvalid || loading;
|
|
9
12
|
return /*#__PURE__*/React.createElement(TouchableHighlight, {
|
|
10
13
|
underlayColor: COLORS.PRIMARY.DARK,
|
|
11
|
-
style: styles.button,
|
|
14
|
+
style: [styles.button, disabledJoin ? {
|
|
15
|
+
backgroundColor: COLORS.PRIMARY.DISABLED
|
|
16
|
+
} : null],
|
|
12
17
|
onPress: onJoin,
|
|
13
|
-
disabled:
|
|
18
|
+
disabled: disabledJoin
|
|
14
19
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
15
20
|
size: 'small',
|
|
16
21
|
color: COLORS.BASE.WHITE,
|
|
@@ -18,8 +23,10 @@ export const HMSPreviewJoinButton = _ref => {
|
|
|
18
23
|
}) : null, /*#__PURE__*/React.createElement(Text, {
|
|
19
24
|
style: [styles.text, {
|
|
20
25
|
opacity: loading ? 0 : undefined
|
|
21
|
-
}
|
|
22
|
-
|
|
26
|
+
}, disabledJoin ? {
|
|
27
|
+
color: COLORS.PRIMARY.ON_PRIMARY.LOW
|
|
28
|
+
} : null]
|
|
29
|
+
}, "Join Now")));
|
|
23
30
|
};
|
|
24
31
|
const styles = StyleSheet.create({
|
|
25
32
|
button: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","ActivityIndicator","StyleSheet","Text","TouchableHighlight","COLORS","HMSPreviewJoinButton","_ref","loading","onJoin","createElement","underlayColor","PRIMARY","DARK","style","styles","button","onPress","disabled","Fragment","size","color","BASE","WHITE","loader","text","opacity","undefined","create","paddingHorizontal","paddingVertical","borderRadius","
|
|
1
|
+
{"version":3,"names":["React","ActivityIndicator","StyleSheet","Text","TouchableHighlight","useSelector","COLORS","HMSPreviewJoinButton","_ref","loading","onJoin","userNameInvalid","state","user","userName","length","disabledJoin","createElement","underlayColor","PRIMARY","DARK","style","styles","button","backgroundColor","DISABLED","onPress","disabled","Fragment","size","color","BASE","WHITE","loader","text","opacity","undefined","ON_PRIMARY","LOW","create","paddingHorizontal","paddingVertical","borderRadius","DEFAULT","marginLeft","alignItems","justifyContent","fontSize","fontFamily","fontWeight","lineHeight","letterSpacing","marginHorizontal","position"],"sourceRoot":"../../../src","sources":["components/HMSPreviewJoinButton.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,iBAAiB,EACjBC,UAAU,EACVC,IAAI,EACJC,kBAAkB,QACb,cAAc;AACrB,SAASC,WAAW,QAAQ,aAAa;AAEzC,SAASC,MAAM,QAAQ,gBAAgB;AAQvC,OAAO,MAAMC,oBAAyD,GAAGC,IAAA,IAGnE;EAAA,IAHoE;IACxEC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,CAACwB,OAAO;IACvCC,UAAU,EAAE,EAAE;IACdC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDZ,IAAI,EAAE;IACJJ,KAAK,EAAExB,MAAM,CAACyB,IAAI,CAACC,KAAK;IACxBe,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,GAAG;IAClBC,gBAAgB,EAAE;EACpB,CAAC;EACDnB,MAAM,EAAE;IAAEoB,QAAQ,EAAE;EAAW;AACjC,CAAC,CAAC"}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { useSelector } from 'react-redux';
|
|
3
4
|
import { COLORS } from '../utils/theme';
|
|
4
5
|
import { ParticipantsIcon } from '../Icons';
|
|
5
6
|
export const HMSPreviewPeersList = () => {
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
// TODO: Handle case when peer updates are received before this hook mounts
|
|
9
|
-
// It leads to some already joined peer missing in list
|
|
10
|
-
// useHMSPeerUpdates(
|
|
11
|
-
// ({ peer, type }: { peer: HMSPeer; type: HMSPeerUpdate }) => {
|
|
12
|
-
// switch (type) {
|
|
13
|
-
// case HMSPeerUpdate.PEER_JOINED:
|
|
14
|
-
// setPeerList((prevPeerList) => [...prevPeerList, peer]);
|
|
15
|
-
// break;
|
|
16
|
-
// case HMSPeerUpdate.PEER_LEFT:
|
|
17
|
-
// setPeerList((prevPeerList) =>
|
|
18
|
-
// prevPeerList.filter(
|
|
19
|
-
// (peerFromList) => peerFromList.peerID !== peer.peerID
|
|
20
|
-
// )
|
|
21
|
-
// );
|
|
22
|
-
// break;
|
|
23
|
-
|
|
24
|
-
// default:
|
|
25
|
-
// break;
|
|
26
|
-
// }
|
|
27
|
-
// },
|
|
28
|
-
// []
|
|
29
|
-
// );
|
|
30
|
-
|
|
7
|
+
const previewPeersList = useSelector(state => state.hmsStates.previewPeersList);
|
|
31
8
|
return /*#__PURE__*/React.createElement(View, {
|
|
32
9
|
style: styles.container
|
|
33
|
-
},
|
|
10
|
+
}, previewPeersList.length > 0 ? /*#__PURE__*/React.createElement(ParticipantsIcon, null) : null, previewPeersList.length === 0 ? /*#__PURE__*/React.createElement(Text, {
|
|
34
11
|
style: [styles.text, styles.textSpacer]
|
|
35
|
-
}, "You are the first to join") :
|
|
12
|
+
}, "You are the first to join") : previewPeersList.length === 1 ? /*#__PURE__*/React.createElement(Text, {
|
|
36
13
|
style: [styles.text, styles.textSpacer]
|
|
37
|
-
},
|
|
14
|
+
}, previewPeersList[0].name, " has joined") : /*#__PURE__*/React.createElement(View, {
|
|
38
15
|
style: styles.multiTextContainer
|
|
39
16
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
40
17
|
style: [styles.text, styles.flexView],
|
|
41
18
|
ellipsizeMode: "tail",
|
|
42
19
|
numberOfLines: 1
|
|
43
|
-
},
|
|
20
|
+
}, previewPeersList.slice(0, 2).map(peer => peer.name).join(', ')), previewPeersList.length - 2 > 0 ? /*#__PURE__*/React.createElement(Text, {
|
|
44
21
|
style: styles.text
|
|
45
|
-
}, ' ', "+",
|
|
22
|
+
}, ' ', "+", previewPeersList.length - 2, ' ', previewPeersList.length - 2 > 1 ? 'others' : 'other') : null));
|
|
46
23
|
};
|
|
47
24
|
const styles = StyleSheet.create({
|
|
48
25
|
container: {
|
|
@@ -50,7 +27,6 @@ const styles = StyleSheet.create({
|
|
|
50
27
|
alignItems: 'center',
|
|
51
28
|
backgroundColor: COLORS.SURFACE.DEFAULT,
|
|
52
29
|
marginTop: 16,
|
|
53
|
-
marginBottom: 24,
|
|
54
30
|
alignSelf: 'center',
|
|
55
31
|
paddingVertical: 8,
|
|
56
32
|
paddingHorizontal: 12,
|
|
@@ -69,7 +45,8 @@ const styles = StyleSheet.create({
|
|
|
69
45
|
marginHorizontal: 8
|
|
70
46
|
},
|
|
71
47
|
flexView: {
|
|
72
|
-
flex: 1
|
|
48
|
+
flex: 1,
|
|
49
|
+
flexShrink: 1
|
|
73
50
|
},
|
|
74
51
|
multiTextContainer: {
|
|
75
52
|
flexDirection: 'row',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","View","COLORS","ParticipantsIcon","HMSPreviewPeersList","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","View","useSelector","COLORS","ParticipantsIcon","HMSPreviewPeersList","previewPeersList","state","hmsStates","createElement","style","styles","container","length","text","textSpacer","name","multiTextContainer","flexView","ellipsizeMode","numberOfLines","slice","map","peer","join","create","flexDirection","alignItems","backgroundColor","SURFACE","DEFAULT","marginTop","alignSelf","paddingVertical","paddingHorizontal","borderRadius","borderColor","BORDER","borderWidth","color","ON_SURFACE","HIGH","fontSize","fontFamily","fontWeight","lineHeight","marginHorizontal","flex","flexShrink","maxWidth"],"sourceRoot":"../../../src","sources":["components/HMSPreviewPeersList.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,WAAW,QAAQ,aAAa;AAGzC,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,gBAAgB,QAAQ,UAAU;AAK3C,OAAO,MAAMC,mBAAuD,GAAGA,CAAA,KAAM;EAC3E,MAAMC,gBAAgB,GAAGJ,WAAW,CACjCK,KAAgB,IAAKA,KAAK,CAACC,SAAS,CAACF,gBACxC,CAAC;EAED,oBACER,KAAA,CAAAW,aAAA,CAACR,IAAI;IAACS,KAAK,EAAEC,MAAM,CAACC;EAAU,GAC3BN,gBAAgB,CAACO,MAAM,GAAG,CAAC,gBAAGf,KAAA,CAAAW,aAAA,CAACL,gBAAgB,MAAE,CAAC,GAAG,IAAI,EAEzDE,gBAAgB,CAACO,MAAM,KAAK,CAAC,gBAC5Bf,KAAA,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C,OAAO;IACvCC,SAAS,EAAE,EAAE;IACbC,SAAS,EAAE,QAAQ;IACnBC,eAAe,EAAE,CAAC;IAClBC,iBAAiB,EAAE,EAAE;IACrBC,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAEjC,MAAM,CAACkC,MAAM,CAACP,OAAO;IAClCQ,WAAW,EAAE;EACf,CAAC;EACDxB,IAAI,EAAE;IACJyB,KAAK,EAAEpC,MAAM,CAAC0B,OAAO,CAACW,UAAU,CAACC,IAAI;IACrCC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE;EACd,CAAC;EACD9B,UAAU,EAAE;IACV+B,gBAAgB,EAAE;EACpB,CAAC;EACD5B,QAAQ,EAAE;IACR6B,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE;EACd,CAAC;EACD/B,kBAAkB,EAAE;IAClBS,aAAa,EAAE,KAAK;IACpBoB,gBAAgB,EAAE,CAAC;IACnBG,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","COLORS","HMSPreviewSubtitle","_ref","subtitle","createElement","style","styles","title","create","color","SURFACE","ON_SURFACE","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","COLORS","HMSPreviewSubtitle","_ref","subtitle","createElement","style","styles","title","create","color","SURFACE","ON_SURFACE","MEDIUM","fontSize","fontFamily","fontWeight","lineHeight","marginTop","textAlign"],"sourceRoot":"../../../src","sources":["components/HMSPreviewSubtitle.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAE/C,SAASC,MAAM,QAAQ,gBAAgB;AAMvC,OAAO,MAAMC,kBAAqD,GAAGC,IAAA,IAE/D;EAAA,IAFgE;IACpEC,QAAQ,GAAG;EACb,CAAC,GAAAD,IAAA;EACC,oBAAOL,KAAA,CAAAO,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEC,MAAM,CAACC;EAAM,GAAEJ,QAAe,CAAC;AACrD,CAAC;AAED,MAAMG,MAAM,GAAGR,UAAU,CAACU,MAAM,CAAC;EAC/BD,KAAK,EAAE;IACLE,KAAK,EAAET,MAAM,CAACU,OAAO,CAACC,UAAU,CAACC,MAAM;IACvCC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,EAAE;IACdC,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb;AACF,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { HMSVideoViewMode } from '@100mslive/react-native-hms';
|
|
4
4
|
import { StyleSheet, Text, View } from 'react-native';
|
|
5
|
-
import {
|
|
5
|
+
import { PersonIcon } from '../Icons';
|
|
6
6
|
import { useHMSInstance } from '../hooks-util';
|
|
7
7
|
import { getInitials } from '../utils/functions';
|
|
8
8
|
import { COLORS } from '../utils/theme';
|
|
@@ -12,15 +12,10 @@ export const HMSPreviewTile = () => {
|
|
|
12
12
|
const mirrorCamera = useSelector(state => state.app.joinConfig.mirrorCamera);
|
|
13
13
|
const autoSimulcast = useSelector(state => state.app.joinConfig.autoSimulcast);
|
|
14
14
|
const isLocalVideoMuted = useSelector(state => state.hmsStates.isLocalVideoMuted);
|
|
15
|
-
const isLocalAudioMuted = useSelector(state => state.hmsStates.isLocalAudioMuted);
|
|
16
15
|
const localVideoTrackId = useSelector(state => {
|
|
17
16
|
var _state$hmsStates$loca;
|
|
18
17
|
return (_state$hmsStates$loca = state.hmsStates.localPeer) === null || _state$hmsStates$loca === void 0 || (_state$hmsStates$loca = _state$hmsStates$loca.videoTrack) === null || _state$hmsStates$loca === void 0 ? void 0 : _state$hmsStates$loca.trackId;
|
|
19
18
|
});
|
|
20
|
-
const localPeerNetworkQuality = useSelector(state => {
|
|
21
|
-
var _state$hmsStates$loca2;
|
|
22
|
-
return (_state$hmsStates$loca2 = state.hmsStates.localPeer) === null || _state$hmsStates$loca2 === void 0 || (_state$hmsStates$loca2 = _state$hmsStates$loca2.networkQuality) === null || _state$hmsStates$loca2 === void 0 ? void 0 : _state$hmsStates$loca2.downlinkQuality;
|
|
23
|
-
});
|
|
24
19
|
const userName = useSelector(state => state.user.userName);
|
|
25
20
|
React.useEffect(() => {
|
|
26
21
|
hmsInstance.enableNetworkQualityUpdates();
|
|
@@ -31,57 +26,30 @@ export const HMSPreviewTile = () => {
|
|
|
31
26
|
}, isLocalVideoMuted || !localVideoTrackId ? /*#__PURE__*/React.createElement(View, {
|
|
32
27
|
style: styles.avatarContainer
|
|
33
28
|
}, /*#__PURE__*/React.createElement(View, {
|
|
34
|
-
style:
|
|
35
|
-
}, /*#__PURE__*/React.createElement(
|
|
29
|
+
style: styles.avatar
|
|
30
|
+
}, userName.length === 0 ? /*#__PURE__*/React.createElement(PersonIcon, {
|
|
31
|
+
style: styles.avatarIcon
|
|
32
|
+
}) : /*#__PURE__*/React.createElement(Text, {
|
|
36
33
|
style: styles.avatarText
|
|
37
|
-
},
|
|
34
|
+
}, getInitials(userName)))) : /*#__PURE__*/React.createElement(HmsView, {
|
|
38
35
|
trackId: localVideoTrackId,
|
|
39
36
|
key: localVideoTrackId,
|
|
40
37
|
mirror: mirrorCamera,
|
|
41
38
|
autoSimulcast: autoSimulcast,
|
|
42
39
|
scaleType: HMSVideoViewMode.ASPECT_FILL,
|
|
43
40
|
style: styles.hmsView
|
|
44
|
-
})
|
|
45
|
-
style: styles.micMuted
|
|
46
|
-
}, /*#__PURE__*/React.createElement(MicIcon, {
|
|
47
|
-
muted: true,
|
|
48
|
-
style: styles.micMutedIcon
|
|
49
|
-
})) : null, /*#__PURE__*/React.createElement(View, {
|
|
50
|
-
style: styles.nameInTileContainer
|
|
51
|
-
}, userName ? /*#__PURE__*/React.createElement(Text, {
|
|
52
|
-
style: styles.nameInTile
|
|
53
|
-
}, userName) : null, /*#__PURE__*/React.createElement(NetworkQualityIcon, {
|
|
54
|
-
quality: localPeerNetworkQuality
|
|
55
|
-
})));
|
|
41
|
+
}));
|
|
56
42
|
};
|
|
57
43
|
const styles = StyleSheet.create({
|
|
58
44
|
modalContainer: {
|
|
59
45
|
flex: 1,
|
|
60
46
|
position: 'relative',
|
|
61
|
-
backgroundColor: COLORS.BACKGROUND.
|
|
62
|
-
|
|
63
|
-
borderRadius: 16,
|
|
64
|
-
alignSelf: 'center',
|
|
65
|
-
overflow: 'hidden',
|
|
66
|
-
minWidth: '50%',
|
|
67
|
-
// minHeight: '50%',
|
|
68
|
-
aspectRatio: 377 / 482 // TODO: DO WE NEED THIS?
|
|
47
|
+
backgroundColor: COLORS.BACKGROUND.DIM,
|
|
48
|
+
overflow: 'hidden'
|
|
69
49
|
},
|
|
70
|
-
|
|
71
50
|
hmsView: {
|
|
72
51
|
flex: 1
|
|
73
52
|
},
|
|
74
|
-
micMuted: {
|
|
75
|
-
position: 'absolute',
|
|
76
|
-
top: 8,
|
|
77
|
-
right: 8,
|
|
78
|
-
backgroundColor: COLORS.ALERT.ERROR.DEFAULT,
|
|
79
|
-
padding: 8,
|
|
80
|
-
borderRadius: 12
|
|
81
|
-
},
|
|
82
|
-
micMutedIcon: {
|
|
83
|
-
tintColor: COLORS.ALERT.ERROR.BRIGHTER
|
|
84
|
-
},
|
|
85
53
|
avatarContainer: {
|
|
86
54
|
flex: 1,
|
|
87
55
|
alignItems: 'center',
|
|
@@ -95,10 +63,10 @@ const styles = StyleSheet.create({
|
|
|
95
63
|
justifyContent: 'center',
|
|
96
64
|
alignItems: 'center'
|
|
97
65
|
},
|
|
98
|
-
|
|
99
|
-
|
|
66
|
+
avatarIcon: {
|
|
67
|
+
width: 40,
|
|
68
|
+
height: 40
|
|
100
69
|
},
|
|
101
|
-
|
|
102
70
|
avatarText: {
|
|
103
71
|
color: COLORS.SURFACE.ON_SURFACE.HIGH,
|
|
104
72
|
fontSize: 34,
|
|
@@ -106,24 +74,6 @@ const styles = StyleSheet.create({
|
|
|
106
74
|
fontWeight: '600',
|
|
107
75
|
lineHeight: 40,
|
|
108
76
|
letterSpacing: 0.25
|
|
109
|
-
},
|
|
110
|
-
nameInTileContainer: {
|
|
111
|
-
position: 'absolute',
|
|
112
|
-
bottom: 8,
|
|
113
|
-
left: 8,
|
|
114
|
-
backgroundColor: COLORS.BACKGROUND.DIM_80,
|
|
115
|
-
padding: 8,
|
|
116
|
-
borderRadius: 12,
|
|
117
|
-
flexDirection: 'row'
|
|
118
|
-
},
|
|
119
|
-
nameInTile: {
|
|
120
|
-
color: COLORS.SURFACE.ON_SURFACE.HIGH,
|
|
121
|
-
fontSize: 14,
|
|
122
|
-
fontFamily: 'Inter',
|
|
123
|
-
fontWeight: '400',
|
|
124
|
-
lineHeight: 20,
|
|
125
|
-
letterSpacing: 0.25,
|
|
126
|
-
marginRight: 8
|
|
127
77
|
}
|
|
128
78
|
});
|
|
129
79
|
//# sourceMappingURL=HMSPreviewTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useSelector","HMSVideoViewMode","StyleSheet","Text","View","
|
|
1
|
+
{"version":3,"names":["React","useSelector","HMSVideoViewMode","StyleSheet","Text","View","PersonIcon","useHMSInstance","getInitials","COLORS","HMSPreviewTile","hmsInstance","HmsView","mirrorCamera","state","app","joinConfig","autoSimulcast","isLocalVideoMuted","hmsStates","localVideoTrackId","_state$hmsStates$loca","localPeer","videoTrack","trackId","userName","user","useEffect","enableNetworkQualityUpdates","disableNetworkQualityUpdates","createElement","style","styles","modalContainer","avatarContainer","avatar","length","avatarIcon","avatarText","key","mirror","scaleType","ASPECT_FILL","hmsView","create","flex","position","backgroundColor","BACKGROUND","DIM","overflow","alignItems","justifyContent","width","aspectRatio","EXTENDED","PURPLE","borderRadius","height","color","SURFACE","ON_SURFACE","HIGH","fontSize","fontFamily","fontWeight","lineH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,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDjB,MAAM,EAAE;IACNkB,KAAK,EAAE,EAAE;IACTC,WAAW,EAAE,CAAC;IACdP,eAAe,EAAEtC,MAAM,CAAC8C,QAAQ,CAACC,MAAM;IACvCC,YAAY,EAAE,EAAE;IAChBL,cAAc,EAAE,QAAQ;IACxBD,UAAU,EAAE;EACd,CAAC;EACDd,UAAU,EAAE;IACVgB,KAAK,EAAE,EAAE;IACTK,MAAM,EAAE;EACV,CAAC;EACDpB,UAAU,EAAE;IACVqB,KAAK,EAAElD,MAAM,CAACmD,OAAO,CAACC,UAAU,CAACC,IAAI;IACrCC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","COLORS","HMSPreviewTitle","_ref","title","createElement","style","styles","create","color","SURFACE","ON_SURFACE","HIGH","fontSize","fontFamily","fontWeight","lineHeight","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","COLORS","HMSPreviewTitle","_ref","title","createElement","style","styles","create","color","SURFACE","ON_SURFACE","HIGH","fontSize","fontFamily","fontWeight","lineHeight","textAlign"],"sourceRoot":"../../../src","sources":["components/HMSPreviewTitle.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAE/C,SAASC,MAAM,QAAQ,gBAAgB;AAMvC,OAAO,MAAMC,eAA+C,GAAGC,IAAA,IAEzD;EAAA,IAF0D;IAC9DC,KAAK,GAAG;EACV,CAAC,GAAAD,IAAA;EACC,oBAAOL,KAAA,CAAAO,aAAA,CAACL,IAAI;IAACM,KAAK,EAAEC,MAAM,CAACH;EAAM,GAAEA,KAAY,CAAC;AAClD,CAAC;AAED,MAAMG,MAAM,GAAGR,UAAU,CAACS,MAAM,CAAC;EAC/BJ,KAAK,EAAE;IACLK,KAAK,EAAER,MAAM,CAACS,OAAO,CAACC,UAAU,CAACC,IAAI;IACrCC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,EAAE;IACdC,SAAS,EAAE;EACb;AACF,CAAC,CAAC"}
|