sprintify-ui 0.8.35 → 0.8.38
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 +1 -1
- package/dist/sprintify-ui.es.js +7603 -7495
- package/dist/types/components/BaseActionItem.vue.d.ts +12 -2
- package/dist/types/components/BaseActionItemButton.vue.d.ts +3 -3
- package/dist/types/components/BaseAddressForm.vue.d.ts +19 -19
- package/dist/types/components/BaseAlert.vue.d.ts +19 -17
- package/dist/types/components/BaseApp.vue.d.ts +4 -2
- package/dist/types/components/BaseAppDialogs.vue.d.ts +2 -2
- package/dist/types/components/BaseAutocomplete.vue.d.ts +47 -44
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +22 -19
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +44 -41
- package/dist/types/components/BaseAvatar.vue.d.ts +4 -4
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +22 -19
- package/dist/types/components/BaseBelongsTo.vue.d.ts +38 -35
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +39 -36
- package/dist/types/components/BaseButton.vue.d.ts +60 -31
- package/dist/types/components/BaseButtonGroup.vue.d.ts +22 -19
- package/dist/types/components/BaseCalendar.vue.d.ts +24 -22
- package/dist/types/components/BaseCard.vue.d.ts +6 -4
- package/dist/types/components/BaseCardRow.vue.d.ts +9 -7
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseClipboard.vue.d.ts +6 -4
- package/dist/types/components/BaseCollapse.vue.d.ts +34 -32
- package/dist/types/components/BaseColor.vue.d.ts +5 -4
- package/dist/types/components/BaseContainer.vue.d.ts +19 -13
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +24 -22
- package/dist/types/components/BaseCropperModal.vue.d.ts +4 -4
- package/dist/types/components/BaseDataIterator.vue.d.ts +13 -24
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +6 -4
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +3 -818
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +6 -4
- package/dist/types/components/BaseDataTable.vue.d.ts +37 -40
- package/dist/types/components/BaseDataTableRowAction.vue.d.ts +2 -2
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +28 -25
- package/dist/types/components/BaseDatePicker.vue.d.ts +33 -33
- package/dist/types/components/BaseDateSelect.vue.d.ts +3 -2
- package/dist/types/components/BaseDescriptionList.vue.d.ts +4 -2
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +4 -2
- package/dist/types/components/BaseDialog.vue.d.ts +9 -7
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +9 -7
- package/dist/types/components/BaseDraggable.vue.d.ts +10 -8
- package/dist/types/components/BaseDropdown.vue.d.ts +10 -8
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +20 -18
- package/dist/types/components/BaseField.vue.d.ts +11 -8
- package/dist/types/components/BaseFieldI18n.vue.d.ts +6 -6
- package/dist/types/components/BaseFilePicker.vue.d.ts +24 -22
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +18 -16
- package/dist/types/components/BaseFileUploader.vue.d.ts +58 -56
- package/dist/types/components/BaseForm.vue.d.ts +21 -19
- package/dist/types/components/BaseGantt.vue.d.ts +20 -411
- package/dist/types/components/BaseHasMany.vue.d.ts +39 -37
- package/dist/types/components/BaseHeader.vue.d.ts +20 -20
- package/dist/types/components/BaseIconPicker.vue.d.ts +7 -7
- package/dist/types/components/BaseInput.vue.d.ts +32 -31
- package/dist/types/components/BaseInputError.vue.d.ts +9 -6
- package/dist/types/components/BaseInputLabel.vue.d.ts +3 -2
- package/dist/types/components/BaseInputPercent.vue.d.ts +8 -8
- package/dist/types/components/BaseJsonReader.vue.d.ts +7 -7
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +4 -4
- package/dist/types/components/BaseLayoutNotificationDropdown.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +13 -10
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +10 -8
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +25 -23
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +9 -7
- package/dist/types/components/BaseLoadingCover.vue.d.ts +3 -3
- package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +39 -38
- 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/BaseMenu.vue.d.ts +26 -18
- package/dist/types/components/BaseMenuItem.vue.d.ts +5 -5
- package/dist/types/components/BaseModalCenter.vue.d.ts +8 -6
- package/dist/types/components/BaseModalSide.vue.d.ts +8 -6
- package/dist/types/components/BaseNavbar.vue.d.ts +17 -15
- package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +4 -4
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +4 -4
- package/dist/types/components/BasePanel.vue.d.ts +1 -1
- package/dist/types/components/BasePassword.vue.d.ts +6 -5
- package/dist/types/components/BaseProgressCircle.vue.d.ts +2 -2
- package/dist/types/components/BaseRadioGroup.vue.d.ts +10 -8
- package/dist/types/components/BaseReadMore.vue.d.ts +6 -4
- package/dist/types/components/BaseRichText.vue.d.ts +6 -5
- package/dist/types/components/BaseScrollColumn.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +13 -10
- package/dist/types/components/BaseShortcut.vue.d.ts +4 -4
- package/dist/types/components/BaseSideNavigation.vue.d.ts +8 -6
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +12 -10
- package/dist/types/components/BaseStatistic.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +14 -12
- package/dist/types/components/BaseSystemAlert.vue.d.ts +13 -11
- package/dist/types/components/BaseTabItem.vue.d.ts +12 -10
- package/dist/types/components/BaseTable.vue.d.ts +27 -24
- package/dist/types/components/BaseTableBody.vue.d.ts +4 -2
- package/dist/types/components/BaseTableCell.vue.d.ts +29 -27
- package/dist/types/components/BaseTableColumn.vue.d.ts +11 -11
- package/dist/types/components/BaseTableHead.vue.d.ts +6 -4
- package/dist/types/components/BaseTableHeader.vue.d.ts +11 -9
- package/dist/types/components/BaseTableRow.vue.d.ts +20 -18
- package/dist/types/components/BaseTabs.vue.d.ts +8 -6
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +47 -44
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +40 -38
- package/dist/types/components/BaseTextarea.vue.d.ts +8 -7
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +7 -6
- package/dist/types/components/BaseTimePicker.vue.d.ts +4 -3
- package/dist/types/components/BaseTooltip.vue.d.ts +15 -13
- package/dist/types/composables/breakpoints.d.ts +6 -6
- package/dist/types/composables/mediaQuery.d.ts +1 -1
- package/dist/types/composables/modal.d.ts +1 -1
- package/package.json +14 -20
- package/src/components/BaseAddressForm.stories.js +32 -33
- package/src/components/BaseAlert.stories.js +13 -13
- package/src/components/BaseAutocomplete.stories.js +26 -26
- package/src/components/BaseAutocomplete.vue +10 -3
- package/src/components/BaseAutocompleteFetch.stories.js +24 -28
- package/src/components/BaseAvatar.stories.js +11 -11
- package/src/components/BaseAvatarGroup.stories.js +9 -9
- package/src/components/BaseBadge.stories.js +18 -19
- package/src/components/BaseBelongsTo.stories.js +20 -20
- package/src/components/BaseBelongsToFetch.stories.js +21 -25
- package/src/components/BaseBoolean.stories.js +3 -3
- package/src/components/BaseBreadcrumbs.stories.js +14 -14
- package/src/components/BaseButton.stories.js +34 -34
- package/src/components/BaseButton.vue +4 -1
- package/src/components/BaseButtonGroup.stories.js +18 -18
- package/src/components/BaseCalendar.stories.js +122 -46
- package/src/components/BaseCard.stories.js +3 -3
- package/src/components/BaseCharacterCounter.stories.js +5 -5
- package/src/components/BaseClipboard.stories.js +6 -6
- package/src/components/BaseCollapse.stories.js +81 -82
- package/src/components/BaseColor.stories.js +8 -8
- package/src/components/BaseContainer.stories.js +6 -6
- package/src/components/BaseCounter.stories.js +9 -9
- package/src/components/BaseCropper.stories.js +11 -11
- package/src/components/BaseCropperModal.stories.js +6 -6
- package/src/components/BaseDataIterator.stories.js +30 -33
- package/src/components/BaseDataTable.stories.js +61 -56
- package/src/components/BaseDatePicker.stories.js +29 -29
- package/src/components/BaseDateSelect.stories.js +9 -9
- package/src/components/BaseDescriptionList.stories.js +4 -4
- package/src/components/BaseDialog.stories.js +27 -27
- package/src/components/BaseDisplayRelativeTime.stories.js +4 -4
- package/src/components/BaseDropdown.stories.js +13 -13
- package/src/components/BaseDropdownAutocomplete.stories.js +25 -25
- package/src/components/BaseFieldI18n.stories.js +9 -9
- package/src/components/BaseFilePicker.stories.js +8 -8
- package/src/components/BaseFilePickerCrop.stories.js +15 -15
- package/src/components/BaseFileUploader.stories.js +12 -13
- package/src/components/BaseForm.stories.js +7 -7
- package/src/components/BaseGantt.stories.js +22 -16
- package/src/components/BaseHasMany.stories.js +18 -22
- package/src/components/BaseHeader.stories.js +43 -43
- package/src/components/BaseIconPicker.stories.js +4 -4
- package/src/components/BaseInput.stories.js +48 -48
- package/src/components/BaseInputLabel.stories.js +6 -6
- package/src/components/BaseInputPercent.stories.js +8 -8
- package/src/components/BaseJsonReader.stories.js +42 -49
- package/src/components/BaseJsonReader.vue +0 -1
- package/src/components/BaseLayoutSidebar.vue +1 -1
- package/src/components/BaseLayoutSidebarConfigurable.stories.js +72 -73
- package/src/components/BaseLayoutSidebarConfigurable.vue +1 -1
- package/src/components/BaseLayoutStackedConfigurable.stories.js +68 -69
- package/src/components/BaseLoadingCover.stories.js +9 -9
- package/src/components/BaseMediaItem.stories.js +10 -10
- package/src/components/BaseMediaLibrary.stories.js +58 -58
- package/src/components/BaseMediaPreview.stories.js +21 -21
- package/src/components/BaseMenu.stories.js +34 -34
- package/src/components/BaseModalCenter.stories.js +9 -9
- package/src/components/BaseModalSide.stories.js +6 -6
- package/src/components/BaseNavbar.stories.js +26 -26
- package/src/components/BasePagination.stories.js +2 -2
- package/src/components/BasePanel.stories.js +9 -9
- package/src/components/BasePassword.stories.js +11 -12
- package/src/components/BaseProgressCircle.stories.js +3 -3
- package/src/components/BaseRadioGroup.stories.js +15 -15
- package/src/components/BaseReadMore.stories.js +3 -3
- package/src/components/BaseRichText.stories.js +32 -32
- package/src/components/BaseSelect.stories.js +19 -19
- package/src/components/BaseShortcut.stories.js +28 -28
- package/src/components/BaseSideNavigation.stories.js +11 -11
- package/src/components/BaseSkeleton.stories.js +3 -3
- package/src/components/BaseStatistic.stories.js +16 -16
- package/src/components/BaseStepper.stories.js +29 -29
- package/src/components/BaseStepperItem.stories.js +11 -11
- package/src/components/BaseSwitch.stories.js +25 -25
- package/src/components/BaseSystemAlert.stories.js +7 -7
- package/src/components/BaseTable.stories.js +14 -16
- package/src/components/BaseTabs.stories.js +12 -13
- package/src/components/BaseTagAutocomplete.stories.js +19 -19
- package/src/components/BaseTagAutocompleteFetch.stories.js +11 -11
- package/src/components/BaseTextarea.stories.js +10 -10
- package/src/components/BaseTextareaAutoresize.stories.js +13 -13
- package/src/components/BaseTimePicker.stories.js +9 -9
- package/src/components/BaseTimeline.stories.js +22 -22
- package/src/components/BaseTimelineItem.stories.js +23 -22
- package/src/components/BaseToast.stories.js +6 -6
- package/src/components/BaseTooltip.stories.js +27 -27
- package/src/components/BaseUniqueCode.stories.js +7 -7
- package/src/stories/InputSizes.stories.js +13 -14
- package/src/stories/List.stories.js +92 -92
- package/src/stories/Show.stories.js +13 -14
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
import { ActionItem } from '@/types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
item: ActionItem;
|
|
4
|
-
class?: string | string[] | null
|
|
4
|
+
class?: string | string[] | null;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
click: (...args: any[]) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
8
|
item: ActionItem;
|
|
9
|
-
class?: string | string[] | null
|
|
9
|
+
class?: string | string[] | null;
|
|
10
10
|
}>>> & {
|
|
11
11
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}, {}, {}>, {
|
|
13
13
|
default?(_: {
|
|
14
14
|
active: boolean;
|
|
15
15
|
}): any;
|
|
16
|
+
default?(_: {
|
|
17
|
+
active: boolean;
|
|
18
|
+
}): any;
|
|
19
|
+
default?(_: {
|
|
20
|
+
active: boolean;
|
|
21
|
+
}): any;
|
|
22
|
+
default?(_: {
|
|
23
|
+
active: boolean;
|
|
24
|
+
}): any;
|
|
16
25
|
}>;
|
|
17
26
|
export default _default;
|
|
27
|
+
|
|
18
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
29
|
new (): {
|
|
20
30
|
$slots: S;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ActionItem } from '@/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
3
|
item: ActionItem;
|
|
4
|
-
size:
|
|
4
|
+
size: "sm" | "md" | "lg";
|
|
5
5
|
}>, {
|
|
6
6
|
size: string;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
8
|
item: ActionItem;
|
|
9
|
-
size:
|
|
9
|
+
size: "sm" | "md" | "lg";
|
|
10
10
|
}>, {
|
|
11
11
|
size: string;
|
|
12
12
|
}>>>, {
|
|
13
|
-
size:
|
|
13
|
+
size: "sm" | "md" | "lg";
|
|
14
14
|
}, {}>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -13,15 +13,15 @@ type Address = {
|
|
|
13
13
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
14
|
modelValue: undefined | null | Address;
|
|
15
15
|
prefix: string | null;
|
|
16
|
-
required?: boolean
|
|
17
|
-
countries?: Country[]
|
|
18
|
-
regions?: Region[]
|
|
19
|
-
restrictCountry?: boolean
|
|
20
|
-
size?:
|
|
21
|
-
hideRegion?: boolean
|
|
22
|
-
hideCountry?: boolean
|
|
23
|
-
showNotes?: boolean
|
|
24
|
-
requiredFields?: (keyof Address)[]
|
|
16
|
+
required?: boolean;
|
|
17
|
+
countries?: Country[];
|
|
18
|
+
regions?: Region[];
|
|
19
|
+
restrictCountry?: boolean;
|
|
20
|
+
size?: Size;
|
|
21
|
+
hideRegion?: boolean;
|
|
22
|
+
hideCountry?: boolean;
|
|
23
|
+
showNotes?: boolean;
|
|
24
|
+
requiredFields?: (keyof Address)[];
|
|
25
25
|
}>, {
|
|
26
26
|
modelValue(): {};
|
|
27
27
|
prefix: null;
|
|
@@ -38,15 +38,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
38
38
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
39
39
|
modelValue: undefined | null | Address;
|
|
40
40
|
prefix: string | null;
|
|
41
|
-
required?: boolean
|
|
42
|
-
countries?: Country[]
|
|
43
|
-
regions?: Region[]
|
|
44
|
-
restrictCountry?: boolean
|
|
45
|
-
size?:
|
|
46
|
-
hideRegion?: boolean
|
|
47
|
-
hideCountry?: boolean
|
|
48
|
-
showNotes?: boolean
|
|
49
|
-
requiredFields?: (keyof Address)[]
|
|
41
|
+
required?: boolean;
|
|
42
|
+
countries?: Country[];
|
|
43
|
+
regions?: Region[];
|
|
44
|
+
restrictCountry?: boolean;
|
|
45
|
+
size?: Size;
|
|
46
|
+
hideRegion?: boolean;
|
|
47
|
+
hideCountry?: boolean;
|
|
48
|
+
showNotes?: boolean;
|
|
49
|
+
requiredFields?: (keyof Address)[];
|
|
50
50
|
}>, {
|
|
51
51
|
modelValue(): {};
|
|
52
52
|
prefix: null;
|
|
@@ -61,12 +61,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
61
61
|
}>>> & {
|
|
62
62
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
}, {
|
|
64
|
+
size: Size;
|
|
64
65
|
modelValue: undefined | null | Address;
|
|
65
66
|
prefix: string | null;
|
|
66
67
|
countries: Country[];
|
|
67
68
|
regions: Region[];
|
|
68
69
|
restrictCountry: boolean;
|
|
69
|
-
size: Size;
|
|
70
70
|
hideRegion: boolean;
|
|
71
71
|
hideCountry: boolean;
|
|
72
72
|
showNotes: boolean;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
+
title?: string;
|
|
6
|
+
color: "info" | "success" | "danger" | "warning" | string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
showIcon?: boolean;
|
|
9
|
+
bordered?: boolean;
|
|
10
|
+
class?: string | string[];
|
|
8
11
|
}>, {
|
|
9
12
|
title: undefined;
|
|
10
13
|
color: string;
|
|
@@ -13,12 +16,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
16
|
bordered: boolean;
|
|
14
17
|
class: undefined;
|
|
15
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
-
title?: string
|
|
17
|
-
color: string;
|
|
18
|
-
icon?: string
|
|
19
|
-
showIcon?: boolean
|
|
20
|
-
bordered?: boolean
|
|
21
|
-
class?: string | string[]
|
|
19
|
+
title?: string;
|
|
20
|
+
color: "info" | "success" | "danger" | "warning" | string;
|
|
21
|
+
icon?: string;
|
|
22
|
+
showIcon?: boolean;
|
|
23
|
+
bordered?: boolean;
|
|
24
|
+
class?: string | string[];
|
|
22
25
|
}>, {
|
|
23
26
|
title: undefined;
|
|
24
27
|
color: string;
|
|
@@ -29,13 +32,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
32
|
}>>>, {
|
|
30
33
|
class: string | string[];
|
|
31
34
|
title: string;
|
|
32
|
-
color: string;
|
|
35
|
+
color: "info" | "success" | "danger" | "warning" | string;
|
|
33
36
|
icon: string;
|
|
34
37
|
showIcon: boolean;
|
|
35
38
|
bordered: boolean;
|
|
36
|
-
}, {}
|
|
37
|
-
|
|
38
|
-
}>;
|
|
39
|
+
}, {}>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
39
41
|
export default _default;
|
|
40
42
|
type __VLS_WithDefaults<P, D> = {
|
|
41
43
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
4
6
|
export default _default;
|
|
5
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
8
|
new (): {
|
|
@@ -11,14 +11,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
11
11
|
placeholder?: string | undefined;
|
|
12
12
|
name?: string | undefined;
|
|
13
13
|
type?: string | undefined;
|
|
14
|
-
size?: "
|
|
14
|
+
size?: import("../utils/sizes.js").Size | undefined;
|
|
15
15
|
required?: boolean | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
};
|
|
18
18
|
confirmText: string;
|
|
19
19
|
cancelText: string;
|
|
20
20
|
closeOnOutsideClick: boolean;
|
|
21
|
-
onConfirm: (input?: string
|
|
21
|
+
onConfirm: (input?: string) => void;
|
|
22
22
|
onCancel: () => void;
|
|
23
23
|
}[]>;
|
|
24
24
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -1,12 +1,40 @@
|
|
|
1
1
|
import { PropType, ComputedRef } from 'vue';
|
|
2
2
|
import { NormalizedOption, RawOption } from '@/types';
|
|
3
3
|
import { SelectConfiguration } from '@/types';
|
|
4
|
+
import { Size } from '@/utils/sizes';
|
|
4
5
|
declare function open(): void;
|
|
5
6
|
declare function close(): void;
|
|
6
7
|
declare function setKeywords(input: string): void;
|
|
7
8
|
declare function focus(): void;
|
|
8
9
|
declare function blur(): void;
|
|
9
|
-
declare
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
empty?(_: {
|
|
12
|
+
focus: typeof focus;
|
|
13
|
+
blur: typeof blur;
|
|
14
|
+
open: typeof open;
|
|
15
|
+
close: typeof close;
|
|
16
|
+
keywords: ComputedRef<string>;
|
|
17
|
+
}): any;
|
|
18
|
+
option?(_: {
|
|
19
|
+
focus: typeof focus;
|
|
20
|
+
blur: typeof blur;
|
|
21
|
+
open: typeof open;
|
|
22
|
+
close: typeof close;
|
|
23
|
+
keywords: ComputedRef<string>;
|
|
24
|
+
option: RawOption;
|
|
25
|
+
selected: boolean;
|
|
26
|
+
active: boolean;
|
|
27
|
+
}): any;
|
|
28
|
+
footer?(_: {
|
|
29
|
+
focus: typeof focus;
|
|
30
|
+
blur: typeof blur;
|
|
31
|
+
open: typeof open;
|
|
32
|
+
close: typeof close;
|
|
33
|
+
keywords: ComputedRef<string>;
|
|
34
|
+
options: NormalizedOption[];
|
|
35
|
+
}): any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
10
38
|
modelValue: {
|
|
11
39
|
default: undefined;
|
|
12
40
|
type: PropType<RawOption | null | undefined>;
|
|
@@ -29,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
29
57
|
};
|
|
30
58
|
size: {
|
|
31
59
|
default: undefined;
|
|
32
|
-
type: PropType<
|
|
60
|
+
type: PropType<Size>;
|
|
33
61
|
};
|
|
34
62
|
placeholder: {
|
|
35
63
|
default: undefined;
|
|
@@ -107,13 +135,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
107
135
|
open: typeof open;
|
|
108
136
|
setKeywords: typeof setKeywords;
|
|
109
137
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
138
|
+
select: (...args: any[]) => void;
|
|
139
|
+
close: (...args: any[]) => void;
|
|
110
140
|
clear: (...args: any[]) => void;
|
|
111
141
|
"update:modelValue": (...args: any[]) => void;
|
|
142
|
+
scrollBottom: (...args: any[]) => void;
|
|
112
143
|
typing: (...args: any[]) => void;
|
|
113
144
|
open: (...args: any[]) => void;
|
|
114
|
-
close: (...args: any[]) => void;
|
|
115
|
-
scrollBottom: (...args: any[]) => void;
|
|
116
|
-
select: (...args: any[]) => void;
|
|
117
145
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
146
|
modelValue: {
|
|
119
147
|
default: undefined;
|
|
@@ -137,7 +165,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
137
165
|
};
|
|
138
166
|
size: {
|
|
139
167
|
default: undefined;
|
|
140
|
-
type: PropType<
|
|
168
|
+
type: PropType<Size>;
|
|
141
169
|
};
|
|
142
170
|
placeholder: {
|
|
143
171
|
default: undefined;
|
|
@@ -209,61 +237,36 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
209
237
|
type: PropType<string | string[]>;
|
|
210
238
|
};
|
|
211
239
|
}>> & {
|
|
212
|
-
|
|
240
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
213
241
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
242
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
243
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
244
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
214
245
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
215
246
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
216
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
218
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
219
247
|
}, {
|
|
220
248
|
filter: (option: NormalizedOption) => boolean;
|
|
221
249
|
required: boolean;
|
|
222
|
-
modelValue: RawOption | null | undefined;
|
|
223
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
224
250
|
select: SelectConfiguration | undefined;
|
|
251
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
225
252
|
name: string;
|
|
253
|
+
inline: boolean;
|
|
254
|
+
modelValue: RawOption | null | undefined;
|
|
226
255
|
placeholder: string;
|
|
227
|
-
loading: boolean;
|
|
228
|
-
loadingBottom: boolean;
|
|
229
256
|
disabled: boolean;
|
|
230
257
|
hasError: boolean;
|
|
231
|
-
inline: boolean;
|
|
232
|
-
dropdownShow: "focus" | "always";
|
|
233
|
-
showModelValue: boolean;
|
|
234
258
|
visibleFocus: boolean;
|
|
259
|
+
loading: boolean;
|
|
260
|
+
loadingBottom: boolean;
|
|
261
|
+
dropdownShow: "always" | "focus";
|
|
262
|
+
showModelValue: boolean;
|
|
235
263
|
focusOnMount: boolean;
|
|
236
264
|
showEmptyOption: boolean;
|
|
237
265
|
showRemoveButton: boolean;
|
|
238
266
|
emptyOptionLabel: string;
|
|
239
267
|
twInput: string | string[];
|
|
240
|
-
}, {}
|
|
241
|
-
|
|
242
|
-
focus: typeof focus;
|
|
243
|
-
blur: typeof blur;
|
|
244
|
-
open: typeof open;
|
|
245
|
-
close: typeof close;
|
|
246
|
-
keywords: ComputedRef<string>;
|
|
247
|
-
}): any;
|
|
248
|
-
option?(_: {
|
|
249
|
-
focus: typeof focus;
|
|
250
|
-
blur: typeof blur;
|
|
251
|
-
open: typeof open;
|
|
252
|
-
close: typeof close;
|
|
253
|
-
keywords: ComputedRef<string>;
|
|
254
|
-
option: RawOption;
|
|
255
|
-
selected: boolean;
|
|
256
|
-
active: boolean;
|
|
257
|
-
}): any;
|
|
258
|
-
footer?(_: {
|
|
259
|
-
focus: typeof focus;
|
|
260
|
-
blur: typeof blur;
|
|
261
|
-
open: typeof open;
|
|
262
|
-
close: typeof close;
|
|
263
|
-
keywords: ComputedRef<string>;
|
|
264
|
-
options: NormalizedOption[];
|
|
265
|
-
}): any;
|
|
266
|
-
}>;
|
|
268
|
+
}, {}>;
|
|
269
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
267
270
|
export default _default;
|
|
268
271
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
269
272
|
new (): {
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { NormalizedOption } from '@/types';
|
|
3
|
+
import { Size } from '@/utils/sizes';
|
|
3
4
|
declare function onKeydown(event: KeyboardEvent): void;
|
|
4
|
-
declare
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
empty?(_: {}): any;
|
|
7
|
+
option?(_: {
|
|
8
|
+
option: import("@/types").RawOption;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
active: boolean;
|
|
11
|
+
}): any;
|
|
12
|
+
footer?(_: {
|
|
13
|
+
options: NormalizedOption[];
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
5
17
|
selected: {
|
|
6
|
-
type: PropType<NormalizedOption | NormalizedOption
|
|
18
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
7
19
|
default: undefined;
|
|
8
20
|
};
|
|
9
21
|
options: {
|
|
@@ -23,7 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
35
|
default: boolean;
|
|
24
36
|
};
|
|
25
37
|
size: {
|
|
26
|
-
type: PropType<
|
|
38
|
+
type: PropType<Size>;
|
|
27
39
|
default: string;
|
|
28
40
|
};
|
|
29
41
|
twDrawer: {
|
|
@@ -33,11 +45,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
45
|
}, {
|
|
34
46
|
onKeydown: typeof onKeydown;
|
|
35
47
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
scrollBottom: (...args: any[]) => void;
|
|
37
48
|
select: (...args: any[]) => void;
|
|
49
|
+
scrollBottom: (...args: any[]) => void;
|
|
38
50
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
51
|
selected: {
|
|
40
|
-
type: PropType<NormalizedOption | NormalizedOption
|
|
52
|
+
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
41
53
|
default: undefined;
|
|
42
54
|
};
|
|
43
55
|
options: {
|
|
@@ -57,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
57
69
|
default: boolean;
|
|
58
70
|
};
|
|
59
71
|
size: {
|
|
60
|
-
type: PropType<
|
|
72
|
+
type: PropType<Size>;
|
|
61
73
|
default: string;
|
|
62
74
|
};
|
|
63
75
|
twDrawer: {
|
|
@@ -65,27 +77,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
65
77
|
default: string;
|
|
66
78
|
};
|
|
67
79
|
}>> & {
|
|
68
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
69
80
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
70
82
|
}, {
|
|
71
83
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
72
84
|
options: NormalizedOption[];
|
|
73
85
|
loading: boolean;
|
|
74
|
-
loadingBottom: boolean;
|
|
75
86
|
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
76
87
|
keywords: string;
|
|
88
|
+
loadingBottom: boolean;
|
|
77
89
|
twDrawer: string;
|
|
78
|
-
}, {}
|
|
79
|
-
|
|
80
|
-
option?(_: {
|
|
81
|
-
option: import("@/types").RawOption;
|
|
82
|
-
selected: boolean;
|
|
83
|
-
active: boolean;
|
|
84
|
-
}): any;
|
|
85
|
-
footer?(_: {
|
|
86
|
-
options: NormalizedOption[];
|
|
87
|
-
}): any;
|
|
88
|
-
}>;
|
|
90
|
+
}, {}>;
|
|
91
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
89
92
|
export default _default;
|
|
90
93
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
91
94
|
new (): {
|
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { RawOption, SelectConfiguration } from '@/types';
|
|
3
|
-
|
|
3
|
+
import { Size } from '@/utils/sizes';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
option?(_: {
|
|
6
|
+
focus: () => void;
|
|
7
|
+
blur: () => void;
|
|
8
|
+
open: () => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
keywords: import("vue").ComputedRef<string>;
|
|
11
|
+
option: RawOption;
|
|
12
|
+
selected: boolean;
|
|
13
|
+
active: boolean;
|
|
14
|
+
}): any;
|
|
15
|
+
footer?(_: {
|
|
16
|
+
keywords: string;
|
|
17
|
+
focus: () => void;
|
|
18
|
+
blur: () => void;
|
|
19
|
+
open: () => void;
|
|
20
|
+
close: () => void;
|
|
21
|
+
options: import("@/types").NormalizedOption[];
|
|
22
|
+
}): any;
|
|
23
|
+
empty?(_: {
|
|
24
|
+
firstSearch: boolean;
|
|
25
|
+
focus: () => void;
|
|
26
|
+
blur: () => void;
|
|
27
|
+
open: () => void;
|
|
28
|
+
close: () => void;
|
|
29
|
+
keywords: import("vue").ComputedRef<string>;
|
|
30
|
+
}): any;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
4
33
|
modelValue: {
|
|
5
34
|
default: undefined;
|
|
6
35
|
type: PropType<RawOption | null | undefined>;
|
|
@@ -47,7 +76,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
47
76
|
};
|
|
48
77
|
size: {
|
|
49
78
|
default: undefined;
|
|
50
|
-
type: PropType<
|
|
79
|
+
type: PropType<Size>;
|
|
51
80
|
};
|
|
52
81
|
dropdownShow: {
|
|
53
82
|
default: string;
|
|
@@ -92,11 +121,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
92
121
|
close: () => void | undefined;
|
|
93
122
|
setKeywords: (input: string) => void | undefined;
|
|
94
123
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
95
|
-
clear: (...args: any[]) => void;
|
|
96
124
|
focus: (...args: any[]) => void;
|
|
125
|
+
clear: (...args: any[]) => void;
|
|
97
126
|
"update:modelValue": (...args: any[]) => void;
|
|
98
|
-
typing: (...args: any[]) => void;
|
|
99
127
|
scrollBottom: (...args: any[]) => void;
|
|
128
|
+
typing: (...args: any[]) => void;
|
|
100
129
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
101
130
|
modelValue: {
|
|
102
131
|
default: undefined;
|
|
@@ -144,7 +173,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
144
173
|
};
|
|
145
174
|
size: {
|
|
146
175
|
default: undefined;
|
|
147
|
-
type: PropType<
|
|
176
|
+
type: PropType<Size>;
|
|
148
177
|
};
|
|
149
178
|
dropdownShow: {
|
|
150
179
|
default: string;
|
|
@@ -183,58 +212,32 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
183
212
|
type: PropType<string | string[]>;
|
|
184
213
|
};
|
|
185
214
|
}>> & {
|
|
186
|
-
|
|
215
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
187
216
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
188
|
-
onTyping?: ((...args: any[]) => any) | undefined;
|
|
189
217
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
|
|
218
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
219
|
+
onTyping?: ((...args: any[]) => any) | undefined;
|
|
191
220
|
}, {
|
|
192
221
|
required: boolean;
|
|
193
|
-
modelValue: RawOption | null | undefined;
|
|
194
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
195
222
|
select: SelectConfiguration | undefined;
|
|
223
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
196
224
|
name: string;
|
|
225
|
+
inline: boolean;
|
|
226
|
+
modelValue: RawOption | null | undefined;
|
|
197
227
|
placeholder: string;
|
|
198
228
|
disabled: boolean;
|
|
199
229
|
hasError: boolean;
|
|
200
|
-
inline: boolean;
|
|
201
|
-
dropdownShow: "focus" | "always";
|
|
202
|
-
showModelValue: boolean;
|
|
203
230
|
visibleFocus: boolean;
|
|
231
|
+
dropdownShow: "always" | "focus";
|
|
232
|
+
showModelValue: boolean;
|
|
204
233
|
focusOnMount: boolean;
|
|
205
234
|
showEmptyOption: boolean;
|
|
206
235
|
showRemoveButton: boolean;
|
|
207
236
|
emptyOptionLabel: string;
|
|
208
237
|
twInput: string | string[];
|
|
209
238
|
queryKey: string;
|
|
210
|
-
}, {}
|
|
211
|
-
|
|
212
|
-
focus: () => void;
|
|
213
|
-
blur: () => void;
|
|
214
|
-
open: () => void;
|
|
215
|
-
close: () => void;
|
|
216
|
-
keywords: import("vue").ComputedRef<string>;
|
|
217
|
-
option: RawOption;
|
|
218
|
-
selected: boolean;
|
|
219
|
-
active: boolean;
|
|
220
|
-
}): any;
|
|
221
|
-
footer?(_: {
|
|
222
|
-
keywords: string;
|
|
223
|
-
focus: () => void;
|
|
224
|
-
blur: () => void;
|
|
225
|
-
open: () => void;
|
|
226
|
-
close: () => void;
|
|
227
|
-
options: import("@/types").NormalizedOption[];
|
|
228
|
-
}): any;
|
|
229
|
-
empty?(_: {
|
|
230
|
-
firstSearch: boolean;
|
|
231
|
-
focus: () => void;
|
|
232
|
-
blur: () => void;
|
|
233
|
-
open: () => void;
|
|
234
|
-
close: () => void;
|
|
235
|
-
keywords: import("vue").ComputedRef<string>;
|
|
236
|
-
}): any;
|
|
237
|
-
}>;
|
|
239
|
+
}, {}>;
|
|
240
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
238
241
|
export default _default;
|
|
239
242
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
240
243
|
new (): {
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
};
|
|
17
17
|
detailsPosition: {
|
|
18
18
|
default: string;
|
|
19
|
-
type: PropType<"
|
|
19
|
+
type: PropType<"left" | "right">;
|
|
20
20
|
};
|
|
21
21
|
class: {
|
|
22
22
|
default: string;
|
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
};
|
|
46
46
|
detailsPosition: {
|
|
47
47
|
default: string;
|
|
48
|
-
type: PropType<"
|
|
48
|
+
type: PropType<"left" | "right">;
|
|
49
49
|
};
|
|
50
50
|
class: {
|
|
51
51
|
default: string;
|
|
@@ -61,10 +61,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
};
|
|
62
62
|
}>>, {
|
|
63
63
|
class: string;
|
|
64
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
64
65
|
size: string;
|
|
65
66
|
showDetails: boolean;
|
|
66
|
-
detailsPosition: "
|
|
67
|
+
detailsPosition: "left" | "right";
|
|
67
68
|
tooltip: boolean;
|
|
68
|
-
to: RouteLocationRaw;
|
|
69
69
|
}, {}>;
|
|
70
70
|
export default _default;
|