@rocketui/vue 0.2.71-beta → 0.2.72

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.
Files changed (57) hide show
  1. package/dist/rocket-ui-vue.d.ts +3337 -0
  2. package/dist/rocket-ui-vue.js +1388 -1681
  3. package/dist/rocket-ui-vue.umd.cjs +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +2 -3
  6. package/dist/types/components/Accordion/RAccordion.vue.d.ts +0 -70
  7. package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  8. package/dist/types/components/Alert/RAlert.vue.d.ts +0 -109
  9. package/dist/types/components/Alert/RAlert.vue.d.ts.map +0 -1
  10. package/dist/types/components/Avatar/RAvatar.vue.d.ts +0 -92
  11. package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  12. package/dist/types/components/Badge/RBadge.vue.d.ts +0 -143
  13. package/dist/types/components/Badge/RBadge.vue.d.ts.map +0 -1
  14. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  15. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  16. package/dist/types/components/Button/RButton.vue.d.ts +0 -193
  17. package/dist/types/components/Button/RButton.vue.d.ts.map +0 -1
  18. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +0 -164
  19. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  20. package/dist/types/components/Chips/RChip.vue.d.ts +0 -132
  21. package/dist/types/components/Chips/RChip.vue.d.ts.map +0 -1
  22. package/dist/types/components/Dropdown/RDropdown.vue.d.ts +0 -442
  23. package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  24. package/dist/types/components/Icon/RIcon.vue.d.ts +0 -59
  25. package/dist/types/components/Icon/RIcon.vue.d.ts.map +0 -1
  26. package/dist/types/components/ItemGroup/RItem.vue.d.ts +0 -65
  27. package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  28. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  29. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  30. package/dist/types/components/Label/RLabel.vue.d.ts +0 -68
  31. package/dist/types/components/Label/RLabel.vue.d.ts.map +0 -1
  32. package/dist/types/components/Modal/RModal.vue.d.ts +0 -208
  33. package/dist/types/components/Modal/RModal.vue.d.ts.map +0 -1
  34. package/dist/types/components/Pagination/RPagination.vue.d.ts +0 -110
  35. package/dist/types/components/Pagination/RPagination.vue.d.ts.map +0 -1
  36. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  37. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  38. package/dist/types/components/Radio/RRadio.vue.d.ts +0 -125
  39. package/dist/types/components/Radio/RRadio.vue.d.ts.map +0 -1
  40. package/dist/types/components/Sidebar/RSidebar.vue.d.ts +0 -53
  41. package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  42. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  43. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  44. package/dist/types/components/Switch/RSwitch.vue.d.ts +0 -214
  45. package/dist/types/components/Switch/RSwitch.vue.d.ts.map +0 -1
  46. package/dist/types/components/TabItem/RTabItem.vue.d.ts +0 -155
  47. package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  48. package/dist/types/components/Tabs/RTabs.vue.d.ts +0 -95
  49. package/dist/types/components/Tabs/RTabs.vue.d.ts.map +0 -1
  50. package/dist/types/components/TextArea/RTextArea.vue.d.ts +0 -171
  51. package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  52. package/dist/types/components/Textfield/RTextfield.vue.d.ts +0 -293
  53. package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  54. package/dist/types/components/Tooltip/RTooltip.vue.d.ts +0 -253
  55. package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  56. package/dist/types/lib/main.d.ts +0 -26
  57. package/dist/types/lib/main.d.ts.map +0 -1
@@ -1,95 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- import type { Tab } from './types';
3
- export interface IProps {
4
- /**
5
- * Tabs of the tabs
6
- * @type {Tab[]}
7
- * @default []
8
- * @example
9
- * <Tabs :tabs="[]" />
10
- */
11
- tabs?: Tab[];
12
- /**
13
- * Block state of the tabs
14
- * @type {boolean}
15
- * @default false
16
- * @example
17
- * <Tabs block />
18
- */
19
- block?: boolean;
20
- /**
21
- * Active tab of the tabs
22
- * @type {number | string}
23
- * @default tabs[0].id
24
- * @example
25
- * <Tabs v-model="activeTab" />
26
- */
27
- modelValue?: number | string;
28
- /**
29
- * Tile state of the tabs
30
- * @type {boolean}
31
- * @default false
32
- * @example
33
- * <Tabs tile />
34
- */
35
- tile?: boolean;
36
- /**
37
- * Scrollable state of the tabs
38
- * @type {boolean}
39
- * @default false
40
- * @example
41
- * <Tabs scrollable />
42
- */
43
- scrollable?: boolean;
44
- }
45
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
46
- tabs: () => never[];
47
- block: boolean;
48
- modelValue: string;
49
- tile: boolean;
50
- scrollable: boolean;
51
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
52
- "update:modelValue": (...args: any[]) => void;
53
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
54
- tabs: () => never[];
55
- block: boolean;
56
- modelValue: string;
57
- tile: boolean;
58
- scrollable: boolean;
59
- }>>> & {
60
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
- }, {
62
- block: boolean;
63
- modelValue: string | number;
64
- tile: boolean;
65
- tabs: Tab[];
66
- scrollable: boolean;
67
- }, {}>, {
68
- default?(_: {
69
- activeTab: string | number;
70
- }): any;
71
- }>;
72
- export default _default;
73
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
- declare type __VLS_TypePropsToRuntimeProps<T> = {
75
- [K in keyof T]-?: {} extends Pick<T, K> ? {
76
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
77
- } : {
78
- type: PropType<T[K]>;
79
- required: true;
80
- };
81
- };
82
- declare type __VLS_WithDefaults<P, D> = {
83
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
84
- default: D[K];
85
- }> : P[K];
86
- };
87
- declare type __VLS_Prettify<T> = {
88
- [K in keyof T]: T[K];
89
- } & {};
90
- declare type __VLS_WithTemplateSlots<T, S> = T & {
91
- new (): {
92
- $slots: S;
93
- };
94
- };
95
- //# sourceMappingURL=RTabs.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RTabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tabs/RTabs.vue"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IAEZ;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE5B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6ID,wBAAwG;AACxG,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;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,171 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export interface Props {
3
- /**
4
- * ID of the textarea
5
- * @type string
6
- * @default ''
7
- */
8
- id?: string;
9
- /**
10
- * Model value for v-model binding
11
- * @type string
12
- */
13
- modelValue?: string;
14
- /**
15
- * Label for the textarea
16
- * @type string
17
- * @default ''
18
- */
19
- label?: string;
20
- /**
21
- * Placeholder text
22
- * @type string
23
- * @default ''
24
- */
25
- placeholder?: string;
26
- /**
27
- * Error message
28
- * @type string
29
- * @default ''
30
- */
31
- errorMsg?: string;
32
- /**
33
- * Hint text
34
- * @type string
35
- * @default ''
36
- */
37
- hint?: string;
38
- /**
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
- * @type string
59
- * @default ''
60
- */
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;
78
- /**
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
87
- * @default false
88
- */
89
- hideDetails?: boolean;
90
- /**
91
- * Aria label for the textarea
92
- * @type string
93
- * @default ''
94
- */
95
- ariaLabel?: string;
96
- }
97
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
98
- id: string;
99
- modelValue: string;
100
- label: string;
101
- placeholder: string;
102
- errorMsg: string;
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;
112
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
113
- input: (...args: any[]) => void;
114
- "update:modelValue": (...args: any[]) => void;
115
- blur: (...args: any[]) => void;
116
- focus: (...args: any[]) => void;
117
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
118
- id: string;
119
- modelValue: string;
120
- label: string;
121
- placeholder: string;
122
- errorMsg: string;
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;
132
- }>>> & {
133
- onFocus?: ((...args: any[]) => any) | undefined;
134
- onBlur?: ((...args: any[]) => any) | undefined;
135
- onInput?: ((...args: any[]) => any) | undefined;
136
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
137
- }, {
138
- name: string;
139
- required: boolean;
140
- label: string;
141
- disabled: boolean;
142
- ariaLabel: string;
143
- id: string;
144
- modelValue: string;
145
- hint: string;
146
- errorMsg: string;
147
- hideDetails: boolean;
148
- placeholder: string;
149
- readonly: boolean;
150
- rows: number;
151
- autoResize: boolean;
152
- }, {}>;
153
- export default _default;
154
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
155
- declare type __VLS_TypePropsToRuntimeProps<T> = {
156
- [K in keyof T]-?: {} extends Pick<T, K> ? {
157
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
158
- } : {
159
- type: PropType<T[K]>;
160
- required: true;
161
- };
162
- };
163
- declare type __VLS_WithDefaults<P, D> = {
164
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
165
- default: D[K];
166
- }> : P[K];
167
- };
168
- declare type __VLS_Prettify<T> = {
169
- [K in keyof T]: T[K];
170
- } & {};
171
- //# sourceMappingURL=RTextArea.vue.d.ts.map
@@ -1 +0,0 @@
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,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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"}
@@ -1,293 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
2
- export interface Props {
3
- /**
4
- * id of the textfield
5
- * @type HTMLAttributes['id']
6
- * @default ''
7
- * @example
8
- * <Textfield id="textfield" />
9
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
- */
11
- id: HTMLAttributes['id'];
12
- /**
13
- * Input type
14
- * @type 'text' | 'password' | 'email' | 'number' | 'tel' | 'url'
15
- * @default 'text'
16
- * @example
17
- * <Textfield type="password" />
18
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
19
- */
20
- type: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
21
- /**
22
- * Input value
23
- * @type InputHTMLAttributes['value'];
24
- * @default ''
25
- * @example
26
- * <Textfield modelValue="Hello" />
27
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
28
- */
29
- modelValue?: InputHTMLAttributes['value'];
30
- /**
31
- * label of the textfield
32
- * @type LabelHTMLAttributes['label']
33
- * @default ''
34
- * @example
35
- * <Textfield label="Textfield" />
36
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
37
- */
38
- label?: LabelHTMLAttributes['for'];
39
- /**
40
- * Placeholder text
41
- * @type InputHTMLAttributes['placeholder'];
42
- * @default ''
43
- * @example
44
- * <Textfield placeholder="Placeholder" />
45
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
46
- */
47
- placeholder?: InputHTMLAttributes['placeholder'];
48
- /**
49
- * Error message
50
- * @type string
51
- * @default ''
52
- * @example
53
- * <Textfield errorMsg="This is an error" />
54
- */
55
- errorMsg?: string;
56
- /**
57
- * Hint text
58
- * @type string
59
- * @default ''
60
- * @example
61
- * <Textfield hint="This is a hint" />
62
- */
63
- hint?: string;
64
- /**
65
- * Icon to prepend
66
- * @type string
67
- * @default ''
68
- * @example
69
- * <Textfield prependIcon="mdiLock" />
70
- */
71
- prependIcon?: string;
72
- /**
73
- * Icon to append
74
- * @type string
75
- * @default ''
76
- * @example
77
- * <Textfield appendIcon="mdiEyeOffOutline" />
78
- */
79
- appendIcon?: string;
80
- /**
81
- * Input disabled state
82
- * @type InputHTMLAttributes['disabled'] | boolean
83
- * @default false
84
- * @example
85
- * <Textfield disabled="true" />
86
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled
87
- */
88
- disabled?: boolean;
89
- /**
90
- * Input loading state
91
- * @type boolean
92
- * @default false
93
- * @example
94
- * <Textfield loading="true" />
95
- */
96
- loading?: boolean;
97
- /**
98
- * Input clearable state
99
- * @type boolean
100
- * @default false
101
- * @example
102
- * <Textfield clearable="true" />
103
- */
104
- clearable?: boolean;
105
- /**
106
- * Input number min value
107
- * @type InputHTMLAttributes['min']
108
- * @default ''
109
- * @example
110
- * <Textfield min="0" />
111
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
112
- */
113
- min?: InputHTMLAttributes['min'];
114
- /**
115
- * Input number max value
116
- * @type InputHTMLAttributes['max']
117
- * @default ''
118
- * @example
119
- * <Textfield max="10" />
120
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
121
- */
122
- max?: InputHTMLAttributes['max'];
123
- /**
124
- * Hide details state of textfield details
125
- * @type {boolean}
126
- * @default false
127
- * @example
128
- * <Textfield hideDetails />
129
- */
130
- hideDetails?: boolean;
131
- /**
132
- * Input role
133
- * @type {string}
134
- * @default ''
135
- * @example
136
- * <Textfield role="search" />
137
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#role
138
- */
139
- role?: string;
140
- /**
141
- * Input readonly state
142
- * @type {boolean}
143
- * @default false
144
- * @example
145
- * <Textfield readonly />
146
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
147
- */
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;
181
- }
182
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
183
- id: string;
184
- type: string;
185
- modelValue: string;
186
- label: string;
187
- placeholder: string;
188
- errorMsg: string;
189
- hint: string;
190
- prependIcon: string;
191
- appendIcon: string;
192
- iconColor: string;
193
- disabled: boolean;
194
- loading: boolean;
195
- clearable: boolean;
196
- hideDetails: boolean;
197
- role: string;
198
- readonly: boolean;
199
- ariaLabel: string;
200
- required: boolean;
201
- autocomplete: string;
202
- name: string;
203
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
204
- input: (...args: any[]) => void;
205
- "update:modelValue": (...args: any[]) => void;
206
- blur: (...args: any[]) => void;
207
- focus: (...args: any[]) => void;
208
- "click:icon": (...args: any[]) => void;
209
- "click:clear": (...args: any[]) => void;
210
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
211
- id: string;
212
- type: string;
213
- modelValue: string;
214
- label: string;
215
- placeholder: string;
216
- errorMsg: string;
217
- hint: string;
218
- prependIcon: string;
219
- appendIcon: string;
220
- iconColor: string;
221
- disabled: boolean;
222
- loading: boolean;
223
- clearable: boolean;
224
- hideDetails: boolean;
225
- role: string;
226
- readonly: boolean;
227
- ariaLabel: string;
228
- required: boolean;
229
- autocomplete: string;
230
- name: string;
231
- }>>> & {
232
- onFocus?: ((...args: any[]) => any) | undefined;
233
- onBlur?: ((...args: any[]) => any) | undefined;
234
- onInput?: ((...args: any[]) => any) | undefined;
235
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
236
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
237
- "onClick:clear"?: ((...args: any[]) => any) | undefined;
238
- }, {
239
- name: string;
240
- required: boolean;
241
- type: "number" | "text" | "email" | "password" | "tel" | "url";
242
- label: string;
243
- disabled: boolean;
244
- loading: boolean;
245
- prependIcon: string;
246
- appendIcon: string;
247
- ariaLabel: string;
248
- role: string;
249
- id: string | undefined;
250
- modelValue: any;
251
- hint: string;
252
- errorMsg: string;
253
- hideDetails: boolean;
254
- clearable: boolean;
255
- placeholder: string;
256
- autocomplete: string;
257
- readonly: boolean;
258
- }, {}>, {
259
- prepend?(_: {
260
- disabled: boolean;
261
- error: boolean;
262
- loading: boolean;
263
- }): any;
264
- append?(_: {
265
- disabled: boolean;
266
- error: boolean;
267
- loading: boolean;
268
- }): any;
269
- }>;
270
- export default _default;
271
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
272
- declare type __VLS_TypePropsToRuntimeProps<T> = {
273
- [K in keyof T]-?: {} extends Pick<T, K> ? {
274
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
275
- } : {
276
- type: PropType<T[K]>;
277
- required: true;
278
- };
279
- };
280
- declare type __VLS_WithDefaults<P, D> = {
281
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
282
- default: D[K];
283
- }> : P[K];
284
- };
285
- declare type __VLS_Prettify<T> = {
286
- [K in keyof T]: T[K];
287
- } & {};
288
- declare type __VLS_WithTemplateSlots<T, S> = T & {
289
- new (): {
290
- $slots: S;
291
- };
292
- };
293
- //# sourceMappingURL=RTextfield.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RTextfield.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Textfield/RTextfield.vue"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAKzB,MAAM,KAAK,CAAA;AACZ,OAAO,iBAAiB,CAAA;AAKxB,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IACxB;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAA;IAE9D;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAA;IAEzC;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAElC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAA;IAEhD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA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