sprintify-ui 0.10.13 → 0.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/BaseCkeditor-C9d4NSCx.js +113 -0
- package/dist/sprintify-ui.es.js +14283 -81751
- package/dist/style.css +3 -3
- package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
- package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +24 -11
- package/dist/types/components/BaseApp.vue.d.ts +14 -12
- package/dist/types/components/BaseAssign.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +642 -452
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +117 -22
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1029 -410
- package/dist/types/components/BaseAvatar.vue.d.ts +1 -1
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +23 -11
- package/dist/types/components/BaseBelongsTo.vue.d.ts +985 -409
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +750 -369
- package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
- package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/BaseButton.vue.d.ts +57 -13
- package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
- package/dist/types/components/BaseCard.vue.d.ts +26 -12
- package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCkeditor.vue.d.ts +32 -0
- package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
- package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
- package/dist/types/components/BaseContainer.vue.d.ts +16 -11
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +55 -30
- package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
- package/dist/types/components/BaseDataTable.vue.d.ts +2045 -735
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +563 -100
- package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
- package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
- package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
- package/dist/types/components/BaseDialog.vue.d.ts +114 -407
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
- package/dist/types/components/BaseDraggable.vue.d.ts +21 -17
- package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +134 -19
- package/dist/types/components/BaseField.vue.d.ts +103 -12
- package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
- package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
- package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
- package/dist/types/components/BaseForm.vue.d.ts +161 -20
- package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
- package/dist/types/components/BaseHasMany.vue.d.ts +586 -345
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +598 -249
- package/dist/types/components/BaseHeader.vue.d.ts +1 -1
- package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
- package/dist/types/components/BaseInputError.vue.d.ts +23 -11
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +127 -16
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
- package/dist/types/components/BaseLazy.vue.d.ts +20 -15
- package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
- package/dist/types/components/BaseMediaList.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPictures.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +233 -30
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
- package/dist/types/components/BaseModalSide.vue.d.ts +72 -12
- package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
- package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
- package/dist/types/components/BasePagination.vue.d.ts +1 -1
- package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
- package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +149 -12
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
- package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
- package/dist/types/components/BaseStepper.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +118 -10
- package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
- package/dist/types/components/BaseTabItem.vue.d.ts +25 -16
- package/dist/types/components/BaseTable.vue.d.ts +29 -14
- package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
- package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
- package/dist/types/components/BaseTableColumn.vue.d.ts +2 -2
- package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
- package/dist/types/components/BaseTableHeader.vue.d.ts +25 -14
- package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
- package/dist/types/components/BaseTabs.vue.d.ts +16 -15
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +578 -199
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +803 -346
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
- package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/components/BaseToast.vue.d.ts +1 -1
- package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
- package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
- package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
- package/dist/types/stories/PageShow.vue.d.ts +1 -1
- package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
- package/package.json +3 -4
- package/src/components/BaseCkeditor.vue +137 -0
- package/src/components/BaseRichText.vue +10 -100
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UseIntersectionObserverOptions } from '@vueuse/core';
|
|
2
|
+
declare const nodeRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
2
3
|
declare const TRIGGER_MOUNT = "mount";
|
|
3
4
|
declare const TRIGGER_INTERSECTION = "intersection";
|
|
4
5
|
type __VLS_Props = {
|
|
@@ -6,26 +7,30 @@ type __VLS_Props = {
|
|
|
6
7
|
trigger?: typeof TRIGGER_MOUNT | typeof TRIGGER_INTERSECTION;
|
|
7
8
|
intersectionConfig?: UseIntersectionObserverOptions;
|
|
8
9
|
};
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
declare const shouldRender: import("vue").ComputedRef<boolean>;
|
|
11
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
12
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
13
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
14
|
+
default?: (props: typeof __VLS_1) => any;
|
|
15
|
+
} & {
|
|
16
|
+
preview?: (props: typeof __VLS_3) => any;
|
|
17
|
+
}>;
|
|
18
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
19
|
+
nodeRef: typeof nodeRef;
|
|
20
|
+
shouldRender: typeof shouldRender;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
+
delay: number;
|
|
23
|
+
trigger: typeof TRIGGER_MOUNT | typeof TRIGGER_INTERSECTION;
|
|
24
|
+
intersectionConfig: UseIntersectionObserverOptions;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
26
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
27
|
delay: number;
|
|
23
28
|
trigger: typeof TRIGGER_MOUNT | typeof TRIGGER_INTERSECTION;
|
|
24
29
|
intersectionConfig: UseIntersectionObserverOptions;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
26
|
-
declare const _default:
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
32
|
export default _default;
|
|
28
|
-
type
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
34
|
new (): {
|
|
30
35
|
$slots: S;
|
|
31
36
|
};
|
|
@@ -63,5 +63,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
63
|
draggable: boolean;
|
|
64
64
|
showRemove: boolean;
|
|
65
65
|
itemMaxWidth: number;
|
|
66
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
67
|
export default _default;
|
|
@@ -43,5 +43,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
43
|
disabled: boolean;
|
|
44
44
|
draggable: boolean;
|
|
45
45
|
showRemove: boolean;
|
|
46
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
export default _default;
|
|
@@ -25,5 +25,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
showRemove: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
29
|
export default _default;
|
|
@@ -1,40 +1,240 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { UploadedFile } from '@/types/UploadedFile';
|
|
2
3
|
import { Media } from '@/types/Media';
|
|
3
4
|
import { BaseCropperConfig, MediaLibraryPayload } from '@/types';
|
|
5
|
+
import BaseFileUploader from './BaseFileUploader.vue';
|
|
6
|
+
import { BaseIcon } from '.';
|
|
7
|
+
import BaseMediaList from './BaseMediaList.vue';
|
|
8
|
+
import BaseMediaPictures from './BaseMediaPictures.vue';
|
|
9
|
+
import BaseMediaGallery from './BaseMediaGallery.vue';
|
|
10
|
+
import { t } from '@/i18n';
|
|
11
|
+
declare const normalizedModelValue: import("vue").ComputedRef<MediaLibraryPayload>;
|
|
12
|
+
declare const normalizedMax: import("vue").ComputedRef<number>;
|
|
13
|
+
declare const maxFileText: import("vue").ComputedRef<string>;
|
|
14
|
+
declare const maxFileSize: import("vue").ComputedRef<string>;
|
|
15
|
+
declare function onSuccess(files: UploadedFile[]): void;
|
|
16
|
+
declare const disabledInternal: import("vue").ComputedRef<boolean>;
|
|
4
17
|
declare function promptRemove(index: number, length?: number): void;
|
|
5
18
|
declare function sync(modelValue: MediaLibraryPayload): void;
|
|
6
|
-
declare function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}): any;
|
|
33
|
-
};
|
|
34
|
-
refs: {};
|
|
35
|
-
rootEl: HTMLDivElement;
|
|
19
|
+
declare function onStart(event: unknown): void;
|
|
20
|
+
declare function onFail(event: unknown): void;
|
|
21
|
+
declare function onEnd(event: unknown): void;
|
|
22
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
23
|
+
declare var __VLS_11: {
|
|
24
|
+
maxSize: number;
|
|
25
|
+
max: number;
|
|
26
|
+
selecting: boolean;
|
|
27
|
+
dragging: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
uploading: boolean;
|
|
30
|
+
loading: boolean;
|
|
31
|
+
} | {
|
|
32
|
+
maxSize: number;
|
|
33
|
+
max: number;
|
|
34
|
+
selecting: boolean;
|
|
35
|
+
dragging: boolean;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
uploading: boolean;
|
|
38
|
+
loading: boolean;
|
|
39
|
+
}, __VLS_17: {
|
|
40
|
+
modelValue: MediaLibraryPayload;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
draggable: boolean;
|
|
43
|
+
remove: typeof promptRemove;
|
|
44
|
+
'onUpdate:modelValue': typeof sync;
|
|
36
45
|
};
|
|
37
|
-
type
|
|
46
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
47
|
+
default?: (props: typeof __VLS_11) => any;
|
|
48
|
+
} & {
|
|
49
|
+
list?: (props: typeof __VLS_17) => any;
|
|
50
|
+
}>;
|
|
51
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
52
|
+
modelValue: {
|
|
53
|
+
default: undefined;
|
|
54
|
+
type: PropType<MediaLibraryPayload>;
|
|
55
|
+
};
|
|
56
|
+
name: {
|
|
57
|
+
default: undefined;
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
};
|
|
60
|
+
min: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
max: {
|
|
65
|
+
default: undefined;
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
};
|
|
68
|
+
maxSize: {
|
|
69
|
+
default: number;
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
};
|
|
72
|
+
accept: {
|
|
73
|
+
default: undefined;
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
};
|
|
76
|
+
acceptedExtensions: {
|
|
77
|
+
default: undefined;
|
|
78
|
+
type: PropType<string[]>;
|
|
79
|
+
};
|
|
80
|
+
currentMedia: {
|
|
81
|
+
default(): never[];
|
|
82
|
+
type: PropType<Media[]>;
|
|
83
|
+
};
|
|
84
|
+
uploadUrl: {
|
|
85
|
+
default: undefined;
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
88
|
+
hasError: {
|
|
89
|
+
default: boolean;
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
};
|
|
92
|
+
disabled: {
|
|
93
|
+
default: boolean;
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
};
|
|
96
|
+
pickerComponent: {
|
|
97
|
+
default: string;
|
|
98
|
+
type: PropType<"BaseFilePicker" | "BaseFilePickerCrop">;
|
|
99
|
+
};
|
|
100
|
+
cropper: {
|
|
101
|
+
default: undefined;
|
|
102
|
+
type: PropType<BaseCropperConfig | boolean | null>;
|
|
103
|
+
};
|
|
104
|
+
draggable: {
|
|
105
|
+
default: boolean;
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
};
|
|
108
|
+
multiple: {
|
|
109
|
+
default: boolean;
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
};
|
|
112
|
+
listProps: {
|
|
113
|
+
default: undefined;
|
|
114
|
+
type: PropType<Record<string, unknown>>;
|
|
115
|
+
};
|
|
116
|
+
layout: {
|
|
117
|
+
default: string;
|
|
118
|
+
type: PropType<"list" | "images" | "gallery">;
|
|
119
|
+
};
|
|
120
|
+
}>, {
|
|
121
|
+
BaseFileUploader: typeof BaseFileUploader;
|
|
122
|
+
BaseIcon: typeof BaseIcon;
|
|
123
|
+
BaseMediaList: typeof BaseMediaList;
|
|
124
|
+
BaseMediaPictures: typeof BaseMediaPictures;
|
|
125
|
+
BaseMediaGallery: typeof BaseMediaGallery;
|
|
126
|
+
t: typeof t;
|
|
127
|
+
normalizedModelValue: typeof normalizedModelValue;
|
|
128
|
+
normalizedMax: typeof normalizedMax;
|
|
129
|
+
maxFileText: typeof maxFileText;
|
|
130
|
+
maxFileSize: typeof maxFileSize;
|
|
131
|
+
onSuccess: typeof onSuccess;
|
|
132
|
+
disabledInternal: typeof disabledInternal;
|
|
133
|
+
promptRemove: typeof promptRemove;
|
|
134
|
+
sync: typeof sync;
|
|
135
|
+
onStart: typeof onStart;
|
|
136
|
+
onFail: typeof onFail;
|
|
137
|
+
onEnd: typeof onEnd;
|
|
138
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
139
|
+
start: (...args: any[]) => void;
|
|
140
|
+
end: (...args: any[]) => void;
|
|
141
|
+
success: (...args: any[]) => void;
|
|
142
|
+
"update:modelValue": (...args: any[]) => void;
|
|
143
|
+
fail: (...args: any[]) => void;
|
|
144
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
+
modelValue: {
|
|
146
|
+
default: undefined;
|
|
147
|
+
type: PropType<MediaLibraryPayload>;
|
|
148
|
+
};
|
|
149
|
+
name: {
|
|
150
|
+
default: undefined;
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
};
|
|
153
|
+
min: {
|
|
154
|
+
type: NumberConstructor;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
max: {
|
|
158
|
+
default: undefined;
|
|
159
|
+
type: NumberConstructor;
|
|
160
|
+
};
|
|
161
|
+
maxSize: {
|
|
162
|
+
default: number;
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
};
|
|
165
|
+
accept: {
|
|
166
|
+
default: undefined;
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
169
|
+
acceptedExtensions: {
|
|
170
|
+
default: undefined;
|
|
171
|
+
type: PropType<string[]>;
|
|
172
|
+
};
|
|
173
|
+
currentMedia: {
|
|
174
|
+
default(): never[];
|
|
175
|
+
type: PropType<Media[]>;
|
|
176
|
+
};
|
|
177
|
+
uploadUrl: {
|
|
178
|
+
default: undefined;
|
|
179
|
+
type: StringConstructor;
|
|
180
|
+
};
|
|
181
|
+
hasError: {
|
|
182
|
+
default: boolean;
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
};
|
|
185
|
+
disabled: {
|
|
186
|
+
default: boolean;
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
};
|
|
189
|
+
pickerComponent: {
|
|
190
|
+
default: string;
|
|
191
|
+
type: PropType<"BaseFilePicker" | "BaseFilePickerCrop">;
|
|
192
|
+
};
|
|
193
|
+
cropper: {
|
|
194
|
+
default: undefined;
|
|
195
|
+
type: PropType<BaseCropperConfig | boolean | null>;
|
|
196
|
+
};
|
|
197
|
+
draggable: {
|
|
198
|
+
default: boolean;
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
};
|
|
201
|
+
multiple: {
|
|
202
|
+
default: boolean;
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
};
|
|
205
|
+
listProps: {
|
|
206
|
+
default: undefined;
|
|
207
|
+
type: PropType<Record<string, unknown>>;
|
|
208
|
+
};
|
|
209
|
+
layout: {
|
|
210
|
+
default: string;
|
|
211
|
+
type: PropType<"list" | "images" | "gallery">;
|
|
212
|
+
};
|
|
213
|
+
}>> & Readonly<{
|
|
214
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
215
|
+
onEnd?: ((...args: any[]) => any) | undefined;
|
|
216
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
218
|
+
onFail?: ((...args: any[]) => any) | undefined;
|
|
219
|
+
}>, {
|
|
220
|
+
disabled: boolean;
|
|
221
|
+
name: string;
|
|
222
|
+
modelValue: MediaLibraryPayload;
|
|
223
|
+
hasError: boolean;
|
|
224
|
+
min: number;
|
|
225
|
+
max: number;
|
|
226
|
+
cropper: boolean | BaseCropperConfig | null;
|
|
227
|
+
multiple: boolean;
|
|
228
|
+
layout: "list" | "gallery" | "images";
|
|
229
|
+
draggable: boolean;
|
|
230
|
+
maxSize: number;
|
|
231
|
+
accept: string;
|
|
232
|
+
acceptedExtensions: string[];
|
|
233
|
+
currentMedia: Media[];
|
|
234
|
+
uploadUrl: string;
|
|
235
|
+
pickerComponent: "BaseFilePicker" | "BaseFilePickerCrop";
|
|
236
|
+
listProps: Record<string, unknown>;
|
|
237
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
238
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
39
239
|
modelValue: {
|
|
40
240
|
default: undefined;
|
|
@@ -203,10 +403,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
203
403
|
uploadUrl: string;
|
|
204
404
|
pickerComponent: "BaseFilePicker" | "BaseFilePickerCrop";
|
|
205
405
|
listProps: Record<string, unknown>;
|
|
206
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
207
|
-
declare const _default:
|
|
406
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
407
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
208
408
|
export default _default;
|
|
209
|
-
type
|
|
409
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
210
410
|
new (): {
|
|
211
411
|
$slots: S;
|
|
212
412
|
};
|
|
@@ -45,5 +45,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
45
45
|
disabled: boolean;
|
|
46
46
|
draggable: boolean;
|
|
47
47
|
showRemove: boolean;
|
|
48
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
@@ -45,5 +45,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
45
45
|
disabled: boolean;
|
|
46
46
|
draggable: boolean;
|
|
47
47
|
showRemove: boolean;
|
|
48
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
@@ -54,5 +54,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
54
54
|
disabled: boolean;
|
|
55
55
|
draggable: boolean;
|
|
56
56
|
showRemove: boolean;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
export default _default;
|
|
@@ -52,5 +52,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
52
|
disabled: boolean;
|
|
53
53
|
draggable: boolean;
|
|
54
54
|
showRemove: boolean;
|
|
55
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
56
|
export default _default;
|