vuetify 3.1.9 → 3.1.11
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/json/attributes.json +203 -27
- package/dist/json/importMap.json +92 -92
- package/dist/json/tags.json +46 -2
- package/dist/json/web-types.json +481 -49
- package/dist/vuetify-labs.css +167 -147
- package/dist/vuetify-labs.d.ts +56923 -14294
- package/dist/vuetify-labs.esm.js +136 -152
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +136 -152
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +76 -68
- package/dist/vuetify.d.ts +54804 -15357
- package/dist/vuetify.esm.js +133 -152
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +133 -152
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +667 -669
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +6 -9
- package/lib/blueprints/md1.d.ts +6 -9
- package/lib/blueprints/md2.d.ts +6 -9
- package/lib/blueprints/md3.d.ts +6 -9
- package/lib/blueprints/md3.mjs +6 -0
- package/lib/blueprints/md3.mjs.map +1 -1
- package/lib/components/VAlert/index.d.ts +509 -83
- package/lib/components/VApp/VApp.css +1 -0
- package/lib/components/VApp/VApp.sass +1 -0
- package/lib/components/VApp/index.d.ts +158 -20
- package/lib/components/VAppBar/VAppBar.mjs +2 -2
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +616 -110
- package/lib/components/VAutocomplete/VAutocomplete.mjs +2 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.ts +1656 -130
- package/lib/components/VAvatar/index.d.ts +205 -29
- package/lib/components/VBadge/index.d.ts +284 -42
- package/lib/components/VBanner/index.d.ts +478 -84
- package/lib/components/VBottomNavigation/index.d.ts +321 -40
- package/lib/components/VBreadcrumbs/index.d.ts +325 -45
- package/lib/components/VBtn/VBtn.css +0 -5
- package/lib/components/VBtn/VBtn.mjs +40 -39
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +0 -7
- package/lib/components/VBtn/_variables.scss +0 -2
- package/lib/components/VBtn/index.d.ts +452 -69
- package/lib/components/VBtnGroup/VBtnGroup.mjs +1 -7
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.d.ts +185 -26
- package/lib/components/VBtnToggle/VBtnToggle.mjs +2 -2
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +245 -35
- package/lib/components/VCard/index.d.ts +938 -172
- package/lib/components/VCarousel/index.d.ts +561 -123
- package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +1 -4
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.ts +831 -147
- package/lib/components/VChip/index.d.ts +473 -75
- package/lib/components/VChipGroup/index.d.ts +227 -32
- package/lib/components/VCode/index.d.ts +109 -16
- package/lib/components/VColorPicker/index.d.ts +284 -20
- package/lib/components/VCombobox/VCombobox.mjs +2 -2
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.ts +1668 -130
- package/lib/components/VCounter/index.d.ts +1894 -87
- package/lib/components/VDefaultsProvider/index.d.ts +131 -22
- package/lib/components/VDialog/VDialog.css +31 -24
- package/lib/components/VDialog/VDialog.mjs +2 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +19 -12
- package/lib/components/VDialog/index.d.ts +2362 -146
- package/lib/components/VDivider/index.d.ts +130 -23
- package/lib/components/VExpansionPanel/index.d.ts +719 -119
- package/lib/components/VField/index.d.ts +163 -21
- package/lib/components/VFileInput/index.d.ts +1038 -104
- package/lib/components/VFooter/index.d.ts +203 -28
- package/lib/components/VForm/index.d.ts +204 -23
- package/lib/components/VGrid/VCol.mjs +6 -5
- package/lib/components/VGrid/VCol.mjs.map +1 -1
- package/lib/components/VGrid/VRow.mjs +4 -4
- package/lib/components/VGrid/VRow.mjs.map +1 -1
- package/lib/components/VGrid/index.d.ts +733 -76
- package/lib/components/VHover/index.d.ts +182 -35
- package/lib/components/VIcon/index.d.ts +494 -50
- package/lib/components/VImg/index.d.ts +275 -46
- package/lib/components/VInput/index.d.ts +315 -53
- package/lib/components/VItemGroup/index.d.ts +308 -52
- package/lib/components/VKbd/VKbd.css +1 -0
- package/lib/components/VKbd/VKbd.sass +1 -0
- package/lib/components/VKbd/_variables.scss +1 -0
- package/lib/components/VKbd/index.d.ts +109 -16
- package/lib/components/VLabel/index.d.ts +113 -20
- package/lib/components/VLayout/index.d.ts +296 -41
- package/lib/components/VLazy/VLazy.mjs +4 -1
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/VLazy/index.d.ts +219 -30
- package/lib/components/VList/VListChildren.mjs +2 -2
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +1 -4
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +1 -1
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +1461 -223
- package/lib/components/VLocaleProvider/index.d.ts +121 -20
- package/lib/components/VMain/index.d.ts +118 -17
- package/lib/components/VMenu/VMenu.css +4 -4
- package/lib/components/VMenu/VMenu.mjs +2 -2
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.sass +1 -1
- package/lib/components/VMenu/index.d.ts +2368 -142
- package/lib/components/VMessages/index.d.ts +1921 -98
- package/lib/components/VNavigationDrawer/index.d.ts +379 -56
- package/lib/components/VOverlay/VOverlay.css +2 -2
- package/lib/components/VOverlay/VOverlay.mjs +1 -4
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.sass +1 -1
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VOverlay/index.d.ts +519 -85
- package/lib/components/VPagination/index.d.ts +502 -68
- package/lib/components/VParallax/VParallax.mjs +3 -3
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +141 -28
- package/lib/components/VProgressCircular/index.d.ts +186 -25
- package/lib/components/VProgressLinear/index.d.ts +319 -48
- package/lib/components/VRadio/index.d.ts +313 -57
- package/lib/components/VRadioGroup/VRadioGroup.mjs +4 -6
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.ts +463 -83
- package/lib/components/VRangeSlider/index.d.ts +528 -80
- package/lib/components/VRating/index.d.ts +305 -43
- package/lib/components/VResponsive/index.d.ts +142 -27
- package/lib/components/VSelect/VSelect.mjs +2 -2
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +3060 -328
- package/lib/components/VSelectionControl/VSelectionControl.mjs +1 -4
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +76 -4
- package/lib/components/VSelectionControlGroup/index.d.ts +242 -38
- package/lib/components/VSheet/VSheet.mjs +1 -7
- package/lib/components/VSheet/VSheet.mjs.map +1 -1
- package/lib/components/VSheet/index.d.ts +194 -31
- package/lib/components/VSlideGroup/index.d.ts +475 -83
- package/lib/components/VSlider/index.d.ts +521 -79
- package/lib/components/VSlider/slider.mjs +2 -5
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +2 -2
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.ts +1219 -81
- package/lib/components/VSwitch/VSwitch.mjs +2 -2
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/index.d.ts +498 -92
- package/lib/components/VSystemBar/index.d.ts +184 -27
- package/lib/components/VTable/index.d.ts +190 -35
- package/lib/components/VTabs/VTab.mjs +7 -23
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/VTabs.mjs +15 -23
- package/lib/components/VTabs/VTabs.mjs.map +1 -1
- package/lib/components/VTabs/index.d.ts +623 -71
- package/lib/components/VTextField/VTextField.mjs +8 -5
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +1404 -106
- package/lib/components/VTextarea/VTextarea.mjs +7 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +1014 -102
- package/lib/components/VThemeProvider/index.d.ts +124 -19
- package/lib/components/VTimeline/index.d.ts +441 -71
- package/lib/components/VToolbar/VToolbar.mjs +1 -4
- package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
- package/lib/components/VToolbar/index.d.ts +542 -93
- package/lib/components/VTooltip/VTooltip.css +3 -3
- package/lib/components/VTooltip/VTooltip.mjs +2 -2
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/VTooltip.sass +1 -1
- package/lib/components/VTooltip/index.d.ts +1263 -81
- package/lib/components/VValidation/index.d.ts +201 -30
- package/lib/components/VWindow/index.d.ts +527 -95
- package/lib/components/index.d.ts +55131 -15681
- package/lib/components/transitions/index.d.ts +2097 -308
- package/lib/composables/defaults.mjs +1 -1
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/display.mjs +2 -0
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/form.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.ts +31 -34
- package/lib/labs/VDataTable/VDataTable.css +12 -0
- package/lib/labs/VDataTable/VDataTable.sass +6 -0
- package/lib/labs/VDataTable/VDataTableRow.mjs +2 -0
- package/lib/labs/VDataTable/VDataTableRow.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableRows.mjs +1 -0
- package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +4176 -1016
- package/lib/labs/VVirtualScroll/index.d.ts +32 -1
- package/lib/labs/components.d.ts +4212 -1026
- package/lib/styles/main.css +4 -0
- package/lib/styles/settings/_utilities.scss +7 -0
- package/lib/util/animation.mjs +8 -1
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/defineComponent.mjs +12 -5
- package/lib/util/defineComponent.mjs.map +1 -1
- package/lib/util/helpers.mjs +4 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +3 -2
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { PropType, JSXComponent, ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, PropType, JSXComponent, ComputedRef, Ref } from 'vue';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
|
|
5
|
+
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): [yes: Partial<Pick<T, U>>, no: Omit<T, U>];
|
|
6
|
+
}
|
|
5
7
|
|
|
6
8
|
type EventProp<T = (...args: any[]) => any> = T | T[];
|
|
7
9
|
declare const EventProp: PropType<EventProp<(...args: any[]) => any>>;
|
|
8
10
|
|
|
11
|
+
type Density = null | 'default' | 'comfortable' | 'compact';
|
|
12
|
+
|
|
9
13
|
type ValidationResult = string | boolean;
|
|
10
14
|
type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
|
11
15
|
|
|
@@ -25,7 +29,228 @@ interface VInputSlot {
|
|
|
25
29
|
resetValidation: () => void;
|
|
26
30
|
validate: () => void;
|
|
27
31
|
}
|
|
28
|
-
declare const VInput:
|
|
32
|
+
declare const VInput: {
|
|
33
|
+
new (...args: any[]): {
|
|
34
|
+
$: vue.ComponentInternalInstance;
|
|
35
|
+
$data: {};
|
|
36
|
+
$props: Partial<{
|
|
37
|
+
error: boolean;
|
|
38
|
+
direction: "horizontal" | "vertical";
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
readonly: boolean;
|
|
41
|
+
messages: string | string[];
|
|
42
|
+
density: Density;
|
|
43
|
+
focused: boolean;
|
|
44
|
+
errorMessages: string | string[];
|
|
45
|
+
maxErrors: string | number;
|
|
46
|
+
rules: ValidationRule[];
|
|
47
|
+
}> & Omit<{
|
|
48
|
+
error: boolean;
|
|
49
|
+
direction: "horizontal" | "vertical";
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
readonly: boolean;
|
|
52
|
+
messages: string | string[];
|
|
53
|
+
density: Density;
|
|
54
|
+
focused: boolean;
|
|
55
|
+
errorMessages: string | string[];
|
|
56
|
+
maxErrors: string | number;
|
|
57
|
+
rules: ValidationRule[];
|
|
58
|
+
} & {
|
|
59
|
+
id?: string | undefined;
|
|
60
|
+
name?: string | undefined;
|
|
61
|
+
label?: string | undefined;
|
|
62
|
+
modelValue?: any;
|
|
63
|
+
prependIcon?: IconValue | undefined;
|
|
64
|
+
appendIcon?: IconValue | undefined;
|
|
65
|
+
'onClick:append'?: EventProp<(...args: any[]) => any> | undefined;
|
|
66
|
+
'onClick:prepend'?: EventProp<(...args: any[]) => any> | undefined;
|
|
67
|
+
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
68
|
+
validationValue?: any;
|
|
69
|
+
hideDetails?: boolean | "auto" | undefined;
|
|
70
|
+
} & {
|
|
71
|
+
$children?: {} | vue.VNodeChild | {
|
|
72
|
+
default?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
73
|
+
prepend?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
74
|
+
append?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
75
|
+
details?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
76
|
+
};
|
|
77
|
+
$slots?: {
|
|
78
|
+
default?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
79
|
+
prepend?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
80
|
+
append?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
81
|
+
details?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
'v-slots'?: {
|
|
84
|
+
default?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
85
|
+
prepend?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
86
|
+
append?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
87
|
+
details?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
} & {
|
|
90
|
+
"v-slot:default"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
91
|
+
"v-slot:prepend"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
92
|
+
"v-slot:append"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
93
|
+
"v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
94
|
+
} & {
|
|
95
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
96
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "error" | "direction" | "disabled" | "readonly" | "messages" | "density" | "focused" | "errorMessages" | "maxErrors" | "rules">;
|
|
97
|
+
$attrs: {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
};
|
|
100
|
+
$refs: {
|
|
101
|
+
[x: string]: unknown;
|
|
102
|
+
};
|
|
103
|
+
$slots: Readonly<{
|
|
104
|
+
[name: string]: vue.Slot | undefined;
|
|
105
|
+
}>;
|
|
106
|
+
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
107
|
+
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
108
|
+
$emit: (event: "update:modelValue", val: any) => void;
|
|
109
|
+
$el: any;
|
|
110
|
+
$options: vue.ComponentOptionsBase<{
|
|
111
|
+
error: boolean;
|
|
112
|
+
direction: "horizontal" | "vertical";
|
|
113
|
+
disabled: boolean;
|
|
114
|
+
readonly: boolean;
|
|
115
|
+
messages: string | string[];
|
|
116
|
+
density: Density;
|
|
117
|
+
focused: boolean;
|
|
118
|
+
errorMessages: string | string[];
|
|
119
|
+
maxErrors: string | number;
|
|
120
|
+
rules: ValidationRule[];
|
|
121
|
+
} & {
|
|
122
|
+
id?: string | undefined;
|
|
123
|
+
name?: string | undefined;
|
|
124
|
+
label?: string | undefined;
|
|
125
|
+
modelValue?: any;
|
|
126
|
+
prependIcon?: IconValue | undefined;
|
|
127
|
+
appendIcon?: IconValue | undefined;
|
|
128
|
+
'onClick:append'?: EventProp<(...args: any[]) => any> | undefined;
|
|
129
|
+
'onClick:prepend'?: EventProp<(...args: any[]) => any> | undefined;
|
|
130
|
+
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
131
|
+
validationValue?: any;
|
|
132
|
+
hideDetails?: boolean | "auto" | undefined;
|
|
133
|
+
} & {
|
|
134
|
+
$children?: {} | vue.VNodeChild | {
|
|
135
|
+
default?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
136
|
+
prepend?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
137
|
+
append?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
138
|
+
details?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
139
|
+
};
|
|
140
|
+
$slots?: {
|
|
141
|
+
default?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
142
|
+
prepend?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
143
|
+
append?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
144
|
+
details?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
'v-slots'?: {
|
|
147
|
+
default?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
148
|
+
prepend?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
149
|
+
append?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
150
|
+
details?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
151
|
+
} | undefined;
|
|
152
|
+
} & {
|
|
153
|
+
"v-slot:default"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
154
|
+
"v-slot:prepend"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
155
|
+
"v-slot:append"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
156
|
+
"v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
157
|
+
} & {
|
|
158
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
159
|
+
}, {
|
|
160
|
+
reset: () => void;
|
|
161
|
+
resetValidation: () => void;
|
|
162
|
+
validate: () => Promise<string[]>;
|
|
163
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
164
|
+
'update:modelValue': (val: any) => true;
|
|
165
|
+
}, string, {
|
|
166
|
+
error: boolean;
|
|
167
|
+
direction: "horizontal" | "vertical";
|
|
168
|
+
disabled: boolean;
|
|
169
|
+
readonly: boolean;
|
|
170
|
+
messages: string | string[];
|
|
171
|
+
density: Density;
|
|
172
|
+
focused: boolean;
|
|
173
|
+
errorMessages: string | string[];
|
|
174
|
+
maxErrors: string | number;
|
|
175
|
+
rules: ValidationRule[];
|
|
176
|
+
}, {}, string> & {
|
|
177
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
178
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
179
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
180
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
181
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
182
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
183
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
184
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
185
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
186
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
187
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
188
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
189
|
+
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
190
|
+
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
191
|
+
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
192
|
+
};
|
|
193
|
+
$forceUpdate: () => void;
|
|
194
|
+
$nextTick: typeof vue.nextTick;
|
|
195
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
|
|
196
|
+
} & {
|
|
197
|
+
error: boolean;
|
|
198
|
+
direction: "horizontal" | "vertical";
|
|
199
|
+
disabled: boolean;
|
|
200
|
+
readonly: boolean;
|
|
201
|
+
messages: string | string[];
|
|
202
|
+
density: Density;
|
|
203
|
+
focused: boolean;
|
|
204
|
+
errorMessages: string | string[];
|
|
205
|
+
maxErrors: string | number;
|
|
206
|
+
rules: ValidationRule[];
|
|
207
|
+
} & {
|
|
208
|
+
id?: string | undefined;
|
|
209
|
+
name?: string | undefined;
|
|
210
|
+
label?: string | undefined;
|
|
211
|
+
modelValue?: any;
|
|
212
|
+
prependIcon?: IconValue | undefined;
|
|
213
|
+
appendIcon?: IconValue | undefined;
|
|
214
|
+
'onClick:append'?: EventProp<(...args: any[]) => any> | undefined;
|
|
215
|
+
'onClick:prepend'?: EventProp<(...args: any[]) => any> | undefined;
|
|
216
|
+
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
217
|
+
validationValue?: any;
|
|
218
|
+
hideDetails?: boolean | "auto" | undefined;
|
|
219
|
+
} & {
|
|
220
|
+
$children?: {} | vue.VNodeChild | {
|
|
221
|
+
default?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
222
|
+
prepend?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
223
|
+
append?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
224
|
+
details?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
225
|
+
};
|
|
226
|
+
$slots?: {
|
|
227
|
+
default?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
228
|
+
prepend?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
229
|
+
append?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
230
|
+
details?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
'v-slots'?: {
|
|
233
|
+
default?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
234
|
+
prepend?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
235
|
+
append?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
236
|
+
details?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
} & {
|
|
239
|
+
"v-slot:default"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
240
|
+
"v-slot:prepend"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
241
|
+
"v-slot:append"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
242
|
+
"v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
243
|
+
} & {
|
|
244
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
245
|
+
} & vue.ShallowUnwrapRef<{
|
|
246
|
+
reset: () => void;
|
|
247
|
+
resetValidation: () => void;
|
|
248
|
+
validate: () => Promise<string[]>;
|
|
249
|
+
}> & {} & vue.ComponentCustomProperties & {};
|
|
250
|
+
__isFragment?: undefined;
|
|
251
|
+
__isTeleport?: undefined;
|
|
252
|
+
__isSuspense?: undefined;
|
|
253
|
+
} & vue.ComponentOptionsBase<{
|
|
29
254
|
error: boolean;
|
|
30
255
|
direction: "horizontal" | "vertical";
|
|
31
256
|
disabled: boolean;
|
|
@@ -72,13 +297,15 @@ declare const VInput: vue.DefineComponent<{
|
|
|
72
297
|
"v-slot:prepend"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
73
298
|
"v-slot:append"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
74
299
|
"v-slot:details"?: false | ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
300
|
+
} & {
|
|
301
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
75
302
|
}, {
|
|
76
303
|
reset: () => void;
|
|
77
304
|
resetValidation: () => void;
|
|
78
305
|
validate: () => Promise<string[]>;
|
|
79
306
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
80
307
|
'update:modelValue': (val: any) => true;
|
|
81
|
-
}, string,
|
|
308
|
+
}, string, {
|
|
82
309
|
error: boolean;
|
|
83
310
|
direction: "horizontal" | "vertical";
|
|
84
311
|
disabled: boolean;
|
|
@@ -89,56 +316,91 @@ declare const VInput: vue.DefineComponent<{
|
|
|
89
316
|
errorMessages: string | string[];
|
|
90
317
|
maxErrors: string | number;
|
|
91
318
|
rules: ValidationRule[];
|
|
92
|
-
} & {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
'onClick:append'?: EventProp<(...args: any[]) => any> | undefined;
|
|
100
|
-
'onClick:prepend'?: EventProp<(...args: any[]) => any> | undefined;
|
|
101
|
-
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
102
|
-
validationValue?: any;
|
|
103
|
-
hideDetails?: boolean | "auto" | undefined;
|
|
104
|
-
} & {
|
|
105
|
-
$children?: {} | vue.VNodeChild | {
|
|
106
|
-
default?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
107
|
-
prepend?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
108
|
-
append?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
109
|
-
details?: ((args_0: VInputSlot) => vue.VNodeChild) | undefined;
|
|
319
|
+
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
320
|
+
focused: BooleanConstructor;
|
|
321
|
+
disabled: BooleanConstructor;
|
|
322
|
+
error: BooleanConstructor;
|
|
323
|
+
errorMessages: {
|
|
324
|
+
type: PropType<string | string[]>;
|
|
325
|
+
default: () => never[];
|
|
110
326
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
327
|
+
maxErrors: {
|
|
328
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
329
|
+
default: number;
|
|
330
|
+
};
|
|
331
|
+
name: StringConstructor;
|
|
332
|
+
label: StringConstructor;
|
|
333
|
+
readonly: BooleanConstructor;
|
|
334
|
+
rules: {
|
|
335
|
+
type: PropType<ValidationRule[]>;
|
|
336
|
+
default: () => never[];
|
|
337
|
+
};
|
|
338
|
+
modelValue: null;
|
|
339
|
+
validateOn: PropType<"input" | "blur" | "submit" | undefined>;
|
|
340
|
+
validationValue: null;
|
|
341
|
+
density: {
|
|
342
|
+
type: PropType<Density>;
|
|
343
|
+
default: string;
|
|
344
|
+
validator: (v: any) => boolean;
|
|
345
|
+
};
|
|
346
|
+
id: StringConstructor;
|
|
347
|
+
appendIcon: PropType<IconValue>;
|
|
348
|
+
prependIcon: PropType<IconValue>;
|
|
349
|
+
hideDetails: PropType<boolean | "auto">;
|
|
350
|
+
messages: {
|
|
351
|
+
type: PropType<string | string[]>;
|
|
352
|
+
default: () => never[];
|
|
353
|
+
};
|
|
354
|
+
direction: {
|
|
355
|
+
type: PropType<"horizontal" | "vertical">;
|
|
356
|
+
default: string;
|
|
357
|
+
validator: (v: any) => boolean;
|
|
358
|
+
};
|
|
359
|
+
'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
|
|
360
|
+
'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
|
|
361
|
+
}, vue.ExtractPropTypes<{
|
|
362
|
+
focused: BooleanConstructor;
|
|
363
|
+
disabled: BooleanConstructor;
|
|
364
|
+
error: BooleanConstructor;
|
|
365
|
+
errorMessages: {
|
|
366
|
+
type: PropType<string | string[]>;
|
|
367
|
+
default: () => never[];
|
|
368
|
+
};
|
|
369
|
+
maxErrors: {
|
|
370
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
371
|
+
default: number;
|
|
372
|
+
};
|
|
373
|
+
name: StringConstructor;
|
|
374
|
+
label: StringConstructor;
|
|
375
|
+
readonly: BooleanConstructor;
|
|
376
|
+
rules: {
|
|
377
|
+
type: PropType<ValidationRule[]>;
|
|
378
|
+
default: () => never[];
|
|
379
|
+
};
|
|
380
|
+
modelValue: null;
|
|
381
|
+
validateOn: PropType<"input" | "blur" | "submit" | undefined>;
|
|
382
|
+
validationValue: null;
|
|
383
|
+
density: {
|
|
384
|
+
type: PropType<Density>;
|
|
385
|
+
default: string;
|
|
386
|
+
validator: (v: any) => boolean;
|
|
387
|
+
};
|
|
388
|
+
id: StringConstructor;
|
|
389
|
+
appendIcon: PropType<IconValue>;
|
|
390
|
+
prependIcon: PropType<IconValue>;
|
|
391
|
+
hideDetails: PropType<boolean | "auto">;
|
|
392
|
+
messages: {
|
|
393
|
+
type: PropType<string | string[]>;
|
|
394
|
+
default: () => never[];
|
|
395
|
+
};
|
|
396
|
+
direction: {
|
|
397
|
+
type: PropType<"horizontal" | "vertical">;
|
|
398
|
+
default: string;
|
|
399
|
+
validator: (v: any) => boolean;
|
|
400
|
+
};
|
|
401
|
+
'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
|
|
402
|
+
'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
|
|
403
|
+
}>>;
|
|
142
404
|
type VInput = InstanceType<typeof VInput>;
|
|
143
405
|
|
|
144
406
|
export { VInput };
|