@fastkit/vui 0.8.17 → 0.9.0
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/LICENSE +21 -0
- package/README.md +4 -1
- package/dist/vui.cjs.js +73 -31
- package/dist/vui.cjs.prod.js +73 -31
- package/dist/vui.css +6 -0
- package/dist/vui.d.ts +83 -49
- package/dist/vui.min.css +1 -1
- package/dist/vui.min.css.map +1 -1
- package/dist/vui.mjs +74 -34
- package/package.json +20 -9
- package/src/components/VBreadcrumbs/VBreadcrumbs.tsx +1 -1
- package/src/components/VBusyImage/VBusyImage.tsx +3 -3
- package/src/components/VButton/VButton.scss +8 -0
- package/src/components/VButton/VButton.tsx +9 -0
- package/src/components/VDataTable/VDataTable.tsx +9 -5
- package/src/components/VListTile/VListTile.tsx +4 -2
- package/src/components/VNavigation/VNavigation.tsx +13 -4
- package/src/components/VNavigation/VNavigationItem.tsx +25 -7
- package/src/components/VSelect/VSelect.tsx +20 -9
- package/src/service.tsx +7 -2
package/dist/vui.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { App } from 'vue';
|
|
|
4
4
|
import { BoldOptions } from '@tiptap/extension-bold';
|
|
5
5
|
import { BulletListOptions } from '@tiptap/extension-bullet-list';
|
|
6
6
|
import { ChainedCommands } from '@tiptap/vue-3';
|
|
7
|
-
import { ColorVariant , ThemeName, PaletteName
|
|
7
|
+
import { ColorVariant , ThemeName, PaletteName } from '@fastkit/color-scheme';
|
|
8
8
|
import { ComponentCustomProps } from 'vue';
|
|
9
9
|
import { ComponentOptionsMixin } from 'vue';
|
|
10
10
|
import { ComputedRef } from 'vue';
|
|
@@ -36,7 +36,7 @@ import { FormSelectorItemGroupControl } from '@fastkit/vue-kit';
|
|
|
36
36
|
import { FormSelectorValue } from '@fastkit/vue-kit';
|
|
37
37
|
import { HistoryOptions } from '@tiptap/extension-history';
|
|
38
38
|
import { HTMLAttributes } from 'vue';
|
|
39
|
-
import {
|
|
39
|
+
import { ICON_NAMES } from '@fastkit/icon-font';
|
|
40
40
|
import { IconName } from '@fastkit/icon-font';
|
|
41
41
|
import { IMaskEvent } from '@fastkit/vue-kit';
|
|
42
42
|
import { IMaskTypedValue } from '@fastkit/vue-kit';
|
|
@@ -48,7 +48,6 @@ import { LocationService } from '@fastkit/vue-utils';
|
|
|
48
48
|
import { Mark } from '@tiptap/vue-3';
|
|
49
49
|
import { MediaMatchKey } from '@fastkit/media-match';
|
|
50
50
|
import { NavigationableInheritProps } from '@fastkit/vue-utils';
|
|
51
|
-
import { NavigationFailure } from 'vue-router';
|
|
52
51
|
import { Node as Node_2 } from '@tiptap/vue-3';
|
|
53
52
|
import { Node as Node_3 } from 'prosemirror-model';
|
|
54
53
|
import { Numberish } from '@fastkit/vue-kit';
|
|
@@ -59,18 +58,13 @@ import { RawFormSelectorItems } from '@fastkit/vue-kit';
|
|
|
59
58
|
import { RawTextableFinishingProp } from '@fastkit/vue-kit';
|
|
60
59
|
import { RawTextareaAutosizeSettings } from '@fastkit/vue-kit';
|
|
61
60
|
import { Ref } from 'vue';
|
|
62
|
-
import { RendererElement } from 'vue';
|
|
63
|
-
import { RendererNode } from 'vue';
|
|
64
61
|
import { RequiredChipSource } from '@fastkit/vue-kit';
|
|
65
62
|
import { ResolvedFormSelectorGroup } from '@fastkit/vue-kit';
|
|
66
63
|
import { ResolvedFormSelectorItem } from '@fastkit/vue-kit';
|
|
67
64
|
import { ResolveRawSlots } from '@fastkit/vue-kit';
|
|
68
65
|
import { ResolveRawSlots as ResolveRawSlots_2 } from '@fastkit/vue-utils';
|
|
69
|
-
import { RouteLocation } from 'vue-router';
|
|
70
66
|
import { RouteLocationRaw } from 'vue-router';
|
|
71
67
|
import type { Router } from 'vue-router';
|
|
72
|
-
import { RouterLink } from 'vue-router';
|
|
73
|
-
import { RouterLinkProps } from 'vue-router';
|
|
74
68
|
import { ScopeName } from '@fastkit/color-scheme';
|
|
75
69
|
import { ShallowRef } from 'vue';
|
|
76
70
|
import { StyleValue } from 'vue';
|
|
@@ -84,13 +78,13 @@ import { TypedSlot } from '@fastkit/vue-kit';
|
|
|
84
78
|
import { UnderlineOptions } from '@tiptap/extension-underline';
|
|
85
79
|
import { UnwrapNestedRefs } from 'vue';
|
|
86
80
|
import { useLink } from 'vue-router';
|
|
81
|
+
import { UseLinkOptions } from 'vue-router';
|
|
87
82
|
import { ValidateTiming } from '@fastkit/vue-kit';
|
|
88
83
|
import { ValidationResult } from '@fastkit/vue-kit';
|
|
89
84
|
import { VDialog } from '@fastkit/vue-kit';
|
|
90
85
|
import { VDialogProps } from '@fastkit/vue-kit';
|
|
91
86
|
import { VMenu } from '@fastkit/vue-kit';
|
|
92
87
|
import { VMenuControl } from '@fastkit/vue-stack';
|
|
93
|
-
import { VNode } from 'vue';
|
|
94
88
|
import { VNodeChild } from 'vue';
|
|
95
89
|
import { VNodeChildOrSlot } from '@fastkit/vue-kit';
|
|
96
90
|
import { VNodeChildOrSlot as VNodeChildOrSlot_2 } from '@fastkit/vue-utils';
|
|
@@ -135,6 +129,8 @@ export declare interface BusyImageRects {
|
|
|
135
129
|
|
|
136
130
|
export declare type BusyImageSizeValue = number | string;
|
|
137
131
|
|
|
132
|
+
export declare const BUTTON_ALIGNS: readonly ["left", "center", "right"];
|
|
133
|
+
|
|
138
134
|
export declare const CHIP_SIZES: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
139
135
|
|
|
140
136
|
export declare type ChipSize = typeof CHIP_SIZES[number];
|
|
@@ -532,7 +528,7 @@ export declare function createListTileProps(): {
|
|
|
532
528
|
};
|
|
533
529
|
|
|
534
530
|
export declare function createNavigationItemProps(): {
|
|
535
|
-
match:
|
|
531
|
+
match: PropType<string | string[]>;
|
|
536
532
|
depth: {
|
|
537
533
|
type: NumberConstructor;
|
|
538
534
|
default: number;
|
|
@@ -574,6 +570,19 @@ export declare function createNavigationItemProps(): {
|
|
|
574
570
|
onClick: PropType<(ev: MouseEvent) => any>;
|
|
575
571
|
};
|
|
576
572
|
|
|
573
|
+
export declare function createNavigationProps(): {
|
|
574
|
+
items: {
|
|
575
|
+
type: PropType<NavigationItemInput[]>;
|
|
576
|
+
required: true;
|
|
577
|
+
};
|
|
578
|
+
color: PropType<ScopeName>;
|
|
579
|
+
startIconEmptySpace: {
|
|
580
|
+
type: BooleanConstructor;
|
|
581
|
+
default: boolean;
|
|
582
|
+
};
|
|
583
|
+
caption: PropType<VNodeChild | (() => VNodeChild)>;
|
|
584
|
+
};
|
|
585
|
+
|
|
577
586
|
export declare function createPaperBaseProps(): {
|
|
578
587
|
'v-slots': PropType<ResolveRawSlots_2<{
|
|
579
588
|
header: void;
|
|
@@ -990,7 +999,7 @@ declare function createTextFieldProps(): {
|
|
|
990
999
|
hiddenInfo: BooleanConstructor;
|
|
991
1000
|
requiredChip: PropType<RequiredChipSource>;
|
|
992
1001
|
type: {
|
|
993
|
-
type: PropType<"number" | "
|
|
1002
|
+
type: PropType<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
|
|
994
1003
|
default: string;
|
|
995
1004
|
};
|
|
996
1005
|
masked: StringConstructor;
|
|
@@ -1450,6 +1459,8 @@ export declare function mergeVuiServiceOptions(base: VuiServiceOptions, override
|
|
|
1450
1459
|
|
|
1451
1460
|
export declare function mergeVuiServiceUISettings(base: VuiServiceUISettings, overrides?: RawVuiServiceUISettings): VuiServiceUISettings;
|
|
1452
1461
|
|
|
1462
|
+
export declare type NavigationInput = ExtractPropInput<ReturnType<typeof createNavigationProps>>;
|
|
1463
|
+
|
|
1453
1464
|
export declare interface NavigationItemInput extends ExtractPropInput<ReturnType<typeof createNavigationItemProps>> {
|
|
1454
1465
|
key: string | number;
|
|
1455
1466
|
label: VNodeChild | (() => VNodeChild);
|
|
@@ -2380,6 +2391,8 @@ export declare interface UseElevationOptions {
|
|
|
2380
2391
|
defaultValue?: VuiElevationValue;
|
|
2381
2392
|
}
|
|
2382
2393
|
|
|
2394
|
+
export declare type UseLinkResult = ReturnType<typeof useLink>;
|
|
2395
|
+
|
|
2383
2396
|
export declare function useVui(): VuiService;
|
|
2384
2397
|
|
|
2385
2398
|
export declare function useVuiColorProvider(): VuiColorProvider;
|
|
@@ -2901,6 +2914,10 @@ export declare const VButton: DefineComponent<{
|
|
|
2901
2914
|
icon: PropType<RawVButtonIcon>;
|
|
2902
2915
|
startIcon: PropType<RawVButtonIcon>;
|
|
2903
2916
|
endIcon: PropType<RawVButtonIcon>;
|
|
2917
|
+
align: {
|
|
2918
|
+
type: PropType<"left" | "right" | "center">;
|
|
2919
|
+
default: string;
|
|
2920
|
+
};
|
|
2904
2921
|
tag: PropType<string>;
|
|
2905
2922
|
class: PropType<any>;
|
|
2906
2923
|
style: PropType<CSSProperties>;
|
|
@@ -2967,7 +2984,7 @@ export declare const VButton: DefineComponent<{
|
|
|
2967
2984
|
results: PropType<(string | number) | undefined>;
|
|
2968
2985
|
security: PropType<string | undefined>;
|
|
2969
2986
|
unselectable: PropType<"on" | "off" | undefined>;
|
|
2970
|
-
inputmode: PropType<"
|
|
2987
|
+
inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
|
|
2971
2988
|
is: PropType<string | undefined>;
|
|
2972
2989
|
'aria-activedescendant': PropType<string | undefined>;
|
|
2973
2990
|
'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
|
|
@@ -2982,7 +2999,7 @@ export declare const VButton: DefineComponent<{
|
|
|
2982
2999
|
'aria-describedby': PropType<string | undefined>;
|
|
2983
3000
|
'aria-details': PropType<string | undefined>;
|
|
2984
3001
|
'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
|
|
2985
|
-
'aria-dropeffect': PropType<"
|
|
3002
|
+
'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
|
|
2986
3003
|
'aria-errormessage': PropType<string | undefined>;
|
|
2987
3004
|
'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
|
|
2988
3005
|
'aria-flowto': PropType<string | undefined>;
|
|
@@ -3109,6 +3126,10 @@ export declare const VButton: DefineComponent<{
|
|
|
3109
3126
|
icon: PropType<RawVButtonIcon>;
|
|
3110
3127
|
startIcon: PropType<RawVButtonIcon>;
|
|
3111
3128
|
endIcon: PropType<RawVButtonIcon>;
|
|
3129
|
+
align: {
|
|
3130
|
+
type: PropType<"left" | "right" | "center">;
|
|
3131
|
+
default: string;
|
|
3132
|
+
};
|
|
3112
3133
|
tag: PropType<string>;
|
|
3113
3134
|
class: PropType<any>;
|
|
3114
3135
|
style: PropType<CSSProperties>;
|
|
@@ -3175,7 +3196,7 @@ export declare const VButton: DefineComponent<{
|
|
|
3175
3196
|
results: PropType<(string | number) | undefined>;
|
|
3176
3197
|
security: PropType<string | undefined>;
|
|
3177
3198
|
unselectable: PropType<"on" | "off" | undefined>;
|
|
3178
|
-
inputmode: PropType<"
|
|
3199
|
+
inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
|
|
3179
3200
|
is: PropType<string | undefined>;
|
|
3180
3201
|
'aria-activedescendant': PropType<string | undefined>;
|
|
3181
3202
|
'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
|
|
@@ -3190,7 +3211,7 @@ export declare const VButton: DefineComponent<{
|
|
|
3190
3211
|
'aria-describedby': PropType<string | undefined>;
|
|
3191
3212
|
'aria-details': PropType<string | undefined>;
|
|
3192
3213
|
'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
|
|
3193
|
-
'aria-dropeffect': PropType<"
|
|
3214
|
+
'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
|
|
3194
3215
|
'aria-errormessage': PropType<string | undefined>;
|
|
3195
3216
|
'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
|
|
3196
3217
|
'aria-flowto': PropType<string | undefined>;
|
|
@@ -3308,10 +3329,13 @@ export declare const VButton: DefineComponent<{
|
|
|
3308
3329
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3309
3330
|
}>>, {
|
|
3310
3331
|
rounded: boolean;
|
|
3332
|
+
align: "left" | "right" | "center";
|
|
3311
3333
|
loading: boolean;
|
|
3312
3334
|
ariaCurrentValue: "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
3313
3335
|
}>;
|
|
3314
3336
|
|
|
3337
|
+
export declare type VButtonAlign = typeof BUTTON_ALIGNS[number];
|
|
3338
|
+
|
|
3315
3339
|
export declare const VButtonGroup: DefineComponent<{
|
|
3316
3340
|
disabled: BooleanConstructor;
|
|
3317
3341
|
size: {
|
|
@@ -6292,7 +6316,7 @@ export declare const VNavigation: DefineComponent<{
|
|
|
6292
6316
|
|
|
6293
6317
|
export declare const VNavigationItem: DefineComponent<{
|
|
6294
6318
|
children: PropType<NavigationItemInput[]>;
|
|
6295
|
-
match:
|
|
6319
|
+
match: PropType<string | string[]>;
|
|
6296
6320
|
depth: {
|
|
6297
6321
|
type: NumberConstructor;
|
|
6298
6322
|
default: number;
|
|
@@ -6336,7 +6360,7 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
6336
6360
|
changeActive: (isActive: boolean) => boolean;
|
|
6337
6361
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
6338
6362
|
children: PropType<NavigationItemInput[]>;
|
|
6339
|
-
match:
|
|
6363
|
+
match: PropType<string | string[]>;
|
|
6340
6364
|
depth: {
|
|
6341
6365
|
type: NumberConstructor;
|
|
6342
6366
|
default: number;
|
|
@@ -7576,10 +7600,16 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7576
7600
|
}>;
|
|
7577
7601
|
|
|
7578
7602
|
export declare const VSelect: DefineComponent<{
|
|
7603
|
+
closeOnNavigation: BooleanConstructor;
|
|
7579
7604
|
placeholder: StringConstructor;
|
|
7580
7605
|
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7581
7606
|
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7582
|
-
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots
|
|
7607
|
+
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots & {
|
|
7608
|
+
selection: {
|
|
7609
|
+
item: FormSelectorItemControl;
|
|
7610
|
+
index: number;
|
|
7611
|
+
};
|
|
7612
|
+
}>>;
|
|
7583
7613
|
size: {
|
|
7584
7614
|
type: PropType<"sm" | "md" | "lg">;
|
|
7585
7615
|
validator: (value: any) => boolean;
|
|
@@ -7713,10 +7743,16 @@ export declare const VSelect: DefineComponent<{
|
|
|
7713
7743
|
focus: (ev: FocusEvent) => boolean;
|
|
7714
7744
|
blur: (ev: FocusEvent) => boolean;
|
|
7715
7745
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
7746
|
+
closeOnNavigation: BooleanConstructor;
|
|
7716
7747
|
placeholder: StringConstructor;
|
|
7717
7748
|
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7718
7749
|
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7719
|
-
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots
|
|
7750
|
+
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots & {
|
|
7751
|
+
selection: {
|
|
7752
|
+
item: FormSelectorItemControl;
|
|
7753
|
+
index: number;
|
|
7754
|
+
};
|
|
7755
|
+
}>>;
|
|
7720
7756
|
size: {
|
|
7721
7757
|
type: PropType<"sm" | "md" | "lg">;
|
|
7722
7758
|
validator: (value: any) => boolean;
|
|
@@ -7813,6 +7849,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7813
7849
|
hiddenInfo: boolean;
|
|
7814
7850
|
errors: FormNodeError[];
|
|
7815
7851
|
loading: boolean;
|
|
7852
|
+
closeOnNavigation: boolean;
|
|
7816
7853
|
}>;
|
|
7817
7854
|
|
|
7818
7855
|
export declare const VSkeltonLoaderBone: DefineComponent<{
|
|
@@ -8554,7 +8591,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8554
8591
|
hiddenInfo: BooleanConstructor;
|
|
8555
8592
|
requiredChip: PropType<RequiredChipSource>;
|
|
8556
8593
|
type: {
|
|
8557
|
-
type: PropType<"number" | "
|
|
8594
|
+
type: PropType<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
|
|
8558
8595
|
default: string;
|
|
8559
8596
|
};
|
|
8560
8597
|
masked: StringConstructor;
|
|
@@ -8594,7 +8631,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8594
8631
|
classes: ComputedRef<any>;
|
|
8595
8632
|
textInputControl: TextInputControl;
|
|
8596
8633
|
computedMask: ComputedRef<any>;
|
|
8597
|
-
computedType: ComputedRef<"number" | "
|
|
8634
|
+
computedType: ComputedRef<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
|
|
8598
8635
|
inputElementRef: Ref<HTMLInputElement | null>;
|
|
8599
8636
|
focus: (opts?: FocusOptions | undefined) => void;
|
|
8600
8637
|
blur: () => void;
|
|
@@ -8688,7 +8725,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8688
8725
|
hiddenInfo: BooleanConstructor;
|
|
8689
8726
|
requiredChip: PropType<RequiredChipSource>;
|
|
8690
8727
|
type: {
|
|
8691
|
-
type: PropType<"number" | "
|
|
8728
|
+
type: PropType<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
|
|
8692
8729
|
default: string;
|
|
8693
8730
|
};
|
|
8694
8731
|
masked: StringConstructor;
|
|
@@ -8734,7 +8771,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8734
8771
|
"onUpdate:errors"?: ((errors: FormNodeError[]) => any) | undefined;
|
|
8735
8772
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
8736
8773
|
}, {
|
|
8737
|
-
type: "number" | "
|
|
8774
|
+
type: "number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time";
|
|
8738
8775
|
autofocus: boolean;
|
|
8739
8776
|
disabled: boolean;
|
|
8740
8777
|
readonly: boolean;
|
|
@@ -8806,6 +8843,10 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
8806
8843
|
icon: PropType<RawVButtonIcon>;
|
|
8807
8844
|
startIcon: PropType<RawVButtonIcon>;
|
|
8808
8845
|
endIcon: PropType<RawVButtonIcon>;
|
|
8846
|
+
align: {
|
|
8847
|
+
type: PropType<"left" | "right" | "center">;
|
|
8848
|
+
default: string;
|
|
8849
|
+
};
|
|
8809
8850
|
tag: PropType<string>;
|
|
8810
8851
|
class: PropType<any>;
|
|
8811
8852
|
style: PropType<CSSProperties>;
|
|
@@ -8872,7 +8913,7 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
8872
8913
|
results: PropType<(string | number) | undefined>;
|
|
8873
8914
|
security: PropType<string | undefined>;
|
|
8874
8915
|
unselectable: PropType<"on" | "off" | undefined>;
|
|
8875
|
-
inputmode: PropType<"
|
|
8916
|
+
inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
|
|
8876
8917
|
is: PropType<string | undefined>;
|
|
8877
8918
|
'aria-activedescendant': PropType<string | undefined>;
|
|
8878
8919
|
'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
|
|
@@ -8887,7 +8928,7 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
8887
8928
|
'aria-describedby': PropType<string | undefined>;
|
|
8888
8929
|
'aria-details': PropType<string | undefined>;
|
|
8889
8930
|
'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
|
|
8890
|
-
'aria-dropeffect': PropType<"
|
|
8931
|
+
'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
|
|
8891
8932
|
'aria-errormessage': PropType<string | undefined>;
|
|
8892
8933
|
'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
|
|
8893
8934
|
'aria-flowto': PropType<string | undefined>;
|
|
@@ -9014,6 +9055,10 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
9014
9055
|
icon: PropType<RawVButtonIcon>;
|
|
9015
9056
|
startIcon: PropType<RawVButtonIcon>;
|
|
9016
9057
|
endIcon: PropType<RawVButtonIcon>;
|
|
9058
|
+
align: {
|
|
9059
|
+
type: PropType<"left" | "right" | "center">;
|
|
9060
|
+
default: string;
|
|
9061
|
+
};
|
|
9017
9062
|
tag: PropType<string>;
|
|
9018
9063
|
class: PropType<any>;
|
|
9019
9064
|
style: PropType<CSSProperties>;
|
|
@@ -9080,7 +9125,7 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
9080
9125
|
results: PropType<(string | number) | undefined>;
|
|
9081
9126
|
security: PropType<string | undefined>;
|
|
9082
9127
|
unselectable: PropType<"on" | "off" | undefined>;
|
|
9083
|
-
inputmode: PropType<"
|
|
9128
|
+
inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
|
|
9084
9129
|
is: PropType<string | undefined>;
|
|
9085
9130
|
'aria-activedescendant': PropType<string | undefined>;
|
|
9086
9131
|
'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
|
|
@@ -9095,7 +9140,7 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
9095
9140
|
'aria-describedby': PropType<string | undefined>;
|
|
9096
9141
|
'aria-details': PropType<string | undefined>;
|
|
9097
9142
|
'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
|
|
9098
|
-
'aria-dropeffect': PropType<"
|
|
9143
|
+
'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
|
|
9099
9144
|
'aria-errormessage': PropType<string | undefined>;
|
|
9100
9145
|
'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
|
|
9101
9146
|
'aria-flowto': PropType<string | undefined>;
|
|
@@ -9213,6 +9258,7 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
9213
9258
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
9214
9259
|
}>>, {
|
|
9215
9260
|
rounded: boolean;
|
|
9261
|
+
align: "left" | "right" | "center";
|
|
9216
9262
|
loading: boolean;
|
|
9217
9263
|
ariaCurrentValue: "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
9218
9264
|
}>;
|
|
@@ -9246,6 +9292,10 @@ export declare const vueButtonProps: {
|
|
|
9246
9292
|
icon: PropType<RawVButtonIcon>;
|
|
9247
9293
|
startIcon: PropType<RawVButtonIcon>;
|
|
9248
9294
|
endIcon: PropType<RawVButtonIcon>;
|
|
9295
|
+
align: {
|
|
9296
|
+
type: PropType<"left" | "right" | "center">;
|
|
9297
|
+
default: string;
|
|
9298
|
+
};
|
|
9249
9299
|
tag: PropType<string>;
|
|
9250
9300
|
class: PropType<any>;
|
|
9251
9301
|
style: PropType<CSSProperties>;
|
|
@@ -9312,7 +9362,7 @@ export declare const vueButtonProps: {
|
|
|
9312
9362
|
results: PropType<(string | number) | undefined>;
|
|
9313
9363
|
security: PropType<string | undefined>;
|
|
9314
9364
|
unselectable: PropType<"on" | "off" | undefined>;
|
|
9315
|
-
inputmode: PropType<"
|
|
9365
|
+
inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
|
|
9316
9366
|
is: PropType<string | undefined>;
|
|
9317
9367
|
'aria-activedescendant': PropType<string | undefined>;
|
|
9318
9368
|
'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
|
|
@@ -9327,7 +9377,7 @@ export declare const vueButtonProps: {
|
|
|
9327
9377
|
'aria-describedby': PropType<string | undefined>;
|
|
9328
9378
|
'aria-details': PropType<string | undefined>;
|
|
9329
9379
|
'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
|
|
9330
|
-
'aria-dropeffect': PropType<"
|
|
9380
|
+
'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
|
|
9331
9381
|
'aria-errormessage': PropType<string | undefined>;
|
|
9332
9382
|
'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
|
|
9333
9383
|
'aria-flowto': PropType<string | undefined>;
|
|
@@ -9520,6 +9570,7 @@ export declare class VuiService {
|
|
|
9520
9570
|
readonly router: Router;
|
|
9521
9571
|
readonly location: LocationService;
|
|
9522
9572
|
readonly stack: VueStackService;
|
|
9573
|
+
readonly useLink: typeof useLink;
|
|
9523
9574
|
get scroller(): {
|
|
9524
9575
|
readonly elementRef: Ref<HTMLElement | null>;
|
|
9525
9576
|
readonly scroller: Scroller;
|
|
@@ -9572,25 +9623,7 @@ export declare class VuiService {
|
|
|
9572
9623
|
};
|
|
9573
9624
|
constructor(options: VuiServiceOptions, stackService: VueStackService);
|
|
9574
9625
|
configure(options?: Partial<VuiServiceOptions>): void;
|
|
9575
|
-
getRouterLink():
|
|
9576
|
-
new (): {
|
|
9577
|
-
$props: AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterLinkProps;
|
|
9578
|
-
$slots: {
|
|
9579
|
-
default: (arg: {
|
|
9580
|
-
route: RouteLocation & {
|
|
9581
|
-
href: string;
|
|
9582
|
-
};
|
|
9583
|
-
href: string;
|
|
9584
|
-
isActive: boolean;
|
|
9585
|
-
isExactActive: boolean;
|
|
9586
|
-
navigate: (e?: MouseEvent | undefined) => Promise<void | NavigationFailure>;
|
|
9587
|
-
}) => VNode<RendererNode, RendererElement, {
|
|
9588
|
-
[key: string]: any;
|
|
9589
|
-
}>[];
|
|
9590
|
-
};
|
|
9591
|
-
};
|
|
9592
|
-
useLink: typeof useLink;
|
|
9593
|
-
};
|
|
9626
|
+
getRouterLink(): any;
|
|
9594
9627
|
setting<K extends keyof VuiServiceUISettings>(key: K): VuiServiceUISettings[K];
|
|
9595
9628
|
icon<K extends keyof VuiServiceIconSettings>(iconType: K): VuiServiceIconSettings[K];
|
|
9596
9629
|
getAutoScrollToElementOffsetTop(): number;
|
|
@@ -9634,7 +9667,8 @@ export declare interface VuiServiceIconSettings {
|
|
|
9634
9667
|
|
|
9635
9668
|
export declare interface VuiServiceOptions {
|
|
9636
9669
|
router: Router;
|
|
9637
|
-
RouterLink?:
|
|
9670
|
+
RouterLink?: any;
|
|
9671
|
+
useLink?: (props: UseLinkOptions) => UseLinkResult;
|
|
9638
9672
|
colorScheme: VueColorSchemePluginSettings;
|
|
9639
9673
|
uiSettings: VuiServiceUISettings;
|
|
9640
9674
|
icons: VuiServiceIconSettings;
|