vuetify 3.7.0 → 3.7.2
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/dist/json/attributes.json +172 -172
- package/dist/json/importMap-labs.json +8 -8
- package/dist/json/importMap.json +160 -160
- package/dist/json/web-types.json +230 -219
- package/dist/vuetify-labs.css +1941 -1926
- package/dist/vuetify-labs.d.ts +4266 -2397
- package/dist/vuetify-labs.esm.js +107 -111
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +107 -111
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1521 -1506
- package/dist/vuetify.d.ts +1282 -901
- package/dist/vuetify.esm.js +79 -54
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +79 -54
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1087 -1086
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +4 -1
- package/lib/blueprints/md1.d.mts +4 -1
- package/lib/blueprints/md2.d.mts +4 -1
- package/lib/blueprints/md3.d.mts +4 -1
- package/lib/components/VAlert/index.d.mts +14 -11
- package/lib/components/VAppBar/index.d.mts +22 -19
- package/lib/components/VAutocomplete/index.d.mts +158 -110
- package/lib/components/VAvatar/VAvatar.css +1 -1
- package/lib/components/VAvatar/_variables.scss +1 -1
- package/lib/components/VAvatar/index.d.mts +8 -5
- package/lib/components/VBadge/index.d.mts +8 -5
- package/lib/components/VBanner/index.d.mts +18 -15
- package/lib/components/VBottomNavigation/index.d.mts +4 -4
- package/lib/components/VBottomSheet/index.d.mts +11 -11
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +3 -5
- package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
- package/lib/components/VBreadcrumbs/index.d.mts +8 -5
- package/lib/components/VBtn/VBtn.mjs +3 -4
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.mts +18 -15
- package/lib/components/VBtnGroup/index.d.mts +4 -4
- package/lib/components/VBtnToggle/index.d.mts +4 -4
- package/lib/components/VCard/VCard.mjs +3 -4
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/index.d.mts +18 -15
- package/lib/components/VCarousel/index.d.mts +17 -14
- package/lib/components/VCheckbox/index.d.mts +8 -5
- package/lib/components/VChip/VChip.mjs +2 -3
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +12 -9
- package/lib/components/VChipGroup/index.d.mts +8 -5
- package/lib/components/VColorPicker/index.d.mts +22 -22
- package/lib/components/VCombobox/index.d.mts +158 -110
- package/lib/components/VDataTable/index.d.mts +18 -15
- package/lib/components/VDatePicker/index.d.mts +16 -13
- package/lib/components/VDialog/VDialog.css +4 -1
- package/lib/components/VDialog/VDialog.mjs +3 -2
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +2 -1
- package/lib/components/VDialog/index.d.mts +89 -50
- package/lib/components/VEmptyState/index.d.mts +12 -9
- package/lib/components/VExpansionPanel/index.d.mts +8 -5
- package/lib/components/VFab/index.d.mts +22 -19
- package/lib/components/VField/index.d.mts +4 -1
- package/lib/components/VFileInput/index.d.mts +34 -7
- package/lib/components/VFooter/index.d.mts +4 -4
- package/lib/components/VForm/index.d.mts +96 -3
- package/lib/components/VIcon/index.d.mts +8 -5
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +13 -1
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +6 -8
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
- package/lib/components/VInfiniteScroll/VInfiniteScroll.sass +10 -1
- package/lib/components/VInput/index.d.mts +6 -3
- package/lib/components/VItemGroup/index.d.mts +4 -4
- package/lib/components/VLabel/index.d.mts +4 -4
- package/lib/components/VList/VList.mjs +4 -2
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +8 -6
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +84 -24
- package/lib/components/VMenu/index.d.mts +92 -50
- package/lib/components/VMessages/index.d.mts +8 -8
- package/lib/components/VNavigationDrawer/index.d.mts +18 -18
- package/lib/components/VOtpInput/index.d.mts +4 -4
- package/lib/components/VOverlay/index.d.mts +11 -11
- package/lib/components/VPagination/index.d.mts +8 -5
- package/lib/components/VProgressCircular/index.d.mts +4 -4
- package/lib/components/VRadio/index.d.mts +4 -1
- package/lib/components/VRadioGroup/index.d.mts +6 -3
- package/lib/components/VRangeSlider/index.d.mts +12 -9
- package/lib/components/VRating/index.d.mts +4 -1
- package/lib/components/VSelect/index.d.mts +158 -110
- package/lib/components/VSelectionControl/index.d.mts +4 -1
- package/lib/components/VSelectionControlGroup/index.d.mts +4 -1
- package/lib/components/VSheet/index.d.mts +10 -10
- package/lib/components/VSkeletonLoader/index.d.mts +4 -4
- package/lib/components/VSlideGroup/index.d.mts +4 -1
- package/lib/components/VSlider/index.d.mts +12 -9
- package/lib/components/VSnackbar/index.d.mts +95 -62
- package/lib/components/VSpeedDial/index.d.mts +11 -11
- package/lib/components/VStepper/index.d.mts +12 -12
- package/lib/components/VSwitch/index.d.mts +6 -3
- package/lib/components/VSystemBar/index.d.mts +4 -4
- package/lib/components/VTabs/index.d.mts +69 -54
- package/lib/components/VTextField/index.d.mts +47 -14
- package/lib/components/VTextarea/index.d.mts +38 -11
- package/lib/components/VTimeline/index.d.mts +8 -5
- package/lib/components/VToolbar/index.d.mts +4 -4
- package/lib/components/VTooltip/index.d.mts +78 -45
- package/lib/components/VWindow/index.d.mts +10 -7
- package/lib/components/index.d.mts +1204 -814
- package/lib/components/index.mjs +1 -1
- package/lib/components/index.mjs.map +1 -1
- package/lib/composables/directiveComponent.mjs +1 -1
- package/lib/composables/directiveComponent.mjs.map +1 -1
- package/lib/composables/forwardRefs.mjs +2 -0
- package/lib/composables/forwardRefs.mjs.map +1 -1
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/index.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +18 -6
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs +2 -4
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/composables/router.mjs +19 -9
- package/lib/composables/router.mjs.map +1 -1
- package/lib/directives/tooltip/index.mjs +1 -1
- package/lib/directives/tooltip/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/iconsets/fa-svg.d.mts +4 -1
- package/lib/iconsets/fa.d.mts +4 -1
- package/lib/iconsets/fa4.d.mts +4 -1
- package/lib/iconsets/md.d.mts +4 -1
- package/lib/iconsets/mdi-svg.d.mts +4 -1
- package/lib/iconsets/mdi.d.mts +4 -1
- package/lib/index.d.mts +82 -88
- package/lib/labs/VDateInput/index.d.mts +16 -13
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -1
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +2212 -730
- package/lib/labs/VPicker/index.d.mts +10 -10
- package/lib/labs/VSnackbarQueue/index.d.mts +128 -95
- package/lib/labs/VStepperVertical/index.d.mts +10 -7
- package/lib/labs/VTimePicker/VTimePicker.mjs +1 -1
- package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +26 -26
- package/lib/labs/VTimePicker/util.mjs +5 -0
- package/lib/labs/VTimePicker/util.mjs.map +1 -0
- package/lib/labs/VTreeview/VTreeview.mjs +3 -12
- package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs +1 -1
- package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.mjs +9 -20
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/index.d.mts +44 -41
- package/lib/labs/components.d.mts +2515 -1000
- package/lib/util/helpers.mjs +7 -3
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +7 -13
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -21
- package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +0 -1
- package/lib/components/VDatePicker/util/eventHelpers.mjs +0 -22
- package/lib/components/VDatePicker/util/eventHelpers.mjs.map +0 -1
- package/lib/components/VDatePicker/util/index.mjs +0 -9
- package/lib/components/VDatePicker/util/index.mjs.map +0 -1
- package/lib/components/VDatePicker/util/isDateAllowed.mjs +0 -7
- package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +0 -1
- package/lib/components/VDatePicker/util/monthChange.mjs +0 -18
- package/lib/components/VDatePicker/util/monthChange.mjs.map +0 -1
- package/lib/components/VDatePicker/util/pad.mjs +0 -21
- package/lib/components/VDatePicker/util/pad.mjs.map +0 -1
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs +0 -12
- package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +0 -1
- package/lib/components/VTreeview/VTreeview.mjs +0 -350
- package/lib/components/VTreeview/VTreeview.mjs.map +0 -1
- package/lib/components/VTreeview/VTreeview.sass +0 -128
- package/lib/components/VTreeview/VTreeviewNode.mjs +0 -321
- package/lib/components/VTreeview/VTreeviewNode.mjs.map +0 -1
- package/lib/components/VTreeview/_mixins.sass +0 -18
- package/lib/components/VTreeview/_variables.scss +0 -10
- package/lib/components/VTreeview/index.mjs +0 -10
- package/lib/components/VTreeview/index.mjs.map +0 -1
- package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -25
- package/lib/components/VTreeview/util/filterTreeItems.mjs.map +0 -1
- package/lib/services/goto/easing-patterns.mjs +0 -27
- package/lib/services/goto/easing-patterns.mjs.map +0 -1
- package/lib/services/goto/index.mjs +0 -73
- package/lib/services/goto/index.mjs.map +0 -1
- package/lib/services/goto/util.mjs +0 -39
- package/lib/services/goto/util.mjs.map +0 -1
|
@@ -10,7 +10,7 @@ $avatar-border-color: settings.$border-color-root !default;
|
|
|
10
10
|
$avatar-border-radius: map.get(settings.$rounded, 0) !default;
|
|
11
11
|
$avatar-border-style: settings.$border-style-root !default;
|
|
12
12
|
$avatar-border-thin-width: thin !default;
|
|
13
|
-
$avatar-border-width:
|
|
13
|
+
$avatar-border-width: 0 !default;
|
|
14
14
|
$avatar-color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)) !default;
|
|
15
15
|
$avatar-density: ('default': 0, 'comfortable': -1, 'compact': -2) !default;
|
|
16
16
|
$avatar-elevation: 1 !default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes,
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
|
|
5
5
|
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
|
|
@@ -12,6 +12,9 @@ type Density = null | 'default' | 'comfortable' | 'compact';
|
|
|
12
12
|
declare const allowedVariants: readonly ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
|
13
13
|
type Variant = typeof allowedVariants[number];
|
|
14
14
|
|
|
15
|
+
type JSXComponent<Props = any> = {
|
|
16
|
+
new (): ComponentPublicInstance<Props>;
|
|
17
|
+
} | FunctionalComponent<Props>;
|
|
15
18
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
16
19
|
declare const IconValue: PropType<IconValue>;
|
|
17
20
|
|
|
@@ -31,8 +34,8 @@ declare const VAvatar: {
|
|
|
31
34
|
image?: string | undefined;
|
|
32
35
|
text?: string | undefined;
|
|
33
36
|
class?: any;
|
|
34
|
-
icon?: IconValue | undefined;
|
|
35
37
|
theme?: string | undefined;
|
|
38
|
+
icon?: IconValue | undefined;
|
|
36
39
|
rounded?: string | number | boolean | undefined;
|
|
37
40
|
} & {
|
|
38
41
|
$children?: vue.VNodeChild | {
|
|
@@ -58,8 +61,8 @@ declare const VAvatar: {
|
|
|
58
61
|
image?: string | undefined;
|
|
59
62
|
text?: string | undefined;
|
|
60
63
|
class?: any;
|
|
61
|
-
icon?: IconValue | undefined;
|
|
62
64
|
theme?: string | undefined;
|
|
65
|
+
icon?: IconValue | undefined;
|
|
63
66
|
rounded?: string | number | boolean | undefined;
|
|
64
67
|
} & {
|
|
65
68
|
$children?: vue.VNodeChild | {
|
|
@@ -104,8 +107,8 @@ declare const VAvatar: {
|
|
|
104
107
|
image?: string | undefined;
|
|
105
108
|
text?: string | undefined;
|
|
106
109
|
class?: any;
|
|
107
|
-
icon?: IconValue | undefined;
|
|
108
110
|
theme?: string | undefined;
|
|
111
|
+
icon?: IconValue | undefined;
|
|
109
112
|
rounded?: string | number | boolean | undefined;
|
|
110
113
|
} & {
|
|
111
114
|
$children?: vue.VNodeChild | {
|
|
@@ -145,8 +148,8 @@ declare const VAvatar: {
|
|
|
145
148
|
image?: string | undefined;
|
|
146
149
|
text?: string | undefined;
|
|
147
150
|
class?: any;
|
|
148
|
-
icon?: IconValue | undefined;
|
|
149
151
|
theme?: string | undefined;
|
|
152
|
+
icon?: IconValue | undefined;
|
|
150
153
|
rounded?: string | number | boolean | undefined;
|
|
151
154
|
} & {
|
|
152
155
|
$children?: vue.VNodeChild | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes,
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
|
|
3
3
|
|
|
4
4
|
type ClassValue = any;
|
|
5
5
|
|
|
@@ -13,6 +13,9 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
|
|
|
13
13
|
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type JSXComponent<Props = any> = {
|
|
17
|
+
new (): ComponentPublicInstance<Props>;
|
|
18
|
+
} | FunctionalComponent<Props>;
|
|
16
19
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
17
20
|
declare const IconValue: PropType<IconValue>;
|
|
18
21
|
|
|
@@ -36,8 +39,8 @@ declare const VBadge: {
|
|
|
36
39
|
color?: string | undefined;
|
|
37
40
|
content?: string | number | undefined;
|
|
38
41
|
class?: any;
|
|
39
|
-
icon?: IconValue | undefined;
|
|
40
42
|
theme?: string | undefined;
|
|
43
|
+
icon?: IconValue | undefined;
|
|
41
44
|
rounded?: string | number | boolean | undefined;
|
|
42
45
|
offsetX?: string | number | undefined;
|
|
43
46
|
offsetY?: string | number | undefined;
|
|
@@ -73,8 +76,8 @@ declare const VBadge: {
|
|
|
73
76
|
color?: string | undefined;
|
|
74
77
|
content?: string | number | undefined;
|
|
75
78
|
class?: any;
|
|
76
|
-
icon?: IconValue | undefined;
|
|
77
79
|
theme?: string | undefined;
|
|
80
|
+
icon?: IconValue | undefined;
|
|
78
81
|
rounded?: string | number | boolean | undefined;
|
|
79
82
|
offsetX?: string | number | undefined;
|
|
80
83
|
offsetY?: string | number | undefined;
|
|
@@ -135,8 +138,8 @@ declare const VBadge: {
|
|
|
135
138
|
color?: string | undefined;
|
|
136
139
|
content?: string | number | undefined;
|
|
137
140
|
class?: any;
|
|
138
|
-
icon?: IconValue | undefined;
|
|
139
141
|
theme?: string | undefined;
|
|
142
|
+
icon?: IconValue | undefined;
|
|
140
143
|
rounded?: string | number | boolean | undefined;
|
|
141
144
|
offsetX?: string | number | undefined;
|
|
142
145
|
offsetY?: string | number | undefined;
|
|
@@ -191,8 +194,8 @@ declare const VBadge: {
|
|
|
191
194
|
color?: string | undefined;
|
|
192
195
|
content?: string | number | undefined;
|
|
193
196
|
class?: any;
|
|
194
|
-
icon?: IconValue | undefined;
|
|
195
197
|
theme?: string | undefined;
|
|
198
|
+
icon?: IconValue | undefined;
|
|
196
199
|
rounded?: string | number | boolean | undefined;
|
|
197
200
|
offsetX?: string | number | undefined;
|
|
198
201
|
offsetY?: string | number | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes,
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
|
|
3
3
|
|
|
4
4
|
type ClassValue = any;
|
|
5
5
|
|
|
@@ -19,6 +19,9 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
|
|
|
19
19
|
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
type JSXComponent<Props = any> = {
|
|
23
|
+
new (): ComponentPublicInstance<Props>;
|
|
24
|
+
} | FunctionalComponent<Props>;
|
|
22
25
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
23
26
|
declare const IconValue: PropType<IconValue>;
|
|
24
27
|
|
|
@@ -41,16 +44,16 @@ declare const VBanner: {
|
|
|
41
44
|
maxWidth?: string | number | undefined;
|
|
42
45
|
minHeight?: string | number | undefined;
|
|
43
46
|
minWidth?: string | number | undefined;
|
|
44
|
-
position?: "fixed" | "absolute" | "
|
|
47
|
+
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
45
48
|
text?: string | undefined;
|
|
46
49
|
class?: any;
|
|
50
|
+
theme?: string | undefined;
|
|
51
|
+
lines?: "one" | "two" | "three" | undefined;
|
|
47
52
|
icon?: IconValue | undefined;
|
|
48
53
|
elevation?: string | number | undefined;
|
|
49
|
-
theme?: string | undefined;
|
|
50
54
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
|
51
55
|
rounded?: string | number | boolean | undefined;
|
|
52
56
|
bgColor?: string | undefined;
|
|
53
|
-
lines?: "one" | "two" | "three" | undefined;
|
|
54
57
|
avatar?: string | undefined;
|
|
55
58
|
} & {
|
|
56
59
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -88,16 +91,16 @@ declare const VBanner: {
|
|
|
88
91
|
maxWidth?: string | number | undefined;
|
|
89
92
|
minHeight?: string | number | undefined;
|
|
90
93
|
minWidth?: string | number | undefined;
|
|
91
|
-
position?: "fixed" | "absolute" | "
|
|
94
|
+
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
92
95
|
text?: string | undefined;
|
|
93
96
|
class?: any;
|
|
97
|
+
theme?: string | undefined;
|
|
98
|
+
lines?: "one" | "two" | "three" | undefined;
|
|
94
99
|
icon?: IconValue | undefined;
|
|
95
100
|
elevation?: string | number | undefined;
|
|
96
|
-
theme?: string | undefined;
|
|
97
101
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
|
98
102
|
rounded?: string | number | boolean | undefined;
|
|
99
103
|
bgColor?: string | undefined;
|
|
100
|
-
lines?: "one" | "two" | "three" | undefined;
|
|
101
104
|
avatar?: string | undefined;
|
|
102
105
|
} & {
|
|
103
106
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -156,16 +159,16 @@ declare const VBanner: {
|
|
|
156
159
|
maxWidth?: string | number | undefined;
|
|
157
160
|
minHeight?: string | number | undefined;
|
|
158
161
|
minWidth?: string | number | undefined;
|
|
159
|
-
position?: "fixed" | "absolute" | "
|
|
162
|
+
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
160
163
|
text?: string | undefined;
|
|
161
164
|
class?: any;
|
|
165
|
+
theme?: string | undefined;
|
|
166
|
+
lines?: "one" | "two" | "three" | undefined;
|
|
162
167
|
icon?: IconValue | undefined;
|
|
163
168
|
elevation?: string | number | undefined;
|
|
164
|
-
theme?: string | undefined;
|
|
165
169
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
|
166
170
|
rounded?: string | number | boolean | undefined;
|
|
167
171
|
bgColor?: string | undefined;
|
|
168
|
-
lines?: "one" | "two" | "three" | undefined;
|
|
169
172
|
avatar?: string | undefined;
|
|
170
173
|
} & {
|
|
171
174
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -216,16 +219,16 @@ declare const VBanner: {
|
|
|
216
219
|
maxWidth?: string | number | undefined;
|
|
217
220
|
minHeight?: string | number | undefined;
|
|
218
221
|
minWidth?: string | number | undefined;
|
|
219
|
-
position?: "fixed" | "absolute" | "
|
|
222
|
+
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
220
223
|
text?: string | undefined;
|
|
221
224
|
class?: any;
|
|
225
|
+
theme?: string | undefined;
|
|
226
|
+
lines?: "one" | "two" | "three" | undefined;
|
|
222
227
|
icon?: IconValue | undefined;
|
|
223
228
|
elevation?: string | number | undefined;
|
|
224
|
-
theme?: string | undefined;
|
|
225
229
|
mobileBreakpoint?: number | DisplayBreakpoint | undefined;
|
|
226
230
|
rounded?: string | number | boolean | undefined;
|
|
227
231
|
bgColor?: string | undefined;
|
|
228
|
-
lines?: "one" | "two" | "three" | undefined;
|
|
229
232
|
avatar?: string | undefined;
|
|
230
233
|
} & {
|
|
231
234
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -271,7 +274,7 @@ declare const VBanner: {
|
|
|
271
274
|
};
|
|
272
275
|
tile: BooleanConstructor;
|
|
273
276
|
position: {
|
|
274
|
-
type: PropType<"fixed" | "absolute" | "
|
|
277
|
+
type: PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
|
|
275
278
|
validator: (v: any) => boolean;
|
|
276
279
|
};
|
|
277
280
|
location: PropType<Anchor | null>;
|
|
@@ -324,7 +327,7 @@ declare const VBanner: {
|
|
|
324
327
|
};
|
|
325
328
|
tile: BooleanConstructor;
|
|
326
329
|
position: {
|
|
327
|
-
type: PropType<"fixed" | "absolute" | "
|
|
330
|
+
type: PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
|
|
328
331
|
validator: (v: any) => boolean;
|
|
329
332
|
};
|
|
330
333
|
location: PropType<Anchor | null>;
|
|
@@ -54,10 +54,10 @@ declare const VBottomNavigation: {
|
|
|
54
54
|
border?: string | number | boolean | undefined;
|
|
55
55
|
color?: string | undefined;
|
|
56
56
|
class?: any;
|
|
57
|
+
theme?: string | undefined;
|
|
57
58
|
mode?: string | undefined;
|
|
58
59
|
mandatory?: boolean | "force" | undefined;
|
|
59
60
|
elevation?: string | number | undefined;
|
|
60
|
-
theme?: string | undefined;
|
|
61
61
|
rounded?: string | number | boolean | undefined;
|
|
62
62
|
baseColor?: string | undefined;
|
|
63
63
|
bgColor?: string | undefined;
|
|
@@ -85,10 +85,10 @@ declare const VBottomNavigation: {
|
|
|
85
85
|
border?: string | number | boolean | undefined;
|
|
86
86
|
color?: string | undefined;
|
|
87
87
|
class?: any;
|
|
88
|
+
theme?: string | undefined;
|
|
88
89
|
mode?: string | undefined;
|
|
89
90
|
mandatory?: boolean | "force" | undefined;
|
|
90
91
|
elevation?: string | number | undefined;
|
|
91
|
-
theme?: string | undefined;
|
|
92
92
|
rounded?: string | number | boolean | undefined;
|
|
93
93
|
baseColor?: string | undefined;
|
|
94
94
|
bgColor?: string | undefined;
|
|
@@ -137,10 +137,10 @@ declare const VBottomNavigation: {
|
|
|
137
137
|
border?: string | number | boolean | undefined;
|
|
138
138
|
color?: string | undefined;
|
|
139
139
|
class?: any;
|
|
140
|
+
theme?: string | undefined;
|
|
140
141
|
mode?: string | undefined;
|
|
141
142
|
mandatory?: boolean | "force" | undefined;
|
|
142
143
|
elevation?: string | number | undefined;
|
|
143
|
-
theme?: string | undefined;
|
|
144
144
|
rounded?: string | number | boolean | undefined;
|
|
145
145
|
baseColor?: string | undefined;
|
|
146
146
|
bgColor?: string | undefined;
|
|
@@ -184,10 +184,10 @@ declare const VBottomNavigation: {
|
|
|
184
184
|
border?: string | number | boolean | undefined;
|
|
185
185
|
color?: string | undefined;
|
|
186
186
|
class?: any;
|
|
187
|
+
theme?: string | undefined;
|
|
187
188
|
mode?: string | undefined;
|
|
188
189
|
mandatory?: boolean | "force" | undefined;
|
|
189
190
|
elevation?: string | number | undefined;
|
|
190
|
-
theme?: string | undefined;
|
|
191
191
|
rounded?: string | number | boolean | undefined;
|
|
192
192
|
baseColor?: string | undefined;
|
|
193
193
|
bgColor?: string | undefined;
|
|
@@ -107,6 +107,7 @@ declare const VBottomSheet: {
|
|
|
107
107
|
style: vue.StyleValue;
|
|
108
108
|
eager: boolean;
|
|
109
109
|
disabled: boolean;
|
|
110
|
+
persistent: boolean;
|
|
110
111
|
modelValue: boolean;
|
|
111
112
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
|
|
112
113
|
updateLocation: (e?: Event) => void;
|
|
@@ -118,7 +119,6 @@ declare const VBottomSheet: {
|
|
|
118
119
|
closeOnBack: boolean;
|
|
119
120
|
contained: boolean;
|
|
120
121
|
noClickAnimation: boolean;
|
|
121
|
-
persistent: boolean;
|
|
122
122
|
scrim: string | boolean;
|
|
123
123
|
fullscreen: boolean;
|
|
124
124
|
retainFocus: boolean;
|
|
@@ -136,9 +136,9 @@ declare const VBottomSheet: {
|
|
|
136
136
|
class?: any;
|
|
137
137
|
theme?: string | undefined;
|
|
138
138
|
contentClass?: any;
|
|
139
|
-
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
140
139
|
closeDelay?: string | number | undefined;
|
|
141
140
|
openDelay?: string | number | undefined;
|
|
141
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
142
142
|
openOnClick?: boolean | undefined;
|
|
143
143
|
openOnFocus?: boolean | undefined;
|
|
144
144
|
contentProps?: any;
|
|
@@ -193,6 +193,7 @@ declare const VBottomSheet: {
|
|
|
193
193
|
style: vue.StyleValue;
|
|
194
194
|
eager: boolean;
|
|
195
195
|
disabled: boolean;
|
|
196
|
+
persistent: boolean;
|
|
196
197
|
modelValue: boolean;
|
|
197
198
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
|
|
198
199
|
updateLocation: (e?: Event) => void;
|
|
@@ -204,7 +205,6 @@ declare const VBottomSheet: {
|
|
|
204
205
|
closeOnBack: boolean;
|
|
205
206
|
contained: boolean;
|
|
206
207
|
noClickAnimation: boolean;
|
|
207
|
-
persistent: boolean;
|
|
208
208
|
scrim: string | boolean;
|
|
209
209
|
fullscreen: boolean;
|
|
210
210
|
retainFocus: boolean;
|
|
@@ -222,9 +222,9 @@ declare const VBottomSheet: {
|
|
|
222
222
|
class?: any;
|
|
223
223
|
theme?: string | undefined;
|
|
224
224
|
contentClass?: any;
|
|
225
|
-
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
226
225
|
closeDelay?: string | number | undefined;
|
|
227
226
|
openDelay?: string | number | undefined;
|
|
227
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
228
228
|
openOnClick?: boolean | undefined;
|
|
229
229
|
openOnFocus?: boolean | undefined;
|
|
230
230
|
contentProps?: any;
|
|
@@ -277,6 +277,7 @@ declare const VBottomSheet: {
|
|
|
277
277
|
style: vue.StyleValue;
|
|
278
278
|
eager: boolean;
|
|
279
279
|
disabled: boolean;
|
|
280
|
+
persistent: boolean;
|
|
280
281
|
modelValue: boolean;
|
|
281
282
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
|
|
282
283
|
updateLocation: (e?: Event) => void;
|
|
@@ -290,7 +291,6 @@ declare const VBottomSheet: {
|
|
|
290
291
|
closeOnBack: boolean;
|
|
291
292
|
contained: boolean;
|
|
292
293
|
noClickAnimation: boolean;
|
|
293
|
-
persistent: boolean;
|
|
294
294
|
scrim: string | boolean;
|
|
295
295
|
fullscreen: boolean;
|
|
296
296
|
retainFocus: boolean;
|
|
@@ -325,6 +325,7 @@ declare const VBottomSheet: {
|
|
|
325
325
|
style: vue.StyleValue;
|
|
326
326
|
eager: boolean;
|
|
327
327
|
disabled: boolean;
|
|
328
|
+
persistent: boolean;
|
|
328
329
|
modelValue: boolean;
|
|
329
330
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
|
|
330
331
|
updateLocation: (e?: Event) => void;
|
|
@@ -336,7 +337,6 @@ declare const VBottomSheet: {
|
|
|
336
337
|
closeOnBack: boolean;
|
|
337
338
|
contained: boolean;
|
|
338
339
|
noClickAnimation: boolean;
|
|
339
|
-
persistent: boolean;
|
|
340
340
|
scrim: string | boolean;
|
|
341
341
|
fullscreen: boolean;
|
|
342
342
|
retainFocus: boolean;
|
|
@@ -354,9 +354,9 @@ declare const VBottomSheet: {
|
|
|
354
354
|
class?: any;
|
|
355
355
|
theme?: string | undefined;
|
|
356
356
|
contentClass?: any;
|
|
357
|
-
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
358
357
|
closeDelay?: string | number | undefined;
|
|
359
358
|
openDelay?: string | number | undefined;
|
|
359
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
360
360
|
openOnClick?: boolean | undefined;
|
|
361
361
|
openOnFocus?: boolean | undefined;
|
|
362
362
|
contentProps?: any;
|
|
@@ -409,6 +409,7 @@ declare const VBottomSheet: {
|
|
|
409
409
|
style: vue.StyleValue;
|
|
410
410
|
eager: boolean;
|
|
411
411
|
disabled: boolean;
|
|
412
|
+
persistent: boolean;
|
|
412
413
|
modelValue: boolean;
|
|
413
414
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
|
|
414
415
|
updateLocation: (e?: Event) => void;
|
|
@@ -422,7 +423,6 @@ declare const VBottomSheet: {
|
|
|
422
423
|
closeOnBack: boolean;
|
|
423
424
|
contained: boolean;
|
|
424
425
|
noClickAnimation: boolean;
|
|
425
|
-
persistent: boolean;
|
|
426
426
|
scrim: string | boolean;
|
|
427
427
|
fullscreen: boolean;
|
|
428
428
|
retainFocus: boolean;
|
|
@@ -445,6 +445,7 @@ declare const VBottomSheet: {
|
|
|
445
445
|
style: vue.StyleValue;
|
|
446
446
|
eager: boolean;
|
|
447
447
|
disabled: boolean;
|
|
448
|
+
persistent: boolean;
|
|
448
449
|
modelValue: boolean;
|
|
449
450
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
|
|
450
451
|
updateLocation: (e?: Event) => void;
|
|
@@ -456,7 +457,6 @@ declare const VBottomSheet: {
|
|
|
456
457
|
closeOnBack: boolean;
|
|
457
458
|
contained: boolean;
|
|
458
459
|
noClickAnimation: boolean;
|
|
459
|
-
persistent: boolean;
|
|
460
460
|
scrim: string | boolean;
|
|
461
461
|
fullscreen: boolean;
|
|
462
462
|
retainFocus: boolean;
|
|
@@ -474,9 +474,9 @@ declare const VBottomSheet: {
|
|
|
474
474
|
class?: any;
|
|
475
475
|
theme?: string | undefined;
|
|
476
476
|
contentClass?: any;
|
|
477
|
-
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
478
477
|
closeDelay?: string | number | undefined;
|
|
479
478
|
openDelay?: string | number | undefined;
|
|
479
|
+
activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
|
|
480
480
|
openOnClick?: boolean | undefined;
|
|
481
481
|
openOnFocus?: boolean | undefined;
|
|
482
482
|
contentProps?: any;
|
|
@@ -531,6 +531,7 @@ declare const VBottomSheet: {
|
|
|
531
531
|
style: vue.StyleValue;
|
|
532
532
|
eager: boolean;
|
|
533
533
|
disabled: boolean;
|
|
534
|
+
persistent: boolean;
|
|
534
535
|
modelValue: boolean;
|
|
535
536
|
locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
|
|
536
537
|
updateLocation: (e?: Event) => void;
|
|
@@ -544,7 +545,6 @@ declare const VBottomSheet: {
|
|
|
544
545
|
closeOnBack: boolean;
|
|
545
546
|
contained: boolean;
|
|
546
547
|
noClickAnimation: boolean;
|
|
547
|
-
persistent: boolean;
|
|
548
548
|
scrim: string | boolean;
|
|
549
549
|
fullscreen: boolean;
|
|
550
550
|
retainFocus: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
1
|
+
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
2
2
|
// Composables
|
|
3
3
|
import { useTextColor } from "../../composables/color.mjs";
|
|
4
4
|
import { makeComponentProps } from "../../composables/component.mjs";
|
|
@@ -44,12 +44,10 @@ export const VBreadcrumbsItem = genericComponent()({
|
|
|
44
44
|
"style": [textColorStyles.value, props.style],
|
|
45
45
|
"aria-current": isActive.value ? 'page' : undefined
|
|
46
46
|
}, {
|
|
47
|
-
default: () => [!link.isLink.value ? slots.default?.() ?? props.title : _createVNode("a", {
|
|
47
|
+
default: () => [!link.isLink.value ? slots.default?.() ?? props.title : _createVNode("a", _mergeProps({
|
|
48
48
|
"class": "v-breadcrumbs-item--link",
|
|
49
|
-
"href": link.href.value,
|
|
50
|
-
"aria-current": isActive.value ? 'page' : undefined,
|
|
51
49
|
"onClick": link.navigate
|
|
52
|
-
}, [slots.default?.() ?? props.title])]
|
|
50
|
+
}, link.linkProps), [slots.default?.() ?? props.title])]
|
|
53
51
|
});
|
|
54
52
|
});
|
|
55
53
|
return {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VBreadcrumbsItem.mjs","names":["useTextColor","makeComponentProps","makeRouterProps","useLink","makeTagProps","computed","genericComponent","propsFactory","useRender","makeVBreadcrumbsItemProps","active","Boolean","activeClass","String","activeColor","color","disabled","title","tag","VBreadcrumbsItem","name","props","setup","_ref","slots","attrs","link","isActive","value","textColorClasses","textColorStyles","_createVNode","class","style","undefined","default","isLink","
|
|
1
|
+
{"version":3,"file":"VBreadcrumbsItem.mjs","names":["useTextColor","makeComponentProps","makeRouterProps","useLink","makeTagProps","computed","genericComponent","propsFactory","useRender","makeVBreadcrumbsItemProps","active","Boolean","activeClass","String","activeColor","color","disabled","title","tag","VBreadcrumbsItem","name","props","setup","_ref","slots","attrs","link","isActive","value","textColorClasses","textColorStyles","_createVNode","class","style","undefined","default","isLink","_mergeProps","navigate","linkProps"],"sources":["../../../src/components/VBreadcrumbs/VBreadcrumbsItem.tsx"],"sourcesContent":["// Composables\nimport { useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeRouterProps, useLink } from '@/composables/router'\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { computed } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVBreadcrumbsItemProps = propsFactory({\n active: Boolean,\n activeClass: String,\n activeColor: String,\n color: String,\n disabled: Boolean,\n title: String,\n\n ...makeComponentProps(),\n ...makeRouterProps(),\n ...makeTagProps({ tag: 'li' }),\n}, 'VBreadcrumbsItem')\n\nexport const VBreadcrumbsItem = genericComponent()({\n name: 'VBreadcrumbsItem',\n\n props: makeVBreadcrumbsItemProps(),\n\n setup (props, { slots, attrs }) {\n const link = useLink(props, attrs)\n const isActive = computed(() => props.active || link.isActive?.value)\n const color = computed(() => isActive.value ? props.activeColor : props.color)\n\n const { textColorClasses, textColorStyles } = useTextColor(color)\n\n useRender(() => {\n return (\n <props.tag\n class={[\n 'v-breadcrumbs-item',\n {\n 'v-breadcrumbs-item--active': isActive.value,\n 'v-breadcrumbs-item--disabled': props.disabled,\n [`${props.activeClass}`]: isActive.value && props.activeClass,\n },\n textColorClasses.value,\n props.class,\n ]}\n style={[\n textColorStyles.value,\n props.style,\n ]}\n aria-current={ isActive.value ? 'page' : undefined }\n >\n { !link.isLink.value ? slots.default?.() ?? props.title : (\n <a\n class=\"v-breadcrumbs-item--link\"\n onClick={ link.navigate }\n { ...link.linkProps }\n >\n { slots.default?.() ?? props.title }\n </a>\n )}\n </props.tag>\n )\n })\n return {}\n },\n})\n\nexport type VBreadcrumbsItem = InstanceType<typeof VBreadcrumbsItem>\n"],"mappings":";AAAA;AAAA,SACSA,YAAY;AAAA,SACZC,kBAAkB;AAAA,SAClBC,eAAe,EAAEC,OAAO;AAAA,SACxBC,YAAY,qCAErB;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAElD,OAAO,MAAMC,yBAAyB,GAAGF,YAAY,CAAC;EACpDG,MAAM,EAAEC,OAAO;EACfC,WAAW,EAAEC,MAAM;EACnBC,WAAW,EAAED,MAAM;EACnBE,KAAK,EAAEF,MAAM;EACbG,QAAQ,EAAEL,OAAO;EACjBM,KAAK,EAAEJ,MAAM;EAEb,GAAGZ,kBAAkB,CAAC,CAAC;EACvB,GAAGC,eAAe,CAAC,CAAC;EACpB,GAAGE,YAAY,CAAC;IAAEc,GAAG,EAAE;EAAK,CAAC;AAC/B,CAAC,EAAE,kBAAkB,CAAC;AAEtB,OAAO,MAAMC,gBAAgB,GAAGb,gBAAgB,CAAC,CAAC,CAAC;EACjDc,IAAI,EAAE,kBAAkB;EAExBC,KAAK,EAAEZ,yBAAyB,CAAC,CAAC;EAElCa,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAoB;IAAA,IAAlB;MAAEC,KAAK;MAAEC;IAAM,CAAC,GAAAF,IAAA;IAC5B,MAAMG,IAAI,GAAGvB,OAAO,CAACkB,KAAK,EAAEI,KAAK,CAAC;IAClC,MAAME,QAAQ,GAAGtB,QAAQ,CAAC,MAAMgB,KAAK,CAACX,MAAM,IAAIgB,IAAI,CAACC,QAAQ,EAAEC,KAAK,CAAC;IACrE,MAAMb,KAAK,GAAGV,QAAQ,CAAC,MAAMsB,QAAQ,CAACC,KAAK,GAAGP,KAAK,CAACP,WAAW,GAAGO,KAAK,CAACN,KAAK,CAAC;IAE9E,MAAM;MAAEc,gBAAgB;MAAEC;IAAgB,CAAC,GAAG9B,YAAY,CAACe,KAAK,CAAC;IAEjEP,SAAS,CAAC,MAAM;MACd,OAAAuB,YAAA,CAAAV,KAAA,CAAAH,GAAA;QAAA,SAEW,CACL,oBAAoB,EACpB;UACE,4BAA4B,EAAES,QAAQ,CAACC,KAAK;UAC5C,8BAA8B,EAAEP,KAAK,CAACL,QAAQ;UAC9C,CAAC,GAAGK,KAAK,CAACT,WAAW,EAAE,GAAGe,QAAQ,CAACC,KAAK,IAAIP,KAAK,CAACT;QACpD,CAAC,EACDiB,gBAAgB,CAACD,KAAK,EACtBP,KAAK,CAACW,KAAK,CACZ;QAAA,SACM,CACLF,eAAe,CAACF,KAAK,EACrBP,KAAK,CAACY,KAAK,CACZ;QAAA,gBACcN,QAAQ,CAACC,KAAK,GAAG,MAAM,GAAGM;MAAS;QAAAC,OAAA,EAAAA,CAAA,MAEhD,CAACT,IAAI,CAACU,MAAM,CAACR,KAAK,GAAGJ,KAAK,CAACW,OAAO,GAAG,CAAC,IAAId,KAAK,CAACJ,KAAK,GAAAc,YAAA,MAAAM,WAAA;UAAA;UAAA,WAGzCX,IAAI,CAACY;QAAQ,GAClBZ,IAAI,CAACa,SAAS,IAEjBf,KAAK,CAACW,OAAO,GAAG,CAAC,IAAId,KAAK,CAACJ,KAAK,EAErC;MAAA;IAGP,CAAC,CAAC;IACF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode,
|
|
2
|
+
import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
import * as vue_router from 'vue-router';
|
|
5
5
|
// @ts-ignore
|
|
@@ -38,6 +38,9 @@ type ClassValue = any;
|
|
|
38
38
|
|
|
39
39
|
type Density = null | 'default' | 'comfortable' | 'compact';
|
|
40
40
|
|
|
41
|
+
type JSXComponent<Props = any> = {
|
|
42
|
+
new (): ComponentPublicInstance<Props>;
|
|
43
|
+
} | FunctionalComponent<Props>;
|
|
41
44
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
42
45
|
declare const IconValue: PropType<IconValue>;
|
|
43
46
|
|
|
@@ -285,8 +288,8 @@ declare const VBreadcrumbsItem: {
|
|
|
285
288
|
color?: string | undefined;
|
|
286
289
|
title?: string | undefined;
|
|
287
290
|
class?: any;
|
|
288
|
-
href?: string | undefined;
|
|
289
291
|
to?: vue_router.RouteLocationRaw | undefined;
|
|
292
|
+
href?: string | undefined;
|
|
290
293
|
activeColor?: string | undefined;
|
|
291
294
|
activeClass?: string | undefined;
|
|
292
295
|
} & {
|
|
@@ -309,8 +312,8 @@ declare const VBreadcrumbsItem: {
|
|
|
309
312
|
color?: string | undefined;
|
|
310
313
|
title?: string | undefined;
|
|
311
314
|
class?: any;
|
|
312
|
-
href?: string | undefined;
|
|
313
315
|
to?: vue_router.RouteLocationRaw | undefined;
|
|
316
|
+
href?: string | undefined;
|
|
314
317
|
activeColor?: string | undefined;
|
|
315
318
|
activeClass?: string | undefined;
|
|
316
319
|
} & {
|
|
@@ -349,8 +352,8 @@ declare const VBreadcrumbsItem: {
|
|
|
349
352
|
color?: string | undefined;
|
|
350
353
|
title?: string | undefined;
|
|
351
354
|
class?: any;
|
|
352
|
-
href?: string | undefined;
|
|
353
355
|
to?: vue_router.RouteLocationRaw | undefined;
|
|
356
|
+
href?: string | undefined;
|
|
354
357
|
activeColor?: string | undefined;
|
|
355
358
|
activeClass?: string | undefined;
|
|
356
359
|
} & {
|
|
@@ -384,8 +387,8 @@ declare const VBreadcrumbsItem: {
|
|
|
384
387
|
color?: string | undefined;
|
|
385
388
|
title?: string | undefined;
|
|
386
389
|
class?: any;
|
|
387
|
-
href?: string | undefined;
|
|
388
390
|
to?: vue_router.RouteLocationRaw | undefined;
|
|
391
|
+
href?: string | undefined;
|
|
389
392
|
activeColor?: string | undefined;
|
|
390
393
|
activeClass?: string | undefined;
|
|
391
394
|
} & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveDirective as _resolveDirective, createVNode as _createVNode } from "vue";
|
|
1
|
+
import { mergeProps as _mergeProps, resolveDirective as _resolveDirective, createVNode as _createVNode } from "vue";
|
|
2
2
|
// Styles
|
|
3
3
|
import "./VBtn.css";
|
|
4
4
|
|
|
@@ -156,7 +156,7 @@ export const VBtn = genericComponent()({
|
|
|
156
156
|
const hasPrepend = !!(props.prependIcon || slots.prepend);
|
|
157
157
|
const hasAppend = !!(props.appendIcon || slots.append);
|
|
158
158
|
const hasIcon = !!(props.icon && props.icon !== true);
|
|
159
|
-
return withDirectives(_createVNode(Tag, {
|
|
159
|
+
return withDirectives(_createVNode(Tag, _mergeProps({
|
|
160
160
|
"type": Tag === 'a' ? undefined : 'button',
|
|
161
161
|
"class": ['v-btn', group?.selectedClass.value, {
|
|
162
162
|
'v-btn--active': isActive.value,
|
|
@@ -173,11 +173,10 @@ export const VBtn = genericComponent()({
|
|
|
173
173
|
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, sizeStyles.value, props.style],
|
|
174
174
|
"aria-busy": props.loading ? true : undefined,
|
|
175
175
|
"disabled": isDisabled.value || undefined,
|
|
176
|
-
"href": link.href.value,
|
|
177
176
|
"tabindex": props.loading || props.readonly ? -1 : undefined,
|
|
178
177
|
"onClick": onClick,
|
|
179
178
|
"value": valueAttr.value
|
|
180
|
-
}, {
|
|
179
|
+
}, link.linkProps), {
|
|
181
180
|
default: () => [genOverlays(true, 'v-btn'), !props.icon && hasPrepend && _createVNode("span", {
|
|
182
181
|
"key": "prepend",
|
|
183
182
|
"class": "v-btn__prepend"
|