x-next 0.0.0-alpha.2 → 0.0.0-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -84
- package/package.json +34 -48
- package/{dist/types → x-next}/_hooks/use-overflow.d.ts +1 -1
- package/{dist/types → x-next}/_hooks/use-popup-manager.d.ts +1 -1
- package/{dist/types → x-next}/_utils/dom.d.ts +1 -1
- package/{dist/types → x-next}/_utils/icon.d.ts +7 -7
- package/{dist/types → x-next}/_utils/is.d.ts +3 -6
- package/{dist/types → x-next}/_utils/keyboard.d.ts +1 -1
- package/{dist/types → x-next}/_utils/vue-eco.d.ts +7 -11
- package/x-next/componets/button/index.vue.d.ts +162 -0
- package/{dist/types → x-next}/componets/button/props.d.ts +4 -4
- package/{dist/types → x-next}/componets/dialog/index.vue.d.ts +27 -27
- package/{dist/types → x-next}/componets/dialog/props.d.ts +2 -2
- package/{dist/types → x-next}/componets/dialog/use-props.d.ts +1 -1
- package/{dist/types → x-next}/componets/dialog/use.d.ts +1 -1
- package/x-next/componets/dialog/warp.d.ts +2 -0
- package/x-next/componets/message/index.vue.d.ts +387 -0
- package/{dist/types → x-next}/componets/message/props.d.ts +1 -1
- package/{dist/types → x-next}/componets/message/warp.d.ts +1 -1
- package/{dist/types → x-next}/componets/message-box/index.d.ts +1 -1
- package/{dist/types → x-next}/componets/message-box/props.d.ts +1 -1
- package/x-next/componets/message-box/warp.d.ts +2 -0
- package/{dist/types → x-next}/componets/notification/index.vue.d.ts +26 -26
- package/{dist/types → x-next}/componets/notification/props.d.ts +2 -2
- package/{dist/types → x-next}/componets/notification/warp.d.ts +1 -1
- package/{dist/types → x-next}/componets/space/index.d.ts +9 -9
- package/{dist/types → x-next}/componets/trend-chart/components/trend-chart-curve.d.ts +17 -17
- package/{dist/types → x-next}/componets/trend-chart/components/trend-chart-grid.d.ts +7 -7
- package/{dist/types → x-next}/componets/trend-chart/components/trend-chart-labels.d.ts +7 -7
- package/{dist/types → x-next}/componets/trend-chart/components/trend-chart.d.ts +47 -47
- package/{dist/types → x-next}/componets/trend-chart/helpers/genPoints.d.ts +1 -1
- package/x-next/componets/trend-chart/index.d.ts +2 -0
- package/{dist/types → x-next}/componets/trend-chart/props.d.ts +2 -2
- package/{dist/types → x-next}/icons/animation/animation-loading.vue.d.ts +9 -9
- package/{dist/types → x-next}/icons/default/check-circle-fill.vue.d.ts +9 -9
- package/{dist/types → x-next}/icons/default/close-circle-fill.vue.d.ts +9 -9
- package/{dist/types → x-next}/icons/default/exclamation-circle-fill.vue.d.ts +9 -9
- package/{dist/types → x-next}/icons/default/info-circle-fill.vue.d.ts +9 -9
- package/{dist/types → x-next}/icons/default/minus-circle-fill.vue.d.ts +9 -9
- package/x-next/icons/index.d.ts +7 -0
- package/x-next/style.css +1 -0
- package/x-next/ui.d.ts +5 -0
- package/x-next/ui.js +1357 -0
- package/x-next/ui.umd.cjs +1 -0
- package/LICENSE +0 -21
- package/dist/favicon.ico +0 -0
- package/dist/types/componets/button/index.vue.d.ts +0 -107
- package/dist/types/componets/dialog/warp.d.ts +0 -2
- package/dist/types/componets/message/index.vue.d.ts +0 -116
- package/dist/types/componets/message-box/warp.d.ts +0 -2
- package/dist/types/componets/tag-cloud/index.d.ts +0 -0
- package/dist/types/componets/trend-chart/index.d.ts +0 -2
- 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 → x-next}/_props/css.d.ts +0 -0
- /package/{dist/types → x-next}/_props/global.d.ts +0 -0
- /package/{dist/types → x-next}/_utils/config.d.ts +0 -0
- /package/{dist/types → x-next}/_utils/convert-case.d.ts +0 -0
- /package/{dist/types → x-next}/_utils/helpers.d.ts +0 -0
- /package/{dist/types → x-next}/_utils/number.d.ts +0 -0
- /package/{dist → x-next/componets/tag-cloud}/index.d.ts +0 -0
- /package/{dist/types → x-next}/componets/trend-chart/helpers/genPath.d.ts +0 -0
- /package/{dist/types → x-next}/componets/trend-chart/helpers/getPadding.d.ts +0 -0
- /package/{dist/types → x-next}/componets/trend-chart/helpers/validatePadding.d.ts +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
declare const
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
position: {
|
3
|
-
type: import(
|
3
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
offset: {
|
@@ -12,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
12
12
|
default: string;
|
13
13
|
};
|
14
14
|
type: {
|
15
|
-
type: import(
|
15
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
16
16
|
default: string;
|
17
17
|
};
|
18
18
|
message: {
|
@@ -28,7 +28,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
28
28
|
default: boolean;
|
29
29
|
};
|
30
30
|
onClose: {
|
31
|
-
type: import(
|
31
|
+
type: import('vue').PropType<() => void>;
|
32
32
|
default: () => void;
|
33
33
|
};
|
34
34
|
renderToBody: {
|
@@ -43,17 +43,17 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
43
43
|
modifier: (className: string) => string;
|
44
44
|
is: (className: string) => string;
|
45
45
|
};
|
46
|
-
cls: import(
|
47
|
-
animationClsName: import(
|
48
|
-
positionStyle: import(
|
49
|
-
visible: import(
|
50
|
-
positionPropMap: import(
|
46
|
+
cls: import('vue').ComputedRef<string[]>;
|
47
|
+
animationClsName: import('vue').ComputedRef<string>;
|
48
|
+
positionStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
49
|
+
visible: import('vue').Ref<boolean, boolean>;
|
50
|
+
positionPropMap: import('vue').ComputedRef<{
|
51
51
|
hor: string;
|
52
52
|
ver: string;
|
53
53
|
}>;
|
54
|
-
currentIcon: import(
|
54
|
+
currentIcon: import('vue').ComputedRef<"" | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
55
55
|
size: {
|
56
|
-
type: (
|
56
|
+
type: (StringConstructor | NumberConstructor)[];
|
57
57
|
default: undefined;
|
58
58
|
};
|
59
59
|
rotate: {
|
@@ -73,13 +73,13 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
73
73
|
default: undefined;
|
74
74
|
};
|
75
75
|
}>, {
|
76
|
-
cls: import(
|
77
|
-
|
76
|
+
cls: import('vue').ComputedRef<(string | {
|
77
|
+
"x-icon-loading": boolean;
|
78
78
|
})[]>;
|
79
|
-
styles: import(
|
80
|
-
}, {}, {}, {}, import(
|
79
|
+
styles: import('vue').ComputedRef<import('vue').CSSProperties>;
|
80
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
81
81
|
size: {
|
82
|
-
type: (
|
82
|
+
type: (StringConstructor | NumberConstructor)[];
|
83
83
|
default: undefined;
|
84
84
|
};
|
85
85
|
rotate: {
|
@@ -104,11 +104,11 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
104
104
|
rotate: number;
|
105
105
|
spin: boolean;
|
106
106
|
fillColor: unknown[];
|
107
|
-
}, {}, {}, {}, string, import(
|
107
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
108
108
|
handleClose: () => void;
|
109
|
-
}, {}, {}, {}, import(
|
109
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "destroy")[], "close" | "destroy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
110
110
|
position: {
|
111
|
-
type: import(
|
111
|
+
type: import('vue').PropType<import('./props').NotificationPosition>;
|
112
112
|
default: string;
|
113
113
|
};
|
114
114
|
offset: {
|
@@ -120,7 +120,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
120
120
|
default: string;
|
121
121
|
};
|
122
122
|
type: {
|
123
|
-
type: import(
|
123
|
+
type: import('vue').PropType<import('./props').NotificationType>;
|
124
124
|
default: string;
|
125
125
|
};
|
126
126
|
message: {
|
@@ -136,7 +136,7 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
136
136
|
default: boolean;
|
137
137
|
};
|
138
138
|
onClose: {
|
139
|
-
type: import(
|
139
|
+
type: import('vue').PropType<() => void>;
|
140
140
|
default: () => void;
|
141
141
|
};
|
142
142
|
renderToBody: {
|
@@ -147,14 +147,14 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
|
|
147
147
|
onClose?: ((...args: any[]) => any) | undefined;
|
148
148
|
onDestroy?: ((...args: any[]) => any) | undefined;
|
149
149
|
}>, {
|
150
|
-
position: import("./props").NotificationPosition;
|
151
|
-
offset: number;
|
152
150
|
message: string;
|
151
|
+
position: import('./props').NotificationPosition;
|
152
|
+
offset: number;
|
153
153
|
title: string;
|
154
|
-
type: "success" | "error" | "warning" | "strong" | "info";
|
155
154
|
showClose: boolean;
|
155
|
+
type: "error" | "strong" | "success" | "warning" | "info";
|
156
156
|
onClose: () => void;
|
157
157
|
duration: number;
|
158
158
|
renderToBody: boolean;
|
159
|
-
}, {}, {}, {}, string, import(
|
160
|
-
export default
|
159
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
160
|
+
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { ExtractPropTypes, PropType, RenderFunction, VNode } from 'vue';
|
2
2
|
export declare const types: readonly ["success", "strong", "warning", "error", "info"];
|
3
3
|
export type NotificationType = (typeof types)[number];
|
4
4
|
export interface NotificationOptions {
|
@@ -27,7 +27,7 @@ export declare const notificationProps: {
|
|
27
27
|
default: string;
|
28
28
|
};
|
29
29
|
type: {
|
30
|
-
type: PropType<
|
30
|
+
type: PropType<NotificationType>;
|
31
31
|
default: string;
|
32
32
|
};
|
33
33
|
message: {
|
@@ -1,32 +1,32 @@
|
|
1
|
-
import
|
2
|
-
declare const _default: import(
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
3
|
direction: {
|
4
4
|
type: PropType<"horizontal" | "vertical">;
|
5
5
|
default: string;
|
6
6
|
};
|
7
7
|
size: {
|
8
|
-
type: PropType<number | "
|
8
|
+
type: PropType<number | "mini" | "small" | "medium" | "large">;
|
9
9
|
default: string;
|
10
10
|
};
|
11
11
|
align: {
|
12
|
-
type: PropType<"
|
12
|
+
type: PropType<"start" | "end" | "center" | "baseline">;
|
13
13
|
default: string;
|
14
14
|
};
|
15
15
|
fill: {
|
16
16
|
type: BooleanConstructor;
|
17
17
|
default: boolean;
|
18
18
|
};
|
19
|
-
}>, () => any, {}, {}, {}, import(
|
19
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
20
20
|
direction: {
|
21
21
|
type: PropType<"horizontal" | "vertical">;
|
22
22
|
default: string;
|
23
23
|
};
|
24
24
|
size: {
|
25
|
-
type: PropType<number | "
|
25
|
+
type: PropType<number | "mini" | "small" | "medium" | "large">;
|
26
26
|
default: string;
|
27
27
|
};
|
28
28
|
align: {
|
29
|
-
type: PropType<"
|
29
|
+
type: PropType<"start" | "end" | "center" | "baseline">;
|
30
30
|
default: string;
|
31
31
|
};
|
32
32
|
fill: {
|
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
35
35
|
};
|
36
36
|
}>> & Readonly<{}>, {
|
37
37
|
fill: boolean;
|
38
|
-
direction: "horizontal" | "vertical";
|
39
38
|
size: number | "small" | "medium" | "large" | "mini";
|
39
|
+
direction: "horizontal" | "vertical";
|
40
40
|
align: "center" | "end" | "start" | "baseline";
|
41
|
-
}, {}, {}, {}, string, import(
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
42
42
|
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
-
declare const _default: import(
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
3
|
boundary: {
|
4
4
|
required: boolean;
|
5
|
-
type: import(
|
5
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
6
6
|
default: () => void;
|
7
7
|
};
|
8
8
|
minValue: {
|
@@ -22,11 +22,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
22
22
|
};
|
23
23
|
data: {
|
24
24
|
required: boolean;
|
25
|
-
type: import(
|
25
|
+
type: import('vue').PropType<import('../props').PointValue[]>;
|
26
26
|
default: () => never[];
|
27
27
|
};
|
28
28
|
className: {
|
29
|
-
type: import(
|
29
|
+
type: import('vue').PropType<string>;
|
30
30
|
};
|
31
31
|
smooth: {
|
32
32
|
default: boolean;
|
@@ -45,17 +45,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
45
45
|
type: BooleanConstructor;
|
46
46
|
};
|
47
47
|
theme: {
|
48
|
-
type: import(
|
48
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
49
49
|
};
|
50
50
|
mainTheme: {
|
51
|
-
type: import(
|
51
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
52
52
|
};
|
53
|
-
}>, () => VNode<import(
|
53
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
54
54
|
[key: string]: any;
|
55
|
-
}>, {}, {}, {}, import(
|
55
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
56
56
|
boundary: {
|
57
57
|
required: boolean;
|
58
|
-
type: import(
|
58
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
59
59
|
default: () => void;
|
60
60
|
};
|
61
61
|
minValue: {
|
@@ -75,11 +75,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
75
75
|
};
|
76
76
|
data: {
|
77
77
|
required: boolean;
|
78
|
-
type: import(
|
78
|
+
type: import('vue').PropType<import('../props').PointValue[]>;
|
79
79
|
default: () => never[];
|
80
80
|
};
|
81
81
|
className: {
|
82
|
-
type: import(
|
82
|
+
type: import('vue').PropType<string>;
|
83
83
|
};
|
84
84
|
smooth: {
|
85
85
|
default: boolean;
|
@@ -98,17 +98,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
98
98
|
type: BooleanConstructor;
|
99
99
|
};
|
100
100
|
theme: {
|
101
|
-
type: import(
|
101
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
102
102
|
};
|
103
103
|
mainTheme: {
|
104
|
-
type: import(
|
104
|
+
type: import('vue').PropType<import('../props').CurveTheme>;
|
105
105
|
};
|
106
106
|
}>> & Readonly<{}>, {
|
107
107
|
fill: boolean;
|
108
|
-
data: import("../props").PointValue[];
|
109
|
-
smooth: boolean;
|
110
108
|
stroke: boolean;
|
111
|
-
|
109
|
+
data: import('../props').PointValue[];
|
110
|
+
smooth: boolean;
|
111
|
+
boundary: import('../props').Boundary;
|
112
112
|
showPoints: boolean;
|
113
|
-
}, {}, {}, {}, string, import(
|
113
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
114
114
|
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
-
declare const _default: import(
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
3
|
boundary: {
|
4
4
|
required: boolean;
|
5
|
-
type: import(
|
5
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
6
6
|
default: () => void;
|
7
7
|
};
|
8
8
|
verticalLines: {
|
@@ -21,12 +21,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
21
21
|
default: number;
|
22
22
|
type: NumberConstructor;
|
23
23
|
};
|
24
|
-
}>, () => VNode<import(
|
24
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
25
25
|
[key: string]: any;
|
26
|
-
}> | null, {}, {}, {}, import(
|
26
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
27
27
|
boundary: {
|
28
28
|
required: boolean;
|
29
|
-
type: import(
|
29
|
+
type: import('vue').PropType<import('../props').Boundary>;
|
30
30
|
default: () => void;
|
31
31
|
};
|
32
32
|
verticalLines: {
|
@@ -46,10 +46,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
46
46
|
type: NumberConstructor;
|
47
47
|
};
|
48
48
|
}>> & Readonly<{}>, {
|
49
|
-
boundary: import(
|
49
|
+
boundary: import('../props').Boundary;
|
50
50
|
verticalLines: boolean;
|
51
51
|
verticalLinesNumber: number;
|
52
52
|
horizontalLines: boolean;
|
53
53
|
horizontalLinesNumber: number;
|
54
|
-
}, {}, {}, {}, string, import(
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
55
55
|
export default _default;
|
@@ -1,22 +1,22 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
-
declare const _default: import(
|
3
|
-
boundary: import(
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
3
|
+
boundary: import('../props').Boundary;
|
4
4
|
yLabelsTextFormatter: Function;
|
5
5
|
minValue?: number | undefined;
|
6
6
|
maxValue?: number | undefined;
|
7
7
|
xLabels?: unknown[] | undefined;
|
8
8
|
yLabels?: number | undefined;
|
9
|
-
}, () => VNode<import(
|
9
|
+
}, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
10
10
|
[key: string]: any;
|
11
|
-
}>, {}, {}, {}, import(
|
12
|
-
boundary: import(
|
11
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
12
|
+
boundary: import('../props').Boundary;
|
13
13
|
yLabelsTextFormatter: Function;
|
14
14
|
minValue?: number | undefined;
|
15
15
|
maxValue?: number | undefined;
|
16
16
|
xLabels?: unknown[] | undefined;
|
17
17
|
yLabels?: number | undefined;
|
18
18
|
}> & Readonly<{}>, {
|
19
|
-
boundary: import(
|
19
|
+
boundary: import('../props').Boundary;
|
20
20
|
yLabelsTextFormatter: Function;
|
21
|
-
}, {}, {}, {}, string, import(
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
22
22
|
export default _default;
|
@@ -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
|
+
stroke: boolean;
|
263
264
|
data: PointValue[];
|
264
265
|
smooth: boolean;
|
265
|
-
|
266
|
-
boundary: import("../props").Boundary;
|
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;
|