@syncfusion/ej2-pdfviewer 17.3.50-4568 → 17.3.51-4568
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/ej2-pdfviewer.umd.min.js +1 -1
- package/dist/ej2-pdfviewer.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdfviewer.es2015.js +7 -1
- package/dist/es6/ej2-pdfviewer.es2015.js.map +1 -1
- package/dist/es6/ej2-pdfviewer.es5.js +7 -1
- package/dist/es6/ej2-pdfviewer.es5.js.map +1 -1
- package/package.json +3 -3
- package/src/pdfviewer/base/pdfviewer-base.js +7 -1
- package/src/pdfviewer/pdfviewer-model.d.ts +1 -1
- package/src/pdfviewer/pdfviewer.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "@syncfusion/ej2-pdfviewer@17.3.
|
|
3
|
-
"_id": "@syncfusion/ej2-pdfviewer@17.3.
|
|
2
|
+
"_from": "@syncfusion/ej2-pdfviewer@17.3.48-4568",
|
|
3
|
+
"_id": "@syncfusion/ej2-pdfviewer@17.3.48-4568",
|
|
4
4
|
"_inBundle": false,
|
|
5
5
|
"_integrity": "sha512-Cw4UApaqGOrXL96j7UUbFY9ph9rV4wg9Q5ahgvaDykId7tb2OzdgzQZuxU5RVWRU6uPqVSNFfiO8wxcGgjBfmg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-pdfviewer",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
},
|
|
72
72
|
"sideEffects": false,
|
|
73
73
|
"typings": "index.d.ts",
|
|
74
|
-
"version": "17.3.
|
|
74
|
+
"version": "17.3.51-4568"
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -2962,7 +2962,7 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
2962
2962
|
if (this.isDeviceiOS) {
|
|
2963
2963
|
var obj = findActiveElement(event, this, this.pdfViewer);
|
|
2964
2964
|
// eslint-disable-next-line
|
|
2965
|
-
var isRemoveFocus_1 = !this.pdfViewer.annotation.freeTextAnnotationModule.isNewFreeTextAnnot && (obj && this.pdfViewer.selectedItems.annotations[0] ? obj.id !== this.pdfViewer.selectedItems.annotations[0].id : true) && document.activeElement.classList.contains('free-text-input') && this.isFreeTextAnnotation(this.pdfViewer.selectedItems.annotations);
|
|
2965
|
+
var isRemoveFocus_1 = (!isNullOrUndefined(this.pdfViewer.annotation) && !isNullOrUndefined(this.pdfViewer.annotation.freeTextAnnotationModule) && !this.pdfViewer.annotation.freeTextAnnotationModule.isNewFreeTextAnnot) && (obj && this.pdfViewer.selectedItems.annotations[0] ? obj.id !== this.pdfViewer.selectedItems.annotations[0].id : true) && document.activeElement.classList.contains('free-text-input') && this.isFreeTextAnnotation(this.pdfViewer.selectedItems.annotations);
|
|
2966
2966
|
if (!this.singleTapTimer) {
|
|
2967
2967
|
this.singleTapTimer = setTimeout(function () {
|
|
2968
2968
|
if (isRemoveFocus_1) {
|
|
@@ -2977,6 +2977,9 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
2977
2977
|
else {
|
|
2978
2978
|
if (this.pdfViewer.enablePinchZoom) {
|
|
2979
2979
|
this.tapCount++;
|
|
2980
|
+
if (this.tapCount > 2) {
|
|
2981
|
+
this.tapCount = 2;
|
|
2982
|
+
}
|
|
2980
2983
|
clearTimeout(this.singleTapTimer);
|
|
2981
2984
|
this.singleTapTimer = null;
|
|
2982
2985
|
this.onDoubleTap(touchPoints);
|
|
@@ -2994,6 +2997,9 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
2994
2997
|
else {
|
|
2995
2998
|
if (this.pdfViewer.enablePinchZoom) {
|
|
2996
2999
|
this.tapCount++;
|
|
3000
|
+
if (this.tapCount > 2) {
|
|
3001
|
+
this.tapCount = 2;
|
|
3002
|
+
}
|
|
2997
3003
|
clearTimeout(this.singleTapTimer);
|
|
2998
3004
|
this.singleTapTimer = null;
|
|
2999
3005
|
this.onDoubleTap(touchPoints);
|
|
@@ -2024,7 +2024,7 @@ export interface PdfViewerModel extends ComponentModel{
|
|
|
2024
2024
|
retryStatusCodes?: number[];
|
|
2025
2025
|
|
|
2026
2026
|
/**
|
|
2027
|
-
*
|
|
2027
|
+
* Gets or sets the timeout for retries in seconds.
|
|
2028
2028
|
*
|
|
2029
2029
|
* @default 0
|
|
2030
2030
|
*/
|
|
@@ -1687,7 +1687,7 @@ export declare class PdfViewer extends Component<HTMLElement> implements INotify
|
|
|
1687
1687
|
*/
|
|
1688
1688
|
retryStatusCodes: number[];
|
|
1689
1689
|
/**
|
|
1690
|
-
*
|
|
1690
|
+
* Gets or sets the timeout for retries in seconds.
|
|
1691
1691
|
*
|
|
1692
1692
|
* @default 0
|
|
1693
1693
|
*/
|