im-ui-mobile 0.0.15 → 0.0.16
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/index.ts +2 -2
- package/package.json +2 -1
- package/types/index.d.ts +1 -1
package/index.ts
CHANGED
|
@@ -7,7 +7,7 @@ export * from './libs'
|
|
|
7
7
|
export * from './utils'
|
|
8
8
|
|
|
9
9
|
// 重要:为组件添加名称,以支持开发环境
|
|
10
|
-
ImChat.name = '
|
|
10
|
+
ImChat.name = 'ImChat'
|
|
11
11
|
// ImChatMessageItem.name = 'ImChatMessageItem'
|
|
12
12
|
// ImChatBox.name = 'ImChatBox'
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ const install = (app: App): void => {
|
|
|
25
25
|
|
|
26
26
|
// 导出组件
|
|
27
27
|
export {
|
|
28
|
-
ImChat
|
|
28
|
+
ImChat,
|
|
29
29
|
// ImChatMessageItem,
|
|
30
30
|
// ImChatBox,
|
|
31
31
|
install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "im-ui-mobile",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "A Vue3.0 + typescript instant messaging component library for Uniapp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"dev": "cd examples && npm run dev:mp-weixin",
|
|
17
|
+
"h5": "cd examples && npm run dev:h5",
|
|
17
18
|
"build": "npm run build:types",
|
|
18
19
|
"build:types": "vue-tsc -p tsconfig.build.json",
|
|
19
20
|
"clean:types": "rmdir /s /q src/types 2>nul # '删除 types 目录'",
|
package/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import ImChat from './components/im-chat/im-chat.vue';
|
|
|
3
3
|
export * from './libs';
|
|
4
4
|
export * from './utils';
|
|
5
5
|
declare const install: (app: App) => void;
|
|
6
|
-
export { ImChat
|
|
6
|
+
export { ImChat, install };
|
|
7
7
|
declare const _default: {
|
|
8
8
|
install: (app: App<any>) => void;
|
|
9
9
|
};
|