@vuetify/nightly 3.0.0-beta.10 → 3.0.0-beta.13
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/CHANGELOG.md +13 -2
- package/dist/json/attributes.json +37 -29
- package/dist/json/importMap.json +46 -46
- package/dist/json/tags.json +10 -8
- package/dist/json/web-types.json +101 -87
- package/dist/vuetify.css +545 -441
- package/dist/vuetify.d.ts +12095 -10059
- package/dist/vuetify.esm.js +401 -266
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +371 -236
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +3 -3
- package/dist/vuetify.min.js +496 -490
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.ts +171 -0
- package/lib/blueprints/md1.d.ts +167 -0
- package/lib/blueprints/md2.d.ts +167 -0
- package/lib/blueprints/md3.d.ts +167 -0
- package/lib/components/VAlert/index.d.ts +185 -0
- package/lib/components/VApp/index.d.ts +83 -0
- package/lib/components/VAppBar/VAppBar.css +3 -0
- package/lib/components/VAppBar/VAppBar.sass +3 -0
- package/lib/components/VAppBar/index.d.ts +156 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.ts +1569 -0
- package/lib/components/VAvatar/VAvatar.css +44 -2
- package/lib/components/VAvatar/VAvatar.mjs +16 -12
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +5 -1
- package/lib/components/VAvatar/_variables.scss +9 -4
- package/lib/components/VAvatar/index.d.ts +80 -0
- package/lib/components/VBadge/index.d.ts +123 -0
- package/lib/components/VBanner/index.d.ts +122 -0
- package/lib/components/VBottomNavigation/index.d.ts +143 -0
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +2 -2
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.ts +301 -0
- package/lib/components/VBtn/VBtn.css +8 -3
- package/lib/components/VBtn/VBtn.mjs +16 -6
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.ts +210 -0
- package/lib/components/VBtnGroup/index.d.ts +65 -0
- package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -3
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +175 -0
- package/lib/components/VCard/VCard.css +8 -3
- package/lib/components/VCard/index.d.ts +230 -0
- package/lib/components/VCarousel/VCarousel.mjs +3 -3
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.ts +80 -0
- package/lib/components/VCheckbox/index.d.ts +291 -0
- package/lib/components/VChip/index.d.ts +195 -0
- package/lib/components/VChipGroup/index.d.ts +89 -0
- package/lib/components/VCode/index.d.ts +19 -0
- package/lib/components/VColorPicker/index.d.ts +116 -0
- package/lib/components/VCombobox/VCombobox.mjs +1 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.ts +1590 -0
- package/lib/components/VCounter/index.d.ts +223 -0
- package/lib/components/VDefaultsProvider/index.d.ts +26 -0
- package/lib/components/VDialog/VDialog.css +2 -0
- package/lib/components/VDialog/VDialog.mjs +17 -12
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +2 -0
- package/lib/components/VDialog/index.d.ts +859 -0
- package/lib/components/VDivider/index.d.ts +22 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.css +8 -3
- package/lib/components/VExpansionPanel/index.d.ts +206 -0
- package/lib/components/VField/VField.css +27 -24
- package/lib/components/VField/VField.mjs +1 -1
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +23 -21
- package/lib/components/VField/index.d.ts +332 -0
- package/lib/components/VFileInput/VFileInput.mjs +3 -3
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.ts +236 -0
- package/lib/components/VFooter/VFooter.css +7 -0
- package/lib/components/VFooter/VFooter.sass +1 -1
- package/lib/components/VFooter/_variables.scss +11 -0
- package/lib/components/VFooter/index.d.ts +76 -0
- package/lib/components/VForm/index.d.ts +72 -0
- package/lib/components/VGrid/index.d.ts +154 -0
- package/lib/components/VHover/index.d.ts +30 -0
- package/lib/components/VIcon/index.d.ts +124 -0
- package/lib/components/VImg/VImg.mjs +29 -27
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.ts +89 -0
- package/lib/components/VInput/VInput.mjs +4 -4
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/index.d.ts +325 -0
- package/lib/components/VItemGroup/index.d.ts +210 -0
- package/lib/components/VKbd/index.d.ts +19 -0
- package/lib/components/VLabel/VLabel.css +4 -1
- package/lib/components/VLabel/VLabel.mjs +4 -1
- package/lib/components/VLabel/VLabel.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.sass +3 -1
- package/lib/components/VLabel/index.d.ts +16 -0
- package/lib/components/VLayout/index.d.ts +75 -0
- package/lib/components/VLazy/index.d.ts +85 -0
- package/lib/components/VList/VListItem.css +8 -3
- package/lib/components/VList/VListItem.mjs +4 -4
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.ts +1250 -0
- package/lib/components/VLocaleProvider/index.d.ts +23 -0
- package/lib/components/VMain/index.d.ts +26 -0
- package/lib/components/VMenu/VMenu.mjs +16 -3
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.ts +817 -0
- package/lib/components/VMessages/index.d.ts +234 -0
- package/lib/components/VNavigationDrawer/index.d.ts +148 -0
- package/lib/components/VNoSsr/index.d.ts +7 -0
- package/lib/components/VOverlay/VOverlay.mjs +4 -3
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.ts +579 -0
- package/lib/components/VOverlay/useActivator.mjs +27 -1
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +6 -3
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VPagination/index.d.ts +247 -0
- package/lib/components/VParallax/VParallax.mjs +24 -10
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VParallax/index.d.ts +18 -0
- package/lib/components/VProgressCircular/index.d.ts +68 -0
- package/lib/components/VProgressLinear/index.d.ts +101 -0
- package/lib/components/VRadio/index.d.ts +103 -0
- package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -1
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
- package/lib/components/VRadioGroup/_variables.scss +0 -1
- package/lib/components/VRadioGroup/index.d.ts +186 -0
- package/lib/components/VRangeSlider/VRangeSlider.mjs +12 -2
- package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
- package/lib/components/VRangeSlider/index.d.ts +242 -0
- package/lib/components/VRating/index.d.ts +356 -0
- package/lib/components/VResponsive/index.d.ts +23 -0
- package/lib/components/VSelect/VSelect.mjs +1 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.ts +1521 -0
- package/lib/components/VSelectionControl/VSelectionControl.mjs +2 -1
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.ts +275 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +5 -0
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +5 -0
- package/lib/components/VSelectionControlGroup/index.d.ts +47 -0
- package/lib/components/VSheet/index.d.ts +68 -0
- package/lib/components/VSlideGroup/index.d.ts +151 -0
- package/lib/components/VSlider/VSlider.css +7 -2
- package/lib/components/VSlider/VSlider.mjs +14 -4
- package/lib/components/VSlider/VSlider.mjs.map +1 -1
- package/lib/components/VSlider/VSlider.sass +6 -2
- package/lib/components/VSlider/VSliderTrack.css +20 -20
- package/lib/components/VSlider/VSliderTrack.mjs +7 -3
- package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
- package/lib/components/VSlider/VSliderTrack.sass +14 -14
- package/lib/components/VSlider/_variables.scss +2 -2
- package/lib/components/VSlider/index.d.ts +239 -0
- package/lib/components/VSlider/slider.mjs +2 -2
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.mjs +3 -2
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.ts +892 -0
- package/lib/components/VSwitch/index.d.ts +175 -0
- package/lib/components/VSystemBar/index.d.ts +61 -0
- package/lib/components/VTable/index.d.ts +39 -0
- package/lib/components/VTabs/VTab.mjs +1 -0
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTabs/index.d.ts +178 -0
- package/lib/components/VTextField/VTextField.css +2 -3
- package/lib/components/VTextField/VTextField.sass +2 -4
- package/lib/components/VTextField/index.d.ts +582 -0
- package/lib/components/VTextarea/VTextarea.css +5 -3
- package/lib/components/VTextarea/VTextarea.mjs +2 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.sass +5 -4
- package/lib/components/VTextarea/index.d.ts +218 -0
- package/lib/components/VThemeProvider/index.d.ts +24 -0
- package/lib/components/VTimeline/VTimeline.css +21 -6
- package/lib/components/VTimeline/VTimeline.mjs +6 -1
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/VTimeline.sass +16 -2
- package/lib/components/VTimeline/_variables.scss +4 -3
- package/lib/components/VTimeline/index.d.ts +154 -0
- package/lib/components/VToolbar/VToolbar.css +0 -1
- package/lib/components/VToolbar/VToolbar.sass +0 -1
- package/lib/components/VToolbar/index.d.ts +414 -0
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.ts +799 -0
- package/lib/components/VValidation/index.d.ts +61 -0
- package/lib/components/VWindow/index.d.ts +428 -0
- package/lib/components/index.d.ts +12037 -10009
- package/lib/components/transitions/index.d.ts +454 -0
- package/lib/composables/display.mjs +3 -3
- package/lib/composables/display.mjs.map +1 -1
- package/lib/composables/items.mjs.map +1 -1
- package/lib/composables/locale.mjs +10 -3
- package/lib/composables/locale.mjs.map +1 -1
- package/lib/composables/proxiedModel.mjs +28 -10
- package/lib/composables/proxiedModel.mjs.map +1 -1
- package/lib/composables/router.mjs +10 -2
- package/lib/composables/router.mjs.map +1 -1
- package/lib/composables/selectLink.mjs +4 -4
- package/lib/composables/selectLink.mjs.map +1 -1
- package/lib/composables/theme.mjs +37 -33
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/validation.mjs +1 -1
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +46 -51
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.ts +31 -22
- package/lib/locale/adapters/vue-i18n.d.ts +35 -0
- package/lib/locale/adapters/vue-intl.d.ts +42 -0
- package/lib/styles/main.css +73 -73
- package/lib/styles/settings/_colors.scss +84 -84
- package/lib/styles/tools/_states.sass +8 -3
- package/lib/util/getCurrentInstance.mjs +2 -3
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/lib/util/helpers.mjs +6 -11
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { JSXComponent, PropType } from 'vue';
|
|
3
|
+
import * as vue_router from 'vue-router';
|
|
4
|
+
|
|
5
|
+
declare const block: readonly ["top", "bottom"];
|
|
6
|
+
declare const inline: readonly ["start", "end", "left", "right"];
|
|
7
|
+
declare type Tblock = typeof block[number];
|
|
8
|
+
declare type Tinline = typeof inline[number];
|
|
9
|
+
declare type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
|
|
10
|
+
|
|
11
|
+
declare type IconValue = string | JSXComponent;
|
|
12
|
+
declare const IconValue: PropType<IconValue>;
|
|
13
|
+
|
|
14
|
+
declare const VCard: vue.DefineComponent<{
|
|
15
|
+
color: StringConstructor;
|
|
16
|
+
variant: Omit<{
|
|
17
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (v: any) => boolean;
|
|
20
|
+
}, "type" | "default"> & {
|
|
21
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
22
|
+
default: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
23
|
+
};
|
|
24
|
+
tag: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
href: StringConstructor;
|
|
29
|
+
replace: BooleanConstructor;
|
|
30
|
+
to: vue.PropType<vue_router.RouteLocationRaw>;
|
|
31
|
+
exact: BooleanConstructor;
|
|
32
|
+
rounded: {
|
|
33
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
position: {
|
|
37
|
+
type: vue.PropType<"fixed" | "absolute" | "static" | "relative" | "sticky">;
|
|
38
|
+
validator: (v: any) => boolean;
|
|
39
|
+
};
|
|
40
|
+
location: vue.PropType<Anchor>;
|
|
41
|
+
loading: BooleanConstructor;
|
|
42
|
+
elevation: {
|
|
43
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
validator(v: any): boolean;
|
|
45
|
+
};
|
|
46
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
47
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
48
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
49
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
50
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
51
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
52
|
+
density: {
|
|
53
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
54
|
+
default: string;
|
|
55
|
+
validator: (v: any) => boolean;
|
|
56
|
+
};
|
|
57
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
58
|
+
theme: StringConstructor;
|
|
59
|
+
appendAvatar: StringConstructor;
|
|
60
|
+
appendIcon: vue.PropType<IconValue>;
|
|
61
|
+
disabled: BooleanConstructor;
|
|
62
|
+
flat: BooleanConstructor;
|
|
63
|
+
hover: BooleanConstructor;
|
|
64
|
+
image: StringConstructor;
|
|
65
|
+
link: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
prependAvatar: StringConstructor;
|
|
70
|
+
prependIcon: vue.PropType<IconValue>;
|
|
71
|
+
ripple: BooleanConstructor;
|
|
72
|
+
subtitle: StringConstructor;
|
|
73
|
+
text: StringConstructor;
|
|
74
|
+
title: StringConstructor;
|
|
75
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
76
|
+
color: StringConstructor;
|
|
77
|
+
variant: Omit<{
|
|
78
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
79
|
+
default: string;
|
|
80
|
+
validator: (v: any) => boolean;
|
|
81
|
+
}, "type" | "default"> & {
|
|
82
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
83
|
+
default: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
84
|
+
};
|
|
85
|
+
tag: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
href: StringConstructor;
|
|
90
|
+
replace: BooleanConstructor;
|
|
91
|
+
to: vue.PropType<vue_router.RouteLocationRaw>;
|
|
92
|
+
exact: BooleanConstructor;
|
|
93
|
+
rounded: {
|
|
94
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
position: {
|
|
98
|
+
type: vue.PropType<"fixed" | "absolute" | "static" | "relative" | "sticky">;
|
|
99
|
+
validator: (v: any) => boolean;
|
|
100
|
+
};
|
|
101
|
+
location: vue.PropType<Anchor>;
|
|
102
|
+
loading: BooleanConstructor;
|
|
103
|
+
elevation: {
|
|
104
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
105
|
+
validator(v: any): boolean;
|
|
106
|
+
};
|
|
107
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
108
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
109
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
110
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
111
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
112
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
113
|
+
density: {
|
|
114
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
115
|
+
default: string;
|
|
116
|
+
validator: (v: any) => boolean;
|
|
117
|
+
};
|
|
118
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
119
|
+
theme: StringConstructor;
|
|
120
|
+
appendAvatar: StringConstructor;
|
|
121
|
+
appendIcon: vue.PropType<IconValue>;
|
|
122
|
+
disabled: BooleanConstructor;
|
|
123
|
+
flat: BooleanConstructor;
|
|
124
|
+
hover: BooleanConstructor;
|
|
125
|
+
image: StringConstructor;
|
|
126
|
+
link: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
|
+
prependAvatar: StringConstructor;
|
|
131
|
+
prependIcon: vue.PropType<IconValue>;
|
|
132
|
+
ripple: BooleanConstructor;
|
|
133
|
+
subtitle: StringConstructor;
|
|
134
|
+
text: StringConstructor;
|
|
135
|
+
title: StringConstructor;
|
|
136
|
+
}>>, {
|
|
137
|
+
replace: boolean;
|
|
138
|
+
link: boolean;
|
|
139
|
+
flat: boolean;
|
|
140
|
+
exact: boolean;
|
|
141
|
+
loading: boolean;
|
|
142
|
+
disabled: boolean;
|
|
143
|
+
tag: string;
|
|
144
|
+
rounded: string | number | boolean;
|
|
145
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
146
|
+
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
147
|
+
ripple: boolean;
|
|
148
|
+
hover: boolean;
|
|
149
|
+
}>;
|
|
150
|
+
declare type VCard = InstanceType<typeof VCard>;
|
|
151
|
+
|
|
152
|
+
declare const VCardActions: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
153
|
+
|
|
154
|
+
declare const VCardItem: vue.DefineComponent<{
|
|
155
|
+
density: {
|
|
156
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
157
|
+
default: string;
|
|
158
|
+
validator: (v: any) => boolean;
|
|
159
|
+
};
|
|
160
|
+
appendAvatar: StringConstructor;
|
|
161
|
+
appendIcon: vue.PropType<IconValue>;
|
|
162
|
+
prependAvatar: StringConstructor;
|
|
163
|
+
prependIcon: vue.PropType<IconValue>;
|
|
164
|
+
subtitle: StringConstructor;
|
|
165
|
+
title: StringConstructor;
|
|
166
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
167
|
+
density: {
|
|
168
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
169
|
+
default: string;
|
|
170
|
+
validator: (v: any) => boolean;
|
|
171
|
+
};
|
|
172
|
+
appendAvatar: StringConstructor;
|
|
173
|
+
appendIcon: vue.PropType<IconValue>;
|
|
174
|
+
prependAvatar: StringConstructor;
|
|
175
|
+
prependIcon: vue.PropType<IconValue>;
|
|
176
|
+
subtitle: StringConstructor;
|
|
177
|
+
title: StringConstructor;
|
|
178
|
+
}>>, {
|
|
179
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
180
|
+
}>;
|
|
181
|
+
|
|
182
|
+
declare const VCardSubtitle: vue.DefineComponent<{
|
|
183
|
+
tag: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
188
|
+
[key: string]: any;
|
|
189
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
190
|
+
tag: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
}>>, {
|
|
195
|
+
tag: string;
|
|
196
|
+
}>;
|
|
197
|
+
|
|
198
|
+
declare const VCardText: vue.DefineComponent<{
|
|
199
|
+
tag: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
204
|
+
[key: string]: any;
|
|
205
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
206
|
+
tag: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
default: string;
|
|
209
|
+
};
|
|
210
|
+
}>>, {
|
|
211
|
+
tag: string;
|
|
212
|
+
}>;
|
|
213
|
+
|
|
214
|
+
declare const VCardTitle: vue.DefineComponent<{
|
|
215
|
+
tag: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
222
|
+
tag: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
}>>, {
|
|
227
|
+
tag: string;
|
|
228
|
+
}>;
|
|
229
|
+
|
|
230
|
+
export { VCard, VCardActions, VCardItem, VCardSubtitle, VCardText, VCardTitle };
|
|
@@ -111,10 +111,10 @@ export const VCarousel = defineComponent({
|
|
|
111
111
|
},
|
|
112
112
|
"scoped": true
|
|
113
113
|
}, {
|
|
114
|
-
default: () => [group.items.value.map(item => {
|
|
114
|
+
default: () => [group.items.value.map((item, index) => {
|
|
115
115
|
const props = {
|
|
116
|
-
'aria-label': t('$vuetify.carousel.ariaLabel.delimiter'),
|
|
117
|
-
class: [group.isSelected(item.id) && 'v-btn--
|
|
116
|
+
'aria-label': t('$vuetify.carousel.ariaLabel.delimiter', index + 1, group.items.value.length),
|
|
117
|
+
class: [group.isSelected(item.id) && 'v-btn--active'],
|
|
118
118
|
onClick: () => group.select(item.id, true)
|
|
119
119
|
};
|
|
120
120
|
return slots.item ? slots.item({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCarousel.mjs","names":["VBtn","VDefaultsProvider","VProgressLinear","VWindow","IconValue","useLocale","useProxiedModel","convertToUnit","defineComponent","useRender","onMounted","ref","watch","VCarousel","name","props","color","String","cycle","Boolean","delimiterIcon","type","default","height","Number","hideDelimiters","hideDelimiterBackground","interval","validator","value","modelValue","progress","showArrows","v","verticalDelimiters","emits","val","setup","slots","model","t","windowRef","slideTimeout","restartTimeout","window","clearTimeout","startTimeout","setTimeout","group","next","requestAnimationFrame","additional","left","right","items","length","icon","size","variant","map","item","class","isSelected","id","onClick","select","undefined","getItemIndex","prev"],"sources":["../../../src/components/VCarousel/VCarousel.tsx"],"sourcesContent":["// Styles\nimport './VCarousel.sass'\n\n// Components\nimport { VBtn } from '@/components/VBtn'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VProgressLinear } from '@/components/VProgressLinear'\nimport { VWindow } from '@/components/VWindow'\n\n// Composables\nimport { IconValue } from '@/composables/icons'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { convertToUnit, defineComponent, useRender } from '@/util'\nimport { onMounted, ref, watch } from 'vue'\n\n// Types\nimport type { GroupProvide } from '@/composables/group'\nimport type { PropType } from 'vue'\n\nexport const VCarousel = defineComponent({\n name: 'VCarousel',\n\n props: {\n color: String,\n cycle: Boolean,\n delimiterIcon: {\n type: IconValue,\n default: '$delimiter',\n },\n height: {\n type: [Number, String],\n default: 500,\n },\n hideDelimiters: Boolean,\n hideDelimiterBackground: Boolean,\n interval: {\n type: [Number, String],\n default: 6000,\n validator: (value: string | number) => value > 0,\n },\n modelValue: null,\n progress: [Boolean, String],\n showArrows: {\n type: [Boolean, String],\n default: true,\n validator: (v: any) => typeof v === 'boolean' || v === 'hover',\n },\n verticalDelimiters: [Boolean, String] as PropType<boolean | 'left' | 'right'>,\n },\n\n emits: {\n 'update:modelValue': (val: any) => true,\n },\n\n setup (props, { slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { t } = useLocale()\n const windowRef = ref<typeof VWindow>()\n\n let slideTimeout = -1\n watch(model, restartTimeout)\n watch(() => props.interval, restartTimeout)\n watch(() => props.cycle, val => {\n if (val) restartTimeout()\n else window.clearTimeout(slideTimeout)\n })\n\n onMounted(startTimeout)\n\n function startTimeout () {\n if (!props.cycle || !windowRef.value) return\n\n slideTimeout = window.setTimeout(windowRef.value.group.next, +props.interval > 0 ? +props.interval : 6000)\n }\n\n function restartTimeout () {\n window.clearTimeout(slideTimeout)\n window.requestAnimationFrame(startTimeout)\n }\n\n useRender(() => (\n <VWindow\n ref={ windowRef }\n v-model={ model.value }\n class={[\n 'v-carousel',\n {\n 'v-carousel--hide-delimiter-background': props.hideDelimiterBackground,\n 'v-carousel--vertical-delimiters': props.verticalDelimiters,\n },\n ]}\n style={{ height: convertToUnit(props.height) }}\n continuous\n mandatory=\"force\"\n showArrows={ props.showArrows }\n >\n {{\n default: slots.default,\n additional: ({ group }: { group: GroupProvide }) => (\n <>\n { !props.hideDelimiters && (\n <div\n class=\"v-carousel__controls\"\n style={{\n left: props.verticalDelimiters === 'left' && props.verticalDelimiters ? 0 : 'auto',\n right: props.verticalDelimiters === 'right' ? 0 : 'auto',\n }}\n >\n { group.items.value.length > 0 && (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n color: props.color,\n icon: props.delimiterIcon,\n size: 'x-small',\n variant: 'text',\n },\n }}\n scoped\n >\n { group.items.value.map((item
|
|
1
|
+
{"version":3,"file":"VCarousel.mjs","names":["VBtn","VDefaultsProvider","VProgressLinear","VWindow","IconValue","useLocale","useProxiedModel","convertToUnit","defineComponent","useRender","onMounted","ref","watch","VCarousel","name","props","color","String","cycle","Boolean","delimiterIcon","type","default","height","Number","hideDelimiters","hideDelimiterBackground","interval","validator","value","modelValue","progress","showArrows","v","verticalDelimiters","emits","val","setup","slots","model","t","windowRef","slideTimeout","restartTimeout","window","clearTimeout","startTimeout","setTimeout","group","next","requestAnimationFrame","additional","left","right","items","length","icon","size","variant","map","item","index","class","isSelected","id","onClick","select","undefined","getItemIndex","prev"],"sources":["../../../src/components/VCarousel/VCarousel.tsx"],"sourcesContent":["// Styles\nimport './VCarousel.sass'\n\n// Components\nimport { VBtn } from '@/components/VBtn'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VProgressLinear } from '@/components/VProgressLinear'\nimport { VWindow } from '@/components/VWindow'\n\n// Composables\nimport { IconValue } from '@/composables/icons'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { convertToUnit, defineComponent, useRender } from '@/util'\nimport { onMounted, ref, watch } from 'vue'\n\n// Types\nimport type { GroupProvide } from '@/composables/group'\nimport type { PropType } from 'vue'\n\nexport const VCarousel = defineComponent({\n name: 'VCarousel',\n\n props: {\n color: String,\n cycle: Boolean,\n delimiterIcon: {\n type: IconValue,\n default: '$delimiter',\n },\n height: {\n type: [Number, String],\n default: 500,\n },\n hideDelimiters: Boolean,\n hideDelimiterBackground: Boolean,\n interval: {\n type: [Number, String],\n default: 6000,\n validator: (value: string | number) => value > 0,\n },\n modelValue: null,\n progress: [Boolean, String],\n showArrows: {\n type: [Boolean, String],\n default: true,\n validator: (v: any) => typeof v === 'boolean' || v === 'hover',\n },\n verticalDelimiters: [Boolean, String] as PropType<boolean | 'left' | 'right'>,\n },\n\n emits: {\n 'update:modelValue': (val: any) => true,\n },\n\n setup (props, { slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { t } = useLocale()\n const windowRef = ref<typeof VWindow>()\n\n let slideTimeout = -1\n watch(model, restartTimeout)\n watch(() => props.interval, restartTimeout)\n watch(() => props.cycle, val => {\n if (val) restartTimeout()\n else window.clearTimeout(slideTimeout)\n })\n\n onMounted(startTimeout)\n\n function startTimeout () {\n if (!props.cycle || !windowRef.value) return\n\n slideTimeout = window.setTimeout(windowRef.value.group.next, +props.interval > 0 ? +props.interval : 6000)\n }\n\n function restartTimeout () {\n window.clearTimeout(slideTimeout)\n window.requestAnimationFrame(startTimeout)\n }\n\n useRender(() => (\n <VWindow\n ref={ windowRef }\n v-model={ model.value }\n class={[\n 'v-carousel',\n {\n 'v-carousel--hide-delimiter-background': props.hideDelimiterBackground,\n 'v-carousel--vertical-delimiters': props.verticalDelimiters,\n },\n ]}\n style={{ height: convertToUnit(props.height) }}\n continuous\n mandatory=\"force\"\n showArrows={ props.showArrows }\n >\n {{\n default: slots.default,\n additional: ({ group }: { group: GroupProvide }) => (\n <>\n { !props.hideDelimiters && (\n <div\n class=\"v-carousel__controls\"\n style={{\n left: props.verticalDelimiters === 'left' && props.verticalDelimiters ? 0 : 'auto',\n right: props.verticalDelimiters === 'right' ? 0 : 'auto',\n }}\n >\n { group.items.value.length > 0 && (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n color: props.color,\n icon: props.delimiterIcon,\n size: 'x-small',\n variant: 'text',\n },\n }}\n scoped\n >\n { group.items.value.map((item, index) => {\n const props = {\n 'aria-label': t('$vuetify.carousel.ariaLabel.delimiter', index + 1, group.items.value.length),\n class: [group.isSelected(item.id) && 'v-btn--active'],\n onClick: () => group.select(item.id, true),\n }\n\n return slots.item\n ? slots.item({ props, item })\n : (<VBtn { ...item } { ...props } />)\n }) }\n </VDefaultsProvider>\n ) }\n </div>\n )}\n\n { props.progress && (\n <VProgressLinear\n class=\"v-carousel__progress\"\n color={ typeof props.progress === 'string' ? props.progress : undefined }\n modelValue={ (group.getItemIndex(model.value) + 1) / group.items.value.length * 100 }\n />\n )}\n </>\n ),\n prev: slots.prev,\n next: slots.next,\n }}\n </VWindow>\n ))\n\n return {}\n },\n})\n"],"mappings":";AAAA;AACA,yB,CAEA;;SACSA,I;SACAC,iB;SACAC,e;SACAC,O,gCAET;;SACSC,S;SACAC,S;SACAC,e,8CAET;;SACSC,a,EAAeC,e,EAAiBC,S;AACzC,SAASC,SAAT,EAAoBC,GAApB,EAAyBC,KAAzB,QAAsC,KAAtC,C,CAEA;;AAIA,OAAO,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YAAN,CAAmB7B,KAAK,CAACV,KAAzB,IAAkC,CAAnC,IAAwCmB,KAAK,CAACM,KAAN,CAAYzB,KAAZ,CAAkB0B,MAA1D,GAAmE;QAJlF,QAtCM;MAAA,CAlBR;MAiEJc,IAAI,EAAE/B,KAAK,CAAC+B,IAjER;MAkEJpB,IAAI,EAAEX,KAAK,CAACW;IAlER,EAAD,CAAT;IAuEA,OAAO,EAAP;EACD;;AArIsC,CAAD,CAAjC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { JSXComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare type IconValue = string | JSXComponent;
|
|
5
|
+
declare const IconValue: PropType<IconValue>;
|
|
6
|
+
|
|
7
|
+
declare const VCarousel: vue.DefineComponent<{
|
|
8
|
+
color: StringConstructor;
|
|
9
|
+
cycle: BooleanConstructor;
|
|
10
|
+
delimiterIcon: {
|
|
11
|
+
type: PropType<IconValue>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
height: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
hideDelimiters: BooleanConstructor;
|
|
19
|
+
hideDelimiterBackground: BooleanConstructor;
|
|
20
|
+
interval: {
|
|
21
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
+
default: number;
|
|
23
|
+
validator: (value: string | number) => boolean;
|
|
24
|
+
};
|
|
25
|
+
modelValue: null;
|
|
26
|
+
progress: (StringConstructor | BooleanConstructor)[];
|
|
27
|
+
showArrows: {
|
|
28
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
29
|
+
default: boolean;
|
|
30
|
+
validator: (v: any) => boolean;
|
|
31
|
+
};
|
|
32
|
+
verticalDelimiters: PropType<boolean | "left" | "right">;
|
|
33
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
34
|
+
'update:modelValue': (val: any) => true;
|
|
35
|
+
}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
36
|
+
color: StringConstructor;
|
|
37
|
+
cycle: BooleanConstructor;
|
|
38
|
+
delimiterIcon: {
|
|
39
|
+
type: PropType<IconValue>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
height: {
|
|
43
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
hideDelimiters: BooleanConstructor;
|
|
47
|
+
hideDelimiterBackground: BooleanConstructor;
|
|
48
|
+
interval: {
|
|
49
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
50
|
+
default: number;
|
|
51
|
+
validator: (value: string | number) => boolean;
|
|
52
|
+
};
|
|
53
|
+
modelValue: null;
|
|
54
|
+
progress: (StringConstructor | BooleanConstructor)[];
|
|
55
|
+
showArrows: {
|
|
56
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
57
|
+
default: boolean;
|
|
58
|
+
validator: (v: any) => boolean;
|
|
59
|
+
};
|
|
60
|
+
verticalDelimiters: PropType<boolean | "left" | "right">;
|
|
61
|
+
}>> & {
|
|
62
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
interval: string | number;
|
|
65
|
+
height: string | number;
|
|
66
|
+
showArrows: string | boolean;
|
|
67
|
+
cycle: boolean;
|
|
68
|
+
delimiterIcon: IconValue;
|
|
69
|
+
hideDelimiters: boolean;
|
|
70
|
+
hideDelimiterBackground: boolean;
|
|
71
|
+
}>;
|
|
72
|
+
|
|
73
|
+
declare const VCarouselItem: vue.DefineComponent<{
|
|
74
|
+
value: null;
|
|
75
|
+
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
76
|
+
value: null;
|
|
77
|
+
}>>, {}>;
|
|
78
|
+
declare type VCarouselItem = InstanceType<typeof VCarouselItem>;
|
|
79
|
+
|
|
80
|
+
export { VCarousel, VCarouselItem };
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType, JSXComponent, ExtractPropTypes } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare function deepEqual(a: any, b: any): boolean;
|
|
5
|
+
declare type EventProp<T = (...args: any[]) => any> = T | T[];
|
|
6
|
+
declare const EventProp: PropType<EventProp<(...args: any[]) => any>>;
|
|
7
|
+
|
|
8
|
+
declare type ValidationResult = string | boolean;
|
|
9
|
+
declare type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
|
10
|
+
|
|
11
|
+
declare type IconValue = string | JSXComponent;
|
|
12
|
+
declare const IconValue: PropType<IconValue>;
|
|
13
|
+
|
|
14
|
+
declare const VCheckbox: vue.DefineComponent<{
|
|
15
|
+
density: {
|
|
16
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
17
|
+
default: string;
|
|
18
|
+
validator: (v: any) => boolean;
|
|
19
|
+
};
|
|
20
|
+
theme: StringConstructor;
|
|
21
|
+
color: StringConstructor;
|
|
22
|
+
disabled: BooleanConstructor;
|
|
23
|
+
error: BooleanConstructor;
|
|
24
|
+
id: StringConstructor;
|
|
25
|
+
inline: BooleanConstructor;
|
|
26
|
+
label: StringConstructor;
|
|
27
|
+
falseIcon: {
|
|
28
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
29
|
+
default: (string & {}) | IconValue;
|
|
30
|
+
};
|
|
31
|
+
trueIcon: {
|
|
32
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
33
|
+
default: (string & {}) | IconValue;
|
|
34
|
+
};
|
|
35
|
+
ripple: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
multiple: {
|
|
40
|
+
type: vue.PropType<boolean | null>;
|
|
41
|
+
default: null;
|
|
42
|
+
};
|
|
43
|
+
name: StringConstructor;
|
|
44
|
+
readonly: BooleanConstructor;
|
|
45
|
+
trueValue: null;
|
|
46
|
+
falseValue: null;
|
|
47
|
+
modelValue: null;
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
value: null;
|
|
50
|
+
valueComparator: {
|
|
51
|
+
type: vue.PropType<typeof deepEqual>;
|
|
52
|
+
default: typeof deepEqual;
|
|
53
|
+
};
|
|
54
|
+
indeterminate: BooleanConstructor;
|
|
55
|
+
indeterminateIcon: {
|
|
56
|
+
type: vue.PropType<IconValue>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
errorMessages: {
|
|
60
|
+
type: vue.PropType<string | string[]>;
|
|
61
|
+
default: () => never[];
|
|
62
|
+
};
|
|
63
|
+
maxErrors: {
|
|
64
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
rules: {
|
|
68
|
+
type: vue.PropType<ValidationRule[]>;
|
|
69
|
+
default: () => never[];
|
|
70
|
+
};
|
|
71
|
+
validationValue: null;
|
|
72
|
+
appendIcon: vue.PropType<IconValue>;
|
|
73
|
+
prependIcon: vue.PropType<IconValue>;
|
|
74
|
+
hideDetails: vue.PropType<boolean | "auto">;
|
|
75
|
+
messages: {
|
|
76
|
+
type: vue.PropType<string | string[]>;
|
|
77
|
+
default: () => never[];
|
|
78
|
+
};
|
|
79
|
+
direction: {
|
|
80
|
+
type: vue.PropType<"horizontal" | "vertical">;
|
|
81
|
+
default: string;
|
|
82
|
+
validator: (v: any) => boolean;
|
|
83
|
+
};
|
|
84
|
+
'onClick:prepend': vue.PropType<EventProp<(...args: any[]) => any>>;
|
|
85
|
+
'onClick:append': vue.PropType<EventProp<(...args: any[]) => any>>;
|
|
86
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
87
|
+
density: {
|
|
88
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
89
|
+
default: string;
|
|
90
|
+
validator: (v: any) => boolean;
|
|
91
|
+
};
|
|
92
|
+
theme: StringConstructor;
|
|
93
|
+
color: StringConstructor;
|
|
94
|
+
disabled: BooleanConstructor;
|
|
95
|
+
error: BooleanConstructor;
|
|
96
|
+
id: StringConstructor;
|
|
97
|
+
inline: BooleanConstructor;
|
|
98
|
+
label: StringConstructor;
|
|
99
|
+
falseIcon: {
|
|
100
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
101
|
+
default: (string & {}) | IconValue;
|
|
102
|
+
};
|
|
103
|
+
trueIcon: {
|
|
104
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
105
|
+
default: (string & {}) | IconValue;
|
|
106
|
+
};
|
|
107
|
+
ripple: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
multiple: {
|
|
112
|
+
type: vue.PropType<boolean | null>;
|
|
113
|
+
default: null;
|
|
114
|
+
};
|
|
115
|
+
name: StringConstructor;
|
|
116
|
+
readonly: BooleanConstructor;
|
|
117
|
+
trueValue: null;
|
|
118
|
+
falseValue: null;
|
|
119
|
+
modelValue: null;
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
value: null;
|
|
122
|
+
valueComparator: {
|
|
123
|
+
type: vue.PropType<typeof deepEqual>;
|
|
124
|
+
default: typeof deepEqual;
|
|
125
|
+
};
|
|
126
|
+
indeterminate: BooleanConstructor;
|
|
127
|
+
indeterminateIcon: {
|
|
128
|
+
type: vue.PropType<IconValue>;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
errorMessages: {
|
|
132
|
+
type: vue.PropType<string | string[]>;
|
|
133
|
+
default: () => never[];
|
|
134
|
+
};
|
|
135
|
+
maxErrors: {
|
|
136
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
|
+
rules: {
|
|
140
|
+
type: vue.PropType<ValidationRule[]>;
|
|
141
|
+
default: () => never[];
|
|
142
|
+
};
|
|
143
|
+
validationValue: null;
|
|
144
|
+
appendIcon: vue.PropType<IconValue>;
|
|
145
|
+
prependIcon: vue.PropType<IconValue>;
|
|
146
|
+
hideDetails: vue.PropType<boolean | "auto">;
|
|
147
|
+
messages: {
|
|
148
|
+
type: vue.PropType<string | string[]>;
|
|
149
|
+
default: () => never[];
|
|
150
|
+
};
|
|
151
|
+
direction: {
|
|
152
|
+
type: vue.PropType<"horizontal" | "vertical">;
|
|
153
|
+
default: string;
|
|
154
|
+
validator: (v: any) => boolean;
|
|
155
|
+
};
|
|
156
|
+
'onClick:prepend': vue.PropType<EventProp<(...args: any[]) => any>>;
|
|
157
|
+
'onClick:append': vue.PropType<EventProp<(...args: any[]) => any>>;
|
|
158
|
+
}>>, {
|
|
159
|
+
inline: boolean;
|
|
160
|
+
error: boolean;
|
|
161
|
+
direction: "horizontal" | "vertical";
|
|
162
|
+
disabled: boolean;
|
|
163
|
+
multiple: boolean | null;
|
|
164
|
+
readonly: boolean;
|
|
165
|
+
indeterminate: boolean;
|
|
166
|
+
messages: string | string[];
|
|
167
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
168
|
+
ripple: boolean;
|
|
169
|
+
errorMessages: string | string[];
|
|
170
|
+
maxErrors: string | number;
|
|
171
|
+
rules: ValidationRule[];
|
|
172
|
+
falseIcon: (string & {}) | IconValue;
|
|
173
|
+
trueIcon: (string & {}) | IconValue;
|
|
174
|
+
valueComparator: typeof deepEqual;
|
|
175
|
+
indeterminateIcon: IconValue;
|
|
176
|
+
}>;
|
|
177
|
+
declare type VCheckbox = InstanceType<typeof VCheckbox>;
|
|
178
|
+
|
|
179
|
+
declare const VCheckboxBtn: vue.DefineComponent<{
|
|
180
|
+
density: {
|
|
181
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
182
|
+
default: string;
|
|
183
|
+
validator: (v: any) => boolean;
|
|
184
|
+
};
|
|
185
|
+
theme: StringConstructor;
|
|
186
|
+
color: StringConstructor;
|
|
187
|
+
disabled: BooleanConstructor;
|
|
188
|
+
error: BooleanConstructor;
|
|
189
|
+
id: StringConstructor;
|
|
190
|
+
inline: BooleanConstructor;
|
|
191
|
+
label: StringConstructor;
|
|
192
|
+
falseIcon: {
|
|
193
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
194
|
+
default: (string & {}) | IconValue;
|
|
195
|
+
};
|
|
196
|
+
trueIcon: {
|
|
197
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
198
|
+
default: (string & {}) | IconValue;
|
|
199
|
+
};
|
|
200
|
+
ripple: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: boolean;
|
|
203
|
+
};
|
|
204
|
+
multiple: {
|
|
205
|
+
type: vue.PropType<boolean | null>;
|
|
206
|
+
default: null;
|
|
207
|
+
};
|
|
208
|
+
name: StringConstructor;
|
|
209
|
+
readonly: BooleanConstructor;
|
|
210
|
+
trueValue: null;
|
|
211
|
+
falseValue: null;
|
|
212
|
+
modelValue: null;
|
|
213
|
+
type: StringConstructor;
|
|
214
|
+
value: null;
|
|
215
|
+
valueComparator: {
|
|
216
|
+
type: vue.PropType<typeof deepEqual>;
|
|
217
|
+
default: typeof deepEqual;
|
|
218
|
+
};
|
|
219
|
+
indeterminate: BooleanConstructor;
|
|
220
|
+
indeterminateIcon: {
|
|
221
|
+
type: vue.PropType<IconValue>;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
225
|
+
'update:modelValue': (value: any) => true;
|
|
226
|
+
'update:indeterminate': (val: boolean) => true;
|
|
227
|
+
}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
228
|
+
density: {
|
|
229
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
230
|
+
default: string;
|
|
231
|
+
validator: (v: any) => boolean;
|
|
232
|
+
};
|
|
233
|
+
theme: StringConstructor;
|
|
234
|
+
color: StringConstructor;
|
|
235
|
+
disabled: BooleanConstructor;
|
|
236
|
+
error: BooleanConstructor;
|
|
237
|
+
id: StringConstructor;
|
|
238
|
+
inline: BooleanConstructor;
|
|
239
|
+
label: StringConstructor;
|
|
240
|
+
falseIcon: {
|
|
241
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
242
|
+
default: (string & {}) | IconValue;
|
|
243
|
+
};
|
|
244
|
+
trueIcon: {
|
|
245
|
+
type: vue.PropType<(string & {}) | IconValue>;
|
|
246
|
+
default: (string & {}) | IconValue;
|
|
247
|
+
};
|
|
248
|
+
ripple: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
multiple: {
|
|
253
|
+
type: vue.PropType<boolean | null>;
|
|
254
|
+
default: null;
|
|
255
|
+
};
|
|
256
|
+
name: StringConstructor;
|
|
257
|
+
readonly: BooleanConstructor;
|
|
258
|
+
trueValue: null;
|
|
259
|
+
falseValue: null;
|
|
260
|
+
modelValue: null;
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
value: null;
|
|
263
|
+
valueComparator: {
|
|
264
|
+
type: vue.PropType<typeof deepEqual>;
|
|
265
|
+
default: typeof deepEqual;
|
|
266
|
+
};
|
|
267
|
+
indeterminate: BooleanConstructor;
|
|
268
|
+
indeterminateIcon: {
|
|
269
|
+
type: vue.PropType<IconValue>;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
272
|
+
}>> & {
|
|
273
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
274
|
+
"onUpdate:indeterminate"?: ((val: boolean) => any) | undefined;
|
|
275
|
+
}, {
|
|
276
|
+
inline: boolean;
|
|
277
|
+
error: boolean;
|
|
278
|
+
disabled: boolean;
|
|
279
|
+
multiple: boolean | null;
|
|
280
|
+
readonly: boolean;
|
|
281
|
+
indeterminate: boolean;
|
|
282
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
283
|
+
ripple: boolean;
|
|
284
|
+
falseIcon: (string & {}) | IconValue;
|
|
285
|
+
trueIcon: (string & {}) | IconValue;
|
|
286
|
+
valueComparator: typeof deepEqual;
|
|
287
|
+
indeterminateIcon: IconValue;
|
|
288
|
+
}>;
|
|
289
|
+
declare type VCheckboxBtn = InstanceType<typeof VCheckboxBtn>;
|
|
290
|
+
|
|
291
|
+
export { VCheckbox, VCheckboxBtn };
|