vuetify 3.5.12 → 3.5.14
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 +160 -160
- package/dist/json/importMap-labs.json +10 -10
- package/dist/json/importMap.json +124 -124
- package/dist/json/web-types.json +161 -161
- package/dist/vuetify-labs.css +2164 -2150
- package/dist/vuetify-labs.d.ts +993 -845
- package/dist/vuetify-labs.esm.js +91 -23
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +91 -23
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +745 -736
- package/dist/vuetify.d.ts +789 -669
- package/dist/vuetify.esm.js +86 -18
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +86 -18
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +122 -120
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +2 -0
- package/lib/blueprints/md1.d.mts +2 -0
- package/lib/blueprints/md2.d.mts +2 -0
- package/lib/blueprints/md3.d.mts +2 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +6 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +34 -28
- package/lib/components/VBtn/VBtn.mjs +2 -0
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VChip/VChip.mjs +1 -0
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +6 -0
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +34 -28
- package/lib/components/VDataTable/VDataTableServer.mjs +3 -2
- package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs +9 -2
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VField/VField.mjs +29 -3
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/index.d.mts +9 -3
- package/lib/components/VFileInput/VFileInput.mjs +2 -2
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.mts +51 -23
- package/lib/components/VList/VListItem.css +3 -0
- package/lib/components/VList/VListItem.sass +4 -0
- package/lib/components/VOtpInput/VOtpInput.mjs +1 -1
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.mjs +4 -3
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +6 -0
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +34 -28
- package/lib/components/VSwitch/VSwitch.css +6 -0
- package/lib/components/VSwitch/VSwitch.sass +7 -0
- package/lib/components/VSwitch/_variables.scss +1 -0
- package/lib/components/VTextField/index.d.mts +88 -46
- package/lib/components/VTextarea/index.d.mts +54 -26
- package/lib/components/index.d.mts +764 -650
- package/lib/composables/date/DateAdapter.mjs.map +1 -1
- package/lib/composables/date/adapters/vuetify.mjs +14 -0
- package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
- package/lib/composables/router.mjs +2 -2
- package/lib/composables/router.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +44 -38
- package/lib/labs/VEmptyState/VEmptyState.css +4 -0
- package/lib/labs/VEmptyState/VEmptyState.mjs +6 -1
- package/lib/labs/VEmptyState/VEmptyState.mjs.map +1 -1
- package/lib/labs/VEmptyState/VEmptyState.sass +4 -0
- package/lib/labs/VEmptyState/_variables.scss +1 -0
- package/lib/labs/VNumberInput/VNumberInput.css +1 -0
- package/lib/labs/VNumberInput/VNumberInput.mjs +0 -4
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/VNumberInput.sass +1 -0
- package/lib/labs/VNumberInput/index.d.mts +51 -23
- package/lib/labs/components.d.mts +50 -22
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, JSXComponent, PropType,
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, JSXComponent, PropType, ComputedRef, Ref, nextTick } from 'vue';
|
|
3
3
|
|
|
4
4
|
type SlotsToProps<U extends RawSlots, T = MakeInternalSlots<U>> = {
|
|
5
5
|
$children?: (VNodeChild | (T extends {
|
|
@@ -35,36 +35,14 @@ interface LoaderSlotProps {
|
|
|
35
35
|
isActive: boolean;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
39
|
-
declare const IconValue: PropType<IconValue>;
|
|
40
|
-
|
|
41
|
-
interface DefaultInputSlot {
|
|
42
|
-
isActive: Ref<boolean>;
|
|
43
|
-
isFocused: Ref<boolean>;
|
|
44
|
-
controlRef: Ref<HTMLElement | undefined>;
|
|
45
|
-
focus: () => void;
|
|
46
|
-
blur: () => void;
|
|
47
|
-
}
|
|
48
|
-
interface VFieldSlot extends DefaultInputSlot {
|
|
49
|
-
props: Record<string, unknown>;
|
|
50
|
-
}
|
|
51
|
-
type VFieldSlots = {
|
|
52
|
-
clear: never;
|
|
53
|
-
'prepend-inner': DefaultInputSlot;
|
|
54
|
-
'append-inner': DefaultInputSlot;
|
|
55
|
-
label: DefaultInputSlot & {
|
|
56
|
-
label: string | undefined;
|
|
57
|
-
props: Record<string, any>;
|
|
58
|
-
};
|
|
59
|
-
loader: LoaderSlotProps;
|
|
60
|
-
default: VFieldSlot;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
38
|
type Density = null | 'default' | 'comfortable' | 'compact';
|
|
64
39
|
|
|
65
40
|
type ValidationResult = string | boolean;
|
|
66
41
|
type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
|
67
42
|
|
|
43
|
+
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
44
|
+
declare const IconValue: PropType<IconValue>;
|
|
45
|
+
|
|
68
46
|
type VMessageSlot = {
|
|
69
47
|
message: string;
|
|
70
48
|
};
|
|
@@ -90,6 +68,30 @@ type VInputSlots = {
|
|
|
90
68
|
message: VMessageSlot;
|
|
91
69
|
};
|
|
92
70
|
|
|
71
|
+
interface DefaultInputSlot {
|
|
72
|
+
isActive: Ref<boolean>;
|
|
73
|
+
isFocused: Ref<boolean>;
|
|
74
|
+
controlRef: Ref<HTMLElement | undefined>;
|
|
75
|
+
focus: () => void;
|
|
76
|
+
blur: () => void;
|
|
77
|
+
}
|
|
78
|
+
interface VFieldSlot extends DefaultInputSlot {
|
|
79
|
+
props: Record<string, unknown>;
|
|
80
|
+
}
|
|
81
|
+
type VFieldSlots = {
|
|
82
|
+
clear: DefaultInputSlot & {
|
|
83
|
+
props: Record<string, any>;
|
|
84
|
+
};
|
|
85
|
+
'prepend-inner': DefaultInputSlot;
|
|
86
|
+
'append-inner': DefaultInputSlot;
|
|
87
|
+
label: DefaultInputSlot & {
|
|
88
|
+
label: string | undefined;
|
|
89
|
+
props: Record<string, any>;
|
|
90
|
+
};
|
|
91
|
+
loader: LoaderSlotProps;
|
|
92
|
+
default: VFieldSlot;
|
|
93
|
+
};
|
|
94
|
+
|
|
93
95
|
type VCounterSlot = {
|
|
94
96
|
counter: string;
|
|
95
97
|
max: string | number | undefined;
|
|
@@ -162,7 +164,9 @@ declare const VTextField: {
|
|
|
162
164
|
} & {
|
|
163
165
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
164
166
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
165
|
-
clear?: ((
|
|
167
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
168
|
+
props: Record<string, any>;
|
|
169
|
+
}) => vue.VNodeChild) | undefined;
|
|
166
170
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
167
171
|
label?: ((arg: DefaultInputSlot & {
|
|
168
172
|
label: string | undefined;
|
|
@@ -178,7 +182,9 @@ declare const VTextField: {
|
|
|
178
182
|
};
|
|
179
183
|
'v-slots'?: {
|
|
180
184
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
181
|
-
clear?: false | ((
|
|
185
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
186
|
+
props: Record<string, any>;
|
|
187
|
+
}) => vue.VNodeChild) | undefined;
|
|
182
188
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
183
189
|
label?: false | ((arg: DefaultInputSlot & {
|
|
184
190
|
label: string | undefined;
|
|
@@ -194,7 +200,9 @@ declare const VTextField: {
|
|
|
194
200
|
} | undefined;
|
|
195
201
|
} & {
|
|
196
202
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
197
|
-
"v-slot:clear"?: false | ((
|
|
203
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
204
|
+
props: Record<string, any>;
|
|
205
|
+
}) => vue.VNodeChild) | undefined;
|
|
198
206
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
199
207
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
200
208
|
label: string | undefined;
|
|
@@ -534,7 +542,9 @@ declare const VTextField: {
|
|
|
534
542
|
[x: string]: unknown;
|
|
535
543
|
};
|
|
536
544
|
$slots: Readonly<{
|
|
537
|
-
clear?: ((
|
|
545
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
546
|
+
props: Record<string, any>;
|
|
547
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
538
548
|
[key: string]: any;
|
|
539
549
|
}>[]) | undefined;
|
|
540
550
|
'prepend-inner'?: ((arg: DefaultInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -617,7 +627,9 @@ declare const VTextField: {
|
|
|
617
627
|
persistentClear: boolean;
|
|
618
628
|
singleLine: boolean;
|
|
619
629
|
}, {}, string, vue.SlotsType<Partial<{
|
|
620
|
-
clear: (
|
|
630
|
+
clear: (arg: DefaultInputSlot & {
|
|
631
|
+
props: Record<string, any>;
|
|
632
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
621
633
|
[key: string]: any;
|
|
622
634
|
}>[];
|
|
623
635
|
'prepend-inner': (arg: DefaultInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -767,7 +779,9 @@ declare const VTextField: {
|
|
|
767
779
|
} & {
|
|
768
780
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
769
781
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
770
|
-
clear?: ((
|
|
782
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
783
|
+
props: Record<string, any>;
|
|
784
|
+
}) => vue.VNodeChild) | undefined;
|
|
771
785
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
772
786
|
label?: ((arg: DefaultInputSlot & {
|
|
773
787
|
label: string | undefined;
|
|
@@ -783,7 +797,9 @@ declare const VTextField: {
|
|
|
783
797
|
};
|
|
784
798
|
'v-slots'?: {
|
|
785
799
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
786
|
-
clear?: false | ((
|
|
800
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
801
|
+
props: Record<string, any>;
|
|
802
|
+
}) => vue.VNodeChild) | undefined;
|
|
787
803
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
788
804
|
label?: false | ((arg: DefaultInputSlot & {
|
|
789
805
|
label: string | undefined;
|
|
@@ -799,7 +815,9 @@ declare const VTextField: {
|
|
|
799
815
|
} | undefined;
|
|
800
816
|
} & {
|
|
801
817
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
802
|
-
"v-slot:clear"?: false | ((
|
|
818
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
819
|
+
props: Record<string, any>;
|
|
820
|
+
}) => vue.VNodeChild) | undefined;
|
|
803
821
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
804
822
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
805
823
|
label: string | undefined;
|
|
@@ -851,7 +869,9 @@ declare const VTextField: {
|
|
|
851
869
|
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
852
870
|
[key: string]: any;
|
|
853
871
|
}>[];
|
|
854
|
-
clear: (
|
|
872
|
+
clear: (arg: DefaultInputSlot & {
|
|
873
|
+
props: Record<string, any>;
|
|
874
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
855
875
|
[key: string]: any;
|
|
856
876
|
}>[];
|
|
857
877
|
details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -956,7 +976,9 @@ declare const VTextField: {
|
|
|
956
976
|
} & {
|
|
957
977
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
958
978
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
959
|
-
clear?: ((
|
|
979
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
980
|
+
props: Record<string, any>;
|
|
981
|
+
}) => vue.VNodeChild) | undefined;
|
|
960
982
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
961
983
|
label?: ((arg: DefaultInputSlot & {
|
|
962
984
|
label: string | undefined;
|
|
@@ -972,7 +994,9 @@ declare const VTextField: {
|
|
|
972
994
|
};
|
|
973
995
|
'v-slots'?: {
|
|
974
996
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
975
|
-
clear?: false | ((
|
|
997
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
998
|
+
props: Record<string, any>;
|
|
999
|
+
}) => vue.VNodeChild) | undefined;
|
|
976
1000
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
977
1001
|
label?: false | ((arg: DefaultInputSlot & {
|
|
978
1002
|
label: string | undefined;
|
|
@@ -988,7 +1012,9 @@ declare const VTextField: {
|
|
|
988
1012
|
} | undefined;
|
|
989
1013
|
} & {
|
|
990
1014
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
991
|
-
"v-slot:clear"?: false | ((
|
|
1015
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
1016
|
+
props: Record<string, any>;
|
|
1017
|
+
}) => vue.VNodeChild) | undefined;
|
|
992
1018
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
993
1019
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
994
1020
|
label: string | undefined;
|
|
@@ -1328,7 +1354,9 @@ declare const VTextField: {
|
|
|
1328
1354
|
[x: string]: unknown;
|
|
1329
1355
|
};
|
|
1330
1356
|
$slots: Readonly<{
|
|
1331
|
-
clear?: ((
|
|
1357
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
1358
|
+
props: Record<string, any>;
|
|
1359
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1332
1360
|
[key: string]: any;
|
|
1333
1361
|
}>[]) | undefined;
|
|
1334
1362
|
'prepend-inner'?: ((arg: DefaultInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -1411,7 +1439,9 @@ declare const VTextField: {
|
|
|
1411
1439
|
persistentClear: boolean;
|
|
1412
1440
|
singleLine: boolean;
|
|
1413
1441
|
}, {}, string, vue.SlotsType<Partial<{
|
|
1414
|
-
clear: (
|
|
1442
|
+
clear: (arg: DefaultInputSlot & {
|
|
1443
|
+
props: Record<string, any>;
|
|
1444
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1415
1445
|
[key: string]: any;
|
|
1416
1446
|
}>[];
|
|
1417
1447
|
'prepend-inner': (arg: DefaultInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -1590,7 +1620,9 @@ declare const VTextField: {
|
|
|
1590
1620
|
} & {
|
|
1591
1621
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
1592
1622
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
1593
|
-
clear?: ((
|
|
1623
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
1624
|
+
props: Record<string, any>;
|
|
1625
|
+
}) => vue.VNodeChild) | undefined;
|
|
1594
1626
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
1595
1627
|
label?: ((arg: DefaultInputSlot & {
|
|
1596
1628
|
label: string | undefined;
|
|
@@ -1606,7 +1638,9 @@ declare const VTextField: {
|
|
|
1606
1638
|
};
|
|
1607
1639
|
'v-slots'?: {
|
|
1608
1640
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
1609
|
-
clear?: false | ((
|
|
1641
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
1642
|
+
props: Record<string, any>;
|
|
1643
|
+
}) => vue.VNodeChild) | undefined;
|
|
1610
1644
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
1611
1645
|
label?: false | ((arg: DefaultInputSlot & {
|
|
1612
1646
|
label: string | undefined;
|
|
@@ -1622,7 +1656,9 @@ declare const VTextField: {
|
|
|
1622
1656
|
} | undefined;
|
|
1623
1657
|
} & {
|
|
1624
1658
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
1625
|
-
"v-slot:clear"?: false | ((
|
|
1659
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
1660
|
+
props: Record<string, any>;
|
|
1661
|
+
}) => vue.VNodeChild) | undefined;
|
|
1626
1662
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
1627
1663
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
1628
1664
|
label: string | undefined;
|
|
@@ -1962,7 +1998,9 @@ declare const VTextField: {
|
|
|
1962
1998
|
[x: string]: unknown;
|
|
1963
1999
|
};
|
|
1964
2000
|
$slots: Readonly<{
|
|
1965
|
-
clear?: ((
|
|
2001
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
2002
|
+
props: Record<string, any>;
|
|
2003
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1966
2004
|
[key: string]: any;
|
|
1967
2005
|
}>[]) | undefined;
|
|
1968
2006
|
'prepend-inner'?: ((arg: DefaultInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -2045,7 +2083,9 @@ declare const VTextField: {
|
|
|
2045
2083
|
persistentClear: boolean;
|
|
2046
2084
|
singleLine: boolean;
|
|
2047
2085
|
}, {}, string, vue.SlotsType<Partial<{
|
|
2048
|
-
clear: (
|
|
2086
|
+
clear: (arg: DefaultInputSlot & {
|
|
2087
|
+
props: Record<string, any>;
|
|
2088
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2049
2089
|
[key: string]: any;
|
|
2050
2090
|
}>[];
|
|
2051
2091
|
'prepend-inner': (arg: DefaultInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -2164,7 +2204,9 @@ declare const VTextField: {
|
|
|
2164
2204
|
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2165
2205
|
[key: string]: any;
|
|
2166
2206
|
}>[];
|
|
2167
|
-
clear: (
|
|
2207
|
+
clear: (arg: DefaultInputSlot & {
|
|
2208
|
+
props: Record<string, any>;
|
|
2209
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2168
2210
|
[key: string]: any;
|
|
2169
2211
|
}>[];
|
|
2170
2212
|
details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, JSXComponent, PropType,
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, JSXComponent, PropType, ComputedRef, Ref, nextTick } from 'vue';
|
|
3
3
|
|
|
4
4
|
type SlotsToProps<U extends RawSlots, T = MakeInternalSlots<U>> = {
|
|
5
5
|
$children?: (VNodeChild | (T extends {
|
|
@@ -35,22 +35,14 @@ interface LoaderSlotProps {
|
|
|
35
35
|
isActive: boolean;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
39
|
-
declare const IconValue: PropType<IconValue>;
|
|
40
|
-
|
|
41
|
-
interface DefaultInputSlot {
|
|
42
|
-
isActive: Ref<boolean>;
|
|
43
|
-
isFocused: Ref<boolean>;
|
|
44
|
-
controlRef: Ref<HTMLElement | undefined>;
|
|
45
|
-
focus: () => void;
|
|
46
|
-
blur: () => void;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
38
|
type Density = null | 'default' | 'comfortable' | 'compact';
|
|
50
39
|
|
|
51
40
|
type ValidationResult = string | boolean;
|
|
52
41
|
type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
|
53
42
|
|
|
43
|
+
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
44
|
+
declare const IconValue: PropType<IconValue>;
|
|
45
|
+
|
|
54
46
|
type VMessageSlot = {
|
|
55
47
|
message: string;
|
|
56
48
|
};
|
|
@@ -76,6 +68,14 @@ type VInputSlots = {
|
|
|
76
68
|
message: VMessageSlot;
|
|
77
69
|
};
|
|
78
70
|
|
|
71
|
+
interface DefaultInputSlot {
|
|
72
|
+
isActive: Ref<boolean>;
|
|
73
|
+
isFocused: Ref<boolean>;
|
|
74
|
+
controlRef: Ref<HTMLElement | undefined>;
|
|
75
|
+
focus: () => void;
|
|
76
|
+
blur: () => void;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
79
|
type VCounterSlot = {
|
|
80
80
|
counter: string;
|
|
81
81
|
max: string | number | undefined;
|
|
@@ -150,7 +150,9 @@ declare const VTextarea: {
|
|
|
150
150
|
} & {
|
|
151
151
|
$children?: {} | vue.VNodeChild | {
|
|
152
152
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
153
|
-
clear?: ((
|
|
153
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
154
|
+
props: Record<string, any>;
|
|
155
|
+
}) => vue.VNodeChild) | undefined;
|
|
154
156
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
155
157
|
label?: ((arg: DefaultInputSlot & {
|
|
156
158
|
label: string | undefined;
|
|
@@ -165,7 +167,9 @@ declare const VTextarea: {
|
|
|
165
167
|
};
|
|
166
168
|
'v-slots'?: {
|
|
167
169
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
168
|
-
clear?: false | ((
|
|
170
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
171
|
+
props: Record<string, any>;
|
|
172
|
+
}) => vue.VNodeChild) | undefined;
|
|
169
173
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
170
174
|
label?: false | ((arg: DefaultInputSlot & {
|
|
171
175
|
label: string | undefined;
|
|
@@ -180,7 +184,9 @@ declare const VTextarea: {
|
|
|
180
184
|
} | undefined;
|
|
181
185
|
} & {
|
|
182
186
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
183
|
-
"v-slot:clear"?: false | ((
|
|
187
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
188
|
+
props: Record<string, any>;
|
|
189
|
+
}) => vue.VNodeChild) | undefined;
|
|
184
190
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
185
191
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
186
192
|
label: string | undefined;
|
|
@@ -498,7 +504,9 @@ declare const VTextarea: {
|
|
|
498
504
|
} & {
|
|
499
505
|
$children?: {} | vue.VNodeChild | {
|
|
500
506
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
501
|
-
clear?: ((
|
|
507
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
508
|
+
props: Record<string, any>;
|
|
509
|
+
}) => vue.VNodeChild) | undefined;
|
|
502
510
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
503
511
|
label?: ((arg: DefaultInputSlot & {
|
|
504
512
|
label: string | undefined;
|
|
@@ -513,7 +521,9 @@ declare const VTextarea: {
|
|
|
513
521
|
};
|
|
514
522
|
'v-slots'?: {
|
|
515
523
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
516
|
-
clear?: false | ((
|
|
524
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
525
|
+
props: Record<string, any>;
|
|
526
|
+
}) => vue.VNodeChild) | undefined;
|
|
517
527
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
518
528
|
label?: false | ((arg: DefaultInputSlot & {
|
|
519
529
|
label: string | undefined;
|
|
@@ -528,7 +538,9 @@ declare const VTextarea: {
|
|
|
528
538
|
} | undefined;
|
|
529
539
|
} & {
|
|
530
540
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
531
|
-
"v-slot:clear"?: false | ((
|
|
541
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
542
|
+
props: Record<string, any>;
|
|
543
|
+
}) => vue.VNodeChild) | undefined;
|
|
532
544
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
533
545
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
534
546
|
label: string | undefined;
|
|
@@ -581,7 +593,9 @@ declare const VTextarea: {
|
|
|
581
593
|
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
582
594
|
[key: string]: any;
|
|
583
595
|
}>[];
|
|
584
|
-
clear: (
|
|
596
|
+
clear: (arg: DefaultInputSlot & {
|
|
597
|
+
props: Record<string, any>;
|
|
598
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
585
599
|
[key: string]: any;
|
|
586
600
|
}>[];
|
|
587
601
|
details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -685,7 +699,9 @@ declare const VTextarea: {
|
|
|
685
699
|
} & {
|
|
686
700
|
$children?: {} | vue.VNodeChild | {
|
|
687
701
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
688
|
-
clear?: ((
|
|
702
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
703
|
+
props: Record<string, any>;
|
|
704
|
+
}) => vue.VNodeChild) | undefined;
|
|
689
705
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
690
706
|
label?: ((arg: DefaultInputSlot & {
|
|
691
707
|
label: string | undefined;
|
|
@@ -700,7 +716,9 @@ declare const VTextarea: {
|
|
|
700
716
|
};
|
|
701
717
|
'v-slots'?: {
|
|
702
718
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
703
|
-
clear?: false | ((
|
|
719
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
720
|
+
props: Record<string, any>;
|
|
721
|
+
}) => vue.VNodeChild) | undefined;
|
|
704
722
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
705
723
|
label?: false | ((arg: DefaultInputSlot & {
|
|
706
724
|
label: string | undefined;
|
|
@@ -715,7 +733,9 @@ declare const VTextarea: {
|
|
|
715
733
|
} | undefined;
|
|
716
734
|
} & {
|
|
717
735
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
718
|
-
"v-slot:clear"?: false | ((
|
|
736
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
737
|
+
props: Record<string, any>;
|
|
738
|
+
}) => vue.VNodeChild) | undefined;
|
|
719
739
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
720
740
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
721
741
|
label: string | undefined;
|
|
@@ -1064,7 +1084,9 @@ declare const VTextarea: {
|
|
|
1064
1084
|
} & {
|
|
1065
1085
|
$children?: {} | vue.VNodeChild | {
|
|
1066
1086
|
message?: ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
1067
|
-
clear?: ((
|
|
1087
|
+
clear?: ((arg: DefaultInputSlot & {
|
|
1088
|
+
props: Record<string, any>;
|
|
1089
|
+
}) => vue.VNodeChild) | undefined;
|
|
1068
1090
|
details?: ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
1069
1091
|
label?: ((arg: DefaultInputSlot & {
|
|
1070
1092
|
label: string | undefined;
|
|
@@ -1079,7 +1101,9 @@ declare const VTextarea: {
|
|
|
1079
1101
|
};
|
|
1080
1102
|
'v-slots'?: {
|
|
1081
1103
|
message?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
1082
|
-
clear?: false | ((
|
|
1104
|
+
clear?: false | ((arg: DefaultInputSlot & {
|
|
1105
|
+
props: Record<string, any>;
|
|
1106
|
+
}) => vue.VNodeChild) | undefined;
|
|
1083
1107
|
details?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
1084
1108
|
label?: false | ((arg: DefaultInputSlot & {
|
|
1085
1109
|
label: string | undefined;
|
|
@@ -1094,7 +1118,9 @@ declare const VTextarea: {
|
|
|
1094
1118
|
} | undefined;
|
|
1095
1119
|
} & {
|
|
1096
1120
|
"v-slot:message"?: false | ((arg: VMessageSlot) => vue.VNodeChild) | undefined;
|
|
1097
|
-
"v-slot:clear"?: false | ((
|
|
1121
|
+
"v-slot:clear"?: false | ((arg: DefaultInputSlot & {
|
|
1122
|
+
props: Record<string, any>;
|
|
1123
|
+
}) => vue.VNodeChild) | undefined;
|
|
1098
1124
|
"v-slot:details"?: false | ((arg: VInputSlot) => vue.VNodeChild) | undefined;
|
|
1099
1125
|
"v-slot:label"?: false | ((arg: DefaultInputSlot & {
|
|
1100
1126
|
label: string | undefined;
|
|
@@ -1381,7 +1407,9 @@ declare const VTextarea: {
|
|
|
1381
1407
|
message: (arg: VMessageSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1382
1408
|
[key: string]: any;
|
|
1383
1409
|
}>[];
|
|
1384
|
-
clear: (
|
|
1410
|
+
clear: (arg: DefaultInputSlot & {
|
|
1411
|
+
props: Record<string, any>;
|
|
1412
|
+
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1385
1413
|
[key: string]: any;
|
|
1386
1414
|
}>[];
|
|
1387
1415
|
details: (arg: VInputSlot) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|