@velkymx/vibeui 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +362 -1
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/HelloWorld.vue.d.ts +5 -0
- package/dist/components/VibeAccordion.vue.d.ts +51 -0
- package/dist/components/VibeAccordionItem.vue.d.ts +57 -0
- package/dist/components/VibeAlert.vue.d.ts +61 -0
- package/dist/components/VibeBadge.vue.d.ts +52 -0
- package/dist/components/VibeBreadcrumb.vue.d.ts +43 -0
- package/dist/components/VibeBreadcrumbItem.vue.d.ts +51 -0
- package/dist/components/VibeButton.vue.d.ts +99 -0
- package/dist/components/VibeButtonGroup.vue.d.ts +61 -0
- package/dist/components/VibeCard.vue.d.ts +126 -0
- package/dist/components/VibeCardBody.vue.d.ts +34 -0
- package/dist/components/VibeCardFooter.vue.d.ts +34 -0
- package/dist/components/VibeCardHeader.vue.d.ts +34 -0
- package/dist/components/VibeCardImg.vue.d.ts +44 -0
- package/dist/components/VibeCardText.vue.d.ts +33 -0
- package/dist/components/VibeCardTitle.vue.d.ts +33 -0
- package/dist/components/VibeCarousel.vue.d.ts +137 -0
- package/dist/components/VibeCarouselSlide.vue.d.ts +80 -0
- package/dist/components/VibeCloseButton.vue.d.ts +38 -0
- package/dist/components/VibeCol.vue.d.ts +206 -0
- package/dist/components/VibeCollapse.vue.d.ts +70 -0
- package/dist/components/VibeContainer.vue.d.ts +44 -0
- package/dist/components/VibeDataTable.vue.d.ts +261 -0
- package/dist/components/VibeDropdown.vue.d.ts +96 -0
- package/dist/components/VibeDropdownItem.vue.d.ts +81 -0
- package/dist/components/VibeFormCheckbox.vue.d.ts +134 -0
- package/dist/components/VibeFormDatepicker.vue.d.ts +154 -0
- package/dist/components/VibeFormGroup.vue.d.ts +112 -0
- package/dist/components/VibeFormInput.vue.d.ts +154 -0
- package/dist/components/VibeFormRadio.vue.d.ts +132 -0
- package/dist/components/VibeFormSelect.vue.d.ts +167 -0
- package/dist/components/VibeFormSpinbutton.vue.d.ts +176 -0
- package/dist/components/VibeFormSwitch.vue.d.ts +107 -0
- package/dist/components/VibeFormTextarea.vue.d.ts +163 -0
- package/dist/components/VibeFormWysiwyg.vue.d.ts +156 -0
- package/dist/components/VibeIcon.vue.d.ts +83 -0
- package/dist/components/VibeListGroup.vue.d.ts +63 -0
- package/dist/components/VibeListGroupItem.vue.d.ts +90 -0
- package/dist/components/VibeModal.vue.d.ts +126 -0
- package/dist/components/VibeNav.vue.d.ts +81 -0
- package/dist/components/VibeNavItem.vue.d.ts +80 -0
- package/dist/components/VibeNavbar.vue.d.ts +71 -0
- package/dist/components/VibeNavbarBrand.vue.d.ts +42 -0
- package/dist/components/VibeNavbarNav.vue.d.ts +36 -0
- package/dist/components/VibeNavbarToggle.vue.d.ts +26 -0
- package/dist/components/VibeOffcanvas.vue.d.ts +89 -0
- package/dist/components/VibePagination.vue.d.ts +72 -0
- package/dist/components/VibePaginationItem.vue.d.ts +62 -0
- package/dist/components/VibePlaceholder.vue.d.ts +70 -0
- package/dist/components/VibePopover.vue.d.ts +69 -0
- package/dist/components/VibeProgress.vue.d.ts +33 -0
- package/dist/components/VibeProgressBar.vue.d.ts +88 -0
- package/dist/components/VibeRow.vue.d.ts +269 -0
- package/dist/components/VibeScrollspy.vue.d.ts +71 -0
- package/dist/components/VibeSpinner.vue.d.ts +55 -0
- package/dist/components/VibeTabContent.vue.d.ts +44 -0
- package/dist/components/VibeTabPane.vue.d.ts +70 -0
- package/dist/components/VibeToast.vue.d.ts +90 -0
- package/dist/components/VibeTooltip.vue.d.ts +60 -0
- package/dist/components/index.d.ts +63 -0
- package/dist/composables/useFormValidation.d.ts +26 -0
- package/dist/index.d.ts +3 -0
- package/dist/main.d.ts +0 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types.d.ts +100 -0
- package/dist/vibeui.es.js +1262 -1018
- package/dist/vibeui.umd.js +1 -1
- package/package.json +9 -4
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { InputType, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
type: {
|
|
8
|
+
type: () => InputType;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
id: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
placeholder: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
readonly: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
required: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
type: () => Size;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
validationState: {
|
|
40
|
+
type: () => ValidationState;
|
|
41
|
+
default: null;
|
|
42
|
+
};
|
|
43
|
+
validationMessage: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
validationRules: {
|
|
48
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
validateOn: {
|
|
52
|
+
type: () => "input" | "blur" | "change";
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
helpText: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
59
|
+
plaintext: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
+
"update:modelValue": (...args: any[]) => void;
|
|
65
|
+
blur: (...args: any[]) => void;
|
|
66
|
+
change: (...args: any[]) => void;
|
|
67
|
+
focus: (...args: any[]) => void;
|
|
68
|
+
input: (...args: any[]) => void;
|
|
69
|
+
validate: (...args: any[]) => void;
|
|
70
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
modelValue: {
|
|
72
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
type: {
|
|
76
|
+
type: () => InputType;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
id: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
label: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
87
|
+
placeholder: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
disabled: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
readonly: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
required: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
size: {
|
|
104
|
+
type: () => Size;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
validationState: {
|
|
108
|
+
type: () => ValidationState;
|
|
109
|
+
default: null;
|
|
110
|
+
};
|
|
111
|
+
validationMessage: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
validationRules: {
|
|
116
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
validateOn: {
|
|
120
|
+
type: () => "input" | "blur" | "change";
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
helpText: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
plaintext: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{
|
|
132
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
}>, {
|
|
139
|
+
modelValue: string | number;
|
|
140
|
+
type: InputType;
|
|
141
|
+
required: boolean;
|
|
142
|
+
label: string;
|
|
143
|
+
size: Size;
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
placeholder: string;
|
|
146
|
+
readonly: boolean;
|
|
147
|
+
validationState: ValidationState;
|
|
148
|
+
validationMessage: string;
|
|
149
|
+
validationRules: ValidatorFunction | ValidationRule[] | undefined;
|
|
150
|
+
validateOn: "blur" | "change" | "input";
|
|
151
|
+
helpText: string;
|
|
152
|
+
plaintext: boolean;
|
|
153
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
154
|
+
export default _default;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
name: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
required: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
inline: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
validationState: {
|
|
36
|
+
type: () => ValidationState;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
validationMessage: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
validationRules: {
|
|
44
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
validateOn: {
|
|
48
|
+
type: () => "change" | "blur";
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
helpText: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"update:modelValue": (...args: any[]) => void;
|
|
57
|
+
blur: (...args: any[]) => void;
|
|
58
|
+
change: (...args: any[]) => void;
|
|
59
|
+
focus: (...args: any[]) => void;
|
|
60
|
+
validate: (...args: any[]) => void;
|
|
61
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
modelValue: {
|
|
63
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
id: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
label: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
value: {
|
|
75
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
name: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
required: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
inline: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
validationState: {
|
|
95
|
+
type: () => ValidationState;
|
|
96
|
+
default: null;
|
|
97
|
+
};
|
|
98
|
+
validationMessage: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
validationRules: {
|
|
103
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
validateOn: {
|
|
107
|
+
type: () => "change" | "blur";
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
helpText: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: undefined;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{
|
|
115
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
119
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
}>, {
|
|
121
|
+
modelValue: string | number | boolean;
|
|
122
|
+
required: boolean;
|
|
123
|
+
label: string;
|
|
124
|
+
disabled: boolean;
|
|
125
|
+
validationState: ValidationState;
|
|
126
|
+
validationMessage: string;
|
|
127
|
+
validationRules: ValidatorFunction | ValidationRule[] | undefined;
|
|
128
|
+
validateOn: "blur" | "change";
|
|
129
|
+
helpText: string;
|
|
130
|
+
inline: boolean;
|
|
131
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
132
|
+
export default _default;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { ValidationState, ValidationRule, ValidatorFunction, Size, FormSelectOption } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
id: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
label: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
options: {
|
|
25
|
+
type: () => FormSelectOption[];
|
|
26
|
+
default: () => never[];
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
required: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
multiple: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
type: () => Size;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
htmlSize: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
validationState: {
|
|
49
|
+
type: () => ValidationState;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
52
|
+
validationMessage: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
validationRules: {
|
|
57
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
validateOn: {
|
|
61
|
+
type: () => "change" | "blur";
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
helpText: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
placeholder: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
73
|
+
"update:modelValue": (...args: any[]) => void;
|
|
74
|
+
blur: (...args: any[]) => void;
|
|
75
|
+
change: (...args: any[]) => void;
|
|
76
|
+
focus: (...args: any[]) => void;
|
|
77
|
+
validate: (...args: any[]) => void;
|
|
78
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
modelValue: {
|
|
80
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
id: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
label: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
options: {
|
|
92
|
+
type: () => FormSelectOption[];
|
|
93
|
+
default: () => never[];
|
|
94
|
+
};
|
|
95
|
+
disabled: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
required: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
multiple: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
size: {
|
|
108
|
+
type: () => Size;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
htmlSize: {
|
|
112
|
+
type: NumberConstructor;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
validationState: {
|
|
116
|
+
type: () => ValidationState;
|
|
117
|
+
default: null;
|
|
118
|
+
};
|
|
119
|
+
validationMessage: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: undefined;
|
|
122
|
+
};
|
|
123
|
+
validationRules: {
|
|
124
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
validateOn: {
|
|
128
|
+
type: () => "change" | "blur";
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
helpText: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
placeholder: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: undefined;
|
|
138
|
+
};
|
|
139
|
+
}>> & Readonly<{
|
|
140
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
141
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
142
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
}>, {
|
|
146
|
+
modelValue: string | number | unknown[];
|
|
147
|
+
required: boolean;
|
|
148
|
+
label: string;
|
|
149
|
+
size: Size;
|
|
150
|
+
disabled: boolean;
|
|
151
|
+
placeholder: string;
|
|
152
|
+
validationState: ValidationState;
|
|
153
|
+
validationMessage: string;
|
|
154
|
+
validationRules: ValidatorFunction | ValidationRule[] | undefined;
|
|
155
|
+
validateOn: "blur" | "change";
|
|
156
|
+
helpText: string;
|
|
157
|
+
options: FormSelectOption[];
|
|
158
|
+
multiple: boolean;
|
|
159
|
+
htmlSize: number;
|
|
160
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
161
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
162
|
+
export default _default;
|
|
163
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
164
|
+
new (): {
|
|
165
|
+
$slots: S;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
readonly: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
required: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
min: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
max: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
step: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
type: () => Size;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
validationState: {
|
|
44
|
+
type: () => ValidationState;
|
|
45
|
+
default: null;
|
|
46
|
+
};
|
|
47
|
+
validationMessage: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
validationRules: {
|
|
52
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
validateOn: {
|
|
56
|
+
type: () => "input" | "blur" | "change";
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
helpText: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
wrap: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
vertical: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
"update:modelValue": (...args: any[]) => void;
|
|
73
|
+
blur: (...args: any[]) => void;
|
|
74
|
+
change: (...args: any[]) => void;
|
|
75
|
+
focus: (...args: any[]) => void;
|
|
76
|
+
input: (...args: any[]) => void;
|
|
77
|
+
validate: (...args: any[]) => void;
|
|
78
|
+
increment: (...args: any[]) => void;
|
|
79
|
+
decrement: (...args: any[]) => void;
|
|
80
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
81
|
+
modelValue: {
|
|
82
|
+
type: NumberConstructor;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
id: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
label: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
disabled: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
readonly: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
required: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
min: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
default: undefined;
|
|
108
|
+
};
|
|
109
|
+
max: {
|
|
110
|
+
type: NumberConstructor;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
step: {
|
|
114
|
+
type: NumberConstructor;
|
|
115
|
+
default: number;
|
|
116
|
+
};
|
|
117
|
+
size: {
|
|
118
|
+
type: () => Size;
|
|
119
|
+
default: undefined;
|
|
120
|
+
};
|
|
121
|
+
validationState: {
|
|
122
|
+
type: () => ValidationState;
|
|
123
|
+
default: null;
|
|
124
|
+
};
|
|
125
|
+
validationMessage: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
validationRules: {
|
|
130
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
validateOn: {
|
|
134
|
+
type: () => "input" | "blur" | "change";
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
helpText: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
wrap: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
vertical: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
}>> & Readonly<{
|
|
150
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
151
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
onIncrement?: ((...args: any[]) => any) | undefined;
|
|
157
|
+
onDecrement?: ((...args: any[]) => any) | undefined;
|
|
158
|
+
}>, {
|
|
159
|
+
modelValue: number;
|
|
160
|
+
required: boolean;
|
|
161
|
+
label: string;
|
|
162
|
+
size: Size;
|
|
163
|
+
disabled: boolean;
|
|
164
|
+
vertical: boolean;
|
|
165
|
+
step: number;
|
|
166
|
+
max: number;
|
|
167
|
+
wrap: boolean;
|
|
168
|
+
readonly: boolean;
|
|
169
|
+
validationState: ValidationState;
|
|
170
|
+
validationMessage: string;
|
|
171
|
+
validationRules: ValidatorFunction | ValidationRule[] | undefined;
|
|
172
|
+
validateOn: "blur" | "change" | "input";
|
|
173
|
+
helpText: string;
|
|
174
|
+
min: number;
|
|
175
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
176
|
+
export default _default;
|