x-next 0.0.0-alpha.4 → 0.0.0-alpha.41
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/dist/_container/client-only.d.ts +4 -0
- package/dist/_container/parent-scroll-observer.d.ts +6 -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-overflow.d.ts +5 -0
- package/dist/_hooks/use-popup-manager.d.ts +11 -0
- package/dist/_hooks/use-resize-observer.d.ts +8 -0
- package/dist/_props/css.d.ts +13 -0
- package/dist/_props/global.d.ts +1 -0
- package/dist/_utils/click.d.ts +13 -0
- package/dist/_utils/config.d.ts +9 -0
- package/dist/_utils/constant.d.ts +17 -0
- package/dist/_utils/convert-case.d.ts +3 -0
- package/dist/_utils/dom.d.ts +10 -0
- package/dist/_utils/helpers.d.ts +12 -0
- package/dist/_utils/is.d.ts +25 -0
- package/dist/_utils/keyboard.d.ts +24 -0
- package/dist/_utils/number.d.ts +0 -0
- package/dist/_utils/vue-eco.d.ts +38 -0
- package/dist/components/button/Button.d.ts +97 -0
- package/dist/components/button/index.d.ts +181 -0
- package/dist/components/button/props.d.ts +45 -0
- package/dist/components/dialog/Dialog.d.ts +188 -0
- package/dist/components/dialog/index.d.ts +334 -0
- package/dist/components/dialog/props.d.ts +83 -0
- package/dist/components/dialog/use-props.d.ts +33 -0
- package/dist/components/dialog/use.d.ts +3 -0
- package/dist/components/dialog/warp.d.ts +2 -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/index.d.ts +10 -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/components/message/MessageVue.vue.d.ts +362 -0
- package/dist/components/message/index.d.ts +193 -0
- package/dist/components/message/props.d.ts +31 -0
- package/dist/components/message/warp.d.ts +3 -0
- package/dist/components/message-box/MessageBox.d.ts +3 -0
- package/dist/components/message-box/index.d.ts +4 -0
- package/dist/components/message-box/props.d.ts +52 -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/notification/props.d.ts +54 -0
- package/dist/components/notification/warp.d.ts +3 -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/scrollbar/index.d.ts +0 -0
- package/dist/components/scrollbar/props.d.ts +16 -0
- package/dist/components/space/Space.d.ts +42 -0
- package/dist/components/space/index.d.ts +82 -0
- package/dist/components/tag-cloud/index.d.ts +0 -0
- package/dist/components/timeline/index.d.ts +58 -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/timeline-item.d.ts +12 -0
- package/dist/components/timeline/src/timeline.d.ts +24 -0
- package/dist/components/timeline/src/types.d.ts +9 -0
- package/dist/components/timeline-item/index.d.ts +34 -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/components/trend-chart.bak/components/trend-chart-curve.d.ts +111 -0
- package/dist/components/trend-chart.bak/components/trend-chart-grid.d.ts +55 -0
- package/dist/components/trend-chart.bak/components/trend-chart-labels.d.ts +22 -0
- package/dist/components/trend-chart.bak/components/trend-chart.d.ts +274 -0
- package/dist/components/trend-chart.bak/helpers/genPath.d.ts +8 -0
- package/dist/components/trend-chart.bak/helpers/genPoints.d.ts +3 -0
- package/dist/components/trend-chart.bak/helpers/getPadding.d.ts +7 -0
- package/dist/components/trend-chart.bak/helpers/validatePadding.d.ts +2 -0
- package/dist/components/trend-chart.bak/index.d.ts +530 -0
- package/dist/components/trend-chart.bak/props.d.ts +211 -0
- 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/directives/clipboard/cache.d.ts +8 -0
- package/dist/directives/clipboard/clipboard.d.ts +18 -0
- package/dist/directives/clipboard/convert.d.ts +3 -0
- package/dist/directives/clipboard/index.d.ts +3 -0
- package/dist/directives/clipboard/plugin.d.ts +2 -0
- package/dist/directives/clipboard/textarea.d.ts +3 -0
- package/dist/icons/animation/animation-loading.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/exclamation-circle-fill.d.ts +50 -0
- package/dist/icons/default/info-circle-fill.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/icon.d.ts +51 -0
- package/dist/icons/index.d.ts +8 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.es.js +3166 -0
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -0
- package/dist/types.d.ts +13 -0
- package/package.json +25 -11
- package/volar.d.ts +17 -0
@@ -0,0 +1,193 @@
|
|
1
|
+
export declare const XPopconfirm: {
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
|
+
modelValue: {
|
4
|
+
type: BooleanConstructor;
|
5
|
+
default: undefined;
|
6
|
+
};
|
7
|
+
disabled: {
|
8
|
+
type: BooleanConstructor;
|
9
|
+
default: boolean;
|
10
|
+
};
|
11
|
+
width: {
|
12
|
+
type: (NumberConstructor | StringConstructor)[];
|
13
|
+
default: number;
|
14
|
+
};
|
15
|
+
type: {
|
16
|
+
type: import('vue').PropType<import('./src/types').PopconfirmTypes>;
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
content: (NumberConstructor | StringConstructor)[];
|
20
|
+
position: {
|
21
|
+
type: import('vue').PropType<import('./src/types').Position>;
|
22
|
+
default: string;
|
23
|
+
};
|
24
|
+
okText: {
|
25
|
+
type: StringConstructor;
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
cancelText: {
|
29
|
+
type: StringConstructor;
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
onBeforeOk: {
|
33
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
onBeforeCancel: {
|
37
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
38
|
+
default: undefined;
|
39
|
+
};
|
40
|
+
renderTo: {
|
41
|
+
type: import('vue').PropType<string | HTMLElement>;
|
42
|
+
};
|
43
|
+
popupClass: StringConstructor;
|
44
|
+
}>> & Readonly<{
|
45
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
46
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
47
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
48
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
49
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
50
|
+
[key: string]: any;
|
51
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "ok")[], import('vue').PublicProps, {
|
52
|
+
type: import('./src/types').PopconfirmTypes;
|
53
|
+
disabled: boolean;
|
54
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
55
|
+
width: string | number;
|
56
|
+
modelValue: boolean;
|
57
|
+
onBeforeCancel: (e: Event) => boolean | Promise<boolean>;
|
58
|
+
okText: string;
|
59
|
+
cancelText: string;
|
60
|
+
onBeforeOk: (e: Event) => boolean | Promise<boolean>;
|
61
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
62
|
+
P: {};
|
63
|
+
B: {};
|
64
|
+
D: {};
|
65
|
+
C: {};
|
66
|
+
M: {};
|
67
|
+
Defaults: {};
|
68
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
69
|
+
modelValue: {
|
70
|
+
type: BooleanConstructor;
|
71
|
+
default: undefined;
|
72
|
+
};
|
73
|
+
disabled: {
|
74
|
+
type: BooleanConstructor;
|
75
|
+
default: boolean;
|
76
|
+
};
|
77
|
+
width: {
|
78
|
+
type: (NumberConstructor | StringConstructor)[];
|
79
|
+
default: number;
|
80
|
+
};
|
81
|
+
type: {
|
82
|
+
type: import('vue').PropType<import('./src/types').PopconfirmTypes>;
|
83
|
+
default: string;
|
84
|
+
};
|
85
|
+
content: (NumberConstructor | StringConstructor)[];
|
86
|
+
position: {
|
87
|
+
type: import('vue').PropType<import('./src/types').Position>;
|
88
|
+
default: string;
|
89
|
+
};
|
90
|
+
okText: {
|
91
|
+
type: StringConstructor;
|
92
|
+
default: string;
|
93
|
+
};
|
94
|
+
cancelText: {
|
95
|
+
type: StringConstructor;
|
96
|
+
default: string;
|
97
|
+
};
|
98
|
+
onBeforeOk: {
|
99
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
100
|
+
default: undefined;
|
101
|
+
};
|
102
|
+
onBeforeCancel: {
|
103
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
104
|
+
default: undefined;
|
105
|
+
};
|
106
|
+
renderTo: {
|
107
|
+
type: import('vue').PropType<string | HTMLElement>;
|
108
|
+
};
|
109
|
+
popupClass: StringConstructor;
|
110
|
+
}>> & Readonly<{
|
111
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
112
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
113
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
114
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
115
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
116
|
+
[key: string]: any;
|
117
|
+
}>[] | undefined, {}, {}, {}, {
|
118
|
+
type: import('./src/types').PopconfirmTypes;
|
119
|
+
disabled: boolean;
|
120
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
121
|
+
width: string | number;
|
122
|
+
modelValue: boolean;
|
123
|
+
onBeforeCancel: (e: Event) => boolean | Promise<boolean>;
|
124
|
+
okText: string;
|
125
|
+
cancelText: string;
|
126
|
+
onBeforeOk: (e: Event) => boolean | Promise<boolean>;
|
127
|
+
}>;
|
128
|
+
__isFragment?: never;
|
129
|
+
__isTeleport?: never;
|
130
|
+
__isSuspense?: never;
|
131
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
132
|
+
modelValue: {
|
133
|
+
type: BooleanConstructor;
|
134
|
+
default: undefined;
|
135
|
+
};
|
136
|
+
disabled: {
|
137
|
+
type: BooleanConstructor;
|
138
|
+
default: boolean;
|
139
|
+
};
|
140
|
+
width: {
|
141
|
+
type: (NumberConstructor | StringConstructor)[];
|
142
|
+
default: number;
|
143
|
+
};
|
144
|
+
type: {
|
145
|
+
type: import('vue').PropType<import('./src/types').PopconfirmTypes>;
|
146
|
+
default: string;
|
147
|
+
};
|
148
|
+
content: (NumberConstructor | StringConstructor)[];
|
149
|
+
position: {
|
150
|
+
type: import('vue').PropType<import('./src/types').Position>;
|
151
|
+
default: string;
|
152
|
+
};
|
153
|
+
okText: {
|
154
|
+
type: StringConstructor;
|
155
|
+
default: string;
|
156
|
+
};
|
157
|
+
cancelText: {
|
158
|
+
type: StringConstructor;
|
159
|
+
default: string;
|
160
|
+
};
|
161
|
+
onBeforeOk: {
|
162
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
163
|
+
default: undefined;
|
164
|
+
};
|
165
|
+
onBeforeCancel: {
|
166
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
167
|
+
default: undefined;
|
168
|
+
};
|
169
|
+
renderTo: {
|
170
|
+
type: import('vue').PropType<string | HTMLElement>;
|
171
|
+
};
|
172
|
+
popupClass: StringConstructor;
|
173
|
+
}>> & Readonly<{
|
174
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
175
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
176
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
177
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
178
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
179
|
+
[key: string]: any;
|
180
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "ok")[], "cancel" | "change" | "update:modelValue" | "ok", {
|
181
|
+
type: import('./src/types').PopconfirmTypes;
|
182
|
+
disabled: boolean;
|
183
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
184
|
+
width: string | number;
|
185
|
+
modelValue: boolean;
|
186
|
+
onBeforeCancel: (e: Event) => boolean | Promise<boolean>;
|
187
|
+
okText: string;
|
188
|
+
cancelText: string;
|
189
|
+
onBeforeOk: (e: Event) => boolean | Promise<boolean>;
|
190
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
191
|
+
install(app: import('vue').App): void;
|
192
|
+
};
|
193
|
+
export { XPopconfirm as default };
|
@@ -0,0 +1,104 @@
|
|
1
|
+
import { VNode } from 'vue';
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
|
+
modelValue: {
|
4
|
+
type: BooleanConstructor;
|
5
|
+
default: undefined;
|
6
|
+
};
|
7
|
+
disabled: {
|
8
|
+
type: BooleanConstructor;
|
9
|
+
default: boolean;
|
10
|
+
};
|
11
|
+
width: {
|
12
|
+
type: (NumberConstructor | StringConstructor)[];
|
13
|
+
default: number;
|
14
|
+
};
|
15
|
+
type: {
|
16
|
+
type: import('vue').PropType<import('./types').PopconfirmTypes>;
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
content: (NumberConstructor | StringConstructor)[];
|
20
|
+
position: {
|
21
|
+
type: import('vue').PropType<import('./types').Position>;
|
22
|
+
default: string;
|
23
|
+
};
|
24
|
+
okText: {
|
25
|
+
type: StringConstructor;
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
cancelText: {
|
29
|
+
type: StringConstructor;
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
onBeforeOk: {
|
33
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
34
|
+
default: undefined;
|
35
|
+
};
|
36
|
+
onBeforeCancel: {
|
37
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
38
|
+
default: undefined;
|
39
|
+
};
|
40
|
+
renderTo: {
|
41
|
+
type: import('vue').PropType<string | HTMLElement>;
|
42
|
+
};
|
43
|
+
popupClass: StringConstructor;
|
44
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "ok")[], "cancel" | "change" | "update:modelValue" | "ok", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
47
|
+
modelValue: {
|
48
|
+
type: BooleanConstructor;
|
49
|
+
default: undefined;
|
50
|
+
};
|
51
|
+
disabled: {
|
52
|
+
type: BooleanConstructor;
|
53
|
+
default: boolean;
|
54
|
+
};
|
55
|
+
width: {
|
56
|
+
type: (NumberConstructor | StringConstructor)[];
|
57
|
+
default: number;
|
58
|
+
};
|
59
|
+
type: {
|
60
|
+
type: import('vue').PropType<import('./types').PopconfirmTypes>;
|
61
|
+
default: string;
|
62
|
+
};
|
63
|
+
content: (NumberConstructor | StringConstructor)[];
|
64
|
+
position: {
|
65
|
+
type: import('vue').PropType<import('./types').Position>;
|
66
|
+
default: string;
|
67
|
+
};
|
68
|
+
okText: {
|
69
|
+
type: StringConstructor;
|
70
|
+
default: string;
|
71
|
+
};
|
72
|
+
cancelText: {
|
73
|
+
type: StringConstructor;
|
74
|
+
default: string;
|
75
|
+
};
|
76
|
+
onBeforeOk: {
|
77
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
78
|
+
default: undefined;
|
79
|
+
};
|
80
|
+
onBeforeCancel: {
|
81
|
+
type: import('vue').PropType<(e: Event) => boolean | Promise<boolean>>;
|
82
|
+
default: undefined;
|
83
|
+
};
|
84
|
+
renderTo: {
|
85
|
+
type: import('vue').PropType<string | HTMLElement>;
|
86
|
+
};
|
87
|
+
popupClass: StringConstructor;
|
88
|
+
}>> & Readonly<{
|
89
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
90
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
91
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
92
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
93
|
+
}>, {
|
94
|
+
type: import('./types').PopconfirmTypes;
|
95
|
+
disabled: boolean;
|
96
|
+
position: "br" | "rt" | "tr" | "bottom" | "left" | "right" | "top" | "rb" | "tl" | "bl" | "lt" | "lb";
|
97
|
+
width: string | number;
|
98
|
+
modelValue: boolean;
|
99
|
+
onBeforeCancel: (e: Event) => boolean | Promise<boolean>;
|
100
|
+
okText: string;
|
101
|
+
cancelText: string;
|
102
|
+
onBeforeOk: (e: Event) => boolean | Promise<boolean>;
|
103
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
104
|
+
export default _default;
|