sprof 1.17.0 → 1.17.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/core/components/AdminGallery.vue.d.ts +21 -39
- package/dist/sprof.js +3644 -3609
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,49 +1,31 @@
|
|
|
1
1
|
import { default as FileInfo } from '../classes/FileInfo';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** id сущности-владельца (file_infos.item_id). */
|
|
4
|
+
id?: string;
|
|
5
|
+
/** Полиморфный тип связи (file_infos.type): diet, certificates, … */
|
|
6
|
+
type?: string;
|
|
7
|
+
/** Соотношение сторон превью. */
|
|
8
|
+
ratio?: number;
|
|
9
|
+
/** Показывать загрузчик новой фотографии. */
|
|
10
|
+
upload?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
'images'?: FileInfo[];
|
|
14
|
+
} & __VLS_Props;
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
16
|
sort: (...args: any[]) => void;
|
|
20
17
|
remove: (...args: any[]) => void;
|
|
21
|
-
ratio: (...args: any[]) => void;
|
|
22
18
|
addImage: (...args: any[]) => void;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
type: globalThis.PropType<FileInfo[]>;
|
|
26
|
-
reguired: boolean;
|
|
27
|
-
default: () => never[];
|
|
28
|
-
};
|
|
29
|
-
defaultRatio: {
|
|
30
|
-
type: NumberConstructor;
|
|
31
|
-
required: false;
|
|
32
|
-
default: number;
|
|
33
|
-
};
|
|
34
|
-
upload: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
required: false;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
}>> & Readonly<{
|
|
19
|
+
"update:images": (value: FileInfo[]) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
40
21
|
onSort?: ((...args: any[]) => any) | undefined;
|
|
41
22
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
onRatio?: ((...args: any[]) => any) | undefined;
|
|
43
23
|
onAddImage?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:images"?: ((value: FileInfo[]) => any) | undefined;
|
|
44
25
|
}>, {
|
|
26
|
+
type: string;
|
|
27
|
+
id: string;
|
|
28
|
+
ratio: number;
|
|
45
29
|
upload: boolean;
|
|
46
|
-
|
|
47
|
-
defaultRatio: number;
|
|
48
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
31
|
export default _default;
|