x-next 0.0.0-alpha.5 → 0.0.0-alpha.50
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/README.md +21 -1
- package/dist/_container/client-only.d.ts +4 -0
- package/dist/_container/parent-scroll-observer.d.ts +6 -0
- package/dist/_container/render-function.d.ts +14 -0
- package/dist/_container/resize-observer-2.d.ts +12 -0
- package/dist/_container/resize-observer.d.ts +6 -0
- package/dist/_container/utils.d.ts +12 -0
- package/dist/_hooks/_types.d.ts +4 -0
- package/dist/_hooks/use-first-element.d.ts +5 -0
- package/dist/_hooks/use-index.d.ts +9 -0
- package/dist/_hooks/use-merge-state.d.ts +4 -0
- package/dist/_hooks/use-pick-slots.d.ts +2 -0
- package/dist/_hooks/use-popup-container.d.ts +6 -0
- package/dist/_hooks/use-popup-overflow-hidden.d.ts +6 -0
- package/dist/_hooks/use-resize-observer.d.ts +8 -0
- package/dist/_hooks/use-state.d.ts +2 -0
- package/dist/_hooks/use-teleport-container.d.ts +10 -0
- package/dist/_props/constant.d.ts +4 -0
- package/dist/_props/types.d.ts +1 -0
- package/dist/_utils/click.d.ts +13 -0
- package/dist/_utils/config.d.ts +1 -1
- package/dist/_utils/constant.d.ts +17 -0
- package/dist/_utils/dom.d.ts +6 -0
- package/dist/_utils/is.d.ts +3 -0
- package/dist/_utils/omit.d.ts +2 -0
- package/dist/_utils/raf.d.ts +3 -0
- package/dist/_utils/throttle-by-raf.d.ts +4 -0
- package/dist/_utils/types.d.ts +1 -0
- package/dist/_utils/vue-eco.d.ts +12 -1
- package/dist/components/_components/icon-hover.vue.d.ts +38 -0
- package/dist/components/button/Button.d.ts +97 -0
- package/dist/components/button/index.d.ts +181 -0
- package/dist/{componets → components}/button/props.d.ts +4 -4
- package/dist/{componets/dialog/index.vue.d.ts → components/dialog/Dialog.d.ts} +13 -46
- package/dist/components/dialog/index.d.ts +334 -0
- package/dist/{componets → components}/dialog/props.d.ts +5 -5
- package/dist/components/drawer/index.d.ts +1474 -0
- package/dist/components/drawer/src/Drawer.vue.d.ts +744 -0
- package/dist/components/drawer/src/props.d.ts +75 -0
- package/dist/components/drawer/src/types.d.ts +1 -0
- package/dist/components/form/constants.d.ts +4 -0
- package/dist/components/form/form-item.d.ts +31 -0
- package/dist/components/form/form.d.ts +39 -0
- package/dist/components/form/hooks.d.ts +4 -0
- package/dist/components/form/types.d.ts +31 -0
- package/dist/components/image/ImagePreviewAction.d.ts +1354 -0
- package/dist/components/image/context.d.ts +6 -0
- package/dist/components/image/hooks/use-image-drag.d.ts +11 -0
- package/dist/components/image/hooks/use-image-load-status.d.ts +10 -0
- package/dist/components/image/image-footer.vue.d.ts +23 -0
- package/dist/components/image/interface.d.ts +45 -0
- package/dist/components/image/preview-arrow.vue.d.ts +122 -0
- package/dist/components/image/preview-toolbar.vue.d.ts +1388 -0
- package/dist/components/image/utils/get-fix-translate.d.ts +1 -0
- package/dist/components/image/utils/get-scale.d.ts +6 -0
- package/dist/components/image/utils/index.d.ts +1 -0
- package/dist/components/index.d.ts +16 -0
- package/dist/components/input/Input.d.ts +220 -0
- package/dist/components/input/index.d.ts +394 -0
- package/dist/components/input/props.d.ts +95 -0
- package/dist/components/input/utils.d.ts +6 -0
- package/dist/components/message/Message.d.ts +108 -0
- package/dist/{componets/message/index.vue.d.ts → components/message/MessageVue.vue.d.ts} +23 -48
- package/dist/components/message/index.d.ts +193 -0
- package/dist/components/message-box/index.d.ts +4 -0
- 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/components/popconfirm/index.d.ts +193 -0
- package/dist/components/popconfirm/src/Popconfirm.d.ts +104 -0
- package/dist/components/popconfirm/src/popup.vue.d.ts +407 -0
- package/dist/components/popconfirm/src/props.d.ts +45 -0
- package/dist/components/popconfirm/src/types.d.ts +3 -0
- package/dist/components/popup/Popup.d.ts +188 -0
- package/dist/components/popup/index.d.ts +334 -0
- package/dist/components/popup/props.d.ts +83 -0
- package/dist/components/popup/use-props.d.ts +33 -0
- package/dist/components/popup/use.d.ts +3 -0
- package/dist/components/popup/warp.d.ts +2 -0
- package/dist/components/scrollbar/index.d.ts +291 -0
- package/dist/components/scrollbar/src/Scrollbar.vue.d.ts +134 -0
- package/dist/components/scrollbar/src/constant.d.ts +1 -0
- package/dist/components/scrollbar/src/scrollbar.d.ts +24 -0
- package/dist/components/scrollbar/src/thumb.d.ts +20 -0
- package/dist/components/scrollbar/src/thumb.vue.d.ts +47 -0
- package/dist/components/scrollbar/src/types.d.ts +18 -0
- package/dist/{componets/space/index.d.ts → components/space/Space.d.ts} +1 -1
- package/dist/components/space/index.d.ts +82 -0
- package/dist/components/tag/Tag.vue.d.ts +375 -0
- package/dist/components/tag/index.d.ts +519 -0
- package/dist/components/tag/interface.d.ts +49 -0
- package/dist/components/timeline/index.d.ts +58 -0
- package/dist/components/timeline/src/Timeline.d.ts +24 -0
- package/dist/components/timeline/src/TimelineItem.d.ts +12 -0
- package/dist/components/timeline/src/context.d.ts +12 -0
- package/dist/components/timeline/src/props.d.ts +31 -0
- package/dist/components/timeline/src/types.d.ts +9 -0
- package/dist/components/timeline-item/index.d.ts +34 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts +760 -0
- package/dist/components/tooltip/index.d.ts +1317 -0
- package/dist/components/trend-chart/components/TrendChart.d.ts +277 -0
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +111 -0
- package/dist/components/trend-chart/components/trend-chart-grid.d.ts +55 -0
- package/dist/components/trend-chart/components/trend-chart-labels.d.ts +22 -0
- package/dist/components/trend-chart/helpers/genPath.d.ts +8 -0
- package/dist/components/trend-chart/helpers/genPoints.d.ts +3 -0
- package/dist/components/trend-chart/helpers/getPadding.d.ts +7 -0
- package/dist/components/trend-chart/helpers/validatePadding.d.ts +2 -0
- package/dist/components/trend-chart/index.d.ts +535 -0
- package/dist/components/trend-chart/props.d.ts +203 -0
- package/dist/components/trend-chart/themes.d.ts +128 -0
- package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart-curve.d.ts +2 -5
- package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart.d.ts +19 -15
- package/dist/components/trend-chart.bak/index.d.ts +530 -0
- package/dist/{componets/trend-chart → components/trend-chart.bak}/props.d.ts +10 -5
- package/dist/components/trend-chart.bak/themes.d.ts +152 -0
- package/dist/components/trigger/index.d.ts +487 -0
- package/dist/components/trigger/src/_trigger.d.ts +217 -0
- package/dist/components/trigger/src/constant.d.ts +8 -0
- package/dist/components/trigger/src/trigger.d.ts +288 -0
- package/dist/components/trigger/src/utils.d.ts +50 -0
- package/dist/components/trigger-v2/context.d.ts +8 -0
- package/dist/components/trigger-v2/index.d.ts +562 -0
- package/dist/components/trigger-v2/interface.d.ts +40 -0
- package/dist/components/trigger-v2/trigger.d.ts +627 -0
- package/dist/components/trigger-v2/utils.d.ts +51 -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/{default/exclamation-circle-fill.vue.d.ts → _self/full-screen.d.ts} +4 -9
- package/dist/icons/{default/close-circle-fill.vue.d.ts → _self/next.d.ts} +4 -9
- package/dist/icons/{animation/animation-loading.vue.d.ts → _self/original-size.d.ts} +4 -9
- package/dist/icons/{default/check-circle-fill.vue.d.ts → _self/prev.d.ts} +4 -9
- package/dist/icons/_self/rotate-left.d.ts +50 -0
- package/dist/icons/_self/rotate-right.d.ts +50 -0
- package/dist/icons/_self/zoom-in.d.ts +50 -0
- package/dist/icons/_self/zoom-out.d.ts +50 -0
- package/dist/icons/animation/animation-loading.d.ts +50 -0
- package/dist/icons/default/check-circle-fill.d.ts +50 -0
- package/dist/icons/default/close-circle-fill.d.ts +50 -0
- package/dist/icons/default/close.d.ts +50 -0
- package/dist/icons/default/exclamation-circle-fill.d.ts +50 -0
- package/dist/icons/default/info-circle-fill.d.ts +50 -0
- package/dist/icons/default/left.d.ts +50 -0
- package/dist/icons/default/logo-simple.d.ts +50 -0
- package/dist/icons/default/minus-circle-fill.d.ts +50 -0
- package/dist/icons/default/right.d.ts +50 -0
- package/dist/icons/icon.d.ts +51 -0
- package/dist/icons/index.d.ts +11 -7
- package/dist/index.d.ts +13 -0
- package/dist/index.es.js +6494 -1065
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +24 -0
- package/package.json +25 -11
- package/volar.d.ts +25 -0
- package/dist/_utils/icon.d.ts +0 -59
- package/dist/componets/button/index.vue.d.ts +0 -162
- package/dist/componets/message-box/warp.d.ts +0 -2
- package/dist/componets/notification/index.vue.d.ts +0 -160
- package/dist/componets/trend-chart/index.d.ts +0 -2
- package/dist/icons/default/info-circle-fill.vue.d.ts +0 -55
- package/dist/icons/default/minus-circle-fill.vue.d.ts +0 -55
- package/dist/ui.d.ts +0 -5
- /package/dist/{componets → components}/dialog/use-props.d.ts +0 -0
- /package/dist/{componets → components}/dialog/use.d.ts +0 -0
- /package/dist/{componets → components}/dialog/warp.d.ts +0 -0
- /package/dist/{componets → components}/message/props.d.ts +0 -0
- /package/dist/{componets → components}/message/warp.d.ts +0 -0
- /package/dist/{componets/message-box/index.d.ts → components/message-box/MessageBox.d.ts} +0 -0
- /package/dist/{componets → components}/message-box/props.d.ts +0 -0
- /package/dist/{componets → components}/notification/props.d.ts +0 -0
- /package/dist/{componets → components}/notification/warp.d.ts +0 -0
- /package/dist/{componets → components}/tag-cloud/index.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart-grid.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart-labels.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/genPath.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/genPoints.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/getPadding.d.ts +0 -0
- /package/dist/{componets/trend-chart → components/trend-chart.bak}/helpers/validatePadding.d.ts +0 -0
@@ -0,0 +1,203 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import { CSSColor } from '../../_props/css';
|
3
|
+
export type TrendChartStatus = 'primary' | 'success' | 'warning' | 'strong' | 'danger' | 'info';
|
4
|
+
export type Padding = {
|
5
|
+
top: number | string;
|
6
|
+
right: number | string;
|
7
|
+
bottom: number | string;
|
8
|
+
left: number | string;
|
9
|
+
};
|
10
|
+
export type Point = {
|
11
|
+
x: number;
|
12
|
+
y: number;
|
13
|
+
};
|
14
|
+
export type PointValue = number;
|
15
|
+
export type MouseMoveEvent = {
|
16
|
+
index: number;
|
17
|
+
data: PointValue;
|
18
|
+
} | null;
|
19
|
+
export type Boundary = {
|
20
|
+
minX: number;
|
21
|
+
maxX: number;
|
22
|
+
minY: number;
|
23
|
+
maxY: number;
|
24
|
+
};
|
25
|
+
export type DataSetTheme = {};
|
26
|
+
export type DataSet = number[];
|
27
|
+
export type Grid = {
|
28
|
+
verticalLines?: boolean;
|
29
|
+
verticalLinesNumber?: number;
|
30
|
+
horizontalLines?: boolean;
|
31
|
+
horizontalLinesNumber?: number;
|
32
|
+
};
|
33
|
+
export type Labels = {
|
34
|
+
xLabels: string[];
|
35
|
+
yLabels: number;
|
36
|
+
yLabelsTextFormatter: (value: number) => string;
|
37
|
+
};
|
38
|
+
export type CurveTheme = {
|
39
|
+
stroke?: {
|
40
|
+
width?: number;
|
41
|
+
color?: CSSColor;
|
42
|
+
opacity?: number;
|
43
|
+
};
|
44
|
+
fill?: {
|
45
|
+
color?: CSSColor;
|
46
|
+
opacity?: number;
|
47
|
+
};
|
48
|
+
point?: {
|
49
|
+
width?: number;
|
50
|
+
color?: CSSColor;
|
51
|
+
opacity?: number;
|
52
|
+
};
|
53
|
+
};
|
54
|
+
export interface Theme extends CurveTheme {
|
55
|
+
color?: CSSColor;
|
56
|
+
axisLine?: {
|
57
|
+
color?: CSSColor;
|
58
|
+
width?: number;
|
59
|
+
opacity?: number;
|
60
|
+
};
|
61
|
+
}
|
62
|
+
export declare const trendChartProps: {
|
63
|
+
dataset: {
|
64
|
+
required: boolean;
|
65
|
+
type: PropType<DataSet>;
|
66
|
+
default: () => never[];
|
67
|
+
};
|
68
|
+
status: {
|
69
|
+
type: PropType<TrendChartStatus>;
|
70
|
+
default: undefined;
|
71
|
+
};
|
72
|
+
grid: {
|
73
|
+
default: null;
|
74
|
+
type: PropType<Grid>;
|
75
|
+
};
|
76
|
+
labels: {
|
77
|
+
default: null;
|
78
|
+
type: PropType<Labels>;
|
79
|
+
};
|
80
|
+
max: {
|
81
|
+
type: NumberConstructor;
|
82
|
+
};
|
83
|
+
min: {
|
84
|
+
type: NumberConstructor;
|
85
|
+
};
|
86
|
+
padding: {
|
87
|
+
default: string;
|
88
|
+
type: StringConstructor;
|
89
|
+
validator(val: string): boolean;
|
90
|
+
};
|
91
|
+
interactive: {
|
92
|
+
default: boolean;
|
93
|
+
type: BooleanConstructor;
|
94
|
+
};
|
95
|
+
theme: {
|
96
|
+
type: PropType<Theme>;
|
97
|
+
default: () => {
|
98
|
+
activeLineColor: string;
|
99
|
+
};
|
100
|
+
};
|
101
|
+
};
|
102
|
+
export declare const trendChartCurveProps: {
|
103
|
+
boundary: {
|
104
|
+
required: boolean;
|
105
|
+
type: PropType<Boundary>;
|
106
|
+
default: () => void;
|
107
|
+
};
|
108
|
+
minValue: {
|
109
|
+
required: boolean;
|
110
|
+
type: NumberConstructor;
|
111
|
+
};
|
112
|
+
maxValue: {
|
113
|
+
required: boolean;
|
114
|
+
type: NumberConstructor;
|
115
|
+
};
|
116
|
+
maxAmount: {
|
117
|
+
required: boolean;
|
118
|
+
type: NumberConstructor;
|
119
|
+
};
|
120
|
+
activeLineParams: {
|
121
|
+
type: ObjectConstructor;
|
122
|
+
};
|
123
|
+
data: {
|
124
|
+
required: boolean;
|
125
|
+
type: PropType<number[]>;
|
126
|
+
default: () => never[];
|
127
|
+
};
|
128
|
+
className: {
|
129
|
+
type: PropType<string>;
|
130
|
+
};
|
131
|
+
smooth: {
|
132
|
+
default: boolean;
|
133
|
+
type: BooleanConstructor;
|
134
|
+
};
|
135
|
+
stroke: {
|
136
|
+
default: boolean;
|
137
|
+
type: BooleanConstructor;
|
138
|
+
};
|
139
|
+
fill: {
|
140
|
+
default: boolean;
|
141
|
+
type: BooleanConstructor;
|
142
|
+
};
|
143
|
+
showPoints: {
|
144
|
+
default: boolean;
|
145
|
+
type: BooleanConstructor;
|
146
|
+
};
|
147
|
+
theme: {
|
148
|
+
type: PropType<CurveTheme>;
|
149
|
+
};
|
150
|
+
mainTheme: {
|
151
|
+
type: PropType<CurveTheme>;
|
152
|
+
};
|
153
|
+
};
|
154
|
+
export declare const trendChartGridProps: {
|
155
|
+
boundary: {
|
156
|
+
required: boolean;
|
157
|
+
type: PropType<Boundary>;
|
158
|
+
default: () => void;
|
159
|
+
};
|
160
|
+
verticalLines: {
|
161
|
+
default: boolean;
|
162
|
+
type: BooleanConstructor;
|
163
|
+
};
|
164
|
+
verticalLinesNumber: {
|
165
|
+
default: number;
|
166
|
+
type: NumberConstructor;
|
167
|
+
};
|
168
|
+
horizontalLines: {
|
169
|
+
default: boolean;
|
170
|
+
type: BooleanConstructor;
|
171
|
+
};
|
172
|
+
horizontalLinesNumber: {
|
173
|
+
default: number;
|
174
|
+
type: NumberConstructor;
|
175
|
+
};
|
176
|
+
};
|
177
|
+
export declare const trendChartLabelsProps: {
|
178
|
+
boundary: {
|
179
|
+
required: boolean;
|
180
|
+
type: PropType<Boundary>;
|
181
|
+
default: () => void;
|
182
|
+
};
|
183
|
+
minValue: {
|
184
|
+
type: NumberConstructor;
|
185
|
+
required: boolean;
|
186
|
+
};
|
187
|
+
maxValue: {
|
188
|
+
type: NumberConstructor;
|
189
|
+
required: boolean;
|
190
|
+
};
|
191
|
+
xLabels: {
|
192
|
+
type: ArrayConstructor;
|
193
|
+
};
|
194
|
+
yLabels: {
|
195
|
+
type: NumberConstructor;
|
196
|
+
required: boolean;
|
197
|
+
};
|
198
|
+
yLabelsTextFormatter: {
|
199
|
+
default: (value: any) => any;
|
200
|
+
type: FunctionConstructor;
|
201
|
+
};
|
202
|
+
};
|
203
|
+
export type TrendChartLabelsProps = ExtractPropTypes<typeof trendChartLabelsProps>;
|
@@ -0,0 +1,128 @@
|
|
1
|
+
export declare const TrendChartTheme: {
|
2
|
+
DANGER: {
|
3
|
+
color: string;
|
4
|
+
point: {
|
5
|
+
width: number;
|
6
|
+
color: string;
|
7
|
+
};
|
8
|
+
stroke: {
|
9
|
+
width: number;
|
10
|
+
color: string;
|
11
|
+
opacity: number;
|
12
|
+
};
|
13
|
+
fill: {
|
14
|
+
color: string;
|
15
|
+
opacity: number;
|
16
|
+
};
|
17
|
+
axisLine: {
|
18
|
+
color: string;
|
19
|
+
width: number;
|
20
|
+
opacity: number;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
STRONG: {
|
24
|
+
color: string;
|
25
|
+
point: {
|
26
|
+
width: number;
|
27
|
+
color: string;
|
28
|
+
};
|
29
|
+
stroke: {
|
30
|
+
width: number;
|
31
|
+
color: string;
|
32
|
+
opacity: number;
|
33
|
+
};
|
34
|
+
fill: {
|
35
|
+
color: string;
|
36
|
+
opacity: number;
|
37
|
+
};
|
38
|
+
axisLine: {
|
39
|
+
color: string;
|
40
|
+
width: number;
|
41
|
+
opacity: number;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
WARNING: {
|
45
|
+
color: string;
|
46
|
+
point: {
|
47
|
+
width: number;
|
48
|
+
color: string;
|
49
|
+
};
|
50
|
+
stroke: {
|
51
|
+
width: number;
|
52
|
+
color: string;
|
53
|
+
opacity: number;
|
54
|
+
};
|
55
|
+
fill: {
|
56
|
+
color: string;
|
57
|
+
opacity: number;
|
58
|
+
};
|
59
|
+
axisLine: {
|
60
|
+
color: string;
|
61
|
+
width: number;
|
62
|
+
opacity: number;
|
63
|
+
};
|
64
|
+
};
|
65
|
+
SUCCESS: {
|
66
|
+
color: string;
|
67
|
+
point: {
|
68
|
+
width: number;
|
69
|
+
color: string;
|
70
|
+
};
|
71
|
+
stroke: {
|
72
|
+
width: number;
|
73
|
+
color: string;
|
74
|
+
opacity: number;
|
75
|
+
};
|
76
|
+
fill: {
|
77
|
+
color: string;
|
78
|
+
opacity: number;
|
79
|
+
};
|
80
|
+
axisLine: {
|
81
|
+
color: string;
|
82
|
+
width: number;
|
83
|
+
opacity: number;
|
84
|
+
};
|
85
|
+
};
|
86
|
+
INFO: {
|
87
|
+
color: string;
|
88
|
+
point: {
|
89
|
+
width: number;
|
90
|
+
color: string;
|
91
|
+
};
|
92
|
+
stroke: {
|
93
|
+
width: number;
|
94
|
+
color: string;
|
95
|
+
opacity: number;
|
96
|
+
};
|
97
|
+
fill: {
|
98
|
+
color: string;
|
99
|
+
opacity: number;
|
100
|
+
};
|
101
|
+
axisLine: {
|
102
|
+
color: string;
|
103
|
+
width: number;
|
104
|
+
opacity: number;
|
105
|
+
};
|
106
|
+
};
|
107
|
+
PRIMARY: {
|
108
|
+
color: string;
|
109
|
+
point: {
|
110
|
+
width: number;
|
111
|
+
color: string;
|
112
|
+
};
|
113
|
+
stroke: {
|
114
|
+
width: number;
|
115
|
+
color: string;
|
116
|
+
opacity: number;
|
117
|
+
};
|
118
|
+
fill: {
|
119
|
+
color: string;
|
120
|
+
opacity: number;
|
121
|
+
};
|
122
|
+
axisLine: {
|
123
|
+
color: string;
|
124
|
+
width: number;
|
125
|
+
opacity: number;
|
126
|
+
};
|
127
|
+
};
|
128
|
+
};
|
package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart-curve.d.ts
RENAMED
@@ -1,4 +1,3 @@
|
|
1
|
-
import { VNode } from 'vue';
|
2
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
2
|
boundary: {
|
4
3
|
required: boolean;
|
@@ -50,9 +49,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
50
49
|
mainTheme: {
|
51
50
|
type: import('vue').PropType<import('../props').CurveTheme>;
|
52
51
|
};
|
53
|
-
}>, () =>
|
54
|
-
[key: string]: any;
|
55
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
52
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
56
53
|
boundary: {
|
57
54
|
required: boolean;
|
58
55
|
type: import('vue').PropType<import('../props').Boundary>;
|
@@ -105,8 +102,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
105
102
|
};
|
106
103
|
}>> & Readonly<{}>, {
|
107
104
|
fill: boolean;
|
108
|
-
stroke: boolean;
|
109
105
|
data: import('../props').PointValue[];
|
106
|
+
stroke: boolean;
|
110
107
|
smooth: boolean;
|
111
108
|
boundary: import('../props').Boundary;
|
112
109
|
showPoints: boolean;
|
package/dist/{componets/trend-chart → components/trend-chart.bak}/components/trend-chart.d.ts
RENAMED
@@ -1,10 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import { MouseMoveEvent, PointValue } from '../props';
|
1
|
+
import { MouseMoveEvent, PointValue, CurveTheme } from '../props';
|
3
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
4
3
|
datasets: {
|
5
4
|
required: boolean;
|
6
5
|
type: import('vue').PropType<import('../props').DataSets>;
|
7
6
|
};
|
7
|
+
status: {
|
8
|
+
type: import('vue').PropType<import('../props').TrendChartStatus>;
|
9
|
+
default: undefined;
|
10
|
+
};
|
8
11
|
grid: {
|
9
12
|
default: null;
|
10
13
|
type: import('vue').PropType<import('../props').Grid>;
|
@@ -34,15 +37,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
34
37
|
activeLineColor: string;
|
35
38
|
};
|
36
39
|
};
|
37
|
-
}>, () =>
|
38
|
-
[key: string]: any;
|
39
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
40
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
40
41
|
'mouse-move': (event: MouseMoveEvent) => boolean;
|
41
42
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
42
43
|
datasets: {
|
43
44
|
required: boolean;
|
44
45
|
type: import('vue').PropType<import('../props').DataSets>;
|
45
46
|
};
|
47
|
+
status: {
|
48
|
+
type: import('vue').PropType<import('../props').TrendChartStatus>;
|
49
|
+
default: undefined;
|
50
|
+
};
|
46
51
|
grid: {
|
47
52
|
default: null;
|
48
53
|
type: import('vue').PropType<import('../props').Grid>;
|
@@ -75,6 +80,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
75
80
|
}>> & Readonly<{
|
76
81
|
"onMouse-move"?: ((event: MouseMoveEvent) => any) | undefined;
|
77
82
|
}>, {
|
83
|
+
status: import('../props').TrendChartStatus;
|
78
84
|
grid: import('../props').Grid;
|
79
85
|
padding: string;
|
80
86
|
theme: import('../props').Theme;
|
@@ -103,7 +109,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
103
109
|
default: number;
|
104
110
|
type: NumberConstructor;
|
105
111
|
};
|
106
|
-
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
112
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
107
113
|
[key: string]: any;
|
108
114
|
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
109
115
|
boundary: {
|
@@ -141,7 +147,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
141
147
|
maxValue?: number | undefined;
|
142
148
|
xLabels?: unknown[] | undefined;
|
143
149
|
yLabels?: number | undefined;
|
144
|
-
}, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
150
|
+
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
145
151
|
[key: string]: any;
|
146
152
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
147
153
|
boundary: import('../props').Boundary;
|
@@ -200,14 +206,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
200
206
|
type: BooleanConstructor;
|
201
207
|
};
|
202
208
|
theme: {
|
203
|
-
type: import('vue').PropType<
|
209
|
+
type: import('vue').PropType<CurveTheme>;
|
204
210
|
};
|
205
211
|
mainTheme: {
|
206
|
-
type: import('vue').PropType<
|
212
|
+
type: import('vue').PropType<CurveTheme>;
|
207
213
|
};
|
208
|
-
}>, () =>
|
209
|
-
[key: string]: any;
|
210
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
214
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
211
215
|
boundary: {
|
212
216
|
required: boolean;
|
213
217
|
type: import('vue').PropType<import('../props').Boundary>;
|
@@ -253,15 +257,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
253
257
|
type: BooleanConstructor;
|
254
258
|
};
|
255
259
|
theme: {
|
256
|
-
type: import('vue').PropType<
|
260
|
+
type: import('vue').PropType<CurveTheme>;
|
257
261
|
};
|
258
262
|
mainTheme: {
|
259
|
-
type: import('vue').PropType<
|
263
|
+
type: import('vue').PropType<CurveTheme>;
|
260
264
|
};
|
261
265
|
}>> & Readonly<{}>, {
|
262
266
|
fill: boolean;
|
263
|
-
stroke: boolean;
|
264
267
|
data: PointValue[];
|
268
|
+
stroke: boolean;
|
265
269
|
smooth: boolean;
|
266
270
|
boundary: import('../props').Boundary;
|
267
271
|
showPoints: boolean;
|