@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
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
transition-property: width, height;
|
|
12
12
|
vertical-align: middle;
|
|
13
13
|
border-radius: 50%;
|
|
14
|
-
background: transparent;
|
|
15
|
-
color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
|
|
16
14
|
}
|
|
17
15
|
.v-avatar.v-avatar--size-x-small {
|
|
18
16
|
--v-avatar-height: 24px;
|
|
@@ -41,6 +39,50 @@
|
|
|
41
39
|
height: calc(var(--v-avatar-height) + -8px);
|
|
42
40
|
width: calc(var(--v-avatar-height) + -8px);
|
|
43
41
|
}
|
|
42
|
+
.v-avatar--variant-plain, .v-avatar--variant-outlined, .v-avatar--variant-text, .v-avatar--variant-tonal {
|
|
43
|
+
background: transparent;
|
|
44
|
+
color: inherit;
|
|
45
|
+
}
|
|
46
|
+
.v-avatar--variant-plain {
|
|
47
|
+
opacity: 0.62;
|
|
48
|
+
}
|
|
49
|
+
.v-avatar--variant-plain:focus, .v-avatar--variant-plain:hover {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
}
|
|
52
|
+
.v-avatar--variant-plain .v-avatar__overlay {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
.v-avatar--variant-elevated, .v-avatar--variant-flat {
|
|
56
|
+
background: var(--v-theme-surface);
|
|
57
|
+
color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
|
|
58
|
+
}
|
|
59
|
+
.v-avatar--variant-elevated {
|
|
60
|
+
box-shadow: 0px 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 1px 1px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 3px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
|
|
61
|
+
}
|
|
62
|
+
.v-avatar--variant-flat {
|
|
63
|
+
box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
|
|
64
|
+
}
|
|
65
|
+
.v-avatar--variant-outlined {
|
|
66
|
+
border: thin solid currentColor;
|
|
67
|
+
}
|
|
68
|
+
.v-avatar--variant-text .v-avatar__overlay {
|
|
69
|
+
background: currentColor;
|
|
70
|
+
}
|
|
71
|
+
.v-avatar--variant-tonal .v-avatar__underlay {
|
|
72
|
+
background: currentColor;
|
|
73
|
+
opacity: var(--v-activated-opacity);
|
|
74
|
+
border-radius: inherit;
|
|
75
|
+
position: absolute;
|
|
76
|
+
top: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
bottom: 0;
|
|
79
|
+
left: 0;
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
}
|
|
44
82
|
.v-avatar--rounded {
|
|
45
83
|
border-radius: 4px;
|
|
84
|
+
}
|
|
85
|
+
.v-avatar .v-img {
|
|
86
|
+
height: 100%;
|
|
87
|
+
width: 100%;
|
|
46
88
|
}
|
|
@@ -5,17 +5,15 @@ import "./VAvatar.css"; // Components
|
|
|
5
5
|
import { VIcon } from "../VIcon/index.mjs";
|
|
6
6
|
import { VImg } from "../VImg/index.mjs"; // Composables
|
|
7
7
|
|
|
8
|
+
import { genOverlays, makeVariantProps, useVariant } from "../../composables/variant.mjs";
|
|
9
|
+
import { IconValue } from "../../composables/icons.mjs";
|
|
8
10
|
import { makeDensityProps, useDensity } from "../../composables/density.mjs";
|
|
9
11
|
import { makeRoundedProps, useRounded } from "../../composables/rounded.mjs";
|
|
10
12
|
import { makeSizeProps, useSize } from "../../composables/size.mjs";
|
|
11
|
-
import { makeTagProps } from "../../composables/tag.mjs";
|
|
12
|
-
import { useBackgroundColor } from "../../composables/color.mjs";
|
|
13
|
-
import { IconValue } from "../../composables/icons.mjs"; // Utilities
|
|
13
|
+
import { makeTagProps } from "../../composables/tag.mjs"; // Utilities
|
|
14
14
|
|
|
15
15
|
import { defineComponent, propsFactory, useRender } from "../../util/index.mjs";
|
|
16
|
-
import { toRef } from 'vue';
|
|
17
16
|
export const makeVAvatarProps = propsFactory({
|
|
18
|
-
color: String,
|
|
19
17
|
start: Boolean,
|
|
20
18
|
end: Boolean,
|
|
21
19
|
icon: IconValue,
|
|
@@ -23,7 +21,10 @@ export const makeVAvatarProps = propsFactory({
|
|
|
23
21
|
...makeDensityProps(),
|
|
24
22
|
...makeRoundedProps(),
|
|
25
23
|
...makeSizeProps(),
|
|
26
|
-
...makeTagProps()
|
|
24
|
+
...makeTagProps(),
|
|
25
|
+
...makeVariantProps({
|
|
26
|
+
variant: 'flat'
|
|
27
|
+
})
|
|
27
28
|
});
|
|
28
29
|
export const VAvatar = defineComponent({
|
|
29
30
|
name: 'VAvatar',
|
|
@@ -34,9 +35,10 @@ export const VAvatar = defineComponent({
|
|
|
34
35
|
slots
|
|
35
36
|
} = _ref;
|
|
36
37
|
const {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
colorClasses,
|
|
39
|
+
colorStyles,
|
|
40
|
+
variantClasses
|
|
41
|
+
} = useVariant(props);
|
|
40
42
|
const {
|
|
41
43
|
densityClasses
|
|
42
44
|
} = useDensity(props);
|
|
@@ -54,15 +56,17 @@ export const VAvatar = defineComponent({
|
|
|
54
56
|
"class": ['v-avatar', {
|
|
55
57
|
'v-avatar--start': props.start,
|
|
56
58
|
'v-avatar--end': props.end
|
|
57
|
-
},
|
|
58
|
-
"style": [
|
|
59
|
+
}, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value],
|
|
60
|
+
"style": [colorStyles.value, sizeStyles.value]
|
|
59
61
|
}, {
|
|
60
62
|
default: () => [props.image ? _createVNode(VImg, {
|
|
63
|
+
"key": "image",
|
|
61
64
|
"src": props.image,
|
|
62
65
|
"alt": ""
|
|
63
66
|
}, null) : props.icon ? _createVNode(VIcon, {
|
|
67
|
+
"key": "icon",
|
|
64
68
|
"icon": props.icon
|
|
65
|
-
}, null) : (_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots)]
|
|
69
|
+
}, null) : (_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots), genOverlays(false, 'v-avatar')]
|
|
66
70
|
});
|
|
67
71
|
});
|
|
68
72
|
return {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VAvatar.mjs","names":["VIcon","VImg","
|
|
1
|
+
{"version":3,"file":"VAvatar.mjs","names":["VIcon","VImg","genOverlays","makeVariantProps","useVariant","IconValue","makeDensityProps","useDensity","makeRoundedProps","useRounded","makeSizeProps","useSize","makeTagProps","defineComponent","propsFactory","useRender","makeVAvatarProps","start","Boolean","end","icon","image","String","variant","VAvatar","name","props","setup","slots","colorClasses","colorStyles","variantClasses","densityClasses","roundedClasses","sizeClasses","sizeStyles","value","default"],"sources":["../../../src/components/VAvatar/VAvatar.tsx"],"sourcesContent":["// Styles\nimport './VAvatar.sass'\n\n// Components\nimport { VIcon } from '@/components/VIcon'\nimport { VImg } from '@/components/VImg'\n\n// Composables\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\nimport { IconValue } from '@/composables/icons'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { defineComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVAvatarProps = propsFactory({\n start: Boolean,\n end: Boolean,\n icon: IconValue,\n image: String,\n\n ...makeDensityProps(),\n ...makeRoundedProps(),\n ...makeSizeProps(),\n ...makeTagProps(),\n ...makeVariantProps({ variant: 'flat' } as const),\n})\n\nexport const VAvatar = defineComponent({\n name: 'VAvatar',\n\n props: makeVAvatarProps(),\n\n setup (props, { slots }) {\n const { colorClasses, colorStyles, variantClasses } = useVariant(props)\n const { densityClasses } = useDensity(props)\n const { roundedClasses } = useRounded(props)\n const { sizeClasses, sizeStyles } = useSize(props)\n\n useRender(() => (\n <props.tag\n class={[\n 'v-avatar',\n {\n 'v-avatar--start': props.start,\n 'v-avatar--end': props.end,\n },\n colorClasses.value,\n densityClasses.value,\n roundedClasses.value,\n sizeClasses.value,\n variantClasses.value,\n ]}\n style={[\n colorStyles.value,\n sizeStyles.value,\n ]}\n >\n { props.image\n ? (<VImg key=\"image\" src={ props.image } alt=\"\" />)\n : props.icon\n ? (<VIcon key=\"icon\" icon={ props.icon } />)\n : slots.default?.()\n }\n\n { genOverlays(false, 'v-avatar') }\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VAvatar = InstanceType<typeof VAvatar>\n"],"mappings":";AAAA;AACA,uB,CAEA;;SACSA,K;SACAC,I,6BAET;;SACSC,W,EAAaC,gB,EAAkBC,U;SAC/BC,S;SACAC,gB,EAAkBC,U;SAClBC,gB,EAAkBC,U;SAClBC,a,EAAeC,O;SACfC,Y,qCAET;;SACSC,e,EAAiBC,Y,EAAcC,S;AAExC,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,CAAC;EAC3CG,KAAK,EAAEC,OADoC;EAE3CC,GAAG,EAAED,OAFsC;EAG3CE,IAAI,EAAEf,SAHqC;EAI3CgB,KAAK,EAAEC,MAJoC;EAM3C,GAAGhB,gBAAgB,EANwB;EAO3C,GAAGE,gBAAgB,EAPwB;EAQ3C,GAAGE,aAAa,EAR2B;EAS3C,GAAGE,YAAY,EAT4B;EAU3C,GAAGT,gBAAgB,CAAC;IAAEoB,OAAO,EAAE;EAAX,CAAD;AAVwB,CAAD,CAArC;AAaP,OAAO,MAAMC,OAAO,GAAGX,eAAe,CAAC;EACrCY,IAAI,EAAE,SAD+B;EAGrCC,KAAK,EAAEV,gBAAgB,EAHc;;EAKrCW,KAAK,CAAED,KAAF,QAAoB;IAAA,IAAX;MAAEE;IAAF,CAAW;IACvB,MAAM;MAAEC,YAAF;MAAgBC,WAAhB;MAA6BC;IAA7B,IAAgD3B,UAAU,CAACsB,KAAD,CAAhE;IACA,MAAM;MAAEM;IAAF,IAAqBzB,UAAU,CAACmB,KAAD,CAArC;IACA,MAAM;MAAEO;IAAF,IAAqBxB,UAAU,CAACiB,KAAD,CAArC;IACA,MAAM;MAAEQ,WAAF;MAAeC;IAAf,IAA8BxB,OAAO,CAACe,KAAD,CAA3C;IAEAX,SAAS,CAAC;MAAA;;MAAA;QAAA,SAEC,CACL,UADK,EAEL;UACE,mBAAmBW,KAAK,CAACT,KAD3B;UAEE,iBAAiBS,KAAK,CAACP;QAFzB,CAFK,EAMLU,YAAY,CAACO,KANR,EAOLJ,cAAc,CAACI,KAPV,EAQLH,cAAc,CAACG,KARV,EASLF,WAAW,CAACE,KATP,EAULL,cAAc,CAACK,KAVV,CAFD;QAAA,SAcC,CACLN,WAAW,CAACM,KADP,EAELD,UAAU,CAACC,KAFN;MAdD;QAAA,gBAmBJV,KAAK,CAACL,KAAN;UAAA,OACa,OADb;UAAA,OAC2BK,KAAK,CAACL,KADjC;UAAA,OAC6C;QAD7C,WAEEK,KAAK,CAACN,IAAN;UAAA,OACc,MADd;UAAA,QAC4BM,KAAK,CAACN;QADlC,6BAEEQ,KAAK,CAACS,OAFR,qBAEE,oBAAAT,KAAK,CAvBL,EA0BJ1B,WAAW,CAAC,KAAD,EAAQ,UAAR,CA1BP;MAAA;IAAA,CAAD,CAAT;IA8BA,OAAO,EAAP;EACD;;AA1CoC,CAAD,CAA/B"}
|
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
@include avatar-sizes($avatar-sizes)
|
|
20
20
|
@include avatar-density(('height', 'width'), $avatar-density)
|
|
21
21
|
@include tools.rounded($avatar-border-radius)
|
|
22
|
-
@include tools.
|
|
22
|
+
@include tools.variant($avatar-variants...)
|
|
23
23
|
|
|
24
24
|
&--rounded
|
|
25
25
|
@include tools.rounded($avatar-rounded-border-radius)
|
|
26
|
+
|
|
27
|
+
.v-img
|
|
28
|
+
height: 100%
|
|
29
|
+
width: 100%
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
@use "../../styles/tools/functions";
|
|
4
4
|
|
|
5
5
|
// Defaults
|
|
6
|
-
$avatar-background:
|
|
6
|
+
$avatar-background: var(--v-theme-surface) !default;
|
|
7
7
|
$avatar-border-radius: map.get(variables.$rounded, 'circle') !default;
|
|
8
8
|
$avatar-color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)) !default;
|
|
9
9
|
$avatar-density: ('default': 0, 'comfortable': -1, 'compact': -2) !default;
|
|
10
|
+
$avatar-elevation: 1 !default;
|
|
10
11
|
$avatar-height: 40px !default;
|
|
11
12
|
$avatar-line-height: normal !default;
|
|
13
|
+
$avatar-plain-opacity: .62 !default;
|
|
12
14
|
$avatar-rounded-border-radius: variables.$border-radius-root !default;
|
|
13
15
|
$avatar-vertical-align: middle !default;
|
|
14
16
|
$avatar-width: 40px !default;
|
|
@@ -22,7 +24,10 @@ $avatar-sizes: functions.map-deep-merge(
|
|
|
22
24
|
$avatar-sizes
|
|
23
25
|
);
|
|
24
26
|
|
|
25
|
-
$avatar-
|
|
27
|
+
$avatar-variants: (
|
|
26
28
|
$avatar-background,
|
|
27
|
-
$avatar-color
|
|
28
|
-
|
|
29
|
+
$avatar-color,
|
|
30
|
+
$avatar-elevation,
|
|
31
|
+
$avatar-plain-opacity,
|
|
32
|
+
'v-avatar'
|
|
33
|
+
);
|
|
@@ -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 VAvatar: vue.DefineComponent<{
|
|
8
|
+
color: StringConstructor;
|
|
9
|
+
variant: Omit<{
|
|
10
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
11
|
+
default: string;
|
|
12
|
+
validator: (v: any) => boolean;
|
|
13
|
+
}, "type" | "default"> & {
|
|
14
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
15
|
+
default: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
16
|
+
};
|
|
17
|
+
tag: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
rounded: {
|
|
26
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
density: {
|
|
30
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
31
|
+
default: string;
|
|
32
|
+
validator: (v: any) => boolean;
|
|
33
|
+
};
|
|
34
|
+
start: BooleanConstructor;
|
|
35
|
+
end: BooleanConstructor;
|
|
36
|
+
icon: vue.PropType<IconValue>;
|
|
37
|
+
image: StringConstructor;
|
|
38
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
39
|
+
color: StringConstructor;
|
|
40
|
+
variant: Omit<{
|
|
41
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
42
|
+
default: string;
|
|
43
|
+
validator: (v: any) => boolean;
|
|
44
|
+
}, "type" | "default"> & {
|
|
45
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
46
|
+
default: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
47
|
+
};
|
|
48
|
+
tag: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
size: {
|
|
53
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
rounded: {
|
|
57
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
density: {
|
|
61
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (v: any) => boolean;
|
|
64
|
+
};
|
|
65
|
+
start: BooleanConstructor;
|
|
66
|
+
end: BooleanConstructor;
|
|
67
|
+
icon: vue.PropType<IconValue>;
|
|
68
|
+
image: StringConstructor;
|
|
69
|
+
}>>, {
|
|
70
|
+
end: boolean;
|
|
71
|
+
start: boolean;
|
|
72
|
+
size: string | number;
|
|
73
|
+
tag: string;
|
|
74
|
+
rounded: string | number | boolean;
|
|
75
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
76
|
+
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
|
77
|
+
}>;
|
|
78
|
+
declare type VAvatar = InstanceType<typeof VAvatar>;
|
|
79
|
+
|
|
80
|
+
export { VAvatar };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { JSXComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const block: readonly ["top", "bottom"];
|
|
5
|
+
declare const inline: readonly ["start", "end", "left", "right"];
|
|
6
|
+
declare type Tblock = typeof block[number];
|
|
7
|
+
declare type Tinline = typeof inline[number];
|
|
8
|
+
declare type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
|
|
9
|
+
|
|
10
|
+
declare type IconValue = string | JSXComponent;
|
|
11
|
+
declare const IconValue: PropType<IconValue>;
|
|
12
|
+
|
|
13
|
+
declare const VBadge: vue.DefineComponent<{
|
|
14
|
+
transition: Omit<{
|
|
15
|
+
type: vue.PropType<string | boolean | (vue.TransitionProps & {
|
|
16
|
+
component?: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions> | undefined;
|
|
17
|
+
})>;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (val: unknown) => boolean;
|
|
20
|
+
}, "type" | "default"> & {
|
|
21
|
+
type: vue.PropType<string | boolean | (vue.TransitionProps & {
|
|
22
|
+
component?: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions> | undefined;
|
|
23
|
+
})>;
|
|
24
|
+
default: string | boolean | (vue.TransitionProps & {
|
|
25
|
+
component?: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions> | undefined;
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
theme: StringConstructor;
|
|
29
|
+
tag: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
rounded: {
|
|
34
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
location: {
|
|
38
|
+
type: vue.PropType<Anchor | (Anchor & {})>;
|
|
39
|
+
default: Anchor | (Anchor & {});
|
|
40
|
+
};
|
|
41
|
+
bordered: BooleanConstructor;
|
|
42
|
+
color: StringConstructor;
|
|
43
|
+
content: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
dot: BooleanConstructor;
|
|
45
|
+
floating: BooleanConstructor;
|
|
46
|
+
icon: vue.PropType<IconValue>;
|
|
47
|
+
inline: BooleanConstructor;
|
|
48
|
+
label: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
max: (StringConstructor | NumberConstructor)[];
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
offsetX: (StringConstructor | NumberConstructor)[];
|
|
58
|
+
offsetY: (StringConstructor | NumberConstructor)[];
|
|
59
|
+
textColor: StringConstructor;
|
|
60
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
61
|
+
transition: Omit<{
|
|
62
|
+
type: vue.PropType<string | boolean | (vue.TransitionProps & {
|
|
63
|
+
component?: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions> | undefined;
|
|
64
|
+
})>;
|
|
65
|
+
default: string;
|
|
66
|
+
validator: (val: unknown) => boolean;
|
|
67
|
+
}, "type" | "default"> & {
|
|
68
|
+
type: vue.PropType<string | boolean | (vue.TransitionProps & {
|
|
69
|
+
component?: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions> | undefined;
|
|
70
|
+
})>;
|
|
71
|
+
default: string | boolean | (vue.TransitionProps & {
|
|
72
|
+
component?: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions> | undefined;
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
theme: StringConstructor;
|
|
76
|
+
tag: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
rounded: {
|
|
81
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
location: {
|
|
85
|
+
type: vue.PropType<Anchor | (Anchor & {})>;
|
|
86
|
+
default: Anchor | (Anchor & {});
|
|
87
|
+
};
|
|
88
|
+
bordered: BooleanConstructor;
|
|
89
|
+
color: StringConstructor;
|
|
90
|
+
content: (StringConstructor | NumberConstructor)[];
|
|
91
|
+
dot: BooleanConstructor;
|
|
92
|
+
floating: BooleanConstructor;
|
|
93
|
+
icon: vue.PropType<IconValue>;
|
|
94
|
+
inline: BooleanConstructor;
|
|
95
|
+
label: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
max: (StringConstructor | NumberConstructor)[];
|
|
100
|
+
modelValue: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
offsetX: (StringConstructor | NumberConstructor)[];
|
|
105
|
+
offsetY: (StringConstructor | NumberConstructor)[];
|
|
106
|
+
textColor: StringConstructor;
|
|
107
|
+
}>>, {
|
|
108
|
+
inline: boolean;
|
|
109
|
+
location: Anchor | (Anchor & {});
|
|
110
|
+
transition: string | boolean | (vue.TransitionProps & {
|
|
111
|
+
component?: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions> | undefined;
|
|
112
|
+
});
|
|
113
|
+
label: string;
|
|
114
|
+
tag: string;
|
|
115
|
+
dot: boolean;
|
|
116
|
+
rounded: string | number | boolean;
|
|
117
|
+
floating: boolean;
|
|
118
|
+
modelValue: boolean;
|
|
119
|
+
bordered: boolean;
|
|
120
|
+
}>;
|
|
121
|
+
declare type VBadge = InstanceType<typeof VBadge>;
|
|
122
|
+
|
|
123
|
+
export { VBadge };
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { JSXComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const block: readonly ["top", "bottom"];
|
|
5
|
+
declare const inline: readonly ["start", "end", "left", "right"];
|
|
6
|
+
declare type Tblock = typeof block[number];
|
|
7
|
+
declare type Tinline = typeof inline[number];
|
|
8
|
+
declare type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
|
|
9
|
+
|
|
10
|
+
declare type IconValue = string | JSXComponent;
|
|
11
|
+
declare const IconValue: PropType<IconValue>;
|
|
12
|
+
|
|
13
|
+
declare const VBanner: vue.DefineComponent<{
|
|
14
|
+
theme: StringConstructor;
|
|
15
|
+
tag: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
rounded: {
|
|
20
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
position: {
|
|
24
|
+
type: PropType<"fixed" | "absolute" | "static" | "relative" | "sticky">;
|
|
25
|
+
validator: (v: any) => boolean;
|
|
26
|
+
};
|
|
27
|
+
location: PropType<Anchor>;
|
|
28
|
+
elevation: {
|
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
validator(v: any): boolean;
|
|
31
|
+
};
|
|
32
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
33
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
34
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
35
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
36
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
37
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
38
|
+
density: {
|
|
39
|
+
type: PropType<"default" | "compact" | "comfortable" | null>;
|
|
40
|
+
default: string;
|
|
41
|
+
validator: (v: any) => boolean;
|
|
42
|
+
};
|
|
43
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
44
|
+
avatar: StringConstructor;
|
|
45
|
+
color: StringConstructor;
|
|
46
|
+
icon: PropType<IconValue>;
|
|
47
|
+
lines: PropType<"one" | "two" | "three">;
|
|
48
|
+
stacked: BooleanConstructor;
|
|
49
|
+
sticky: BooleanConstructor;
|
|
50
|
+
text: StringConstructor;
|
|
51
|
+
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
52
|
+
theme: StringConstructor;
|
|
53
|
+
tag: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
rounded: {
|
|
58
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
position: {
|
|
62
|
+
type: PropType<"fixed" | "absolute" | "static" | "relative" | "sticky">;
|
|
63
|
+
validator: (v: any) => boolean;
|
|
64
|
+
};
|
|
65
|
+
location: PropType<Anchor>;
|
|
66
|
+
elevation: {
|
|
67
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
68
|
+
validator(v: any): boolean;
|
|
69
|
+
};
|
|
70
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
71
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
72
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
73
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
74
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
75
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
76
|
+
density: {
|
|
77
|
+
type: PropType<"default" | "compact" | "comfortable" | null>;
|
|
78
|
+
default: string;
|
|
79
|
+
validator: (v: any) => boolean;
|
|
80
|
+
};
|
|
81
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
82
|
+
avatar: StringConstructor;
|
|
83
|
+
color: StringConstructor;
|
|
84
|
+
icon: PropType<IconValue>;
|
|
85
|
+
lines: PropType<"one" | "two" | "three">;
|
|
86
|
+
stacked: BooleanConstructor;
|
|
87
|
+
sticky: BooleanConstructor;
|
|
88
|
+
text: StringConstructor;
|
|
89
|
+
}>>, {
|
|
90
|
+
tag: string;
|
|
91
|
+
sticky: boolean;
|
|
92
|
+
rounded: string | number | boolean;
|
|
93
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
94
|
+
stacked: boolean;
|
|
95
|
+
}>;
|
|
96
|
+
declare type VBanner = InstanceType<typeof VBanner>;
|
|
97
|
+
|
|
98
|
+
declare const VBannerActions: vue.DefineComponent<{
|
|
99
|
+
color: StringConstructor;
|
|
100
|
+
density: StringConstructor;
|
|
101
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
102
|
+
color: StringConstructor;
|
|
103
|
+
density: StringConstructor;
|
|
104
|
+
}>>, {}>;
|
|
105
|
+
|
|
106
|
+
declare const VBannerText: vue.DefineComponent<{
|
|
107
|
+
tag: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
114
|
+
tag: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
}>>, {
|
|
119
|
+
tag: string;
|
|
120
|
+
}>;
|
|
121
|
+
|
|
122
|
+
export { VBanner, VBannerActions, VBannerText };
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const VBottomNavigation: vue.DefineComponent<{
|
|
4
|
+
theme: StringConstructor;
|
|
5
|
+
modelValue: Omit<{
|
|
6
|
+
type: null;
|
|
7
|
+
default: undefined;
|
|
8
|
+
}, "type" | "default"> & {
|
|
9
|
+
type: vue.PropType<any>;
|
|
10
|
+
default: any;
|
|
11
|
+
};
|
|
12
|
+
multiple: BooleanConstructor;
|
|
13
|
+
mandatory: vue.PropType<boolean | "force">;
|
|
14
|
+
max: NumberConstructor;
|
|
15
|
+
selectedClass: {
|
|
16
|
+
type: vue.PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: BooleanConstructor;
|
|
20
|
+
tag: Omit<{
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
}, "type" | "default"> & {
|
|
24
|
+
type: vue.PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
name: Omit<{
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
}, "type" | "default"> & {
|
|
30
|
+
type: vue.PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
order: {
|
|
34
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
absolute: BooleanConstructor;
|
|
38
|
+
rounded: {
|
|
39
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
elevation: {
|
|
43
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
validator(v: any): boolean;
|
|
45
|
+
};
|
|
46
|
+
density: {
|
|
47
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
48
|
+
default: string;
|
|
49
|
+
validator: (v: any) => boolean;
|
|
50
|
+
};
|
|
51
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
52
|
+
bgColor: StringConstructor;
|
|
53
|
+
color: StringConstructor;
|
|
54
|
+
grow: BooleanConstructor;
|
|
55
|
+
mode: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
validator: (v: any) => boolean;
|
|
58
|
+
};
|
|
59
|
+
height: {
|
|
60
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
+
'update:modelValue': (value: any) => true;
|
|
65
|
+
}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
66
|
+
theme: StringConstructor;
|
|
67
|
+
modelValue: Omit<{
|
|
68
|
+
type: null;
|
|
69
|
+
default: undefined;
|
|
70
|
+
}, "type" | "default"> & {
|
|
71
|
+
type: vue.PropType<any>;
|
|
72
|
+
default: any;
|
|
73
|
+
};
|
|
74
|
+
multiple: BooleanConstructor;
|
|
75
|
+
mandatory: vue.PropType<boolean | "force">;
|
|
76
|
+
max: NumberConstructor;
|
|
77
|
+
selectedClass: {
|
|
78
|
+
type: vue.PropType<string>;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
disabled: BooleanConstructor;
|
|
82
|
+
tag: Omit<{
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
}, "type" | "default"> & {
|
|
86
|
+
type: vue.PropType<string>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
name: Omit<{
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
}, "type" | "default"> & {
|
|
92
|
+
type: vue.PropType<string>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
order: {
|
|
96
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
absolute: BooleanConstructor;
|
|
100
|
+
rounded: {
|
|
101
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
elevation: {
|
|
105
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
106
|
+
validator(v: any): boolean;
|
|
107
|
+
};
|
|
108
|
+
density: {
|
|
109
|
+
type: vue.PropType<"default" | "compact" | "comfortable" | null>;
|
|
110
|
+
default: string;
|
|
111
|
+
validator: (v: any) => boolean;
|
|
112
|
+
};
|
|
113
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
114
|
+
bgColor: StringConstructor;
|
|
115
|
+
color: StringConstructor;
|
|
116
|
+
grow: BooleanConstructor;
|
|
117
|
+
mode: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
validator: (v: any) => boolean;
|
|
120
|
+
};
|
|
121
|
+
height: {
|
|
122
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
123
|
+
default: number;
|
|
124
|
+
};
|
|
125
|
+
}>> & {
|
|
126
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
absolute: boolean;
|
|
129
|
+
height: string | number;
|
|
130
|
+
name: string;
|
|
131
|
+
order: string | number;
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
multiple: boolean;
|
|
134
|
+
tag: string;
|
|
135
|
+
rounded: string | number | boolean;
|
|
136
|
+
density: "default" | "compact" | "comfortable" | null;
|
|
137
|
+
modelValue: any;
|
|
138
|
+
selectedClass: string;
|
|
139
|
+
grow: boolean;
|
|
140
|
+
}>;
|
|
141
|
+
declare type VBottomNavigation = InstanceType<typeof VBottomNavigation>;
|
|
142
|
+
|
|
143
|
+
export { VBottomNavigation };
|
|
@@ -28,9 +28,9 @@ export const VBreadcrumbsItem = defineComponent({
|
|
|
28
28
|
} = _ref;
|
|
29
29
|
const link = useLink(props, attrs);
|
|
30
30
|
const isActive = computed(() => {
|
|
31
|
-
var _link$
|
|
31
|
+
var _link$isActive;
|
|
32
32
|
|
|
33
|
-
return props.active || ((_link$
|
|
33
|
+
return props.active || ((_link$isActive = link.isActive) == null ? void 0 : _link$isActive.value);
|
|
34
34
|
});
|
|
35
35
|
const color = computed(() => isActive.value ? props.activeColor : props.color);
|
|
36
36
|
const {
|