ablok-components 0.3.67 → 0.3.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ablok-components.css +1 -1
- package/dist/ablok-components.umd.js +2 -2
- package/dist/components/molecules/media-thumbnails/media-thumbnails.vue.js +6 -6
- package/dist/components/molecules/upload-group/upload-group.vue.d.ts +19 -1
- package/dist/components/molecules/upload-group/upload-group.vue.js +49 -43
- package/dist/components/organisms/asset-uploader/asset-uploader.vue.d.ts +48 -0
- package/dist/components/organisms/asset-uploader/asset-uploader.vue.js +63 -29
- package/dist/components/organisms/asset-uploader/asset-uploader.vue2.js +4 -0
- package/dist/components/organisms/preset-uploader/preset-uploader.vue.d.ts +257 -0
- package/dist/components/organisms/preset-uploader/preset-uploader.vue.js +542 -0
- package/dist/components/organisms/preset-uploader/preset-uploader.vue3.js +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +59 -57
- package/package.json +1 -1
- package/dist/components/organisms/asset-uploader/asset-uploader.vue3.js +0 -5
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: {
|
|
4
|
+
(arrayLength: number): any[];
|
|
5
|
+
(...items: any[]): any[];
|
|
6
|
+
new (arrayLength: number): any[];
|
|
7
|
+
new (...items: any[]): any[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
13
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
14
|
+
of<T>(...items: T[]): T[];
|
|
15
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
16
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
17
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
18
|
+
};
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
name: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: () => string;
|
|
24
|
+
};
|
|
25
|
+
id: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: () => string;
|
|
28
|
+
};
|
|
29
|
+
type: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
label: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
variant: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
required: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
accept: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
};
|
|
52
|
+
maxFileSize: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
endpoint: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
authToken: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
customFetch: null;
|
|
65
|
+
mediaTypeMap: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
default: () => {
|
|
68
|
+
svg: string;
|
|
69
|
+
png: string;
|
|
70
|
+
jpg: string;
|
|
71
|
+
jpeg: string;
|
|
72
|
+
webp: string;
|
|
73
|
+
mp4: string;
|
|
74
|
+
webm: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
baseResponsePath: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
previewWidth: {
|
|
82
|
+
type: NumberConstructor;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
useImageUpload: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
maxImageWidth: {
|
|
90
|
+
type: NumberConstructor;
|
|
91
|
+
default: number;
|
|
92
|
+
};
|
|
93
|
+
aspectRatio: NumberConstructor;
|
|
94
|
+
showTypeDropdown: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
typeOptions: {
|
|
99
|
+
type: {
|
|
100
|
+
(arrayLength: number): string[];
|
|
101
|
+
(...items: string[]): string[];
|
|
102
|
+
new (arrayLength: number): string[];
|
|
103
|
+
new (...items: string[]): string[];
|
|
104
|
+
isArray(arg: any): arg is any[];
|
|
105
|
+
readonly prototype: any[];
|
|
106
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
107
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
108
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
109
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
110
|
+
of<T>(...items: T[]): T[];
|
|
111
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
112
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
113
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
114
|
+
};
|
|
115
|
+
default: () => never[];
|
|
116
|
+
};
|
|
117
|
+
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
118
|
+
"update:modelValue": (...args: any[]) => void;
|
|
119
|
+
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
120
|
+
modelValue: {
|
|
121
|
+
type: {
|
|
122
|
+
(arrayLength: number): any[];
|
|
123
|
+
(...items: any[]): any[];
|
|
124
|
+
new (arrayLength: number): any[];
|
|
125
|
+
new (...items: any[]): any[];
|
|
126
|
+
isArray(arg: any): arg is any[];
|
|
127
|
+
readonly prototype: any[];
|
|
128
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
129
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
130
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
131
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
132
|
+
of<T>(...items: T[]): T[];
|
|
133
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
134
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
135
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
136
|
+
};
|
|
137
|
+
default: () => never[];
|
|
138
|
+
};
|
|
139
|
+
name: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: () => string;
|
|
142
|
+
};
|
|
143
|
+
id: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: () => string;
|
|
146
|
+
};
|
|
147
|
+
type: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
label: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
variant: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
disabled: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
required: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
accept: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
};
|
|
170
|
+
maxFileSize: {
|
|
171
|
+
type: NumberConstructor;
|
|
172
|
+
default: number;
|
|
173
|
+
};
|
|
174
|
+
endpoint: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
authToken: {
|
|
179
|
+
type: StringConstructor;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
customFetch: null;
|
|
183
|
+
mediaTypeMap: {
|
|
184
|
+
type: ObjectConstructor;
|
|
185
|
+
default: () => {
|
|
186
|
+
svg: string;
|
|
187
|
+
png: string;
|
|
188
|
+
jpg: string;
|
|
189
|
+
jpeg: string;
|
|
190
|
+
webp: string;
|
|
191
|
+
mp4: string;
|
|
192
|
+
webm: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
baseResponsePath: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
previewWidth: {
|
|
200
|
+
type: NumberConstructor;
|
|
201
|
+
default: number;
|
|
202
|
+
};
|
|
203
|
+
useImageUpload: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
maxImageWidth: {
|
|
208
|
+
type: NumberConstructor;
|
|
209
|
+
default: number;
|
|
210
|
+
};
|
|
211
|
+
aspectRatio: NumberConstructor;
|
|
212
|
+
showTypeDropdown: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
typeOptions: {
|
|
217
|
+
type: {
|
|
218
|
+
(arrayLength: number): string[];
|
|
219
|
+
(...items: string[]): string[];
|
|
220
|
+
new (arrayLength: number): string[];
|
|
221
|
+
new (...items: string[]): string[];
|
|
222
|
+
isArray(arg: any): arg is any[];
|
|
223
|
+
readonly prototype: any[];
|
|
224
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
225
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
226
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
227
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
228
|
+
of<T>(...items: T[]): T[];
|
|
229
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
230
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
231
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
232
|
+
};
|
|
233
|
+
default: () => never[];
|
|
234
|
+
};
|
|
235
|
+
}>> & Readonly<{
|
|
236
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
237
|
+
}>, {
|
|
238
|
+
type: string;
|
|
239
|
+
label: string;
|
|
240
|
+
required: boolean;
|
|
241
|
+
variant: string;
|
|
242
|
+
id: string;
|
|
243
|
+
modelValue: any[];
|
|
244
|
+
name: string;
|
|
245
|
+
disabled: boolean;
|
|
246
|
+
maxFileSize: number;
|
|
247
|
+
endpoint: string;
|
|
248
|
+
authToken: string;
|
|
249
|
+
baseResponsePath: string;
|
|
250
|
+
previewWidth: number;
|
|
251
|
+
maxImageWidth: number;
|
|
252
|
+
useImageUpload: boolean;
|
|
253
|
+
mediaTypeMap: Record<string, any>;
|
|
254
|
+
showTypeDropdown: boolean;
|
|
255
|
+
typeOptions: string[];
|
|
256
|
+
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
257
|
+
export default _default;
|