x-next 0.0.0-alpha.1 → 0.0.0-alpha.10
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +24 -2
- package/dist/_hooks/use-overflow.d.ts +5 -0
- package/dist/_hooks/use-popup-manager.d.ts +11 -0
- package/dist/_props/css.d.ts +13 -0
- package/dist/_props/global.d.ts +1 -0
- package/dist/_utils/config.d.ts +9 -0
- package/dist/_utils/convert-case.d.ts +3 -0
- package/dist/_utils/dom.d.ts +10 -0
- package/dist/_utils/helpers.d.ts +12 -0
- package/dist/_utils/icon.d.ts +59 -0
- package/{framework/es/util.d.ts → dist/_utils/is.d.ts} +22 -36
- package/dist/_utils/keyboard.d.ts +24 -0
- package/dist/_utils/number.d.ts +0 -0
- package/dist/_utils/vue-eco.d.ts +28 -0
- package/dist/components.d.ts +1 -0
- package/dist/componets/button/index.vue.d.ts +162 -0
- package/dist/componets/button/install.d.ts +4 -0
- package/dist/componets/button/props.d.ts +45 -0
- package/dist/componets/dialog/index.vue.d.ts +221 -0
- package/dist/componets/dialog/props.d.ts +83 -0
- package/dist/componets/dialog/use-props.d.ts +33 -0
- package/dist/componets/dialog/use.d.ts +3 -0
- package/dist/componets/dialog/warp.d.ts +2 -0
- package/dist/componets/message/index.vue.d.ts +387 -0
- package/dist/componets/message/props.d.ts +31 -0
- package/dist/componets/message/warp.d.ts +3 -0
- package/dist/componets/message-box/index.d.ts +3 -0
- package/dist/componets/message-box/props.d.ts +52 -0
- package/dist/componets/message-box/warp.d.ts +2 -0
- package/dist/componets/notification/index.vue.d.ts +160 -0
- package/dist/componets/notification/props.d.ts +54 -0
- package/dist/componets/notification/warp.d.ts +3 -0
- package/dist/componets/space/index.d.ts +42 -0
- package/dist/componets/tag-cloud/index.d.ts +0 -0
- package/dist/componets/trend-chart/components/trend-chart-curve.d.ts +114 -0
- package/dist/componets/trend-chart/components/trend-chart-grid.d.ts +55 -0
- package/dist/componets/trend-chart/components/trend-chart-labels.d.ts +22 -0
- package/dist/componets/trend-chart/components/trend-chart.d.ts +270 -0
- package/dist/componets/trend-chart/helpers/genPath.d.ts +8 -0
- package/dist/componets/trend-chart/helpers/genPoints.d.ts +3 -0
- package/dist/componets/trend-chart/helpers/getPadding.d.ts +7 -0
- package/dist/componets/trend-chart/helpers/validatePadding.d.ts +2 -0
- package/dist/componets/trend-chart/index.d.ts +2 -0
- package/dist/componets/trend-chart/props.d.ts +206 -0
- package/dist/directives/clipboard/cache.d.ts +8 -0
- package/dist/directives/clipboard/clipboard.d.ts +18 -0
- package/dist/directives/clipboard/convert.d.ts +3 -0
- package/dist/directives/clipboard/index.d.ts +3 -0
- package/dist/directives/clipboard/plugin.d.ts +2 -0
- package/dist/directives/clipboard/textarea.d.ts +3 -0
- package/dist/icons/animation/animation-loading.vue.d.ts +55 -0
- package/dist/icons/default/check-circle-fill.vue.d.ts +55 -0
- package/dist/icons/default/close-circle-fill.vue.d.ts +55 -0
- package/dist/icons/default/exclamation-circle-fill.vue.d.ts +55 -0
- package/dist/icons/default/info-circle-fill.vue.d.ts +55 -0
- package/dist/icons/default/minus-circle-fill.vue.d.ts +55 -0
- package/dist/icons/index.d.ts +7 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.es.js +1431 -0
- package/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/global.d.ts +8 -0
- package/package.json +68 -62
- package/LICENSE +0 -21
- package/framework/es/client.io.js +0 -2
- package/framework/es/client.io.js.map +0 -1
- package/framework/es/exception.d.ts +0 -25
- package/framework/es/index.d.ts +0 -2
- package/framework/es/types.d.ts +0 -33
- package/framework/es/websocket.d.ts +0 -118
- package/framework/umd/client.io.js +0 -2
- package/framework/umd/client.io.js.map +0 -1
- package/framework/umd/exception.d.ts +0 -25
- package/framework/umd/index.d.ts +0 -2
- package/framework/umd/types.d.ts +0 -33
- package/framework/umd/util.d.ts +0 -36
- package/framework/umd/websocket.d.ts +0 -118
- package/index.d.ts +0 -159
@@ -0,0 +1,206 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import { CSSColor } from '../../_props/css';
|
3
|
+
export type Padding = {
|
4
|
+
top: number | string;
|
5
|
+
right: number | string;
|
6
|
+
bottom: number | string;
|
7
|
+
left: number | string;
|
8
|
+
};
|
9
|
+
export type Point = {
|
10
|
+
x: number;
|
11
|
+
y: number;
|
12
|
+
};
|
13
|
+
export type PointValue = number | {
|
14
|
+
value: number;
|
15
|
+
};
|
16
|
+
export type MouseMoveEvent = {
|
17
|
+
index: number;
|
18
|
+
data: PointValue[];
|
19
|
+
} | null;
|
20
|
+
export type Boundary = {
|
21
|
+
minX: number;
|
22
|
+
maxX: number;
|
23
|
+
minY: number;
|
24
|
+
maxY: number;
|
25
|
+
};
|
26
|
+
export type DataSetTheme = {};
|
27
|
+
export type DataSets = {
|
28
|
+
data: number[] | {
|
29
|
+
value: number;
|
30
|
+
}[];
|
31
|
+
fill: boolean;
|
32
|
+
stroke: boolean;
|
33
|
+
smooth: boolean;
|
34
|
+
showPoints: boolean;
|
35
|
+
className: string;
|
36
|
+
theme: DataSetTheme;
|
37
|
+
}[];
|
38
|
+
export type Grid = {
|
39
|
+
verticalLines: boolean;
|
40
|
+
verticalLinesNumber: number;
|
41
|
+
horizontalLines: boolean;
|
42
|
+
horizontalLinesNumber: number;
|
43
|
+
};
|
44
|
+
export type Labels = {
|
45
|
+
xLabels: string[];
|
46
|
+
yLabels: number;
|
47
|
+
yLabelsTextFormatter: (value: number) => string;
|
48
|
+
};
|
49
|
+
export type CurveTheme = {
|
50
|
+
stroke?: {
|
51
|
+
width?: number;
|
52
|
+
color?: CSSColor;
|
53
|
+
opacity?: number;
|
54
|
+
};
|
55
|
+
fill?: {
|
56
|
+
color?: CSSColor;
|
57
|
+
opacity?: number;
|
58
|
+
};
|
59
|
+
point?: {};
|
60
|
+
};
|
61
|
+
export type MainTheme = {};
|
62
|
+
export interface Theme extends CurveTheme {
|
63
|
+
color?: CSSColor;
|
64
|
+
axisLine?: {
|
65
|
+
color?: CSSColor;
|
66
|
+
width?: number;
|
67
|
+
opacity?: number;
|
68
|
+
};
|
69
|
+
}
|
70
|
+
export declare const trendChartProps: {
|
71
|
+
datasets: {
|
72
|
+
required: boolean;
|
73
|
+
type: PropType<DataSets>;
|
74
|
+
};
|
75
|
+
grid: {
|
76
|
+
default: null;
|
77
|
+
type: PropType<Grid>;
|
78
|
+
};
|
79
|
+
labels: {
|
80
|
+
default: null;
|
81
|
+
type: PropType<Labels>;
|
82
|
+
};
|
83
|
+
max: {
|
84
|
+
type: NumberConstructor;
|
85
|
+
};
|
86
|
+
min: {
|
87
|
+
type: NumberConstructor;
|
88
|
+
};
|
89
|
+
padding: {
|
90
|
+
default: string;
|
91
|
+
type: StringConstructor;
|
92
|
+
validator(val: string): boolean;
|
93
|
+
};
|
94
|
+
interactive: {
|
95
|
+
default: boolean;
|
96
|
+
type: BooleanConstructor;
|
97
|
+
};
|
98
|
+
theme: {
|
99
|
+
type: PropType<Theme>;
|
100
|
+
default: () => {
|
101
|
+
activeLineColor: string;
|
102
|
+
};
|
103
|
+
};
|
104
|
+
};
|
105
|
+
export declare const trendChartCurveProps: {
|
106
|
+
boundary: {
|
107
|
+
required: boolean;
|
108
|
+
type: PropType<Boundary>;
|
109
|
+
default: () => void;
|
110
|
+
};
|
111
|
+
minValue: {
|
112
|
+
required: boolean;
|
113
|
+
type: NumberConstructor;
|
114
|
+
};
|
115
|
+
maxValue: {
|
116
|
+
required: boolean;
|
117
|
+
type: NumberConstructor;
|
118
|
+
};
|
119
|
+
maxAmount: {
|
120
|
+
required: boolean;
|
121
|
+
type: NumberConstructor;
|
122
|
+
};
|
123
|
+
activeLineParams: {
|
124
|
+
type: ObjectConstructor;
|
125
|
+
};
|
126
|
+
data: {
|
127
|
+
required: boolean;
|
128
|
+
type: PropType<PointValue[]>;
|
129
|
+
default: () => never[];
|
130
|
+
};
|
131
|
+
className: {
|
132
|
+
type: PropType<string>;
|
133
|
+
};
|
134
|
+
smooth: {
|
135
|
+
default: boolean;
|
136
|
+
type: BooleanConstructor;
|
137
|
+
};
|
138
|
+
stroke: {
|
139
|
+
default: boolean;
|
140
|
+
type: BooleanConstructor;
|
141
|
+
};
|
142
|
+
fill: {
|
143
|
+
default: boolean;
|
144
|
+
type: BooleanConstructor;
|
145
|
+
};
|
146
|
+
showPoints: {
|
147
|
+
default: boolean;
|
148
|
+
type: BooleanConstructor;
|
149
|
+
};
|
150
|
+
theme: {
|
151
|
+
type: PropType<CurveTheme>;
|
152
|
+
};
|
153
|
+
mainTheme: {
|
154
|
+
type: PropType<CurveTheme>;
|
155
|
+
};
|
156
|
+
};
|
157
|
+
export declare const trendChartGridProps: {
|
158
|
+
boundary: {
|
159
|
+
required: boolean;
|
160
|
+
type: PropType<Boundary>;
|
161
|
+
default: () => void;
|
162
|
+
};
|
163
|
+
verticalLines: {
|
164
|
+
default: boolean;
|
165
|
+
type: BooleanConstructor;
|
166
|
+
};
|
167
|
+
verticalLinesNumber: {
|
168
|
+
default: number;
|
169
|
+
type: NumberConstructor;
|
170
|
+
};
|
171
|
+
horizontalLines: {
|
172
|
+
default: boolean;
|
173
|
+
type: BooleanConstructor;
|
174
|
+
};
|
175
|
+
horizontalLinesNumber: {
|
176
|
+
default: number;
|
177
|
+
type: NumberConstructor;
|
178
|
+
};
|
179
|
+
};
|
180
|
+
export declare const trendChartLabelsProps: {
|
181
|
+
boundary: {
|
182
|
+
required: boolean;
|
183
|
+
type: PropType<Boundary>;
|
184
|
+
default: () => void;
|
185
|
+
};
|
186
|
+
minValue: {
|
187
|
+
type: NumberConstructor;
|
188
|
+
required: boolean;
|
189
|
+
};
|
190
|
+
maxValue: {
|
191
|
+
type: NumberConstructor;
|
192
|
+
required: boolean;
|
193
|
+
};
|
194
|
+
xLabels: {
|
195
|
+
type: ArrayConstructor;
|
196
|
+
};
|
197
|
+
yLabels: {
|
198
|
+
type: NumberConstructor;
|
199
|
+
required: boolean;
|
200
|
+
};
|
201
|
+
yLabelsTextFormatter: {
|
202
|
+
default: (value: any) => any;
|
203
|
+
type: FunctionConstructor;
|
204
|
+
};
|
205
|
+
};
|
206
|
+
export type TrendChartLabelsProps = ExtractPropTypes<typeof trendChartLabelsProps>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare const Clipboard: {
|
2
|
+
/**
|
3
|
+
* Requests Navigator API persmission to clipboard.
|
4
|
+
*/
|
5
|
+
requestClipboardPermission(): Promise<PermissionStatus>;
|
6
|
+
/**
|
7
|
+
* Writes to cliboard using Navigator API.
|
8
|
+
*/
|
9
|
+
writeClipboard(value: string): Promise<boolean>;
|
10
|
+
/**
|
11
|
+
* Writes to clipboard using old-school execCommand('copy').
|
12
|
+
*/
|
13
|
+
writeClipboardExecCommand(value: string): boolean;
|
14
|
+
/**
|
15
|
+
* Maes an attempt to copy data to the clipboard.
|
16
|
+
*/
|
17
|
+
copy(input: any): Promise<true | undefined>;
|
18
|
+
};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
size: {
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
rotate: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
spin: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
color: {
|
15
|
+
type: StringConstructor;
|
16
|
+
default: undefined;
|
17
|
+
};
|
18
|
+
fillColor: {
|
19
|
+
type: ArrayConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
}>, {
|
23
|
+
cls: import('vue').ComputedRef<(string | {
|
24
|
+
"x-icon-loading": boolean;
|
25
|
+
})[]>;
|
26
|
+
styles: import('vue').ComputedRef<import('vue').CSSProperties>;
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
|
+
size: {
|
29
|
+
type: (NumberConstructor | StringConstructor)[];
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
rotate: {
|
33
|
+
type: NumberConstructor;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
spin: {
|
37
|
+
type: BooleanConstructor;
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
color: {
|
41
|
+
type: StringConstructor;
|
42
|
+
default: undefined;
|
43
|
+
};
|
44
|
+
fillColor: {
|
45
|
+
type: ArrayConstructor;
|
46
|
+
default: undefined;
|
47
|
+
};
|
48
|
+
}>> & Readonly<{}>, {
|
49
|
+
size: string | number;
|
50
|
+
rotate: number;
|
51
|
+
spin: boolean;
|
52
|
+
color: string;
|
53
|
+
fillColor: unknown[];
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
55
|
+
export default _default;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
size: {
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
rotate: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
spin: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
color: {
|
15
|
+
type: StringConstructor;
|
16
|
+
default: undefined;
|
17
|
+
};
|
18
|
+
fillColor: {
|
19
|
+
type: ArrayConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
}>, {
|
23
|
+
cls: import('vue').ComputedRef<(string | {
|
24
|
+
"x-icon-loading": boolean;
|
25
|
+
})[]>;
|
26
|
+
styles: import('vue').ComputedRef<import('vue').CSSProperties>;
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
|
+
size: {
|
29
|
+
type: (NumberConstructor | StringConstructor)[];
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
rotate: {
|
33
|
+
type: NumberConstructor;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
spin: {
|
37
|
+
type: BooleanConstructor;
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
color: {
|
41
|
+
type: StringConstructor;
|
42
|
+
default: undefined;
|
43
|
+
};
|
44
|
+
fillColor: {
|
45
|
+
type: ArrayConstructor;
|
46
|
+
default: undefined;
|
47
|
+
};
|
48
|
+
}>> & Readonly<{}>, {
|
49
|
+
size: string | number;
|
50
|
+
rotate: number;
|
51
|
+
spin: boolean;
|
52
|
+
color: string;
|
53
|
+
fillColor: unknown[];
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
55
|
+
export default _default;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
size: {
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
rotate: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
spin: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
color: {
|
15
|
+
type: StringConstructor;
|
16
|
+
default: undefined;
|
17
|
+
};
|
18
|
+
fillColor: {
|
19
|
+
type: ArrayConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
}>, {
|
23
|
+
cls: import('vue').ComputedRef<(string | {
|
24
|
+
"x-icon-loading": boolean;
|
25
|
+
})[]>;
|
26
|
+
styles: import('vue').ComputedRef<import('vue').CSSProperties>;
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
|
+
size: {
|
29
|
+
type: (NumberConstructor | StringConstructor)[];
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
rotate: {
|
33
|
+
type: NumberConstructor;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
spin: {
|
37
|
+
type: BooleanConstructor;
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
color: {
|
41
|
+
type: StringConstructor;
|
42
|
+
default: undefined;
|
43
|
+
};
|
44
|
+
fillColor: {
|
45
|
+
type: ArrayConstructor;
|
46
|
+
default: undefined;
|
47
|
+
};
|
48
|
+
}>> & Readonly<{}>, {
|
49
|
+
size: string | number;
|
50
|
+
rotate: number;
|
51
|
+
spin: boolean;
|
52
|
+
color: string;
|
53
|
+
fillColor: unknown[];
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
55
|
+
export default _default;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
size: {
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
rotate: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
spin: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
color: {
|
15
|
+
type: StringConstructor;
|
16
|
+
default: undefined;
|
17
|
+
};
|
18
|
+
fillColor: {
|
19
|
+
type: ArrayConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
}>, {
|
23
|
+
cls: import('vue').ComputedRef<(string | {
|
24
|
+
"x-icon-loading": boolean;
|
25
|
+
})[]>;
|
26
|
+
styles: import('vue').ComputedRef<import('vue').CSSProperties>;
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
|
+
size: {
|
29
|
+
type: (NumberConstructor | StringConstructor)[];
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
rotate: {
|
33
|
+
type: NumberConstructor;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
spin: {
|
37
|
+
type: BooleanConstructor;
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
color: {
|
41
|
+
type: StringConstructor;
|
42
|
+
default: undefined;
|
43
|
+
};
|
44
|
+
fillColor: {
|
45
|
+
type: ArrayConstructor;
|
46
|
+
default: undefined;
|
47
|
+
};
|
48
|
+
}>> & Readonly<{}>, {
|
49
|
+
size: string | number;
|
50
|
+
rotate: number;
|
51
|
+
spin: boolean;
|
52
|
+
color: string;
|
53
|
+
fillColor: unknown[];
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
55
|
+
export default _default;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
size: {
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
rotate: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
spin: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
color: {
|
15
|
+
type: StringConstructor;
|
16
|
+
default: undefined;
|
17
|
+
};
|
18
|
+
fillColor: {
|
19
|
+
type: ArrayConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
}>, {
|
23
|
+
cls: import('vue').ComputedRef<(string | {
|
24
|
+
"x-icon-loading": boolean;
|
25
|
+
})[]>;
|
26
|
+
styles: import('vue').ComputedRef<import('vue').CSSProperties>;
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
|
+
size: {
|
29
|
+
type: (NumberConstructor | StringConstructor)[];
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
rotate: {
|
33
|
+
type: NumberConstructor;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
spin: {
|
37
|
+
type: BooleanConstructor;
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
color: {
|
41
|
+
type: StringConstructor;
|
42
|
+
default: undefined;
|
43
|
+
};
|
44
|
+
fillColor: {
|
45
|
+
type: ArrayConstructor;
|
46
|
+
default: undefined;
|
47
|
+
};
|
48
|
+
}>> & Readonly<{}>, {
|
49
|
+
size: string | number;
|
50
|
+
rotate: number;
|
51
|
+
spin: boolean;
|
52
|
+
color: string;
|
53
|
+
fillColor: unknown[];
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
55
|
+
export default _default;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
size: {
|
3
|
+
type: (NumberConstructor | StringConstructor)[];
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
rotate: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
spin: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
color: {
|
15
|
+
type: StringConstructor;
|
16
|
+
default: undefined;
|
17
|
+
};
|
18
|
+
fillColor: {
|
19
|
+
type: ArrayConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
}>, {
|
23
|
+
cls: import('vue').ComputedRef<(string | {
|
24
|
+
"x-icon-loading": boolean;
|
25
|
+
})[]>;
|
26
|
+
styles: import('vue').ComputedRef<import('vue').CSSProperties>;
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
|
+
size: {
|
29
|
+
type: (NumberConstructor | StringConstructor)[];
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
rotate: {
|
33
|
+
type: NumberConstructor;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
spin: {
|
37
|
+
type: BooleanConstructor;
|
38
|
+
default: boolean;
|
39
|
+
};
|
40
|
+
color: {
|
41
|
+
type: StringConstructor;
|
42
|
+
default: undefined;
|
43
|
+
};
|
44
|
+
fillColor: {
|
45
|
+
type: ArrayConstructor;
|
46
|
+
default: undefined;
|
47
|
+
};
|
48
|
+
}>> & Readonly<{}>, {
|
49
|
+
size: string | number;
|
50
|
+
rotate: number;
|
51
|
+
spin: boolean;
|
52
|
+
color: string;
|
53
|
+
fillColor: unknown[];
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
55
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { default as CloseCircleFill } from './default/close-circle-fill.vue';
|
2
|
+
import { default as CheckCircleFill } from './default/check-circle-fill.vue';
|
3
|
+
import { default as ExclamationCircleFill } from './default/exclamation-circle-fill.vue';
|
4
|
+
import { default as InfoCircleFill } from './default/info-circle-fill.vue';
|
5
|
+
import { default as MinusCircleFill } from './default/minus-circle-fill.vue';
|
6
|
+
import { default as AnimationLoading } from './animation/animation-loading.vue';
|
7
|
+
export { CloseCircleFill, CheckCircleFill, ExclamationCircleFill, InfoCircleFill, MinusCircleFill, AnimationLoading, };
|
package/dist/index.d.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { App } from 'vue';
|
2
|
+
import { default as Dialog } from './componets/dialog/warp';
|
3
|
+
import { default as Message } from './componets/message/warp';
|
4
|
+
import { default as MessageBox } from './componets/message-box/warp';
|
5
|
+
import { default as Notification } from './componets/notification/warp';
|
6
|
+
export * from './components';
|
7
|
+
export { Dialog, Message, MessageBox, Notification };
|
8
|
+
export declare const install: (vueApp: App) => void;
|
9
|
+
declare const _default: {
|
10
|
+
install: (vueApp: App) => void;
|
11
|
+
};
|
12
|
+
export default _default;
|