@rocketui/vue 0.2.70 → 0.2.71-beta
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/rocket-ui-vue.js +1682 -1387
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/Button/RButton.vue.d.ts +38 -0
- package/dist/types/components/Button/RButton.vue.d.ts.map +1 -1
- package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +44 -0
- package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/RDropdown.vue.d.ts +54 -27
- package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +1 -1
- package/dist/types/components/Modal/RModal.vue.d.ts +27 -2
- package/dist/types/components/Modal/RModal.vue.d.ts.map +1 -1
- package/dist/types/components/Radio/RRadio.vue.d.ts +81 -22
- package/dist/types/components/Radio/RRadio.vue.d.ts.map +1 -1
- package/dist/types/components/Switch/RSwitch.vue.d.ts +83 -4
- package/dist/types/components/Switch/RSwitch.vue.d.ts.map +1 -1
- package/dist/types/components/TextArea/RTextArea.vue.d.ts +106 -55
- package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +1 -1
- package/dist/types/components/Textfield/RTextfield.vue.d.ts +47 -3
- package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -104,6 +104,24 @@ export interface ModalProps {
|
|
|
104
104
|
* <Modal :modelValue="true" :allowBodyScroll="true" />
|
|
105
105
|
*/
|
|
106
106
|
allowBodyScroll?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* ID of the modal for accessibility
|
|
109
|
+
* @type string
|
|
110
|
+
* @default generated unique id
|
|
111
|
+
*/
|
|
112
|
+
id?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Label for the modal (for screen readers)
|
|
115
|
+
* @type string
|
|
116
|
+
* @default ''
|
|
117
|
+
*/
|
|
118
|
+
ariaLabel?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Description for the modal (for screen readers)
|
|
121
|
+
* @type string
|
|
122
|
+
* @default ''
|
|
123
|
+
*/
|
|
124
|
+
ariaDescription?: string;
|
|
107
125
|
}
|
|
108
126
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
|
|
109
127
|
modelValue: boolean;
|
|
@@ -119,6 +137,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
119
137
|
overlayClass: string;
|
|
120
138
|
style: string;
|
|
121
139
|
allowBodyScroll: boolean;
|
|
140
|
+
id: undefined;
|
|
141
|
+
ariaLabel: string;
|
|
142
|
+
ariaDescription: string;
|
|
122
143
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
123
144
|
"update:modelValue": (...args: any[]) => void;
|
|
124
145
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
|
|
@@ -135,6 +156,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
135
156
|
overlayClass: string;
|
|
136
157
|
style: string;
|
|
137
158
|
allowBodyScroll: boolean;
|
|
159
|
+
id: undefined;
|
|
160
|
+
ariaLabel: string;
|
|
161
|
+
ariaDescription: string;
|
|
138
162
|
}>>> & {
|
|
139
163
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
140
164
|
}, {
|
|
@@ -146,14 +170,15 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
146
170
|
description: string;
|
|
147
171
|
block: boolean;
|
|
148
172
|
icon: string;
|
|
173
|
+
ariaLabel: string;
|
|
174
|
+
id: string;
|
|
149
175
|
modelValue: boolean;
|
|
150
176
|
outsideClick: boolean;
|
|
151
177
|
clearContent: boolean;
|
|
152
178
|
overlayClass: string | string[];
|
|
153
179
|
allowBodyScroll: boolean;
|
|
180
|
+
ariaDescription: string;
|
|
154
181
|
}, {}>, {
|
|
155
|
-
wrapper?(_: {}): any;
|
|
156
|
-
header?(_: {}): any;
|
|
157
182
|
default?(_: {}): any;
|
|
158
183
|
actions?(_: {}): any;
|
|
159
184
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/RModal.vue"],"names":[],"mappings":"AAGA,OAAO,aAAa,CAAA;AAGpB,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,UAAU,EAAE,OAAO,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEhC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"RModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/RModal.vue"],"names":[],"mappings":"AAGA,OAAO,aAAa,CAAA;A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AE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,49 +1,108 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
export interface Props {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
/**
|
|
4
|
+
* ID of the radio button
|
|
5
|
+
* @type string
|
|
6
|
+
* @default ''
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Value of the radio button
|
|
11
|
+
* @type any
|
|
12
|
+
* @required
|
|
13
|
+
*/
|
|
14
|
+
value: any;
|
|
15
|
+
/**
|
|
16
|
+
* Model value for v-model binding
|
|
17
|
+
* @type any
|
|
18
|
+
*/
|
|
19
|
+
modelValue?: any;
|
|
20
|
+
/**
|
|
21
|
+
* Label for the radio button
|
|
22
|
+
* @type string
|
|
23
|
+
* @default ''
|
|
24
|
+
*/
|
|
7
25
|
label?: string;
|
|
8
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Whether the radio button is disabled
|
|
28
|
+
* @type boolean
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the radio button is required
|
|
34
|
+
* @type boolean
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
required?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Name attribute for the radio button
|
|
40
|
+
* @type string
|
|
41
|
+
* @default ''
|
|
42
|
+
*/
|
|
43
|
+
name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Error message
|
|
46
|
+
* @type string
|
|
47
|
+
* @default ''
|
|
48
|
+
*/
|
|
9
49
|
errorMsg?: string;
|
|
10
|
-
|
|
11
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Hint text
|
|
52
|
+
* @type string
|
|
53
|
+
* @default ''
|
|
54
|
+
*/
|
|
55
|
+
hint?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Hide details (error and hint messages)
|
|
58
|
+
* @type boolean
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
hideDetails?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Aria label for the radio button
|
|
64
|
+
* @type string
|
|
65
|
+
* @default ''
|
|
66
|
+
*/
|
|
67
|
+
ariaLabel?: string;
|
|
12
68
|
}
|
|
13
69
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
70
|
id: string;
|
|
15
|
-
modelValue:
|
|
16
|
-
name: string;
|
|
17
|
-
disabled: boolean;
|
|
71
|
+
modelValue: undefined;
|
|
18
72
|
label: string;
|
|
19
|
-
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
required: boolean;
|
|
75
|
+
name: string;
|
|
20
76
|
errorMsg: string;
|
|
21
|
-
|
|
22
|
-
|
|
77
|
+
hint: string;
|
|
78
|
+
hideDetails: boolean;
|
|
79
|
+
ariaLabel: string;
|
|
23
80
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
81
|
"update:modelValue": (...args: any[]) => void;
|
|
25
82
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
26
83
|
id: string;
|
|
27
|
-
modelValue:
|
|
28
|
-
name: string;
|
|
29
|
-
disabled: boolean;
|
|
84
|
+
modelValue: undefined;
|
|
30
85
|
label: string;
|
|
31
|
-
|
|
86
|
+
disabled: boolean;
|
|
87
|
+
required: boolean;
|
|
88
|
+
name: string;
|
|
32
89
|
errorMsg: string;
|
|
33
|
-
|
|
34
|
-
|
|
90
|
+
hint: string;
|
|
91
|
+
hideDetails: boolean;
|
|
92
|
+
ariaLabel: string;
|
|
35
93
|
}>>> & {
|
|
36
94
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
95
|
}, {
|
|
38
96
|
name: string;
|
|
97
|
+
required: boolean;
|
|
39
98
|
label: string;
|
|
40
|
-
title: string;
|
|
41
99
|
disabled: boolean;
|
|
100
|
+
ariaLabel: string;
|
|
42
101
|
id: string;
|
|
43
|
-
modelValue:
|
|
102
|
+
modelValue: any;
|
|
44
103
|
hint: string;
|
|
45
104
|
errorMsg: string;
|
|
46
|
-
|
|
105
|
+
hideDetails: boolean;
|
|
47
106
|
}, {}>;
|
|
48
107
|
export default _default;
|
|
49
108
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RRadio.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/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AQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -11,13 +11,12 @@ export interface Props {
|
|
|
11
11
|
id: HTMLAttributes['id'];
|
|
12
12
|
/**
|
|
13
13
|
* Input checked state
|
|
14
|
-
* @type
|
|
14
|
+
* @type boolean
|
|
15
15
|
* @default false
|
|
16
16
|
* @example
|
|
17
17
|
* <Checkbox modelValue="true" />
|
|
18
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
|
|
19
18
|
*/
|
|
20
|
-
modelValue?:
|
|
19
|
+
modelValue?: boolean;
|
|
21
20
|
/**
|
|
22
21
|
* Input disabled state
|
|
23
22
|
* @type InputHTMLAttributes['disabled']
|
|
@@ -84,6 +83,62 @@ export interface Props {
|
|
|
84
83
|
* <Checkbox name="checkbox" />
|
|
85
84
|
*/
|
|
86
85
|
name?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Whether the switch is required
|
|
88
|
+
* @type boolean
|
|
89
|
+
* @default false
|
|
90
|
+
* @example
|
|
91
|
+
* <Switch required />
|
|
92
|
+
*/
|
|
93
|
+
required?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Aria label for the switch
|
|
96
|
+
* @type string
|
|
97
|
+
* @default ''
|
|
98
|
+
* @example
|
|
99
|
+
* <Switch aria-label="Enable notifications" />
|
|
100
|
+
*/
|
|
101
|
+
ariaLabel?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Text to display when switch is on
|
|
104
|
+
* @type string
|
|
105
|
+
* @default ''
|
|
106
|
+
* @example
|
|
107
|
+
* <Switch onText="Enabled" />
|
|
108
|
+
*/
|
|
109
|
+
onText?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Text to display when switch is off
|
|
112
|
+
* @type string
|
|
113
|
+
* @default ''
|
|
114
|
+
* @example
|
|
115
|
+
* <Switch offText="Disabled" />
|
|
116
|
+
*/
|
|
117
|
+
offText?: string;
|
|
118
|
+
/**
|
|
119
|
+
* ID of the element this switch controls
|
|
120
|
+
* @type string
|
|
121
|
+
* @default ''
|
|
122
|
+
* @example
|
|
123
|
+
* <Switch aria-controls="content-1" />
|
|
124
|
+
*/
|
|
125
|
+
ariaControls?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Whether the controlled element is expanded
|
|
128
|
+
* @type boolean
|
|
129
|
+
* @default undefined
|
|
130
|
+
* @example
|
|
131
|
+
* <Switch :aria-expanded="isExpanded" />
|
|
132
|
+
*/
|
|
133
|
+
ariaExpanded?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Whether to use aria-pressed instead of aria-checked
|
|
136
|
+
* @type boolean
|
|
137
|
+
* @default false
|
|
138
|
+
* @example
|
|
139
|
+
* <Switch use-pressed-state />
|
|
140
|
+
*/
|
|
141
|
+
usePressedState?: boolean;
|
|
87
142
|
}
|
|
88
143
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
89
144
|
id: string;
|
|
@@ -93,6 +148,14 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
93
148
|
label: string;
|
|
94
149
|
hint: string;
|
|
95
150
|
errorMsg: string;
|
|
151
|
+
required: boolean;
|
|
152
|
+
ariaLabel: string;
|
|
153
|
+
onText: string;
|
|
154
|
+
offText: string;
|
|
155
|
+
ariaControls: string;
|
|
156
|
+
ariaExpanded: undefined;
|
|
157
|
+
usePressedState: boolean;
|
|
158
|
+
hideDetails: boolean;
|
|
96
159
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
97
160
|
"update:modelValue": (...args: any[]) => void;
|
|
98
161
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
@@ -103,16 +166,32 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
103
166
|
label: string;
|
|
104
167
|
hint: string;
|
|
105
168
|
errorMsg: string;
|
|
169
|
+
required: boolean;
|
|
170
|
+
ariaLabel: string;
|
|
171
|
+
onText: string;
|
|
172
|
+
offText: string;
|
|
173
|
+
ariaControls: string;
|
|
174
|
+
ariaExpanded: undefined;
|
|
175
|
+
usePressedState: boolean;
|
|
176
|
+
hideDetails: boolean;
|
|
106
177
|
}>>> & {
|
|
107
178
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
108
179
|
}, {
|
|
109
180
|
size: "small" | "medium" | "large";
|
|
181
|
+
required: boolean;
|
|
110
182
|
label: string;
|
|
111
183
|
disabled: boolean | "true" | "false";
|
|
184
|
+
ariaLabel: string;
|
|
185
|
+
ariaExpanded: boolean;
|
|
186
|
+
ariaControls: string;
|
|
112
187
|
id: string | undefined;
|
|
113
|
-
modelValue:
|
|
188
|
+
modelValue: boolean;
|
|
114
189
|
hint: string;
|
|
115
190
|
errorMsg: string;
|
|
191
|
+
hideDetails: boolean;
|
|
192
|
+
onText: string;
|
|
193
|
+
offText: string;
|
|
194
|
+
usePressedState: boolean;
|
|
116
195
|
}, {}>;
|
|
117
196
|
export default _default;
|
|
118
197
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Switch/RSwitch.vue"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAKzB,MAAM,KAAK,CAAA;AACZ,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB
|
|
1
|
+
{"version":3,"file":"RSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Switch/RSwitch.vue"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAKzB,MAAM,KAAK,CAAA;AACZ,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAA;IAE1C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAElC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAEnC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,SAAS,CAAC,E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C,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,103 +1,154 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType
|
|
2
|
-
export interface
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface Props {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* @type
|
|
4
|
+
* ID of the textarea
|
|
5
|
+
* @type string
|
|
6
6
|
* @default ''
|
|
7
|
-
* @example
|
|
8
|
-
* <TextArea id="textarea" />
|
|
9
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
10
7
|
*/
|
|
11
|
-
id
|
|
8
|
+
id?: string;
|
|
12
9
|
/**
|
|
13
|
-
*
|
|
14
|
-
* @type
|
|
15
|
-
* @default ''
|
|
16
|
-
* @example
|
|
17
|
-
* <TextArea modelValue="Hello" />
|
|
18
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
|
|
10
|
+
* Model value for v-model binding
|
|
11
|
+
* @type string
|
|
19
12
|
*/
|
|
20
|
-
modelValue?:
|
|
13
|
+
modelValue?: string;
|
|
21
14
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @type
|
|
15
|
+
* Label for the textarea
|
|
16
|
+
* @type string
|
|
24
17
|
* @default ''
|
|
25
|
-
* @example
|
|
26
|
-
* <TextArea label="TextArea" />
|
|
27
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
28
18
|
*/
|
|
29
|
-
label?:
|
|
19
|
+
label?: string;
|
|
30
20
|
/**
|
|
31
21
|
* Placeholder text
|
|
32
|
-
* @type
|
|
22
|
+
* @type string
|
|
33
23
|
* @default ''
|
|
34
|
-
* @example
|
|
35
|
-
* <TextArea placeholder="Placeholder" />
|
|
36
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
37
24
|
*/
|
|
38
|
-
placeholder?:
|
|
25
|
+
placeholder?: string;
|
|
39
26
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @type
|
|
42
|
-
* @default
|
|
43
|
-
* @example
|
|
44
|
-
* <TextArea disabled />
|
|
45
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled
|
|
27
|
+
* Error message
|
|
28
|
+
* @type string
|
|
29
|
+
* @default ''
|
|
46
30
|
*/
|
|
47
|
-
|
|
31
|
+
errorMsg?: string;
|
|
48
32
|
/**
|
|
49
33
|
* Hint text
|
|
50
34
|
* @type string
|
|
51
|
-
* @default '
|
|
52
|
-
* @example
|
|
53
|
-
* <TextArea hint="This is a hint" />
|
|
35
|
+
* @default ''
|
|
54
36
|
*/
|
|
55
37
|
hint?: string;
|
|
56
38
|
/**
|
|
57
|
-
*
|
|
39
|
+
* Whether the textarea is disabled
|
|
40
|
+
* @type boolean
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the textarea is readonly
|
|
46
|
+
* @type boolean
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
readonly?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the textarea is required
|
|
52
|
+
* @type boolean
|
|
53
|
+
* @default false
|
|
54
|
+
*/
|
|
55
|
+
required?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Name attribute for the textarea
|
|
58
58
|
* @type string
|
|
59
59
|
* @default ''
|
|
60
|
-
* @example
|
|
61
|
-
* <TextArea errorMsg="This is an error" />
|
|
62
60
|
*/
|
|
63
|
-
|
|
61
|
+
name?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Maximum length of the textarea
|
|
64
|
+
* @type number
|
|
65
|
+
*/
|
|
66
|
+
maxLength?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Minimum length of the textarea
|
|
69
|
+
* @type number
|
|
70
|
+
*/
|
|
71
|
+
minLength?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Number of rows
|
|
74
|
+
* @type number
|
|
75
|
+
* @default 3
|
|
76
|
+
*/
|
|
77
|
+
rows?: number;
|
|
64
78
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @type
|
|
79
|
+
* Whether to auto resize the textarea
|
|
80
|
+
* @type boolean
|
|
81
|
+
* @default false
|
|
82
|
+
*/
|
|
83
|
+
autoResize?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Hide details (error and hint messages)
|
|
86
|
+
* @type boolean
|
|
67
87
|
* @default false
|
|
68
|
-
* @example
|
|
69
|
-
* <TextArea hideDetails />
|
|
70
88
|
*/
|
|
71
89
|
hideDetails?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Aria label for the textarea
|
|
92
|
+
* @type string
|
|
93
|
+
* @default ''
|
|
94
|
+
*/
|
|
95
|
+
ariaLabel?: string;
|
|
72
96
|
}
|
|
73
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
97
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
74
98
|
id: string;
|
|
75
|
-
errorMsg: string;
|
|
76
|
-
disabled: boolean;
|
|
77
|
-
placeholder: string;
|
|
78
99
|
modelValue: string;
|
|
79
100
|
label: string;
|
|
101
|
+
placeholder: string;
|
|
102
|
+
errorMsg: string;
|
|
80
103
|
hint: string;
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
readonly: boolean;
|
|
106
|
+
required: boolean;
|
|
107
|
+
name: string;
|
|
108
|
+
rows: number;
|
|
109
|
+
autoResize: boolean;
|
|
110
|
+
hideDetails: boolean;
|
|
111
|
+
ariaLabel: string;
|
|
81
112
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
113
|
+
input: (...args: any[]) => void;
|
|
82
114
|
"update:modelValue": (...args: any[]) => void;
|
|
83
|
-
|
|
115
|
+
blur: (...args: any[]) => void;
|
|
116
|
+
focus: (...args: any[]) => void;
|
|
117
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
84
118
|
id: string;
|
|
85
|
-
errorMsg: string;
|
|
86
|
-
disabled: boolean;
|
|
87
|
-
placeholder: string;
|
|
88
119
|
modelValue: string;
|
|
89
120
|
label: string;
|
|
121
|
+
placeholder: string;
|
|
122
|
+
errorMsg: string;
|
|
90
123
|
hint: string;
|
|
124
|
+
disabled: boolean;
|
|
125
|
+
readonly: boolean;
|
|
126
|
+
required: boolean;
|
|
127
|
+
name: string;
|
|
128
|
+
rows: number;
|
|
129
|
+
autoResize: boolean;
|
|
130
|
+
hideDetails: boolean;
|
|
131
|
+
ariaLabel: string;
|
|
91
132
|
}>>> & {
|
|
133
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
92
136
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
93
137
|
}, {
|
|
138
|
+
name: string;
|
|
139
|
+
required: boolean;
|
|
94
140
|
label: string;
|
|
95
|
-
disabled: boolean
|
|
96
|
-
|
|
97
|
-
|
|
141
|
+
disabled: boolean;
|
|
142
|
+
ariaLabel: string;
|
|
143
|
+
id: string;
|
|
144
|
+
modelValue: string;
|
|
98
145
|
hint: string;
|
|
99
146
|
errorMsg: string;
|
|
147
|
+
hideDetails: boolean;
|
|
100
148
|
placeholder: string;
|
|
149
|
+
readonly: boolean;
|
|
150
|
+
rows: number;
|
|
151
|
+
autoResize: boolean;
|
|
101
152
|
}, {}>;
|
|
102
153
|
export default _default;
|
|
103
154
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RTextArea.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextArea/RTextArea.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RTextArea.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextArea/RTextArea.vue"],"names":[],"mappings":"AAGA,OAAO,gBAAgB,CAAA;AAIvB,MAAM,WAAW,KAAK;IACpB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+ND,wBAOG;AACH,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -146,6 +146,38 @@ export interface Props {
|
|
|
146
146
|
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
|
|
147
147
|
*/
|
|
148
148
|
readonly?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Aria label for the input
|
|
151
|
+
* @type string
|
|
152
|
+
* @default ''
|
|
153
|
+
* @example
|
|
154
|
+
* <Textfield aria-label="Search" />
|
|
155
|
+
*/
|
|
156
|
+
ariaLabel?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Whether the input is required
|
|
159
|
+
* @type boolean
|
|
160
|
+
* @default false
|
|
161
|
+
* @example
|
|
162
|
+
* <Textfield required />
|
|
163
|
+
*/
|
|
164
|
+
required?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Input autocomplete attribute
|
|
167
|
+
* @type string
|
|
168
|
+
* @default 'off'
|
|
169
|
+
* @example
|
|
170
|
+
* <Textfield autocomplete="email" />
|
|
171
|
+
*/
|
|
172
|
+
autocomplete?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Input name attribute
|
|
175
|
+
* @type string
|
|
176
|
+
* @default ''
|
|
177
|
+
* @example
|
|
178
|
+
* <Textfield name="email" />
|
|
179
|
+
*/
|
|
180
|
+
name?: string;
|
|
149
181
|
}
|
|
150
182
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
151
183
|
id: string;
|
|
@@ -164,6 +196,10 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
164
196
|
hideDetails: boolean;
|
|
165
197
|
role: string;
|
|
166
198
|
readonly: boolean;
|
|
199
|
+
ariaLabel: string;
|
|
200
|
+
required: boolean;
|
|
201
|
+
autocomplete: string;
|
|
202
|
+
name: string;
|
|
167
203
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
168
204
|
input: (...args: any[]) => void;
|
|
169
205
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -188,6 +224,10 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
188
224
|
hideDetails: boolean;
|
|
189
225
|
role: string;
|
|
190
226
|
readonly: boolean;
|
|
227
|
+
ariaLabel: string;
|
|
228
|
+
required: boolean;
|
|
229
|
+
autocomplete: string;
|
|
230
|
+
name: string;
|
|
191
231
|
}>>> & {
|
|
192
232
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
193
233
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
@@ -196,30 +236,34 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
196
236
|
"onClick:icon"?: ((...args: any[]) => any) | undefined;
|
|
197
237
|
"onClick:clear"?: ((...args: any[]) => any) | undefined;
|
|
198
238
|
}, {
|
|
239
|
+
name: string;
|
|
240
|
+
required: boolean;
|
|
199
241
|
type: "number" | "text" | "email" | "password" | "tel" | "url";
|
|
200
242
|
label: string;
|
|
201
243
|
disabled: boolean;
|
|
202
244
|
loading: boolean;
|
|
203
245
|
prependIcon: string;
|
|
204
246
|
appendIcon: string;
|
|
247
|
+
ariaLabel: string;
|
|
248
|
+
role: string;
|
|
205
249
|
id: string | undefined;
|
|
206
250
|
modelValue: any;
|
|
207
251
|
hint: string;
|
|
208
252
|
errorMsg: string;
|
|
209
253
|
hideDetails: boolean;
|
|
210
254
|
clearable: boolean;
|
|
211
|
-
role: string;
|
|
212
255
|
placeholder: string;
|
|
256
|
+
autocomplete: string;
|
|
213
257
|
readonly: boolean;
|
|
214
258
|
}, {}>, {
|
|
215
259
|
prepend?(_: {
|
|
216
260
|
disabled: boolean;
|
|
217
|
-
error:
|
|
261
|
+
error: boolean;
|
|
218
262
|
loading: boolean;
|
|
219
263
|
}): any;
|
|
220
264
|
append?(_: {
|
|
221
265
|
disabled: boolean;
|
|
222
|
-
error:
|
|
266
|
+
error: boolean;
|
|
223
267
|
loading: boolean;
|
|
224
268
|
}): any;
|
|
225
269
|
}>;
|