whyuzeim 1.1.148 → 1.1.150
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/cjs/IM/style/index.scss +8 -8
- package/cjs/index.js +14 -14
- package/es/IM/style/index.scss +8 -8
- package/es/index.js +14 -14
- package/package.json +1 -1
package/cjs/IM/style/index.scss
CHANGED
|
@@ -217,13 +217,13 @@
|
|
|
217
217
|
// Tooltip light theme styles
|
|
218
218
|
.ant-tooltip {
|
|
219
219
|
.ant-tooltip-inner {
|
|
220
|
-
background-color: #ffffff
|
|
221
|
-
color: rgba(0, 0, 0, 0.85)
|
|
222
|
-
border: 1px solid rgba(0, 0, 0, 0.1)
|
|
220
|
+
background-color: #ffffff ;
|
|
221
|
+
color: rgba(0, 0, 0, 0.85) ;
|
|
222
|
+
border: 1px solid rgba(0, 0, 0, 0.1) ;
|
|
223
223
|
border-radius: 8px !important;
|
|
224
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)
|
|
225
|
-
padding: 4px
|
|
226
|
-
min-width: 120px
|
|
224
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) ;
|
|
225
|
+
padding: 4px ;
|
|
226
|
+
min-width: 120px ;
|
|
227
227
|
|
|
228
228
|
.yuze-conversationList-header-right-tooltip-item {
|
|
229
229
|
color: rgba(0, 0, 0, 0.85) !important;
|
|
@@ -260,8 +260,8 @@
|
|
|
260
260
|
|
|
261
261
|
.ant-tooltip-arrow {
|
|
262
262
|
&::before {
|
|
263
|
-
background-color: #ffffff
|
|
264
|
-
border: 1px solid rgba(0, 0, 0, 0.1)
|
|
263
|
+
background-color: #ffffff ;
|
|
264
|
+
border: 1px solid rgba(0, 0, 0, 0.1) ;
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
}
|
package/cjs/index.js
CHANGED
|
@@ -137544,8 +137544,8 @@ var Chatbox = function Chatbox(props) {
|
|
|
137544
137544
|
contextHolder = _Modal$useModal2[1];
|
|
137545
137545
|
var _useState3 = React.useState(undefined),
|
|
137546
137546
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
137547
|
-
tokenInfo = _useState4[0]
|
|
137548
|
-
|
|
137547
|
+
tokenInfo = _useState4[0];
|
|
137548
|
+
_useState4[1];
|
|
137549
137549
|
var _useState5 = React.useState({
|
|
137550
137550
|
headerImageURL: "",
|
|
137551
137551
|
conversationName: "",
|
|
@@ -138047,18 +138047,18 @@ var Chatbox = function Chatbox(props) {
|
|
|
138047
138047
|
}, [currentConversation]);
|
|
138048
138048
|
var _useState11 = React.useState(true),
|
|
138049
138049
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
138050
|
-
isFree = _useState12[0]
|
|
138051
|
-
|
|
138052
|
-
|
|
138053
|
-
|
|
138054
|
-
|
|
138055
|
-
|
|
138056
|
-
|
|
138057
|
-
|
|
138058
|
-
|
|
138059
|
-
|
|
138060
|
-
|
|
138061
|
-
},
|
|
138050
|
+
isFree = _useState12[0];
|
|
138051
|
+
_useState12[1];
|
|
138052
|
+
// useEffect(()=>{
|
|
138053
|
+
// http.post('/api/agora/validatePrivateChatToken',{
|
|
138054
|
+
// targetWalletAddress: currentConversation.conversationId
|
|
138055
|
+
// }).then(res=>{
|
|
138056
|
+
// if(res.data.code === 200){
|
|
138057
|
+
// setTokenInfo(res.data.data.tokenInfo);
|
|
138058
|
+
// setIsFree(res.data.data.canChat);
|
|
138059
|
+
// }
|
|
138060
|
+
// })
|
|
138061
|
+
// },[currentConversation.conversationId])
|
|
138062
138062
|
// useEffect(()=>{
|
|
138063
138063
|
// const cuiScrollList = document.querySelector(".cui-messageList .cui-scrollList div");
|
|
138064
138064
|
// const generatingLoader = document.querySelector("#agent-generating-loader");
|
package/es/IM/style/index.scss
CHANGED
|
@@ -217,13 +217,13 @@
|
|
|
217
217
|
// Tooltip light theme styles
|
|
218
218
|
.ant-tooltip {
|
|
219
219
|
.ant-tooltip-inner {
|
|
220
|
-
background-color: #ffffff
|
|
221
|
-
color: rgba(0, 0, 0, 0.85)
|
|
222
|
-
border: 1px solid rgba(0, 0, 0, 0.1)
|
|
220
|
+
background-color: #ffffff ;
|
|
221
|
+
color: rgba(0, 0, 0, 0.85) ;
|
|
222
|
+
border: 1px solid rgba(0, 0, 0, 0.1) ;
|
|
223
223
|
border-radius: 8px !important;
|
|
224
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)
|
|
225
|
-
padding: 4px
|
|
226
|
-
min-width: 120px
|
|
224
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) ;
|
|
225
|
+
padding: 4px ;
|
|
226
|
+
min-width: 120px ;
|
|
227
227
|
|
|
228
228
|
.yuze-conversationList-header-right-tooltip-item {
|
|
229
229
|
color: rgba(0, 0, 0, 0.85) !important;
|
|
@@ -260,8 +260,8 @@
|
|
|
260
260
|
|
|
261
261
|
.ant-tooltip-arrow {
|
|
262
262
|
&::before {
|
|
263
|
-
background-color: #ffffff
|
|
264
|
-
border: 1px solid rgba(0, 0, 0, 0.1)
|
|
263
|
+
background-color: #ffffff ;
|
|
264
|
+
border: 1px solid rgba(0, 0, 0, 0.1) ;
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
}
|
package/es/index.js
CHANGED
|
@@ -137523,8 +137523,8 @@ var Chatbox = function Chatbox(props) {
|
|
|
137523
137523
|
contextHolder = _Modal$useModal2[1];
|
|
137524
137524
|
var _useState3 = useState(undefined),
|
|
137525
137525
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
137526
|
-
tokenInfo = _useState4[0]
|
|
137527
|
-
|
|
137526
|
+
tokenInfo = _useState4[0];
|
|
137527
|
+
_useState4[1];
|
|
137528
137528
|
var _useState5 = useState({
|
|
137529
137529
|
headerImageURL: "",
|
|
137530
137530
|
conversationName: "",
|
|
@@ -138026,18 +138026,18 @@ var Chatbox = function Chatbox(props) {
|
|
|
138026
138026
|
}, [currentConversation]);
|
|
138027
138027
|
var _useState11 = useState(true),
|
|
138028
138028
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
138029
|
-
isFree = _useState12[0]
|
|
138030
|
-
|
|
138031
|
-
useEffect(
|
|
138032
|
-
|
|
138033
|
-
|
|
138034
|
-
|
|
138035
|
-
|
|
138036
|
-
|
|
138037
|
-
|
|
138038
|
-
|
|
138039
|
-
|
|
138040
|
-
},
|
|
138029
|
+
isFree = _useState12[0];
|
|
138030
|
+
_useState12[1];
|
|
138031
|
+
// useEffect(()=>{
|
|
138032
|
+
// http.post('/api/agora/validatePrivateChatToken',{
|
|
138033
|
+
// targetWalletAddress: currentConversation.conversationId
|
|
138034
|
+
// }).then(res=>{
|
|
138035
|
+
// if(res.data.code === 200){
|
|
138036
|
+
// setTokenInfo(res.data.data.tokenInfo);
|
|
138037
|
+
// setIsFree(res.data.data.canChat);
|
|
138038
|
+
// }
|
|
138039
|
+
// })
|
|
138040
|
+
// },[currentConversation.conversationId])
|
|
138041
138041
|
// useEffect(()=>{
|
|
138042
138042
|
// const cuiScrollList = document.querySelector(".cui-messageList .cui-scrollList div");
|
|
138043
138043
|
// const generatingLoader = document.querySelector("#agent-generating-loader");
|