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.
Files changed (120) hide show
  1. package/dist/_container/client-only.d.ts +4 -0
  2. package/dist/_container/parent-scroll-observer.d.ts +6 -0
  3. package/dist/_container/resize-observer.d.ts +6 -0
  4. package/dist/_container/utils.d.ts +12 -0
  5. package/dist/_hooks/_types.d.ts +4 -0
  6. package/dist/_hooks/use-first-element.d.ts +5 -0
  7. package/dist/_hooks/use-index.d.ts +9 -0
  8. package/dist/_hooks/use-overflow.d.ts +5 -0
  9. package/dist/_hooks/use-popup-manager.d.ts +11 -0
  10. package/dist/_hooks/use-resize-observer.d.ts +8 -0
  11. package/dist/_props/css.d.ts +13 -0
  12. package/dist/_props/global.d.ts +1 -0
  13. package/dist/_utils/click.d.ts +13 -0
  14. package/dist/_utils/config.d.ts +9 -0
  15. package/dist/_utils/constant.d.ts +17 -0
  16. package/dist/_utils/convert-case.d.ts +3 -0
  17. package/dist/_utils/dom.d.ts +10 -0
  18. package/dist/_utils/helpers.d.ts +12 -0
  19. package/dist/_utils/is.d.ts +25 -0
  20. package/dist/_utils/keyboard.d.ts +24 -0
  21. package/dist/_utils/number.d.ts +0 -0
  22. package/dist/_utils/vue-eco.d.ts +38 -0
  23. package/dist/components/button/Button.d.ts +97 -0
  24. package/dist/components/button/index.d.ts +181 -0
  25. package/dist/components/button/props.d.ts +45 -0
  26. package/dist/components/dialog/Dialog.d.ts +188 -0
  27. package/dist/components/dialog/index.d.ts +334 -0
  28. package/dist/components/dialog/props.d.ts +83 -0
  29. package/dist/components/dialog/use-props.d.ts +33 -0
  30. package/dist/components/dialog/use.d.ts +3 -0
  31. package/dist/components/dialog/warp.d.ts +2 -0
  32. package/dist/components/form/constants.d.ts +4 -0
  33. package/dist/components/form/form-item.d.ts +31 -0
  34. package/dist/components/form/form.d.ts +39 -0
  35. package/dist/components/form/hooks.d.ts +4 -0
  36. package/dist/components/form/types.d.ts +31 -0
  37. package/dist/components/index.d.ts +10 -0
  38. package/dist/components/input/Input.d.ts +220 -0
  39. package/dist/components/input/index.d.ts +394 -0
  40. package/dist/components/input/props.d.ts +95 -0
  41. package/dist/components/input/utils.d.ts +6 -0
  42. package/dist/components/message/Message.d.ts +108 -0
  43. package/dist/components/message/MessageVue.vue.d.ts +362 -0
  44. package/dist/components/message/index.d.ts +193 -0
  45. package/dist/components/message/props.d.ts +31 -0
  46. package/dist/components/message/warp.d.ts +3 -0
  47. package/dist/components/message-box/MessageBox.d.ts +3 -0
  48. package/dist/components/message-box/index.d.ts +4 -0
  49. package/dist/components/message-box/props.d.ts +52 -0
  50. package/dist/components/message-box/warp.d.ts +2 -0
  51. package/dist/components/notification/Notification.d.ts +89 -0
  52. package/dist/components/notification/index.d.ts +166 -0
  53. package/dist/components/notification/props.d.ts +54 -0
  54. package/dist/components/notification/warp.d.ts +3 -0
  55. package/dist/components/popconfirm/index.d.ts +193 -0
  56. package/dist/components/popconfirm/src/Popconfirm.d.ts +104 -0
  57. package/dist/components/popconfirm/src/popup.vue.d.ts +407 -0
  58. package/dist/components/popconfirm/src/props.d.ts +45 -0
  59. package/dist/components/popconfirm/src/types.d.ts +3 -0
  60. package/dist/components/scrollbar/index.d.ts +0 -0
  61. package/dist/components/scrollbar/props.d.ts +16 -0
  62. package/dist/components/space/Space.d.ts +42 -0
  63. package/dist/components/space/index.d.ts +82 -0
  64. package/dist/components/tag-cloud/index.d.ts +0 -0
  65. package/dist/components/timeline/index.d.ts +58 -0
  66. package/dist/components/timeline/src/context.d.ts +12 -0
  67. package/dist/components/timeline/src/props.d.ts +31 -0
  68. package/dist/components/timeline/src/timeline-item.d.ts +12 -0
  69. package/dist/components/timeline/src/timeline.d.ts +24 -0
  70. package/dist/components/timeline/src/types.d.ts +9 -0
  71. package/dist/components/timeline-item/index.d.ts +34 -0
  72. package/dist/components/trend-chart/components/TrendChart.d.ts +277 -0
  73. package/dist/components/trend-chart/components/trend-chart-curve.d.ts +111 -0
  74. package/dist/components/trend-chart/components/trend-chart-grid.d.ts +55 -0
  75. package/dist/components/trend-chart/components/trend-chart-labels.d.ts +22 -0
  76. package/dist/components/trend-chart/helpers/genPath.d.ts +8 -0
  77. package/dist/components/trend-chart/helpers/genPoints.d.ts +3 -0
  78. package/dist/components/trend-chart/helpers/getPadding.d.ts +7 -0
  79. package/dist/components/trend-chart/helpers/validatePadding.d.ts +2 -0
  80. package/dist/components/trend-chart/index.d.ts +535 -0
  81. package/dist/components/trend-chart/props.d.ts +203 -0
  82. package/dist/components/trend-chart/themes.d.ts +128 -0
  83. package/dist/components/trend-chart.bak/components/trend-chart-curve.d.ts +111 -0
  84. package/dist/components/trend-chart.bak/components/trend-chart-grid.d.ts +55 -0
  85. package/dist/components/trend-chart.bak/components/trend-chart-labels.d.ts +22 -0
  86. package/dist/components/trend-chart.bak/components/trend-chart.d.ts +274 -0
  87. package/dist/components/trend-chart.bak/helpers/genPath.d.ts +8 -0
  88. package/dist/components/trend-chart.bak/helpers/genPoints.d.ts +3 -0
  89. package/dist/components/trend-chart.bak/helpers/getPadding.d.ts +7 -0
  90. package/dist/components/trend-chart.bak/helpers/validatePadding.d.ts +2 -0
  91. package/dist/components/trend-chart.bak/index.d.ts +530 -0
  92. package/dist/components/trend-chart.bak/props.d.ts +211 -0
  93. package/dist/components/trend-chart.bak/themes.d.ts +152 -0
  94. package/dist/components/trigger/index.d.ts +487 -0
  95. package/dist/components/trigger/src/_trigger.d.ts +217 -0
  96. package/dist/components/trigger/src/constant.d.ts +8 -0
  97. package/dist/components/trigger/src/trigger.d.ts +288 -0
  98. package/dist/components/trigger/src/utils.d.ts +50 -0
  99. package/dist/directives/clipboard/cache.d.ts +8 -0
  100. package/dist/directives/clipboard/clipboard.d.ts +18 -0
  101. package/dist/directives/clipboard/convert.d.ts +3 -0
  102. package/dist/directives/clipboard/index.d.ts +3 -0
  103. package/dist/directives/clipboard/plugin.d.ts +2 -0
  104. package/dist/directives/clipboard/textarea.d.ts +3 -0
  105. package/dist/icons/animation/animation-loading.d.ts +50 -0
  106. package/dist/icons/default/check-circle-fill.d.ts +50 -0
  107. package/dist/icons/default/close-circle-fill.d.ts +50 -0
  108. package/dist/icons/default/exclamation-circle-fill.d.ts +50 -0
  109. package/dist/icons/default/info-circle-fill.d.ts +50 -0
  110. package/dist/icons/default/logo-simple.d.ts +50 -0
  111. package/dist/icons/default/minus-circle-fill.d.ts +50 -0
  112. package/dist/icons/icon.d.ts +51 -0
  113. package/dist/icons/index.d.ts +8 -0
  114. package/dist/index.d.ts +13 -0
  115. package/dist/index.es.js +3166 -0
  116. package/dist/index.umd.js +1 -1
  117. package/dist/style.css +1 -0
  118. package/dist/types.d.ts +13 -0
  119. package/package.json +25 -11
  120. package/volar.d.ts +17 -0
@@ -0,0 +1,407 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ width: {
3
+ type: (NumberConstructor | StringConstructor)[];
4
+ default: string;
5
+ };
6
+ content: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ okText: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ cancelText: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ popupClass: {
19
+ type: StringConstructor;
20
+ default: undefined;
21
+ };
22
+ onBeforeCancel: {
23
+ type: FunctionConstructor;
24
+ default: undefined;
25
+ };
26
+ onBeforeOk: {
27
+ type: FunctionConstructor;
28
+ default: undefined;
29
+ };
30
+ type: {
31
+ type: StringConstructor;
32
+ default: undefined;
33
+ };
34
+ }>, {
35
+ ns: string;
36
+ visible: import('vue').Ref<boolean, boolean>;
37
+ popupCls: import('vue').ComputedRef<(string | undefined)[]>;
38
+ popupStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
39
+ loadingObj: {
40
+ ok: boolean;
41
+ cancel: boolean;
42
+ };
43
+ changeVisible: (value: boolean) => void;
44
+ handleOk: (e: Event) => void;
45
+ handleCancel: (e: Event) => void;
46
+ beforeLeave: () => void;
47
+ afterLeave: () => void;
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "close" | "ok" | "destroy")[], "cancel" | "close" | "ok" | "destroy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
+ width: {
50
+ type: (NumberConstructor | StringConstructor)[];
51
+ default: string;
52
+ };
53
+ content: {
54
+ type: ObjectConstructor;
55
+ default: () => {};
56
+ };
57
+ okText: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ cancelText: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ popupClass: {
66
+ type: StringConstructor;
67
+ default: undefined;
68
+ };
69
+ onBeforeCancel: {
70
+ type: FunctionConstructor;
71
+ default: undefined;
72
+ };
73
+ onBeforeOk: {
74
+ type: FunctionConstructor;
75
+ default: undefined;
76
+ };
77
+ type: {
78
+ type: StringConstructor;
79
+ default: undefined;
80
+ };
81
+ }>> & Readonly<{
82
+ onClose?: ((...args: any[]) => any) | undefined;
83
+ onDestroy?: ((...args: any[]) => any) | undefined;
84
+ onCancel?: ((...args: any[]) => any) | undefined;
85
+ onOk?: ((...args: any[]) => any) | undefined;
86
+ }>, {
87
+ type: string;
88
+ content: Record<string, any>;
89
+ width: string | number;
90
+ onBeforeCancel: Function;
91
+ popupClass: string;
92
+ okText: string;
93
+ cancelText: string;
94
+ onBeforeOk: Function;
95
+ }, {}, {
96
+ Space: {
97
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
98
+ direction: {
99
+ type: import('vue').PropType<"horizontal" | "vertical">;
100
+ default: string;
101
+ };
102
+ size: {
103
+ type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
104
+ default: string;
105
+ };
106
+ align: {
107
+ type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
108
+ default: string;
109
+ };
110
+ fill: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ }>> & Readonly<{}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
115
+ size: number | "mini" | "small" | "medium" | "large";
116
+ fill: boolean;
117
+ direction: "horizontal" | "vertical";
118
+ align: "center" | "end" | "start" | "baseline";
119
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
120
+ P: {};
121
+ B: {};
122
+ D: {};
123
+ C: {};
124
+ M: {};
125
+ Defaults: {};
126
+ }, Readonly<import('vue').ExtractPropTypes<{
127
+ direction: {
128
+ type: import('vue').PropType<"horizontal" | "vertical">;
129
+ default: string;
130
+ };
131
+ size: {
132
+ type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
133
+ default: string;
134
+ };
135
+ align: {
136
+ type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
137
+ default: string;
138
+ };
139
+ fill: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ }>> & Readonly<{}>, () => any, {}, {}, {}, {
144
+ size: number | "mini" | "small" | "medium" | "large";
145
+ fill: boolean;
146
+ direction: "horizontal" | "vertical";
147
+ align: "center" | "end" | "start" | "baseline";
148
+ }>;
149
+ __isFragment?: never;
150
+ __isTeleport?: never;
151
+ __isSuspense?: never;
152
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
153
+ direction: {
154
+ type: import('vue').PropType<"horizontal" | "vertical">;
155
+ default: string;
156
+ };
157
+ size: {
158
+ type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
159
+ default: string;
160
+ };
161
+ align: {
162
+ type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
163
+ default: string;
164
+ };
165
+ fill: {
166
+ type: BooleanConstructor;
167
+ default: boolean;
168
+ };
169
+ }>> & Readonly<{}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
170
+ size: number | "mini" | "small" | "medium" | "large";
171
+ fill: boolean;
172
+ direction: "horizontal" | "vertical";
173
+ align: "center" | "end" | "start" | "baseline";
174
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
175
+ install(app: import('vue').App): void;
176
+ };
177
+ Button: {
178
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
179
+ disabled: BooleanConstructor;
180
+ block: BooleanConstructor;
181
+ loading: BooleanConstructor;
182
+ loadingFill: {
183
+ type: BooleanConstructor;
184
+ default: boolean;
185
+ };
186
+ debounce: {
187
+ type: NumberConstructor;
188
+ default: number;
189
+ };
190
+ shape: {
191
+ type: import('vue').PropType<import('../../button/props').ButtonShape>;
192
+ default: undefined;
193
+ };
194
+ link: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ type: {
199
+ type: import('vue').PropType<import('../../button/props').ButtonType>;
200
+ default: undefined;
201
+ };
202
+ status: {
203
+ type: import('vue').PropType<import('../../button/props').ButtonStatus>;
204
+ default: undefined;
205
+ };
206
+ plain: {
207
+ type: BooleanConstructor;
208
+ default: boolean;
209
+ };
210
+ size: {
211
+ type: import('vue').PropType<import('../../button/props').ButtonSize>;
212
+ default: string;
213
+ };
214
+ border: {
215
+ type: BooleanConstructor;
216
+ default: boolean;
217
+ };
218
+ }>> & Readonly<{
219
+ onClick?: ((...args: any[]) => any) | undefined;
220
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], import('vue').PublicProps, {
221
+ size: import('../../button/props').ButtonSize;
222
+ type: import('../../button/props').ButtonType;
223
+ link: boolean;
224
+ disabled: boolean;
225
+ block: boolean;
226
+ loading: boolean;
227
+ loadingFill: boolean;
228
+ debounce: number;
229
+ shape: import('../../button/props').ButtonShape;
230
+ status: import('../../button/props').ButtonStatus;
231
+ plain: boolean;
232
+ border: boolean;
233
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
234
+ P: {};
235
+ B: {};
236
+ D: {};
237
+ C: {};
238
+ M: {};
239
+ Defaults: {};
240
+ }, Readonly<import('vue').ExtractPropTypes<{
241
+ disabled: BooleanConstructor;
242
+ block: BooleanConstructor;
243
+ loading: BooleanConstructor;
244
+ loadingFill: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
248
+ debounce: {
249
+ type: NumberConstructor;
250
+ default: number;
251
+ };
252
+ shape: {
253
+ type: import('vue').PropType<import('../../button/props').ButtonShape>;
254
+ default: undefined;
255
+ };
256
+ link: {
257
+ type: BooleanConstructor;
258
+ default: boolean;
259
+ };
260
+ type: {
261
+ type: import('vue').PropType<import('../../button/props').ButtonType>;
262
+ default: undefined;
263
+ };
264
+ status: {
265
+ type: import('vue').PropType<import('../../button/props').ButtonStatus>;
266
+ default: undefined;
267
+ };
268
+ plain: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
272
+ size: {
273
+ type: import('vue').PropType<import('../../button/props').ButtonSize>;
274
+ default: string;
275
+ };
276
+ border: {
277
+ type: BooleanConstructor;
278
+ default: boolean;
279
+ };
280
+ }>> & Readonly<{
281
+ onClick?: ((...args: any[]) => any) | undefined;
282
+ }>, () => any, {}, {}, {}, {
283
+ size: import('../../button/props').ButtonSize;
284
+ type: import('../../button/props').ButtonType;
285
+ link: boolean;
286
+ disabled: boolean;
287
+ block: boolean;
288
+ loading: boolean;
289
+ loadingFill: boolean;
290
+ debounce: number;
291
+ shape: import('../../button/props').ButtonShape;
292
+ status: import('../../button/props').ButtonStatus;
293
+ plain: boolean;
294
+ border: boolean;
295
+ }>;
296
+ __isFragment?: never;
297
+ __isTeleport?: never;
298
+ __isSuspense?: never;
299
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
300
+ disabled: BooleanConstructor;
301
+ block: BooleanConstructor;
302
+ loading: BooleanConstructor;
303
+ loadingFill: {
304
+ type: BooleanConstructor;
305
+ default: boolean;
306
+ };
307
+ debounce: {
308
+ type: NumberConstructor;
309
+ default: number;
310
+ };
311
+ shape: {
312
+ type: import('vue').PropType<import('../../button/props').ButtonShape>;
313
+ default: undefined;
314
+ };
315
+ link: {
316
+ type: BooleanConstructor;
317
+ default: boolean;
318
+ };
319
+ type: {
320
+ type: import('vue').PropType<import('../../button/props').ButtonType>;
321
+ default: undefined;
322
+ };
323
+ status: {
324
+ type: import('vue').PropType<import('../../button/props').ButtonStatus>;
325
+ default: undefined;
326
+ };
327
+ plain: {
328
+ type: BooleanConstructor;
329
+ default: boolean;
330
+ };
331
+ size: {
332
+ type: import('vue').PropType<import('../../button/props').ButtonSize>;
333
+ default: string;
334
+ };
335
+ border: {
336
+ type: BooleanConstructor;
337
+ default: boolean;
338
+ };
339
+ }>> & Readonly<{
340
+ onClick?: ((...args: any[]) => any) | undefined;
341
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", {
342
+ size: import('../../button/props').ButtonSize;
343
+ type: import('../../button/props').ButtonType;
344
+ link: boolean;
345
+ disabled: boolean;
346
+ block: boolean;
347
+ loading: boolean;
348
+ loadingFill: boolean;
349
+ debounce: number;
350
+ shape: import('../../button/props').ButtonShape;
351
+ status: import('../../button/props').ButtonStatus;
352
+ plain: boolean;
353
+ border: boolean;
354
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
355
+ install(app: import('vue').App): void;
356
+ };
357
+ InfoCircleFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
358
+ size: {
359
+ type: (NumberConstructor | StringConstructor)[];
360
+ default: undefined;
361
+ };
362
+ rotate: {
363
+ type: NumberConstructor;
364
+ default: undefined;
365
+ };
366
+ spin: {
367
+ type: BooleanConstructor;
368
+ default: boolean;
369
+ };
370
+ color: {
371
+ type: StringConstructor;
372
+ default: undefined;
373
+ };
374
+ fillColor: {
375
+ type: ArrayConstructor;
376
+ default: undefined;
377
+ };
378
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
379
+ size: {
380
+ type: (NumberConstructor | StringConstructor)[];
381
+ default: undefined;
382
+ };
383
+ rotate: {
384
+ type: NumberConstructor;
385
+ default: undefined;
386
+ };
387
+ spin: {
388
+ type: BooleanConstructor;
389
+ default: boolean;
390
+ };
391
+ color: {
392
+ type: StringConstructor;
393
+ default: undefined;
394
+ };
395
+ fillColor: {
396
+ type: ArrayConstructor;
397
+ default: undefined;
398
+ };
399
+ }>> & Readonly<{}>, {
400
+ size: string | number;
401
+ rotate: number;
402
+ spin: boolean;
403
+ color: string;
404
+ fillColor: unknown[];
405
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
406
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
407
+ export default _default;
@@ -0,0 +1,45 @@
1
+ import { PropType } from 'vue';
2
+ import { Position, PopconfirmTypes } from './types';
3
+ export declare const popconfirmProps: {
4
+ modelValue: {
5
+ type: BooleanConstructor;
6
+ default: undefined;
7
+ };
8
+ disabled: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ width: {
13
+ type: (NumberConstructor | StringConstructor)[];
14
+ default: number;
15
+ };
16
+ type: {
17
+ type: PropType<PopconfirmTypes>;
18
+ default: string;
19
+ };
20
+ content: (NumberConstructor | StringConstructor)[];
21
+ position: {
22
+ type: PropType<Position>;
23
+ default: string;
24
+ };
25
+ okText: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ cancelText: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ onBeforeOk: {
34
+ type: PropType<(e: Event) => boolean | Promise<boolean>>;
35
+ default: undefined;
36
+ };
37
+ onBeforeCancel: {
38
+ type: PropType<(e: Event) => boolean | Promise<boolean>>;
39
+ default: undefined;
40
+ };
41
+ renderTo: {
42
+ type: PropType<string | HTMLElement>;
43
+ };
44
+ popupClass: StringConstructor;
45
+ };
@@ -0,0 +1,3 @@
1
+ export declare const positions: readonly ["top", "tl", "tr", "bottom", "bl", "br", "left", "lt", "lb", "right", "rt", "rb"];
2
+ export type Position = (typeof positions)[number];
3
+ export type PopconfirmTypes = 'primary' | 'success' | 'warning' | 'strong' | 'danger';
File without changes
@@ -0,0 +1,16 @@
1
+ export interface ThumbData {
2
+ ratio: number;
3
+ thumbSize: number;
4
+ max: number;
5
+ }
6
+ export interface ThumbMap {
7
+ size: 'width' | 'height';
8
+ direction: 'left' | 'top';
9
+ offset: 'offsetWidth' | 'offsetHeight';
10
+ client: 'clientX' | 'clientY';
11
+ }
12
+ export interface ScrollbarProps {
13
+ type: 'track' | 'embed';
14
+ outerClass: any;
15
+ outerStyle: any;
16
+ }
@@ -0,0 +1,42 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ direction: {
4
+ type: PropType<"horizontal" | "vertical">;
5
+ default: string;
6
+ };
7
+ size: {
8
+ type: PropType<number | "mini" | "small" | "medium" | "large">;
9
+ default: string;
10
+ };
11
+ align: {
12
+ type: PropType<"start" | "end" | "center" | "baseline">;
13
+ default: string;
14
+ };
15
+ fill: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ direction: {
21
+ type: PropType<"horizontal" | "vertical">;
22
+ default: string;
23
+ };
24
+ size: {
25
+ type: PropType<number | "mini" | "small" | "medium" | "large">;
26
+ default: string;
27
+ };
28
+ align: {
29
+ type: PropType<"start" | "end" | "center" | "baseline">;
30
+ default: string;
31
+ };
32
+ fill: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ }>> & Readonly<{}>, {
37
+ size: number | "mini" | "small" | "medium" | "large";
38
+ fill: boolean;
39
+ direction: "horizontal" | "vertical";
40
+ align: "center" | "end" | "start" | "baseline";
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
+ export default _default;
@@ -0,0 +1,82 @@
1
+ export declare const XSpace: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ direction: {
4
+ type: import('vue').PropType<"horizontal" | "vertical">;
5
+ default: string;
6
+ };
7
+ size: {
8
+ type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
9
+ default: string;
10
+ };
11
+ align: {
12
+ type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
13
+ default: string;
14
+ };
15
+ fill: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>> & Readonly<{}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
20
+ size: number | "mini" | "small" | "medium" | "large";
21
+ fill: boolean;
22
+ direction: "horizontal" | "vertical";
23
+ align: "center" | "end" | "start" | "baseline";
24
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
25
+ P: {};
26
+ B: {};
27
+ D: {};
28
+ C: {};
29
+ M: {};
30
+ Defaults: {};
31
+ }, Readonly<import('vue').ExtractPropTypes<{
32
+ direction: {
33
+ type: import('vue').PropType<"horizontal" | "vertical">;
34
+ default: string;
35
+ };
36
+ size: {
37
+ type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
38
+ default: string;
39
+ };
40
+ align: {
41
+ type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
42
+ default: string;
43
+ };
44
+ fill: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ }>> & Readonly<{}>, () => any, {}, {}, {}, {
49
+ size: number | "mini" | "small" | "medium" | "large";
50
+ fill: boolean;
51
+ direction: "horizontal" | "vertical";
52
+ align: "center" | "end" | "start" | "baseline";
53
+ }>;
54
+ __isFragment?: never;
55
+ __isTeleport?: never;
56
+ __isSuspense?: never;
57
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
58
+ direction: {
59
+ type: import('vue').PropType<"horizontal" | "vertical">;
60
+ default: string;
61
+ };
62
+ size: {
63
+ type: import('vue').PropType<number | "mini" | "small" | "medium" | "large">;
64
+ default: string;
65
+ };
66
+ align: {
67
+ type: import('vue').PropType<"start" | "end" | "center" | "baseline">;
68
+ default: string;
69
+ };
70
+ fill: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ }>> & Readonly<{}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
75
+ size: number | "mini" | "small" | "medium" | "large";
76
+ fill: boolean;
77
+ direction: "horizontal" | "vertical";
78
+ align: "center" | "end" | "start" | "baseline";
79
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
80
+ install(app: import('vue').App): void;
81
+ };
82
+ export { XSpace as default };
File without changes
@@ -0,0 +1,58 @@
1
+ export declare const XTimeline: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ reverse: {
4
+ type: BooleanConstructor;
5
+ };
6
+ lineType: {
7
+ type: import('vue').PropType<import('./src/types').LineType>;
8
+ default: string;
9
+ };
10
+ }>> & Readonly<{
11
+ onChange?: ((...args: any[]) => any) | undefined;
12
+ "onUpdate:current"?: ((...args: any[]) => any) | undefined;
13
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:current")[], import('vue').PublicProps, {
14
+ reverse: boolean;
15
+ lineType: import('./src/types').LineType;
16
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
17
+ P: {};
18
+ B: {};
19
+ D: {};
20
+ C: {};
21
+ M: {};
22
+ Defaults: {};
23
+ }, Readonly<import('vue').ExtractPropTypes<{
24
+ reverse: {
25
+ type: BooleanConstructor;
26
+ };
27
+ lineType: {
28
+ type: import('vue').PropType<import('./src/types').LineType>;
29
+ default: string;
30
+ };
31
+ }>> & Readonly<{
32
+ onChange?: ((...args: any[]) => any) | undefined;
33
+ "onUpdate:current"?: ((...args: any[]) => any) | undefined;
34
+ }>, () => any, {}, {}, {}, {
35
+ reverse: boolean;
36
+ lineType: import('./src/types').LineType;
37
+ }>;
38
+ __isFragment?: never;
39
+ __isTeleport?: never;
40
+ __isSuspense?: never;
41
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
42
+ reverse: {
43
+ type: BooleanConstructor;
44
+ };
45
+ lineType: {
46
+ type: import('vue').PropType<import('./src/types').LineType>;
47
+ default: string;
48
+ };
49
+ }>> & Readonly<{
50
+ onChange?: ((...args: any[]) => any) | undefined;
51
+ "onUpdate:current"?: ((...args: any[]) => any) | undefined;
52
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:current")[], "change" | "update:current", {
53
+ reverse: boolean;
54
+ lineType: import('./src/types').LineType;
55
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
56
+ install(app: import('vue').App): void;
57
+ };
58
+ export { XTimeline as default };
@@ -0,0 +1,12 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { LineType } from './types';
3
+ export interface TimelineContext {
4
+ reverse: boolean;
5
+ parentCls: string;
6
+ count: number;
7
+ lineType: LineType;
8
+ }
9
+ /**
10
+ * @description 之所以命名为context从行为上讲Provide和Inject形似上下文
11
+ */
12
+ export declare const timelineInjectionKey: InjectionKey<TimelineContext>;