ablok-components 0.2.52 → 0.3.2
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.es.js +20267 -18194
- package/dist/ablok-components.umd.js +86 -84
- package/dist/components/molecules/base-camera/base-camera.vue.d.ts +0 -1
- package/dist/components/molecules/file-upload/file-upload.vue.d.ts +12 -5
- package/dist/components/molecules/image-crop/image-crop.spec.d.ts +1 -0
- package/dist/components/molecules/image-crop/image-crop.vue.d.ts +192 -0
- package/dist/components/molecules/image-crop-resize/image-crop-resize.spec.d.ts +1 -0
- package/dist/components/molecules/image-crop-resize/image-crop-resize.vue.d.ts +57 -0
- package/dist/components/molecules/image-resize/image-resize.spec.d.ts +1 -0
- package/dist/components/molecules/image-resize/image-resize.vue.d.ts +59 -0
- package/dist/components/molecules/image-upload/image-upload.spec.d.ts +1 -0
- package/dist/components/molecules/image-upload/image-upload.vue.d.ts +224 -0
- package/dist/components/molecules/input-dropdown/input-dropdown.vue.d.ts +16 -1
- package/dist/components/molecules/upload-group/upload-group.vue.d.ts +9 -0
- package/dist/components/organisms/asset-uploader/asset-uploader.vue.d.ts +9 -0
- package/dist/composables/useFileUpload.d.ts +46 -0
- package/dist/i18n.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/locales/en.d.ts +1 -0
- package/dist/symbol-defs.svg +9 -0
- package/dist/types/media.d.ts +13 -0
- package/dist/utilities/helpers.d.ts +7 -0
- package/package.json +2 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
button?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
3
11
|
modelValue: {
|
|
4
12
|
type: {
|
|
5
13
|
(arrayLength: number): {
|
|
@@ -262,9 +270,8 @@ declare const _default: __VLS_WithTemplateSlots<import('../../../../vue/dist/vue
|
|
|
262
270
|
enablePreview: boolean;
|
|
263
271
|
previewWidth: number;
|
|
264
272
|
dropFiles: boolean;
|
|
265
|
-
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement
|
|
266
|
-
|
|
267
|
-
}>;
|
|
273
|
+
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
274
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
268
275
|
export default _default;
|
|
269
276
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
270
277
|
new (): {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
spinner: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
ready: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
aspectRatioOptions: {
|
|
16
|
+
type: () => Array<number>;
|
|
17
|
+
default: () => {
|
|
18
|
+
value: number;
|
|
19
|
+
text: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
spinner: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
ready: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
aspectRatioOptions: {
|
|
39
|
+
type: () => Array<number>;
|
|
40
|
+
default: () => {
|
|
41
|
+
value: number;
|
|
42
|
+
text: string;
|
|
43
|
+
}[];
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{
|
|
46
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
spinner: boolean;
|
|
49
|
+
ready: boolean;
|
|
50
|
+
modelValue: string;
|
|
51
|
+
aspectRatioOptions: number[];
|
|
52
|
+
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {
|
|
53
|
+
cropper: ({
|
|
54
|
+
$: import('../../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
|
|
55
|
+
$data: {};
|
|
56
|
+
$props: Partial<{} | {
|
|
57
|
+
[x: string]: any;
|
|
58
|
+
}> & Omit<{
|
|
59
|
+
readonly [x: string]: any;
|
|
60
|
+
} & import('../../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, never>;
|
|
61
|
+
$attrs: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
$refs: {
|
|
65
|
+
[x: string]: unknown;
|
|
66
|
+
};
|
|
67
|
+
$slots: Readonly<{
|
|
68
|
+
[name: string]: import('../../../../vue/dist/vue.esm-bundler.js').Slot<any> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
$root: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
71
|
+
$parent: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
72
|
+
$host: Element | null;
|
|
73
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
74
|
+
$el: any;
|
|
75
|
+
$options: import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<any>, {
|
|
76
|
+
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
77
|
+
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
78
|
+
refresh: () => void;
|
|
79
|
+
zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
|
|
80
|
+
move: (left: number, top?: number) => void;
|
|
81
|
+
rotate: (angle: number) => void;
|
|
82
|
+
flip: (horizontal: boolean, vertical?: boolean) => void;
|
|
83
|
+
reset: () => void;
|
|
84
|
+
}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComputedOptions, import('../../../../vue/dist/vue.esm-bundler.js').MethodOptions, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {} | {
|
|
85
|
+
[x: string]: any;
|
|
86
|
+
}, {}, string, {}, import('../../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
|
|
87
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
88
|
+
created?: (() => void) | (() => void)[];
|
|
89
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
90
|
+
mounted?: (() => void) | (() => void)[];
|
|
91
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
92
|
+
updated?: (() => void) | (() => void)[];
|
|
93
|
+
activated?: (() => void) | (() => void)[];
|
|
94
|
+
deactivated?: (() => void) | (() => void)[];
|
|
95
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
96
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
97
|
+
destroyed?: (() => void) | (() => void)[];
|
|
98
|
+
unmounted?: (() => void) | (() => void)[];
|
|
99
|
+
renderTracked?: ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
|
|
100
|
+
renderTriggered?: ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
|
|
101
|
+
errorCaptured?: ((err: unknown, instance: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
102
|
+
};
|
|
103
|
+
$forceUpdate: () => void;
|
|
104
|
+
$nextTick: typeof import('../../../../vue/dist/vue.esm-bundler.js').nextTick;
|
|
105
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('../../../../vue/dist/vue.esm-bundler.js').WatchOptions): import('../../../../vue/dist/vue.esm-bundler.js').WatchStopHandle;
|
|
106
|
+
} & Readonly<{}> & Omit<Readonly<any>, "reset" | "rotate" | "zoom" | "move" | "getResult" | "setCoordinates" | "refresh" | "flip"> & import('../../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{
|
|
107
|
+
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
108
|
+
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
109
|
+
refresh: () => void;
|
|
110
|
+
zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
|
|
111
|
+
move: (left: number, top?: number) => void;
|
|
112
|
+
rotate: (angle: number) => void;
|
|
113
|
+
flip: (horizontal: boolean, vertical?: boolean) => void;
|
|
114
|
+
reset: () => void;
|
|
115
|
+
}> & {
|
|
116
|
+
[x: string]: never;
|
|
117
|
+
} & import('../../../../vue/dist/vue.esm-bundler.js').MethodOptions & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {}) | ({
|
|
118
|
+
$: import('../../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
|
|
119
|
+
$data: {};
|
|
120
|
+
$props: Partial<{} | {
|
|
121
|
+
[x: string]: any;
|
|
122
|
+
}> & Omit<{
|
|
123
|
+
readonly [x: string]: any;
|
|
124
|
+
} & import('../../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, never>;
|
|
125
|
+
$attrs: {
|
|
126
|
+
[x: string]: unknown;
|
|
127
|
+
};
|
|
128
|
+
$refs: {
|
|
129
|
+
[x: string]: unknown;
|
|
130
|
+
};
|
|
131
|
+
$slots: Readonly<{
|
|
132
|
+
[name: string]: import('../../../../vue/dist/vue.esm-bundler.js').Slot<any> | undefined;
|
|
133
|
+
}>;
|
|
134
|
+
$root: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
135
|
+
$parent: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
136
|
+
$host: Element | null;
|
|
137
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
138
|
+
$el: any;
|
|
139
|
+
$options: import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<any>, {
|
|
140
|
+
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
141
|
+
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
142
|
+
refresh: () => void;
|
|
143
|
+
zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
|
|
144
|
+
move: (left: number, top?: number) => void;
|
|
145
|
+
rotate: (angle: number) => void;
|
|
146
|
+
flip: (horizontal: boolean, vertical?: boolean) => void;
|
|
147
|
+
reset: () => void;
|
|
148
|
+
}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComputedOptions, import('../../../../vue/dist/vue.esm-bundler.js').MethodOptions, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {} | {
|
|
149
|
+
[x: string]: any;
|
|
150
|
+
}, {}, string, {}, import('../../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
|
|
151
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
152
|
+
created?: (() => void) | (() => void)[];
|
|
153
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
154
|
+
mounted?: (() => void) | (() => void)[];
|
|
155
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
156
|
+
updated?: (() => void) | (() => void)[];
|
|
157
|
+
activated?: (() => void) | (() => void)[];
|
|
158
|
+
deactivated?: (() => void) | (() => void)[];
|
|
159
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
160
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
161
|
+
destroyed?: (() => void) | (() => void)[];
|
|
162
|
+
unmounted?: (() => void) | (() => void)[];
|
|
163
|
+
renderTracked?: ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
|
|
164
|
+
renderTriggered?: ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
|
|
165
|
+
errorCaptured?: ((err: unknown, instance: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('../../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
166
|
+
};
|
|
167
|
+
$forceUpdate: () => void;
|
|
168
|
+
$nextTick: typeof import('../../../../vue/dist/vue.esm-bundler.js').nextTick;
|
|
169
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('../../../../vue/dist/vue.esm-bundler.js').WatchOptions): import('../../../../vue/dist/vue.esm-bundler.js').WatchStopHandle;
|
|
170
|
+
} & Readonly<{
|
|
171
|
+
[x: string]: any;
|
|
172
|
+
}> & Omit<Readonly<any>, "reset" | "rotate" | "zoom" | "move" | "getResult" | "setCoordinates" | "refresh" | "flip"> & import('../../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{
|
|
173
|
+
getResult: () => import('vue-advanced-cropper').CropperResult;
|
|
174
|
+
setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
|
|
175
|
+
refresh: () => void;
|
|
176
|
+
zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
|
|
177
|
+
move: (left: number, top?: number) => void;
|
|
178
|
+
rotate: (angle: number) => void;
|
|
179
|
+
flip: (horizontal: boolean, vertical?: boolean) => void;
|
|
180
|
+
reset: () => void;
|
|
181
|
+
}> & {
|
|
182
|
+
[x: string]: never;
|
|
183
|
+
} & import('../../../../vue/dist/vue.esm-bundler.js').MethodOptions & import('../../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {}) | null;
|
|
184
|
+
}, any>, {
|
|
185
|
+
actions?(_: {}): any;
|
|
186
|
+
}>;
|
|
187
|
+
export default _default;
|
|
188
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
189
|
+
new (): {
|
|
190
|
+
$slots: S;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
submit?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
targetImage: unknown;
|
|
8
|
+
};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
spinner: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
ready: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (...args: any[]) => void;
|
|
28
|
+
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
spinner: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
ready: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
spinner: boolean;
|
|
46
|
+
ready: boolean;
|
|
47
|
+
modelValue: string;
|
|
48
|
+
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {
|
|
49
|
+
targetImage: unknown;
|
|
50
|
+
}, any>;
|
|
51
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
actions?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
image: unknown;
|
|
8
|
+
targetImage: unknown;
|
|
9
|
+
};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
spinner: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
ready: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (...args: any[]) => void;
|
|
29
|
+
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
spinner: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
ready: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{
|
|
44
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
spinner: boolean;
|
|
47
|
+
ready: boolean;
|
|
48
|
+
modelValue: string;
|
|
49
|
+
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {
|
|
50
|
+
image: unknown;
|
|
51
|
+
targetImage: unknown;
|
|
52
|
+
}, any>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { IMediaObject } from '../../../types/media';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
button?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: () => IMediaObject | undefined;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
src: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
name: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: () => string;
|
|
22
|
+
};
|
|
23
|
+
id: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: () => string;
|
|
26
|
+
};
|
|
27
|
+
label: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
placeholder: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
variant: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
readOnly: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
required: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
pattern: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: null;
|
|
54
|
+
};
|
|
55
|
+
accept: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
maxFileSize: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
endpoint: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
toDataUrl: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
authToken: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
customFetch: null;
|
|
76
|
+
baseResponsePath: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
enablePreview: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
previewWidth: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
dropFiles: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
enableReview: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
maxWidth: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
101
|
+
"update:modelValue": (...args: any[]) => void;
|
|
102
|
+
"update:src": (...args: any[]) => void;
|
|
103
|
+
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
104
|
+
modelValue: {
|
|
105
|
+
type: () => IMediaObject | undefined;
|
|
106
|
+
default: undefined;
|
|
107
|
+
};
|
|
108
|
+
src: {
|
|
109
|
+
type: StringConstructor;
|
|
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
|
+
accept: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
maxFileSize: {
|
|
152
|
+
type: NumberConstructor;
|
|
153
|
+
default: number;
|
|
154
|
+
};
|
|
155
|
+
endpoint: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
toDataUrl: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
authToken: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
customFetch: null;
|
|
168
|
+
baseResponsePath: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
enablePreview: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
previewWidth: {
|
|
177
|
+
type: NumberConstructor;
|
|
178
|
+
default: number;
|
|
179
|
+
};
|
|
180
|
+
dropFiles: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
enableReview: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
maxWidth: {
|
|
189
|
+
type: NumberConstructor;
|
|
190
|
+
default: number;
|
|
191
|
+
};
|
|
192
|
+
}>> & Readonly<{
|
|
193
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
194
|
+
"onUpdate:src"?: ((...args: any[]) => any) | undefined;
|
|
195
|
+
}>, {
|
|
196
|
+
label: string;
|
|
197
|
+
pattern: string;
|
|
198
|
+
required: boolean;
|
|
199
|
+
variant: string;
|
|
200
|
+
id: string;
|
|
201
|
+
modelValue: IMediaObject | undefined;
|
|
202
|
+
disabled: boolean;
|
|
203
|
+
name: string;
|
|
204
|
+
placeholder: string;
|
|
205
|
+
readOnly: boolean;
|
|
206
|
+
accept: string;
|
|
207
|
+
maxFileSize: number;
|
|
208
|
+
endpoint: string;
|
|
209
|
+
toDataUrl: boolean;
|
|
210
|
+
authToken: string;
|
|
211
|
+
baseResponsePath: string;
|
|
212
|
+
enablePreview: boolean;
|
|
213
|
+
previewWidth: number;
|
|
214
|
+
dropFiles: boolean;
|
|
215
|
+
enableReview: boolean;
|
|
216
|
+
maxWidth: number;
|
|
217
|
+
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
218
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
219
|
+
export default _default;
|
|
220
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
221
|
+
new (): {
|
|
222
|
+
$slots: S;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
label?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
2
11
|
id: {
|
|
3
12
|
type: StringConstructor;
|
|
4
13
|
};
|
|
@@ -182,4 +191,10 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
182
191
|
showSelectionCount: boolean;
|
|
183
192
|
exactMatch: boolean;
|
|
184
193
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
194
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
185
195
|
export default _default;
|
|
196
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
197
|
+
new (): {
|
|
198
|
+
$slots: S;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
@@ -66,6 +66,10 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
66
66
|
type: NumberConstructor;
|
|
67
67
|
default: number;
|
|
68
68
|
};
|
|
69
|
+
useImageUpload: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
69
73
|
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
70
74
|
"update:modelValue": (...args: any[]) => void;
|
|
71
75
|
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
@@ -136,6 +140,10 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
136
140
|
type: NumberConstructor;
|
|
137
141
|
default: number;
|
|
138
142
|
};
|
|
143
|
+
useImageUpload: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
139
147
|
}>> & Readonly<{
|
|
140
148
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
141
149
|
}>, {
|
|
@@ -151,5 +159,6 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
151
159
|
authToken: string;
|
|
152
160
|
baseResponsePath: string;
|
|
153
161
|
previewWidth: number;
|
|
162
|
+
useImageUpload: boolean;
|
|
154
163
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
155
164
|
export default _default;
|
|
@@ -87,6 +87,10 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
87
87
|
type: NumberConstructor;
|
|
88
88
|
default: number;
|
|
89
89
|
};
|
|
90
|
+
useImageUpload: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
90
94
|
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
91
95
|
"update:modelValue": (...args: any[]) => void;
|
|
92
96
|
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
@@ -169,6 +173,10 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
169
173
|
type: NumberConstructor;
|
|
170
174
|
default: number;
|
|
171
175
|
};
|
|
176
|
+
useImageUpload: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
172
180
|
}>> & Readonly<{
|
|
173
181
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
174
182
|
}>, {
|
|
@@ -185,6 +193,7 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
185
193
|
authToken: string;
|
|
186
194
|
baseResponsePath: string;
|
|
187
195
|
previewWidth: number;
|
|
196
|
+
useImageUpload: boolean;
|
|
188
197
|
mediaTypeMap: Record<string, any>;
|
|
189
198
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
190
199
|
export default _default;
|