ablok-components 0.0.48 → 0.0.49
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.es.js +507 -456
- package/dist/ablok-components.umd.js +6 -6
- package/dist/components/form/base-button/base-button.vue.d.ts +108 -1
- package/dist/components/form/camera-input/camera-input.vue.d.ts +14 -49
- package/dist/components/form/check-group/check-group.vue.d.ts +4 -43
- package/dist/components/form/file-input/file-input.vue.d.ts +168 -1
- package/dist/components/form/file-upload/file-upload.vue.d.ts +242 -1
- package/dist/components/form/form-input/form-input.vue.d.ts +4 -58
- package/dist/components/form/input-dropdown/input-dropdown.vue.d.ts +156 -1
- package/dist/components/form/input-textarea/input-textarea.vue.d.ts +4 -58
- package/dist/components/form/radio-group/radio-group.vue.d.ts +4 -43
- package/dist/components/icon/loading-spinner/loading-spinner.vue.d.ts +3 -10
- package/dist/components/icon/svg-icon/svg-icon.vue.d.ts +3 -22
- package/dist/components/text/base-headline/base-headline.vue.d.ts +4 -10
- package/dist/components/text/base-paragraph/base-paragraph.vue.d.ts +3 -8
- package/dist/env.d.ts +1 -1
- package/package.json +7 -4
|
@@ -1,2 +1,109 @@
|
|
|
1
|
-
declare const _sfc_main: import(
|
|
1
|
+
declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: null;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
caption: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
};
|
|
10
|
+
variant: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: false;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
icon: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
href: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
26
|
+
to: {
|
|
27
|
+
type: null;
|
|
28
|
+
required: false;
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
34
|
+
pending: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
outlined: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
rounded: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
fab: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
props: any;
|
|
52
|
+
showCaption: import('./vue/dist/vue.esm-bundler.js').ComputedRef<boolean | "" | undefined>;
|
|
53
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, Record<string, any>, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
54
|
+
type: {
|
|
55
|
+
type: null;
|
|
56
|
+
required: false;
|
|
57
|
+
};
|
|
58
|
+
caption: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
62
|
+
variant: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
required: false;
|
|
65
|
+
};
|
|
66
|
+
size: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
required: false;
|
|
69
|
+
};
|
|
70
|
+
icon: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
required: false;
|
|
73
|
+
};
|
|
74
|
+
href: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
required: false;
|
|
77
|
+
};
|
|
78
|
+
to: {
|
|
79
|
+
type: null;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
required: false;
|
|
85
|
+
};
|
|
86
|
+
pending: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
outlined: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
required: false;
|
|
93
|
+
};
|
|
94
|
+
rounded: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
required: false;
|
|
97
|
+
};
|
|
98
|
+
fab: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
required: false;
|
|
101
|
+
};
|
|
102
|
+
}>>, {
|
|
103
|
+
disabled: boolean;
|
|
104
|
+
pending: boolean;
|
|
105
|
+
outlined: boolean;
|
|
106
|
+
rounded: boolean;
|
|
107
|
+
fab: boolean;
|
|
108
|
+
}>;
|
|
2
109
|
export default _sfc_main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare function dataURItoBlob(dataURI: any): Blob;
|
|
2
|
-
declare const _sfc_main: import(
|
|
2
|
+
declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
@@ -35,54 +35,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
35
35
|
}, {
|
|
36
36
|
dataURItoBlob: typeof dataURItoBlob;
|
|
37
37
|
resolutions: any;
|
|
38
|
-
props:
|
|
39
|
-
modelValue: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
enableSwitchCamera: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
defaultRearCamera: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
enableMirrorCamera: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
enableGuide: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
guideSrc: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
countdown: {
|
|
64
|
-
type: NumberConstructor;
|
|
65
|
-
default: number;
|
|
66
|
-
};
|
|
67
|
-
ratio: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
}>> & {
|
|
72
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
}>>;
|
|
38
|
+
props: any;
|
|
74
39
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
75
|
-
camera: import(
|
|
76
|
-
canvas: import(
|
|
77
|
-
devices: import(
|
|
78
|
-
activeDevice: import(
|
|
79
|
-
isCameraOpen: import(
|
|
80
|
-
isPhotoTaken: import(
|
|
81
|
-
width: import(
|
|
82
|
-
height: import(
|
|
83
|
-
showCountdown: import(
|
|
84
|
-
mirrorCamera: import(
|
|
85
|
-
className: import(
|
|
40
|
+
camera: import('./vue/dist/vue.esm-bundler.js').Ref<any>;
|
|
41
|
+
canvas: import('./vue/dist/vue.esm-bundler.js').Ref<any>;
|
|
42
|
+
devices: import('./vue/dist/vue.esm-bundler.js').Ref<any>;
|
|
43
|
+
activeDevice: import('./vue/dist/vue.esm-bundler.js').Ref<any>;
|
|
44
|
+
isCameraOpen: import('./vue/dist/vue.esm-bundler.js').Ref<boolean>;
|
|
45
|
+
isPhotoTaken: import('./vue/dist/vue.esm-bundler.js').Ref<boolean>;
|
|
46
|
+
width: import('./vue/dist/vue.esm-bundler.js').Ref<number>;
|
|
47
|
+
height: import('./vue/dist/vue.esm-bundler.js').Ref<number>;
|
|
48
|
+
showCountdown: import('./vue/dist/vue.esm-bundler.js').Ref<any>;
|
|
49
|
+
mirrorCamera: import('./vue/dist/vue.esm-bundler.js').ComputedRef<"" | "mirror-cam">;
|
|
50
|
+
className: import('./vue/dist/vue.esm-bundler.js').ComputedRef<string>;
|
|
86
51
|
setWidth: () => void;
|
|
87
52
|
switchCamera: () => void;
|
|
88
53
|
createCameraElement: () => void;
|
|
@@ -91,7 +56,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
91
56
|
onCapture: () => void;
|
|
92
57
|
doCapture: () => void;
|
|
93
58
|
save: (dataUrl: string) => void;
|
|
94
|
-
}, unknown, {}, {}, import(
|
|
59
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
95
60
|
modelValue: {
|
|
96
61
|
type: StringConstructor;
|
|
97
62
|
default: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType, Ref } from 'vue';
|
|
2
|
-
declare const _sfc_main: import(
|
|
1
|
+
import { PropType, Ref } from './vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
default: never[];
|
|
5
5
|
};
|
|
@@ -36,49 +36,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
38
|
}, {
|
|
39
|
-
props:
|
|
40
|
-
modelValue: {
|
|
41
|
-
default: never[];
|
|
42
|
-
};
|
|
43
|
-
options: {
|
|
44
|
-
type: PropType<any[]>;
|
|
45
|
-
default: never[];
|
|
46
|
-
};
|
|
47
|
-
name: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: () => string;
|
|
50
|
-
};
|
|
51
|
-
id: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: () => string;
|
|
54
|
-
};
|
|
55
|
-
label: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
variant: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
readOnly: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
required: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
}>> & {
|
|
76
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
}>>;
|
|
39
|
+
props: any;
|
|
79
40
|
emit: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
80
41
|
values: Ref<any[]>;
|
|
81
|
-
}, unknown, {}, {}, import(
|
|
42
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
82
43
|
modelValue: {
|
|
83
44
|
default: never[];
|
|
84
45
|
};
|
|
@@ -1,2 +1,169 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: {
|
|
5
|
+
(arrayLength: number): File[][];
|
|
6
|
+
(...items: File[][]): File[][];
|
|
7
|
+
new (arrayLength: number): File[][];
|
|
8
|
+
new (...items: File[][]): File[][];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
14
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
15
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
16
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
17
|
+
};
|
|
18
|
+
default: never[];
|
|
19
|
+
};
|
|
20
|
+
name: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: () => string;
|
|
23
|
+
};
|
|
24
|
+
id: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: () => string;
|
|
27
|
+
};
|
|
28
|
+
label: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
placeholder: {
|
|
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
|
+
pattern: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
56
|
+
multiple: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
accept: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
props: any;
|
|
65
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
66
|
+
onFilesChanged: (event: Event) => void;
|
|
67
|
+
input: import('./vue/dist/vue.esm-bundler.js').Ref<any>;
|
|
68
|
+
files: {
|
|
69
|
+
readonly lastModified: number;
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly webkitRelativePath: string;
|
|
72
|
+
readonly size: number;
|
|
73
|
+
readonly type: string;
|
|
74
|
+
arrayBuffer: {
|
|
75
|
+
(): Promise<ArrayBuffer>;
|
|
76
|
+
(): Promise<ArrayBuffer>;
|
|
77
|
+
};
|
|
78
|
+
slice: {
|
|
79
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
80
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
81
|
+
};
|
|
82
|
+
stream: {
|
|
83
|
+
(): NodeJS.ReadableStream;
|
|
84
|
+
(): ReadableStream<Uint8Array>;
|
|
85
|
+
};
|
|
86
|
+
text: {
|
|
87
|
+
(): Promise<string>;
|
|
88
|
+
(): Promise<string>;
|
|
89
|
+
};
|
|
90
|
+
}[];
|
|
91
|
+
fileNames: import('./vue/dist/vue.esm-bundler.js').ComputedRef<string[]>;
|
|
92
|
+
objectUrls: import('./vue/dist/vue.esm-bundler.js').ComputedRef<string[]>;
|
|
93
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
94
|
+
modelValue: {
|
|
95
|
+
type: {
|
|
96
|
+
(arrayLength: number): File[][];
|
|
97
|
+
(...items: File[][]): File[][];
|
|
98
|
+
new (arrayLength: number): File[][];
|
|
99
|
+
new (...items: File[][]): File[][];
|
|
100
|
+
isArray(arg: any): arg is any[];
|
|
101
|
+
readonly prototype: any[];
|
|
102
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
103
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
104
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
105
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
106
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
107
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
108
|
+
};
|
|
109
|
+
default: never[];
|
|
110
|
+
};
|
|
111
|
+
name: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: () => string;
|
|
114
|
+
};
|
|
115
|
+
id: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: () => string;
|
|
118
|
+
};
|
|
119
|
+
label: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
placeholder: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
variant: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
disabled: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
readOnly: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
required: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
pattern: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: null;
|
|
146
|
+
};
|
|
147
|
+
multiple: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
accept: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
};
|
|
154
|
+
}>> & {
|
|
155
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
}, {
|
|
157
|
+
variant: string;
|
|
158
|
+
disabled: boolean;
|
|
159
|
+
required: boolean;
|
|
160
|
+
name: string;
|
|
161
|
+
modelValue: File[][];
|
|
162
|
+
id: string;
|
|
163
|
+
label: string;
|
|
164
|
+
readOnly: boolean;
|
|
165
|
+
placeholder: string;
|
|
166
|
+
pattern: string;
|
|
167
|
+
multiple: boolean;
|
|
168
|
+
}>;
|
|
2
169
|
export default _sfc_main;
|
|
@@ -1,3 +1,244 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
export declare function fileToDataUrl(file: File): Promise<any>;
|
|
2
|
-
declare const _sfc_main: import(
|
|
3
|
+
declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: {
|
|
6
|
+
(arrayLength: number): {
|
|
7
|
+
type?: string | undefined;
|
|
8
|
+
src?: string | undefined;
|
|
9
|
+
}[];
|
|
10
|
+
(...items: {
|
|
11
|
+
type?: string | undefined;
|
|
12
|
+
src?: string | undefined;
|
|
13
|
+
}[]): {
|
|
14
|
+
type?: string | undefined;
|
|
15
|
+
src?: string | undefined;
|
|
16
|
+
}[];
|
|
17
|
+
new (arrayLength: number): {
|
|
18
|
+
type?: string | undefined;
|
|
19
|
+
src?: string | undefined;
|
|
20
|
+
}[];
|
|
21
|
+
new (...items: {
|
|
22
|
+
type?: string | undefined;
|
|
23
|
+
src?: string | undefined;
|
|
24
|
+
}[]): {
|
|
25
|
+
type?: string | undefined;
|
|
26
|
+
src?: string | undefined;
|
|
27
|
+
}[];
|
|
28
|
+
isArray(arg: any): arg is any[];
|
|
29
|
+
readonly prototype: any[];
|
|
30
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
31
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
32
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
33
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
34
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
35
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
36
|
+
};
|
|
37
|
+
default: never[];
|
|
38
|
+
};
|
|
39
|
+
src: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
name: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: () => string;
|
|
45
|
+
};
|
|
46
|
+
id: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: () => string;
|
|
49
|
+
};
|
|
50
|
+
label: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
placeholder: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
variant: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
readOnly: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
required: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
pattern: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: null;
|
|
77
|
+
};
|
|
78
|
+
multiple: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
accept: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
endpoint: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
toDataUrl: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
fileToDataUrl: typeof fileToDataUrl;
|
|
96
|
+
props: any;
|
|
97
|
+
emit: (event: "update:modelValue" | "update:src", ...args: any[]) => void;
|
|
98
|
+
files: import('./vue/dist/vue.esm-bundler.js').Ref<{
|
|
99
|
+
readonly lastModified: number;
|
|
100
|
+
readonly name: string;
|
|
101
|
+
readonly webkitRelativePath: string;
|
|
102
|
+
readonly size: number;
|
|
103
|
+
readonly type: string;
|
|
104
|
+
arrayBuffer: {
|
|
105
|
+
(): Promise<ArrayBuffer>;
|
|
106
|
+
(): Promise<ArrayBuffer>;
|
|
107
|
+
};
|
|
108
|
+
slice: {
|
|
109
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
110
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
111
|
+
};
|
|
112
|
+
stream: {
|
|
113
|
+
(): NodeJS.ReadableStream;
|
|
114
|
+
(): ReadableStream<Uint8Array>;
|
|
115
|
+
};
|
|
116
|
+
text: {
|
|
117
|
+
(): Promise<string>;
|
|
118
|
+
(): Promise<string>;
|
|
119
|
+
};
|
|
120
|
+
}[]>;
|
|
121
|
+
dataUrls: import('./vue/dist/vue.esm-bundler.js').Ref<{
|
|
122
|
+
type: string;
|
|
123
|
+
src: string;
|
|
124
|
+
}[]>;
|
|
125
|
+
thumbnails: import('./vue/dist/vue.esm-bundler.js').ComputedRef<{
|
|
126
|
+
type?: string | undefined;
|
|
127
|
+
src?: string | undefined;
|
|
128
|
+
}[]>;
|
|
129
|
+
removeFile: (index: number) => void;
|
|
130
|
+
uploadFile: (file: File) => Promise<any>;
|
|
131
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, ("update:modelValue" | "update:src")[], "update:modelValue" | "update:src", import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
132
|
+
modelValue: {
|
|
133
|
+
type: {
|
|
134
|
+
(arrayLength: number): {
|
|
135
|
+
type?: string | undefined;
|
|
136
|
+
src?: string | undefined;
|
|
137
|
+
}[];
|
|
138
|
+
(...items: {
|
|
139
|
+
type?: string | undefined;
|
|
140
|
+
src?: string | undefined;
|
|
141
|
+
}[]): {
|
|
142
|
+
type?: string | undefined;
|
|
143
|
+
src?: string | undefined;
|
|
144
|
+
}[];
|
|
145
|
+
new (arrayLength: number): {
|
|
146
|
+
type?: string | undefined;
|
|
147
|
+
src?: string | undefined;
|
|
148
|
+
}[];
|
|
149
|
+
new (...items: {
|
|
150
|
+
type?: string | undefined;
|
|
151
|
+
src?: string | undefined;
|
|
152
|
+
}[]): {
|
|
153
|
+
type?: string | undefined;
|
|
154
|
+
src?: string | undefined;
|
|
155
|
+
}[];
|
|
156
|
+
isArray(arg: any): arg is any[];
|
|
157
|
+
readonly prototype: any[];
|
|
158
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
159
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
160
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
161
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
162
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
163
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
164
|
+
};
|
|
165
|
+
default: never[];
|
|
166
|
+
};
|
|
167
|
+
src: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
};
|
|
170
|
+
name: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
default: () => string;
|
|
173
|
+
};
|
|
174
|
+
id: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: () => string;
|
|
177
|
+
};
|
|
178
|
+
label: {
|
|
179
|
+
type: StringConstructor;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
placeholder: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
default: string;
|
|
185
|
+
};
|
|
186
|
+
variant: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
disabled: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
readOnly: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
required: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
pattern: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: null;
|
|
205
|
+
};
|
|
206
|
+
multiple: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
accept: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
214
|
+
endpoint: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
toDataUrl: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
222
|
+
}>> & {
|
|
223
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
224
|
+
"onUpdate:src"?: ((...args: any[]) => any) | undefined;
|
|
225
|
+
}, {
|
|
226
|
+
variant: string;
|
|
227
|
+
disabled: boolean;
|
|
228
|
+
required: boolean;
|
|
229
|
+
name: string;
|
|
230
|
+
modelValue: {
|
|
231
|
+
type?: string | undefined;
|
|
232
|
+
src?: string | undefined;
|
|
233
|
+
}[];
|
|
234
|
+
id: string;
|
|
235
|
+
label: string;
|
|
236
|
+
readOnly: boolean;
|
|
237
|
+
placeholder: string;
|
|
238
|
+
pattern: string;
|
|
239
|
+
multiple: boolean;
|
|
240
|
+
accept: string;
|
|
241
|
+
endpoint: string;
|
|
242
|
+
toDataUrl: boolean;
|
|
243
|
+
}>;
|
|
3
244
|
export default _sfc_main;
|