sprintify-ui 0.10.14 → 0.10.16
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 +5 -4
- package/src/components/BaseCkeditor.vue +137 -0
- package/src/components/BaseDraggable.vue +1 -1
- package/src/components/BaseRichText.vue +10 -100
|
@@ -1,16 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import BaseTooltip from './BaseTooltip.vue';
|
|
2
|
+
declare const tooltipRef: import("vue").Ref<any, any>;
|
|
3
|
+
declare const tooltipContent: import("vue").ComputedRef<string | null>;
|
|
4
|
+
declare const readableDate: import("vue").ComputedRef<string>;
|
|
5
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
6
|
+
declare var __VLS_11: {
|
|
7
|
+
readableDate: string;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
10
|
+
default?: (props: typeof __VLS_11) => any;
|
|
11
|
+
}>;
|
|
12
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
value: {
|
|
14
|
+
required: true;
|
|
15
|
+
type: StringConstructor;
|
|
7
16
|
};
|
|
8
|
-
|
|
9
|
-
|
|
17
|
+
tooltip: {
|
|
18
|
+
default: boolean;
|
|
19
|
+
type: BooleanConstructor;
|
|
10
20
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
type
|
|
21
|
+
timeZone: {
|
|
22
|
+
default: string;
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
as: {
|
|
26
|
+
default: string;
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
BaseTooltip: typeof BaseTooltip;
|
|
31
|
+
tooltipRef: typeof tooltipRef;
|
|
32
|
+
tooltipContent: typeof tooltipContent;
|
|
33
|
+
readableDate: typeof readableDate;
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
value: {
|
|
36
|
+
required: true;
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
};
|
|
39
|
+
tooltip: {
|
|
40
|
+
default: boolean;
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
43
|
+
timeZone: {
|
|
44
|
+
default: string;
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
};
|
|
47
|
+
as: {
|
|
48
|
+
default: string;
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{}>, {
|
|
52
|
+
as: string;
|
|
53
|
+
tooltip: boolean;
|
|
54
|
+
timeZone: string;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
56
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
57
|
value: {
|
|
16
58
|
required: true;
|
|
@@ -50,9 +92,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
50
92
|
tooltip: boolean;
|
|
51
93
|
timeZone: string;
|
|
52
94
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
-
declare const _default:
|
|
95
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
54
96
|
export default _default;
|
|
55
|
-
type
|
|
97
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
98
|
new (): {
|
|
57
99
|
$slots: S;
|
|
58
100
|
};
|
|
@@ -4,29 +4,33 @@ type __VLS_Props = {
|
|
|
4
4
|
handle: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {
|
|
17
|
-
elementsRef: HTMLDivElement;
|
|
18
|
-
};
|
|
19
|
-
rootEl: HTMLDivElement;
|
|
7
|
+
declare const elementsRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
8
|
+
declare function getKey(element: any): any;
|
|
9
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
10
|
+
declare var __VLS_1: {
|
|
11
|
+
key: any;
|
|
12
|
+
element: any;
|
|
13
|
+
index: number;
|
|
20
14
|
};
|
|
21
|
-
type
|
|
15
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
16
|
+
item?: (props: typeof __VLS_1) => any;
|
|
17
|
+
}>;
|
|
18
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
19
|
+
elementsRef: typeof elementsRef;
|
|
20
|
+
getKey: typeof getKey;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (...args: any[]) => void;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
26
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
27
|
"update:modelValue": (...args: any[]) => void;
|
|
24
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
29
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
27
|
-
declare const _default:
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
28
32
|
export default _default;
|
|
29
|
-
type
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
34
|
new (): {
|
|
31
35
|
$slots: S;
|
|
32
36
|
};
|
|
@@ -1,21 +1,159 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/vue';
|
|
2
|
+
import { Popover, PopoverButton, PopoverPanel } from '@headlessui/vue';
|
|
2
3
|
import { PropType } from 'vue';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
|
|
4
|
+
declare const buttonRef: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
as: {
|
|
6
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor[];
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
id: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
20
|
+
id: string;
|
|
21
|
+
as: string | Record<string, any>;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
as: {
|
|
32
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor[];
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
id: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: null;
|
|
42
|
+
};
|
|
43
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}>, {}, {}, {}, {
|
|
46
|
+
id: string;
|
|
47
|
+
as: string | Record<string, any>;
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
}> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
as: {
|
|
51
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
disabled: {
|
|
55
|
+
type: BooleanConstructor[];
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
id: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: null;
|
|
61
|
+
};
|
|
62
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
65
|
+
id: string;
|
|
66
|
+
as: string | Record<string, any>;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
69
|
+
P: {};
|
|
70
|
+
B: {};
|
|
71
|
+
D: {};
|
|
72
|
+
C: {};
|
|
73
|
+
M: {};
|
|
74
|
+
Defaults: {};
|
|
75
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
as: {
|
|
77
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
disabled: {
|
|
81
|
+
type: BooleanConstructor[];
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
id: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: null;
|
|
87
|
+
};
|
|
88
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>, {}, {}, {}, {
|
|
91
|
+
id: string;
|
|
92
|
+
as: string | Record<string, any>;
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
}> | null>;
|
|
95
|
+
declare const dropdownRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
96
|
+
declare const floatingStyles: Readonly<import("vue").Ref<{
|
|
97
|
+
position: import("@floating-ui/utils").Strategy;
|
|
98
|
+
top: string;
|
|
99
|
+
left: string;
|
|
100
|
+
transform?: string;
|
|
101
|
+
willChange?: string;
|
|
102
|
+
}, {
|
|
103
|
+
position: import("@floating-ui/utils").Strategy;
|
|
104
|
+
top: string;
|
|
105
|
+
left: string;
|
|
106
|
+
transform?: string;
|
|
107
|
+
willChange?: string;
|
|
108
|
+
}>>;
|
|
109
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
110
|
+
declare var __VLS_10: {}, __VLS_24: {
|
|
111
|
+
close: any;
|
|
112
|
+
opened: any;
|
|
17
113
|
};
|
|
18
|
-
type
|
|
114
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
115
|
+
button?: (props: typeof __VLS_10) => any;
|
|
116
|
+
} & {
|
|
117
|
+
dropdown?: (props: typeof __VLS_24) => any;
|
|
118
|
+
}>;
|
|
119
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
120
|
+
animated: {
|
|
121
|
+
default: boolean;
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
};
|
|
124
|
+
keepAlive: {
|
|
125
|
+
default: boolean;
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
};
|
|
128
|
+
placement: {
|
|
129
|
+
default: string;
|
|
130
|
+
type: PropType<Placement>;
|
|
131
|
+
};
|
|
132
|
+
}>, {
|
|
133
|
+
Popover: typeof Popover;
|
|
134
|
+
PopoverButton: typeof PopoverButton;
|
|
135
|
+
PopoverPanel: typeof PopoverPanel;
|
|
136
|
+
buttonRef: typeof buttonRef;
|
|
137
|
+
dropdownRef: typeof dropdownRef;
|
|
138
|
+
floatingStyles: typeof floatingStyles;
|
|
139
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
+
animated: {
|
|
141
|
+
default: boolean;
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
};
|
|
144
|
+
keepAlive: {
|
|
145
|
+
default: boolean;
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
};
|
|
148
|
+
placement: {
|
|
149
|
+
default: string;
|
|
150
|
+
type: PropType<Placement>;
|
|
151
|
+
};
|
|
152
|
+
}>> & Readonly<{}>, {
|
|
153
|
+
placement: Placement;
|
|
154
|
+
animated: boolean;
|
|
155
|
+
keepAlive: boolean;
|
|
156
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
157
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
158
|
animated: {
|
|
21
159
|
default: boolean;
|
|
@@ -47,9 +185,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
47
185
|
animated: boolean;
|
|
48
186
|
keepAlive: boolean;
|
|
49
187
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
-
declare const _default:
|
|
188
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
51
189
|
export default _default;
|
|
52
|
-
type
|
|
190
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
191
|
new (): {
|
|
54
192
|
$slots: S;
|
|
55
193
|
};
|
|
@@ -1,24 +1,139 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { RawOption, SelectConfiguration } from '@/types';
|
|
3
|
+
import BaseDropdown from './BaseDropdown.vue';
|
|
3
4
|
import { Placement } from '@floating-ui/vue';
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
refs: {
|
|
17
|
-
autocomplete: unknown;
|
|
18
|
-
};
|
|
19
|
-
rootEl: any;
|
|
5
|
+
declare const componentName: import("vue").ComputedRef<any>;
|
|
6
|
+
declare const autocomplete: import("vue").Ref<any, any>;
|
|
7
|
+
declare const newValue: import("vue").Ref<any, any>;
|
|
8
|
+
declare const autocompleteProps: import("vue").ComputedRef<any>;
|
|
9
|
+
declare function onUpdate(value: RawOption | RawOption[] | null | undefined, close: () => void): void;
|
|
10
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
11
|
+
declare var __VLS_5: {
|
|
12
|
+
newValue: any;
|
|
13
|
+
}, __VLS_17: {
|
|
14
|
+
option: any;
|
|
15
|
+
active: any;
|
|
16
|
+
size: "xs" | "sm" | "base";
|
|
20
17
|
};
|
|
21
|
-
type
|
|
18
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
19
|
+
button?: (props: typeof __VLS_5) => any;
|
|
20
|
+
} & {
|
|
21
|
+
option?: (props: typeof __VLS_17) => any;
|
|
22
|
+
}>;
|
|
23
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: PropType<RawOption[] | RawOption | null | undefined>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
multiple: {
|
|
29
|
+
type: PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
url: {
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
options: {
|
|
37
|
+
type: PropType<RawOption[] | undefined>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
labelKey: {
|
|
41
|
+
default: string;
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
};
|
|
44
|
+
valueKey: {
|
|
45
|
+
default: string;
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
};
|
|
48
|
+
size: {
|
|
49
|
+
type: PropType<"xs" | "sm" | "base">;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
required: {
|
|
53
|
+
type: PropType<boolean>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
emptyOptionLabel: {
|
|
57
|
+
default: undefined;
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
};
|
|
60
|
+
placement: {
|
|
61
|
+
type: PropType<Placement>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
select: {
|
|
65
|
+
default: undefined;
|
|
66
|
+
type: PropType<SelectConfiguration | undefined>;
|
|
67
|
+
};
|
|
68
|
+
}>, {
|
|
69
|
+
BaseDropdown: typeof BaseDropdown;
|
|
70
|
+
componentName: typeof componentName;
|
|
71
|
+
autocomplete: typeof autocomplete;
|
|
72
|
+
newValue: typeof newValue;
|
|
73
|
+
autocompleteProps: typeof autocompleteProps;
|
|
74
|
+
onUpdate: typeof onUpdate;
|
|
75
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
76
|
+
"update:model-value": (...args: any[]) => void;
|
|
77
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
modelValue: {
|
|
79
|
+
type: PropType<RawOption[] | RawOption | null | undefined>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
multiple: {
|
|
83
|
+
type: PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
url: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
options: {
|
|
91
|
+
type: PropType<RawOption[] | undefined>;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
labelKey: {
|
|
95
|
+
default: string;
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
};
|
|
98
|
+
valueKey: {
|
|
99
|
+
default: string;
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
};
|
|
102
|
+
size: {
|
|
103
|
+
type: PropType<"xs" | "sm" | "base">;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
required: {
|
|
107
|
+
type: PropType<boolean>;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
emptyOptionLabel: {
|
|
111
|
+
default: undefined;
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
114
|
+
placement: {
|
|
115
|
+
type: PropType<Placement>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
select: {
|
|
119
|
+
default: undefined;
|
|
120
|
+
type: PropType<SelectConfiguration | undefined>;
|
|
121
|
+
};
|
|
122
|
+
}>> & Readonly<{
|
|
123
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
}>, {
|
|
125
|
+
select: SelectConfiguration | undefined;
|
|
126
|
+
size: "xs" | "sm" | "base";
|
|
127
|
+
required: boolean;
|
|
128
|
+
placement: Placement;
|
|
129
|
+
options: RawOption[] | undefined;
|
|
130
|
+
modelValue: RawOption | RawOption[] | null | undefined;
|
|
131
|
+
url: string;
|
|
132
|
+
labelKey: string;
|
|
133
|
+
valueKey: string;
|
|
134
|
+
emptyOptionLabel: string;
|
|
135
|
+
multiple: boolean;
|
|
136
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
137
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
23
138
|
modelValue: {
|
|
24
139
|
type: PropType<RawOption[] | RawOption | null | undefined>;
|
|
@@ -126,9 +241,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
126
241
|
emptyOptionLabel: string;
|
|
127
242
|
multiple: boolean;
|
|
128
243
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
129
|
-
declare const _default:
|
|
244
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
130
245
|
export default _default;
|
|
131
|
-
type
|
|
246
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
132
247
|
new (): {
|
|
133
248
|
$slots: S;
|
|
134
249
|
};
|
|
@@ -1,15 +1,106 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { ComputedRef, PropType } from 'vue';
|
|
2
|
+
import BaseAlert from './BaseAlert.vue';
|
|
3
|
+
import BaseInputError from './BaseInputError.vue';
|
|
4
|
+
import BaseInputLabel from './BaseInputLabel.vue';
|
|
2
5
|
import { Size } from '@/utils/sizes';
|
|
3
6
|
import { ClassNameValue } from 'tailwind-merge';
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
default?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {};
|
|
10
|
-
rootEl: HTMLDivElement;
|
|
7
|
+
declare const errorTypeInternal: import("vue").Ref<"default" | "minimal" | "alert", "default" | "minimal" | "alert">;
|
|
8
|
+
declare const inputSize: {
|
|
9
|
+
size: ComputedRef<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
11
10
|
};
|
|
12
|
-
|
|
11
|
+
declare const labelClassInternalMerged: ComputedRef<string>;
|
|
12
|
+
declare const labelNormalized: ComputedRef<string | null>;
|
|
13
|
+
declare const errorMessage: ComputedRef<string | null | undefined>;
|
|
14
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
15
|
+
declare var __VLS_4: {};
|
|
16
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
17
|
+
default?: (props: typeof __VLS_4) => any;
|
|
18
|
+
}>;
|
|
19
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
|
+
name: {
|
|
21
|
+
default: string;
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
};
|
|
24
|
+
label: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
size: {
|
|
29
|
+
default: undefined;
|
|
30
|
+
type: PropType<Size | undefined>;
|
|
31
|
+
};
|
|
32
|
+
required: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
help: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: null;
|
|
39
|
+
};
|
|
40
|
+
description: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
errorType: {
|
|
45
|
+
type: PropType<"default" | "minimal" | "alert">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
labelClass: {
|
|
49
|
+
default: string;
|
|
50
|
+
type: PropType<ClassNameValue>;
|
|
51
|
+
};
|
|
52
|
+
}>, {
|
|
53
|
+
BaseAlert: typeof BaseAlert;
|
|
54
|
+
BaseInputError: typeof BaseInputError;
|
|
55
|
+
BaseInputLabel: typeof BaseInputLabel;
|
|
56
|
+
errorTypeInternal: typeof errorTypeInternal;
|
|
57
|
+
inputSize: typeof inputSize;
|
|
58
|
+
labelClassInternalMerged: typeof labelClassInternalMerged;
|
|
59
|
+
labelNormalized: typeof labelNormalized;
|
|
60
|
+
errorMessage: typeof errorMessage;
|
|
61
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
name: {
|
|
63
|
+
default: string;
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
};
|
|
66
|
+
label: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
size: {
|
|
71
|
+
default: undefined;
|
|
72
|
+
type: PropType<Size | undefined>;
|
|
73
|
+
};
|
|
74
|
+
required: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
help: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
82
|
+
description: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: null;
|
|
85
|
+
};
|
|
86
|
+
errorType: {
|
|
87
|
+
type: PropType<"default" | "minimal" | "alert">;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
labelClass: {
|
|
91
|
+
default: string;
|
|
92
|
+
type: PropType<ClassNameValue>;
|
|
93
|
+
};
|
|
94
|
+
}>> & Readonly<{}>, {
|
|
95
|
+
label: string;
|
|
96
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
97
|
+
required: boolean;
|
|
98
|
+
description: string;
|
|
99
|
+
name: string;
|
|
100
|
+
help: string;
|
|
101
|
+
errorType: "default" | "minimal" | "alert";
|
|
102
|
+
labelClass: ClassNameValue;
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
104
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
105
|
name: {
|
|
15
106
|
default: string;
|
|
@@ -85,10 +176,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
85
176
|
help: string;
|
|
86
177
|
errorType: "default" | "minimal" | "alert";
|
|
87
178
|
labelClass: ClassNameValue;
|
|
88
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
89
|
-
declare const _default:
|
|
179
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
180
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
90
181
|
export default _default;
|
|
91
|
-
type
|
|
182
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
92
183
|
new (): {
|
|
93
184
|
$slots: S;
|
|
94
185
|
};
|
|
@@ -91,5 +91,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
91
91
|
locales: Locales;
|
|
92
92
|
componentProps: Record<string, any>;
|
|
93
93
|
defaultValue: string | number | boolean;
|
|
94
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
export default _default;
|