@26lights/orcha 0.42.74 → 0.42.76
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/locales/en/translation.json +2 -1
- package/dist/orcha.cjs.js +32 -32
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +7692 -7594
- package/dist/orcha.umd.js +32 -32
- package/dist/src/components/AoActivityDetailsFiles.vue.d.ts +4 -6
- package/dist/src/components/AoFilePreview.vue.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
import { type Attachment } from '../types';
|
|
2
2
|
declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
attachments: {
|
|
4
|
-
type: import("vue").PropType<
|
|
5
|
-
required: true;
|
|
4
|
+
type: import("vue").PropType<Attachment[]>;
|
|
6
5
|
};
|
|
7
6
|
isEditable: {
|
|
8
7
|
type: import("vue").PropType<boolean>;
|
|
9
8
|
};
|
|
10
9
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
add: (value:
|
|
10
|
+
add: (value: File[]) => void;
|
|
12
11
|
toggleIsDropActive: (value: boolean) => void;
|
|
13
12
|
remove: (value: Attachment) => void;
|
|
14
13
|
preview: (value: number) => void;
|
|
15
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
15
|
attachments: {
|
|
17
|
-
type: import("vue").PropType<
|
|
18
|
-
required: true;
|
|
16
|
+
type: import("vue").PropType<Attachment[]>;
|
|
19
17
|
};
|
|
20
18
|
isEditable: {
|
|
21
19
|
type: import("vue").PropType<boolean>;
|
|
22
20
|
};
|
|
23
21
|
}>> & Readonly<{
|
|
24
22
|
onRemove?: ((value: Attachment) => any) | undefined;
|
|
25
|
-
onAdd?: ((value:
|
|
23
|
+
onAdd?: ((value: File[]) => any) | undefined;
|
|
26
24
|
onPreview?: ((value: number) => any) | undefined;
|
|
27
25
|
onToggleIsDropActive?: ((value: boolean) => any) | undefined;
|
|
28
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Attachment } from '../types';
|
|
2
|
+
export type AttachmentPreviewLoader = (attachment: Attachment) => Promise<Blob>;
|
|
2
3
|
declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
attachments: {
|
|
4
5
|
type: import("vue").PropType<Attachment[]>;
|
|
@@ -8,6 +9,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
8
9
|
type: import("vue").PropType<number>;
|
|
9
10
|
required: true;
|
|
10
11
|
};
|
|
12
|
+
loadPreview: {
|
|
13
|
+
type: import("vue").PropType<AttachmentPreviewLoader>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
11
16
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
17
|
"update:currentIndex": (value: number) => void;
|
|
13
18
|
close: () => void;
|
|
@@ -20,6 +25,10 @@ declare const __VLS_publicComponent: import("vue").DefineComponent<import("vue")
|
|
|
20
25
|
type: import("vue").PropType<number>;
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
28
|
+
loadPreview: {
|
|
29
|
+
type: import("vue").PropType<AttachmentPreviewLoader>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
23
32
|
}>> & Readonly<{
|
|
24
33
|
onClose?: (() => any) | undefined;
|
|
25
34
|
"onUpdate:currentIndex"?: ((value: number) => any) | undefined;
|