im-ui-mobile 0.0.13 → 0.0.14
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/components/im-chat-box/{index.vue → im-chat-box.vue} +1 -1
- package/index.ts +3 -3
- package/package.json +1 -1
- package/types/index.d.ts +3 -3
- package/types/components/chat-box/index.vue.d.ts +0 -129
- package/types/components/chat-item/index.vue.d.ts +0 -43
- package/types/components/im-chat-message-item/index.vue.d.ts +0 -73
- /package/components/im-chat-item/{index.vue → im-chat-item.vue} +0 -0
- /package/components/im-chat-message-item/{index.vue → im-chat-message-item.vue} +0 -0
- /package/types/components/im-chat-box/{index.vue.d.ts → im-chat-box.vue.d.ts} +0 -0
- /package/types/components/im-chat-item/{index.vue.d.ts → im-chat-item.vue.d.ts} +0 -0
- /package/types/components/{chat-message-item/index.vue.d.ts → im-chat-message-item/im-chat-message-item.vue.d.ts} +0 -0
package/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue'
|
|
2
|
-
import ImChatItem from './components/im-chat-item/
|
|
3
|
-
import ImChatMessageItem from './components/im-chat-message-item/
|
|
4
|
-
import ImChatBox from './components/im-chat-box/
|
|
2
|
+
import ImChatItem from './components/im-chat-item/im-chat-item.vue'
|
|
3
|
+
import ImChatMessageItem from './components/im-chat-message-item/im-chat-message-item.vue'
|
|
4
|
+
import ImChatBox from './components/im-chat-box/im-chat-box.vue'
|
|
5
5
|
|
|
6
6
|
export * from './libs'
|
|
7
7
|
export * from './utils'
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import ImChatItem from './components/im-chat-item/
|
|
3
|
-
import ImChatMessageItem from './components/im-chat-message-item/
|
|
4
|
-
import ImChatBox from './components/im-chat-box/
|
|
2
|
+
import ImChatItem from './components/im-chat-item/im-chat-item.vue';
|
|
3
|
+
import ImChatMessageItem from './components/im-chat-message-item/im-chat-message-item.vue';
|
|
4
|
+
import ImChatBox from './components/im-chat-box/im-chat-box.vue';
|
|
5
5
|
export * from './libs';
|
|
6
6
|
export * from './utils';
|
|
7
7
|
declare const install: (app: App) => void;
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
title: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
messages: {
|
|
7
|
-
type: ArrayConstructor;
|
|
8
|
-
default: () => never[];
|
|
9
|
-
};
|
|
10
|
-
placeholder: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
maxlength: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
loading: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
}>, {}, {
|
|
23
|
-
inputText: string;
|
|
24
|
-
}, {}, {
|
|
25
|
-
handleSend(): void;
|
|
26
|
-
shouldShowAvatar(message: any, index: any): any;
|
|
27
|
-
scrollToBottom(): void;
|
|
28
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
-
title: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
messages: {
|
|
34
|
-
type: ArrayConstructor;
|
|
35
|
-
default: () => never[];
|
|
36
|
-
};
|
|
37
|
-
placeholder: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
maxlength: {
|
|
42
|
-
type: NumberConstructor;
|
|
43
|
-
default: number;
|
|
44
|
-
};
|
|
45
|
-
loading: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
}>> & Readonly<{}>, {
|
|
50
|
-
title: string;
|
|
51
|
-
messages: unknown[];
|
|
52
|
-
placeholder: string;
|
|
53
|
-
maxlength: number;
|
|
54
|
-
loading: boolean;
|
|
55
|
-
}, {}, {
|
|
56
|
-
ChatMessageItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
57
|
-
position: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
validator: (value: unknown) => boolean;
|
|
61
|
-
};
|
|
62
|
-
type: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
validator: (value: unknown) => boolean;
|
|
66
|
-
};
|
|
67
|
-
content: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
avatar: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
showAvatar: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
status: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
default: string;
|
|
82
|
-
validator: (value: unknown) => boolean;
|
|
83
|
-
};
|
|
84
|
-
duration: {
|
|
85
|
-
type: NumberConstructor;
|
|
86
|
-
default: number;
|
|
87
|
-
};
|
|
88
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
-
position: {
|
|
90
|
-
type: StringConstructor;
|
|
91
|
-
default: string;
|
|
92
|
-
validator: (value: unknown) => boolean;
|
|
93
|
-
};
|
|
94
|
-
type: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
|
-
validator: (value: unknown) => boolean;
|
|
98
|
-
};
|
|
99
|
-
content: {
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
avatar: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
showAvatar: {
|
|
108
|
-
type: BooleanConstructor;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
status: {
|
|
112
|
-
type: StringConstructor;
|
|
113
|
-
default: string;
|
|
114
|
-
validator: (value: unknown) => boolean;
|
|
115
|
-
};
|
|
116
|
-
duration: {
|
|
117
|
-
type: NumberConstructor;
|
|
118
|
-
default: number;
|
|
119
|
-
};
|
|
120
|
-
}>> & Readonly<{}>, {
|
|
121
|
-
position: string;
|
|
122
|
-
type: string;
|
|
123
|
-
avatar: string;
|
|
124
|
-
showAvatar: boolean;
|
|
125
|
-
status: string;
|
|
126
|
-
duration: number;
|
|
127
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
128
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
129
|
-
export default _default;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
type?: 'default' | 'group';
|
|
3
|
-
avatar?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
time: string;
|
|
6
|
-
lastMessage: string;
|
|
7
|
-
unreadCount?: number;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
-
type: string;
|
|
11
|
-
avatar: string;
|
|
12
|
-
unreadCount: number;
|
|
13
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
-
click: (event: any) => void;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
-
type: string;
|
|
17
|
-
avatar: string;
|
|
18
|
-
unreadCount: number;
|
|
19
|
-
}>>> & Readonly<{
|
|
20
|
-
onClick?: ((event: any) => any) | undefined;
|
|
21
|
-
}>, {
|
|
22
|
-
type: "default" | "group";
|
|
23
|
-
avatar: string;
|
|
24
|
-
unreadCount: number;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithDefaults<P, D> = {
|
|
37
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
-
default: D[K];
|
|
39
|
-
}> : P[K];
|
|
40
|
-
};
|
|
41
|
-
type __VLS_Prettify<T> = {
|
|
42
|
-
[K in keyof T]: T[K];
|
|
43
|
-
} & {};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
position: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
validator: (value: unknown) => boolean;
|
|
6
|
-
};
|
|
7
|
-
type: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
validator: (value: unknown) => boolean;
|
|
11
|
-
};
|
|
12
|
-
content: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
avatar: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
showAvatar: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
status: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
validator: (value: unknown) => boolean;
|
|
28
|
-
};
|
|
29
|
-
duration: {
|
|
30
|
-
type: NumberConstructor;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
-
position: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
validator: (value: unknown) => boolean;
|
|
38
|
-
};
|
|
39
|
-
type: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
validator: (value: unknown) => boolean;
|
|
43
|
-
};
|
|
44
|
-
content: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
avatar: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
showAvatar: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
status: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
validator: (value: unknown) => boolean;
|
|
60
|
-
};
|
|
61
|
-
duration: {
|
|
62
|
-
type: NumberConstructor;
|
|
63
|
-
default: number;
|
|
64
|
-
};
|
|
65
|
-
}>> & Readonly<{}>, {
|
|
66
|
-
position: string;
|
|
67
|
-
type: string;
|
|
68
|
-
avatar: string;
|
|
69
|
-
showAvatar: boolean;
|
|
70
|
-
status: string;
|
|
71
|
-
duration: number;
|
|
72
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|