@dpa-id-components/dpa-shared-components 12.0.2 → 12.2.0
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/components/UiAutocomplete/UiAutocomplete.stories.d.ts +29 -29
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +29 -29
- package/dist/components/UiButton/UiButton.stories.d.ts +3 -3
- package/dist/components/UiButton/UiButton.vue.d.ts +1 -1
- package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +13 -1
- package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +7 -6
- package/dist/components/UiCheckBox/UiCheckBox.vue.d.ts +4 -4
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +6 -6
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +6 -6
- package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +3 -3
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +3 -3
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2713 -57
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +33 -33
- package/dist/components/UiDialog/UiDialog.stories.d.ts +224 -12
- package/dist/components/UiDialog/UiDialog.vue.d.ts +2 -2
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +100 -21
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +133 -15
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +2 -2
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +80 -6
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +2 -2
- package/dist/components/UiIcon/UiIcon.stories.d.ts +1 -16
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +56 -8
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +3 -3
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +100 -4
- package/dist/components/UiInput/UiInput.stories.d.ts +427 -76
- package/dist/components/UiInput/UiInput.vue.d.ts +12 -11
- package/dist/components/UiList/UiList.stories.d.ts +13 -292
- package/dist/components/UiListItem/UiListItem.stories.d.ts +248 -24
- package/dist/components/UiListItem/UiListItem.vue.d.ts +4 -4
- package/dist/components/UiMenu/UiMenu.stories.d.ts +55 -189
- package/dist/components/UiMenu/UiMenu.vue.d.ts +15 -9
- package/dist/components/UiOverlay/UiOverlay.stories.d.ts +64 -12
- package/dist/components/UiOverlay/UiOverlay.vue.d.ts +2 -2
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +110 -34
- package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +2 -2
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +56 -26
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +8 -7
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +36 -317
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +12 -14
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +196 -36
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +7 -7
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +48 -6
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +2 -2
- package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +26 -2
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +163 -23
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +4 -4
- package/dist/components/UiSpinner/UiSpinner.stories.d.ts +20 -2
- package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +11 -5
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +4 -2
- package/dist/components/UiTooltip/UiTooltip.stories.d.ts +200 -2
- package/dist/dpa-shared-components.mjs +6458 -6461
- package/dist/dpa-shared-components.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/tailwind/tailwind.config.d.cts +3 -211
- package/dist/tailwind.config.cjs +7 -3
- package/package.json +9 -9
|
@@ -9,8 +9,7 @@ declare const meta: {
|
|
|
9
9
|
readonly?: boolean;
|
|
10
10
|
chevron?: boolean;
|
|
11
11
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
|
|
13
|
-
select: (...args: any[]) => void;
|
|
12
|
+
select: (args_0: string) => any;
|
|
14
13
|
}, string, import('vue').PublicProps, Readonly<{
|
|
15
14
|
label?: string;
|
|
16
15
|
placeholder?: string;
|
|
@@ -19,8 +18,7 @@ declare const meta: {
|
|
|
19
18
|
readonly?: boolean;
|
|
20
19
|
chevron?: boolean;
|
|
21
20
|
}> & Readonly<{
|
|
22
|
-
|
|
23
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onSelect?: ((args_0: string) => any) | undefined;
|
|
24
22
|
}>, {
|
|
25
23
|
label: string;
|
|
26
24
|
readonly: boolean;
|
|
@@ -34,7 +32,7 @@ declare const meta: {
|
|
|
34
32
|
$data: {};
|
|
35
33
|
$props: {
|
|
36
34
|
readonly id?: string | undefined;
|
|
37
|
-
readonly modelValue
|
|
35
|
+
readonly modelValue?: string | undefined;
|
|
38
36
|
readonly type?: "text" | "number" | "time" | "date" | "password" | "datetime-local" | undefined;
|
|
39
37
|
readonly label?: string | undefined;
|
|
40
38
|
readonly placeholder?: string | undefined;
|
|
@@ -53,11 +51,11 @@ declare const meta: {
|
|
|
53
51
|
readonly infoText?: string | undefined;
|
|
54
52
|
readonly inputStatus?: "default" | "info" | "readonly" | "warning" | "error" | undefined;
|
|
55
53
|
readonly isUiAutocomplete?: boolean | undefined;
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly onInput?: ((
|
|
59
|
-
readonly onKeyup?: ((
|
|
60
|
-
readonly "onUpdate:modelValue"?: ((
|
|
54
|
+
readonly onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
55
|
+
readonly onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
56
|
+
readonly onInput?: ((args_0: string) => any) | undefined;
|
|
57
|
+
readonly onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
58
|
+
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
61
59
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
62
60
|
$attrs: {
|
|
63
61
|
[x: string]: unknown;
|
|
@@ -73,11 +71,11 @@ declare const meta: {
|
|
|
73
71
|
$root: import('vue').ComponentPublicInstance | null;
|
|
74
72
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
75
73
|
$host: Element | null;
|
|
76
|
-
$emit: ((event: "
|
|
74
|
+
$emit: ((event: "blur", args_0: FocusEvent) => void) & ((event: "focus", args_0: FocusEvent) => void) & ((event: "input", args_0: string) => void) & ((event: "keyup", args_0: KeyboardEvent) => void) & ((event: "update:modelValue", args_0: string) => void);
|
|
77
75
|
$el: any;
|
|
78
76
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
79
77
|
id?: string;
|
|
80
|
-
modelValue
|
|
78
|
+
modelValue?: string;
|
|
81
79
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
82
80
|
label?: string;
|
|
83
81
|
placeholder?: string;
|
|
@@ -97,25 +95,26 @@ declare const meta: {
|
|
|
97
95
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
98
96
|
isUiAutocomplete?: boolean;
|
|
99
97
|
}> & Readonly<{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
onInput?: ((
|
|
103
|
-
onKeyup?: ((
|
|
104
|
-
"onUpdate:modelValue"?: ((
|
|
98
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
99
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
100
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
101
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
102
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
105
103
|
}>, {
|
|
106
104
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
107
105
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
input: (
|
|
111
|
-
keyup: (
|
|
112
|
-
"update:modelValue": (
|
|
106
|
+
blur: (args_0: FocusEvent) => any;
|
|
107
|
+
focus: (args_0: FocusEvent) => any;
|
|
108
|
+
input: (args_0: string) => any;
|
|
109
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
110
|
+
"update:modelValue": (args_0: string) => any;
|
|
113
111
|
}, string, {
|
|
114
112
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
115
113
|
disabled: boolean;
|
|
116
114
|
label: string;
|
|
117
115
|
readonly: boolean;
|
|
118
116
|
id: string;
|
|
117
|
+
modelValue: string;
|
|
119
118
|
placeholder: string;
|
|
120
119
|
autofocus: boolean;
|
|
121
120
|
chevron: boolean;
|
|
@@ -156,6 +155,7 @@ declare const meta: {
|
|
|
156
155
|
label: string;
|
|
157
156
|
readonly: boolean;
|
|
158
157
|
id: string;
|
|
158
|
+
modelValue: string;
|
|
159
159
|
placeholder: string;
|
|
160
160
|
autofocus: boolean;
|
|
161
161
|
chevron: boolean;
|
|
@@ -172,7 +172,7 @@ declare const meta: {
|
|
|
172
172
|
isUiAutocomplete: boolean;
|
|
173
173
|
}> & Omit<Readonly<{
|
|
174
174
|
id?: string;
|
|
175
|
-
modelValue
|
|
175
|
+
modelValue?: string;
|
|
176
176
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
177
177
|
label?: string;
|
|
178
178
|
placeholder?: string;
|
|
@@ -192,12 +192,12 @@ declare const meta: {
|
|
|
192
192
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
193
193
|
isUiAutocomplete?: boolean;
|
|
194
194
|
}> & Readonly<{
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
onInput?: ((
|
|
198
|
-
onKeyup?: ((
|
|
199
|
-
"onUpdate:modelValue"?: ((
|
|
200
|
-
}>, "inputRef" | ("type" | "disabled" | "label" | "readonly" | "id" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
195
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
196
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
197
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
198
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
199
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
200
|
+
}>, "inputRef" | ("type" | "disabled" | "label" | "readonly" | "id" | "modelValue" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
201
201
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
202
202
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
203
203
|
$slots: {
|
|
@@ -7,11 +7,9 @@ type __VLS_Props = {
|
|
|
7
7
|
chevron?: boolean;
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
|
|
11
|
-
select: (...args: any[]) => void;
|
|
10
|
+
select: (args_0: string) => any;
|
|
12
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
-
|
|
14
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
onSelect?: ((args_0: string) => any) | undefined;
|
|
15
13
|
}>, {
|
|
16
14
|
label: string;
|
|
17
15
|
readonly: boolean;
|
|
@@ -25,7 +23,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
25
23
|
$data: {};
|
|
26
24
|
$props: {
|
|
27
25
|
readonly id?: string | undefined;
|
|
28
|
-
readonly modelValue
|
|
26
|
+
readonly modelValue?: string | undefined;
|
|
29
27
|
readonly type?: "text" | "number" | "time" | "date" | "password" | "datetime-local" | undefined;
|
|
30
28
|
readonly label?: string | undefined;
|
|
31
29
|
readonly placeholder?: string | undefined;
|
|
@@ -44,11 +42,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
44
42
|
readonly infoText?: string | undefined;
|
|
45
43
|
readonly inputStatus?: "default" | "info" | "readonly" | "warning" | "error" | undefined;
|
|
46
44
|
readonly isUiAutocomplete?: boolean | undefined;
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly onInput?: ((
|
|
50
|
-
readonly onKeyup?: ((
|
|
51
|
-
readonly "onUpdate:modelValue"?: ((
|
|
45
|
+
readonly onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
46
|
+
readonly onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
47
|
+
readonly onInput?: ((args_0: string) => any) | undefined;
|
|
48
|
+
readonly onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
49
|
+
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
52
50
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
53
51
|
$attrs: {
|
|
54
52
|
[x: string]: unknown;
|
|
@@ -64,11 +62,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
64
62
|
$root: import('vue').ComponentPublicInstance | null;
|
|
65
63
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
66
64
|
$host: Element | null;
|
|
67
|
-
$emit: ((event: "
|
|
65
|
+
$emit: ((event: "blur", args_0: FocusEvent) => void) & ((event: "focus", args_0: FocusEvent) => void) & ((event: "input", args_0: string) => void) & ((event: "keyup", args_0: KeyboardEvent) => void) & ((event: "update:modelValue", args_0: string) => void);
|
|
68
66
|
$el: any;
|
|
69
67
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
70
68
|
id?: string;
|
|
71
|
-
modelValue
|
|
69
|
+
modelValue?: string;
|
|
72
70
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
73
71
|
label?: string;
|
|
74
72
|
placeholder?: string;
|
|
@@ -88,25 +86,26 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
88
86
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
89
87
|
isUiAutocomplete?: boolean;
|
|
90
88
|
}> & Readonly<{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
onInput?: ((
|
|
94
|
-
onKeyup?: ((
|
|
95
|
-
"onUpdate:modelValue"?: ((
|
|
89
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
90
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
91
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
92
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
93
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
96
94
|
}>, {
|
|
97
95
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
98
96
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
input: (
|
|
102
|
-
keyup: (
|
|
103
|
-
"update:modelValue": (
|
|
97
|
+
blur: (args_0: FocusEvent) => any;
|
|
98
|
+
focus: (args_0: FocusEvent) => any;
|
|
99
|
+
input: (args_0: string) => any;
|
|
100
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
101
|
+
"update:modelValue": (args_0: string) => any;
|
|
104
102
|
}, string, {
|
|
105
103
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
106
104
|
disabled: boolean;
|
|
107
105
|
label: string;
|
|
108
106
|
readonly: boolean;
|
|
109
107
|
id: string;
|
|
108
|
+
modelValue: string;
|
|
110
109
|
placeholder: string;
|
|
111
110
|
autofocus: boolean;
|
|
112
111
|
chevron: boolean;
|
|
@@ -147,6 +146,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
147
146
|
label: string;
|
|
148
147
|
readonly: boolean;
|
|
149
148
|
id: string;
|
|
149
|
+
modelValue: string;
|
|
150
150
|
placeholder: string;
|
|
151
151
|
autofocus: boolean;
|
|
152
152
|
chevron: boolean;
|
|
@@ -163,7 +163,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
163
163
|
isUiAutocomplete: boolean;
|
|
164
164
|
}> & Omit<Readonly<{
|
|
165
165
|
id?: string;
|
|
166
|
-
modelValue
|
|
166
|
+
modelValue?: string;
|
|
167
167
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
168
168
|
label?: string;
|
|
169
169
|
placeholder?: string;
|
|
@@ -183,12 +183,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
183
183
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
184
184
|
isUiAutocomplete?: boolean;
|
|
185
185
|
}> & Readonly<{
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
onInput?: ((
|
|
189
|
-
onKeyup?: ((
|
|
190
|
-
"onUpdate:modelValue"?: ((
|
|
191
|
-
}>, "inputRef" | ("type" | "disabled" | "label" | "readonly" | "id" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
186
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
187
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
188
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
189
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
190
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
191
|
+
}>, "inputRef" | ("type" | "disabled" | "label" | "readonly" | "id" | "modelValue" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
192
192
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
193
193
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
194
194
|
$slots: {
|
|
@@ -13,7 +13,7 @@ declare const meta: {
|
|
|
13
13
|
rounded?: boolean;
|
|
14
14
|
}> & Readonly<{
|
|
15
15
|
onClick?: (() => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
click: () => any;
|
|
18
18
|
}, import('vue').PublicProps, {
|
|
19
19
|
size: "xs" | "small" | "medium" | "large";
|
|
@@ -62,7 +62,7 @@ declare const meta: {
|
|
|
62
62
|
rounded?: boolean;
|
|
63
63
|
}> & Readonly<{
|
|
64
64
|
onClick?: (() => any) | undefined;
|
|
65
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
66
|
click: () => any;
|
|
67
67
|
}, string, {
|
|
68
68
|
size: "xs" | "small" | "medium" | "large";
|
|
@@ -111,7 +111,7 @@ declare const meta: {
|
|
|
111
111
|
color: "blue";
|
|
112
112
|
size: "large";
|
|
113
113
|
disabledVariant: "primary";
|
|
114
|
-
href:
|
|
114
|
+
href: undefined;
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
117
|
export default meta;
|
|
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
17
17
|
rootEl: any;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
21
|
click: () => any;
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
23
|
onClick?: (() => any) | undefined;
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
+
import { default as UiButtonGroup } from './UiButtonGroup.vue';
|
|
1
2
|
import { StoryObj } from '@storybook/vue3';
|
|
3
|
+
type PropsAndStoryProps = InstanceType<typeof UiButtonGroup> & {
|
|
4
|
+
activeButton: number;
|
|
5
|
+
};
|
|
2
6
|
declare const meta: {
|
|
7
|
+
argTypes: {
|
|
8
|
+
activeButton: {
|
|
9
|
+
control: "number";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
args: {
|
|
13
|
+
activeButton: number;
|
|
14
|
+
};
|
|
3
15
|
title: string;
|
|
4
16
|
component: {
|
|
5
17
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -20,5 +32,5 @@ declare const meta: {
|
|
|
20
32
|
});
|
|
21
33
|
};
|
|
22
34
|
export default meta;
|
|
23
|
-
type Story = StoryObj<
|
|
35
|
+
type Story = StoryObj<PropsAndStoryProps>;
|
|
24
36
|
export declare const Default: Story;
|
|
@@ -10,9 +10,9 @@ declare const meta: {
|
|
|
10
10
|
showError?: boolean;
|
|
11
11
|
errorMessage?: string;
|
|
12
12
|
}> & Readonly<{
|
|
13
|
-
onChange?: ((
|
|
13
|
+
onChange?: ((args_0: boolean) => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
change: (
|
|
15
|
+
change: (args_0: boolean) => any;
|
|
16
16
|
}, import('vue').PublicProps, {
|
|
17
17
|
size: "small" | "medium";
|
|
18
18
|
disabled: boolean;
|
|
@@ -20,7 +20,7 @@ declare const meta: {
|
|
|
20
20
|
color: "blue" | "gray";
|
|
21
21
|
checked: boolean;
|
|
22
22
|
showError: boolean;
|
|
23
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {},
|
|
23
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
24
|
P: {};
|
|
25
25
|
B: {};
|
|
26
26
|
D: {};
|
|
@@ -35,7 +35,7 @@ declare const meta: {
|
|
|
35
35
|
showError?: boolean;
|
|
36
36
|
errorMessage?: string;
|
|
37
37
|
}> & Readonly<{
|
|
38
|
-
onChange?: ((
|
|
38
|
+
onChange?: ((args_0: boolean) => any) | undefined;
|
|
39
39
|
}>, {}, {}, {}, {}, {
|
|
40
40
|
size: "small" | "medium";
|
|
41
41
|
disabled: boolean;
|
|
@@ -55,9 +55,9 @@ declare const meta: {
|
|
|
55
55
|
showError?: boolean;
|
|
56
56
|
errorMessage?: string;
|
|
57
57
|
}> & Readonly<{
|
|
58
|
-
onChange?: ((
|
|
58
|
+
onChange?: ((args_0: boolean) => any) | undefined;
|
|
59
59
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
|
-
change: (
|
|
60
|
+
change: (args_0: boolean) => any;
|
|
61
61
|
}, string, {
|
|
62
62
|
size: "small" | "medium";
|
|
63
63
|
disabled: boolean;
|
|
@@ -104,3 +104,4 @@ declare const meta: {
|
|
|
104
104
|
export default meta;
|
|
105
105
|
type Story = StoryObj<typeof meta>;
|
|
106
106
|
export declare const Default: Story;
|
|
107
|
+
export declare const Group: Story;
|
|
@@ -12,13 +12,13 @@ declare function __VLS_template(): {
|
|
|
12
12
|
default?(_: {}): any;
|
|
13
13
|
};
|
|
14
14
|
refs: {};
|
|
15
|
-
rootEl:
|
|
15
|
+
rootEl: any;
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
change: (
|
|
19
|
+
change: (args_0: boolean) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
onChange?: ((
|
|
21
|
+
onChange?: ((args_0: boolean) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
size: "small" | "medium";
|
|
24
24
|
disabled: boolean;
|
|
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
26
26
|
color: "blue" | "gray";
|
|
27
27
|
checked: boolean;
|
|
28
28
|
showError: boolean;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
31
|
export default _default;
|
|
32
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,17 +6,17 @@ declare const meta: {
|
|
|
6
6
|
firstEntryChecksAll?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
input: (
|
|
10
|
-
"checked-all": (
|
|
11
|
-
"item-checked": (
|
|
9
|
+
input: (args_0: import('./UiCheckBoxGroup.vue').CheckboxItem[]) => any;
|
|
10
|
+
"checked-all": (args_0: boolean) => any;
|
|
11
|
+
"item-checked": (args_0: import('./UiCheckBoxGroup.vue').CheckboxItem) => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<{
|
|
13
13
|
item?: import('./UiCheckBoxGroup.vue').CheckboxItem[];
|
|
14
14
|
firstEntryChecksAll?: boolean;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
}> & Readonly<{
|
|
17
|
-
onInput?: ((
|
|
18
|
-
"onChecked-all"?: ((
|
|
19
|
-
"onItem-checked"?: ((
|
|
17
|
+
onInput?: ((args_0: import('./UiCheckBoxGroup.vue').CheckboxItem[]) => any) | undefined;
|
|
18
|
+
"onChecked-all"?: ((args_0: boolean) => any) | undefined;
|
|
19
|
+
"onItem-checked"?: ((args_0: import('./UiCheckBoxGroup.vue').CheckboxItem) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
disabled: boolean;
|
|
22
22
|
item: import('./UiCheckBoxGroup.vue').CheckboxItem[];
|
|
@@ -9,13 +9,13 @@ type __VLS_Props = {
|
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
input: (
|
|
13
|
-
"checked-all": (
|
|
14
|
-
"item-checked": (
|
|
12
|
+
input: (args_0: CheckboxItem[]) => any;
|
|
13
|
+
"checked-all": (args_0: boolean) => any;
|
|
14
|
+
"item-checked": (args_0: CheckboxItem) => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onInput?: ((
|
|
17
|
-
"onChecked-all"?: ((
|
|
18
|
-
"onItem-checked"?: ((
|
|
16
|
+
onInput?: ((args_0: CheckboxItem[]) => any) | undefined;
|
|
17
|
+
"onChecked-all"?: ((args_0: boolean) => any) | undefined;
|
|
18
|
+
"onItem-checked"?: ((args_0: CheckboxItem) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
item: CheckboxItem[];
|
|
@@ -3,12 +3,12 @@ declare const meta: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: import('vue').DefineComponent<{
|
|
5
5
|
modelValue: string;
|
|
6
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (args_0: string) => any;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<{
|
|
9
9
|
modelValue: string;
|
|
10
10
|
}> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((
|
|
11
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
modelValue: string;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
modelValue: string;
|
|
3
3
|
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (args_0: string) => any;
|
|
6
6
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((
|
|
7
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
modelValue: string;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|