@nuxt/ui 2.18.4 → 2.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/module.d.mts +1 -6
- package/dist/module.d.ts +1 -6
- package/dist/module.json +2 -2
- package/dist/module.mjs +16 -8
- package/dist/runtime/components/data/Table.vue +8 -7
- package/dist/runtime/components/data/Table.vue.d.ts +2016 -12
- package/dist/runtime/components/elements/Accordion.vue.d.ts +1124 -10
- package/dist/runtime/components/elements/Alert.vue.d.ts +1449 -11
- package/dist/runtime/components/elements/Avatar.vue.d.ts +118 -10
- package/dist/runtime/components/elements/AvatarGroup.d.ts +12 -6
- package/dist/runtime/components/elements/Badge.vue.d.ts +45 -9
- package/dist/runtime/components/elements/Button.vue.d.ts +367 -14
- package/dist/runtime/components/elements/ButtonGroup.d.ts +107 -6
- package/dist/runtime/components/elements/Carousel.vue.d.ts +970 -10
- package/dist/runtime/components/elements/Chip.vue.d.ts +46 -9
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +784 -13
- package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Kbd.vue.d.ts +28 -9
- package/dist/runtime/components/elements/Link.vue +1 -0
- package/dist/runtime/components/elements/Link.vue.d.ts +9 -9
- package/dist/runtime/components/elements/Meter.vue.d.ts +136 -11
- package/dist/runtime/components/elements/MeterGroup.d.ts +60 -6
- package/dist/runtime/components/elements/Progress.vue.d.ts +89 -12
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +33 -12
- package/dist/runtime/components/forms/Form.vue +4 -3
- package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +39 -11
- package/dist/runtime/components/forms/Input.vue +1 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +176 -14
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +957 -20
- package/dist/runtime/components/forms/Radio.vue.d.ts +32 -12
- package/dist/runtime/components/forms/RadioGroup.vue +1 -1
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +245 -14
- package/dist/runtime/components/forms/Range.vue.d.ts +79 -13
- package/dist/runtime/components/forms/Select.vue.d.ts +171 -12
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +1163 -19
- package/dist/runtime/components/forms/Textarea.vue +3 -0
- package/dist/runtime/components/forms/Textarea.vue.d.ts +129 -14
- package/dist/runtime/components/forms/Toggle.vue.d.ts +211 -12
- package/dist/runtime/components/layout/Card.vue.d.ts +35 -9
- package/dist/runtime/components/layout/Container.vue.d.ts +17 -9
- package/dist/runtime/components/layout/Divider.vue.d.ts +528 -11
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +17 -9
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +302 -9
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1971 -13
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +625 -5
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +898 -9
- package/dist/runtime/components/navigation/Pagination.vue +4 -0
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +981 -11
- package/dist/runtime/components/navigation/Tabs.vue +4 -0
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +274 -14
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1666 -9
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +45 -12
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +392 -13
- package/dist/runtime/components/overlays/Notification.vue.d.ts +1459 -12
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +1746 -10
- package/dist/runtime/components/overlays/Popover.vue.d.ts +165 -14
- package/dist/runtime/components/overlays/Slideover.vue +3 -3
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +391 -13
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +168 -12
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormGroup.js +4 -2
- package/dist/runtime/composables/useModal.d.ts +1 -1
- package/dist/runtime/composables/usePopper.d.ts +262 -1
- package/dist/runtime/composables/useShortcuts.d.ts +4 -4
- package/dist/runtime/composables/useSlideover.d.ts +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/plugins/colors.js +3 -3
- package/dist/runtime/types/command-palette.d.ts +2 -2
- package/dist/runtime/ui.config/elements/button.js +9 -9
- package/dist/runtime/ui.config/elements/carousel.js +1 -1
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +5 -1
- package/package.json +27 -29
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
name: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
required: true;
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
required: false;
|
|
20
20
|
default: any;
|
|
21
21
|
};
|
|
22
|
-
}
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
name: {
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
required: true;
|
|
@@ -39,9 +39,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
required: false;
|
|
40
40
|
default: any;
|
|
41
41
|
};
|
|
42
|
-
}
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
43
|
mode: "svg" | "css";
|
|
44
44
|
size: string | number;
|
|
45
45
|
customize: Function;
|
|
46
|
-
}, {}>;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { KbdSize, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, KbdSize, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
base: string;
|
|
5
5
|
padding: string;
|
|
@@ -16,7 +16,7 @@ declare const config: {
|
|
|
16
16
|
size: string;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
declare const _default: import("vue").DefineComponent<{
|
|
19
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
20
|
value: {
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
default: any;
|
|
@@ -31,12 +31,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
default: () => "";
|
|
32
32
|
};
|
|
33
33
|
ui: {
|
|
34
|
-
type: PropType<
|
|
34
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
35
35
|
strategy?: Strategy;
|
|
36
36
|
}>;
|
|
37
37
|
default: () => {};
|
|
38
38
|
};
|
|
39
|
-
}
|
|
39
|
+
}>, {
|
|
40
40
|
ui: import("vue").ComputedRef<{
|
|
41
41
|
base: string;
|
|
42
42
|
padding: string;
|
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
[x: string]: unknown;
|
|
58
58
|
}, string>>;
|
|
59
59
|
kbdClass: import("vue").ComputedRef<string>;
|
|
60
|
-
},
|
|
60
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
61
|
value: {
|
|
62
62
|
type: StringConstructor;
|
|
63
63
|
default: any;
|
|
@@ -72,15 +72,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
default: () => "";
|
|
73
73
|
};
|
|
74
74
|
ui: {
|
|
75
|
-
type: PropType<
|
|
75
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
76
76
|
strategy?: Strategy;
|
|
77
77
|
}>;
|
|
78
78
|
default: () => {};
|
|
79
79
|
};
|
|
80
|
-
}
|
|
80
|
+
}>> & Readonly<{}>, {
|
|
81
81
|
size: KbdSize;
|
|
82
82
|
class: any;
|
|
83
|
-
ui: {
|
|
83
|
+
ui: {
|
|
84
|
+
base?: string;
|
|
85
|
+
padding?: string;
|
|
86
|
+
size?: DeepPartial<{
|
|
87
|
+
xs: string;
|
|
88
|
+
sm: string;
|
|
89
|
+
md: string;
|
|
90
|
+
}, any>;
|
|
91
|
+
rounded?: string;
|
|
92
|
+
font?: string;
|
|
93
|
+
background?: string;
|
|
94
|
+
ring?: string;
|
|
95
|
+
default?: DeepPartial<{
|
|
96
|
+
size: string;
|
|
97
|
+
}, any>;
|
|
98
|
+
} & {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
} & {
|
|
101
|
+
strategy?: Strategy;
|
|
102
|
+
};
|
|
84
103
|
value: string;
|
|
85
|
-
}, {}>;
|
|
104
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
86
105
|
export default _default;
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
:rel="rel"
|
|
24
24
|
:target="target"
|
|
25
25
|
:class="active !== undefined ? (active ? activeClass : inactiveClass) : resolveLinkClass(route, $route, { isActive, isExactActive })"
|
|
26
|
+
:tabindex="disabled ? -1 : undefined"
|
|
26
27
|
@click="(e) => (!isExternal && !disabled) && navigate(e)"
|
|
27
28
|
>
|
|
28
29
|
<slot v-bind="{ isActive: active !== undefined ? active : (exact ? isExactActive : isActive) }" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
as: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
@@ -96,12 +96,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
readonly default: any;
|
|
97
97
|
readonly required: false;
|
|
98
98
|
};
|
|
99
|
-
}
|
|
99
|
+
}>, {
|
|
100
100
|
resolveLinkClass: (route: any, $route: any, { isActive, isExactActive }: {
|
|
101
101
|
isActive: boolean;
|
|
102
102
|
isExactActive: boolean;
|
|
103
103
|
}) => string;
|
|
104
|
-
},
|
|
104
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
105
|
as: {
|
|
106
106
|
type: StringConstructor;
|
|
107
107
|
default: string;
|
|
@@ -199,27 +199,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
199
|
readonly default: any;
|
|
200
200
|
readonly required: false;
|
|
201
201
|
};
|
|
202
|
-
}
|
|
202
|
+
}>> & Readonly<{}>, {
|
|
203
203
|
type: string;
|
|
204
|
-
|
|
204
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
205
|
+
disabled: boolean;
|
|
205
206
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
206
|
-
to: any;
|
|
207
207
|
activeClass: string;
|
|
208
208
|
exactActiveClass: string;
|
|
209
209
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
210
|
+
replace: boolean;
|
|
210
211
|
noRel: boolean;
|
|
211
212
|
prefetch: boolean;
|
|
212
213
|
noPrefetch: boolean;
|
|
213
214
|
prefetchedClass: string;
|
|
214
215
|
external: boolean;
|
|
215
216
|
as: string;
|
|
216
|
-
disabled: boolean;
|
|
217
217
|
active: boolean;
|
|
218
218
|
exact: boolean;
|
|
219
219
|
exactQuery: boolean;
|
|
220
220
|
exactHash: boolean;
|
|
221
221
|
inactiveClass: string;
|
|
222
|
-
href:
|
|
222
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
223
223
|
rel: any;
|
|
224
|
-
}, {}>;
|
|
224
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
225
225
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SlotsType, PropType } from 'vue';
|
|
2
|
-
import type { Strategy, MeterColor, MeterSize } from '../../types/index.js';
|
|
2
|
+
import type { Strategy, MeterColor, MeterSize, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
indicator: {
|
|
@@ -76,7 +76,7 @@ declare const config: {
|
|
|
76
76
|
color: string;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
declare const _default: import("vue").DefineComponent<{
|
|
79
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
80
80
|
value: {
|
|
81
81
|
type: NumberConstructor;
|
|
82
82
|
default: number;
|
|
@@ -116,12 +116,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
116
|
default: () => "";
|
|
117
117
|
};
|
|
118
118
|
ui: {
|
|
119
|
-
type: PropType<
|
|
119
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
120
120
|
strategy?: Strategy;
|
|
121
121
|
}>;
|
|
122
122
|
default: () => {};
|
|
123
123
|
};
|
|
124
|
-
}
|
|
124
|
+
}>, {
|
|
125
125
|
ui: import("vue").ComputedRef<{
|
|
126
126
|
wrapper: string;
|
|
127
127
|
indicator: {
|
|
@@ -210,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
210
|
normalizedMin: import("vue").ComputedRef<number>;
|
|
211
211
|
normalizedMax: import("vue").ComputedRef<number>;
|
|
212
212
|
percent: import("vue").ComputedRef<number>;
|
|
213
|
-
},
|
|
213
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
214
214
|
value: {
|
|
215
215
|
type: NumberConstructor;
|
|
216
216
|
default: number;
|
|
@@ -250,21 +250,100 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
250
250
|
default: () => "";
|
|
251
251
|
};
|
|
252
252
|
ui: {
|
|
253
|
-
type: PropType<
|
|
253
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
254
254
|
strategy?: Strategy;
|
|
255
255
|
}>;
|
|
256
256
|
default: () => {};
|
|
257
257
|
};
|
|
258
|
-
}
|
|
258
|
+
}>> & Readonly<{}>, {
|
|
259
259
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
260
260
|
class: any;
|
|
261
|
+
max: number;
|
|
261
262
|
color: MeterColor;
|
|
262
263
|
label: string;
|
|
263
|
-
ui: {
|
|
264
|
+
ui: {
|
|
265
|
+
wrapper?: string;
|
|
266
|
+
indicator?: DeepPartial<{
|
|
267
|
+
container: string;
|
|
268
|
+
text: string;
|
|
269
|
+
size: {
|
|
270
|
+
'2xs': string;
|
|
271
|
+
xs: string;
|
|
272
|
+
sm: string;
|
|
273
|
+
md: string;
|
|
274
|
+
lg: string;
|
|
275
|
+
xl: string;
|
|
276
|
+
'2xl': string;
|
|
277
|
+
};
|
|
278
|
+
}, any>;
|
|
279
|
+
meter?: DeepPartial<{
|
|
280
|
+
base: string;
|
|
281
|
+
background: string;
|
|
282
|
+
color: string;
|
|
283
|
+
ring: string;
|
|
284
|
+
rounded: string;
|
|
285
|
+
shadow: string;
|
|
286
|
+
size: {
|
|
287
|
+
'2xs': string;
|
|
288
|
+
xs: string;
|
|
289
|
+
sm: string;
|
|
290
|
+
md: string;
|
|
291
|
+
lg: string;
|
|
292
|
+
xl: string;
|
|
293
|
+
'2xl': string;
|
|
294
|
+
};
|
|
295
|
+
appearance: {
|
|
296
|
+
inner: string;
|
|
297
|
+
meter: string;
|
|
298
|
+
bar: string;
|
|
299
|
+
value: string;
|
|
300
|
+
};
|
|
301
|
+
bar: {
|
|
302
|
+
transition: string;
|
|
303
|
+
ring: string;
|
|
304
|
+
rounded: string;
|
|
305
|
+
size: {
|
|
306
|
+
'2xs': string;
|
|
307
|
+
xs: string;
|
|
308
|
+
sm: string;
|
|
309
|
+
md: string;
|
|
310
|
+
lg: string;
|
|
311
|
+
xl: string;
|
|
312
|
+
'2xl': string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
}, any>;
|
|
316
|
+
label?: DeepPartial<{
|
|
317
|
+
base: string;
|
|
318
|
+
text: string;
|
|
319
|
+
color: string;
|
|
320
|
+
size: {
|
|
321
|
+
'2xs': string;
|
|
322
|
+
xs: string;
|
|
323
|
+
sm: string;
|
|
324
|
+
md: string;
|
|
325
|
+
lg: string;
|
|
326
|
+
xl: string;
|
|
327
|
+
'2xl': string;
|
|
328
|
+
};
|
|
329
|
+
}, any>;
|
|
330
|
+
color?: DeepPartial<{
|
|
331
|
+
white: string;
|
|
332
|
+
black: string;
|
|
333
|
+
gray: string;
|
|
334
|
+
}, any>;
|
|
335
|
+
default?: DeepPartial<{
|
|
336
|
+
size: string;
|
|
337
|
+
color: string;
|
|
338
|
+
}, any>;
|
|
339
|
+
} & {
|
|
340
|
+
[key: string]: any;
|
|
341
|
+
} & {
|
|
342
|
+
strategy?: Strategy;
|
|
343
|
+
};
|
|
264
344
|
icon: string;
|
|
265
|
-
indicator: boolean;
|
|
266
345
|
value: number;
|
|
267
|
-
|
|
346
|
+
indicator: boolean;
|
|
268
347
|
min: number;
|
|
269
348
|
}, SlotsType<{
|
|
270
349
|
indicator?: {
|
|
@@ -275,5 +354,51 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
275
354
|
percent: number;
|
|
276
355
|
value: number;
|
|
277
356
|
};
|
|
278
|
-
}
|
|
357
|
+
}>, {
|
|
358
|
+
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
359
|
+
name: {
|
|
360
|
+
type: StringConstructor;
|
|
361
|
+
required: true;
|
|
362
|
+
};
|
|
363
|
+
mode: {
|
|
364
|
+
type: PropType<"svg" | "css">;
|
|
365
|
+
required: false;
|
|
366
|
+
default: any;
|
|
367
|
+
};
|
|
368
|
+
size: {
|
|
369
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
370
|
+
required: false;
|
|
371
|
+
default: any;
|
|
372
|
+
};
|
|
373
|
+
customize: {
|
|
374
|
+
type: FunctionConstructor;
|
|
375
|
+
required: false;
|
|
376
|
+
default: any;
|
|
377
|
+
};
|
|
378
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
379
|
+
name: {
|
|
380
|
+
type: StringConstructor;
|
|
381
|
+
required: true;
|
|
382
|
+
};
|
|
383
|
+
mode: {
|
|
384
|
+
type: PropType<"svg" | "css">;
|
|
385
|
+
required: false;
|
|
386
|
+
default: any;
|
|
387
|
+
};
|
|
388
|
+
size: {
|
|
389
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
390
|
+
required: false;
|
|
391
|
+
default: any;
|
|
392
|
+
};
|
|
393
|
+
customize: {
|
|
394
|
+
type: FunctionConstructor;
|
|
395
|
+
required: false;
|
|
396
|
+
default: any;
|
|
397
|
+
};
|
|
398
|
+
}>> & Readonly<{}>, {
|
|
399
|
+
mode: "svg" | "css";
|
|
400
|
+
size: string | number;
|
|
401
|
+
customize: Function;
|
|
402
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
403
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
279
404
|
export default _default;
|
|
@@ -52,7 +52,7 @@ declare const meterGroupConfig: {
|
|
|
52
52
|
icon: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
declare const _default: import("
|
|
55
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
56
56
|
min: {
|
|
57
57
|
type: NumberConstructor;
|
|
58
58
|
default: number;
|
|
@@ -84,9 +84,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
84
84
|
}>;
|
|
85
85
|
default: () => {};
|
|
86
86
|
};
|
|
87
|
-
}
|
|
87
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
88
88
|
[key: string]: any;
|
|
89
|
-
}>,
|
|
89
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
90
|
min: {
|
|
91
91
|
type: NumberConstructor;
|
|
92
92
|
default: number;
|
|
@@ -118,9 +118,61 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
118
118
|
}>;
|
|
119
119
|
default: () => {};
|
|
120
120
|
};
|
|
121
|
-
}
|
|
121
|
+
}>> & Readonly<{}>, {
|
|
122
122
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
123
|
-
ui: {
|
|
123
|
+
ui: Partial<{
|
|
124
|
+
wrapper: string;
|
|
125
|
+
base: string;
|
|
126
|
+
background: string;
|
|
127
|
+
transition: string;
|
|
128
|
+
rounded: string;
|
|
129
|
+
shadow: string;
|
|
130
|
+
list: string;
|
|
131
|
+
orientation: {
|
|
132
|
+
'rounded-none': {
|
|
133
|
+
left: string;
|
|
134
|
+
right: string;
|
|
135
|
+
};
|
|
136
|
+
'rounded-sm': {
|
|
137
|
+
left: string;
|
|
138
|
+
right: string;
|
|
139
|
+
};
|
|
140
|
+
rounded: {
|
|
141
|
+
left: string;
|
|
142
|
+
right: string;
|
|
143
|
+
};
|
|
144
|
+
'rounded-md': {
|
|
145
|
+
left: string;
|
|
146
|
+
right: string;
|
|
147
|
+
};
|
|
148
|
+
'rounded-lg': {
|
|
149
|
+
left: string;
|
|
150
|
+
right: string;
|
|
151
|
+
};
|
|
152
|
+
'rounded-xl': {
|
|
153
|
+
left: string;
|
|
154
|
+
right: string;
|
|
155
|
+
};
|
|
156
|
+
'rounded-2xl': {
|
|
157
|
+
left: string;
|
|
158
|
+
right: string;
|
|
159
|
+
};
|
|
160
|
+
'rounded-3xl': {
|
|
161
|
+
left: string;
|
|
162
|
+
right: string;
|
|
163
|
+
};
|
|
164
|
+
'rounded-full': {
|
|
165
|
+
left: string;
|
|
166
|
+
right: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
default: {
|
|
170
|
+
size: string;
|
|
171
|
+
icon: string;
|
|
172
|
+
};
|
|
173
|
+
}> & {
|
|
174
|
+
strategy?: Strategy;
|
|
175
|
+
};
|
|
124
176
|
class: any;
|
|
125
177
|
icon: string;
|
|
126
178
|
max: number;
|
|
@@ -131,5 +183,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
131
183
|
indicator?: {
|
|
132
184
|
percent: number;
|
|
133
185
|
};
|
|
134
|
-
}
|
|
186
|
+
}>, {
|
|
187
|
+
UIcon: any;
|
|
188
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
135
189
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor } from '../../types/index.js';
|
|
2
|
+
import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
indicator: {
|
|
@@ -74,7 +74,7 @@ declare const config: {
|
|
|
74
74
|
animation: string;
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
declare const _default: import("vue").DefineComponent<{
|
|
77
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
78
78
|
value: {
|
|
79
79
|
type: NumberConstructor;
|
|
80
80
|
default: any;
|
|
@@ -122,12 +122,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
default: () => "";
|
|
123
123
|
};
|
|
124
124
|
ui: {
|
|
125
|
-
type: PropType<
|
|
125
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
126
126
|
strategy?: Strategy;
|
|
127
127
|
}>;
|
|
128
128
|
default: () => {};
|
|
129
129
|
};
|
|
130
|
-
}
|
|
130
|
+
}>, {
|
|
131
131
|
ui: import("vue").ComputedRef<{
|
|
132
132
|
wrapper: string;
|
|
133
133
|
indicator: {
|
|
@@ -214,7 +214,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
214
214
|
isSteps: import("vue").ComputedRef<boolean>;
|
|
215
215
|
realMax: import("vue").ComputedRef<number>;
|
|
216
216
|
percent: import("vue").ComputedRef<number>;
|
|
217
|
-
},
|
|
217
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
218
218
|
value: {
|
|
219
219
|
type: NumberConstructor;
|
|
220
220
|
default: any;
|
|
@@ -262,19 +262,96 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
262
262
|
default: () => "";
|
|
263
263
|
};
|
|
264
264
|
ui: {
|
|
265
|
-
type: PropType<
|
|
265
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
266
266
|
strategy?: Strategy;
|
|
267
267
|
}>;
|
|
268
268
|
default: () => {};
|
|
269
269
|
};
|
|
270
|
-
}
|
|
270
|
+
}>> & Readonly<{}>, {
|
|
271
271
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
272
272
|
class: any;
|
|
273
|
-
|
|
274
|
-
ui: {};
|
|
275
|
-
indicator: boolean;
|
|
273
|
+
max: number | any[];
|
|
276
274
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
275
|
+
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
276
|
+
ui: {
|
|
277
|
+
wrapper?: string;
|
|
278
|
+
indicator?: DeepPartial<{
|
|
279
|
+
container: {
|
|
280
|
+
base: string;
|
|
281
|
+
width: string;
|
|
282
|
+
transition: string;
|
|
283
|
+
};
|
|
284
|
+
align: string;
|
|
285
|
+
width: string;
|
|
286
|
+
color: string;
|
|
287
|
+
size: {
|
|
288
|
+
'2xs': string;
|
|
289
|
+
xs: string;
|
|
290
|
+
sm: string;
|
|
291
|
+
md: string;
|
|
292
|
+
lg: string;
|
|
293
|
+
xl: string;
|
|
294
|
+
'2xl': string;
|
|
295
|
+
};
|
|
296
|
+
}, any>;
|
|
297
|
+
progress?: DeepPartial<{
|
|
298
|
+
base: string;
|
|
299
|
+
width: string;
|
|
300
|
+
size: {
|
|
301
|
+
'2xs': string;
|
|
302
|
+
xs: string;
|
|
303
|
+
sm: string;
|
|
304
|
+
md: string;
|
|
305
|
+
lg: string;
|
|
306
|
+
xl: string;
|
|
307
|
+
'2xl': string;
|
|
308
|
+
};
|
|
309
|
+
rounded: string;
|
|
310
|
+
track: string;
|
|
311
|
+
bar: string;
|
|
312
|
+
color: string;
|
|
313
|
+
background: string;
|
|
314
|
+
indeterminate: {
|
|
315
|
+
base: string;
|
|
316
|
+
rounded: string;
|
|
317
|
+
};
|
|
318
|
+
}, any>;
|
|
319
|
+
steps?: DeepPartial<{
|
|
320
|
+
base: string;
|
|
321
|
+
color: string;
|
|
322
|
+
size: {
|
|
323
|
+
'2xs': string;
|
|
324
|
+
xs: string;
|
|
325
|
+
sm: string;
|
|
326
|
+
md: string;
|
|
327
|
+
lg: string;
|
|
328
|
+
xl: string;
|
|
329
|
+
'2xl': string;
|
|
330
|
+
};
|
|
331
|
+
}, any>;
|
|
332
|
+
step?: DeepPartial<{
|
|
333
|
+
base: string;
|
|
334
|
+
align: string;
|
|
335
|
+
active: string;
|
|
336
|
+
first: string;
|
|
337
|
+
}, any>;
|
|
338
|
+
animation?: DeepPartial<{
|
|
339
|
+
carousel: string;
|
|
340
|
+
'carousel-inverse': string;
|
|
341
|
+
swing: string;
|
|
342
|
+
elastic: string;
|
|
343
|
+
}, any>;
|
|
344
|
+
default?: DeepPartial<{
|
|
345
|
+
color: string;
|
|
346
|
+
size: string;
|
|
347
|
+
animation: string;
|
|
348
|
+
}, any>;
|
|
349
|
+
} & {
|
|
350
|
+
[key: string]: any;
|
|
351
|
+
} & {
|
|
352
|
+
strategy?: Strategy;
|
|
353
|
+
};
|
|
277
354
|
value: number;
|
|
278
|
-
|
|
279
|
-
}, {}>;
|
|
355
|
+
indicator: boolean;
|
|
356
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
280
357
|
export default _default;
|