@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,108 @@
|
|
|
1
|
+
import { AnnotationEditor } from "./annotation-editor";
|
|
2
|
+
declare class FreeTextEditor extends AnnotationEditor {
|
|
3
|
+
#private;
|
|
4
|
+
editorDiv: any;
|
|
5
|
+
overlayDiv: any;
|
|
6
|
+
static _freeTextDefaultContent: string;
|
|
7
|
+
static _internalPadding: number;
|
|
8
|
+
static _defaultColor: string;
|
|
9
|
+
static _defaultFontSize: number;
|
|
10
|
+
static _type: string;
|
|
11
|
+
static _editorType: number;
|
|
12
|
+
constructor(params: any);
|
|
13
|
+
/** @inheritdoc */
|
|
14
|
+
static initialize(l10n: any, uiManager: any): void;
|
|
15
|
+
/** @inheritdoc */
|
|
16
|
+
static updateDefaultParams(type: any, value: any): void;
|
|
17
|
+
/** @inheritdoc */
|
|
18
|
+
updateParams(type: any, value: any): void;
|
|
19
|
+
/** @inheritdoc */
|
|
20
|
+
static get defaultPropertiesToUpdate(): any[][];
|
|
21
|
+
/** @inheritdoc */
|
|
22
|
+
get propertiesToUpdate(): any[][];
|
|
23
|
+
/**
|
|
24
|
+
* Helper to translate the editor with the keyboard when it's empty.
|
|
25
|
+
* @param {number} x in page units.
|
|
26
|
+
* @param {number} y in page units.
|
|
27
|
+
*/
|
|
28
|
+
_translateEmpty(x: any, y: any): void;
|
|
29
|
+
getInitialTranslation(): number[];
|
|
30
|
+
/** @inheritdoc */
|
|
31
|
+
rebuild(): void;
|
|
32
|
+
enableEditMode(): void;
|
|
33
|
+
disableEditMode(): void;
|
|
34
|
+
focusin(event: any): void;
|
|
35
|
+
/** @inheritdoc */
|
|
36
|
+
onceAdded(): void;
|
|
37
|
+
/** @inheritdoc */
|
|
38
|
+
isEmpty(): boolean;
|
|
39
|
+
/** @inheritdoc */
|
|
40
|
+
remove(): void;
|
|
41
|
+
/**
|
|
42
|
+
* Commit the content we have in this editor.
|
|
43
|
+
* @returns {undefined}
|
|
44
|
+
*/
|
|
45
|
+
commit(): void;
|
|
46
|
+
/** @inheritdoc */
|
|
47
|
+
shouldGetKeyboardEvents(): boolean;
|
|
48
|
+
/** @inheritdoc */
|
|
49
|
+
enterInEditMode(): void;
|
|
50
|
+
/**
|
|
51
|
+
* ondblclick callback.
|
|
52
|
+
* @param {MouseEvent} event
|
|
53
|
+
*/
|
|
54
|
+
dblclick(event: any): void;
|
|
55
|
+
/**
|
|
56
|
+
* onkeydown callback.
|
|
57
|
+
* @param {KeyboardEvent} event
|
|
58
|
+
*/
|
|
59
|
+
keydown(event: any): void;
|
|
60
|
+
editorDivKeydown(): void;
|
|
61
|
+
editorDivFocus(): void;
|
|
62
|
+
editorDivBlur(): void;
|
|
63
|
+
editorDivInput(): void;
|
|
64
|
+
/** @inheritdoc */
|
|
65
|
+
disableEditing(): void;
|
|
66
|
+
/** @inheritdoc */
|
|
67
|
+
enableEditing(): void;
|
|
68
|
+
/** @inheritdoc */
|
|
69
|
+
render(): any;
|
|
70
|
+
editorDivPaste(event: any): void;
|
|
71
|
+
/** @inheritdoc */
|
|
72
|
+
get contentDiv(): any;
|
|
73
|
+
/** @inheritdoc */
|
|
74
|
+
static deserialize(data: any, parent: any, uiManager: any): any;
|
|
75
|
+
/** @inheritdoc */
|
|
76
|
+
serialize(isForCopying?: boolean): {
|
|
77
|
+
annotationType: number;
|
|
78
|
+
color: any;
|
|
79
|
+
fontSize: any;
|
|
80
|
+
value: any;
|
|
81
|
+
pageIndex: number;
|
|
82
|
+
rect: any[];
|
|
83
|
+
rotation: number;
|
|
84
|
+
structTreeParentId: any;
|
|
85
|
+
} | {
|
|
86
|
+
pageIndex: number;
|
|
87
|
+
id: any;
|
|
88
|
+
deleted: boolean;
|
|
89
|
+
};
|
|
90
|
+
/** @inheritdoc */
|
|
91
|
+
renderAnnotationElement(annotation: any): any;
|
|
92
|
+
resetAnnotationElement(annotation: any): void;
|
|
93
|
+
toJSON(): {
|
|
94
|
+
annotationType: number;
|
|
95
|
+
color: any;
|
|
96
|
+
fontSize: any;
|
|
97
|
+
value: any;
|
|
98
|
+
pageIndex: number;
|
|
99
|
+
rect: any[];
|
|
100
|
+
rotation: number;
|
|
101
|
+
structTreeParentId: any;
|
|
102
|
+
} | {
|
|
103
|
+
pageIndex: number;
|
|
104
|
+
id: any;
|
|
105
|
+
deleted: boolean;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export { FreeTextEditor };
|