im-ui-mobile 0.1.22 → 0.1.23
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/package.json +1 -1
- package/types/index.d.ts +20 -18
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/// <reference path="./components
|
|
1
|
+
/// <reference path="./components" />
|
|
2
2
|
|
|
3
|
-
import eventBus from "./utils/eventBus
|
|
4
|
-
import datetime from "./utils/datetime
|
|
5
|
-
import Emoji from "./utils/emoji
|
|
6
|
-
import { MESSAGE_TYPE, RTC_STATE, TERMINAL_TYPE, MESSAGE_STATUS } from "./utils/enums
|
|
7
|
-
import * as dom from "./utils/dom
|
|
8
|
-
import messageType from "./utils/messageType
|
|
9
|
-
import RecorderApp from "./utils/recorderApp
|
|
10
|
-
import RecorderH5 from "./utils/recorderH5
|
|
11
|
-
import Requester from "./utils/requester
|
|
12
|
-
import * as url from "./utils/url
|
|
13
|
-
import { useDynamicRefs } from "./utils/useDynamicRefs
|
|
14
|
-
import { webSocket, type WebSocket } from "./utils/websocket
|
|
3
|
+
import eventBus from "./utils/eventBus";
|
|
4
|
+
import datetime from "./utils/datetime";
|
|
5
|
+
import Emoji from "./utils/emoji";
|
|
6
|
+
import { MESSAGE_TYPE, RTC_STATE, TERMINAL_TYPE, MESSAGE_STATUS } from "./utils/enums";
|
|
7
|
+
import * as dom from "./utils/dom";
|
|
8
|
+
import messageType from "./utils/messageType";
|
|
9
|
+
import RecorderApp from "./utils/recorderApp";
|
|
10
|
+
import RecorderH5 from "./utils/recorderH5";
|
|
11
|
+
import Requester from "./utils/requester";
|
|
12
|
+
import * as url from "./utils/url";
|
|
13
|
+
import { useDynamicRefs } from "./utils/useDynamicRefs";
|
|
14
|
+
import { webSocket, type WebSocket } from "./utils/websocket";
|
|
15
15
|
import type {
|
|
16
16
|
RtcMode,
|
|
17
17
|
RtcInfo,
|
|
@@ -46,11 +46,11 @@ import validator, {
|
|
|
46
46
|
isEmail,
|
|
47
47
|
isChineseIDCard,
|
|
48
48
|
validatePassword
|
|
49
|
-
} from './utils/validator
|
|
49
|
+
} from './utils/validator'
|
|
50
50
|
import { EmojiType, EmojiCategoryType } from './components/emoji-picker'
|
|
51
|
-
import * as base64 from "./utils/base64
|
|
52
|
-
import {
|
|
53
|
-
|
|
51
|
+
import * as base64 from "./utils/base64"
|
|
52
|
+
import { Upload } from './components/upload'
|
|
53
|
+
import type {
|
|
54
54
|
UploadFile,
|
|
55
55
|
UploadFileStatus,
|
|
56
56
|
UploadProps,
|
|
@@ -98,7 +98,6 @@ declare module 'im-ui-mobile' {
|
|
|
98
98
|
Response,
|
|
99
99
|
WebSocket,
|
|
100
100
|
|
|
101
|
-
Upload,
|
|
102
101
|
UploadFile,
|
|
103
102
|
UploadFileStatus,
|
|
104
103
|
UploadProps,
|
|
@@ -134,6 +133,9 @@ declare module 'im-ui-mobile' {
|
|
|
134
133
|
MESSAGE_TYPE,
|
|
135
134
|
TERMINAL_TYPE,
|
|
136
135
|
MESSAGE_STATUS,
|
|
136
|
+
|
|
137
|
+
// 组件
|
|
138
|
+
Upload,
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
|