@dpa-id-components/dpa-shared-components 12.0.1 → 12.1.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 +5 -5
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +5 -5
- package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +13 -1
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2689 -33
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +28 -28
- package/dist/components/UiDialog/UiDialog.stories.d.ts +232 -3
- package/dist/components/UiDialog/UiDialog.vue.d.ts +2 -0
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +97 -18
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +120 -2
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +76 -2
- package/dist/components/UiIcon/UiIcon.stories.d.ts +1 -16
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +50 -2
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +98 -2
- package/dist/components/UiInput/UiInput.stories.d.ts +368 -29
- package/dist/components/UiInput/UiInput.vue.d.ts +2 -2
- package/dist/components/UiList/UiList.stories.d.ts +2 -281
- package/dist/components/UiListItem/UiListItem.stories.d.ts +226 -2
- package/dist/components/UiMenu/UiMenu.stories.d.ts +38 -181
- package/dist/components/UiMenu/UiMenu.vue.d.ts +2 -2
- package/dist/components/UiOverlay/UiOverlay.stories.d.ts +54 -2
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +78 -2
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +64 -2
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +11 -292
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +2 -4
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +162 -2
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +44 -2
- package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +26 -2
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +143 -3
- 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 +5886 -5866
- 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 +4 -4
|
@@ -24,16 +24,16 @@ declare const meta: {
|
|
|
24
24
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
25
25
|
isUiAutocomplete?: boolean;
|
|
26
26
|
}> & Readonly<{
|
|
27
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
28
27
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
34
34
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
-
focus: (...args: any[]) => void;
|
|
36
35
|
blur: (...args: any[]) => void;
|
|
36
|
+
focus: (...args: any[]) => void;
|
|
37
37
|
input: (...args: any[]) => void;
|
|
38
38
|
keyup: (...args: any[]) => void;
|
|
39
39
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -88,8 +88,8 @@ declare const meta: {
|
|
|
88
88
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
89
89
|
isUiAutocomplete?: boolean;
|
|
90
90
|
}> & Readonly<{
|
|
91
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
92
91
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
94
94
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -141,16 +141,16 @@ declare const meta: {
|
|
|
141
141
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
142
142
|
isUiAutocomplete?: boolean;
|
|
143
143
|
}> & Readonly<{
|
|
144
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
145
144
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
146
146
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
147
147
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
148
148
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
}>, {
|
|
150
150
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
151
151
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
152
|
-
focus: (...args: any[]) => void;
|
|
153
152
|
blur: (...args: any[]) => void;
|
|
153
|
+
focus: (...args: any[]) => void;
|
|
154
154
|
input: (...args: any[]) => void;
|
|
155
155
|
keyup: (...args: any[]) => void;
|
|
156
156
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -195,12 +195,6 @@ declare const meta: {
|
|
|
195
195
|
};
|
|
196
196
|
options: string[];
|
|
197
197
|
};
|
|
198
|
-
min: {
|
|
199
|
-
control: string;
|
|
200
|
-
};
|
|
201
|
-
max: {
|
|
202
|
-
control: string;
|
|
203
|
-
};
|
|
204
198
|
label: {
|
|
205
199
|
control: "text";
|
|
206
200
|
};
|
|
@@ -247,7 +241,184 @@ declare const meta: {
|
|
|
247
241
|
warningMessage: string;
|
|
248
242
|
isTextarea: false;
|
|
249
243
|
};
|
|
250
|
-
render: (args:
|
|
244
|
+
render: (args: import('@storybook/vue3').ComponentPropsAndSlots<{
|
|
245
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
246
|
+
id?: string;
|
|
247
|
+
modelValue: string;
|
|
248
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
249
|
+
label?: string;
|
|
250
|
+
placeholder?: string;
|
|
251
|
+
autofocus?: boolean;
|
|
252
|
+
chevron?: boolean;
|
|
253
|
+
readonly?: boolean;
|
|
254
|
+
disabled?: boolean;
|
|
255
|
+
isDateTimePicker?: boolean;
|
|
256
|
+
autocomplete?: string;
|
|
257
|
+
isInvalid?: boolean;
|
|
258
|
+
errorMessage?: string;
|
|
259
|
+
showWarning?: boolean;
|
|
260
|
+
warningMessage?: string;
|
|
261
|
+
isTextarea?: boolean;
|
|
262
|
+
hasInfo?: boolean;
|
|
263
|
+
infoText?: string;
|
|
264
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
265
|
+
isUiAutocomplete?: boolean;
|
|
266
|
+
}> & Readonly<{
|
|
267
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
268
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
269
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
271
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
272
|
+
}>, {
|
|
273
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
274
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
275
|
+
blur: (...args: any[]) => void;
|
|
276
|
+
focus: (...args: any[]) => void;
|
|
277
|
+
input: (...args: any[]) => void;
|
|
278
|
+
keyup: (...args: any[]) => void;
|
|
279
|
+
"update:modelValue": (...args: any[]) => void;
|
|
280
|
+
}, import('vue').PublicProps, {
|
|
281
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
282
|
+
disabled: boolean;
|
|
283
|
+
label: string;
|
|
284
|
+
readonly: boolean;
|
|
285
|
+
id: string;
|
|
286
|
+
placeholder: string;
|
|
287
|
+
autofocus: boolean;
|
|
288
|
+
chevron: boolean;
|
|
289
|
+
isDateTimePicker: boolean;
|
|
290
|
+
autocomplete: string;
|
|
291
|
+
isInvalid: boolean;
|
|
292
|
+
errorMessage: string;
|
|
293
|
+
showWarning: boolean;
|
|
294
|
+
warningMessage: string;
|
|
295
|
+
isTextarea: boolean;
|
|
296
|
+
hasInfo: boolean;
|
|
297
|
+
infoText: string;
|
|
298
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
299
|
+
isUiAutocomplete: boolean;
|
|
300
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
301
|
+
inputRef: unknown;
|
|
302
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
303
|
+
P: {};
|
|
304
|
+
B: {};
|
|
305
|
+
D: {};
|
|
306
|
+
C: {};
|
|
307
|
+
M: {};
|
|
308
|
+
Defaults: {};
|
|
309
|
+
}, Readonly<{
|
|
310
|
+
id?: string;
|
|
311
|
+
modelValue: string;
|
|
312
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
313
|
+
label?: string;
|
|
314
|
+
placeholder?: string;
|
|
315
|
+
autofocus?: boolean;
|
|
316
|
+
chevron?: boolean;
|
|
317
|
+
readonly?: boolean;
|
|
318
|
+
disabled?: boolean;
|
|
319
|
+
isDateTimePicker?: boolean;
|
|
320
|
+
autocomplete?: string;
|
|
321
|
+
isInvalid?: boolean;
|
|
322
|
+
errorMessage?: string;
|
|
323
|
+
showWarning?: boolean;
|
|
324
|
+
warningMessage?: string;
|
|
325
|
+
isTextarea?: boolean;
|
|
326
|
+
hasInfo?: boolean;
|
|
327
|
+
infoText?: string;
|
|
328
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
329
|
+
isUiAutocomplete?: boolean;
|
|
330
|
+
}> & Readonly<{
|
|
331
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
332
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
333
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
334
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
335
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
336
|
+
}>, {
|
|
337
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
338
|
+
}, {}, {}, {}, {
|
|
339
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
340
|
+
disabled: boolean;
|
|
341
|
+
label: string;
|
|
342
|
+
readonly: boolean;
|
|
343
|
+
id: string;
|
|
344
|
+
placeholder: string;
|
|
345
|
+
autofocus: boolean;
|
|
346
|
+
chevron: boolean;
|
|
347
|
+
isDateTimePicker: boolean;
|
|
348
|
+
autocomplete: string;
|
|
349
|
+
isInvalid: boolean;
|
|
350
|
+
errorMessage: string;
|
|
351
|
+
showWarning: boolean;
|
|
352
|
+
warningMessage: string;
|
|
353
|
+
isTextarea: boolean;
|
|
354
|
+
hasInfo: boolean;
|
|
355
|
+
infoText: string;
|
|
356
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
357
|
+
isUiAutocomplete: boolean;
|
|
358
|
+
}>;
|
|
359
|
+
__isFragment?: never;
|
|
360
|
+
__isTeleport?: never;
|
|
361
|
+
__isSuspense?: never;
|
|
362
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
363
|
+
id?: string;
|
|
364
|
+
modelValue: string;
|
|
365
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
366
|
+
label?: string;
|
|
367
|
+
placeholder?: string;
|
|
368
|
+
autofocus?: boolean;
|
|
369
|
+
chevron?: boolean;
|
|
370
|
+
readonly?: boolean;
|
|
371
|
+
disabled?: boolean;
|
|
372
|
+
isDateTimePicker?: boolean;
|
|
373
|
+
autocomplete?: string;
|
|
374
|
+
isInvalid?: boolean;
|
|
375
|
+
errorMessage?: string;
|
|
376
|
+
showWarning?: boolean;
|
|
377
|
+
warningMessage?: string;
|
|
378
|
+
isTextarea?: boolean;
|
|
379
|
+
hasInfo?: boolean;
|
|
380
|
+
infoText?: string;
|
|
381
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
382
|
+
isUiAutocomplete?: boolean;
|
|
383
|
+
}> & Readonly<{
|
|
384
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
386
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
387
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
388
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
389
|
+
}>, {
|
|
390
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
391
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
392
|
+
blur: (...args: any[]) => void;
|
|
393
|
+
focus: (...args: any[]) => void;
|
|
394
|
+
input: (...args: any[]) => void;
|
|
395
|
+
keyup: (...args: any[]) => void;
|
|
396
|
+
"update:modelValue": (...args: any[]) => void;
|
|
397
|
+
}, string, {
|
|
398
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
399
|
+
disabled: boolean;
|
|
400
|
+
label: string;
|
|
401
|
+
readonly: boolean;
|
|
402
|
+
id: string;
|
|
403
|
+
placeholder: string;
|
|
404
|
+
autofocus: boolean;
|
|
405
|
+
chevron: boolean;
|
|
406
|
+
isDateTimePicker: boolean;
|
|
407
|
+
autocomplete: string;
|
|
408
|
+
isInvalid: boolean;
|
|
409
|
+
errorMessage: string;
|
|
410
|
+
showWarning: boolean;
|
|
411
|
+
warningMessage: string;
|
|
412
|
+
isTextarea: boolean;
|
|
413
|
+
hasInfo: boolean;
|
|
414
|
+
infoText: string;
|
|
415
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
416
|
+
isUiAutocomplete: boolean;
|
|
417
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
418
|
+
$slots: {
|
|
419
|
+
buttons?(_: {}): any;
|
|
420
|
+
};
|
|
421
|
+
})>) => {
|
|
251
422
|
components: {
|
|
252
423
|
UiInput: {
|
|
253
424
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -272,16 +443,16 @@ declare const meta: {
|
|
|
272
443
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
273
444
|
isUiAutocomplete?: boolean;
|
|
274
445
|
}> & Readonly<{
|
|
275
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
276
446
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
447
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
277
448
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
278
449
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
279
450
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
280
451
|
}>, {
|
|
281
452
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
282
453
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
283
|
-
focus: (...args: any[]) => void;
|
|
284
454
|
blur: (...args: any[]) => void;
|
|
455
|
+
focus: (...args: any[]) => void;
|
|
285
456
|
input: (...args: any[]) => void;
|
|
286
457
|
keyup: (...args: any[]) => void;
|
|
287
458
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -336,8 +507,8 @@ declare const meta: {
|
|
|
336
507
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
337
508
|
isUiAutocomplete?: boolean;
|
|
338
509
|
}> & Readonly<{
|
|
339
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
340
510
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
511
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
341
512
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
342
513
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
343
514
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -389,16 +560,16 @@ declare const meta: {
|
|
|
389
560
|
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
390
561
|
isUiAutocomplete?: boolean;
|
|
391
562
|
}> & Readonly<{
|
|
392
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
393
563
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
564
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
394
565
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
395
566
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
396
567
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
397
568
|
}>, {
|
|
398
569
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
399
570
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
400
|
-
focus: (...args: any[]) => void;
|
|
401
571
|
blur: (...args: any[]) => void;
|
|
572
|
+
focus: (...args: any[]) => void;
|
|
402
573
|
input: (...args: any[]) => void;
|
|
403
574
|
keyup: (...args: any[]) => void;
|
|
404
575
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -429,7 +600,184 @@ declare const meta: {
|
|
|
429
600
|
});
|
|
430
601
|
};
|
|
431
602
|
setup(this: void): {
|
|
432
|
-
args:
|
|
603
|
+
args: import('@storybook/vue3').ComponentPropsAndSlots<{
|
|
604
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
605
|
+
id?: string;
|
|
606
|
+
modelValue: string;
|
|
607
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
608
|
+
label?: string;
|
|
609
|
+
placeholder?: string;
|
|
610
|
+
autofocus?: boolean;
|
|
611
|
+
chevron?: boolean;
|
|
612
|
+
readonly?: boolean;
|
|
613
|
+
disabled?: boolean;
|
|
614
|
+
isDateTimePicker?: boolean;
|
|
615
|
+
autocomplete?: string;
|
|
616
|
+
isInvalid?: boolean;
|
|
617
|
+
errorMessage?: string;
|
|
618
|
+
showWarning?: boolean;
|
|
619
|
+
warningMessage?: string;
|
|
620
|
+
isTextarea?: boolean;
|
|
621
|
+
hasInfo?: boolean;
|
|
622
|
+
infoText?: string;
|
|
623
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
624
|
+
isUiAutocomplete?: boolean;
|
|
625
|
+
}> & Readonly<{
|
|
626
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
627
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
628
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
629
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
630
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
631
|
+
}>, {
|
|
632
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
633
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
634
|
+
blur: (...args: any[]) => void;
|
|
635
|
+
focus: (...args: any[]) => void;
|
|
636
|
+
input: (...args: any[]) => void;
|
|
637
|
+
keyup: (...args: any[]) => void;
|
|
638
|
+
"update:modelValue": (...args: any[]) => void;
|
|
639
|
+
}, import('vue').PublicProps, {
|
|
640
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
641
|
+
disabled: boolean;
|
|
642
|
+
label: string;
|
|
643
|
+
readonly: boolean;
|
|
644
|
+
id: string;
|
|
645
|
+
placeholder: string;
|
|
646
|
+
autofocus: boolean;
|
|
647
|
+
chevron: boolean;
|
|
648
|
+
isDateTimePicker: boolean;
|
|
649
|
+
autocomplete: string;
|
|
650
|
+
isInvalid: boolean;
|
|
651
|
+
errorMessage: string;
|
|
652
|
+
showWarning: boolean;
|
|
653
|
+
warningMessage: string;
|
|
654
|
+
isTextarea: boolean;
|
|
655
|
+
hasInfo: boolean;
|
|
656
|
+
infoText: string;
|
|
657
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
658
|
+
isUiAutocomplete: boolean;
|
|
659
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
660
|
+
inputRef: unknown;
|
|
661
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
662
|
+
P: {};
|
|
663
|
+
B: {};
|
|
664
|
+
D: {};
|
|
665
|
+
C: {};
|
|
666
|
+
M: {};
|
|
667
|
+
Defaults: {};
|
|
668
|
+
}, Readonly<{
|
|
669
|
+
id?: string;
|
|
670
|
+
modelValue: string;
|
|
671
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
672
|
+
label?: string;
|
|
673
|
+
placeholder?: string;
|
|
674
|
+
autofocus?: boolean;
|
|
675
|
+
chevron?: boolean;
|
|
676
|
+
readonly?: boolean;
|
|
677
|
+
disabled?: boolean;
|
|
678
|
+
isDateTimePicker?: boolean;
|
|
679
|
+
autocomplete?: string;
|
|
680
|
+
isInvalid?: boolean;
|
|
681
|
+
errorMessage?: string;
|
|
682
|
+
showWarning?: boolean;
|
|
683
|
+
warningMessage?: string;
|
|
684
|
+
isTextarea?: boolean;
|
|
685
|
+
hasInfo?: boolean;
|
|
686
|
+
infoText?: string;
|
|
687
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
688
|
+
isUiAutocomplete?: boolean;
|
|
689
|
+
}> & Readonly<{
|
|
690
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
691
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
692
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
693
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
694
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
695
|
+
}>, {
|
|
696
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
697
|
+
}, {}, {}, {}, {
|
|
698
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
699
|
+
disabled: boolean;
|
|
700
|
+
label: string;
|
|
701
|
+
readonly: boolean;
|
|
702
|
+
id: string;
|
|
703
|
+
placeholder: string;
|
|
704
|
+
autofocus: boolean;
|
|
705
|
+
chevron: boolean;
|
|
706
|
+
isDateTimePicker: boolean;
|
|
707
|
+
autocomplete: string;
|
|
708
|
+
isInvalid: boolean;
|
|
709
|
+
errorMessage: string;
|
|
710
|
+
showWarning: boolean;
|
|
711
|
+
warningMessage: string;
|
|
712
|
+
isTextarea: boolean;
|
|
713
|
+
hasInfo: boolean;
|
|
714
|
+
infoText: string;
|
|
715
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
716
|
+
isUiAutocomplete: boolean;
|
|
717
|
+
}>;
|
|
718
|
+
__isFragment?: never;
|
|
719
|
+
__isTeleport?: never;
|
|
720
|
+
__isSuspense?: never;
|
|
721
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
722
|
+
id?: string;
|
|
723
|
+
modelValue: string;
|
|
724
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
725
|
+
label?: string;
|
|
726
|
+
placeholder?: string;
|
|
727
|
+
autofocus?: boolean;
|
|
728
|
+
chevron?: boolean;
|
|
729
|
+
readonly?: boolean;
|
|
730
|
+
disabled?: boolean;
|
|
731
|
+
isDateTimePicker?: boolean;
|
|
732
|
+
autocomplete?: string;
|
|
733
|
+
isInvalid?: boolean;
|
|
734
|
+
errorMessage?: string;
|
|
735
|
+
showWarning?: boolean;
|
|
736
|
+
warningMessage?: string;
|
|
737
|
+
isTextarea?: boolean;
|
|
738
|
+
hasInfo?: boolean;
|
|
739
|
+
infoText?: string;
|
|
740
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
741
|
+
isUiAutocomplete?: boolean;
|
|
742
|
+
}> & Readonly<{
|
|
743
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
744
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
745
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
746
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
747
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
748
|
+
}>, {
|
|
749
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
750
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
751
|
+
blur: (...args: any[]) => void;
|
|
752
|
+
focus: (...args: any[]) => void;
|
|
753
|
+
input: (...args: any[]) => void;
|
|
754
|
+
keyup: (...args: any[]) => void;
|
|
755
|
+
"update:modelValue": (...args: any[]) => void;
|
|
756
|
+
}, string, {
|
|
757
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
758
|
+
disabled: boolean;
|
|
759
|
+
label: string;
|
|
760
|
+
readonly: boolean;
|
|
761
|
+
id: string;
|
|
762
|
+
placeholder: string;
|
|
763
|
+
autofocus: boolean;
|
|
764
|
+
chevron: boolean;
|
|
765
|
+
isDateTimePicker: boolean;
|
|
766
|
+
autocomplete: string;
|
|
767
|
+
isInvalid: boolean;
|
|
768
|
+
errorMessage: string;
|
|
769
|
+
showWarning: boolean;
|
|
770
|
+
warningMessage: string;
|
|
771
|
+
isTextarea: boolean;
|
|
772
|
+
hasInfo: boolean;
|
|
773
|
+
infoText: string;
|
|
774
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
775
|
+
isUiAutocomplete: boolean;
|
|
776
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
777
|
+
$slots: {
|
|
778
|
+
buttons?(_: {}): any;
|
|
779
|
+
};
|
|
780
|
+
})>;
|
|
433
781
|
value: import('vue').Ref<string, string>;
|
|
434
782
|
};
|
|
435
783
|
template: string;
|
|
@@ -442,17 +790,8 @@ declare const meta: {
|
|
|
442
790
|
export default meta;
|
|
443
791
|
type Story = StoryObj<typeof meta>;
|
|
444
792
|
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
|
-
};
|
|
793
|
+
export declare const WithLabel: Story;
|
|
794
|
+
export declare const WithPlaceholder: Story;
|
|
456
795
|
export declare const Readonly: Story;
|
|
457
796
|
export declare const WithErrorText: Story;
|
|
458
797
|
export declare const WithWarningText: Story;
|
|
@@ -34,14 +34,14 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
34
34
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
35
35
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
36
36
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
-
focus: (...args: any[]) => void;
|
|
38
37
|
blur: (...args: any[]) => void;
|
|
38
|
+
focus: (...args: any[]) => void;
|
|
39
39
|
input: (...args: any[]) => void;
|
|
40
40
|
keyup: (...args: any[]) => void;
|
|
41
41
|
"update:modelValue": (...args: any[]) => void;
|
|
42
42
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
43
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
44
43
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
46
46
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|