react_hsbc_teller 0.2.4 → 0.2.5
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/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/common/websocket.js +1 -1
- package/packages/pages/foot/foot.jsx +12 -12
- package/packages/pages/foot/foot.less +1 -1
- package/packages/pages/header/header.less +5 -5
- package/packages/pages/video/video.jsx +39 -31
- package/packages/pages/video/video.less +2 -0
package/package.json
CHANGED
|
@@ -183,7 +183,7 @@ function bind() {
|
|
|
183
183
|
function auth(val) {
|
|
184
184
|
// Base64编码
|
|
185
185
|
console.log('www');
|
|
186
|
-
const token = window.btoa(`${JSON.parse(window.sessionStorage.getItem('sigData')).account}@${JSON.parse(window.sessionStorage.getItem('sigData')).hostname}\0` + '
|
|
186
|
+
const token = window.btoa(`${JSON.parse(window.sessionStorage.getItem('sigData')).account}@${JSON.parse(window.sessionStorage.getItem('sigData')).hostname}\0` + `${JSON.parse(window.sessionStorage.getItem('sigData')).openfireToken}`);
|
|
187
187
|
const message = {
|
|
188
188
|
auth: {
|
|
189
189
|
'-xmlns': 'urn:ietf:params:xml:ns:xmpp-sasl',
|
|
@@ -59,7 +59,7 @@ export default class foot extends Component {
|
|
|
59
59
|
<div>
|
|
60
60
|
{customerList.map((item)=>{
|
|
61
61
|
return <div className="customer" onClick={this.customerFaceClick.bind(this,item)}>
|
|
62
|
-
<img alt="" src={require("../../assets/img/youke.png").default} />
|
|
62
|
+
<img className="imgClass" alt="" src={require("../../assets/img/youke.png").default} />
|
|
63
63
|
<li className="listLi" key={item.customerId}>{item.name}</li>
|
|
64
64
|
</div>
|
|
65
65
|
}
|
|
@@ -71,49 +71,49 @@ export default class foot extends Component {
|
|
|
71
71
|
<div className="foot">
|
|
72
72
|
<div className="total">
|
|
73
73
|
<div className="one" onClick={this.voice.bind(this)}>
|
|
74
|
-
<img src={img} alt="" />
|
|
74
|
+
<img className="imgClass" src={img} alt="" />
|
|
75
75
|
<div className="text">
|
|
76
76
|
静音
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
79
79
|
<div className="one" onClick={this.cameraClick.bind(this)}>
|
|
80
|
-
<img src={cameraImg} alt="" />
|
|
80
|
+
<img className="imgClass" src={cameraImg} alt="" />
|
|
81
81
|
<div className="text">
|
|
82
82
|
摄像头
|
|
83
83
|
</div>
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<div className="total totalTwo">
|
|
87
|
-
<div className="one" onClick={this.switchExternal.bind(this)}>
|
|
87
|
+
{/* <div className="one" onClick={this.switchExternal.bind(this)}>
|
|
88
88
|
<img src={require("../../assets/img/huazhonghua.png").default} alt="" />
|
|
89
89
|
<div className="text">
|
|
90
90
|
切换到RM白板
|
|
91
91
|
</div>
|
|
92
|
-
</div>
|
|
92
|
+
</div> */}
|
|
93
93
|
{
|
|
94
94
|
isTranscribing &&
|
|
95
95
|
<div className="one" onClick={this.transcribingClick.bind(this)}>
|
|
96
|
-
<img src={require("../../assets/img/icon_copy.png").default} alt="" />
|
|
96
|
+
<img className="imgClass"src={require("../../assets/img/icon_copy.png").default} alt="" />
|
|
97
97
|
<div className="text">
|
|
98
98
|
签字
|
|
99
99
|
</div>
|
|
100
100
|
</div>
|
|
101
101
|
}
|
|
102
102
|
<div className="one" onClick={this.sharedScreen.bind(this)}>
|
|
103
|
-
<img src={require("../../assets/img/Projection_screen.png").default} alt="" />
|
|
103
|
+
<img className="imgClass" src={require("../../assets/img/Projection_screen.png").default} alt="" />
|
|
104
104
|
<div className="text">
|
|
105
105
|
{screenName}
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
<div className="one" onClick={this.suspend.bind(this)}>
|
|
109
|
-
<img src={require("../../assets/img/icon_suspend.png").default} alt="" />
|
|
109
|
+
<img className="imgClass" src={require("../../assets/img/icon_suspend.png").default} alt="" />
|
|
110
110
|
<div className="text">
|
|
111
111
|
{suspendName}
|
|
112
112
|
</div>
|
|
113
113
|
</div>
|
|
114
114
|
<Popover content={content} trigger="click" visible={this.state.clicked}>
|
|
115
115
|
<div className="one" onClick={this.facialRecognition.bind(this)}>
|
|
116
|
-
<img src={require("../../assets/img/Face_recognition.png").default} alt="" />
|
|
116
|
+
<img className="imgClass" src={require("../../assets/img/Face_recognition.png").default} alt="" />
|
|
117
117
|
<div className="text">
|
|
118
118
|
人脸识别
|
|
119
119
|
</div>
|
|
@@ -121,14 +121,14 @@ export default class foot extends Component {
|
|
|
121
121
|
</Popover>
|
|
122
122
|
|
|
123
123
|
<div className="one" onClick={this.invitationClick.bind(this)}>
|
|
124
|
-
<img src={require("../../assets/img/icon_invitation.png").default} alt="" />
|
|
124
|
+
<img className="imgClass" src={require("../../assets/img/icon_invitation.png").default} alt="" />
|
|
125
125
|
<div className="text">
|
|
126
126
|
邀请
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
129
|
<Popover content={content} trigger="click" visible={this.state.clickedOcr}>
|
|
130
130
|
<div className="one" onClick={this.ocrClick.bind(this)}>
|
|
131
|
-
<img src={require("../../assets/img/icon_ocr.png").default} alt="" />
|
|
131
|
+
<img className="imgClass" src={require("../../assets/img/icon_ocr.png").default} alt="" />
|
|
132
132
|
<div className="text">
|
|
133
133
|
OCR识别
|
|
134
134
|
</div>
|
|
@@ -136,7 +136,7 @@ export default class foot extends Component {
|
|
|
136
136
|
</Popover>
|
|
137
137
|
|
|
138
138
|
<div className="one" onClick={this.pictureInPicture.bind(this)}>
|
|
139
|
-
<img src={require("../../assets/img/huazhonghua.png").default} alt="" />
|
|
139
|
+
<img className="imgClass" src={require("../../assets/img/huazhonghua.png").default} alt="" />
|
|
140
140
|
<div className="text">
|
|
141
141
|
画中画
|
|
142
142
|
</div>
|
|
@@ -523,6 +523,28 @@ class Video extends Component {
|
|
|
523
523
|
if (Mival.sessionId == this.state.sessionId) {
|
|
524
524
|
this.props.signatureCallback()
|
|
525
525
|
}
|
|
526
|
+
} else if (Mival.typeId == 1218) {
|
|
527
|
+
if (Mival.sessionId == this.state.sessionId) {
|
|
528
|
+
// 1-开启,2-关闭
|
|
529
|
+
if(Mival.type == 1) {
|
|
530
|
+
this.switchExternal()
|
|
531
|
+
} else if(Mival.type == 2) {
|
|
532
|
+
if(this.state.isSharedScreen) {
|
|
533
|
+
this.setState({
|
|
534
|
+
isWhiteboard: false,
|
|
535
|
+
})
|
|
536
|
+
}else {
|
|
537
|
+
this.test_controller.UnPublish(document.getElementById('video10').name)
|
|
538
|
+
this.setState({
|
|
539
|
+
isPDF: false,
|
|
540
|
+
isSelect: 'video',
|
|
541
|
+
isWhiteboard: false,
|
|
542
|
+
})
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
}
|
|
547
|
+
|
|
526
548
|
}
|
|
527
549
|
};
|
|
528
550
|
|
|
@@ -1097,37 +1119,23 @@ class Video extends Component {
|
|
|
1097
1119
|
this.setState({
|
|
1098
1120
|
loading: true,
|
|
1099
1121
|
})
|
|
1100
|
-
console.log(this.props.resourcePath + "/log4b.js")
|
|
1101
1122
|
const _dependScripts = [
|
|
1102
1123
|
// https://counter-web.leimondata.cn:7199
|
|
1103
|
-
this.props.resourcePath + "/
|
|
1104
|
-
this.props.resourcePath + "/
|
|
1124
|
+
this.props.resourcePath + "/adapter.js",
|
|
1125
|
+
this.props.resourcePath + "/getMediaInfo.js",
|
|
1126
|
+
this.props.resourcePath + "/pdf.js",
|
|
1127
|
+
this.props.resourcePath + "/EBML.js",
|
|
1105
1128
|
this.props.resourcePath + "/mcu.js",
|
|
1106
|
-
this.props.resourcePath + "/
|
|
1129
|
+
this.props.resourcePath + "/meeting_desk_stream.js",
|
|
1130
|
+
this.props.resourcePath + "/meeting_html_stream.js",
|
|
1131
|
+
this.props.resourcePath + "/meeting_file_stream.js",
|
|
1132
|
+
this.props.resourcePath + "/meeting_im.js",
|
|
1107
1133
|
this.props.resourcePath + "/meeting_vod.js",
|
|
1108
|
-
this.props.resourcePath + "/remote_record.js",
|
|
1109
1134
|
this.props.resourcePath + "/meeting_invite.js",
|
|
1110
|
-
this.props.resourcePath + "/
|
|
1135
|
+
this.props.resourcePath + "/client_record.js",
|
|
1136
|
+
this.props.resourcePath + "/remote_record.js",
|
|
1111
1137
|
this.props.resourcePath + "/meeting_camera_stream.js",
|
|
1112
|
-
this.props.resourcePath + "/meeting_file_stream.js",
|
|
1113
|
-
this.props.resourcePath + "/meeting_desk_stream.js",
|
|
1114
|
-
this.props.resourcePath + "/meeting_html_stream.js",
|
|
1115
|
-
this.props.resourcePath + "/meeting_beautify_stream.js",
|
|
1116
|
-
this.props.resourcePath + "/stream.js",
|
|
1117
|
-
this.props.resourcePath + "/room.js",
|
|
1118
|
-
this.props.resourcePath + "/backgroundBlur.js",
|
|
1119
1138
|
this.props.resourcePath + "/meeting_api.js",
|
|
1120
|
-
this.props.resourcePath + "/html2image.js",
|
|
1121
|
-
this.props.resourcePath + "/reconnecting-websocket.min.js",
|
|
1122
|
-
this.props.resourcePath + "/mtc_api.js",
|
|
1123
|
-
this.props.resourcePath + "/BandwidthHandler.js",
|
|
1124
|
-
this.props.resourcePath + "/RecordRTC.min.js",
|
|
1125
|
-
// "https://gw.alipayobjects.com/os/lib/recordrtc/5.5.9/RecordRTC.min.js",
|
|
1126
|
-
this.props.resourcePath + "/pdf.js",
|
|
1127
|
-
this.props.resourcePath + "/EBML.js",
|
|
1128
|
-
this.props.resourcePath + "/adapter.js",
|
|
1129
|
-
this.props.resourcePath + "/beauty.js",
|
|
1130
|
-
this.props.resourcePath + "/getMediaInfo.js",
|
|
1131
1139
|
]
|
|
1132
1140
|
const that = this
|
|
1133
1141
|
let i = 0
|
|
@@ -1697,7 +1705,7 @@ class Video extends Component {
|
|
|
1697
1705
|
/>
|
|
1698
1706
|
<audio id="audio1" autoPlay />
|
|
1699
1707
|
<label style={{ display: 'none' }} id="feedId1" type="text" />
|
|
1700
|
-
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView1" width="
|
|
1708
|
+
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView1" width="20" height="50"></canvas>
|
|
1701
1709
|
</div>
|
|
1702
1710
|
</div>
|
|
1703
1711
|
<div
|
|
@@ -1736,7 +1744,7 @@ class Video extends Component {
|
|
|
1736
1744
|
/>
|
|
1737
1745
|
<audio id="audio1" autoPlay />
|
|
1738
1746
|
<label style={{ display: 'none' }} id="publish_streamId1" type="text" />
|
|
1739
|
-
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="publish_volumeView" width="
|
|
1747
|
+
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="publish_volumeView" width="20" height="50"></canvas>
|
|
1740
1748
|
</div>
|
|
1741
1749
|
|
|
1742
1750
|
</div>
|
|
@@ -1751,7 +1759,7 @@ class Video extends Component {
|
|
|
1751
1759
|
/>
|
|
1752
1760
|
<audio id="audio2" autoPlay />
|
|
1753
1761
|
<label style={{ display: 'none' }} id="feedId2" type="text" />
|
|
1754
|
-
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView2" width="
|
|
1762
|
+
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView2" width="20" height="50"></canvas>
|
|
1755
1763
|
</div>
|
|
1756
1764
|
</div>
|
|
1757
1765
|
<div className={`itemed ${this.state.isBigVideo == 'video3' ? 'item1' : ""}`}
|
|
@@ -1764,7 +1772,7 @@ class Video extends Component {
|
|
|
1764
1772
|
/>
|
|
1765
1773
|
<audio id="audio3" autoPlay />
|
|
1766
1774
|
<label style={{ display: 'none' }} id="feedId3" type="text" />
|
|
1767
|
-
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView3" width="
|
|
1775
|
+
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView3" width="20" height="50"></canvas>
|
|
1768
1776
|
</div>
|
|
1769
1777
|
<div className={`itemed ${this.state.isBigVideo == 'video4' ? 'item1' : ""}`}
|
|
1770
1778
|
onClick={this.enlargeClick.bind(this, 'isLangVideo4')}>
|
|
@@ -1776,7 +1784,7 @@ class Video extends Component {
|
|
|
1776
1784
|
/>
|
|
1777
1785
|
<audio id="audio4" autoPlay />
|
|
1778
1786
|
<label style={{ display: 'none' }} id="feedId4" type="text" />
|
|
1779
|
-
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView4" width="
|
|
1787
|
+
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView4" width="20" height="50"></canvas>
|
|
1780
1788
|
</div>
|
|
1781
1789
|
<div className={`itemed ${this.state.isBigVideo == 'video5' ? 'item1' : ""}`}
|
|
1782
1790
|
onClick={this.enlargeClick.bind(this, 'isLangVideo5')}>
|
|
@@ -1788,7 +1796,7 @@ class Video extends Component {
|
|
|
1788
1796
|
/>
|
|
1789
1797
|
<audio id="audio5" autoPlay />
|
|
1790
1798
|
<label style={{ display: 'none' }} id="feedId5" type="text" />
|
|
1791
|
-
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView5" width="
|
|
1799
|
+
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView5" width="20" height="50"></canvas>
|
|
1792
1800
|
</div>
|
|
1793
1801
|
<div onClick={this.enlargeClick.bind(this, 'isLangVideo6')} className={`${this.state.isBigVideo == 'video6' ? 'item1' : "itemed"}`}>
|
|
1794
1802
|
{/* <div style={{ display: (this.state.isPDF) ? '' : 'none', }} id="touBoxItem">
|
|
@@ -1803,7 +1811,7 @@ class Video extends Component {
|
|
|
1803
1811
|
/>
|
|
1804
1812
|
<audio id="audio6" autoPlay />
|
|
1805
1813
|
<label style={{ display: 'none' }} id="feedId6" type="text" />
|
|
1806
|
-
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView6" width="
|
|
1814
|
+
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="subscribe_volumeView6" width="20" height="50"></canvas>
|
|
1807
1815
|
{/* </div> */}
|
|
1808
1816
|
|
|
1809
1817
|
</div>
|