@fastkit/vui 0.8.18 → 0.10.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/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, ScopeName } from '@fastkit/color-scheme';
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';
@@ -13,7 +13,6 @@ import { DefineComponent } from 'vue';
13
13
  import { Editor } from '@tiptap/vue-3';
14
14
  import { EditorOptions } from '@tiptap/vue-3';
15
15
  import { EditorView } from 'prosemirror-view';
16
- import { EmitsOptions } from 'vue';
17
16
  import { EV } from '@fastkit/ev';
18
17
  import { Extension } from '@tiptap/vue-3';
19
18
  import { Extension as Extension_2 } from '@tiptap/core';
@@ -36,7 +35,7 @@ import { FormSelectorItemGroupControl } from '@fastkit/vue-kit';
36
35
  import { FormSelectorValue } from '@fastkit/vue-kit';
37
36
  import { HistoryOptions } from '@tiptap/extension-history';
38
37
  import { HTMLAttributes } from 'vue';
39
- import { ICON_NAMES , IconName } from '@fastkit/icon-font';
38
+ import { ICON_NAMES } from '@fastkit/icon-font';
40
39
  import { IconName } from '@fastkit/icon-font';
41
40
  import { IMaskEvent } from '@fastkit/vue-kit';
42
41
  import { IMaskTypedValue } from '@fastkit/vue-kit';
@@ -48,7 +47,6 @@ import { LocationService } from '@fastkit/vue-utils';
48
47
  import { Mark } from '@tiptap/vue-3';
49
48
  import { MediaMatchKey } from '@fastkit/media-match';
50
49
  import { NavigationableInheritProps } from '@fastkit/vue-utils';
51
- import { NavigationFailure } from 'vue-router';
52
50
  import { Node as Node_2 } from '@tiptap/vue-3';
53
51
  import { Node as Node_3 } from 'prosemirror-model';
54
52
  import { Numberish } from '@fastkit/vue-kit';
@@ -59,18 +57,13 @@ import { RawFormSelectorItems } from '@fastkit/vue-kit';
59
57
  import { RawTextableFinishingProp } from '@fastkit/vue-kit';
60
58
  import { RawTextareaAutosizeSettings } from '@fastkit/vue-kit';
61
59
  import { Ref } from 'vue';
62
- import { RendererElement } from 'vue';
63
- import { RendererNode } from 'vue';
64
60
  import { RequiredChipSource } from '@fastkit/vue-kit';
65
61
  import { ResolvedFormSelectorGroup } from '@fastkit/vue-kit';
66
62
  import { ResolvedFormSelectorItem } from '@fastkit/vue-kit';
67
63
  import { ResolveRawSlots } from '@fastkit/vue-kit';
68
64
  import { ResolveRawSlots as ResolveRawSlots_2 } from '@fastkit/vue-utils';
69
- import { RouteLocation } from 'vue-router';
70
65
  import { RouteLocationRaw } from 'vue-router';
71
66
  import type { Router } from 'vue-router';
72
- import { RouterLink } from 'vue-router';
73
- import { RouterLinkProps } from 'vue-router';
74
67
  import { ScopeName } from '@fastkit/color-scheme';
75
68
  import { ShallowRef } from 'vue';
76
69
  import { StyleValue } from 'vue';
@@ -84,13 +77,13 @@ import { TypedSlot } from '@fastkit/vue-kit';
84
77
  import { UnderlineOptions } from '@tiptap/extension-underline';
85
78
  import { UnwrapNestedRefs } from 'vue';
86
79
  import { useLink } from 'vue-router';
80
+ import { UseLinkOptions } from 'vue-router';
87
81
  import { ValidateTiming } from '@fastkit/vue-kit';
88
82
  import { ValidationResult } from '@fastkit/vue-kit';
89
83
  import { VDialog } from '@fastkit/vue-kit';
90
84
  import { VDialogProps } from '@fastkit/vue-kit';
91
85
  import { VMenu } from '@fastkit/vue-kit';
92
86
  import { VMenuControl } from '@fastkit/vue-stack';
93
- import { VNode } from 'vue';
94
87
  import { VNodeChild } from 'vue';
95
88
  import { VNodeChildOrSlot } from '@fastkit/vue-kit';
96
89
  import { VNodeChildOrSlot as VNodeChildOrSlot_2 } from '@fastkit/vue-utils';
@@ -135,6 +128,8 @@ export declare interface BusyImageRects {
135
128
 
136
129
  export declare type BusyImageSizeValue = number | string;
137
130
 
131
+ export declare const BUTTON_ALIGNS: readonly ["left", "center", "right"];
132
+
138
133
  export declare const CHIP_SIZES: readonly ["xs", "sm", "md", "lg", "xl"];
139
134
 
140
135
  export declare type ChipSize = typeof CHIP_SIZES[number];
@@ -532,7 +527,7 @@ export declare function createListTileProps(): {
532
527
  };
533
528
 
534
529
  export declare function createNavigationItemProps(): {
535
- match: StringConstructor;
530
+ match: PropType<string | string[]>;
536
531
  depth: {
537
532
  type: NumberConstructor;
538
533
  default: number;
@@ -574,6 +569,19 @@ export declare function createNavigationItemProps(): {
574
569
  onClick: PropType<(ev: MouseEvent) => any>;
575
570
  };
576
571
 
572
+ export declare function createNavigationProps(): {
573
+ items: {
574
+ type: PropType<NavigationItemInput[]>;
575
+ required: true;
576
+ };
577
+ color: PropType<ScopeName>;
578
+ startIconEmptySpace: {
579
+ type: BooleanConstructor;
580
+ default: boolean;
581
+ };
582
+ caption: PropType<VNodeChild | (() => VNodeChild)>;
583
+ };
584
+
577
585
  export declare function createPaperBaseProps(): {
578
586
  'v-slots': PropType<ResolveRawSlots_2<{
579
587
  header: void;
@@ -990,7 +998,7 @@ declare function createTextFieldProps(): {
990
998
  hiddenInfo: BooleanConstructor;
991
999
  requiredChip: PropType<RequiredChipSource>;
992
1000
  type: {
993
- type: PropType<"number" | "search" | "email" | "tel" | "url" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
1001
+ type: PropType<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
994
1002
  default: string;
995
1003
  };
996
1004
  masked: StringConstructor;
@@ -1450,6 +1458,8 @@ export declare function mergeVuiServiceOptions(base: VuiServiceOptions, override
1450
1458
 
1451
1459
  export declare function mergeVuiServiceUISettings(base: VuiServiceUISettings, overrides?: RawVuiServiceUISettings): VuiServiceUISettings;
1452
1460
 
1461
+ export declare type NavigationInput = ExtractPropInput<ReturnType<typeof createNavigationProps>>;
1462
+
1453
1463
  export declare interface NavigationItemInput extends ExtractPropInput<ReturnType<typeof createNavigationItemProps>> {
1454
1464
  key: string | number;
1455
1465
  label: VNodeChild | (() => VNodeChild);
@@ -1557,7 +1567,7 @@ export declare function resolveRawWysiwygEditorTools(rawTools: RawWysiwygEditorT
1557
1567
 
1558
1568
  export declare function resolveRawWysiwygExtensions(raws: RawWysiwygExtension[], ctx: WysiwygEditorInitializeContext): AnyExtension[];
1559
1569
 
1560
- declare interface Rule<C extends any = any> {
1570
+ declare interface Rule<C = any> {
1561
1571
  <EC extends C = C>(constraints: Partial<EC>, overRides?: string | Partial<RuleSettings<EC>>): Rule<EC>;
1562
1572
  $name: string;
1563
1573
  validate: (value: any, options?: RuleValidateOptions) => RuleResult;
@@ -1578,7 +1588,7 @@ declare interface Rule<C extends any = any> {
1578
1588
 
1579
1589
  declare type RuleResult = Promise<void | typeof ValidateCancelSymbol | ValidationError>;
1580
1590
 
1581
- declare type RuleSettings<C extends any = any> = {
1591
+ declare type RuleSettings<C = any> = {
1582
1592
  name: string;
1583
1593
  validate: (value: any, constraints: C) => RuleSettingsValidatePayload;
1584
1594
  message?: RuleSettingsMessage<C>;
@@ -1590,7 +1600,7 @@ declare type RuleSettings<C extends any = any> = {
1590
1600
  constraints?: any;
1591
1601
  };
1592
1602
 
1593
- declare type RuleSettingsMessage<C extends any = any> = string | ((value: any, ctx: RuleValidateContext<C>) => string);
1603
+ declare type RuleSettingsMessage<C = any> = string | ((value: any, ctx: RuleValidateContext<C>) => string);
1594
1604
 
1595
1605
  declare type RuleSettingsValidatePayload = RuleSettingsValidateSource | Promise<RuleSettingsValidateSource>;
1596
1606
 
@@ -1604,7 +1614,7 @@ true
1604
1614
  /** When there is a nested validation result object */
1605
1615
  | ValidationError[];
1606
1616
 
1607
- declare interface RuleValidateContext<C extends any = any> {
1617
+ declare interface RuleValidateContext<C = any> {
1608
1618
  name: string;
1609
1619
  value: any;
1610
1620
  constraints: C;
@@ -2380,6 +2390,8 @@ export declare interface UseElevationOptions {
2380
2390
  defaultValue?: VuiElevationValue;
2381
2391
  }
2382
2392
 
2393
+ export declare type UseLinkResult = ReturnType<typeof useLink>;
2394
+
2383
2395
  export declare function useVui(): VuiService;
2384
2396
 
2385
2397
  export declare function useVuiColorProvider(): VuiColorProvider;
@@ -2402,7 +2414,7 @@ declare interface ValidationError {
2402
2414
 
2403
2415
  declare const ValidationErrorSymbol = "ValidationError";
2404
2416
 
2405
- export declare const VApp: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
2417
+ export declare const VApp: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
2406
2418
 
2407
2419
  export declare const VAvatar: DefineComponent<{
2408
2420
  size: {
@@ -2443,7 +2455,7 @@ export declare const VAvatar: DefineComponent<{
2443
2455
  color: PropType<ScopeName>;
2444
2456
  textColor: PropType<PaletteName>;
2445
2457
  borderColor: PropType<PaletteName>;
2446
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2458
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2447
2459
  size: {
2448
2460
  type: PropType<number | "sm" | "md" | "lg">;
2449
2461
  default: string;
@@ -2496,7 +2508,7 @@ export declare const VBreadcrumbs: DefineComponent<{
2496
2508
  default: () => never[];
2497
2509
  };
2498
2510
  divider: PropType<VNodeChild | ((vui: VuiService) => VNodeChild)>;
2499
- }, () => JSX.Element | undefined, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2511
+ }, () => JSX.Element | undefined, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2500
2512
  items: {
2501
2513
  type: PropType<BreadcrumbsItem[]>;
2502
2514
  default: () => never[];
@@ -2901,6 +2913,10 @@ export declare const VButton: DefineComponent<{
2901
2913
  icon: PropType<RawVButtonIcon>;
2902
2914
  startIcon: PropType<RawVButtonIcon>;
2903
2915
  endIcon: PropType<RawVButtonIcon>;
2916
+ align: {
2917
+ type: PropType<"left" | "right" | "center">;
2918
+ default: string;
2919
+ };
2904
2920
  tag: PropType<string>;
2905
2921
  class: PropType<any>;
2906
2922
  style: PropType<CSSProperties>;
@@ -2967,7 +2983,7 @@ export declare const VButton: DefineComponent<{
2967
2983
  results: PropType<(string | number) | undefined>;
2968
2984
  security: PropType<string | undefined>;
2969
2985
  unselectable: PropType<"on" | "off" | undefined>;
2970
- inputmode: PropType<"search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
2986
+ inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
2971
2987
  is: PropType<string | undefined>;
2972
2988
  'aria-activedescendant': PropType<string | undefined>;
2973
2989
  'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
@@ -2982,7 +2998,7 @@ export declare const VButton: DefineComponent<{
2982
2998
  'aria-describedby': PropType<string | undefined>;
2983
2999
  'aria-details': PropType<string | undefined>;
2984
3000
  'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
2985
- 'aria-dropeffect': PropType<"link" | "none" | "copy" | "execute" | "move" | "popup" | undefined>;
3001
+ 'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
2986
3002
  'aria-errormessage': PropType<string | undefined>;
2987
3003
  'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
2988
3004
  'aria-flowto': PropType<string | undefined>;
@@ -3098,7 +3114,7 @@ export declare const VButton: DefineComponent<{
3098
3114
  onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
3099
3115
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
3100
3116
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
3101
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
3117
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
3102
3118
  size: {
3103
3119
  type: PropType<"sm" | "md" | "lg">;
3104
3120
  validator: (value: any) => boolean;
@@ -3109,6 +3125,10 @@ export declare const VButton: DefineComponent<{
3109
3125
  icon: PropType<RawVButtonIcon>;
3110
3126
  startIcon: PropType<RawVButtonIcon>;
3111
3127
  endIcon: PropType<RawVButtonIcon>;
3128
+ align: {
3129
+ type: PropType<"left" | "right" | "center">;
3130
+ default: string;
3131
+ };
3112
3132
  tag: PropType<string>;
3113
3133
  class: PropType<any>;
3114
3134
  style: PropType<CSSProperties>;
@@ -3175,7 +3195,7 @@ export declare const VButton: DefineComponent<{
3175
3195
  results: PropType<(string | number) | undefined>;
3176
3196
  security: PropType<string | undefined>;
3177
3197
  unselectable: PropType<"on" | "off" | undefined>;
3178
- inputmode: PropType<"search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
3198
+ inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
3179
3199
  is: PropType<string | undefined>;
3180
3200
  'aria-activedescendant': PropType<string | undefined>;
3181
3201
  'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
@@ -3190,7 +3210,7 @@ export declare const VButton: DefineComponent<{
3190
3210
  'aria-describedby': PropType<string | undefined>;
3191
3211
  'aria-details': PropType<string | undefined>;
3192
3212
  'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
3193
- 'aria-dropeffect': PropType<"link" | "none" | "copy" | "execute" | "move" | "popup" | undefined>;
3213
+ 'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
3194
3214
  'aria-errormessage': PropType<string | undefined>;
3195
3215
  'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
3196
3216
  'aria-flowto': PropType<string | undefined>;
@@ -3308,10 +3328,13 @@ export declare const VButton: DefineComponent<{
3308
3328
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
3309
3329
  }>>, {
3310
3330
  rounded: boolean;
3331
+ align: "left" | "right" | "center";
3311
3332
  loading: boolean;
3312
3333
  ariaCurrentValue: "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
3313
3334
  }>;
3314
3335
 
3336
+ export declare type VButtonAlign = typeof BUTTON_ALIGNS[number];
3337
+
3315
3338
  export declare const VButtonGroup: DefineComponent<{
3316
3339
  disabled: BooleanConstructor;
3317
3340
  size: {
@@ -3324,7 +3347,7 @@ export declare const VButtonGroup: DefineComponent<{
3324
3347
  color: PropType<ScopeName>;
3325
3348
  textColor: PropType<PaletteName>;
3326
3349
  borderColor: PropType<PaletteName>;
3327
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
3350
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
3328
3351
  disabled: BooleanConstructor;
3329
3352
  size: {
3330
3353
  type: PropType<"sm" | "md" | "lg">;
@@ -3554,7 +3577,7 @@ export declare const VCard: DefineComponent<{
3554
3577
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
3555
3578
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
3556
3579
  elevation: PropType<VuiElevationValue>;
3557
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
3580
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
3558
3581
  disabled: BooleanConstructor;
3559
3582
  tag: PropType<string>;
3560
3583
  class: PropType<any>;
@@ -3765,9 +3788,9 @@ export declare const VCard: DefineComponent<{
3765
3788
  square: boolean;
3766
3789
  }>;
3767
3790
 
3768
- export declare const VCardActions: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
3791
+ export declare const VCardActions: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
3769
3792
 
3770
- export declare const VCardContent: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
3793
+ export declare const VCardContent: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
3771
3794
 
3772
3795
  export declare const VCheckbox: DefineComponent<{
3773
3796
  indeterminate: BooleanConstructor;
@@ -4172,7 +4195,7 @@ export declare const VChip: DefineComponent<{
4172
4195
  color: PropType<ScopeName>;
4173
4196
  textColor: PropType<PaletteName>;
4174
4197
  borderColor: PropType<PaletteName>;
4175
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
4198
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
4176
4199
  size: {
4177
4200
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
4178
4201
  default: string;
@@ -4620,7 +4643,7 @@ export declare const VDrawerLayout: DefineComponent<{
4620
4643
  onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
4621
4644
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
4622
4645
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
4623
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
4646
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
4624
4647
  'v-slots': PropType<ResolveRawSlots<{
4625
4648
  header: void;
4626
4649
  default: void;
@@ -5228,7 +5251,7 @@ export declare const VGridContainer: DefineComponent<{
5228
5251
  onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
5229
5252
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
5230
5253
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
5231
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
5254
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
5232
5255
  wrapperTag: {
5233
5256
  type: StringConstructor;
5234
5257
  default: string;
@@ -5598,7 +5621,7 @@ export declare const VGridItem: DefineComponent<{
5598
5621
  onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
5599
5622
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
5600
5623
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
5601
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
5624
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
5602
5625
  tag: {
5603
5626
  type: StringConstructor;
5604
5627
  default: string;
@@ -5967,7 +5990,7 @@ export declare const VHero: DefineComponent<{
5967
5990
  onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
5968
5991
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
5969
5992
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
5970
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
5993
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
5971
5994
  'v-slots': PropType<ResolveRawSlots_2<{
5972
5995
  default: void;
5973
5996
  adornment: void;
@@ -6275,7 +6298,7 @@ export declare const VNavigation: DefineComponent<{
6275
6298
  default: boolean;
6276
6299
  };
6277
6300
  caption: PropType<VNodeChild | (() => VNodeChild)>;
6278
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
6301
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
6279
6302
  items: {
6280
6303
  type: PropType<NavigationItemInput[]>;
6281
6304
  required: true;
@@ -6292,7 +6315,7 @@ export declare const VNavigation: DefineComponent<{
6292
6315
 
6293
6316
  export declare const VNavigationItem: DefineComponent<{
6294
6317
  children: PropType<NavigationItemInput[]>;
6295
- match: StringConstructor;
6318
+ match: PropType<string | string[]>;
6296
6319
  depth: {
6297
6320
  type: NumberConstructor;
6298
6321
  default: number;
@@ -6336,7 +6359,7 @@ export declare const VNavigationItem: DefineComponent<{
6336
6359
  changeActive: (isActive: boolean) => boolean;
6337
6360
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
6338
6361
  children: PropType<NavigationItemInput[]>;
6339
- match: StringConstructor;
6362
+ match: PropType<string | string[]>;
6340
6363
  depth: {
6341
6364
  type: NumberConstructor;
6342
6365
  default: number;
@@ -6738,7 +6761,7 @@ export declare const VOptionGroup: DefineComponent<{
6738
6761
  isNotSelected: ComputedRef<boolean>;
6739
6762
  isAllSelected: ComputedRef<boolean>;
6740
6763
  isIndeterminate: ComputedRef<boolean>;
6741
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
6764
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
6742
6765
  'v-slots': PropType<ResolveRawSlots<{
6743
6766
  label: FormSelectorItemGroupControl;
6744
6767
  }>>;
@@ -7024,7 +7047,7 @@ export declare const VPaper: DefineComponent<{
7024
7047
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
7025
7048
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
7026
7049
  elevation: PropType<VuiElevationValue>;
7027
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
7050
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
7028
7051
  square: BooleanConstructor;
7029
7052
  headerProps: PropType<ARGS>;
7030
7053
  bodyProps: PropType<ARGS>;
@@ -7576,10 +7599,16 @@ export declare const VRadioGroup: DefineComponent<{
7576
7599
  }>;
7577
7600
 
7578
7601
  export declare const VSelect: DefineComponent<{
7602
+ closeOnNavigation: BooleanConstructor;
7579
7603
  placeholder: StringConstructor;
7580
7604
  loadingMessage: PropType<VNodeChildOrSlot<any>>;
7581
7605
  failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
7582
- 'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots>>;
7606
+ 'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots & {
7607
+ selection: {
7608
+ item: FormSelectorItemControl;
7609
+ index: number;
7610
+ };
7611
+ }>>;
7583
7612
  size: {
7584
7613
  type: PropType<"sm" | "md" | "lg">;
7585
7614
  validator: (value: any) => boolean;
@@ -7713,10 +7742,16 @@ export declare const VSelect: DefineComponent<{
7713
7742
  focus: (ev: FocusEvent) => boolean;
7714
7743
  blur: (ev: FocusEvent) => boolean;
7715
7744
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
7745
+ closeOnNavigation: BooleanConstructor;
7716
7746
  placeholder: StringConstructor;
7717
7747
  loadingMessage: PropType<VNodeChildOrSlot<any>>;
7718
7748
  failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
7719
- 'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots>>;
7749
+ 'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots & {
7750
+ selection: {
7751
+ item: FormSelectorItemControl;
7752
+ index: number;
7753
+ };
7754
+ }>>;
7720
7755
  size: {
7721
7756
  type: PropType<"sm" | "md" | "lg">;
7722
7757
  validator: (value: any) => boolean;
@@ -7813,6 +7848,7 @@ export declare const VSelect: DefineComponent<{
7813
7848
  hiddenInfo: boolean;
7814
7849
  errors: FormNodeError[];
7815
7850
  loading: boolean;
7851
+ closeOnNavigation: boolean;
7816
7852
  }>;
7817
7853
 
7818
7854
  export declare const VSkeltonLoaderBone: DefineComponent<{
@@ -7820,7 +7856,7 @@ export declare const VSkeltonLoaderBone: DefineComponent<{
7820
7856
  type: StringConstructor;
7821
7857
  default: string;
7822
7858
  };
7823
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
7859
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
7824
7860
  tag: {
7825
7861
  type: StringConstructor;
7826
7862
  default: string;
@@ -8554,7 +8590,7 @@ export declare const VTextField: DefineComponent<{
8554
8590
  hiddenInfo: BooleanConstructor;
8555
8591
  requiredChip: PropType<RequiredChipSource>;
8556
8592
  type: {
8557
- type: PropType<"number" | "search" | "email" | "tel" | "url" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
8593
+ type: PropType<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
8558
8594
  default: string;
8559
8595
  };
8560
8596
  masked: StringConstructor;
@@ -8594,7 +8630,7 @@ export declare const VTextField: DefineComponent<{
8594
8630
  classes: ComputedRef<any>;
8595
8631
  textInputControl: TextInputControl;
8596
8632
  computedMask: ComputedRef<any>;
8597
- computedType: ComputedRef<"number" | "search" | "email" | "tel" | "url" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
8633
+ computedType: ComputedRef<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
8598
8634
  inputElementRef: Ref<HTMLInputElement | null>;
8599
8635
  focus: (opts?: FocusOptions | undefined) => void;
8600
8636
  blur: () => void;
@@ -8688,7 +8724,7 @@ export declare const VTextField: DefineComponent<{
8688
8724
  hiddenInfo: BooleanConstructor;
8689
8725
  requiredChip: PropType<RequiredChipSource>;
8690
8726
  type: {
8691
- type: PropType<"number" | "search" | "email" | "tel" | "url" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
8727
+ type: PropType<"number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
8692
8728
  default: string;
8693
8729
  };
8694
8730
  masked: StringConstructor;
@@ -8734,7 +8770,7 @@ export declare const VTextField: DefineComponent<{
8734
8770
  "onUpdate:errors"?: ((errors: FormNodeError[]) => any) | undefined;
8735
8771
  onFocus?: ((ev: FocusEvent) => any) | undefined;
8736
8772
  }, {
8737
- type: "number" | "search" | "email" | "tel" | "url" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time";
8773
+ type: "number" | "email" | "tel" | "url" | "search" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time";
8738
8774
  autofocus: boolean;
8739
8775
  disabled: boolean;
8740
8776
  readonly: boolean;
@@ -8769,7 +8805,7 @@ export declare const VToolbar: DefineComponent<{
8769
8805
  textColor: PropType<PaletteName>;
8770
8806
  borderColor: PropType<PaletteName>;
8771
8807
  elevation: PropType<VuiElevationValue>;
8772
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8808
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8773
8809
  dense: BooleanConstructor;
8774
8810
  variant: PropType<ColorVariant>;
8775
8811
  theme: PropType<ThemeName>;
@@ -8786,7 +8822,7 @@ export declare const VToolbarEdge: DefineComponent<{
8786
8822
  type: PropType<VToolbarEdgeEdge>;
8787
8823
  required: true;
8788
8824
  };
8789
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8825
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8790
8826
  edge: {
8791
8827
  type: PropType<VToolbarEdgeEdge>;
8792
8828
  required: true;
@@ -8806,6 +8842,10 @@ export declare const VToolbarMenu: DefineComponent<{
8806
8842
  icon: PropType<RawVButtonIcon>;
8807
8843
  startIcon: PropType<RawVButtonIcon>;
8808
8844
  endIcon: PropType<RawVButtonIcon>;
8845
+ align: {
8846
+ type: PropType<"left" | "right" | "center">;
8847
+ default: string;
8848
+ };
8809
8849
  tag: PropType<string>;
8810
8850
  class: PropType<any>;
8811
8851
  style: PropType<CSSProperties>;
@@ -8872,7 +8912,7 @@ export declare const VToolbarMenu: DefineComponent<{
8872
8912
  results: PropType<(string | number) | undefined>;
8873
8913
  security: PropType<string | undefined>;
8874
8914
  unselectable: PropType<"on" | "off" | undefined>;
8875
- inputmode: PropType<"search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
8915
+ inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
8876
8916
  is: PropType<string | undefined>;
8877
8917
  'aria-activedescendant': PropType<string | undefined>;
8878
8918
  'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
@@ -8887,7 +8927,7 @@ export declare const VToolbarMenu: DefineComponent<{
8887
8927
  'aria-describedby': PropType<string | undefined>;
8888
8928
  'aria-details': PropType<string | undefined>;
8889
8929
  'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
8890
- 'aria-dropeffect': PropType<"link" | "none" | "copy" | "execute" | "move" | "popup" | undefined>;
8930
+ 'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
8891
8931
  'aria-errormessage': PropType<string | undefined>;
8892
8932
  'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
8893
8933
  'aria-flowto': PropType<string | undefined>;
@@ -9003,7 +9043,7 @@ export declare const VToolbarMenu: DefineComponent<{
9003
9043
  onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
9004
9044
  onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
9005
9045
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
9006
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
9046
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
9007
9047
  size: {
9008
9048
  type: PropType<"sm" | "md" | "lg">;
9009
9049
  validator: (value: any) => boolean;
@@ -9014,6 +9054,10 @@ export declare const VToolbarMenu: DefineComponent<{
9014
9054
  icon: PropType<RawVButtonIcon>;
9015
9055
  startIcon: PropType<RawVButtonIcon>;
9016
9056
  endIcon: PropType<RawVButtonIcon>;
9057
+ align: {
9058
+ type: PropType<"left" | "right" | "center">;
9059
+ default: string;
9060
+ };
9017
9061
  tag: PropType<string>;
9018
9062
  class: PropType<any>;
9019
9063
  style: PropType<CSSProperties>;
@@ -9080,7 +9124,7 @@ export declare const VToolbarMenu: DefineComponent<{
9080
9124
  results: PropType<(string | number) | undefined>;
9081
9125
  security: PropType<string | undefined>;
9082
9126
  unselectable: PropType<"on" | "off" | undefined>;
9083
- inputmode: PropType<"search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
9127
+ inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
9084
9128
  is: PropType<string | undefined>;
9085
9129
  'aria-activedescendant': PropType<string | undefined>;
9086
9130
  'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
@@ -9095,7 +9139,7 @@ export declare const VToolbarMenu: DefineComponent<{
9095
9139
  'aria-describedby': PropType<string | undefined>;
9096
9140
  'aria-details': PropType<string | undefined>;
9097
9141
  'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
9098
- 'aria-dropeffect': PropType<"link" | "none" | "copy" | "execute" | "move" | "popup" | undefined>;
9142
+ 'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
9099
9143
  'aria-errormessage': PropType<string | undefined>;
9100
9144
  'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
9101
9145
  'aria-flowto': PropType<string | undefined>;
@@ -9213,6 +9257,7 @@ export declare const VToolbarMenu: DefineComponent<{
9213
9257
  onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
9214
9258
  }>>, {
9215
9259
  rounded: boolean;
9260
+ align: "left" | "right" | "center";
9216
9261
  loading: boolean;
9217
9262
  ariaCurrentValue: "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
9218
9263
  }>;
@@ -9224,7 +9269,7 @@ export declare const VToolbarTitle: DefineComponent<{
9224
9269
  type: StringConstructor;
9225
9270
  default: string;
9226
9271
  };
9227
- }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
9272
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
9228
9273
  tag: {
9229
9274
  type: StringConstructor;
9230
9275
  default: string;
@@ -9246,6 +9291,10 @@ export declare const vueButtonProps: {
9246
9291
  icon: PropType<RawVButtonIcon>;
9247
9292
  startIcon: PropType<RawVButtonIcon>;
9248
9293
  endIcon: PropType<RawVButtonIcon>;
9294
+ align: {
9295
+ type: PropType<"left" | "right" | "center">;
9296
+ default: string;
9297
+ };
9249
9298
  tag: PropType<string>;
9250
9299
  class: PropType<any>;
9251
9300
  style: PropType<CSSProperties>;
@@ -9312,7 +9361,7 @@ export declare const vueButtonProps: {
9312
9361
  results: PropType<(string | number) | undefined>;
9313
9362
  security: PropType<string | undefined>;
9314
9363
  unselectable: PropType<"on" | "off" | undefined>;
9315
- inputmode: PropType<"search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
9364
+ inputmode: PropType<"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined>;
9316
9365
  is: PropType<string | undefined>;
9317
9366
  'aria-activedescendant': PropType<string | undefined>;
9318
9367
  'aria-atomic': PropType<(boolean | "true" | "false") | undefined>;
@@ -9327,7 +9376,7 @@ export declare const vueButtonProps: {
9327
9376
  'aria-describedby': PropType<string | undefined>;
9328
9377
  'aria-details': PropType<string | undefined>;
9329
9378
  'aria-disabled': PropType<(boolean | "true" | "false") | undefined>;
9330
- 'aria-dropeffect': PropType<"link" | "none" | "copy" | "execute" | "move" | "popup" | undefined>;
9379
+ 'aria-dropeffect': PropType<"none" | "copy" | "execute" | "link" | "move" | "popup" | undefined>;
9331
9380
  'aria-errormessage': PropType<string | undefined>;
9332
9381
  'aria-expanded': PropType<(boolean | "true" | "false") | undefined>;
9333
9382
  'aria-flowto': PropType<string | undefined>;
@@ -9520,6 +9569,7 @@ export declare class VuiService {
9520
9569
  readonly router: Router;
9521
9570
  readonly location: LocationService;
9522
9571
  readonly stack: VueStackService;
9572
+ readonly useLink: typeof useLink;
9523
9573
  get scroller(): {
9524
9574
  readonly elementRef: Ref<HTMLElement | null>;
9525
9575
  readonly scroller: Scroller;
@@ -9572,25 +9622,7 @@ export declare class VuiService {
9572
9622
  };
9573
9623
  constructor(options: VuiServiceOptions, stackService: VueStackService);
9574
9624
  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
- };
9625
+ getRouterLink(): any;
9594
9626
  setting<K extends keyof VuiServiceUISettings>(key: K): VuiServiceUISettings[K];
9595
9627
  icon<K extends keyof VuiServiceIconSettings>(iconType: K): VuiServiceIconSettings[K];
9596
9628
  getAutoScrollToElementOffsetTop(): number;
@@ -9634,7 +9666,8 @@ export declare interface VuiServiceIconSettings {
9634
9666
 
9635
9667
  export declare interface VuiServiceOptions {
9636
9668
  router: Router;
9637
- RouterLink?: typeof RouterLink;
9669
+ RouterLink?: any;
9670
+ useLink?: (props: UseLinkOptions) => UseLinkResult;
9638
9671
  colorScheme: VueColorSchemePluginSettings;
9639
9672
  uiSettings: VuiServiceUISettings;
9640
9673
  icons: VuiServiceIconSettings;