ofd-view 0.1.28 → 0.1.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,485 @@
1
1
  /******/ (function() { // webpackBootstrap
2
- /******/ "use strict";
3
- /******/ // The require scope
4
- /******/ var __webpack_require__ = {};
2
+ /******/ var __webpack_modules__ = ({
3
+
4
+ /***/ 621:
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-6cdf0a0c]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-6cdf0a0c]{display:none}.vdr[data-v-6cdf0a0c]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-6cdf0a0c]{display:block}.handle[data-v-6cdf0a0c]{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-6cdf0a0c]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-6cdf0a0c]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-6cdf0a0c]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-6cdf0a0c]{left:-10px;cursor:w-resize}.handle-ml[data-v-6cdf0a0c],.handle-mr[data-v-6cdf0a0c]{top:50%;margin-top:-5px}.handle-mr[data-v-6cdf0a0c]{right:-10px;cursor:e-resize}.handle-bl[data-v-6cdf0a0c]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-6cdf0a0c]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-6cdf0a0c]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-6cdf0a0c]:before{content:\"\";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-6cdf0a0c]{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-6cdf0a0c]:before{content:\"\\2716\"}.close[data-v-6cdf0a0c]{top:5px;right:2px;position:absolute}", ""]);
19
+ // Exports
20
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
21
+
22
+
23
+ /***/ }),
24
+
25
+ /***/ 645:
26
+ /***/ (function(module) {
27
+
28
+ "use strict";
29
+
30
+
31
+ /*
32
+ MIT License http://www.opensource.org/licenses/mit-license.php
33
+ Author Tobias Koppers @sokra
34
+ */
35
+ module.exports = function (cssWithMappingToString) {
36
+ var list = []; // return the list of modules as css string
37
+
38
+ list.toString = function toString() {
39
+ return this.map(function (item) {
40
+ var content = "";
41
+ var needLayer = typeof item[5] !== "undefined";
42
+
43
+ if (item[4]) {
44
+ content += "@supports (".concat(item[4], ") {");
45
+ }
46
+
47
+ if (item[2]) {
48
+ content += "@media ".concat(item[2], " {");
49
+ }
50
+
51
+ if (needLayer) {
52
+ content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
53
+ }
54
+
55
+ content += cssWithMappingToString(item);
56
+
57
+ if (needLayer) {
58
+ content += "}";
59
+ }
60
+
61
+ if (item[2]) {
62
+ content += "}";
63
+ }
64
+
65
+ if (item[4]) {
66
+ content += "}";
67
+ }
68
+
69
+ return content;
70
+ }).join("");
71
+ }; // import a list of modules into the list
72
+
73
+
74
+ list.i = function i(modules, media, dedupe, supports, layer) {
75
+ if (typeof modules === "string") {
76
+ modules = [[null, modules, undefined]];
77
+ }
78
+
79
+ var alreadyImportedModules = {};
80
+
81
+ if (dedupe) {
82
+ for (var k = 0; k < this.length; k++) {
83
+ var id = this[k][0];
84
+
85
+ if (id != null) {
86
+ alreadyImportedModules[id] = true;
87
+ }
88
+ }
89
+ }
90
+
91
+ for (var _k = 0; _k < modules.length; _k++) {
92
+ var item = [].concat(modules[_k]);
93
+
94
+ if (dedupe && alreadyImportedModules[item[0]]) {
95
+ continue;
96
+ }
97
+
98
+ if (typeof layer !== "undefined") {
99
+ if (typeof item[5] === "undefined") {
100
+ item[5] = layer;
101
+ } else {
102
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
103
+ item[5] = layer;
104
+ }
105
+ }
106
+
107
+ if (media) {
108
+ if (!item[2]) {
109
+ item[2] = media;
110
+ } else {
111
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
112
+ item[2] = media;
113
+ }
114
+ }
115
+
116
+ if (supports) {
117
+ if (!item[4]) {
118
+ item[4] = "".concat(supports);
119
+ } else {
120
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
121
+ item[4] = supports;
122
+ }
123
+ }
124
+
125
+ list.push(item);
126
+ }
127
+ };
128
+
129
+ return list;
130
+ };
131
+
132
+ /***/ }),
133
+
134
+ /***/ 81:
135
+ /***/ (function(module) {
136
+
137
+ "use strict";
138
+
139
+
140
+ module.exports = function (i) {
141
+ return i[1];
142
+ };
143
+
144
+ /***/ }),
145
+
146
+ /***/ 632:
147
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
148
+
149
+ // style-loader: Adds some css to the DOM by adding a <style> tag
150
+
151
+ // load the styles
152
+ var content = __webpack_require__(621);
153
+ if(content.__esModule) content = content.default;
154
+ if(typeof content === 'string') content = [[module.id, content, '']];
155
+ if(content.locals) module.exports = content.locals;
156
+ // add the styles to the DOM
157
+ var add = (__webpack_require__(402)/* ["default"] */ .Z)
158
+ var update = add("2a17a70c", content, true, {"sourceMap":false,"shadowMode":false});
159
+
160
+ /***/ }),
161
+
162
+ /***/ 402:
163
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
164
+
165
+ "use strict";
166
+
167
+ // EXPORTS
168
+ __webpack_require__.d(__webpack_exports__, {
169
+ "Z": function() { return /* binding */ addStylesClient; }
170
+ });
171
+
172
+ ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
173
+ /**
174
+ * Translates the list format produced by css-loader into something
175
+ * easier to manipulate.
176
+ */
177
+ function listToStyles (parentId, list) {
178
+ var styles = []
179
+ var newStyles = {}
180
+ for (var i = 0; i < list.length; i++) {
181
+ var item = list[i]
182
+ var id = item[0]
183
+ var css = item[1]
184
+ var media = item[2]
185
+ var sourceMap = item[3]
186
+ var part = {
187
+ id: parentId + ':' + i,
188
+ css: css,
189
+ media: media,
190
+ sourceMap: sourceMap
191
+ }
192
+ if (!newStyles[id]) {
193
+ styles.push(newStyles[id] = { id: id, parts: [part] })
194
+ } else {
195
+ newStyles[id].parts.push(part)
196
+ }
197
+ }
198
+ return styles
199
+ }
200
+
201
+ ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
202
+ /*
203
+ MIT License http://www.opensource.org/licenses/mit-license.php
204
+ Author Tobias Koppers @sokra
205
+ Modified by Evan You @yyx990803
206
+ */
207
+
208
+
209
+
210
+ var hasDocument = typeof document !== 'undefined'
211
+
212
+ if (typeof DEBUG !== 'undefined' && DEBUG) {
213
+ if (!hasDocument) {
214
+ throw new Error(
215
+ 'vue-style-loader cannot be used in a non-browser environment. ' +
216
+ "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
217
+ ) }
218
+ }
219
+
220
+ /*
221
+ type StyleObject = {
222
+ id: number;
223
+ parts: Array<StyleObjectPart>
224
+ }
225
+
226
+ type StyleObjectPart = {
227
+ css: string;
228
+ media: string;
229
+ sourceMap: ?string
230
+ }
231
+ */
232
+
233
+ var stylesInDom = {/*
234
+ [id: number]: {
235
+ id: number,
236
+ refs: number,
237
+ parts: Array<(obj?: StyleObjectPart) => void>
238
+ }
239
+ */}
240
+
241
+ var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
242
+ var singletonElement = null
243
+ var singletonCounter = 0
244
+ var isProduction = false
245
+ var noop = function () {}
246
+ var options = null
247
+ var ssrIdKey = 'data-vue-ssr-id'
248
+
249
+ // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
250
+ // tags it will allow on a page
251
+ var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
252
+
253
+ function addStylesClient (parentId, list, _isProduction, _options) {
254
+ isProduction = _isProduction
255
+
256
+ options = _options || {}
257
+
258
+ var styles = listToStyles(parentId, list)
259
+ addStylesToDom(styles)
260
+
261
+ return function update (newList) {
262
+ var mayRemove = []
263
+ for (var i = 0; i < styles.length; i++) {
264
+ var item = styles[i]
265
+ var domStyle = stylesInDom[item.id]
266
+ domStyle.refs--
267
+ mayRemove.push(domStyle)
268
+ }
269
+ if (newList) {
270
+ styles = listToStyles(parentId, newList)
271
+ addStylesToDom(styles)
272
+ } else {
273
+ styles = []
274
+ }
275
+ for (var i = 0; i < mayRemove.length; i++) {
276
+ var domStyle = mayRemove[i]
277
+ if (domStyle.refs === 0) {
278
+ for (var j = 0; j < domStyle.parts.length; j++) {
279
+ domStyle.parts[j]()
280
+ }
281
+ delete stylesInDom[domStyle.id]
282
+ }
283
+ }
284
+ }
285
+ }
286
+
287
+ function addStylesToDom (styles /* Array<StyleObject> */) {
288
+ for (var i = 0; i < styles.length; i++) {
289
+ var item = styles[i]
290
+ var domStyle = stylesInDom[item.id]
291
+ if (domStyle) {
292
+ domStyle.refs++
293
+ for (var j = 0; j < domStyle.parts.length; j++) {
294
+ domStyle.parts[j](item.parts[j])
295
+ }
296
+ for (; j < item.parts.length; j++) {
297
+ domStyle.parts.push(addStyle(item.parts[j]))
298
+ }
299
+ if (domStyle.parts.length > item.parts.length) {
300
+ domStyle.parts.length = item.parts.length
301
+ }
302
+ } else {
303
+ var parts = []
304
+ for (var j = 0; j < item.parts.length; j++) {
305
+ parts.push(addStyle(item.parts[j]))
306
+ }
307
+ stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
308
+ }
309
+ }
310
+ }
311
+
312
+ function createStyleElement () {
313
+ var styleElement = document.createElement('style')
314
+ styleElement.type = 'text/css'
315
+ head.appendChild(styleElement)
316
+ return styleElement
317
+ }
318
+
319
+ function addStyle (obj /* StyleObjectPart */) {
320
+ var update, remove
321
+ var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
322
+
323
+ if (styleElement) {
324
+ if (isProduction) {
325
+ // has SSR styles and in production mode.
326
+ // simply do nothing.
327
+ return noop
328
+ } else {
329
+ // has SSR styles but in dev mode.
330
+ // for some reason Chrome can't handle source map in server-rendered
331
+ // style tags - source maps in <style> only works if the style tag is
332
+ // created and inserted dynamically. So we remove the server rendered
333
+ // styles and inject new ones.
334
+ styleElement.parentNode.removeChild(styleElement)
335
+ }
336
+ }
337
+
338
+ if (isOldIE) {
339
+ // use singleton mode for IE9.
340
+ var styleIndex = singletonCounter++
341
+ styleElement = singletonElement || (singletonElement = createStyleElement())
342
+ update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
343
+ remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
344
+ } else {
345
+ // use multi-style-tag mode in all other cases
346
+ styleElement = createStyleElement()
347
+ update = applyToTag.bind(null, styleElement)
348
+ remove = function () {
349
+ styleElement.parentNode.removeChild(styleElement)
350
+ }
351
+ }
352
+
353
+ update(obj)
354
+
355
+ return function updateStyle (newObj /* StyleObjectPart */) {
356
+ if (newObj) {
357
+ if (newObj.css === obj.css &&
358
+ newObj.media === obj.media &&
359
+ newObj.sourceMap === obj.sourceMap) {
360
+ return
361
+ }
362
+ update(obj = newObj)
363
+ } else {
364
+ remove()
365
+ }
366
+ }
367
+ }
368
+
369
+ var replaceText = (function () {
370
+ var textStore = []
371
+
372
+ return function (index, replacement) {
373
+ textStore[index] = replacement
374
+ return textStore.filter(Boolean).join('\n')
375
+ }
376
+ })()
377
+
378
+ function applyToSingletonTag (styleElement, index, remove, obj) {
379
+ var css = remove ? '' : obj.css
380
+
381
+ if (styleElement.styleSheet) {
382
+ styleElement.styleSheet.cssText = replaceText(index, css)
383
+ } else {
384
+ var cssNode = document.createTextNode(css)
385
+ var childNodes = styleElement.childNodes
386
+ if (childNodes[index]) styleElement.removeChild(childNodes[index])
387
+ if (childNodes.length) {
388
+ styleElement.insertBefore(cssNode, childNodes[index])
389
+ } else {
390
+ styleElement.appendChild(cssNode)
391
+ }
392
+ }
393
+ }
394
+
395
+ function applyToTag (styleElement, obj) {
396
+ var css = obj.css
397
+ var media = obj.media
398
+ var sourceMap = obj.sourceMap
399
+
400
+ if (media) {
401
+ styleElement.setAttribute('media', media)
402
+ }
403
+ if (options.ssrId) {
404
+ styleElement.setAttribute(ssrIdKey, obj.id)
405
+ }
406
+
407
+ if (sourceMap) {
408
+ // https://developer.chrome.com/devtools/docs/javascript-debugging
409
+ // this makes source maps inside style tags work properly in Chrome
410
+ css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
411
+ // http://stackoverflow.com/a/26603875
412
+ css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
413
+ }
414
+
415
+ if (styleElement.styleSheet) {
416
+ styleElement.styleSheet.cssText = css
417
+ } else {
418
+ while (styleElement.firstChild) {
419
+ styleElement.removeChild(styleElement.firstChild)
420
+ }
421
+ styleElement.appendChild(document.createTextNode(css))
422
+ }
423
+ }
424
+
425
+
426
+ /***/ }),
427
+
428
+ /***/ 17:
429
+ /***/ (function(module) {
430
+
431
+ "use strict";
432
+ module.exports = require("ofd.js");
433
+
434
+ /***/ }),
435
+
436
+ /***/ 836:
437
+ /***/ (function(module) {
438
+
439
+ "use strict";
440
+ module.exports = require("parser_x.js");
441
+
442
+ /***/ })
443
+
444
+ /******/ });
445
+ /************************************************************************/
446
+ /******/ // The module cache
447
+ /******/ var __webpack_module_cache__ = {};
448
+ /******/
449
+ /******/ // The require function
450
+ /******/ function __webpack_require__(moduleId) {
451
+ /******/ // Check if module is in cache
452
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
453
+ /******/ if (cachedModule !== undefined) {
454
+ /******/ return cachedModule.exports;
455
+ /******/ }
456
+ /******/ // Create a new module (and put it into the cache)
457
+ /******/ var module = __webpack_module_cache__[moduleId] = {
458
+ /******/ id: moduleId,
459
+ /******/ // no module.loaded needed
460
+ /******/ exports: {}
461
+ /******/ };
462
+ /******/
463
+ /******/ // Execute the module function
464
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
465
+ /******/
466
+ /******/ // Return the exports of the module
467
+ /******/ return module.exports;
468
+ /******/ }
5
469
  /******/
6
470
  /************************************************************************/
471
+ /******/ /* webpack/runtime/compat get default export */
472
+ /******/ !function() {
473
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
474
+ /******/ __webpack_require__.n = function(module) {
475
+ /******/ var getter = module && module.__esModule ?
476
+ /******/ function() { return module['default']; } :
477
+ /******/ function() { return module; };
478
+ /******/ __webpack_require__.d(getter, { a: getter });
479
+ /******/ return getter;
480
+ /******/ };
481
+ /******/ }();
482
+ /******/
7
483
  /******/ /* webpack/runtime/define property getters */
8
484
  /******/ !function() {
9
485
  /******/ // define getter functions for harmony exports
@@ -39,6 +515,9 @@
39
515
  /******/
40
516
  /************************************************************************/
41
517
  var __webpack_exports__ = {};
518
+ // This entry need to be wrapped in an IIFE because it need to be in strict mode.
519
+ !function() {
520
+ "use strict";
42
521
  // ESM COMPAT FLAG
43
522
  __webpack_require__.r(__webpack_exports__);
44
523
 
@@ -64,900 +543,618 @@ if (typeof window !== 'undefined') {
64
543
  // Indicate to webpack that this file can be concatenated
65
544
  /* harmony default export */ var setPublicPath = (null);
66
545
 
67
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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=6f77318f&scoped=true&
68
- var render = function render() {
69
- var _vm = this,
70
- _c = _vm._self._c;
71
- return _vm._m(0);
72
- };
73
- var staticRenderFns = [function () {
74
- var _vm = this,
75
- _c = _vm._self._c;
76
- return _c('div', {
77
- attrs: {
78
- "id": "outerContainer"
79
- }
80
- }, [_c('div', {
81
- attrs: {
82
- "id": "mainContainer"
83
- }
84
- }, [_c('div', {
85
- staticClass: "secondaryToolbar hidden doorHangerRight",
86
- attrs: {
87
- "id": "secondaryToolbar"
88
- }
89
- }, [_c('div', {
90
- attrs: {
91
- "id": "secondaryToolbarButtonContainer"
92
- }
93
- }, [_c('button', {
94
- staticClass: "secondaryToolbarButton openFile visibleLargeView",
95
- attrs: {
96
- "id": "secondaryOpenFile",
97
- "title": "打开文件",
98
- "tabindex": "52",
99
- "data-l10n-id": "open_file"
100
- }
101
- }, [_c('span', {
102
- attrs: {
103
- "data-l10n-id": "open_file_label"
104
- }
105
- }, [_vm._v("打开")])]), _c('button', {
106
- staticClass: "secondaryToolbarButton print visibleMediumView",
107
- attrs: {
108
- "id": "secondaryPrint",
109
- "title": "打印",
110
- "tabindex": "53",
111
- "data-l10n-id": "print"
112
- }
113
- }, [_c('span', {
114
- attrs: {
115
- "data-l10n-id": "print_label"
116
- }
117
- }, [_vm._v("打印")])]), _c('button', {
118
- staticClass: "secondaryToolbarButton documentProperties",
119
- attrs: {
120
- "id": "documentProperties",
121
- "title": "文档属性…",
122
- "tabindex": "69",
123
- "data-l10n-id": "document_properties",
124
- "aria-controls": "documentPropertiesDialog"
125
- }
126
- }, [_c('span', {
127
- attrs: {
128
- "data-l10n-id": "document_properties_label"
129
- }
130
- }, [_vm._v("文档属性…")])])])]), _vm._v(" "), _c('div', {
131
- staticClass: "toolbar"
132
- }, [_c('div', {
133
- attrs: {
134
- "id": "toolbarContainer"
135
- }
136
- }, [_c('div', {
137
- attrs: {
138
- "id": "toolbarViewer"
139
- }
140
- }, [_c('div', {
141
- attrs: {
142
- "id": "toolbarViewerLeft"
143
- }
144
- }, [_c('div', {
145
- staticClass: "splitToolbarButton hiddenSmallView"
146
- }, [_c('button', {
147
- staticClass: "toolbarButton pageUp",
148
- attrs: {
149
- "title": "上一页",
150
- "id": "previous",
151
- "tabindex": "13",
152
- "data-l10n-id": "previous"
153
- }
154
- }, [_c('span', {
155
- attrs: {
156
- "data-l10n-id": "previous_label"
157
- }
158
- }, [_vm._v("上一页")])]), _c('div', {
159
- staticClass: "splitToolbarButtonSeparator"
160
- }), _c('button', {
161
- staticClass: "toolbarButton pageDown",
162
- attrs: {
163
- "title": "下一页",
164
- "id": "next",
165
- "tabindex": "14",
166
- "data-l10n-id": "next"
167
- }
168
- }, [_c('span', {
169
- attrs: {
170
- "data-l10n-id": "next_label"
171
- }
172
- }, [_vm._v("下一页")])])]), _c('input', {
173
- staticClass: "toolbarField pageNumber",
174
- attrs: {
175
- "type": "number",
176
- "id": "pageNumber",
177
- "title": "页面",
178
- "value": "1",
179
- "size": "4",
180
- "min": "1",
181
- "tabindex": "15",
182
- "data-l10n-id": "page",
183
- "autocomplete": "off"
184
- }
185
- }), _c('span', {
186
- staticClass: "toolbarLabel",
187
- attrs: {
188
- "id": "numPages"
189
- }
190
- })]), _c('div', {
191
- attrs: {
192
- "id": "toolbarViewerRight"
193
- }
194
- }, [_c('button', {
195
- staticClass: "toolbarButton openFile hiddenLargeView",
196
- attrs: {
197
- "id": "openFile",
198
- "title": "打开文件",
199
- "tabindex": "32",
200
- "data-l10n-id": "open_file"
201
- }
202
- }, [_c('span', {
203
- attrs: {
204
- "data-l10n-id": "open_file_label"
205
- }
206
- }, [_vm._v("打开")])]), _c('button', {
207
- staticClass: "toolbarButton print hiddenMediumView",
208
- attrs: {
209
- "id": "print",
210
- "title": "打印",
211
- "tabindex": "33",
212
- "data-l10n-id": "print"
213
- }
214
- }, [_c('span', {
215
- attrs: {
216
- "data-l10n-id": "print_label"
217
- }
218
- }, [_vm._v("打印")])]), _c('div', {
219
- staticClass: "verticalToolbarSeparator hiddenSmallView"
220
- }), _c('button', {
221
- staticClass: "toolbarButton",
222
- attrs: {
223
- "id": "secondaryToolbarToggle",
224
- "title": "工具",
225
- "tabindex": "36",
226
- "data-l10n-id": "tools",
227
- "aria-expanded": "false",
228
- "aria-controls": "secondaryToolbar"
229
- }
230
- }, [_c('span', {
231
- attrs: {
232
- "data-l10n-id": "tools_label"
233
- }
234
- }, [_vm._v("工具")])])]), _c('div', {
235
- attrs: {
236
- "id": "toolbarViewerMiddle"
237
- }
238
- }, [_c('div', {
239
- staticClass: "splitToolbarButton"
240
- }, [_c('button', {
241
- staticClass: "toolbarButton zoomOut",
242
- attrs: {
243
- "id": "zoomOut",
244
- "title": "缩小",
245
- "tabindex": "21",
246
- "data-l10n-id": "zoom_out"
247
- }
248
- }, [_c('span', {
249
- attrs: {
250
- "data-l10n-id": "zoom_out_label"
251
- }
252
- }, [_vm._v("缩小")])]), _c('div', {
253
- staticClass: "splitToolbarButtonSeparator"
254
- }), _c('button', {
255
- staticClass: "toolbarButton zoomIn",
256
- attrs: {
257
- "id": "zoomIn",
258
- "title": "放大",
259
- "tabindex": "22",
260
- "data-l10n-id": "zoom_in"
261
- }
262
- }, [_c('span', {
263
- attrs: {
264
- "data-l10n-id": "zoom_in_label"
265
- }
266
- }, [_vm._v("放大")])])]), _c('span', {
267
- staticClass: "dropdownToolbarButton",
268
- attrs: {
269
- "id": "scaleSelectContainer"
270
- }
271
- }, [_c('select', {
272
- attrs: {
273
- "id": "scaleSelect",
274
- "title": "缩放",
275
- "tabindex": "23",
276
- "data-l10n-id": "zoom"
277
- }
278
- }, [_c('option', {
279
- attrs: {
280
- "id": "pageAutoOption",
281
- "title": "",
282
- "value": "auto",
283
- "selected": "selected",
284
- "data-l10n-id": "page_scale_auto"
285
- }
286
- }, [_vm._v("自动缩放")]), _c('option', {
287
- attrs: {
288
- "id": "pageActualOption",
289
- "title": "",
290
- "value": "page-actual",
291
- "data-l10n-id": "page_scale_actual"
292
- }
293
- }, [_vm._v("实际大小")]), _c('option', {
294
- attrs: {
295
- "id": "pageFitOption",
296
- "title": "",
297
- "value": "page-fit",
298
- "data-l10n-id": "page_scale_fit"
299
- }
300
- }, [_vm._v("适合页面")]), _c('option', {
301
- attrs: {
302
- "id": "pageWidthOption",
303
- "title": "",
304
- "value": "page-width",
305
- "data-l10n-id": "page_scale_width"
306
- }
307
- }, [_vm._v("适合页宽")]), _c('option', {
308
- attrs: {
309
- "id": "customScaleOption",
310
- "title": "",
311
- "value": "custom",
312
- "disabled": "disabled",
313
- "hidden": "true"
314
- }
315
- }), _c('option', {
316
- attrs: {
317
- "title": "",
318
- "value": "0.5",
319
- "data-l10n-id": "page_scale_percent",
320
- "data-l10n-args": "{ \"scale\": 50 }"
321
- }
322
- }, [_vm._v("50%")]), _c('option', {
323
- attrs: {
324
- "title": "",
325
- "value": "0.75",
326
- "data-l10n-id": "page_scale_percent",
327
- "data-l10n-args": "{ \"scale\": 75 }"
328
- }
329
- }, [_vm._v("75%")]), _c('option', {
330
- attrs: {
331
- "title": "",
332
- "value": "1",
333
- "data-l10n-id": "page_scale_percent",
334
- "data-l10n-args": "{ \"scale\": 100 }"
335
- }
336
- }, [_vm._v("100%")]), _c('option', {
337
- attrs: {
338
- "title": "",
339
- "value": "1.25",
340
- "data-l10n-id": "page_scale_percent",
341
- "data-l10n-args": "{ \"scale\": 125 }"
342
- }
343
- }, [_vm._v("125%")]), _c('option', {
344
- attrs: {
345
- "title": "",
346
- "value": "1.5",
347
- "data-l10n-id": "page_scale_percent",
348
- "data-l10n-args": "{ \"scale\": 150 }"
349
- }
350
- }, [_vm._v("150%")]), _c('option', {
351
- attrs: {
352
- "title": "",
353
- "value": "2",
354
- "data-l10n-id": "page_scale_percent",
355
- "data-l10n-args": "{ \"scale\": 200 }"
356
- }
357
- }, [_vm._v("200%")]), _c('option', {
358
- attrs: {
359
- "title": "",
360
- "value": "3",
361
- "data-l10n-id": "page_scale_percent",
362
- "data-l10n-args": "{ \"scale\": 300 }"
363
- }
364
- }, [_vm._v("300%")]), _c('option', {
365
- attrs: {
366
- "title": "",
367
- "value": "4",
368
- "data-l10n-id": "page_scale_percent",
369
- "data-l10n-args": "{ \"scale\": 400 }"
370
- }
371
- }, [_vm._v("400%")])])])])])])]), _c('div', {
372
- attrs: {
373
- "id": "viewerContainer",
374
- "tabindex": "0"
375
- }
376
- }, [_c('div', {
377
- staticClass: "pdfViewer",
378
- attrs: {
379
- "id": "viewer"
380
- }
381
- })]), _c('div', {
382
- attrs: {
383
- "id": "errorWrapper",
384
- "hidden": "true"
385
- }
386
- }, [_c('div', {
387
- attrs: {
388
- "id": "errorMessageLeft"
389
- }
390
- }, [_c('span', {
391
- attrs: {
392
- "id": "errorMessage"
393
- }
394
- }), _c('button', {
395
- attrs: {
396
- "id": "errorShowMore",
397
- "data-l10n-id": "error_more_info"
398
- }
399
- }, [_vm._v(" More Information ")]), _c('button', {
400
- attrs: {
401
- "id": "errorShowLess",
402
- "data-l10n-id": "error_less_info",
403
- "hidden": "true"
404
- }
405
- }, [_vm._v(" Less Information ")])]), _c('div', {
406
- attrs: {
407
- "id": "errorMessageRight"
408
- }
409
- }, [_c('button', {
410
- attrs: {
411
- "id": "errorClose",
412
- "data-l10n-id": "error_close"
413
- }
414
- }, [_vm._v(" Close ")])]), _c('div', {
415
- staticClass: "clearBoth"
416
- }), _c('textarea', {
417
- attrs: {
418
- "id": "errorMoreInfo",
419
- "hidden": "true",
420
- "readonly": "readonly"
421
- }
422
- })])]), _vm._v(" "), _c('div', {
423
- attrs: {
424
- "id": "dialogContainer"
425
- }
426
- }, [_c('dialog', {
427
- attrs: {
428
- "id": "documentPropertiesDialog"
429
- }
430
- }, [_c('div', {
431
- staticClass: "row"
432
- }, [_c('span', {
433
- attrs: {
434
- "id": "fileNameLabel",
435
- "data-l10n-id": "document_properties_file_name"
436
- }
437
- }, [_vm._v("文件名:")]), _c('p', {
438
- attrs: {
439
- "id": "fileNameField",
440
- "aria-labelledby": "fileNameLabel"
441
- }
442
- }, [_vm._v("-")])]), _c('div', {
443
- staticClass: "row"
444
- }, [_c('span', {
445
- attrs: {
446
- "id": "fileSizeLabel",
447
- "data-l10n-id": "document_properties_file_size"
448
- }
449
- }, [_vm._v("文件大小:")]), _c('p', {
450
- attrs: {
451
- "id": "fileSizeField",
452
- "aria-labelledby": "fileSizeLabel"
453
- }
454
- }, [_vm._v("-")])]), _c('div', {
455
- staticClass: "separator"
456
- }), _c('div', {
457
- staticClass: "row"
458
- }, [_c('span', {
459
- attrs: {
460
- "id": "titleLabel",
461
- "data-l10n-id": "document_properties_title"
462
- }
463
- }, [_vm._v("标题:")]), _c('p', {
464
- attrs: {
465
- "id": "titleField",
466
- "aria-labelledby": "titleLabel"
467
- }
468
- }, [_vm._v("-")])]), _c('div', {
469
- staticClass: "row"
470
- }, [_c('span', {
471
- attrs: {
472
- "id": "authorLabel",
473
- "data-l10n-id": "document_properties_author"
474
- }
475
- }, [_vm._v("作者:")]), _c('p', {
476
- attrs: {
477
- "id": "authorField",
478
- "aria-labelledby": "authorLabel"
479
- }
480
- }, [_vm._v("-")])]), _c('div', {
481
- staticClass: "row"
482
- }, [_c('span', {
483
- attrs: {
484
- "id": "subjectLabel",
485
- "data-l10n-id": "document_properties_subject"
486
- }
487
- }, [_vm._v("主题:")]), _c('p', {
488
- attrs: {
489
- "id": "subjectField",
490
- "aria-labelledby": "subjectLabel"
491
- }
492
- }, [_vm._v("-")])]), _c('div', {
493
- staticClass: "row"
494
- }, [_c('span', {
495
- attrs: {
496
- "id": "keywordsLabel",
497
- "data-l10n-id": "document_properties_keywords"
498
- }
499
- }, [_vm._v("关键词:")]), _c('p', {
500
- attrs: {
501
- "id": "keywordsField",
502
- "aria-labelledby": "keywordsLabel"
503
- }
504
- }, [_vm._v("-")])]), _c('div', {
505
- staticClass: "row"
506
- }, [_c('span', {
507
- attrs: {
508
- "id": "creationDateLabel",
509
- "data-l10n-id": "document_properties_creation_date"
510
- }
511
- }, [_vm._v("创建日期:")]), _c('p', {
512
- attrs: {
513
- "id": "creationDateField",
514
- "aria-labelledby": "creationDateLabel"
515
- }
516
- }, [_vm._v("-")])]), _c('div', {
517
- staticClass: "row"
518
- }, [_c('span', {
519
- attrs: {
520
- "id": "modificationDateLabel",
521
- "data-l10n-id": "document_properties_modification_date"
522
- }
523
- }, [_vm._v("修改日期:")]), _c('p', {
524
- attrs: {
525
- "id": "modificationDateField",
526
- "aria-labelledby": "modificationDateLabel"
527
- }
528
- }, [_vm._v("-")])]), _c('div', {
529
- staticClass: "row"
530
- }, [_c('span', {
531
- attrs: {
532
- "id": "creatorLabel",
533
- "data-l10n-id": "document_properties_creator"
534
- }
535
- }, [_vm._v("创建者:")]), _c('p', {
536
- attrs: {
537
- "id": "creatorField",
538
- "aria-labelledby": "creatorLabel"
539
- }
540
- }, [_vm._v("-")])]), _c('div', {
541
- staticClass: "separator"
542
- }), _c('div', {
543
- staticClass: "row"
544
- }, [_c('span', {
545
- attrs: {
546
- "id": "producerLabel",
547
- "data-l10n-id": "document_properties_producer"
548
- }
549
- }, [_vm._v("OFD 生成器:")]), _c('p', {
550
- attrs: {
551
- "id": "producerField",
552
- "aria-labelledby": "producerLabel"
553
- }
554
- }, [_vm._v("-")])]), _c('div', {
555
- staticClass: "row"
556
- }, [_c('span', {
557
- attrs: {
558
- "id": "versionLabel",
559
- "data-l10n-id": "document_properties_version"
560
- }
561
- }, [_vm._v("OFD 版本:")]), _c('p', {
562
- attrs: {
563
- "id": "versionField",
564
- "aria-labelledby": "versionLabel"
565
- }
566
- }, [_vm._v("-")])]), _c('div', {
567
- staticClass: "row"
568
- }, [_c('span', {
569
- attrs: {
570
- "id": "pageCountLabel",
571
- "data-l10n-id": "document_properties_page_count"
572
- }
573
- }, [_vm._v("页数:")]), _c('p', {
574
- attrs: {
575
- "id": "pageCountField",
576
- "aria-labelledby": "pageCountLabel"
577
- }
578
- }, [_vm._v("-")])]), _c('div', {
579
- staticClass: "row"
580
- }, [_c('span', {
581
- attrs: {
582
- "id": "pageSizeLabel",
583
- "data-l10n-id": "document_properties_page_size"
584
- }
585
- }, [_vm._v("页面大小:")]), _c('p', {
586
- attrs: {
587
- "id": "pageSizeField",
588
- "aria-labelledby": "pageSizeLabel"
589
- }
590
- }, [_vm._v("-")])]), _c('div', {
591
- staticClass: "separator"
592
- }), _c('div', {
593
- staticClass: "row",
594
- attrs: {
595
- "hidden": "hidden"
596
- }
597
- }, [_c('span', {
598
- attrs: {
599
- "id": "linearizedLabel",
600
- "data-l10n-id": "document_properties_linearized"
601
- }
602
- }, [_vm._v("快速 Web 视图:")]), _c('p', {
603
- attrs: {
604
- "id": "linearizedField",
605
- "aria-labelledby": "linearizedLabel"
606
- }
607
- }, [_vm._v("-")])]), _c('div', {
608
- staticClass: "buttonRow"
609
- }, [_c('button', {
610
- staticClass: "dialogButton",
611
- attrs: {
612
- "id": "documentPropertiesClose"
613
- }
614
- }, [_c('span', {
615
- attrs: {
616
- "data-l10n-id": "document_properties_close"
617
- }
618
- }, [_vm._v("关闭")])])])]), _c('dialog', {
619
- staticStyle: {
620
- "min-width": "200px"
621
- },
622
- attrs: {
623
- "id": "printServiceDialog"
624
- }
625
- }, [_c('div', {
626
- staticClass: "row"
627
- }, [_c('span', {
628
- attrs: {
629
- "data-l10n-id": "print_progress_message"
630
- }
631
- }, [_vm._v("正在准备打印文档…")])]), _c('div', {
632
- staticClass: "row"
633
- }, [_c('progress', {
634
- attrs: {
635
- "id": "printProgress",
636
- "value": "0",
637
- "max": "100"
638
- }
639
- }), _c('span', {
640
- staticClass: "relative-progress",
641
- attrs: {
642
- "data-l10n-id": "print_progress_percent",
643
- "data-l10n-args": "{ \"progress\": 0 }"
644
- }
645
- }, [_vm._v("0%")])]), _c('div', {
646
- staticClass: "buttonRow"
647
- }, [_c('button', {
648
- staticClass: "dialogButton",
649
- attrs: {
650
- "id": "printCancel"
651
- }
652
- }, [_c('span', {
653
- attrs: {
654
- "data-l10n-id": "print_progress_close"
655
- }
656
- }, [_vm._v("取消")])])])]), _c('dialog', {
657
- attrs: {
658
- "id": "signaturePropertiesDialog"
659
- }
660
- }, [_c('div', {
661
- staticClass: "row"
662
- }, [_c('span', {
663
- attrs: {
664
- "id": "signerLabel"
665
- }
666
- }, [_vm._v("签章人:")]), _c('p', {
667
- attrs: {
668
- "id": "signerField",
669
- "aria-labelledby": "fileNameLabel"
670
- }
671
- }, [_vm._v("-")])]), _c('div', {
672
- staticClass: "row"
673
- }, [_c('span', {
674
- attrs: {
675
- "id": "providerLabel"
676
- }
677
- }, [_vm._v("签章提供者:")]), _c('p', {
678
- attrs: {
679
- "id": "providerField",
680
- "aria-labelledby": "fileNameLabel"
681
- }
682
- }, [_vm._v("-")])]), _c('div', {
683
- staticClass: "row"
684
- }, [_c('span', {
685
- attrs: {
686
- "id": "hashedValueLabel"
687
- }
688
- }, [_vm._v("原文摘要值:")]), _c('p', {
689
- attrs: {
690
- "id": "hashedValueField",
691
- "aria-labelledby": "fileNameLabel"
692
- }
693
- }, [_vm._v("-")])]), _c('div', {
694
- staticClass: "row"
695
- }, [_c('span', {
696
- attrs: {
697
- "id": "signedValueLabel"
698
- }
699
- }, [_vm._v("签名值:")]), _c('p', {
700
- attrs: {
701
- "id": "signedValueField",
702
- "aria-labelledby": "fileNameLabel"
703
- }
704
- }, [_vm._v("-")])]), _c('div', {
705
- staticClass: "row"
706
- }, [_c('span', {
707
- attrs: {
708
- "id": "signMethodLabel"
709
- }
710
- }, [_vm._v("签名算法:")]), _c('p', {
711
- attrs: {
712
- "id": "signMethodField",
713
- "aria-labelledby": "fileNameLabel"
714
- }
715
- }, [_vm._v("-")])]), _c('div', {
716
- staticClass: "row"
717
- }, [_c('span', {
718
- attrs: {
719
- "id": "signVersionLabel"
720
- }
721
- }, [_vm._v("版本号:")]), _c('p', {
722
- attrs: {
723
- "id": "signVersionField",
724
- "aria-labelledby": "fileNameLabel"
725
- }
726
- }, [_vm._v("-")])]), _c('div', {
727
- staticClass: "row"
728
- }, [_c('span', {
729
- attrs: {
730
- "id": "verifyLabel"
731
- }
732
- }, [_vm._v("验签结果:")]), _c('p', {
733
- attrs: {
734
- "id": "verifyField",
735
- "aria-labelledby": "fileNameLabel"
736
- }
737
- }, [_vm._v("-")])]), _c('div', {
738
- staticClass: "separator"
739
- }), _c('div', {
740
- staticClass: "row"
741
- }, [_c('span', {
742
- attrs: {
743
- "id": "sealIDLabel"
744
- }
745
- }, [_vm._v("印章标识:")]), _c('p', {
746
- attrs: {
747
- "id": "sealIDField",
748
- "aria-labelledby": "fileNameLabel"
749
- }
750
- }, [_vm._v("-")])]), _c('div', {
751
- staticClass: "row"
752
- }, [_c('span', {
753
- attrs: {
754
- "id": "sealNameLabel"
755
- }
756
- }, [_vm._v("印章名称:")]), _c('p', {
757
- attrs: {
758
- "id": "sealNameField",
759
- "aria-labelledby": "fileNameLabel"
760
- }
761
- }, [_vm._v("-")])]), _c('div', {
762
- staticClass: "row"
763
- }, [_c('span', {
764
- attrs: {
765
- "id": "sealTypeLabel"
766
- }
767
- }, [_vm._v("印章类型:")]), _c('p', {
768
- attrs: {
769
- "id": "sealTypeField",
770
- "aria-labelledby": "fileNameLabel"
771
- }
772
- }, [_vm._v("-")])]), _c('div', {
773
- staticClass: "row"
774
- }, [_c('span', {
775
- attrs: {
776
- "id": "sealAuthTimeLabel"
777
- }
778
- }, [_vm._v("有效时间:")]), _c('p', {
779
- attrs: {
780
- "id": "sealAuthTimeField",
781
- "aria-labelledby": "fileNameLabel"
782
- }
783
- }, [_vm._v("-")])]), _c('div', {
784
- staticClass: "row"
785
- }, [_c('span', {
786
- attrs: {
787
- "id": "sealMakeTimeLabel"
788
- }
789
- }, [_vm._v("制章日期:")]), _c('p', {
790
- attrs: {
791
- "id": "sealMakeTimeField",
792
- "aria-labelledby": "fileNameLabel"
793
- }
794
- }, [_vm._v("-")])]), _c('div', {
795
- staticClass: "row"
796
- }, [_c('span', {
797
- attrs: {
798
- "id": "sealVersionLabel"
799
- }
800
- }, [_vm._v("印章版本:")]), _c('p', {
801
- attrs: {
802
- "id": "sealVersionField",
803
- "aria-labelledby": "fileNameLabel"
804
- }
805
- }, [_vm._v("-")])]), _c('div', {
806
- staticClass: "buttonRow"
807
- }, [_c('button', {
808
- staticClass: "dialogButton",
809
- attrs: {
810
- "id": "signaturePropertiesClose"
811
- }
812
- }, [_c('span', {
813
- attrs: {
814
- "data-l10n-id": "document_properties_close"
815
- }
816
- }, [_vm._v("关闭")])])])])])]);
817
- }];
546
+ ;// 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=4f83f1c8&scoped=true&
547
+ var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"outerContainer"}},[_c('div',{attrs:{"id":"mainContainer"}},[_vm._m(0),_vm._v(" "),_vm._m(1),_c('div',{attrs:{"id":"viewerContainer","tabindex":"0"}},[_c('div',{staticClass:"pdfViewer",attrs:{"id":"viewer"}},_vm._l((_vm.stamps),function(stamp,index){return (_vm.viewVisible)?_c('vue-draggable-resizable',{key:stamp.key,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.pdfViewer._pages,"currentPage":_vm.sp,"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._m(2)]),_vm._v(" "),_vm._m(3)])
548
+ }
549
+ var staticRenderFns = [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 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("文档属性…")])])])])
550
+ },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('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%")])])])])])])])
551
+ },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"}})])
552
+ },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("关闭")])])])])])
553
+ }]
818
554
 
819
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=6f77318f&scoped=true&
820
555
 
821
- ;// CONCATENATED MODULE: external {"commonjs":"ofd.js","commonjs2":"ofd.js","root":"ofd"}
822
- var external_commonjs_ofd_js_commonjs2_ofd_js_root_ofd_namespaceObject = require("ofd.js");
823
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=script&lang=js&
556
+ ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=4f83f1c8&scoped=true&
557
+
558
+ ;// 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=6cdf0a0c&scoped=true&
559
+ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"vdr",class:{
560
+ draggable: _vm.draggable,
561
+ resizable: _vm.resizable,
562
+ active: _vm.enabled,
563
+ dragging: _vm.dragging,
564
+ resizing: _vm.resizing
565
+ },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)
566
+ }
567
+ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns = []
568
+
569
+
570
+ ;// 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&
571
+
572
+ function isFunction (func) {
573
+ return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'
574
+ }
575
+
576
+ function matchesSelectorToParentElements (el, selector, baseNode) {
577
+ let node = el;
578
+ const matchesSelectorFunc = [
579
+ 'matches',
580
+ 'webkitMatchesSelector',
581
+ 'mozMatchesSelector',
582
+ 'msMatchesSelector',
583
+ 'oMatchesSelector'
584
+ ].find(func => isFunction(node[func]));
585
+
586
+ if (!isFunction(node[matchesSelectorFunc])) return false;
587
+
588
+ do {
589
+ if (node[matchesSelectorFunc](selector)) return true;
590
+ if (node === baseNode) return false;
591
+ node = node.parentNode
592
+ } while (node);
593
+
594
+ return false
595
+ }
596
+
597
+ /* harmony default export */ var draggable_resizablevue_type_script_lang_js_ = ({
598
+ replace: true,
599
+ name: 'VueDraggableResizable',
600
+ props: {
601
+ active: {
602
+ type: Boolean, default: false
603
+ },
604
+ draggable: {
605
+ type: Boolean, default: true
606
+ },
607
+ resizable: {
608
+ type: Boolean, default: true
609
+ },
610
+ editable: {
611
+ type: Boolean, default: true
612
+ },
613
+ w: {
614
+ type: Number,
615
+ default: 200,
616
+ validator: function (val) {
617
+ return val > 0
618
+ }
619
+ },
620
+ h: {
621
+ type: Number,
622
+ default: 200,
623
+ validator: function (val) {
624
+ return val > 0
625
+ }
626
+ },
627
+ minw: {
628
+ type: Number,
629
+ default: 50,
630
+ validator: function (val) {
631
+ return val >= 0
632
+ }
633
+ },
634
+ minh: {
635
+ type: Number,
636
+ default: 50,
637
+ validator: function (val) {
638
+ return val >= 0
639
+ }
640
+ },
641
+ x: {
642
+ type: Number,
643
+ default: 0,
644
+ validator: function (val) {
645
+ return typeof val === 'number'
646
+ }
647
+ },
648
+ y: {
649
+ type: Number,
650
+ default: 0,
651
+ validator: function (val) {
652
+ return typeof val === 'number'
653
+ }
654
+ },
655
+ z: {
656
+ type: [ String, Number ],
657
+ default: 'auto',
658
+ validator: function (val) {
659
+ return (typeof val === 'string') ? val === 'auto' : val >= 0;
660
+ }
661
+ },
662
+ handles: {
663
+ type: Array,
664
+ default: function () {
665
+ return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']
666
+ },
667
+ validator: function (val) {
668
+ let s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']);
669
+ return new Set(val.filter(h => s.has(h))).size === val.length
670
+ }
671
+ },
672
+ dragHandle: {
673
+ type: String,
674
+ default: null
675
+ },
676
+ dragCancel: {
677
+ type: String,
678
+ default: null
679
+ },
680
+ axis: {
681
+ type: String,
682
+ default: 'both',
683
+ validator: function (val) {
684
+ return ['x', 'y', 'both'].indexOf(val) !== -1
685
+ }
686
+ },
687
+ grid: {
688
+ type: Array,
689
+ default: function () {
690
+ return [1, 1]
691
+ }
692
+ },
693
+ parent: {
694
+ type: Element, default: null
695
+ },
696
+ maximize: {
697
+ type: Boolean, default: false
698
+ },
699
+ pages:{
700
+ type: Array, required: false, default: null
701
+ },
702
+ eventBus: {
703
+ type: Object, default: null
704
+ },
705
+ index: {
706
+ type: Number, required: false, default: 0
707
+ },
708
+ currentPage: {
709
+ type: Number, required: false, default: 0
710
+ },
711
+ stampId: {
712
+ type: String, required: false, default: null
713
+ }
714
+ },
715
+ created: function () {
716
+ this.parentX = 0;
717
+ this.parentW = 9999;
718
+ this.parentY = 0;
719
+ this.parentH = 9999;
720
+ this.mouseX = 0;
721
+ this.mouseY = 0;
722
+ this.lastMouseX = 0;
723
+ this.lastMouseY = 0;
724
+ this.mouseOffX = 0;
725
+ this.mouseOffY = 0;
726
+ this.elmX = 0;
727
+ this.elmY = 0;
728
+ this.elmW = 0;
729
+ this.elmH = 0;
730
+ this.scrollPosition = 0;
731
+ this.scrollDist = 0;
732
+ this.pagesCount = this.pages ? this.pages.length : 0;
733
+ this.section = [];
734
+ this.scale = null;
735
+ },
736
+ mounted: function () {
737
+ this.parent.addEventListener('mousemove', this.handleMove, false);
738
+ this.parent.addEventListener('mousedown', this.deselect, false);
739
+ this.parent.addEventListener('mouseup', this.handleUp, false);
740
+ // touch events bindings
741
+ this.parent.addEventListener('touchmove', this.handleMove, false);
742
+ this.parent.addEventListener('touchend', this.handleUp, false);
743
+ // this.parent.addEventListener('touchstart', this.handleUp, false);
744
+ this.parent.addEventListener('touchstart', this.deselect, false);
745
+ if(this.parent){
746
+ this.parent.parentNode.addEventListener('scroll', this.handleScrollMove, false);
747
+ }
748
+ //resize
749
+ if(this.eventBus){
750
+ this.eventBus.on('stampResize', this.stampResize);
751
+ }
752
+ this.elmX = parseInt(this.$el.style.left);
753
+ this.elmY = parseInt(this.$el.style.top);
754
+ this.elmW = this.$el.offsetWidth || this.$el.clientWidth;
755
+ this.elmH = this.$el.offsetHeight || this.$el.clientHeight;
756
+ this._reviewDimensions();
757
+ if(this.pages){
758
+ if(!this.scale){
759
+ this.scale = this.pages[0].viewport.scale;
760
+ }
761
+ this.updateSection();
762
+ this.top = this.y + 10 < 0 ? 10 : this.y + 10;
763
+ if(this.top < 10){
764
+ this.top = 10;
765
+ }
766
+ let pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
767
+ this.elmY = this.top;
768
+ let placed = this.pages[pageIndex];
769
+ if(placed && this.x - placed.div.offsetLeft - 9 > 0){
770
+ //nothing
771
+ }else if(placed){
772
+ this.left = placed.div.offsetLeft + 9;
773
+ }
774
+ this.elmX = this.left;
775
+ this._emitPlaced(pageIndex);
776
+ }
777
+ },
778
+ beforeUnmount: function () {
779
+ this.parent.removeEventListener('mousemove', this.handleMove, false);
780
+ this.parent.removeEventListener('mousedown', this.deselect, false);
781
+ this.parent.removeEventListener('mouseup', this.handleUp, false);
782
+ if(this.parent){
783
+ this.parent.parentNode.removeEventListener('scroll', this.handleScrollMove, false);
784
+ }
785
+ if(this.eventBus){
786
+ this.eventBus.off('stampResize', this.stampResize);
787
+ }
788
+ // touch events bindings removed
789
+ this.parent.removeEventListener('touchmove', this.handleMove, false);
790
+ this.parent.removeEventListener('touchend', this.handleUp, false);
791
+ // this.parent.removeEventListener('touchstart', this.handleUp, false);
792
+ this.parent.removeEventListener('touchstart', this.deselect, false);
793
+ },
794
+ data: function () {
795
+ return {
796
+ top: this.y,
797
+ left: this.x,
798
+ width: this.w,
799
+ height: this.h,
800
+ resizing: false,
801
+ dragging: false,
802
+ enabled: this.active,
803
+ handle: null,
804
+ zIndex: this.z
805
+ }
806
+ },
807
+ methods: {
808
+ adjust(arr, val, leftIndex, rightIndex){
809
+ let pageIndex = this.binarySearch(arr, val, leftIndex, rightIndex);
810
+ if(pageIndex < 0 || pageIndex > this.pagesCount - 1){
811
+ pageIndex = 0;
812
+ }
813
+ pageIndex = this.adjustBoundary(pageIndex);
814
+ return pageIndex;
815
+ },
816
+ handleScrollMove(e){
817
+ if(this.dragging){
818
+ this.scrollDist = e.currentTarget.scrollTop - this.scrollPosition;
819
+ this.top = this.top + this.scrollDist;
820
+ this.elmY = this.top;
821
+ }
822
+ this.scrollPosition = e.currentTarget.scrollTop;
823
+ },
824
+ stampAreaUpdate(sp){
825
+ //update sp-1 and sp area
826
+ for(let i = sp-1; i < sp+1; i++){
827
+ if(i - 1 > 0 && i < this.pagesCount){
828
+ this.section[i].t = this.section[i -1].t + this.pages[i - 1].viewport.height + 11;
829
+ this.section[i].o = this.pages[i -1].div.offsetLeft + 9;
830
+ }
831
+ }
832
+ },
833
+ adjustBoundary(pageIndex){
834
+ if(this.pages[pageIndex] && this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){
835
+ if(this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH / 2 > 0) {
836
+ this.top = this.section[pageIndex+1].t;
837
+ pageIndex++;
838
+ }else{
839
+ this.top = this.section[pageIndex+1].t - this.elmH - 9 - 2;
840
+ }
841
+ }
842
+ return pageIndex;
843
+ },
844
+ //二分查找
845
+ binarySearch(arr, val, leftIndex, rightIndex){
846
+ if(leftIndex > rightIndex){
847
+ return leftIndex - 1;
848
+ }
849
+ let midIndex = Math.floor((leftIndex + rightIndex) / 2);
850
+ let midVal = arr[midIndex].t;
851
+ if(midVal > val){
852
+ return this.binarySearch(arr, val, leftIndex, midIndex - 1);
853
+ }else if(midVal < val){
854
+ return this.binarySearch(arr, val, midIndex+1, rightIndex);
855
+ }else{
856
+ return midIndex;
857
+ }
858
+ },
859
+ updateSection(){
860
+ this.section.length = 0;
861
+ let t = 10;
862
+ for(let i = 0; i < this.pagesCount; i++){
863
+ t = t + (i > 0 ? this.pages[i].viewport.height : 0) + (i > 0 ? 9+2 : 0);
864
+ this.section.push({
865
+ t,
866
+ o: this.pages[i].div.offsetLeft + 9
867
+ });
868
+ }
869
+ },
870
+ stampResize(){
871
+ if(this.scale != null){
872
+ const section = [].concat(this.section);
873
+ this.updateSection();
874
+ const TOP = this.top;
875
+ let pageIndex = this.binarySearch(section, TOP, this.currentPage - 1, this.pagesCount - 1);
876
+ if(pageIndex < 0){
877
+ pageIndex = 0;
878
+ }
879
+ const currentScale = this.pages[0].viewport.scale;
880
+ const WIDTH = this.width;
881
+ const HEIGHT = this.height;
882
+ this.width = (WIDTH * currentScale) / this.scale;
883
+ this.height = (HEIGHT * currentScale) / this.scale;
884
+ const LEFT = this.left;
885
+ this.top = ((TOP - 10) * currentScale) / this.scale + 10;
886
+ this.left = this.pages[pageIndex].div.offsetLeft + (((LEFT - section[pageIndex].o) * currentScale) / this.scale) + 9;
887
+ this.elmW = this.width;
888
+ this.elmH = this.height;
889
+ this.elmX = this.left;
890
+ this.elmY = this.top;
891
+ this.scale = currentScale;
892
+ this._emitPlaced(pageIndex);
893
+ }
894
+ },
895
+
896
+ _emitPlaced(pageIndex){
897
+ this.$emit('placed', pageIndex, this.index, {
898
+ x : (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,
899
+ y: (this.pages[pageIndex].viewport.height - (this.top + this.elmH - this.section[pageIndex].t)) / this.pages[pageIndex].viewport.height,
900
+ w: this.elmW / this.pages[pageIndex].viewport.width,
901
+ h: this.elmH / this.pages[pageIndex].viewport.height
902
+ }, this.stampId);
903
+ },
904
+ _reviewDimensions(){
905
+ if (this.minw > this.w) this.width = this.minw;
906
+ if (this.minh > this.h) this.height = this.minh;
907
+ if (this.parent) {
908
+ const parentW = parseInt(this.parent.scrollWidth, 10);
909
+ const parentH = parseInt(this.parent.scrollHeight, 10);
910
+ this.parentW = parentW;
911
+ this.parentH = parentH;
912
+ if (this.w > this.parentW) this.width = parentW;
913
+ if (this.h > this.parentH) this.height = parentH;
914
+ if ((this.x + this.w) > this.parentW) this.width = parentW - this.x;
915
+ if ((this.y + this.h) > this.parentH) this.height = parentH - this.y;
916
+ }
917
+ this.elmW = this.width;
918
+ this.elmH = this.height;
919
+ },
920
+ reviewDimensions: function () {
921
+ this._reviewDimensions();
922
+ this.$emit('resizing', this.left, this.top, this.width, this.height)
923
+ },
924
+ elmDown: function (e) {
925
+ const target = e.target || e.srcElement;
926
+ if (this.$el.contains(target)) {
927
+ if (
928
+ (this.dragHandle && !matchesSelectorToParentElements(target, this.dragHandle, this.$el)) ||
929
+ (this.dragCancel && matchesSelectorToParentElements(target, this.dragCancel, this.$el))) {
930
+ return
931
+ }
932
+ this.reviewDimensions();
933
+ if (!this.enabled) {
934
+ this.enabled = true
935
+ this.$emit('activated')
936
+ this.$emit('update:active', true)
937
+ }
938
+ if (this.draggable) {
939
+ this.dragging = true
940
+ }
941
+ }
942
+ },
943
+ deselect: function (e) {
944
+ if (e.type.indexOf('touch') !== -1) {
945
+ this.mouseX = e.changedTouches[0].clientX
946
+ this.mouseY = e.changedTouches[0].clientY
947
+ } else {
948
+ this.mouseX = e.pageX || e.clientX + this.parent.scrollLeft
949
+ this.mouseY = e.pageY || e.clientY + this.parent.scrollTop
950
+ }
951
+ this.lastMouseX = this.mouseX
952
+ this.lastMouseY = this.mouseY
953
+ const target = e.target || e.srcElement
954
+ const regex = new RegExp('handle-([trmbl]{2})', '')
955
+ if (!this.$el.contains(target) && !regex.test(target.className)) {
956
+ if (this.enabled) {
957
+ this.enabled = false
958
+ this.$emit('deactivated')
959
+ this.$emit('update:active', false)
960
+ }
961
+ }
962
+ },
963
+ handleDown: function (handle, e) {
964
+ this.handle = handle;
965
+ if (e.cancelable) {
966
+ e.stopPropagation();
967
+ e.preventDefault();
968
+ }
969
+ this.resizing = true;
970
+ },
971
+ // fillParent: function (e) {
972
+ // if (!this.parent || !this.resizable || !this.maximize) return
973
+ // let done = false
974
+ // const animate = () => {
975
+ // if (!done) {
976
+ // window.requestAnimationFrame(animate)
977
+ // }
978
+ // if (this.axis === 'x') {
979
+ // if (
980
+ // this.width === this.parentW && this.left === this.parentX
981
+ // ) done = true
982
+ // } else if (this.axis === 'y') {
983
+ // if (
984
+ // this.height === this.parentH && this.top === this.parentY
985
+ // ) done = true
986
+ // } else if (this.axis === 'both') {
987
+ // if (
988
+ // this.width === this.parentW &&
989
+ // this.height === this.parentH &&
990
+ // this.top === this.parentY &&
991
+ // this.left === this.parentX
992
+ // ) done = true
993
+ // }
994
+ // if (this.axis === 'x' || this.axis === 'both') {
995
+ // if (this.width < this.parentW) {
996
+ // this.width++
997
+ // this.elmW++
998
+ // }
999
+ // if (this.left > this.parentX) {
1000
+ // this.left--
1001
+ // this.elmX--
1002
+ // }
1003
+ // }
1004
+ // if (this.axis === 'y' || this.axis === 'both') {
1005
+ // if (this.height < this.parentH) {
1006
+ // this.height++
1007
+ // this.elmH++
1008
+ // }
1009
+ // if (this.top > this.parentY) {
1010
+ // this.top--
1011
+ // this.elmY--
1012
+ // }
1013
+ // }
1014
+ // this.$emit('resizing', this.left, this.top, this.width, this.height)
1015
+ // }
1016
+ // window.requestAnimationFrame(animate)
1017
+ // },
1018
+ handleMove: function (e) {
1019
+ const isTouchMove = e.type.indexOf('touchmove') !== -1
1020
+ this.mouseX = isTouchMove
1021
+ ? e.touches[0].clientX
1022
+ : e.pageX || e.clientX + document.documentElement.scrollLeft;
1023
+ this.mouseY = isTouchMove
1024
+ ? e.touches[0].clientY
1025
+ : e.pageY || e.clientY + document.documentElement.scrollTop;
1026
+ let diffX = this.mouseX - this.lastMouseX + this.mouseOffX;
1027
+ let diffY = this.mouseY - this.lastMouseY + this.mouseOffY;
1028
+ this.mouseOffX = this.mouseOffY = 0;
1029
+ this.lastMouseX = this.mouseX;
1030
+ this.lastMouseY = this.mouseY;
1031
+ let dX = diffX;
1032
+ let dY = diffY;
1033
+ if (this.resizing) {
1034
+ if (this.handle.indexOf('t') >= 0) {
1035
+ if (this.elmH - dY < this.minh) this.mouseOffY = (dY - (diffY = this.elmH - this.minh));
1036
+ else if (this.parent && this.elmY + dY < this.parentY) this.mouseOffY = (dY - (diffY = this.parentY - this.elmY));
1037
+ this.elmY += diffY
1038
+ this.elmH -= diffY
1039
+ }
1040
+ if (this.handle.indexOf('b') >= 0) {
1041
+ if (this.elmH + dY < this.minh) this.mouseOffY = (dY - (diffY = this.minh - this.elmH));
1042
+ else if (this.parent && this.elmY + this.elmH + dY > this.parentH) this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH));
1043
+ this.elmH += diffY
1044
+ }
1045
+ if (this.handle.indexOf('l') >= 0) {
1046
+ if (this.elmW - dX < this.minw) this.mouseOffX = (dX - (diffX = this.elmW - this.minw));
1047
+ else if (this.parent && this.elmX + dX < this.parentX) this.mouseOffX = (dX - (diffX = this.parentX - this.elmX));
1048
+ this.elmX += diffX
1049
+ this.elmW -= diffX
1050
+ }
1051
+ if (this.handle.indexOf('r') >= 0) {
1052
+ if (this.elmW + dX < this.minw) this.mouseOffX = (dX - (diffX = this.minw - this.elmW))
1053
+ else if (this.parent && this.elmX + this.elmW + dX > this.parentW) this.mouseOffX = (dX - (diffX = this.parentW - this.elmX - this.elmW));
1054
+ this.elmW += diffX
1055
+ }
1056
+ this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0]);
1057
+ this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1]);
1058
+ this.width = (Math.round(this.elmW / this.grid[0]) * this.grid[0]);
1059
+ this.height = (Math.round(this.elmH / this.grid[1]) * this.grid[1]);
1060
+ this.$emit('resizing', this.left, this.top, this.width, this.height);
1061
+ } else if (this.dragging) {
1062
+ if (this.parent) {
1063
+ this._reviewDimensions();
1064
+ let [_x, _y] = [0, 10];
1065
+ if(this.pages){
1066
+ let pageIndex = this.binarySearch(this.section, this.elmY+ diffY, this.currentPage - 1, this.pagesCount - 1);
1067
+ if(pageIndex < 0){
1068
+ pageIndex = 0;
1069
+ }
1070
+ if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){
1071
+ if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - (this.elmH * 0.9) - 11 > 0){
1072
+ pageIndex++;
1073
+ }
1074
+ }
1075
+ _x = this.pages[pageIndex].div.offsetLeft + 9;
1076
+ }
1077
+ if (this.elmX + dX < this.parentX + _x){
1078
+ this.mouseOffX = (dX - (diffX = this.parentX + _x - this.elmX))
1079
+ } else if (this.elmX + this.elmW + dX > (this.parentW - _x)){
1080
+ this.mouseOffX = (dX - (diffX = (this.parentW - _x) - this.elmX - this.elmW))
1081
+ }
1082
+ if (this.elmY + dY < this.parentY + _y){
1083
+ this.mouseOffY = (dY - (diffY = this.parentY + _y - this.elmY))
1084
+ } else if (this.elmY + this.elmH + dY > this.parentH) {
1085
+ this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH))
1086
+ }
1087
+ }
1088
+ this.elmX += diffX;
1089
+ this.elmY += diffY;
1090
+ if (this.axis === 'x' || this.axis === 'both') {
1091
+ this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0])
1092
+ }
1093
+ if (this.axis === 'y' || this.axis === 'both') {
1094
+ this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1])
1095
+ }
1096
+ this.$emit('dragging', this.left, this.top)
1097
+ }
1098
+ },
1099
+ handleUp: function (e) {
1100
+ if (e.type.indexOf('touch') !== -1) {
1101
+ this.lastMouseX = e.changedTouches[0].clientX;
1102
+ this.lastMouseY = e.changedTouches[0].clientY;
1103
+ }
1104
+ this.handle = null;
1105
+ //this.enabled = false;
1106
+ if (this.resizing) {
1107
+ this.resizing = false;
1108
+ this.$emit('resizestop', this.left, this.top, this.width, this.height)
1109
+ }
1110
+ if (this.dragging) {
1111
+ this.dragging = false;
1112
+ let pageIndex = 0;
1113
+ if(this.pages){
1114
+ pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
1115
+ }
1116
+ this._emitPlaced(pageIndex);
1117
+ this.$emit('dragstop', this.left, this.top);
1118
+ }
1119
+ this.elmX = this.left;
1120
+ this.elmY = this.top;
1121
+ },
1122
+ dropItem(){
1123
+ this.$emit('dropitem', this.index);
1124
+ }
1125
+ },
1126
+ computed: {
1127
+ style: function () {
1128
+ return {
1129
+ top: this.top + 'px',
1130
+ left: this.left + 'px',
1131
+ width: this.width + 'px',
1132
+ height: this.height + 'px',
1133
+ zIndex: this.zIndex
1134
+ }
1135
+ }
1136
+ },
1137
+ watch: {
1138
+ active: function (val) {
1139
+ this.enabled = val
1140
+ },
1141
+ z: function (val) {
1142
+ if (val >= 0 || val === 'auto') {
1143
+ this.zIndex = val
1144
+ }
1145
+ },
1146
+ currentPage: function(newVal){
1147
+ this.stampAreaUpdate(newVal);
1148
+ }
1149
+ }
1150
+ });
1151
+
1152
+ ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
1153
+ /* harmony default export */ var draggable_resizable_draggable_resizablevue_type_script_lang_js_ = (draggable_resizablevue_type_script_lang_js_);
1154
+ // 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=6cdf0a0c&prod&scoped=true&lang=css&
1155
+ var draggable_resizablevue_type_style_index_0_id_6cdf0a0c_prod_scoped_true_lang_css_ = __webpack_require__(632);
1156
+ ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=6cdf0a0c&prod&scoped=true&lang=css&
824
1157
 
825
- /* harmony default export */ var srcvue_type_script_lang_js_ = ({
826
- name: "OfdView",
827
- props: {
828
- url: {
829
- type: String,
830
- required: true
831
- }
832
- },
833
- watch: {},
834
- data() {
835
- return {
836
- config: null
837
- };
838
- },
839
- mounted() {
840
- if (!this.config) {
841
- this.config = this.getViewerConfiguration();
842
- //vue下viewerContainer必须设置height
843
- // this.containerHeight = `${window.innerHeight - 100}px`
844
- let img = new Image();
845
- img.style.position = 'absolute';
846
- img.style.left = 0;
847
- img.style.right = 0;
848
- img.style.margin = 'auto';
849
- img.style.top = 0;
850
- img.style.bottom = 0;
851
- img.src = 'data:image/gif;base64,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';
852
- img.draggable = false;
853
- this.config.loadingContainer = img;
854
-
855
- // config.onPageChanging = pageNumber => {
856
- // // console.log(pageNumber)
857
- // }
858
- // config.parserOFDSuccess = core => {
859
- // // console.log(core)
860
- // }
861
- // config.onPageScale = scale => {
862
- // // console.log(scale)
863
- // }
864
- (0,external_commonjs_ofd_js_commonjs2_ofd_js_root_ofd_namespaceObject.initOFDViewer)(this.config);
865
- }
866
- (0,external_commonjs_ofd_js_commonjs2_ofd_js_root_ofd_namespaceObject.openOFD)(this.url);
867
- this.$emit('ofdViewReady', this.config);
868
- },
869
- methods: {
870
- getViewerConfiguration() {
871
- let errorWrapper = null;
872
- errorWrapper = {
873
- container: document.getElementById('errorWrapper'),
874
- errorMessage: document.getElementById('errorMessage'),
875
- closeButton: document.getElementById('errorClose'),
876
- errorMoreInfo: document.getElementById('errorMoreInfo'),
877
- moreInfoButton: document.getElementById('errorShowMore'),
878
- lessInfoButton: document.getElementById('errorShowLess')
879
- };
880
- return {
881
- appContainer: document.body,
882
- mainContainer: document.getElementById('viewerContainer'),
883
- viewerContainer: document.getElementById('viewer'),
884
- toolbar: {
885
- container: document.getElementById('toolbarViewer'),
886
- numPages: document.getElementById('numPages'),
887
- pageNumber: document.getElementById('pageNumber'),
888
- scaleSelect: document.getElementById('scaleSelect'),
889
- customScaleOption: document.getElementById('customScaleOption'),
890
- previous: document.getElementById('previous'),
891
- next: document.getElementById('next'),
892
- zoomIn: document.getElementById('zoomIn'),
893
- zoomOut: document.getElementById('zoomOut'),
894
- openFile: document.getElementById('openFile'),
895
- print: document.getElementById('print')
896
- },
897
- secondaryToolbar: {
898
- toolbar: document.getElementById('secondaryToolbar'),
899
- toggleButton: document.getElementById('secondaryToolbarToggle'),
900
- toolbarButtonContainer: document.getElementById('secondaryToolbarButtonContainer'),
901
- openFileButton: document.getElementById('secondaryOpenFile'),
902
- printButton: document.getElementById('secondaryPrint'),
903
- documentPropertiesButton: document.getElementById('documentProperties')
904
- },
905
- sidebar: {
906
- // Divs (and sidebar button)
907
- outerContainer: document.getElementById('outerContainer'),
908
- viewerContainer: document.getElementById('viewerContainer')
909
- },
910
- sidebarResizer: {
911
- outerContainer: document.getElementById('outerContainer')
912
- },
913
- documentProperties: {
914
- dialog: document.getElementById('documentPropertiesDialog'),
915
- closeButton: document.getElementById('documentPropertiesClose'),
916
- fields: {
917
- fileName: document.getElementById('fileNameField'),
918
- fileSize: document.getElementById('fileSizeField'),
919
- title: document.getElementById('titleField'),
920
- author: document.getElementById('authorField'),
921
- subject: document.getElementById('subjectField'),
922
- keywords: document.getElementById('keywordsField'),
923
- creationDate: document.getElementById('creationDateField'),
924
- modificationDate: document.getElementById('modificationDateField'),
925
- creator: document.getElementById('creatorField'),
926
- producer: document.getElementById('producerField'),
927
- version: document.getElementById('versionField'),
928
- pageCount: document.getElementById('pageCountField'),
929
- pageSize: document.getElementById('pageSizeField'),
930
- linearized: document.getElementById('linearizedField')
931
- }
932
- },
933
- signatureProperties: {
934
- dialog: document.getElementById('signaturePropertiesDialog'),
935
- closeButton: document.getElementById('signaturePropertiesClose'),
936
- fields: {
937
- signer: document.getElementById('signerField'),
938
- provider: document.getElementById('providerField'),
939
- hashedValue: document.getElementById('hashedValueField'),
940
- signedValue: document.getElementById('signedValueField'),
941
- signMethod: document.getElementById('signMethodField'),
942
- signVersion: document.getElementById('signVersionField'),
943
- verify: document.getElementById('verifyField'),
944
- sealID: document.getElementById('sealIDField'),
945
- sealName: document.getElementById('sealNameField'),
946
- sealType: document.getElementById('sealTypeField'),
947
- sealAuthTime: document.getElementById('sealAuthTimeField'),
948
- sealMakeTime: document.getElementById('sealMakeTimeField'),
949
- sealVersion: document.getElementById('sealVersionField')
950
- }
951
- },
952
- errorWrapper,
953
- printContainer: document.getElementById('printContainer'),
954
- openFileInputName: 'fileInput'
955
- };
956
- }
957
- }
958
- });
959
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
960
- /* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
961
1158
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
962
1159
  /* globals __VUE_SSR_CONTEXT__ */
963
1160
 
@@ -1056,6 +1253,222 @@ function normalizeComponent(
1056
1253
  }
1057
1254
  }
1058
1255
 
1256
+ ;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue
1257
+
1258
+
1259
+
1260
+ ;
1261
+
1262
+
1263
+ /* normalize component */
1264
+
1265
+ var component = normalizeComponent(
1266
+ draggable_resizable_draggable_resizablevue_type_script_lang_js_,
1267
+ draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_render,
1268
+ draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns,
1269
+ false,
1270
+ null,
1271
+ "6cdf0a0c",
1272
+ null
1273
+
1274
+ )
1275
+
1276
+ /* harmony default export */ var draggable_resizable = (component.exports);
1277
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=script&lang=js&
1278
+
1279
+
1280
+
1281
+ /* harmony default export */ var srcvue_type_script_lang_js_ = ({
1282
+ name: "OfdView",
1283
+ components:{
1284
+ VueDraggableResizable: draggable_resizable
1285
+ },
1286
+ props: {
1287
+ url: {
1288
+ type: String,
1289
+ required: true
1290
+ },
1291
+ mem: {
1292
+ type: Boolean, required: false, default: true
1293
+ },
1294
+ draggable: {
1295
+ type: Boolean, required: false, default: true
1296
+ },
1297
+ resizable: {
1298
+ type: Boolean, required: false, default: false
1299
+ },
1300
+ editable: {
1301
+ type: Boolean, required: false, default: true
1302
+ },
1303
+ stamps: {
1304
+ type: Array,
1305
+ required: false,
1306
+ default: () => []
1307
+ }
1308
+ },
1309
+
1310
+ watch: {
1311
+
1312
+ },
1313
+
1314
+
1315
+ data() {
1316
+ return {
1317
+ viewVisible: false,
1318
+ config: null,
1319
+ eventBus: null,
1320
+ sp: 1,
1321
+ }
1322
+ },
1323
+
1324
+ mounted() {
1325
+ let ofd;
1326
+ if (this.mem) {
1327
+ ofd = __webpack_require__(17)
1328
+ } else {
1329
+ ofd = __webpack_require__(836)
1330
+ }
1331
+ if (!this.config) {
1332
+ this.config = this.getViewerConfiguration()
1333
+ //vue下viewerContainer必须设置height
1334
+ // this.containerHeight = `${window.innerHeight - 100}px`
1335
+ let img = new Image();
1336
+ img.style.position = 'absolute';
1337
+ img.style.left = 0;
1338
+ img.style.right = 0;
1339
+ img.style.margin = 'auto';
1340
+ img.style.top = 0;
1341
+ img.style.bottom = 0;
1342
+ img.src = 'data:image/gif;base64,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';
1343
+ img.draggable = false;
1344
+ this.config.loadingContainer = img
1345
+
1346
+ this.config.onPageChanging = pageNumber => {
1347
+ this.sp = pageNumber
1348
+ }
1349
+ // config.parserOFDSuccess = core => {
1350
+ // // console.log(core)
1351
+ // }
1352
+ // config.onPageScale = scale => {
1353
+ // // console.log(scale)
1354
+ // }
1355
+ ofd.initOFDViewer(this.config)
1356
+ }
1357
+ ofd.openOFD(this.url)
1358
+ this.$emit('viewready', this.config)
1359
+ },
1360
+
1361
+ methods: {
1362
+ getViewerConfiguration() {
1363
+ let errorWrapper = null
1364
+ errorWrapper = {
1365
+ container: document.getElementById('errorWrapper'),
1366
+ errorMessage: document.getElementById('errorMessage'),
1367
+ closeButton: document.getElementById('errorClose'),
1368
+ errorMoreInfo: document.getElementById('errorMoreInfo'),
1369
+ moreInfoButton: document.getElementById('errorShowMore'),
1370
+ lessInfoButton: document.getElementById('errorShowLess'),
1371
+ }
1372
+
1373
+ return {
1374
+ appContainer: document.body,
1375
+ mainContainer: document.getElementById('viewerContainer'),
1376
+ viewerContainer: document.getElementById('viewer'),
1377
+ toolbar: {
1378
+ container: document.getElementById('toolbarViewer'),
1379
+ numPages: document.getElementById('numPages'),
1380
+ pageNumber: document.getElementById('pageNumber'),
1381
+ scaleSelect: document.getElementById('scaleSelect'),
1382
+ customScaleOption: document.getElementById('customScaleOption'),
1383
+ previous: document.getElementById('previous'),
1384
+ next: document.getElementById('next'),
1385
+ zoomIn: document.getElementById('zoomIn'),
1386
+ zoomOut: document.getElementById('zoomOut'),
1387
+ openFile: document.getElementById('openFile'),
1388
+ print: document.getElementById('print'),
1389
+ },
1390
+ secondaryToolbar: {
1391
+ toolbar: document.getElementById('secondaryToolbar'),
1392
+ toggleButton: document.getElementById('secondaryToolbarToggle'),
1393
+ toolbarButtonContainer: document.getElementById(
1394
+ 'secondaryToolbarButtonContainer'
1395
+ ),
1396
+ openFileButton: document.getElementById('secondaryOpenFile'),
1397
+ printButton: document.getElementById('secondaryPrint'),
1398
+ documentPropertiesButton: document.getElementById('documentProperties'),
1399
+ },
1400
+ sidebar: {
1401
+ // Divs (and sidebar button)
1402
+ outerContainer: document.getElementById('outerContainer'),
1403
+ viewerContainer: document.getElementById('viewerContainer'),
1404
+ },
1405
+ sidebarResizer: {
1406
+ outerContainer: document.getElementById('outerContainer'),
1407
+ },
1408
+ documentProperties: {
1409
+ dialog: document.getElementById('documentPropertiesDialog'),
1410
+ closeButton: document.getElementById('documentPropertiesClose'),
1411
+ fields: {
1412
+ fileName: document.getElementById('fileNameField'),
1413
+ fileSize: document.getElementById('fileSizeField'),
1414
+ title: document.getElementById('titleField'),
1415
+ author: document.getElementById('authorField'),
1416
+ subject: document.getElementById('subjectField'),
1417
+ keywords: document.getElementById('keywordsField'),
1418
+ creationDate: document.getElementById('creationDateField'),
1419
+ modificationDate: document.getElementById('modificationDateField'),
1420
+ creator: document.getElementById('creatorField'),
1421
+ producer: document.getElementById('producerField'),
1422
+ version: document.getElementById('versionField'),
1423
+ pageCount: document.getElementById('pageCountField'),
1424
+ pageSize: document.getElementById('pageSizeField'),
1425
+ linearized: document.getElementById('linearizedField'),
1426
+ },
1427
+ },
1428
+ signatureProperties: {
1429
+ dialog: document.getElementById('signaturePropertiesDialog'),
1430
+ closeButton: document.getElementById('signaturePropertiesClose'),
1431
+ fields: {
1432
+ signer: document.getElementById('signerField'),
1433
+ provider: document.getElementById('providerField'),
1434
+ hashedValue: document.getElementById('hashedValueField'),
1435
+ signedValue: document.getElementById('signedValueField'),
1436
+ signMethod: document.getElementById('signMethodField'),
1437
+ signVersion: document.getElementById('signVersionField'),
1438
+ verify: document.getElementById('verifyField'),
1439
+
1440
+ sealID: document.getElementById('sealIDField'),
1441
+ sealName: document.getElementById('sealNameField'),
1442
+ sealType: document.getElementById('sealTypeField'),
1443
+ sealAuthTime: document.getElementById('sealAuthTimeField'),
1444
+ sealMakeTime: document.getElementById('sealMakeTimeField'),
1445
+ sealVersion: document.getElementById('sealVersionField'),
1446
+ },
1447
+ },
1448
+ errorWrapper,
1449
+ printContainer: document.getElementById('printContainer'),
1450
+ openFileInputName: 'fileInput',
1451
+ }
1452
+ },
1453
+
1454
+ onStampDragOver(e) {
1455
+ e.dataTransfer.dropEffect = 'move';
1456
+ },
1457
+ removeStamp(index){
1458
+ this.$emit('removePos', index);
1459
+ },
1460
+ // eslint-disable-next-line no-unused-vars
1461
+ onStampDragStop(ctx){
1462
+
1463
+ },
1464
+ placed(pageNum, index, params, stampId){
1465
+ this.$emit('itemDropped', index, pageNum, params, stampId);
1466
+ },
1467
+ }
1468
+ });
1469
+
1470
+ ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
1471
+ /* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
1059
1472
  ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue
1060
1473
 
1061
1474
 
@@ -1064,56 +1477,63 @@ function normalizeComponent(
1064
1477
 
1065
1478
  /* normalize component */
1066
1479
  ;
1067
- var component = normalizeComponent(
1480
+ var src_component = normalizeComponent(
1068
1481
  ofdView_srcvue_type_script_lang_js_,
1069
1482
  render,
1070
1483
  staticRenderFns,
1071
1484
  false,
1072
1485
  null,
1073
- "6f77318f",
1486
+ "4f83f1c8",
1074
1487
  null
1075
1488
 
1076
1489
  )
1077
1490
 
1078
- /* harmony default export */ var ofdView_src = (component.exports);
1491
+ /* harmony default export */ var ofdView_src = (src_component.exports);
1079
1492
  ;// CONCATENATED MODULE: ./packages/ofdView/index.js
1493
+
1494
+
1495
+ ofdView_src.install = Vue => Vue.component(ofdView_src.name, ofdView_src);//注册组件
1496
+
1497
+ /* harmony default export */ var ofdView = (ofdView_src);
1080
1498
 
1081
- ofdView_src.install = Vue => Vue.component(ofdView_src.name, ofdView_src); //注册组件
1082
-
1083
- /* harmony default export */ var ofdView = (ofdView_src);
1084
1499
  ;// CONCATENATED MODULE: ./packages/index.js
1500
+
1501
+ // import PdvView from './pdfView'
1502
+
1503
+ const components = [
1504
+ ofdView,
1505
+ // PdvView
1506
+ ]
1507
+
1508
+ // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
1509
+ const install = function (Vue) {
1510
+
1511
+ // 判断是否安装
1512
+ if (install.installed) return
1513
+ // 遍历注册全局组件
1514
+ components.map(component => Vue.component(component.name, component))
1515
+ }
1516
+
1517
+ // 判断是否是直接引入文件
1518
+ if (typeof window !== 'undefined' && window.Vue) {
1519
+ install(window.Vue)
1520
+ }
1521
+
1522
+ /* harmony default export */ var packages_0 = ({
1523
+ // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
1524
+ install,
1525
+ // 以下是具体的组件列表
1526
+ OfdView: ofdView,
1527
+ // PdvView
1528
+ });
1085
1529
 
1086
- // import PdvView from './pdfView'
1087
-
1088
- const components = [ofdView
1089
- // PdvView
1090
- ];
1091
-
1092
- // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
1093
- const install = function (Vue) {
1094
- // 判断是否安装
1095
- if (install.installed) return;
1096
- // 遍历注册全局组件
1097
- components.map(component => Vue.component(component.name, component));
1098
- };
1099
-
1100
- // 判断是否是直接引入文件
1101
- if (typeof window !== 'undefined' && window.Vue) {
1102
- install(window.Vue);
1103
- }
1104
- /* harmony default export */ var packages_0 = ({
1105
- // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
1106
- install,
1107
- // 以下是具体的组件列表
1108
- OfdView: ofdView
1109
- // PdvView
1110
- });
1111
1530
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
1112
1531
 
1113
1532
 
1114
1533
  /* harmony default export */ var entry_lib = (packages_0);
1115
1534
 
1116
1535
 
1536
+ }();
1117
1537
  module.exports = __webpack_exports__;
1118
1538
  /******/ })()
1119
1539
  ;