@progress/kendo-pdfviewer-common 0.4.0-develop.1 → 0.4.1-develop.1
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-layer-builder.js +4 -3
- package/dist/es/annotations/annotation-layer.js +350 -353
- package/dist/es/annotations/editors/annotation-editor.js +4 -4
- package/dist/es/widget/page.js +1 -1
- package/dist/es2015/annotations/annotation-layer-builder.js +4 -3
- package/dist/es2015/annotations/annotation-layer.js +350 -353
- package/dist/es2015/annotations/editors/annotation-editor.js +4 -4
- package/dist/es2015/widget/page.js +1 -1
- package/dist/npm/annotations/annotation-layer-builder.d.ts +3 -1
- package/dist/npm/annotations/annotation-layer-builder.js +4 -3
- package/dist/npm/annotations/annotation-layer.js +350 -353
- package/dist/npm/annotations/editors/annotation-editor.js +4 -4
- package/dist/npm/widget/page.js +1 -1
- package/package.json +3 -12
|
@@ -1380,18 +1380,18 @@ class AnnotationEditor {
|
|
|
1380
1380
|
*/
|
|
1381
1381
|
renderAnnotationElement(annotation) {
|
|
1382
1382
|
let content = annotation.container.querySelector(".annotationContent") ||
|
|
1383
|
-
annotation.container.querySelector(".k-annotation-content
|
|
1383
|
+
annotation.container.querySelector(".k-annotation-content");
|
|
1384
1384
|
if (!content) {
|
|
1385
1385
|
content = document.createElement("div");
|
|
1386
1386
|
// content.classList.add("annotationContent", this.editorType);
|
|
1387
|
-
content.classList.add("k-annotation-content
|
|
1387
|
+
content.classList.add("k-annotation-content", this.editorType);
|
|
1388
1388
|
annotation.container.prepend(content);
|
|
1389
1389
|
}
|
|
1390
1390
|
else if (content.nodeName === "CANVAS") {
|
|
1391
1391
|
const canvas = content;
|
|
1392
1392
|
content = document.createElement("div");
|
|
1393
1393
|
// content.classList.add("annotationContent", this.editorType);
|
|
1394
|
-
content.classList.add("k-annotation-content
|
|
1394
|
+
content.classList.add("k-annotation-content", this.editorType);
|
|
1395
1395
|
canvas.before(content);
|
|
1396
1396
|
}
|
|
1397
1397
|
return content;
|
|
@@ -1400,7 +1400,7 @@ class AnnotationEditor {
|
|
|
1400
1400
|
const { firstChild } = annotation.container;
|
|
1401
1401
|
if (firstChild.nodeName === "DIV" &&
|
|
1402
1402
|
(firstChild.classList.contains("annotationContent") ||
|
|
1403
|
-
firstChild.classList.contains("k-annotation-content
|
|
1403
|
+
firstChild.classList.contains("k-annotation-content"))) {
|
|
1404
1404
|
firstChild.remove();
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
package/dist/npm/widget/page.js
CHANGED
|
@@ -464,7 +464,7 @@ class Page extends component_1.Component {
|
|
|
464
464
|
eventBus: this.eventBus || this.pdfViewer.eventBus,
|
|
465
465
|
annotationStorage,
|
|
466
466
|
// imageResourcesPath: this.imageResourcesPath,
|
|
467
|
-
|
|
467
|
+
renderForms: tslib_1.__classPrivateFieldGet(this, _Page_annotationMode, "f") === pdf_mjs_1.AnnotationMode.ENABLE_FORMS,
|
|
468
468
|
linkService,
|
|
469
469
|
// downloadManager,
|
|
470
470
|
// enableScripting,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-pdfviewer-common",
|
|
3
3
|
"description": "Kendo UI TypeScript package exporting functions for PDFViewer component",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1-develop.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Kendo UI"
|
|
7
7
|
],
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"@commitlint/cli": "^19.6.1",
|
|
41
41
|
"@commitlint/config-conventional": "^19.6.0",
|
|
42
42
|
"@eslint/js": "^9.18.0",
|
|
43
|
-
"@progress/kendo-common-tasks": "8.0.7-dev.
|
|
43
|
+
"@progress/kendo-common-tasks": "8.0.7-dev.24",
|
|
44
44
|
"@progress/kendo-draggable": "^3.1.0",
|
|
45
45
|
"@progress/kendo-file-saver": "^1.1.1",
|
|
46
|
-
"@progress/kendo-typescript-tasks": "11.3.8-dev.
|
|
46
|
+
"@progress/kendo-typescript-tasks": "11.3.8-dev.22",
|
|
47
47
|
"@types/jasmine": "~2.2.0",
|
|
48
48
|
"@types/jest": "^23.3.14",
|
|
49
49
|
"cross-env": "^7.0.3",
|
|
@@ -61,15 +61,6 @@
|
|
|
61
61
|
"typescript": "~5.7.3",
|
|
62
62
|
"typescript-eslint": "^8.21.0"
|
|
63
63
|
},
|
|
64
|
-
"overrides": {
|
|
65
|
-
"chokidar": "^3.0.0",
|
|
66
|
-
"glob-stream": "^7.0.0",
|
|
67
|
-
"micromatch": "^4.0.0",
|
|
68
|
-
"core-js": "^3.23.3",
|
|
69
|
-
"axios": "1.7.7",
|
|
70
|
-
"cross-spawn": "^7.0.6",
|
|
71
|
-
"http-proxy-middleware": "2.0.7"
|
|
72
|
-
},
|
|
73
64
|
"config": {
|
|
74
65
|
"commitizen": {
|
|
75
66
|
"path": "./node_modules/cz-conventional-changelog"
|