ofd-view 0.1.45 → 0.1.47

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,1655 +1,2 @@
1
- /******/ (function() { // webpackBootstrap
2
- /******/ var __webpack_modules__ = ({
3
-
4
- /***/ 911:
5
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6
-
7
- "use strict";
8
- __webpack_require__.r(__webpack_exports__);
9
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
10
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
11
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
12
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
13
- // Imports
14
-
15
-
16
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
17
- // Module
18
- ___CSS_LOADER_EXPORT___.push([module.id, ".vdr[data-v-b44a7a5c]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-b44a7a5c]{display:none}.vdr[data-v-b44a7a5c]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-b44a7a5c]{display:block}.handle[data-v-b44a7a5c]{box-sizing:border-box;display:none;position:absolute;width:10px;height:10px;font-size:1px;background:rgba(253,57,122,.08);border:1px solid #fd397a}.handle-tl[data-v-b44a7a5c]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-b44a7a5c]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-b44a7a5c]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-b44a7a5c]{left:-10px;cursor:w-resize}.handle-ml[data-v-b44a7a5c],.handle-mr[data-v-b44a7a5c]{top:50%;margin-top:-5px}.handle-mr[data-v-b44a7a5c]{right:-10px;cursor:e-resize}.handle-bl[data-v-b44a7a5c]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-b44a7a5c]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-b44a7a5c]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-b44a7a5c]:before{content:\"\";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-b44a7a5c]{background:orange;color:red;border-radius:12px;line-height:20px;text-align:center;height:20px;width:20px;font-size:18px;padding:1px}.close[data-v-b44a7a5c]:before{content:\"\\2716\"}.close[data-v-b44a7a5c]{top:5px;right:2px;position:absolute}", ""]);
19
- // Exports
20
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
21
-
22
-
23
- /***/ }),
24
-
25
- /***/ 371:
26
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
27
-
28
- "use strict";
29
- __webpack_require__.r(__webpack_exports__);
30
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
31
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
32
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
33
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
34
- // Imports
35
-
36
-
37
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
38
- // Module
39
- ___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-18db0fa8]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}", ""]);
40
- // Exports
41
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
42
-
43
-
44
- /***/ }),
45
-
46
- /***/ 645:
47
- /***/ (function(module) {
48
-
49
- "use strict";
50
-
51
-
52
- /*
53
- MIT License http://www.opensource.org/licenses/mit-license.php
54
- Author Tobias Koppers @sokra
55
- */
56
- module.exports = function (cssWithMappingToString) {
57
- var list = []; // return the list of modules as css string
58
-
59
- list.toString = function toString() {
60
- return this.map(function (item) {
61
- var content = "";
62
- var needLayer = typeof item[5] !== "undefined";
63
-
64
- if (item[4]) {
65
- content += "@supports (".concat(item[4], ") {");
66
- }
67
-
68
- if (item[2]) {
69
- content += "@media ".concat(item[2], " {");
70
- }
71
-
72
- if (needLayer) {
73
- content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
74
- }
75
-
76
- content += cssWithMappingToString(item);
77
-
78
- if (needLayer) {
79
- content += "}";
80
- }
81
-
82
- if (item[2]) {
83
- content += "}";
84
- }
85
-
86
- if (item[4]) {
87
- content += "}";
88
- }
89
-
90
- return content;
91
- }).join("");
92
- }; // import a list of modules into the list
93
-
94
-
95
- list.i = function i(modules, media, dedupe, supports, layer) {
96
- if (typeof modules === "string") {
97
- modules = [[null, modules, undefined]];
98
- }
99
-
100
- var alreadyImportedModules = {};
101
-
102
- if (dedupe) {
103
- for (var k = 0; k < this.length; k++) {
104
- var id = this[k][0];
105
-
106
- if (id != null) {
107
- alreadyImportedModules[id] = true;
108
- }
109
- }
110
- }
111
-
112
- for (var _k = 0; _k < modules.length; _k++) {
113
- var item = [].concat(modules[_k]);
114
-
115
- if (dedupe && alreadyImportedModules[item[0]]) {
116
- continue;
117
- }
118
-
119
- if (typeof layer !== "undefined") {
120
- if (typeof item[5] === "undefined") {
121
- item[5] = layer;
122
- } else {
123
- item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
124
- item[5] = layer;
125
- }
126
- }
127
-
128
- if (media) {
129
- if (!item[2]) {
130
- item[2] = media;
131
- } else {
132
- item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
133
- item[2] = media;
134
- }
135
- }
136
-
137
- if (supports) {
138
- if (!item[4]) {
139
- item[4] = "".concat(supports);
140
- } else {
141
- item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
142
- item[4] = supports;
143
- }
144
- }
145
-
146
- list.push(item);
147
- }
148
- };
149
-
150
- return list;
151
- };
152
-
153
- /***/ }),
154
-
155
- /***/ 81:
156
- /***/ (function(module) {
157
-
158
- "use strict";
159
-
160
-
161
- module.exports = function (i) {
162
- return i[1];
163
- };
164
-
165
- /***/ }),
166
-
167
- /***/ 141:
168
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
169
-
170
- // style-loader: Adds some css to the DOM by adding a <style> tag
171
-
172
- // load the styles
173
- var content = __webpack_require__(911);
174
- if(content.__esModule) content = content.default;
175
- if(typeof content === 'string') content = [[module.id, content, '']];
176
- if(content.locals) module.exports = content.locals;
177
- // add the styles to the DOM
178
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
179
- var update = add("71f86d50", content, true, {"sourceMap":false,"shadowMode":false});
180
-
181
- /***/ }),
182
-
183
- /***/ 793:
184
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
185
-
186
- // style-loader: Adds some css to the DOM by adding a <style> tag
187
-
188
- // load the styles
189
- var content = __webpack_require__(371);
190
- if(content.__esModule) content = content.default;
191
- if(typeof content === 'string') content = [[module.id, content, '']];
192
- if(content.locals) module.exports = content.locals;
193
- // add the styles to the DOM
194
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
195
- var update = add("48472756", content, true, {"sourceMap":false,"shadowMode":false});
196
-
197
- /***/ }),
198
-
199
- /***/ 402:
200
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
201
-
202
- "use strict";
203
-
204
- // EXPORTS
205
- __webpack_require__.d(__webpack_exports__, {
206
- "Z": function() { return /* binding */ addStylesClient; }
207
- });
208
-
209
- ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
210
- /**
211
- * Translates the list format produced by css-loader into something
212
- * easier to manipulate.
213
- */
214
- function listToStyles (parentId, list) {
215
- var styles = []
216
- var newStyles = {}
217
- for (var i = 0; i < list.length; i++) {
218
- var item = list[i]
219
- var id = item[0]
220
- var css = item[1]
221
- var media = item[2]
222
- var sourceMap = item[3]
223
- var part = {
224
- id: parentId + ':' + i,
225
- css: css,
226
- media: media,
227
- sourceMap: sourceMap
228
- }
229
- if (!newStyles[id]) {
230
- styles.push(newStyles[id] = { id: id, parts: [part] })
231
- } else {
232
- newStyles[id].parts.push(part)
233
- }
234
- }
235
- return styles
236
- }
237
-
238
- ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
239
- /*
240
- MIT License http://www.opensource.org/licenses/mit-license.php
241
- Author Tobias Koppers @sokra
242
- Modified by Evan You @yyx990803
243
- */
244
-
245
-
246
-
247
- var hasDocument = typeof document !== 'undefined'
248
-
249
- if (typeof DEBUG !== 'undefined' && DEBUG) {
250
- if (!hasDocument) {
251
- throw new Error(
252
- 'vue-style-loader cannot be used in a non-browser environment. ' +
253
- "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
254
- ) }
255
- }
256
-
257
- /*
258
- type StyleObject = {
259
- id: number;
260
- parts: Array<StyleObjectPart>
261
- }
262
-
263
- type StyleObjectPart = {
264
- css: string;
265
- media: string;
266
- sourceMap: ?string
267
- }
268
- */
269
-
270
- var stylesInDom = {/*
271
- [id: number]: {
272
- id: number,
273
- refs: number,
274
- parts: Array<(obj?: StyleObjectPart) => void>
275
- }
276
- */}
277
-
278
- var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
279
- var singletonElement = null
280
- var singletonCounter = 0
281
- var isProduction = false
282
- var noop = function () {}
283
- var options = null
284
- var ssrIdKey = 'data-vue-ssr-id'
285
-
286
- // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
287
- // tags it will allow on a page
288
- var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
289
-
290
- function addStylesClient (parentId, list, _isProduction, _options) {
291
- isProduction = _isProduction
292
-
293
- options = _options || {}
294
-
295
- var styles = listToStyles(parentId, list)
296
- addStylesToDom(styles)
297
-
298
- return function update (newList) {
299
- var mayRemove = []
300
- for (var i = 0; i < styles.length; i++) {
301
- var item = styles[i]
302
- var domStyle = stylesInDom[item.id]
303
- domStyle.refs--
304
- mayRemove.push(domStyle)
305
- }
306
- if (newList) {
307
- styles = listToStyles(parentId, newList)
308
- addStylesToDom(styles)
309
- } else {
310
- styles = []
311
- }
312
- for (var i = 0; i < mayRemove.length; i++) {
313
- var domStyle = mayRemove[i]
314
- if (domStyle.refs === 0) {
315
- for (var j = 0; j < domStyle.parts.length; j++) {
316
- domStyle.parts[j]()
317
- }
318
- delete stylesInDom[domStyle.id]
319
- }
320
- }
321
- }
322
- }
323
-
324
- function addStylesToDom (styles /* Array<StyleObject> */) {
325
- for (var i = 0; i < styles.length; i++) {
326
- var item = styles[i]
327
- var domStyle = stylesInDom[item.id]
328
- if (domStyle) {
329
- domStyle.refs++
330
- for (var j = 0; j < domStyle.parts.length; j++) {
331
- domStyle.parts[j](item.parts[j])
332
- }
333
- for (; j < item.parts.length; j++) {
334
- domStyle.parts.push(addStyle(item.parts[j]))
335
- }
336
- if (domStyle.parts.length > item.parts.length) {
337
- domStyle.parts.length = item.parts.length
338
- }
339
- } else {
340
- var parts = []
341
- for (var j = 0; j < item.parts.length; j++) {
342
- parts.push(addStyle(item.parts[j]))
343
- }
344
- stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
345
- }
346
- }
347
- }
348
-
349
- function createStyleElement () {
350
- var styleElement = document.createElement('style')
351
- styleElement.type = 'text/css'
352
- head.appendChild(styleElement)
353
- return styleElement
354
- }
355
-
356
- function addStyle (obj /* StyleObjectPart */) {
357
- var update, remove
358
- var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
359
-
360
- if (styleElement) {
361
- if (isProduction) {
362
- // has SSR styles and in production mode.
363
- // simply do nothing.
364
- return noop
365
- } else {
366
- // has SSR styles but in dev mode.
367
- // for some reason Chrome can't handle source map in server-rendered
368
- // style tags - source maps in <style> only works if the style tag is
369
- // created and inserted dynamically. So we remove the server rendered
370
- // styles and inject new ones.
371
- styleElement.parentNode.removeChild(styleElement)
372
- }
373
- }
374
-
375
- if (isOldIE) {
376
- // use singleton mode for IE9.
377
- var styleIndex = singletonCounter++
378
- styleElement = singletonElement || (singletonElement = createStyleElement())
379
- update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
380
- remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
381
- } else {
382
- // use multi-style-tag mode in all other cases
383
- styleElement = createStyleElement()
384
- update = applyToTag.bind(null, styleElement)
385
- remove = function () {
386
- styleElement.parentNode.removeChild(styleElement)
387
- }
388
- }
389
-
390
- update(obj)
391
-
392
- return function updateStyle (newObj /* StyleObjectPart */) {
393
- if (newObj) {
394
- if (newObj.css === obj.css &&
395
- newObj.media === obj.media &&
396
- newObj.sourceMap === obj.sourceMap) {
397
- return
398
- }
399
- update(obj = newObj)
400
- } else {
401
- remove()
402
- }
403
- }
404
- }
405
-
406
- var replaceText = (function () {
407
- var textStore = []
408
-
409
- return function (index, replacement) {
410
- textStore[index] = replacement
411
- return textStore.filter(Boolean).join('\n')
412
- }
413
- })()
414
-
415
- function applyToSingletonTag (styleElement, index, remove, obj) {
416
- var css = remove ? '' : obj.css
417
-
418
- if (styleElement.styleSheet) {
419
- styleElement.styleSheet.cssText = replaceText(index, css)
420
- } else {
421
- var cssNode = document.createTextNode(css)
422
- var childNodes = styleElement.childNodes
423
- if (childNodes[index]) styleElement.removeChild(childNodes[index])
424
- if (childNodes.length) {
425
- styleElement.insertBefore(cssNode, childNodes[index])
426
- } else {
427
- styleElement.appendChild(cssNode)
428
- }
429
- }
430
- }
431
-
432
- function applyToTag (styleElement, obj) {
433
- var css = obj.css
434
- var media = obj.media
435
- var sourceMap = obj.sourceMap
436
-
437
- if (media) {
438
- styleElement.setAttribute('media', media)
439
- }
440
- if (options.ssrId) {
441
- styleElement.setAttribute(ssrIdKey, obj.id)
442
- }
443
-
444
- if (sourceMap) {
445
- // https://developer.chrome.com/devtools/docs/javascript-debugging
446
- // this makes source maps inside style tags work properly in Chrome
447
- css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
448
- // http://stackoverflow.com/a/26603875
449
- css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
450
- }
451
-
452
- if (styleElement.styleSheet) {
453
- styleElement.styleSheet.cssText = css
454
- } else {
455
- while (styleElement.firstChild) {
456
- styleElement.removeChild(styleElement.firstChild)
457
- }
458
- styleElement.appendChild(document.createTextNode(css))
459
- }
460
- }
461
-
462
-
463
- /***/ })
464
-
465
- /******/ });
466
- /************************************************************************/
467
- /******/ // The module cache
468
- /******/ var __webpack_module_cache__ = {};
469
- /******/
470
- /******/ // The require function
471
- /******/ function __webpack_require__(moduleId) {
472
- /******/ // Check if module is in cache
473
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
474
- /******/ if (cachedModule !== undefined) {
475
- /******/ return cachedModule.exports;
476
- /******/ }
477
- /******/ // Create a new module (and put it into the cache)
478
- /******/ var module = __webpack_module_cache__[moduleId] = {
479
- /******/ id: moduleId,
480
- /******/ // no module.loaded needed
481
- /******/ exports: {}
482
- /******/ };
483
- /******/
484
- /******/ // Execute the module function
485
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
486
- /******/
487
- /******/ // Return the exports of the module
488
- /******/ return module.exports;
489
- /******/ }
490
- /******/
491
- /************************************************************************/
492
- /******/ /* webpack/runtime/compat get default export */
493
- /******/ !function() {
494
- /******/ // getDefaultExport function for compatibility with non-harmony modules
495
- /******/ __webpack_require__.n = function(module) {
496
- /******/ var getter = module && module.__esModule ?
497
- /******/ function() { return module['default']; } :
498
- /******/ function() { return module; };
499
- /******/ __webpack_require__.d(getter, { a: getter });
500
- /******/ return getter;
501
- /******/ };
502
- /******/ }();
503
- /******/
504
- /******/ /* webpack/runtime/define property getters */
505
- /******/ !function() {
506
- /******/ // define getter functions for harmony exports
507
- /******/ __webpack_require__.d = function(exports, definition) {
508
- /******/ for(var key in definition) {
509
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
510
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
511
- /******/ }
512
- /******/ }
513
- /******/ };
514
- /******/ }();
515
- /******/
516
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
517
- /******/ !function() {
518
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
519
- /******/ }();
520
- /******/
521
- /******/ /* webpack/runtime/make namespace object */
522
- /******/ !function() {
523
- /******/ // define __esModule on exports
524
- /******/ __webpack_require__.r = function(exports) {
525
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
526
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
527
- /******/ }
528
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
529
- /******/ };
530
- /******/ }();
531
- /******/
532
- /******/ /* webpack/runtime/publicPath */
533
- /******/ !function() {
534
- /******/ __webpack_require__.p = "";
535
- /******/ }();
536
- /******/
537
- /************************************************************************/
538
- var __webpack_exports__ = {};
539
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
540
- !function() {
541
- "use strict";
542
- // ESM COMPAT FLAG
543
- __webpack_require__.r(__webpack_exports__);
544
-
545
- // EXPORTS
546
- __webpack_require__.d(__webpack_exports__, {
547
- "default": function() { return /* binding */ entry_lib; }
548
- });
549
-
550
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
551
- /* eslint-disable no-var */
552
- // This file is imported into lib/wc client bundles.
553
-
554
- if (typeof window !== 'undefined') {
555
- var currentScript = window.document.currentScript
556
- if (false) { var getCurrentScript; }
557
-
558
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
559
- if (src) {
560
- __webpack_require__.p = src[1] // eslint-disable-line
561
- }
562
- }
563
-
564
- // Indicate to webpack that this file can be concatenated
565
- /* harmony default export */ var setPublicPath = (null);
566
-
567
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=template&id=18db0fa8&scoped=true&
568
- var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"outerContainer"}},[_vm._m(0),_vm._v(" "),_c('div',{attrs:{"id":"mainContainer"}},[_vm._m(1),_vm._v(" "),_vm._m(2),_c('div',{attrs:{"id":"viewerContainer","tabindex":"0"}},[_c('div',{staticClass:"pdfViewer",attrs:{"id":"viewer"},on:{"dragover":function($event){$event.preventDefault();return _vm.onStampDragOver.apply(null, arguments)}}},_vm._l((_vm.stamps),function(stamp,index){return (_vm.viewVisible)?_c('vue-draggable-resizable',{attrs:{"w":stamp.w ? stamp.w : 174,"h":stamp.h ? stamp.h : 174,"parent":_vm.config.viewerContainer,"customForStamp":true,"eventBus":_vm.eventBus,"handles":['tl', 'tr', 'bl', 'br'],"index":index,"x":stamp.x,"y":stamp.located ? stamp.y : stamp.y + _vm.config.mainContainer.scrollTop,"pages":_vm.ofdViewer._pages,"currentPage":_vm.sp,"origin-bottom":false,"stampId":stamp.source.stampId,"draggable":_vm.draggable,"resizable":_vm.resizable,"editable":_vm.editable},on:{"dropitem":_vm.removeStamp,"dragstop":_vm.onStampDragStop,"placed":_vm.placed}},[_c('div',{staticClass:"stamp",style:({backgroundImage : 'url(data:image/png;base64,' + stamp.source.stampBase64 + ')'})})]):_vm._e()}),1),_vm._t("openFileRef")],2),_vm._m(3)]),_vm._v(" "),_vm._m(4)])
569
- }
570
- var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"sidebarContainer"}},[_c('div',{attrs:{"id":"toolbarSidebar"}},[_c('div',{attrs:{"id":"toolbarSidebarLeft"}},[_c('div',{staticClass:"splitToolbarButton toggled",attrs:{"id":"sidebarViewButtons","role":"radiogroup"}},[_c('button',{staticClass:"toolbarButton toggled",attrs:{"id":"viewOutline","title":"Show Document Outline (double-click to expand/collapse all items)","tabindex":"3","data-l10n-id":"document_outline","role":"radio","aria-checked":"false","aria-controls":"outlineView"}},[_c('span',{attrs:{"data-l10n-id":"document_outline_label"}},[_vm._v("Document Outline")])]),_c('button',{staticClass:"toolbarButton",attrs:{"id":"viewAttachments","title":"Show Attachments","tabindex":"4","data-l10n-id":"attachments","role":"radio","aria-checked":"false","aria-controls":"attachmentsView"}},[_c('span',{attrs:{"data-l10n-id":"attachments_label"}},[_vm._v("Attachments")])]),_c('button',{staticClass:"toolbarButton",attrs:{"id":"viewSignatures","title":"Show Signatures","tabindex":"6","data-l10n-id":"layers","role":"radio","aria-checked":"false","aria-controls":"signaturesView"}},[_c('span',{attrs:{"data-l10n-id":"signatures_label"}},[_vm._v("Signatures")])])])]),_c('div',{attrs:{"id":"toolbarSidebarRight"}},[_c('div',{staticClass:"hidden",attrs:{"id":"outlineOptionsContainer"}},[_c('div',{staticClass:"verticalToolbarSeparator"}),_c('button',{staticClass:"toolbarButton",attrs:{"id":"currentOutlineItem","disabled":"disabled","title":"Find Current Outline Item","tabindex":"6","data-l10n-id":"current_outline_item"}},[_c('span',{attrs:{"data-l10n-id":"current_outline_item_label"}},[_vm._v("Current Outline Item")])])])])]),_c('div',{attrs:{"id":"sidebarContent"}},[_c('div',{attrs:{"id":"outlineView"}}),_c('div',{staticClass:"hidden",attrs:{"id":"attachmentsView"}}),_c('div',{staticClass:"hidden",attrs:{"id":"signaturesView"}})]),_c('div',{attrs:{"id":"sidebarResizer"}})])
571
- },function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{"id":"secondaryToolbar"}},[_c('div',{attrs:{"id":"secondaryToolbarButtonContainer"}},[_c('button',{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{"id":"secondaryOpenFile","title":"打开文件","tabindex":"52","data-l10n-id":"open_file"}},[_c('span',{attrs:{"data-l10n-id":"open_file_label"}},[_vm._v("打开")])]),_c('button',{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{"id":"secondaryPrint","title":"打印","tabindex":"53","data-l10n-id":"print"}},[_c('span',{attrs:{"data-l10n-id":"print_label"}},[_vm._v("打印")])]),_c('button',{staticClass:"secondaryToolbarButton download visibleMediumView",attrs:{"id":"secondaryDownload","title":"Download","tabindex":"54","data-l10n-id":"download"}},[_c('span',{attrs:{"data-l10n-id":"download_label"}},[_vm._v("Download")])]),_c('a',{staticClass:"secondaryToolbarButton bookmark visibleSmallView",attrs:{"href":"#","id":"secondaryViewBookmark","title":"Current view (copy or open in new window)","tabindex":"55","data-l10n-id":"bookmark"}},[_c('span',{attrs:{"data-l10n-id":"bookmark_label"}},[_vm._v("Current View")])]),_c('div',{staticClass:"horizontalToolbarSeparator visibleLargeView"}),_c('button',{staticClass:"secondaryToolbarButton firstPage",attrs:{"id":"firstPage","title":"Go to First Page","tabindex":"56","data-l10n-id":"first_page"}},[_c('span',{attrs:{"data-l10n-id":"first_page_label"}},[_vm._v("Go to First Page")])]),_c('button',{staticClass:"secondaryToolbarButton lastPage",attrs:{"id":"lastPage","title":"Go to Last Page","tabindex":"57","data-l10n-id":"last_page"}},[_c('span',{attrs:{"data-l10n-id":"last_page_label"}},[_vm._v("Go to Last Page")])]),_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('button',{staticClass:"secondaryToolbarButton rotateCw",attrs:{"id":"pageRotateCw","title":"Rotate Clockwise","tabindex":"58","data-l10n-id":"page_rotate_cw"}},[_c('span',{attrs:{"data-l10n-id":"page_rotate_cw_label"}},[_vm._v("Rotate Clockwise")])]),_c('button',{staticClass:"secondaryToolbarButton rotateCcw",attrs:{"id":"pageRotateCcw","title":"Rotate Counterclockwise","tabindex":"59","data-l10n-id":"page_rotate_ccw"}},[_c('span',{attrs:{"data-l10n-id":"page_rotate_ccw_label"}},[_vm._v("Rotate Counterclockwise")])]),_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('div',{attrs:{"id":"cursorToolButtons","role":"radiogroup"}},[_c('button',{staticClass:"secondaryToolbarButton selectTool toggled",attrs:{"id":"cursorSelectTool","title":"Enable Text Selection Tool","tabindex":"60","data-l10n-id":"cursor_text_select_tool","role":"radio","aria-checked":"true"}},[_c('span',{attrs:{"data-l10n-id":"cursor_text_select_tool_label"}},[_vm._v("Text Selection Tool")])]),_c('button',{staticClass:"secondaryToolbarButton handTool",attrs:{"id":"cursorHandTool","title":"Enable Hand Tool","tabindex":"61","data-l10n-id":"cursor_hand_tool","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"cursor_hand_tool_label"}},[_vm._v("Hand Tool")])])]),_c('div',{attrs:{"id":"scrollModeButtons","role":"radiogroup"}},[_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('button',{staticClass:"secondaryToolbarButton scrollPage",attrs:{"id":"scrollPage","title":"Use Page Scrolling","tabindex":"62","data-l10n-id":"scroll_page","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"scroll_page_label"}},[_vm._v("Page Scrolling")])]),_c('button',{staticClass:"secondaryToolbarButton scrollVertical toggled",attrs:{"id":"scrollVertical","title":"Use Vertical Scrolling","tabindex":"63","data-l10n-id":"scroll_vertical","role":"radio","aria-checked":"true"}},[_c('span',{attrs:{"data-l10n-id":"scroll_vertical_label"}},[_vm._v("Vertical Scrolling")])]),_c('button',{staticClass:"secondaryToolbarButton scrollHorizontal",attrs:{"id":"scrollHorizontal","title":"Use Horizontal Scrolling","tabindex":"64","data-l10n-id":"scroll_horizontal","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"scroll_horizontal_label"}},[_vm._v("Horizontal Scrolling")])]),_c('button',{staticClass:"secondaryToolbarButton scrollWrapped",attrs:{"id":"scrollWrapped","title":"Use Wrapped Scrolling","tabindex":"65","data-l10n-id":"scroll_wrapped","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"scroll_wrapped_label"}},[_vm._v("Wrapped Scrolling")])])]),_c('div',{attrs:{"id":"spreadModeButtons","role":"radiogroup"}},[_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('button',{staticClass:"secondaryToolbarButton spreadNone toggled",attrs:{"id":"spreadNone","title":"Do not join page spreads","tabindex":"66","data-l10n-id":"spread_none","role":"radio","aria-checked":"true"}},[_c('span',{attrs:{"data-l10n-id":"spread_none_label"}},[_vm._v("No Spreads")])]),_c('button',{staticClass:"secondaryToolbarButton spreadOdd",attrs:{"id":"spreadOdd","title":"Join page spreads starting with odd-numbered pages","tabindex":"67","data-l10n-id":"spread_odd","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"spread_odd_label"}},[_vm._v("Odd Spreads")])]),_c('button',{staticClass:"secondaryToolbarButton spreadEven",attrs:{"id":"spreadEven","title":"Join page spreads starting with even-numbered pages","tabindex":"68","data-l10n-id":"spread_even","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"spread_even_label"}},[_vm._v("Even Spreads")])])]),_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('button',{staticClass:"secondaryToolbarButton documentProperties",attrs:{"id":"documentProperties","title":"文档属性…","tabindex":"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_label"}},[_vm._v("文档属性…")])])])])
572
- },function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"toolbar"},[_c('div',{attrs:{"id":"toolbarContainer"}},[_c('div',{attrs:{"id":"toolbarViewer"}},[_c('div',{attrs:{"id":"toolbarViewerLeft"}},[_c('button',{staticClass:"toolbarButton",attrs:{"id":"sidebarToggle","title":"Toggle Sidebar","tabindex":"11","data-l10n-id":"toggle_sidebar","aria-expanded":"false","aria-controls":"sidebarContainer"}},[_c('span',{attrs:{"data-l10n-id":"toggle_sidebar_label"}},[_vm._v("切换侧栏")])]),_c('div',{staticClass:"splitToolbarButton hiddenSmallView"},[_c('button',{staticClass:"toolbarButton pageUp",attrs:{"title":"上一页","id":"previous","tabindex":"13","data-l10n-id":"previous"}},[_c('span',{attrs:{"data-l10n-id":"previous_label"}},[_vm._v("上一页")])]),_c('div',{staticClass:"splitToolbarButtonSeparator"}),_c('button',{staticClass:"toolbarButton pageDown",attrs:{"title":"下一页","id":"next","tabindex":"14","data-l10n-id":"next"}},[_c('span',{attrs:{"data-l10n-id":"next_label"}},[_vm._v("下一页")])])]),_c('input',{staticClass:"toolbarField pageNumber",attrs:{"type":"number","id":"pageNumber","title":"页面","value":"1","size":"4","min":"1","tabindex":"15","data-l10n-id":"page","autocomplete":"off"}}),_c('span',{staticClass:"toolbarLabel",attrs:{"id":"numPages"}})]),_c('div',{attrs:{"id":"toolbarViewerRight"}},[_c('button',{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{"id":"openFile","title":"打开文件","tabindex":"32","data-l10n-id":"open_file"}},[_c('span',{attrs:{"data-l10n-id":"open_file_label"}},[_vm._v("打开")])]),_c('button',{staticClass:"toolbarButton print hiddenMediumView",attrs:{"id":"print","title":"打印","tabindex":"33","data-l10n-id":"print"}},[_c('span',{attrs:{"data-l10n-id":"print_label"}},[_vm._v("打印")])]),_c('div',{staticClass:"verticalToolbarSeparator hiddenSmallView"}),_c('button',{staticClass:"toolbarButton",attrs:{"id":"secondaryToolbarToggle","title":"工具","tabindex":"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[_c('span',{attrs:{"data-l10n-id":"tools_label"}},[_vm._v("工具")])])]),_c('div',{attrs:{"id":"toolbarViewerMiddle"}},[_c('div',{staticClass:"splitToolbarButton"},[_c('button',{staticClass:"toolbarButton zoomOut",attrs:{"id":"zoomOut","title":"缩小","tabindex":"21","data-l10n-id":"zoom_out"}},[_c('span',{attrs:{"data-l10n-id":"zoom_out_label"}},[_vm._v("缩小")])]),_c('div',{staticClass:"splitToolbarButtonSeparator"}),_c('button',{staticClass:"toolbarButton zoomIn",attrs:{"id":"zoomIn","title":"放大","tabindex":"22","data-l10n-id":"zoom_in"}},[_c('span',{attrs:{"data-l10n-id":"zoom_in_label"}},[_vm._v("放大")])])]),_c('span',{staticClass:"dropdownToolbarButton",attrs:{"id":"scaleSelectContainer"}},[_c('select',{attrs:{"id":"scaleSelect","title":"缩放","tabindex":"23","data-l10n-id":"zoom"}},[_c('option',{attrs:{"id":"pageAutoOption","title":"","value":"auto","selected":"selected","data-l10n-id":"page_scale_auto"}},[_vm._v("自动缩放")]),_c('option',{attrs:{"id":"pageActualOption","title":"","value":"page-actual","data-l10n-id":"page_scale_actual"}},[_vm._v("实际大小")]),_c('option',{attrs:{"id":"pageFitOption","title":"","value":"page-fit","data-l10n-id":"page_scale_fit"}},[_vm._v("适合页面")]),_c('option',{attrs:{"id":"pageWidthOption","title":"","value":"page-width","data-l10n-id":"page_scale_width"}},[_vm._v("适合页宽")]),_c('option',{attrs:{"id":"customScaleOption","title":"","value":"custom","disabled":"disabled","hidden":"true"}}),_c('option',{attrs:{"title":"","value":"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 50 }"}},[_vm._v("50%")]),_c('option',{attrs:{"title":"","value":"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 75 }"}},[_vm._v("75%")]),_c('option',{attrs:{"title":"","value":"1","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 100 }"}},[_vm._v("100%")]),_c('option',{attrs:{"title":"","value":"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 125 }"}},[_vm._v("125%")]),_c('option',{attrs:{"title":"","value":"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 150 }"}},[_vm._v("150%")]),_c('option',{attrs:{"title":"","value":"2","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 200 }"}},[_vm._v("200%")]),_c('option',{attrs:{"title":"","value":"3","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 300 }"}},[_vm._v("300%")]),_c('option',{attrs:{"title":"","value":"4","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 400 }"}},[_vm._v("400%")])])])])])])])
573
- },function (){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"errorWrapper","hidden":"true"}},[_c('div',{attrs:{"id":"errorMessageLeft"}},[_c('span',{attrs:{"id":"errorMessage"}}),_c('button',{attrs:{"id":"errorShowMore","data-l10n-id":"error_more_info"}},[_vm._v(" More Information ")]),_c('button',{attrs:{"id":"errorShowLess","data-l10n-id":"error_less_info","hidden":"true"}},[_vm._v(" Less Information ")])]),_c('div',{attrs:{"id":"errorMessageRight"}},[_c('button',{attrs:{"id":"errorClose","data-l10n-id":"error_close"}},[_vm._v(" Close ")])]),_c('div',{staticClass:"clearBoth"}),_c('textarea',{attrs:{"id":"errorMoreInfo","hidden":"true","readonly":"readonly"}})])
574
- },function (){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"dialogContainer"}},[_c('dialog',{attrs:{"id":"documentPropertiesDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[_vm._v("文件名:")]),_c('p',{attrs:{"id":"fileNameField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[_vm._v("文件大小:")]),_c('p',{attrs:{"id":"fileSizeField","aria-labelledby":"fileSizeLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"titleLabel","data-l10n-id":"document_properties_title"}},[_vm._v("标题:")]),_c('p',{attrs:{"id":"titleField","aria-labelledby":"titleLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"authorLabel","data-l10n-id":"document_properties_author"}},[_vm._v("作者:")]),_c('p',{attrs:{"id":"authorField","aria-labelledby":"authorLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"subjectLabel","data-l10n-id":"document_properties_subject"}},[_vm._v("主题:")]),_c('p',{attrs:{"id":"subjectField","aria-labelledby":"subjectLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[_vm._v("关键词:")]),_c('p',{attrs:{"id":"keywordsField","aria-labelledby":"keywordsLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[_vm._v("创建日期:")]),_c('p',{attrs:{"id":"creationDateField","aria-labelledby":"creationDateLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[_vm._v("修改日期:")]),_c('p',{attrs:{"id":"modificationDateField","aria-labelledby":"modificationDateLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"creatorLabel","data-l10n-id":"document_properties_creator"}},[_vm._v("创建者:")]),_c('p',{attrs:{"id":"creatorField","aria-labelledby":"creatorLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"producerLabel","data-l10n-id":"document_properties_producer"}},[_vm._v("OFD 生成器:")]),_c('p',{attrs:{"id":"producerField","aria-labelledby":"producerLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"versionLabel","data-l10n-id":"document_properties_version"}},[_vm._v("OFD 版本:")]),_c('p',{attrs:{"id":"versionField","aria-labelledby":"versionLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[_vm._v("页数:")]),_c('p',{attrs:{"id":"pageCountField","aria-labelledby":"pageCountLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[_vm._v("页面大小:")]),_c('p',{attrs:{"id":"pageSizeField","aria-labelledby":"pageSizeLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row",attrs:{"hidden":"hidden"}},[_c('span',{attrs:{"id":"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[_vm._v("快速 Web 视图:")]),_c('p',{attrs:{"id":"linearizedField","aria-labelledby":"linearizedLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"documentPropertiesClose"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_close"}},[_vm._v("关闭")])])])]),_c('dialog',{staticStyle:{"min-width":"200px"},attrs:{"id":"printServiceDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"data-l10n-id":"print_progress_message"}},[_vm._v("正在准备打印文档…")])]),_c('div',{staticClass:"row"},[_c('progress',{attrs:{"id":"printProgress","value":"0","max":"100"}}),_c('span',{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":"{ \"progress\": 0 }"}},[_vm._v("0%")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"printCancel"}},[_c('span',{attrs:{"data-l10n-id":"print_progress_close"}},[_vm._v("取消")])])])]),_c('dialog',{attrs:{"id":"signaturePropertiesDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signerLabel"}},[_vm._v("签章人:")]),_c('p',{attrs:{"id":"signerField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"providerLabel"}},[_vm._v("签章提供者:")]),_c('p',{attrs:{"id":"providerField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"hashedValueLabel"}},[_vm._v("原文摘要值:")]),_c('p',{attrs:{"id":"hashedValueField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signedValueLabel"}},[_vm._v("签名值:")]),_c('p',{attrs:{"id":"signedValueField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signMethodLabel"}},[_vm._v("签名算法:")]),_c('p',{attrs:{"id":"signMethodField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signVersionLabel"}},[_vm._v("版本号:")]),_c('p',{attrs:{"id":"signVersionField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"verifyLabel"}},[_vm._v("验签结果:")]),_c('p',{attrs:{"id":"verifyField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealIDLabel"}},[_vm._v("印章标识:")]),_c('p',{attrs:{"id":"sealIDField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealNameLabel"}},[_vm._v("印章名称:")]),_c('p',{attrs:{"id":"sealNameField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealTypeLabel"}},[_vm._v("印章类型:")]),_c('p',{attrs:{"id":"sealTypeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealAuthTimeLabel"}},[_vm._v("有效时间:")]),_c('p',{attrs:{"id":"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealMakeTimeLabel"}},[_vm._v("制章日期:")]),_c('p',{attrs:{"id":"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealVersionLabel"}},[_vm._v("印章版本:")]),_c('p',{attrs:{"id":"sealVersionField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"signaturePropertiesClose"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_close"}},[_vm._v("关闭")])])])])])
575
- }]
576
-
577
-
578
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=18db0fa8&scoped=true&
579
-
580
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=template&id=b44a7a5c&scoped=true&
581
- var draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"vdr",class:{
582
- draggable: _vm.draggable,
583
- resizable: _vm.resizable,
584
- active: _vm.enabled,
585
- dragging: _vm.dragging,
586
- resizing: _vm.resizing
587
- },style:(_vm.style),on:{"mousedown":_vm.elmDown,"touchstart":_vm.elmDown}},[(_vm.editable)?_c('button',{staticClass:"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",staticStyle:{"position":"absolute","right":"5px","top":"-20px"},attrs:{"type":"button"},on:{"click":function($event){$event.stopPropagation();return _vm.dropItem.apply(null, arguments)}}},[_c('span',{staticClass:"close"})]):_vm._e(),_vm._l((_vm.handles),function(handle){return (_vm.resizable)?_c('div',{key:handle,staticClass:"handle",class:'handle-' + handle,style:({ display: _vm.enabled ? 'block' : 'none'}),on:{"mousedown":function($event){return _vm.handleDown(handle, $event)},"touchstart":function($event){return _vm.handleDown(handle, $event)}}}):_vm._e()}),_vm._t("default")],2)
588
- }
589
- var draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_staticRenderFns = []
590
-
591
-
592
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
593
-
594
- function isFunction(func) {
595
- return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'
596
- }
597
-
598
- function matchesSelectorToParentElements(el, selector, baseNode) {
599
- let node = el;
600
- const matchesSelectorFunc = [
601
- 'matches',
602
- 'webkitMatchesSelector',
603
- 'mozMatchesSelector',
604
- 'msMatchesSelector',
605
- 'oMatchesSelector'
606
- ].find(func => isFunction(node[func]));
607
-
608
- if (!isFunction(node[matchesSelectorFunc])) return false;
609
-
610
- do {
611
- if (node[matchesSelectorFunc](selector)) return true;
612
- if (node === baseNode) return false;
613
- node = node.parentNode
614
- } while (node);
615
-
616
- return false
617
- }
618
-
619
- /* harmony default export */ var draggable_resizablevue_type_script_lang_js_ = ({
620
- replace: true,
621
- name: 'VueDraggableResizable',
622
- props: {
623
- active: {
624
- type: Boolean, default: false
625
- },
626
- draggable: {
627
- type: Boolean, default: true
628
- },
629
- resizable: {
630
- type: Boolean, default: true
631
- },
632
- editable: {
633
- type: Boolean, default: true
634
- },
635
- originBottom: {
636
- type: Boolean, default: true
637
- },
638
- w: {
639
- type: Number,
640
- default: 200,
641
- validator: function (val) {
642
- return val > 0
643
- }
644
- },
645
- h: {
646
- type: Number,
647
- default: 200,
648
- validator: function (val) {
649
- return val > 0
650
- }
651
- },
652
- minw: {
653
- type: Number,
654
- default: 50,
655
- validator: function (val) {
656
- return val >= 0
657
- }
658
- },
659
- minh: {
660
- type: Number,
661
- default: 50,
662
- validator: function (val) {
663
- return val >= 0
664
- }
665
- },
666
- x: {
667
- type: Number,
668
- default: 0,
669
- validator: function (val) {
670
- return typeof val === 'number'
671
- }
672
- },
673
- y: {
674
- type: Number,
675
- default: 0,
676
- validator: function (val) {
677
- return typeof val === 'number'
678
- }
679
- },
680
- z: {
681
- type: [String, Number],
682
- default: 'auto',
683
- validator: function (val) {
684
- return (typeof val === 'string') ? val === 'auto' : val >= 0;
685
- }
686
- },
687
- handles: {
688
- type: Array,
689
- default: function () {
690
- return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']
691
- },
692
- validator: function (val) {
693
- let s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']);
694
- return new Set(val.filter(h => s.has(h))).size === val.length
695
- }
696
- },
697
- dragHandle: {
698
- type: String,
699
- default: null
700
- },
701
- dragCancel: {
702
- type: String,
703
- default: null
704
- },
705
- axis: {
706
- type: String,
707
- default: 'both',
708
- validator: function (val) {
709
- return ['x', 'y', 'both'].indexOf(val) !== -1
710
- }
711
- },
712
- grid: {
713
- type: Array,
714
- default: function () {
715
- return [1, 1]
716
- }
717
- },
718
- parent: {
719
- type: Element, default: null
720
- },
721
- maximize: {
722
- type: Boolean, default: false
723
- },
724
- pages: {
725
- type: Array, required: false, default: null
726
- },
727
- eventBus: {
728
- type: Object, default: null
729
- },
730
- index: {
731
- type: Number, required: false, default: 0
732
- },
733
- currentPage: {
734
- type: Number, required: false, default: 0
735
- },
736
- stampId: {
737
- type: String, required: false, default: null
738
- }
739
- },
740
- created: function () {
741
- this.parentX = 0;
742
- this.parentW = 9999;
743
- this.parentY = 0;
744
- this.parentH = 9999;
745
- this.mouseX = 0;
746
- this.mouseY = 0;
747
- this.lastMouseX = 0;
748
- this.lastMouseY = 0;
749
- this.mouseOffX = 0;
750
- this.mouseOffY = 0;
751
- this.elmX = 0;
752
- this.elmY = 0;
753
- this.elmW = 0;
754
- this.elmH = 0;
755
- this.scrollPosition = 0;
756
- this.scrollDist = 0;
757
- this.pagesCount = this.pages ? this.pages.length : 0;
758
- this.section = [];
759
- this.scale = null;
760
- },
761
- mounted: function () {
762
- this.parent.addEventListener('mousemove', this.handleMove, false);
763
- this.parent.addEventListener('mousedown', this.deselect, false);
764
- this.parent.addEventListener('mouseup', this.handleUp, false);
765
- // touch events bindings
766
- this.parent.addEventListener('touchmove', this.handleMove, false);
767
- this.parent.addEventListener('touchend', this.handleUp, false);
768
- // this.parent.addEventListener('touchstart', this.handleUp, false);
769
- this.parent.addEventListener('touchstart', this.deselect, false);
770
- if (this.parent) {
771
- this.parent.parentNode.addEventListener('scroll', this.handleScrollMove, false);
772
- }
773
- //resize
774
- if (this.eventBus) {
775
- this.eventBus.on('stampResize', this.stampResize);
776
- }
777
- this.elmX = parseInt(this.$el.style.left);
778
- this.elmY = parseInt(this.$el.style.top);
779
- this.elmW = this.$el.offsetWidth || this.$el.clientWidth;
780
- this.elmH = this.$el.offsetHeight || this.$el.clientHeight;
781
- this._reviewDimensions();
782
- if (this.pages) {
783
- if (!this.scale) {
784
- this.scale = this.pages[0].viewport.scale;
785
- }
786
- this.updateSection();
787
- this.top = this.y + 10 < 0 ? 10 : this.y + 10;
788
- if (this.top < 10) {
789
- this.top = 10;
790
- }
791
- let pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
792
- this.elmY = this.top;
793
- let placed = this.pages[pageIndex];
794
- if (placed && this.x - placed.div.offsetLeft - 9 > 0) {
795
- //nothing
796
- } else if (placed) {
797
- this.left = placed.div.offsetLeft + 9;
798
- }
799
- this.elmX = this.left;
800
- this._emitPlaced(pageIndex);
801
- }
802
- },
803
- beforeUnmount: function () {
804
- this.parent.removeEventListener('mousemove', this.handleMove, false);
805
- this.parent.removeEventListener('mousedown', this.deselect, false);
806
- this.parent.removeEventListener('mouseup', this.handleUp, false);
807
- if (this.parent) {
808
- this.parent.parentNode.removeEventListener('scroll', this.handleScrollMove, false);
809
- }
810
- if (this.eventBus) {
811
- this.eventBus.off('stampResize', this.stampResize);
812
- }
813
- // touch events bindings removed
814
- this.parent.removeEventListener('touchmove', this.handleMove, false);
815
- this.parent.removeEventListener('touchend', this.handleUp, false);
816
- // this.parent.removeEventListener('touchstart', this.handleUp, false);
817
- this.parent.removeEventListener('touchstart', this.deselect, false);
818
- },
819
- data: function () {
820
- return {
821
- top: this.y,
822
- left: this.x,
823
- width: this.w,
824
- height: this.h,
825
- resizing: false,
826
- dragging: false,
827
- enabled: this.active,
828
- handle: null,
829
- zIndex: this.z
830
- }
831
- },
832
- methods: {
833
- adjust(arr, val, leftIndex, rightIndex) {
834
- let pageIndex = this.binarySearch(arr, val, leftIndex, rightIndex);
835
- if (pageIndex < 0 || pageIndex > this.pagesCount - 1) {
836
- pageIndex = 0;
837
- }
838
- pageIndex = this.adjustBoundary(pageIndex);
839
- return pageIndex;
840
- },
841
- handleScrollMove(e) {
842
- if (this.dragging) {
843
- this.scrollDist = e.currentTarget.scrollTop - this.scrollPosition;
844
- this.top = this.top + this.scrollDist;
845
- this.elmY = this.top;
846
- }
847
- this.scrollPosition = e.currentTarget.scrollTop;
848
- },
849
- stampAreaUpdate(sp) {
850
- //update sp-1 and sp area
851
- for (let i = sp - 1; i < sp + 1; i++) {
852
- if (i - 1 > 0 && i < this.pagesCount) {
853
- this.section[i].t = this.section[i - 1].t + this.pages[i - 1].viewport.height + 11;
854
- this.section[i].o = this.pages[i - 1].div.offsetLeft + 9;
855
- }
856
- }
857
- },
858
- adjustBoundary(pageIndex) {
859
- if (this.pages[pageIndex] && this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0) {
860
- if (this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH / 2 > 0) {
861
- this.top = this.section[pageIndex + 1].t;
862
- pageIndex++;
863
- } else {
864
- this.top = this.section[pageIndex + 1].t - this.elmH - 9 - 2;
865
- }
866
- }
867
- return pageIndex;
868
- },
869
- //二分查找
870
- binarySearch(arr, val, leftIndex, rightIndex) {
871
- if (leftIndex > rightIndex) {
872
- return leftIndex - 1;
873
- }
874
- let midIndex = Math.floor((leftIndex + rightIndex) / 2);
875
- let midVal = arr[midIndex].t;
876
- if (midVal > val) {
877
- return this.binarySearch(arr, val, leftIndex, midIndex - 1);
878
- } else if (midVal < val) {
879
- return this.binarySearch(arr, val, midIndex + 1, rightIndex);
880
- } else {
881
- return midIndex;
882
- }
883
- },
884
- updateSection() {
885
- this.section.length = 0;
886
- let t = 10;
887
- for (let i = 0; i < this.pagesCount; i++) {
888
- t = t + (i > 0 ? this.pages[this.originBottom ? i : i - 1].viewport.height : 0) + (i > 0 ? 9 + 2 : 0);
889
- this.section.push({
890
- t,
891
- o: this.pages[i].div.offsetLeft + 9
892
- });
893
- }
894
- this.section.push({
895
- t: this.section[this.pagesCount - 1].t + this.pages[this.pagesCount - 1].viewport.height + 9 + 2,
896
- o: this.pages[this.pagesCount - 1].div.offsetLeft + 9
897
- });
898
- },
899
- stampResize() {
900
- if (this.scale != null) {
901
- const section = [].concat(this.section);
902
- this.updateSection();
903
- const TOP = this.top;
904
- let pageIndex = this.binarySearch(section, TOP, this.currentPage - 1, this.pagesCount - 1);
905
- if (pageIndex < 0) {
906
- pageIndex = 0;
907
- }
908
- const currentScale = this.pages[0].viewport.scale;
909
- const WIDTH = this.width;
910
- const HEIGHT = this.height;
911
- this.width = (WIDTH * currentScale) / this.scale;
912
- this.height = (HEIGHT * currentScale) / this.scale;
913
- const LEFT = this.left;
914
- this.top = ((TOP - 10) * currentScale) / this.scale + 10;
915
- this.left = this.pages[pageIndex].div.offsetLeft + (((LEFT - section[pageIndex].o) * currentScale) / this.scale) + 9;
916
- this.elmW = this.width;
917
- this.elmH = this.height;
918
- this.elmX = this.left;
919
- this.elmY = this.top;
920
- this.scale = currentScale;
921
- this._emitPlaced(pageIndex);
922
- }
923
- },
924
-
925
- _emitPlaced(pageIndex) {
926
- this.$emit('placed', pageIndex, this.index, {
927
- x: (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,
928
- y: (!this.originBottom ? (this.top - this.section[pageIndex].t) : (this.pages[pageIndex].viewport.height - (this.top + this.elmH - this.section[pageIndex].t))) / this.pages[pageIndex].viewport.height,
929
- w: this.elmW / this.pages[pageIndex].viewport.width,
930
- h: this.elmH / this.pages[pageIndex].viewport.height
931
- }, this.stampId);
932
- },
933
- _reviewDimensions() {
934
- if (this.minw > this.w) this.width = this.minw;
935
- if (this.minh > this.h) this.height = this.minh;
936
- if (this.parent) {
937
- const parentW = parseInt(this.parent.scrollWidth, 10);
938
- const parentH = parseInt(this.parent.scrollHeight, 10);
939
- this.parentW = parentW;
940
- this.parentH = parentH;
941
- if (this.w > this.parentW) this.width = parentW;
942
- if (this.h > this.parentH) this.height = parentH;
943
- if ((this.x + this.w) > this.parentW) this.width = parentW - this.x;
944
- if ((this.y + this.h) > this.parentH) this.height = parentH - this.y;
945
- }
946
- this.elmW = this.width;
947
- this.elmH = this.height;
948
- },
949
- reviewDimensions: function () {
950
- this._reviewDimensions();
951
- this.$emit('resizing', this.left, this.top, this.width, this.height)
952
- },
953
- elmDown: function (e) {
954
- const target = e.target || e.srcElement;
955
- if (this.$el.contains(target)) {
956
- if (
957
- (this.dragHandle && !matchesSelectorToParentElements(target, this.dragHandle, this.$el)) ||
958
- (this.dragCancel && matchesSelectorToParentElements(target, this.dragCancel, this.$el))) {
959
- return
960
- }
961
- this.reviewDimensions();
962
- if (!this.enabled) {
963
- this.enabled = true
964
- this.$emit('activated')
965
- this.$emit('update:active', true)
966
- }
967
- if (this.draggable) {
968
- this.dragging = true
969
- }
970
- }
971
- },
972
- deselect: function (e) {
973
- if (e.type.indexOf('touch') !== -1) {
974
- this.mouseX = e.changedTouches[0].clientX
975
- this.mouseY = e.changedTouches[0].clientY
976
- } else {
977
- this.mouseX = e.pageX || e.clientX + this.parent.scrollLeft
978
- this.mouseY = e.pageY || e.clientY + this.parent.scrollTop
979
- }
980
- this.lastMouseX = this.mouseX
981
- this.lastMouseY = this.mouseY
982
- const target = e.target || e.srcElement
983
- const regex = new RegExp('handle-([trmbl]{2})', '')
984
- if (!this.$el.contains(target) && !regex.test(target.className)) {
985
- if (this.enabled) {
986
- this.enabled = false
987
- this.$emit('deactivated')
988
- this.$emit('update:active', false)
989
- }
990
- }
991
- },
992
- handleDown: function (handle, e) {
993
- this.handle = handle;
994
- if (e.cancelable) {
995
- e.stopPropagation();
996
- e.preventDefault();
997
- }
998
- this.resizing = true;
999
- },
1000
- // fillParent: function (e) {
1001
- // if (!this.parent || !this.resizable || !this.maximize) return
1002
- // let done = false
1003
- // const animate = () => {
1004
- // if (!done) {
1005
- // window.requestAnimationFrame(animate)
1006
- // }
1007
- // if (this.axis === 'x') {
1008
- // if (
1009
- // this.width === this.parentW && this.left === this.parentX
1010
- // ) done = true
1011
- // } else if (this.axis === 'y') {
1012
- // if (
1013
- // this.height === this.parentH && this.top === this.parentY
1014
- // ) done = true
1015
- // } else if (this.axis === 'both') {
1016
- // if (
1017
- // this.width === this.parentW &&
1018
- // this.height === this.parentH &&
1019
- // this.top === this.parentY &&
1020
- // this.left === this.parentX
1021
- // ) done = true
1022
- // }
1023
- // if (this.axis === 'x' || this.axis === 'both') {
1024
- // if (this.width < this.parentW) {
1025
- // this.width++
1026
- // this.elmW++
1027
- // }
1028
- // if (this.left > this.parentX) {
1029
- // this.left--
1030
- // this.elmX--
1031
- // }
1032
- // }
1033
- // if (this.axis === 'y' || this.axis === 'both') {
1034
- // if (this.height < this.parentH) {
1035
- // this.height++
1036
- // this.elmH++
1037
- // }
1038
- // if (this.top > this.parentY) {
1039
- // this.top--
1040
- // this.elmY--
1041
- // }
1042
- // }
1043
- // this.$emit('resizing', this.left, this.top, this.width, this.height)
1044
- // }
1045
- // window.requestAnimationFrame(animate)
1046
- // },
1047
- handleMove: function (e) {
1048
- const isTouchMove = e.type.indexOf('touchmove') !== -1
1049
- this.mouseX = isTouchMove
1050
- ? e.touches[0].clientX
1051
- : e.pageX || e.clientX + document.documentElement.scrollLeft;
1052
- this.mouseY = isTouchMove
1053
- ? e.touches[0].clientY
1054
- : e.pageY || e.clientY + document.documentElement.scrollTop;
1055
- let diffX = this.mouseX - this.lastMouseX + this.mouseOffX;
1056
- let diffY = this.mouseY - this.lastMouseY + this.mouseOffY;
1057
- this.mouseOffX = this.mouseOffY = 0;
1058
- this.lastMouseX = this.mouseX;
1059
- this.lastMouseY = this.mouseY;
1060
- let dX = diffX;
1061
- let dY = diffY;
1062
- if (this.resizing) {
1063
- if (this.handle.indexOf('t') >= 0) {
1064
- if (this.elmH - dY < this.minh) this.mouseOffY = (dY - (diffY = this.elmH - this.minh));
1065
- else if (this.parent && this.elmY + dY < this.parentY) this.mouseOffY = (dY - (diffY = this.parentY - this.elmY));
1066
- this.elmY += diffY
1067
- this.elmH -= diffY
1068
- }
1069
- if (this.handle.indexOf('b') >= 0) {
1070
- if (this.elmH + dY < this.minh) this.mouseOffY = (dY - (diffY = this.minh - this.elmH));
1071
- else if (this.parent && this.elmY + this.elmH + dY > this.parentH) this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH));
1072
- this.elmH += diffY
1073
- }
1074
- if (this.handle.indexOf('l') >= 0) {
1075
- if (this.elmW - dX < this.minw) this.mouseOffX = (dX - (diffX = this.elmW - this.minw));
1076
- else if (this.parent && this.elmX + dX < this.parentX) this.mouseOffX = (dX - (diffX = this.parentX - this.elmX));
1077
- this.elmX += diffX
1078
- this.elmW -= diffX
1079
- }
1080
- if (this.handle.indexOf('r') >= 0) {
1081
- if (this.elmW + dX < this.minw) this.mouseOffX = (dX - (diffX = this.minw - this.elmW))
1082
- else if (this.parent && this.elmX + this.elmW + dX > this.parentW) this.mouseOffX = (dX - (diffX = this.parentW - this.elmX - this.elmW));
1083
- this.elmW += diffX
1084
- }
1085
- this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0]);
1086
- this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1]);
1087
- this.width = (Math.round(this.elmW / this.grid[0]) * this.grid[0]);
1088
- this.height = (Math.round(this.elmH / this.grid[1]) * this.grid[1]);
1089
- this.$emit('resizing', this.left, this.top, this.width, this.height);
1090
- } else if (this.dragging) {
1091
- if (this.parent) {
1092
- this._reviewDimensions();
1093
- let [_x, _y] = [0, 10];
1094
- if (this.pages) {
1095
- let pageIndex = this.binarySearch(this.section, this.elmY + diffY, this.currentPage - 1, this.pagesCount - 1);
1096
- if (pageIndex < 0) {
1097
- pageIndex = 0;
1098
- }
1099
- if (this.elmY + diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0) {
1100
- if (this.elmY + diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - (this.elmH * 0.9) - 11 > 0) {
1101
- pageIndex++;
1102
- }
1103
- }
1104
- _x = this.pages[pageIndex].div.offsetLeft + 9;
1105
- }
1106
- if (this.elmX + dX < this.parentX + _x) {
1107
- this.mouseOffX = (dX - (diffX = this.parentX + _x - this.elmX))
1108
- } else if (this.elmX + this.elmW + dX > (this.parentW - _x)) {
1109
- this.mouseOffX = (dX - (diffX = (this.parentW - _x) - this.elmX - this.elmW))
1110
- }
1111
- if (this.elmY + dY < this.parentY + _y) {
1112
- this.mouseOffY = (dY - (diffY = this.parentY + _y - this.elmY))
1113
- } else if (this.elmY + this.elmH + dY > this.parentH) {
1114
- this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH))
1115
- }
1116
- }
1117
- this.elmX += diffX;
1118
- this.elmY += diffY;
1119
- if (this.axis === 'x' || this.axis === 'both') {
1120
- this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0])
1121
- }
1122
- if (this.axis === 'y' || this.axis === 'both') {
1123
- this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1])
1124
- }
1125
- this.$emit('dragging', this.left, this.top)
1126
- }
1127
- },
1128
- handleUp: function (e) {
1129
- if (e.type.indexOf('touch') !== -1) {
1130
- this.lastMouseX = e.changedTouches[0].clientX;
1131
- this.lastMouseY = e.changedTouches[0].clientY;
1132
- }
1133
- this.handle = null;
1134
- //this.enabled = false;
1135
- if (this.resizing) {
1136
- this.resizing = false;
1137
- this.$emit('resizestop', this.left, this.top, this.width, this.height)
1138
- }
1139
- if (this.dragging) {
1140
- this.dragging = false;
1141
- let pageIndex = 0;
1142
- if (this.pages) {
1143
- pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
1144
- }
1145
- this._emitPlaced(pageIndex);
1146
- this.$emit('dragstop', this.left, this.top);
1147
- }
1148
- this.elmX = this.left;
1149
- this.elmY = this.top;
1150
- },
1151
- dropItem() {
1152
- this.$emit('dropitem', this.index);
1153
- }
1154
- },
1155
- computed: {
1156
- style: function () {
1157
- return {
1158
- top: this.top + 'px',
1159
- left: this.left + 'px',
1160
- width: this.width + 'px',
1161
- height: this.height + 'px',
1162
- zIndex: this.zIndex
1163
- }
1164
- }
1165
- },
1166
- watch: {
1167
- active: function (val) {
1168
- this.enabled = val
1169
- },
1170
- z: function (val) {
1171
- if (val >= 0 || val === 'auto') {
1172
- this.zIndex = val
1173
- }
1174
- },
1175
- currentPage: function (newVal) {
1176
- this.stampAreaUpdate(newVal);
1177
- },
1178
- }
1179
- });
1180
-
1181
- ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
1182
- /* harmony default export */ var draggable_resizable_draggable_resizablevue_type_script_lang_js_ = (draggable_resizablevue_type_script_lang_js_);
1183
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=b44a7a5c&prod&scoped=true&lang=css&
1184
- var draggable_resizablevue_type_style_index_0_id_b44a7a5c_prod_scoped_true_lang_css_ = __webpack_require__(141);
1185
- ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=b44a7a5c&prod&scoped=true&lang=css&
1186
-
1187
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
1188
- /* globals __VUE_SSR_CONTEXT__ */
1189
-
1190
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
1191
- // This module is a runtime utility for cleaner component module output and will
1192
- // be included in the final webpack user bundle.
1193
-
1194
- function normalizeComponent(
1195
- scriptExports,
1196
- render,
1197
- staticRenderFns,
1198
- functionalTemplate,
1199
- injectStyles,
1200
- scopeId,
1201
- moduleIdentifier /* server only */,
1202
- shadowMode /* vue-cli only */
1203
- ) {
1204
- // Vue.extend constructor export interop
1205
- var options =
1206
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
1207
-
1208
- // render functions
1209
- if (render) {
1210
- options.render = render
1211
- options.staticRenderFns = staticRenderFns
1212
- options._compiled = true
1213
- }
1214
-
1215
- // functional template
1216
- if (functionalTemplate) {
1217
- options.functional = true
1218
- }
1219
-
1220
- // scopedId
1221
- if (scopeId) {
1222
- options._scopeId = 'data-v-' + scopeId
1223
- }
1224
-
1225
- var hook
1226
- if (moduleIdentifier) {
1227
- // server build
1228
- hook = function (context) {
1229
- // 2.3 injection
1230
- context =
1231
- context || // cached call
1232
- (this.$vnode && this.$vnode.ssrContext) || // stateful
1233
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
1234
- // 2.2 with runInNewContext: true
1235
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1236
- context = __VUE_SSR_CONTEXT__
1237
- }
1238
- // inject component styles
1239
- if (injectStyles) {
1240
- injectStyles.call(this, context)
1241
- }
1242
- // register component module identifier for async chunk inferrence
1243
- if (context && context._registeredComponents) {
1244
- context._registeredComponents.add(moduleIdentifier)
1245
- }
1246
- }
1247
- // used by ssr in case component is cached and beforeCreate
1248
- // never gets called
1249
- options._ssrRegister = hook
1250
- } else if (injectStyles) {
1251
- hook = shadowMode
1252
- ? function () {
1253
- injectStyles.call(
1254
- this,
1255
- (options.functional ? this.parent : this).$root.$options.shadowRoot
1256
- )
1257
- }
1258
- : injectStyles
1259
- }
1260
-
1261
- if (hook) {
1262
- if (options.functional) {
1263
- // for template-only hot-reload because in that case the render fn doesn't
1264
- // go through the normalizer
1265
- options._injectStyles = hook
1266
- // register for functional component in vue file
1267
- var originalRender = options.render
1268
- options.render = function renderWithStyleInjection(h, context) {
1269
- hook.call(context)
1270
- return originalRender(h, context)
1271
- }
1272
- } else {
1273
- // inject component registration as beforeCreate hook
1274
- var existing = options.beforeCreate
1275
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
1276
- }
1277
- }
1278
-
1279
- return {
1280
- exports: scriptExports,
1281
- options: options
1282
- }
1283
- }
1284
-
1285
- ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue
1286
-
1287
-
1288
-
1289
- ;
1290
-
1291
-
1292
- /* normalize component */
1293
-
1294
- var component = normalizeComponent(
1295
- draggable_resizable_draggable_resizablevue_type_script_lang_js_,
1296
- draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_render,
1297
- draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_staticRenderFns,
1298
- false,
1299
- null,
1300
- "b44a7a5c",
1301
- null
1302
-
1303
- )
1304
-
1305
- /* harmony default export */ var draggable_resizable = (component.exports);
1306
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=script&lang=js&
1307
-
1308
-
1309
-
1310
-
1311
- /* harmony default export */ var srcvue_type_script_lang_js_ = ({
1312
- name: "OfdView",
1313
- components: {
1314
- VueDraggableResizable: draggable_resizable
1315
- },
1316
- props: {
1317
- file: {
1318
- required: false
1319
- },
1320
- mem: {
1321
- required: true,
1322
- },
1323
- secret: {
1324
- type: String,
1325
- required: false
1326
- },
1327
- digest: {
1328
- type: String,
1329
- required: false
1330
- },
1331
- draggable: {
1332
- type: Boolean, required: false, default: true
1333
- },
1334
- resizable: {
1335
- type: Boolean, required: false, default: false
1336
- },
1337
- editable: {
1338
- type: Boolean, required: false, default: true
1339
- },
1340
- stamps: {
1341
- type: Array,
1342
- required: false,
1343
- default: () => []
1344
- },
1345
- sidebarForceOpen: {
1346
- type: Boolean, required: false, default: false
1347
- },
1348
- signatureViewerForceCheck: {
1349
- type: Boolean, required: false, default: false
1350
- }
1351
- },
1352
-
1353
- watch: {
1354
- file: {
1355
- immediate: true,
1356
- handler(val) {
1357
- if (this.config && this.mem) {
1358
- this.ofdViewer = null
1359
- this.mem.openOFD(val)
1360
- }
1361
- }
1362
- },
1363
- stamps: {
1364
- immediate: true,
1365
- handler(val) {
1366
- if (val.length > 0 && this.config) {
1367
- document.getElementById('scrollModeButtons').hidden = true
1368
- document.getElementById('spreadModeButtons').hidden = true
1369
- }
1370
- }
1371
- }
1372
- },
1373
-
1374
-
1375
- data() {
1376
- return {
1377
- viewVisible: false,
1378
- config: null,
1379
- eventBus: null,
1380
- sp: 1,
1381
- ofdViewer: null
1382
- }
1383
- },
1384
-
1385
- mounted() {
1386
- if (!this.config) {
1387
- this.config = this.getViewerConfiguration()
1388
- //vue下viewerContainer必须设置height
1389
- // this.containerHeight = `${window.innerHeight - 100}px`
1390
- let img = new Image();
1391
- img.style.position = 'absolute';
1392
- img.style.left = 0;
1393
- img.style.right = 0;
1394
- img.style.margin = 'auto';
1395
- img.style.top = 0;
1396
- img.style.bottom = 0;
1397
- img.src = 'data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDISau9OOvNu/9gKI5kaZ5oqhYGQRiFWhaD6w6xLLa2a+iiXg8YEtqIIF7vh/QcarbB4YJIuBKIpuTAM0wtCqNiJBgMBCaE0ZUFCXpoknWdCEFvpfURdCcM8noEIW82cSNzRnWDZoYjamttWhphQmOSHFVXkZecnZ6foKFujJdlZxqELo1AqQSrFH1/TbEZtLM9shetrzK7qKSSpryixMXGx8jJyifCKc1kcMzRIrYl1Xy4J9cfvibdIs/MwMue4cffxtvE6qLoxubk8ScRACH5BAkKAAAALAAAAAA2ADcAAATOEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN2bKcwjw19f0QG7PjA7B2EGfn+FhoeIiYoSCAk1CQiLFQpoChlUQwhuBJEWcXkpjm4JF3w9P5tvFqZsLKkEF58/omiksXiZm52SlGKWkhONj7vAxcbHyMkTmCjMcDygRNAjrCfVaqcm11zTJrIjzt64yojhxd/G28XqwOjG5uTxJhEAIfkECQoAAAAsAAAAADYANwAABM0QyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/i8qmCoGQoacT8FZ4AXbFopfTwEBhhnQ4w2j0GRkgQYiEOLPI6ZUkgHZwd6EweLBqSlq6ytricICTUJCKwKkgojgiMIlwS1VEYlspcJIZAkvjXHlcnKIZokxJLG0KAlvZfAebeMuUi7FbGz2z/Rq8jozavn7Nev8CsRACH5BAkKAAAALAAAAAA2ADcAAATLEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwzJNCmPzheUyJuKijVrZ2cTlrg1LwjcO5HFyeoJeyM9U++mfE6v2+/4PD6O5F/YWiqAGWdIhRiHP4kWg0ONGH4/kXqUlZaXmJlMBQY1BgVuUicFZ6AhjyOdPAQGQF0mqzauYbCxBFdqJao8rVeiGQgJNQkIFwdnB0MKsQrGqgbJPwi2BMV5wrYJetQ129x62LHaedO21nnLq82VwcPnIhEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/g8Po7kX9haKoAZZ0iFGIc/iRaDQ40Yfj+RepSVlpeYAAgJNQkIlgo8NQqUCKI2nzNSIpynBAkzaiCuNl9BIbQ1tl0hraewbrIfpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';
1398
- img.draggable = false;
1399
- this.config.loadingContainer = img
1400
-
1401
- this.config.onPageChanging = pageNumber => {
1402
- this.sp = pageNumber
1403
- }
1404
- this.config.parserOFDSuccess = core => {
1405
- // console.log(core)
1406
- }
1407
- this.config.onPageScale = scale => {
1408
- // this.viewVisible = false
1409
- this.eventBus.dispatch('stampResize', {source: null});
1410
- }
1411
- this.config.onViewportChange = view => {
1412
- if (!this.ofdViewer) {
1413
- this.viewVisible = true
1414
- this.$emit('viewready', view)
1415
- }
1416
- this.ofdViewer = view
1417
- // this.eventBus.dispatch('stampResize', {source: null});
1418
- }
1419
- this.config.secret = this.secret
1420
- this.config.digest = this.digest
1421
- this.config.sidebarForceOpen = this.sidebarForceOpen
1422
- this.config.signatureViewerForceCheck = this.signatureViewerForceCheck
1423
-
1424
- this.mem.initOFDViewer(this.config)
1425
- this.eventBus = this.mem.getEventBus()
1426
- }
1427
- if (this.file) {
1428
- this.mem.openOFD(this.file)
1429
- }
1430
-
1431
- },
1432
-
1433
- methods: {
1434
- getViewerConfiguration() {
1435
- let openFileTip
1436
- if (this.$slots && this.$slots.openFileRef && this.$slots.openFileRef[0].elm) {
1437
- openFileTip = this.$slots.openFileRef[0].elm
1438
- }
1439
- let errorWrapper = null
1440
- errorWrapper = {
1441
- container: document.getElementById('errorWrapper'),
1442
- errorMessage: document.getElementById('errorMessage'),
1443
- closeButton: document.getElementById('errorClose'),
1444
- errorMoreInfo: document.getElementById('errorMoreInfo'),
1445
- moreInfoButton: document.getElementById('errorShowMore'),
1446
- lessInfoButton: document.getElementById('errorShowLess'),
1447
- }
1448
-
1449
- return {
1450
- appContainer: document.body,
1451
- mainContainer: document.getElementById('viewerContainer'),
1452
- viewerContainer: document.getElementById('viewer'),
1453
- openFileTip: openFileTip,
1454
- toolbar: {
1455
- container: document.getElementById('toolbarViewer'),
1456
- numPages: document.getElementById('numPages'),
1457
- pageNumber: document.getElementById('pageNumber'),
1458
- scaleSelect: document.getElementById('scaleSelect'),
1459
- customScaleOption: document.getElementById('customScaleOption'),
1460
- previous: document.getElementById('previous'),
1461
- next: document.getElementById('next'),
1462
- zoomIn: document.getElementById('zoomIn'),
1463
- zoomOut: document.getElementById('zoomOut'),
1464
- openFile: document.getElementById('openFile'),
1465
- print: document.getElementById('print'),
1466
- },
1467
- secondaryToolbar: {
1468
- toolbar: document.getElementById('secondaryToolbar'),
1469
- toggleButton: document.getElementById('secondaryToolbarToggle'),
1470
- toolbarButtonContainer: document.getElementById(
1471
- 'secondaryToolbarButtonContainer'
1472
- ),
1473
- openFileButton: document.getElementById('secondaryOpenFile'),
1474
- printButton: document.getElementById('secondaryPrint'),
1475
- downloadButton: document.getElementById("secondaryDownload"),
1476
- viewBookmarkButton: document.getElementById("secondaryViewBookmark"),
1477
- firstPageButton: document.getElementById("firstPage"),
1478
- lastPageButton: document.getElementById("lastPage"),
1479
- pageRotateCwButton: document.getElementById("pageRotateCw"),
1480
- pageRotateCcwButton: document.getElementById("pageRotateCcw"),
1481
- cursorSelectToolButton: document.getElementById("cursorSelectTool"),
1482
- cursorHandToolButton: document.getElementById("cursorHandTool"),
1483
- scrollPageButton: document.getElementById("scrollPage"),
1484
- scrollVerticalButton: document.getElementById("scrollVertical"),
1485
- scrollHorizontalButton: document.getElementById("scrollHorizontal"),
1486
- scrollWrappedButton: document.getElementById("scrollWrapped"),
1487
- spreadNoneButton: document.getElementById("spreadNone"),
1488
- spreadOddButton: document.getElementById("spreadOdd"),
1489
- spreadEvenButton: document.getElementById("spreadEven"),
1490
- documentPropertiesButton: document.getElementById('documentProperties'),
1491
- },
1492
- sidebar: {
1493
- // Divs (and sidebar button)
1494
- outerContainer: document.getElementById('outerContainer'),
1495
- viewerContainer: document.getElementById('viewerContainer'),
1496
- toggleButton: document.getElementById("sidebarToggle"),
1497
- // Buttons
1498
- // thumbnailButton: document.getElementById("viewThumbnail"),
1499
- outlineButton: document.getElementById("viewOutline"),
1500
- attachmentsButton: document.getElementById("viewAttachments"),
1501
- // layersButton: document.getElementById("viewLayers"),
1502
- signaturesButton: document.getElementById("viewSignatures"),
1503
- // Views
1504
- // thumbnailView: document.getElementById("thumbnailView"),
1505
- outlineView: document.getElementById("outlineView"),
1506
- attachmentsView: document.getElementById("attachmentsView"),
1507
- // layersView: document.getElementById("layersView"),
1508
- signaturesView: document.getElementById("signaturesView"),
1509
- // View-specific options
1510
- // outlineOptionsContainer: document.getElementById(
1511
- // "outlineOptionsContainer"
1512
- // ),
1513
- currentOutlineItemButton: document.getElementById("currentOutlineItem"),
1514
- },
1515
- sidebarResizer: {
1516
- outerContainer: document.getElementById('outerContainer'),
1517
- },
1518
- documentProperties: {
1519
- dialog: document.getElementById('documentPropertiesDialog'),
1520
- closeButton: document.getElementById('documentPropertiesClose'),
1521
- fields: {
1522
- fileName: document.getElementById('fileNameField'),
1523
- fileSize: document.getElementById('fileSizeField'),
1524
- title: document.getElementById('titleField'),
1525
- author: document.getElementById('authorField'),
1526
- subject: document.getElementById('subjectField'),
1527
- keywords: document.getElementById('keywordsField'),
1528
- creationDate: document.getElementById('creationDateField'),
1529
- modificationDate: document.getElementById('modificationDateField'),
1530
- creator: document.getElementById('creatorField'),
1531
- producer: document.getElementById('producerField'),
1532
- version: document.getElementById('versionField'),
1533
- pageCount: document.getElementById('pageCountField'),
1534
- pageSize: document.getElementById('pageSizeField'),
1535
- linearized: document.getElementById('linearizedField'),
1536
- },
1537
- },
1538
- signatureProperties: {
1539
- dialog: document.getElementById('signaturePropertiesDialog'),
1540
- closeButton: document.getElementById('signaturePropertiesClose'),
1541
- fields: {
1542
- signer: document.getElementById('signerField'),
1543
- provider: document.getElementById('providerField'),
1544
- hashedValue: document.getElementById('hashedValueField'),
1545
- signedValue: document.getElementById('signedValueField'),
1546
- signMethod: document.getElementById('signMethodField'),
1547
- signVersion: document.getElementById('signVersionField'),
1548
- verify: document.getElementById('verifyField'),
1549
-
1550
- sealID: document.getElementById('sealIDField'),
1551
- sealName: document.getElementById('sealNameField'),
1552
- sealType: document.getElementById('sealTypeField'),
1553
- sealAuthTime: document.getElementById('sealAuthTimeField'),
1554
- sealMakeTime: document.getElementById('sealMakeTimeField'),
1555
- sealVersion: document.getElementById('sealVersionField'),
1556
- },
1557
- },
1558
- errorWrapper,
1559
- printContainer: document.getElementById('printContainer'),
1560
- openFileInputName: 'fileInput',
1561
- }
1562
- },
1563
-
1564
- onStampDragOver(e) {
1565
- e.dataTransfer.dropEffect = 'move';
1566
- },
1567
- removeStamp(index) {
1568
- this.$emit('removePos', index);
1569
- },
1570
- // eslint-disable-next-line no-unused-vars
1571
- onStampDragStop(ctx) {
1572
-
1573
- },
1574
- placed(pageNum, index, params, stampId) {
1575
- this.$emit('itemDropped', index, pageNum, params, stampId);
1576
- },
1577
- }
1578
- });
1579
-
1580
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
1581
- /* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
1582
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=style&index=0&id=18db0fa8&prod&scoped=true&lang=css&
1583
- var srcvue_type_style_index_0_id_18db0fa8_prod_scoped_true_lang_css_ = __webpack_require__(793);
1584
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=18db0fa8&prod&scoped=true&lang=css&
1585
-
1586
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue
1587
-
1588
-
1589
-
1590
- ;
1591
-
1592
-
1593
- /* normalize component */
1594
-
1595
- var src_component = normalizeComponent(
1596
- ofdView_srcvue_type_script_lang_js_,
1597
- render,
1598
- staticRenderFns,
1599
- false,
1600
- null,
1601
- "18db0fa8",
1602
- null
1603
-
1604
- )
1605
-
1606
- /* harmony default export */ var ofdView_src = (src_component.exports);
1607
- ;// CONCATENATED MODULE: ./packages/ofdView/index.js
1608
-
1609
-
1610
- ofdView_src.install = Vue => Vue.component(ofdView_src.name, ofdView_src);//注册组件
1611
-
1612
- /* harmony default export */ var ofdView = (ofdView_src);
1613
-
1614
- ;// CONCATENATED MODULE: ./packages/index.js
1615
-
1616
- // import PdvView from './pdfView'
1617
-
1618
- const components = [
1619
- ofdView,
1620
- // PdvView
1621
- ]
1622
-
1623
- // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
1624
- const install = function (Vue) {
1625
-
1626
- // 判断是否安装
1627
- if (install.installed) return
1628
- // 遍历注册全局组件
1629
- components.map(component => Vue.component(component.name, component))
1630
- }
1631
-
1632
- // 判断是否是直接引入文件
1633
- if (typeof window !== 'undefined' && window.Vue) {
1634
- install(window.Vue)
1635
- }
1636
-
1637
- /* harmony default export */ var packages_0 = ({
1638
- // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
1639
- install,
1640
- // 以下是具体的组件列表
1641
- OfdView: ofdView,
1642
- // PdvView
1643
- });
1644
-
1645
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
1646
-
1647
-
1648
- /* harmony default export */ var entry_lib = (packages_0);
1649
-
1650
-
1651
- }();
1652
- module.exports = __webpack_exports__;
1653
- /******/ })()
1654
- ;
1
+ !function(){var t={9662:function(t,e,i){var a=i(614),n=i(6330),r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not a function")}},9670:function(t,e,i){var a=i(111),n=String,r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not an object")}},1318:function(t,e,i){var a=i(5656),n=i(1400),r=i(6244),o=function(t){return function(e,i,o){var s,l=a(e),d=r(l),c=n(o,d);if(t&&i!=i){for(;d>c;)if((s=l[c++])!=s)return!0}else for(;d>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},3658:function(t,e,i){"use strict";var a=i(9781),n=i(3157),r=TypeError,o=Object.getOwnPropertyDescriptor,s=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(n(t)&&!o(t,"length").writable)throw r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,i){var a=i(1702),n=a({}.toString),r=a("".slice);t.exports=function(t){return r(n(t),8,-1)}},9920:function(t,e,i){var a=i(2597),n=i(3887),r=i(1236),o=i(3070);t.exports=function(t,e,i){for(var s=n(e),l=o.f,d=r.f,c=0;c<s.length;c++){var u=s[c];a(t,u)||i&&a(i,u)||l(t,u,d(e,u))}}},8880:function(t,e,i){var a=i(9781),n=i(3070),r=i(9114);t.exports=a?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,i){var a=i(614),n=i(3070),r=i(6339),o=i(3072);t.exports=function(t,e,i,s){s||(s={});var l=s.enumerable,d=void 0!==s.name?s.name:e;if(a(i)&&r(i,d,s),s.global)l?t[e]=i:o(e,i);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:function(t,e,i){var a=i(7854),n=Object.defineProperty;t.exports=function(t,e){try{n(a,t,{value:e,configurable:!0,writable:!0})}catch(i){a[t]=e}return e}},9781:function(t,e,i){var a=i(7293);t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},317:function(t,e,i){var a=i(7854),n=i(111),r=a.document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},7207:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,i){var a,n,r=i(7854),o=i(8113),s=r.process,l=r.Deno,d=s&&s.versions||l&&l.version,c=d&&d.v8;c&&(n=(a=c.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&o&&(!(a=o.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=o.match(/Chrome\/(\d+)/))&&(n=+a[1]),t.exports=n},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,i){var a=i(7854),n=i(1236).f,r=i(8880),o=i(8052),s=i(3072),l=i(9920),d=i(4705);t.exports=function(t,e){var i,c,u,p,h,f=t.target,m=t.global,g=t.stat;if(i=m?a:g?a[f]||s(f,{}):(a[f]||{}).prototype)for(c in e){if(p=e[c],u=t.dontCallGetSet?(h=n(i,c))&&h.value:i[c],!d(m?c:f+(g?".":"#")+c,t.forced)&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(t.sham||u&&u.sham)&&r(p,"sham",!0),o(i,c,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},4374:function(t,e,i){var a=i(7293);t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,i){var a=i(4374),n=Function.prototype.call;t.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},6530:function(t,e,i){var a=i(9781),n=i(2597),r=Function.prototype,o=a&&Object.getOwnPropertyDescriptor,s=n(r,"name"),l=s&&"something"===function(){}.name,d=s&&(!a||a&&o(r,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:d}},1702:function(t,e,i){var a=i(4374),n=Function.prototype,r=n.call,o=a&&n.bind.bind(r,r);t.exports=a?o:function(t){return function(){return r.apply(t,arguments)}}},5005:function(t,e,i){var a=i(7854),n=i(614),r=function(t){return n(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?r(a[t]):a[t]&&a[t][e]}},8173:function(t,e,i){var a=i(9662),n=i(8554);t.exports=function(t,e){var i=t[e];return n(i)?void 0:a(i)}},7854:function(t,e,i){var a=function(t){return t&&t.Math==Math&&t};t.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:function(t,e,i){var a=i(1702),n=i(7908),r=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(n(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,i){var a=i(9781),n=i(7293),r=i(317);t.exports=!a&&!n((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,i){var a=i(1702),n=i(7293),r=i(4326),o=Object,s=a("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?s(t,""):o(t)}:o},2788:function(t,e,i){var a=i(1702),n=i(614),r=i(5465),o=a(Function.toString);n(r.inspectSource)||(r.inspectSource=function(t){return o(t)}),t.exports=r.inspectSource},9909:function(t,e,i){var a,n,r,o=i(4811),s=i(7854),l=i(111),d=i(8880),c=i(2597),u=i(5465),p=i(6200),h=i(3501),f="Object already initialized",m=s.TypeError,g=s.WeakMap;if(o||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,a=function(t,e){if(v.has(t))throw m(f);return e.facade=t,v.set(t,e),e},n=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var b=p("state");h[b]=!0,a=function(t,e){if(c(t,b))throw m(f);return e.facade=t,d(t,b,e),e},n=function(t){return c(t,b)?t[b]:{}},r=function(t){return c(t,b)}}t.exports={set:a,get:n,has:r,enforce:function(t){return r(t)?n(t):a(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=n(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return i}}}},3157:function(t,e,i){var a=i(4326);t.exports=Array.isArray||function(t){return"Array"==a(t)}},614:function(t,e,i){var a=i(4154),n=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},4705:function(t,e,i){var a=i(7293),n=i(614),r=/#|\.prototype\./,o=function(t,e){var i=l[s(t)];return i==c||i!=d&&(n(e)?a(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=o.data={},d=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},8554:function(t){t.exports=function(t){return null==t}},111:function(t,e,i){var a=i(614),n=i(4154),r=n.all;t.exports=n.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:a(t)||t===r}:function(t){return"object"==typeof t?null!==t:a(t)}},1913:function(t){t.exports=!1},2190:function(t,e,i){var a=i(5005),n=i(614),r=i(7976),o=i(3307),s=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return n(e)&&r(e.prototype,s(t))}},6244:function(t,e,i){var a=i(7466);t.exports=function(t){return a(t.length)}},6339:function(t,e,i){var a=i(1702),n=i(7293),r=i(614),o=i(2597),s=i(9781),l=i(6530).CONFIGURABLE,d=i(2788),c=i(9909),u=c.enforce,p=c.get,h=String,f=Object.defineProperty,m=a("".slice),g=a("".replace),v=a([].join),b=s&&!n((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=t.exports=function(t,e,i){"Symbol("===m(h(e),0,7)&&(e="["+g(h(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!o(t,"name")||l&&t.name!==e)&&(s?f(t,"name",{value:e,configurable:!0}):t.name=e),b&&i&&o(i,"arity")&&t.length!==i.arity&&f(t,"length",{value:i.arity});try{i&&o(i,"constructor")&&i.constructor?s&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=u(t);return o(a,"source")||(a.source=v(y,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return r(this)&&p(this).source||d(this)}),"toString")},4758:function(t){var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var a=+t;return(a>0?i:e)(a)}},3070:function(t,e,i){var a=i(9781),n=i(4664),r=i(3353),o=i(9670),s=i(4948),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",h="writable";e.f=a?r?function(t,e,i){if(o(t),e=s(e),o(i),"function"==typeof t&&"prototype"===e&&"value"in i&&h in i&&!i[h]){var a=c(t,e);a&&a[h]&&(t[e]=i.value,i={configurable:p in i?i[p]:a[p],enumerable:u in i?i[u]:a[u],writable:!1})}return d(t,e,i)}:d:function(t,e,i){if(o(t),e=s(e),o(i),n)try{return d(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},1236:function(t,e,i){var a=i(9781),n=i(6916),r=i(5296),o=i(9114),s=i(5656),l=i(4948),d=i(2597),c=i(4664),u=Object.getOwnPropertyDescriptor;e.f=a?u:function(t,e){if(t=s(t),e=l(e),c)try{return u(t,e)}catch(t){}if(d(t,e))return o(!n(r.f,t,e),t[e])}},8006:function(t,e,i){var a=i(6324),n=i(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,n)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,i){var a=i(1702);t.exports=a({}.isPrototypeOf)},6324:function(t,e,i){var a=i(1702),n=i(2597),r=i(5656),o=i(1318).indexOf,s=i(3501),l=a([].push);t.exports=function(t,e){var i,a=r(t),d=0,c=[];for(i in a)!n(s,i)&&n(a,i)&&l(c,i);for(;e.length>d;)n(a,i=e[d++])&&(~o(c,i)||l(c,i));return c}},5296:function(t,e){"use strict";var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!i.call({1:2},1);e.f=n?function(t){var e=a(this,t);return!!e&&e.enumerable}:i},2140:function(t,e,i){var a=i(6916),n=i(614),r=i(111),o=TypeError;t.exports=function(t,e){var i,s;if("string"===e&&n(i=t.toString)&&!r(s=a(i,t)))return s;if(n(i=t.valueOf)&&!r(s=a(i,t)))return s;if("string"!==e&&n(i=t.toString)&&!r(s=a(i,t)))return s;throw o("Can't convert object to primitive value")}},3887:function(t,e,i){var a=i(5005),n=i(1702),r=i(8006),o=i(5181),s=i(9670),l=n([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=o.f;return i?l(e,i(t)):e}},4488:function(t,e,i){var a=i(8554),n=TypeError;t.exports=function(t){if(a(t))throw n("Can't call method on "+t);return t}},6200:function(t,e,i){var a=i(2309),n=i(9711),r=a("keys");t.exports=function(t){return r[t]||(r[t]=n(t))}},5465:function(t,e,i){var a=i(7854),n=i(3072),r="__core-js_shared__",o=a[r]||n(r,{});t.exports=o},2309:function(t,e,i){var a=i(1913),n=i(5465);(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.2",mode:a?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,i){var a=i(7392),n=i(7293);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},1400:function(t,e,i){var a=i(9303),n=Math.max,r=Math.min;t.exports=function(t,e){var i=a(t);return i<0?n(i+e,0):r(i,e)}},5656:function(t,e,i){var a=i(8361),n=i(4488);t.exports=function(t){return a(n(t))}},9303:function(t,e,i){var a=i(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:a(e)}},7466:function(t,e,i){var a=i(9303),n=Math.min;t.exports=function(t){return t>0?n(a(t),9007199254740991):0}},7908:function(t,e,i){var a=i(4488),n=Object;t.exports=function(t){return n(a(t))}},7593:function(t,e,i){var a=i(6916),n=i(111),r=i(2190),o=i(8173),s=i(2140),l=i(5112),d=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!n(t)||r(t))return t;var i,l=o(t,c);if(l){if(void 0===e&&(e="default"),i=a(l,t,e),!n(i)||r(i))return i;throw d("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,i){var a=i(7593),n=i(2190);t.exports=function(t){var e=a(t,"string");return n(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,e,i){var a=i(1702),n=0,r=Math.random(),o=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++n+r,36)}},3307:function(t,e,i){var a=i(6293);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,i){var a=i(9781),n=i(7293);t.exports=a&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,i){var a=i(7854),n=i(614),r=a.WeakMap;t.exports=n(r)&&/native code/.test(String(r))},5112:function(t,e,i){var a=i(7854),n=i(2309),r=i(2597),o=i(9711),s=i(6293),l=i(3307),d=a.Symbol,c=n("wks"),u=l?d.for||d:d&&d.withoutSetter||o;t.exports=function(t){return r(c,t)||(c[t]=s&&r(d,t)?d[t]:u("Symbol."+t)),c[t]}},7658:function(t,e,i){"use strict";var a=i(2109),n=i(7908),r=i(6244),o=i(3658),s=i(7207);a({target:"Array",proto:!0,arity:1,forced:i(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=n(this),i=r(e),a=arguments.length;s(i+a);for(var l=0;l<a;l++)e[i]=arguments[l],i++;return o(e,i),i}})},9944:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),o=i.n(r)()(n());o.push([t.id,'.vdr[data-v-316ef3a2]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-316ef3a2]{display:none}.vdr[data-v-316ef3a2]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-316ef3a2]{display:block}.handle[data-v-316ef3a2]{box-sizing:border-box;display:none;position:absolute;width:10px;height:10px;font-size:1px;background:rgba(253,57,122,.08);border:1px solid #fd397a}.handle-tl[data-v-316ef3a2]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-316ef3a2]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-316ef3a2]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-316ef3a2]{left:-10px;cursor:w-resize}.handle-ml[data-v-316ef3a2],.handle-mr[data-v-316ef3a2]{top:50%;margin-top:-5px}.handle-mr[data-v-316ef3a2]{right:-10px;cursor:e-resize}.handle-bl[data-v-316ef3a2]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-316ef3a2]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-316ef3a2]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-316ef3a2]:before{content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-316ef3a2]{background:orange;color:red;border-radius:12px;line-height:20px;text-align:center;height:20px;width:20px;font-size:18px;padding:1px}.close[data-v-316ef3a2]:before{content:"\\2716"}.close[data-v-316ef3a2]{top:5px;right:2px;position:absolute}',""]),e.default=o},9128:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),o=i.n(r)()(n());o.push([t.id,".stamp[data-v-30bbca41]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}",""]),e.default=o},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",a=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),a&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),a&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,a,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var c=[].concat(t[d]);a&&o[c[0]]||(void 0!==r&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),n&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=n):c[4]="".concat(n)),e.push(c))}},e}},8081:function(t){"use strict";t.exports=function(t){return t[1]}},4954:function(t,e,i){var a=i(9944);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("4d76d678",a,!0,{sourceMap:!1,shadowMode:!1})},7022:function(t,e,i){var a=i(9128);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("536e4708",a,!0,{sourceMap:!1,shadowMode:!1})},4402:function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var r=e[n],o=r[0],s={id:t+":"+n,css:r[1],media:r[2],sourceMap:r[3]};a[o]?a[o].parts.push(s):i.push(a[o]={id:o,parts:[s]})}return i}i.d(e,{Z:function(){return f}});var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){d=i,u=n||{};var o=a(t,e);return m(o),function(e){for(var i=[],n=0;n<o.length;n++){var s=o[n];(l=r[s.id]).refs--,i.push(l)}e?m(o=a(t,e)):o=[];for(n=0;n<i.length;n++){var l;if(0===(l=i[n]).refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var i=t[e],a=r[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(v(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var o=[];for(n=0;n<i.parts.length;n++)o.push(v(i.parts[n]));r[i.id]={id:i.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(d)return c;a.parentNode.removeChild(a)}if(h){var n=l++;a=s||(s=g()),e=w.bind(null,a,n,!1),i=w.bind(null,a,n,!0)}else a=g(),e=_.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var b,y=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function w(t,e,i,a){var n=i?"":a.css;if(t.styleSheet)t.styleSheet.cssText=y(e,n);else{var r=document.createTextNode(n),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function _(t,e){var i=e.css,a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}}},e={};function i(a){var n=e[a];if(void 0!==n)return n.exports;var r=e[a]={id:a,exports:{}};return t[a](r,r.exports,i),r.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.p="";var a={};!function(){"use strict";if(i.r(a),i.d(a,{default:function(){return m}}),"undefined"!=typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}i(7658);function n(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)}function r(t,e,i){let a=t;const r=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].find((t=>n(a[t])));if(!n(a[r]))return!1;do{if(a[r](e))return!0;if(a===i)return!1;a=a.parentNode}while(a);return!1}var o={replace:!0,name:"VueDraggableResizable",props:{active:{type:Boolean,default:!1},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},w:{type:Number,default:200,validator:function(t){return t>0}},h:{type:Number,default:200,validator:function(t){return t>0}},minw:{type:Number,default:50,validator:function(t){return t>=0}},minh:{type:Number,default:50,validator:function(t){return t>=0}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},handles:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]},validator:function(t){let e=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(t.filter((t=>e.has(t)))).size===t.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both"].indexOf(t)}},grid:{type:Array,default:function(){return[1,1]}},parent:{type:Element,default:null},maximize:{type:Boolean,default:!1},pages:{type:Array,required:!1,default:null},eventBus:{type:Object,default:null},index:{type:Number,required:!1,default:0},currentPage:{type:Number,required:!1,default:0},stampId:{type:String,required:!1,default:null}},created:function(){this.parentX=0,this.parentW=9999,this.parentY=0,this.parentH=9999,this.mouseX=0,this.mouseY=0,this.lastMouseX=0,this.lastMouseY=0,this.mouseOffX=0,this.mouseOffY=0,this.elmX=0,this.elmY=0,this.elmW=0,this.elmH=0,this.scrollPosition=0,this.scrollDist=0,this.pagesCount=this.pages?this.pages.length:0,this.section=[],this.scale=null},mounted:function(){if(this.parent.addEventListener("mousemove",this.handleMove,!1),this.parent.addEventListener("mousedown",this.deselect,!1),this.parent.addEventListener("mouseup",this.handleUp,!1),this.parent.addEventListener("touchmove",this.handleMove,!1),this.parent.addEventListener("touchend",this.handleUp,!1),this.parent.addEventListener("touchstart",this.deselect,!1),this.parent&&this.parent.parentNode.addEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.on("stampResize",this.stampResize),this.elmX=parseInt(this.$el.style.left),this.elmY=parseInt(this.$el.style.top),this.elmW=this.$el.offsetWidth||this.$el.clientWidth,this.elmH=this.$el.offsetHeight||this.$el.clientHeight,this._reviewDimensions(),this.pages){this.scale||(this.scale=this.pages[0].viewport.scale),this.updateSection(),this.top=this.y+10<0?10:this.y+10,this.top<10&&(this.top=10);let t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1);this.elmY=this.top;let e=this.pages[t];e&&this.x-e.div.offsetLeft-9>0||e&&(this.left=e.div.offsetLeft+9),this.elmX=this.left,this._emitPlaced(t)}},beforeUnmount:function(){this.parent.removeEventListener("mousemove",this.handleMove,!1),this.parent.removeEventListener("mousedown",this.deselect,!1),this.parent.removeEventListener("mouseup",this.handleUp,!1),this.parent&&this.parent.parentNode.removeEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.off("stampResize",this.stampResize),this.parent.removeEventListener("touchmove",this.handleMove,!1),this.parent.removeEventListener("touchend",this.handleUp,!1),this.parent.removeEventListener("touchstart",this.deselect,!1)},data:function(){return{top:this.y,left:this.x,width:this.w,height:this.h,resizing:!1,dragging:!1,enabled:this.active,handle:null,zIndex:this.z}},methods:{adjust(t,e,i,a){let n=this.binarySearch(t,e,i,a);return(n<0||n>this.pagesCount-1)&&(n=0),n=this.adjustBoundary(n),n},handleScrollMove(t){this.dragging&&(this.scrollDist=t.currentTarget.scrollTop-this.scrollPosition,this.top=this.top+this.scrollDist,this.elmY=this.top),this.scrollPosition=t.currentTarget.scrollTop},stampAreaUpdate(t){for(let e=t-1;e<t+1;e++)e-1>0&&e<this.pagesCount&&(this.section[e].t=this.section[e-1].t+this.pages[e-1].viewport.height+11,this.section[e].o=this.pages[e-1].div.offsetLeft+9)},adjustBoundary(t){return this.pages[t]&&this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height>0&&(this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height-this.elmH/2>0?(this.top=this.section[t+1].t,t++):this.top=this.section[t+1].t-this.elmH-9-2),t},binarySearch(t,e,i,a){if(i>a)return i-1;let n=Math.floor((i+a)/2),r=t[n].t;return r>e?this.binarySearch(t,e,i,n-1):r<e?this.binarySearch(t,e,n+1,a):n},updateSection(){this.section.length=0;let t=10;for(let e=0;e<this.pagesCount;e++)t=t+(e>0?this.pages[e-1].viewport.height:0)+(e>0?11:0),this.section.push({t:t,o:this.pages[e].div.offsetLeft+9});this.section.push({t:this.section[this.pagesCount-1].t+this.pages[this.pagesCount-1].viewport.height+9+2,o:this.pages[this.pagesCount-1].div.offsetLeft+9})},stampResize(){if(null!=this.scale){const t=[].concat(this.section);this.updateSection();const e=this.top;let i=this.binarySearch(t,e,this.currentPage-1,this.pagesCount-1);i<0&&(i=0);const a=this.pages[0].viewport.scale,n=this.width,r=this.height;this.width=n*a/this.scale,this.height=r*a/this.scale;const o=this.left;this.top=(e-10)*a/this.scale+10,this.left=this.pages[i].div.offsetLeft+(o-t[i].o)*a/this.scale+9,this.elmW=this.width,this.elmH=this.height,this.elmX=this.left,this.elmY=this.top,this.scale=a,this._emitPlaced(i)}},_emitPlaced(t){this.$emit("placed",t,this.index,{x:(this.left-this.section[t].o)/this.pages[t].viewport.width,y:(this.top-this.section[t].t)/this.pages[t].viewport.height,w:this.elmW/this.pages[t].viewport.width,h:this.elmH/this.pages[t].viewport.height},this.stampId)},_reviewDimensions(){if(this.minw>this.w&&(this.width=this.minw),this.minh>this.h&&(this.height=this.minh),this.parent){const t=parseInt(this.parent.scrollWidth,10),e=parseInt(this.parent.scrollHeight,10);this.parentW=t,this.parentH=e,this.w>this.parentW&&(this.width=t),this.h>this.parentH&&(this.height=e),this.x+this.w>this.parentW&&t-this.x>0&&(this.width=t-this.x),this.y+this.h>this.parentH&&e-this.y>0&&(this.height=e-this.y)}this.elmW=this.width,this.elmH=this.height},reviewDimensions:function(){this._reviewDimensions(),this.$emit("resizing",this.left,this.top,this.width,this.height)},elmDown:function(t){const e=t.target||t.srcElement;if(this.$el.contains(e)){if(this.dragHandle&&!r(e,this.dragHandle,this.$el)||this.dragCancel&&r(e,this.dragCancel,this.$el))return;this.reviewDimensions(),this.enabled||(this.enabled=!0,this.$emit("activated"),this.$emit("update:active",!0)),this.draggable&&(this.dragging=!0)}},deselect:function(t){-1!==t.type.indexOf("touch")?(this.mouseX=t.changedTouches[0].clientX,this.mouseY=t.changedTouches[0].clientY):(this.mouseX=t.pageX||t.clientX+this.parent.scrollLeft,this.mouseY=t.pageY||t.clientY+this.parent.scrollTop),this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;const e=t.target||t.srcElement,i=new RegExp("handle-([trmbl]{2})","");this.$el.contains(e)||i.test(e.className)||this.enabled&&(this.enabled=!1,this.$emit("deactivated"),this.$emit("update:active",!1))},handleDown:function(t,e){this.handle=t,e.cancelable&&(e.stopPropagation(),e.preventDefault()),this.resizing=!0},handleMove:function(t){const e=-1!==t.type.indexOf("touchmove");this.mouseX=e?t.touches[0].clientX:t.pageX||t.clientX+document.documentElement.scrollLeft,this.mouseY=e?t.touches[0].clientY:t.pageY||t.clientY+document.documentElement.scrollTop;let i=this.mouseX-this.lastMouseX+this.mouseOffX,a=this.mouseY-this.lastMouseY+this.mouseOffY;this.mouseOffX=this.mouseOffY=0,this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;let n=i,r=a;if(this.resizing)this.handle.indexOf("t")>=0&&(this.elmH-r<this.minh?this.mouseOffY=r-(a=this.elmH-this.minh):this.parent&&this.elmY+r<this.parentY&&(this.mouseOffY=r-(a=this.parentY-this.elmY)),this.elmY+=a,this.elmH-=a),this.handle.indexOf("b")>=0&&(this.elmH+r<this.minh?this.mouseOffY=r-(a=this.minh-this.elmH):this.parent&&this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH)),this.elmH+=a),this.handle.indexOf("l")>=0&&(this.elmW-n<this.minw?this.mouseOffX=n-(i=this.elmW-this.minw):this.parent&&this.elmX+n<this.parentX&&(this.mouseOffX=n-(i=this.parentX-this.elmX)),this.elmX+=i,this.elmW-=i),this.handle.indexOf("r")>=0&&(this.elmW+n<this.minw?this.mouseOffX=n-(i=this.minw-this.elmW):this.parent&&this.elmX+this.elmW+n>this.parentW&&(this.mouseOffX=n-(i=this.parentW-this.elmX-this.elmW)),this.elmW+=i),this.left=Math.round(this.elmX/this.grid[0])*this.grid[0],this.top=Math.round(this.elmY/this.grid[1])*this.grid[1],this.width=Math.round(this.elmW/this.grid[0])*this.grid[0],this.height=Math.round(this.elmH/this.grid[1])*this.grid[1],this.$emit("resizing",this.left,this.top,this.width,this.height);else if(this.dragging){if(this.parent){this._reviewDimensions();let[t,e]=[0,10];if(this.pages){let e=this.binarySearch(this.section,this.elmY+a,this.currentPage-1,this.pagesCount-1);e<0&&(e=0),this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height>0&&this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height-.9*this.elmH-11>0&&e++,t=this.pages[e].div.offsetLeft+9}this.elmX+n<this.parentX+t?this.mouseOffX=n-(i=this.parentX+t-this.elmX):this.elmX+this.elmW+n>this.parentW-t&&(this.mouseOffX=n-(i=this.parentW-t-this.elmX-this.elmW)),this.elmY+r<this.parentY+e?this.mouseOffY=r-(a=this.parentY+e-this.elmY):this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH))}this.elmX+=i,this.elmY+=a,"x"!==this.axis&&"both"!==this.axis||(this.left=Math.round(this.elmX/this.grid[0])*this.grid[0]),"y"!==this.axis&&"both"!==this.axis||(this.top=Math.round(this.elmY/this.grid[1])*this.grid[1]),this.$emit("dragging",this.left,this.top)}},handleUp:function(t){if(-1!==t.type.indexOf("touch")&&(this.lastMouseX=t.changedTouches[0].clientX,this.lastMouseY=t.changedTouches[0].clientY),this.handle=null,this.resizing&&(this.resizing=!1,this.$emit("resizestop",this.left,this.top,this.width,this.height)),this.dragging){this.dragging=!1;let t=0;this.pages&&(t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1)),this._emitPlaced(t),this.$emit("dragstop",this.left,this.top)}this.elmX=this.left,this.elmY=this.top},dropItem(){this.$emit("dropitem",this.index)}},computed:{style:function(){return{top:this.top+"px",left:this.left+"px",width:this.width+"px",height:this.height+"px",zIndex:this.zIndex}}},watch:{active:function(t){this.enabled=t},z:function(t){(t>=0||"auto"===t)&&(this.zIndex=t)},currentPage:function(t){this.stampAreaUpdate(t)}}};i(4954);function s(t,e,i,a,n,r,o,s){var l,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):n&&(l=s?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}var l=s(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"vdr",class:{draggable:t.draggable,resizable:t.resizable,active:t.enabled,dragging:t.dragging,resizing:t.resizing},style:t.style,on:{mousedown:t.elmDown,touchstart:t.elmDown}},[t.editable?e("button",{staticClass:"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",staticStyle:{position:"absolute",right:"5px",top:"-20px"},attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.dropItem.apply(null,arguments)}}},[e("span",{staticClass:"close"})]):t._e(),t._l(t.handles,(function(i){return t.resizable?e("div",{key:i,staticClass:"handle",class:"handle-"+i,style:{display:t.enabled?"block":"none"},on:{mousedown:function(e){return t.handleDown(i,e)},touchstart:function(e){return t.handleDown(i,e)}}}):t._e()})),t._t("default")],2)}),[],!1,null,"316ef3a2",null),d={name:"OfdView",components:{VueDraggableResizable:l.exports},props:{file:{required:!1},mem:{required:!0},secret:{type:String,required:!1},digest:{type:String,required:!1},draggable:{type:Boolean,required:!1,default:!0},resizable:{type:Boolean,required:!1,default:!1},editable:{type:Boolean,required:!1,default:!0},stamps:{type:Array,required:!1,default:()=>[]},sidebarForceOpen:{type:Boolean,required:!1,default:!1},signatureViewerForceCheck:{type:Boolean,required:!1,default:!1}},watch:{file:{immediate:!0,handler(t){this.config&&this.mem&&(this.ofdViewer=null,this.mem.openOFD(t))}},stamps:{immediate:!0,handler(t){t.length>0&&this.config&&(document.getElementById("scrollModeButtons").hidden=!0,document.getElementById("spreadModeButtons").hidden=!0)}}},data:()=>({viewVisible:!1,config:null,eventBus:null,sp:1,ofdViewer:null}),mounted(){if(!this.config){this.config=this.getViewerConfiguration();let t=new Image;t.style.position="absolute",t.style.left=0,t.style.right=0,t.style.margin="auto",t.style.top=0,t.style.bottom=0,t.src="data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDISau9OOvNu/9gKI5kaZ5oqhYGQRiFWhaD6w6xLLa2a+iiXg8YEtqIIF7vh/QcarbB4YJIuBKIpuTAM0wtCqNiJBgMBCaE0ZUFCXpoknWdCEFvpfURdCcM8noEIW82cSNzRnWDZoYjamttWhphQmOSHFVXkZecnZ6foKFujJdlZxqELo1AqQSrFH1/TbEZtLM9shetrzK7qKSSpryixMXGx8jJyifCKc1kcMzRIrYl1Xy4J9cfvibdIs/MwMue4cffxtvE6qLoxubk8ScRACH5BAkKAAAALAAAAAA2ADcAAATOEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN2bKcwjw19f0QG7PjA7B2EGfn+FhoeIiYoSCAk1CQiLFQpoChlUQwhuBJEWcXkpjm4JF3w9P5tvFqZsLKkEF58/omiksXiZm52SlGKWkhONj7vAxcbHyMkTmCjMcDygRNAjrCfVaqcm11zTJrIjzt64yojhxd/G28XqwOjG5uTxJhEAIfkECQoAAAAsAAAAADYANwAABM0QyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/i8qmCoGQoacT8FZ4AXbFopfTwEBhhnQ4w2j0GRkgQYiEOLPI6ZUkgHZwd6EweLBqSlq6ytricICTUJCKwKkgojgiMIlwS1VEYlspcJIZAkvjXHlcnKIZokxJLG0KAlvZfAebeMuUi7FbGz2z/Rq8jozavn7Nev8CsRACH5BAkKAAAALAAAAAA2ADcAAATLEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwzJNCmPzheUyJuKijVrZ2cTlrg1LwjcO5HFyeoJeyM9U++mfE6v2+/4PD6O5F/YWiqAGWdIhRiHP4kWg0ONGH4/kXqUlZaXmJlMBQY1BgVuUicFZ6AhjyOdPAQGQF0mqzauYbCxBFdqJao8rVeiGQgJNQkIFwdnB0MKsQrGqgbJPwi2BMV5wrYJetQ129x62LHaedO21nnLq82VwcPnIhEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/g8Po7kX9haKoAZZ0iFGIc/iRaDQ40Yfj+RepSVlpeYAAgJNQkIlgo8NQqUCKI2nzNSIpynBAkzaiCuNl9BIbQ1tl0hraewbrIfpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==",t.draggable=!1,this.config.loadingContainer=t,this.config.onPageChanging=t=>{this.sp=t},this.config.parserOFDSuccess=t=>{},this.config.onPageScale=t=>{this.eventBus.dispatch("stampResize",{source:null})},this.config.onViewportChange=t=>{this.ofdViewer||(this.viewVisible=!0,this.$emit("viewready",t)),this.ofdViewer=t},this.config.secret=this.secret,this.config.digest=this.digest,this.config.sidebarForceOpen=this.sidebarForceOpen,this.config.signatureViewerForceCheck=this.signatureViewerForceCheck,this.mem.initOFDViewer(this.config),this.eventBus=this.mem.getEventBus()}this.file&&this.mem.openOFD(this.file)},methods:{getViewerConfiguration(){let t;this.$slots&&this.$slots.openFileRef&&this.$slots.openFileRef[0].elm&&(t=this.$slots.openFileRef[0].elm);let e=null;return e={container:document.getElementById("errorWrapper"),errorMessage:document.getElementById("errorMessage"),closeButton:document.getElementById("errorClose"),errorMoreInfo:document.getElementById("errorMoreInfo"),moreInfoButton:document.getElementById("errorShowMore"),lessInfoButton:document.getElementById("errorShowLess")},{appContainer:document.body,mainContainer:document.getElementById("viewerContainer"),viewerContainer:document.getElementById("viewer"),openFileTip:t,toolbar:{container:document.getElementById("toolbarViewer"),numPages:document.getElementById("numPages"),pageNumber:document.getElementById("pageNumber"),scaleSelect:document.getElementById("scaleSelect"),customScaleOption:document.getElementById("customScaleOption"),previous:document.getElementById("previous"),next:document.getElementById("next"),zoomIn:document.getElementById("zoomIn"),zoomOut:document.getElementById("zoomOut"),openFile:document.getElementById("openFile"),print:document.getElementById("print"),download:document.getElementById("download")},secondaryToolbar:{toolbar:document.getElementById("secondaryToolbar"),toggleButton:document.getElementById("secondaryToolbarToggle"),toolbarButtonContainer:document.getElementById("secondaryToolbarButtonContainer"),openFileButton:document.getElementById("secondaryOpenFile"),printButton:document.getElementById("secondaryPrint"),downloadButton:document.getElementById("secondaryDownload"),viewBookmarkButton:document.getElementById("secondaryViewBookmark"),firstPageButton:document.getElementById("firstPage"),lastPageButton:document.getElementById("lastPage"),pageRotateCwButton:document.getElementById("pageRotateCw"),pageRotateCcwButton:document.getElementById("pageRotateCcw"),cursorSelectToolButton:document.getElementById("cursorSelectTool"),cursorHandToolButton:document.getElementById("cursorHandTool"),scrollPageButton:document.getElementById("scrollPage"),scrollVerticalButton:document.getElementById("scrollVertical"),scrollHorizontalButton:document.getElementById("scrollHorizontal"),scrollWrappedButton:document.getElementById("scrollWrapped"),spreadNoneButton:document.getElementById("spreadNone"),spreadOddButton:document.getElementById("spreadOdd"),spreadEvenButton:document.getElementById("spreadEven"),documentPropertiesButton:document.getElementById("documentProperties")},sidebar:{outerContainer:document.getElementById("outerContainer"),viewerContainer:document.getElementById("viewerContainer"),toggleButton:document.getElementById("sidebarToggle"),outlineButton:document.getElementById("viewOutline"),attachmentsButton:document.getElementById("viewAttachments"),signaturesButton:document.getElementById("viewSignatures"),outlineView:document.getElementById("outlineView"),attachmentsView:document.getElementById("attachmentsView"),signaturesView:document.getElementById("signaturesView"),currentOutlineItemButton:document.getElementById("currentOutlineItem")},sidebarResizer:{outerContainer:document.getElementById("outerContainer")},documentProperties:{dialog:document.getElementById("documentPropertiesDialog"),closeButton:document.getElementById("documentPropertiesClose"),fields:{fileName:document.getElementById("fileNameField"),fileSize:document.getElementById("fileSizeField"),title:document.getElementById("titleField"),author:document.getElementById("authorField"),subject:document.getElementById("subjectField"),keywords:document.getElementById("keywordsField"),creationDate:document.getElementById("creationDateField"),modificationDate:document.getElementById("modificationDateField"),creator:document.getElementById("creatorField"),producer:document.getElementById("producerField"),version:document.getElementById("versionField"),pageCount:document.getElementById("pageCountField"),pageSize:document.getElementById("pageSizeField"),linearized:document.getElementById("linearizedField")}},signatureProperties:{dialog:document.getElementById("signaturePropertiesDialog"),closeButton:document.getElementById("signaturePropertiesClose"),fields:{signer:document.getElementById("signerField"),provider:document.getElementById("providerField"),hashedValue:document.getElementById("hashedValueField"),signedValue:document.getElementById("signedValueField"),signMethod:document.getElementById("signMethodField"),signVersion:document.getElementById("signVersionField"),verify:document.getElementById("verifyField"),sealID:document.getElementById("sealIDField"),sealName:document.getElementById("sealNameField"),sealType:document.getElementById("sealTypeField"),sealAuthTime:document.getElementById("sealAuthTimeField"),sealMakeTime:document.getElementById("sealMakeTimeField"),sealVersion:document.getElementById("sealVersionField")}},errorWrapper:e,printContainer:document.getElementById("printContainer"),openFileInputName:"fileInput"}},onStampDragOver(t){t.dataTransfer.dropEffect="move"},removeStamp(t){this.$emit("removePos",t)},onStampDragStop(t){},placed(t,e,i,a){this.$emit("itemDropped",e,t,i,a)}}},c=(i(7022),s(d,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"outerContainer"}},[t._m(0),t._v(" "),e("div",{attrs:{id:"mainContainer"}},[t._m(1),t._v(" "),t._m(2),e("div",{attrs:{id:"viewerContainer",tabindex:"0"}},[e("div",{staticClass:"pdfViewer",attrs:{id:"viewer"},on:{dragover:function(e){return e.preventDefault(),t.onStampDragOver.apply(null,arguments)}}},t._l(t.stamps,(function(i,a){return t.viewVisible?e("vue-draggable-resizable",{attrs:{w:i.w?i.w:174,h:i.h?i.h:174,parent:t.config.viewerContainer,customForStamp:!0,eventBus:t.eventBus,handles:["tl","tr","bl","br"],index:a,x:i.x,y:i.located?i.y:i.y+t.config.mainContainer.scrollTop,pages:t.ofdViewer._pages,currentPage:t.sp,"origin-bottom":!1,stampId:i.source.stampId,draggable:t.draggable,resizable:t.resizable,editable:t.editable},on:{dropitem:t.removeStamp,dragstop:t.onStampDragStop,placed:t.placed}},[e("div",{staticClass:"stamp",style:{backgroundImage:"url(data:image/png;base64,"+i.source.stampBase64+")"}})]):t._e()})),1),t._t("openFileRef")],2),t._m(3)]),t._v(" "),t._m(4)])}),[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"sidebarContainer"}},[e("div",{attrs:{id:"toolbarSidebar"}},[e("div",{attrs:{id:"toolbarSidebarLeft"}},[e("div",{staticClass:"splitToolbarButton toggled",attrs:{id:"sidebarViewButtons",role:"radiogroup"}},[e("button",{staticClass:"toolbarButton toggled",attrs:{id:"viewOutline",title:"Show Document Outline (double-click to expand/collapse all items)",tabindex:"3","data-l10n-id":"document_outline",role:"radio","aria-checked":"false","aria-controls":"outlineView"}},[e("span",{attrs:{"data-l10n-id":"document_outline_label"}},[t._v("Document Outline")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewAttachments",title:"Show Attachments",tabindex:"4","data-l10n-id":"attachments",role:"radio","aria-checked":"false","aria-controls":"attachmentsView"}},[e("span",{attrs:{"data-l10n-id":"attachments_label"}},[t._v("Attachments")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewSignatures",title:"Show Signatures",tabindex:"6","data-l10n-id":"layers",role:"radio","aria-checked":"false","aria-controls":"signaturesView"}},[e("span",{attrs:{"data-l10n-id":"signatures_label"}},[t._v("Signatures")])])])]),e("div",{attrs:{id:"toolbarSidebarRight"}},[e("div",{staticClass:"hidden",attrs:{id:"outlineOptionsContainer"}},[e("div",{staticClass:"verticalToolbarSeparator"}),e("button",{staticClass:"toolbarButton",attrs:{id:"currentOutlineItem",disabled:"disabled",title:"Find Current Outline Item",tabindex:"6","data-l10n-id":"current_outline_item"}},[e("span",{attrs:{"data-l10n-id":"current_outline_item_label"}},[t._v("Current Outline Item")])])])])]),e("div",{attrs:{id:"sidebarContent"}},[e("div",{attrs:{id:"outlineView"}}),e("div",{staticClass:"hidden",attrs:{id:"attachmentsView"}}),e("div",{staticClass:"hidden",attrs:{id:"signaturesView"}})]),e("div",{attrs:{id:"sidebarResizer"}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{id:"secondaryToolbar"}},[e("div",{attrs:{id:"secondaryToolbarButtonContainer"}},[e("button",{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{id:"secondaryOpenFile",title:"打开文件",tabindex:"52","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]),e("button",{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{id:"secondaryPrint",title:"打印",tabindex:"53","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]),e("button",{staticClass:"secondaryToolbarButton download visibleMediumView",attrs:{id:"secondaryDownload",title:"Download",tabindex:"54","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]),e("a",{staticClass:"secondaryToolbarButton bookmark visibleSmallView",attrs:{href:"#",id:"secondaryViewBookmark",title:"Current view (copy or open in new window)",tabindex:"55","data-l10n-id":"bookmark"}},[e("span",{attrs:{"data-l10n-id":"bookmark_label"}},[t._v("Current View")])]),e("div",{staticClass:"horizontalToolbarSeparator visibleLargeView"}),e("button",{staticClass:"secondaryToolbarButton firstPage",attrs:{id:"firstPage",title:"Go to First Page",tabindex:"56","data-l10n-id":"first_page"}},[e("span",{attrs:{"data-l10n-id":"first_page_label"}},[t._v("Go to First Page")])]),e("button",{staticClass:"secondaryToolbarButton lastPage",attrs:{id:"lastPage",title:"Go to Last Page",tabindex:"57","data-l10n-id":"last_page"}},[e("span",{attrs:{"data-l10n-id":"last_page_label"}},[t._v("Go to Last Page")])]),e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton rotateCw",attrs:{id:"pageRotateCw",title:"Rotate Clockwise",tabindex:"58","data-l10n-id":"page_rotate_cw"}},[e("span",{attrs:{"data-l10n-id":"page_rotate_cw_label"}},[t._v("Rotate Clockwise")])]),e("button",{staticClass:"secondaryToolbarButton rotateCcw",attrs:{id:"pageRotateCcw",title:"Rotate Counterclockwise",tabindex:"59","data-l10n-id":"page_rotate_ccw"}},[e("span",{attrs:{"data-l10n-id":"page_rotate_ccw_label"}},[t._v("Rotate Counterclockwise")])]),e("div",{staticClass:"horizontalToolbarSeparator"}),e("div",{attrs:{id:"cursorToolButtons",role:"radiogroup"}},[e("button",{staticClass:"secondaryToolbarButton selectTool toggled",attrs:{id:"cursorSelectTool",title:"Enable Text Selection Tool",tabindex:"60","data-l10n-id":"cursor_text_select_tool",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"cursor_text_select_tool_label"}},[t._v("Text Selection Tool")])]),e("button",{staticClass:"secondaryToolbarButton handTool",attrs:{id:"cursorHandTool",title:"Enable Hand Tool",tabindex:"61","data-l10n-id":"cursor_hand_tool",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"cursor_hand_tool_label"}},[t._v("Hand Tool")])])]),e("div",{attrs:{id:"scrollModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton scrollPage",attrs:{id:"scrollPage",title:"Use Page Scrolling",tabindex:"62","data-l10n-id":"scroll_page",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_page_label"}},[t._v("Page Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollVertical toggled",attrs:{id:"scrollVertical",title:"Use Vertical Scrolling",tabindex:"63","data-l10n-id":"scroll_vertical",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"scroll_vertical_label"}},[t._v("Vertical Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollHorizontal",attrs:{id:"scrollHorizontal",title:"Use Horizontal Scrolling",tabindex:"64","data-l10n-id":"scroll_horizontal",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_horizontal_label"}},[t._v("Horizontal Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollWrapped",attrs:{id:"scrollWrapped",title:"Use Wrapped Scrolling",tabindex:"65","data-l10n-id":"scroll_wrapped",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_wrapped_label"}},[t._v("Wrapped Scrolling")])])]),e("div",{attrs:{id:"spreadModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton spreadNone toggled",attrs:{id:"spreadNone",title:"Do not join page spreads",tabindex:"66","data-l10n-id":"spread_none",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"spread_none_label"}},[t._v("No Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadOdd",attrs:{id:"spreadOdd",title:"Join page spreads starting with odd-numbered pages",tabindex:"67","data-l10n-id":"spread_odd",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_odd_label"}},[t._v("Odd Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadEven",attrs:{id:"spreadEven",title:"Join page spreads starting with even-numbered pages",tabindex:"68","data-l10n-id":"spread_even",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_even_label"}},[t._v("Even Spreads")])])]),e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton documentProperties",attrs:{id:"documentProperties",title:"文档属性…",tabindex:"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[e("span",{attrs:{"data-l10n-id":"document_properties_label"}},[t._v("文档属性…")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"toolbar"},[e("div",{attrs:{id:"toolbarContainer"}},[e("div",{attrs:{id:"toolbarViewer"}},[e("div",{attrs:{id:"toolbarViewerLeft"}},[e("button",{staticClass:"toolbarButton",attrs:{id:"sidebarToggle",title:"Toggle Sidebar",tabindex:"11","data-l10n-id":"toggle_sidebar","aria-expanded":"false","aria-controls":"sidebarContainer"}},[e("span",{attrs:{"data-l10n-id":"toggle_sidebar_label"}},[t._v("切换侧栏")])]),e("div",{staticClass:"splitToolbarButton hiddenSmallView"},[e("button",{staticClass:"toolbarButton pageUp",attrs:{title:"上一页",id:"previous",tabindex:"13","data-l10n-id":"previous"}},[e("span",{attrs:{"data-l10n-id":"previous_label"}},[t._v("上一页")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton pageDown",attrs:{title:"下一页",id:"next",tabindex:"14","data-l10n-id":"next"}},[e("span",{attrs:{"data-l10n-id":"next_label"}},[t._v("下一页")])])]),e("input",{staticClass:"toolbarField pageNumber",attrs:{type:"number",id:"pageNumber",title:"页面",value:"1",size:"4",min:"1",tabindex:"15","data-l10n-id":"page",autocomplete:"off"}}),e("span",{staticClass:"toolbarLabel",attrs:{id:"numPages"}})]),e("div",{attrs:{id:"toolbarViewerRight"}},[e("button",{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{id:"openFile",title:"打开文件",tabindex:"32","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]),e("button",{staticClass:"toolbarButton print hiddenMediumView",attrs:{id:"print",title:"打印",tabindex:"33","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]),e("button",{staticClass:"toolbarButton download hiddenMediumView",attrs:{id:"download",title:"Download",tabindex:"34","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]),e("div",{staticClass:"verticalToolbarSeparator hiddenSmallView"}),e("button",{staticClass:"toolbarButton",attrs:{id:"secondaryToolbarToggle",title:"工具",tabindex:"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[e("span",{attrs:{"data-l10n-id":"tools_label"}},[t._v("工具")])])]),e("div",{attrs:{id:"toolbarViewerMiddle"}},[e("div",{staticClass:"splitToolbarButton"},[e("button",{staticClass:"toolbarButton zoomOut",attrs:{id:"zoomOut",title:"缩小",tabindex:"21","data-l10n-id":"zoom_out"}},[e("span",{attrs:{"data-l10n-id":"zoom_out_label"}},[t._v("缩小")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton zoomIn",attrs:{id:"zoomIn",title:"放大",tabindex:"22","data-l10n-id":"zoom_in"}},[e("span",{attrs:{"data-l10n-id":"zoom_in_label"}},[t._v("放大")])])]),e("span",{staticClass:"dropdownToolbarButton",attrs:{id:"scaleSelectContainer"}},[e("select",{attrs:{id:"scaleSelect",title:"缩放",tabindex:"23","data-l10n-id":"zoom"}},[e("option",{attrs:{id:"pageAutoOption",title:"",value:"auto",selected:"selected","data-l10n-id":"page_scale_auto"}},[t._v("自动缩放")]),e("option",{attrs:{id:"pageActualOption",title:"",value:"page-actual","data-l10n-id":"page_scale_actual"}},[t._v("实际大小")]),e("option",{attrs:{id:"pageFitOption",title:"",value:"page-fit","data-l10n-id":"page_scale_fit"}},[t._v("适合页面")]),e("option",{attrs:{id:"pageWidthOption",title:"",value:"page-width","data-l10n-id":"page_scale_width"}},[t._v("适合页宽")]),e("option",{attrs:{id:"customScaleOption",title:"",value:"custom",disabled:"disabled",hidden:"true"}}),e("option",{attrs:{title:"",value:"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 50 }'}},[t._v("50%")]),e("option",{attrs:{title:"",value:"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 75 }'}},[t._v("75%")]),e("option",{attrs:{title:"",value:"1","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 100 }'}},[t._v("100%")]),e("option",{attrs:{title:"",value:"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 125 }'}},[t._v("125%")]),e("option",{attrs:{title:"",value:"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 150 }'}},[t._v("150%")]),e("option",{attrs:{title:"",value:"2","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 200 }'}},[t._v("200%")]),e("option",{attrs:{title:"",value:"3","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 300 }'}},[t._v("300%")]),e("option",{attrs:{title:"",value:"4","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 400 }'}},[t._v("400%")])])])])])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"errorWrapper",hidden:"true"}},[e("div",{attrs:{id:"errorMessageLeft"}},[e("span",{attrs:{id:"errorMessage"}}),e("button",{attrs:{id:"errorShowMore","data-l10n-id":"error_more_info"}},[t._v(" More Information ")]),e("button",{attrs:{id:"errorShowLess","data-l10n-id":"error_less_info",hidden:"true"}},[t._v(" Less Information ")])]),e("div",{attrs:{id:"errorMessageRight"}},[e("button",{attrs:{id:"errorClose","data-l10n-id":"error_close"}},[t._v(" Close ")])]),e("div",{staticClass:"clearBoth"}),e("textarea",{attrs:{id:"errorMoreInfo",hidden:"true",readonly:"readonly"}})])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"dialogContainer"}},[e("dialog",{attrs:{id:"documentPropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[t._v("文件名:")]),e("p",{attrs:{id:"fileNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[t._v("文件大小:")]),e("p",{attrs:{id:"fileSizeField","aria-labelledby":"fileSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"titleLabel","data-l10n-id":"document_properties_title"}},[t._v("标题:")]),e("p",{attrs:{id:"titleField","aria-labelledby":"titleLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"authorLabel","data-l10n-id":"document_properties_author"}},[t._v("作者:")]),e("p",{attrs:{id:"authorField","aria-labelledby":"authorLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"subjectLabel","data-l10n-id":"document_properties_subject"}},[t._v("主题:")]),e("p",{attrs:{id:"subjectField","aria-labelledby":"subjectLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[t._v("关键词:")]),e("p",{attrs:{id:"keywordsField","aria-labelledby":"keywordsLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[t._v("创建日期:")]),e("p",{attrs:{id:"creationDateField","aria-labelledby":"creationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[t._v("修改日期:")]),e("p",{attrs:{id:"modificationDateField","aria-labelledby":"modificationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creatorLabel","data-l10n-id":"document_properties_creator"}},[t._v("创建者:")]),e("p",{attrs:{id:"creatorField","aria-labelledby":"creatorLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"producerLabel","data-l10n-id":"document_properties_producer"}},[t._v("OFD 生成器:")]),e("p",{attrs:{id:"producerField","aria-labelledby":"producerLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"versionLabel","data-l10n-id":"document_properties_version"}},[t._v("OFD 版本:")]),e("p",{attrs:{id:"versionField","aria-labelledby":"versionLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[t._v("页数:")]),e("p",{attrs:{id:"pageCountField","aria-labelledby":"pageCountLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[t._v("页面大小:")]),e("p",{attrs:{id:"pageSizeField","aria-labelledby":"pageSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row",attrs:{hidden:"hidden"}},[e("span",{attrs:{id:"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[t._v("快速 Web 视图:")]),e("p",{attrs:{id:"linearizedField","aria-labelledby":"linearizedLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"documentPropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])]),e("dialog",{staticStyle:{"min-width":"200px"},attrs:{id:"printServiceDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{"data-l10n-id":"print_progress_message"}},[t._v("正在准备打印文档…")])]),e("div",{staticClass:"row"},[e("progress",{attrs:{id:"printProgress",value:"0",max:"100"}}),e("span",{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":'{ "progress": 0 }'}},[t._v("0%")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"printCancel"}},[e("span",{attrs:{"data-l10n-id":"print_progress_close"}},[t._v("取消")])])])]),e("dialog",{attrs:{id:"signaturePropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"signerLabel"}},[t._v("签章人:")]),e("p",{attrs:{id:"signerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"providerLabel"}},[t._v("签章提供者:")]),e("p",{attrs:{id:"providerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"hashedValueLabel"}},[t._v("原文摘要值:")]),e("p",{attrs:{id:"hashedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signedValueLabel"}},[t._v("签名值:")]),e("p",{attrs:{id:"signedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signMethodLabel"}},[t._v("签名算法:")]),e("p",{attrs:{id:"signMethodField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signVersionLabel"}},[t._v("版本号:")]),e("p",{attrs:{id:"signVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"verifyLabel"}},[t._v("验签结果:")]),e("p",{attrs:{id:"verifyField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealIDLabel"}},[t._v("印章标识:")]),e("p",{attrs:{id:"sealIDField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealNameLabel"}},[t._v("印章名称:")]),e("p",{attrs:{id:"sealNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealTypeLabel"}},[t._v("印章类型:")]),e("p",{attrs:{id:"sealTypeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealAuthTimeLabel"}},[t._v("有效时间:")]),e("p",{attrs:{id:"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealMakeTimeLabel"}},[t._v("制章日期:")]),e("p",{attrs:{id:"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealVersionLabel"}},[t._v("印章版本:")]),e("p",{attrs:{id:"sealVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"signaturePropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])])])}],!1,null,"30bbca41",null)),u=c.exports;u.install=t=>t.component(u.name,u);var p=u;const h=[p],f=function(t){f.installed||h.map((e=>t.component(e.name,e)))};"undefined"!=typeof window&&window.Vue&&f(window.Vue);var m={install:f,OfdView:p}}(),module.exports=a}();
1655
2
  //# sourceMappingURL=ofd-view.common.js.map