ablok-components 0.0.29 → 0.0.32

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.
@@ -0,0 +1,342 @@
1
+ export declare function fileToDataUrl(file: File): Promise<any>;
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ label: string;
8
+ pattern: string;
9
+ required: boolean;
10
+ modelValue: File[][];
11
+ variant: string;
12
+ name: string;
13
+ id: string;
14
+ disabled: boolean;
15
+ readOnly: boolean;
16
+ placeholder: string;
17
+ multiple: boolean;
18
+ accept: string;
19
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
20
+ modelValue: {
21
+ type: {
22
+ (arrayLength: number): File[][];
23
+ (...items: File[][]): File[][];
24
+ new (arrayLength: number): File[][];
25
+ new (...items: File[][]): File[][];
26
+ isArray(arg: any): arg is any[];
27
+ readonly prototype: any[];
28
+ from<T>(arrayLike: ArrayLike<T>): T[];
29
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
30
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
31
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
32
+ of<T_4>(...items: T_4[]): T_4[];
33
+ readonly [Symbol.species]: ArrayConstructor;
34
+ };
35
+ default: never[];
36
+ };
37
+ name: {
38
+ type: StringConstructor;
39
+ default: () => string;
40
+ };
41
+ id: {
42
+ type: StringConstructor;
43
+ default: () => string;
44
+ };
45
+ label: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ placeholder: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ variant: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ disabled: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ readOnly: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ required: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ pattern: {
70
+ type: StringConstructor;
71
+ default: null;
72
+ };
73
+ multiple: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ accept: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ }>> & {
82
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
83
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "pattern" | "required" | "modelValue" | "variant" | "name" | "id" | "disabled" | "readOnly" | "placeholder" | "multiple" | "accept">;
84
+ $attrs: {
85
+ [x: string]: unknown;
86
+ };
87
+ $refs: {
88
+ [x: string]: unknown;
89
+ };
90
+ $slots: Readonly<{
91
+ [name: string]: import("vue").Slot | undefined;
92
+ }>;
93
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
94
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
95
+ $emit: (event: "update:modelValue", ...args: any[]) => void;
96
+ $el: any;
97
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
98
+ modelValue: {
99
+ type: {
100
+ (arrayLength: number): File[][];
101
+ (...items: File[][]): File[][];
102
+ new (arrayLength: number): File[][];
103
+ new (...items: File[][]): File[][];
104
+ isArray(arg: any): arg is any[];
105
+ readonly prototype: any[];
106
+ from<T>(arrayLike: ArrayLike<T>): T[];
107
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
108
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
109
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
110
+ of<T_4>(...items: T_4[]): T_4[];
111
+ readonly [Symbol.species]: ArrayConstructor;
112
+ };
113
+ default: never[];
114
+ };
115
+ name: {
116
+ type: StringConstructor;
117
+ default: () => string;
118
+ };
119
+ id: {
120
+ type: StringConstructor;
121
+ default: () => string;
122
+ };
123
+ label: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ };
127
+ placeholder: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ variant: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ disabled: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ readOnly: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ required: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ pattern: {
148
+ type: StringConstructor;
149
+ default: null;
150
+ };
151
+ multiple: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ accept: {
156
+ type: StringConstructor;
157
+ default: string;
158
+ };
159
+ }>> & {
160
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
161
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
162
+ label: string;
163
+ pattern: string;
164
+ required: boolean;
165
+ modelValue: File[][];
166
+ variant: string;
167
+ name: string;
168
+ id: string;
169
+ disabled: boolean;
170
+ readOnly: boolean;
171
+ placeholder: string;
172
+ multiple: boolean;
173
+ accept: string;
174
+ }> & {
175
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
176
+ created?: ((() => void) | (() => void)[]) | undefined;
177
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
178
+ mounted?: ((() => void) | (() => void)[]) | undefined;
179
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
180
+ updated?: ((() => void) | (() => void)[]) | undefined;
181
+ activated?: ((() => void) | (() => void)[]) | undefined;
182
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
183
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
184
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
185
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
186
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
187
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
188
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
189
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
190
+ };
191
+ $forceUpdate: () => void;
192
+ $nextTick: typeof import("vue").nextTick;
193
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
194
+ } & Readonly<import("vue").ExtractPropTypes<{
195
+ modelValue: {
196
+ type: {
197
+ (arrayLength: number): File[][];
198
+ (...items: File[][]): File[][];
199
+ new (arrayLength: number): File[][];
200
+ new (...items: File[][]): File[][];
201
+ isArray(arg: any): arg is any[];
202
+ readonly prototype: any[];
203
+ from<T>(arrayLike: ArrayLike<T>): T[];
204
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
205
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
206
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
207
+ of<T_4>(...items: T_4[]): T_4[];
208
+ readonly [Symbol.species]: ArrayConstructor;
209
+ };
210
+ default: never[];
211
+ };
212
+ name: {
213
+ type: StringConstructor;
214
+ default: () => string;
215
+ };
216
+ id: {
217
+ type: StringConstructor;
218
+ default: () => string;
219
+ };
220
+ label: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ };
224
+ placeholder: {
225
+ type: StringConstructor;
226
+ default: string;
227
+ };
228
+ variant: {
229
+ type: StringConstructor;
230
+ default: string;
231
+ };
232
+ disabled: {
233
+ type: BooleanConstructor;
234
+ default: boolean;
235
+ };
236
+ readOnly: {
237
+ type: BooleanConstructor;
238
+ default: boolean;
239
+ };
240
+ required: {
241
+ type: BooleanConstructor;
242
+ default: boolean;
243
+ };
244
+ pattern: {
245
+ type: StringConstructor;
246
+ default: null;
247
+ };
248
+ multiple: {
249
+ type: BooleanConstructor;
250
+ default: boolean;
251
+ };
252
+ accept: {
253
+ type: StringConstructor;
254
+ default: string;
255
+ };
256
+ }>> & {
257
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
258
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
259
+ __isFragment?: undefined;
260
+ __isTeleport?: undefined;
261
+ __isSuspense?: undefined;
262
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
263
+ modelValue: {
264
+ type: {
265
+ (arrayLength: number): File[][];
266
+ (...items: File[][]): File[][];
267
+ new (arrayLength: number): File[][];
268
+ new (...items: File[][]): File[][];
269
+ isArray(arg: any): arg is any[];
270
+ readonly prototype: any[];
271
+ from<T>(arrayLike: ArrayLike<T>): T[];
272
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
273
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
274
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
275
+ of<T_4>(...items: T_4[]): T_4[];
276
+ readonly [Symbol.species]: ArrayConstructor;
277
+ };
278
+ default: never[];
279
+ };
280
+ name: {
281
+ type: StringConstructor;
282
+ default: () => string;
283
+ };
284
+ id: {
285
+ type: StringConstructor;
286
+ default: () => string;
287
+ };
288
+ label: {
289
+ type: StringConstructor;
290
+ default: string;
291
+ };
292
+ placeholder: {
293
+ type: StringConstructor;
294
+ default: string;
295
+ };
296
+ variant: {
297
+ type: StringConstructor;
298
+ default: string;
299
+ };
300
+ disabled: {
301
+ type: BooleanConstructor;
302
+ default: boolean;
303
+ };
304
+ readOnly: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ required: {
309
+ type: BooleanConstructor;
310
+ default: boolean;
311
+ };
312
+ pattern: {
313
+ type: StringConstructor;
314
+ default: null;
315
+ };
316
+ multiple: {
317
+ type: BooleanConstructor;
318
+ default: boolean;
319
+ };
320
+ accept: {
321
+ type: StringConstructor;
322
+ default: string;
323
+ };
324
+ }>> & {
325
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
326
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
327
+ label: string;
328
+ pattern: string;
329
+ required: boolean;
330
+ modelValue: File[][];
331
+ variant: string;
332
+ name: string;
333
+ id: string;
334
+ disabled: boolean;
335
+ readOnly: boolean;
336
+ placeholder: string;
337
+ multiple: boolean;
338
+ accept: string;
339
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
340
+ $slots: {};
341
+ });
342
+ export default _default;
@@ -1,41 +1,184 @@
1
1
  import { PropType } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
3
- modelValue: {
4
- default: boolean;
5
- };
6
- options: {
7
- type: PropType<any[]>;
8
- default: never[];
9
- };
10
- name: {
11
- type: StringConstructor;
12
- default: () => string;
13
- };
14
- id: {
15
- type: StringConstructor;
16
- default: () => string;
17
- };
18
- label: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- variant: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- disabled: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- readOnly: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- required: {
35
- type: BooleanConstructor;
36
- default: boolean;
37
- };
38
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ label: string;
8
+ required: boolean;
9
+ modelValue: boolean;
10
+ options: any[];
11
+ variant: string;
12
+ name: string;
13
+ id: string;
14
+ disabled: boolean;
15
+ readOnly: boolean;
16
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
17
+ modelValue: {
18
+ default: boolean;
19
+ };
20
+ options: {
21
+ type: PropType<any[]>;
22
+ default: never[];
23
+ };
24
+ name: {
25
+ type: StringConstructor;
26
+ default: () => string;
27
+ };
28
+ id: {
29
+ type: StringConstructor;
30
+ default: () => string;
31
+ };
32
+ label: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ variant: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ disabled: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ readOnly: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ required: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ }>> & {
53
+ onChange?: ((...args: any[]) => any) | undefined;
54
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
55
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "required" | "modelValue" | "options" | "variant" | "name" | "id" | "disabled" | "readOnly">;
56
+ $attrs: {
57
+ [x: string]: unknown;
58
+ };
59
+ $refs: {
60
+ [x: string]: unknown;
61
+ };
62
+ $slots: Readonly<{
63
+ [name: string]: import("vue").Slot | undefined;
64
+ }>;
65
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
66
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
67
+ $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
68
+ $el: any;
69
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
70
+ modelValue: {
71
+ default: boolean;
72
+ };
73
+ options: {
74
+ type: PropType<any[]>;
75
+ default: never[];
76
+ };
77
+ name: {
78
+ type: StringConstructor;
79
+ default: () => string;
80
+ };
81
+ id: {
82
+ type: StringConstructor;
83
+ default: () => string;
84
+ };
85
+ label: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ variant: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ disabled: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ readOnly: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ required: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ }>> & {
106
+ onChange?: ((...args: any[]) => any) | undefined;
107
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
108
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
109
+ label: string;
110
+ required: boolean;
111
+ modelValue: boolean;
112
+ options: any[];
113
+ variant: string;
114
+ name: string;
115
+ id: string;
116
+ disabled: boolean;
117
+ readOnly: boolean;
118
+ }> & {
119
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
120
+ created?: ((() => void) | (() => void)[]) | undefined;
121
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
122
+ mounted?: ((() => void) | (() => void)[]) | undefined;
123
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
124
+ updated?: ((() => void) | (() => void)[]) | undefined;
125
+ activated?: ((() => void) | (() => void)[]) | undefined;
126
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
127
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
128
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
129
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
130
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
131
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
132
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
133
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
134
+ };
135
+ $forceUpdate: () => void;
136
+ $nextTick: typeof import("vue").nextTick;
137
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
138
+ } & Readonly<import("vue").ExtractPropTypes<{
139
+ modelValue: {
140
+ default: boolean;
141
+ };
142
+ options: {
143
+ type: PropType<any[]>;
144
+ default: never[];
145
+ };
146
+ name: {
147
+ type: StringConstructor;
148
+ default: () => string;
149
+ };
150
+ id: {
151
+ type: StringConstructor;
152
+ default: () => string;
153
+ };
154
+ label: {
155
+ type: StringConstructor;
156
+ default: string;
157
+ };
158
+ variant: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ };
162
+ disabled: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
166
+ readOnly: {
167
+ type: BooleanConstructor;
168
+ default: boolean;
169
+ };
170
+ required: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
174
+ }>> & {
175
+ onChange?: ((...args: any[]) => any) | undefined;
176
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
177
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
178
+ __isFragment?: undefined;
179
+ __isTeleport?: undefined;
180
+ __isSuspense?: undefined;
181
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
39
182
  modelValue: {
40
183
  default: boolean;
41
184
  };
@@ -74,15 +217,19 @@ declare const _default: import("vue").DefineComponent<{
74
217
  }>> & {
75
218
  onChange?: ((...args: any[]) => any) | undefined;
76
219
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
77
- }, {
78
- options: any[];
79
- required: boolean;
220
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
80
221
  label: string;
222
+ required: boolean;
81
223
  modelValue: boolean;
82
- id: string;
224
+ options: any[];
83
225
  variant: string;
84
226
  name: string;
227
+ id: string;
85
228
  disabled: boolean;
86
229
  readOnly: boolean;
87
- }>;
230
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
231
+ $slots: {
232
+ label: (_: {}) => any;
233
+ };
234
+ });
88
235
  export default _default;