@fastkit/vui 0.8.8 → 0.8.11
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.cjs.js +176 -50
- package/dist/vui.cjs.prod.js +176 -50
- package/dist/vui.css +46 -4
- package/dist/vui.d.ts +42 -43
- package/dist/vui.min.css +1 -1
- package/dist/vui.min.css.map +1 -1
- package/dist/vui.mjs +176 -53
- package/package.json +6 -6
- package/src/components/VOption/VOption.scss +17 -4
- package/src/components/VOption/VOption.tsx +8 -1
- package/src/components/VOptionGroup/VOptionGroup.scss +13 -0
- package/src/components/VSelect/VSelect.scss +14 -0
- package/src/components/VSelect/VSelect.tsx +171 -9
- package/src/composables/form-selector.tsx +26 -17
- package/src/plugin.tsx +3 -11
package/dist/vui.d.ts
CHANGED
|
@@ -64,7 +64,8 @@ import { Ref } from 'vue';
|
|
|
64
64
|
import { RendererElement } from 'vue';
|
|
65
65
|
import { RendererNode } from 'vue';
|
|
66
66
|
import { RequiredChipSource } from '@fastkit/vue-kit';
|
|
67
|
-
import {
|
|
67
|
+
import { ResolvedFormSelectorGroup } from '@fastkit/vue-kit';
|
|
68
|
+
import { ResolvedFormSelectorItem } from '@fastkit/vue-kit';
|
|
68
69
|
import { ResolveRawSlots } from '@fastkit/vue-kit';
|
|
69
70
|
import { ResolveRawSlots as ResolveRawSlots_2 } from '@fastkit/vue-utils';
|
|
70
71
|
import { RouteLocation } from 'vue-router';
|
|
@@ -91,6 +92,7 @@ import { ValidationResult } from '@fastkit/vue-kit';
|
|
|
91
92
|
import { VDialog } from '@fastkit/vue-kit';
|
|
92
93
|
import { VDialogProps } from '@fastkit/vue-kit';
|
|
93
94
|
import { VMenu } from '@fastkit/vue-kit';
|
|
95
|
+
import { VMenuControl } from '@fastkit/vue-stack';
|
|
94
96
|
import { VNode } from 'vue';
|
|
95
97
|
import { VNodeChild } from 'vue';
|
|
96
98
|
import { VNodeChildOrSlot } from '@fastkit/vue-kit';
|
|
@@ -108,6 +110,8 @@ import { WritableComputedRef } from 'vue';
|
|
|
108
110
|
|
|
109
111
|
declare type ARGS = Record<string, unknown> & VNodeProps;
|
|
110
112
|
|
|
113
|
+
export declare const ARROW_KEY_TYPES: ("ArrowDown" | "ArrowUp")[];
|
|
114
|
+
|
|
111
115
|
export declare const AVATAR_SIZES: readonly ["sm", "md", "lg"];
|
|
112
116
|
|
|
113
117
|
export declare type AvatarSize = typeof AVATAR_SIZES[number];
|
|
@@ -138,6 +142,8 @@ export declare const CHIP_SIZES: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
|
138
142
|
|
|
139
143
|
export declare type ChipSize = typeof CHIP_SIZES[number];
|
|
140
144
|
|
|
145
|
+
export declare const CHOICE_KEY_TYPES: ("Enter" | " ")[];
|
|
146
|
+
|
|
141
147
|
export declare function configureDataTableDefaults(defaults: Partial<DataTableDefaults>): void;
|
|
142
148
|
|
|
143
149
|
export declare interface ContentSwitcherSeeTopOptions {
|
|
@@ -1195,7 +1201,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1195
1201
|
notSelected: ComputedRef<boolean>;
|
|
1196
1202
|
allSelected: ComputedRef<boolean>;
|
|
1197
1203
|
indeterminate: ComputedRef<boolean>;
|
|
1198
|
-
getItems: (
|
|
1204
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
1199
1205
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
1200
1206
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
1201
1207
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -1207,7 +1213,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1207
1213
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
1208
1214
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
1209
1215
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
1210
|
-
|
|
1216
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
1211
1217
|
nodeControl: FormNodeControl<any, any>;
|
|
1212
1218
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
1213
1219
|
computedTabindex: ComputedRef<number>;
|
|
@@ -1407,7 +1413,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1407
1413
|
notSelected: ComputedRef<boolean>;
|
|
1408
1414
|
allSelected: ComputedRef<boolean>;
|
|
1409
1415
|
indeterminate: ComputedRef<boolean>;
|
|
1410
|
-
getItems: (
|
|
1416
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
1411
1417
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
1412
1418
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
1413
1419
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -1419,7 +1425,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1419
1425
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
1420
1426
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
1421
1427
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
1422
|
-
|
|
1428
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
1423
1429
|
nodeControl: FormNodeControl<any, any>;
|
|
1424
1430
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
1425
1431
|
computedTabindex: ComputedRef<number>;
|
|
@@ -1561,7 +1567,7 @@ export declare interface DefineFormSelectorComponentOptions {
|
|
|
1561
1567
|
itemRenderer: (ctx: {
|
|
1562
1568
|
control: FormSelectorControl;
|
|
1563
1569
|
selected: boolean;
|
|
1564
|
-
attrs:
|
|
1570
|
+
attrs: ResolvedFormSelectorItem & {
|
|
1565
1571
|
modelValue: boolean;
|
|
1566
1572
|
key: string | number;
|
|
1567
1573
|
};
|
|
@@ -1637,6 +1643,8 @@ declare interface InputBoxSlots {
|
|
|
1637
1643
|
|
|
1638
1644
|
export declare function installVuiPlugin(app: App, opts: VuiPluginOptions): App<any>;
|
|
1639
1645
|
|
|
1646
|
+
export declare const KEYBORD_EVENT_TYPES: ("Enter" | " " | "ArrowDown" | "ArrowUp")[];
|
|
1647
|
+
|
|
1640
1648
|
export declare const listTileEmits: {
|
|
1641
1649
|
changeActive: (isActive: boolean) => boolean;
|
|
1642
1650
|
};
|
|
@@ -5356,7 +5364,6 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
5356
5364
|
value: {
|
|
5357
5365
|
type: (StringConstructor | NumberConstructor)[];
|
|
5358
5366
|
};
|
|
5359
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
5360
5367
|
name: StringConstructor;
|
|
5361
5368
|
modelValue: Prop<boolean, boolean>;
|
|
5362
5369
|
tabindex: {
|
|
@@ -5439,7 +5446,6 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
5439
5446
|
value: {
|
|
5440
5447
|
type: (StringConstructor | NumberConstructor)[];
|
|
5441
5448
|
};
|
|
5442
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
5443
5449
|
name: StringConstructor;
|
|
5444
5450
|
modelValue: Prop<boolean, boolean>;
|
|
5445
5451
|
tabindex: {
|
|
@@ -5481,7 +5487,6 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
5481
5487
|
value: {
|
|
5482
5488
|
type: (StringConstructor | NumberConstructor)[];
|
|
5483
5489
|
};
|
|
5484
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
5485
5490
|
name: StringConstructor;
|
|
5486
5491
|
modelValue: Prop<boolean, boolean>;
|
|
5487
5492
|
tabindex: {
|
|
@@ -5570,7 +5575,6 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
5570
5575
|
value: {
|
|
5571
5576
|
type: (StringConstructor | NumberConstructor)[];
|
|
5572
5577
|
};
|
|
5573
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
5574
5578
|
name: StringConstructor;
|
|
5575
5579
|
modelValue: Prop<boolean, boolean>;
|
|
5576
5580
|
tabindex: {
|
|
@@ -5691,7 +5695,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
5691
5695
|
notSelected: ComputedRef<boolean>;
|
|
5692
5696
|
allSelected: ComputedRef<boolean>;
|
|
5693
5697
|
indeterminate: ComputedRef<boolean>;
|
|
5694
|
-
getItems: (
|
|
5698
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
5695
5699
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
5696
5700
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
5697
5701
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -5703,7 +5707,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
5703
5707
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
5704
5708
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
5705
5709
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
5706
|
-
|
|
5710
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
5707
5711
|
nodeControl: FormNodeControl<any, any>;
|
|
5708
5712
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
5709
5713
|
computedTabindex: ComputedRef<number>;
|
|
@@ -5903,7 +5907,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
5903
5907
|
notSelected: ComputedRef<boolean>;
|
|
5904
5908
|
allSelected: ComputedRef<boolean>;
|
|
5905
5909
|
indeterminate: ComputedRef<boolean>;
|
|
5906
|
-
getItems: (
|
|
5910
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
5907
5911
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
5908
5912
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
5909
5913
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -5915,7 +5919,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
5915
5919
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
5916
5920
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
5917
5921
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
5918
|
-
|
|
5922
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
5919
5923
|
nodeControl: FormNodeControl<any, any>;
|
|
5920
5924
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
5921
5925
|
computedTabindex: ComputedRef<number>;
|
|
@@ -10925,7 +10929,6 @@ export declare const VOption: DefineComponent<{
|
|
|
10925
10929
|
value: {
|
|
10926
10930
|
type: (StringConstructor | NumberConstructor)[];
|
|
10927
10931
|
};
|
|
10928
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
10929
10932
|
name: StringConstructor;
|
|
10930
10933
|
modelValue: Prop<boolean, boolean>;
|
|
10931
10934
|
tabindex: {
|
|
@@ -11004,7 +11007,6 @@ export declare const VOption: DefineComponent<{
|
|
|
11004
11007
|
value: {
|
|
11005
11008
|
type: (StringConstructor | NumberConstructor)[];
|
|
11006
11009
|
};
|
|
11007
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
11008
11010
|
name: StringConstructor;
|
|
11009
11011
|
modelValue: Prop<boolean, boolean>;
|
|
11010
11012
|
tabindex: {
|
|
@@ -11045,7 +11047,6 @@ export declare const VOption: DefineComponent<{
|
|
|
11045
11047
|
value: {
|
|
11046
11048
|
type: (StringConstructor | NumberConstructor)[];
|
|
11047
11049
|
};
|
|
11048
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
11049
11050
|
name: StringConstructor;
|
|
11050
11051
|
modelValue: Prop<boolean, boolean>;
|
|
11051
11052
|
tabindex: {
|
|
@@ -11130,7 +11131,6 @@ export declare const VOption: DefineComponent<{
|
|
|
11130
11131
|
value: {
|
|
11131
11132
|
type: (StringConstructor | NumberConstructor)[];
|
|
11132
11133
|
};
|
|
11133
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
11134
11134
|
name: StringConstructor;
|
|
11135
11135
|
modelValue: Prop<boolean, boolean>;
|
|
11136
11136
|
tabindex: {
|
|
@@ -11181,7 +11181,7 @@ export declare const VOptionGroup: DefineComponent<{
|
|
|
11181
11181
|
}>>;
|
|
11182
11182
|
label: PropType<VNodeChildOrSlot<FormSelectorItemGroupControl>>;
|
|
11183
11183
|
disabled: BooleanConstructor;
|
|
11184
|
-
|
|
11184
|
+
groupId: {
|
|
11185
11185
|
type: (StringConstructor | NumberConstructor)[];
|
|
11186
11186
|
required: true;
|
|
11187
11187
|
};
|
|
@@ -11203,7 +11203,7 @@ export declare const VOptionGroup: DefineComponent<{
|
|
|
11203
11203
|
}>>;
|
|
11204
11204
|
label: PropType<VNodeChildOrSlot<FormSelectorItemGroupControl>>;
|
|
11205
11205
|
disabled: BooleanConstructor;
|
|
11206
|
-
|
|
11206
|
+
groupId: {
|
|
11207
11207
|
type: (StringConstructor | NumberConstructor)[];
|
|
11208
11208
|
required: true;
|
|
11209
11209
|
};
|
|
@@ -11214,7 +11214,7 @@ export declare const VOptionGroup: DefineComponent<{
|
|
|
11214
11214
|
}>>;
|
|
11215
11215
|
label: PropType<VNodeChildOrSlot<FormSelectorItemGroupControl>>;
|
|
11216
11216
|
disabled: BooleanConstructor;
|
|
11217
|
-
|
|
11217
|
+
groupId: {
|
|
11218
11218
|
type: (StringConstructor | NumberConstructor)[];
|
|
11219
11219
|
required: true;
|
|
11220
11220
|
};
|
|
@@ -11238,7 +11238,7 @@ export declare const VOptionGroup: DefineComponent<{
|
|
|
11238
11238
|
}>>;
|
|
11239
11239
|
label: PropType<VNodeChildOrSlot<FormSelectorItemGroupControl>>;
|
|
11240
11240
|
disabled: BooleanConstructor;
|
|
11241
|
-
|
|
11241
|
+
groupId: {
|
|
11242
11242
|
type: (StringConstructor | NumberConstructor)[];
|
|
11243
11243
|
required: true;
|
|
11244
11244
|
};
|
|
@@ -12179,7 +12179,6 @@ export declare const VRadio: DefineComponent<{
|
|
|
12179
12179
|
value: {
|
|
12180
12180
|
type: (StringConstructor | NumberConstructor)[];
|
|
12181
12181
|
};
|
|
12182
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
12183
12182
|
name: StringConstructor;
|
|
12184
12183
|
modelValue: Prop<boolean, boolean>;
|
|
12185
12184
|
tabindex: {
|
|
@@ -12260,7 +12259,6 @@ export declare const VRadio: DefineComponent<{
|
|
|
12260
12259
|
value: {
|
|
12261
12260
|
type: (StringConstructor | NumberConstructor)[];
|
|
12262
12261
|
};
|
|
12263
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
12264
12262
|
name: StringConstructor;
|
|
12265
12263
|
modelValue: Prop<boolean, boolean>;
|
|
12266
12264
|
tabindex: {
|
|
@@ -12301,7 +12299,6 @@ export declare const VRadio: DefineComponent<{
|
|
|
12301
12299
|
value: {
|
|
12302
12300
|
type: (StringConstructor | NumberConstructor)[];
|
|
12303
12301
|
};
|
|
12304
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
12305
12302
|
name: StringConstructor;
|
|
12306
12303
|
modelValue: Prop<boolean, boolean>;
|
|
12307
12304
|
tabindex: {
|
|
@@ -12388,7 +12385,6 @@ export declare const VRadio: DefineComponent<{
|
|
|
12388
12385
|
value: {
|
|
12389
12386
|
type: (StringConstructor | NumberConstructor)[];
|
|
12390
12387
|
};
|
|
12391
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
12392
12388
|
name: StringConstructor;
|
|
12393
12389
|
modelValue: Prop<boolean, boolean>;
|
|
12394
12390
|
tabindex: {
|
|
@@ -12508,7 +12504,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
12508
12504
|
notSelected: ComputedRef<boolean>;
|
|
12509
12505
|
allSelected: ComputedRef<boolean>;
|
|
12510
12506
|
indeterminate: ComputedRef<boolean>;
|
|
12511
|
-
getItems: (
|
|
12507
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
12512
12508
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
12513
12509
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
12514
12510
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -12520,7 +12516,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
12520
12516
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
12521
12517
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
12522
12518
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
12523
|
-
|
|
12519
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
12524
12520
|
nodeControl: FormNodeControl<any, any>;
|
|
12525
12521
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
12526
12522
|
computedTabindex: ComputedRef<number>;
|
|
@@ -12720,7 +12716,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
12720
12716
|
notSelected: ComputedRef<boolean>;
|
|
12721
12717
|
allSelected: ComputedRef<boolean>;
|
|
12722
12718
|
indeterminate: ComputedRef<boolean>;
|
|
12723
|
-
getItems: (
|
|
12719
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
12724
12720
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
12725
12721
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
12726
12722
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -12732,7 +12728,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
12732
12728
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
12733
12729
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
12734
12730
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
12735
|
-
|
|
12731
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
12736
12732
|
nodeControl: FormNodeControl<any, any>;
|
|
12737
12733
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
12738
12734
|
computedTabindex: ComputedRef<number>;
|
|
@@ -12942,6 +12938,10 @@ export declare const VSelect: DefineComponent<{
|
|
|
12942
12938
|
showMenu: () => void;
|
|
12943
12939
|
closeMenu: () => void;
|
|
12944
12940
|
renderSelections: (selectedItems: FormSelectorItemControl[]) => VNodeChild[];
|
|
12941
|
+
menuRef: () => Ref<{
|
|
12942
|
+
stackMenuControl: VMenuControl;
|
|
12943
|
+
} | null>;
|
|
12944
|
+
clearKeyFocused: () => void;
|
|
12945
12945
|
parentControl: ControlProvider | null;
|
|
12946
12946
|
size: ComputedRef<"sm" | "md" | "lg">;
|
|
12947
12947
|
classes: ComputedRef<any>;
|
|
@@ -12949,7 +12949,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
12949
12949
|
notSelected: ComputedRef<boolean>;
|
|
12950
12950
|
allSelected: ComputedRef<boolean>;
|
|
12951
12951
|
indeterminate: ComputedRef<boolean>;
|
|
12952
|
-
getItems: (
|
|
12952
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
12953
12953
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
12954
12954
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
12955
12955
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -12961,7 +12961,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
12961
12961
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
12962
12962
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
12963
12963
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
12964
|
-
|
|
12964
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
12965
12965
|
nodeControl: FormNodeControl<any, any>;
|
|
12966
12966
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
12967
12967
|
computedTabindex: ComputedRef<number>;
|
|
@@ -13164,6 +13164,10 @@ export declare const VSelect: DefineComponent<{
|
|
|
13164
13164
|
showMenu: () => void;
|
|
13165
13165
|
closeMenu: () => void;
|
|
13166
13166
|
renderSelections: (selectedItems: FormSelectorItemControl[]) => VNodeChild[];
|
|
13167
|
+
menuRef: () => Ref<{
|
|
13168
|
+
stackMenuControl: VMenuControl;
|
|
13169
|
+
} | null>;
|
|
13170
|
+
clearKeyFocused: () => void;
|
|
13167
13171
|
parentControl: ControlProvider | null;
|
|
13168
13172
|
size: ComputedRef<"sm" | "md" | "lg">;
|
|
13169
13173
|
classes: ComputedRef<any>;
|
|
@@ -13171,7 +13175,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
13171
13175
|
notSelected: ComputedRef<boolean>;
|
|
13172
13176
|
allSelected: ComputedRef<boolean>;
|
|
13173
13177
|
indeterminate: ComputedRef<boolean>;
|
|
13174
|
-
getItems: (
|
|
13178
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
13175
13179
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
13176
13180
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
13177
13181
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -13183,7 +13187,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
13183
13187
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
13184
13188
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
13185
13189
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
13186
|
-
|
|
13190
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
13187
13191
|
nodeControl: FormNodeControl<any, any>;
|
|
13188
13192
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
13189
13193
|
computedTabindex: ComputedRef<number>;
|
|
@@ -13360,7 +13364,6 @@ export declare const VSwitch: DefineComponent<{
|
|
|
13360
13364
|
value: {
|
|
13361
13365
|
type: (StringConstructor | NumberConstructor)[];
|
|
13362
13366
|
};
|
|
13363
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
13364
13367
|
name: StringConstructor;
|
|
13365
13368
|
modelValue: Prop<boolean, boolean>;
|
|
13366
13369
|
tabindex: {
|
|
@@ -13441,7 +13444,6 @@ export declare const VSwitch: DefineComponent<{
|
|
|
13441
13444
|
value: {
|
|
13442
13445
|
type: (StringConstructor | NumberConstructor)[];
|
|
13443
13446
|
};
|
|
13444
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
13445
13447
|
name: StringConstructor;
|
|
13446
13448
|
modelValue: Prop<boolean, boolean>;
|
|
13447
13449
|
tabindex: {
|
|
@@ -13482,7 +13484,6 @@ export declare const VSwitch: DefineComponent<{
|
|
|
13482
13484
|
value: {
|
|
13483
13485
|
type: (StringConstructor | NumberConstructor)[];
|
|
13484
13486
|
};
|
|
13485
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
13486
13487
|
name: StringConstructor;
|
|
13487
13488
|
modelValue: Prop<boolean, boolean>;
|
|
13488
13489
|
tabindex: {
|
|
@@ -13569,7 +13570,6 @@ export declare const VSwitch: DefineComponent<{
|
|
|
13569
13570
|
value: {
|
|
13570
13571
|
type: (StringConstructor | NumberConstructor)[];
|
|
13571
13572
|
};
|
|
13572
|
-
group: (StringConstructor | NumberConstructor)[];
|
|
13573
13573
|
name: StringConstructor;
|
|
13574
13574
|
modelValue: Prop<boolean, boolean>;
|
|
13575
13575
|
tabindex: {
|
|
@@ -13689,7 +13689,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
13689
13689
|
notSelected: ComputedRef<boolean>;
|
|
13690
13690
|
allSelected: ComputedRef<boolean>;
|
|
13691
13691
|
indeterminate: ComputedRef<boolean>;
|
|
13692
|
-
getItems: (
|
|
13692
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
13693
13693
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
13694
13694
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
13695
13695
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -13701,7 +13701,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
13701
13701
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
13702
13702
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
13703
13703
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
13704
|
-
|
|
13704
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
13705
13705
|
nodeControl: FormNodeControl<any, any>;
|
|
13706
13706
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
13707
13707
|
computedTabindex: ComputedRef<number>;
|
|
@@ -13901,7 +13901,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
13901
13901
|
notSelected: ComputedRef<boolean>;
|
|
13902
13902
|
allSelected: ComputedRef<boolean>;
|
|
13903
13903
|
indeterminate: ComputedRef<boolean>;
|
|
13904
|
-
getItems: (
|
|
13904
|
+
getItems: (groupId?: string | number | (string | number)[] | undefined) => FormSelectorItemControl[];
|
|
13905
13905
|
getItemValues: (group?: string | number | (string | number)[] | undefined) => (string | number)[];
|
|
13906
13906
|
sortValues: (values: (string | number)[]) => (string | number)[];
|
|
13907
13907
|
selectAll: (group?: string | number | (string | number)[] | undefined, onlyGroup?: boolean | undefined) => void;
|
|
@@ -13913,7 +13913,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
13913
13913
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
13914
13914
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
13915
13915
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
13916
|
-
|
|
13916
|
+
propGroups: Ref<ResolvedFormSelectorGroup[]>;
|
|
13917
13917
|
nodeControl: FormNodeControl<any, any>;
|
|
13918
13918
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
13919
13919
|
computedTabindex: ComputedRef<number>;
|
|
@@ -16348,7 +16348,6 @@ export declare interface VuiFormPromptSettings<T extends {
|
|
|
16348
16348
|
export declare const VuiInjectionKey: InjectionKey<VuiService>;
|
|
16349
16349
|
|
|
16350
16350
|
export declare class VuiPlugin {
|
|
16351
|
-
static readonly installedApps: Set<App<any>>;
|
|
16352
16351
|
static install(app: App, opts: VuiPluginOptions): void;
|
|
16353
16352
|
}
|
|
16354
16353
|
|