@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
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import { default as UiSearchBar } from './UiSearchBar.vue';
|
|
1
2
|
import { StoryObj } from '@storybook/vue3';
|
|
3
|
+
type PropsAndStoryProps = InstanceType<typeof UiSearchBar> & {
|
|
4
|
+
hiddenFilterRules: number;
|
|
5
|
+
};
|
|
2
6
|
declare const meta: {
|
|
3
7
|
title: string;
|
|
4
8
|
component: {
|
|
@@ -6,32 +10,30 @@ declare const meta: {
|
|
|
6
10
|
modelValue: string;
|
|
7
11
|
placeholder?: string;
|
|
8
12
|
backgroundColor?: "gray" | "white";
|
|
9
|
-
hiddenFilterRules?: number;
|
|
10
13
|
isFilterChipEditable?: boolean;
|
|
11
14
|
hasChips?: boolean;
|
|
12
15
|
executeSearchButtonTitle?: string;
|
|
13
16
|
resetSearchButtonTittle?: string;
|
|
14
17
|
}> & Readonly<{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onSubmit?: ((
|
|
20
|
-
"onUpdate:modelValue"?: ((
|
|
18
|
+
onReset?: ((args_0: string) => any) | undefined;
|
|
19
|
+
onSearch?: ((args_0: string) => any) | undefined;
|
|
20
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
21
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
22
|
+
onSubmit?: ((args_0: string) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
21
24
|
}>, {
|
|
22
25
|
searchInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
23
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
submit: (
|
|
29
|
-
"update:modelValue": (
|
|
27
|
+
reset: (args_0: string) => any;
|
|
28
|
+
search: (args_0: string) => any;
|
|
29
|
+
blur: (args_0: FocusEvent) => any;
|
|
30
|
+
focus: (args_0: FocusEvent) => any;
|
|
31
|
+
submit: (args_0: string) => any;
|
|
32
|
+
"update:modelValue": (args_0: string) => any;
|
|
30
33
|
}, import('vue').PublicProps, {
|
|
31
34
|
modelValue: string;
|
|
32
35
|
placeholder: string;
|
|
33
36
|
backgroundColor: "gray" | "white";
|
|
34
|
-
hiddenFilterRules: number;
|
|
35
37
|
isFilterChipEditable: boolean;
|
|
36
38
|
hasChips: boolean;
|
|
37
39
|
executeSearchButtonTitle: string;
|
|
@@ -49,25 +51,23 @@ declare const meta: {
|
|
|
49
51
|
modelValue: string;
|
|
50
52
|
placeholder?: string;
|
|
51
53
|
backgroundColor?: "gray" | "white";
|
|
52
|
-
hiddenFilterRules?: number;
|
|
53
54
|
isFilterChipEditable?: boolean;
|
|
54
55
|
hasChips?: boolean;
|
|
55
56
|
executeSearchButtonTitle?: string;
|
|
56
57
|
resetSearchButtonTittle?: string;
|
|
57
58
|
}> & Readonly<{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
onSubmit?: ((
|
|
63
|
-
"onUpdate:modelValue"?: ((
|
|
59
|
+
onReset?: ((args_0: string) => any) | undefined;
|
|
60
|
+
onSearch?: ((args_0: string) => any) | undefined;
|
|
61
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
62
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
63
|
+
onSubmit?: ((args_0: string) => any) | undefined;
|
|
64
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
64
65
|
}>, {
|
|
65
66
|
searchInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
66
67
|
}, {}, {}, {}, {
|
|
67
68
|
modelValue: string;
|
|
68
69
|
placeholder: string;
|
|
69
70
|
backgroundColor: "gray" | "white";
|
|
70
|
-
hiddenFilterRules: number;
|
|
71
71
|
isFilterChipEditable: boolean;
|
|
72
72
|
hasChips: boolean;
|
|
73
73
|
executeSearchButtonTitle: string;
|
|
@@ -80,32 +80,30 @@ declare const meta: {
|
|
|
80
80
|
modelValue: string;
|
|
81
81
|
placeholder?: string;
|
|
82
82
|
backgroundColor?: "gray" | "white";
|
|
83
|
-
hiddenFilterRules?: number;
|
|
84
83
|
isFilterChipEditable?: boolean;
|
|
85
84
|
hasChips?: boolean;
|
|
86
85
|
executeSearchButtonTitle?: string;
|
|
87
86
|
resetSearchButtonTittle?: string;
|
|
88
87
|
}> & Readonly<{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
onSubmit?: ((
|
|
94
|
-
"onUpdate:modelValue"?: ((
|
|
88
|
+
onReset?: ((args_0: string) => any) | undefined;
|
|
89
|
+
onSearch?: ((args_0: string) => any) | undefined;
|
|
90
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
91
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
92
|
+
onSubmit?: ((args_0: string) => any) | undefined;
|
|
93
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
95
94
|
}>, {
|
|
96
95
|
searchInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
97
96
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
submit: (
|
|
103
|
-
"update:modelValue": (
|
|
97
|
+
reset: (args_0: string) => any;
|
|
98
|
+
search: (args_0: string) => any;
|
|
99
|
+
blur: (args_0: FocusEvent) => any;
|
|
100
|
+
focus: (args_0: FocusEvent) => any;
|
|
101
|
+
submit: (args_0: string) => any;
|
|
102
|
+
"update:modelValue": (args_0: string) => any;
|
|
104
103
|
}, string, {
|
|
105
104
|
modelValue: string;
|
|
106
105
|
placeholder: string;
|
|
107
106
|
backgroundColor: "gray" | "white";
|
|
108
|
-
hiddenFilterRules: number;
|
|
109
107
|
isFilterChipEditable: boolean;
|
|
110
108
|
hasChips: boolean;
|
|
111
109
|
executeSearchButtonTitle: string;
|
|
@@ -145,286 +143,7 @@ declare const meta: {
|
|
|
145
143
|
};
|
|
146
144
|
};
|
|
147
145
|
export default meta;
|
|
148
|
-
type Story = StoryObj<
|
|
146
|
+
type Story = StoryObj<PropsAndStoryProps>;
|
|
149
147
|
export declare const Default: Story;
|
|
150
148
|
export declare const WithActionButtons: Story;
|
|
151
|
-
export declare const WithChips:
|
|
152
|
-
render: (args: any) => {
|
|
153
|
-
components: {
|
|
154
|
-
UiSearchBar: {
|
|
155
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
156
|
-
modelValue: string;
|
|
157
|
-
placeholder?: string;
|
|
158
|
-
backgroundColor?: "gray" | "white";
|
|
159
|
-
hiddenFilterRules?: number;
|
|
160
|
-
isFilterChipEditable?: boolean;
|
|
161
|
-
hasChips?: boolean;
|
|
162
|
-
executeSearchButtonTitle?: string;
|
|
163
|
-
resetSearchButtonTittle?: string;
|
|
164
|
-
}> & Readonly<{
|
|
165
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
166
|
-
onReset?: ((...args: any[]) => any) | undefined;
|
|
167
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
168
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
169
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
170
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
171
|
-
}>, {
|
|
172
|
-
searchInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
173
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
174
|
-
focus: (...args: any[]) => void;
|
|
175
|
-
reset: (...args: any[]) => void;
|
|
176
|
-
search: (...args: any[]) => void;
|
|
177
|
-
blur: (...args: any[]) => void;
|
|
178
|
-
submit: (...args: any[]) => void;
|
|
179
|
-
"update:modelValue": (...args: any[]) => void;
|
|
180
|
-
}, import('vue').PublicProps, {
|
|
181
|
-
modelValue: string;
|
|
182
|
-
placeholder: string;
|
|
183
|
-
backgroundColor: "gray" | "white";
|
|
184
|
-
hiddenFilterRules: number;
|
|
185
|
-
isFilterChipEditable: boolean;
|
|
186
|
-
hasChips: boolean;
|
|
187
|
-
executeSearchButtonTitle: string;
|
|
188
|
-
resetSearchButtonTittle: string;
|
|
189
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
190
|
-
searchInputRef: HTMLInputElement;
|
|
191
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
192
|
-
P: {};
|
|
193
|
-
B: {};
|
|
194
|
-
D: {};
|
|
195
|
-
C: {};
|
|
196
|
-
M: {};
|
|
197
|
-
Defaults: {};
|
|
198
|
-
}, Readonly<{
|
|
199
|
-
modelValue: string;
|
|
200
|
-
placeholder?: string;
|
|
201
|
-
backgroundColor?: "gray" | "white";
|
|
202
|
-
hiddenFilterRules?: number;
|
|
203
|
-
isFilterChipEditable?: boolean;
|
|
204
|
-
hasChips?: boolean;
|
|
205
|
-
executeSearchButtonTitle?: string;
|
|
206
|
-
resetSearchButtonTittle?: string;
|
|
207
|
-
}> & Readonly<{
|
|
208
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
209
|
-
onReset?: ((...args: any[]) => any) | undefined;
|
|
210
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
211
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
212
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
213
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
214
|
-
}>, {
|
|
215
|
-
searchInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
216
|
-
}, {}, {}, {}, {
|
|
217
|
-
modelValue: string;
|
|
218
|
-
placeholder: string;
|
|
219
|
-
backgroundColor: "gray" | "white";
|
|
220
|
-
hiddenFilterRules: number;
|
|
221
|
-
isFilterChipEditable: boolean;
|
|
222
|
-
hasChips: boolean;
|
|
223
|
-
executeSearchButtonTitle: string;
|
|
224
|
-
resetSearchButtonTittle: string;
|
|
225
|
-
}>;
|
|
226
|
-
__isFragment?: never;
|
|
227
|
-
__isTeleport?: never;
|
|
228
|
-
__isSuspense?: never;
|
|
229
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
230
|
-
modelValue: string;
|
|
231
|
-
placeholder?: string;
|
|
232
|
-
backgroundColor?: "gray" | "white";
|
|
233
|
-
hiddenFilterRules?: number;
|
|
234
|
-
isFilterChipEditable?: boolean;
|
|
235
|
-
hasChips?: boolean;
|
|
236
|
-
executeSearchButtonTitle?: string;
|
|
237
|
-
resetSearchButtonTittle?: string;
|
|
238
|
-
}> & Readonly<{
|
|
239
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
240
|
-
onReset?: ((...args: any[]) => any) | undefined;
|
|
241
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
242
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
243
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
244
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
245
|
-
}>, {
|
|
246
|
-
searchInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
247
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
248
|
-
focus: (...args: any[]) => void;
|
|
249
|
-
reset: (...args: any[]) => void;
|
|
250
|
-
search: (...args: any[]) => void;
|
|
251
|
-
blur: (...args: any[]) => void;
|
|
252
|
-
submit: (...args: any[]) => void;
|
|
253
|
-
"update:modelValue": (...args: any[]) => void;
|
|
254
|
-
}, string, {
|
|
255
|
-
modelValue: string;
|
|
256
|
-
placeholder: string;
|
|
257
|
-
backgroundColor: "gray" | "white";
|
|
258
|
-
hiddenFilterRules: number;
|
|
259
|
-
isFilterChipEditable: boolean;
|
|
260
|
-
hasChips: boolean;
|
|
261
|
-
executeSearchButtonTitle: string;
|
|
262
|
-
resetSearchButtonTittle: string;
|
|
263
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
264
|
-
$slots: {
|
|
265
|
-
nonEditableChips?(_: {}): any;
|
|
266
|
-
editableChips?(_: {}): any;
|
|
267
|
-
searchCriteriaButton?(_: {}): any;
|
|
268
|
-
extendedSearchButton?(_: {}): any;
|
|
269
|
-
};
|
|
270
|
-
});
|
|
271
|
-
UiButton: {
|
|
272
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
273
|
-
iconName?: typeof import('../UiIcon/iconNames').iconNames[number] | null;
|
|
274
|
-
size?: "xs" | "small" | "medium" | "large";
|
|
275
|
-
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
276
|
-
disabledVariant?: "primary" | "secondary";
|
|
277
|
-
disabled?: boolean;
|
|
278
|
-
href?: string;
|
|
279
|
-
rounded?: boolean;
|
|
280
|
-
}> & Readonly<{
|
|
281
|
-
onClick?: (() => any) | undefined;
|
|
282
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
283
|
-
click: () => any;
|
|
284
|
-
}, import('vue').PublicProps, {
|
|
285
|
-
size: "xs" | "small" | "medium" | "large";
|
|
286
|
-
disabled: boolean;
|
|
287
|
-
color: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
288
|
-
rounded: boolean;
|
|
289
|
-
iconName: typeof import('../UiIcon/iconNames').iconNames[number] | null;
|
|
290
|
-
disabledVariant: "primary" | "secondary";
|
|
291
|
-
href: string;
|
|
292
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
293
|
-
P: {};
|
|
294
|
-
B: {};
|
|
295
|
-
D: {};
|
|
296
|
-
C: {};
|
|
297
|
-
M: {};
|
|
298
|
-
Defaults: {};
|
|
299
|
-
}, Readonly<{
|
|
300
|
-
iconName?: typeof import('../UiIcon/iconNames').iconNames[number] | null;
|
|
301
|
-
size?: "xs" | "small" | "medium" | "large";
|
|
302
|
-
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
303
|
-
disabledVariant?: "primary" | "secondary";
|
|
304
|
-
disabled?: boolean;
|
|
305
|
-
href?: string;
|
|
306
|
-
rounded?: boolean;
|
|
307
|
-
}> & Readonly<{
|
|
308
|
-
onClick?: (() => any) | undefined;
|
|
309
|
-
}>, {}, {}, {}, {}, {
|
|
310
|
-
size: "xs" | "small" | "medium" | "large";
|
|
311
|
-
disabled: boolean;
|
|
312
|
-
color: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
313
|
-
rounded: boolean;
|
|
314
|
-
iconName: typeof import('../UiIcon/iconNames').iconNames[number] | null;
|
|
315
|
-
disabledVariant: "primary" | "secondary";
|
|
316
|
-
href: string;
|
|
317
|
-
}>;
|
|
318
|
-
__isFragment?: never;
|
|
319
|
-
__isTeleport?: never;
|
|
320
|
-
__isSuspense?: never;
|
|
321
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
322
|
-
iconName?: typeof import('../UiIcon/iconNames').iconNames[number] | null;
|
|
323
|
-
size?: "xs" | "small" | "medium" | "large";
|
|
324
|
-
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
325
|
-
disabledVariant?: "primary" | "secondary";
|
|
326
|
-
disabled?: boolean;
|
|
327
|
-
href?: string;
|
|
328
|
-
rounded?: boolean;
|
|
329
|
-
}> & Readonly<{
|
|
330
|
-
onClick?: (() => any) | undefined;
|
|
331
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
332
|
-
click: () => any;
|
|
333
|
-
}, string, {
|
|
334
|
-
size: "xs" | "small" | "medium" | "large";
|
|
335
|
-
disabled: boolean;
|
|
336
|
-
color: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
337
|
-
rounded: boolean;
|
|
338
|
-
iconName: typeof import('../UiIcon/iconNames').iconNames[number] | null;
|
|
339
|
-
disabledVariant: "primary" | "secondary";
|
|
340
|
-
href: string;
|
|
341
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
342
|
-
$slots: {
|
|
343
|
-
default?(_: {}): any;
|
|
344
|
-
};
|
|
345
|
-
});
|
|
346
|
-
UiIconButton: import('vue').DefineComponent<{
|
|
347
|
-
iconName: typeof import('../UiIcon/iconNames').iconNames[number];
|
|
348
|
-
title?: string;
|
|
349
|
-
disabled?: boolean;
|
|
350
|
-
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
351
|
-
iconColor?: "blue" | "gray" | "white";
|
|
352
|
-
size?: "small" | "medium" | "large" | "xl";
|
|
353
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
354
|
-
click: (payload: any) => any;
|
|
355
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
356
|
-
iconName: typeof import('../UiIcon/iconNames').iconNames[number];
|
|
357
|
-
title?: string;
|
|
358
|
-
disabled?: boolean;
|
|
359
|
-
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
360
|
-
iconColor?: "blue" | "gray" | "white";
|
|
361
|
-
size?: "small" | "medium" | "large" | "xl";
|
|
362
|
-
}> & Readonly<{
|
|
363
|
-
onClick?: ((payload: any) => any) | undefined;
|
|
364
|
-
}>, {
|
|
365
|
-
size: "small" | "medium" | "large" | "xl";
|
|
366
|
-
disabled: boolean;
|
|
367
|
-
title: string;
|
|
368
|
-
backgroundColor: "blue" | "none" | "gray-hover";
|
|
369
|
-
iconColor: "blue" | "gray" | "white";
|
|
370
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
371
|
-
UiIcon: import('vue').DefineComponent<{
|
|
372
|
-
name: typeof import('../UiIcon/iconNames').iconNames[number];
|
|
373
|
-
size?: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
374
|
-
sizeClasses?: string;
|
|
375
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
376
|
-
name: typeof import('../UiIcon/iconNames').iconNames[number];
|
|
377
|
-
size?: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
378
|
-
sizeClasses?: string;
|
|
379
|
-
}> & Readonly<{}>, {
|
|
380
|
-
size: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
381
|
-
sizeClasses: string;
|
|
382
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
383
|
-
UiChip: {
|
|
384
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
385
|
-
cursorStyle?: "default" | "text" | "pointer";
|
|
386
|
-
isVisible?: boolean;
|
|
387
|
-
size?: "small" | "medium" | "big";
|
|
388
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
389
|
-
size: "small" | "medium" | "big";
|
|
390
|
-
cursorStyle: "default" | "text" | "pointer";
|
|
391
|
-
isVisible: boolean;
|
|
392
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
393
|
-
P: {};
|
|
394
|
-
B: {};
|
|
395
|
-
D: {};
|
|
396
|
-
C: {};
|
|
397
|
-
M: {};
|
|
398
|
-
Defaults: {};
|
|
399
|
-
}, Readonly<{
|
|
400
|
-
cursorStyle?: "default" | "text" | "pointer";
|
|
401
|
-
isVisible?: boolean;
|
|
402
|
-
size?: "small" | "medium" | "big";
|
|
403
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
404
|
-
size: "small" | "medium" | "big";
|
|
405
|
-
cursorStyle: "default" | "text" | "pointer";
|
|
406
|
-
isVisible: boolean;
|
|
407
|
-
}>;
|
|
408
|
-
__isFragment?: never;
|
|
409
|
-
__isTeleport?: never;
|
|
410
|
-
__isSuspense?: never;
|
|
411
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
412
|
-
cursorStyle?: "default" | "text" | "pointer";
|
|
413
|
-
isVisible?: boolean;
|
|
414
|
-
size?: "small" | "medium" | "big";
|
|
415
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
416
|
-
size: "small" | "medium" | "big";
|
|
417
|
-
cursorStyle: "default" | "text" | "pointer";
|
|
418
|
-
isVisible: boolean;
|
|
419
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
420
|
-
$slots: {
|
|
421
|
-
default?(_: {}): any;
|
|
422
|
-
};
|
|
423
|
-
});
|
|
424
|
-
};
|
|
425
|
-
setup(): {
|
|
426
|
-
args: any;
|
|
427
|
-
};
|
|
428
|
-
template: string;
|
|
429
|
-
};
|
|
430
|
-
};
|
|
149
|
+
export declare const WithChips: Story;
|
|
@@ -2,7 +2,6 @@ type __VLS_Props = {
|
|
|
2
2
|
modelValue: string;
|
|
3
3
|
placeholder?: string;
|
|
4
4
|
backgroundColor?: "gray" | "white";
|
|
5
|
-
hiddenFilterRules?: number;
|
|
6
5
|
isFilterChipEditable?: boolean;
|
|
7
6
|
hasChips?: boolean;
|
|
8
7
|
executeSearchButtonTitle?: string;
|
|
@@ -25,24 +24,23 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
25
24
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
26
25
|
searchInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
27
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
submit: (
|
|
33
|
-
"update:modelValue": (
|
|
27
|
+
reset: (args_0: string) => any;
|
|
28
|
+
search: (args_0: string) => any;
|
|
29
|
+
blur: (args_0: FocusEvent) => any;
|
|
30
|
+
focus: (args_0: FocusEvent) => any;
|
|
31
|
+
submit: (args_0: string) => any;
|
|
32
|
+
"update:modelValue": (args_0: string) => any;
|
|
34
33
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
onSubmit?: ((
|
|
40
|
-
"onUpdate:modelValue"?: ((
|
|
34
|
+
onReset?: ((args_0: string) => any) | undefined;
|
|
35
|
+
onSearch?: ((args_0: string) => any) | undefined;
|
|
36
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
37
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
38
|
+
onSubmit?: ((args_0: string) => any) | undefined;
|
|
39
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
41
40
|
}>, {
|
|
42
41
|
modelValue: string;
|
|
43
42
|
placeholder: string;
|
|
44
43
|
backgroundColor: "gray" | "white";
|
|
45
|
-
hiddenFilterRules: number;
|
|
46
44
|
isFilterChipEditable: boolean;
|
|
47
45
|
hasChips: boolean;
|
|
48
46
|
executeSearchButtonTitle: string;
|