@syncfusion/ej2-pdfviewer 17.3.52-4568 → 17.3.54-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/package.json +11 -11
- package/src/pdfviewer/base/pdfviewer-base.js +39 -39
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "@syncfusion/ej2-pdfviewer@17.3.
|
|
3
|
-
"_id": "@syncfusion/ej2-pdfviewer@17.3.
|
|
2
|
+
"_from": "@syncfusion/ej2-pdfviewer@17.3.53-4568",
|
|
3
|
+
"_id": "@syncfusion/ej2-pdfviewer@17.3.53-4568",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-fCJCVBb9QDAOoV3CA8EOwuDr5t2ci+7bUGnDEv8NpUU01Rn8a2EKoAmxpQytHrQ7s78WSPosvaifyo8cx2gnnA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-pdfviewer",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
9
9
|
"type": "version",
|
|
10
10
|
"registry": true,
|
|
11
|
-
"raw": "@syncfusion/ej2-pdfviewer@17.3.
|
|
11
|
+
"raw": "@syncfusion/ej2-pdfviewer@17.3.53-4568",
|
|
12
12
|
"name": "@syncfusion/ej2-pdfviewer",
|
|
13
13
|
"escapedName": "@syncfusion%2fej2-pdfviewer",
|
|
14
14
|
"scope": "@syncfusion",
|
|
15
|
-
"rawSpec": "17.3.
|
|
15
|
+
"rawSpec": "17.3.53-4568",
|
|
16
16
|
"saveSpec": null,
|
|
17
|
-
"fetchSpec": "17.3.
|
|
17
|
+
"fetchSpec": "17.3.53-4568"
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/@syncfusion/ej2-vue-pdfviewer"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://registry.npmjs.org/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.3.
|
|
23
|
-
"_shasum": "
|
|
24
|
-
"_spec": "@syncfusion/ej2-pdfviewer@17.3.
|
|
25
|
-
"_where": "D:\\Bold
|
|
22
|
+
"_resolved": "https://registry.npmjs.org/@syncfusion/ej2-pdfviewer/-/ej2-pdfviewer-17.3.53-4568.tgz",
|
|
23
|
+
"_shasum": "0a6868f99473748b038b6d01da59e3b2be529328",
|
|
24
|
+
"_spec": "@syncfusion/ej2-pdfviewer@17.3.53-4568",
|
|
25
|
+
"_where": "D:\\PDF\\Tasks\\Bold Sign\\Scroll Issue on iPad\\Package Creation\\node_modules\\@syncfusion\\ej2-vue-pdfviewer",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"typings": "index.d.ts",
|
|
73
|
-
"version": "17.3.
|
|
73
|
+
"version": "17.3.54-4568"
|
|
74
74
|
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
3
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
4
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
6
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
7
|
-
});
|
|
8
|
-
};
|
|
9
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
10
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
11
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
12
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
13
|
-
function step(op) {
|
|
14
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
15
|
-
while (_) try {
|
|
16
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
17
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
18
|
-
switch (op[0]) {
|
|
19
|
-
case 0: case 1: t = op; break;
|
|
20
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
21
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
22
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
23
|
-
default:
|
|
24
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
25
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
26
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
27
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
28
|
-
if (t[2]) _.ops.pop();
|
|
29
|
-
_.trys.pop(); continue;
|
|
30
|
-
}
|
|
31
|
-
op = body.call(thisArg, _);
|
|
32
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
33
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
34
|
-
}
|
|
35
|
-
};
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
3
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
4
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
5
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
6
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
10
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
11
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
12
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
13
|
+
function step(op) {
|
|
14
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
15
|
+
while (_) try {
|
|
16
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
17
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
18
|
+
switch (op[0]) {
|
|
19
|
+
case 0: case 1: t = op; break;
|
|
20
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
21
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
22
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
23
|
+
default:
|
|
24
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
25
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
26
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
27
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
28
|
+
if (t[2]) _.ops.pop();
|
|
29
|
+
_.trys.pop(); continue;
|
|
30
|
+
}
|
|
31
|
+
op = body.call(thisArg, _);
|
|
32
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
33
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
36
|
import { createElement, Browser, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
37
37
|
import { Dialog, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
|
|
38
38
|
import { TextLayer, ContextMenu, Signature, TaggedPDF } from '../index';
|
|
@@ -1329,7 +1329,7 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
1329
1329
|
_this.isLongTouchPropagated = false;
|
|
1330
1330
|
clearInterval(_this.longTouchTimer);
|
|
1331
1331
|
_this.longTouchTimer = null;
|
|
1332
|
-
if (Browser.isDevice && _this.isTouchScrolled) {
|
|
1332
|
+
if (Browser.isDevice && !_this.isDeviceiOS && _this.isTouchScrolled) {
|
|
1333
1333
|
_this.currentTime = new Date().getTime();
|
|
1334
1334
|
var duration = _this.currentTime - _this.previousTime;
|
|
1335
1335
|
// tslint:disable-next-line
|
|
@@ -2788,7 +2788,7 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
2788
2788
|
this.viewerContainer.addEventListener('touchstart', this.viewerContainerOnTouchStart);
|
|
2789
2789
|
if (this.isWebkitMobile && this.isDeviceiOS) {
|
|
2790
2790
|
// eslint-disable-next-line max-len
|
|
2791
|
-
this.viewerContainer.addEventListener("touchmove", function (e) { if (e.scale !== 1) {
|
|
2791
|
+
this.viewerContainer.addEventListener("touchmove", function (e) { if (!isNullOrUndefined(e.scale) && e.scale !== 1) {
|
|
2792
2792
|
e.preventDefault();
|
|
2793
2793
|
} }, { passive: false });
|
|
2794
2794
|
}
|
|
@@ -2837,7 +2837,7 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
2837
2837
|
this.viewerContainer.removeEventListener('touchstart', this.viewerContainerOnTouchStart);
|
|
2838
2838
|
if (this.isWebkitMobile && this.isDeviceiOS) {
|
|
2839
2839
|
// eslint-disable-next-line max-len
|
|
2840
|
-
this.viewerContainer.removeEventListener("touchmove", function (e) { if (e.scale !== 1) {
|
|
2840
|
+
this.viewerContainer.removeEventListener("touchmove", function (e) { if (!isNullOrUndefined(e.scale) && e.scale !== 1) {
|
|
2841
2841
|
e.preventDefault();
|
|
2842
2842
|
} }, false);
|
|
2843
2843
|
}
|
|
@@ -5696,7 +5696,7 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
5696
5696
|
}
|
|
5697
5697
|
var target = evt.target;
|
|
5698
5698
|
// tslint:disable-next-line:max-line-length
|
|
5699
|
-
if (!touches && evt.cancelable && this.skipPreventDefault(target)
|
|
5699
|
+
if (!touches && evt.cancelable && this.skipPreventDefault(target)) {
|
|
5700
5700
|
evt.preventDefault();
|
|
5701
5701
|
}
|
|
5702
5702
|
this.eventArgs = {};
|