x-next 0.0.0-alpha.1 → 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 +24 -2
- package/package.json +50 -63
- package/x-next/_hooks/use-overflow.d.ts +5 -0
- package/x-next/_hooks/use-popup-manager.d.ts +11 -0
- package/x-next/_props/css.d.ts +13 -0
- package/x-next/_props/global.d.ts +1 -0
- package/x-next/_utils/config.d.ts +9 -0
- package/x-next/_utils/convert-case.d.ts +3 -0
- package/x-next/_utils/dom.d.ts +10 -0
- package/x-next/_utils/helpers.d.ts +12 -0
- package/x-next/_utils/icon.d.ts +59 -0
- package/{framework/es/util.d.ts → x-next/_utils/is.d.ts} +22 -36
- package/x-next/_utils/keyboard.d.ts +24 -0
- package/x-next/_utils/number.d.ts +0 -0
- package/x-next/_utils/vue-eco.d.ts +28 -0
- package/x-next/componets/button/index.vue.d.ts +162 -0
- package/x-next/componets/button/props.d.ts +45 -0
- package/x-next/componets/dialog/index.vue.d.ts +221 -0
- package/x-next/componets/dialog/props.d.ts +83 -0
- package/x-next/componets/dialog/use-props.d.ts +33 -0
- package/x-next/componets/dialog/use.d.ts +3 -0
- package/x-next/componets/dialog/warp.d.ts +2 -0
- package/x-next/componets/message/index.vue.d.ts +387 -0
- package/x-next/componets/message/props.d.ts +31 -0
- package/x-next/componets/message/warp.d.ts +3 -0
- package/x-next/componets/message-box/index.d.ts +3 -0
- package/x-next/componets/message-box/props.d.ts +52 -0
- package/x-next/componets/message-box/warp.d.ts +2 -0
- package/x-next/componets/notification/index.vue.d.ts +160 -0
- package/x-next/componets/notification/props.d.ts +54 -0
- package/x-next/componets/notification/warp.d.ts +3 -0
- package/x-next/componets/space/index.d.ts +42 -0
- package/x-next/componets/tag-cloud/index.d.ts +0 -0
- package/x-next/componets/trend-chart/components/trend-chart-curve.d.ts +114 -0
- package/x-next/componets/trend-chart/components/trend-chart-grid.d.ts +55 -0
- package/x-next/componets/trend-chart/components/trend-chart-labels.d.ts +22 -0
- package/x-next/componets/trend-chart/components/trend-chart.d.ts +270 -0
- package/x-next/componets/trend-chart/helpers/genPath.d.ts +8 -0
- package/x-next/componets/trend-chart/helpers/genPoints.d.ts +3 -0
- package/x-next/componets/trend-chart/helpers/getPadding.d.ts +7 -0
- package/x-next/componets/trend-chart/helpers/validatePadding.d.ts +2 -0
- package/x-next/componets/trend-chart/index.d.ts +2 -0
- package/x-next/componets/trend-chart/props.d.ts +206 -0
- package/x-next/icons/animation/animation-loading.vue.d.ts +55 -0
- package/x-next/icons/default/check-circle-fill.vue.d.ts +55 -0
- package/x-next/icons/default/close-circle-fill.vue.d.ts +55 -0
- package/x-next/icons/default/exclamation-circle-fill.vue.d.ts +55 -0
- package/x-next/icons/default/info-circle-fill.vue.d.ts +55 -0
- package/x-next/icons/default/minus-circle-fill.vue.d.ts +55 -0
- 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/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,55 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
size: {
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
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: (StringConstructor | NumberConstructor)[];
|
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
|
+
color: string;
|
51
|
+
rotate: number;
|
52
|
+
spin: boolean;
|
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: (StringConstructor | NumberConstructor)[];
|
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: (StringConstructor | NumberConstructor)[];
|
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
|
+
color: string;
|
51
|
+
rotate: number;
|
52
|
+
spin: boolean;
|
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: (StringConstructor | NumberConstructor)[];
|
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: (StringConstructor | NumberConstructor)[];
|
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
|
+
color: string;
|
51
|
+
rotate: number;
|
52
|
+
spin: boolean;
|
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: (StringConstructor | NumberConstructor)[];
|
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: (StringConstructor | NumberConstructor)[];
|
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
|
+
color: string;
|
51
|
+
rotate: number;
|
52
|
+
spin: boolean;
|
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: (StringConstructor | NumberConstructor)[];
|
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: (StringConstructor | NumberConstructor)[];
|
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
|
+
color: string;
|
51
|
+
rotate: number;
|
52
|
+
spin: boolean;
|
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: (StringConstructor | NumberConstructor)[];
|
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: (StringConstructor | NumberConstructor)[];
|
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
|
+
color: string;
|
51
|
+
rotate: number;
|
52
|
+
spin: boolean;
|
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/x-next/style.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.x-fade-in-standard-enter-from,.x-fade-in-standard-appear-from{opacity:0}.x-fade-in-standard-enter-to,.x-fade-in-standard-appear-to{opacity:1}.x-fade-in-standard-enter-active,.x-fade-in-standard-appear-active{transition:opacity .3s ease}.x-fade-in-standard-leave-from{opacity:1}.x-fade-in-standard-leave-to{opacity:0}.x-fade-in-standard-leave-active{transition:opacity .3s ease}.x-fade-in-enter-from,.x-fade-in-appear-from{opacity:0}.x-fade-in-enter-to,.x-fade-in-appear-to{opacity:1}.x-fade-in-enter-active,.x-fade-in-appear-active{transition:opacity .2s ease}.x-fade-in-leave-from{opacity:1}.x-fade-in-leave-to{opacity:0}.x-fade-in-leave-active{transition:opacity .2s ease}.x-zoom-in-enter-from,.x-zoom-in-appear-from{transform:scale(.5);opacity:0}.x-zoom-in-enter-to,.x-zoom-in-appear-to{transform:scale(1);opacity:1}.x-zoom-in-enter-active,.x-zoom-in-appear-active{transition:opacity .3s ease,transform .3s ease}.x-zoom-in-leave-from{transform:scale(1);opacity:1}.x-zoom-in-leave-to{transform:scale(.5);opacity:0}.x-zoom-in-leave-active{transition:opacity .3s ease,transform .3s ease}.x-zoom-in-fade-out-enter-from,.x-zoom-in-fade-out-appear-from{transform:scale(.5);opacity:0}.x-zoom-in-fade-out-enter-to,.x-zoom-in-fade-out-appear-to{transform:scale(1);opacity:1}.x-zoom-in-fade-out-enter-active,.x-zoom-in-fade-out-appear-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.x-zoom-in-fade-out-leave-from{transform:scale(1);opacity:1}.x-zoom-in-fade-out-leave-to{transform:scale(.5);opacity:0}.x-zoom-in-fade-out-leave-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.x-zoom-in-big-enter-from,.x-zoom-in-big-appear-from{transform:scale(.5);opacity:0}.x-zoom-in-big-enter-to,.x-zoom-in-big-appear-to{transform:scale(1);opacity:1}.x-zoom-in-big-enter-active,.x-zoom-in-big-appear-active{transition:opacity .2s linear,transform .2s linear}.x-zoom-in-big-leave-from{transform:scale(1);opacity:1}.x-zoom-in-big-leave-to{transform:scale(.2);opacity:0}.x-zoom-in-big-leave-active{transition:opacity .2s linear,transform .2s linear}.x-zoom-in-left-enter-from,.x-zoom-in-left-appear-from{transform:scale(.1);opacity:.1}.x-zoom-in-left-enter-to,.x-zoom-in-left-appear-to{transform:scale(1);opacity:1}.x-zoom-in-left-enter-active,.x-zoom-in-left-appear-active{transform-origin:0 50%;transition:opacity .3s linear,transform .3s ease-in-out}.x-zoom-in-left-leave-from{transform:scale(1);opacity:1}.x-zoom-in-left-leave-to{transform:scale(.1);opacity:.1}.x-zoom-in-left-leave-active{transform-origin:0 50%;transition:opacity .3s linear,transform .3s ease-in-out}.x-zoom-in-top-enter-from,.x-zoom-in-top-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.x-zoom-in-top-enter-to,.x-zoom-in-top-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.x-zoom-in-top-enter-active,.x-zoom-in-top-appear-active{transform-origin:0 0;transition:transform .3s ease-in-out,opacity .3s ease-in-out}.x-zoom-in-top-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.x-zoom-in-top-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.x-zoom-in-top-leave-active{transform-origin:0 0;transition:transform .3s ease-in-out,opacity .3s ease-in-out}.x-zoom-in-bottom-enter-from,.x-zoom-in-bottom-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.x-zoom-in-bottom-enter-to,.x-zoom-in-bottom-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.x-zoom-in-bottom-enter-active,.x-zoom-in-bottom-appear-active{transform-origin:100% 100%;transition:transform .3s ease-in-out,opacity .3s ease-in-out}.x-zoom-in-bottom-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.x-zoom-in-bottom-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.x-zoom-in-bottom-leave-active{transform-origin:100% 100%;transition:transform .3s ease-in-out,opacity .3s ease-in-out}.x-icon{display:flex;justify-content:center;align-items:center}.x-icon svg{fill:currentcolor;width:1em;height:1em}[opacity~=".1"]{opacity:.1}[opacity~=".2"]{opacity:.2}[opacity~=".3"]{opacity:.3}[opacity~=".4"]{opacity:.4}[opacity~=".5"]{opacity:.5}[opacity~=".6"]{opacity:.6}[opacity~=".7"]{opacity:.7}[opacity~=".8"]{opacity:.8}[opacity~=".9"]{opacity:.9}:root{--x-primary: rgb(0 86 255 / 100%);--x-success: rgb(36 195 65 / 100%);--x-danger: rgb(241 37 37 / 100%);--x-strong: rgb(255 113 37 / 100%);--x-warning: rgb(255 199 0 / 100%);--x-primary-1: rgb(0 70 208 / 100%);--x-primary-3: rgb(0 77 229 / 100%);--x-primary-6: rgb(0 77 229 / 30%);--x-primary-8: rgb(0 86 255 / 18%);--x-primary-9: rgb(0 86 255 / 5%);--x-success-1: rgb(36 195 65 / 100%);--x-success-8: rgb(46 212 169 / 18%);--x-success-9: rgb(46 212 169 / 5%);--x-danger-1: rgb(191 23 23 / 100%);--x-danger-3: rgb(216 33 33 / 100%);--x-dander-6: rgb(191 23 23 / 30%);--x-danger-8: rgb(241 37 37 / 18%);--x-danger-9: rgb(241 37 37 / 5%);--x-strong-8: rgb(255 113 37 / 18%);--x-strong-9: rgb(255 113 37 / 5%);--x-warning-8: rgb(255 196 32 / 18%);--x-warning-9: rgb(255 196 32 / 5%);--x-color-1: rgb(36 41 52 / 100%);--x-color-2: rgb(100 107 122 / 100%);--x-color-3: rgb(156 166 185 / 100%);--x-color-4: rgb(188 196 214 / 100%);--x-color-5: rgb(225 228 232 / 100%);--x-color-6: rgb(237 241 246 / 100%);--x-color-7: rgb(245 247 251 / 100%);--x-color-white: rgb(255 255 255 / 100%);--x-font-size: 14px;--x-text-color: var(--x-color-2);--x-border-color: var(--x-color-5);--x-background-color: var(--x-color-7);--x-text-gray: rgb(36 41 52 / 100%);--x-text-gray-1: rgb(100 107 122 / 100%);--x-text-gray-2: rgb(156 166 185 / 100%);--x-disabled-color: rgb(156 166 185 / 100%);--x-disabled-bgc: rgb(250 251 253 / 100%);--x-disabled-bc: rgb(225 228 232 / 100%);--x-hover-bgc: rgb(248 250 255 / 100%);--x-hover-color: var(--x-primary);--x-hover-bc: rgb(188 196 214 / 100%);--x-select-color: var(--x-primary);--x-select-bgc: rgb(248 250 255 / 100%);--x-select-bc: var(--x-primary);--x-focus-bc: var(--x-primary);--x-bgc: rgb(245 247 251 / 100%);--x-fs-small: 12px;--x-fs: 14px;--x-fs-large: 16px;--x-split-color: rgb(237 241 246 / 100%);--x-bc: rgb(237 241 246 / 100%);--x-size-mini: 24px;--x-size-small: 30px;--x-size-medium: 34px;--x-size-large: 38px;--x-size-huge: 42px}.x-button{--x-button-width: auto;--x-button-font-weight: 400;--x-button-opacity: 1;--x-button-border-color: var(--x-border-color);--x-button-background-color: var(--x-background-color);--x-button-color: var(--x-text-color);--x-button-mini-height: var(--x-size-mini);--x-button-mini-font-size: 12px;--x-button-mini-padding: 0 8px;--x-button-mini-border-radius: 4px;--x-button-small-height: var(--x-size-small);--x-button-small-font-size: 14px;--x-button-small-padding: 0 10px;--x-button-small-border-radius: 4px;--x-button-medium-height: var(--x-size-medium);--x-button-medium-font-size: 15px;--x-button-medium-padding: 0 14px;--x-button-medium-border-radius: 4px;--x-button-large-height: var(--x-size-large);--x-button-large-font-size: 16px;--x-button-large-padding: 0 20px;--x-button-large-border-radius: 6px;--x-button-huge-height: var(--x-size-huge);--x-button-huge-font-size: 17px;--x-button-huge-padding: 0 28px;--x-button-huge-border-radius: 4px}.x-button{position:relative;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;margin:0;border-style:solid;border-width:1px;border-color:var(--x-button-border-color);border-radius:var(--x-button-border-radius);padding:var(--x-button-padding);width:var(--x-button-width);height:var(--x-button-height);font-size:var(--x-button-font-size);font-weight:var(--x-button-font-weight);white-space:nowrap;color:var(--x-button-color);background-color:var(--x-button-background-color);opacity:var(--x-button-opacity);outline:none;transition:all .15s linear;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;vertical-align:bottom;cursor:pointer}.x-button:before{content:"";position:absolute;top:50%;left:50%;width:100%;height:100%;background:#ffffff4d;border-radius:50%;transform:scale(0);transform-origin:center;opacity:0;transition:opacity .2s}.x-button:active:before{transform:scale(3);opacity:1;transition:opacity .1s}.x-button{--x-button-background-color: #fff;--x-button-color: var(--x-text-color);--x-button-border-color: var(--x-border-color)}.x-button:not(.is-disabled):hover{--x-button-background-color: var(--x-background-color);--x-button-color: var(--x-text-color);--x-button-border-color: var(--x-border-color)}.x-button:not(.is-disabled):active{--x-button-background-color: var(--x-background-color);--x-button-color: var(--x-text-color);--x-button-border-color: var(--x-color-4)}.x-button--prefix{margin-right:4px}.x-button--suffix{margin-left:4px}.x-button-is-disabled{--x-button-opacity: .4;cursor:not-allowed}.x-button-block{display:flex;width:100%}.x-button.-loading{--x-button-opacity: .76}.x-button-mini{--x-button-height: var(--x-button-mini-height);--x-button-font-size: var(--x-button-mini-font-size);--x-button-padding: var(--x-button-mini-padding);--x-button-border-radius: var(--x-button-mini-border-radius)}.x-button-small{--x-button-height: var(--x-button-small-height);--x-button-font-size: var(--x-button-small-font-size);--x-button-padding: var(--x-button-small-padding);--x-button-border-radius: var(--x-button-small-border-radius)}.x-button-medium{--x-button-height: var(--x-button-medium-height);--x-button-font-size: var(--x-button-medium-font-size);--x-button-padding: var(--x-button-medium-padding);--x-button-border-radius: var(--x-button-medium-border-radius)}.x-button-large{--x-button-height: var(--x-button-large-height);--x-button-font-size: var(--x-button-large-font-size);--x-button-padding: var(--x-button-large-padding);--x-button-border-radius: var(--x-button-large-border-radius)}.x-button-huge{--x-button-height: var(--x-button-huge-height);--x-button-font-size: var(--x-button-huge-font-size);--x-button-padding: var(--x-button-huge-padding);--x-button-border-radius: var(--x-button-huge-border-radius)}.x-button.-plain{--x-button-font-weight: 500}.x-button.-plain.x-button--primary{--x-button-background-color: var(--x-primary-9);--x-button-color: var(--x-primary);--x-button-border-color: var(--x-primary)}.x-button.-plain.x-button--primary:not(.is-disabled):hover{--x-button-background-color: var(--x-primary);--x-button-color: #fff;--x-button-border-color: var(--x-primary)}.x-button.-plain.x-button--primary:not(.is-disabled):active{--x-button-background-color: var(--x-primary-1);--x-button-color: #fff;--x-button-border-color: var(--x-primary-1)}.x-button.-plain.x-button--success.x-button--success{--x-button-background-color: var(--x-success-9);--x-button-color: var(--x-success);--x-button-border-color: var(--x-success)}.x-button.-plain.x-button--success.x-button--success:not(.is-disabled):hover{--x-button-background-color: var(--x-success);--x-button-color: #fff;--x-button-border-color: var(--x-success)}.x-button.-plain.x-button--success.x-button--success:not(.is-disabled):active{--x-button-background-color: var(--x-success-1);--x-button-color: #fff;--x-button-border-color: var(--x-success)}.x-button.-plain.x-button--warning{--x-button-background-color: var(--x-warning-9);--x-button-color: var(--x-warning);--x-button-border-color: var(--x-warning)}.x-button.-plain.x-button--warning:not(.is-disabled):hover{--x-button-background-color: var(--x-warning);--x-button-color: #fff;--x-button-border-color: var(--x-warning)}.x-button.-plain.x-button--warning:not(.is-disabled):active{--x-button-background-color: var(--x-warning);--x-button-color: #fff;--x-button-border-color: var(--x-warning)}.x-button.-plain.x-button--strong{--x-button-background-color: var(--x-strong-9);--x-button-color: var(--x-strong);--x-button-border-color: var(--x-strong)}.x-button.-plain.x-button--strong:not(.is-disabled):hover{--x-button-background-color: var(--x-strong);--x-button-color: #fff;--x-button-border-color: var(--x-strong)}.x-button.-plain.x-button--strong:not(.is-disabled):active{--x-button-background-color: var(--x-strong);--x-button-color: #fff;--x-button-border-color: var(--x-strong)}.x-button.-plain.x-button--danger{--x-button-background-color: var(--x-danger-9);--x-button-color: var(--x-danger);--x-button-border-color: var(--x-danger)}.x-button.-plain.x-button--danger:not(.is-disabled):hover{--x-button-background-color: var(--x-danger);--x-button-color: #fff;--x-button-border-color: var(--x-danger)}.x-button.-plain.x-button--danger:not(.is-disabled):active{--x-button-background-color: var(--x-danger-1);--x-button-color: #fff;--x-button-border-color: var(--x-danger-1)}.x-button.-round{--x-button-padding: 0 38px;--x-button-border-radius: 24px;height:var(--x-button-height)}.x-button.-circle{--x-button-padding: 0;--x-button-border-radius: 100%;width:var(--x-button-height);height:var(--x-button-height)}.x-button-text{--x-button-font-weight: 500;border-color:transparent;padding:2px;height:auto;color:var(--x-button-color);background:transparent}.x-button-text.x-button--primary{--x-button-background-color: var(--x-primary);--x-button-color: var(--x-primary);--x-button-border-color: var(--x-primary)}.x-button-text.x-button--primary:not(.is-disabled):hover{--x-button-background-color: var(--x-primary-3);--x-button-color: var(--x-primary-3);--x-button-border-color: var(--x-primary-3)}.x-button-text.x-button--primary:not(.is-disabled):active{--x-button-background-color: var(--x-primary-1);--x-button-color: var(--x-primary-1);--x-button-border-color: var(--x-primary-1)}.x-button-text.x-button--success{--x-button-background-color: var(--x-success);--x-button-color: var(--x-success);--x-button-border-color: var(--x-success)}.x-button-text.x-button--success:not(.is-disabled):hover{--x-button-background-color: var(--x-success);--x-button-color: var(--x-success);--x-button-border-color: var(--x-success)}.x-button-text.x-button--success:not(.is-disabled):active{--x-button-background-color: var(--x-success);--x-button-color: var(--x-success);--x-button-border-color: var(--x-success)}.x-button-text.x-button--warning{--x-button-background-color: var(--x-warning);--x-button-color: var(--x-warning);--x-button-border-color: var(--x-warning)}.x-button-text.x-button--warning:not(.is-disabled):hover{--x-button-background-color: var(--x-warning);--x-button-color: var(--x-warning);--x-button-border-color: var(--x-warning)}.x-button-text.x-button--warning:not(.is-disabled):active{--x-button-background-color: var(--x-warning);--x-button-color: var(--x-warning);--x-button-border-color: var(--x-warning)}.x-button-text.x-button--strong{--x-button-background-color: var(--x-strong);--x-button-color: var(--x-strong);--x-button-border-color: var(--x-strong)}.x-button-text.x-button--strong:not(.is-disabled):hover{--x-button-background-color: var(--x-strong);--x-button-color: var(--x-strong);--x-button-border-color: var(--x-strong)}.x-button-text.x-button--strong:not(.is-disabled):active{--x-button-background-color: var(--x-strong);--x-button-color: var(--x-strong);--x-button-border-color: var(--x-strong)}.x-button-text.x-button--danger{--x-button-background-color: var(--x-danger);--x-button-color: var(--x-danger);--x-button-border-color: var(--x-danger)}.x-button-text.x-button--danger:not(.is-disabled):hover{--x-button-background-color: var(--x-danger-3);--x-button-color: var(--x-danger-3);--x-button-border-color: var(--x-danger-3)}.x-button-text.x-button--danger:not(.is-disabled):active{--x-button-background-color: var(--x-danger-1);--x-button-color: var(--x-danger-1);--x-button-border-color: var(--x-danger-1)}.x-button.-hide-border{--x-button-font-weight: 500}.x-button.-hide-border.x-button--primary{--x-button-background-color: var(--x-primary-9);--x-button-color: var(--x-primary);--x-button-border-color: transparent}.x-button.-hide-border.x-button--primary:not(.is-disabled):hover{--x-button-background-color: var(--x-primary-9);--x-button-color: var(--x-primary);--x-button-border-color: var(--x-primary-6)}.x-button.-hide-border.x-button--primary:not(.is-disabled):active{--x-button-background-color: var(--x-primary-9);--x-button-color: var(--x-primary);--x-button-border-color: var(--x-primary-1)}.x-button.-hide-border.x-button--danger{--x-button-background-color: var(--x-danger-9);--x-button-color: var(--x-danger);--x-button-border-color: transparent}.x-button.-hide-border.x-button--danger:not(.is-disabled):hover{--x-button-background-color: var(--x-danger-9);--x-button-color: var(--x-danger);--x-button-border-color: var(--x-danger-6)}.x-button.-hide-border.x-button--danger:not(.is-disabled):active{--x-button-background-color: var(--x-danger-9);--x-button-color: var(--x-danger);--x-button-border-color: var(--x-danger-1)}.x-button.-hide-border.x-button--success{--x-button-background-color: var(--x-success-9);--x-button-color: var(--x-success);--x-button-border-color: transparent}.x-button.-hide-border.x-button--success:not(.is-disabled):hover{--x-button-background-color: var(--x-success-9);--x-button-color: var(--x-success);--x-button-border-color: var(--x-success-6)}.x-button.-hide-border.x-button--success:not(.is-disabled):active{--x-button-background-color: var(--x-success-9);--x-button-color: var(--x-success);--x-button-border-color: var(--x-success-1)}.x-button.-hide-border.x-button--warning{--x-button-background-color: var(--x-warning-9);--x-button-color: var(--x-warning);--x-button-border-color: transparent}.x-button.-hide-border.x-button--warning:not(.is-disabled):hover{--x-button-background-color: var(--x-warning-9);--x-button-color: var(--x-warning);--x-button-border-color: var(--x-warning-6)}.x-button.-hide-border.x-button--warning:not(.is-disabled):active{--x-button-background-color: var(--x-warning-9);--x-button-color: var(--x-warning);--x-button-border-color: var(--x-warning-1)}.x-button.-hide-border.x-button--strong{--x-button-background-color: var(--x-strong-9);--x-button-color: var(--x-strong);--x-button-border-color: transparent}.x-button.-hide-border.x-button--strong:not(.is-disabled):hover{--x-button-background-color: var(--x-strong-9);--x-button-color: var(--x-strong);--x-button-border-color: var(--x-strong-6)}.x-button.-hide-border.x-button--strong:not(.is-disabled):active{--x-button-background-color: var(--x-strong-9);--x-button-color: var(--x-strong);--x-button-border-color: var(--x-strong-1)}.x-button-primary{--x-button-background-color: var(--x-primary);--x-button-color: #fff;--x-button-border-color: var(--x-primary)}.x-button-primary:not(.is-disabled):hover{--x-button-background-color: var(--x-primary-3);--x-button-color: #fff;--x-button-border-color: var(--x-primary-3)}.x-button-primary:not(.is-disabled):active{--x-button-background-color: var(--x-primary-1);--x-button-color: #fff;--x-button-border-color: var(--x-primary-1)}.x-button-success{--x-button-background-color: var(--x-success);--x-button-color: #fff;--x-button-border-color: var(--x-success)}.x-button-success:not(.is-disabled):hover{--x-button-background-color: var(--x-success);--x-button-color: #fff;--x-button-border-color: var(--x-success)}.x-button-success:not(.is-disabled):active{--x-button-background-color: var(--x-success);--x-button-color: #fff;--x-button-border-color: var(--x-success)}.x-button-danger{--x-button-background-color: var(--x-danger);--x-button-color: #fff;--x-button-border-color: var(--x-danger)}.x-button-danger:not(.is-disabled):hover{--x-button-background-color: var(--x-danger-3);--x-button-color: #fff;--x-button-border-color: var(--x-danger-3)}.x-button-danger:not(.is-disabled):active{--x-button-background-color: var(--x-danger-1);--x-button-color: #fff;--x-button-border-color: var(--x-danger-1)}.x-button-strong{--x-button-background-color: var(--x-strong);--x-button-color: #fff;--x-button-border-color: var(--x-strong)}.x-button-strong:not(.is-disabled):hover{--x-button-background-color: var(--x-strong);--x-button-color: #fff;--x-button-border-color: var(--x-strong)}.x-button-strong:not(.is-disabled):active{--x-button-background-color: var(--x-strong);--x-button-color: #fff;--x-button-border-color: var(--x-strong)}.x-button-warning{--x-button-background-color: var(--x-warning);--x-button-color: #fff;--x-button-border-color: var(--x-warning)}.x-button-warning:not(.is-disabled):hover{--x-button-background-color: var(--x-warning);--x-button-color: #fff;--x-button-border-color: var(--x-warning)}.x-button-warning:not(.is-disabled):active{--x-button-background-color: var(--x-warning);--x-button-color: #fff;--x-button-border-color: var(--x-warning)}.x-button--loading{display:flex;margin-right:4px}.x-button-group{display:flex;width:min-content}.x-button-group>.x-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.x-button-group>.x-button:last-child{margin-left:-1px;border-left-color:#ffffff80;border-top-left-radius:0;border-bottom-left-radius:0}.x-button-group>.x-button:not(:first-child,:last-child){margin-left:-1px;border-right-color:#ffffff80;border-left-color:#ffffff80;border-radius:0}.x-dialog{--x-mask-background-color: rgb(29 33 41 / 60%);--x-dialog-radius: 6px}.x-dialog{position:fixed;top:0;right:0;bottom:0;left:0}.x-dialog--mask{position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--x-mask-background-color)}.x-dialog--wrapper{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;text-align:center}.x-dialog--wrapper.is-center{display:flex;justify-content:center;align-items:center}.x-dialog--container{position:relative;display:inline-block;overflow:hidden;border-radius:var(--x-dialog-radius);background-color:#fff;transition:top .3s}.x-dialog--container.is-fullscreen{display:inline-flex;border-radius:0;width:100%;height:100%;flex-direction:column;vertical-align:middle}.x-dialog--container.is-fullscreen .x-dialog--footer{margin-top:auto}.x-dialog--header{position:relative;padding:30px 48px 0 25px;text-align:left;box-sizing:border-box}.x-dialog--header-title{overflow:hidden;font-size:18px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;line-height:1}.x-dialog--header.is-bottom-line{border-bottom:1px solid var(--x-split-color);padding-bottom:20px}.x-dialog--body{padding:20px 25px;box-sizing:border-box;text-align:left}.x-dialog--footer{display:flex;justify-content:flex-end;padding:0 18px 18px 25px}.x-dialog--close-icon{position:absolute;top:20px;right:18px;width:16px;height:16px;cursor:pointer;transition:background-color .5s ease}.x-dialog--close-icon:hover{background-color:#d5d9da;transition:background-color .5s ease}.x-dialog--close-icon:hover:before,.x-dialog--close-icon:hover:after{background-color:#fff;transition:background-color .5s ease}.x-dialog--close-icon:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg);width:1px;height:100%;background-color:#9ca6b9;transition:background-color .5s ease}.x-dialog--close-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-45deg);width:1px;height:100%;background-color:#9ca6b9;transition:background-color .5s ease}.x-message{--x-message-height: 36px;--x-message-width: 360px;--x-border-radius: 4px;--x-border-color: var(--x-info-border-color);--x-success-background-color: #f2f9ec;--x-success-color: #7ebf50;--x-warning-background-color: #fdf6ec;--x-warning-color: #e6a23c;--x-strong-background-color: #fff5f0;--x-strong-color: #ff7125;--x-error-background-color: #fef0f0;--x-error-color: #f56c6c;--x-info-background-color: #f4f4f5;--x-info-color: var(--x-primary);position:fixed;left:50%;display:flex;align-items:center;border-radius:var(--x-border-radius);padding:12px 16px 12px 12px;background-color:#fff;font-weight:500;color:#000000e0;transition:all .3s ease;box-sizing:border-box;transform:translate(-50%);box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.x-message--icon{margin-right:6px;font-size:18px}.x-message--show-close{justify-content:space-between}.x-message--close-icon{position:relative;display:inline-block;border-radius:100%;width:16px;height:16px;cursor:pointer}.x-message--close-icon:hover{background-color:#c5c9d4}.x-message--close-icon:hover:before,.x-message--close-icon:hover:after{height:70%;background-color:#fff}.x-message--close-icon:before{position:absolute;top:50%;left:50%;width:1px;height:70%;background-color:#bfc5d2;transition:background-color .2s;content:"";transform:translate(-50%,-50%) rotate(45deg)}.x-message--close-icon:after{position:absolute;top:50%;left:50%;width:1px;height:70%;background-color:#bfc5d2;transition:background-color .2s;content:"";transform:translate(-50%,-50%) rotate(-45deg)}.x-message-icon-success{color:var(--x-success-color)}.x-message-icon-warning{color:var(--x-warning-color)}.x-message-icon-strong{color:var(--x-strong-color)}.x-message-icon-error{color:var(--x-error-color)}.x-message-icon-info{color:var(--x-info-color)}.x-message-center{justify-content:center}.x-message-slide-top-enter-from,.x-message-slide-top-leave-to{opacity:0;transform:translate(-50%,-100%)}.x-message-slide-top-enter-to{opacity:1;transform:translate(-50%)}.x-message-box--header{padding:25px 0 15px;line-height:1;display:flex;justify-content:center;align-items:center}.x-message-box--body{padding:0 25px;box-sizing:border-box;text-align:center}.x-message-box--footer{padding:20px 0;box-sizing:border-box}.x-message-box--icon{margin-right:4px}.x-message-box--title{font-size:18px;font-weight:600;color:#242934;line-height:1}.x-message-box--content{font-size:14px;font-weight:400;color:#363636;line-height:1.5}.x-message-box--close-icon{top:28px;right:20px}.x-notification{position:relative;border-radius:8px;padding:15px;width:338px;background:#fff;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;box-sizing:border-box}.x-notification-top{transition:top .2s,transform .2s ease,opacity .2s}.x-notification-bottom{transition:bottom .2s,transform .2s ease,opacity .2s}.x-notification--icon{font-size:22px;margin-right:8px}.x-notification-icon-info{color:var(--x-primary)}.x-notification-icon-success{color:var(--x-success)}.x-notification-icon-warning{color:var(--x-warning)}.x-notification-icon-strong{color:var(--x-strong)}.x-notification-icon-error{color:var(--x-danger)}.x-notification--header{display:inline-flex}.x-notification--title{font-size:18px;font-weight:600;color:#242934;line-height:22px;height:22px}.x-notification--message{box-sizing:border-box;margin-top:12px;font-size:14px;font-weight:400;color:#363636;line-height:1}.x-notification--close-icon{position:absolute;top:20px;right:20px;width:14px;height:14px;cursor:pointer}.x-notification--close-icon:hover{background-color:#d5d9da;transition:background-color .5s ease}.x-notification--close-icon:hover:before,.x-notification--close-icon:hover:after{background-color:#fff;transition:background-color .5s ease}.x-notification--close-icon:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg);width:1px;height:100%;background-color:#9ca6b9}.x-notification--close-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-45deg);width:1px;height:100%;background-color:#9ca6b9}.x-notification-slide-right-enter-from{transform:translate(100%)}.x-notification-slide-right-enter-to{transform:translate(0)}.x-notification-slide-left-enter-from{transform:translate(-100%)}.x-notification-slide-left-enter-to{transform:translate(0)}.x-notification-slide-right-leave-from,.x-notification-slide-left-leave-from{opacity:1}.x-notification-slide-right-leave-to,.x-notification-slide-left-leave-to{opacity:0}.x-space{display:inline-flex;vertical-align:bottom}.x-space--horizontal-center{align-items:center}.x-space--horizontal-start{align-items:flex-start}.x-space--horizontal-end{align-items:flex-end}.x-space--horizontal-baseline{align-items:baseline}.x-space--vertical{flex-direction:column}.x-space--split{color:var(--bn-color-5)}.x-space-is-fill{display:flex}body{margin:0}.icon-loading-svg[data-v-62d46830]{animation:animated-loading-rotate-62d46830 1.5s infinite ease-in-out}.icon-loading-svg>.path[data-v-62d46830]{stroke:#fffc;stroke-width:5;animation:animated-loading-62d46830 1.5s infinite ease-in-out}@keyframes animated-loading-62d46830{0%{stroke-dasharray:1,125;stroke-dashoffset:0}50%{stroke-dasharray:95,31;stroke-dashoffset:-31px}to{stroke-dasharray:6,120;stroke-dashoffset:-120px}}@keyframes animated-loading-rotate-62d46830{to{transform:rotate(1turn)}}
|
package/x-next/ui.d.ts
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
import { default as Dialog } from './componets/dialog/warp';
|
2
|
+
import { default as Message } from './componets/message/warp';
|
3
|
+
import { default as MessageBox } from './componets/message-box/warp';
|
4
|
+
import { default as Notification } from './componets/notification/warp';
|
5
|
+
export { Dialog, Message, MessageBox, Notification };
|