@dao-style/core 1.15.1-beta.1 → 1.15.1-beta.2
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/dist/components/card/card-header.d.ts +139 -0
- package/dist/components/card/card-header.vue.d.ts +41 -0
- package/dist/components/card/card-props.d.ts +19 -0
- package/dist/components/card/card.d.ts +9 -3
- package/dist/components/card/card.vue.d.ts +3 -1
- package/dist/components/card/index.d.ts +1 -0
- package/dist/dao-style.js +7 -7
- package/dist/dao-style.mjs +2244 -2193
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { SlotFn } from '../../utils/types';
|
|
2
|
+
import { CardHeaderProps } from './card-props';
|
|
3
|
+
declare const DaoCardHeader: {
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
type: "simple" | "standard";
|
|
9
|
+
icon: string;
|
|
10
|
+
title: string;
|
|
11
|
+
useFont: boolean;
|
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
type: {
|
|
14
|
+
type: import("vue").PropType<"simple" | "standard">;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
icon: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
useFont: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
title: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "icon" | "title" | "useFont">;
|
|
30
|
+
$attrs: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
$refs: {
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
};
|
|
36
|
+
$slots: Readonly<{
|
|
37
|
+
[name: string]: import("vue").Slot | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
40
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
41
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
42
|
+
$el: any;
|
|
43
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
type: {
|
|
45
|
+
type: import("vue").PropType<"simple" | "standard">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
icon: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
useFont: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
title: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
61
|
+
type: "simple" | "standard";
|
|
62
|
+
icon: string;
|
|
63
|
+
title: string;
|
|
64
|
+
useFont: boolean;
|
|
65
|
+
}, {}, string> & {
|
|
66
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
79
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
80
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
81
|
+
};
|
|
82
|
+
$forceUpdate: () => void;
|
|
83
|
+
$nextTick: typeof import("vue").nextTick;
|
|
84
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
85
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
86
|
+
type: {
|
|
87
|
+
type: import("vue").PropType<"simple" | "standard">;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
icon: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
useFont: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
title: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
103
|
+
__isFragment?: undefined;
|
|
104
|
+
__isTeleport?: undefined;
|
|
105
|
+
__isSuspense?: undefined;
|
|
106
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
107
|
+
type: {
|
|
108
|
+
type: import("vue").PropType<"simple" | "standard">;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
icon: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
useFont: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
title: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: undefined;
|
|
122
|
+
};
|
|
123
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
124
|
+
type: "simple" | "standard";
|
|
125
|
+
icon: string;
|
|
126
|
+
title: string;
|
|
127
|
+
useFont: boolean;
|
|
128
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
129
|
+
$props: Partial<CardHeaderProps>;
|
|
130
|
+
$slots: {
|
|
131
|
+
header: SlotFn;
|
|
132
|
+
'header-prefix': SlotFn;
|
|
133
|
+
'icon': SlotFn;
|
|
134
|
+
'title': SlotFn;
|
|
135
|
+
'action': SlotFn;
|
|
136
|
+
'header-suffix': SlotFn;
|
|
137
|
+
};
|
|
138
|
+
});
|
|
139
|
+
export default DaoCardHeader;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: import("vue").PropType<"simple" | "standard">;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
icon: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
useFont: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
type: {
|
|
20
|
+
type: import("vue").PropType<"simple" | "standard">;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
icon: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
useFont: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
title: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
type: "simple" | "standard";
|
|
37
|
+
icon: string;
|
|
38
|
+
title: string;
|
|
39
|
+
useFont: boolean;
|
|
40
|
+
}>;
|
|
41
|
+
export default _default;
|
|
@@ -22,4 +22,23 @@ export declare const cardProps: {
|
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
+
export declare const cardHeaderProps: {
|
|
26
|
+
type: {
|
|
27
|
+
type: PropType<"simple" | "standard">;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
icon: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
useFont: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
25
43
|
export type CardProps = ExtractPropTypes<typeof cardProps>;
|
|
44
|
+
export type CardHeaderProps = ExtractPropTypes<typeof cardHeaderProps>;
|
|
@@ -66,7 +66,9 @@ declare const DaoCard: {
|
|
|
66
66
|
type: BooleanConstructor;
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
|
-
}>>,
|
|
69
|
+
}>>, {
|
|
70
|
+
cardHeaderSlots: string[];
|
|
71
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
70
72
|
type: import("./types").CardType;
|
|
71
73
|
icon: string;
|
|
72
74
|
title: string;
|
|
@@ -113,7 +115,9 @@ declare const DaoCard: {
|
|
|
113
115
|
type: BooleanConstructor;
|
|
114
116
|
default: boolean;
|
|
115
117
|
};
|
|
116
|
-
}>> & import("vue").ShallowUnwrapRef<{
|
|
118
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
|
119
|
+
cardHeaderSlots: string[];
|
|
120
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
117
121
|
__isFragment?: undefined;
|
|
118
122
|
__isTeleport?: undefined;
|
|
119
123
|
__isSuspense?: undefined;
|
|
@@ -138,7 +142,9 @@ declare const DaoCard: {
|
|
|
138
142
|
type: BooleanConstructor;
|
|
139
143
|
default: boolean;
|
|
140
144
|
};
|
|
141
|
-
}>>,
|
|
145
|
+
}>>, {
|
|
146
|
+
cardHeaderSlots: string[];
|
|
147
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
142
148
|
type: import("./types").CardType;
|
|
143
149
|
icon: string;
|
|
144
150
|
title: string;
|
|
@@ -19,7 +19,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
-
},
|
|
22
|
+
}, {
|
|
23
|
+
cardHeaderSlots: string[];
|
|
24
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
25
|
type: {
|
|
24
26
|
type: import("vue").PropType<import("./types").CardType>;
|
|
25
27
|
default: string;
|