Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
standalone-anyremote
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
standalone-anyremote
Commits
acde4b42
Commit
acde4b42
authored
Apr 30, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
转换绝对引入为相对引入,AnyR=>.
parent
33b42e0a
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
25 deletions
+25
-25
anyremote/agora/index.js
+3
-3
anyremote/agoraHandle.js
+9
-9
anyremote/functionals/callMsg.js
+2
-2
anyremote/functionals/chatChannel.js
+2
-2
anyremote/index.js
+3
-3
anyremote/states/chatChannelStates.js
+2
-2
anyremote/utils/generateMessageId.js
+1
-1
anyremote/ws/index.js
+3
-3
No files found.
anyremote/agora/index.js
View file @
acde4b42
import
{
chatChannelState
}
from
"
AnyR
/states/chatChannelStates"
;
import
{
webrtcStates
}
from
"
AnyR
/states/webrtcStates"
;
import
{
userStates
}
from
"
AnyR
/states/wsStates"
;
import
{
chatChannelState
}
from
"
..
/states/chatChannelStates"
;
import
{
webrtcStates
}
from
"
..
/states/webrtcStates"
;
import
{
userStates
}
from
"
..
/states/wsStates"
;
export
class
Agora
{
...
...
anyremote/agoraHandle.js
View file @
acde4b42
import
{
Agora
}
from
"
AnyR
/agora"
;
import
{
chatChannelState
,
isUserHost
}
from
"
AnyR
/states/chatChannelStates"
;
import
{
userStates
}
from
"
AnyR
/states/wsStates"
;
import
{
generateMessageId
}
from
"
AnyR
/utils/generateMessageId"
;
import
{
CallState
}
from
"
AnyR
/constants/chatChannelRelated"
;
import
{
clearStateOfChatChannel
}
from
"
AnyR
/functionals/chatChannel"
;
import
{
handleCommonCall
}
from
"
AnyR
/functionals/callMsg"
;
import
{
addMessageItemInMeeting
}
from
"
AnyR
/functionals/callMsg"
;
import
{
convertObj2FU
}
from
"
AnyR
/utils/cnvertObjectToFormData"
;
import
{
Agora
}
from
"
.
/agora"
;
import
{
chatChannelState
,
isUserHost
}
from
"
.
/states/chatChannelStates"
;
import
{
userStates
}
from
"
.
/states/wsStates"
;
import
{
generateMessageId
}
from
"
.
/utils/generateMessageId"
;
import
{
CallState
}
from
"
.
/constants/chatChannelRelated"
;
import
{
clearStateOfChatChannel
}
from
"
.
/functionals/chatChannel"
;
import
{
handleCommonCall
}
from
"
.
/functionals/callMsg"
;
import
{
addMessageItemInMeeting
}
from
"
.
/functionals/callMsg"
;
import
{
convertObj2FU
}
from
"
.
/utils/cnvertObjectToFormData"
;
export
class
AgoraHandle
{
agoraOptions
=
{}
...
...
anyremote/functionals/callMsg.js
View file @
acde4b42
import
{
chatChannelState
}
from
"
AnyR
/states/chatChannelStates"
;
import
{
getNowDate
}
from
"
AnyR
/utils/dateRelated"
;
import
{
chatChannelState
}
from
"
..
/states/chatChannelStates"
;
import
{
getNowDate
}
from
"
..
/utils/dateRelated"
;
export
function
handleCommonCall
(
msgData
)
{
if
(
msgData
.
msgData
?.
isMR
)
{
...
...
anyremote/functionals/chatChannel.js
View file @
acde4b42
import
{
chatChannelState
}
from
"
AnyR
/states/chatChannelStates"
;
import
{
CallState
}
from
"
AnyR
/constants/chatChannelRelated"
;
import
{
chatChannelState
}
from
"
..
/states/chatChannelStates"
;
import
{
CallState
}
from
"
..
/constants/chatChannelRelated"
;
export
function
clearStateOfChatChannel
()
{
chatChannelState
.
value
.
volumeSet
=
[];
...
...
anyremote/index.js
View file @
acde4b42
import
{
WSInt
}
from
"
AnyR
/ws"
;
import
{
AgoraHandle
}
from
"
AnyR
/agoraHandle"
;
import
{
userStates
}
from
"
AnyR
/states/wsStates"
;
import
{
WSInt
}
from
"
.
/ws"
;
import
{
AgoraHandle
}
from
"
.
/agoraHandle"
;
import
{
userStates
}
from
"
.
/states/wsStates"
;
export
class
AnyRemote
{
...
...
anyremote/states/chatChannelStates.js
View file @
acde4b42
import
{
computed
,
ref
}
from
"vue"
;
import
{
CallState
}
from
"
AnyR
/constants/chatChannelRelated"
;
import
{
userStates
}
from
"
AnyR
/states/wsStates"
;
import
{
CallState
}
from
"
..
/constants/chatChannelRelated"
;
import
{
userStates
}
from
"
..
/states/wsStates"
;
export
const
chatChannelState
=
ref
({
volumeSet
:
[],
...
...
anyremote/utils/generateMessageId.js
View file @
acde4b42
import
{
makeSID
}
from
"
AnyR/utils
/makeSID"
;
import
{
makeSID
}
from
"
.
/makeSID"
;
export
function
generateMessageId
()
{
return
`sid
${
makeSID
(
16
)}${
Date
.
now
()}
`
...
...
anyremote/ws/index.js
View file @
acde4b42
import
{
SocketBroadcaster
}
from
"
AnyR
/bc"
;
import
{
SocketBroadcaster
}
from
"
..
/bc"
;
import
{
currentTabIdNameGet
,
currentWSTabReceive
,
...
...
@@ -9,8 +9,8 @@ import {
wsOtherLoginNow
,
wsQueryForMain
,
wsTabCloseSet
,
}
from
"
AnyR
/ws/eventTypes"
;
import
{
userStates
}
from
"
AnyR
/states/wsStates"
;
}
from
"
..
/ws/eventTypes"
;
import
{
userStates
}
from
"
..
/states/wsStates"
;
export
class
WSInt
{
static
BCName
=
'WSInt'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment