@progress/kendo-pdfviewer-common 0.3.0-dev.202409251459 → 0.3.0-dev.202410100645
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/es/annotations/annotation-editor-layer-builder.js +139 -0
- package/dist/es/annotations/annotation-editor-layer.js +780 -0
- package/dist/es/annotations/annotation-editor-ui-manager.js +1690 -0
- package/dist/es/annotations/annotation-layer-builder.js +217 -0
- package/dist/es/annotations/annotation-layer.js +2793 -0
- package/dist/es/annotations/draw-layer-builder.js +65 -0
- package/dist/es/annotations/draw-layer.js +220 -0
- package/dist/es/annotations/editors/annotation-editor.js +1519 -0
- package/dist/es/annotations/editors/free-text-editor.js +783 -0
- package/dist/es/annotations/editors/highlight-editor.js +717 -0
- package/dist/es/annotations/editors/outliner.js +747 -0
- package/dist/es/annotations/helpers/annotation-storage.js +294 -0
- package/dist/es/annotations/helpers/color-manager.js +72 -0
- package/dist/es/annotations/helpers/command-manager.js +133 -0
- package/dist/es/annotations/helpers/id-manager.js +34 -0
- package/dist/es/annotations/helpers/image-manager.js +176 -0
- package/dist/es/annotations/helpers/text-accessibility-manager.js +212 -0
- package/dist/es/annotations/helpers/tools.js +19 -0
- package/dist/es/annotations/shared/display_utils.js +1024 -0
- package/dist/es/annotations/shared/event_utils.js +213 -0
- package/dist/es/annotations/shared/murmurhash3.js +126 -0
- package/dist/es/annotations/shared/scripting_utils.js +90 -0
- package/dist/es/annotations/shared/ui_utils.js +823 -0
- package/dist/es/annotations/shared/utils.js +909 -0
- package/dist/es/common/component.js +33 -0
- package/dist/es/common/core.js +91 -0
- package/dist/es/common/dom.js +11 -0
- package/dist/es/common/main.js +4 -0
- package/dist/es/common/math.js +1 -0
- package/dist/es/enums/PdfViewerInteractionMode.js +6 -0
- package/dist/es/links/link-service.js +505 -0
- package/dist/es/main.js +2 -0
- package/dist/es/scroller.js +29 -30
- package/dist/es/text/text-layer-builder.js +288 -0
- package/dist/es/utils.js +5 -5
- package/dist/es/widget/page.js +762 -0
- package/dist/es/widget/pdfviewer.js +1659 -0
- package/dist/es2015/annotations/annotation-editor-layer-builder.js +139 -0
- package/dist/es2015/annotations/annotation-editor-layer.js +780 -0
- package/dist/es2015/annotations/annotation-editor-ui-manager.js +1690 -0
- package/dist/es2015/annotations/annotation-layer-builder.js +217 -0
- package/dist/es2015/annotations/annotation-layer.js +2793 -0
- package/dist/es2015/annotations/draw-layer-builder.js +65 -0
- package/dist/es2015/annotations/draw-layer.js +220 -0
- package/dist/es2015/annotations/editors/annotation-editor.js +1519 -0
- package/dist/es2015/annotations/editors/free-text-editor.js +783 -0
- package/dist/es2015/annotations/editors/highlight-editor.js +717 -0
- package/dist/es2015/annotations/editors/outliner.js +747 -0
- package/dist/es2015/annotations/helpers/annotation-storage.js +294 -0
- package/dist/es2015/annotations/helpers/color-manager.js +72 -0
- package/dist/es2015/annotations/helpers/command-manager.js +133 -0
- package/dist/es2015/annotations/helpers/id-manager.js +34 -0
- package/dist/es2015/annotations/helpers/image-manager.js +176 -0
- package/dist/es2015/annotations/helpers/text-accessibility-manager.js +212 -0
- package/dist/es2015/annotations/helpers/tools.js +19 -0
- package/dist/es2015/annotations/shared/display_utils.js +1024 -0
- package/dist/es2015/annotations/shared/event_utils.js +213 -0
- package/dist/es2015/annotations/shared/murmurhash3.js +126 -0
- package/dist/es2015/annotations/shared/scripting_utils.js +90 -0
- package/dist/es2015/annotations/shared/ui_utils.js +823 -0
- package/dist/es2015/annotations/shared/utils.js +909 -0
- package/dist/es2015/common/component.js +33 -0
- package/dist/es2015/common/core.js +91 -0
- package/dist/es2015/common/dom.js +11 -0
- package/dist/es2015/common/main.js +4 -0
- package/dist/es2015/common/math.js +1 -0
- package/dist/es2015/enums/PdfViewerInteractionMode.js +6 -0
- package/dist/es2015/links/link-service.js +505 -0
- package/dist/es2015/main.js +2 -0
- package/dist/es2015/scroller.js +29 -30
- package/dist/es2015/text/text-layer-builder.js +288 -0
- package/dist/es2015/utils.js +5 -5
- package/dist/es2015/widget/page.js +762 -0
- package/dist/es2015/widget/pdfviewer.js +1659 -0
- package/dist/npm/annotations/annotation-editor-layer-builder.d.ts +39 -0
- package/dist/npm/annotations/annotation-editor-layer-builder.js +142 -0
- package/dist/npm/annotations/annotation-editor-layer.d.ts +196 -0
- package/dist/npm/annotations/annotation-editor-layer.js +783 -0
- package/dist/npm/annotations/annotation-editor-ui-manager.d.ts +281 -0
- package/dist/npm/annotations/annotation-editor-ui-manager.js +1694 -0
- package/dist/npm/annotations/annotation-layer-builder.d.ts +58 -0
- package/dist/npm/annotations/annotation-layer-builder.js +220 -0
- package/dist/npm/annotations/annotation-layer.d.ts +134 -0
- package/dist/npm/annotations/annotation-layer.js +2794 -0
- package/dist/npm/annotations/draw-layer-builder.d.ts +21 -0
- package/dist/npm/annotations/draw-layer-builder.js +68 -0
- package/dist/npm/annotations/draw-layer.d.ts +33 -0
- package/dist/npm/annotations/draw-layer.js +223 -0
- package/dist/npm/annotations/editors/annotation-editor.d.ts +349 -0
- package/dist/npm/annotations/editors/annotation-editor.js +1523 -0
- package/dist/npm/annotations/editors/free-text-editor.d.ts +108 -0
- package/dist/npm/annotations/editors/free-text-editor.js +786 -0
- package/dist/npm/annotations/editors/highlight-editor.d.ts +114 -0
- package/dist/npm/annotations/editors/highlight-editor.js +717 -0
- package/dist/npm/annotations/editors/outliner.d.ts +51 -0
- package/dist/npm/annotations/editors/outliner.js +750 -0
- package/dist/npm/annotations/helpers/annotation-storage.d.ts +98 -0
- package/dist/npm/annotations/helpers/annotation-storage.js +299 -0
- package/dist/npm/annotations/helpers/color-manager.d.ts +6 -0
- package/dist/npm/annotations/helpers/color-manager.js +76 -0
- package/dist/npm/annotations/helpers/command-manager.d.ts +42 -0
- package/dist/npm/annotations/helpers/command-manager.js +137 -0
- package/dist/npm/annotations/helpers/id-manager.d.ts +6 -0
- package/dist/npm/annotations/helpers/id-manager.js +38 -0
- package/dist/npm/annotations/helpers/image-manager.d.ts +18 -0
- package/dist/npm/annotations/helpers/image-manager.js +180 -0
- package/dist/npm/annotations/helpers/text-accessibility-manager.d.ts +36 -0
- package/dist/npm/annotations/helpers/text-accessibility-manager.js +215 -0
- package/dist/npm/annotations/helpers/tools.d.ts +1 -0
- package/dist/npm/annotations/helpers/tools.js +23 -0
- package/dist/npm/annotations/shared/display_utils.d.ts +6 -0
- package/dist/npm/annotations/shared/display_utils.js +1030 -0
- package/dist/npm/annotations/shared/event_utils.d.ts +33 -0
- package/dist/npm/annotations/shared/event_utils.js +165 -0
- package/dist/npm/annotations/shared/murmurhash3.d.ts +8 -0
- package/dist/npm/annotations/shared/murmurhash3.js +129 -0
- package/dist/npm/annotations/shared/scripting_utils.d.ts +17 -0
- package/dist/npm/annotations/shared/scripting_utils.js +93 -0
- package/dist/npm/annotations/shared/ui_utils.d.ts +54 -0
- package/dist/npm/annotations/shared/ui_utils.js +250 -0
- package/dist/npm/annotations/shared/utils.d.ts +148 -0
- package/dist/npm/annotations/shared/utils.js +872 -0
- package/dist/npm/common/component.d.ts +9 -0
- package/dist/npm/common/component.js +37 -0
- package/dist/npm/common/core.d.ts +18 -0
- package/dist/npm/common/core.js +112 -0
- package/dist/npm/common/dom.d.ts +3 -0
- package/dist/npm/common/dom.js +17 -0
- package/dist/npm/common/main.d.ts +4 -0
- package/dist/npm/common/main.js +7 -0
- package/dist/npm/common/math.d.ts +1 -0
- package/dist/npm/common/math.js +5 -0
- package/dist/npm/enums/PdfViewerInteractionMode.d.ts +4 -0
- package/dist/npm/enums/PdfViewerInteractionMode.js +9 -0
- package/dist/npm/links/link-service.d.ts +116 -0
- package/dist/npm/links/link-service.js +501 -0
- package/dist/npm/main.d.ts +2 -0
- package/dist/npm/main.js +2 -0
- package/dist/npm/scroller.d.ts +7 -3
- package/dist/npm/scroller.js +32 -32
- package/dist/npm/text/text-layer-builder.d.ts +30 -0
- package/dist/npm/text/text-layer-builder.js +291 -0
- package/dist/npm/utils.d.ts +20 -2
- package/dist/npm/utils.js +11 -8
- package/dist/npm/widget/page.d.ts +75 -0
- package/dist/npm/widget/page.js +763 -0
- package/dist/npm/widget/pdfviewer.d.ts +222 -0
- package/dist/npm/widget/pdfviewer.js +1663 -0
- package/package.json +13 -9
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { AnnotationEditor } from "./annotation-editor";
|
|
2
|
+
/**
|
|
3
|
+
* Basic draw editor in order to generate an Highlight annotation.
|
|
4
|
+
*/
|
|
5
|
+
declare class HighlightEditor extends AnnotationEditor {
|
|
6
|
+
#private;
|
|
7
|
+
color: string;
|
|
8
|
+
static _defaultColor: any;
|
|
9
|
+
static _defaultOpacity: number;
|
|
10
|
+
static _defaultThickness: number;
|
|
11
|
+
static _l10nPromise: any;
|
|
12
|
+
static _type: string;
|
|
13
|
+
static _editorType: number;
|
|
14
|
+
static _freeHighlightId: number;
|
|
15
|
+
static _freeHighlight: any;
|
|
16
|
+
static _freeHighlightClipId: string;
|
|
17
|
+
constructor(params: any);
|
|
18
|
+
/** @inheritdoc */
|
|
19
|
+
get telemetryInitialData(): {
|
|
20
|
+
action: string;
|
|
21
|
+
type: string;
|
|
22
|
+
color: any;
|
|
23
|
+
thickness: any;
|
|
24
|
+
methodOfCreation: string;
|
|
25
|
+
};
|
|
26
|
+
/** @inheritdoc */
|
|
27
|
+
get telemetryFinalData(): {
|
|
28
|
+
type: string;
|
|
29
|
+
color: any;
|
|
30
|
+
};
|
|
31
|
+
static computeTelemetryFinalData(data: any): {
|
|
32
|
+
numberOfColors: any;
|
|
33
|
+
};
|
|
34
|
+
/** @inheritdoc */
|
|
35
|
+
static initialize(l10n: any, uiManager: any): void;
|
|
36
|
+
/** @inheritdoc */
|
|
37
|
+
static updateDefaultParams(type: any, value: any): void;
|
|
38
|
+
/** @inheritdoc */
|
|
39
|
+
translateInPage(): void;
|
|
40
|
+
/** @inheritdoc */
|
|
41
|
+
get toolbarPosition(): any;
|
|
42
|
+
/** @inheritdoc */
|
|
43
|
+
updateParams(type: any, value: any): void;
|
|
44
|
+
static get defaultPropertiesToUpdate(): any[][];
|
|
45
|
+
/** @inheritdoc */
|
|
46
|
+
get propertiesToUpdate(): any[][];
|
|
47
|
+
/** @inheritdoc */
|
|
48
|
+
/** @inheritdoc */
|
|
49
|
+
disableEditing(): void;
|
|
50
|
+
/** @inheritdoc */
|
|
51
|
+
enableEditing(): void;
|
|
52
|
+
/** @inheritdoc */
|
|
53
|
+
fixAndSetPosition(): void;
|
|
54
|
+
/** @inheritdoc */
|
|
55
|
+
getBaseTranslation(): number[];
|
|
56
|
+
/** @inheritdoc */
|
|
57
|
+
getRect(tx: any, ty: any): any[];
|
|
58
|
+
/** @inheritdoc */
|
|
59
|
+
onceAdded(): void;
|
|
60
|
+
/** @inheritdoc */
|
|
61
|
+
remove(): void;
|
|
62
|
+
/** @inheritdoc */
|
|
63
|
+
rebuild(): void;
|
|
64
|
+
setParent(parent: any): void;
|
|
65
|
+
/** @inheritdoc */
|
|
66
|
+
rotate(angle: any): void;
|
|
67
|
+
/** @inheritdoc */
|
|
68
|
+
render(): any;
|
|
69
|
+
pointerover(): void;
|
|
70
|
+
pointerleave(): void;
|
|
71
|
+
_moveCaret(direction: any): void;
|
|
72
|
+
/** @inheritdoc */
|
|
73
|
+
select(): void;
|
|
74
|
+
/** @inheritdoc */
|
|
75
|
+
unselect(): void;
|
|
76
|
+
/** @inheritdoc */
|
|
77
|
+
get _mustFixPosition(): boolean;
|
|
78
|
+
/** @inheritdoc */
|
|
79
|
+
show(visible?: boolean): void;
|
|
80
|
+
static startHighlighting(parent: any, isLTR: any, { target: textLayer, x, y }: {
|
|
81
|
+
target: any;
|
|
82
|
+
x: any;
|
|
83
|
+
y: any;
|
|
84
|
+
}): void;
|
|
85
|
+
/** @inheritdoc */
|
|
86
|
+
static deserialize(data: any, parent: any, uiManager: any): any;
|
|
87
|
+
/** @inheritdoc */
|
|
88
|
+
serialize(isForCopying?: boolean): {
|
|
89
|
+
annotationType: number;
|
|
90
|
+
color: any;
|
|
91
|
+
opacity: any;
|
|
92
|
+
thickness: any;
|
|
93
|
+
quadPoints: Float32Array;
|
|
94
|
+
outlines: any;
|
|
95
|
+
pageIndex: number;
|
|
96
|
+
rect: any[];
|
|
97
|
+
rotation: number;
|
|
98
|
+
structTreeParentId: any;
|
|
99
|
+
};
|
|
100
|
+
static canCreateNewEmptyEditor(): boolean;
|
|
101
|
+
toJSON(): {
|
|
102
|
+
annotationType: number;
|
|
103
|
+
color: any;
|
|
104
|
+
opacity: any;
|
|
105
|
+
thickness: any;
|
|
106
|
+
quadPoints: Float32Array;
|
|
107
|
+
outlines: any;
|
|
108
|
+
pageIndex: number;
|
|
109
|
+
rect: any[];
|
|
110
|
+
rotation: number;
|
|
111
|
+
structTreeParentId: any;
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
export { HighlightEditor };
|