vue-color-ui 0.0.6 → 0.0.8
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 +4 -3
- package/types/pkg/Base/Avatar.vue.d.ts +43 -0
- package/types/pkg/Base/AvatarGroup.vue.d.ts +39 -0
- package/types/pkg/Base/Button.vue.d.ts +60 -0
- package/types/pkg/Base/Icon.vue.d.ts +36 -0
- package/types/pkg/Base/Tag.vue.d.ts +58 -0
- package/types/pkg/Base/Title.vue.d.ts +64 -0
- package/types/pkg/Base/index.d.ts +7 -0
- package/types/pkg/ChatList/ChatListItem.vue.d.ts +50 -0
- package/types/pkg/ChatList/index.d.ts +2 -0
- package/types/pkg/ChatList/index.vue.d.ts +24 -0
- package/types/pkg/ChatRoom/index.d.ts +2 -0
- package/types/pkg/ChatRoom/index.vue.d.ts +15 -0
- package/types/pkg/GridGroup/index.d.ts +2 -0
- package/types/pkg/GridGroup/index.vue.d.ts +68 -0
- package/types/pkg/InputBar/index.d.ts +2 -0
- package/types/pkg/InputBar/index.vue.d.ts +35 -0
- package/types/pkg/Menu/index.d.ts +2 -0
- package/types/pkg/Menu/index.vue.d.ts +184 -0
- package/types/pkg/NavBar/index.d.ts +2 -0
- package/types/pkg/NavBar/index.vue.d.ts +97 -0
- package/types/pkg/NavCard/index.d.ts +2 -0
- package/types/pkg/NavCard/index.vue.d.ts +25 -0
- package/types/pkg/NewCard/index.d.ts +2 -0
- package/types/pkg/NewCard/index.vue.d.ts +89 -0
- package/types/pkg/SearchBar/index.d.ts +2 -0
- package/types/pkg/SearchBar/index.vue.d.ts +46 -0
- package/types/pkg/ShareCard/index.d.ts +2 -0
- package/types/pkg/ShareCard/index.vue.d.ts +132 -0
- package/types/pkg/Steps/index.d.ts +2 -0
- package/types/pkg/Steps/index.vue.d.ts +42 -0
- package/types/pkg/Tab/TTab.vue.d.ts +50 -0
- package/types/pkg/Tab/index.d.ts +4 -0
- package/types/pkg/Tab/index.vue.d.ts +71 -0
- package/types/pkg/TimeLine/index.d.ts +2 -0
- package/types/pkg/TimeLine/index.vue.d.ts +34 -0
- package/types/pkg/TopBar/index.d.ts +2 -0
- package/types/pkg/TopBar/index.vue.d.ts +49 -0
- package/types/pkg/index.d.ts +21 -0
- package/types/pkg/modal/index.d.ts +2 -0
- package/types/pkg/modal/index.vue.d.ts +36 -0
- package/types/src/App.vue.d.ts +2 -0
- package/types/src/components/HelloWorld.vue.d.ts +15 -0
- package/types/src/main.d.ts +1 -0
- package/types/utils/size.d.ts +24 -0
package/package.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"name": "vue-color-ui",
|
|
3
3
|
"description": "ColorUI 临时代替的版本",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.8",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "vite",
|
|
10
|
-
"build": "vue-tsc --declaration --emitDeclarationOnly --outDir
|
|
10
|
+
"build": "vue-tsc --declaration --emitDeclarationOnly --outDir types && vite build",
|
|
11
11
|
"preview": "vite preview",
|
|
12
12
|
"rele": "npm run build && npm version patch && npm publish",
|
|
13
13
|
"push": "git add . && read -p '请输入本次更新: \n' msg && git commit -m \"$msg\" && git push -u origin master"
|
|
@@ -25,12 +25,13 @@
|
|
|
25
25
|
"files": [
|
|
26
26
|
"lib/*",
|
|
27
27
|
"type/*",
|
|
28
|
+
"types/*",
|
|
28
29
|
"Readme.md",
|
|
29
30
|
"package.json"
|
|
30
31
|
],
|
|
31
32
|
"main": "./lib/temp-color-ui.umd.cjs",
|
|
32
33
|
"module": "./lib/temp-color-ui.js",
|
|
33
|
-
"types": "./
|
|
34
|
+
"types": "./types/pkg/index.d.ts",
|
|
34
35
|
"exports": {
|
|
35
36
|
".": {
|
|
36
37
|
"import": "./lib/temp-color-ui.js",
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
url?: string | undefined;
|
|
3
|
+
size?: "sm" | "lg" | "xl" | undefined;
|
|
4
|
+
mode?: "radius" | "round" | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
size: string;
|
|
7
|
+
mode: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
url?: string | undefined;
|
|
10
|
+
size?: "sm" | "lg" | "xl" | undefined;
|
|
11
|
+
mode?: "radius" | "round" | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
size: string;
|
|
14
|
+
mode: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
size: "sm" | "lg" | "xl";
|
|
17
|
+
mode: "round" | "radius";
|
|
18
|
+
}, {}>, {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToOption<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
urls?: string[] | undefined;
|
|
3
|
+
size?: "sm" | "lg" | "xl" | undefined;
|
|
4
|
+
mode?: "radius" | "round" | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
urls: () => never[];
|
|
7
|
+
size: string;
|
|
8
|
+
mode: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
+
urls?: string[] | undefined;
|
|
11
|
+
size?: "sm" | "lg" | "xl" | undefined;
|
|
12
|
+
mode?: "radius" | "round" | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
urls: () => never[];
|
|
15
|
+
size: string;
|
|
16
|
+
mode: string;
|
|
17
|
+
}>>>, {
|
|
18
|
+
size: "sm" | "lg" | "xl";
|
|
19
|
+
mode: "round" | "radius";
|
|
20
|
+
urls: string[];
|
|
21
|
+
}, {}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToOption<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
text?: string | undefined;
|
|
3
|
+
bg?: BgColorName | undefined;
|
|
4
|
+
size?: string | undefined;
|
|
5
|
+
rounded?: boolean | undefined;
|
|
6
|
+
icon?: string | undefined;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
shadow?: boolean | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
bg: string;
|
|
11
|
+
size: string;
|
|
12
|
+
rounded: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
shadow: boolean;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
+
text?: string | undefined;
|
|
17
|
+
bg?: BgColorName | undefined;
|
|
18
|
+
size?: string | undefined;
|
|
19
|
+
rounded?: boolean | undefined;
|
|
20
|
+
icon?: string | undefined;
|
|
21
|
+
disabled?: boolean | undefined;
|
|
22
|
+
shadow?: boolean | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
bg: string;
|
|
25
|
+
size: string;
|
|
26
|
+
rounded: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
shadow: boolean;
|
|
29
|
+
}>>>, {
|
|
30
|
+
bg: BgColorName;
|
|
31
|
+
shadow: boolean;
|
|
32
|
+
rounded: boolean;
|
|
33
|
+
size: string;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
}, {}>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
+
type __VLS_TypePropsToOption<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
+
} : {
|
|
57
|
+
type: import('vue').PropType<T[K]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
name: IconName;
|
|
3
|
+
color?: ColorName | undefined;
|
|
4
|
+
size?: SizeType | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
color: string;
|
|
7
|
+
size: number;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
name: IconName;
|
|
10
|
+
color?: ColorName | undefined;
|
|
11
|
+
size?: SizeType | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
color: string;
|
|
14
|
+
size: number;
|
|
15
|
+
}>>>, {
|
|
16
|
+
color: ColorName;
|
|
17
|
+
size: number | SizeType;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithDefaults<P, D> = {
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
22
|
+
default: D[K];
|
|
23
|
+
}> : P[K];
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Prettify<T> = {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} & {};
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
text?: string | undefined;
|
|
3
|
+
bg?: BgColorName | undefined;
|
|
4
|
+
size?: string | undefined;
|
|
5
|
+
shape?: string | undefined;
|
|
6
|
+
light?: boolean | undefined;
|
|
7
|
+
line?: boolean | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
bg: string;
|
|
10
|
+
size: string;
|
|
11
|
+
shape: string;
|
|
12
|
+
light: boolean;
|
|
13
|
+
line: boolean;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
15
|
+
text?: string | undefined;
|
|
16
|
+
bg?: BgColorName | undefined;
|
|
17
|
+
size?: string | undefined;
|
|
18
|
+
shape?: string | undefined;
|
|
19
|
+
light?: boolean | undefined;
|
|
20
|
+
line?: boolean | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
bg: string;
|
|
23
|
+
size: string;
|
|
24
|
+
shape: string;
|
|
25
|
+
light: boolean;
|
|
26
|
+
line: boolean;
|
|
27
|
+
}>>>, {
|
|
28
|
+
bg: BgColorName;
|
|
29
|
+
line: boolean;
|
|
30
|
+
size: string;
|
|
31
|
+
shape: string;
|
|
32
|
+
light: boolean;
|
|
33
|
+
}, {}>, {
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
}> : P[K];
|
|
41
|
+
};
|
|
42
|
+
type __VLS_Prettify<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToOption<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
title?: string | undefined;
|
|
3
|
+
deputy?: string | undefined;
|
|
4
|
+
icon?: IconName | undefined;
|
|
5
|
+
color?: ColorName | undefined;
|
|
6
|
+
decorateColor?: BgColorName | undefined;
|
|
7
|
+
mode?: "default1" | "default2" | "default3" | "default4" | "icon-title" | "bilingual" | undefined;
|
|
8
|
+
center?: boolean | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
title: string;
|
|
11
|
+
deputy: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
center: boolean;
|
|
14
|
+
color: string;
|
|
15
|
+
decorateColor: string;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
deputy?: string | undefined;
|
|
19
|
+
icon?: IconName | undefined;
|
|
20
|
+
color?: ColorName | undefined;
|
|
21
|
+
decorateColor?: BgColorName | undefined;
|
|
22
|
+
mode?: "default1" | "default2" | "default3" | "default4" | "icon-title" | "bilingual" | undefined;
|
|
23
|
+
center?: boolean | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
title: string;
|
|
26
|
+
deputy: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
center: boolean;
|
|
29
|
+
color: string;
|
|
30
|
+
decorateColor: string;
|
|
31
|
+
}>>>, {
|
|
32
|
+
icon: IconName;
|
|
33
|
+
title: string;
|
|
34
|
+
color: ColorName;
|
|
35
|
+
center: boolean;
|
|
36
|
+
deputy: string;
|
|
37
|
+
decorateColor: BgColorName;
|
|
38
|
+
}, {}>, {
|
|
39
|
+
default?(_: {}): any;
|
|
40
|
+
action?(_: {}): any;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
type __VLS_TypePropsToOption<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import TIcon from "./Icon.vue";
|
|
2
|
+
import TTitle from "./Title.vue";
|
|
3
|
+
import TAvatar from "./Avatar.vue";
|
|
4
|
+
import TAvatarGroup from "./AvatarGroup.vue";
|
|
5
|
+
import TButton from "./Button.vue";
|
|
6
|
+
import TTag from "./Tag.vue";
|
|
7
|
+
export { TIcon, TTitle, TAvatar, TAvatarGroup, TButton, TTag };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
userinfo: {
|
|
3
|
+
avatar: string;
|
|
4
|
+
avatarShape?: string | undefined;
|
|
5
|
+
name: string;
|
|
6
|
+
tag?: string | undefined;
|
|
7
|
+
tagColor?: string | undefined;
|
|
8
|
+
time: string;
|
|
9
|
+
};
|
|
10
|
+
unread?: string | number | undefined;
|
|
11
|
+
unreadColor?: string | undefined;
|
|
12
|
+
badge?: string | undefined;
|
|
13
|
+
icon?: string | undefined;
|
|
14
|
+
iconClass?: string | undefined;
|
|
15
|
+
isDisconnected?: boolean | undefined;
|
|
16
|
+
isCurrent?: boolean | undefined;
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
18
|
+
userinfo: {
|
|
19
|
+
avatar: string;
|
|
20
|
+
avatarShape?: string | undefined;
|
|
21
|
+
name: string;
|
|
22
|
+
tag?: string | undefined;
|
|
23
|
+
tagColor?: string | undefined;
|
|
24
|
+
time: string;
|
|
25
|
+
};
|
|
26
|
+
unread?: string | number | undefined;
|
|
27
|
+
unreadColor?: string | undefined;
|
|
28
|
+
badge?: string | undefined;
|
|
29
|
+
icon?: string | undefined;
|
|
30
|
+
iconClass?: string | undefined;
|
|
31
|
+
isDisconnected?: boolean | undefined;
|
|
32
|
+
isCurrent?: boolean | undefined;
|
|
33
|
+
}>>>, {}, {}>, {
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
+
type __VLS_TypePropsToOption<T> = {
|
|
44
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
+
} : {
|
|
47
|
+
type: import('vue').PropType<T[K]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
items: ChatListItemOption[];
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
|
+
items: ChatListItemOption[];
|
|
5
|
+
}>>>, {}, {}>, {
|
|
6
|
+
default?(_: {
|
|
7
|
+
item: ChatListItemOption;
|
|
8
|
+
}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
messages: ChatMessage[];
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
|
+
messages: ChatMessage[];
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToOption<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
cuIconList?: GridGroupItem[] | undefined;
|
|
3
|
+
gridCol?: number | undefined;
|
|
4
|
+
gridBorder?: boolean | undefined;
|
|
5
|
+
routeFn?: Function | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
cuIconList: () => ({
|
|
8
|
+
cuIcon: string;
|
|
9
|
+
color: string;
|
|
10
|
+
badge: number;
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
} | {
|
|
14
|
+
cuIcon: string;
|
|
15
|
+
color: string;
|
|
16
|
+
badge: number;
|
|
17
|
+
name: string;
|
|
18
|
+
link?: undefined;
|
|
19
|
+
})[];
|
|
20
|
+
gridCol: number;
|
|
21
|
+
gridBorder: boolean;
|
|
22
|
+
routeFn: undefined;
|
|
23
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
24
|
+
cuIconList?: GridGroupItem[] | undefined;
|
|
25
|
+
gridCol?: number | undefined;
|
|
26
|
+
gridBorder?: boolean | undefined;
|
|
27
|
+
routeFn?: Function | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
cuIconList: () => ({
|
|
30
|
+
cuIcon: string;
|
|
31
|
+
color: string;
|
|
32
|
+
badge: number;
|
|
33
|
+
name: string;
|
|
34
|
+
link: string;
|
|
35
|
+
} | {
|
|
36
|
+
cuIcon: string;
|
|
37
|
+
color: string;
|
|
38
|
+
badge: number;
|
|
39
|
+
name: string;
|
|
40
|
+
link?: undefined;
|
|
41
|
+
})[];
|
|
42
|
+
gridCol: number;
|
|
43
|
+
gridBorder: boolean;
|
|
44
|
+
routeFn: undefined;
|
|
45
|
+
}>>>, {
|
|
46
|
+
cuIconList: GridGroupItem[];
|
|
47
|
+
gridCol: number;
|
|
48
|
+
gridBorder: boolean;
|
|
49
|
+
routeFn: Function;
|
|
50
|
+
}, {}>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToOption<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: import('vue').PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
leftIcon?: IconName | undefined;
|
|
3
|
+
middleIcon?: IconName | undefined;
|
|
4
|
+
rightIcon?: IconName | undefined;
|
|
5
|
+
buttonText?: string | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
buttonText: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
leftIcon?: IconName | undefined;
|
|
10
|
+
middleIcon?: IconName | undefined;
|
|
11
|
+
rightIcon?: IconName | undefined;
|
|
12
|
+
buttonText?: string | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
buttonText: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
buttonText: string;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<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
|
+
};
|