im-ui-mobile 0.1.2 → 0.1.4
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/README.md +8 -1
- package/package.json +1 -1
- package/styles/common.scss +4 -4
- package/types/index.d.ts +27 -33
- package/types/utils/websocket.d.ts +4 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/styles/common.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.none-pointer-events {
|
|
2
2
|
uni-image img {
|
|
3
3
|
// 阻止微信默认长按菜单
|
|
4
|
-
pointer-events: none;
|
|
5
|
-
-webkit-pointer-events: none;
|
|
6
|
-
-ms-pointer-events: none;
|
|
7
|
-
-moz-pointer-events: none;
|
|
4
|
+
// pointer-events: none;
|
|
5
|
+
// -webkit-pointer-events: none;
|
|
6
|
+
// -ms-pointer-events: none;
|
|
7
|
+
// -moz-pointer-events: none;
|
|
8
8
|
}
|
|
9
9
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import RecorderH5 from "./utils/recorderH5.d.ts";
|
|
|
11
11
|
import Requester from "./utils/requester.d.ts";
|
|
12
12
|
import * as url from "./utils/url.d.ts";
|
|
13
13
|
import { useDynamicRefs } from "./utils/useDynamicRefs.d.ts";
|
|
14
|
-
import WebSocket from "./utils/websocket.d.ts";
|
|
14
|
+
import { webSocket, type WebSocket } from "./utils/websocket.d.ts";
|
|
15
15
|
import type {
|
|
16
16
|
// 类型常量
|
|
17
17
|
RtcMode,
|
|
@@ -69,20 +69,39 @@ declare module 'im-ui-mobile' {
|
|
|
69
69
|
ValidationResult,
|
|
70
70
|
EmojiType,
|
|
71
71
|
EmojiCategoryType,
|
|
72
|
+
RtcMode,
|
|
73
|
+
RtcInfo,
|
|
74
|
+
Chat,
|
|
75
|
+
Message,
|
|
76
|
+
Friend,
|
|
77
|
+
OnlineTerminal,
|
|
78
|
+
MenuItem,
|
|
79
|
+
WebRTCMessage,
|
|
80
|
+
GroupMember,
|
|
81
|
+
Group,
|
|
82
|
+
UploadImageResponse,
|
|
83
|
+
SubmitItem,
|
|
84
|
+
ImageItem,
|
|
85
|
+
FileItem,
|
|
86
|
+
ApiResponse,
|
|
87
|
+
RecorderError,
|
|
88
|
+
UploadRecorderFileResponse,
|
|
89
|
+
UploadRecorderFileResult,
|
|
90
|
+
RecorderFile,
|
|
91
|
+
UserInfo,
|
|
92
|
+
Response,
|
|
93
|
+
WebSocket
|
|
72
94
|
}
|
|
73
95
|
|
|
74
|
-
//
|
|
96
|
+
// 导出函数/实例
|
|
75
97
|
export {
|
|
76
98
|
isNumber,
|
|
77
99
|
isInteger,
|
|
78
100
|
isMobilePhone,
|
|
79
101
|
isEmail,
|
|
80
102
|
isChineseIDCard,
|
|
81
|
-
validatePassword
|
|
82
|
-
}
|
|
103
|
+
validatePassword,
|
|
83
104
|
|
|
84
|
-
// 导出类型/函数
|
|
85
|
-
export {
|
|
86
105
|
getConfig,
|
|
87
106
|
eventBus,
|
|
88
107
|
datetime,
|
|
@@ -92,7 +111,7 @@ declare module 'im-ui-mobile' {
|
|
|
92
111
|
Requester,
|
|
93
112
|
url,
|
|
94
113
|
useDynamicRefs,
|
|
95
|
-
|
|
114
|
+
webSocket,
|
|
96
115
|
RecorderApp,
|
|
97
116
|
RecorderH5,
|
|
98
117
|
validator,
|
|
@@ -103,30 +122,5 @@ declare module 'im-ui-mobile' {
|
|
|
103
122
|
MESSAGE_TYPE,
|
|
104
123
|
TERMINAL_TYPE,
|
|
105
124
|
MESSAGE_STATUS,
|
|
106
|
-
|
|
107
|
-
// 类型常量
|
|
108
|
-
RtcMode,
|
|
109
|
-
RtcInfo,
|
|
110
|
-
Chat,
|
|
111
|
-
Message,
|
|
112
|
-
Friend,
|
|
113
|
-
OnlineTerminal,
|
|
114
|
-
MenuItem,
|
|
115
|
-
WebRTCMessage,
|
|
116
|
-
GroupMember,
|
|
117
|
-
Group,
|
|
118
|
-
UploadImageResponse,
|
|
119
|
-
SubmitItem,
|
|
120
|
-
ImageItem,
|
|
121
|
-
FileItem,
|
|
122
|
-
ApiResponse,
|
|
123
|
-
RecorderError,
|
|
124
|
-
UploadRecorderFileResponse,
|
|
125
|
-
UploadRecorderFileResult,
|
|
126
|
-
RecorderFile,
|
|
127
|
-
UserInfo,
|
|
128
|
-
Response
|
|
129
125
|
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// export { MESSAGE_TYPE, RTC_STATE, TERMINAL_TYPE, MESSAGE_STATUS }
|
|
126
|
+
}
|