@fastkit/vui 0.7.50 → 0.7.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tool/index.js +1 -0
- package/dist/tool/vite-plugin.d.ts.map +1 -1
- package/dist/vui.cjs.js +160 -32
- package/dist/vui.cjs.prod.js +160 -32
- package/dist/vui.css +11 -0
- package/dist/vui.d.ts +376 -88
- package/dist/vui.min.css +1 -1
- package/dist/vui.min.css.map +1 -1
- package/dist/vui.mjs +160 -34
- package/package.json +7 -7
- package/src/components/.DS_Store +0 -0
- package/src/components/VButton/VButton.tsx +0 -1
- package/src/components/VControlField/VControlField.tsx +23 -6
- package/src/components/VDataTable/VDataTable.tsx +5 -5
- package/src/components/VFormControl/VFormControl.tsx +6 -1
- package/src/components/VNumberField/VNumberField.tsx +55 -0
- package/src/components/VNumberField/index.ts +1 -0
- package/src/components/VSelect/VSelect.tsx +67 -15
- package/src/components/VTextField/.DS_Store +0 -0
- package/src/components/VTextField/VTextField.tsx +6 -0
- package/src/components/VTextarea/VTextarea.tsx +1 -0
- package/src/components/VWysiwygEditor/VWysiwygEditor.tsx +1 -1
- package/src/components/index.ts +1 -0
- package/src/composables/control.ts +1 -0
- package/src/composables/form-selector.scss +13 -0
- package/src/composables/form-selector.tsx +48 -1
- package/src/schemes/control.ts +6 -0
- package/src/service.tsx +6 -2
- package/src/tool/vite-plugin.ts +1 -0
package/dist/vui.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ import { FormNodeControl } from '@fastkit/vue-kit';
|
|
|
27
27
|
import { FormNodeError } from '@fastkit/vue-kit';
|
|
28
28
|
import { FormSelectorControl } from '@fastkit/vue-kit';
|
|
29
29
|
import { FormSelectorItemControl } from '@fastkit/vue-kit';
|
|
30
|
-
import { FormSelectorItemData } from '@fastkit/vue-kit';
|
|
31
30
|
import { FormSelectorItemGroupControl } from '@fastkit/vue-kit';
|
|
32
31
|
import { FormSelectorValue } from '@fastkit/vue-kit';
|
|
33
32
|
import { HistoryOptions } from '@tiptap/extension-history';
|
|
@@ -48,6 +47,7 @@ import { Numberish } from '@fastkit/vue-kit';
|
|
|
48
47
|
import { OrderedListOptions } from '@tiptap/extension-ordered-list';
|
|
49
48
|
import { Prop } from 'vue';
|
|
50
49
|
import { PropType } from 'vue';
|
|
50
|
+
import { RawFormSelectorItems } from '@fastkit/vue-kit';
|
|
51
51
|
import { RawTextableFinishingProp } from '@fastkit/vue-kit';
|
|
52
52
|
import { RawTextareaAutosizeSettings } from '@fastkit/vue-kit';
|
|
53
53
|
import { Ref } from 'vue';
|
|
@@ -70,6 +70,7 @@ import { TextableCounterSettings } from '@fastkit/vue-kit';
|
|
|
70
70
|
import { TextareaAutosizeSettings } from '@fastkit/vue-kit';
|
|
71
71
|
import { TextareaControl } from '@fastkit/vue-kit';
|
|
72
72
|
import { TextInputControl } from '@fastkit/vue-kit';
|
|
73
|
+
import { TextInputEmits } from '@fastkit/vue-kit';
|
|
73
74
|
import { TypedSlot } from '@fastkit/vue-kit';
|
|
74
75
|
import { UnderlineOptions } from '@tiptap/extension-underline';
|
|
75
76
|
import { UnwrapNestedRefs } from 'vue';
|
|
@@ -82,6 +83,7 @@ import { VMenu } from '@fastkit/vue-kit';
|
|
|
82
83
|
import { VNode } from 'vue';
|
|
83
84
|
import { VNodeChild } from 'vue';
|
|
84
85
|
import { VNodeChildOrSlot } from '@fastkit/vue-kit';
|
|
86
|
+
import { VNodeChildOrSlot as VNodeChildOrSlot_2 } from '@fastkit/vue-utils';
|
|
85
87
|
import { VNodeProps } from 'vue';
|
|
86
88
|
import { VSnackbar } from '@fastkit/vue-kit';
|
|
87
89
|
import { VStackControl } from '@fastkit/vue-kit';
|
|
@@ -140,6 +142,8 @@ export declare interface ContentSwitcherSeeTopOptions {
|
|
|
140
142
|
|
|
141
143
|
export declare const CONTROL_FIELD_VARIANTS: readonly ["outlined", "filled", "flat"];
|
|
142
144
|
|
|
145
|
+
export declare const CONTROL_LOADING_SPINNER_SIZES: Record<ControlSize, number>;
|
|
146
|
+
|
|
143
147
|
export declare const CONTROL_SIZES: readonly ["sm", "md", "lg"];
|
|
144
148
|
|
|
145
149
|
export declare interface ControlFieldProvider {
|
|
@@ -462,6 +466,7 @@ export declare function createControlProps(): {
|
|
|
462
466
|
type: PropType<"sm" | "md" | "lg">;
|
|
463
467
|
validator: (value: any) => boolean;
|
|
464
468
|
};
|
|
469
|
+
loading: BooleanConstructor;
|
|
465
470
|
};
|
|
466
471
|
|
|
467
472
|
export declare function createElevationProps(): {
|
|
@@ -928,6 +933,7 @@ declare function createTextFieldProps(): {
|
|
|
928
933
|
type: PropType<"sm" | "md" | "lg">;
|
|
929
934
|
validator: (value: any) => boolean;
|
|
930
935
|
};
|
|
936
|
+
loading: BooleanConstructor;
|
|
931
937
|
variant: {
|
|
932
938
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
933
939
|
validator: (value: any) => boolean;
|
|
@@ -991,7 +997,7 @@ declare function createTextFieldProps(): {
|
|
|
991
997
|
default: ValidateTiming;
|
|
992
998
|
};
|
|
993
999
|
rules: {
|
|
994
|
-
type: PropType<RecursiveArray<
|
|
1000
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
995
1001
|
default: () => never[];
|
|
996
1002
|
};
|
|
997
1003
|
error: BooleanConstructor;
|
|
@@ -1004,6 +1010,7 @@ export declare function createVFormProps(): {
|
|
|
1004
1010
|
type: PropType<"sm" | "md" | "lg">;
|
|
1005
1011
|
validator: (value: any) => boolean;
|
|
1006
1012
|
};
|
|
1013
|
+
loading: BooleanConstructor;
|
|
1007
1014
|
action: PropType<FormAction>;
|
|
1008
1015
|
autoValidate: {
|
|
1009
1016
|
type: BooleanConstructor;
|
|
@@ -1029,7 +1036,7 @@ export declare function createVFormProps(): {
|
|
|
1029
1036
|
default: ValidateTiming;
|
|
1030
1037
|
};
|
|
1031
1038
|
rules: {
|
|
1032
|
-
type: PropType<RecursiveArray<
|
|
1039
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
1033
1040
|
default: () => never[];
|
|
1034
1041
|
};
|
|
1035
1042
|
error: BooleanConstructor;
|
|
@@ -1092,10 +1099,13 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1092
1099
|
type: BooleanConstructor;
|
|
1093
1100
|
default: boolean;
|
|
1094
1101
|
};
|
|
1102
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
1103
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
1095
1104
|
size: {
|
|
1096
1105
|
type: PropType<"sm" | "md" | "lg">;
|
|
1097
1106
|
validator: (value: any) => boolean;
|
|
1098
1107
|
};
|
|
1108
|
+
loading: BooleanConstructor;
|
|
1099
1109
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
1100
1110
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
1101
1111
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -1125,7 +1135,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1125
1135
|
default: boolean;
|
|
1126
1136
|
};
|
|
1127
1137
|
items: {
|
|
1128
|
-
type: PropType<
|
|
1138
|
+
type: PropType<RawFormSelectorItems>;
|
|
1129
1139
|
default: () => never[];
|
|
1130
1140
|
};
|
|
1131
1141
|
name: StringConstructor;
|
|
@@ -1143,12 +1153,14 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1143
1153
|
default: ValidateTiming;
|
|
1144
1154
|
};
|
|
1145
1155
|
rules: {
|
|
1146
|
-
type: PropType<RecursiveArray<
|
|
1156
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
1147
1157
|
default: () => never[];
|
|
1148
1158
|
};
|
|
1149
1159
|
error: BooleanConstructor;
|
|
1150
1160
|
errorMessages: PropType<string | string[]>;
|
|
1151
1161
|
}, {
|
|
1162
|
+
loadingMessageRef: ComputedRef<VNodeChild>;
|
|
1163
|
+
failedToLoadItemsMessageRef: ComputedRef<VNodeChild>;
|
|
1152
1164
|
parentControl: ControlProvider | null;
|
|
1153
1165
|
size: ComputedRef<"sm" | "md" | "lg">;
|
|
1154
1166
|
classes: ComputedRef<any>;
|
|
@@ -1168,7 +1180,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1168
1180
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
1169
1181
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
1170
1182
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
1171
|
-
propItems:
|
|
1183
|
+
propItems: Ref<ResolvedFormSelectorItemData[]>;
|
|
1172
1184
|
nodeControl: FormNodeControl<any, any>;
|
|
1173
1185
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
1174
1186
|
computedTabindex: ComputedRef<number>;
|
|
@@ -1179,7 +1191,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1179
1191
|
initialValue: Ref<FormSelectorValue>;
|
|
1180
1192
|
dirty: ComputedRef<boolean>;
|
|
1181
1193
|
pristine: ComputedRef<boolean>;
|
|
1182
|
-
propRules: ComputedRef<RecursiveArray<
|
|
1194
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
1183
1195
|
isRequired: ComputedRef<boolean>;
|
|
1184
1196
|
errors: ComputedRef<FormNodeError[]>;
|
|
1185
1197
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -1212,10 +1224,13 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1212
1224
|
type: BooleanConstructor;
|
|
1213
1225
|
default: boolean;
|
|
1214
1226
|
};
|
|
1227
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
1228
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
1215
1229
|
size: {
|
|
1216
1230
|
type: PropType<"sm" | "md" | "lg">;
|
|
1217
1231
|
validator: (value: any) => boolean;
|
|
1218
1232
|
};
|
|
1233
|
+
loading: BooleanConstructor;
|
|
1219
1234
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
1220
1235
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
1221
1236
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -1245,7 +1260,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1245
1260
|
default: boolean;
|
|
1246
1261
|
};
|
|
1247
1262
|
items: {
|
|
1248
|
-
type: PropType<
|
|
1263
|
+
type: PropType<RawFormSelectorItems>;
|
|
1249
1264
|
default: () => never[];
|
|
1250
1265
|
};
|
|
1251
1266
|
name: StringConstructor;
|
|
@@ -1263,7 +1278,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1263
1278
|
default: ValidateTiming;
|
|
1264
1279
|
};
|
|
1265
1280
|
rules: {
|
|
1266
|
-
type: PropType<RecursiveArray<
|
|
1281
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
1267
1282
|
default: () => never[];
|
|
1268
1283
|
};
|
|
1269
1284
|
error: BooleanConstructor;
|
|
@@ -1285,9 +1300,9 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1285
1300
|
error: boolean;
|
|
1286
1301
|
tabindex: string | number;
|
|
1287
1302
|
validateTiming: ValidateTiming;
|
|
1288
|
-
rules: RecursiveArray<
|
|
1303
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
1289
1304
|
multiple: boolean;
|
|
1290
|
-
items:
|
|
1305
|
+
items: RawFormSelectorItems;
|
|
1291
1306
|
validating: boolean;
|
|
1292
1307
|
pending: boolean;
|
|
1293
1308
|
focused: boolean;
|
|
@@ -1299,6 +1314,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
1299
1314
|
valid: boolean;
|
|
1300
1315
|
hiddenInfo: boolean;
|
|
1301
1316
|
errors: FormNodeError[];
|
|
1317
|
+
loading: boolean;
|
|
1302
1318
|
stacked: boolean;
|
|
1303
1319
|
}>;
|
|
1304
1320
|
|
|
@@ -2285,8 +2301,12 @@ export declare function splitAttrs(attrs: ImgHTMLAttributes): {
|
|
|
2285
2301
|
img: ImgHTMLAttributes;
|
|
2286
2302
|
};
|
|
2287
2303
|
|
|
2304
|
+
export declare type TextFieldEmits = TextInputEmits;
|
|
2305
|
+
|
|
2288
2306
|
export declare type TextFieldInput = ExtractPropInput<ReturnType<typeof createTextFieldProps>>;
|
|
2289
2307
|
|
|
2308
|
+
export declare type TextFieldPropsOptions = ReturnType<typeof createTextFieldProps>;
|
|
2309
|
+
|
|
2290
2310
|
declare type ToggleableIconHook = (gen: IconGenerator, ctx: boolean) => VNodeChild;
|
|
2291
2311
|
|
|
2292
2312
|
export declare function useControl(props: ControlProps, opts?: UseControlProviderOptions): ControlProvider;
|
|
@@ -2314,6 +2334,9 @@ export declare function useVui(): VuiService;
|
|
|
2314
2334
|
|
|
2315
2335
|
export declare function useVuiColorProvider(): VuiColorProvider;
|
|
2316
2336
|
|
|
2337
|
+
declare interface ValidatableRule extends Pick<Rule, 'validate' | 'message' | '$name'> {
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2317
2340
|
declare const ValidateCancelSymbol = "__ValidateCancelSymbol__";
|
|
2318
2341
|
|
|
2319
2342
|
declare interface ValidationError {
|
|
@@ -2822,8 +2845,8 @@ export declare const VButton: DefineComponent<{
|
|
|
2822
2845
|
type: PropType<"sm" | "md" | "lg">;
|
|
2823
2846
|
validator: (value: any) => boolean;
|
|
2824
2847
|
};
|
|
2825
|
-
spacer: PropType<RawVButtonSpacer>;
|
|
2826
2848
|
loading: BooleanConstructor;
|
|
2849
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
2827
2850
|
rounded: BooleanConstructor;
|
|
2828
2851
|
icon: PropType<RawVButtonIcon>;
|
|
2829
2852
|
startIcon: PropType<RawVButtonIcon>;
|
|
@@ -3030,8 +3053,8 @@ export declare const VButton: DefineComponent<{
|
|
|
3030
3053
|
type: PropType<"sm" | "md" | "lg">;
|
|
3031
3054
|
validator: (value: any) => boolean;
|
|
3032
3055
|
};
|
|
3033
|
-
spacer: PropType<RawVButtonSpacer>;
|
|
3034
3056
|
loading: BooleanConstructor;
|
|
3057
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
3035
3058
|
rounded: BooleanConstructor;
|
|
3036
3059
|
icon: PropType<RawVButtonIcon>;
|
|
3037
3060
|
startIcon: PropType<RawVButtonIcon>;
|
|
@@ -3234,8 +3257,8 @@ export declare const VButton: DefineComponent<{
|
|
|
3234
3257
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3235
3258
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3236
3259
|
}>>, {
|
|
3237
|
-
loading: boolean;
|
|
3238
3260
|
rounded: boolean;
|
|
3261
|
+
loading: boolean;
|
|
3239
3262
|
ariaCurrentValue: "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
3240
3263
|
}>;
|
|
3241
3264
|
|
|
@@ -3245,6 +3268,7 @@ export declare const VButtonGroup: DefineComponent<{
|
|
|
3245
3268
|
type: PropType<"sm" | "md" | "lg">;
|
|
3246
3269
|
validator: (value: any) => boolean;
|
|
3247
3270
|
};
|
|
3271
|
+
loading: BooleanConstructor;
|
|
3248
3272
|
variant: PropType<ColorVariant>;
|
|
3249
3273
|
theme: PropType<ThemeName>;
|
|
3250
3274
|
color: PropType<ScopeName>;
|
|
@@ -3256,12 +3280,14 @@ export declare const VButtonGroup: DefineComponent<{
|
|
|
3256
3280
|
type: PropType<"sm" | "md" | "lg">;
|
|
3257
3281
|
validator: (value: any) => boolean;
|
|
3258
3282
|
};
|
|
3283
|
+
loading: BooleanConstructor;
|
|
3259
3284
|
variant: PropType<ColorVariant>;
|
|
3260
3285
|
theme: PropType<ThemeName>;
|
|
3261
3286
|
color: PropType<ScopeName>;
|
|
3262
3287
|
textColor: PropType<PaletteName>;
|
|
3263
3288
|
borderColor: PropType<PaletteName>;
|
|
3264
3289
|
}>>, {
|
|
3290
|
+
loading: boolean;
|
|
3265
3291
|
disabled: boolean;
|
|
3266
3292
|
}>;
|
|
3267
3293
|
|
|
@@ -3699,6 +3725,7 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
3699
3725
|
type: PropType<"sm" | "md" | "lg">;
|
|
3700
3726
|
validator: (value: any) => boolean;
|
|
3701
3727
|
};
|
|
3728
|
+
loading: BooleanConstructor;
|
|
3702
3729
|
value: {
|
|
3703
3730
|
type: (StringConstructor | NumberConstructor)[];
|
|
3704
3731
|
};
|
|
@@ -3721,7 +3748,7 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
3721
3748
|
default: ValidateTiming;
|
|
3722
3749
|
};
|
|
3723
3750
|
rules: {
|
|
3724
|
-
type: PropType<RecursiveArray<
|
|
3751
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
3725
3752
|
default: () => never[];
|
|
3726
3753
|
};
|
|
3727
3754
|
error: BooleanConstructor;
|
|
@@ -3746,7 +3773,7 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
3746
3773
|
initialValue: Ref<boolean>;
|
|
3747
3774
|
dirty: ComputedRef<boolean>;
|
|
3748
3775
|
pristine: ComputedRef<boolean>;
|
|
3749
|
-
propRules: ComputedRef<RecursiveArray<
|
|
3776
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
3750
3777
|
isRequired: ComputedRef<boolean>;
|
|
3751
3778
|
errors: ComputedRef<FormNodeError[]>;
|
|
3752
3779
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -3779,6 +3806,7 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
3779
3806
|
type: PropType<"sm" | "md" | "lg">;
|
|
3780
3807
|
validator: (value: any) => boolean;
|
|
3781
3808
|
};
|
|
3809
|
+
loading: BooleanConstructor;
|
|
3782
3810
|
value: {
|
|
3783
3811
|
type: (StringConstructor | NumberConstructor)[];
|
|
3784
3812
|
};
|
|
@@ -3801,7 +3829,7 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
3801
3829
|
default: ValidateTiming;
|
|
3802
3830
|
};
|
|
3803
3831
|
rules: {
|
|
3804
|
-
type: PropType<RecursiveArray<
|
|
3832
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
3805
3833
|
default: () => never[];
|
|
3806
3834
|
};
|
|
3807
3835
|
error: BooleanConstructor;
|
|
@@ -3823,7 +3851,8 @@ export declare const VCheckbox: DefineComponent<{
|
|
|
3823
3851
|
error: boolean;
|
|
3824
3852
|
tabindex: string | number;
|
|
3825
3853
|
validateTiming: ValidateTiming;
|
|
3826
|
-
rules: RecursiveArray<
|
|
3854
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
3855
|
+
loading: boolean;
|
|
3827
3856
|
indeterminate: boolean;
|
|
3828
3857
|
}>;
|
|
3829
3858
|
|
|
@@ -3833,10 +3862,13 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
3833
3862
|
type: BooleanConstructor;
|
|
3834
3863
|
default: boolean;
|
|
3835
3864
|
};
|
|
3865
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
3866
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
3836
3867
|
size: {
|
|
3837
3868
|
type: PropType<"sm" | "md" | "lg">;
|
|
3838
3869
|
validator: (value: any) => boolean;
|
|
3839
3870
|
};
|
|
3871
|
+
loading: BooleanConstructor;
|
|
3840
3872
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
3841
3873
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
3842
3874
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -3866,7 +3898,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
3866
3898
|
default: boolean;
|
|
3867
3899
|
};
|
|
3868
3900
|
items: {
|
|
3869
|
-
type: PropType<
|
|
3901
|
+
type: PropType<RawFormSelectorItems>;
|
|
3870
3902
|
default: () => never[];
|
|
3871
3903
|
};
|
|
3872
3904
|
name: StringConstructor;
|
|
@@ -3884,12 +3916,14 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
3884
3916
|
default: ValidateTiming;
|
|
3885
3917
|
};
|
|
3886
3918
|
rules: {
|
|
3887
|
-
type: PropType<RecursiveArray<
|
|
3919
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
3888
3920
|
default: () => never[];
|
|
3889
3921
|
};
|
|
3890
3922
|
error: BooleanConstructor;
|
|
3891
3923
|
errorMessages: PropType<string | string[]>;
|
|
3892
3924
|
}, {
|
|
3925
|
+
loadingMessageRef: ComputedRef<VNodeChild>;
|
|
3926
|
+
failedToLoadItemsMessageRef: ComputedRef<VNodeChild>;
|
|
3893
3927
|
parentControl: ControlProvider | null;
|
|
3894
3928
|
size: ComputedRef<"sm" | "md" | "lg">;
|
|
3895
3929
|
classes: ComputedRef<any>;
|
|
@@ -3909,7 +3943,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
3909
3943
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
3910
3944
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
3911
3945
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
3912
|
-
propItems:
|
|
3946
|
+
propItems: Ref<ResolvedFormSelectorItemData[]>;
|
|
3913
3947
|
nodeControl: FormNodeControl<any, any>;
|
|
3914
3948
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
3915
3949
|
computedTabindex: ComputedRef<number>;
|
|
@@ -3920,7 +3954,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
3920
3954
|
initialValue: Ref<FormSelectorValue>;
|
|
3921
3955
|
dirty: ComputedRef<boolean>;
|
|
3922
3956
|
pristine: ComputedRef<boolean>;
|
|
3923
|
-
propRules: ComputedRef<RecursiveArray<
|
|
3957
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
3924
3958
|
isRequired: ComputedRef<boolean>;
|
|
3925
3959
|
errors: ComputedRef<FormNodeError[]>;
|
|
3926
3960
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -3953,10 +3987,13 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
3953
3987
|
type: BooleanConstructor;
|
|
3954
3988
|
default: boolean;
|
|
3955
3989
|
};
|
|
3990
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
3991
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
3956
3992
|
size: {
|
|
3957
3993
|
type: PropType<"sm" | "md" | "lg">;
|
|
3958
3994
|
validator: (value: any) => boolean;
|
|
3959
3995
|
};
|
|
3996
|
+
loading: BooleanConstructor;
|
|
3960
3997
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
3961
3998
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
3962
3999
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -3986,7 +4023,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
3986
4023
|
default: boolean;
|
|
3987
4024
|
};
|
|
3988
4025
|
items: {
|
|
3989
|
-
type: PropType<
|
|
4026
|
+
type: PropType<RawFormSelectorItems>;
|
|
3990
4027
|
default: () => never[];
|
|
3991
4028
|
};
|
|
3992
4029
|
name: StringConstructor;
|
|
@@ -4004,7 +4041,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
4004
4041
|
default: ValidateTiming;
|
|
4005
4042
|
};
|
|
4006
4043
|
rules: {
|
|
4007
|
-
type: PropType<RecursiveArray<
|
|
4044
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
4008
4045
|
default: () => never[];
|
|
4009
4046
|
};
|
|
4010
4047
|
error: BooleanConstructor;
|
|
@@ -4026,9 +4063,9 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
4026
4063
|
error: boolean;
|
|
4027
4064
|
tabindex: string | number;
|
|
4028
4065
|
validateTiming: ValidateTiming;
|
|
4029
|
-
rules: RecursiveArray<
|
|
4066
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
4030
4067
|
multiple: boolean;
|
|
4031
|
-
items:
|
|
4068
|
+
items: RawFormSelectorItems;
|
|
4032
4069
|
validating: boolean;
|
|
4033
4070
|
pending: boolean;
|
|
4034
4071
|
focused: boolean;
|
|
@@ -4040,6 +4077,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
4040
4077
|
valid: boolean;
|
|
4041
4078
|
hiddenInfo: boolean;
|
|
4042
4079
|
errors: FormNodeError[];
|
|
4080
|
+
loading: boolean;
|
|
4043
4081
|
stacked: boolean;
|
|
4044
4082
|
}>;
|
|
4045
4083
|
|
|
@@ -4236,8 +4274,8 @@ export declare const VDataTable: DefineComponent<{
|
|
|
4236
4274
|
selectable: BooleanConstructor;
|
|
4237
4275
|
fixedHeader: BooleanConstructor;
|
|
4238
4276
|
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4239
|
-
noDataMessage: PropType<
|
|
4240
|
-
noResultsMessage: PropType<
|
|
4277
|
+
noDataMessage: PropType<VNodeChildOrSlot_2<any>>;
|
|
4278
|
+
noResultsMessage: PropType<VNodeChildOrSlot_2<any>>;
|
|
4241
4279
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4242
4280
|
input: (selecteds: string[]) => true;
|
|
4243
4281
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
@@ -4324,8 +4362,8 @@ export declare const VDataTable: DefineComponent<{
|
|
|
4324
4362
|
selectable: BooleanConstructor;
|
|
4325
4363
|
fixedHeader: BooleanConstructor;
|
|
4326
4364
|
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4327
|
-
noDataMessage: PropType<
|
|
4328
|
-
noResultsMessage: PropType<
|
|
4365
|
+
noDataMessage: PropType<VNodeChildOrSlot_2<any>>;
|
|
4366
|
+
noResultsMessage: PropType<VNodeChildOrSlot_2<any>>;
|
|
4329
4367
|
}>> & {
|
|
4330
4368
|
onInput?: ((selecteds: string[]) => any) | undefined;
|
|
4331
4369
|
}, {
|
|
@@ -4720,6 +4758,7 @@ export declare const VForm: DefineComponent<{
|
|
|
4720
4758
|
type: PropType<"sm" | "md" | "lg">;
|
|
4721
4759
|
validator: (value: any) => boolean;
|
|
4722
4760
|
};
|
|
4761
|
+
loading: BooleanConstructor;
|
|
4723
4762
|
action: PropType<FormAction>;
|
|
4724
4763
|
autoValidate: {
|
|
4725
4764
|
type: BooleanConstructor;
|
|
@@ -4745,7 +4784,7 @@ export declare const VForm: DefineComponent<{
|
|
|
4745
4784
|
default: ValidateTiming;
|
|
4746
4785
|
};
|
|
4747
4786
|
rules: {
|
|
4748
|
-
type: PropType<RecursiveArray<
|
|
4787
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
4749
4788
|
default: () => never[];
|
|
4750
4789
|
};
|
|
4751
4790
|
error: BooleanConstructor;
|
|
@@ -4773,7 +4812,7 @@ export declare const VForm: DefineComponent<{
|
|
|
4773
4812
|
initialValue: Ref<any>;
|
|
4774
4813
|
dirty: ComputedRef<boolean>;
|
|
4775
4814
|
pristine: ComputedRef<boolean>;
|
|
4776
|
-
propRules: ComputedRef<RecursiveArray<
|
|
4815
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
4777
4816
|
isRequired: ComputedRef<boolean>;
|
|
4778
4817
|
errors: ComputedRef<FormNodeError[]>;
|
|
4779
4818
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -4808,6 +4847,7 @@ export declare const VForm: DefineComponent<{
|
|
|
4808
4847
|
type: PropType<"sm" | "md" | "lg">;
|
|
4809
4848
|
validator: (value: any) => boolean;
|
|
4810
4849
|
};
|
|
4850
|
+
loading: BooleanConstructor;
|
|
4811
4851
|
action: PropType<FormAction>;
|
|
4812
4852
|
autoValidate: {
|
|
4813
4853
|
type: BooleanConstructor;
|
|
@@ -4833,7 +4873,7 @@ export declare const VForm: DefineComponent<{
|
|
|
4833
4873
|
default: ValidateTiming;
|
|
4834
4874
|
};
|
|
4835
4875
|
rules: {
|
|
4836
|
-
type: PropType<RecursiveArray<
|
|
4876
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
4837
4877
|
default: () => never[];
|
|
4838
4878
|
};
|
|
4839
4879
|
error: BooleanConstructor;
|
|
@@ -4857,13 +4897,15 @@ export declare const VForm: DefineComponent<{
|
|
|
4857
4897
|
error: boolean;
|
|
4858
4898
|
tabindex: string | number;
|
|
4859
4899
|
validateTiming: ValidateTiming;
|
|
4860
|
-
rules: RecursiveArray<
|
|
4900
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
4861
4901
|
submiting: boolean;
|
|
4862
4902
|
disableAutoScroll: boolean;
|
|
4863
4903
|
autoValidate: boolean;
|
|
4904
|
+
loading: boolean;
|
|
4864
4905
|
}>;
|
|
4865
4906
|
|
|
4866
4907
|
export declare const VFormControl: DefineComponent<{
|
|
4908
|
+
error: BooleanConstructor;
|
|
4867
4909
|
'v-slots': PropType<ResolveRawSlots<FormControlSlots & {
|
|
4868
4910
|
default: FormControl;
|
|
4869
4911
|
}>>;
|
|
@@ -4894,6 +4936,7 @@ export declare const VFormControl: DefineComponent<{
|
|
|
4894
4936
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4895
4937
|
clickLabel: (ev: MouseEvent, formControl: FormControl) => boolean;
|
|
4896
4938
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
4939
|
+
error: BooleanConstructor;
|
|
4897
4940
|
'v-slots': PropType<ResolveRawSlots<FormControlSlots & {
|
|
4898
4941
|
default: FormControl;
|
|
4899
4942
|
}>>;
|
|
@@ -4938,6 +4981,7 @@ export declare const VFormControl: DefineComponent<{
|
|
|
4938
4981
|
valid: boolean;
|
|
4939
4982
|
hiddenInfo: boolean;
|
|
4940
4983
|
errors: FormNodeError[];
|
|
4984
|
+
error: boolean;
|
|
4941
4985
|
}>;
|
|
4942
4986
|
|
|
4943
4987
|
export declare interface VFormSlots {
|
|
@@ -6289,11 +6333,210 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
6289
6333
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
6290
6334
|
}>;
|
|
6291
6335
|
|
|
6336
|
+
export declare const VNumberField: DefineComponent<{
|
|
6337
|
+
modelValue: {
|
|
6338
|
+
type: PropType<number | null>;
|
|
6339
|
+
default: null;
|
|
6340
|
+
};
|
|
6341
|
+
name: StringConstructor;
|
|
6342
|
+
autofocus: BooleanConstructor;
|
|
6343
|
+
disabled: BooleanConstructor;
|
|
6344
|
+
readonly: BooleanConstructor;
|
|
6345
|
+
spellcheck: BooleanConstructor;
|
|
6346
|
+
viewonly: BooleanConstructor;
|
|
6347
|
+
required: BooleanConstructor;
|
|
6348
|
+
clearable: BooleanConstructor;
|
|
6349
|
+
error: BooleanConstructor;
|
|
6350
|
+
tabindex: {
|
|
6351
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6352
|
+
default: number;
|
|
6353
|
+
};
|
|
6354
|
+
validateTiming: {
|
|
6355
|
+
type: PropType<ValidateTiming>;
|
|
6356
|
+
default: ValidateTiming;
|
|
6357
|
+
};
|
|
6358
|
+
rules: {
|
|
6359
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
6360
|
+
default: () => never[];
|
|
6361
|
+
};
|
|
6362
|
+
errorMessages: PropType<string | string[]>;
|
|
6363
|
+
autocomplete: PropType<boolean | "name" | "off" | "on" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo">;
|
|
6364
|
+
placeholder: StringConstructor;
|
|
6365
|
+
limit: BooleanConstructor;
|
|
6366
|
+
minlength: (StringConstructor | NumberConstructor)[];
|
|
6367
|
+
maxlength: (StringConstructor | NumberConstructor)[];
|
|
6368
|
+
pattern: (StringConstructor | RegExpConstructor)[];
|
|
6369
|
+
autocapitalize: PropType<FormAutoCapitalize>;
|
|
6370
|
+
finishings: PropType<RawTextableFinishingProp>;
|
|
6371
|
+
counter: PropType<string | number | boolean>;
|
|
6372
|
+
counterValue: PropType<(value: string) => number>;
|
|
6373
|
+
masked: StringConstructor;
|
|
6374
|
+
unmasked: StringConstructor;
|
|
6375
|
+
typed: (StringConstructor | NumberConstructor | DateConstructor)[];
|
|
6376
|
+
validating: BooleanConstructor;
|
|
6377
|
+
pending: BooleanConstructor;
|
|
6378
|
+
focused: BooleanConstructor;
|
|
6379
|
+
dirty: BooleanConstructor;
|
|
6380
|
+
pristine: BooleanConstructor;
|
|
6381
|
+
touched: BooleanConstructor;
|
|
6382
|
+
untouched: BooleanConstructor;
|
|
6383
|
+
invalid: BooleanConstructor;
|
|
6384
|
+
valid: BooleanConstructor;
|
|
6385
|
+
hiddenInfo: BooleanConstructor;
|
|
6386
|
+
errors: {
|
|
6387
|
+
type: PropType<FormNodeError[]>;
|
|
6388
|
+
default: () => FormNodeError[];
|
|
6389
|
+
};
|
|
6390
|
+
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
6391
|
+
label: PropType<VNodeChildOrSlot<any>>;
|
|
6392
|
+
hint: PropType<VNodeChildOrSlot<any>>;
|
|
6393
|
+
hinttip: PropType<FormControlHinttip>;
|
|
6394
|
+
hinttipDelay: PropType<FormControlHinttipDelay>;
|
|
6395
|
+
infoAppends: PropType<VNodeChildOrSlot<any>>;
|
|
6396
|
+
requiredChip: PropType<RequiredChipSource>;
|
|
6397
|
+
startAdornment: PropType<VNodeChildOrSlot<any>>;
|
|
6398
|
+
endAdornment: PropType<VNodeChildOrSlot<any>>;
|
|
6399
|
+
variant: {
|
|
6400
|
+
type: PropType<"flat" | "outlined" | "filled">;
|
|
6401
|
+
validator: (value: any) => boolean;
|
|
6402
|
+
};
|
|
6403
|
+
loading: BooleanConstructor;
|
|
6404
|
+
size: {
|
|
6405
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
6406
|
+
validator: (value: any) => boolean;
|
|
6407
|
+
};
|
|
6408
|
+
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots>>;
|
|
6409
|
+
mask: PropType<any>;
|
|
6410
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6411
|
+
'update:modelValue': (value: number | null) => true;
|
|
6412
|
+
change: (value: number | null) => true;
|
|
6413
|
+
blur: (ev: FocusEvent) => boolean;
|
|
6414
|
+
accept: (ev: IMaskEvent) => boolean;
|
|
6415
|
+
complete: (ev: IMaskEvent) => boolean;
|
|
6416
|
+
'update:masked': (maskedValue: string) => boolean;
|
|
6417
|
+
'update:typed': (typedValue: IMaskTypedValue | undefined) => boolean;
|
|
6418
|
+
'update:unmasked': (unmaskedValue: string) => boolean;
|
|
6419
|
+
'update:errors': (errors: FormNodeError[]) => boolean;
|
|
6420
|
+
focus: (ev: FocusEvent) => boolean;
|
|
6421
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
6422
|
+
modelValue: {
|
|
6423
|
+
type: PropType<number | null>;
|
|
6424
|
+
default: null;
|
|
6425
|
+
};
|
|
6426
|
+
name: StringConstructor;
|
|
6427
|
+
autofocus: BooleanConstructor;
|
|
6428
|
+
disabled: BooleanConstructor;
|
|
6429
|
+
readonly: BooleanConstructor;
|
|
6430
|
+
spellcheck: BooleanConstructor;
|
|
6431
|
+
viewonly: BooleanConstructor;
|
|
6432
|
+
required: BooleanConstructor;
|
|
6433
|
+
clearable: BooleanConstructor;
|
|
6434
|
+
error: BooleanConstructor;
|
|
6435
|
+
tabindex: {
|
|
6436
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6437
|
+
default: number;
|
|
6438
|
+
};
|
|
6439
|
+
validateTiming: {
|
|
6440
|
+
type: PropType<ValidateTiming>;
|
|
6441
|
+
default: ValidateTiming;
|
|
6442
|
+
};
|
|
6443
|
+
rules: {
|
|
6444
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
6445
|
+
default: () => never[];
|
|
6446
|
+
};
|
|
6447
|
+
errorMessages: PropType<string | string[]>;
|
|
6448
|
+
autocomplete: PropType<boolean | "name" | "off" | "on" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo">;
|
|
6449
|
+
placeholder: StringConstructor;
|
|
6450
|
+
limit: BooleanConstructor;
|
|
6451
|
+
minlength: (StringConstructor | NumberConstructor)[];
|
|
6452
|
+
maxlength: (StringConstructor | NumberConstructor)[];
|
|
6453
|
+
pattern: (StringConstructor | RegExpConstructor)[];
|
|
6454
|
+
autocapitalize: PropType<FormAutoCapitalize>;
|
|
6455
|
+
finishings: PropType<RawTextableFinishingProp>;
|
|
6456
|
+
counter: PropType<string | number | boolean>;
|
|
6457
|
+
counterValue: PropType<(value: string) => number>;
|
|
6458
|
+
masked: StringConstructor;
|
|
6459
|
+
unmasked: StringConstructor;
|
|
6460
|
+
typed: (StringConstructor | NumberConstructor | DateConstructor)[];
|
|
6461
|
+
validating: BooleanConstructor;
|
|
6462
|
+
pending: BooleanConstructor;
|
|
6463
|
+
focused: BooleanConstructor;
|
|
6464
|
+
dirty: BooleanConstructor;
|
|
6465
|
+
pristine: BooleanConstructor;
|
|
6466
|
+
touched: BooleanConstructor;
|
|
6467
|
+
untouched: BooleanConstructor;
|
|
6468
|
+
invalid: BooleanConstructor;
|
|
6469
|
+
valid: BooleanConstructor;
|
|
6470
|
+
hiddenInfo: BooleanConstructor;
|
|
6471
|
+
errors: {
|
|
6472
|
+
type: PropType<FormNodeError[]>;
|
|
6473
|
+
default: () => FormNodeError[];
|
|
6474
|
+
};
|
|
6475
|
+
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
6476
|
+
label: PropType<VNodeChildOrSlot<any>>;
|
|
6477
|
+
hint: PropType<VNodeChildOrSlot<any>>;
|
|
6478
|
+
hinttip: PropType<FormControlHinttip>;
|
|
6479
|
+
hinttipDelay: PropType<FormControlHinttipDelay>;
|
|
6480
|
+
infoAppends: PropType<VNodeChildOrSlot<any>>;
|
|
6481
|
+
requiredChip: PropType<RequiredChipSource>;
|
|
6482
|
+
startAdornment: PropType<VNodeChildOrSlot<any>>;
|
|
6483
|
+
endAdornment: PropType<VNodeChildOrSlot<any>>;
|
|
6484
|
+
variant: {
|
|
6485
|
+
type: PropType<"flat" | "outlined" | "filled">;
|
|
6486
|
+
validator: (value: any) => boolean;
|
|
6487
|
+
};
|
|
6488
|
+
loading: BooleanConstructor;
|
|
6489
|
+
size: {
|
|
6490
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
6491
|
+
validator: (value: any) => boolean;
|
|
6492
|
+
};
|
|
6493
|
+
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots>>;
|
|
6494
|
+
mask: PropType<any>;
|
|
6495
|
+
}>> & {
|
|
6496
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
6497
|
+
onChange?: ((value: number | null) => any) | undefined;
|
|
6498
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
6499
|
+
onAccept?: ((ev: IMaskEvent) => any) | undefined;
|
|
6500
|
+
onComplete?: ((ev: IMaskEvent) => any) | undefined;
|
|
6501
|
+
"onUpdate:masked"?: ((maskedValue: string) => any) | undefined;
|
|
6502
|
+
"onUpdate:typed"?: ((typedValue: IMaskTypedValue | undefined) => any) | undefined;
|
|
6503
|
+
"onUpdate:unmasked"?: ((unmaskedValue: string) => any) | undefined;
|
|
6504
|
+
"onUpdate:errors"?: ((errors: FormNodeError[]) => any) | undefined;
|
|
6505
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
6506
|
+
}, {
|
|
6507
|
+
autofocus: boolean;
|
|
6508
|
+
disabled: boolean;
|
|
6509
|
+
readonly: boolean;
|
|
6510
|
+
spellcheck: boolean;
|
|
6511
|
+
viewonly: boolean;
|
|
6512
|
+
required: boolean;
|
|
6513
|
+
clearable: boolean;
|
|
6514
|
+
error: boolean;
|
|
6515
|
+
modelValue: number | null;
|
|
6516
|
+
tabindex: string | number;
|
|
6517
|
+
validateTiming: ValidateTiming;
|
|
6518
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
6519
|
+
limit: boolean;
|
|
6520
|
+
validating: boolean;
|
|
6521
|
+
pending: boolean;
|
|
6522
|
+
focused: boolean;
|
|
6523
|
+
dirty: boolean;
|
|
6524
|
+
pristine: boolean;
|
|
6525
|
+
touched: boolean;
|
|
6526
|
+
untouched: boolean;
|
|
6527
|
+
invalid: boolean;
|
|
6528
|
+
valid: boolean;
|
|
6529
|
+
hiddenInfo: boolean;
|
|
6530
|
+
errors: FormNodeError[];
|
|
6531
|
+
loading: boolean;
|
|
6532
|
+
}>;
|
|
6533
|
+
|
|
6292
6534
|
export declare const VOption: DefineComponent<{
|
|
6293
6535
|
size: {
|
|
6294
6536
|
type: PropType<"sm" | "md" | "lg">;
|
|
6295
6537
|
validator: (value: any) => boolean;
|
|
6296
6538
|
};
|
|
6539
|
+
loading: BooleanConstructor;
|
|
6297
6540
|
value: {
|
|
6298
6541
|
type: (StringConstructor | NumberConstructor)[];
|
|
6299
6542
|
};
|
|
@@ -6316,7 +6559,7 @@ export declare const VOption: DefineComponent<{
|
|
|
6316
6559
|
default: ValidateTiming;
|
|
6317
6560
|
};
|
|
6318
6561
|
rules: {
|
|
6319
|
-
type: PropType<RecursiveArray<
|
|
6562
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
6320
6563
|
default: () => never[];
|
|
6321
6564
|
};
|
|
6322
6565
|
error: BooleanConstructor;
|
|
@@ -6338,7 +6581,7 @@ export declare const VOption: DefineComponent<{
|
|
|
6338
6581
|
initialValue: Ref<boolean>;
|
|
6339
6582
|
dirty: ComputedRef<boolean>;
|
|
6340
6583
|
pristine: ComputedRef<boolean>;
|
|
6341
|
-
propRules: ComputedRef<RecursiveArray<
|
|
6584
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
6342
6585
|
isRequired: ComputedRef<boolean>;
|
|
6343
6586
|
errors: ComputedRef<FormNodeError[]>;
|
|
6344
6587
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -6370,6 +6613,7 @@ export declare const VOption: DefineComponent<{
|
|
|
6370
6613
|
type: PropType<"sm" | "md" | "lg">;
|
|
6371
6614
|
validator: (value: any) => boolean;
|
|
6372
6615
|
};
|
|
6616
|
+
loading: BooleanConstructor;
|
|
6373
6617
|
value: {
|
|
6374
6618
|
type: (StringConstructor | NumberConstructor)[];
|
|
6375
6619
|
};
|
|
@@ -6392,7 +6636,7 @@ export declare const VOption: DefineComponent<{
|
|
|
6392
6636
|
default: ValidateTiming;
|
|
6393
6637
|
};
|
|
6394
6638
|
rules: {
|
|
6395
|
-
type: PropType<RecursiveArray<
|
|
6639
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
6396
6640
|
default: () => never[];
|
|
6397
6641
|
};
|
|
6398
6642
|
error: BooleanConstructor;
|
|
@@ -6414,7 +6658,8 @@ export declare const VOption: DefineComponent<{
|
|
|
6414
6658
|
error: boolean;
|
|
6415
6659
|
tabindex: string | number;
|
|
6416
6660
|
validateTiming: ValidateTiming;
|
|
6417
|
-
rules: RecursiveArray<
|
|
6661
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
6662
|
+
loading: boolean;
|
|
6418
6663
|
}>;
|
|
6419
6664
|
|
|
6420
6665
|
export declare const VOptionGroup: DefineComponent<{
|
|
@@ -6919,6 +7164,7 @@ export declare const VRadio: DefineComponent<{
|
|
|
6919
7164
|
type: PropType<"sm" | "md" | "lg">;
|
|
6920
7165
|
validator: (value: any) => boolean;
|
|
6921
7166
|
};
|
|
7167
|
+
loading: BooleanConstructor;
|
|
6922
7168
|
value: {
|
|
6923
7169
|
type: (StringConstructor | NumberConstructor)[];
|
|
6924
7170
|
};
|
|
@@ -6941,7 +7187,7 @@ export declare const VRadio: DefineComponent<{
|
|
|
6941
7187
|
default: ValidateTiming;
|
|
6942
7188
|
};
|
|
6943
7189
|
rules: {
|
|
6944
|
-
type: PropType<RecursiveArray<
|
|
7190
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
6945
7191
|
default: () => never[];
|
|
6946
7192
|
};
|
|
6947
7193
|
error: BooleanConstructor;
|
|
@@ -6965,7 +7211,7 @@ export declare const VRadio: DefineComponent<{
|
|
|
6965
7211
|
initialValue: Ref<boolean>;
|
|
6966
7212
|
dirty: ComputedRef<boolean>;
|
|
6967
7213
|
pristine: ComputedRef<boolean>;
|
|
6968
|
-
propRules: ComputedRef<RecursiveArray<
|
|
7214
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
6969
7215
|
isRequired: ComputedRef<boolean>;
|
|
6970
7216
|
errors: ComputedRef<FormNodeError[]>;
|
|
6971
7217
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -6997,6 +7243,7 @@ export declare const VRadio: DefineComponent<{
|
|
|
6997
7243
|
type: PropType<"sm" | "md" | "lg">;
|
|
6998
7244
|
validator: (value: any) => boolean;
|
|
6999
7245
|
};
|
|
7246
|
+
loading: BooleanConstructor;
|
|
7000
7247
|
value: {
|
|
7001
7248
|
type: (StringConstructor | NumberConstructor)[];
|
|
7002
7249
|
};
|
|
@@ -7019,7 +7266,7 @@ export declare const VRadio: DefineComponent<{
|
|
|
7019
7266
|
default: ValidateTiming;
|
|
7020
7267
|
};
|
|
7021
7268
|
rules: {
|
|
7022
|
-
type: PropType<RecursiveArray<
|
|
7269
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7023
7270
|
default: () => never[];
|
|
7024
7271
|
};
|
|
7025
7272
|
error: BooleanConstructor;
|
|
@@ -7041,7 +7288,8 @@ export declare const VRadio: DefineComponent<{
|
|
|
7041
7288
|
error: boolean;
|
|
7042
7289
|
tabindex: string | number;
|
|
7043
7290
|
validateTiming: ValidateTiming;
|
|
7044
|
-
rules: RecursiveArray<
|
|
7291
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
7292
|
+
loading: boolean;
|
|
7045
7293
|
}>;
|
|
7046
7294
|
|
|
7047
7295
|
export declare const VRadioGroup: DefineComponent<{
|
|
@@ -7050,10 +7298,13 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7050
7298
|
type: BooleanConstructor;
|
|
7051
7299
|
default: boolean;
|
|
7052
7300
|
};
|
|
7301
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7302
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7053
7303
|
size: {
|
|
7054
7304
|
type: PropType<"sm" | "md" | "lg">;
|
|
7055
7305
|
validator: (value: any) => boolean;
|
|
7056
7306
|
};
|
|
7307
|
+
loading: BooleanConstructor;
|
|
7057
7308
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
7058
7309
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
7059
7310
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -7083,7 +7334,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7083
7334
|
default: boolean;
|
|
7084
7335
|
};
|
|
7085
7336
|
items: {
|
|
7086
|
-
type: PropType<
|
|
7337
|
+
type: PropType<RawFormSelectorItems>;
|
|
7087
7338
|
default: () => never[];
|
|
7088
7339
|
};
|
|
7089
7340
|
name: StringConstructor;
|
|
@@ -7101,12 +7352,14 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7101
7352
|
default: ValidateTiming;
|
|
7102
7353
|
};
|
|
7103
7354
|
rules: {
|
|
7104
|
-
type: PropType<RecursiveArray<
|
|
7355
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7105
7356
|
default: () => never[];
|
|
7106
7357
|
};
|
|
7107
7358
|
error: BooleanConstructor;
|
|
7108
7359
|
errorMessages: PropType<string | string[]>;
|
|
7109
7360
|
}, {
|
|
7361
|
+
loadingMessageRef: ComputedRef<VNodeChild>;
|
|
7362
|
+
failedToLoadItemsMessageRef: ComputedRef<VNodeChild>;
|
|
7110
7363
|
parentControl: ControlProvider | null;
|
|
7111
7364
|
size: ComputedRef<"sm" | "md" | "lg">;
|
|
7112
7365
|
classes: ComputedRef<any>;
|
|
@@ -7126,7 +7379,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7126
7379
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
7127
7380
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
7128
7381
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
7129
|
-
propItems:
|
|
7382
|
+
propItems: Ref<ResolvedFormSelectorItemData[]>;
|
|
7130
7383
|
nodeControl: FormNodeControl<any, any>;
|
|
7131
7384
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
7132
7385
|
computedTabindex: ComputedRef<number>;
|
|
@@ -7137,7 +7390,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7137
7390
|
initialValue: Ref<FormSelectorValue>;
|
|
7138
7391
|
dirty: ComputedRef<boolean>;
|
|
7139
7392
|
pristine: ComputedRef<boolean>;
|
|
7140
|
-
propRules: ComputedRef<RecursiveArray<
|
|
7393
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
7141
7394
|
isRequired: ComputedRef<boolean>;
|
|
7142
7395
|
errors: ComputedRef<FormNodeError[]>;
|
|
7143
7396
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -7170,10 +7423,13 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7170
7423
|
type: BooleanConstructor;
|
|
7171
7424
|
default: boolean;
|
|
7172
7425
|
};
|
|
7426
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7427
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7173
7428
|
size: {
|
|
7174
7429
|
type: PropType<"sm" | "md" | "lg">;
|
|
7175
7430
|
validator: (value: any) => boolean;
|
|
7176
7431
|
};
|
|
7432
|
+
loading: BooleanConstructor;
|
|
7177
7433
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
7178
7434
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
7179
7435
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -7203,7 +7459,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7203
7459
|
default: boolean;
|
|
7204
7460
|
};
|
|
7205
7461
|
items: {
|
|
7206
|
-
type: PropType<
|
|
7462
|
+
type: PropType<RawFormSelectorItems>;
|
|
7207
7463
|
default: () => never[];
|
|
7208
7464
|
};
|
|
7209
7465
|
name: StringConstructor;
|
|
@@ -7221,7 +7477,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7221
7477
|
default: ValidateTiming;
|
|
7222
7478
|
};
|
|
7223
7479
|
rules: {
|
|
7224
|
-
type: PropType<RecursiveArray<
|
|
7480
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7225
7481
|
default: () => never[];
|
|
7226
7482
|
};
|
|
7227
7483
|
error: BooleanConstructor;
|
|
@@ -7243,9 +7499,9 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7243
7499
|
error: boolean;
|
|
7244
7500
|
tabindex: string | number;
|
|
7245
7501
|
validateTiming: ValidateTiming;
|
|
7246
|
-
rules: RecursiveArray<
|
|
7502
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
7247
7503
|
multiple: boolean;
|
|
7248
|
-
items:
|
|
7504
|
+
items: RawFormSelectorItems;
|
|
7249
7505
|
validating: boolean;
|
|
7250
7506
|
pending: boolean;
|
|
7251
7507
|
focused: boolean;
|
|
@@ -7257,16 +7513,20 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
7257
7513
|
valid: boolean;
|
|
7258
7514
|
hiddenInfo: boolean;
|
|
7259
7515
|
errors: FormNodeError[];
|
|
7516
|
+
loading: boolean;
|
|
7260
7517
|
stacked: boolean;
|
|
7261
7518
|
}>;
|
|
7262
7519
|
|
|
7263
7520
|
export declare const VSelect: DefineComponent<{
|
|
7264
7521
|
placeholder: StringConstructor;
|
|
7522
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7523
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7265
7524
|
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots>>;
|
|
7266
7525
|
size: {
|
|
7267
7526
|
type: PropType<"sm" | "md" | "lg">;
|
|
7268
7527
|
validator: (value: any) => boolean;
|
|
7269
7528
|
};
|
|
7529
|
+
loading: BooleanConstructor;
|
|
7270
7530
|
variant: {
|
|
7271
7531
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
7272
7532
|
validator: (value: any) => boolean;
|
|
@@ -7306,7 +7566,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7306
7566
|
default: boolean;
|
|
7307
7567
|
};
|
|
7308
7568
|
items: {
|
|
7309
|
-
type: PropType<
|
|
7569
|
+
type: PropType<RawFormSelectorItems>;
|
|
7310
7570
|
default: () => never[];
|
|
7311
7571
|
};
|
|
7312
7572
|
name: StringConstructor;
|
|
@@ -7320,7 +7580,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7320
7580
|
default: ValidateTiming;
|
|
7321
7581
|
};
|
|
7322
7582
|
rules: {
|
|
7323
|
-
type: PropType<RecursiveArray<
|
|
7583
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7324
7584
|
default: () => never[];
|
|
7325
7585
|
};
|
|
7326
7586
|
error: BooleanConstructor;
|
|
@@ -7352,7 +7612,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7352
7612
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
7353
7613
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
7354
7614
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
7355
|
-
propItems:
|
|
7615
|
+
propItems: Ref<ResolvedFormSelectorItemData[]>;
|
|
7356
7616
|
nodeControl: FormNodeControl<any, any>;
|
|
7357
7617
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
7358
7618
|
computedTabindex: ComputedRef<number>;
|
|
@@ -7363,7 +7623,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7363
7623
|
initialValue: Ref<FormSelectorValue>;
|
|
7364
7624
|
dirty: ComputedRef<boolean>;
|
|
7365
7625
|
pristine: ComputedRef<boolean>;
|
|
7366
|
-
propRules: ComputedRef<RecursiveArray<
|
|
7626
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
7367
7627
|
isRequired: ComputedRef<boolean>;
|
|
7368
7628
|
errors: ComputedRef<FormNodeError[]>;
|
|
7369
7629
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -7391,11 +7651,14 @@ export declare const VSelect: DefineComponent<{
|
|
|
7391
7651
|
blur: (ev: FocusEvent) => boolean;
|
|
7392
7652
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
7393
7653
|
placeholder: StringConstructor;
|
|
7654
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7655
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7394
7656
|
'v-slots': PropType<ResolveRawSlots<FormControlSlots & InputBoxSlots>>;
|
|
7395
7657
|
size: {
|
|
7396
7658
|
type: PropType<"sm" | "md" | "lg">;
|
|
7397
7659
|
validator: (value: any) => boolean;
|
|
7398
7660
|
};
|
|
7661
|
+
loading: BooleanConstructor;
|
|
7399
7662
|
variant: {
|
|
7400
7663
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
7401
7664
|
validator: (value: any) => boolean;
|
|
@@ -7435,7 +7698,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7435
7698
|
default: boolean;
|
|
7436
7699
|
};
|
|
7437
7700
|
items: {
|
|
7438
|
-
type: PropType<
|
|
7701
|
+
type: PropType<RawFormSelectorItems>;
|
|
7439
7702
|
default: () => never[];
|
|
7440
7703
|
};
|
|
7441
7704
|
name: StringConstructor;
|
|
@@ -7449,7 +7712,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7449
7712
|
default: ValidateTiming;
|
|
7450
7713
|
};
|
|
7451
7714
|
rules: {
|
|
7452
|
-
type: PropType<RecursiveArray<
|
|
7715
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7453
7716
|
default: () => never[];
|
|
7454
7717
|
};
|
|
7455
7718
|
error: BooleanConstructor;
|
|
@@ -7471,9 +7734,9 @@ export declare const VSelect: DefineComponent<{
|
|
|
7471
7734
|
error: boolean;
|
|
7472
7735
|
tabindex: string | number;
|
|
7473
7736
|
validateTiming: ValidateTiming;
|
|
7474
|
-
rules: RecursiveArray<
|
|
7737
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
7475
7738
|
multiple: boolean;
|
|
7476
|
-
items:
|
|
7739
|
+
items: RawFormSelectorItems;
|
|
7477
7740
|
validating: boolean;
|
|
7478
7741
|
pending: boolean;
|
|
7479
7742
|
focused: boolean;
|
|
@@ -7485,6 +7748,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
7485
7748
|
valid: boolean;
|
|
7486
7749
|
hiddenInfo: boolean;
|
|
7487
7750
|
errors: FormNodeError[];
|
|
7751
|
+
loading: boolean;
|
|
7488
7752
|
}>;
|
|
7489
7753
|
|
|
7490
7754
|
export declare const VSkeltonLoaderBone: DefineComponent<{
|
|
@@ -7508,6 +7772,7 @@ export declare const VSwitch: DefineComponent<{
|
|
|
7508
7772
|
type: PropType<"sm" | "md" | "lg">;
|
|
7509
7773
|
validator: (value: any) => boolean;
|
|
7510
7774
|
};
|
|
7775
|
+
loading: BooleanConstructor;
|
|
7511
7776
|
value: {
|
|
7512
7777
|
type: (StringConstructor | NumberConstructor)[];
|
|
7513
7778
|
};
|
|
@@ -7530,7 +7795,7 @@ export declare const VSwitch: DefineComponent<{
|
|
|
7530
7795
|
default: ValidateTiming;
|
|
7531
7796
|
};
|
|
7532
7797
|
rules: {
|
|
7533
|
-
type: PropType<RecursiveArray<
|
|
7798
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7534
7799
|
default: () => never[];
|
|
7535
7800
|
};
|
|
7536
7801
|
error: BooleanConstructor;
|
|
@@ -7554,7 +7819,7 @@ export declare const VSwitch: DefineComponent<{
|
|
|
7554
7819
|
initialValue: Ref<boolean>;
|
|
7555
7820
|
dirty: ComputedRef<boolean>;
|
|
7556
7821
|
pristine: ComputedRef<boolean>;
|
|
7557
|
-
propRules: ComputedRef<RecursiveArray<
|
|
7822
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
7558
7823
|
isRequired: ComputedRef<boolean>;
|
|
7559
7824
|
errors: ComputedRef<FormNodeError[]>;
|
|
7560
7825
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -7586,6 +7851,7 @@ export declare const VSwitch: DefineComponent<{
|
|
|
7586
7851
|
type: PropType<"sm" | "md" | "lg">;
|
|
7587
7852
|
validator: (value: any) => boolean;
|
|
7588
7853
|
};
|
|
7854
|
+
loading: BooleanConstructor;
|
|
7589
7855
|
value: {
|
|
7590
7856
|
type: (StringConstructor | NumberConstructor)[];
|
|
7591
7857
|
};
|
|
@@ -7608,7 +7874,7 @@ export declare const VSwitch: DefineComponent<{
|
|
|
7608
7874
|
default: ValidateTiming;
|
|
7609
7875
|
};
|
|
7610
7876
|
rules: {
|
|
7611
|
-
type: PropType<RecursiveArray<
|
|
7877
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7612
7878
|
default: () => never[];
|
|
7613
7879
|
};
|
|
7614
7880
|
error: BooleanConstructor;
|
|
@@ -7630,7 +7896,8 @@ export declare const VSwitch: DefineComponent<{
|
|
|
7630
7896
|
error: boolean;
|
|
7631
7897
|
tabindex: string | number;
|
|
7632
7898
|
validateTiming: ValidateTiming;
|
|
7633
|
-
rules: RecursiveArray<
|
|
7899
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
7900
|
+
loading: boolean;
|
|
7634
7901
|
}>;
|
|
7635
7902
|
|
|
7636
7903
|
export declare const VSwitchGroup: DefineComponent<{
|
|
@@ -7639,10 +7906,13 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7639
7906
|
type: BooleanConstructor;
|
|
7640
7907
|
default: boolean;
|
|
7641
7908
|
};
|
|
7909
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7910
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7642
7911
|
size: {
|
|
7643
7912
|
type: PropType<"sm" | "md" | "lg">;
|
|
7644
7913
|
validator: (value: any) => boolean;
|
|
7645
7914
|
};
|
|
7915
|
+
loading: BooleanConstructor;
|
|
7646
7916
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
7647
7917
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
7648
7918
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -7672,7 +7942,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7672
7942
|
default: boolean;
|
|
7673
7943
|
};
|
|
7674
7944
|
items: {
|
|
7675
|
-
type: PropType<
|
|
7945
|
+
type: PropType<RawFormSelectorItems>;
|
|
7676
7946
|
default: () => never[];
|
|
7677
7947
|
};
|
|
7678
7948
|
name: StringConstructor;
|
|
@@ -7690,12 +7960,14 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7690
7960
|
default: ValidateTiming;
|
|
7691
7961
|
};
|
|
7692
7962
|
rules: {
|
|
7693
|
-
type: PropType<RecursiveArray<
|
|
7963
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7694
7964
|
default: () => never[];
|
|
7695
7965
|
};
|
|
7696
7966
|
error: BooleanConstructor;
|
|
7697
7967
|
errorMessages: PropType<string | string[]>;
|
|
7698
7968
|
}, {
|
|
7969
|
+
loadingMessageRef: ComputedRef<VNodeChild>;
|
|
7970
|
+
failedToLoadItemsMessageRef: ComputedRef<VNodeChild>;
|
|
7699
7971
|
parentControl: ControlProvider | null;
|
|
7700
7972
|
size: ComputedRef<"sm" | "md" | "lg">;
|
|
7701
7973
|
classes: ComputedRef<any>;
|
|
@@ -7715,7 +7987,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7715
7987
|
selectorItems: ComputedRef<FormSelectorItemControl[]>;
|
|
7716
7988
|
selectedValues: ComputedRef<(string | number)[]>;
|
|
7717
7989
|
selectedItems: ComputedRef<FormSelectorItemControl[]>;
|
|
7718
|
-
propItems:
|
|
7990
|
+
propItems: Ref<ResolvedFormSelectorItemData[]>;
|
|
7719
7991
|
nodeControl: FormNodeControl<any, any>;
|
|
7720
7992
|
currentValue: WritableComputedRef<FormSelectorValue>;
|
|
7721
7993
|
computedTabindex: ComputedRef<number>;
|
|
@@ -7726,7 +7998,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7726
7998
|
initialValue: Ref<FormSelectorValue>;
|
|
7727
7999
|
dirty: ComputedRef<boolean>;
|
|
7728
8000
|
pristine: ComputedRef<boolean>;
|
|
7729
|
-
propRules: ComputedRef<RecursiveArray<
|
|
8001
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
7730
8002
|
isRequired: ComputedRef<boolean>;
|
|
7731
8003
|
errors: ComputedRef<FormNodeError[]>;
|
|
7732
8004
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -7759,10 +8031,13 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7759
8031
|
type: BooleanConstructor;
|
|
7760
8032
|
default: boolean;
|
|
7761
8033
|
};
|
|
8034
|
+
loadingMessage: PropType<VNodeChildOrSlot<any>>;
|
|
8035
|
+
failedToLoadItemsMessage: PropType<VNodeChildOrSlot<any>>;
|
|
7762
8036
|
size: {
|
|
7763
8037
|
type: PropType<"sm" | "md" | "lg">;
|
|
7764
8038
|
validator: (value: any) => boolean;
|
|
7765
8039
|
};
|
|
8040
|
+
loading: BooleanConstructor;
|
|
7766
8041
|
nodeControl: PropType<FormNodeControl<any, any>>;
|
|
7767
8042
|
label: PropType<VNodeChildOrSlot<any>>;
|
|
7768
8043
|
hint: PropType<VNodeChildOrSlot<any>>;
|
|
@@ -7792,7 +8067,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7792
8067
|
default: boolean;
|
|
7793
8068
|
};
|
|
7794
8069
|
items: {
|
|
7795
|
-
type: PropType<
|
|
8070
|
+
type: PropType<RawFormSelectorItems>;
|
|
7796
8071
|
default: () => never[];
|
|
7797
8072
|
};
|
|
7798
8073
|
name: StringConstructor;
|
|
@@ -7810,7 +8085,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7810
8085
|
default: ValidateTiming;
|
|
7811
8086
|
};
|
|
7812
8087
|
rules: {
|
|
7813
|
-
type: PropType<RecursiveArray<
|
|
8088
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
7814
8089
|
default: () => never[];
|
|
7815
8090
|
};
|
|
7816
8091
|
error: BooleanConstructor;
|
|
@@ -7832,9 +8107,9 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7832
8107
|
error: boolean;
|
|
7833
8108
|
tabindex: string | number;
|
|
7834
8109
|
validateTiming: ValidateTiming;
|
|
7835
|
-
rules: RecursiveArray<
|
|
8110
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
7836
8111
|
multiple: boolean;
|
|
7837
|
-
items:
|
|
8112
|
+
items: RawFormSelectorItems;
|
|
7838
8113
|
validating: boolean;
|
|
7839
8114
|
pending: boolean;
|
|
7840
8115
|
focused: boolean;
|
|
@@ -7846,6 +8121,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
7846
8121
|
valid: boolean;
|
|
7847
8122
|
hiddenInfo: boolean;
|
|
7848
8123
|
errors: FormNodeError[];
|
|
8124
|
+
loading: boolean;
|
|
7849
8125
|
stacked: boolean;
|
|
7850
8126
|
}>;
|
|
7851
8127
|
|
|
@@ -7938,6 +8214,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
7938
8214
|
type: PropType<"sm" | "md" | "lg">;
|
|
7939
8215
|
validator: (value: any) => boolean;
|
|
7940
8216
|
};
|
|
8217
|
+
loading: BooleanConstructor;
|
|
7941
8218
|
variant: {
|
|
7942
8219
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
7943
8220
|
validator: (value: any) => boolean;
|
|
@@ -7999,7 +8276,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
7999
8276
|
default: ValidateTiming;
|
|
8000
8277
|
};
|
|
8001
8278
|
rules: {
|
|
8002
|
-
type: PropType<RecursiveArray<
|
|
8279
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
8003
8280
|
default: () => never[];
|
|
8004
8281
|
};
|
|
8005
8282
|
error: BooleanConstructor;
|
|
@@ -8035,7 +8312,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
8035
8312
|
initialValue: Ref<string>;
|
|
8036
8313
|
dirty: ComputedRef<boolean>;
|
|
8037
8314
|
pristine: ComputedRef<boolean>;
|
|
8038
|
-
propRules: ComputedRef<RecursiveArray<
|
|
8315
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
8039
8316
|
isRequired: ComputedRef<boolean>;
|
|
8040
8317
|
errors: ComputedRef<FormNodeError[]>;
|
|
8041
8318
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -8066,6 +8343,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
8066
8343
|
type: PropType<"sm" | "md" | "lg">;
|
|
8067
8344
|
validator: (value: any) => boolean;
|
|
8068
8345
|
};
|
|
8346
|
+
loading: BooleanConstructor;
|
|
8069
8347
|
variant: {
|
|
8070
8348
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
8071
8349
|
validator: (value: any) => boolean;
|
|
@@ -8127,7 +8405,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
8127
8405
|
default: ValidateTiming;
|
|
8128
8406
|
};
|
|
8129
8407
|
rules: {
|
|
8130
|
-
type: PropType<RecursiveArray<
|
|
8408
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
8131
8409
|
default: () => never[];
|
|
8132
8410
|
};
|
|
8133
8411
|
error: BooleanConstructor;
|
|
@@ -8149,7 +8427,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
8149
8427
|
error: boolean;
|
|
8150
8428
|
tabindex: string | number;
|
|
8151
8429
|
validateTiming: ValidateTiming;
|
|
8152
|
-
rules: RecursiveArray<
|
|
8430
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
8153
8431
|
limit: boolean;
|
|
8154
8432
|
rows: Numberish;
|
|
8155
8433
|
validating: boolean;
|
|
@@ -8163,6 +8441,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
8163
8441
|
valid: boolean;
|
|
8164
8442
|
hiddenInfo: boolean;
|
|
8165
8443
|
errors: FormNodeError[];
|
|
8444
|
+
loading: boolean;
|
|
8166
8445
|
}>;
|
|
8167
8446
|
|
|
8168
8447
|
export declare const VTextField: DefineComponent<{
|
|
@@ -8171,6 +8450,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8171
8450
|
type: PropType<"sm" | "md" | "lg">;
|
|
8172
8451
|
validator: (value: any) => boolean;
|
|
8173
8452
|
};
|
|
8453
|
+
loading: BooleanConstructor;
|
|
8174
8454
|
variant: {
|
|
8175
8455
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
8176
8456
|
validator: (value: any) => boolean;
|
|
@@ -8234,7 +8514,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8234
8514
|
default: ValidateTiming;
|
|
8235
8515
|
};
|
|
8236
8516
|
rules: {
|
|
8237
|
-
type: PropType<RecursiveArray<
|
|
8517
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
8238
8518
|
default: () => never[];
|
|
8239
8519
|
};
|
|
8240
8520
|
error: BooleanConstructor;
|
|
@@ -8267,7 +8547,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8267
8547
|
initialValue: Ref<string>;
|
|
8268
8548
|
dirty: ComputedRef<boolean>;
|
|
8269
8549
|
pristine: ComputedRef<boolean>;
|
|
8270
|
-
propRules: ComputedRef<RecursiveArray<
|
|
8550
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
8271
8551
|
isRequired: ComputedRef<boolean>;
|
|
8272
8552
|
errors: ComputedRef<FormNodeError[]>;
|
|
8273
8553
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -8303,6 +8583,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8303
8583
|
type: PropType<"sm" | "md" | "lg">;
|
|
8304
8584
|
validator: (value: any) => boolean;
|
|
8305
8585
|
};
|
|
8586
|
+
loading: BooleanConstructor;
|
|
8306
8587
|
variant: {
|
|
8307
8588
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
8308
8589
|
validator: (value: any) => boolean;
|
|
@@ -8366,7 +8647,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8366
8647
|
default: ValidateTiming;
|
|
8367
8648
|
};
|
|
8368
8649
|
rules: {
|
|
8369
|
-
type: PropType<RecursiveArray<
|
|
8650
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
8370
8651
|
default: () => never[];
|
|
8371
8652
|
};
|
|
8372
8653
|
error: BooleanConstructor;
|
|
@@ -8394,7 +8675,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8394
8675
|
error: boolean;
|
|
8395
8676
|
tabindex: string | number;
|
|
8396
8677
|
validateTiming: ValidateTiming;
|
|
8397
|
-
rules: RecursiveArray<
|
|
8678
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
8398
8679
|
limit: boolean;
|
|
8399
8680
|
validating: boolean;
|
|
8400
8681
|
pending: boolean;
|
|
@@ -8407,6 +8688,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
8407
8688
|
valid: boolean;
|
|
8408
8689
|
hiddenInfo: boolean;
|
|
8409
8690
|
errors: FormNodeError[];
|
|
8691
|
+
loading: boolean;
|
|
8410
8692
|
}>;
|
|
8411
8693
|
|
|
8412
8694
|
export declare const VToolbar: DefineComponent<{
|
|
@@ -8448,8 +8730,8 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
8448
8730
|
type: PropType<"sm" | "md" | "lg">;
|
|
8449
8731
|
validator: (value: any) => boolean;
|
|
8450
8732
|
};
|
|
8451
|
-
spacer: PropType<RawVButtonSpacer>;
|
|
8452
8733
|
loading: BooleanConstructor;
|
|
8734
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
8453
8735
|
rounded: BooleanConstructor;
|
|
8454
8736
|
icon: PropType<RawVButtonIcon>;
|
|
8455
8737
|
startIcon: PropType<RawVButtonIcon>;
|
|
@@ -8656,8 +8938,8 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
8656
8938
|
type: PropType<"sm" | "md" | "lg">;
|
|
8657
8939
|
validator: (value: any) => boolean;
|
|
8658
8940
|
};
|
|
8659
|
-
spacer: PropType<RawVButtonSpacer>;
|
|
8660
8941
|
loading: BooleanConstructor;
|
|
8942
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
8661
8943
|
rounded: BooleanConstructor;
|
|
8662
8944
|
icon: PropType<RawVButtonIcon>;
|
|
8663
8945
|
startIcon: PropType<RawVButtonIcon>;
|
|
@@ -8860,8 +9142,8 @@ export declare const VToolbarMenu: DefineComponent<{
|
|
|
8860
9142
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
8861
9143
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
8862
9144
|
}>>, {
|
|
8863
|
-
loading: boolean;
|
|
8864
9145
|
rounded: boolean;
|
|
9146
|
+
loading: boolean;
|
|
8865
9147
|
ariaCurrentValue: "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
8866
9148
|
}>;
|
|
8867
9149
|
|
|
@@ -8888,8 +9170,8 @@ export declare const vueButtonProps: {
|
|
|
8888
9170
|
type: PropType<"sm" | "md" | "lg">;
|
|
8889
9171
|
validator: (value: any) => boolean;
|
|
8890
9172
|
};
|
|
8891
|
-
spacer: PropType<RawVButtonSpacer>;
|
|
8892
9173
|
loading: BooleanConstructor;
|
|
9174
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
8893
9175
|
rounded: BooleanConstructor;
|
|
8894
9176
|
icon: PropType<RawVButtonIcon>;
|
|
8895
9177
|
startIcon: PropType<RawVButtonIcon>;
|
|
@@ -9277,6 +9559,7 @@ export declare interface VuiServiceIconSettings {
|
|
|
9277
9559
|
editorRedo: IconName;
|
|
9278
9560
|
hinttip: IconName;
|
|
9279
9561
|
clear: IconName;
|
|
9562
|
+
reload: IconName;
|
|
9280
9563
|
}
|
|
9281
9564
|
|
|
9282
9565
|
export declare interface VuiServiceOptions {
|
|
@@ -9316,8 +9599,10 @@ export declare interface VuiServiceUISettings {
|
|
|
9316
9599
|
variant?: ColorVariant;
|
|
9317
9600
|
};
|
|
9318
9601
|
hinttipDelay?: FormControlHinttipDelay_2;
|
|
9319
|
-
noDataMessage?:
|
|
9320
|
-
noResultsMessage?:
|
|
9602
|
+
noDataMessage?: VNodeChildOrSlot;
|
|
9603
|
+
noResultsMessage?: VNodeChildOrSlot;
|
|
9604
|
+
loadingMessage?: VNodeChildOrSlot;
|
|
9605
|
+
failedToLoadDataMessage?: VNodeChildOrSlot;
|
|
9321
9606
|
}
|
|
9322
9607
|
|
|
9323
9608
|
export declare type VuiVNodeResolver = () => VNodeChild;
|
|
@@ -9335,6 +9620,7 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
9335
9620
|
type: PropType<"sm" | "md" | "lg">;
|
|
9336
9621
|
validator: (value: any) => boolean;
|
|
9337
9622
|
};
|
|
9623
|
+
loading: BooleanConstructor;
|
|
9338
9624
|
variant: {
|
|
9339
9625
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
9340
9626
|
validator: (value: any) => boolean;
|
|
@@ -9390,7 +9676,7 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
9390
9676
|
default: ValidateTiming;
|
|
9391
9677
|
};
|
|
9392
9678
|
rules: {
|
|
9393
|
-
type: PropType<RecursiveArray<
|
|
9679
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
9394
9680
|
default: () => never[];
|
|
9395
9681
|
};
|
|
9396
9682
|
error: BooleanConstructor;
|
|
@@ -9422,7 +9708,7 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
9422
9708
|
initialValue: Ref<string>;
|
|
9423
9709
|
dirty: ComputedRef<boolean>;
|
|
9424
9710
|
pristine: ComputedRef<boolean>;
|
|
9425
|
-
propRules: ComputedRef<RecursiveArray<
|
|
9711
|
+
propRules: ComputedRef<RecursiveArray<ValidatableRule>>;
|
|
9426
9712
|
isRequired: ComputedRef<boolean>;
|
|
9427
9713
|
errors: ComputedRef<FormNodeError[]>;
|
|
9428
9714
|
firstError: ComputedRef<FormNodeError | undefined>;
|
|
@@ -9461,6 +9747,7 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
9461
9747
|
type: PropType<"sm" | "md" | "lg">;
|
|
9462
9748
|
validator: (value: any) => boolean;
|
|
9463
9749
|
};
|
|
9750
|
+
loading: BooleanConstructor;
|
|
9464
9751
|
variant: {
|
|
9465
9752
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
9466
9753
|
validator: (value: any) => boolean;
|
|
@@ -9516,7 +9803,7 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
9516
9803
|
default: ValidateTiming;
|
|
9517
9804
|
};
|
|
9518
9805
|
rules: {
|
|
9519
|
-
type: PropType<RecursiveArray<
|
|
9806
|
+
type: PropType<RecursiveArray<ValidatableRule>>;
|
|
9520
9807
|
default: () => never[];
|
|
9521
9808
|
};
|
|
9522
9809
|
error: BooleanConstructor;
|
|
@@ -9538,7 +9825,7 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
9538
9825
|
error: boolean;
|
|
9539
9826
|
tabindex: string | number;
|
|
9540
9827
|
validateTiming: ValidateTiming;
|
|
9541
|
-
rules: RecursiveArray<
|
|
9828
|
+
rules: RecursiveArray<ValidatableRule>;
|
|
9542
9829
|
limit: boolean;
|
|
9543
9830
|
validating: boolean;
|
|
9544
9831
|
pending: boolean;
|
|
@@ -9551,6 +9838,7 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
9551
9838
|
valid: boolean;
|
|
9552
9839
|
hiddenInfo: boolean;
|
|
9553
9840
|
errors: FormNodeError[];
|
|
9841
|
+
loading: boolean;
|
|
9554
9842
|
tools: RawWysiwygEditorTool[];
|
|
9555
9843
|
floatingToolbar: boolean;
|
|
9556
9844
|
disabledMinHeight: boolean;
|