@rocketui/vue 0.0.62 → 0.0.64
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 +2 -0
- package/dist/rocket-ui-vue.d.ts +1854 -0
- package/dist/rocket-ui-vue.js +78 -74
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/package.json +7 -7
- package/dist/src/components/Accordion/RAccordion.d.ts +0 -41
- package/dist/src/components/Accordion/RAccordion.d.ts.map +0 -1
- package/dist/src/components/Alert/RAlert.d.ts +0 -125
- package/dist/src/components/Alert/RAlert.d.ts.map +0 -1
- package/dist/src/components/Avatar/RAvatar.d.ts +0 -110
- package/dist/src/components/Avatar/RAvatar.d.ts.map +0 -1
- package/dist/src/components/Badge/RBadge.d.ts +0 -119
- package/dist/src/components/Badge/RBadge.d.ts.map +0 -1
- package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts +0 -40
- package/dist/src/components/Breadcrumb/RBreadcrumb.d.ts.map +0 -1
- package/dist/src/components/Button/RButton.d.ts +0 -206
- package/dist/src/components/Button/RButton.d.ts.map +0 -1
- package/dist/src/components/Checkbox/RCheckbox.d.ts +0 -137
- package/dist/src/components/Checkbox/RCheckbox.d.ts.map +0 -1
- package/dist/src/components/Chips/RChip.d.ts +0 -140
- package/dist/src/components/Chips/RChip.d.ts.map +0 -1
- package/dist/src/components/Dropdown/RDropdown.d.ts +0 -228
- package/dist/src/components/Dropdown/RDropdown.d.ts.map +0 -1
- package/dist/src/components/Icon/RIcon.d.ts +0 -62
- package/dist/src/components/Icon/RIcon.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItem.d.ts +0 -75
- package/dist/src/components/ItemGroup/RItem.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItemGroup.d.ts +0 -145
- package/dist/src/components/ItemGroup/RItemGroup.d.ts.map +0 -1
- package/dist/src/components/Label/RLabel.d.ts +0 -75
- package/dist/src/components/Label/RLabel.d.ts.map +0 -1
- package/dist/src/components/Modal/RModal.d.ts +0 -145
- package/dist/src/components/Modal/RModal.d.ts.map +0 -1
- package/dist/src/components/Pagination/RPagination.d.ts +0 -84
- package/dist/src/components/Pagination/RPagination.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/RProgressbar.d.ts +0 -30
- package/dist/src/components/ProgressBar/RProgressbar.d.ts.map +0 -1
- package/dist/src/components/Shared/Enums.d.ts +0 -2
- package/dist/src/components/Shared/Enums.d.ts.map +0 -1
- package/dist/src/components/Sidebar/RSidebar.d.ts +0 -53
- package/dist/src/components/Sidebar/RSidebar.d.ts.map +0 -1
- package/dist/src/components/Snackbar/RSnackbar.d.ts +0 -138
- package/dist/src/components/Snackbar/RSnackbar.d.ts.map +0 -1
- package/dist/src/components/Switch/RSwitch.d.ts +0 -136
- package/dist/src/components/Switch/RSwitch.d.ts.map +0 -1
- package/dist/src/components/TabItem/RTabItem.d.ts +0 -189
- package/dist/src/components/TabItem/RTabItem.d.ts.map +0 -1
- package/dist/src/components/TabItem/common.d.ts +0 -7
- package/dist/src/components/TabItem/common.d.ts.map +0 -1
- package/dist/src/components/Tabs/RTabs.d.ts +0 -87
- package/dist/src/components/Tabs/RTabs.d.ts.map +0 -1
- package/dist/src/components/Tabs/types.d.ts +0 -11
- package/dist/src/components/Tabs/types.d.ts.map +0 -1
- package/dist/src/components/TextArea/RTextArea.d.ts +0 -137
- package/dist/src/components/TextArea/RTextArea.d.ts.map +0 -1
- package/dist/src/components/Textfield/RTextfield.d.ts +0 -268
- package/dist/src/components/Textfield/RTextfield.d.ts.map +0 -1
- package/dist/src/components/Tooltip/RTooltip.d.ts +0 -278
- package/dist/src/components/Tooltip/RTooltip.d.ts.map +0 -1
- package/dist/src/components/Tooltip/common.d.ts +0 -24
- package/dist/src/components/Tooltip/common.d.ts.map +0 -1
- package/dist/src/directives/index.d.ts +0 -5
- package/dist/src/directives/index.d.ts.map +0 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/main.d.ts.map +0 -1
- package/dist/src/shims.d.ts +0 -9
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { TabItemVariants, type TabItemVariant } from './common';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
/**
|
|
4
|
-
* Id of the tab item
|
|
5
|
-
* @type string | number
|
|
6
|
-
* @default ''
|
|
7
|
-
* @example
|
|
8
|
-
* <TabItem id="1" />
|
|
9
|
-
*/
|
|
10
|
-
id: string | number;
|
|
11
|
-
/**
|
|
12
|
-
* Variant of the tab item
|
|
13
|
-
* @type TabItemVariant
|
|
14
|
-
* @default TabItemVariants.DEFAULT
|
|
15
|
-
* @example
|
|
16
|
-
* <TabItem variant="default" />
|
|
17
|
-
*/
|
|
18
|
-
variant?: TabItemVariant;
|
|
19
|
-
/**
|
|
20
|
-
* Label of the tab item
|
|
21
|
-
* @type string
|
|
22
|
-
* @default ''
|
|
23
|
-
* @example
|
|
24
|
-
* <TabItem label="Label" />
|
|
25
|
-
*/
|
|
26
|
-
label?: string;
|
|
27
|
-
/**
|
|
28
|
-
* prependIcon of the tab item
|
|
29
|
-
* @type string
|
|
30
|
-
* @default ''
|
|
31
|
-
* @example
|
|
32
|
-
* <TabItem prependIcon="prependIcon" />
|
|
33
|
-
*/
|
|
34
|
-
prependIcon?: string;
|
|
35
|
-
/**
|
|
36
|
-
* appendIcon of the tab item
|
|
37
|
-
* @type string
|
|
38
|
-
* @default ''
|
|
39
|
-
* @example
|
|
40
|
-
* <TabItem appendIcon="appendIcon" />
|
|
41
|
-
*/
|
|
42
|
-
appendIcon?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Disabled state of the tab item
|
|
45
|
-
* @type ButtonHTMLAttributes['disabled']
|
|
46
|
-
* @default false
|
|
47
|
-
* @example
|
|
48
|
-
* <TabItem disabled />
|
|
49
|
-
*/
|
|
50
|
-
disabled?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Model value of the tab item
|
|
53
|
-
* @type string | number
|
|
54
|
-
* @default ''
|
|
55
|
-
* @example
|
|
56
|
-
* <TabItem v-model="model" />
|
|
57
|
-
*/
|
|
58
|
-
modelValue?: string | number;
|
|
59
|
-
/**
|
|
60
|
-
* Tile state of the tab item
|
|
61
|
-
* @type boolean
|
|
62
|
-
* @default false
|
|
63
|
-
* @example
|
|
64
|
-
* <TabItem tile />
|
|
65
|
-
*/
|
|
66
|
-
tile?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Block state of the tab item
|
|
69
|
-
* @type boolean
|
|
70
|
-
* @default false
|
|
71
|
-
* @example
|
|
72
|
-
* <TabItem block />
|
|
73
|
-
*/
|
|
74
|
-
block?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Color of the tab item
|
|
77
|
-
* @type string
|
|
78
|
-
* @default ''
|
|
79
|
-
* @example
|
|
80
|
-
* <TabItem color="" />
|
|
81
|
-
*/
|
|
82
|
-
color?: string;
|
|
83
|
-
}
|
|
84
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
85
|
-
label: {
|
|
86
|
-
type: import("vue").PropType<string>;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
id: {
|
|
90
|
-
type: import("vue").PropType<string | number>;
|
|
91
|
-
required: true;
|
|
92
|
-
};
|
|
93
|
-
color: {
|
|
94
|
-
type: import("vue").PropType<string>;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
disabled: {
|
|
98
|
-
type: import("vue").PropType<boolean>;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
variant: {
|
|
102
|
-
type: import("vue").PropType<TabItemVariant>;
|
|
103
|
-
default: TabItemVariants;
|
|
104
|
-
};
|
|
105
|
-
block: {
|
|
106
|
-
type: import("vue").PropType<boolean>;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
|
-
prependIcon: {
|
|
110
|
-
type: import("vue").PropType<string>;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
appendIcon: {
|
|
114
|
-
type: import("vue").PropType<string>;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
modelValue: {
|
|
118
|
-
type: import("vue").PropType<string | number>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
tile: {
|
|
122
|
-
type: import("vue").PropType<boolean>;
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "click:icon")[], "update:modelValue" | "click:icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
-
label: {
|
|
127
|
-
type: import("vue").PropType<string>;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
|
-
id: {
|
|
131
|
-
type: import("vue").PropType<string | number>;
|
|
132
|
-
required: true;
|
|
133
|
-
};
|
|
134
|
-
color: {
|
|
135
|
-
type: import("vue").PropType<string>;
|
|
136
|
-
default: string;
|
|
137
|
-
};
|
|
138
|
-
disabled: {
|
|
139
|
-
type: import("vue").PropType<boolean>;
|
|
140
|
-
default: boolean;
|
|
141
|
-
};
|
|
142
|
-
variant: {
|
|
143
|
-
type: import("vue").PropType<TabItemVariant>;
|
|
144
|
-
default: TabItemVariants;
|
|
145
|
-
};
|
|
146
|
-
block: {
|
|
147
|
-
type: import("vue").PropType<boolean>;
|
|
148
|
-
default: boolean;
|
|
149
|
-
};
|
|
150
|
-
prependIcon: {
|
|
151
|
-
type: import("vue").PropType<string>;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
appendIcon: {
|
|
155
|
-
type: import("vue").PropType<string>;
|
|
156
|
-
default: string;
|
|
157
|
-
};
|
|
158
|
-
modelValue: {
|
|
159
|
-
type: import("vue").PropType<string | number>;
|
|
160
|
-
default: string;
|
|
161
|
-
};
|
|
162
|
-
tile: {
|
|
163
|
-
type: import("vue").PropType<boolean>;
|
|
164
|
-
default: boolean;
|
|
165
|
-
};
|
|
166
|
-
}>> & {
|
|
167
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
168
|
-
"onClick:icon"?: ((...args: any[]) => any) | undefined;
|
|
169
|
-
}, {
|
|
170
|
-
label: string;
|
|
171
|
-
color: string;
|
|
172
|
-
disabled: boolean;
|
|
173
|
-
variant: TabItemVariant;
|
|
174
|
-
block: boolean;
|
|
175
|
-
prependIcon: string;
|
|
176
|
-
appendIcon: string;
|
|
177
|
-
modelValue: string | number;
|
|
178
|
-
tile: boolean;
|
|
179
|
-
}>, {
|
|
180
|
-
prepend?(_: {}): any;
|
|
181
|
-
append?(_: {}): any;
|
|
182
|
-
}>;
|
|
183
|
-
export default _default;
|
|
184
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
185
|
-
new (): {
|
|
186
|
-
$slots: S;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
//# sourceMappingURL=RTabItem.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RTabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TabItem/RTabItem"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAChE,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkLD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/components/TabItem/common.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AACzD,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;CACd"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import type { Tab } from './types';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
/**
|
|
4
|
-
* Tabs of the tabs
|
|
5
|
-
* @type Tab[]
|
|
6
|
-
* @default []
|
|
7
|
-
* @example
|
|
8
|
-
* <Tabs :tabs="[]" />
|
|
9
|
-
*/
|
|
10
|
-
tabs?: Tab[];
|
|
11
|
-
/**
|
|
12
|
-
* Block state of the tabs
|
|
13
|
-
* @type boolean
|
|
14
|
-
* @default false
|
|
15
|
-
* @example
|
|
16
|
-
* <Tabs block />
|
|
17
|
-
*/
|
|
18
|
-
block?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Active tab of the tabs
|
|
21
|
-
* @type number | string
|
|
22
|
-
* @default tabs[0].id
|
|
23
|
-
* @example
|
|
24
|
-
* <Tabs v-model="activeTab" />
|
|
25
|
-
*/
|
|
26
|
-
modelValue?: number | string;
|
|
27
|
-
/**
|
|
28
|
-
* Tile state of the tabs
|
|
29
|
-
* @type boolean
|
|
30
|
-
* @default false
|
|
31
|
-
* @example
|
|
32
|
-
* <Tabs tile />
|
|
33
|
-
*/
|
|
34
|
-
tile?: boolean;
|
|
35
|
-
}
|
|
36
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
37
|
-
block: {
|
|
38
|
-
type: import("vue").PropType<boolean>;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
modelValue: {
|
|
42
|
-
type: import("vue").PropType<string | number>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
tile: {
|
|
46
|
-
type: import("vue").PropType<boolean>;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
tabs: {
|
|
50
|
-
type: import("vue").PropType<Tab[]>;
|
|
51
|
-
default: () => never[];
|
|
52
|
-
};
|
|
53
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "click:icon")[], "update:modelValue" | "click:icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
block: {
|
|
55
|
-
type: import("vue").PropType<boolean>;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
modelValue: {
|
|
59
|
-
type: import("vue").PropType<string | number>;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
tile: {
|
|
63
|
-
type: import("vue").PropType<boolean>;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
tabs: {
|
|
67
|
-
type: import("vue").PropType<Tab[]>;
|
|
68
|
-
default: () => never[];
|
|
69
|
-
};
|
|
70
|
-
}>> & {
|
|
71
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
72
|
-
"onClick:icon"?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
}, {
|
|
74
|
-
block: boolean;
|
|
75
|
-
modelValue: string | number;
|
|
76
|
-
tile: boolean;
|
|
77
|
-
tabs: Tab[];
|
|
78
|
-
}>, {
|
|
79
|
-
default?(_: {}): any;
|
|
80
|
-
}>;
|
|
81
|
-
export default _default;
|
|
82
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
|
-
new (): {
|
|
84
|
-
$slots: S;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
//# sourceMappingURL=RTabs.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/RTabs"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAInC,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IAEb;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoHD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { TabItemVariant } from '../TabItem/common';
|
|
2
|
-
export declare type Tab = {
|
|
3
|
-
id: string | number;
|
|
4
|
-
variant?: TabItemVariant;
|
|
5
|
-
label?: string;
|
|
6
|
-
prependIcon?: string;
|
|
7
|
-
appendIcon?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
active?: boolean;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,oBAAY,GAAG,GAAG;IAChB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
|
|
2
|
-
export interface IProps {
|
|
3
|
-
/**
|
|
4
|
-
* id of the textarea
|
|
5
|
-
* @type HTMLAttributes['id']
|
|
6
|
-
* @default ''
|
|
7
|
-
* @example
|
|
8
|
-
* <TextArea id="textarea" />
|
|
9
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
10
|
-
*/
|
|
11
|
-
id: HTMLAttributes['id'];
|
|
12
|
-
/**
|
|
13
|
-
* Input value
|
|
14
|
-
* @type InputHTMLAttributes['value'];
|
|
15
|
-
* @default ''
|
|
16
|
-
* @example
|
|
17
|
-
* <TextArea modelValue="Hello" />
|
|
18
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
|
|
19
|
-
*/
|
|
20
|
-
modelValue?: InputHTMLAttributes['value'];
|
|
21
|
-
/**
|
|
22
|
-
* label of the textarea
|
|
23
|
-
* @type LabelHTMLAttributes['label']
|
|
24
|
-
* @default ''
|
|
25
|
-
* @example
|
|
26
|
-
* <TextArea label="TextArea" />
|
|
27
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
28
|
-
*/
|
|
29
|
-
label?: LabelHTMLAttributes['for'];
|
|
30
|
-
/**
|
|
31
|
-
* Placeholder text
|
|
32
|
-
* @type InputHTMLAttributes['placeholder'];
|
|
33
|
-
* @default ''
|
|
34
|
-
* @example
|
|
35
|
-
* <TextArea placeholder="Placeholder" />
|
|
36
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
37
|
-
*/
|
|
38
|
-
placeholder?: InputHTMLAttributes['placeholder'];
|
|
39
|
-
/**
|
|
40
|
-
* Disabled state
|
|
41
|
-
* @type InputHTMLAttributes['disabled'];
|
|
42
|
-
* @default false
|
|
43
|
-
* @example
|
|
44
|
-
* <TextArea disabled />
|
|
45
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled
|
|
46
|
-
*/
|
|
47
|
-
disabled?: InputHTMLAttributes['disabled'];
|
|
48
|
-
/**
|
|
49
|
-
* Hint text
|
|
50
|
-
* @type string
|
|
51
|
-
* @default 'This is a hint'
|
|
52
|
-
* @example
|
|
53
|
-
* <TextArea hint="This is a hint" />
|
|
54
|
-
*/
|
|
55
|
-
hint?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Error message
|
|
58
|
-
* @type string
|
|
59
|
-
* @default ''
|
|
60
|
-
* @example
|
|
61
|
-
* <TextArea errorMsg="This is an error" />
|
|
62
|
-
*/
|
|
63
|
-
errorMsg?: string;
|
|
64
|
-
}
|
|
65
|
-
declare const _default: import("vue").DefineComponent<{
|
|
66
|
-
label: {
|
|
67
|
-
type: import("vue").PropType<string>;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
id: {
|
|
71
|
-
type: import("vue").PropType<string | undefined>;
|
|
72
|
-
required: true;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
placeholder: {
|
|
76
|
-
type: import("vue").PropType<string>;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
disabled: {
|
|
80
|
-
type: import("vue").PropType<boolean | "true" | "false">;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
modelValue: {
|
|
84
|
-
type: import("vue").PropType<any>;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
hint: {
|
|
88
|
-
type: import("vue").PropType<string>;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
errorMsg: {
|
|
92
|
-
type: import("vue").PropType<string>;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
-
label: {
|
|
97
|
-
type: import("vue").PropType<string>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
id: {
|
|
101
|
-
type: import("vue").PropType<string | undefined>;
|
|
102
|
-
required: true;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
placeholder: {
|
|
106
|
-
type: import("vue").PropType<string>;
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
disabled: {
|
|
110
|
-
type: import("vue").PropType<boolean | "true" | "false">;
|
|
111
|
-
default: boolean;
|
|
112
|
-
};
|
|
113
|
-
modelValue: {
|
|
114
|
-
type: import("vue").PropType<any>;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
hint: {
|
|
118
|
-
type: import("vue").PropType<string>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
errorMsg: {
|
|
122
|
-
type: import("vue").PropType<string>;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
}>> & {
|
|
126
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
127
|
-
}, {
|
|
128
|
-
label: string;
|
|
129
|
-
id: string | undefined;
|
|
130
|
-
placeholder: string;
|
|
131
|
-
disabled: boolean | "true" | "false";
|
|
132
|
-
modelValue: any;
|
|
133
|
-
hint: string;
|
|
134
|
-
errorMsg: string;
|
|
135
|
-
}>;
|
|
136
|
-
export default _default;
|
|
137
|
-
//# sourceMappingURL=RTextArea.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RTextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/RTextArea"],"names":[],"mappings":"AAGA,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,KAAK,CAAC;AACb,MAAM,WAAW,MAAM;IACrB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE1C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAEnC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC;IAEjD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAE3C;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuJD,wBAAkD"}
|