@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,215 +0,0 @@
|
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
-
declare const ItemGroupStory: Meta<{
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
$: ComponentInternalInstance;
|
|
6
|
-
$data: {};
|
|
7
|
-
$props: Partial<{
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
modelValue: string[] | number[];
|
|
10
|
-
as: string;
|
|
11
|
-
selectedClass: string | string[];
|
|
12
|
-
mandatory: boolean;
|
|
13
|
-
max: number;
|
|
14
|
-
}> & Omit<{
|
|
15
|
-
readonly disabled: boolean;
|
|
16
|
-
readonly modelValue: string[] | number[];
|
|
17
|
-
readonly as: string;
|
|
18
|
-
readonly selectedClass: string | string[];
|
|
19
|
-
readonly mandatory: boolean;
|
|
20
|
-
readonly max: number;
|
|
21
|
-
readonly multiple?: boolean | undefined;
|
|
22
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
24
|
-
disabled: {
|
|
25
|
-
type: PropType<boolean>;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: PropType<string[] | number[]>;
|
|
30
|
-
required: true;
|
|
31
|
-
default: () => number[];
|
|
32
|
-
};
|
|
33
|
-
multiple: {
|
|
34
|
-
type: PropType<boolean>;
|
|
35
|
-
};
|
|
36
|
-
as: {
|
|
37
|
-
type: PropType<string>;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
selectedClass: {
|
|
41
|
-
type: PropType<string | string[]>;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
mandatory: {
|
|
45
|
-
type: PropType<boolean>;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
max: {
|
|
49
|
-
type: PropType<number>;
|
|
50
|
-
default: number;
|
|
51
|
-
};
|
|
52
|
-
}>> & {
|
|
53
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
54
|
-
}, "disabled" | "modelValue" | "as" | "selectedClass" | "mandatory" | "max">;
|
|
55
|
-
$attrs: {
|
|
56
|
-
[x: string]: unknown;
|
|
57
|
-
};
|
|
58
|
-
$refs: {
|
|
59
|
-
[x: string]: unknown;
|
|
60
|
-
};
|
|
61
|
-
$slots: Readonly<{
|
|
62
|
-
[name: string]: Slot<any> | undefined;
|
|
63
|
-
}>;
|
|
64
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
65
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
66
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
67
|
-
$el: any;
|
|
68
|
-
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
69
|
-
disabled: {
|
|
70
|
-
type: PropType<boolean>;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
modelValue: {
|
|
74
|
-
type: PropType<string[] | number[]>;
|
|
75
|
-
required: true;
|
|
76
|
-
default: () => number[];
|
|
77
|
-
};
|
|
78
|
-
multiple: {
|
|
79
|
-
type: PropType<boolean>;
|
|
80
|
-
};
|
|
81
|
-
as: {
|
|
82
|
-
type: PropType<string>;
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
selectedClass: {
|
|
86
|
-
type: PropType<string | string[]>;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
mandatory: {
|
|
90
|
-
type: PropType<boolean>;
|
|
91
|
-
default: boolean;
|
|
92
|
-
};
|
|
93
|
-
max: {
|
|
94
|
-
type: PropType<number>;
|
|
95
|
-
default: number;
|
|
96
|
-
};
|
|
97
|
-
}>> & {
|
|
98
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
99
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
100
|
-
"update:modelValue": (...args: any[]) => void;
|
|
101
|
-
}, string, {
|
|
102
|
-
disabled: boolean;
|
|
103
|
-
modelValue: string[] | number[];
|
|
104
|
-
as: string;
|
|
105
|
-
selectedClass: string | string[];
|
|
106
|
-
mandatory: boolean;
|
|
107
|
-
max: number;
|
|
108
|
-
}, {}, string, {}> & {
|
|
109
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
110
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
111
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
112
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
113
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
114
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
115
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
119
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
120
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
121
|
-
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
122
|
-
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
123
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
124
|
-
};
|
|
125
|
-
$forceUpdate: () => void;
|
|
126
|
-
$nextTick: typeof nextTick;
|
|
127
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
128
|
-
} & Readonly<ExtractPropTypes<{
|
|
129
|
-
disabled: {
|
|
130
|
-
type: PropType<boolean>;
|
|
131
|
-
default: boolean;
|
|
132
|
-
};
|
|
133
|
-
modelValue: {
|
|
134
|
-
type: PropType<string[] | number[]>;
|
|
135
|
-
required: true;
|
|
136
|
-
default: () => number[];
|
|
137
|
-
};
|
|
138
|
-
multiple: {
|
|
139
|
-
type: PropType<boolean>;
|
|
140
|
-
};
|
|
141
|
-
as: {
|
|
142
|
-
type: PropType<string>;
|
|
143
|
-
default: string;
|
|
144
|
-
};
|
|
145
|
-
selectedClass: {
|
|
146
|
-
type: PropType<string | string[]>;
|
|
147
|
-
default: string;
|
|
148
|
-
};
|
|
149
|
-
mandatory: {
|
|
150
|
-
type: PropType<boolean>;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
max: {
|
|
154
|
-
type: PropType<number>;
|
|
155
|
-
default: number;
|
|
156
|
-
};
|
|
157
|
-
}>> & {
|
|
158
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
159
|
-
} & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
160
|
-
__isFragment?: undefined;
|
|
161
|
-
__isTeleport?: undefined;
|
|
162
|
-
__isSuspense?: undefined;
|
|
163
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
164
|
-
disabled: {
|
|
165
|
-
type: PropType<boolean>;
|
|
166
|
-
default: boolean;
|
|
167
|
-
};
|
|
168
|
-
modelValue: {
|
|
169
|
-
type: PropType<string[] | number[]>;
|
|
170
|
-
required: true;
|
|
171
|
-
default: () => number[];
|
|
172
|
-
};
|
|
173
|
-
multiple: {
|
|
174
|
-
type: PropType<boolean>;
|
|
175
|
-
};
|
|
176
|
-
as: {
|
|
177
|
-
type: PropType<string>;
|
|
178
|
-
default: string;
|
|
179
|
-
};
|
|
180
|
-
selectedClass: {
|
|
181
|
-
type: PropType<string | string[]>;
|
|
182
|
-
default: string;
|
|
183
|
-
};
|
|
184
|
-
mandatory: {
|
|
185
|
-
type: PropType<boolean>;
|
|
186
|
-
default: boolean;
|
|
187
|
-
};
|
|
188
|
-
max: {
|
|
189
|
-
type: PropType<number>;
|
|
190
|
-
default: number;
|
|
191
|
-
};
|
|
192
|
-
}>> & {
|
|
193
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
194
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
195
|
-
"update:modelValue": (...args: any[]) => void;
|
|
196
|
-
}, string, {
|
|
197
|
-
disabled: boolean;
|
|
198
|
-
modelValue: string[] | number[];
|
|
199
|
-
as: string;
|
|
200
|
-
selectedClass: string | string[];
|
|
201
|
-
mandatory: boolean;
|
|
202
|
-
max: number;
|
|
203
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
204
|
-
$slots: {
|
|
205
|
-
default?(_: {
|
|
206
|
-
isSelected: (id: never) => boolean;
|
|
207
|
-
select: (id: never, value: boolean) => void;
|
|
208
|
-
selected: string[] | number[];
|
|
209
|
-
}): any;
|
|
210
|
-
};
|
|
211
|
-
})>;
|
|
212
|
-
export default ItemGroupStory;
|
|
213
|
-
declare type Story = StoryObj<typeof ItemGroupStory>;
|
|
214
|
-
export declare const Overview: Story;
|
|
215
|
-
//# sourceMappingURL=ItemGroup.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ItemGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemGroup/ItemGroup.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDO,CAAA;AAE3B,eAAe,cAAc,CAAA;AAE7B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAE5C,eAAO,MAAM,QAAQ,EAAE,KA+BtB,CAAA"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
export interface ItemProps {
|
|
3
|
-
/**
|
|
4
|
-
* The value of the item
|
|
5
|
-
* @default null
|
|
6
|
-
* @type any
|
|
7
|
-
* @example
|
|
8
|
-
* <RItem :value="1" />
|
|
9
|
-
*/
|
|
10
|
-
value: any;
|
|
11
|
-
/**
|
|
12
|
-
* The class to apply to the selected item
|
|
13
|
-
* @default ''
|
|
14
|
-
* @type string
|
|
15
|
-
* @example
|
|
16
|
-
* <RItem selectedClass="bg-blue-500 text-white" />
|
|
17
|
-
*/
|
|
18
|
-
selectedClass?: string | string[];
|
|
19
|
-
}
|
|
20
|
-
declare function handleToggle(): void;
|
|
21
|
-
declare function handleSelect(): void;
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemProps>, {
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
selectedClass: string;
|
|
25
|
-
value: null;
|
|
26
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemProps>, {
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
selectedClass: string;
|
|
29
|
-
value: null;
|
|
30
|
-
}>>>, {
|
|
31
|
-
value: any;
|
|
32
|
-
selectedClass: string | string[];
|
|
33
|
-
}, {}>, {
|
|
34
|
-
default?(_: {
|
|
35
|
-
disabled: boolean;
|
|
36
|
-
isSelected: boolean;
|
|
37
|
-
select: typeof handleSelect;
|
|
38
|
-
selectedClass: (string | string[]) & (false | (string | string[])[]);
|
|
39
|
-
toggle: typeof handleToggle;
|
|
40
|
-
}): any;
|
|
41
|
-
}>;
|
|
42
|
-
export default _default;
|
|
43
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
53
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
-
default: D[K];
|
|
55
|
-
}> : P[K];
|
|
56
|
-
};
|
|
57
|
-
declare type __VLS_Prettify<T> = {
|
|
58
|
-
[K in keyof T]: T[K];
|
|
59
|
-
} & {};
|
|
60
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
|
-
new (): {
|
|
62
|
-
$slots: S;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=RItem.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemGroup/RItem.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,KAAK,EAAE,GAAG,CAAA;IAEV;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAClC;AA+BD,iBAAS,YAAY,SAIpB;AAED,iBAAS,YAAY,SAIpB;;;;;;;;;;;;;;;;;;;;;AAkED,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,123 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
export interface ItemGroupProps {
|
|
3
|
-
/**
|
|
4
|
-
* The value of the selected items
|
|
5
|
-
* @default []
|
|
6
|
-
* @model
|
|
7
|
-
* @type {number[] | string[]}
|
|
8
|
-
* @example
|
|
9
|
-
* <RItemGroup v-model="selectedItems" />
|
|
10
|
-
*/
|
|
11
|
-
modelValue: number[] | string[];
|
|
12
|
-
/**
|
|
13
|
-
* The class to apply to the selected items
|
|
14
|
-
* @default ''
|
|
15
|
-
* @type {string}
|
|
16
|
-
* @example
|
|
17
|
-
* <RItemGroup selectedClass="bg-blue-500 text-white" />
|
|
18
|
-
*/
|
|
19
|
-
selectedClass?: string | string[];
|
|
20
|
-
/**
|
|
21
|
-
* Whether the item group is disabled
|
|
22
|
-
* @default false
|
|
23
|
-
* @type {boolean}
|
|
24
|
-
* @example
|
|
25
|
-
* <RItemGroup :disabled="true" />
|
|
26
|
-
*/
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Whether the item group is mandatory
|
|
30
|
-
* @default false
|
|
31
|
-
* @type {boolean}
|
|
32
|
-
* @example
|
|
33
|
-
* ```js
|
|
34
|
-
* const selected = ref<number[]>([1]);
|
|
35
|
-
* ```
|
|
36
|
-
* ```html
|
|
37
|
-
* <RItemGroup :mandatory="true" v-model="selected" />
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
mandatory?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* The maximum number of items that can be selected
|
|
43
|
-
* @default 0
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @example
|
|
46
|
-
* <RItemGroup :max="5" />
|
|
47
|
-
*/
|
|
48
|
-
max?: number;
|
|
49
|
-
/**
|
|
50
|
-
* The tag to use for the item group
|
|
51
|
-
* @default div
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @example
|
|
54
|
-
* <RItemGroup as="ul" />
|
|
55
|
-
*/
|
|
56
|
-
as?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Whether the item group allows multiple selections
|
|
59
|
-
* @default false
|
|
60
|
-
* @type {boolean}
|
|
61
|
-
* @example
|
|
62
|
-
* <RItemGroup :multiple="true" />
|
|
63
|
-
*/
|
|
64
|
-
multiple?: boolean;
|
|
65
|
-
}
|
|
66
|
-
declare function isSelected(id: never): boolean;
|
|
67
|
-
declare function select(id: never, value: boolean): void;
|
|
68
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemGroupProps>, {
|
|
69
|
-
disabled: boolean;
|
|
70
|
-
mandatory: boolean;
|
|
71
|
-
max: number;
|
|
72
|
-
as: string;
|
|
73
|
-
selectedClass: string;
|
|
74
|
-
modelValue: () => number[];
|
|
75
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
76
|
-
"update:modelValue": (...args: any[]) => void;
|
|
77
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ItemGroupProps>, {
|
|
78
|
-
disabled: boolean;
|
|
79
|
-
mandatory: boolean;
|
|
80
|
-
max: number;
|
|
81
|
-
as: string;
|
|
82
|
-
selectedClass: string;
|
|
83
|
-
modelValue: () => number[];
|
|
84
|
-
}>>> & {
|
|
85
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
}, {
|
|
87
|
-
disabled: boolean;
|
|
88
|
-
modelValue: string[] | number[];
|
|
89
|
-
as: string;
|
|
90
|
-
selectedClass: string | string[];
|
|
91
|
-
mandatory: boolean;
|
|
92
|
-
max: number;
|
|
93
|
-
}, {}>, {
|
|
94
|
-
default?(_: {
|
|
95
|
-
isSelected: typeof isSelected;
|
|
96
|
-
select: typeof select;
|
|
97
|
-
selected: string[] | number[];
|
|
98
|
-
}): any;
|
|
99
|
-
}>;
|
|
100
|
-
export default _default;
|
|
101
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
102
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
103
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
104
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
105
|
-
} : {
|
|
106
|
-
type: PropType<T[K]>;
|
|
107
|
-
required: true;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
111
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
112
|
-
default: D[K];
|
|
113
|
-
}> : P[K];
|
|
114
|
-
};
|
|
115
|
-
declare type __VLS_Prettify<T> = {
|
|
116
|
-
[K in keyof T]: T[K];
|
|
117
|
-
} & {};
|
|
118
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
119
|
-
new (): {
|
|
120
|
-
$slots: S;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
//# sourceMappingURL=RItemGroup.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RItemGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemGroup/RItemGroup.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B;;;;;;;OAOG;IACH,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAA;IAE/B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEjC;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAwBD,iBAAS,UAAU,CAAC,EAAE,EAAE,KAAK,WAE5B;AAGD,iBAAS,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,QAgBxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFD,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"itemgroup.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemGroup/itemgroup.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
-
declare const LabelStory: Meta<{
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
$: ComponentInternalInstance;
|
|
6
|
-
$data: {};
|
|
7
|
-
$props: Partial<{
|
|
8
|
-
text: string | number;
|
|
9
|
-
id: string | undefined;
|
|
10
|
-
for: string | undefined;
|
|
11
|
-
}> & Omit<{
|
|
12
|
-
readonly text: string | number;
|
|
13
|
-
readonly id: string | undefined;
|
|
14
|
-
readonly for: string | undefined;
|
|
15
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
16
|
-
text: {
|
|
17
|
-
type: PropType<string | number>;
|
|
18
|
-
required: true;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
id: {
|
|
22
|
-
type: PropType<string | undefined>;
|
|
23
|
-
required: true;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
for: {
|
|
27
|
-
type: PropType<string | undefined>;
|
|
28
|
-
required: true;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
}>>, "text" | "id" | "for">;
|
|
32
|
-
$attrs: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
$refs: {
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
};
|
|
38
|
-
$slots: Readonly<{
|
|
39
|
-
[name: string]: Slot<any> | undefined;
|
|
40
|
-
}>;
|
|
41
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
42
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
43
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
44
|
-
$el: any;
|
|
45
|
-
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
46
|
-
text: {
|
|
47
|
-
type: PropType<string | number>;
|
|
48
|
-
required: true;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
id: {
|
|
52
|
-
type: PropType<string | undefined>;
|
|
53
|
-
required: true;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
for: {
|
|
57
|
-
type: PropType<string | undefined>;
|
|
58
|
-
required: true;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
62
|
-
text: string | number;
|
|
63
|
-
id: string | undefined;
|
|
64
|
-
for: string | undefined;
|
|
65
|
-
}, {}, string, {}> & {
|
|
66
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
-
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
79
|
-
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
80
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
81
|
-
};
|
|
82
|
-
$forceUpdate: () => void;
|
|
83
|
-
$nextTick: typeof nextTick;
|
|
84
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
85
|
-
} & Readonly<ExtractPropTypes<{
|
|
86
|
-
text: {
|
|
87
|
-
type: PropType<string | number>;
|
|
88
|
-
required: true;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
id: {
|
|
92
|
-
type: PropType<string | undefined>;
|
|
93
|
-
required: true;
|
|
94
|
-
default: string;
|
|
95
|
-
};
|
|
96
|
-
for: {
|
|
97
|
-
type: PropType<string | undefined>;
|
|
98
|
-
required: true;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
}>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
102
|
-
__isFragment?: undefined;
|
|
103
|
-
__isTeleport?: undefined;
|
|
104
|
-
__isSuspense?: undefined;
|
|
105
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
106
|
-
text: {
|
|
107
|
-
type: PropType<string | number>;
|
|
108
|
-
required: true;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
id: {
|
|
112
|
-
type: PropType<string | undefined>;
|
|
113
|
-
required: true;
|
|
114
|
-
default: string;
|
|
115
|
-
};
|
|
116
|
-
for: {
|
|
117
|
-
type: PropType<string | undefined>;
|
|
118
|
-
required: true;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
122
|
-
text: string | number;
|
|
123
|
-
id: string | undefined;
|
|
124
|
-
for: string | undefined;
|
|
125
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
126
|
-
$slots: {
|
|
127
|
-
default?(_: {}): any;
|
|
128
|
-
};
|
|
129
|
-
})>;
|
|
130
|
-
export default LabelStory;
|
|
131
|
-
declare type Story = StoryObj<typeof LabelStory>;
|
|
132
|
-
export declare const Overview: Story;
|
|
133
|
-
//# sourceMappingURL=Label.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Label/Label.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAIrD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqBO,CAAA;AAEvB,eAAe,UAAU,CAAA;AAEzB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, HTMLAttributes, LabelHTMLAttributes } from 'vue';
|
|
2
|
-
export interface LabelProps {
|
|
3
|
-
/**
|
|
4
|
-
* id of the label
|
|
5
|
-
* @type HTMLAttributes['id']
|
|
6
|
-
* @default ''
|
|
7
|
-
* @example
|
|
8
|
-
* <Label id="label" />
|
|
9
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
10
|
-
*/
|
|
11
|
-
id: HTMLAttributes['id'];
|
|
12
|
-
/**
|
|
13
|
-
* for of the label
|
|
14
|
-
* @type LabelHTMLAttributes['for']
|
|
15
|
-
* @default ''
|
|
16
|
-
* @example
|
|
17
|
-
* <Label for="label" />
|
|
18
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
19
|
-
*/
|
|
20
|
-
for: LabelHTMLAttributes['for'];
|
|
21
|
-
/**
|
|
22
|
-
* text of the label
|
|
23
|
-
* @type string | number
|
|
24
|
-
* @default ''
|
|
25
|
-
* @example
|
|
26
|
-
* <Label text="Label" />
|
|
27
|
-
*/
|
|
28
|
-
text: string | number;
|
|
29
|
-
}
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LabelProps>, {
|
|
31
|
-
id: string;
|
|
32
|
-
for: string;
|
|
33
|
-
text: string;
|
|
34
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LabelProps>, {
|
|
35
|
-
id: string;
|
|
36
|
-
for: string;
|
|
37
|
-
text: string;
|
|
38
|
-
}>>>, {
|
|
39
|
-
text: string | number;
|
|
40
|
-
id: string | undefined;
|
|
41
|
-
for: string | undefined;
|
|
42
|
-
}, {}>, {
|
|
43
|
-
default?(_: {}): any;
|
|
44
|
-
}>;
|
|
45
|
-
export default _default;
|
|
46
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
56
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
-
default: D[K];
|
|
58
|
-
}> : P[K];
|
|
59
|
-
};
|
|
60
|
-
declare type __VLS_Prettify<T> = {
|
|
61
|
-
[K in keyof T]: T[K];
|
|
62
|
-
} & {};
|
|
63
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
-
new (): {
|
|
65
|
-
$slots: S;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=RLabel.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RLabel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Label/RLabel.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAA;AAC9D,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAU;IACzB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB;;;;;;;OAOG;IACH,GAAG,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAE/B;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;;;;;;;;;;;;;;;;AAyED,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"}
|