@rocketui/vue 0.2.80 → 0.2.81
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.d.ts +3348 -0
- package/package.json +1 -1
- package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -116
- package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
- package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -70
- package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
- package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
- package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
- package/dist/src/components/Alert/Alert.stories.d.ts +0 -461
- package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
- package/dist/src/components/Alert/RAlert.vue.d.ts +0 -109
- package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
- package/dist/src/components/Alert/alert.spec.d.ts +0 -2
- package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
- package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
- package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
- package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
- package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
- package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
- package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
- package/dist/src/components/Badge/Badge.stories.d.ts +0 -281
- package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
- package/dist/src/components/Badge/RBadge.vue.d.ts +0 -143
- package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
- package/dist/src/components/Badge/badge.spec.d.ts +0 -2
- package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
- package/dist/src/components/Box/Box.stories.d.ts +0 -167
- package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
- package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
- package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
- package/dist/src/components/Button/Button.spec.d.ts +0 -2
- package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
- package/dist/src/components/Button/Button.stories.d.ts +0 -553
- package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
- package/dist/src/components/Button/RButton.vue.d.ts +0 -155
- package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
- package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
- package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
- package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
- package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
- package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
- package/dist/src/components/Chips/Chip.stories.d.ts +0 -547
- package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
- package/dist/src/components/Chips/RChip.vue.d.ts +0 -132
- package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
- package/dist/src/components/Chips/chip.spec.d.ts +0 -2
- package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
- package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -690
- package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
- package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -418
- package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
- package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
- package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
- package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
- package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
- package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
- package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
- package/dist/src/components/Icon/icon.spec.d.ts +0 -2
- package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
- package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -65
- package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
- package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
- package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
- package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
- package/dist/src/components/Label/Label.stories.d.ts +0 -133
- package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
- package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
- package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
- package/dist/src/components/Modal/Modal.stories.d.ts +0 -343
- package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
- package/dist/src/components/Modal/RModal.vue.d.ts +0 -183
- package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
- package/dist/src/components/Modal/modal.spec.d.ts +0 -2
- package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -243
- package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
- package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -110
- package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
- package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
- package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
- package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
- package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
- package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
- package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
- package/dist/src/components/Radio/RRadio.vue.d.ts +0 -66
- package/dist/src/components/Radio/RRadio.vue.d.ts.map +0 -1
- package/dist/src/components/Radio/Radio.stories.d.ts +0 -100
- package/dist/src/components/Radio/Radio.stories.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.vue.d.ts +0 -53
- package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -163
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
- package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
- package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
- package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
- package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
- package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
- package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
- package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
- package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
- package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -135
- package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
- package/dist/src/components/Switch/Switch.stories.d.ts +0 -102
- package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
- package/dist/src/components/Switch/switch.spec.d.ts +0 -2
- package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
- package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -155
- package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
- package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
- package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
- package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -290
- package/dist/src/components/TabItem/TabItem.stories.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.vue.d.ts +0 -95
- package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
- package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
- package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -181
- package/dist/src/components/Tabs/Tabs.stories.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.vue.d.ts +0 -120
- package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
- package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
- package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
- package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
- package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
- package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -249
- package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
- package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -459
- package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
- package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
- package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
- package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -264
- package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -482
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/dist/src/components/Tooltip/popper.d.ts +0 -29
- package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
- package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
- package/dist/src/components/Tooltip/tooltip.spec.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/lib/main.d.ts +0 -26
- package/dist/src/lib/main.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
- package/dist/src/utils/helpers.d.ts +0 -2
- package/dist/src/utils/helpers.d.ts.map +0 -1
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, 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
|
-
* Hide details
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @default false
|
|
68
|
-
* @example
|
|
69
|
-
* <TextArea hideDetails />
|
|
70
|
-
*/
|
|
71
|
-
hideDetails?: boolean;
|
|
72
|
-
}
|
|
73
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
74
|
-
id: string;
|
|
75
|
-
errorMsg: string;
|
|
76
|
-
disabled: boolean;
|
|
77
|
-
placeholder: string;
|
|
78
|
-
modelValue: string;
|
|
79
|
-
label: string;
|
|
80
|
-
hint: string;
|
|
81
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
82
|
-
"update:modelValue": (...args: any[]) => void;
|
|
83
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
84
|
-
id: string;
|
|
85
|
-
errorMsg: string;
|
|
86
|
-
disabled: boolean;
|
|
87
|
-
placeholder: string;
|
|
88
|
-
modelValue: string;
|
|
89
|
-
label: string;
|
|
90
|
-
hint: string;
|
|
91
|
-
}>>> & {
|
|
92
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
label: string;
|
|
95
|
-
disabled: boolean | "true" | "false";
|
|
96
|
-
id: string | undefined;
|
|
97
|
-
modelValue: any;
|
|
98
|
-
placeholder: string;
|
|
99
|
-
errorMsg: string;
|
|
100
|
-
hint: string;
|
|
101
|
-
}, {}>;
|
|
102
|
-
export default _default;
|
|
103
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
104
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
105
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
106
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
107
|
-
} : {
|
|
108
|
-
type: PropType<T[K]>;
|
|
109
|
-
required: true;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
113
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
114
|
-
default: D[K];
|
|
115
|
-
}> : P[K];
|
|
116
|
-
};
|
|
117
|
-
declare type __VLS_Prettify<T> = {
|
|
118
|
-
[K in keyof T]: T[K];
|
|
119
|
-
} & {};
|
|
120
|
-
//# sourceMappingURL=RTextArea.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|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AAC,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,89 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
-
declare const TextAreaStory: Meta<DefineComponent<{
|
|
4
|
-
label: {
|
|
5
|
-
type: PropType<string>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
disabled: {
|
|
9
|
-
type: PropType<boolean | "true" | "false">;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
id: {
|
|
13
|
-
type: PropType<string | undefined>;
|
|
14
|
-
required: true;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
modelValue: {
|
|
18
|
-
type: PropType<any>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
placeholder: {
|
|
22
|
-
type: PropType<string>;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
errorMsg: {
|
|
26
|
-
type: PropType<string>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
hint: {
|
|
30
|
-
type: PropType<string>;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
hideDetails: {
|
|
34
|
-
type: PropType<boolean>;
|
|
35
|
-
};
|
|
36
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
-
"update:modelValue": (...args: any[]) => void;
|
|
38
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
39
|
-
label: {
|
|
40
|
-
type: PropType<string>;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
disabled: {
|
|
44
|
-
type: PropType<boolean | "true" | "false">;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
id: {
|
|
48
|
-
type: PropType<string | undefined>;
|
|
49
|
-
required: true;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
modelValue: {
|
|
53
|
-
type: PropType<any>;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
placeholder: {
|
|
57
|
-
type: PropType<string>;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
errorMsg: {
|
|
61
|
-
type: PropType<string>;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
hint: {
|
|
65
|
-
type: PropType<string>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
hideDetails: {
|
|
69
|
-
type: PropType<boolean>;
|
|
70
|
-
};
|
|
71
|
-
}>> & {
|
|
72
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
}, {
|
|
74
|
-
label: string;
|
|
75
|
-
disabled: boolean | "true" | "false";
|
|
76
|
-
id: string | undefined;
|
|
77
|
-
modelValue: any;
|
|
78
|
-
placeholder: string;
|
|
79
|
-
errorMsg: string;
|
|
80
|
-
hint: string;
|
|
81
|
-
}, {}>>;
|
|
82
|
-
export default TextAreaStory;
|
|
83
|
-
declare type Story = StoryObj<typeof TextAreaStory>;
|
|
84
|
-
export declare const Overview: Story;
|
|
85
|
-
export declare const Default: Story;
|
|
86
|
-
export declare const Disabled: Story;
|
|
87
|
-
export declare const Error: Story;
|
|
88
|
-
export declare const Hint: Story;
|
|
89
|
-
//# sourceMappingURL=TextArea.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/TextArea.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAYrD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAWO,CAAA;AAE1B,eAAe,aAAa,CAAA;AAE5B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAA;AAE3C,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAA;AAEjC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAInB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/textarea.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,249 +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
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
151
|
-
id: string;
|
|
152
|
-
type: string;
|
|
153
|
-
modelValue: string;
|
|
154
|
-
label: string;
|
|
155
|
-
placeholder: string;
|
|
156
|
-
errorMsg: string;
|
|
157
|
-
hint: string;
|
|
158
|
-
prependIcon: string;
|
|
159
|
-
appendIcon: string;
|
|
160
|
-
iconColor: string;
|
|
161
|
-
disabled: boolean;
|
|
162
|
-
loading: boolean;
|
|
163
|
-
clearable: boolean;
|
|
164
|
-
hideDetails: boolean;
|
|
165
|
-
role: string;
|
|
166
|
-
readonly: boolean;
|
|
167
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
168
|
-
input: (...args: any[]) => void;
|
|
169
|
-
blur: (...args: any[]) => void;
|
|
170
|
-
focus: (...args: any[]) => void;
|
|
171
|
-
"update:modelValue": (...args: any[]) => void;
|
|
172
|
-
"click:icon": (...args: any[]) => void;
|
|
173
|
-
"click:clear": (...args: any[]) => void;
|
|
174
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
175
|
-
id: string;
|
|
176
|
-
type: string;
|
|
177
|
-
modelValue: string;
|
|
178
|
-
label: string;
|
|
179
|
-
placeholder: string;
|
|
180
|
-
errorMsg: string;
|
|
181
|
-
hint: string;
|
|
182
|
-
prependIcon: string;
|
|
183
|
-
appendIcon: string;
|
|
184
|
-
iconColor: string;
|
|
185
|
-
disabled: boolean;
|
|
186
|
-
loading: boolean;
|
|
187
|
-
clearable: boolean;
|
|
188
|
-
hideDetails: boolean;
|
|
189
|
-
role: string;
|
|
190
|
-
readonly: boolean;
|
|
191
|
-
}>>> & {
|
|
192
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
193
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
194
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
195
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
196
|
-
"onClick:icon"?: ((...args: any[]) => any) | undefined;
|
|
197
|
-
"onClick:clear"?: ((...args: any[]) => any) | undefined;
|
|
198
|
-
}, {
|
|
199
|
-
type: "number" | "text" | "email" | "password" | "tel" | "url";
|
|
200
|
-
label: string;
|
|
201
|
-
disabled: boolean;
|
|
202
|
-
prependIcon: string;
|
|
203
|
-
appendIcon: string;
|
|
204
|
-
clearable: boolean;
|
|
205
|
-
id: string | undefined;
|
|
206
|
-
role: string;
|
|
207
|
-
modelValue: any;
|
|
208
|
-
placeholder: string;
|
|
209
|
-
loading: boolean;
|
|
210
|
-
errorMsg: string;
|
|
211
|
-
hint: string;
|
|
212
|
-
hideDetails: boolean;
|
|
213
|
-
readonly: boolean;
|
|
214
|
-
}, {}>, {
|
|
215
|
-
prepend?(_: {
|
|
216
|
-
disabled: boolean;
|
|
217
|
-
error: number;
|
|
218
|
-
loading: boolean;
|
|
219
|
-
}): any;
|
|
220
|
-
append?(_: {
|
|
221
|
-
disabled: boolean;
|
|
222
|
-
error: number;
|
|
223
|
-
loading: boolean;
|
|
224
|
-
}): any;
|
|
225
|
-
}>;
|
|
226
|
-
export default _default;
|
|
227
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
228
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
229
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
230
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
231
|
-
} : {
|
|
232
|
-
type: PropType<T[K]>;
|
|
233
|
-
required: true;
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
237
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
238
|
-
default: D[K];
|
|
239
|
-
}> : P[K];
|
|
240
|
-
};
|
|
241
|
-
declare type __VLS_Prettify<T> = {
|
|
242
|
-
[K in keyof T]: T[K];
|
|
243
|
-
} & {};
|
|
244
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
245
|
-
new (): {
|
|
246
|
-
$slots: S;
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
//# sourceMappingURL=RTextfield.vue.d.ts.map
|
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