@vaadin-component-factory/vcf-pdf-viewer 0.9.3 → 1.0.0
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 -10
- package/src/vcf-pdf-viewer.js +20 -19
- package/theme/lumo/vcf-pdf-viewer-styles.js +3 -3
- package/theme/material/vcf-pdf-viewer-styles.js +4 -4
- package/pdfjs/dist/get.js +0 -1857
- package/pdfjs/dist/index.js +0 -767
- package/pdfjs/dist/typeof.js +0 -100
package/pdfjs/dist/typeof.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
function _arrayWithHoles(arr) {
|
|
2
|
-
if (Array.isArray(arr)) return arr;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
function _iterableToArrayLimit(arr, i) {
|
|
6
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7
|
-
|
|
8
|
-
if (_i == null) return;
|
|
9
|
-
var _arr = [];
|
|
10
|
-
var _n = true;
|
|
11
|
-
var _d = false;
|
|
12
|
-
|
|
13
|
-
var _s, _e;
|
|
14
|
-
|
|
15
|
-
try {
|
|
16
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
17
|
-
_arr.push(_s.value);
|
|
18
|
-
|
|
19
|
-
if (i && _arr.length === i) break;
|
|
20
|
-
}
|
|
21
|
-
} catch (err) {
|
|
22
|
-
_d = true;
|
|
23
|
-
_e = err;
|
|
24
|
-
} finally {
|
|
25
|
-
try {
|
|
26
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
27
|
-
} finally {
|
|
28
|
-
if (_d) throw _e;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
return _arr;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
function _arrayLikeToArray(arr, len) {
|
|
36
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
37
|
-
|
|
38
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
39
|
-
arr2[i] = arr[i];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return arr2;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
46
|
-
if (!o) return;
|
|
47
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
48
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
49
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
50
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
51
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function _nonIterableRest() {
|
|
55
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
function _slicedToArray(arr, i) {
|
|
59
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
function _classCallCheck(instance, Constructor) {
|
|
63
|
-
if (!(instance instanceof Constructor)) {
|
|
64
|
-
throw new TypeError("Cannot call a class as a function");
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
function _defineProperties(target, props) {
|
|
69
|
-
for (var i = 0; i < props.length; i++) {
|
|
70
|
-
var descriptor = props[i];
|
|
71
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
72
|
-
descriptor.configurable = true;
|
|
73
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
74
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
79
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
80
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
81
|
-
return Constructor;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
function _typeof(obj) {
|
|
85
|
-
"@babel/helpers - typeof";
|
|
86
|
-
|
|
87
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
88
|
-
_typeof = function _typeof(obj) {
|
|
89
|
-
return typeof obj;
|
|
90
|
-
};
|
|
91
|
-
} else {
|
|
92
|
-
_typeof = function _typeof(obj) {
|
|
93
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
return _typeof(obj);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export { _createClass as _, _classCallCheck as a, _slicedToArray as b, _typeof as c, _arrayLikeToArray as d, _unsupportedIterableToArray as e, _arrayWithHoles as f, _nonIterableRest as g };
|