@vuetify/nightly 3.6.10-master.2024-06-21 → 3.6.11-dev.2024-07-03
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 +291 -119
- package/dist/json/importMap-labs.json +28 -28
- package/dist/json/importMap.json +106 -106
- package/dist/json/tags.json +49 -6
- package/dist/json/web-types.json +601 -211
- package/dist/vuetify-labs.css +2575 -2559
- package/dist/vuetify-labs.d.ts +802 -519
- package/dist/vuetify-labs.esm.js +86 -71
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +86 -71
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +627 -611
- package/dist/vuetify.d.ts +716 -505
- package/dist/vuetify.esm.js +36 -16
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +36 -16
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +24 -24
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/index.d.mts +6 -0
- package/lib/components/VAutocomplete/index.d.mts +49 -49
- package/lib/components/VAvatar/VAvatar.css +7 -0
- package/lib/components/VAvatar/VAvatar.mjs +6 -1
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VAvatar/VAvatar.sass +1 -0
- package/lib/components/VAvatar/_variables.scss +13 -0
- package/lib/components/VAvatar/index.d.mts +6 -0
- package/lib/components/VBottomSheet/index.d.mts +7 -7
- package/lib/components/VBreadcrumbs/index.d.mts +8 -8
- package/lib/components/VBtn/VBtn.mjs +3 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.mts +6 -0
- package/lib/components/VCarousel/index.d.mts +16 -7
- package/lib/components/VCheckbox/index.d.mts +6 -6
- package/lib/components/VCombobox/index.d.mts +49 -49
- package/lib/components/VDialog/index.d.mts +31 -31
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +7 -2
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +122 -14
- package/lib/components/VFab/index.d.mts +6 -0
- package/lib/components/VFileInput/index.d.mts +18 -18
- package/lib/components/VForm/index.d.mts +9 -9
- package/lib/components/VGrid/VContainer.mjs +6 -1
- package/lib/components/VGrid/VContainer.mjs.map +1 -1
- package/lib/components/VGrid/index.d.mts +36 -0
- package/lib/components/VImg/VImg.css +9 -0
- package/lib/components/VImg/VImg.mjs +2 -0
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/VImg.sass +9 -0
- package/lib/components/VImg/index.d.mts +16 -7
- package/lib/components/VInput/index.d.mts +6 -6
- package/lib/components/VList/index.d.mts +12 -12
- package/lib/components/VMenu/index.d.mts +33 -33
- package/lib/components/VOverlay/VOverlay.mjs +1 -1
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +7 -7
- package/lib/components/VRadioGroup/index.d.mts +6 -6
- package/lib/components/VRangeSlider/index.d.mts +6 -6
- package/lib/components/VSelect/index.d.mts +49 -49
- package/lib/components/VSlideGroup/VSlideGroup.mjs +3 -1
- package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +6 -0
- package/lib/components/VSlider/index.d.mts +6 -6
- package/lib/components/VSnackbar/index.d.mts +33 -33
- package/lib/components/VSpeedDial/index.d.mts +9 -9
- package/lib/components/VSwitch/index.d.mts +6 -6
- package/lib/components/VTabs/index.d.mts +21 -3
- package/lib/components/VTextField/index.d.mts +18 -18
- package/lib/components/VTextarea/index.d.mts +18 -18
- package/lib/components/VTooltip/index.d.mts +39 -39
- package/lib/components/VValidation/index.d.mts +9 -8
- package/lib/components/index.d.mts +675 -464
- package/lib/composables/validation.mjs +8 -6
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +41 -41
- package/lib/labs/VDateInput/index.d.mts +6 -6
- package/lib/labs/VNumberInput/VNumberInput.mjs +48 -55
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +6 -6
- package/lib/labs/VSnackbarQueue/index.d.mts +42 -42
- package/lib/labs/VStepperVertical/VStepperVertical.mjs +2 -0
- package/lib/labs/VStepperVertical/VStepperVertical.mjs.map +1 -1
- package/lib/labs/VStepperVertical/index.d.mts +90 -18
- package/lib/labs/VTreeview/index.d.mts +16 -16
- package/lib/labs/components.d.mts +160 -88
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VAvatar.mjs","names":["VDefaultsProvider","VIcon","VImg","makeComponentProps","makeDensityProps","useDensity","IconValue","makeRoundedProps","useRounded","makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","genericComponent","propsFactory","useRender","makeVAvatarProps","start","Boolean","end","icon","image","String","text","variant","VAvatar","name","props","setup","_ref","slots","themeClasses","colorClasses","colorStyles","variantClasses","densityClasses","roundedClasses","sizeClasses","sizeStyles","_createVNode","tag","value","class","style","default","cover"],"sources":["../../../src/components/VAvatar/VAvatar.tsx"],"sourcesContent":["// Styles\nimport './VAvatar.sass'\n\n// Components\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { VImg } from '@/components/VImg'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { IconValue } from '@/composables/icons'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVAvatarProps = propsFactory({\n start: Boolean,\n end: Boolean,\n icon: IconValue,\n image: String,\n text: String,\n\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeRoundedProps(),\n ...makeSizeProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'flat' } as const),\n}, 'VAvatar')\n\nexport const VAvatar = genericComponent()({\n name: 'VAvatar',\n\n props: makeVAvatarProps(),\n\n setup (props, { slots }) {\n const { themeClasses } = provideTheme(props)\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 themeClasses.value,\n colorClasses.value,\n densityClasses.value,\n roundedClasses.value,\n sizeClasses.value,\n variantClasses.value,\n props.class,\n ]}\n style={[\n colorStyles.value,\n sizeStyles.value,\n props.style,\n ]}\n >\n { !slots.default ? (\n props.image\n ? (<VImg key=\"image\" src={ props.image } alt=\"\" cover />)\n : props.icon\n ? (<VIcon key=\"icon\" icon={ props.icon } />)\n : props.text\n ) : (\n <VDefaultsProvider\n key=\"content-defaults\"\n defaults={{\n VImg: {\n cover: true,\n image: props.image,\n },\n VIcon: {\n icon: props.icon,\n },\n }}\n >\n { slots.default() }\n </VDefaultsProvider>\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;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,KAAK;AAAA,SACLC,IAAI,6BAEb;AAAA,SACSC,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,SAAS;AAAA,SACTC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,aAAa,EAAEC,OAAO;AAAA,SACtBC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,WAAW,EAAEC,gBAAgB,EAAEC,UAAU,yCAElD;AAAA,SACSC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAElD,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,CAAC;EAC3CG,KAAK,EAAEC,OAAO;EACdC,GAAG,EAAED,OAAO;EACZE,IAAI,EAAElB,SAAS;EACfmB,KAAK,EAAEC,MAAM;EACbC,IAAI,EAAED,MAAM;EAEZ,
|
1
|
+
{"version":3,"file":"VAvatar.mjs","names":["VDefaultsProvider","VIcon","VImg","makeBorderProps","useBorder","makeComponentProps","makeDensityProps","useDensity","IconValue","makeRoundedProps","useRounded","makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","genericComponent","propsFactory","useRender","makeVAvatarProps","start","Boolean","end","icon","image","String","text","variant","VAvatar","name","props","setup","_ref","slots","themeClasses","borderClasses","colorClasses","colorStyles","variantClasses","densityClasses","roundedClasses","sizeClasses","sizeStyles","_createVNode","tag","value","class","style","default","cover"],"sources":["../../../src/components/VAvatar/VAvatar.tsx"],"sourcesContent":["// Styles\nimport './VAvatar.sass'\n\n// Components\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { VImg } from '@/components/VImg'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { IconValue } from '@/composables/icons'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVAvatarProps = propsFactory({\n start: Boolean,\n end: Boolean,\n icon: IconValue,\n image: String,\n text: String,\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeRoundedProps(),\n ...makeSizeProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'flat' } as const),\n}, 'VAvatar')\n\nexport const VAvatar = genericComponent()({\n name: 'VAvatar',\n\n props: makeVAvatarProps(),\n\n setup (props, { slots }) {\n const { themeClasses } = provideTheme(props)\n const { borderClasses } = useBorder(props)\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 themeClasses.value,\n borderClasses.value,\n colorClasses.value,\n densityClasses.value,\n roundedClasses.value,\n sizeClasses.value,\n variantClasses.value,\n props.class,\n ]}\n style={[\n colorStyles.value,\n sizeStyles.value,\n props.style,\n ]}\n >\n { !slots.default ? (\n props.image\n ? (<VImg key=\"image\" src={ props.image } alt=\"\" cover />)\n : props.icon\n ? (<VIcon key=\"icon\" icon={ props.icon } />)\n : props.text\n ) : (\n <VDefaultsProvider\n key=\"content-defaults\"\n defaults={{\n VImg: {\n cover: true,\n image: props.image,\n },\n VIcon: {\n icon: props.icon,\n },\n }}\n >\n { slots.default() }\n </VDefaultsProvider>\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;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,KAAK;AAAA,SACLC,IAAI,6BAEb;AAAA,SACSC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,g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AC,KAAK,EAAE,UAAU,CAAC;IAAA,EAEnC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -1,10 +1,16 @@
|
|
1
1
|
@use "sass:map";
|
2
|
+
@use '../../styles/settings';
|
2
3
|
@use "../../styles/settings/variables";
|
3
4
|
@use "../../styles/tools/functions";
|
4
5
|
|
5
6
|
// Defaults
|
6
7
|
$avatar-background: var(--v-theme-surface) !default;
|
7
8
|
$avatar-border-radius: map.get(variables.$rounded, 'circle') !default;
|
9
|
+
$avatar-border-color: settings.$border-color-root !default;
|
10
|
+
$avatar-border-radius: map.get(settings.$rounded, 0) !default;
|
11
|
+
$avatar-border-style: settings.$border-style-root !default;
|
12
|
+
$avatar-border-thin-width: thin !default;
|
13
|
+
$avatar-border-width: thin !default;
|
8
14
|
$avatar-color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)) !default;
|
9
15
|
$avatar-density: ('default': 0, 'comfortable': -1, 'compact': -2) !default;
|
10
16
|
$avatar-elevation: 1 !default;
|
@@ -26,6 +32,13 @@ $avatar-sizes: functions.map-deep-merge(
|
|
26
32
|
$avatar-sizes
|
27
33
|
);
|
28
34
|
|
35
|
+
$avatar-border: (
|
36
|
+
$avatar-border-color,
|
37
|
+
$avatar-border-style,
|
38
|
+
$avatar-border-width,
|
39
|
+
$avatar-border-thin-width
|
40
|
+
) !default;
|
41
|
+
|
29
42
|
$avatar-variants: (
|
30
43
|
$avatar-background,
|
31
44
|
$avatar-color,
|
@@ -27,6 +27,7 @@ declare const VAvatar: {
|
|
27
27
|
theme?: string | undefined;
|
28
28
|
color?: string | undefined;
|
29
29
|
icon?: IconValue | undefined;
|
30
|
+
border?: string | number | boolean | undefined;
|
30
31
|
rounded?: string | number | boolean | undefined;
|
31
32
|
} & {
|
32
33
|
$children?: vue.VNodeChild | {
|
@@ -53,6 +54,7 @@ declare const VAvatar: {
|
|
53
54
|
theme?: string | undefined;
|
54
55
|
color?: string | undefined;
|
55
56
|
icon?: IconValue | undefined;
|
57
|
+
border?: string | number | boolean | undefined;
|
56
58
|
rounded?: string | number | boolean | undefined;
|
57
59
|
} & {
|
58
60
|
$children?: vue.VNodeChild | {
|
@@ -100,6 +102,7 @@ declare const VAvatar: {
|
|
100
102
|
theme?: string | undefined;
|
101
103
|
color?: string | undefined;
|
102
104
|
icon?: IconValue | undefined;
|
105
|
+
border?: string | number | boolean | undefined;
|
103
106
|
rounded?: string | number | boolean | undefined;
|
104
107
|
} & {
|
105
108
|
$children?: vue.VNodeChild | {
|
@@ -140,6 +143,7 @@ declare const VAvatar: {
|
|
140
143
|
theme?: string | undefined;
|
141
144
|
color?: string | undefined;
|
142
145
|
icon?: IconValue | undefined;
|
146
|
+
border?: string | number | boolean | undefined;
|
143
147
|
rounded?: string | number | boolean | undefined;
|
144
148
|
} & {
|
145
149
|
$children?: vue.VNodeChild | {
|
@@ -198,6 +202,7 @@ declare const VAvatar: {
|
|
198
202
|
type: vue.PropType<vue.StyleValue>;
|
199
203
|
default: null;
|
200
204
|
};
|
205
|
+
border: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
201
206
|
start: BooleanConstructor;
|
202
207
|
end: BooleanConstructor;
|
203
208
|
icon: vue.PropType<IconValue>;
|
@@ -237,6 +242,7 @@ declare const VAvatar: {
|
|
237
242
|
type: vue.PropType<vue.StyleValue>;
|
238
243
|
default: null;
|
239
244
|
};
|
245
|
+
border: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
240
246
|
start: BooleanConstructor;
|
241
247
|
end: BooleanConstructor;
|
242
248
|
icon: vue.PropType<IconValue>;
|
@@ -101,10 +101,10 @@ declare const VBottomSheet: {
|
|
101
101
|
component: vue.Component;
|
102
102
|
}>;
|
103
103
|
zIndex: NonNullable<string | number>;
|
104
|
+
eager: boolean;
|
104
105
|
modelValue: boolean;
|
105
106
|
inset: boolean;
|
106
107
|
origin: NonNullable<Anchor | "auto" | "overlap">;
|
107
|
-
eager: boolean;
|
108
108
|
location: Anchor;
|
109
109
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
110
110
|
updateLocation: (e: Event) => void;
|
@@ -187,10 +187,10 @@ declare const VBottomSheet: {
|
|
187
187
|
component: vue.Component;
|
188
188
|
}>;
|
189
189
|
zIndex: NonNullable<string | number>;
|
190
|
+
eager: boolean;
|
190
191
|
modelValue: boolean;
|
191
192
|
inset: boolean;
|
192
193
|
origin: NonNullable<Anchor | "auto" | "overlap">;
|
193
|
-
eager: boolean;
|
194
194
|
location: Anchor;
|
195
195
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
196
196
|
updateLocation: (e: Event) => void;
|
@@ -271,10 +271,10 @@ declare const VBottomSheet: {
|
|
271
271
|
component: vue.Component;
|
272
272
|
}>;
|
273
273
|
zIndex: NonNullable<string | number>;
|
274
|
+
eager: boolean;
|
274
275
|
modelValue: boolean;
|
275
276
|
inset: boolean;
|
276
277
|
origin: NonNullable<Anchor | "auto" | "overlap">;
|
277
|
-
eager: boolean;
|
278
278
|
location: Anchor;
|
279
279
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
280
280
|
updateLocation: (e: Event) => void;
|
@@ -323,10 +323,10 @@ declare const VBottomSheet: {
|
|
323
323
|
component: vue.Component;
|
324
324
|
}>;
|
325
325
|
zIndex: NonNullable<string | number>;
|
326
|
+
eager: boolean;
|
326
327
|
modelValue: boolean;
|
327
328
|
inset: boolean;
|
328
329
|
origin: NonNullable<Anchor | "auto" | "overlap">;
|
329
|
-
eager: boolean;
|
330
330
|
location: Anchor;
|
331
331
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
332
332
|
updateLocation: (e: Event) => void;
|
@@ -407,10 +407,10 @@ declare const VBottomSheet: {
|
|
407
407
|
component: vue.Component;
|
408
408
|
}>;
|
409
409
|
zIndex: NonNullable<string | number>;
|
410
|
+
eager: boolean;
|
410
411
|
modelValue: boolean;
|
411
412
|
inset: boolean;
|
412
413
|
origin: NonNullable<Anchor | "auto" | "overlap">;
|
413
|
-
eager: boolean;
|
414
414
|
location: Anchor;
|
415
415
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
416
416
|
updateLocation: (e: Event) => void;
|
@@ -443,10 +443,10 @@ declare const VBottomSheet: {
|
|
443
443
|
component: vue.Component;
|
444
444
|
}>;
|
445
445
|
zIndex: NonNullable<string | number>;
|
446
|
+
eager: boolean;
|
446
447
|
modelValue: boolean;
|
447
448
|
inset: boolean;
|
448
449
|
origin: NonNullable<Anchor | "auto" | "overlap">;
|
449
|
-
eager: boolean;
|
450
450
|
location: Anchor;
|
451
451
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
452
452
|
updateLocation: (e: Event) => void;
|
@@ -529,10 +529,10 @@ declare const VBottomSheet: {
|
|
529
529
|
component: vue.Component;
|
530
530
|
}>;
|
531
531
|
zIndex: NonNullable<string | number>;
|
532
|
+
eager: boolean;
|
532
533
|
modelValue: boolean;
|
533
534
|
inset: boolean;
|
534
535
|
origin: NonNullable<Anchor | "auto" | "overlap">;
|
535
|
-
eager: boolean;
|
536
536
|
location: Anchor;
|
537
537
|
locationStrategy: "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => {
|
538
538
|
updateLocation: (e: Event) => void;
|
@@ -65,8 +65,8 @@ declare const VBreadcrumbs: {
|
|
65
65
|
icon?: IconValue | undefined;
|
66
66
|
rounded?: string | number | boolean | undefined;
|
67
67
|
bgColor?: string | undefined;
|
68
|
-
activeClass?: string | undefined;
|
69
68
|
activeColor?: string | undefined;
|
69
|
+
activeClass?: string | undefined;
|
70
70
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<Record<string, any>, "v-slot:default" | "$children" | "v-slots" | "items" | "v-slot:title" | "v-slot:prepend" | "v-slot:divider" | "v-slot:item">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
71
71
|
style: vue.StyleValue;
|
72
72
|
disabled: boolean;
|
@@ -80,8 +80,8 @@ declare const VBreadcrumbs: {
|
|
80
80
|
icon?: IconValue | undefined;
|
81
81
|
rounded?: string | number | boolean | undefined;
|
82
82
|
bgColor?: string | undefined;
|
83
|
-
activeClass?: string | undefined;
|
84
83
|
activeColor?: string | undefined;
|
84
|
+
activeClass?: string | undefined;
|
85
85
|
}, {
|
86
86
|
style: vue.StyleValue;
|
87
87
|
disabled: boolean;
|
@@ -135,8 +135,8 @@ declare const VBreadcrumbs: {
|
|
135
135
|
icon?: IconValue | undefined;
|
136
136
|
rounded?: string | number | boolean | undefined;
|
137
137
|
bgColor?: string | undefined;
|
138
|
-
activeClass?: string | undefined;
|
139
138
|
activeColor?: string | undefined;
|
139
|
+
activeClass?: string | undefined;
|
140
140
|
}, {}, {}, {}, {}, {
|
141
141
|
style: vue.StyleValue;
|
142
142
|
disabled: boolean;
|
@@ -162,8 +162,8 @@ declare const VBreadcrumbs: {
|
|
162
162
|
icon?: IconValue | undefined;
|
163
163
|
rounded?: string | number | boolean | undefined;
|
164
164
|
bgColor?: string | undefined;
|
165
|
-
activeClass?: string | undefined;
|
166
165
|
activeColor?: string | undefined;
|
166
|
+
activeClass?: string | undefined;
|
167
167
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<Record<string, any>, "v-slot:default" | "$children" | "v-slots" | "items" | "v-slot:title" | "v-slot:prepend" | "v-slot:divider" | "v-slot:item">, string, {
|
168
168
|
style: vue.StyleValue;
|
169
169
|
disabled: boolean;
|
@@ -322,8 +322,8 @@ declare const VBreadcrumbsItem: {
|
|
322
322
|
href?: string | undefined;
|
323
323
|
color?: string | undefined;
|
324
324
|
to?: vue_router.RouteLocationRaw | undefined;
|
325
|
-
activeClass?: string | undefined;
|
326
325
|
activeColor?: string | undefined;
|
326
|
+
activeClass?: string | undefined;
|
327
327
|
} & {
|
328
328
|
$children?: vue.VNodeChild | {
|
329
329
|
default?: (() => vue.VNodeChild) | undefined;
|
@@ -346,8 +346,8 @@ declare const VBreadcrumbsItem: {
|
|
346
346
|
href?: string | undefined;
|
347
347
|
color?: string | undefined;
|
348
348
|
to?: vue_router.RouteLocationRaw | undefined;
|
349
|
-
activeClass?: string | undefined;
|
350
349
|
activeColor?: string | undefined;
|
350
|
+
activeClass?: string | undefined;
|
351
351
|
} & {
|
352
352
|
$children?: vue.VNodeChild | {
|
353
353
|
default?: (() => vue.VNodeChild) | undefined;
|
@@ -388,8 +388,8 @@ declare const VBreadcrumbsItem: {
|
|
388
388
|
href?: string | undefined;
|
389
389
|
color?: string | undefined;
|
390
390
|
to?: vue_router.RouteLocationRaw | undefined;
|
391
|
-
activeClass?: string | undefined;
|
392
391
|
activeColor?: string | undefined;
|
392
|
+
activeClass?: string | undefined;
|
393
393
|
} & {
|
394
394
|
$children?: vue.VNodeChild | {
|
395
395
|
default?: (() => vue.VNodeChild) | undefined;
|
@@ -423,8 +423,8 @@ declare const VBreadcrumbsItem: {
|
|
423
423
|
href?: string | undefined;
|
424
424
|
color?: string | undefined;
|
425
425
|
to?: vue_router.RouteLocationRaw | undefined;
|
426
|
-
activeClass?: string | undefined;
|
427
426
|
activeColor?: string | undefined;
|
427
|
+
activeClass?: string | undefined;
|
428
428
|
} & {
|
429
429
|
$children?: vue.VNodeChild | {
|
430
430
|
default?: (() => vue.VNodeChild) | undefined;
|
@@ -32,6 +32,7 @@ export const makeVBtnProps = propsFactory({
|
|
32
32
|
type: Boolean,
|
33
33
|
default: undefined
|
34
34
|
},
|
35
|
+
activeColor: String,
|
35
36
|
baseColor: String,
|
36
37
|
symbol: {
|
37
38
|
type: null,
|
@@ -123,10 +124,11 @@ export const VBtn = genericComponent()({
|
|
123
124
|
}
|
124
125
|
return group?.isSelected.value;
|
125
126
|
});
|
127
|
+
const color = computed(() => isActive.value ? props.activeColor ?? props.color : props.color);
|
126
128
|
const variantProps = computed(() => {
|
127
129
|
const showColor = group?.isSelected.value && (!link.isLink.value || link.isActive?.value) || !group || link.isActive?.value;
|
128
130
|
return {
|
129
|
-
color: showColor ?
|
131
|
+
color: showColor ? color.value ?? props.baseColor : props.baseColor,
|
130
132
|
variant: props.variant
|
131
133
|
};
|
132
134
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VBtn.mjs","names":["VBtnToggleSymbol","VDefaultsProvider","VIcon","VProgressCircular","makeBorderProps","useBorder","makeComponentProps","makeDensityProps","useDensity","makeDimensionProps","useDimension","makeElevationProps","useElevation","makeGroupItemProps","useGroupItem","IconValue","makeLoaderProps","useLoader","makeLocationProps","useLocation","makePositionProps","usePosition","makeRoundedProps","useRounded","makeRouterProps","useLink","useSelectLink","makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","Ripple","computed","withDirectives","genericComponent","propsFactory","useRender","makeVBtnProps","active","type","Boolean","default","undefined","baseColor","String","symbol","flat","icon","Function","Object","prependIcon","appendIcon","block","readonly","slim","stacked","ripple","text","tag","variant","VBtn","name","props","emits","val","setup","_ref","attrs","slots","themeClasses","borderClasses","densityClasses","dimensionStyles","elevationClasses","loaderClasses","locationStyles","positionClasses","roundedClasses","sizeClasses","sizeStyles","group","link","isActive","isLink","value","isSelected","variantProps","showColor","color","colorClasses","colorStyles","variantClasses","isDisabled","disabled","isElevated","border","valueAttr","JSON","stringify","onClick","e","metaKey","ctrlKey","shiftKey","button","target","navigate","toggle","select","Tag","hasPrepend","prepend","hasAppend","append","hasIcon","_createVNode","selectedClass","loading","class","style","href","loader","center"],"sources":["../../../src/components/VBtn/VBtn.tsx"],"sourcesContent":["// Styles\nimport './VBtn.sass'\n\n// Components\nimport { VBtnToggleSymbol } from '@/components/VBtnToggle/VBtnToggle'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { VProgressCircular } from '@/components/VProgressCircular'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeGroupItemProps, useGroupItem } from '@/composables/group'\nimport { IconValue } from '@/composables/icons'\nimport { makeLoaderProps, useLoader } from '@/composables/loader'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { makePositionProps, usePosition } from '@/composables/position'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeRouterProps, useLink } from '@/composables/router'\nimport { useSelectLink } from '@/composables/selectLink'\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Directives\nimport { Ripple } from '@/directives/ripple'\n\n// Utilities\nimport { computed, withDirectives } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type VBtnSlots = {\n default: never\n prepend: never\n append: never\n loader: never\n}\n\nexport const makeVBtnProps = propsFactory({\n active: {\n type: Boolean,\n default: undefined,\n },\n baseColor: String,\n symbol: {\n type: null,\n default: VBtnToggleSymbol,\n },\n flat: Boolean,\n icon: [Boolean, String, Function, Object] as PropType<boolean | IconValue>,\n prependIcon: IconValue,\n appendIcon: IconValue,\n\n block: Boolean,\n readonly: Boolean,\n slim: Boolean,\n stacked: Boolean,\n\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n\n text: String,\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeDimensionProps(),\n ...makeElevationProps(),\n ...makeGroupItemProps(),\n ...makeLoaderProps(),\n ...makeLocationProps(),\n ...makePositionProps(),\n ...makeRoundedProps(),\n ...makeRouterProps(),\n ...makeSizeProps(),\n ...makeTagProps({ tag: 'button' }),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'elevated' } as const),\n}, 'VBtn')\n\nexport const VBtn = genericComponent<VBtnSlots>()({\n name: 'VBtn',\n\n props: makeVBtnProps(),\n\n emits: {\n 'group:selected': (val: { value: boolean }) => true,\n },\n\n setup (props, { attrs, slots }) {\n const { themeClasses } = provideTheme(props)\n const { borderClasses } = useBorder(props)\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { elevationClasses } = useElevation(props)\n const { loaderClasses } = useLoader(props)\n const { locationStyles } = useLocation(props)\n const { positionClasses } = usePosition(props)\n const { roundedClasses } = useRounded(props)\n const { sizeClasses, sizeStyles } = useSize(props)\n const group = useGroupItem(props, props.symbol, false)\n const link = useLink(props, attrs)\n\n const isActive = computed(() => {\n if (props.active !== undefined) {\n return props.active\n }\n\n if (link.isLink.value) {\n return link.isActive?.value\n }\n\n return group?.isSelected.value\n })\n\n const variantProps = computed(() => {\n const showColor = (\n (group?.isSelected.value && (!link.isLink.value || link.isActive?.value)) ||\n (!group || link.isActive?.value)\n )\n return ({\n color: showColor ? props.color ?? props.baseColor : props.baseColor,\n variant: props.variant,\n })\n })\n const { colorClasses, colorStyles, variantClasses } = useVariant(variantProps)\n\n const isDisabled = computed(() => group?.disabled.value || props.disabled)\n const isElevated = computed(() => {\n return props.variant === 'elevated' && !(props.disabled || props.flat || props.border)\n })\n const valueAttr = computed(() => {\n if (props.value === undefined || typeof props.value === 'symbol') return undefined\n\n return Object(props.value) === props.value\n ? JSON.stringify(props.value, null, 0)\n : props.value\n })\n\n function onClick (e: MouseEvent) {\n if (\n isDisabled.value ||\n (link.isLink.value && (\n e.metaKey ||\n e.ctrlKey ||\n e.shiftKey ||\n (e.button !== 0) ||\n attrs.target === '_blank'\n ))\n ) return\n\n link.navigate?.(e)\n group?.toggle()\n }\n\n useSelectLink(link, group?.select)\n\n useRender(() => {\n const Tag = (link.isLink.value) ? 'a' : props.tag\n const hasPrepend = !!(props.prependIcon || slots.prepend)\n const hasAppend = !!(props.appendIcon || slots.append)\n const hasIcon = !!(props.icon && props.icon !== true)\n\n return withDirectives(\n <Tag\n type={ Tag === 'a' ? undefined : 'button' }\n class={[\n 'v-btn',\n group?.selectedClass.value,\n {\n 'v-btn--active': isActive.value,\n 'v-btn--block': props.block,\n 'v-btn--disabled': isDisabled.value,\n 'v-btn--elevated': isElevated.value,\n 'v-btn--flat': props.flat,\n 'v-btn--icon': !!props.icon,\n 'v-btn--loading': props.loading,\n 'v-btn--readonly': props.readonly,\n 'v-btn--slim': props.slim,\n 'v-btn--stacked': props.stacked,\n },\n themeClasses.value,\n borderClasses.value,\n colorClasses.value,\n densityClasses.value,\n elevationClasses.value,\n loaderClasses.value,\n positionClasses.value,\n roundedClasses.value,\n sizeClasses.value,\n variantClasses.value,\n props.class,\n ]}\n style={[\n colorStyles.value,\n dimensionStyles.value,\n locationStyles.value,\n sizeStyles.value,\n props.style,\n ]}\n aria-busy={ props.loading ? true : undefined }\n disabled={ isDisabled.value || undefined }\n href={ link.href.value }\n tabindex={ props.loading || props.readonly ? -1 : undefined }\n onClick={ onClick }\n value={ valueAttr.value }\n >\n { genOverlays(true, 'v-btn') }\n\n { !props.icon && hasPrepend && (\n <span key=\"prepend\" class=\"v-btn__prepend\">\n { !slots.prepend ? (\n <VIcon\n key=\"prepend-icon\"\n icon={ props.prependIcon }\n />\n ) : (\n <VDefaultsProvider\n key=\"prepend-defaults\"\n disabled={ !props.prependIcon }\n defaults={{\n VIcon: {\n icon: props.prependIcon,\n },\n }}\n v-slots:default={ slots.prepend }\n />\n )}\n </span>\n )}\n\n <span class=\"v-btn__content\" data-no-activator=\"\">\n { (!slots.default && hasIcon) ? (\n <VIcon\n key=\"content-icon\"\n icon={ props.icon }\n />\n ) : (\n <VDefaultsProvider\n key=\"content-defaults\"\n disabled={ !hasIcon }\n defaults={{\n VIcon: {\n icon: props.icon,\n },\n }}\n >\n { slots.default?.() ?? props.text }\n </VDefaultsProvider>\n )}\n </span>\n\n { !props.icon && hasAppend && (\n <span key=\"append\" class=\"v-btn__append\">\n { !slots.append ? (\n <VIcon\n key=\"append-icon\"\n icon={ props.appendIcon }\n />\n ) : (\n <VDefaultsProvider\n key=\"append-defaults\"\n disabled={ !props.appendIcon }\n defaults={{\n VIcon: {\n icon: props.appendIcon,\n },\n }}\n v-slots:default={ slots.append }\n />\n )}\n </span>\n )}\n\n { !!props.loading && (\n <span key=\"loader\" class=\"v-btn__loader\">\n { slots.loader?.() ?? (\n <VProgressCircular\n color={ typeof props.loading === 'boolean' ? undefined : props.loading }\n indeterminate\n width=\"2\"\n />\n )}\n </span>\n )}\n </Tag>,\n [[\n Ripple,\n !isDisabled.value && !!props.ripple,\n '',\n { center: !!props.icon },\n ]]\n )\n })\n\n return { group }\n },\n})\n\nexport type VBtn = InstanceType<typeof VBtn>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB;AAAA,SAChBC,iBAAiB;AAAA,SACjBC,KAAK;AAAA,SACLC,iBAAiB,0CAE1B;AAAA,SACSC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,SAAS;AAAA,SACTC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC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AA,YAKZ,CAACiE,KAAK,CAACX,UAAU;UAAA,YAClB;YACRrD,KAAK,EAAE;cACLiD,IAAI,EAAEe,KAAK,CAACX;YACd;UACF;QAAC,GACiBiB,KAAK,CAAC6C,MAAM,CAEjC,EAEJ,EAEC,CAAC,CAACnD,KAAK,CAACuD,OAAO,IAAAF,YAAA;UAAA;UAAA;QAAA,IAEX/C,KAAK,CAACqD,MAAM,GAAG,CAAC,IAAAN,YAAA,CAAApH,iBAAA;UAAA,SAEN,OAAO+D,KAAK,CAACuD,OAAO,KAAK,SAAS,GAAG3E,SAAS,GAAGoB,KAAK,CAACuD,OAAO;UAAA;UAAA;QAAA,QAIzE,EAEJ;MAAA,IAEH,CAAC,CACCtF,MAAM,EACN,CAAC6D,UAAU,CAACR,KAAK,IAAI,CAAC,CAACtB,KAAK,CAACN,MAAM,EACnC,EAAE,EACF;QAAEkE,MAAM,EAAE,CAAC,CAAC5D,KAAK,CAACf;MAAK,CAAC,CACzB,CACH,CAAC;IACH,CAAC,CAAC;IAEF,OAAO;MAAEiC;IAAM,CAAC;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VBtn.mjs","names":["VBtnToggleSymbol","VDefaultsProvider","VIcon","VProgressCircular","makeBorderProps","useBorder","makeComponentProps","makeDensityProps","useDensity","makeDimensionProps","useDimension","makeElevationProps","useElevation","makeGroupItemProps","useGroupItem","IconValue","makeLoaderProps","useLoader","makeLocationProps","useLocation","makePositionProps","usePosition","makeRoundedProps","useRounded","makeRouterProps","useLink","useSelectLink","makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","Ripple","computed","withDirectives","genericComponent","propsFactory","useRender","makeVBtnProps","active","type","Boolean","default","undefined","activeColor","String","baseColor","symbol","flat","icon","Function","Object","prependIcon","appendIcon","block","readonly","slim","stacked","ripple","text","tag","variant","VBtn","name","props","emits","val","setup","_ref","attrs","slots","themeClasses","borderClasses","densityClasses","dimensionStyles","elevationClasses","loaderClasses","locationStyles","positionClasses","roundedClasses","sizeClasses","sizeStyles","group","link","isActive","isLink","value","isSelected","color","variantProps","showColor","colorClasses","colorStyles","variantClasses","isDisabled","disabled","isElevated","border","valueAttr","JSON","stringify","onClick","e","metaKey","ctrlKey","shiftKey","button","target","navigate","toggle","select","Tag","hasPrepend","prepend","hasAppend","append","hasIcon","_createVNode","selectedClass","loading","class","style","href","loader","center"],"sources":["../../../src/components/VBtn/VBtn.tsx"],"sourcesContent":["// Styles\nimport './VBtn.sass'\n\n// Components\nimport { VBtnToggleSymbol } from '@/components/VBtnToggle/VBtnToggle'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { VProgressCircular } from '@/components/VProgressCircular'\n\n// Composables\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { makeGroupItemProps, useGroupItem } from '@/composables/group'\nimport { IconValue } from '@/composables/icons'\nimport { makeLoaderProps, useLoader } from '@/composables/loader'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { makePositionProps, usePosition } from '@/composables/position'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeRouterProps, useLink } from '@/composables/router'\nimport { useSelectLink } from '@/composables/selectLink'\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Directives\nimport { Ripple } from '@/directives/ripple'\n\n// Utilities\nimport { computed, withDirectives } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type VBtnSlots = {\n default: never\n prepend: never\n append: never\n loader: never\n}\n\nexport const makeVBtnProps = propsFactory({\n active: {\n type: Boolean,\n default: undefined,\n },\n activeColor: String,\n baseColor: String,\n symbol: {\n type: null,\n default: VBtnToggleSymbol,\n },\n flat: Boolean,\n icon: [Boolean, String, Function, Object] as PropType<boolean | IconValue>,\n prependIcon: IconValue,\n appendIcon: IconValue,\n\n block: Boolean,\n readonly: Boolean,\n slim: Boolean,\n stacked: Boolean,\n\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n\n text: String,\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeDimensionProps(),\n ...makeElevationProps(),\n ...makeGroupItemProps(),\n ...makeLoaderProps(),\n ...makeLocationProps(),\n ...makePositionProps(),\n ...makeRoundedProps(),\n ...makeRouterProps(),\n ...makeSizeProps(),\n ...makeTagProps({ tag: 'button' }),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'elevated' } as const),\n}, 'VBtn')\n\nexport const VBtn = genericComponent<VBtnSlots>()({\n name: 'VBtn',\n\n props: makeVBtnProps(),\n\n emits: {\n 'group:selected': (val: { value: boolean }) => true,\n },\n\n setup (props, { attrs, slots }) {\n const { themeClasses } = provideTheme(props)\n const { borderClasses } = useBorder(props)\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { elevationClasses } = useElevation(props)\n const { loaderClasses } = useLoader(props)\n const { locationStyles } = useLocation(props)\n const { positionClasses } = usePosition(props)\n const { roundedClasses } = useRounded(props)\n const { sizeClasses, sizeStyles } = useSize(props)\n const group = useGroupItem(props, props.symbol, false)\n const link = useLink(props, attrs)\n\n const isActive = computed(() => {\n if (props.active !== undefined) {\n return props.active\n }\n\n if (link.isLink.value) {\n return link.isActive?.value\n }\n\n return group?.isSelected.value\n })\n\n const color = computed(() => isActive.value ? props.activeColor ?? props.color : props.color)\n const variantProps = computed(() => {\n const showColor = (\n (group?.isSelected.value && (!link.isLink.value || link.isActive?.value)) ||\n (!group || link.isActive?.value)\n )\n return ({\n color: showColor ? color.value ?? props.baseColor : props.baseColor,\n variant: props.variant,\n })\n })\n const { colorClasses, colorStyles, variantClasses } = useVariant(variantProps)\n\n const isDisabled = computed(() => group?.disabled.value || props.disabled)\n const isElevated = computed(() => {\n return props.variant === 'elevated' && !(props.disabled || props.flat || props.border)\n })\n const valueAttr = computed(() => {\n if (props.value === undefined || typeof props.value === 'symbol') return undefined\n\n return Object(props.value) === props.value\n ? JSON.stringify(props.value, null, 0)\n : props.value\n })\n\n function onClick (e: MouseEvent) {\n if (\n isDisabled.value ||\n (link.isLink.value && (\n e.metaKey ||\n e.ctrlKey ||\n e.shiftKey ||\n (e.button !== 0) ||\n attrs.target === '_blank'\n ))\n ) return\n\n link.navigate?.(e)\n group?.toggle()\n }\n\n useSelectLink(link, group?.select)\n\n useRender(() => {\n const Tag = (link.isLink.value) ? 'a' : props.tag\n const hasPrepend = !!(props.prependIcon || slots.prepend)\n const hasAppend = !!(props.appendIcon || slots.append)\n const hasIcon = !!(props.icon && props.icon !== true)\n\n return withDirectives(\n <Tag\n type={ Tag === 'a' ? undefined : 'button' }\n class={[\n 'v-btn',\n group?.selectedClass.value,\n {\n 'v-btn--active': isActive.value,\n 'v-btn--block': props.block,\n 'v-btn--disabled': isDisabled.value,\n 'v-btn--elevated': isElevated.value,\n 'v-btn--flat': props.flat,\n 'v-btn--icon': !!props.icon,\n 'v-btn--loading': props.loading,\n 'v-btn--readonly': props.readonly,\n 'v-btn--slim': props.slim,\n 'v-btn--stacked': props.stacked,\n },\n themeClasses.value,\n borderClasses.value,\n colorClasses.value,\n densityClasses.value,\n elevationClasses.value,\n loaderClasses.value,\n positionClasses.value,\n roundedClasses.value,\n sizeClasses.value,\n variantClasses.value,\n props.class,\n ]}\n style={[\n colorStyles.value,\n dimensionStyles.value,\n locationStyles.value,\n sizeStyles.value,\n props.style,\n ]}\n aria-busy={ props.loading ? true : undefined }\n disabled={ isDisabled.value || undefined }\n href={ link.href.value }\n tabindex={ props.loading || props.readonly ? -1 : undefined }\n onClick={ onClick }\n value={ valueAttr.value }\n >\n { genOverlays(true, 'v-btn') }\n\n { !props.icon && hasPrepend && (\n <span key=\"prepend\" class=\"v-btn__prepend\">\n { !slots.prepend ? (\n <VIcon\n key=\"prepend-icon\"\n icon={ props.prependIcon }\n />\n ) : (\n <VDefaultsProvider\n key=\"prepend-defaults\"\n disabled={ !props.prependIcon }\n defaults={{\n VIcon: {\n icon: props.prependIcon,\n },\n }}\n v-slots:default={ slots.prepend }\n />\n )}\n </span>\n )}\n\n <span class=\"v-btn__content\" data-no-activator=\"\">\n { (!slots.default && hasIcon) ? (\n <VIcon\n key=\"content-icon\"\n icon={ props.icon }\n />\n ) : (\n <VDefaultsProvider\n key=\"content-defaults\"\n disabled={ !hasIcon }\n defaults={{\n VIcon: {\n icon: props.icon,\n },\n }}\n >\n { slots.default?.() ?? props.text }\n </VDefaultsProvider>\n )}\n </span>\n\n { !props.icon && hasAppend && (\n <span key=\"append\" class=\"v-btn__append\">\n { !slots.append ? (\n <VIcon\n key=\"append-icon\"\n icon={ props.appendIcon }\n />\n ) : (\n <VDefaultsProvider\n key=\"append-defaults\"\n disabled={ !props.appendIcon }\n defaults={{\n VIcon: {\n icon: props.appendIcon,\n },\n }}\n v-slots:default={ slots.append }\n />\n )}\n </span>\n )}\n\n { !!props.loading && (\n <span key=\"loader\" class=\"v-btn__loader\">\n { slots.loader?.() ?? (\n <VProgressCircular\n color={ typeof props.loading === 'boolean' ? undefined : props.loading }\n indeterminate\n width=\"2\"\n />\n )}\n </span>\n )}\n </Tag>,\n [[\n Ripple,\n !isDisabled.value && !!props.ripple,\n '',\n { center: !!props.icon },\n ]]\n )\n })\n\n return { group }\n },\n})\n\nexport type VBtn = InstanceType<typeof VBtn>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB;AAAA,SAChBC,iBAAiB;AAAA,SACjBC,KAAK;AAAA,SACLC,i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,CAAC;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -98,6 +98,7 @@ declare const VBtn: {
|
|
98
98
|
location?: Anchor | undefined;
|
99
99
|
baseColor?: string | undefined;
|
100
100
|
selectedClass?: string | undefined;
|
101
|
+
activeColor?: string | undefined;
|
101
102
|
prependIcon?: IconValue | undefined;
|
102
103
|
appendIcon?: IconValue | undefined;
|
103
104
|
} & {
|
@@ -171,6 +172,7 @@ declare const VBtn: {
|
|
171
172
|
location?: Anchor | undefined;
|
172
173
|
baseColor?: string | undefined;
|
173
174
|
selectedClass?: string | undefined;
|
175
|
+
activeColor?: string | undefined;
|
174
176
|
prependIcon?: IconValue | undefined;
|
175
177
|
appendIcon?: IconValue | undefined;
|
176
178
|
} & {
|
@@ -279,6 +281,7 @@ declare const VBtn: {
|
|
279
281
|
location?: Anchor | undefined;
|
280
282
|
baseColor?: string | undefined;
|
281
283
|
selectedClass?: string | undefined;
|
284
|
+
activeColor?: string | undefined;
|
282
285
|
prependIcon?: IconValue | undefined;
|
283
286
|
appendIcon?: IconValue | undefined;
|
284
287
|
} & {
|
@@ -373,6 +376,7 @@ declare const VBtn: {
|
|
373
376
|
location?: Anchor | undefined;
|
374
377
|
baseColor?: string | undefined;
|
375
378
|
selectedClass?: string | undefined;
|
379
|
+
activeColor?: string | undefined;
|
376
380
|
prependIcon?: IconValue | undefined;
|
377
381
|
appendIcon?: IconValue | undefined;
|
378
382
|
} & {
|
@@ -502,6 +506,7 @@ declare const VBtn: {
|
|
502
506
|
type: BooleanConstructor;
|
503
507
|
default: undefined;
|
504
508
|
};
|
509
|
+
activeColor: StringConstructor;
|
505
510
|
baseColor: StringConstructor;
|
506
511
|
symbol: {
|
507
512
|
type: null;
|
@@ -587,6 +592,7 @@ declare const VBtn: {
|
|
587
592
|
type: BooleanConstructor;
|
588
593
|
default: undefined;
|
589
594
|
};
|
595
|
+
activeColor: StringConstructor;
|
590
596
|
baseColor: StringConstructor;
|
591
597
|
symbol: {
|
592
598
|
type: null;
|
@@ -533,10 +533,11 @@ declare const VCarouselItem: {
|
|
533
533
|
src: string | srcObject;
|
534
534
|
disabled: boolean;
|
535
535
|
options: IntersectionObserverInit;
|
536
|
+
absolute: boolean;
|
537
|
+
eager: boolean;
|
536
538
|
inline: boolean;
|
537
539
|
cover: boolean;
|
538
540
|
tile: boolean;
|
539
|
-
eager: boolean;
|
540
541
|
} & {
|
541
542
|
class?: any;
|
542
543
|
value?: any;
|
@@ -585,10 +586,11 @@ declare const VCarouselItem: {
|
|
585
586
|
src: string | srcObject;
|
586
587
|
disabled: boolean;
|
587
588
|
options: IntersectionObserverInit;
|
589
|
+
absolute: boolean;
|
590
|
+
eager: boolean;
|
588
591
|
inline: boolean;
|
589
592
|
cover: boolean;
|
590
593
|
tile: boolean;
|
591
|
-
eager: boolean;
|
592
594
|
} & {
|
593
595
|
class?: any;
|
594
596
|
value?: any;
|
@@ -637,13 +639,14 @@ declare const VCarouselItem: {
|
|
637
639
|
src: string | srcObject;
|
638
640
|
disabled: boolean;
|
639
641
|
options: IntersectionObserverInit;
|
642
|
+
absolute: boolean;
|
640
643
|
transition: string | boolean;
|
644
|
+
eager: boolean;
|
641
645
|
rounded: string | number | boolean;
|
642
646
|
inline: boolean;
|
643
647
|
cover: boolean;
|
644
648
|
tile: boolean;
|
645
649
|
draggable: boolean | "false" | "true";
|
646
|
-
eager: boolean;
|
647
650
|
reverseTransition: string | boolean;
|
648
651
|
}, true, {}, vue.SlotsType<Partial<{
|
649
652
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -670,10 +673,11 @@ declare const VCarouselItem: {
|
|
670
673
|
src: string | srcObject;
|
671
674
|
disabled: boolean;
|
672
675
|
options: IntersectionObserverInit;
|
676
|
+
absolute: boolean;
|
677
|
+
eager: boolean;
|
673
678
|
inline: boolean;
|
674
679
|
cover: boolean;
|
675
680
|
tile: boolean;
|
676
|
-
eager: boolean;
|
677
681
|
} & {
|
678
682
|
class?: any;
|
679
683
|
value?: any;
|
@@ -722,13 +726,14 @@ declare const VCarouselItem: {
|
|
722
726
|
src: string | srcObject;
|
723
727
|
disabled: boolean;
|
724
728
|
options: IntersectionObserverInit;
|
729
|
+
absolute: boolean;
|
725
730
|
transition: string | boolean;
|
731
|
+
eager: boolean;
|
726
732
|
rounded: string | number | boolean;
|
727
733
|
inline: boolean;
|
728
734
|
cover: boolean;
|
729
735
|
tile: boolean;
|
730
736
|
draggable: boolean | "false" | "true";
|
731
|
-
eager: boolean;
|
732
737
|
reverseTransition: string | boolean;
|
733
738
|
}>;
|
734
739
|
__isFragment?: undefined;
|
@@ -739,10 +744,11 @@ declare const VCarouselItem: {
|
|
739
744
|
src: string | srcObject;
|
740
745
|
disabled: boolean;
|
741
746
|
options: IntersectionObserverInit;
|
747
|
+
absolute: boolean;
|
748
|
+
eager: boolean;
|
742
749
|
inline: boolean;
|
743
750
|
cover: boolean;
|
744
751
|
tile: boolean;
|
745
|
-
eager: boolean;
|
746
752
|
} & {
|
747
753
|
class?: any;
|
748
754
|
value?: any;
|
@@ -791,13 +797,14 @@ declare const VCarouselItem: {
|
|
791
797
|
src: string | srcObject;
|
792
798
|
disabled: boolean;
|
793
799
|
options: IntersectionObserverInit;
|
800
|
+
absolute: boolean;
|
794
801
|
transition: string | boolean;
|
802
|
+
eager: boolean;
|
795
803
|
rounded: string | number | boolean;
|
796
804
|
inline: boolean;
|
797
805
|
cover: boolean;
|
798
806
|
tile: boolean;
|
799
807
|
draggable: boolean | "false" | "true";
|
800
|
-
eager: boolean;
|
801
808
|
reverseTransition: string | boolean;
|
802
809
|
}, {}, string, vue.SlotsType<Partial<{
|
803
810
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
@@ -844,6 +851,7 @@ declare const VCarouselItem: {
|
|
844
851
|
aspectRatio: (StringConstructor | NumberConstructor)[];
|
845
852
|
contentClass: null;
|
846
853
|
inline: BooleanConstructor;
|
854
|
+
absolute: BooleanConstructor;
|
847
855
|
alt: StringConstructor;
|
848
856
|
cover: BooleanConstructor;
|
849
857
|
color: StringConstructor;
|
@@ -902,6 +910,7 @@ declare const VCarouselItem: {
|
|
902
910
|
aspectRatio: (StringConstructor | NumberConstructor)[];
|
903
911
|
contentClass: null;
|
904
912
|
inline: BooleanConstructor;
|
913
|
+
absolute: BooleanConstructor;
|
905
914
|
alt: StringConstructor;
|
906
915
|
cover: BooleanConstructor;
|
907
916
|
color: StringConstructor;
|
@@ -128,7 +128,7 @@ declare const VCheckbox: {
|
|
128
128
|
color?: string | undefined;
|
129
129
|
name?: string | undefined;
|
130
130
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
131
|
-
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
131
|
+
validateOn?: (("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input" | "lazy" | "eager") | undefined;
|
132
132
|
validationValue?: any;
|
133
133
|
maxWidth?: string | number | undefined;
|
134
134
|
minWidth?: string | number | undefined;
|
@@ -182,7 +182,7 @@ declare const VCheckbox: {
|
|
182
182
|
color?: string | undefined;
|
183
183
|
name?: string | undefined;
|
184
184
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
185
|
-
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
185
|
+
validateOn?: (("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input" | "lazy" | "eager") | undefined;
|
186
186
|
validationValue?: any;
|
187
187
|
maxWidth?: string | number | undefined;
|
188
188
|
minWidth?: string | number | undefined;
|
@@ -292,7 +292,7 @@ declare const VCheckbox: {
|
|
292
292
|
color?: string | undefined;
|
293
293
|
name?: string | undefined;
|
294
294
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
295
|
-
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
295
|
+
validateOn?: (("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input" | "lazy" | "eager") | undefined;
|
296
296
|
validationValue?: any;
|
297
297
|
maxWidth?: string | number | undefined;
|
298
298
|
minWidth?: string | number | undefined;
|
@@ -371,7 +371,7 @@ declare const VCheckbox: {
|
|
371
371
|
color?: string | undefined;
|
372
372
|
name?: string | undefined;
|
373
373
|
'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
|
374
|
-
validateOn?: ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined;
|
374
|
+
validateOn?: (("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input" | "lazy" | "eager") | undefined;
|
375
375
|
validationValue?: any;
|
376
376
|
maxWidth?: string | number | undefined;
|
377
377
|
minWidth?: string | number | undefined;
|
@@ -521,7 +521,7 @@ declare const VCheckbox: {
|
|
521
521
|
type: vue.PropType<readonly ValidationRule[]>;
|
522
522
|
default: () => never[];
|
523
523
|
};
|
524
|
-
validateOn: vue.PropType<("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined>;
|
524
|
+
validateOn: vue.PropType<(("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input" | "lazy" | "eager") | undefined>;
|
525
525
|
validationValue: null;
|
526
526
|
width: (StringConstructor | NumberConstructor)[];
|
527
527
|
maxWidth: (StringConstructor | NumberConstructor)[];
|
@@ -620,7 +620,7 @@ declare const VCheckbox: {
|
|
620
620
|
type: vue.PropType<readonly ValidationRule[]>;
|
621
621
|
default: () => never[];
|
622
622
|
};
|
623
|
-
validateOn: vue.PropType<("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | "lazy" | undefined>;
|
623
|
+
validateOn: vue.PropType<(("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input" | "lazy" | "eager") | undefined>;
|
624
624
|
validationValue: null;
|
625
625
|
width: (StringConstructor | NumberConstructor)[];
|
626
626
|
maxWidth: (StringConstructor | NumberConstructor)[];
|