x-next 0.0.0-alpha.2 → 0.0.0-alpha.20
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -84
- package/dist/{types/_hooks → _hooks}/use-overflow.d.ts +1 -1
- package/dist/{types/_hooks → _hooks}/use-popup-manager.d.ts +1 -1
- package/dist/{types/_utils → _utils}/config.d.ts +1 -1
- package/dist/{types/_utils → _utils}/dom.d.ts +1 -1
- package/dist/{types/_utils → _utils}/is.d.ts +5 -6
- package/dist/{types/_utils → _utils}/keyboard.d.ts +1 -1
- package/dist/{types/_utils → _utils}/vue-eco.d.ts +10 -11
- package/dist/{types/componets/button/index.vue.d.ts → components/button/Button.d.ts} +18 -28
- package/dist/components/button/index.d.ts +181 -0
- package/dist/{types/componets → components}/button/props.d.ts +4 -4
- package/dist/{types/componets/dialog/index.vue.d.ts → components/dialog/Dialog.d.ts} +9 -42
- package/dist/components/dialog/index.d.ts +334 -0
- package/dist/{types/componets → components}/dialog/props.d.ts +7 -7
- package/dist/{types/componets → components}/dialog/use-props.d.ts +1 -1
- package/dist/{types/componets → components}/dialog/use.d.ts +1 -1
- package/dist/components/dialog/warp.d.ts +2 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/{types/componets/message/index.vue.d.ts → components/message/Message.d.ts} +19 -27
- package/dist/components/message/MessageVue.vue.d.ts +362 -0
- package/dist/components/message/index.d.ts +193 -0
- package/dist/{types/componets → components}/message/props.d.ts +1 -1
- package/dist/{types/componets → components}/message/warp.d.ts +1 -1
- package/dist/{types/componets/message-box/index.d.ts → components/message-box/MessageBox.d.ts} +1 -1
- package/dist/components/message-box/index.d.ts +4 -0
- package/dist/{types/componets → components}/message-box/props.d.ts +1 -1
- package/dist/components/message-box/warp.d.ts +2 -0
- package/dist/components/notification/Notification.d.ts +89 -0
- package/dist/components/notification/index.d.ts +166 -0
- package/dist/{types/componets → components}/notification/props.d.ts +2 -2
- package/dist/{types/componets → components}/notification/warp.d.ts +1 -1
- package/dist/{types/componets/space/index.d.ts → components/space/Space.d.ts} +9 -9
- package/dist/components/space/index.d.ts +82 -0
- package/dist/{types/componets → components}/trend-chart/components/trend-chart-curve.d.ts +17 -17
- package/dist/{types/componets → components}/trend-chart/components/trend-chart-grid.d.ts +7 -7
- package/dist/{types/componets → components}/trend-chart/components/trend-chart-labels.d.ts +7 -7
- package/dist/{types/componets → components}/trend-chart/components/trend-chart.d.ts +47 -47
- package/dist/{types/componets → components}/trend-chart/helpers/genPoints.d.ts +1 -1
- package/dist/components/trend-chart/index.d.ts +2 -0
- package/dist/{types/componets → components}/trend-chart/props.d.ts +2 -2
- 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/{types/icons/default/exclamation-circle-fill.vue.d.ts → icons/animation/animation-loading.d.ts} +5 -10
- package/dist/{types/icons/default/close-circle-fill.vue.d.ts → icons/default/check-circle-fill.d.ts} +5 -10
- package/dist/{types/icons/animation/animation-loading.vue.d.ts → icons/default/close-circle-fill.d.ts} +5 -10
- package/dist/{types/icons/default/check-circle-fill.vue.d.ts → icons/default/exclamation-circle-fill.d.ts} +5 -10
- package/dist/icons/default/info-circle-fill.d.ts +50 -0
- package/dist/icons/default/minus-circle-fill.d.ts +50 -0
- package/dist/icons/icon.d.ts +51 -0
- package/dist/icons/index.d.ts +7 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.es.js +1368 -0
- package/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +11 -0
- package/package.json +45 -48
- package/volar.d.ts +12 -0
- package/LICENSE +0 -21
- package/dist/favicon.ico +0 -0
- package/dist/types/_utils/icon.d.ts +0 -59
- package/dist/types/componets/dialog/warp.d.ts +0 -2
- package/dist/types/componets/message-box/warp.d.ts +0 -2
- package/dist/types/componets/notification/index.vue.d.ts +0 -160
- package/dist/types/componets/trend-chart/index.d.ts +0 -2
- package/dist/types/icons/default/info-circle-fill.vue.d.ts +0 -55
- package/dist/types/icons/default/minus-circle-fill.vue.d.ts +0 -55
- package/dist/types/icons/index.d.ts +0 -7
- package/dist/types/ui.d.ts +0 -5
- package/dist/ui.cjs.js +0 -2
- package/dist/ui.es.js +0 -1395
- package/dist/ui.umd.js +0 -3
- /package/dist/{types/_props → _props}/css.d.ts +0 -0
- /package/dist/{types/_props → _props}/global.d.ts +0 -0
- /package/dist/{types/_utils → _utils}/convert-case.d.ts +0 -0
- /package/dist/{types/_utils → _utils}/helpers.d.ts +0 -0
- /package/dist/{types/_utils → _utils}/number.d.ts +0 -0
- /package/dist/{types/componets → components}/tag-cloud/index.d.ts +0 -0
- /package/dist/{types/componets → components}/trend-chart/helpers/genPath.d.ts +0 -0
- /package/dist/{types/componets → components}/trend-chart/helpers/getPadding.d.ts +0 -0
- /package/dist/{types/componets → components}/trend-chart/helpers/validatePadding.d.ts +0 -0
@@ -1,17 +1,17 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
2
|
import { MouseMoveEvent, PointValue } from '../props';
|
3
|
-
declare const _default: import(
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
4
4
|
datasets: {
|
5
5
|
required: boolean;
|
6
|
-
type: import(
|
6
|
+
type: import('vue').PropType<import('../props').DataSets>;
|
7
7
|
};
|
8
8
|
grid: {
|
9
9
|
default: null;
|
10
|
-
type: import(
|
10
|
+
type: import('vue').PropType<import('../props').Grid>;
|
11
11
|
};
|
12
12
|
labels: {
|
13
13
|
default: null;
|
14
|
-
type: import(
|
14
|
+
type: import('vue').PropType<import('../props').Labels>;
|
15
15
|
};
|
16
16
|
max: {
|
17
17
|
type: NumberConstructor;
|
@@ -29,27 +29,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
29
29
|
type: BooleanConstructor;
|
30
30
|
};
|
31
31
|
theme: {
|
32
|
-
type: import(
|
32
|
+
type: import('vue').PropType<import('../props').Theme>;
|
33
33
|
default: () => {
|
34
34
|
activeLineColor: string;
|
35
35
|
};
|
36
36
|
};
|
37
|
-
}>, () => VNode<import(
|
37
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
38
38
|
[key: string]: any;
|
39
|
-
}>, {}, {}, {}, import(
|
39
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
40
40
|
'mouse-move': (event: MouseMoveEvent) => boolean;
|
41
|
-
}, string, import(
|
41
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
42
42
|
datasets: {
|
43
43
|
required: boolean;
|
44
|
-
type: import(
|
44
|
+
type: import('vue').PropType<import('../props').DataSets>;
|
45
45
|
};
|
46
46
|
grid: {
|
47
47
|
default: null;
|
48
|
-
type: import(
|
48
|
+
type: import('vue').PropType<import('../props').Grid>;
|
49
49
|
};
|
50
50
|
labels: {
|
51
51
|
default: null;
|
52
|
-
type: import(
|
52
|
+
type: import('vue').PropType<import('../props').Labels>;
|
53
53
|
};
|
54
54
|
max: {
|
55
55
|
type: NumberConstructor;
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
67
67
|
type: BooleanConstructor;
|
68
68
|
};
|
69
69
|
theme: {
|
70
|
-
type: import(
|
70
|
+
type: import('vue').PropType<import('../props').Theme>;
|
71
71
|
default: () => {
|
72
72
|
activeLineColor: string;
|
73
73
|
};
|
@@ -75,16 +75,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
75
75
|
}>> & Readonly<{
|
76
76
|
"onMouse-move"?: ((event: MouseMoveEvent) => any) | undefined;
|
77
77
|
}>, {
|
78
|
-
|
79
|
-
grid: import("../props").Grid;
|
78
|
+
grid: import('../props').Grid;
|
80
79
|
padding: string;
|
81
|
-
|
82
|
-
|
80
|
+
theme: import('../props').Theme;
|
81
|
+
labels: import('../props').Labels;
|
82
|
+
interactive: boolean;
|
83
83
|
}, {}, {
|
84
|
-
TrendChartGrid: import(
|
84
|
+
TrendChartGrid: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
85
85
|
boundary: {
|
86
86
|
required: boolean;
|
87
|
-
type: import(
|
87
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
88
88
|
default: () => void;
|
89
89
|
};
|
90
90
|
verticalLines: {
|
@@ -103,12 +103,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
103
103
|
default: number;
|
104
104
|
type: NumberConstructor;
|
105
105
|
};
|
106
|
-
}>, () => VNode<import(
|
106
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
107
107
|
[key: string]: any;
|
108
|
-
}> | null, {}, {}, {}, import(
|
108
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
109
109
|
boundary: {
|
110
110
|
required: boolean;
|
111
|
-
type: import(
|
111
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
112
112
|
default: () => void;
|
113
113
|
};
|
114
114
|
verticalLines: {
|
@@ -128,36 +128,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
128
128
|
type: NumberConstructor;
|
129
129
|
};
|
130
130
|
}>> & Readonly<{}>, {
|
131
|
-
boundary: import(
|
131
|
+
boundary: import('../props').Boundary;
|
132
132
|
verticalLines: boolean;
|
133
133
|
verticalLinesNumber: number;
|
134
134
|
horizontalLines: boolean;
|
135
135
|
horizontalLinesNumber: number;
|
136
|
-
}, {}, {}, {}, string, import(
|
137
|
-
TrendChartLabels: import(
|
138
|
-
boundary: import(
|
136
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
137
|
+
TrendChartLabels: import('vue').DefineComponent<{
|
138
|
+
boundary: import('../props').Boundary;
|
139
139
|
yLabelsTextFormatter: Function;
|
140
140
|
minValue?: number | undefined;
|
141
141
|
maxValue?: number | undefined;
|
142
142
|
xLabels?: unknown[] | undefined;
|
143
143
|
yLabels?: number | undefined;
|
144
|
-
}, () => VNode<import(
|
144
|
+
}, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
145
145
|
[key: string]: any;
|
146
|
-
}>, {}, {}, {}, import(
|
147
|
-
boundary: import(
|
146
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
147
|
+
boundary: import('../props').Boundary;
|
148
148
|
yLabelsTextFormatter: Function;
|
149
149
|
minValue?: number | undefined;
|
150
150
|
maxValue?: number | undefined;
|
151
151
|
xLabels?: unknown[] | undefined;
|
152
152
|
yLabels?: number | undefined;
|
153
153
|
}> & Readonly<{}>, {
|
154
|
-
boundary: import(
|
154
|
+
boundary: import('../props').Boundary;
|
155
155
|
yLabelsTextFormatter: Function;
|
156
|
-
}, {}, {}, {}, string, import(
|
157
|
-
TrendChartCurve: import(
|
156
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
157
|
+
TrendChartCurve: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
158
158
|
boundary: {
|
159
159
|
required: boolean;
|
160
|
-
type: import(
|
160
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
161
161
|
default: () => void;
|
162
162
|
};
|
163
163
|
minValue: {
|
@@ -177,11 +177,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
177
177
|
};
|
178
178
|
data: {
|
179
179
|
required: boolean;
|
180
|
-
type: import(
|
180
|
+
type: import('vue').PropType<PointValue[]>;
|
181
181
|
default: () => never[];
|
182
182
|
};
|
183
183
|
className: {
|
184
|
-
type: import(
|
184
|
+
type: import('vue').PropType<string>;
|
185
185
|
};
|
186
186
|
smooth: {
|
187
187
|
default: boolean;
|
@@ -200,17 +200,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
200
200
|
type: BooleanConstructor;
|
201
201
|
};
|
202
202
|
theme: {
|
203
|
-
type: import(
|
203
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
204
204
|
};
|
205
205
|
mainTheme: {
|
206
|
-
type: import(
|
206
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
207
207
|
};
|
208
|
-
}>, () => VNode<import(
|
208
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
209
209
|
[key: string]: any;
|
210
|
-
}>, {}, {}, {}, import(
|
210
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
211
211
|
boundary: {
|
212
212
|
required: boolean;
|
213
|
-
type: import(
|
213
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
214
214
|
default: () => void;
|
215
215
|
};
|
216
216
|
minValue: {
|
@@ -230,11 +230,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
230
230
|
};
|
231
231
|
data: {
|
232
232
|
required: boolean;
|
233
|
-
type: import(
|
233
|
+
type: import('vue').PropType<PointValue[]>;
|
234
234
|
default: () => never[];
|
235
235
|
};
|
236
236
|
className: {
|
237
|
-
type: import(
|
237
|
+
type: import('vue').PropType<string>;
|
238
238
|
};
|
239
239
|
smooth: {
|
240
240
|
default: boolean;
|
@@ -253,18 +253,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
253
253
|
type: BooleanConstructor;
|
254
254
|
};
|
255
255
|
theme: {
|
256
|
-
type: import(
|
256
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
257
257
|
};
|
258
258
|
mainTheme: {
|
259
|
-
type: import(
|
259
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
260
260
|
};
|
261
261
|
}>> & Readonly<{}>, {
|
262
262
|
fill: boolean;
|
263
263
|
data: PointValue[];
|
264
|
-
smooth: boolean;
|
265
264
|
stroke: boolean;
|
266
|
-
|
265
|
+
smooth: boolean;
|
266
|
+
boundary: import('../props').Boundary;
|
267
267
|
showPoints: boolean;
|
268
|
-
}, {}, {}, {}, string, import(
|
269
|
-
}, {}, string, import(
|
268
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
269
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
270
270
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import { CSSColor } from '../../_props/css';
|
3
3
|
export type Padding = {
|
4
4
|
top: number | string;
|
5
5
|
right: number | string;
|
@@ -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
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
size: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: undefined;
|
@@ -19,12 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
19
19
|
type: ArrayConstructor;
|
20
20
|
default: undefined;
|
21
21
|
};
|
22
|
-
}>, {
|
23
|
-
cls: import("vue").ComputedRef<(string | {
|
24
|
-
[x: string]: 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<{
|
22
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
23
|
size: {
|
29
24
|
type: (NumberConstructor | StringConstructor)[];
|
30
25
|
default: undefined;
|
@@ -47,9 +42,9 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
47
42
|
};
|
48
43
|
}>> & Readonly<{}>, {
|
49
44
|
size: string | number;
|
50
|
-
color: string;
|
51
45
|
rotate: number;
|
52
46
|
spin: boolean;
|
47
|
+
color: string;
|
53
48
|
fillColor: unknown[];
|
54
|
-
}, {}, {}, {}, string, import(
|
55
|
-
export default
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
50
|
+
export default _default;
|
package/dist/{types/icons/default/close-circle-fill.vue.d.ts → icons/default/check-circle-fill.d.ts}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
size: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: undefined;
|
@@ -19,12 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
19
19
|
type: ArrayConstructor;
|
20
20
|
default: undefined;
|
21
21
|
};
|
22
|
-
}>, {
|
23
|
-
cls: import("vue").ComputedRef<(string | {
|
24
|
-
[x: string]: 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<{
|
22
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
23
|
size: {
|
29
24
|
type: (NumberConstructor | StringConstructor)[];
|
30
25
|
default: undefined;
|
@@ -47,9 +42,9 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
47
42
|
};
|
48
43
|
}>> & Readonly<{}>, {
|
49
44
|
size: string | number;
|
50
|
-
color: string;
|
51
45
|
rotate: number;
|
52
46
|
spin: boolean;
|
47
|
+
color: string;
|
53
48
|
fillColor: unknown[];
|
54
|
-
}, {}, {}, {}, string, import(
|
55
|
-
export default
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
50
|
+
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
size: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: undefined;
|
@@ -19,12 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
19
19
|
type: ArrayConstructor;
|
20
20
|
default: undefined;
|
21
21
|
};
|
22
|
-
}>, {
|
23
|
-
cls: import("vue").ComputedRef<(string | {
|
24
|
-
[x: string]: 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<{
|
22
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
23
|
size: {
|
29
24
|
type: (NumberConstructor | StringConstructor)[];
|
30
25
|
default: undefined;
|
@@ -47,9 +42,9 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
47
42
|
};
|
48
43
|
}>> & Readonly<{}>, {
|
49
44
|
size: string | number;
|
50
|
-
color: string;
|
51
45
|
rotate: number;
|
52
46
|
spin: boolean;
|
47
|
+
color: string;
|
53
48
|
fillColor: unknown[];
|
54
|
-
}, {}, {}, {}, string, import(
|
55
|
-
export default
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
50
|
+
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
size: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: undefined;
|
@@ -19,12 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
19
19
|
type: ArrayConstructor;
|
20
20
|
default: undefined;
|
21
21
|
};
|
22
|
-
}>, {
|
23
|
-
cls: import("vue").ComputedRef<(string | {
|
24
|
-
[x: string]: 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<{
|
22
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
23
|
size: {
|
29
24
|
type: (NumberConstructor | StringConstructor)[];
|
30
25
|
default: undefined;
|
@@ -47,9 +42,9 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
47
42
|
};
|
48
43
|
}>> & Readonly<{}>, {
|
49
44
|
size: string | number;
|
50
|
-
color: string;
|
51
45
|
rotate: number;
|
52
46
|
spin: boolean;
|
47
|
+
color: string;
|
53
48
|
fillColor: unknown[];
|
54
|
-
}, {}, {}, {}, string, import(
|
55
|
-
export default
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
50
|
+
export default _default;
|
@@ -0,0 +1,50 @@
|
|
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
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
23
|
+
size: {
|
24
|
+
type: (NumberConstructor | StringConstructor)[];
|
25
|
+
default: undefined;
|
26
|
+
};
|
27
|
+
rotate: {
|
28
|
+
type: NumberConstructor;
|
29
|
+
default: undefined;
|
30
|
+
};
|
31
|
+
spin: {
|
32
|
+
type: BooleanConstructor;
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
color: {
|
36
|
+
type: StringConstructor;
|
37
|
+
default: undefined;
|
38
|
+
};
|
39
|
+
fillColor: {
|
40
|
+
type: ArrayConstructor;
|
41
|
+
default: undefined;
|
42
|
+
};
|
43
|
+
}>> & Readonly<{}>, {
|
44
|
+
size: string | number;
|
45
|
+
rotate: number;
|
46
|
+
spin: boolean;
|
47
|
+
color: string;
|
48
|
+
fillColor: unknown[];
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
50
|
+
export default _default;
|
@@ -0,0 +1,50 @@
|
|
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
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
23
|
+
size: {
|
24
|
+
type: (NumberConstructor | StringConstructor)[];
|
25
|
+
default: undefined;
|
26
|
+
};
|
27
|
+
rotate: {
|
28
|
+
type: NumberConstructor;
|
29
|
+
default: undefined;
|
30
|
+
};
|
31
|
+
spin: {
|
32
|
+
type: BooleanConstructor;
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
color: {
|
36
|
+
type: StringConstructor;
|
37
|
+
default: undefined;
|
38
|
+
};
|
39
|
+
fillColor: {
|
40
|
+
type: ArrayConstructor;
|
41
|
+
default: undefined;
|
42
|
+
};
|
43
|
+
}>> & Readonly<{}>, {
|
44
|
+
size: string | number;
|
45
|
+
rotate: number;
|
46
|
+
spin: boolean;
|
47
|
+
color: string;
|
48
|
+
fillColor: unknown[];
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
50
|
+
export default _default;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { VNode } from 'vue';
|
2
|
+
import { JSX } from 'vue/jsx-runtime';
|
3
|
+
export declare function generateIcon(name: string, template: JSX.Element | VNode): import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
4
|
+
size: {
|
5
|
+
type: (NumberConstructor | StringConstructor)[];
|
6
|
+
default: undefined;
|
7
|
+
};
|
8
|
+
rotate: {
|
9
|
+
type: NumberConstructor;
|
10
|
+
default: undefined;
|
11
|
+
};
|
12
|
+
spin: {
|
13
|
+
type: BooleanConstructor;
|
14
|
+
default: boolean;
|
15
|
+
};
|
16
|
+
color: {
|
17
|
+
type: StringConstructor;
|
18
|
+
default: undefined;
|
19
|
+
};
|
20
|
+
fillColor: {
|
21
|
+
type: ArrayConstructor;
|
22
|
+
default: undefined;
|
23
|
+
};
|
24
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
25
|
+
size: {
|
26
|
+
type: (NumberConstructor | StringConstructor)[];
|
27
|
+
default: undefined;
|
28
|
+
};
|
29
|
+
rotate: {
|
30
|
+
type: NumberConstructor;
|
31
|
+
default: undefined;
|
32
|
+
};
|
33
|
+
spin: {
|
34
|
+
type: BooleanConstructor;
|
35
|
+
default: boolean;
|
36
|
+
};
|
37
|
+
color: {
|
38
|
+
type: StringConstructor;
|
39
|
+
default: undefined;
|
40
|
+
};
|
41
|
+
fillColor: {
|
42
|
+
type: ArrayConstructor;
|
43
|
+
default: undefined;
|
44
|
+
};
|
45
|
+
}>> & Readonly<{}>, {
|
46
|
+
size: string | number;
|
47
|
+
rotate: number;
|
48
|
+
spin: boolean;
|
49
|
+
color: string;
|
50
|
+
fillColor: unknown[];
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { default as CloseCircleFill } from './default/close-circle-fill';
|
2
|
+
import { default as CheckCircleFill } from './default/check-circle-fill';
|
3
|
+
import { default as ExclamationCircleFill } from './default/exclamation-circle-fill';
|
4
|
+
import { default as InfoCircleFill } from './default/info-circle-fill';
|
5
|
+
import { default as MinusCircleFill } from './default/minus-circle-fill';
|
6
|
+
import { default as AnimationLoading } from './animation/animation-loading';
|
7
|
+
export { CloseCircleFill, CheckCircleFill, ExclamationCircleFill, InfoCircleFill, MinusCircleFill, AnimationLoading, };
|
package/dist/index.d.ts
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { App } from 'vue';
|
2
|
+
import { default as Dialog } from './components/dialog/warp';
|
3
|
+
import { default as Message } from './components/message/warp';
|
4
|
+
import { default as MessageBox } from './components/message-box/warp';
|
5
|
+
import { default as Notification } from './components/notification/warp';
|
6
|
+
export * from './components';
|
7
|
+
export { Dialog, Message, MessageBox, Notification };
|
8
|
+
declare const XNext: {
|
9
|
+
install: (app: App) => void;
|
10
|
+
};
|
11
|
+
export default XNext;
|
12
|
+
export type {} from './types';
|