sprintify-ui 0.8.41 → 0.8.42
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/sprintify-ui.es.js +4910 -4972
- package/dist/types/components/BaseActionItem.vue.d.ts +5 -15
- package/dist/types/components/BaseActionItemButton.vue.d.ts +4 -25
- package/dist/types/components/BaseAddressForm.vue.d.ts +6 -45
- package/dist/types/components/BaseAlert.vue.d.ts +11 -37
- package/dist/types/components/BaseApp.vue.d.ts +8 -3
- package/dist/types/components/BaseAppDialogs.vue.d.ts +1 -1
- package/dist/types/components/BaseAppSnackbars.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +585 -37
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +24 -16
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +526 -36
- package/dist/types/components/BaseAvatar.vue.d.ts +4 -4
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +4 -4
- package/dist/types/components/BaseBadge.vue.d.ts +11 -35
- package/dist/types/components/BaseBelongsTo.vue.d.ts +524 -34
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +484 -35
- package/dist/types/components/BaseBoolean.vue.d.ts +3 -12
- package/dist/types/components/BaseBreadcrumbs.vue.d.ts +4 -4
- package/dist/types/components/BaseButton.vue.d.ts +17 -53
- package/dist/types/components/BaseButtonGroup.vue.d.ts +19 -14
- package/dist/types/components/BaseCalendar.vue.d.ts +46 -13
- package/dist/types/components/BaseCard.vue.d.ts +13 -6
- package/dist/types/components/BaseCardRow.vue.d.ts +13 -31
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +4 -4
- package/dist/types/components/BaseClipboard.vue.d.ts +14 -6
- package/dist/types/components/BaseCollapse.vue.d.ts +20 -52
- package/dist/types/components/BaseColor.vue.d.ts +8 -8
- package/dist/types/components/BaseContainer.vue.d.ts +11 -33
- package/dist/types/components/BaseCounter.vue.d.ts +4 -4
- package/dist/types/components/BaseCropper.vue.d.ts +29 -30
- package/dist/types/components/BaseCropperModal.vue.d.ts +8 -17
- package/dist/types/components/BaseDataIterator.vue.d.ts +6 -6
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +10 -14
- package/dist/types/components/BaseDataIteratorSectionButton.vue.d.ts +6 -15
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +4 -4
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +13 -17
- package/dist/types/components/BaseDataTable.vue.d.ts +842 -26
- package/dist/types/components/BaseDataTableRowAction.vue.d.ts +4 -25
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +129 -14
- package/dist/types/components/BaseDatePicker.vue.d.ts +7 -56
- package/dist/types/components/BaseDateSelect.vue.d.ts +5 -5
- package/dist/types/components/BaseDescriptionList.vue.d.ts +8 -3
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +11 -4
- package/dist/types/components/BaseDialog.vue.d.ts +516 -8
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +15 -8
- package/dist/types/components/BaseDraggable.vue.d.ts +18 -20
- package/dist/types/components/BaseDropdown.vue.d.ts +18 -10
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +23 -16
- package/dist/types/components/BaseField.vue.d.ts +12 -7
- package/dist/types/components/BaseFieldI18n.vue.d.ts +7 -7
- package/dist/types/components/BaseFilePicker.vue.d.ts +20 -44
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +51 -39
- package/dist/types/components/BaseFileUploader.vue.d.ts +40 -76
- package/dist/types/components/BaseForm.vue.d.ts +22 -15
- package/dist/types/components/BaseGantt.vue.d.ts +21 -40
- package/dist/types/components/BaseHasMany.vue.d.ts +325 -39
- package/dist/types/components/BaseHeader.vue.d.ts +4 -37
- package/dist/types/components/BaseIconPicker.vue.d.ts +6 -31
- package/dist/types/components/BaseInput.vue.d.ts +12 -12
- package/dist/types/components/BaseInputError.vue.d.ts +11 -6
- package/dist/types/components/BaseInputLabel.vue.d.ts +4 -4
- package/dist/types/components/BaseInputPercent.vue.d.ts +9 -9
- package/dist/types/components/BaseJsonReader.vue.d.ts +4 -29
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +3 -12
- package/dist/types/components/BaseLayoutNotificationDropdown.vue.d.ts +5 -5
- package/dist/types/components/BaseLayoutNotificationItem.vue.d.ts +4 -4
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +3 -12
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +16 -11
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +13 -8
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +22 -42
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +12 -7
- package/dist/types/components/BaseLazy.vue.d.ts +24 -15
- package/dist/types/components/BaseLoadingCover.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaGallery.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaItem.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +38 -33
- package/dist/types/components/BaseMediaList.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaListItem.vue.d.ts +6 -6
- package/dist/types/components/BaseMediaPictures.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaPreview.vue.d.ts +5 -5
- package/dist/types/components/BaseMenu.vue.d.ts +31 -23
- package/dist/types/components/BaseMenuItem.vue.d.ts +5 -5
- package/dist/types/components/BaseModalCenter.vue.d.ts +14 -9
- package/dist/types/components/BaseModalSide.vue.d.ts +14 -9
- package/dist/types/components/BaseNavbar.vue.d.ts +23 -16
- package/dist/types/components/BaseNavbarItem.vue.d.ts +5 -5
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +4 -4
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +5 -5
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +4 -4
- package/dist/types/components/BasePagination.vue.d.ts +5 -5
- package/dist/types/components/BasePanel.vue.d.ts +5 -5
- package/dist/types/components/BasePassword.vue.d.ts +8 -8
- package/dist/types/components/BaseProgressCircle.vue.d.ts +4 -4
- package/dist/types/components/BaseRadioGroup.vue.d.ts +15 -10
- package/dist/types/components/BaseReadMore.vue.d.ts +13 -6
- package/dist/types/components/BaseRichText.vue.d.ts +6 -6
- package/dist/types/components/BaseScrollColumn.vue.d.ts +5 -5
- package/dist/types/components/BaseSelect.vue.d.ts +15 -8
- package/dist/types/components/BaseShortcut.vue.d.ts +5 -5
- package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -27
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +13 -31
- package/dist/types/components/BaseSkeleton.vue.d.ts +4 -4
- package/dist/types/components/BaseStatistic.vue.d.ts +6 -4
- package/dist/types/components/BaseStepper.vue.d.ts +4 -4
- package/dist/types/components/BaseStepperItem.vue.d.ts +5 -5
- package/dist/types/components/BaseSwitch.vue.d.ts +14 -9
- package/dist/types/components/BaseSystemAlert.vue.d.ts +12 -7
- package/dist/types/components/BaseTabItem.vue.d.ts +15 -31
- package/dist/types/components/BaseTable.vue.d.ts +15 -45
- package/dist/types/components/BaseTableBody.vue.d.ts +8 -3
- package/dist/types/components/BaseTableCell.vue.d.ts +13 -47
- package/dist/types/components/BaseTableColumn.vue.d.ts +8 -8
- package/dist/types/components/BaseTableHead.vue.d.ts +11 -27
- package/dist/types/components/BaseTableHeader.vue.d.ts +15 -35
- package/dist/types/components/BaseTableRow.vue.d.ts +15 -41
- package/dist/types/components/BaseTabs.vue.d.ts +14 -27
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +235 -39
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +457 -39
- package/dist/types/components/BaseTextarea.vue.d.ts +8 -8
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +8 -8
- package/dist/types/components/BaseTimePicker.vue.d.ts +6 -6
- package/dist/types/components/BaseTimeline.vue.d.ts +3 -3
- package/dist/types/components/BaseTimelineItem.vue.d.ts +3 -3
- package/dist/types/components/BaseToast.vue.d.ts +3 -12
- package/dist/types/components/BaseTooltip.vue.d.ts +15 -36
- package/dist/types/components/BaseUniqueCode.vue.d.ts +5 -5
- package/dist/types/components/SlotComponent.d.ts +4 -4
- 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/BaseSpinnerLarge.vue.d.ts +1 -1
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
- package/package.json +1 -6
- package/src/components/BaseLazy.stories.js +28 -7
- package/src/components/BaseLazy.vue +64 -10
|
@@ -1,59 +1,39 @@
|
|
|
1
1
|
import { ClassNameValue } from 'tailwind-merge';
|
|
2
2
|
import { StyleValue } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
thRef: HTMLTableCellElement;
|
|
9
|
+
};
|
|
10
|
+
attrs: Partial<{}>;
|
|
5
11
|
};
|
|
6
|
-
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
7
14
|
class?: ClassNameValue;
|
|
8
15
|
style?: StyleValue;
|
|
9
16
|
align?: "left" | "center" | "right";
|
|
10
17
|
colspan?: number;
|
|
11
|
-
}
|
|
12
|
-
class: undefined;
|
|
13
|
-
style: undefined;
|
|
14
|
-
align: string;
|
|
15
|
-
colspan: undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
19
|
click: (...args: any[]) => void;
|
|
18
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
19
21
|
class?: ClassNameValue;
|
|
20
22
|
style?: StyleValue;
|
|
21
23
|
align?: "left" | "center" | "right";
|
|
22
24
|
colspan?: number;
|
|
23
|
-
}
|
|
24
|
-
class: undefined;
|
|
25
|
-
style: undefined;
|
|
26
|
-
align: string;
|
|
27
|
-
colspan: undefined;
|
|
28
|
-
}>>> & {
|
|
25
|
+
}> & Readonly<{
|
|
29
26
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}
|
|
27
|
+
}>, {
|
|
31
28
|
class: string | false | 0 | 0n | ClassNameValue[] | null;
|
|
32
29
|
style: string | false | import("vue").CSSProperties | StyleValue[] | null;
|
|
33
30
|
align: "left" | "center" | "right";
|
|
34
31
|
colspan: number;
|
|
35
|
-
}, {}>;
|
|
36
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
34
|
export default _default;
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
36
|
new (): {
|
|
48
37
|
$slots: S;
|
|
49
38
|
};
|
|
50
39
|
};
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToOption<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: import('vue').PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { ClassNameValue } from 'tailwind-merge';
|
|
2
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
trRef: HTMLTableRowElement;
|
|
9
|
+
};
|
|
10
|
+
attrs: Partial<{}>;
|
|
5
11
|
};
|
|
6
|
-
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
7
14
|
href?: string;
|
|
8
15
|
to?: RouteLocationRaw;
|
|
9
16
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -11,19 +18,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
11
18
|
class?: ClassNameValue;
|
|
12
19
|
selected?: boolean;
|
|
13
20
|
onClick?: (e: MouseEvent) => void;
|
|
14
|
-
}
|
|
15
|
-
href: undefined;
|
|
16
|
-
to: undefined;
|
|
17
|
-
target: undefined;
|
|
18
|
-
title: undefined;
|
|
19
|
-
class: undefined;
|
|
20
|
-
selected: boolean;
|
|
21
|
-
onClick: undefined;
|
|
22
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
22
|
click: (...args: any[]) => void;
|
|
24
23
|
mouseenter: (...args: any[]) => void;
|
|
25
24
|
mouseleave: (...args: any[]) => void;
|
|
26
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
27
26
|
href?: string;
|
|
28
27
|
to?: RouteLocationRaw;
|
|
29
28
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -31,19 +30,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
31
30
|
class?: ClassNameValue;
|
|
32
31
|
selected?: boolean;
|
|
33
32
|
onClick?: (e: MouseEvent) => void;
|
|
34
|
-
}
|
|
35
|
-
href: undefined;
|
|
36
|
-
to: undefined;
|
|
37
|
-
target: undefined;
|
|
38
|
-
title: undefined;
|
|
39
|
-
class: undefined;
|
|
40
|
-
selected: boolean;
|
|
41
|
-
onClick: undefined;
|
|
42
|
-
}>>> & {
|
|
33
|
+
}> & Readonly<{
|
|
43
34
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
44
35
|
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
45
36
|
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
}
|
|
37
|
+
}>, {
|
|
47
38
|
class: string | false | 0 | 0n | ClassNameValue[] | null;
|
|
48
39
|
onClick: (e: MouseEvent) => void;
|
|
49
40
|
to: RouteLocationRaw;
|
|
@@ -51,28 +42,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
51
42
|
href: string;
|
|
52
43
|
title: string;
|
|
53
44
|
selected: boolean;
|
|
54
|
-
}, {}>;
|
|
55
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
56
47
|
export default _default;
|
|
57
|
-
type __VLS_WithDefaults<P, D> = {
|
|
58
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
-
default: D[K];
|
|
60
|
-
}> : P[K];
|
|
61
|
-
};
|
|
62
|
-
type __VLS_Prettify<T> = {
|
|
63
|
-
[K in keyof T]: T[K];
|
|
64
|
-
} & {};
|
|
65
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
49
|
new (): {
|
|
67
50
|
$slots: S;
|
|
68
51
|
};
|
|
69
52
|
};
|
|
70
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
71
|
-
type __VLS_TypePropsToOption<T> = {
|
|
72
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
73
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
74
|
-
} : {
|
|
75
|
-
type: import('vue').PropType<T[K]>;
|
|
76
|
-
required: true;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
@@ -1,38 +1,25 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {
|
|
6
|
+
scrollable: HTMLDivElement;
|
|
7
|
+
lineRef: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
attrs: Partial<{}>;
|
|
3
10
|
};
|
|
4
|
-
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
5
13
|
size?: "xs" | "sm" | "md" | "lg";
|
|
6
|
-
}
|
|
7
|
-
size: string;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
9
15
|
size?: "xs" | "sm" | "md" | "lg";
|
|
10
|
-
}>, {
|
|
11
|
-
size: string;
|
|
12
|
-
}>>>, {
|
|
16
|
+
}> & Readonly<{}>, {
|
|
13
17
|
size: "xs" | "sm" | "md" | "lg";
|
|
14
|
-
}, {}>;
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
20
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
22
|
new (): {
|
|
27
23
|
$slots: S;
|
|
28
24
|
};
|
|
29
25
|
};
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -7,38 +7,234 @@ declare function setKeywords(input: string): void;
|
|
|
7
7
|
declare function focus(): void;
|
|
8
8
|
declare function blur(): void;
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
-
|
|
11
|
-
items:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
10
|
+
slots: {
|
|
11
|
+
items?(_: {
|
|
12
|
+
items: NormalizedOption[];
|
|
13
|
+
removeOption: (option: NormalizedOption) => void;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}): any;
|
|
16
|
+
empty?(_: {
|
|
17
|
+
focus: typeof focus;
|
|
18
|
+
blur: typeof blur;
|
|
19
|
+
open: typeof open;
|
|
20
|
+
close: typeof close;
|
|
21
|
+
keywords: ComputedRef<string>;
|
|
22
|
+
}): any;
|
|
23
|
+
option?(_: {
|
|
24
|
+
focus: typeof focus;
|
|
25
|
+
blur: typeof blur;
|
|
26
|
+
open: typeof open;
|
|
27
|
+
close: typeof close;
|
|
28
|
+
keywords: ComputedRef<string>;
|
|
29
|
+
option: RawOption;
|
|
30
|
+
selected: boolean;
|
|
31
|
+
active: boolean;
|
|
32
|
+
}): any;
|
|
33
|
+
footer?(_: {
|
|
34
|
+
focus: typeof focus;
|
|
35
|
+
blur: typeof blur;
|
|
36
|
+
open: typeof open;
|
|
37
|
+
close: typeof close;
|
|
38
|
+
keywords: ComputedRef<string>;
|
|
39
|
+
options: NormalizedOption[];
|
|
40
|
+
}): any;
|
|
41
|
+
};
|
|
42
|
+
refs: {
|
|
43
|
+
autocomplete: HTMLDivElement;
|
|
44
|
+
inputElement: HTMLInputElement;
|
|
45
|
+
drawer: ({
|
|
46
|
+
$: import("vue").ComponentInternalInstance;
|
|
47
|
+
$data: {};
|
|
48
|
+
$props: Partial<{
|
|
49
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
50
|
+
options: NormalizedOption[];
|
|
51
|
+
loading: boolean;
|
|
52
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
53
|
+
keywords: string;
|
|
54
|
+
loadingBottom: boolean;
|
|
55
|
+
twDrawer: string;
|
|
56
|
+
}> & Omit<{
|
|
57
|
+
readonly size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
58
|
+
readonly options: NormalizedOption[];
|
|
59
|
+
readonly loading: boolean;
|
|
60
|
+
readonly keywords: string;
|
|
61
|
+
readonly loadingBottom: boolean;
|
|
62
|
+
readonly twDrawer: string;
|
|
63
|
+
readonly selected?: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
64
|
+
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
selected: {
|
|
68
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
options: {
|
|
72
|
+
type: PropType<NormalizedOption[]>;
|
|
73
|
+
default(): never[];
|
|
74
|
+
};
|
|
75
|
+
keywords: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
loading: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
loadingBottom: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
size: {
|
|
88
|
+
type: PropType<Size>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
twDrawer: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{
|
|
96
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
}>, "size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer">;
|
|
99
|
+
$attrs: {
|
|
100
|
+
[x: string]: unknown;
|
|
101
|
+
};
|
|
102
|
+
$refs: {
|
|
103
|
+
[x: string]: unknown;
|
|
104
|
+
};
|
|
105
|
+
$slots: Readonly<{
|
|
106
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
107
|
+
}>;
|
|
108
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
109
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
110
|
+
$host: Element | null;
|
|
111
|
+
$emit: ((event: "select", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void);
|
|
112
|
+
$el: any;
|
|
113
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
+
selected: {
|
|
115
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
options: {
|
|
119
|
+
type: PropType<NormalizedOption[]>;
|
|
120
|
+
default(): never[];
|
|
121
|
+
};
|
|
122
|
+
keywords: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
loading: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
loadingBottom: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
size: {
|
|
135
|
+
type: PropType<Size>;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
twDrawer: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
}>> & Readonly<{
|
|
143
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
}>, {
|
|
146
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
147
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
148
|
+
select: (...args: any[]) => void;
|
|
149
|
+
scrollBottom: (...args: any[]) => void;
|
|
150
|
+
}, string, {
|
|
151
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
152
|
+
options: NormalizedOption[];
|
|
153
|
+
loading: boolean;
|
|
154
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
155
|
+
keywords: string;
|
|
156
|
+
loadingBottom: boolean;
|
|
157
|
+
twDrawer: string;
|
|
158
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
159
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
160
|
+
created?: (() => void) | (() => void)[];
|
|
161
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
162
|
+
mounted?: (() => void) | (() => void)[];
|
|
163
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
164
|
+
updated?: (() => void) | (() => void)[];
|
|
165
|
+
activated?: (() => void) | (() => void)[];
|
|
166
|
+
deactivated?: (() => void) | (() => void)[];
|
|
167
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
168
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
169
|
+
destroyed?: (() => void) | (() => void)[];
|
|
170
|
+
unmounted?: (() => void) | (() => void)[];
|
|
171
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
172
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
173
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
174
|
+
};
|
|
175
|
+
$forceUpdate: () => void;
|
|
176
|
+
$nextTick: typeof import("vue").nextTick;
|
|
177
|
+
$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;
|
|
178
|
+
} & Readonly<{
|
|
179
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
180
|
+
options: NormalizedOption[];
|
|
181
|
+
loading: boolean;
|
|
182
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
183
|
+
keywords: string;
|
|
184
|
+
loadingBottom: boolean;
|
|
185
|
+
twDrawer: string;
|
|
186
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
187
|
+
selected: {
|
|
188
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
189
|
+
default: undefined;
|
|
190
|
+
};
|
|
191
|
+
options: {
|
|
192
|
+
type: PropType<NormalizedOption[]>;
|
|
193
|
+
default(): never[];
|
|
194
|
+
};
|
|
195
|
+
keywords: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
loading: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
loadingBottom: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
size: {
|
|
208
|
+
type: PropType<Size>;
|
|
209
|
+
default: string;
|
|
210
|
+
};
|
|
211
|
+
twDrawer: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
default: string;
|
|
214
|
+
};
|
|
215
|
+
}>> & Readonly<{
|
|
216
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
218
|
+
}>, "onKeydown" | ("size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer")> & import("vue").ShallowUnwrapRef<{
|
|
219
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
220
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
221
|
+
$slots: {
|
|
222
|
+
empty?(_: {}): any;
|
|
223
|
+
option?(_: {
|
|
224
|
+
option: RawOption;
|
|
225
|
+
selected: boolean;
|
|
226
|
+
active: boolean;
|
|
227
|
+
}): any;
|
|
228
|
+
footer?(_: {
|
|
229
|
+
options: NormalizedOption[];
|
|
230
|
+
}): any;
|
|
231
|
+
};
|
|
232
|
+
}) | null;
|
|
233
|
+
};
|
|
234
|
+
attrs: Partial<{}>;
|
|
40
235
|
};
|
|
41
|
-
|
|
236
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
237
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
42
238
|
modelValue: {
|
|
43
239
|
required: true;
|
|
44
240
|
type: PropType<RawOption[] | null>;
|
|
@@ -115,13 +311,13 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
115
311
|
default: boolean;
|
|
116
312
|
type: BooleanConstructor;
|
|
117
313
|
};
|
|
118
|
-
}
|
|
314
|
+
}>, {
|
|
119
315
|
focus: typeof focus;
|
|
120
316
|
blur: typeof blur;
|
|
121
317
|
close: typeof close;
|
|
122
318
|
open: typeof open;
|
|
123
319
|
setKeywords: typeof setKeywords;
|
|
124
|
-
},
|
|
320
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
125
321
|
close: (...args: any[]) => void;
|
|
126
322
|
"update:modelValue": (...args: any[]) => void;
|
|
127
323
|
scrollBottom: (...args: any[]) => void;
|
|
@@ -204,20 +400,20 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
204
400
|
default: boolean;
|
|
205
401
|
type: BooleanConstructor;
|
|
206
402
|
};
|
|
207
|
-
}>> & {
|
|
403
|
+
}>> & Readonly<{
|
|
404
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
208
405
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
209
406
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
210
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
211
407
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
212
408
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
213
|
-
}
|
|
409
|
+
}>, {
|
|
214
410
|
filter: (option: NormalizedOption) => boolean;
|
|
215
411
|
required: boolean;
|
|
216
412
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
217
413
|
name: string;
|
|
414
|
+
disabled: boolean;
|
|
218
415
|
inline: boolean;
|
|
219
416
|
placeholder: string;
|
|
220
|
-
disabled: boolean;
|
|
221
417
|
hasError: boolean;
|
|
222
418
|
max: number;
|
|
223
419
|
visibleFocus: boolean;
|
|
@@ -226,8 +422,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
226
422
|
dropdownShow: "always" | "focus";
|
|
227
423
|
focusOnMount: boolean;
|
|
228
424
|
twContainer: string | string[];
|
|
229
|
-
}, {}>;
|
|
230
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
425
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
426
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
231
427
|
export default _default;
|
|
232
428
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
233
429
|
new (): {
|