@fastkit/vui 0.6.30 → 0.6.31
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/tool/index.js +2 -0
- package/dist/tool/vite-plugin.d.ts.map +1 -1
- package/dist/vui.cjs.js +158 -71
- package/dist/vui.cjs.prod.js +158 -71
- package/dist/vui.css +53 -0
- package/dist/vui.d.ts +269 -180
- package/dist/vui.esm-bundler.js +159 -73
- package/dist/vui.min.css +1 -1
- package/dist/vui.min.css.map +1 -1
- package/package.json +6 -6
package/dist/vui.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ColorVariant , ThemeName, PaletteName, ScopeName } from '@fastkit/colo
|
|
|
4
4
|
import { ComponentCustomProps } from 'vue';
|
|
5
5
|
import { ComponentOptionsMixin } from 'vue';
|
|
6
6
|
import { ComputedRef } from 'vue';
|
|
7
|
+
import { CSSProperties } from 'vue';
|
|
7
8
|
import { DefineComponent } from 'vue';
|
|
8
9
|
import { EmitsOptions } from 'vue';
|
|
9
10
|
import { ExtractPropInput } from '@fastkit/vue-utils';
|
|
@@ -24,17 +25,24 @@ import { IMaskEvent } from '@fastkit/vue-kit';
|
|
|
24
25
|
import { IMaskTypedValue } from '@fastkit/vue-kit';
|
|
25
26
|
import { InjectionKey } from 'vue';
|
|
26
27
|
import { LocationService } from '@fastkit/vue-utils';
|
|
28
|
+
import { NavigationableInheritProps } from '@fastkit/vue-utils';
|
|
29
|
+
import { NavigationFailure } from 'vue-router';
|
|
27
30
|
import { Numberish } from '@fastkit/vue-kit';
|
|
28
31
|
import { Prop } from 'vue';
|
|
29
32
|
import { PropType } from 'vue';
|
|
30
33
|
import { RawTextableFinishingProp } from '@fastkit/vue-kit';
|
|
31
34
|
import { RawTextareaAutosizeSettings } from '@fastkit/vue-kit';
|
|
32
35
|
import { Ref } from 'vue';
|
|
36
|
+
import { RendererElement } from 'vue';
|
|
37
|
+
import { RendererNode } from 'vue';
|
|
33
38
|
import { ResolvedFormSelectorItemData } from '@fastkit/vue-kit';
|
|
34
39
|
import { ResolveRawSlots } from '@fastkit/vue-kit';
|
|
35
40
|
import { ResolveRawSlots as ResolveRawSlots_2 } from '@fastkit/vue-utils';
|
|
41
|
+
import { RouteLocation } from 'vue-router';
|
|
36
42
|
import { RouteLocationRaw } from 'vue-router';
|
|
37
43
|
import type { Router } from 'vue-router';
|
|
44
|
+
import { RouterLink } from 'vue-router';
|
|
45
|
+
import { RouterLinkProps } from 'vue-router';
|
|
38
46
|
import { ScopeName } from '@fastkit/color-scheme';
|
|
39
47
|
import { TextableCounterResult } from '@fastkit/vue-kit';
|
|
40
48
|
import { TextableCounterSettings } from '@fastkit/vue-kit';
|
|
@@ -42,10 +50,12 @@ import { TextareaAutosizeSettings } from '@fastkit/vue-kit';
|
|
|
42
50
|
import { TextareaControl } from '@fastkit/vue-kit';
|
|
43
51
|
import { TextInputControl } from '@fastkit/vue-kit';
|
|
44
52
|
import { TypedSlot } from '@fastkit/vue-kit';
|
|
53
|
+
import { useLink } from 'vue-router';
|
|
45
54
|
import { ValidateTiming } from '@fastkit/vue-kit';
|
|
46
55
|
import { ValidationResult } from '@fastkit/vue-kit';
|
|
47
56
|
import { VDialog } from '@fastkit/vue-kit';
|
|
48
57
|
import { VMenu } from '@fastkit/vue-kit';
|
|
58
|
+
import { VNode } from 'vue';
|
|
49
59
|
import { VNodeChild } from 'vue';
|
|
50
60
|
import { VNodeChildOrSlot } from '@fastkit/vue-kit';
|
|
51
61
|
import { VNodeProps } from 'vue';
|
|
@@ -57,6 +67,14 @@ import { WritableComputedRef } from 'vue';
|
|
|
57
67
|
|
|
58
68
|
declare type ARGS = Record<string, unknown> & VNodeProps;
|
|
59
69
|
|
|
70
|
+
export declare interface BreadcrumbsItem extends Pick<NavigationableInheritProps, 'to' | 'disabled'> {
|
|
71
|
+
/**
|
|
72
|
+
* "正確なマッチモード" を強制する場合true
|
|
73
|
+
*/
|
|
74
|
+
icon?: RawIconProp;
|
|
75
|
+
text: VNodeChild | ((vui: VuiService) => VNodeChild);
|
|
76
|
+
}
|
|
77
|
+
|
|
60
78
|
export declare function configureDataTableDefaults(defaults: Partial<DataTableDefaults>): void;
|
|
61
79
|
|
|
62
80
|
export declare interface ContentSwitcherSeeTopOptions {
|
|
@@ -132,70 +150,76 @@ export declare function createElevationProps(): {
|
|
|
132
150
|
export declare function createListTileProps(): {
|
|
133
151
|
startIcon: PropType<RawIconProp>;
|
|
134
152
|
endIcon: PropType<RawIconProp>;
|
|
135
|
-
|
|
153
|
+
linkFallbackTag: {
|
|
136
154
|
type: StringConstructor;
|
|
137
155
|
default: string;
|
|
138
156
|
};
|
|
139
157
|
startIconEmptySpace: BooleanConstructor;
|
|
140
158
|
color: PropType<ScopeName>;
|
|
141
159
|
exactMatch: BooleanConstructor;
|
|
142
|
-
tag:
|
|
160
|
+
tag: PropType<string>;
|
|
161
|
+
class: PropType<any>;
|
|
162
|
+
style: PropType<CSSProperties>;
|
|
143
163
|
to: PropType<RouteLocationRaw>;
|
|
144
|
-
replace:
|
|
145
|
-
activeClass:
|
|
146
|
-
exactActiveClass:
|
|
147
|
-
custom:
|
|
164
|
+
replace: PropType<boolean>;
|
|
165
|
+
activeClass: PropType<string>;
|
|
166
|
+
exactActiveClass: PropType<string>;
|
|
167
|
+
custom: PropType<boolean>;
|
|
148
168
|
ariaCurrentValue: {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
};
|
|
152
|
-
disabled:
|
|
153
|
-
href:
|
|
154
|
-
target:
|
|
155
|
-
rel:
|
|
156
|
-
name:
|
|
157
|
-
charset:
|
|
158
|
-
hreflang:
|
|
169
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
170
|
+
default: "page";
|
|
171
|
+
};
|
|
172
|
+
disabled: PropType<boolean>;
|
|
173
|
+
href: PropType<string>;
|
|
174
|
+
target: PropType<string>;
|
|
175
|
+
rel: PropType<string>;
|
|
176
|
+
name: PropType<string>;
|
|
177
|
+
charset: PropType<string>;
|
|
178
|
+
hreflang: PropType<string>;
|
|
159
179
|
download: PropType<string | boolean>;
|
|
160
|
-
media:
|
|
161
|
-
ping:
|
|
162
|
-
referrerpolicy:
|
|
180
|
+
media: PropType<string>;
|
|
181
|
+
ping: PropType<string>;
|
|
182
|
+
referrerpolicy: PropType<string>;
|
|
163
183
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
184
|
+
onClick: PropType<(ev: MouseEvent) => any>;
|
|
164
185
|
};
|
|
165
186
|
|
|
166
187
|
export declare function createNavigationItemProps(): {
|
|
167
188
|
match: StringConstructor;
|
|
168
189
|
startIcon: PropType<RawIconProp>;
|
|
169
190
|
endIcon: PropType<RawIconProp>;
|
|
170
|
-
|
|
191
|
+
linkFallbackTag: {
|
|
171
192
|
type: StringConstructor;
|
|
172
193
|
default: string;
|
|
173
194
|
};
|
|
174
195
|
startIconEmptySpace: BooleanConstructor;
|
|
175
196
|
color: PropType<ScopeName>;
|
|
176
197
|
exactMatch: BooleanConstructor;
|
|
177
|
-
tag:
|
|
198
|
+
tag: PropType<string>;
|
|
199
|
+
class: PropType<any>;
|
|
200
|
+
style: PropType<CSSProperties>;
|
|
178
201
|
to: PropType<RouteLocationRaw>;
|
|
179
|
-
replace:
|
|
180
|
-
activeClass:
|
|
181
|
-
exactActiveClass:
|
|
182
|
-
custom:
|
|
202
|
+
replace: PropType<boolean>;
|
|
203
|
+
activeClass: PropType<string>;
|
|
204
|
+
exactActiveClass: PropType<string>;
|
|
205
|
+
custom: PropType<boolean>;
|
|
183
206
|
ariaCurrentValue: {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
};
|
|
187
|
-
disabled:
|
|
188
|
-
href:
|
|
189
|
-
target:
|
|
190
|
-
rel:
|
|
191
|
-
name:
|
|
192
|
-
charset:
|
|
193
|
-
hreflang:
|
|
207
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
208
|
+
default: "page";
|
|
209
|
+
};
|
|
210
|
+
disabled: PropType<boolean>;
|
|
211
|
+
href: PropType<string>;
|
|
212
|
+
target: PropType<string>;
|
|
213
|
+
rel: PropType<string>;
|
|
214
|
+
name: PropType<string>;
|
|
215
|
+
charset: PropType<string>;
|
|
216
|
+
hreflang: PropType<string>;
|
|
194
217
|
download: PropType<string | boolean>;
|
|
195
|
-
media:
|
|
196
|
-
ping:
|
|
197
|
-
referrerpolicy:
|
|
218
|
+
media: PropType<string>;
|
|
219
|
+
ping: PropType<string>;
|
|
220
|
+
referrerpolicy: PropType<string>;
|
|
198
221
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
222
|
+
onClick: PropType<(ev: MouseEvent) => any>;
|
|
199
223
|
};
|
|
200
224
|
|
|
201
225
|
export declare function createPaperBaseProps(): {
|
|
@@ -543,7 +567,6 @@ export declare function installVuiPlugin(app: App, opts: VuiPluginOptions): App<
|
|
|
543
567
|
|
|
544
568
|
export declare const listTileEmits: {
|
|
545
569
|
changeActive: (isActive: boolean) => boolean;
|
|
546
|
-
click: (ev: MouseEvent) => boolean;
|
|
547
570
|
};
|
|
548
571
|
|
|
549
572
|
export declare interface NavigationItemInput extends ExtractPropInput<ReturnType<typeof createNavigationItemProps>> {
|
|
@@ -590,6 +613,8 @@ export declare function paginationProps(): {
|
|
|
590
613
|
color: PropType<ScopeName>;
|
|
591
614
|
};
|
|
592
615
|
|
|
616
|
+
export declare type RawBreadcrumbsItem = string | BreadcrumbsItem;
|
|
617
|
+
|
|
593
618
|
export declare type RawIconProp = IconName | EmptyIconSymbol | ToggleableIconHook;
|
|
594
619
|
|
|
595
620
|
export declare function rawIconProp(): PropType<RawIconProp>;
|
|
@@ -716,6 +741,23 @@ declare const ValidationErrorSymbol = "ValidationError";
|
|
|
716
741
|
|
|
717
742
|
export declare const VApp: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
718
743
|
|
|
744
|
+
export declare const VBreadcrumbs: DefineComponent<{
|
|
745
|
+
items: {
|
|
746
|
+
type: PropType<BreadcrumbsItem[]>;
|
|
747
|
+
default: () => never[];
|
|
748
|
+
};
|
|
749
|
+
divider: PropType<VNodeChild | ((vui: VuiService) => VNodeChild)>;
|
|
750
|
+
}, () => JSX.Element | undefined, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
751
|
+
items?: unknown;
|
|
752
|
+
divider?: unknown;
|
|
753
|
+
} & {
|
|
754
|
+
items: BreadcrumbsItem[];
|
|
755
|
+
} & {
|
|
756
|
+
divider?: VNodeChild | ((vui: VuiService) => VNodeChild);
|
|
757
|
+
}>, {
|
|
758
|
+
items: BreadcrumbsItem[];
|
|
759
|
+
}>;
|
|
760
|
+
|
|
719
761
|
export declare const VButton: DefineComponent<{
|
|
720
762
|
size: {
|
|
721
763
|
type: PropType<"sm" | "md" | "lg">;
|
|
@@ -727,36 +769,38 @@ export declare const VButton: DefineComponent<{
|
|
|
727
769
|
icon: PropType<RawVButtonIcon>;
|
|
728
770
|
startIcon: PropType<RawVButtonIcon>;
|
|
729
771
|
endIcon: PropType<RawVButtonIcon>;
|
|
730
|
-
tag:
|
|
772
|
+
tag: PropType<string>;
|
|
773
|
+
class: PropType<any>;
|
|
774
|
+
style: PropType<CSSProperties>;
|
|
731
775
|
to: PropType<RouteLocationRaw>;
|
|
732
|
-
replace:
|
|
733
|
-
activeClass:
|
|
734
|
-
exactActiveClass:
|
|
735
|
-
custom:
|
|
776
|
+
replace: PropType<boolean>;
|
|
777
|
+
activeClass: PropType<string>;
|
|
778
|
+
exactActiveClass: PropType<string>;
|
|
779
|
+
custom: PropType<boolean>;
|
|
736
780
|
ariaCurrentValue: {
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
};
|
|
740
|
-
disabled:
|
|
741
|
-
href:
|
|
742
|
-
target:
|
|
743
|
-
rel:
|
|
744
|
-
name:
|
|
745
|
-
charset:
|
|
746
|
-
hreflang:
|
|
781
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
782
|
+
default: "page";
|
|
783
|
+
};
|
|
784
|
+
disabled: PropType<boolean>;
|
|
785
|
+
href: PropType<string>;
|
|
786
|
+
target: PropType<string>;
|
|
787
|
+
rel: PropType<string>;
|
|
788
|
+
name: PropType<string>;
|
|
789
|
+
charset: PropType<string>;
|
|
790
|
+
hreflang: PropType<string>;
|
|
747
791
|
download: PropType<string | boolean>;
|
|
748
|
-
media:
|
|
749
|
-
ping:
|
|
750
|
-
referrerpolicy:
|
|
792
|
+
media: PropType<string>;
|
|
793
|
+
ping: PropType<string>;
|
|
794
|
+
referrerpolicy: PropType<string>;
|
|
751
795
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
796
|
+
linkFallbackTag: PropType<string | (() => string | undefined)>;
|
|
797
|
+
onClick: PropType<(ev: MouseEvent) => any>;
|
|
752
798
|
variant: PropType<ColorVariant>;
|
|
753
799
|
theme: PropType<ThemeName>;
|
|
754
800
|
color: PropType<ScopeName>;
|
|
755
801
|
textColor: PropType<PaletteName>;
|
|
756
802
|
borderColor: PropType<PaletteName>;
|
|
757
|
-
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
758
|
-
click: (ev: MouseEvent) => boolean;
|
|
759
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
803
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
760
804
|
size?: unknown;
|
|
761
805
|
spacer?: unknown;
|
|
762
806
|
loading?: unknown;
|
|
@@ -765,6 +809,8 @@ export declare const VButton: DefineComponent<{
|
|
|
765
809
|
startIcon?: unknown;
|
|
766
810
|
endIcon?: unknown;
|
|
767
811
|
tag?: unknown;
|
|
812
|
+
class?: unknown;
|
|
813
|
+
style?: unknown;
|
|
768
814
|
to?: unknown;
|
|
769
815
|
replace?: unknown;
|
|
770
816
|
activeClass?: unknown;
|
|
@@ -783,6 +829,8 @@ export declare const VButton: DefineComponent<{
|
|
|
783
829
|
ping?: unknown;
|
|
784
830
|
referrerpolicy?: unknown;
|
|
785
831
|
type?: unknown;
|
|
832
|
+
linkFallbackTag?: unknown;
|
|
833
|
+
onClick?: unknown;
|
|
786
834
|
variant?: unknown;
|
|
787
835
|
theme?: unknown;
|
|
788
836
|
color?: unknown;
|
|
@@ -792,24 +840,27 @@ export declare const VButton: DefineComponent<{
|
|
|
792
840
|
loading: boolean;
|
|
793
841
|
rounded: boolean;
|
|
794
842
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
795
|
-
replace: boolean;
|
|
796
|
-
custom: boolean;
|
|
797
|
-
disabled: boolean;
|
|
798
843
|
} & {
|
|
799
844
|
theme?: ThemeName | undefined;
|
|
800
845
|
color?: ScopeName | undefined;
|
|
801
846
|
textColor?: PaletteName | undefined;
|
|
802
847
|
borderColor?: PaletteName | undefined;
|
|
803
|
-
|
|
848
|
+
replace?: boolean | undefined;
|
|
804
849
|
size?: "sm" | "md" | "lg" | undefined;
|
|
850
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
851
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
805
852
|
spacer?: RawVButtonSpacer | undefined;
|
|
806
853
|
icon?: RawVButtonIcon | undefined;
|
|
807
854
|
startIcon?: RawVButtonIcon | undefined;
|
|
808
855
|
endIcon?: RawVButtonIcon | undefined;
|
|
809
856
|
tag?: string | undefined;
|
|
857
|
+
class?: any;
|
|
858
|
+
style?: CSSProperties | undefined;
|
|
810
859
|
to?: RouteLocationRaw | undefined;
|
|
811
860
|
activeClass?: string | undefined;
|
|
812
861
|
exactActiveClass?: string | undefined;
|
|
862
|
+
custom?: boolean | undefined;
|
|
863
|
+
disabled?: boolean | undefined;
|
|
813
864
|
href?: string | undefined;
|
|
814
865
|
target?: string | undefined;
|
|
815
866
|
rel?: string | undefined;
|
|
@@ -820,16 +871,12 @@ export declare const VButton: DefineComponent<{
|
|
|
820
871
|
media?: string | undefined;
|
|
821
872
|
ping?: string | undefined;
|
|
822
873
|
referrerpolicy?: string | undefined;
|
|
874
|
+
linkFallbackTag?: string | (() => string | undefined) | undefined;
|
|
823
875
|
variant?: ColorVariant | undefined;
|
|
824
|
-
}
|
|
825
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
826
|
-
}, {
|
|
876
|
+
}>, {
|
|
827
877
|
loading: boolean;
|
|
828
878
|
rounded: boolean;
|
|
829
879
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
830
|
-
replace: boolean;
|
|
831
|
-
custom: boolean;
|
|
832
|
-
disabled: boolean;
|
|
833
880
|
}>;
|
|
834
881
|
|
|
835
882
|
export declare type VButtonIcon = () => VNodeChild;
|
|
@@ -1637,46 +1684,50 @@ export declare const VIcon: DefineComponent<{
|
|
|
1637
1684
|
export declare const VListTile: DefineComponent<{
|
|
1638
1685
|
startIcon: PropType<RawIconProp>;
|
|
1639
1686
|
endIcon: PropType<RawIconProp>;
|
|
1640
|
-
|
|
1687
|
+
linkFallbackTag: {
|
|
1641
1688
|
type: StringConstructor;
|
|
1642
1689
|
default: string;
|
|
1643
1690
|
};
|
|
1644
1691
|
startIconEmptySpace: BooleanConstructor;
|
|
1645
1692
|
color: PropType<ScopeName>;
|
|
1646
1693
|
exactMatch: BooleanConstructor;
|
|
1647
|
-
tag:
|
|
1694
|
+
tag: PropType<string>;
|
|
1695
|
+
class: PropType<any>;
|
|
1696
|
+
style: PropType<CSSProperties>;
|
|
1648
1697
|
to: PropType<RouteLocationRaw>;
|
|
1649
|
-
replace:
|
|
1650
|
-
activeClass:
|
|
1651
|
-
exactActiveClass:
|
|
1652
|
-
custom:
|
|
1698
|
+
replace: PropType<boolean>;
|
|
1699
|
+
activeClass: PropType<string>;
|
|
1700
|
+
exactActiveClass: PropType<string>;
|
|
1701
|
+
custom: PropType<boolean>;
|
|
1653
1702
|
ariaCurrentValue: {
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
};
|
|
1657
|
-
disabled:
|
|
1658
|
-
href:
|
|
1659
|
-
target:
|
|
1660
|
-
rel:
|
|
1661
|
-
name:
|
|
1662
|
-
charset:
|
|
1663
|
-
hreflang:
|
|
1703
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
1704
|
+
default: "page";
|
|
1705
|
+
};
|
|
1706
|
+
disabled: PropType<boolean>;
|
|
1707
|
+
href: PropType<string>;
|
|
1708
|
+
target: PropType<string>;
|
|
1709
|
+
rel: PropType<string>;
|
|
1710
|
+
name: PropType<string>;
|
|
1711
|
+
charset: PropType<string>;
|
|
1712
|
+
hreflang: PropType<string>;
|
|
1664
1713
|
download: PropType<string | boolean>;
|
|
1665
|
-
media:
|
|
1666
|
-
ping:
|
|
1667
|
-
referrerpolicy:
|
|
1714
|
+
media: PropType<string>;
|
|
1715
|
+
ping: PropType<string>;
|
|
1716
|
+
referrerpolicy: PropType<string>;
|
|
1668
1717
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
1718
|
+
onClick: PropType<(ev: MouseEvent) => any>;
|
|
1669
1719
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1670
1720
|
changeActive: (isActive: boolean) => boolean;
|
|
1671
|
-
click: (ev: MouseEvent) => boolean;
|
|
1672
1721
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1673
1722
|
startIcon?: unknown;
|
|
1674
1723
|
endIcon?: unknown;
|
|
1675
|
-
|
|
1724
|
+
linkFallbackTag?: unknown;
|
|
1676
1725
|
startIconEmptySpace?: unknown;
|
|
1677
1726
|
color?: unknown;
|
|
1678
1727
|
exactMatch?: unknown;
|
|
1679
1728
|
tag?: unknown;
|
|
1729
|
+
class?: unknown;
|
|
1730
|
+
style?: unknown;
|
|
1680
1731
|
to?: unknown;
|
|
1681
1732
|
replace?: unknown;
|
|
1682
1733
|
activeClass?: unknown;
|
|
@@ -1695,24 +1746,28 @@ export declare const VListTile: DefineComponent<{
|
|
|
1695
1746
|
ping?: unknown;
|
|
1696
1747
|
referrerpolicy?: unknown;
|
|
1697
1748
|
type?: unknown;
|
|
1749
|
+
onClick?: unknown;
|
|
1698
1750
|
} & {
|
|
1699
|
-
replace: boolean;
|
|
1700
|
-
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1701
1751
|
startIconEmptySpace: boolean;
|
|
1702
1752
|
exactMatch: boolean;
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
disabled: boolean;
|
|
1753
|
+
linkFallbackTag: string;
|
|
1754
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1706
1755
|
} & {
|
|
1707
|
-
|
|
1756
|
+
replace?: boolean | undefined;
|
|
1708
1757
|
startIcon?: RawIconProp | undefined;
|
|
1709
1758
|
endIcon?: RawIconProp | undefined;
|
|
1759
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
1710
1760
|
color?: ScopeName | undefined;
|
|
1761
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1711
1762
|
name?: string | undefined;
|
|
1712
1763
|
tag?: string | undefined;
|
|
1764
|
+
class?: any;
|
|
1765
|
+
style?: CSSProperties | undefined;
|
|
1713
1766
|
to?: RouteLocationRaw | undefined;
|
|
1714
1767
|
activeClass?: string | undefined;
|
|
1715
1768
|
exactActiveClass?: string | undefined;
|
|
1769
|
+
custom?: boolean | undefined;
|
|
1770
|
+
disabled?: boolean | undefined;
|
|
1716
1771
|
href?: string | undefined;
|
|
1717
1772
|
target?: string | undefined;
|
|
1718
1773
|
rel?: string | undefined;
|
|
@@ -1723,16 +1778,12 @@ export declare const VListTile: DefineComponent<{
|
|
|
1723
1778
|
ping?: string | undefined;
|
|
1724
1779
|
referrerpolicy?: string | undefined;
|
|
1725
1780
|
}> & {
|
|
1726
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1727
1781
|
onChangeActive?: ((isActive: boolean) => any) | undefined;
|
|
1728
1782
|
}, {
|
|
1729
|
-
replace: boolean;
|
|
1730
|
-
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1731
1783
|
startIconEmptySpace: boolean;
|
|
1732
1784
|
exactMatch: boolean;
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
disabled: boolean;
|
|
1785
|
+
linkFallbackTag: string;
|
|
1786
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1736
1787
|
}>;
|
|
1737
1788
|
|
|
1738
1789
|
export { VMenu }
|
|
@@ -1768,48 +1819,52 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1768
1819
|
match: StringConstructor;
|
|
1769
1820
|
startIcon: PropType<RawIconProp>;
|
|
1770
1821
|
endIcon: PropType<RawIconProp>;
|
|
1771
|
-
|
|
1822
|
+
linkFallbackTag: {
|
|
1772
1823
|
type: StringConstructor;
|
|
1773
1824
|
default: string;
|
|
1774
1825
|
};
|
|
1775
1826
|
startIconEmptySpace: BooleanConstructor;
|
|
1776
1827
|
color: PropType<ScopeName>;
|
|
1777
1828
|
exactMatch: BooleanConstructor;
|
|
1778
|
-
tag:
|
|
1829
|
+
tag: PropType<string>;
|
|
1830
|
+
class: PropType<any>;
|
|
1831
|
+
style: PropType<CSSProperties>;
|
|
1779
1832
|
to: PropType<RouteLocationRaw>;
|
|
1780
|
-
replace:
|
|
1781
|
-
activeClass:
|
|
1782
|
-
exactActiveClass:
|
|
1783
|
-
custom:
|
|
1833
|
+
replace: PropType<boolean>;
|
|
1834
|
+
activeClass: PropType<string>;
|
|
1835
|
+
exactActiveClass: PropType<string>;
|
|
1836
|
+
custom: PropType<boolean>;
|
|
1784
1837
|
ariaCurrentValue: {
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
};
|
|
1788
|
-
disabled:
|
|
1789
|
-
href:
|
|
1790
|
-
target:
|
|
1791
|
-
rel:
|
|
1792
|
-
name:
|
|
1793
|
-
charset:
|
|
1794
|
-
hreflang:
|
|
1838
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
1839
|
+
default: "page";
|
|
1840
|
+
};
|
|
1841
|
+
disabled: PropType<boolean>;
|
|
1842
|
+
href: PropType<string>;
|
|
1843
|
+
target: PropType<string>;
|
|
1844
|
+
rel: PropType<string>;
|
|
1845
|
+
name: PropType<string>;
|
|
1846
|
+
charset: PropType<string>;
|
|
1847
|
+
hreflang: PropType<string>;
|
|
1795
1848
|
download: PropType<string | boolean>;
|
|
1796
|
-
media:
|
|
1797
|
-
ping:
|
|
1798
|
-
referrerpolicy:
|
|
1849
|
+
media: PropType<string>;
|
|
1850
|
+
ping: PropType<string>;
|
|
1851
|
+
referrerpolicy: PropType<string>;
|
|
1799
1852
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
1853
|
+
onClick: PropType<(ev: MouseEvent) => any>;
|
|
1800
1854
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1801
1855
|
changeActive: (isActive: boolean) => boolean;
|
|
1802
|
-
click: (ev: MouseEvent) => boolean;
|
|
1803
1856
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1804
1857
|
children?: unknown;
|
|
1805
1858
|
match?: unknown;
|
|
1806
1859
|
startIcon?: unknown;
|
|
1807
1860
|
endIcon?: unknown;
|
|
1808
|
-
|
|
1861
|
+
linkFallbackTag?: unknown;
|
|
1809
1862
|
startIconEmptySpace?: unknown;
|
|
1810
1863
|
color?: unknown;
|
|
1811
1864
|
exactMatch?: unknown;
|
|
1812
1865
|
tag?: unknown;
|
|
1866
|
+
class?: unknown;
|
|
1867
|
+
style?: unknown;
|
|
1813
1868
|
to?: unknown;
|
|
1814
1869
|
replace?: unknown;
|
|
1815
1870
|
activeClass?: unknown;
|
|
@@ -1828,24 +1883,28 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1828
1883
|
ping?: unknown;
|
|
1829
1884
|
referrerpolicy?: unknown;
|
|
1830
1885
|
type?: unknown;
|
|
1886
|
+
onClick?: unknown;
|
|
1831
1887
|
} & {
|
|
1832
|
-
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1833
|
-
replace: boolean;
|
|
1834
1888
|
startIconEmptySpace: boolean;
|
|
1835
1889
|
exactMatch: boolean;
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
disabled: boolean;
|
|
1890
|
+
linkFallbackTag: string;
|
|
1891
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1839
1892
|
} & {
|
|
1840
|
-
match?: string | undefined;
|
|
1841
|
-
type?: "submit" | "reset" | "button" | undefined;
|
|
1842
1893
|
startIcon?: RawIconProp | undefined;
|
|
1843
1894
|
endIcon?: RawIconProp | undefined;
|
|
1895
|
+
match?: string | undefined;
|
|
1896
|
+
replace?: boolean | undefined;
|
|
1897
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
1844
1898
|
color?: ScopeName | undefined;
|
|
1899
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1845
1900
|
tag?: string | undefined;
|
|
1901
|
+
class?: any;
|
|
1902
|
+
style?: CSSProperties | undefined;
|
|
1846
1903
|
to?: RouteLocationRaw | undefined;
|
|
1847
1904
|
activeClass?: string | undefined;
|
|
1848
1905
|
exactActiveClass?: string | undefined;
|
|
1906
|
+
custom?: boolean | undefined;
|
|
1907
|
+
disabled?: boolean | undefined;
|
|
1849
1908
|
href?: string | undefined;
|
|
1850
1909
|
target?: string | undefined;
|
|
1851
1910
|
rel?: string | undefined;
|
|
@@ -1858,16 +1917,12 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1858
1917
|
referrerpolicy?: string | undefined;
|
|
1859
1918
|
children?: NavigationItemInput[] | undefined;
|
|
1860
1919
|
}> & {
|
|
1861
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1862
1920
|
onChangeActive?: ((isActive: boolean) => any) | undefined;
|
|
1863
1921
|
}, {
|
|
1864
|
-
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1865
|
-
replace: boolean;
|
|
1866
1922
|
startIconEmptySpace: boolean;
|
|
1867
1923
|
exactMatch: boolean;
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
disabled: boolean;
|
|
1924
|
+
linkFallbackTag: string;
|
|
1925
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1871
1926
|
}>;
|
|
1872
1927
|
|
|
1873
1928
|
export declare const VOption: DefineComponent<{
|
|
@@ -3723,28 +3778,32 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
3723
3778
|
icon: PropType<RawVButtonIcon>;
|
|
3724
3779
|
startIcon: PropType<RawVButtonIcon>;
|
|
3725
3780
|
endIcon: PropType<RawVButtonIcon>;
|
|
3726
|
-
tag:
|
|
3781
|
+
tag: PropType<string>;
|
|
3782
|
+
class: PropType<any>;
|
|
3783
|
+
style: PropType<CSSProperties>;
|
|
3727
3784
|
to: PropType<RouteLocationRaw>;
|
|
3728
|
-
replace:
|
|
3729
|
-
activeClass:
|
|
3730
|
-
exactActiveClass:
|
|
3731
|
-
custom:
|
|
3785
|
+
replace: PropType<boolean>;
|
|
3786
|
+
activeClass: PropType<string>;
|
|
3787
|
+
exactActiveClass: PropType<string>;
|
|
3788
|
+
custom: PropType<boolean>;
|
|
3732
3789
|
ariaCurrentValue: {
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
};
|
|
3736
|
-
disabled:
|
|
3737
|
-
href:
|
|
3738
|
-
target:
|
|
3739
|
-
rel:
|
|
3740
|
-
name:
|
|
3741
|
-
charset:
|
|
3742
|
-
hreflang:
|
|
3790
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
3791
|
+
default: "page";
|
|
3792
|
+
};
|
|
3793
|
+
disabled: PropType<boolean>;
|
|
3794
|
+
href: PropType<string>;
|
|
3795
|
+
target: PropType<string>;
|
|
3796
|
+
rel: PropType<string>;
|
|
3797
|
+
name: PropType<string>;
|
|
3798
|
+
charset: PropType<string>;
|
|
3799
|
+
hreflang: PropType<string>;
|
|
3743
3800
|
download: PropType<string | boolean>;
|
|
3744
|
-
media:
|
|
3745
|
-
ping:
|
|
3746
|
-
referrerpolicy:
|
|
3801
|
+
media: PropType<string>;
|
|
3802
|
+
ping: PropType<string>;
|
|
3803
|
+
referrerpolicy: PropType<string>;
|
|
3747
3804
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
3805
|
+
linkFallbackTag: PropType<string | (() => string | undefined)>;
|
|
3806
|
+
onClick: PropType<(ev: MouseEvent) => any>;
|
|
3748
3807
|
variant: PropType<ColorVariant>;
|
|
3749
3808
|
theme: PropType<ThemeName>;
|
|
3750
3809
|
color: PropType<ScopeName>;
|
|
@@ -3759,6 +3818,8 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
3759
3818
|
startIcon?: unknown;
|
|
3760
3819
|
endIcon?: unknown;
|
|
3761
3820
|
tag?: unknown;
|
|
3821
|
+
class?: unknown;
|
|
3822
|
+
style?: unknown;
|
|
3762
3823
|
to?: unknown;
|
|
3763
3824
|
replace?: unknown;
|
|
3764
3825
|
activeClass?: unknown;
|
|
@@ -3777,6 +3838,8 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
3777
3838
|
ping?: unknown;
|
|
3778
3839
|
referrerpolicy?: unknown;
|
|
3779
3840
|
type?: unknown;
|
|
3841
|
+
linkFallbackTag?: unknown;
|
|
3842
|
+
onClick?: unknown;
|
|
3780
3843
|
variant?: unknown;
|
|
3781
3844
|
theme?: unknown;
|
|
3782
3845
|
color?: unknown;
|
|
@@ -3786,24 +3849,27 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
3786
3849
|
loading: boolean;
|
|
3787
3850
|
rounded: boolean;
|
|
3788
3851
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
3789
|
-
replace: boolean;
|
|
3790
|
-
custom: boolean;
|
|
3791
|
-
disabled: boolean;
|
|
3792
3852
|
} & {
|
|
3793
3853
|
theme?: ThemeName | undefined;
|
|
3794
3854
|
color?: ScopeName | undefined;
|
|
3795
3855
|
textColor?: PaletteName | undefined;
|
|
3796
3856
|
borderColor?: PaletteName | undefined;
|
|
3797
|
-
|
|
3857
|
+
replace?: boolean | undefined;
|
|
3798
3858
|
size?: "sm" | "md" | "lg" | undefined;
|
|
3859
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
3860
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
3799
3861
|
spacer?: RawVButtonSpacer | undefined;
|
|
3800
3862
|
icon?: RawVButtonIcon | undefined;
|
|
3801
3863
|
startIcon?: RawVButtonIcon | undefined;
|
|
3802
3864
|
endIcon?: RawVButtonIcon | undefined;
|
|
3803
3865
|
tag?: string | undefined;
|
|
3866
|
+
class?: any;
|
|
3867
|
+
style?: CSSProperties | undefined;
|
|
3804
3868
|
to?: RouteLocationRaw | undefined;
|
|
3805
3869
|
activeClass?: string | undefined;
|
|
3806
3870
|
exactActiveClass?: string | undefined;
|
|
3871
|
+
custom?: boolean | undefined;
|
|
3872
|
+
disabled?: boolean | undefined;
|
|
3807
3873
|
href?: string | undefined;
|
|
3808
3874
|
target?: string | undefined;
|
|
3809
3875
|
rel?: string | undefined;
|
|
@@ -3814,14 +3880,12 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
3814
3880
|
media?: string | undefined;
|
|
3815
3881
|
ping?: string | undefined;
|
|
3816
3882
|
referrerpolicy?: string | undefined;
|
|
3883
|
+
linkFallbackTag?: string | (() => string | undefined) | undefined;
|
|
3817
3884
|
variant?: ColorVariant | undefined;
|
|
3818
3885
|
}>, {
|
|
3819
3886
|
loading: boolean;
|
|
3820
3887
|
rounded: boolean;
|
|
3821
3888
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
3822
|
-
replace: boolean;
|
|
3823
|
-
custom: boolean;
|
|
3824
|
-
disabled: boolean;
|
|
3825
3889
|
}>;
|
|
3826
3890
|
|
|
3827
3891
|
export declare type VToolbarMenuEdge = 'start' | 'end';
|
|
@@ -3850,28 +3914,32 @@ export declare const vueButtonProps: {
|
|
|
3850
3914
|
icon: PropType<RawVButtonIcon>;
|
|
3851
3915
|
startIcon: PropType<RawVButtonIcon>;
|
|
3852
3916
|
endIcon: PropType<RawVButtonIcon>;
|
|
3853
|
-
tag:
|
|
3917
|
+
tag: PropType<string>;
|
|
3918
|
+
class: PropType<any>;
|
|
3919
|
+
style: PropType<CSSProperties>;
|
|
3854
3920
|
to: PropType<RouteLocationRaw>;
|
|
3855
|
-
replace:
|
|
3856
|
-
activeClass:
|
|
3857
|
-
exactActiveClass:
|
|
3858
|
-
custom:
|
|
3921
|
+
replace: PropType<boolean>;
|
|
3922
|
+
activeClass: PropType<string>;
|
|
3923
|
+
exactActiveClass: PropType<string>;
|
|
3924
|
+
custom: PropType<boolean>;
|
|
3859
3925
|
ariaCurrentValue: {
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
};
|
|
3863
|
-
disabled:
|
|
3864
|
-
href:
|
|
3865
|
-
target:
|
|
3866
|
-
rel:
|
|
3867
|
-
name:
|
|
3868
|
-
charset:
|
|
3869
|
-
hreflang:
|
|
3926
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
3927
|
+
default: "page";
|
|
3928
|
+
};
|
|
3929
|
+
disabled: PropType<boolean>;
|
|
3930
|
+
href: PropType<string>;
|
|
3931
|
+
target: PropType<string>;
|
|
3932
|
+
rel: PropType<string>;
|
|
3933
|
+
name: PropType<string>;
|
|
3934
|
+
charset: PropType<string>;
|
|
3935
|
+
hreflang: PropType<string>;
|
|
3870
3936
|
download: PropType<string | boolean>;
|
|
3871
|
-
media:
|
|
3872
|
-
ping:
|
|
3873
|
-
referrerpolicy:
|
|
3937
|
+
media: PropType<string>;
|
|
3938
|
+
ping: PropType<string>;
|
|
3939
|
+
referrerpolicy: PropType<string>;
|
|
3874
3940
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
3941
|
+
linkFallbackTag: PropType<string | (() => string | undefined)>;
|
|
3942
|
+
onClick: PropType<(ev: MouseEvent) => any>;
|
|
3875
3943
|
variant: PropType<ColorVariant>;
|
|
3876
3944
|
theme: PropType<ThemeName>;
|
|
3877
3945
|
color: PropType<ScopeName>;
|
|
@@ -3938,6 +4006,26 @@ export declare class VuiService {
|
|
|
3938
4006
|
readonly router: Router;
|
|
3939
4007
|
readonly location: LocationService;
|
|
3940
4008
|
constructor(options: VuiServiceOptions);
|
|
4009
|
+
configure(options?: Partial<VuiServiceOptions>): void;
|
|
4010
|
+
getRouterLink(): {
|
|
4011
|
+
new (): {
|
|
4012
|
+
$props: AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterLinkProps;
|
|
4013
|
+
$slots: {
|
|
4014
|
+
default: (arg: {
|
|
4015
|
+
route: RouteLocation & {
|
|
4016
|
+
href: string;
|
|
4017
|
+
};
|
|
4018
|
+
href: string;
|
|
4019
|
+
isActive: boolean;
|
|
4020
|
+
isExactActive: boolean;
|
|
4021
|
+
navigate: (e?: MouseEvent | undefined) => Promise<void | NavigationFailure>;
|
|
4022
|
+
}) => VNode<RendererNode, RendererElement, {
|
|
4023
|
+
[key: string]: any;
|
|
4024
|
+
}>[];
|
|
4025
|
+
};
|
|
4026
|
+
};
|
|
4027
|
+
useLink: typeof useLink;
|
|
4028
|
+
};
|
|
3941
4029
|
setting<K extends keyof VuiServiceUISettings>(key: K): VuiServiceUISettings[K];
|
|
3942
4030
|
icon<K extends keyof VuiServiceIconSettings>(iconType: K): VuiServiceIconSettings[K];
|
|
3943
4031
|
getAutoScrollToElementOffsetTop(): number;
|
|
@@ -3954,6 +4042,7 @@ export declare interface VuiServiceIconSettings {
|
|
|
3954
4042
|
|
|
3955
4043
|
export declare interface VuiServiceOptions {
|
|
3956
4044
|
router: Router;
|
|
4045
|
+
RouterLink?: typeof RouterLink;
|
|
3957
4046
|
colorScheme: VueColorSchemePluginSettings;
|
|
3958
4047
|
uiSettings: VuiServiceUISettings;
|
|
3959
4048
|
icons: VuiServiceIconSettings;
|