@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,154 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { Prop, JSXComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare type TimelineDirection = 'vertical' | 'horizontal';
|
|
5
|
+
declare type TimelineSide = 'start' | 'end' | undefined;
|
|
6
|
+
declare type TimelineAlign = 'center' | 'start';
|
|
7
|
+
declare type TimelineTruncateLine = 'start' | 'end' | 'both' | undefined;
|
|
8
|
+
declare const VTimeline: vue.DefineComponent<{
|
|
9
|
+
theme: StringConstructor;
|
|
10
|
+
tag: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
density: {
|
|
15
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (v: any) => boolean;
|
|
18
|
+
};
|
|
19
|
+
align: Prop<TimelineAlign, TimelineAlign>;
|
|
20
|
+
direction: Prop<TimelineDirection, TimelineDirection>;
|
|
21
|
+
justify: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
validator: (v: any) => boolean;
|
|
25
|
+
};
|
|
26
|
+
side: Prop<TimelineSide, TimelineSide>;
|
|
27
|
+
lineInset: {
|
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
lineThickness: {
|
|
32
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
lineColor: StringConstructor;
|
|
36
|
+
truncateLine: Prop<TimelineTruncateLine, TimelineTruncateLine>;
|
|
37
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
38
|
+
theme: StringConstructor;
|
|
39
|
+
tag: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
density: {
|
|
44
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
45
|
+
default: string;
|
|
46
|
+
validator: (v: any) => boolean;
|
|
47
|
+
};
|
|
48
|
+
align: Prop<TimelineAlign, TimelineAlign>;
|
|
49
|
+
direction: Prop<TimelineDirection, TimelineDirection>;
|
|
50
|
+
justify: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
validator: (v: any) => boolean;
|
|
54
|
+
};
|
|
55
|
+
side: Prop<TimelineSide, TimelineSide>;
|
|
56
|
+
lineInset: {
|
|
57
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
lineThickness: {
|
|
61
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
lineColor: StringConstructor;
|
|
65
|
+
truncateLine: Prop<TimelineTruncateLine, TimelineTruncateLine>;
|
|
66
|
+
}>>, {
|
|
67
|
+
tag: string;
|
|
68
|
+
justify: string;
|
|
69
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
70
|
+
lineInset: string | number;
|
|
71
|
+
lineThickness: string | number;
|
|
72
|
+
}>;
|
|
73
|
+
|
|
74
|
+
declare type IconValue = string | JSXComponent;
|
|
75
|
+
declare const IconValue: PropType<IconValue>;
|
|
76
|
+
|
|
77
|
+
declare const VTimelineItem: vue.DefineComponent<{
|
|
78
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
79
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
80
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
81
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
82
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
83
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
84
|
+
tag: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
size: {
|
|
89
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
elevation: {
|
|
93
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
94
|
+
validator(v: any): boolean;
|
|
95
|
+
};
|
|
96
|
+
rounded: {
|
|
97
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
density: PropType<"default" | "compact">;
|
|
101
|
+
dotColor: StringConstructor;
|
|
102
|
+
fillDot: BooleanConstructor;
|
|
103
|
+
hideDot: BooleanConstructor;
|
|
104
|
+
hideOpposite: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: undefined;
|
|
107
|
+
};
|
|
108
|
+
icon: PropType<IconValue>;
|
|
109
|
+
iconColor: StringConstructor;
|
|
110
|
+
lineInset: (StringConstructor | NumberConstructor)[];
|
|
111
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
112
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
113
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
114
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
115
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
116
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
117
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
118
|
+
tag: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
size: {
|
|
123
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
elevation: {
|
|
127
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
128
|
+
validator(v: any): boolean;
|
|
129
|
+
};
|
|
130
|
+
rounded: {
|
|
131
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
134
|
+
density: PropType<"default" | "compact">;
|
|
135
|
+
dotColor: StringConstructor;
|
|
136
|
+
fillDot: BooleanConstructor;
|
|
137
|
+
hideDot: BooleanConstructor;
|
|
138
|
+
hideOpposite: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
icon: PropType<IconValue>;
|
|
143
|
+
iconColor: StringConstructor;
|
|
144
|
+
lineInset: (StringConstructor | NumberConstructor)[];
|
|
145
|
+
}>>, {
|
|
146
|
+
size: string | number;
|
|
147
|
+
tag: string;
|
|
148
|
+
rounded: string | number | boolean;
|
|
149
|
+
fillDot: boolean;
|
|
150
|
+
hideDot: boolean;
|
|
151
|
+
hideOpposite: boolean;
|
|
152
|
+
}>;
|
|
153
|
+
|
|
154
|
+
export { VTimeline, VTimelineItem };
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
justify-content: space-between;
|
|
7
7
|
max-width: 100%;
|
|
8
8
|
overflow: hidden;
|
|
9
|
-
padding-inline-end: var(--v-scrollbar-offset);
|
|
10
9
|
position: relative;
|
|
11
10
|
transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
12
11
|
transition-property: height, width, transform, max-width, left, right, top, bottom;
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
justify-content: space-between
|
|
11
11
|
max-width: 100%
|
|
12
12
|
overflow: hidden
|
|
13
|
-
padding-inline-end: var(--v-scrollbar-offset)
|
|
14
13
|
position: relative
|
|
15
14
|
transition: $toolbar-transition
|
|
16
15
|
transition-property: height, width, transform, max-width, left, right, top, bottom
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { VNodeChild, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare type SlotsToProps<T extends Record<string, Slot>> = {
|
|
5
|
+
$children: () => (T['default'] | VNodeChild | {
|
|
6
|
+
[K in keyof T]?: T[K];
|
|
7
|
+
});
|
|
8
|
+
'v-slots': new () => {
|
|
9
|
+
[K in keyof T]?: T[K] | false;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
declare type Slot<T extends any[] = any[]> = (...args: T) => VNodeChild;
|
|
13
|
+
declare type MakeSlots<T extends Record<string, any[]>> = {
|
|
14
|
+
[K in keyof T]?: Slot<T[K]>;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
declare const VToolbar: {
|
|
18
|
+
new (...args: any[]): {
|
|
19
|
+
$: vue.ComponentInternalInstance;
|
|
20
|
+
$data: {};
|
|
21
|
+
$props: Partial<{
|
|
22
|
+
flat: boolean;
|
|
23
|
+
absolute: boolean;
|
|
24
|
+
height: string | number;
|
|
25
|
+
tag: string;
|
|
26
|
+
collapse: boolean;
|
|
27
|
+
rounded: string | number | boolean;
|
|
28
|
+
density: "default" | "compact" | "prominent" | "comfortable" | null;
|
|
29
|
+
extended: boolean;
|
|
30
|
+
extensionHeight: string | number;
|
|
31
|
+
floating: boolean;
|
|
32
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
|
33
|
+
theme: StringConstructor;
|
|
34
|
+
tag: Omit<{
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
}, "type" | "default"> & {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
rounded: {
|
|
42
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
elevation: {
|
|
46
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
47
|
+
validator(v: any): boolean;
|
|
48
|
+
};
|
|
49
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
50
|
+
absolute: BooleanConstructor;
|
|
51
|
+
collapse: BooleanConstructor;
|
|
52
|
+
color: StringConstructor;
|
|
53
|
+
density: {
|
|
54
|
+
type: PropType<"default" | "compact" | "prominent" | "comfortable" | null>;
|
|
55
|
+
default: string;
|
|
56
|
+
validator: (v: any) => boolean;
|
|
57
|
+
};
|
|
58
|
+
extended: BooleanConstructor;
|
|
59
|
+
extensionHeight: {
|
|
60
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
flat: BooleanConstructor;
|
|
64
|
+
floating: BooleanConstructor;
|
|
65
|
+
height: {
|
|
66
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
image: StringConstructor;
|
|
70
|
+
title: StringConstructor;
|
|
71
|
+
} & SlotsToProps<MakeSlots<{
|
|
72
|
+
default: [];
|
|
73
|
+
image: [];
|
|
74
|
+
prepend: [];
|
|
75
|
+
append: [];
|
|
76
|
+
title: [];
|
|
77
|
+
extension: [];
|
|
78
|
+
}>>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "absolute" | "height" | "tag" | "collapse" | "rounded" | "density" | "extended" | "extensionHeight" | "floating">;
|
|
79
|
+
$attrs: {
|
|
80
|
+
[x: string]: unknown;
|
|
81
|
+
};
|
|
82
|
+
$refs: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
};
|
|
85
|
+
$slots: Readonly<{
|
|
86
|
+
[name: string]: vue.Slot | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
89
|
+
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
90
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
91
|
+
$el: any;
|
|
92
|
+
$options: vue.ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
93
|
+
theme: StringConstructor;
|
|
94
|
+
tag: Omit<{
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
}, "type" | "default"> & {
|
|
98
|
+
type: PropType<string>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
rounded: {
|
|
102
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
elevation: {
|
|
106
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
107
|
+
validator(v: any): boolean;
|
|
108
|
+
};
|
|
109
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
110
|
+
absolute: BooleanConstructor;
|
|
111
|
+
collapse: BooleanConstructor;
|
|
112
|
+
color: StringConstructor;
|
|
113
|
+
density: {
|
|
114
|
+
type: PropType<"default" | "compact" | "prominent" | "comfortable" | null>;
|
|
115
|
+
default: string;
|
|
116
|
+
validator: (v: any) => boolean;
|
|
117
|
+
};
|
|
118
|
+
extended: BooleanConstructor;
|
|
119
|
+
extensionHeight: {
|
|
120
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
121
|
+
default: number;
|
|
122
|
+
};
|
|
123
|
+
flat: BooleanConstructor;
|
|
124
|
+
floating: BooleanConstructor;
|
|
125
|
+
height: {
|
|
126
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
127
|
+
default: number;
|
|
128
|
+
};
|
|
129
|
+
image: StringConstructor;
|
|
130
|
+
title: StringConstructor;
|
|
131
|
+
} & SlotsToProps<MakeSlots<{
|
|
132
|
+
default: [];
|
|
133
|
+
image: [];
|
|
134
|
+
prepend: [];
|
|
135
|
+
append: [];
|
|
136
|
+
title: [];
|
|
137
|
+
extension: [];
|
|
138
|
+
}>>>>, {
|
|
139
|
+
contentHeight: vue.ComputedRef<number>;
|
|
140
|
+
extensionHeight: vue.ComputedRef<number>;
|
|
141
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
142
|
+
flat: boolean;
|
|
143
|
+
absolute: boolean;
|
|
144
|
+
height: string | number;
|
|
145
|
+
tag: string;
|
|
146
|
+
collapse: boolean;
|
|
147
|
+
rounded: string | number | boolean;
|
|
148
|
+
density: "default" | "compact" | "prominent" | "comfortable" | null;
|
|
149
|
+
extended: boolean;
|
|
150
|
+
extensionHeight: string | number;
|
|
151
|
+
floating: boolean;
|
|
152
|
+
}> & {
|
|
153
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
154
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
155
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
156
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
157
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
158
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
159
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
160
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
161
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
162
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
163
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
164
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
165
|
+
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
166
|
+
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
167
|
+
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
168
|
+
};
|
|
169
|
+
$forceUpdate: () => void;
|
|
170
|
+
$nextTick: typeof vue.nextTick;
|
|
171
|
+
$watch(source: string | Function, cb: Function, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
|
|
172
|
+
} & Readonly<ExtractPropTypes<{
|
|
173
|
+
theme: StringConstructor;
|
|
174
|
+
tag: Omit<{
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: string;
|
|
177
|
+
}, "type" | "default"> & {
|
|
178
|
+
type: PropType<string>;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
rounded: {
|
|
182
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
183
|
+
default: undefined;
|
|
184
|
+
};
|
|
185
|
+
elevation: {
|
|
186
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
187
|
+
validator(v: any): boolean;
|
|
188
|
+
};
|
|
189
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
190
|
+
absolute: BooleanConstructor;
|
|
191
|
+
collapse: BooleanConstructor;
|
|
192
|
+
color: StringConstructor;
|
|
193
|
+
density: {
|
|
194
|
+
type: PropType<"default" | "compact" | "prominent" | "comfortable" | null>;
|
|
195
|
+
default: string;
|
|
196
|
+
validator: (v: any) => boolean;
|
|
197
|
+
};
|
|
198
|
+
extended: BooleanConstructor;
|
|
199
|
+
extensionHeight: {
|
|
200
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
201
|
+
default: number;
|
|
202
|
+
};
|
|
203
|
+
flat: BooleanConstructor;
|
|
204
|
+
floating: BooleanConstructor;
|
|
205
|
+
height: {
|
|
206
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
207
|
+
default: number;
|
|
208
|
+
};
|
|
209
|
+
image: StringConstructor;
|
|
210
|
+
title: StringConstructor;
|
|
211
|
+
} & SlotsToProps<MakeSlots<{
|
|
212
|
+
default: [];
|
|
213
|
+
image: [];
|
|
214
|
+
prepend: [];
|
|
215
|
+
append: [];
|
|
216
|
+
title: [];
|
|
217
|
+
extension: [];
|
|
218
|
+
}>>>> & vue.ShallowUnwrapRef<{
|
|
219
|
+
contentHeight: vue.ComputedRef<number>;
|
|
220
|
+
extensionHeight: vue.ComputedRef<number>;
|
|
221
|
+
}> & {} & vue.ComponentCustomProperties;
|
|
222
|
+
__isFragment?: undefined;
|
|
223
|
+
__isTeleport?: undefined;
|
|
224
|
+
__isSuspense?: undefined;
|
|
225
|
+
} & vue.ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
226
|
+
theme: StringConstructor;
|
|
227
|
+
tag: Omit<{
|
|
228
|
+
type: StringConstructor;
|
|
229
|
+
default: string;
|
|
230
|
+
}, "type" | "default"> & {
|
|
231
|
+
type: PropType<string>;
|
|
232
|
+
default: string;
|
|
233
|
+
};
|
|
234
|
+
rounded: {
|
|
235
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
236
|
+
default: undefined;
|
|
237
|
+
};
|
|
238
|
+
elevation: {
|
|
239
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
240
|
+
validator(v: any): boolean;
|
|
241
|
+
};
|
|
242
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
243
|
+
absolute: BooleanConstructor;
|
|
244
|
+
collapse: BooleanConstructor;
|
|
245
|
+
color: StringConstructor;
|
|
246
|
+
density: {
|
|
247
|
+
type: PropType<"default" | "compact" | "prominent" | "comfortable" | null>;
|
|
248
|
+
default: string;
|
|
249
|
+
validator: (v: any) => boolean;
|
|
250
|
+
};
|
|
251
|
+
extended: BooleanConstructor;
|
|
252
|
+
extensionHeight: {
|
|
253
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
254
|
+
default: number;
|
|
255
|
+
};
|
|
256
|
+
flat: BooleanConstructor;
|
|
257
|
+
floating: BooleanConstructor;
|
|
258
|
+
height: {
|
|
259
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
260
|
+
default: number;
|
|
261
|
+
};
|
|
262
|
+
image: StringConstructor;
|
|
263
|
+
title: StringConstructor;
|
|
264
|
+
} & SlotsToProps<MakeSlots<{
|
|
265
|
+
default: [];
|
|
266
|
+
image: [];
|
|
267
|
+
prepend: [];
|
|
268
|
+
append: [];
|
|
269
|
+
title: [];
|
|
270
|
+
extension: [];
|
|
271
|
+
}>>>>, {
|
|
272
|
+
contentHeight: vue.ComputedRef<number>;
|
|
273
|
+
extensionHeight: vue.ComputedRef<number>;
|
|
274
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
275
|
+
flat: boolean;
|
|
276
|
+
absolute: boolean;
|
|
277
|
+
height: string | number;
|
|
278
|
+
tag: string;
|
|
279
|
+
collapse: boolean;
|
|
280
|
+
rounded: string | number | boolean;
|
|
281
|
+
density: "default" | "compact" | "prominent" | "comfortable" | null;
|
|
282
|
+
extended: boolean;
|
|
283
|
+
extensionHeight: string | number;
|
|
284
|
+
floating: boolean;
|
|
285
|
+
}> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
286
|
+
$slots: MakeSlots<{
|
|
287
|
+
default: [];
|
|
288
|
+
image: [];
|
|
289
|
+
prepend: [];
|
|
290
|
+
append: [];
|
|
291
|
+
title: [];
|
|
292
|
+
extension: [];
|
|
293
|
+
}>;
|
|
294
|
+
});
|
|
295
|
+
declare type VToolbar = InstanceType<typeof VToolbar>;
|
|
296
|
+
|
|
297
|
+
declare const VToolbarTitle: {
|
|
298
|
+
new (...args: any[]): {
|
|
299
|
+
$: vue.ComponentInternalInstance;
|
|
300
|
+
$data: {};
|
|
301
|
+
$props: Partial<{
|
|
302
|
+
tag: string;
|
|
303
|
+
}> & Omit<Readonly<vue.ExtractPropTypes<{
|
|
304
|
+
tag: {
|
|
305
|
+
type: StringConstructor;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
text: StringConstructor;
|
|
309
|
+
} & SlotsToProps<MakeSlots<{
|
|
310
|
+
default: [];
|
|
311
|
+
text: [];
|
|
312
|
+
}>>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "tag">;
|
|
313
|
+
$attrs: {
|
|
314
|
+
[x: string]: unknown;
|
|
315
|
+
};
|
|
316
|
+
$refs: {
|
|
317
|
+
[x: string]: unknown;
|
|
318
|
+
};
|
|
319
|
+
$slots: Readonly<{
|
|
320
|
+
[name: string]: vue.Slot | undefined;
|
|
321
|
+
}>;
|
|
322
|
+
$root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
323
|
+
$parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
324
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
325
|
+
$el: any;
|
|
326
|
+
$options: vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
|
|
327
|
+
tag: {
|
|
328
|
+
type: StringConstructor;
|
|
329
|
+
default: string;
|
|
330
|
+
};
|
|
331
|
+
text: StringConstructor;
|
|
332
|
+
} & SlotsToProps<MakeSlots<{
|
|
333
|
+
default: [];
|
|
334
|
+
text: [];
|
|
335
|
+
}>>>>, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
336
|
+
tag: string;
|
|
337
|
+
}> & {
|
|
338
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
339
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
340
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
341
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
342
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
343
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
344
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
345
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
346
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
347
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
348
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
349
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
350
|
+
renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
351
|
+
renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
|
|
352
|
+
errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
353
|
+
};
|
|
354
|
+
$forceUpdate: () => void;
|
|
355
|
+
$nextTick: typeof vue.nextTick;
|
|
356
|
+
$watch(source: string | Function, cb: Function, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
|
|
357
|
+
} & Readonly<vue.ExtractPropTypes<{
|
|
358
|
+
tag: {
|
|
359
|
+
type: StringConstructor;
|
|
360
|
+
default: string;
|
|
361
|
+
};
|
|
362
|
+
text: StringConstructor;
|
|
363
|
+
} & SlotsToProps<MakeSlots<{
|
|
364
|
+
default: [];
|
|
365
|
+
text: [];
|
|
366
|
+
}>>>> & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties;
|
|
367
|
+
__isFragment?: undefined;
|
|
368
|
+
__isTeleport?: undefined;
|
|
369
|
+
__isSuspense?: undefined;
|
|
370
|
+
} & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
|
|
371
|
+
tag: {
|
|
372
|
+
type: StringConstructor;
|
|
373
|
+
default: string;
|
|
374
|
+
};
|
|
375
|
+
text: StringConstructor;
|
|
376
|
+
} & SlotsToProps<MakeSlots<{
|
|
377
|
+
default: [];
|
|
378
|
+
text: [];
|
|
379
|
+
}>>>>, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
380
|
+
tag: string;
|
|
381
|
+
}> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
382
|
+
$slots: MakeSlots<{
|
|
383
|
+
default: [];
|
|
384
|
+
text: [];
|
|
385
|
+
}>;
|
|
386
|
+
});
|
|
387
|
+
declare type VToolbarTitle = InstanceType<typeof VToolbarTitle>;
|
|
388
|
+
|
|
389
|
+
declare const VToolbarItems: vue.DefineComponent<{
|
|
390
|
+
color: StringConstructor;
|
|
391
|
+
variant: Omit<{
|
|
392
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
393
|
+
default: string;
|
|
394
|
+
validator: (v: any) => boolean;
|
|
395
|
+
}, "type" | "default"> & {
|
|
396
|
+
type: vue.PropType<string>;
|
|
397
|
+
default: string;
|
|
398
|
+
};
|
|
399
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
400
|
+
color: StringConstructor;
|
|
401
|
+
variant: Omit<{
|
|
402
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
403
|
+
default: string;
|
|
404
|
+
validator: (v: any) => boolean;
|
|
405
|
+
}, "type" | "default"> & {
|
|
406
|
+
type: vue.PropType<string>;
|
|
407
|
+
default: string;
|
|
408
|
+
};
|
|
409
|
+
}>>, {
|
|
410
|
+
variant: string;
|
|
411
|
+
}>;
|
|
412
|
+
declare type VToolbarItems = InstanceType<typeof VToolbarItems>;
|
|
413
|
+
|
|
414
|
+
export { VToolbar, VToolbarItems, VToolbarTitle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTooltip.mjs","names":["VOverlay","makeTransitionProps","useProxiedModel","useScopeId","forwardRefs","computed","ref","genericComponent","getUid","useRender","VTooltip","name","inheritAttrs","props","id","String","modelValue","Boolean","text","location","type","default","origin","transition","emits","value","setup","attrs","slots","isActive","scopeId","uid","overlay","split","length","activator","args"],"sources":["../../../src/components/VTooltip/VTooltip.tsx"],"sourcesContent":["// Styles\nimport './VTooltip.sass'\n\n// Components\nimport { VOverlay } from '@/components/VOverlay'\n\n// Composables\nimport { makeTransitionProps } from '@/composables/transition'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\nimport { forwardRefs } from '@/composables/forwardRefs'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, getUid, useRender } from '@/util'\n\n// Types\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\nimport type { PropType } from 'vue'\nimport type { StrategyProps } from '@/components/VOverlay/locationStrategies'\n\nexport const VTooltip = genericComponent<new () => {\n $slots: OverlaySlots\n}>()({\n name: 'VTooltip',\n\n inheritAttrs: false,\n\n props: {\n id: String,\n modelValue: Boolean,\n text: String,\n\n location: {\n type: String as PropType<StrategyProps['location']>,\n default: 'end',\n },\n origin: {\n type: String as PropType<StrategyProps['origin']>,\n default: 'auto',\n },\n\n ...makeTransitionProps({\n transition: false,\n } as const),\n },\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { attrs, slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const uid = getUid()\n const id = computed(() => props.id || `v-tooltip-${uid}`)\n\n const overlay = ref<VOverlay>()\n\n const location = computed(() => {\n return props.location.split(' ').length > 1\n ? props.location\n : props.location + ' center' as StrategyProps['location']\n })\n\n const origin = computed(() => {\n return (\n props.origin === 'auto' ||\n props.origin === 'overlap' ||\n props.origin.split(' ').length > 1 ||\n props.location.split(' ').length > 1\n ) ? props.origin\n : props.origin + ' center' as StrategyProps['origin']\n })\n\n const transition = computed(() => {\n if (props.transition) return props.transition\n return isActive.value ? 'scale-transition' : 'fade-transition'\n })\n\n useRender(() => (\n <VOverlay\n v-model={ isActive.value }\n ref={ overlay }\n class={[\n 'v-tooltip',\n ]}\n id={ id.value }\n transition={ transition.value }\n absolute\n locationStrategy=\"connected\"\n scrollStrategy=\"reposition\"\n location={ location.value }\n origin={ origin.value }\n min-width={ 0 }\n offset={ 10 }\n scrim={ false }\n persistent\n open-on-click={ false }\n open-on-hover\n close-on-back={ false }\n role=\"tooltip\"\n eager\n activatorProps={{\n 'aria-describedby': id.value,\n }}\n { ...scopeId }\n { ...attrs }\n >\n {{\n activator: slots.activator,\n default: (...args) => slots.default?.(...args) ?? props.text,\n }}\n </VOverlay>\n ))\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VTooltip = InstanceType<typeof VTooltip>\n"],"mappings":";AAAA;AACA,wB,CAEA;;SACSA,Q,iCAET;;SACSC,mB;SACAC,e;SACAC,U;SACAC,W,6CAET;;AACA,SAASC,QAAT,EAAmBC,GAAnB,QAA8B,KAA9B;SACSC,gB,EAAkBC,M,EAAQC,S,gCAEnC;;AAKA,OAAO,MAAMC,QAAQ,GAAGH,gBAAgB,
|
|
1
|
+
{"version":3,"file":"VTooltip.mjs","names":["VOverlay","makeTransitionProps","useProxiedModel","useScopeId","forwardRefs","computed","ref","genericComponent","getUid","useRender","VTooltip","name","inheritAttrs","props","id","String","modelValue","Boolean","text","location","type","default","origin","transition","emits","value","setup","attrs","slots","isActive","scopeId","uid","overlay","split","length","activator","args"],"sources":["../../../src/components/VTooltip/VTooltip.tsx"],"sourcesContent":["// Styles\nimport './VTooltip.sass'\n\n// Components\nimport { VOverlay } from '@/components/VOverlay'\n\n// Composables\nimport { makeTransitionProps } from '@/composables/transition'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\nimport { forwardRefs } from '@/composables/forwardRefs'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, getUid, useRender } from '@/util'\n\n// Types\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\nimport type { PropType } from 'vue'\nimport type { StrategyProps } from '@/components/VOverlay/locationStrategies'\n\nexport const VTooltip = genericComponent<new () => {\n $slots: OverlaySlots\n $props: VOverlay['$props']\n}>()({\n name: 'VTooltip',\n\n inheritAttrs: false,\n\n props: {\n id: String,\n modelValue: Boolean,\n text: String,\n\n location: {\n type: String as PropType<StrategyProps['location']>,\n default: 'end',\n },\n origin: {\n type: String as PropType<StrategyProps['origin']>,\n default: 'auto',\n },\n\n ...makeTransitionProps({\n transition: false,\n } as const),\n },\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { attrs, slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const uid = getUid()\n const id = computed(() => props.id || `v-tooltip-${uid}`)\n\n const overlay = ref<VOverlay>()\n\n const location = computed(() => {\n return props.location.split(' ').length > 1\n ? props.location\n : props.location + ' center' as StrategyProps['location']\n })\n\n const origin = computed(() => {\n return (\n props.origin === 'auto' ||\n props.origin === 'overlap' ||\n props.origin.split(' ').length > 1 ||\n props.location.split(' ').length > 1\n ) ? props.origin\n : props.origin + ' center' as StrategyProps['origin']\n })\n\n const transition = computed(() => {\n if (props.transition) return props.transition\n return isActive.value ? 'scale-transition' : 'fade-transition'\n })\n\n useRender(() => (\n <VOverlay\n v-model={ isActive.value }\n ref={ overlay }\n class={[\n 'v-tooltip',\n ]}\n id={ id.value }\n transition={ transition.value }\n absolute\n locationStrategy=\"connected\"\n scrollStrategy=\"reposition\"\n location={ location.value }\n origin={ origin.value }\n min-width={ 0 }\n offset={ 10 }\n scrim={ false }\n persistent\n open-on-click={ false }\n open-on-hover\n close-on-back={ false }\n role=\"tooltip\"\n eager\n activatorProps={{\n 'aria-describedby': id.value,\n }}\n { ...scopeId }\n { ...attrs }\n >\n {{\n activator: slots.activator,\n default: (...args) => slots.default?.(...args) ?? props.text,\n }}\n </VOverlay>\n ))\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VTooltip = InstanceType<typeof VTooltip>\n"],"mappings":"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"}
|