@useinsider/ab-components 0.0.106 → 0.0.108
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/ab-components.cjs.js +3 -3
- package/dist/ab-components.cjs.js.map +1 -1
- package/dist/ab-components.css +1 -1
- package/dist/ab-components.es.js +3622 -3361
- package/dist/ab-components.es.js.map +1 -1
- package/dist/ab-components.iife.js +3 -3
- package/dist/ab-components.iife.js.map +1 -1
- package/dist/ab-components.umd.js +3 -3
- package/dist/ab-components.umd.js.map +1 -1
- package/dist/icons.svg +6 -0
- package/dist/index.d.ts +101 -40
- package/package.json +1 -1
package/dist/icons.svg
CHANGED
|
@@ -589,4 +589,10 @@
|
|
|
589
589
|
<symbol id="line-vertical-gap" viewBox="0 0 24 24" fill="none">
|
|
590
590
|
<path d="M21 3V4C21 4.5 20.5 5 20 5H4C3.5 5 3 4.5 3 4V3M21 21V20C21 19.5 20.5 19 20 19H4C3.5 19 3 19.5 3 20V21M16 12H8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
591
591
|
</symbol>
|
|
592
|
+
<symbol id="line-countdown" width="18" height="22" viewBox="0 0 18 22" fill="none">
|
|
593
|
+
<path d="M9 4C13.9706 4 18 8.02944 18 13C18 17.9706 13.9706 22 9 22C4.02944 22 0 17.9706 0 13C0 8.02944 4.02944 4 9 4ZM9 6C5.13401 6 2 9.13401 2 13C2 16.866 5.13401 20 9 20C12.866 20 16 16.866 16 13C16 9.13401 12.866 6 9 6ZM11.293 9.29297C11.6835 8.90244 12.3165 8.90244 12.707 9.29297C13.0975 9.68349 13.0976 10.3165 12.707 10.707L9.70703 13.707C9.31651 14.0975 8.68349 14.0975 8.29297 13.707C7.90245 13.3165 7.90245 12.6835 8.29297 12.293L11.293 9.29297ZM11 0C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H7C6.44772 2 6 1.55228 6 1C6 0.447715 6.44772 0 7 0H11Z" fill="currentColor"/>
|
|
594
|
+
</symbol>
|
|
595
|
+
<symbol id="line-calendar" width="18" height="18" viewBox="0 0 18 18" fill="none">
|
|
596
|
+
<path d="M13 0C13.5523 0 14 0.447715 14 1H16C17.1046 1 18 1.89543 18 3V16C18 17.1046 17.1046 18 16 18H2C0.895431 18 4.02666e-09 17.1046 0 16V3C0 1.89543 0.895431 1 2 1H4C4 0.447715 4.44772 0 5 0C5.55228 0 6 0.447715 6 1H12C12 0.447715 12.4477 0 13 0ZM2 8V16H16V8H2ZM2 6H16V3H14L13.9951 3.10254C13.9438 3.60667 13.5177 4 13 4C12.4477 4 12 3.55228 12 3H6L5.99512 3.10254C5.94379 3.60667 5.51768 4 5 4C4.44772 4 4 3.55228 4 3H2V6Z" fill="currentColor"/>
|
|
597
|
+
</symbol>
|
|
592
598
|
</svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -25,31 +25,33 @@ import { WatchOptions } from 'vue';
|
|
|
25
25
|
import { WatchStopHandle } from 'vue';
|
|
26
26
|
|
|
27
27
|
declare const __VLS_component: DefineComponent<CheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
|
-
"update:modelValue": (value: boolean) => any;
|
|
29
28
|
change: (checked: boolean) => any;
|
|
29
|
+
"update:modelValue": (value: boolean) => any;
|
|
30
30
|
}, string, PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
31
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
32
31
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
label: string;
|
|
35
35
|
disabled: boolean;
|
|
36
36
|
name: string;
|
|
37
|
-
checked: boolean;
|
|
38
37
|
value: string | number;
|
|
38
|
+
checked: boolean;
|
|
39
39
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
40
40
|
|
|
41
|
-
declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
41
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
42
|
+
text: string;
|
|
43
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
42
44
|
triggerRef: HTMLDivElement;
|
|
43
45
|
tooltipRef: HTMLDivElement;
|
|
44
46
|
floatingArrowRef: HTMLDivElement;
|
|
45
47
|
}, any>;
|
|
46
48
|
|
|
47
49
|
declare const __VLS_component_2: DefineComponent<ColorPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
48
|
-
"color-change": (color: string) => any;
|
|
49
50
|
close: () => any;
|
|
51
|
+
"color-change": (color: string) => any;
|
|
50
52
|
}, string, PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
51
|
-
"onColor-change"?: ((color: string) => any) | undefined;
|
|
52
53
|
onClose?: (() => any) | undefined;
|
|
54
|
+
"onColor-change"?: ((color: string) => any) | undefined;
|
|
53
55
|
}>, {
|
|
54
56
|
color: string;
|
|
55
57
|
title: string;
|
|
@@ -74,31 +76,32 @@ borderTriangleAlign: string;
|
|
|
74
76
|
declare const __VLS_component_4: DefineComponent<InBasicTextInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
75
77
|
click: (event: MouseEvent) => any;
|
|
76
78
|
input: (value: string | number) => any;
|
|
77
|
-
|
|
79
|
+
blur: (event: FocusEvent) => any;
|
|
78
80
|
change: (value: string | number) => any;
|
|
79
81
|
focus: (event: FocusEvent) => any;
|
|
80
|
-
blur: (event: FocusEvent) => any;
|
|
81
|
-
keyup: (event: KeyboardEvent) => any;
|
|
82
82
|
keypress: (event: KeyboardEvent) => any;
|
|
83
|
+
keyup: (event: KeyboardEvent) => any;
|
|
83
84
|
paste: (event: ClipboardEvent) => any;
|
|
85
|
+
"update:modelValue": (value: string | number) => any;
|
|
84
86
|
leftIconClick: (event: MouseEvent) => any;
|
|
85
87
|
rightIconClick: (event: MouseEvent) => any;
|
|
86
88
|
}, string, PublicProps, Readonly<InBasicTextInputProps> & Readonly<{
|
|
87
89
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
88
90
|
onInput?: ((value: string | number) => any) | undefined;
|
|
89
|
-
|
|
91
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
90
92
|
onChange?: ((value: string | number) => any) | undefined;
|
|
91
93
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
92
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
93
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
94
94
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
95
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
95
96
|
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
97
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
96
98
|
onLeftIconClick?: ((event: MouseEvent) => any) | undefined;
|
|
97
99
|
onRightIconClick?: ((event: MouseEvent) => any) | undefined;
|
|
98
100
|
}>, {
|
|
99
101
|
leftIconName: IconNames;
|
|
100
102
|
rightIconName: IconNames;
|
|
101
103
|
type: "text" | "number";
|
|
104
|
+
preventXss: boolean;
|
|
102
105
|
modelValue: string | number;
|
|
103
106
|
theme: "grey" | "white";
|
|
104
107
|
labelStatus: boolean;
|
|
@@ -117,7 +120,6 @@ maxValue: number | string;
|
|
|
117
120
|
autoFocus: boolean;
|
|
118
121
|
allowDecimal: boolean;
|
|
119
122
|
allowComma: boolean;
|
|
120
|
-
preventXss: boolean;
|
|
121
123
|
helperMessageStatus: boolean;
|
|
122
124
|
helperMessage: string;
|
|
123
125
|
stateMessage: string;
|
|
@@ -179,11 +181,11 @@ rotateArrow: boolean;
|
|
|
179
181
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
180
182
|
|
|
181
183
|
declare const __VLS_component_8: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
182
|
-
submit: () => any;
|
|
183
184
|
close: () => any;
|
|
185
|
+
submit: () => any;
|
|
184
186
|
}, string, PublicProps, Readonly<ModalProps> & Readonly<{
|
|
185
|
-
onSubmit?: (() => any) | undefined;
|
|
186
187
|
onClose?: (() => any) | undefined;
|
|
188
|
+
onSubmit?: (() => any) | undefined;
|
|
187
189
|
}>, {
|
|
188
190
|
hasOverlay: boolean;
|
|
189
191
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -193,16 +195,16 @@ isOpen: Ref<boolean, boolean>;
|
|
|
193
195
|
toggle: () => void;
|
|
194
196
|
close: () => void;
|
|
195
197
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
196
|
-
"update:modelValue": (value: boolean) => any;
|
|
197
198
|
close: () => any;
|
|
199
|
+
"update:modelValue": (value: boolean) => any;
|
|
198
200
|
open: () => any;
|
|
199
201
|
}, string, PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
200
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
201
202
|
onClose?: (() => any) | undefined;
|
|
203
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
202
204
|
onOpen?: (() => any) | undefined;
|
|
203
205
|
}>, {
|
|
204
|
-
modelValue: boolean;
|
|
205
206
|
position: "bottom" | "top";
|
|
207
|
+
modelValue: boolean;
|
|
206
208
|
gap: number;
|
|
207
209
|
align: "left" | "center" | "right" | "left-side" | "right-side";
|
|
208
210
|
positionStrategy: "fixed" | "absolute";
|
|
@@ -217,7 +219,7 @@ contentRef: HTMLDivElement;
|
|
|
217
219
|
|
|
218
220
|
declare type __VLS_Props = {
|
|
219
221
|
id: string;
|
|
220
|
-
text
|
|
222
|
+
text?: string;
|
|
221
223
|
placement?: Placement;
|
|
222
224
|
arrowPlacement?: ArrowPlacement;
|
|
223
225
|
status?: boolean;
|
|
@@ -309,6 +311,7 @@ declare function __VLS_template_7(): {
|
|
|
309
311
|
isOpen: boolean;
|
|
310
312
|
toggle: () => void;
|
|
311
313
|
}): any;
|
|
314
|
+
'no-results'?(_: {}): any;
|
|
312
315
|
item?(_: {
|
|
313
316
|
isSelected: boolean;
|
|
314
317
|
item: {
|
|
@@ -462,6 +465,64 @@ declare interface ButtonProps {
|
|
|
462
465
|
customClass?: string;
|
|
463
466
|
}
|
|
464
467
|
|
|
468
|
+
export declare const Calendar: DefineComponent<CalendarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
469
|
+
cancel: () => any;
|
|
470
|
+
"update:modelValue": (value: string) => any;
|
|
471
|
+
apply: () => any;
|
|
472
|
+
}, string, PublicProps, Readonly<CalendarProps> & Readonly<{
|
|
473
|
+
onCancel?: (() => any) | undefined;
|
|
474
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
475
|
+
onApply?: (() => any) | undefined;
|
|
476
|
+
}>, {
|
|
477
|
+
width: number;
|
|
478
|
+
modelValue: string;
|
|
479
|
+
min: string;
|
|
480
|
+
max: string;
|
|
481
|
+
format: CalendarDateFormat;
|
|
482
|
+
disabledDateTooltip: string;
|
|
483
|
+
firstDayOfWeek: 0 | 1;
|
|
484
|
+
locale: string;
|
|
485
|
+
placeholder: string;
|
|
486
|
+
applyLabel: string;
|
|
487
|
+
cancelLabel: string;
|
|
488
|
+
inputAriaLabel: string;
|
|
489
|
+
prevMonthLabel: string;
|
|
490
|
+
nextMonthLabel: string;
|
|
491
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
492
|
+
|
|
493
|
+
export declare type CalendarDateFormat = 'YYYY-MM-DD' | 'DD/MM/YYYY' | 'MM/DD/YYYY';
|
|
494
|
+
|
|
495
|
+
export declare interface CalendarProps {
|
|
496
|
+
/** Selected date, in `format` (default ISO `YYYY-MM-DD`). */
|
|
497
|
+
modelValue?: string;
|
|
498
|
+
/** Earliest selectable date, in `format`. Days before this are disabled. */
|
|
499
|
+
min?: string;
|
|
500
|
+
/** Latest selectable date, in `format`. Days after this are disabled. */
|
|
501
|
+
max?: string;
|
|
502
|
+
/** Date format for the value (modelValue/min/max/emit) and the input. Default ISO. */
|
|
503
|
+
format?: CalendarDateFormat;
|
|
504
|
+
/** Tooltip shown when hovering a disabled (out-of-range) day. */
|
|
505
|
+
disabledDateTooltip?: string;
|
|
506
|
+
/** 0 = Sunday, 1 = Monday (default). */
|
|
507
|
+
firstDayOfWeek?: 0 | 1;
|
|
508
|
+
/** BCP-47 locale for month/weekday labels. */
|
|
509
|
+
locale?: string;
|
|
510
|
+
/** Placeholder for the date input when nothing is picked. */
|
|
511
|
+
placeholder?: string;
|
|
512
|
+
/** Footer confirm-button label (consumer passes a translated string). */
|
|
513
|
+
applyLabel?: string;
|
|
514
|
+
/** Footer cancel-button label (consumer passes a translated string). */
|
|
515
|
+
cancelLabel?: string;
|
|
516
|
+
/** Card width in px (default 252). Lets the consumer size the picker. */
|
|
517
|
+
width?: number;
|
|
518
|
+
/** Accessible name for the date input. Falls back to `placeholder`. */
|
|
519
|
+
inputAriaLabel?: string;
|
|
520
|
+
/** Accessible name for the previous-month button (consumer passes a translated string). */
|
|
521
|
+
prevMonthLabel?: string;
|
|
522
|
+
/** Accessible name for the next-month button (consumer passes a translated string). */
|
|
523
|
+
nextMonthLabel?: string;
|
|
524
|
+
}
|
|
525
|
+
|
|
465
526
|
export declare interface CascadingListItem {
|
|
466
527
|
id: string;
|
|
467
528
|
label: string;
|
|
@@ -767,7 +828,7 @@ size: number | string;
|
|
|
767
828
|
*
|
|
768
829
|
* NOTE: This file was auto-generated from 'icons.svg'
|
|
769
830
|
*/
|
|
770
|
-
export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'filled-caution-circle' | 'filled-caution-triangle' | 'filled-caution-triangle-colored' | 'filled-error-box-colored' | 'line-plus-netural' | 'line-close-netural' | 'chip-close' | 'chip-close-16' | 'no-color' | 'line-search' | 'filled-dropdown-down' | 'dropdown-down-icon' | 'filled-text-bold' | 'filled-text-italic' | 'filled-text-underline' | 'filled-text-strikethrough' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset' | 'line-arrow-left' | 'line-arrow-up' | 'line-figma' | 'line-academy-02' | 'line-undo' | 'line-redo' | 'line-ai-message-reply-plus' | 'line-architect-segments-closed' | 'line-ai-stop-icon' | 'line-ai-send-icon' | 'line-smart-sirius-ai' | 'line-smart-ai' | 'line-minus-netural' | 'line-check-netural' | 'filled-caution-triangle' | 'line-tooltip' | 'filled-warning-badge' | 'line-help-circle' | 'gamification-icon' | 'inline-icon' | 'popup-icon' | 'line-delete' | 'line-duplicate' | 'line-test-link' | 'text-color-icon' | 'corner-icon' | 'border-icon' | 'border-color' | 'fill-color-icon' | 'text-icon' | 'mixed-text-color-icon' | 'line-height-icon' | 'letter-spacing-icon' | 'filled-text-aligned-left' | 'filled-text-aligned-center' | 'filled-text-aligned-right' | 'filled-text-aligned-justified' | 'filled-aligned-bottom' | 'filled-aligned-middle' | 'filled-aligned-top' | 'button-actions' | 'border-none' | 'border-solid' | 'border-dashed' | 'border-dotted' | 'individual-borders' | 'border-left' | 'border-top' | 'border-right' | 'border-bottom' | 'corner-top-left' | 'corner-top-right' | 'corner-bottom-left' | 'corner-bottom-right' | 'corners-individual' | 'padding-horizontal' | 'padding-vertical' | 'padding-individual' | 'padding-left' | 'padding-right' | 'padding-bottom' | 'padding-top' | 'line-password' | 'line-left-to-bottom' | 'line-right-to-top' | 'line-horizontal' | 'line-vertical' | 'line-change' | 'feedback-helpful' | 'feedback-not-helpful' | 'feedback-helpful-selected' | 'feedback-not-helpful-selected' | 'line-code' | 'line-menu-experiment' | 'line-architect-ai-generate' | 'line-mobile-landscape' | 'line-history' | 'line-navigate' | 'line-move' | 'line-edit-code' | 'line-refresh' | 'line-coupon' | 'line-external-link' | 'line-open-website' | 'line-empty-box' | 'line-no-search-result' | 'line-palette' | 'line-no-color-theme' | 'line-chevron-small-down' | 'line-spinner' | 'illustration-no-preview' | 'dynamic-content-icon' | 'list-item-arrow-right' | 'dropdown-arrow' | 'line-architect-test-journey' | 'no-personalization' | 'no-search-result' | 'insert-before' | 'insert-after' | 'insert-prepend' | 'insert-append' | 'line-drag-handle' | 'line-column-1' | 'line-column-2' | 'line-column-3' | 'line-column-4' | 'line-horizontal-gap' | 'line-vertical-gap';
|
|
831
|
+
export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'filled-caution-circle' | 'filled-caution-triangle' | 'filled-caution-triangle-colored' | 'filled-error-box-colored' | 'line-plus-netural' | 'line-close-netural' | 'chip-close' | 'chip-close-16' | 'no-color' | 'line-search' | 'filled-dropdown-down' | 'dropdown-down-icon' | 'filled-text-bold' | 'filled-text-italic' | 'filled-text-underline' | 'filled-text-strikethrough' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset' | 'line-arrow-left' | 'line-arrow-up' | 'line-figma' | 'line-academy-02' | 'line-undo' | 'line-redo' | 'line-ai-message-reply-plus' | 'line-architect-segments-closed' | 'line-ai-stop-icon' | 'line-ai-send-icon' | 'line-smart-sirius-ai' | 'line-smart-ai' | 'line-minus-netural' | 'line-check-netural' | 'filled-caution-triangle' | 'line-tooltip' | 'filled-warning-badge' | 'line-help-circle' | 'gamification-icon' | 'inline-icon' | 'popup-icon' | 'line-delete' | 'line-duplicate' | 'line-test-link' | 'text-color-icon' | 'corner-icon' | 'border-icon' | 'border-color' | 'fill-color-icon' | 'text-icon' | 'mixed-text-color-icon' | 'line-height-icon' | 'letter-spacing-icon' | 'filled-text-aligned-left' | 'filled-text-aligned-center' | 'filled-text-aligned-right' | 'filled-text-aligned-justified' | 'filled-aligned-bottom' | 'filled-aligned-middle' | 'filled-aligned-top' | 'button-actions' | 'border-none' | 'border-solid' | 'border-dashed' | 'border-dotted' | 'individual-borders' | 'border-left' | 'border-top' | 'border-right' | 'border-bottom' | 'corner-top-left' | 'corner-top-right' | 'corner-bottom-left' | 'corner-bottom-right' | 'corners-individual' | 'padding-horizontal' | 'padding-vertical' | 'padding-individual' | 'padding-left' | 'padding-right' | 'padding-bottom' | 'padding-top' | 'line-password' | 'line-left-to-bottom' | 'line-right-to-top' | 'line-horizontal' | 'line-vertical' | 'line-change' | 'feedback-helpful' | 'feedback-not-helpful' | 'feedback-helpful-selected' | 'feedback-not-helpful-selected' | 'line-code' | 'line-menu-experiment' | 'line-architect-ai-generate' | 'line-mobile-landscape' | 'line-history' | 'line-navigate' | 'line-move' | 'line-edit-code' | 'line-refresh' | 'line-coupon' | 'line-external-link' | 'line-open-website' | 'line-empty-box' | 'line-no-search-result' | 'line-palette' | 'line-no-color-theme' | 'line-chevron-small-down' | 'line-spinner' | 'illustration-no-preview' | 'dynamic-content-icon' | 'list-item-arrow-right' | 'dropdown-arrow' | 'line-architect-test-journey' | 'no-personalization' | 'no-search-result' | 'insert-before' | 'insert-after' | 'insert-prepend' | 'insert-append' | 'line-drag-handle' | 'line-column-1' | 'line-column-2' | 'line-column-3' | 'line-column-4' | 'line-horizontal-gap' | 'line-vertical-gap' | 'line-countdown' | 'line-calendar';
|
|
771
832
|
|
|
772
833
|
declare interface IconProps {
|
|
773
834
|
name: AllIconNames;
|
|
@@ -905,11 +966,11 @@ declare interface InRadioButtonProps {
|
|
|
905
966
|
}
|
|
906
967
|
|
|
907
968
|
export declare const InTabs: DefineComponent<InTabsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
908
|
-
"update:modelValue": (value: string) => any;
|
|
909
969
|
change: (value: string) => any;
|
|
970
|
+
"update:modelValue": (value: string) => any;
|
|
910
971
|
}, string, PublicProps, Readonly<InTabsProps> & Readonly<{
|
|
911
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
912
972
|
onChange?: ((value: string) => any) | undefined;
|
|
973
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
913
974
|
}>, {
|
|
914
975
|
disabled: boolean;
|
|
915
976
|
modelValue: string;
|
|
@@ -925,27 +986,27 @@ export declare const InTextArea: DefineComponent<InTextAreaProps, {
|
|
|
925
986
|
textareaRef: Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
926
987
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
927
988
|
click: (event: MouseEvent) => any;
|
|
928
|
-
"update:modelValue": (value: string) => any;
|
|
929
989
|
blur: (event: FocusEvent) => any;
|
|
930
|
-
|
|
990
|
+
cut: (event: ClipboardEvent) => any;
|
|
931
991
|
keypress: (event: KeyboardEvent) => any;
|
|
992
|
+
keyup: (event: KeyboardEvent) => any;
|
|
932
993
|
paste: (event: ClipboardEvent) => any;
|
|
933
|
-
|
|
994
|
+
"update:modelValue": (value: string) => any;
|
|
934
995
|
}, string, PublicProps, Readonly<InTextAreaProps> & Readonly<{
|
|
935
996
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
936
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
937
997
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
938
|
-
|
|
998
|
+
onCut?: ((event: ClipboardEvent) => any) | undefined;
|
|
939
999
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
1000
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
940
1001
|
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
941
|
-
|
|
1002
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
942
1003
|
}>, {
|
|
943
1004
|
label: string;
|
|
944
1005
|
disabled: boolean;
|
|
945
1006
|
type: "default" | "smart";
|
|
946
|
-
theme: "grey" | "white";
|
|
947
1007
|
preventXss: boolean;
|
|
948
1008
|
invalid: boolean;
|
|
1009
|
+
theme: "grey" | "white";
|
|
949
1010
|
withLabel: boolean;
|
|
950
1011
|
invalidMessage: string;
|
|
951
1012
|
rowLength: number;
|
|
@@ -1017,25 +1078,25 @@ declare interface ModalProps {
|
|
|
1017
1078
|
|
|
1018
1079
|
export declare const NumberInput: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1019
1080
|
input: (event: Event) => any;
|
|
1020
|
-
|
|
1081
|
+
blur: (event: FocusEvent) => any;
|
|
1021
1082
|
change: (event: Event) => any;
|
|
1022
1083
|
focus: (event: FocusEvent) => any;
|
|
1023
|
-
blur: (event: FocusEvent) => any;
|
|
1024
1084
|
paste: (event: ClipboardEvent) => any;
|
|
1085
|
+
"update:modelValue": (args_0: number | undefined) => any;
|
|
1025
1086
|
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
1026
1087
|
onInput?: ((event: Event) => any) | undefined;
|
|
1027
|
-
|
|
1088
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1028
1089
|
onChange?: ((event: Event) => any) | undefined;
|
|
1029
1090
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1030
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1031
1091
|
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
1092
|
+
"onUpdate:modelValue"?: ((args_0: number | undefined) => any) | undefined;
|
|
1032
1093
|
}>, {
|
|
1033
1094
|
size: "default" | "small";
|
|
1034
1095
|
label: string;
|
|
1035
|
-
modelValue: number;
|
|
1036
1096
|
error: string;
|
|
1037
|
-
|
|
1097
|
+
modelValue: number;
|
|
1038
1098
|
min: number;
|
|
1099
|
+
max: number;
|
|
1039
1100
|
placeholder: string;
|
|
1040
1101
|
maxLength: number;
|
|
1041
1102
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1218,22 +1279,22 @@ export declare interface TabItem {
|
|
|
1218
1279
|
|
|
1219
1280
|
export declare const TextInput: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1220
1281
|
input: (event: Event) => any;
|
|
1221
|
-
|
|
1282
|
+
blur: (event: FocusEvent) => any;
|
|
1222
1283
|
change: (event: Event) => any;
|
|
1223
1284
|
focus: (event: FocusEvent) => any;
|
|
1224
|
-
blur: (event: FocusEvent) => any;
|
|
1225
1285
|
paste: (event: ClipboardEvent) => any;
|
|
1286
|
+
"update:modelValue": (args_0: string | undefined) => any;
|
|
1226
1287
|
}, string, PublicProps, Readonly<Props_2> & Readonly<{
|
|
1227
1288
|
onInput?: ((event: Event) => any) | undefined;
|
|
1228
|
-
|
|
1289
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1229
1290
|
onChange?: ((event: Event) => any) | undefined;
|
|
1230
1291
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1231
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1232
1292
|
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
1293
|
+
"onUpdate:modelValue"?: ((args_0: string | undefined) => any) | undefined;
|
|
1233
1294
|
}>, {
|
|
1234
1295
|
label: string;
|
|
1235
|
-
modelValue: string;
|
|
1236
1296
|
error: string;
|
|
1297
|
+
modelValue: string;
|
|
1237
1298
|
placeholder: string;
|
|
1238
1299
|
maxHeight: number;
|
|
1239
1300
|
mode: "primary" | "smart";
|