sprintify-ui 0.0.11 → 0.0.13
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 +8 -7
- package/dist/sprintify-ui.es.js +5911 -3760
- package/dist/style.css +1 -1
- package/dist/tailwindcss/index.js +1 -2
- package/dist/types/src/components/BaseCharacterCounter.vue.d.ts +143 -0
- package/dist/types/src/components/BaseHasMany.vue.d.ts +277 -0
- package/dist/types/src/components/BaseInput.vue.d.ts +39 -5
- package/dist/types/src/components/BaseLoadingCover.vue.d.ts +72 -0
- package/dist/types/src/components/{BaseMediaLibraryItem.vue.d.ts → BaseMediaItem.vue.d.ts} +26 -4
- package/dist/types/src/components/BaseMediaLibrary.vue.d.ts +23 -15
- package/dist/types/src/components/BaseMediaPreview.vue.d.ts +97 -0
- package/dist/types/src/components/BaseModalCenter.vue.d.ts +8 -8
- package/dist/types/src/components/BaseModalSide.vue.d.ts +8 -8
- package/dist/types/src/components/BasePagination.vue.d.ts +105 -13
- package/dist/types/src/components/BaseSelect.vue.d.ts +130 -26
- package/dist/types/src/components/BaseSideNavigationItem.vue.d.ts +20 -1
- package/dist/types/src/components/BaseSwitch.vue.d.ts +15 -8
- package/dist/types/src/components/BaseTabItem.vue.d.ts +45 -4
- package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +25 -17
- package/dist/types/src/components/BaseTagAutocompleteFetch.vue.d.ts +37 -21
- package/dist/types/src/components/BaseTextareaAutoresize.vue.d.ts +175 -21
- package/dist/types/src/components/index.d.ts +30 -1
- package/dist/types/src/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/components/BaseAppDialogs.vue +2 -2
- package/src/components/BaseAppNotifications.vue +1 -1
- package/src/components/BaseAutocomplete.vue +16 -18
- package/src/components/BaseBelongsTo.vue +1 -0
- package/src/components/BaseCharacterCounter.stories.js +30 -0
- package/src/components/BaseCharacterCounter.vue +60 -0
- package/src/components/BaseClipboard.vue +1 -1
- package/src/components/BaseDataIterator.stories.js +2 -2
- package/src/components/BaseDataIterator.vue +32 -38
- package/src/components/BaseDataTable.stories.js +2 -2
- package/src/components/BaseFileUploader.vue +4 -0
- package/src/components/BaseHasMany.vue +92 -0
- package/src/components/BaseInput.stories.js +46 -0
- package/src/components/BaseInput.vue +10 -2
- package/src/components/BaseInputLabel.stories.js +31 -0
- package/src/components/BaseInputLabel.vue +1 -1
- package/src/components/BaseLoadingCover.stories.js +55 -0
- package/src/components/BaseLoadingCover.vue +19 -1
- package/src/components/BaseMediaItem.stories.js +41 -0
- package/src/components/BaseMediaItem.vue +71 -0
- package/src/components/BaseMediaLibrary.stories.js +80 -0
- package/src/components/BaseMediaLibrary.vue +67 -68
- package/src/components/BaseMediaPreview.stories.js +72 -0
- package/src/components/BaseMediaPreview.vue +90 -0
- package/src/components/BaseMenu.stories.js +125 -0
- package/src/components/BaseMenu.vue +1 -1
- package/src/components/BaseModalCenter.stories.js +61 -0
- package/src/components/BaseModalCenter.vue +2 -2
- package/src/components/BaseModalSide.stories.js +55 -0
- package/src/components/BaseModalSide.vue +2 -2
- package/src/components/BaseNavbar.stories.js +150 -0
- package/src/components/BaseNavbar.vue +3 -0
- package/src/components/BaseNavbarItem.vue +1 -0
- package/src/components/BaseNavbarItemContent.vue +3 -0
- package/src/components/BasePagination.stories.js +32 -0
- package/src/components/BasePagination.vue +126 -40
- package/src/components/BasePanel.stories.js +56 -0
- package/src/components/BasePassword.stories.js +36 -0
- package/src/components/BasePassword.vue +11 -5
- package/src/components/BaseProcessRing.stories.js +27 -0
- package/src/components/BaseReadMore.stories.js +30 -0
- package/src/components/BaseReadMore.vue +1 -1
- package/src/components/BaseSelect.stories.js +67 -0
- package/src/components/BaseSelect.vue +144 -44
- package/src/components/BaseSideNavigation.stories.js +55 -0
- package/src/components/BaseSideNavigation.vue +7 -2
- package/src/components/BaseSideNavigationItem.vue +21 -5
- package/src/components/BaseSkeleton.stories.js +36 -0
- package/src/components/BaseSwitch.stories.js +101 -0
- package/src/components/BaseSwitch.vue +90 -12
- package/src/components/BaseSystemAlert.stories.js +63 -0
- package/src/components/BaseTabItem.vue +29 -6
- package/src/components/BaseTable.vue +2 -2
- package/src/components/BaseTabs.stories.js +54 -0
- package/src/components/BaseTabs.vue +3 -3
- package/src/components/BaseTagAutocomplete.stories.js +129 -0
- package/src/components/BaseTagAutocomplete.vue +155 -57
- package/src/components/BaseTagAutocompleteFetch.stories.js +130 -0
- package/src/components/BaseTagAutocompleteFetch.vue +36 -25
- package/src/components/BaseTextarea.stories.js +35 -0
- package/src/components/BaseTextarea.vue +1 -1
- package/src/components/BaseTextareaAutoresize.stories.js +49 -0
- package/src/components/BaseTextareaAutoresize.vue +83 -87
- package/src/components/HasMany.stories.js +135 -0
- package/src/components/index.ts +58 -0
- package/src/lang/en.json +2 -1
- package/src/lang/fr.json +2 -1
- package/dist/types/src/components/BasePaginationSimple.vue.d.ts +0 -25
- package/dist/types/src/components/BaseWordCount.vue.d.ts +0 -31
- package/src/components/BaseMediaLibraryItem.vue +0 -92
- package/src/components/BasePaginationSimple.vue +0 -60
- package/src/components/BaseWordCount.vue +0 -36
|
@@ -11,26 +11,44 @@ declare const _default: {
|
|
|
11
11
|
size: "sm" | "lg";
|
|
12
12
|
backdropClass: string;
|
|
13
13
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
/**
|
|
15
|
+
* Show/Hide the loading cover
|
|
16
|
+
*/
|
|
14
17
|
modelValue: {
|
|
15
18
|
default: boolean;
|
|
16
19
|
type: BooleanConstructor;
|
|
17
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* Classes added to the backdrop
|
|
23
|
+
*/
|
|
18
24
|
backdropClass: {
|
|
19
25
|
default: string;
|
|
20
26
|
type: StringConstructor;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* Classes added to the spinner icon
|
|
30
|
+
*/
|
|
22
31
|
iconClass: {
|
|
23
32
|
default: string;
|
|
24
33
|
type: StringConstructor;
|
|
25
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Change the type of spinner. 'sm' for a small spinner. 'lg' for a large spinner.
|
|
37
|
+
*/
|
|
26
38
|
size: {
|
|
27
39
|
default: string;
|
|
28
40
|
type: PropType<"sm" | "lg">;
|
|
29
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* Transition duration class.
|
|
44
|
+
*/
|
|
30
45
|
duration: {
|
|
31
46
|
default: string;
|
|
32
47
|
type: StringConstructor;
|
|
33
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* Delay before showing the loading cover. This delay is used to avoid unnecessary showing the spinner for a fraction of second when the loading time is too short.
|
|
51
|
+
*/
|
|
34
52
|
delay: {
|
|
35
53
|
default: number;
|
|
36
54
|
type: NumberConstructor;
|
|
@@ -50,26 +68,44 @@ declare const _default: {
|
|
|
50
68
|
$emit: (event: string, ...args: any[]) => void;
|
|
51
69
|
$el: any;
|
|
52
70
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
+
/**
|
|
72
|
+
* Show/Hide the loading cover
|
|
73
|
+
*/
|
|
53
74
|
modelValue: {
|
|
54
75
|
default: boolean;
|
|
55
76
|
type: BooleanConstructor;
|
|
56
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* Classes added to the backdrop
|
|
80
|
+
*/
|
|
57
81
|
backdropClass: {
|
|
58
82
|
default: string;
|
|
59
83
|
type: StringConstructor;
|
|
60
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Classes added to the spinner icon
|
|
87
|
+
*/
|
|
61
88
|
iconClass: {
|
|
62
89
|
default: string;
|
|
63
90
|
type: StringConstructor;
|
|
64
91
|
};
|
|
92
|
+
/**
|
|
93
|
+
* Change the type of spinner. 'sm' for a small spinner. 'lg' for a large spinner.
|
|
94
|
+
*/
|
|
65
95
|
size: {
|
|
66
96
|
default: string;
|
|
67
97
|
type: PropType<"sm" | "lg">;
|
|
68
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Transition duration class.
|
|
101
|
+
*/
|
|
69
102
|
duration: {
|
|
70
103
|
default: string;
|
|
71
104
|
type: StringConstructor;
|
|
72
105
|
};
|
|
106
|
+
/**
|
|
107
|
+
* Delay before showing the loading cover. This delay is used to avoid unnecessary showing the spinner for a fraction of second when the loading time is too short.
|
|
108
|
+
*/
|
|
73
109
|
delay: {
|
|
74
110
|
default: number;
|
|
75
111
|
type: NumberConstructor;
|
|
@@ -102,26 +138,44 @@ declare const _default: {
|
|
|
102
138
|
$nextTick: typeof import("vue").nextTick;
|
|
103
139
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
104
140
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
141
|
+
/**
|
|
142
|
+
* Show/Hide the loading cover
|
|
143
|
+
*/
|
|
105
144
|
modelValue: {
|
|
106
145
|
default: boolean;
|
|
107
146
|
type: BooleanConstructor;
|
|
108
147
|
};
|
|
148
|
+
/**
|
|
149
|
+
* Classes added to the backdrop
|
|
150
|
+
*/
|
|
109
151
|
backdropClass: {
|
|
110
152
|
default: string;
|
|
111
153
|
type: StringConstructor;
|
|
112
154
|
};
|
|
155
|
+
/**
|
|
156
|
+
* Classes added to the spinner icon
|
|
157
|
+
*/
|
|
113
158
|
iconClass: {
|
|
114
159
|
default: string;
|
|
115
160
|
type: StringConstructor;
|
|
116
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Change the type of spinner. 'sm' for a small spinner. 'lg' for a large spinner.
|
|
164
|
+
*/
|
|
117
165
|
size: {
|
|
118
166
|
default: string;
|
|
119
167
|
type: PropType<"sm" | "lg">;
|
|
120
168
|
};
|
|
169
|
+
/**
|
|
170
|
+
* Transition duration class.
|
|
171
|
+
*/
|
|
121
172
|
duration: {
|
|
122
173
|
default: string;
|
|
123
174
|
type: StringConstructor;
|
|
124
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* Delay before showing the loading cover. This delay is used to avoid unnecessary showing the spinner for a fraction of second when the loading time is too short.
|
|
178
|
+
*/
|
|
125
179
|
delay: {
|
|
126
180
|
default: number;
|
|
127
181
|
type: NumberConstructor;
|
|
@@ -131,26 +185,44 @@ declare const _default: {
|
|
|
131
185
|
__isTeleport?: undefined;
|
|
132
186
|
__isSuspense?: undefined;
|
|
133
187
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
188
|
+
/**
|
|
189
|
+
* Show/Hide the loading cover
|
|
190
|
+
*/
|
|
134
191
|
modelValue: {
|
|
135
192
|
default: boolean;
|
|
136
193
|
type: BooleanConstructor;
|
|
137
194
|
};
|
|
195
|
+
/**
|
|
196
|
+
* Classes added to the backdrop
|
|
197
|
+
*/
|
|
138
198
|
backdropClass: {
|
|
139
199
|
default: string;
|
|
140
200
|
type: StringConstructor;
|
|
141
201
|
};
|
|
202
|
+
/**
|
|
203
|
+
* Classes added to the spinner icon
|
|
204
|
+
*/
|
|
142
205
|
iconClass: {
|
|
143
206
|
default: string;
|
|
144
207
|
type: StringConstructor;
|
|
145
208
|
};
|
|
209
|
+
/**
|
|
210
|
+
* Change the type of spinner. 'sm' for a small spinner. 'lg' for a large spinner.
|
|
211
|
+
*/
|
|
146
212
|
size: {
|
|
147
213
|
default: string;
|
|
148
214
|
type: PropType<"sm" | "lg">;
|
|
149
215
|
};
|
|
216
|
+
/**
|
|
217
|
+
* Transition duration class.
|
|
218
|
+
*/
|
|
150
219
|
duration: {
|
|
151
220
|
default: string;
|
|
152
221
|
type: StringConstructor;
|
|
153
222
|
};
|
|
223
|
+
/**
|
|
224
|
+
* Delay before showing the loading cover. This delay is used to avoid unnecessary showing the spinner for a fraction of second when the loading time is too short.
|
|
225
|
+
*/
|
|
154
226
|
delay: {
|
|
155
227
|
default: number;
|
|
156
228
|
type: NumberConstructor;
|
|
@@ -5,14 +5,20 @@ declare const _default: {
|
|
|
5
5
|
new (...args: any[]): {
|
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
|
7
7
|
$data: {};
|
|
8
|
-
$props: Partial<{
|
|
8
|
+
$props: Partial<{
|
|
9
|
+
showRemove: boolean;
|
|
10
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
9
11
|
media: {
|
|
10
12
|
required: true;
|
|
11
13
|
type: PropType<UploadedFile | Media>;
|
|
12
14
|
};
|
|
15
|
+
showRemove: {
|
|
16
|
+
default: boolean;
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
};
|
|
13
19
|
}>> & {
|
|
14
20
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps,
|
|
21
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showRemove">;
|
|
16
22
|
$attrs: {
|
|
17
23
|
[x: string]: unknown;
|
|
18
24
|
};
|
|
@@ -31,9 +37,15 @@ declare const _default: {
|
|
|
31
37
|
required: true;
|
|
32
38
|
type: PropType<UploadedFile | Media>;
|
|
33
39
|
};
|
|
40
|
+
showRemove: {
|
|
41
|
+
default: boolean;
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
34
44
|
}>> & {
|
|
35
45
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "delete"[], string, {
|
|
46
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "delete"[], string, {
|
|
47
|
+
showRemove: boolean;
|
|
48
|
+
}, {}, string> & {
|
|
37
49
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
38
50
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
39
51
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -58,6 +70,10 @@ declare const _default: {
|
|
|
58
70
|
required: true;
|
|
59
71
|
type: PropType<UploadedFile | Media>;
|
|
60
72
|
};
|
|
73
|
+
showRemove: {
|
|
74
|
+
default: boolean;
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
};
|
|
61
77
|
}>> & {
|
|
62
78
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
63
79
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -69,7 +85,13 @@ declare const _default: {
|
|
|
69
85
|
required: true;
|
|
70
86
|
type: PropType<UploadedFile | Media>;
|
|
71
87
|
};
|
|
88
|
+
showRemove: {
|
|
89
|
+
default: boolean;
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
};
|
|
72
92
|
}>> & {
|
|
73
93
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
74
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "delete"[], "delete", {
|
|
94
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "delete"[], "delete", {
|
|
95
|
+
showRemove: boolean;
|
|
96
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
75
97
|
export default _default;
|
|
@@ -8,13 +8,13 @@ declare const _default: {
|
|
|
8
8
|
$props: Partial<{
|
|
9
9
|
modelValue: MediaLibraryPayload | null | undefined;
|
|
10
10
|
disabled: boolean;
|
|
11
|
-
accept: string;
|
|
12
|
-
max: number;
|
|
13
11
|
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
accept: string;
|
|
14
14
|
maxSize: number;
|
|
15
15
|
acceptedExtensions: string[];
|
|
16
16
|
currentMedia: Media[];
|
|
17
|
-
errors:
|
|
17
|
+
errors: string[];
|
|
18
18
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
modelValue: {
|
|
20
20
|
default: undefined;
|
|
@@ -50,7 +50,7 @@ declare const _default: {
|
|
|
50
50
|
};
|
|
51
51
|
errors: {
|
|
52
52
|
default: undefined;
|
|
53
|
-
type: PropType<
|
|
53
|
+
type: PropType<string[]>;
|
|
54
54
|
};
|
|
55
55
|
disabled: {
|
|
56
56
|
default: boolean;
|
|
@@ -62,7 +62,7 @@ declare const _default: {
|
|
|
62
62
|
"onUpload:success"?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
"onUpload:fail"?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
"onUpload:end"?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "disabled" | "
|
|
65
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "disabled" | "min" | "max" | "accept" | "maxSize" | "acceptedExtensions" | "currentMedia" | "errors">;
|
|
66
66
|
$attrs: {
|
|
67
67
|
[x: string]: unknown;
|
|
68
68
|
};
|
|
@@ -111,7 +111,7 @@ declare const _default: {
|
|
|
111
111
|
};
|
|
112
112
|
errors: {
|
|
113
113
|
default: undefined;
|
|
114
|
-
type: PropType<
|
|
114
|
+
type: PropType<string[]>;
|
|
115
115
|
};
|
|
116
116
|
disabled: {
|
|
117
117
|
default: boolean;
|
|
@@ -126,13 +126,13 @@ declare const _default: {
|
|
|
126
126
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update" | "upload:start" | "upload:success" | "upload:fail" | "upload:end")[], string, {
|
|
127
127
|
modelValue: MediaLibraryPayload | null | undefined;
|
|
128
128
|
disabled: boolean;
|
|
129
|
-
accept: string;
|
|
130
|
-
max: number;
|
|
131
129
|
min: number;
|
|
130
|
+
max: number;
|
|
131
|
+
accept: string;
|
|
132
132
|
maxSize: number;
|
|
133
133
|
acceptedExtensions: string[];
|
|
134
134
|
currentMedia: Media[];
|
|
135
|
-
errors:
|
|
135
|
+
errors: string[];
|
|
136
136
|
}, {}, string> & {
|
|
137
137
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
138
138
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -188,7 +188,7 @@ declare const _default: {
|
|
|
188
188
|
};
|
|
189
189
|
errors: {
|
|
190
190
|
default: undefined;
|
|
191
|
-
type: PropType<
|
|
191
|
+
type: PropType<string[]>;
|
|
192
192
|
};
|
|
193
193
|
disabled: {
|
|
194
194
|
default: boolean;
|
|
@@ -239,7 +239,7 @@ declare const _default: {
|
|
|
239
239
|
};
|
|
240
240
|
errors: {
|
|
241
241
|
default: undefined;
|
|
242
|
-
type: PropType<
|
|
242
|
+
type: PropType<string[]>;
|
|
243
243
|
};
|
|
244
244
|
disabled: {
|
|
245
245
|
default: boolean;
|
|
@@ -254,16 +254,24 @@ declare const _default: {
|
|
|
254
254
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update" | "upload:start" | "upload:success" | "upload:fail" | "upload:end")[], "update" | "upload:start" | "upload:success" | "upload:fail" | "upload:end", {
|
|
255
255
|
modelValue: MediaLibraryPayload | null | undefined;
|
|
256
256
|
disabled: boolean;
|
|
257
|
-
accept: string;
|
|
258
|
-
max: number;
|
|
259
257
|
min: number;
|
|
258
|
+
max: number;
|
|
259
|
+
accept: string;
|
|
260
260
|
maxSize: number;
|
|
261
261
|
acceptedExtensions: string[];
|
|
262
262
|
currentMedia: Media[];
|
|
263
|
-
errors:
|
|
263
|
+
errors: string[];
|
|
264
264
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
265
265
|
$slots: {
|
|
266
|
-
default: (_:
|
|
266
|
+
default: (_: {
|
|
267
|
+
uploading: boolean;
|
|
268
|
+
selecting: any;
|
|
269
|
+
dragging: any;
|
|
270
|
+
disabled: any;
|
|
271
|
+
} & {
|
|
272
|
+
maxSize: number;
|
|
273
|
+
max: number;
|
|
274
|
+
}) => any;
|
|
267
275
|
};
|
|
268
276
|
});
|
|
269
277
|
export default _default;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Media } from '@/types/Media';
|
|
2
|
+
import { UploadedFile } from '@/types/UploadedFile';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
new (...args: any[]): {
|
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
|
7
|
+
$data: {};
|
|
8
|
+
$props: Partial<{
|
|
9
|
+
showRemove: boolean;
|
|
10
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
media: {
|
|
12
|
+
required: true;
|
|
13
|
+
type: PropType<UploadedFile | Media>;
|
|
14
|
+
};
|
|
15
|
+
showRemove: {
|
|
16
|
+
default: boolean;
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
};
|
|
19
|
+
}>> & {
|
|
20
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showRemove">;
|
|
22
|
+
$attrs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$refs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
$slots: Readonly<{
|
|
29
|
+
[name: string]: import("vue").Slot | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
32
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
33
|
+
$emit: (event: "delete", ...args: any[]) => void;
|
|
34
|
+
$el: any;
|
|
35
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
media: {
|
|
37
|
+
required: true;
|
|
38
|
+
type: PropType<UploadedFile | Media>;
|
|
39
|
+
};
|
|
40
|
+
showRemove: {
|
|
41
|
+
default: boolean;
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
}>> & {
|
|
45
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "delete"[], string, {
|
|
47
|
+
showRemove: boolean;
|
|
48
|
+
}, {}, string> & {
|
|
49
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
62
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
63
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
64
|
+
};
|
|
65
|
+
$forceUpdate: () => void;
|
|
66
|
+
$nextTick: typeof import("vue").nextTick;
|
|
67
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
68
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
69
|
+
media: {
|
|
70
|
+
required: true;
|
|
71
|
+
type: PropType<UploadedFile | Media>;
|
|
72
|
+
};
|
|
73
|
+
showRemove: {
|
|
74
|
+
default: boolean;
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
};
|
|
77
|
+
}>> & {
|
|
78
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
80
|
+
__isFragment?: undefined;
|
|
81
|
+
__isTeleport?: undefined;
|
|
82
|
+
__isSuspense?: undefined;
|
|
83
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
media: {
|
|
85
|
+
required: true;
|
|
86
|
+
type: PropType<UploadedFile | Media>;
|
|
87
|
+
};
|
|
88
|
+
showRemove: {
|
|
89
|
+
default: boolean;
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
};
|
|
92
|
+
}>> & {
|
|
93
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "delete"[], "delete", {
|
|
95
|
+
showRemove: boolean;
|
|
96
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
97
|
+
export default _default;
|
|
@@ -4,7 +4,7 @@ declare const _default: {
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
modelValue: boolean;
|
|
7
|
-
|
|
7
|
+
backdropClass: string;
|
|
8
8
|
closeOnOutsideClick: boolean;
|
|
9
9
|
verticalAlign: string;
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
default: string;
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
backdropClass: {
|
|
20
20
|
default: string;
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
};
|
|
@@ -26,7 +26,7 @@ declare const _default: {
|
|
|
26
26
|
};
|
|
27
27
|
}>> & {
|
|
28
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "
|
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "backdropClass" | "closeOnOutsideClick" | "verticalAlign">;
|
|
30
30
|
$attrs: {
|
|
31
31
|
[x: string]: unknown;
|
|
32
32
|
};
|
|
@@ -49,7 +49,7 @@ declare const _default: {
|
|
|
49
49
|
default: string;
|
|
50
50
|
type: StringConstructor;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
backdropClass: {
|
|
53
53
|
default: string;
|
|
54
54
|
type: StringConstructor;
|
|
55
55
|
};
|
|
@@ -61,7 +61,7 @@ declare const _default: {
|
|
|
61
61
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
|
|
63
63
|
modelValue: boolean;
|
|
64
|
-
|
|
64
|
+
backdropClass: string;
|
|
65
65
|
closeOnOutsideClick: boolean;
|
|
66
66
|
verticalAlign: string;
|
|
67
67
|
}, {}, string> & {
|
|
@@ -93,7 +93,7 @@ declare const _default: {
|
|
|
93
93
|
default: string;
|
|
94
94
|
type: StringConstructor;
|
|
95
95
|
};
|
|
96
|
-
|
|
96
|
+
backdropClass: {
|
|
97
97
|
default: string;
|
|
98
98
|
type: StringConstructor;
|
|
99
99
|
};
|
|
@@ -116,7 +116,7 @@ declare const _default: {
|
|
|
116
116
|
default: string;
|
|
117
117
|
type: StringConstructor;
|
|
118
118
|
};
|
|
119
|
-
|
|
119
|
+
backdropClass: {
|
|
120
120
|
default: string;
|
|
121
121
|
type: StringConstructor;
|
|
122
122
|
};
|
|
@@ -128,7 +128,7 @@ declare const _default: {
|
|
|
128
128
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
129
129
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
|
|
130
130
|
modelValue: boolean;
|
|
131
|
-
|
|
131
|
+
backdropClass: string;
|
|
132
132
|
closeOnOutsideClick: boolean;
|
|
133
133
|
verticalAlign: string;
|
|
134
134
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
modelValue: boolean;
|
|
7
7
|
maxWidth: string;
|
|
8
|
-
|
|
8
|
+
backdropClass: string;
|
|
9
9
|
closeOnOutsideClick: boolean;
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
modelValue: {
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
default: string;
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
backdropClass: {
|
|
20
20
|
default: string;
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
};
|
|
@@ -26,7 +26,7 @@ declare const _default: {
|
|
|
26
26
|
};
|
|
27
27
|
}>> & {
|
|
28
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "maxWidth" | "
|
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "maxWidth" | "backdropClass" | "closeOnOutsideClick">;
|
|
30
30
|
$attrs: {
|
|
31
31
|
[x: string]: unknown;
|
|
32
32
|
};
|
|
@@ -49,7 +49,7 @@ declare const _default: {
|
|
|
49
49
|
default: string;
|
|
50
50
|
type: StringConstructor;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
backdropClass: {
|
|
53
53
|
default: string;
|
|
54
54
|
type: StringConstructor;
|
|
55
55
|
};
|
|
@@ -62,7 +62,7 @@ declare const _default: {
|
|
|
62
62
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
|
|
63
63
|
modelValue: boolean;
|
|
64
64
|
maxWidth: string;
|
|
65
|
-
|
|
65
|
+
backdropClass: string;
|
|
66
66
|
closeOnOutsideClick: boolean;
|
|
67
67
|
}, {}, string> & {
|
|
68
68
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -93,7 +93,7 @@ declare const _default: {
|
|
|
93
93
|
default: string;
|
|
94
94
|
type: StringConstructor;
|
|
95
95
|
};
|
|
96
|
-
|
|
96
|
+
backdropClass: {
|
|
97
97
|
default: string;
|
|
98
98
|
type: StringConstructor;
|
|
99
99
|
};
|
|
@@ -116,7 +116,7 @@ declare const _default: {
|
|
|
116
116
|
default: string;
|
|
117
117
|
type: StringConstructor;
|
|
118
118
|
};
|
|
119
|
-
|
|
119
|
+
backdropClass: {
|
|
120
120
|
default: string;
|
|
121
121
|
type: StringConstructor;
|
|
122
122
|
};
|
|
@@ -129,7 +129,7 @@ declare const _default: {
|
|
|
129
129
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
|
|
130
130
|
modelValue: boolean;
|
|
131
131
|
maxWidth: string;
|
|
132
|
-
|
|
132
|
+
backdropClass: string;
|
|
133
133
|
closeOnOutsideClick: boolean;
|
|
134
134
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
135
135
|
$slots: {
|