@vue-pdf-viewer/viewer 3.0.0-alpha.22 → 3.0.0-alpha.23
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/index.js +7426 -7398
- package/dist/index.umd.cjs +18 -18
- package/dist/types/components/LayerAnnotationEditorFreeText.vue.d.ts +3 -0
- package/dist/types/components/LayerAnnotationEditorFreeTextItem.vue.d.ts +6 -0
- package/dist/types/composables/useAnnotationFreeText.d.ts +3 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { AnnotationFreeText } from '@/utils/types';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
annotation: AnnotationFreeText;
|
|
5
|
+
isDragging: boolean;
|
|
5
6
|
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
6
7
|
P: {};
|
|
7
8
|
B: {};
|
|
@@ -11,12 +12,14 @@ declare const _default: {
|
|
|
11
12
|
Defaults: {};
|
|
12
13
|
}, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
14
|
annotation: AnnotationFreeText;
|
|
15
|
+
isDragging: boolean;
|
|
14
16
|
}>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
15
17
|
__isFragment?: undefined;
|
|
16
18
|
__isTeleport?: undefined;
|
|
17
19
|
__isSuspense?: undefined;
|
|
18
20
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
21
|
annotation: AnnotationFreeText;
|
|
22
|
+
isDragging: boolean;
|
|
20
23
|
}>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
21
24
|
$slots: {
|
|
22
25
|
default: (_: {}) => any;
|
|
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
annotation: AnnotationFreeText;
|
|
8
8
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
update: (annotation: AnnotationFreeText) => void;
|
|
10
|
+
} & {
|
|
11
|
+
dragStart: (annotation: AnnotationFreeText) => void;
|
|
12
|
+
} & {
|
|
13
|
+
dragEnd: (annotation: AnnotationFreeText) => void;
|
|
10
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
15
|
viewport: PageViewport;
|
|
12
16
|
isSelected: boolean;
|
|
@@ -14,6 +18,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
18
|
annotation: AnnotationFreeText;
|
|
15
19
|
}>>> & Readonly<{
|
|
16
20
|
onUpdate?: ((annotation: AnnotationFreeText) => any) | undefined;
|
|
21
|
+
onDragStart?: ((annotation: AnnotationFreeText) => any) | undefined;
|
|
22
|
+
onDragEnd?: ((annotation: AnnotationFreeText) => any) | undefined;
|
|
17
23
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
24
|
export default _default;
|
|
19
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1532,8 +1532,11 @@ export declare const useAnnotationFreeText: (props: UseAnnotationFreeTextProps)
|
|
|
1532
1532
|
}[]>;
|
|
1533
1533
|
freeTextElementClickOpens: import("vue").Reactive<Map<string, boolean>>;
|
|
1534
1534
|
freeTextElements: Ref<Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>, Map<string, HTMLElement> | (Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>)>;
|
|
1535
|
+
freeTextElementDragging: import("vue").Reactive<Map<string, boolean>>;
|
|
1535
1536
|
handleFreeTextClick: (annotation: AnnotationFreeText) => void;
|
|
1536
1537
|
handleFreeTextRemove: (annotation: AnnotationFreeText) => void;
|
|
1537
1538
|
handleFreeTextUpdate: (annotation: AnnotationFreeText) => void;
|
|
1539
|
+
handleFreeTextDragStart: (annotation: AnnotationFreeText) => void;
|
|
1540
|
+
handleFreeTextDragEnd: (annotation: AnnotationFreeText) => void;
|
|
1538
1541
|
};
|
|
1539
1542
|
export {};
|