@vuetify/nightly 3.6.3-dev.2024-05-06 → 3.6.3-dev.2024-05-14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -2
- package/dist/json/attributes.json +16 -0
- package/dist/json/importMap-labs.json +22 -22
- package/dist/json/importMap.json +138 -138
- package/dist/json/tags.json +4 -0
- package/dist/json/web-types.json +37 -1
- package/dist/vuetify-labs.css +2041 -2041
- package/dist/vuetify-labs.d.ts +111 -75
- package/dist/vuetify-labs.esm.js +6 -4
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +6 -4
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +994 -994
- package/dist/vuetify.d.ts +144 -108
- package/dist/vuetify.esm.js +6 -4
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +6 -4
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +7 -7
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/index.d.mts +6 -0
- package/lib/components/VAutocomplete/index.d.mts +12 -12
- 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/VCombobox/index.d.mts +12 -12
- package/lib/components/VFab/index.d.mts +6 -0
- package/lib/components/VList/index.d.mts +12 -12
- package/lib/components/VSelect/index.d.mts +12 -12
- package/lib/components/VTabs/index.d.mts +21 -3
- package/lib/components/index.d.mts +95 -59
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +49 -49
- package/lib/labs/VTreeview/index.d.mts +16 -16
- package/lib/labs/components.d.mts +16 -16
- package/package.json +1 -1
@@ -550,6 +550,7 @@ declare const VAppBarNavIcon: {
|
|
550
550
|
location?: Anchor | undefined;
|
551
551
|
baseColor?: string | undefined;
|
552
552
|
selectedClass?: string | undefined;
|
553
|
+
activeColor?: string | undefined;
|
553
554
|
prependIcon?: IconValue | undefined;
|
554
555
|
appendIcon?: IconValue | undefined;
|
555
556
|
} & {
|
@@ -613,6 +614,7 @@ declare const VAppBarNavIcon: {
|
|
613
614
|
location?: Anchor | undefined;
|
614
615
|
baseColor?: string | undefined;
|
615
616
|
selectedClass?: string | undefined;
|
617
|
+
activeColor?: string | undefined;
|
616
618
|
prependIcon?: IconValue | undefined;
|
617
619
|
appendIcon?: IconValue | undefined;
|
618
620
|
} & {
|
@@ -718,6 +720,7 @@ declare const VAppBarNavIcon: {
|
|
718
720
|
location?: Anchor | undefined;
|
719
721
|
baseColor?: string | undefined;
|
720
722
|
selectedClass?: string | undefined;
|
723
|
+
activeColor?: string | undefined;
|
721
724
|
prependIcon?: IconValue | undefined;
|
722
725
|
appendIcon?: IconValue | undefined;
|
723
726
|
} & {
|
@@ -807,6 +810,7 @@ declare const VAppBarNavIcon: {
|
|
807
810
|
location?: Anchor | undefined;
|
808
811
|
baseColor?: string | undefined;
|
809
812
|
selectedClass?: string | undefined;
|
813
|
+
activeColor?: string | undefined;
|
810
814
|
prependIcon?: IconValue | undefined;
|
811
815
|
appendIcon?: IconValue | undefined;
|
812
816
|
} & {
|
@@ -930,6 +934,7 @@ declare const VAppBarNavIcon: {
|
|
930
934
|
type: BooleanConstructor;
|
931
935
|
default: undefined;
|
932
936
|
};
|
937
|
+
activeColor: StringConstructor;
|
933
938
|
baseColor: StringConstructor;
|
934
939
|
symbol: {
|
935
940
|
type: null;
|
@@ -1021,6 +1026,7 @@ declare const VAppBarNavIcon: {
|
|
1021
1026
|
type: BooleanConstructor;
|
1022
1027
|
default: undefined;
|
1023
1028
|
};
|
1029
|
+
activeColor: StringConstructor;
|
1024
1030
|
baseColor: StringConstructor;
|
1025
1031
|
symbol: {
|
1026
1032
|
type: null;
|
@@ -382,9 +382,9 @@ declare const VAutocomplete: {
|
|
382
382
|
elevation?: string | number | undefined;
|
383
383
|
baseColor?: string | undefined;
|
384
384
|
bgColor?: string | undefined;
|
385
|
+
activeColor?: string | undefined;
|
385
386
|
activeClass?: string | undefined;
|
386
387
|
activeStrategy?: SelectStrategy | undefined;
|
387
|
-
activeColor?: string | undefined;
|
388
388
|
collapseIcon?: string | undefined;
|
389
389
|
expandIcon?: string | undefined;
|
390
390
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -437,9 +437,9 @@ declare const VAutocomplete: {
|
|
437
437
|
elevation?: string | number | undefined;
|
438
438
|
baseColor?: string | undefined;
|
439
439
|
bgColor?: string | undefined;
|
440
|
+
activeColor?: string | undefined;
|
440
441
|
activeClass?: string | undefined;
|
441
442
|
activeStrategy?: SelectStrategy | undefined;
|
442
|
-
activeColor?: string | undefined;
|
443
443
|
collapseIcon?: string | undefined;
|
444
444
|
expandIcon?: string | undefined;
|
445
445
|
} & {
|
@@ -962,9 +962,9 @@ declare const VAutocomplete: {
|
|
962
962
|
elevation?: string | number | undefined;
|
963
963
|
baseColor?: string | undefined;
|
964
964
|
bgColor?: string | undefined;
|
965
|
+
activeColor?: string | undefined;
|
965
966
|
activeClass?: string | undefined;
|
966
967
|
activeStrategy?: SelectStrategy | undefined;
|
967
|
-
activeColor?: string | undefined;
|
968
968
|
collapseIcon?: string | undefined;
|
969
969
|
expandIcon?: string | undefined;
|
970
970
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -1017,9 +1017,9 @@ declare const VAutocomplete: {
|
|
1017
1017
|
elevation?: string | number | undefined;
|
1018
1018
|
baseColor?: string | undefined;
|
1019
1019
|
bgColor?: string | undefined;
|
1020
|
+
activeColor?: string | undefined;
|
1020
1021
|
activeClass?: string | undefined;
|
1021
1022
|
activeStrategy?: SelectStrategy | undefined;
|
1022
|
-
activeColor?: string | undefined;
|
1023
1023
|
collapseIcon?: string | undefined;
|
1024
1024
|
expandIcon?: string | undefined;
|
1025
1025
|
} & {
|
@@ -1656,9 +1656,9 @@ declare const VAutocomplete: {
|
|
1656
1656
|
elevation?: string | number | undefined;
|
1657
1657
|
baseColor?: string | undefined;
|
1658
1658
|
bgColor?: string | undefined;
|
1659
|
+
activeColor?: string | undefined;
|
1659
1660
|
activeClass?: string | undefined;
|
1660
1661
|
activeStrategy?: SelectStrategy | undefined;
|
1661
|
-
activeColor?: string | undefined;
|
1662
1662
|
collapseIcon?: string | undefined;
|
1663
1663
|
expandIcon?: string | undefined;
|
1664
1664
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -1711,9 +1711,9 @@ declare const VAutocomplete: {
|
|
1711
1711
|
elevation?: string | number | undefined;
|
1712
1712
|
baseColor?: string | undefined;
|
1713
1713
|
bgColor?: string | undefined;
|
1714
|
+
activeColor?: string | undefined;
|
1714
1715
|
activeClass?: string | undefined;
|
1715
1716
|
activeStrategy?: SelectStrategy | undefined;
|
1716
|
-
activeColor?: string | undefined;
|
1717
1717
|
collapseIcon?: string | undefined;
|
1718
1718
|
expandIcon?: string | undefined;
|
1719
1719
|
} & {
|
@@ -2285,9 +2285,9 @@ declare const VAutocomplete: {
|
|
2285
2285
|
elevation?: string | number | undefined;
|
2286
2286
|
baseColor?: string | undefined;
|
2287
2287
|
bgColor?: string | undefined;
|
2288
|
+
activeColor?: string | undefined;
|
2288
2289
|
activeClass?: string | undefined;
|
2289
2290
|
activeStrategy?: SelectStrategy | undefined;
|
2290
|
-
activeColor?: string | undefined;
|
2291
2291
|
collapseIcon?: string | undefined;
|
2292
2292
|
expandIcon?: string | undefined;
|
2293
2293
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -2340,9 +2340,9 @@ declare const VAutocomplete: {
|
|
2340
2340
|
elevation?: string | number | undefined;
|
2341
2341
|
baseColor?: string | undefined;
|
2342
2342
|
bgColor?: string | undefined;
|
2343
|
+
activeColor?: string | undefined;
|
2343
2344
|
activeClass?: string | undefined;
|
2344
2345
|
activeStrategy?: SelectStrategy | undefined;
|
2345
|
-
activeColor?: string | undefined;
|
2346
2346
|
collapseIcon?: string | undefined;
|
2347
2347
|
expandIcon?: string | undefined;
|
2348
2348
|
} & {
|
@@ -3115,9 +3115,9 @@ declare const VAutocomplete: {
|
|
3115
3115
|
elevation?: string | number | undefined;
|
3116
3116
|
baseColor?: string | undefined;
|
3117
3117
|
bgColor?: string | undefined;
|
3118
|
+
activeColor?: string | undefined;
|
3118
3119
|
activeClass?: string | undefined;
|
3119
3120
|
activeStrategy?: SelectStrategy | undefined;
|
3120
|
-
activeColor?: string | undefined;
|
3121
3121
|
collapseIcon?: string | undefined;
|
3122
3122
|
expandIcon?: string | undefined;
|
3123
3123
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -3170,9 +3170,9 @@ declare const VAutocomplete: {
|
|
3170
3170
|
elevation?: string | number | undefined;
|
3171
3171
|
baseColor?: string | undefined;
|
3172
3172
|
bgColor?: string | undefined;
|
3173
|
+
activeColor?: string | undefined;
|
3173
3174
|
activeClass?: string | undefined;
|
3174
3175
|
activeStrategy?: SelectStrategy | undefined;
|
3175
|
-
activeColor?: string | undefined;
|
3176
3176
|
collapseIcon?: string | undefined;
|
3177
3177
|
expandIcon?: string | undefined;
|
3178
3178
|
} & {
|
@@ -3799,9 +3799,9 @@ declare const VAutocomplete: {
|
|
3799
3799
|
elevation?: string | number | undefined;
|
3800
3800
|
baseColor?: string | undefined;
|
3801
3801
|
bgColor?: string | undefined;
|
3802
|
+
activeColor?: string | undefined;
|
3802
3803
|
activeClass?: string | undefined;
|
3803
3804
|
activeStrategy?: SelectStrategy | undefined;
|
3804
|
-
activeColor?: string | undefined;
|
3805
3805
|
collapseIcon?: string | undefined;
|
3806
3806
|
expandIcon?: string | undefined;
|
3807
3807
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -3854,9 +3854,9 @@ declare const VAutocomplete: {
|
|
3854
3854
|
elevation?: string | number | undefined;
|
3855
3855
|
baseColor?: string | undefined;
|
3856
3856
|
bgColor?: string | undefined;
|
3857
|
+
activeColor?: string | undefined;
|
3857
3858
|
activeClass?: string | undefined;
|
3858
3859
|
activeStrategy?: SelectStrategy | undefined;
|
3859
|
-
activeColor?: string | undefined;
|
3860
3860
|
collapseIcon?: string | undefined;
|
3861
3861
|
expandIcon?: string | undefined;
|
3862
3862
|
} & {
|
@@ -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,gBA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H,iBAAA;UAAA;UAAA,YAKN,CAACqH,OAAO;UAAA,YACT;YACRpH,KAAK,EAAE;cACLiD,IAAI,EAAEe,KAAK,CAACf;YACd;UACF;QAAC;UAAAN,OAAA,EAAAA,CAAA,MAEC2B,KAAK,CAAC3B,OAAO,GAAG,CAAC,IAAIqB,KAAK,CAACL,IAAI;QAAA,EAEpC,IAGD,CAACK,KAAK,CAACf,IAAI,IAAIiE,SAAS,IAAAG,YAAA;UAAA;UAAA;QAAA,IAEpB,CAAC/C,KAAK,CAAC6C,MAAM,GAAAE,YAAA,CAAArH,KAAA;UAAA;UAAA,QAGJgE,KAAK,CAACX;QAAU,WAAAgE,YAAA,CAAAtH,iBAAA;UAAA;UAAA,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,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,eAAe,EAAEC,OAAO;AAAA,SACxBC,aAAa;AAAA,SACbC,aAAa,EAAEC,OAAO;AAAA,SACtBC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,WAAW,EAAEC,gBAAgB,EAAEC,UAAU,yCAElD;AAAA,SACSC,MAAM,6CAEf;AACA,SAASC,QAAQ,EAAEC,cAAc,QAAQ,KAAK;AAAA,SACrCC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAElD;AAWA,OAAO,MAAMC,aAAa,GAAGF,YAAY,CAAC;EACxCG,MAAM,EAAE;IACNC,IAAI,EAAEC,OAAO;IACbC,OAAO,EAA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;UAAA;QAAA,IAEX/C,KAAK,CAACqD,MAAM,GAAG,CAAC,IAAAN,YAAA,CAAArH,iBAAA;UAAA,SAEN,OAAOgE,KAAK,CAACuD,OAAO,KAAK,SAAS,GAAG5E,SAAS,GAAGqB,KAAK,CAACuD,OAAO;UAAA;UAAA;QAAA,QAIzE,EAEJ;MAAA,IAEH,CAAC,CACCvF,MAAM,EACN,CAAC8D,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":[]}
|
@@ -96,6 +96,7 @@ declare const VBtn: {
|
|
96
96
|
location?: Anchor | undefined;
|
97
97
|
baseColor?: string | undefined;
|
98
98
|
selectedClass?: string | undefined;
|
99
|
+
activeColor?: string | undefined;
|
99
100
|
prependIcon?: IconValue | undefined;
|
100
101
|
appendIcon?: IconValue | undefined;
|
101
102
|
} & {
|
@@ -169,6 +170,7 @@ declare const VBtn: {
|
|
169
170
|
location?: Anchor | undefined;
|
170
171
|
baseColor?: string | undefined;
|
171
172
|
selectedClass?: string | undefined;
|
173
|
+
activeColor?: string | undefined;
|
172
174
|
prependIcon?: IconValue | undefined;
|
173
175
|
appendIcon?: IconValue | undefined;
|
174
176
|
} & {
|
@@ -277,6 +279,7 @@ declare const VBtn: {
|
|
277
279
|
location?: Anchor | undefined;
|
278
280
|
baseColor?: string | undefined;
|
279
281
|
selectedClass?: string | undefined;
|
282
|
+
activeColor?: string | undefined;
|
280
283
|
prependIcon?: IconValue | undefined;
|
281
284
|
appendIcon?: IconValue | undefined;
|
282
285
|
} & {
|
@@ -371,6 +374,7 @@ declare const VBtn: {
|
|
371
374
|
location?: Anchor | undefined;
|
372
375
|
baseColor?: string | undefined;
|
373
376
|
selectedClass?: string | undefined;
|
377
|
+
activeColor?: string | undefined;
|
374
378
|
prependIcon?: IconValue | undefined;
|
375
379
|
appendIcon?: IconValue | undefined;
|
376
380
|
} & {
|
@@ -500,6 +504,7 @@ declare const VBtn: {
|
|
500
504
|
type: BooleanConstructor;
|
501
505
|
default: undefined;
|
502
506
|
};
|
507
|
+
activeColor: StringConstructor;
|
503
508
|
baseColor: StringConstructor;
|
504
509
|
symbol: {
|
505
510
|
type: null;
|
@@ -585,6 +590,7 @@ declare const VBtn: {
|
|
585
590
|
type: BooleanConstructor;
|
586
591
|
default: undefined;
|
587
592
|
};
|
593
|
+
activeColor: StringConstructor;
|
588
594
|
baseColor: StringConstructor;
|
589
595
|
symbol: {
|
590
596
|
type: null;
|
@@ -382,9 +382,9 @@ declare const VCombobox: {
|
|
382
382
|
elevation?: string | number | undefined;
|
383
383
|
baseColor?: string | undefined;
|
384
384
|
bgColor?: string | undefined;
|
385
|
+
activeColor?: string | undefined;
|
385
386
|
activeClass?: string | undefined;
|
386
387
|
activeStrategy?: SelectStrategy | undefined;
|
387
|
-
activeColor?: string | undefined;
|
388
388
|
collapseIcon?: string | undefined;
|
389
389
|
expandIcon?: string | undefined;
|
390
390
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -437,9 +437,9 @@ declare const VCombobox: {
|
|
437
437
|
elevation?: string | number | undefined;
|
438
438
|
baseColor?: string | undefined;
|
439
439
|
bgColor?: string | undefined;
|
440
|
+
activeColor?: string | undefined;
|
440
441
|
activeClass?: string | undefined;
|
441
442
|
activeStrategy?: SelectStrategy | undefined;
|
442
|
-
activeColor?: string | undefined;
|
443
443
|
collapseIcon?: string | undefined;
|
444
444
|
expandIcon?: string | undefined;
|
445
445
|
} & {
|
@@ -962,9 +962,9 @@ declare const VCombobox: {
|
|
962
962
|
elevation?: string | number | undefined;
|
963
963
|
baseColor?: string | undefined;
|
964
964
|
bgColor?: string | undefined;
|
965
|
+
activeColor?: string | undefined;
|
965
966
|
activeClass?: string | undefined;
|
966
967
|
activeStrategy?: SelectStrategy | undefined;
|
967
|
-
activeColor?: string | undefined;
|
968
968
|
collapseIcon?: string | undefined;
|
969
969
|
expandIcon?: string | undefined;
|
970
970
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -1017,9 +1017,9 @@ declare const VCombobox: {
|
|
1017
1017
|
elevation?: string | number | undefined;
|
1018
1018
|
baseColor?: string | undefined;
|
1019
1019
|
bgColor?: string | undefined;
|
1020
|
+
activeColor?: string | undefined;
|
1020
1021
|
activeClass?: string | undefined;
|
1021
1022
|
activeStrategy?: SelectStrategy | undefined;
|
1022
|
-
activeColor?: string | undefined;
|
1023
1023
|
collapseIcon?: string | undefined;
|
1024
1024
|
expandIcon?: string | undefined;
|
1025
1025
|
} & {
|
@@ -1656,9 +1656,9 @@ declare const VCombobox: {
|
|
1656
1656
|
elevation?: string | number | undefined;
|
1657
1657
|
baseColor?: string | undefined;
|
1658
1658
|
bgColor?: string | undefined;
|
1659
|
+
activeColor?: string | undefined;
|
1659
1660
|
activeClass?: string | undefined;
|
1660
1661
|
activeStrategy?: SelectStrategy | undefined;
|
1661
|
-
activeColor?: string | undefined;
|
1662
1662
|
collapseIcon?: string | undefined;
|
1663
1663
|
expandIcon?: string | undefined;
|
1664
1664
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -1711,9 +1711,9 @@ declare const VCombobox: {
|
|
1711
1711
|
elevation?: string | number | undefined;
|
1712
1712
|
baseColor?: string | undefined;
|
1713
1713
|
bgColor?: string | undefined;
|
1714
|
+
activeColor?: string | undefined;
|
1714
1715
|
activeClass?: string | undefined;
|
1715
1716
|
activeStrategy?: SelectStrategy | undefined;
|
1716
|
-
activeColor?: string | undefined;
|
1717
1717
|
collapseIcon?: string | undefined;
|
1718
1718
|
expandIcon?: string | undefined;
|
1719
1719
|
} & {
|
@@ -2285,9 +2285,9 @@ declare const VCombobox: {
|
|
2285
2285
|
elevation?: string | number | undefined;
|
2286
2286
|
baseColor?: string | undefined;
|
2287
2287
|
bgColor?: string | undefined;
|
2288
|
+
activeColor?: string | undefined;
|
2288
2289
|
activeClass?: string | undefined;
|
2289
2290
|
activeStrategy?: SelectStrategy | undefined;
|
2290
|
-
activeColor?: string | undefined;
|
2291
2291
|
collapseIcon?: string | undefined;
|
2292
2292
|
expandIcon?: string | undefined;
|
2293
2293
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -2340,9 +2340,9 @@ declare const VCombobox: {
|
|
2340
2340
|
elevation?: string | number | undefined;
|
2341
2341
|
baseColor?: string | undefined;
|
2342
2342
|
bgColor?: string | undefined;
|
2343
|
+
activeColor?: string | undefined;
|
2343
2344
|
activeClass?: string | undefined;
|
2344
2345
|
activeStrategy?: SelectStrategy | undefined;
|
2345
|
-
activeColor?: string | undefined;
|
2346
2346
|
collapseIcon?: string | undefined;
|
2347
2347
|
expandIcon?: string | undefined;
|
2348
2348
|
} & {
|
@@ -3121,9 +3121,9 @@ declare const VCombobox: {
|
|
3121
3121
|
elevation?: string | number | undefined;
|
3122
3122
|
baseColor?: string | undefined;
|
3123
3123
|
bgColor?: string | undefined;
|
3124
|
+
activeColor?: string | undefined;
|
3124
3125
|
activeClass?: string | undefined;
|
3125
3126
|
activeStrategy?: SelectStrategy | undefined;
|
3126
|
-
activeColor?: string | undefined;
|
3127
3127
|
collapseIcon?: string | undefined;
|
3128
3128
|
expandIcon?: string | undefined;
|
3129
3129
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -3176,9 +3176,9 @@ declare const VCombobox: {
|
|
3176
3176
|
elevation?: string | number | undefined;
|
3177
3177
|
baseColor?: string | undefined;
|
3178
3178
|
bgColor?: string | undefined;
|
3179
|
+
activeColor?: string | undefined;
|
3179
3180
|
activeClass?: string | undefined;
|
3180
3181
|
activeStrategy?: SelectStrategy | undefined;
|
3181
|
-
activeColor?: string | undefined;
|
3182
3182
|
collapseIcon?: string | undefined;
|
3183
3183
|
expandIcon?: string | undefined;
|
3184
3184
|
} & {
|
@@ -3814,9 +3814,9 @@ declare const VCombobox: {
|
|
3814
3814
|
elevation?: string | number | undefined;
|
3815
3815
|
baseColor?: string | undefined;
|
3816
3816
|
bgColor?: string | undefined;
|
3817
|
+
activeColor?: string | undefined;
|
3817
3818
|
activeClass?: string | undefined;
|
3818
3819
|
activeStrategy?: SelectStrategy | undefined;
|
3819
|
-
activeColor?: string | undefined;
|
3820
3820
|
collapseIcon?: string | undefined;
|
3821
3821
|
expandIcon?: string | undefined;
|
3822
3822
|
"onUpdate:activated"?: ((value: unknown[]) => any) | undefined;
|
@@ -3869,9 +3869,9 @@ declare const VCombobox: {
|
|
3869
3869
|
elevation?: string | number | undefined;
|
3870
3870
|
baseColor?: string | undefined;
|
3871
3871
|
bgColor?: string | undefined;
|
3872
|
+
activeColor?: string | undefined;
|
3872
3873
|
activeClass?: string | undefined;
|
3873
3874
|
activeStrategy?: SelectStrategy | undefined;
|
3874
|
-
activeColor?: string | undefined;
|
3875
3875
|
collapseIcon?: string | undefined;
|
3876
3876
|
expandIcon?: string | undefined;
|
3877
3877
|
} & {
|
@@ -92,6 +92,7 @@ declare const VFab: {
|
|
92
92
|
elevation?: string | number | undefined;
|
93
93
|
baseColor?: string | undefined;
|
94
94
|
selectedClass?: string | undefined;
|
95
|
+
activeColor?: string | undefined;
|
95
96
|
prependIcon?: IconValue | undefined;
|
96
97
|
appendIcon?: IconValue | undefined;
|
97
98
|
} & {
|
@@ -162,6 +163,7 @@ declare const VFab: {
|
|
162
163
|
elevation?: string | number | undefined;
|
163
164
|
baseColor?: string | undefined;
|
164
165
|
selectedClass?: string | undefined;
|
166
|
+
activeColor?: string | undefined;
|
165
167
|
prependIcon?: IconValue | undefined;
|
166
168
|
appendIcon?: IconValue | undefined;
|
167
169
|
} & {
|
@@ -274,6 +276,7 @@ declare const VFab: {
|
|
274
276
|
elevation?: string | number | undefined;
|
275
277
|
baseColor?: string | undefined;
|
276
278
|
selectedClass?: string | undefined;
|
279
|
+
activeColor?: string | undefined;
|
277
280
|
prependIcon?: IconValue | undefined;
|
278
281
|
appendIcon?: IconValue | undefined;
|
279
282
|
} & {
|
@@ -379,6 +382,7 @@ declare const VFab: {
|
|
379
382
|
elevation?: string | number | undefined;
|
380
383
|
baseColor?: string | undefined;
|
381
384
|
selectedClass?: string | undefined;
|
385
|
+
activeColor?: string | undefined;
|
382
386
|
prependIcon?: IconValue | undefined;
|
383
387
|
appendIcon?: IconValue | undefined;
|
384
388
|
} & {
|
@@ -530,6 +534,7 @@ declare const VFab: {
|
|
530
534
|
};
|
531
535
|
baseColor: StringConstructor;
|
532
536
|
selectedClass: StringConstructor;
|
537
|
+
activeColor: StringConstructor;
|
533
538
|
prependIcon: PropType<IconValue>;
|
534
539
|
appendIcon: PropType<IconValue>;
|
535
540
|
slim: BooleanConstructor;
|
@@ -652,6 +657,7 @@ declare const VFab: {
|
|
652
657
|
};
|
653
658
|
baseColor: StringConstructor;
|
654
659
|
selectedClass: StringConstructor;
|
660
|
+
activeColor: StringConstructor;
|
655
661
|
prependIcon: PropType<IconValue>;
|
656
662
|
appendIcon: PropType<IconValue>;
|
657
663
|
slim: BooleanConstructor;
|