sprintify-ui 0.10.13 → 0.10.15
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/README.md +4 -2
- package/dist/BaseCkeditor-C9d4NSCx.js +113 -0
- package/dist/sprintify-ui.es.js +14283 -81751
- package/dist/style.css +3 -3
- package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
- package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +24 -11
- package/dist/types/components/BaseApp.vue.d.ts +14 -12
- package/dist/types/components/BaseAssign.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +642 -452
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +117 -22
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1029 -410
- package/dist/types/components/BaseAvatar.vue.d.ts +1 -1
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +23 -11
- package/dist/types/components/BaseBelongsTo.vue.d.ts +985 -409
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +750 -369
- package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
- package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/BaseButton.vue.d.ts +57 -13
- package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
- package/dist/types/components/BaseCard.vue.d.ts +26 -12
- package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCkeditor.vue.d.ts +32 -0
- package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
- package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
- package/dist/types/components/BaseContainer.vue.d.ts +16 -11
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +55 -30
- package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
- package/dist/types/components/BaseDataTable.vue.d.ts +2045 -735
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +563 -100
- package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
- package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
- package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
- package/dist/types/components/BaseDialog.vue.d.ts +114 -407
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
- package/dist/types/components/BaseDraggable.vue.d.ts +21 -17
- package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +134 -19
- package/dist/types/components/BaseField.vue.d.ts +103 -12
- package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
- package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
- package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
- package/dist/types/components/BaseForm.vue.d.ts +161 -20
- package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
- package/dist/types/components/BaseHasMany.vue.d.ts +586 -345
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +598 -249
- package/dist/types/components/BaseHeader.vue.d.ts +1 -1
- package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
- package/dist/types/components/BaseInputError.vue.d.ts +23 -11
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +127 -16
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
- package/dist/types/components/BaseLazy.vue.d.ts +20 -15
- package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
- package/dist/types/components/BaseMediaList.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPictures.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +233 -30
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
- package/dist/types/components/BaseModalSide.vue.d.ts +72 -12
- package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
- package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
- package/dist/types/components/BasePagination.vue.d.ts +1 -1
- package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
- package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +149 -12
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
- package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
- package/dist/types/components/BaseStepper.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +118 -10
- package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
- package/dist/types/components/BaseTabItem.vue.d.ts +25 -16
- package/dist/types/components/BaseTable.vue.d.ts +29 -14
- package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
- package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
- package/dist/types/components/BaseTableColumn.vue.d.ts +2 -2
- package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
- package/dist/types/components/BaseTableHeader.vue.d.ts +25 -14
- package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
- package/dist/types/components/BaseTabs.vue.d.ts +16 -15
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +578 -199
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +803 -346
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
- package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/components/BaseToast.vue.d.ts +1 -1
- package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
- package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
- package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
- package/dist/types/stories/PageShow.vue.d.ts +1 -1
- package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
- package/package.json +3 -4
- package/src/components/BaseCkeditor.vue +137 -0
- package/src/components/BaseRichText.vue +10 -100
|
@@ -1,461 +1,651 @@
|
|
|
1
1
|
import { PropType, ComputedRef } from 'vue';
|
|
2
|
-
import { NormalizedOption, RawOption } from '@/types';
|
|
2
|
+
import { NormalizedOption, RawOption, OptionValue } from '@/types';
|
|
3
|
+
import { Icon as BaseIcon } from '@iconify/vue';
|
|
4
|
+
import BaseAutocompleteDrawer from './BaseAutocompleteDrawer.vue';
|
|
3
5
|
import { SelectConfiguration } from '@/types';
|
|
6
|
+
import { t } from '@/i18n';
|
|
4
7
|
import { Size } from '@/utils/sizes';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
8
|
+
import BaseInput from './BaseInput.vue';
|
|
9
|
+
import BaseSelect from './BaseSelect.vue';
|
|
10
|
+
declare const emit: (event: "close" | "select" | "open" | "clear" | "update:modelValue" | "scrollBottom" | "typing", ...args: any[]) => void;
|
|
11
|
+
declare const hasErrorInternal: ComputedRef<boolean>, sizeInternal: ComputedRef<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
12
|
+
declare const drawer: import("vue").Ref<({
|
|
13
|
+
$: import("vue").ComponentInternalInstance;
|
|
14
|
+
$data: {};
|
|
15
|
+
$props: Partial<{
|
|
16
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
17
|
+
options: NormalizedOption[];
|
|
18
|
+
loading: boolean;
|
|
19
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
20
|
+
keywords: string;
|
|
21
|
+
loadingBottom: boolean;
|
|
22
|
+
twDrawer: string;
|
|
23
|
+
}> & Omit<{
|
|
24
|
+
readonly size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
25
|
+
readonly options: NormalizedOption[];
|
|
26
|
+
readonly loading: boolean;
|
|
27
|
+
readonly keywords: string;
|
|
28
|
+
readonly loadingBottom: boolean;
|
|
29
|
+
readonly twDrawer: string;
|
|
30
|
+
readonly selected?: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
31
|
+
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer">;
|
|
34
|
+
$attrs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$refs: {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
$slots: Readonly<{
|
|
41
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
44
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
45
|
+
$host: Element | null;
|
|
46
|
+
$emit: ((event: "select", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void);
|
|
47
|
+
$el: any;
|
|
48
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
selected: {
|
|
50
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
options: {
|
|
54
|
+
type: PropType<NormalizedOption[]>;
|
|
55
|
+
default(): never[];
|
|
56
|
+
};
|
|
57
|
+
keywords: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
loading: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
loadingBottom: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
type: PropType<Size>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
twDrawer: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
}>> & Readonly<{
|
|
78
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
}>, {
|
|
81
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
82
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
+
select: (...args: any[]) => void;
|
|
84
|
+
scrollBottom: (...args: any[]) => void;
|
|
85
|
+
}, string, {
|
|
86
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
87
|
+
options: NormalizedOption[];
|
|
88
|
+
loading: boolean;
|
|
89
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
90
|
+
keywords: string;
|
|
91
|
+
loadingBottom: boolean;
|
|
92
|
+
twDrawer: string;
|
|
93
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
94
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
95
|
+
created?: (() => void) | (() => void)[];
|
|
96
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
97
|
+
mounted?: (() => void) | (() => void)[];
|
|
98
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
99
|
+
updated?: (() => void) | (() => void)[];
|
|
100
|
+
activated?: (() => void) | (() => void)[];
|
|
101
|
+
deactivated?: (() => void) | (() => void)[];
|
|
102
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
103
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
104
|
+
destroyed?: (() => void) | (() => void)[];
|
|
105
|
+
unmounted?: (() => void) | (() => void)[];
|
|
106
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
107
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
108
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
109
|
+
};
|
|
110
|
+
$forceUpdate: () => void;
|
|
111
|
+
$nextTick: typeof import("vue").nextTick;
|
|
112
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
113
|
+
} & Readonly<{
|
|
114
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
115
|
+
options: NormalizedOption[];
|
|
116
|
+
loading: boolean;
|
|
117
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
118
|
+
keywords: string;
|
|
119
|
+
loadingBottom: boolean;
|
|
120
|
+
twDrawer: string;
|
|
121
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
122
|
+
selected: {
|
|
123
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
options: {
|
|
127
|
+
type: PropType<NormalizedOption[]>;
|
|
128
|
+
default(): never[];
|
|
129
|
+
};
|
|
130
|
+
keywords: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
loading: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
loadingBottom: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
size: {
|
|
143
|
+
type: PropType<Size>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
twDrawer: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
}>> & Readonly<{
|
|
151
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
}>, "onKeydown" | ("size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer")> & import("vue").ShallowUnwrapRef<{
|
|
154
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
155
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
156
|
+
$slots: {
|
|
157
|
+
empty?: ((props: {}) => any) | undefined;
|
|
158
|
+
option?: ((props: {
|
|
26
159
|
option: RawOption;
|
|
27
160
|
selected: boolean;
|
|
28
161
|
active: boolean;
|
|
29
|
-
})
|
|
30
|
-
footer
|
|
31
|
-
focus: typeof focus;
|
|
32
|
-
blur: typeof blur;
|
|
33
|
-
open: typeof open;
|
|
34
|
-
close: typeof close;
|
|
35
|
-
keywords: ComputedRef<string>;
|
|
162
|
+
}) => any) | undefined;
|
|
163
|
+
footer?: ((props: {
|
|
36
164
|
options: NormalizedOption[];
|
|
37
|
-
})
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
type: PropType<undefined | null | number>;
|
|
192
|
-
};
|
|
193
|
-
autocomplete: {
|
|
194
|
-
default: boolean;
|
|
195
|
-
type: BooleanConstructor;
|
|
196
|
-
};
|
|
197
|
-
preventSubmit: {
|
|
198
|
-
default: boolean;
|
|
199
|
-
type: BooleanConstructor;
|
|
200
|
-
};
|
|
201
|
-
name: {
|
|
202
|
-
default: undefined;
|
|
203
|
-
type: PropType<undefined | null | string>;
|
|
204
|
-
};
|
|
205
|
-
placeholder: {
|
|
206
|
-
default: string;
|
|
207
|
-
type: StringConstructor;
|
|
208
|
-
};
|
|
209
|
-
disabled: {
|
|
210
|
-
default: boolean;
|
|
211
|
-
type: BooleanConstructor;
|
|
212
|
-
};
|
|
213
|
-
required: {
|
|
214
|
-
default: undefined;
|
|
215
|
-
type: BooleanConstructor;
|
|
216
|
-
};
|
|
217
|
-
iconLeft: {
|
|
218
|
-
default: undefined;
|
|
219
|
-
type: PropType<undefined | null | string>;
|
|
220
|
-
};
|
|
221
|
-
iconRight: {
|
|
222
|
-
default: undefined;
|
|
223
|
-
type: PropType<undefined | null | string>;
|
|
224
|
-
};
|
|
225
|
-
prefix: {
|
|
226
|
-
default: undefined;
|
|
227
|
-
type: PropType<undefined | null | string>;
|
|
228
|
-
};
|
|
229
|
-
suffix: {
|
|
230
|
-
default: undefined;
|
|
231
|
-
type: PropType<undefined | null | string>;
|
|
232
|
-
};
|
|
233
|
-
hasError: {
|
|
234
|
-
default: boolean;
|
|
235
|
-
type: BooleanConstructor;
|
|
236
|
-
};
|
|
237
|
-
size: {
|
|
238
|
-
default: undefined;
|
|
239
|
-
type: PropType<Size>;
|
|
240
|
-
};
|
|
241
|
-
min: {
|
|
242
|
-
default: undefined;
|
|
243
|
-
type: PropType<undefined | null | number>;
|
|
244
|
-
};
|
|
245
|
-
max: {
|
|
246
|
-
default: undefined;
|
|
247
|
-
type: PropType<undefined | null | number>;
|
|
248
|
-
};
|
|
249
|
-
mask: {
|
|
250
|
-
type: PropType<string | string[] | import("maska").MaskType>;
|
|
251
|
-
default(): null;
|
|
252
|
-
};
|
|
253
|
-
visibleFocus: {
|
|
254
|
-
default: boolean;
|
|
255
|
-
type: BooleanConstructor;
|
|
256
|
-
};
|
|
257
|
-
onIconLeftClick: {
|
|
258
|
-
default: undefined;
|
|
259
|
-
type: PropType<() => void>;
|
|
260
|
-
};
|
|
261
|
-
onIconRightClick: {
|
|
262
|
-
default: undefined;
|
|
263
|
-
type: PropType<() => void>;
|
|
264
|
-
};
|
|
265
|
-
}>> & Readonly<{
|
|
266
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
267
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
268
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
269
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
270
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
271
|
-
}>, {
|
|
272
|
-
focus: () => void;
|
|
273
|
-
blur: () => void;
|
|
274
|
-
select: () => void;
|
|
275
|
-
}, {}, {}, {}, {
|
|
276
|
-
class: string | string[];
|
|
277
|
-
type: string;
|
|
278
|
-
mask: import("maska").MaskType;
|
|
279
|
-
step: number | null | undefined;
|
|
280
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
281
|
-
required: boolean;
|
|
282
|
-
disabled: boolean;
|
|
283
|
-
name: string | null | undefined;
|
|
284
|
-
modelValue: string | number | null;
|
|
285
|
-
autocomplete: boolean;
|
|
286
|
-
preventSubmit: boolean;
|
|
287
|
-
placeholder: string;
|
|
288
|
-
iconLeft: string | null | undefined;
|
|
289
|
-
iconRight: string | null | undefined;
|
|
290
|
-
prefix: string | null | undefined;
|
|
291
|
-
suffix: string | null | undefined;
|
|
292
|
-
hasError: boolean;
|
|
293
|
-
min: number | null | undefined;
|
|
294
|
-
max: number | null | undefined;
|
|
295
|
-
visibleFocus: boolean;
|
|
296
|
-
onIconLeftClick: () => void;
|
|
297
|
-
onIconRightClick: () => void;
|
|
298
|
-
}> | null;
|
|
299
|
-
drawer: ({
|
|
300
|
-
$: import("vue").ComponentInternalInstance;
|
|
301
|
-
$data: {};
|
|
302
|
-
$props: Partial<{
|
|
303
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
304
|
-
options: NormalizedOption[];
|
|
305
|
-
loading: boolean;
|
|
306
|
-
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
307
|
-
keywords: string;
|
|
308
|
-
loadingBottom: boolean;
|
|
309
|
-
twDrawer: string;
|
|
310
|
-
}> & Omit<{
|
|
311
|
-
readonly size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
312
|
-
readonly options: NormalizedOption[];
|
|
313
|
-
readonly loading: boolean;
|
|
314
|
-
readonly keywords: string;
|
|
315
|
-
readonly loadingBottom: boolean;
|
|
316
|
-
readonly twDrawer: string;
|
|
317
|
-
readonly selected?: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
318
|
-
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
319
|
-
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
320
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer">;
|
|
321
|
-
$attrs: {
|
|
322
|
-
[x: string]: unknown;
|
|
323
|
-
};
|
|
324
|
-
$refs: {
|
|
325
|
-
[x: string]: unknown;
|
|
326
|
-
};
|
|
327
|
-
$slots: Readonly<{
|
|
328
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
329
|
-
}>;
|
|
330
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
331
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
332
|
-
$host: Element | null;
|
|
333
|
-
$emit: ((event: "select", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void);
|
|
334
|
-
$el: HTMLDivElement;
|
|
335
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
336
|
-
selected: {
|
|
337
|
-
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
338
|
-
default: undefined;
|
|
339
|
-
};
|
|
340
|
-
options: {
|
|
341
|
-
type: PropType<NormalizedOption[]>;
|
|
342
|
-
default(): never[];
|
|
343
|
-
};
|
|
344
|
-
keywords: {
|
|
345
|
-
type: StringConstructor;
|
|
346
|
-
default: string;
|
|
347
|
-
};
|
|
348
|
-
loading: {
|
|
349
|
-
type: BooleanConstructor;
|
|
350
|
-
default: boolean;
|
|
351
|
-
};
|
|
352
|
-
loadingBottom: {
|
|
353
|
-
type: BooleanConstructor;
|
|
354
|
-
default: boolean;
|
|
355
|
-
};
|
|
356
|
-
size: {
|
|
357
|
-
type: PropType<Size>;
|
|
358
|
-
default: string;
|
|
359
|
-
};
|
|
360
|
-
twDrawer: {
|
|
361
|
-
type: StringConstructor;
|
|
362
|
-
default: string;
|
|
363
|
-
};
|
|
364
|
-
}>> & Readonly<{
|
|
365
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
366
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
367
|
-
}>, {
|
|
368
|
-
onKeydown: (event: KeyboardEvent) => void;
|
|
369
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
370
|
-
select: (...args: any[]) => void;
|
|
371
|
-
scrollBottom: (...args: any[]) => void;
|
|
372
|
-
}, string, {
|
|
373
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
374
|
-
options: NormalizedOption[];
|
|
375
|
-
loading: boolean;
|
|
376
|
-
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
377
|
-
keywords: string;
|
|
378
|
-
loadingBottom: boolean;
|
|
379
|
-
twDrawer: string;
|
|
380
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
381
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
382
|
-
created?: (() => void) | (() => void)[];
|
|
383
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
384
|
-
mounted?: (() => void) | (() => void)[];
|
|
385
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
386
|
-
updated?: (() => void) | (() => void)[];
|
|
387
|
-
activated?: (() => void) | (() => void)[];
|
|
388
|
-
deactivated?: (() => void) | (() => void)[];
|
|
389
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
390
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
391
|
-
destroyed?: (() => void) | (() => void)[];
|
|
392
|
-
unmounted?: (() => void) | (() => void)[];
|
|
393
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
394
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
395
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
396
|
-
};
|
|
397
|
-
$forceUpdate: () => void;
|
|
398
|
-
$nextTick: typeof import("vue").nextTick;
|
|
399
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
400
|
-
} & Readonly<{
|
|
401
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
165
|
+
}) => any) | undefined;
|
|
166
|
+
};
|
|
167
|
+
}) | null, ({
|
|
168
|
+
$: import("vue").ComponentInternalInstance;
|
|
169
|
+
$data: {};
|
|
170
|
+
$props: Partial<{
|
|
171
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
172
|
+
options: NormalizedOption[];
|
|
173
|
+
loading: boolean;
|
|
174
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
175
|
+
keywords: string;
|
|
176
|
+
loadingBottom: boolean;
|
|
177
|
+
twDrawer: string;
|
|
178
|
+
}> & Omit<{
|
|
179
|
+
readonly size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
180
|
+
readonly options: NormalizedOption[];
|
|
181
|
+
readonly loading: boolean;
|
|
182
|
+
readonly keywords: string;
|
|
183
|
+
readonly loadingBottom: boolean;
|
|
184
|
+
readonly twDrawer: string;
|
|
185
|
+
readonly selected?: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
186
|
+
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
187
|
+
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer">;
|
|
189
|
+
$attrs: {
|
|
190
|
+
[x: string]: unknown;
|
|
191
|
+
};
|
|
192
|
+
$refs: {
|
|
193
|
+
[x: string]: unknown;
|
|
194
|
+
};
|
|
195
|
+
$slots: Readonly<{
|
|
196
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
197
|
+
}>;
|
|
198
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
199
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
200
|
+
$host: Element | null;
|
|
201
|
+
$emit: ((event: "select", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void);
|
|
202
|
+
$el: any;
|
|
203
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
204
|
+
selected: {
|
|
205
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
|
+
options: {
|
|
209
|
+
type: PropType<NormalizedOption[]>;
|
|
210
|
+
default(): never[];
|
|
211
|
+
};
|
|
212
|
+
keywords: {
|
|
213
|
+
type: StringConstructor;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
|
+
loading: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
loadingBottom: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
size: {
|
|
225
|
+
type: PropType<Size>;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
228
|
+
twDrawer: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
}>> & Readonly<{
|
|
233
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
234
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
235
|
+
}>, {
|
|
236
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
237
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
238
|
+
select: (...args: any[]) => void;
|
|
239
|
+
scrollBottom: (...args: any[]) => void;
|
|
240
|
+
}, string, {
|
|
241
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
242
|
+
options: NormalizedOption[];
|
|
243
|
+
loading: boolean;
|
|
244
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
245
|
+
keywords: string;
|
|
246
|
+
loadingBottom: boolean;
|
|
247
|
+
twDrawer: string;
|
|
248
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
249
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
250
|
+
created?: (() => void) | (() => void)[];
|
|
251
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
252
|
+
mounted?: (() => void) | (() => void)[];
|
|
253
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
254
|
+
updated?: (() => void) | (() => void)[];
|
|
255
|
+
activated?: (() => void) | (() => void)[];
|
|
256
|
+
deactivated?: (() => void) | (() => void)[];
|
|
257
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
258
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
259
|
+
destroyed?: (() => void) | (() => void)[];
|
|
260
|
+
unmounted?: (() => void) | (() => void)[];
|
|
261
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
262
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
263
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
264
|
+
};
|
|
265
|
+
$forceUpdate: () => void;
|
|
266
|
+
$nextTick: typeof import("vue").nextTick;
|
|
267
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
268
|
+
} & Readonly<{
|
|
269
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
270
|
+
options: NormalizedOption[];
|
|
271
|
+
loading: boolean;
|
|
272
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
273
|
+
keywords: string;
|
|
274
|
+
loadingBottom: boolean;
|
|
275
|
+
twDrawer: string;
|
|
276
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
277
|
+
selected: {
|
|
278
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
279
|
+
default: undefined;
|
|
280
|
+
};
|
|
281
|
+
options: {
|
|
282
|
+
type: PropType<NormalizedOption[]>;
|
|
283
|
+
default(): never[];
|
|
284
|
+
};
|
|
285
|
+
keywords: {
|
|
286
|
+
type: StringConstructor;
|
|
287
|
+
default: string;
|
|
288
|
+
};
|
|
289
|
+
loading: {
|
|
290
|
+
type: BooleanConstructor;
|
|
291
|
+
default: boolean;
|
|
292
|
+
};
|
|
293
|
+
loadingBottom: {
|
|
294
|
+
type: BooleanConstructor;
|
|
295
|
+
default: boolean;
|
|
296
|
+
};
|
|
297
|
+
size: {
|
|
298
|
+
type: PropType<Size>;
|
|
299
|
+
default: string;
|
|
300
|
+
};
|
|
301
|
+
twDrawer: {
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
default: string;
|
|
304
|
+
};
|
|
305
|
+
}>> & Readonly<{
|
|
306
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
307
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
308
|
+
}>, "onKeydown" | ("size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer")> & import("vue").ShallowUnwrapRef<{
|
|
309
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
310
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
311
|
+
$slots: {
|
|
312
|
+
empty?: ((props: {}) => any) | undefined;
|
|
313
|
+
option?: ((props: {
|
|
314
|
+
option: RawOption;
|
|
315
|
+
selected: boolean;
|
|
316
|
+
active: boolean;
|
|
317
|
+
}) => any) | undefined;
|
|
318
|
+
footer?: ((props: {
|
|
402
319
|
options: NormalizedOption[];
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
320
|
+
}) => any) | undefined;
|
|
321
|
+
};
|
|
322
|
+
}) | null>;
|
|
323
|
+
declare const keywords: import("vue").Ref<string, string>;
|
|
324
|
+
declare const autocomplete: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
325
|
+
declare const inputElement: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
326
|
+
declare const dropdownOpened: ComputedRef<boolean>;
|
|
327
|
+
declare const normalizedModelValue: ComputedRef<NormalizedOption | null>;
|
|
328
|
+
declare const filteredNormalizedOptions: ComputedRef<NormalizedOption[]>;
|
|
329
|
+
declare function open(): void;
|
|
330
|
+
declare function close(): void;
|
|
331
|
+
declare const onTextInput: (text: string) => void;
|
|
332
|
+
declare const onTextKeydown: (event: KeyboardEvent) => void;
|
|
333
|
+
declare const clear: () => void;
|
|
334
|
+
declare function onSelect(normalizedModelValue: RawOption | null | undefined): void;
|
|
335
|
+
declare function setKeywords(input: string): void;
|
|
336
|
+
declare function focus(): void;
|
|
337
|
+
declare function blur(): void;
|
|
338
|
+
declare function highlight(): void;
|
|
339
|
+
declare const selection: import("vue").Ref<OptionValue, OptionValue>;
|
|
340
|
+
declare function onSelectChange(value: string | number | null | undefined): void;
|
|
341
|
+
declare const slotProps: {
|
|
342
|
+
focus: typeof focus;
|
|
343
|
+
blur: typeof blur;
|
|
344
|
+
open: typeof open;
|
|
345
|
+
close: typeof close;
|
|
346
|
+
keywords: ComputedRef<string>;
|
|
347
|
+
};
|
|
348
|
+
declare const deleteButtonIconClasses: ComputedRef<string[]>;
|
|
349
|
+
declare const inputClasses: ComputedRef<string | string[]>;
|
|
350
|
+
declare const selectClasses: ComputedRef<string | string[]>;
|
|
351
|
+
declare const showRemoveButtonInternal: ComputedRef<boolean | null>;
|
|
352
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
353
|
+
declare var __VLS_33: {
|
|
354
|
+
focus: typeof focus;
|
|
355
|
+
blur: typeof blur;
|
|
356
|
+
open: typeof open;
|
|
357
|
+
close: typeof close;
|
|
358
|
+
keywords: ComputedRef<string>;
|
|
359
|
+
}, __VLS_35: {
|
|
360
|
+
focus: typeof focus;
|
|
361
|
+
blur: typeof blur;
|
|
362
|
+
open: typeof open;
|
|
363
|
+
close: typeof close;
|
|
364
|
+
keywords: ComputedRef<string>;
|
|
365
|
+
option: RawOption;
|
|
366
|
+
selected: boolean;
|
|
367
|
+
active: boolean;
|
|
368
|
+
}, __VLS_37: {
|
|
369
|
+
focus: typeof focus;
|
|
370
|
+
blur: typeof blur;
|
|
371
|
+
open: typeof open;
|
|
372
|
+
close: typeof close;
|
|
373
|
+
keywords: ComputedRef<string>;
|
|
374
|
+
options: NormalizedOption[];
|
|
457
375
|
};
|
|
458
|
-
type
|
|
376
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
377
|
+
empty?: (props: typeof __VLS_33) => any;
|
|
378
|
+
} & {
|
|
379
|
+
option?: (props: typeof __VLS_35) => any;
|
|
380
|
+
} & {
|
|
381
|
+
footer?: (props: typeof __VLS_37) => any;
|
|
382
|
+
}>;
|
|
383
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
384
|
+
modelValue: {
|
|
385
|
+
default: undefined;
|
|
386
|
+
type: PropType<RawOption | null | undefined>;
|
|
387
|
+
};
|
|
388
|
+
options: {
|
|
389
|
+
required: true;
|
|
390
|
+
type: PropType<RawOption[]>;
|
|
391
|
+
};
|
|
392
|
+
labelKey: {
|
|
393
|
+
required: true;
|
|
394
|
+
type: StringConstructor;
|
|
395
|
+
};
|
|
396
|
+
valueKey: {
|
|
397
|
+
required: true;
|
|
398
|
+
type: StringConstructor;
|
|
399
|
+
};
|
|
400
|
+
name: {
|
|
401
|
+
default: undefined;
|
|
402
|
+
type: StringConstructor;
|
|
403
|
+
};
|
|
404
|
+
size: {
|
|
405
|
+
default: undefined;
|
|
406
|
+
type: PropType<Size>;
|
|
407
|
+
};
|
|
408
|
+
placeholder: {
|
|
409
|
+
default: undefined;
|
|
410
|
+
type: StringConstructor;
|
|
411
|
+
};
|
|
412
|
+
loading: {
|
|
413
|
+
default: boolean;
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
};
|
|
416
|
+
loadingBottom: {
|
|
417
|
+
default: boolean;
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
};
|
|
420
|
+
required: {
|
|
421
|
+
default: undefined;
|
|
422
|
+
type: BooleanConstructor;
|
|
423
|
+
};
|
|
424
|
+
disabled: {
|
|
425
|
+
default: boolean;
|
|
426
|
+
type: BooleanConstructor;
|
|
427
|
+
};
|
|
428
|
+
filter: {
|
|
429
|
+
default: undefined;
|
|
430
|
+
type: PropType<(option: NormalizedOption) => boolean>;
|
|
431
|
+
};
|
|
432
|
+
hasError: {
|
|
433
|
+
default: boolean;
|
|
434
|
+
type: BooleanConstructor;
|
|
435
|
+
};
|
|
436
|
+
/** Inline dropdown. This is useful for BaseDropdownAutocomplete */
|
|
437
|
+
inline: {
|
|
438
|
+
default: boolean;
|
|
439
|
+
type: BooleanConstructor;
|
|
440
|
+
};
|
|
441
|
+
dropdownShow: {
|
|
442
|
+
default: string;
|
|
443
|
+
type: PropType<"focus" | "always">;
|
|
444
|
+
};
|
|
445
|
+
showModelValue: {
|
|
446
|
+
default: boolean;
|
|
447
|
+
type: BooleanConstructor;
|
|
448
|
+
};
|
|
449
|
+
visibleFocus: {
|
|
450
|
+
default: boolean;
|
|
451
|
+
type: BooleanConstructor;
|
|
452
|
+
};
|
|
453
|
+
focusOnMount: {
|
|
454
|
+
default: boolean;
|
|
455
|
+
type: BooleanConstructor;
|
|
456
|
+
};
|
|
457
|
+
/** Show an 'empty option', should use with showModelValue = true for better UX */
|
|
458
|
+
showEmptyOption: {
|
|
459
|
+
default: boolean;
|
|
460
|
+
type: BooleanConstructor;
|
|
461
|
+
};
|
|
462
|
+
showRemoveButton: {
|
|
463
|
+
default: boolean;
|
|
464
|
+
type: BooleanConstructor;
|
|
465
|
+
};
|
|
466
|
+
emptyOptionLabel: {
|
|
467
|
+
default(): string;
|
|
468
|
+
type: StringConstructor;
|
|
469
|
+
};
|
|
470
|
+
select: {
|
|
471
|
+
default: undefined;
|
|
472
|
+
type: PropType<SelectConfiguration | undefined>;
|
|
473
|
+
};
|
|
474
|
+
twInput: {
|
|
475
|
+
default: undefined;
|
|
476
|
+
type: PropType<string | string[]>;
|
|
477
|
+
};
|
|
478
|
+
twSelect: {
|
|
479
|
+
default: undefined;
|
|
480
|
+
type: PropType<string | string[]>;
|
|
481
|
+
};
|
|
482
|
+
}>, {
|
|
483
|
+
BaseIcon: typeof BaseIcon;
|
|
484
|
+
BaseAutocompleteDrawer: typeof BaseAutocompleteDrawer;
|
|
485
|
+
t: typeof t;
|
|
486
|
+
BaseInput: typeof BaseInput;
|
|
487
|
+
BaseSelect: typeof BaseSelect;
|
|
488
|
+
emit: typeof emit;
|
|
489
|
+
hasErrorInternal: typeof hasErrorInternal;
|
|
490
|
+
sizeInternal: typeof sizeInternal;
|
|
491
|
+
drawer: typeof drawer;
|
|
492
|
+
keywords: typeof keywords;
|
|
493
|
+
autocomplete: typeof autocomplete;
|
|
494
|
+
inputElement: typeof inputElement;
|
|
495
|
+
dropdownOpened: typeof dropdownOpened;
|
|
496
|
+
normalizedModelValue: typeof normalizedModelValue;
|
|
497
|
+
filteredNormalizedOptions: typeof filteredNormalizedOptions;
|
|
498
|
+
open: typeof open;
|
|
499
|
+
onTextInput: typeof onTextInput;
|
|
500
|
+
onTextKeydown: typeof onTextKeydown;
|
|
501
|
+
clear: typeof clear;
|
|
502
|
+
onSelect: typeof onSelect;
|
|
503
|
+
highlight: typeof highlight;
|
|
504
|
+
selection: typeof selection;
|
|
505
|
+
onSelectChange: typeof onSelectChange;
|
|
506
|
+
slotProps: typeof slotProps;
|
|
507
|
+
deleteButtonIconClasses: typeof deleteButtonIconClasses;
|
|
508
|
+
inputClasses: typeof inputClasses;
|
|
509
|
+
selectClasses: typeof selectClasses;
|
|
510
|
+
showRemoveButtonInternal: typeof showRemoveButtonInternal;
|
|
511
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
512
|
+
close: (...args: any[]) => void;
|
|
513
|
+
select: (...args: any[]) => void;
|
|
514
|
+
open: (...args: any[]) => void;
|
|
515
|
+
clear: (...args: any[]) => void;
|
|
516
|
+
"update:modelValue": (...args: any[]) => void;
|
|
517
|
+
scrollBottom: (...args: any[]) => void;
|
|
518
|
+
typing: (...args: any[]) => void;
|
|
519
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
520
|
+
modelValue: {
|
|
521
|
+
default: undefined;
|
|
522
|
+
type: PropType<RawOption | null | undefined>;
|
|
523
|
+
};
|
|
524
|
+
options: {
|
|
525
|
+
required: true;
|
|
526
|
+
type: PropType<RawOption[]>;
|
|
527
|
+
};
|
|
528
|
+
labelKey: {
|
|
529
|
+
required: true;
|
|
530
|
+
type: StringConstructor;
|
|
531
|
+
};
|
|
532
|
+
valueKey: {
|
|
533
|
+
required: true;
|
|
534
|
+
type: StringConstructor;
|
|
535
|
+
};
|
|
536
|
+
name: {
|
|
537
|
+
default: undefined;
|
|
538
|
+
type: StringConstructor;
|
|
539
|
+
};
|
|
540
|
+
size: {
|
|
541
|
+
default: undefined;
|
|
542
|
+
type: PropType<Size>;
|
|
543
|
+
};
|
|
544
|
+
placeholder: {
|
|
545
|
+
default: undefined;
|
|
546
|
+
type: StringConstructor;
|
|
547
|
+
};
|
|
548
|
+
loading: {
|
|
549
|
+
default: boolean;
|
|
550
|
+
type: BooleanConstructor;
|
|
551
|
+
};
|
|
552
|
+
loadingBottom: {
|
|
553
|
+
default: boolean;
|
|
554
|
+
type: BooleanConstructor;
|
|
555
|
+
};
|
|
556
|
+
required: {
|
|
557
|
+
default: undefined;
|
|
558
|
+
type: BooleanConstructor;
|
|
559
|
+
};
|
|
560
|
+
disabled: {
|
|
561
|
+
default: boolean;
|
|
562
|
+
type: BooleanConstructor;
|
|
563
|
+
};
|
|
564
|
+
filter: {
|
|
565
|
+
default: undefined;
|
|
566
|
+
type: PropType<(option: NormalizedOption) => boolean>;
|
|
567
|
+
};
|
|
568
|
+
hasError: {
|
|
569
|
+
default: boolean;
|
|
570
|
+
type: BooleanConstructor;
|
|
571
|
+
};
|
|
572
|
+
/** Inline dropdown. This is useful for BaseDropdownAutocomplete */
|
|
573
|
+
inline: {
|
|
574
|
+
default: boolean;
|
|
575
|
+
type: BooleanConstructor;
|
|
576
|
+
};
|
|
577
|
+
dropdownShow: {
|
|
578
|
+
default: string;
|
|
579
|
+
type: PropType<"focus" | "always">;
|
|
580
|
+
};
|
|
581
|
+
showModelValue: {
|
|
582
|
+
default: boolean;
|
|
583
|
+
type: BooleanConstructor;
|
|
584
|
+
};
|
|
585
|
+
visibleFocus: {
|
|
586
|
+
default: boolean;
|
|
587
|
+
type: BooleanConstructor;
|
|
588
|
+
};
|
|
589
|
+
focusOnMount: {
|
|
590
|
+
default: boolean;
|
|
591
|
+
type: BooleanConstructor;
|
|
592
|
+
};
|
|
593
|
+
/** Show an 'empty option', should use with showModelValue = true for better UX */
|
|
594
|
+
showEmptyOption: {
|
|
595
|
+
default: boolean;
|
|
596
|
+
type: BooleanConstructor;
|
|
597
|
+
};
|
|
598
|
+
showRemoveButton: {
|
|
599
|
+
default: boolean;
|
|
600
|
+
type: BooleanConstructor;
|
|
601
|
+
};
|
|
602
|
+
emptyOptionLabel: {
|
|
603
|
+
default(): string;
|
|
604
|
+
type: StringConstructor;
|
|
605
|
+
};
|
|
606
|
+
select: {
|
|
607
|
+
default: undefined;
|
|
608
|
+
type: PropType<SelectConfiguration | undefined>;
|
|
609
|
+
};
|
|
610
|
+
twInput: {
|
|
611
|
+
default: undefined;
|
|
612
|
+
type: PropType<string | string[]>;
|
|
613
|
+
};
|
|
614
|
+
twSelect: {
|
|
615
|
+
default: undefined;
|
|
616
|
+
type: PropType<string | string[]>;
|
|
617
|
+
};
|
|
618
|
+
}>> & Readonly<{
|
|
619
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
620
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
621
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
622
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
623
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
624
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
625
|
+
onTyping?: ((...args: any[]) => any) | undefined;
|
|
626
|
+
}>, {
|
|
627
|
+
filter: (option: NormalizedOption) => boolean;
|
|
628
|
+
select: SelectConfiguration | undefined;
|
|
629
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
630
|
+
required: boolean;
|
|
631
|
+
inline: boolean;
|
|
632
|
+
disabled: boolean;
|
|
633
|
+
name: string;
|
|
634
|
+
modelValue: RawOption | null | undefined;
|
|
635
|
+
placeholder: string;
|
|
636
|
+
hasError: boolean;
|
|
637
|
+
visibleFocus: boolean;
|
|
638
|
+
loading: boolean;
|
|
639
|
+
loadingBottom: boolean;
|
|
640
|
+
dropdownShow: "always" | "focus";
|
|
641
|
+
showModelValue: boolean;
|
|
642
|
+
focusOnMount: boolean;
|
|
643
|
+
showEmptyOption: boolean;
|
|
644
|
+
showRemoveButton: boolean;
|
|
645
|
+
emptyOptionLabel: string;
|
|
646
|
+
twInput: string | string[];
|
|
647
|
+
twSelect: string | string[];
|
|
648
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
459
649
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
460
650
|
modelValue: {
|
|
461
651
|
default: undefined;
|
|
@@ -698,10 +888,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
698
888
|
emptyOptionLabel: string;
|
|
699
889
|
twInput: string | string[];
|
|
700
890
|
twSelect: string | string[];
|
|
701
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
702
|
-
declare const _default:
|
|
891
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
892
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
703
893
|
export default _default;
|
|
704
|
-
type
|
|
894
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
705
895
|
new (): {
|
|
706
896
|
$slots: S;
|
|
707
897
|
};
|