@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
|
@@ -4,7 +4,7 @@ declare const meta: {
|
|
|
4
4
|
component: {
|
|
5
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
6
|
id?: string;
|
|
7
|
-
modelValue
|
|
7
|
+
modelValue?: string;
|
|
8
8
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
9
9
|
label?: string;
|
|
10
10
|
placeholder?: string;
|
|
@@ -24,25 +24,26 @@ declare const meta: {
|
|
|
24
24
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
25
25
|
isUiAutocomplete?: boolean;
|
|
26
26
|
}> & Readonly<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
onInput?: ((
|
|
30
|
-
onKeyup?: ((
|
|
31
|
-
"onUpdate:modelValue"?: ((
|
|
27
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
28
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
29
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
30
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
31
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
34
34
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
input: (
|
|
38
|
-
keyup: (
|
|
39
|
-
"update:modelValue": (
|
|
35
|
+
blur: (args_0: FocusEvent) => any;
|
|
36
|
+
focus: (args_0: FocusEvent) => any;
|
|
37
|
+
input: (args_0: string) => any;
|
|
38
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
39
|
+
"update:modelValue": (args_0: string) => any;
|
|
40
40
|
}, import('vue').PublicProps, {
|
|
41
41
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
label: string;
|
|
44
44
|
readonly: boolean;
|
|
45
45
|
id: string;
|
|
46
|
+
modelValue: string;
|
|
46
47
|
placeholder: string;
|
|
47
48
|
autofocus: boolean;
|
|
48
49
|
chevron: boolean;
|
|
@@ -68,7 +69,7 @@ declare const meta: {
|
|
|
68
69
|
Defaults: {};
|
|
69
70
|
}, Readonly<{
|
|
70
71
|
id?: string;
|
|
71
|
-
modelValue
|
|
72
|
+
modelValue?: string;
|
|
72
73
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
73
74
|
label?: string;
|
|
74
75
|
placeholder?: string;
|
|
@@ -88,11 +89,11 @@ declare const meta: {
|
|
|
88
89
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
89
90
|
isUiAutocomplete?: boolean;
|
|
90
91
|
}> & Readonly<{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
onInput?: ((
|
|
94
|
-
onKeyup?: ((
|
|
95
|
-
"onUpdate:modelValue"?: ((
|
|
92
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
93
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
94
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
95
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
96
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
96
97
|
}>, {
|
|
97
98
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
98
99
|
}, {}, {}, {}, {
|
|
@@ -101,6 +102,7 @@ declare const meta: {
|
|
|
101
102
|
label: string;
|
|
102
103
|
readonly: boolean;
|
|
103
104
|
id: string;
|
|
105
|
+
modelValue: string;
|
|
104
106
|
placeholder: string;
|
|
105
107
|
autofocus: boolean;
|
|
106
108
|
chevron: boolean;
|
|
@@ -121,7 +123,7 @@ declare const meta: {
|
|
|
121
123
|
__isSuspense?: never;
|
|
122
124
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
123
125
|
id?: string;
|
|
124
|
-
modelValue
|
|
126
|
+
modelValue?: string;
|
|
125
127
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
126
128
|
label?: string;
|
|
127
129
|
placeholder?: string;
|
|
@@ -141,25 +143,26 @@ declare const meta: {
|
|
|
141
143
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
142
144
|
isUiAutocomplete?: boolean;
|
|
143
145
|
}> & Readonly<{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
onInput?: ((
|
|
147
|
-
onKeyup?: ((
|
|
148
|
-
"onUpdate:modelValue"?: ((
|
|
146
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
147
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
148
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
149
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
150
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
149
151
|
}>, {
|
|
150
152
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
151
153
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
input: (
|
|
155
|
-
keyup: (
|
|
156
|
-
"update:modelValue": (
|
|
154
|
+
blur: (args_0: FocusEvent) => any;
|
|
155
|
+
focus: (args_0: FocusEvent) => any;
|
|
156
|
+
input: (args_0: string) => any;
|
|
157
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
158
|
+
"update:modelValue": (args_0: string) => any;
|
|
157
159
|
}, string, {
|
|
158
160
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
159
161
|
disabled: boolean;
|
|
160
162
|
label: string;
|
|
161
163
|
readonly: boolean;
|
|
162
164
|
id: string;
|
|
165
|
+
modelValue: string;
|
|
163
166
|
placeholder: string;
|
|
164
167
|
autofocus: boolean;
|
|
165
168
|
chevron: boolean;
|
|
@@ -195,12 +198,6 @@ declare const meta: {
|
|
|
195
198
|
};
|
|
196
199
|
options: string[];
|
|
197
200
|
};
|
|
198
|
-
min: {
|
|
199
|
-
control: string;
|
|
200
|
-
};
|
|
201
|
-
max: {
|
|
202
|
-
control: string;
|
|
203
|
-
};
|
|
204
201
|
label: {
|
|
205
202
|
control: "text";
|
|
206
203
|
};
|
|
@@ -237,7 +234,7 @@ declare const meta: {
|
|
|
237
234
|
type: "text";
|
|
238
235
|
inputStatus: "default";
|
|
239
236
|
label: string;
|
|
240
|
-
placeholder:
|
|
237
|
+
placeholder: undefined;
|
|
241
238
|
autofocus: false;
|
|
242
239
|
chevron: false;
|
|
243
240
|
disabled: false;
|
|
@@ -247,12 +244,192 @@ declare const meta: {
|
|
|
247
244
|
warningMessage: string;
|
|
248
245
|
isTextarea: false;
|
|
249
246
|
};
|
|
250
|
-
render: (args:
|
|
247
|
+
render: (args: import('@storybook/vue3').ComponentPropsAndSlots<{
|
|
248
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
249
|
+
id?: string;
|
|
250
|
+
modelValue?: string;
|
|
251
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
252
|
+
label?: string;
|
|
253
|
+
placeholder?: string;
|
|
254
|
+
autofocus?: boolean;
|
|
255
|
+
chevron?: boolean;
|
|
256
|
+
readonly?: boolean;
|
|
257
|
+
disabled?: boolean;
|
|
258
|
+
isDateTimePicker?: boolean;
|
|
259
|
+
autocomplete?: string;
|
|
260
|
+
isInvalid?: boolean;
|
|
261
|
+
errorMessage?: string;
|
|
262
|
+
showWarning?: boolean;
|
|
263
|
+
warningMessage?: string;
|
|
264
|
+
isTextarea?: boolean;
|
|
265
|
+
hasInfo?: boolean;
|
|
266
|
+
infoText?: string;
|
|
267
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
268
|
+
isUiAutocomplete?: boolean;
|
|
269
|
+
}> & Readonly<{
|
|
270
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
271
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
272
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
273
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
274
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
275
|
+
}>, {
|
|
276
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
277
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
278
|
+
blur: (args_0: FocusEvent) => any;
|
|
279
|
+
focus: (args_0: FocusEvent) => any;
|
|
280
|
+
input: (args_0: string) => any;
|
|
281
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
282
|
+
"update:modelValue": (args_0: string) => any;
|
|
283
|
+
}, import('vue').PublicProps, {
|
|
284
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
285
|
+
disabled: boolean;
|
|
286
|
+
label: string;
|
|
287
|
+
readonly: boolean;
|
|
288
|
+
id: string;
|
|
289
|
+
modelValue: string;
|
|
290
|
+
placeholder: string;
|
|
291
|
+
autofocus: boolean;
|
|
292
|
+
chevron: boolean;
|
|
293
|
+
isDateTimePicker: boolean;
|
|
294
|
+
autocomplete: string;
|
|
295
|
+
isInvalid: boolean;
|
|
296
|
+
errorMessage: string;
|
|
297
|
+
showWarning: boolean;
|
|
298
|
+
warningMessage: string;
|
|
299
|
+
isTextarea: boolean;
|
|
300
|
+
hasInfo: boolean;
|
|
301
|
+
infoText: string;
|
|
302
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
303
|
+
isUiAutocomplete: boolean;
|
|
304
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
305
|
+
inputRef: unknown;
|
|
306
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
307
|
+
P: {};
|
|
308
|
+
B: {};
|
|
309
|
+
D: {};
|
|
310
|
+
C: {};
|
|
311
|
+
M: {};
|
|
312
|
+
Defaults: {};
|
|
313
|
+
}, Readonly<{
|
|
314
|
+
id?: string;
|
|
315
|
+
modelValue?: string;
|
|
316
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
317
|
+
label?: string;
|
|
318
|
+
placeholder?: string;
|
|
319
|
+
autofocus?: boolean;
|
|
320
|
+
chevron?: boolean;
|
|
321
|
+
readonly?: boolean;
|
|
322
|
+
disabled?: boolean;
|
|
323
|
+
isDateTimePicker?: boolean;
|
|
324
|
+
autocomplete?: string;
|
|
325
|
+
isInvalid?: boolean;
|
|
326
|
+
errorMessage?: string;
|
|
327
|
+
showWarning?: boolean;
|
|
328
|
+
warningMessage?: string;
|
|
329
|
+
isTextarea?: boolean;
|
|
330
|
+
hasInfo?: boolean;
|
|
331
|
+
infoText?: string;
|
|
332
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
333
|
+
isUiAutocomplete?: boolean;
|
|
334
|
+
}> & Readonly<{
|
|
335
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
336
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
337
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
338
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
339
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
340
|
+
}>, {
|
|
341
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
342
|
+
}, {}, {}, {}, {
|
|
343
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
344
|
+
disabled: boolean;
|
|
345
|
+
label: string;
|
|
346
|
+
readonly: boolean;
|
|
347
|
+
id: string;
|
|
348
|
+
modelValue: string;
|
|
349
|
+
placeholder: string;
|
|
350
|
+
autofocus: boolean;
|
|
351
|
+
chevron: boolean;
|
|
352
|
+
isDateTimePicker: boolean;
|
|
353
|
+
autocomplete: string;
|
|
354
|
+
isInvalid: boolean;
|
|
355
|
+
errorMessage: string;
|
|
356
|
+
showWarning: boolean;
|
|
357
|
+
warningMessage: string;
|
|
358
|
+
isTextarea: boolean;
|
|
359
|
+
hasInfo: boolean;
|
|
360
|
+
infoText: string;
|
|
361
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
362
|
+
isUiAutocomplete: boolean;
|
|
363
|
+
}>;
|
|
364
|
+
__isFragment?: never;
|
|
365
|
+
__isTeleport?: never;
|
|
366
|
+
__isSuspense?: never;
|
|
367
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
368
|
+
id?: string;
|
|
369
|
+
modelValue?: string;
|
|
370
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
371
|
+
label?: string;
|
|
372
|
+
placeholder?: string;
|
|
373
|
+
autofocus?: boolean;
|
|
374
|
+
chevron?: boolean;
|
|
375
|
+
readonly?: boolean;
|
|
376
|
+
disabled?: boolean;
|
|
377
|
+
isDateTimePicker?: boolean;
|
|
378
|
+
autocomplete?: string;
|
|
379
|
+
isInvalid?: boolean;
|
|
380
|
+
errorMessage?: string;
|
|
381
|
+
showWarning?: boolean;
|
|
382
|
+
warningMessage?: string;
|
|
383
|
+
isTextarea?: boolean;
|
|
384
|
+
hasInfo?: boolean;
|
|
385
|
+
infoText?: string;
|
|
386
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
387
|
+
isUiAutocomplete?: boolean;
|
|
388
|
+
}> & Readonly<{
|
|
389
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
390
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
391
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
392
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
393
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
394
|
+
}>, {
|
|
395
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
396
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
397
|
+
blur: (args_0: FocusEvent) => any;
|
|
398
|
+
focus: (args_0: FocusEvent) => any;
|
|
399
|
+
input: (args_0: string) => any;
|
|
400
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
401
|
+
"update:modelValue": (args_0: string) => any;
|
|
402
|
+
}, string, {
|
|
403
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
404
|
+
disabled: boolean;
|
|
405
|
+
label: string;
|
|
406
|
+
readonly: boolean;
|
|
407
|
+
id: string;
|
|
408
|
+
modelValue: string;
|
|
409
|
+
placeholder: string;
|
|
410
|
+
autofocus: boolean;
|
|
411
|
+
chevron: boolean;
|
|
412
|
+
isDateTimePicker: boolean;
|
|
413
|
+
autocomplete: string;
|
|
414
|
+
isInvalid: boolean;
|
|
415
|
+
errorMessage: string;
|
|
416
|
+
showWarning: boolean;
|
|
417
|
+
warningMessage: string;
|
|
418
|
+
isTextarea: boolean;
|
|
419
|
+
hasInfo: boolean;
|
|
420
|
+
infoText: string;
|
|
421
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
422
|
+
isUiAutocomplete: boolean;
|
|
423
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
424
|
+
$slots: {
|
|
425
|
+
buttons?(_: {}): any;
|
|
426
|
+
};
|
|
427
|
+
})>) => {
|
|
251
428
|
components: {
|
|
252
429
|
UiInput: {
|
|
253
430
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
254
431
|
id?: string;
|
|
255
|
-
modelValue
|
|
432
|
+
modelValue?: string;
|
|
256
433
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
257
434
|
label?: string;
|
|
258
435
|
placeholder?: string;
|
|
@@ -272,25 +449,26 @@ declare const meta: {
|
|
|
272
449
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
273
450
|
isUiAutocomplete?: boolean;
|
|
274
451
|
}> & Readonly<{
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
onInput?: ((
|
|
278
|
-
onKeyup?: ((
|
|
279
|
-
"onUpdate:modelValue"?: ((
|
|
452
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
453
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
454
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
455
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
456
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
280
457
|
}>, {
|
|
281
458
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
282
459
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
input: (
|
|
286
|
-
keyup: (
|
|
287
|
-
"update:modelValue": (
|
|
460
|
+
blur: (args_0: FocusEvent) => any;
|
|
461
|
+
focus: (args_0: FocusEvent) => any;
|
|
462
|
+
input: (args_0: string) => any;
|
|
463
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
464
|
+
"update:modelValue": (args_0: string) => any;
|
|
288
465
|
}, import('vue').PublicProps, {
|
|
289
466
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
290
467
|
disabled: boolean;
|
|
291
468
|
label: string;
|
|
292
469
|
readonly: boolean;
|
|
293
470
|
id: string;
|
|
471
|
+
modelValue: string;
|
|
294
472
|
placeholder: string;
|
|
295
473
|
autofocus: boolean;
|
|
296
474
|
chevron: boolean;
|
|
@@ -316,7 +494,7 @@ declare const meta: {
|
|
|
316
494
|
Defaults: {};
|
|
317
495
|
}, Readonly<{
|
|
318
496
|
id?: string;
|
|
319
|
-
modelValue
|
|
497
|
+
modelValue?: string;
|
|
320
498
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
321
499
|
label?: string;
|
|
322
500
|
placeholder?: string;
|
|
@@ -336,11 +514,11 @@ declare const meta: {
|
|
|
336
514
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
337
515
|
isUiAutocomplete?: boolean;
|
|
338
516
|
}> & Readonly<{
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
onInput?: ((
|
|
342
|
-
onKeyup?: ((
|
|
343
|
-
"onUpdate:modelValue"?: ((
|
|
517
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
518
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
519
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
520
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
521
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
344
522
|
}>, {
|
|
345
523
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
346
524
|
}, {}, {}, {}, {
|
|
@@ -349,6 +527,7 @@ declare const meta: {
|
|
|
349
527
|
label: string;
|
|
350
528
|
readonly: boolean;
|
|
351
529
|
id: string;
|
|
530
|
+
modelValue: string;
|
|
352
531
|
placeholder: string;
|
|
353
532
|
autofocus: boolean;
|
|
354
533
|
chevron: boolean;
|
|
@@ -369,7 +548,7 @@ declare const meta: {
|
|
|
369
548
|
__isSuspense?: never;
|
|
370
549
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
371
550
|
id?: string;
|
|
372
|
-
modelValue
|
|
551
|
+
modelValue?: string;
|
|
373
552
|
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
374
553
|
label?: string;
|
|
375
554
|
placeholder?: string;
|
|
@@ -389,25 +568,26 @@ declare const meta: {
|
|
|
389
568
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
390
569
|
isUiAutocomplete?: boolean;
|
|
391
570
|
}> & Readonly<{
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
onInput?: ((
|
|
395
|
-
onKeyup?: ((
|
|
396
|
-
"onUpdate:modelValue"?: ((
|
|
571
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
572
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
573
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
574
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
575
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
397
576
|
}>, {
|
|
398
577
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
399
578
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
input: (
|
|
403
|
-
keyup: (
|
|
404
|
-
"update:modelValue": (
|
|
579
|
+
blur: (args_0: FocusEvent) => any;
|
|
580
|
+
focus: (args_0: FocusEvent) => any;
|
|
581
|
+
input: (args_0: string) => any;
|
|
582
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
583
|
+
"update:modelValue": (args_0: string) => any;
|
|
405
584
|
}, string, {
|
|
406
585
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
407
586
|
disabled: boolean;
|
|
408
587
|
label: string;
|
|
409
588
|
readonly: boolean;
|
|
410
589
|
id: string;
|
|
590
|
+
modelValue: string;
|
|
411
591
|
placeholder: string;
|
|
412
592
|
autofocus: boolean;
|
|
413
593
|
chevron: boolean;
|
|
@@ -429,7 +609,187 @@ declare const meta: {
|
|
|
429
609
|
});
|
|
430
610
|
};
|
|
431
611
|
setup(this: void): {
|
|
432
|
-
args:
|
|
612
|
+
args: import('@storybook/vue3').ComponentPropsAndSlots<{
|
|
613
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
614
|
+
id?: string;
|
|
615
|
+
modelValue?: string;
|
|
616
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
617
|
+
label?: string;
|
|
618
|
+
placeholder?: string;
|
|
619
|
+
autofocus?: boolean;
|
|
620
|
+
chevron?: boolean;
|
|
621
|
+
readonly?: boolean;
|
|
622
|
+
disabled?: boolean;
|
|
623
|
+
isDateTimePicker?: boolean;
|
|
624
|
+
autocomplete?: string;
|
|
625
|
+
isInvalid?: boolean;
|
|
626
|
+
errorMessage?: string;
|
|
627
|
+
showWarning?: boolean;
|
|
628
|
+
warningMessage?: string;
|
|
629
|
+
isTextarea?: boolean;
|
|
630
|
+
hasInfo?: boolean;
|
|
631
|
+
infoText?: string;
|
|
632
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
633
|
+
isUiAutocomplete?: boolean;
|
|
634
|
+
}> & Readonly<{
|
|
635
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
636
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
637
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
638
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
639
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
640
|
+
}>, {
|
|
641
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
642
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
643
|
+
blur: (args_0: FocusEvent) => any;
|
|
644
|
+
focus: (args_0: FocusEvent) => any;
|
|
645
|
+
input: (args_0: string) => any;
|
|
646
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
647
|
+
"update:modelValue": (args_0: string) => any;
|
|
648
|
+
}, import('vue').PublicProps, {
|
|
649
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
650
|
+
disabled: boolean;
|
|
651
|
+
label: string;
|
|
652
|
+
readonly: boolean;
|
|
653
|
+
id: string;
|
|
654
|
+
modelValue: string;
|
|
655
|
+
placeholder: string;
|
|
656
|
+
autofocus: boolean;
|
|
657
|
+
chevron: boolean;
|
|
658
|
+
isDateTimePicker: boolean;
|
|
659
|
+
autocomplete: string;
|
|
660
|
+
isInvalid: boolean;
|
|
661
|
+
errorMessage: string;
|
|
662
|
+
showWarning: boolean;
|
|
663
|
+
warningMessage: string;
|
|
664
|
+
isTextarea: boolean;
|
|
665
|
+
hasInfo: boolean;
|
|
666
|
+
infoText: string;
|
|
667
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
668
|
+
isUiAutocomplete: boolean;
|
|
669
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
670
|
+
inputRef: unknown;
|
|
671
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
672
|
+
P: {};
|
|
673
|
+
B: {};
|
|
674
|
+
D: {};
|
|
675
|
+
C: {};
|
|
676
|
+
M: {};
|
|
677
|
+
Defaults: {};
|
|
678
|
+
}, Readonly<{
|
|
679
|
+
id?: string;
|
|
680
|
+
modelValue?: string;
|
|
681
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
682
|
+
label?: string;
|
|
683
|
+
placeholder?: string;
|
|
684
|
+
autofocus?: boolean;
|
|
685
|
+
chevron?: boolean;
|
|
686
|
+
readonly?: boolean;
|
|
687
|
+
disabled?: boolean;
|
|
688
|
+
isDateTimePicker?: boolean;
|
|
689
|
+
autocomplete?: string;
|
|
690
|
+
isInvalid?: boolean;
|
|
691
|
+
errorMessage?: string;
|
|
692
|
+
showWarning?: boolean;
|
|
693
|
+
warningMessage?: string;
|
|
694
|
+
isTextarea?: boolean;
|
|
695
|
+
hasInfo?: boolean;
|
|
696
|
+
infoText?: string;
|
|
697
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
698
|
+
isUiAutocomplete?: boolean;
|
|
699
|
+
}> & Readonly<{
|
|
700
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
701
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
702
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
703
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
704
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
705
|
+
}>, {
|
|
706
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
707
|
+
}, {}, {}, {}, {
|
|
708
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
709
|
+
disabled: boolean;
|
|
710
|
+
label: string;
|
|
711
|
+
readonly: boolean;
|
|
712
|
+
id: string;
|
|
713
|
+
modelValue: string;
|
|
714
|
+
placeholder: string;
|
|
715
|
+
autofocus: boolean;
|
|
716
|
+
chevron: boolean;
|
|
717
|
+
isDateTimePicker: boolean;
|
|
718
|
+
autocomplete: string;
|
|
719
|
+
isInvalid: boolean;
|
|
720
|
+
errorMessage: string;
|
|
721
|
+
showWarning: boolean;
|
|
722
|
+
warningMessage: string;
|
|
723
|
+
isTextarea: boolean;
|
|
724
|
+
hasInfo: boolean;
|
|
725
|
+
infoText: string;
|
|
726
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
727
|
+
isUiAutocomplete: boolean;
|
|
728
|
+
}>;
|
|
729
|
+
__isFragment?: never;
|
|
730
|
+
__isTeleport?: never;
|
|
731
|
+
__isSuspense?: never;
|
|
732
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
733
|
+
id?: string;
|
|
734
|
+
modelValue?: string;
|
|
735
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
736
|
+
label?: string;
|
|
737
|
+
placeholder?: string;
|
|
738
|
+
autofocus?: boolean;
|
|
739
|
+
chevron?: boolean;
|
|
740
|
+
readonly?: boolean;
|
|
741
|
+
disabled?: boolean;
|
|
742
|
+
isDateTimePicker?: boolean;
|
|
743
|
+
autocomplete?: string;
|
|
744
|
+
isInvalid?: boolean;
|
|
745
|
+
errorMessage?: string;
|
|
746
|
+
showWarning?: boolean;
|
|
747
|
+
warningMessage?: string;
|
|
748
|
+
isTextarea?: boolean;
|
|
749
|
+
hasInfo?: boolean;
|
|
750
|
+
infoText?: string;
|
|
751
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
752
|
+
isUiAutocomplete?: boolean;
|
|
753
|
+
}> & Readonly<{
|
|
754
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
755
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
756
|
+
onInput?: ((args_0: string) => any) | undefined;
|
|
757
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
758
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
759
|
+
}>, {
|
|
760
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
761
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
762
|
+
blur: (args_0: FocusEvent) => any;
|
|
763
|
+
focus: (args_0: FocusEvent) => any;
|
|
764
|
+
input: (args_0: string) => any;
|
|
765
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
766
|
+
"update:modelValue": (args_0: string) => any;
|
|
767
|
+
}, string, {
|
|
768
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
769
|
+
disabled: boolean;
|
|
770
|
+
label: string;
|
|
771
|
+
readonly: boolean;
|
|
772
|
+
id: string;
|
|
773
|
+
modelValue: string;
|
|
774
|
+
placeholder: string;
|
|
775
|
+
autofocus: boolean;
|
|
776
|
+
chevron: boolean;
|
|
777
|
+
isDateTimePicker: boolean;
|
|
778
|
+
autocomplete: string;
|
|
779
|
+
isInvalid: boolean;
|
|
780
|
+
errorMessage: string;
|
|
781
|
+
showWarning: boolean;
|
|
782
|
+
warningMessage: string;
|
|
783
|
+
isTextarea: boolean;
|
|
784
|
+
hasInfo: boolean;
|
|
785
|
+
infoText: string;
|
|
786
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
787
|
+
isUiAutocomplete: boolean;
|
|
788
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
789
|
+
$slots: {
|
|
790
|
+
buttons?(_: {}): any;
|
|
791
|
+
};
|
|
792
|
+
})>;
|
|
433
793
|
value: import('vue').Ref<string, string>;
|
|
434
794
|
};
|
|
435
795
|
template: string;
|
|
@@ -442,17 +802,8 @@ declare const meta: {
|
|
|
442
802
|
export default meta;
|
|
443
803
|
type Story = StoryObj<typeof meta>;
|
|
444
804
|
export declare const Default: Story;
|
|
445
|
-
export declare const WithLabel:
|
|
446
|
-
|
|
447
|
-
label: string;
|
|
448
|
-
};
|
|
449
|
-
};
|
|
450
|
-
export declare const WithPlaceholder: {
|
|
451
|
-
args: {
|
|
452
|
-
label: string;
|
|
453
|
-
placeholder: string;
|
|
454
|
-
};
|
|
455
|
-
};
|
|
805
|
+
export declare const WithLabel: Story;
|
|
806
|
+
export declare const WithPlaceholder: Story;
|
|
456
807
|
export declare const Readonly: Story;
|
|
457
808
|
export declare const WithErrorText: Story;
|
|
458
809
|
export declare const WithWarningText: Story;
|