ofd-view 0.1.30 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ofd-view.common.js +26 -35
- package/lib/ofd-view.common.js.map +1 -1
- package/lib/ofd-view.umd.js +31 -40
- package/lib/ofd-view.umd.js.map +1 -1
- package/lib/ofd-view.umd.min.js +1 -1
- package/lib/ofd-view.umd.min.js.map +1 -1
- package/package.json +1 -3
- package/lib/images/annotation-check.svg +0 -11
- package/lib/images/annotation-comment.svg +0 -16
- package/lib/images/annotation-help.svg +0 -26
- package/lib/images/annotation-insert.svg +0 -10
- package/lib/images/annotation-key.svg +0 -11
- package/lib/images/annotation-newparagraph.svg +0 -11
- package/lib/images/annotation-noicon.svg +0 -7
- package/lib/images/annotation-note.svg +0 -42
- package/lib/images/annotation-paragraph.svg +0 -16
- package/lib/images/eSignature.svg +0 -1
- package/lib/images/findbarButton-next.svg +0 -4
- package/lib/images/findbarButton-previous.svg +0 -4
- package/lib/images/loading-dark.svg +0 -24
- package/lib/images/loading-icon.gif +0 -0
- package/lib/images/loading.svg +0 -1
- package/lib/images/secondaryToolbarButton-documentProperties.svg +0 -15
- package/lib/images/secondaryToolbarButton-firstPage.svg +0 -1
- package/lib/images/secondaryToolbarButton-handTool.svg +0 -1
- package/lib/images/secondaryToolbarButton-lastPage.svg +0 -1
- package/lib/images/secondaryToolbarButton-rotateCcw.svg +0 -1
- package/lib/images/secondaryToolbarButton-rotateCw.svg +0 -4
- package/lib/images/secondaryToolbarButton-scrollHorizontal.svg +0 -1
- package/lib/images/secondaryToolbarButton-scrollPage.svg +0 -1
- package/lib/images/secondaryToolbarButton-scrollVertical.svg +0 -1
- package/lib/images/secondaryToolbarButton-scrollWrapped.svg +0 -1
- package/lib/images/secondaryToolbarButton-selectTool.svg +0 -4
- package/lib/images/secondaryToolbarButton-spreadEven.svg +0 -1
- package/lib/images/secondaryToolbarButton-spreadNone.svg +0 -1
- package/lib/images/secondaryToolbarButton-spreadOdd.svg +0 -1
- package/lib/images/shadow.png +0 -0
- package/lib/images/toolbarButton-bookmark.svg +0 -1
- package/lib/images/toolbarButton-currentOutlineItem.svg +0 -1
- package/lib/images/toolbarButton-download.svg +0 -4
- package/lib/images/toolbarButton-menuArrow.svg +0 -1
- package/lib/images/toolbarButton-openFile.svg +0 -4
- package/lib/images/toolbarButton-pageDown.svg +0 -7
- package/lib/images/toolbarButton-pageUp.svg +0 -12
- package/lib/images/toolbarButton-presentationMode.svg +0 -1
- package/lib/images/toolbarButton-print.svg +0 -4
- package/lib/images/toolbarButton-search.svg +0 -4
- package/lib/images/toolbarButton-secondaryToolbarToggle.svg +0 -4
- package/lib/images/toolbarButton-sidebarToggle.svg +0 -4
- package/lib/images/toolbarButton-viewAttachments.svg +0 -1
- package/lib/images/toolbarButton-viewLayers.svg +0 -1
- package/lib/images/toolbarButton-viewOutline.svg +0 -1
- package/lib/images/toolbarButton-viewSignatures.svg +0 -1
- package/lib/images/toolbarButton-viewThumbnail.svg +0 -4
- package/lib/images/toolbarButton-zoomIn.svg +0 -4
- package/lib/images/toolbarButton-zoomOut.svg +0 -4
- package/lib/images/treeitem-collapsed.svg +0 -1
- package/lib/images/treeitem-expanded.svg +0 -1
- package/lib/viewer.css +0 -3208
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ofd-view.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,UAAWA,QAAQ,gBAC3B,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,CAAC,GAAKJ,GACa,kBAAZC,QACdA,QAAQ,YAAcD,EAAQG,QAAQ,UAAWA,QAAQ,gBAEzDJ,EAAK,YAAcC,EAAQD,EAAK,OAAQA,EAAK,YAC9C,EATD,CASoB,qBAATO,KAAuBA,KAAOC,MAAO,SAASC,EAAkCC,GAC3F,O,iGCPIC,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACT,EAAOU,GAAI,0+CAA++C,KAExhD,c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9B,EACA5Q,YAAY7E,GACVpF,KAAKkS,MAAM,YAAa9M,EAC1B,EAEA8E,gBAAgB4Q,GAEhB,EACA3Q,OAAO4Q,EAAS3V,EAAO4V,EAAQpR,GAC7B5J,KAAKkS,MAAM,cAAe9M,EAAO2V,EAASC,EAAQpR,EACpD,ICleiI,ICOjI,EAAY,EACd,EACAxB,EACAoC,GACA,EACA,KACA,WACA,MAIF,EAAe,EAAiB,QChBhC,UAAkByQ,GAAOA,EAAIxF,UAAU,OAAc,GAErD,QCDA,MAAMC,EAAa,CACf,GAKEwF,EAAU,SAAUD,GAGlBC,EAAQC,WAEZzF,EAAWjV,KAAIgV,GAAawF,EAAIxF,UAAUA,EAAUtJ,KAAMsJ,IAC9D,EAGsB,qBAAXzN,QAA0BA,OAAOiT,KACxCC,EAAQlT,OAAOiT,KAGnB,OAEIC,UAEAE,QAAO,GCxBX,G","sources":["webpack://ofd-view/webpack/universalModuleDefinition","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?ddd6","webpack://ofd-view/./node_modules/css-loader/dist/runtime/api.js","webpack://ofd-view/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?dd5a","webpack://ofd-view/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://ofd-view/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://ofd-view/external umd {\"commonjs\":\"ofd.js\",\"commonjs2\":\"ofd.js\",\"root\":\"ofd\"}","webpack://ofd-view/external umd {\"commonjs\":\"parser_x.js\",\"commonjs2\":\"parser_x.js\",\"root\":\"parser_x\"}","webpack://ofd-view/webpack/bootstrap","webpack://ofd-view/webpack/runtime/compat get default export","webpack://ofd-view/webpack/runtime/define property getters","webpack://ofd-view/webpack/runtime/hasOwnProperty shorthand","webpack://ofd-view/webpack/runtime/make namespace object","webpack://ofd-view/webpack/runtime/publicPath","webpack://ofd-view/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://ofd-view/./packages/ofdView/src/index.vue?a7d7","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?4c5a","webpack://ofd-view/packages/draggable-resizable/draggable-resizable.vue","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?afce","webpack://ofd-view/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue","webpack://ofd-view/packages/ofdView/src/index.vue","webpack://ofd-view/./packages/ofdView/src/index.vue?3d0b","webpack://ofd-view/./packages/ofdView/src/index.vue","webpack://ofd-view/./packages/ofdView/index.js","webpack://ofd-view/./packages/index.js","webpack://ofd-view/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"ofd.js\"), require(\"parser_x.js\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([, ], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ofd-view\"] = factory(require(\"ofd.js\"), require(\"parser_x.js\"));\n\telse\n\t\troot[\"ofd-view\"] = factory(root[\"ofd\"], root[\"parser_x\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__485__, __WEBPACK_EXTERNAL_MODULE__700__) {\nreturn ","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___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}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n\n content += cssWithMappingToString(item);\n\n if (needLayer) {\n content += \"}\";\n }\n\n if (item[2]) {\n content += \"}\";\n }\n\n if (item[4]) {\n content += \"}\";\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n\n\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-96.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-96.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-96.use[3]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./draggable-resizable.vue?vue&type=style&index=0&id=6cdf0a0c&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"0b633f88\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE__485__;","module.exports = __WEBPACK_EXTERNAL_MODULE__700__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","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)])\n}\nvar 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(\"文档属性…\")])])])])\n},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%\")])])])])])])])\n},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\"}})])\n},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(\"关闭\")])])])])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vdr\",class:{\n draggable: _vm.draggable,\n resizable: _vm.resizable,\n active: _vm.enabled,\n dragging: _vm.dragging,\n resizing: _vm.resizing\n },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)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div\r\n class=\"vdr\"\r\n :style=\"style\"\r\n :class=\"{\r\n draggable: draggable,\r\n resizable: resizable,\r\n active: enabled,\r\n dragging: dragging,\r\n resizing: resizing\r\n }\"\r\n @mousedown=\"elmDown\"\r\n @touchstart=\"elmDown\"\r\n >\r\n <button type=\"button\" class=\"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm\"\r\n style=\"position:absolute; right: 5px; top: -20px;\" @click.stop=\"dropItem\" v-if=\"editable\">\r\n <span class=\"close\"></span>\r\n </button>\r\n <div\r\n v-for=\"handle in handles\"\r\n v-if=\"resizable\"\r\n class=\"handle\"\r\n :key=\"handle\"\r\n :class=\"'handle-' + handle\"\r\n :style=\"{ display: enabled ? 'block' : 'none'}\"\r\n @mousedown=\"handleDown(handle, $event)\"\r\n @touchstart=\"handleDown(handle, $event)\"\r\n ></div>\r\n <slot></slot>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n function isFunction (func) {\r\n return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'\r\n }\r\n\r\n function matchesSelectorToParentElements (el, selector, baseNode) {\r\n let node = el;\r\n const matchesSelectorFunc = [\r\n 'matches',\r\n 'webkitMatchesSelector',\r\n 'mozMatchesSelector',\r\n 'msMatchesSelector',\r\n 'oMatchesSelector'\r\n ].find(func => isFunction(node[func]));\r\n\r\n if (!isFunction(node[matchesSelectorFunc])) return false;\r\n\r\n do {\r\n if (node[matchesSelectorFunc](selector)) return true;\r\n if (node === baseNode) return false;\r\n node = node.parentNode\r\n } while (node);\r\n\r\n return false\r\n }\r\n\r\n export default {\r\n replace: true,\r\n name: 'VueDraggableResizable',\r\n props: {\r\n active: {\r\n type: Boolean, default: false\r\n },\r\n draggable: {\r\n type: Boolean, default: true\r\n },\r\n resizable: {\r\n type: Boolean, default: true\r\n },\r\n editable: {\r\n type: Boolean, default: true\r\n },\r\n w: {\r\n type: Number,\r\n default: 200,\r\n validator: function (val) {\r\n return val > 0\r\n }\r\n },\r\n h: {\r\n type: Number,\r\n default: 200,\r\n validator: function (val) {\r\n return val > 0\r\n }\r\n },\r\n minw: {\r\n type: Number,\r\n default: 50,\r\n validator: function (val) {\r\n return val >= 0\r\n }\r\n },\r\n minh: {\r\n type: Number,\r\n default: 50,\r\n validator: function (val) {\r\n return val >= 0\r\n }\r\n },\r\n x: {\r\n type: Number,\r\n default: 0,\r\n validator: function (val) {\r\n return typeof val === 'number'\r\n }\r\n },\r\n y: {\r\n type: Number,\r\n default: 0,\r\n validator: function (val) {\r\n return typeof val === 'number'\r\n }\r\n },\r\n z: {\r\n type: [ String, Number ],\r\n default: 'auto',\r\n validator: function (val) {\r\n return (typeof val === 'string') ? val === 'auto' : val >= 0;\r\n }\r\n },\r\n handles: {\r\n type: Array,\r\n default: function () {\r\n return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']\r\n },\r\n validator: function (val) {\r\n let s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']);\r\n return new Set(val.filter(h => s.has(h))).size === val.length\r\n }\r\n },\r\n dragHandle: {\r\n type: String,\r\n default: null\r\n },\r\n dragCancel: {\r\n type: String,\r\n default: null\r\n },\r\n axis: {\r\n type: String,\r\n default: 'both',\r\n validator: function (val) {\r\n return ['x', 'y', 'both'].indexOf(val) !== -1\r\n }\r\n },\r\n grid: {\r\n type: Array,\r\n default: function () {\r\n return [1, 1]\r\n }\r\n },\r\n parent: {\r\n type: Element, default: null\r\n },\r\n maximize: {\r\n type: Boolean, default: false\r\n },\r\n pages:{\r\n type: Array, required: false, default: null\r\n },\r\n eventBus: {\r\n type: Object, default: null\r\n },\r\n index: {\r\n type: Number, required: false, default: 0\r\n },\r\n currentPage: {\r\n type: Number, required: false, default: 0\r\n },\r\n stampId: {\r\n type: String, required: false, default: null\r\n }\r\n },\r\n created: function () {\r\n this.parentX = 0;\r\n this.parentW = 9999;\r\n this.parentY = 0;\r\n this.parentH = 9999;\r\n this.mouseX = 0;\r\n this.mouseY = 0;\r\n this.lastMouseX = 0;\r\n this.lastMouseY = 0;\r\n this.mouseOffX = 0;\r\n this.mouseOffY = 0;\r\n this.elmX = 0;\r\n this.elmY = 0;\r\n this.elmW = 0;\r\n this.elmH = 0;\r\n this.scrollPosition = 0;\r\n this.scrollDist = 0;\r\n this.pagesCount = this.pages ? this.pages.length : 0;\r\n this.section = [];\r\n this.scale = null;\r\n },\r\n mounted: function () {\r\n this.parent.addEventListener('mousemove', this.handleMove, false);\r\n this.parent.addEventListener('mousedown', this.deselect, false);\r\n this.parent.addEventListener('mouseup', this.handleUp, false);\r\n // touch events bindings\r\n this.parent.addEventListener('touchmove', this.handleMove, false);\r\n this.parent.addEventListener('touchend', this.handleUp, false);\r\n // this.parent.addEventListener('touchstart', this.handleUp, false);\r\n this.parent.addEventListener('touchstart', this.deselect, false);\r\n if(this.parent){\r\n this.parent.parentNode.addEventListener('scroll', this.handleScrollMove, false);\r\n }\r\n //resize\r\n if(this.eventBus){\r\n this.eventBus.on('stampResize', this.stampResize);\r\n }\r\n this.elmX = parseInt(this.$el.style.left);\r\n this.elmY = parseInt(this.$el.style.top);\r\n this.elmW = this.$el.offsetWidth || this.$el.clientWidth;\r\n this.elmH = this.$el.offsetHeight || this.$el.clientHeight;\r\n this._reviewDimensions();\r\n if(this.pages){\r\n if(!this.scale){\r\n this.scale = this.pages[0].viewport.scale;\r\n }\r\n this.updateSection();\r\n this.top = this.y + 10 < 0 ? 10 : this.y + 10;\r\n if(this.top < 10){\r\n this.top = 10;\r\n }\r\n let pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);\r\n this.elmY = this.top;\r\n let placed = this.pages[pageIndex];\r\n if(placed && this.x - placed.div.offsetLeft - 9 > 0){\r\n //nothing\r\n }else if(placed){\r\n this.left = placed.div.offsetLeft + 9;\r\n }\r\n this.elmX = this.left;\r\n this._emitPlaced(pageIndex);\r\n }\r\n },\r\n beforeUnmount: function () {\r\n this.parent.removeEventListener('mousemove', this.handleMove, false);\r\n this.parent.removeEventListener('mousedown', this.deselect, false);\r\n this.parent.removeEventListener('mouseup', this.handleUp, false);\r\n if(this.parent){\r\n this.parent.parentNode.removeEventListener('scroll', this.handleScrollMove, false);\r\n }\r\n if(this.eventBus){\r\n this.eventBus.off('stampResize', this.stampResize);\r\n }\r\n // touch events bindings removed\r\n this.parent.removeEventListener('touchmove', this.handleMove, false);\r\n this.parent.removeEventListener('touchend', this.handleUp, false);\r\n // this.parent.removeEventListener('touchstart', this.handleUp, false);\r\n this.parent.removeEventListener('touchstart', this.deselect, false);\r\n },\r\n data: function () {\r\n return {\r\n top: this.y,\r\n left: this.x,\r\n width: this.w,\r\n height: this.h,\r\n resizing: false,\r\n dragging: false,\r\n enabled: this.active,\r\n handle: null,\r\n zIndex: this.z\r\n }\r\n },\r\n methods: {\r\n adjust(arr, val, leftIndex, rightIndex){\r\n let pageIndex = this.binarySearch(arr, val, leftIndex, rightIndex);\r\n if(pageIndex < 0 || pageIndex > this.pagesCount - 1){\r\n pageIndex = 0;\r\n }\r\n pageIndex = this.adjustBoundary(pageIndex);\r\n return pageIndex;\r\n },\r\n handleScrollMove(e){\r\n if(this.dragging){\r\n this.scrollDist = e.currentTarget.scrollTop - this.scrollPosition;\r\n this.top = this.top + this.scrollDist;\r\n this.elmY = this.top;\r\n }\r\n this.scrollPosition = e.currentTarget.scrollTop;\r\n },\r\n stampAreaUpdate(sp){\r\n //update sp-1 and sp area\r\n for(let i = sp-1; i < sp+1; i++){\r\n if(i - 1 > 0 && i < this.pagesCount){\r\n this.section[i].t = this.section[i -1].t + this.pages[i - 1].viewport.height + 11;\r\n this.section[i].o = this.pages[i -1].div.offsetLeft + 9;\r\n }\r\n }\r\n },\r\n adjustBoundary(pageIndex){\r\n if(this.pages[pageIndex] && this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){\r\n if(this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH / 2 > 0) {\r\n this.top = this.section[pageIndex+1].t;\r\n pageIndex++;\r\n }else{\r\n this.top = this.section[pageIndex+1].t - this.elmH - 9 - 2;\r\n }\r\n }\r\n return pageIndex;\r\n },\r\n //二分查找\r\n binarySearch(arr, val, leftIndex, rightIndex){\r\n if(leftIndex > rightIndex){\r\n return leftIndex - 1;\r\n }\r\n let midIndex = Math.floor((leftIndex + rightIndex) / 2);\r\n let midVal = arr[midIndex].t;\r\n if(midVal > val){\r\n return this.binarySearch(arr, val, leftIndex, midIndex - 1);\r\n }else if(midVal < val){\r\n return this.binarySearch(arr, val, midIndex+1, rightIndex);\r\n }else{\r\n return midIndex;\r\n }\r\n },\r\n updateSection(){\r\n this.section.length = 0;\r\n let t = 10;\r\n for(let i = 0; i < this.pagesCount; i++){\r\n t = t + (i > 0 ? this.pages[i].viewport.height : 0) + (i > 0 ? 9+2 : 0);\r\n this.section.push({\r\n t,\r\n o: this.pages[i].div.offsetLeft + 9\r\n });\r\n }\r\n },\r\n stampResize(){\r\n if(this.scale != null){\r\n const section = [].concat(this.section);\r\n this.updateSection();\r\n const TOP = this.top;\r\n let pageIndex = this.binarySearch(section, TOP, this.currentPage - 1, this.pagesCount - 1);\r\n if(pageIndex < 0){\r\n pageIndex = 0;\r\n }\r\n const currentScale = this.pages[0].viewport.scale;\r\n const WIDTH = this.width;\r\n const HEIGHT = this.height;\r\n this.width = (WIDTH * currentScale) / this.scale;\r\n this.height = (HEIGHT * currentScale) / this.scale;\r\n const LEFT = this.left;\r\n this.top = ((TOP - 10) * currentScale) / this.scale + 10;\r\n this.left = this.pages[pageIndex].div.offsetLeft + (((LEFT - section[pageIndex].o) * currentScale) / this.scale) + 9;\r\n this.elmW = this.width;\r\n this.elmH = this.height;\r\n this.elmX = this.left;\r\n this.elmY = this.top;\r\n this.scale = currentScale;\r\n this._emitPlaced(pageIndex);\r\n }\r\n },\r\n\r\n _emitPlaced(pageIndex){\r\n this.$emit('placed', pageIndex, this.index, {\r\n x : (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,\r\n y: (this.pages[pageIndex].viewport.height - (this.top + this.elmH - this.section[pageIndex].t)) / this.pages[pageIndex].viewport.height,\r\n w: this.elmW / this.pages[pageIndex].viewport.width,\r\n h: this.elmH / this.pages[pageIndex].viewport.height\r\n }, this.stampId);\r\n },\r\n _reviewDimensions(){\r\n if (this.minw > this.w) this.width = this.minw;\r\n if (this.minh > this.h) this.height = this.minh;\r\n if (this.parent) {\r\n const parentW = parseInt(this.parent.scrollWidth, 10);\r\n const parentH = parseInt(this.parent.scrollHeight, 10);\r\n this.parentW = parentW;\r\n this.parentH = parentH;\r\n if (this.w > this.parentW) this.width = parentW;\r\n if (this.h > this.parentH) this.height = parentH;\r\n if ((this.x + this.w) > this.parentW) this.width = parentW - this.x;\r\n if ((this.y + this.h) > this.parentH) this.height = parentH - this.y;\r\n }\r\n this.elmW = this.width;\r\n this.elmH = this.height;\r\n },\r\n reviewDimensions: function () {\r\n this._reviewDimensions();\r\n this.$emit('resizing', this.left, this.top, this.width, this.height)\r\n },\r\n elmDown: function (e) {\r\n const target = e.target || e.srcElement;\r\n if (this.$el.contains(target)) {\r\n if (\r\n (this.dragHandle && !matchesSelectorToParentElements(target, this.dragHandle, this.$el)) ||\r\n (this.dragCancel && matchesSelectorToParentElements(target, this.dragCancel, this.$el))) {\r\n return\r\n }\r\n this.reviewDimensions();\r\n if (!this.enabled) {\r\n this.enabled = true\r\n this.$emit('activated')\r\n this.$emit('update:active', true)\r\n }\r\n if (this.draggable) {\r\n this.dragging = true\r\n }\r\n }\r\n },\r\n deselect: function (e) {\r\n if (e.type.indexOf('touch') !== -1) {\r\n this.mouseX = e.changedTouches[0].clientX\r\n this.mouseY = e.changedTouches[0].clientY\r\n } else {\r\n this.mouseX = e.pageX || e.clientX + this.parent.scrollLeft\r\n this.mouseY = e.pageY || e.clientY + this.parent.scrollTop\r\n }\r\n this.lastMouseX = this.mouseX\r\n this.lastMouseY = this.mouseY\r\n const target = e.target || e.srcElement\r\n const regex = new RegExp('handle-([trmbl]{2})', '')\r\n if (!this.$el.contains(target) && !regex.test(target.className)) {\r\n if (this.enabled) {\r\n this.enabled = false\r\n this.$emit('deactivated')\r\n this.$emit('update:active', false)\r\n }\r\n }\r\n },\r\n handleDown: function (handle, e) {\r\n this.handle = handle;\r\n if (e.cancelable) {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n }\r\n this.resizing = true;\r\n },\r\n // fillParent: function (e) {\r\n // if (!this.parent || !this.resizable || !this.maximize) return\r\n // let done = false\r\n // const animate = () => {\r\n // if (!done) {\r\n // window.requestAnimationFrame(animate)\r\n // }\r\n // if (this.axis === 'x') {\r\n // if (\r\n // this.width === this.parentW && this.left === this.parentX\r\n // ) done = true\r\n // } else if (this.axis === 'y') {\r\n // if (\r\n // this.height === this.parentH && this.top === this.parentY\r\n // ) done = true\r\n // } else if (this.axis === 'both') {\r\n // if (\r\n // this.width === this.parentW &&\r\n // this.height === this.parentH &&\r\n // this.top === this.parentY &&\r\n // this.left === this.parentX\r\n // ) done = true\r\n // }\r\n // if (this.axis === 'x' || this.axis === 'both') {\r\n // if (this.width < this.parentW) {\r\n // this.width++\r\n // this.elmW++\r\n // }\r\n // if (this.left > this.parentX) {\r\n // this.left--\r\n // this.elmX--\r\n // }\r\n // }\r\n // if (this.axis === 'y' || this.axis === 'both') {\r\n // if (this.height < this.parentH) {\r\n // this.height++\r\n // this.elmH++\r\n // }\r\n // if (this.top > this.parentY) {\r\n // this.top--\r\n // this.elmY--\r\n // }\r\n // }\r\n // this.$emit('resizing', this.left, this.top, this.width, this.height)\r\n // }\r\n // window.requestAnimationFrame(animate)\r\n // },\r\n handleMove: function (e) {\r\n const isTouchMove = e.type.indexOf('touchmove') !== -1\r\n this.mouseX = isTouchMove\r\n ? e.touches[0].clientX\r\n : e.pageX || e.clientX + document.documentElement.scrollLeft;\r\n this.mouseY = isTouchMove\r\n ? e.touches[0].clientY\r\n : e.pageY || e.clientY + document.documentElement.scrollTop;\r\n let diffX = this.mouseX - this.lastMouseX + this.mouseOffX;\r\n let diffY = this.mouseY - this.lastMouseY + this.mouseOffY;\r\n this.mouseOffX = this.mouseOffY = 0;\r\n this.lastMouseX = this.mouseX;\r\n this.lastMouseY = this.mouseY;\r\n let dX = diffX;\r\n let dY = diffY;\r\n if (this.resizing) {\r\n if (this.handle.indexOf('t') >= 0) {\r\n if (this.elmH - dY < this.minh) this.mouseOffY = (dY - (diffY = this.elmH - this.minh));\r\n else if (this.parent && this.elmY + dY < this.parentY) this.mouseOffY = (dY - (diffY = this.parentY - this.elmY));\r\n this.elmY += diffY\r\n this.elmH -= diffY\r\n }\r\n if (this.handle.indexOf('b') >= 0) {\r\n if (this.elmH + dY < this.minh) this.mouseOffY = (dY - (diffY = this.minh - this.elmH));\r\n else if (this.parent && this.elmY + this.elmH + dY > this.parentH) this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH));\r\n this.elmH += diffY\r\n }\r\n if (this.handle.indexOf('l') >= 0) {\r\n if (this.elmW - dX < this.minw) this.mouseOffX = (dX - (diffX = this.elmW - this.minw));\r\n else if (this.parent && this.elmX + dX < this.parentX) this.mouseOffX = (dX - (diffX = this.parentX - this.elmX));\r\n this.elmX += diffX\r\n this.elmW -= diffX\r\n }\r\n if (this.handle.indexOf('r') >= 0) {\r\n if (this.elmW + dX < this.minw) this.mouseOffX = (dX - (diffX = this.minw - this.elmW))\r\n else if (this.parent && this.elmX + this.elmW + dX > this.parentW) this.mouseOffX = (dX - (diffX = this.parentW - this.elmX - this.elmW));\r\n this.elmW += diffX\r\n }\r\n this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0]);\r\n this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1]);\r\n this.width = (Math.round(this.elmW / this.grid[0]) * this.grid[0]);\r\n this.height = (Math.round(this.elmH / this.grid[1]) * this.grid[1]);\r\n this.$emit('resizing', this.left, this.top, this.width, this.height);\r\n } else if (this.dragging) {\r\n if (this.parent) {\r\n this._reviewDimensions();\r\n let [_x, _y] = [0, 10];\r\n if(this.pages){\r\n let pageIndex = this.binarySearch(this.section, this.elmY+ diffY, this.currentPage - 1, this.pagesCount - 1);\r\n if(pageIndex < 0){\r\n pageIndex = 0;\r\n }\r\n if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){\r\n if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - (this.elmH * 0.9) - 11 > 0){\r\n pageIndex++;\r\n }\r\n }\r\n _x = this.pages[pageIndex].div.offsetLeft + 9;\r\n }\r\n if (this.elmX + dX < this.parentX + _x){\r\n this.mouseOffX = (dX - (diffX = this.parentX + _x - this.elmX))\r\n } else if (this.elmX + this.elmW + dX > (this.parentW - _x)){\r\n this.mouseOffX = (dX - (diffX = (this.parentW - _x) - this.elmX - this.elmW))\r\n }\r\n if (this.elmY + dY < this.parentY + _y){\r\n this.mouseOffY = (dY - (diffY = this.parentY + _y - this.elmY))\r\n } else if (this.elmY + this.elmH + dY > this.parentH) {\r\n this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH))\r\n }\r\n }\r\n this.elmX += diffX;\r\n this.elmY += diffY;\r\n if (this.axis === 'x' || this.axis === 'both') {\r\n this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0])\r\n }\r\n if (this.axis === 'y' || this.axis === 'both') {\r\n this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1])\r\n }\r\n this.$emit('dragging', this.left, this.top)\r\n }\r\n },\r\n handleUp: function (e) {\r\n if (e.type.indexOf('touch') !== -1) {\r\n this.lastMouseX = e.changedTouches[0].clientX;\r\n this.lastMouseY = e.changedTouches[0].clientY;\r\n }\r\n this.handle = null;\r\n //this.enabled = false;\r\n if (this.resizing) {\r\n this.resizing = false;\r\n this.$emit('resizestop', this.left, this.top, this.width, this.height)\r\n }\r\n if (this.dragging) {\r\n this.dragging = false;\r\n let pageIndex = 0;\r\n if(this.pages){\r\n pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);\r\n }\r\n this._emitPlaced(pageIndex);\r\n this.$emit('dragstop', this.left, this.top);\r\n }\r\n this.elmX = this.left;\r\n this.elmY = this.top;\r\n },\r\n dropItem(){\r\n this.$emit('dropitem', this.index);\r\n }\r\n },\r\n computed: {\r\n style: function () {\r\n return {\r\n top: this.top + 'px',\r\n left: this.left + 'px',\r\n width: this.width + 'px',\r\n height: this.height + 'px',\r\n zIndex: this.zIndex\r\n }\r\n }\r\n },\r\n watch: {\r\n active: function (val) {\r\n this.enabled = val\r\n },\r\n z: function (val) {\r\n if (val >= 0 || val === 'auto') {\r\n this.zIndex = val\r\n }\r\n },\r\n currentPage: function(newVal){\r\n this.stampAreaUpdate(newVal);\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n .vdr {\r\n touch-action: none;\r\n position: absolute;\r\n box-sizing: border-box;\r\n border: 1px dashed #ddd;\r\n cursor: move;\r\n }\r\n\r\n .vdr button{\r\n display: none;\r\n }\r\n\r\n .vdr:hover{\r\n border: 1px solid #fd397a;\r\n background: rgba(253,57,122,.08);\r\n }\r\n\r\n .vdr:hover button{\r\n display: block;\r\n }\r\n\r\n .handle {\r\n box-sizing: border-box;\r\n display: none;\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n font-size: 1px;\r\n background: rgba(253,57,122,.08);\r\n border: 1px solid #fd397a;\r\n }\r\n .handle-tl {\r\n top: -10px;\r\n left: -10px;\r\n cursor: nw-resize;\r\n }\r\n .handle-tm {\r\n top: -10px;\r\n left: 50%;\r\n margin-left: -5px;\r\n cursor: n-resize;\r\n }\r\n .handle-tr {\r\n top: -10px;\r\n right: -10px;\r\n cursor: ne-resize;\r\n }\r\n .handle-ml {\r\n top: 50%;\r\n margin-top: -5px;\r\n left: -10px;\r\n cursor: w-resize;\r\n }\r\n .handle-mr {\r\n top: 50%;\r\n margin-top: -5px;\r\n right: -10px;\r\n cursor: e-resize;\r\n }\r\n .handle-bl {\r\n bottom: -10px;\r\n left: -10px;\r\n cursor: sw-resize;\r\n }\r\n .handle-bm {\r\n bottom: -10px;\r\n left: 50%;\r\n margin-left: -5px;\r\n cursor: s-resize;\r\n }\r\n .handle-br {\r\n bottom: -10px;\r\n right: -10px;\r\n cursor: se-resize;\r\n }\r\n @media only screen and (max-width: 768px) {\r\n /* For mobile phones: */\r\n [class*=\"handle-\"]:before {\r\n content: '';\r\n left: -10px;\r\n right: -10px;\r\n bottom: -10px;\r\n top: -10px;\r\n position: absolute;\r\n }\r\n }\r\n\r\n\r\n .close {\r\n background: orange;\r\n color: red;\r\n border-radius: 12px;\r\n line-height: 20px;\r\n text-align: center;\r\n height: 20px;\r\n width: 20px;\r\n font-size: 18px;\r\n padding: 1px;\r\n }\r\n .close::before {\r\n content: \"\\2716\";\r\n }\r\n .close {\r\n top: 5px;\r\n right: 2px;\r\n position: absolute;\r\n }\r\n</style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./draggable-resizable.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./draggable-resizable.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./draggable-resizable.vue?vue&type=template&id=6cdf0a0c&scoped=true&\"\nimport script from \"./draggable-resizable.vue?vue&type=script&lang=js&\"\nexport * from \"./draggable-resizable.vue?vue&type=script&lang=js&\"\nimport style0 from \"./draggable-resizable.vue?vue&type=style&index=0&id=6cdf0a0c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cdf0a0c\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div id=\"outerContainer\">\r\n\r\n <div id=\"mainContainer\">\r\n\r\n <div id=\"secondaryToolbar\" class=\"secondaryToolbar hidden doorHangerRight\">\r\n <div id=\"secondaryToolbarButtonContainer\">\r\n <button id=\"secondaryOpenFile\" class=\"secondaryToolbarButton openFile visibleLargeView\" title=\"打开文件\"\r\n tabindex=\"52\" data-l10n-id=\"open_file\">\r\n <span data-l10n-id=\"open_file_label\">打开</span>\r\n </button>\r\n\r\n <button id=\"secondaryPrint\" class=\"secondaryToolbarButton print visibleMediumView\" title=\"打印\" tabindex=\"53\"\r\n data-l10n-id=\"print\">\r\n <span data-l10n-id=\"print_label\">打印</span>\r\n </button>\r\n\r\n <button id=\"documentProperties\" class=\"secondaryToolbarButton documentProperties\" title=\"文档属性…\"\r\n tabindex=\"69\" data-l10n-id=\"document_properties\" aria-controls=\"documentPropertiesDialog\">\r\n <span data-l10n-id=\"document_properties_label\">文档属性…</span>\r\n </button>\r\n </div>\r\n </div> <!-- secondaryToolbar -->\r\n\r\n <div class=\"toolbar\">\r\n <div id=\"toolbarContainer\">\r\n <div id=\"toolbarViewer\">\r\n <div id=\"toolbarViewerLeft\">\r\n <div class=\"splitToolbarButton hiddenSmallView\">\r\n <button class=\"toolbarButton pageUp\" title=\"上一页\" id=\"previous\" tabindex=\"13\"\r\n data-l10n-id=\"previous\">\r\n <span data-l10n-id=\"previous_label\">上一页</span>\r\n </button>\r\n <div class=\"splitToolbarButtonSeparator\"></div>\r\n <button class=\"toolbarButton pageDown\" title=\"下一页\" id=\"next\" tabindex=\"14\" data-l10n-id=\"next\">\r\n <span data-l10n-id=\"next_label\">下一页</span>\r\n </button>\r\n </div>\r\n <input type=\"number\" id=\"pageNumber\" class=\"toolbarField pageNumber\" title=\"页面\" value=\"1\" size=\"4\"\r\n min=\"1\" tabindex=\"15\" data-l10n-id=\"page\" autocomplete=\"off\">\r\n <span id=\"numPages\" class=\"toolbarLabel\"></span>\r\n </div>\r\n <div id=\"toolbarViewerRight\">\r\n\r\n <button id=\"openFile\" class=\"toolbarButton openFile hiddenLargeView\" title=\"打开文件\" tabindex=\"32\"\r\n data-l10n-id=\"open_file\">\r\n <span data-l10n-id=\"open_file_label\">打开</span>\r\n </button>\r\n\r\n <button id=\"print\" class=\"toolbarButton print hiddenMediumView\" title=\"打印\" tabindex=\"33\"\r\n data-l10n-id=\"print\">\r\n <span data-l10n-id=\"print_label\">打印</span>\r\n </button>\r\n\r\n <div class=\"verticalToolbarSeparator hiddenSmallView\"></div>\r\n\r\n <button id=\"secondaryToolbarToggle\" class=\"toolbarButton\" title=\"工具\" tabindex=\"36\" data-l10n-id=\"tools\"\r\n aria-expanded=\"false\" aria-controls=\"secondaryToolbar\">\r\n <span data-l10n-id=\"tools_label\">工具</span>\r\n </button>\r\n </div>\r\n <div id=\"toolbarViewerMiddle\">\r\n <div class=\"splitToolbarButton\">\r\n <button id=\"zoomOut\" class=\"toolbarButton zoomOut\" title=\"缩小\" tabindex=\"21\"\r\n data-l10n-id=\"zoom_out\">\r\n <span data-l10n-id=\"zoom_out_label\">缩小</span>\r\n </button>\r\n <div class=\"splitToolbarButtonSeparator\"></div>\r\n <button id=\"zoomIn\" class=\"toolbarButton zoomIn\" title=\"放大\" tabindex=\"22\" data-l10n-id=\"zoom_in\">\r\n <span data-l10n-id=\"zoom_in_label\">放大</span>\r\n </button>\r\n </div>\r\n <span id=\"scaleSelectContainer\" class=\"dropdownToolbarButton\">\r\n <select id=\"scaleSelect\" title=\"缩放\" tabindex=\"23\" data-l10n-id=\"zoom\">\r\n <option id=\"pageAutoOption\" title=\"\" value=\"auto\" selected=\"selected\"\r\n data-l10n-id=\"page_scale_auto\">自动缩放</option>\r\n <option id=\"pageActualOption\" title=\"\" value=\"page-actual\" data-l10n-id=\"page_scale_actual\">实际大小</option>\r\n <option id=\"pageFitOption\" title=\"\" value=\"page-fit\" data-l10n-id=\"page_scale_fit\">适合页面</option>\r\n <option id=\"pageWidthOption\" title=\"\" value=\"page-width\"\r\n data-l10n-id=\"page_scale_width\">适合页宽</option>\r\n <option id=\"customScaleOption\" title=\"\" value=\"custom\" disabled=\"disabled\" hidden=\"true\"></option>\r\n <option title=\"\" value=\"0.5\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 50 }'>50%</option>\r\n <option title=\"\" value=\"0.75\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 75 }'>75%</option>\r\n <option title=\"\" value=\"1\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 100 }'>100%</option>\r\n <option title=\"\" value=\"1.25\" data-l10n-id=\"page_scale_percent\" data-l10n-args='{ \"scale\": 125 }'>125%</option>\r\n <option title=\"\" value=\"1.5\" data-l10n-id=\"page_scale_percent\" data-l10n-args='{ \"scale\": 150 }'>150%</option>\r\n <option title=\"\" value=\"2\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 200 }'>200%</option>\r\n <option title=\"\" value=\"3\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 300 }'>300%</option>\r\n <option title=\"\" value=\"4\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 400 }'>400%</option>\r\n </select>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\">\r\n <vue-draggable-resizable v-for=\"(stamp, index) in stamps\" :w=\"stamp.w ? stamp.w : 174\" :h=\"stamp.h ? stamp.h : 174\" v-if=\"viewVisible\" :parent=\"config.viewerContainer\" :customForStamp=\"true\"\r\n :eventBus=\"eventBus\" :handles=\"['tl', 'tr', 'bl', 'br']\" :key=\"stamp.key\" :index=\"index\" @dropitem=\"removeStamp\"\r\n :x=\"stamp.x\" :y=\"stamp.located ? stamp.y : stamp.y + config.mainContainer.scrollTop\" :pages=\"pdfViewer._pages\" :currentPage=\"sp\"\r\n @dragstop=\"onStampDragStop\" @placed=\"placed\" :stampId=\"stamp.source.stampId\" :draggable=\"draggable\" :resizable=\"resizable\" :editable=\"editable\">\r\n <div class=\"stamp\" :style=\"{backgroundImage : 'url(data:image/png;base64,' + stamp.source.stampBase64 + ')'}\" ></div>\r\n <!-- <div v-if=\"stamp.type === 'recipient'\" class=\"circle\">-->\r\n <!-- <h5 class=\"mb-1 sl-font-bold text-white\">-->\r\n <!-- {{stamp.source.name}}-->\r\n <!-- </h5>-->\r\n <!--<!– <div class=\"sl-font-bold text-white small mb-2\">{{stamp.source.representUserId?stamp.source.representUserId:stamp.source.userId}}</div>–>-->\r\n <!-- <div class=\"text-white sl-font-bold\">-->\r\n <!-- <i class=\"fas fa-pencil-alt\"></i> 签章区-->\r\n <!-- </div>-->\r\n <!-- </div>-->\r\n </vue-draggable-resizable>\r\n </div>\r\n </div>\r\n\r\n <!--#if !MOZCENTRAL-->\r\n <div id=\"errorWrapper\" hidden='true'>\r\n <div id=\"errorMessageLeft\">\r\n <span id=\"errorMessage\"></span>\r\n <button id=\"errorShowMore\" data-l10n-id=\"error_more_info\">\r\n More Information\r\n </button>\r\n <button id=\"errorShowLess\" data-l10n-id=\"error_less_info\" hidden='true'>\r\n Less Information\r\n </button>\r\n </div>\r\n <div id=\"errorMessageRight\">\r\n <button id=\"errorClose\" data-l10n-id=\"error_close\">\r\n Close\r\n </button>\r\n </div>\r\n <div class=\"clearBoth\"></div>\r\n <textarea id=\"errorMoreInfo\" hidden='true' readonly=\"readonly\"></textarea>\r\n </div>\r\n <!--#endif-->\r\n </div> <!-- mainContainer -->\r\n\r\n <div id=\"dialogContainer\">\r\n <dialog id=\"documentPropertiesDialog\">\r\n <div class=\"row\">\r\n <span id=\"fileNameLabel\" data-l10n-id=\"document_properties_file_name\">文件名:</span>\r\n <p id=\"fileNameField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"fileSizeLabel\" data-l10n-id=\"document_properties_file_size\">文件大小:</span>\r\n <p id=\"fileSizeField\" aria-labelledby=\"fileSizeLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\">\r\n <span id=\"titleLabel\" data-l10n-id=\"document_properties_title\">标题:</span>\r\n <p id=\"titleField\" aria-labelledby=\"titleLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"authorLabel\" data-l10n-id=\"document_properties_author\">作者:</span>\r\n <p id=\"authorField\" aria-labelledby=\"authorLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"subjectLabel\" data-l10n-id=\"document_properties_subject\">主题:</span>\r\n <p id=\"subjectField\" aria-labelledby=\"subjectLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"keywordsLabel\" data-l10n-id=\"document_properties_keywords\">关键词:</span>\r\n <p id=\"keywordsField\" aria-labelledby=\"keywordsLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"creationDateLabel\" data-l10n-id=\"document_properties_creation_date\">创建日期:</span>\r\n <p id=\"creationDateField\" aria-labelledby=\"creationDateLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"modificationDateLabel\"\r\n data-l10n-id=\"document_properties_modification_date\">修改日期:</span>\r\n <p id=\"modificationDateField\" aria-labelledby=\"modificationDateLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"creatorLabel\" data-l10n-id=\"document_properties_creator\">创建者:</span>\r\n <p id=\"creatorField\" aria-labelledby=\"creatorLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\">\r\n <span id=\"producerLabel\" data-l10n-id=\"document_properties_producer\">OFD 生成器:</span>\r\n <p id=\"producerField\" aria-labelledby=\"producerLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"versionLabel\" data-l10n-id=\"document_properties_version\">OFD 版本:</span>\r\n <p id=\"versionField\" aria-labelledby=\"versionLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"pageCountLabel\" data-l10n-id=\"document_properties_page_count\">页数:</span>\r\n <p id=\"pageCountField\" aria-labelledby=\"pageCountLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"pageSizeLabel\" data-l10n-id=\"document_properties_page_size\">页面大小:</span>\r\n <p id=\"pageSizeField\" aria-labelledby=\"pageSizeLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\" hidden=\"hidden\">\r\n <span id=\"linearizedLabel\" data-l10n-id=\"document_properties_linearized\">快速 Web 视图:</span>\r\n <p id=\"linearizedField\" aria-labelledby=\"linearizedLabel\">-</p>\r\n </div>\r\n <div class=\"buttonRow\">\r\n <button id=\"documentPropertiesClose\" class=\"dialogButton\"><span\r\n data-l10n-id=\"document_properties_close\">关闭</span></button>\r\n </div>\r\n </dialog>\r\n <!--#if !MOZCENTRAL-->\r\n <dialog id=\"printServiceDialog\" style=\"min-width: 200px;\">\r\n <div class=\"row\">\r\n <span data-l10n-id=\"print_progress_message\">正在准备打印文档…</span>\r\n </div>\r\n <div class=\"row\">\r\n <progress id=\"printProgress\" value=\"0\" max=\"100\"></progress>\r\n <span data-l10n-id=\"print_progress_percent\" data-l10n-args='{ \"progress\": 0 }'\r\n class=\"relative-progress\">0%</span>\r\n </div>\r\n <div class=\"buttonRow\">\r\n <button id=\"printCancel\" class=\"dialogButton\"><span data-l10n-id=\"print_progress_close\">取消</span></button>\r\n </div>\r\n </dialog>\r\n\r\n <dialog id=\"signaturePropertiesDialog\">\r\n <div class=\"row\">\r\n <span id=\"signerLabel\">签章人:</span>\r\n <p id=\"signerField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"providerLabel\">签章提供者:</span>\r\n <p id=\"providerField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"hashedValueLabel\">原文摘要值:</span>\r\n <p id=\"hashedValueField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"signedValueLabel\">签名值:</span>\r\n <p id=\"signedValueField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"signMethodLabel\">签名算法:</span>\r\n <p id=\"signMethodField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"signVersionLabel\">版本号:</span>\r\n <p id=\"signVersionField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"verifyLabel\">验签结果:</span>\r\n <p id=\"verifyField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\">\r\n <span id=\"sealIDLabel\">印章标识:</span>\r\n <p id=\"sealIDField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealNameLabel\">印章名称:</span>\r\n <p id=\"sealNameField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealTypeLabel\">印章类型:</span>\r\n <p id=\"sealTypeField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealAuthTimeLabel\">有效时间:</span>\r\n <p id=\"sealAuthTimeField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealMakeTimeLabel\">制章日期:</span>\r\n <p id=\"sealMakeTimeField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealVersionLabel\">印章版本:</span>\r\n <p id=\"sealVersionField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"buttonRow\">\r\n <button id=\"signaturePropertiesClose\" class=\"dialogButton\"><span data-l10n-id=\"document_properties_close\">关闭</span>\r\n </button>\r\n </div>\r\n </dialog>\r\n <!--#endif-->\r\n <!--#if CHROME-->\r\n <!--#include viewer-snippet-chrome-overlays.html-->\r\n <!--#endif-->\r\n </div> <!-- dialogContainer -->\r\n\r\n </div> <!-- outerContainer -->\r\n</template>\r\n\r\n<script>\r\n\r\nimport VueDraggableResizable from '../../draggable-resizable/draggable-resizable'\r\nexport default {\r\n name: \"OfdView\",\r\n components:{\r\n VueDraggableResizable\r\n },\r\n props: {\r\n url: {\r\n type: String,\r\n required: true\r\n },\r\n mem: {\r\n type: Boolean, required: false, default: true\r\n },\r\n draggable: {\r\n type: Boolean, required: false, default: true\r\n },\r\n resizable: {\r\n type: Boolean, required: false, default: false\r\n },\r\n editable: {\r\n type: Boolean, required: false, default: true\r\n },\r\n stamps: {\r\n type: Array,\r\n required: false,\r\n default: () => []\r\n }\r\n },\r\n\r\n watch: {\r\n\r\n },\r\n\r\n\r\n data() {\r\n return {\r\n viewVisible: false,\r\n config: null,\r\n eventBus: null,\r\n sp: 1,\r\n }\r\n },\r\n\r\n mounted() {\r\n let ofd;\r\n if (this.mem) {\r\n ofd = require('ofd.js')\r\n } else {\r\n ofd = require('parser_x.js')\r\n }\r\n if (!this.config) {\r\n this.config = this.getViewerConfiguration()\r\n //vue下viewerContainer必须设置height\r\n // this.containerHeight = `${window.innerHeight - 100}px`\r\n let img = new Image();\r\n img.style.position = 'absolute';\r\n img.style.left = 0;\r\n img.style.right = 0;\r\n img.style.margin = 'auto';\r\n img.style.top = 0;\r\n img.style.bottom = 0;\r\n img.src = 'data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHp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eRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n this.config.loadingContainer = img\r\n\r\n this.config.onPageChanging = pageNumber => {\r\n this.sp = pageNumber\r\n }\r\n // config.parserOFDSuccess = core => {\r\n // // console.log(core)\r\n // }\r\n // config.onPageScale = scale => {\r\n // // console.log(scale)\r\n // }\r\n ofd.initOFDViewer(this.config)\r\n }\r\n ofd.openOFD(this.url)\r\n this.$emit('viewready', this.config)\r\n },\r\n\r\n methods: {\r\n getViewerConfiguration() {\r\n let errorWrapper = null\r\n errorWrapper = {\r\n container: document.getElementById('errorWrapper'),\r\n errorMessage: document.getElementById('errorMessage'),\r\n closeButton: document.getElementById('errorClose'),\r\n errorMoreInfo: document.getElementById('errorMoreInfo'),\r\n moreInfoButton: document.getElementById('errorShowMore'),\r\n lessInfoButton: document.getElementById('errorShowLess'),\r\n }\r\n\r\n return {\r\n appContainer: document.body,\r\n mainContainer: document.getElementById('viewerContainer'),\r\n viewerContainer: document.getElementById('viewer'),\r\n toolbar: {\r\n container: document.getElementById('toolbarViewer'),\r\n numPages: document.getElementById('numPages'),\r\n pageNumber: document.getElementById('pageNumber'),\r\n scaleSelect: document.getElementById('scaleSelect'),\r\n customScaleOption: document.getElementById('customScaleOption'),\r\n previous: document.getElementById('previous'),\r\n next: document.getElementById('next'),\r\n zoomIn: document.getElementById('zoomIn'),\r\n zoomOut: document.getElementById('zoomOut'),\r\n openFile: document.getElementById('openFile'),\r\n print: document.getElementById('print'),\r\n },\r\n secondaryToolbar: {\r\n toolbar: document.getElementById('secondaryToolbar'),\r\n toggleButton: document.getElementById('secondaryToolbarToggle'),\r\n toolbarButtonContainer: document.getElementById(\r\n 'secondaryToolbarButtonContainer'\r\n ),\r\n openFileButton: document.getElementById('secondaryOpenFile'),\r\n printButton: document.getElementById('secondaryPrint'),\r\n documentPropertiesButton: document.getElementById('documentProperties'),\r\n },\r\n sidebar: {\r\n // Divs (and sidebar button)\r\n outerContainer: document.getElementById('outerContainer'),\r\n viewerContainer: document.getElementById('viewerContainer'),\r\n },\r\n sidebarResizer: {\r\n outerContainer: document.getElementById('outerContainer'),\r\n },\r\n documentProperties: {\r\n dialog: document.getElementById('documentPropertiesDialog'),\r\n closeButton: document.getElementById('documentPropertiesClose'),\r\n fields: {\r\n fileName: document.getElementById('fileNameField'),\r\n fileSize: document.getElementById('fileSizeField'),\r\n title: document.getElementById('titleField'),\r\n author: document.getElementById('authorField'),\r\n subject: document.getElementById('subjectField'),\r\n keywords: document.getElementById('keywordsField'),\r\n creationDate: document.getElementById('creationDateField'),\r\n modificationDate: document.getElementById('modificationDateField'),\r\n creator: document.getElementById('creatorField'),\r\n producer: document.getElementById('producerField'),\r\n version: document.getElementById('versionField'),\r\n pageCount: document.getElementById('pageCountField'),\r\n pageSize: document.getElementById('pageSizeField'),\r\n linearized: document.getElementById('linearizedField'),\r\n },\r\n },\r\n signatureProperties: {\r\n dialog: document.getElementById('signaturePropertiesDialog'),\r\n closeButton: document.getElementById('signaturePropertiesClose'),\r\n fields: {\r\n signer: document.getElementById('signerField'),\r\n provider: document.getElementById('providerField'),\r\n hashedValue: document.getElementById('hashedValueField'),\r\n signedValue: document.getElementById('signedValueField'),\r\n signMethod: document.getElementById('signMethodField'),\r\n signVersion: document.getElementById('signVersionField'),\r\n verify: document.getElementById('verifyField'),\r\n\r\n sealID: document.getElementById('sealIDField'),\r\n sealName: document.getElementById('sealNameField'),\r\n sealType: document.getElementById('sealTypeField'),\r\n sealAuthTime: document.getElementById('sealAuthTimeField'),\r\n sealMakeTime: document.getElementById('sealMakeTimeField'),\r\n sealVersion: document.getElementById('sealVersionField'),\r\n },\r\n },\r\n errorWrapper,\r\n printContainer: document.getElementById('printContainer'),\r\n openFileInputName: 'fileInput',\r\n }\r\n },\r\n\r\n onStampDragOver(e) {\r\n e.dataTransfer.dropEffect = 'move';\r\n },\r\n removeStamp(index){\r\n this.$emit('removePos', index);\r\n },\r\n // eslint-disable-next-line no-unused-vars\r\n onStampDragStop(ctx){\r\n\r\n },\r\n placed(pageNum, index, params, stampId){\r\n this.$emit('itemDropped', index, pageNum, params, stampId);\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","import mod from \"-!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4f83f1c8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f83f1c8\",\n null\n \n)\n\nexport default component.exports","import OfdView from './src';\r\n\r\nOfdView.install = Vue => Vue.component(OfdView.name, OfdView);//注册组件\r\n\r\nexport default OfdView\r\n","import OfdView from './ofdView'\r\n// import PdvView from './pdfView'\r\n\r\nconst components = [\r\n OfdView,\r\n // PdvView\r\n]\r\n\r\n// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册\r\nconst install = function (Vue) {\r\n\r\n// 判断是否安装\r\n if (install.installed) return\r\n // 遍历注册全局组件\r\n components.map(component => Vue.component(component.name, component))\r\n}\r\n\r\n// 判断是否是直接引入文件\r\nif (typeof window !== 'undefined' && window.Vue) {\r\n install(window.Vue)\r\n}\r\n\r\nexport default {\r\n // 导出的对象必须具有 install,才能被 Vue.use() 方法安装\r\n install,\r\n // 以下是具体的组件列表\r\n OfdView,\r\n // PdvView\r\n}\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","require","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE__485__","__WEBPACK_EXTERNAL_MODULE__700__","___CSS_LOADER_EXPORT___","push","id","cssWithMappingToString","list","toString","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","__esModule","default","locals","add","listToStyles","parentId","styles","newStyles","css","sourceMap","part","parts","hasDocument","document","DEBUG","Error","stylesInDom","head","getElementsByTagName","singletonElement","singletonCounter","isProduction","noop","options","ssrIdKey","isOldIE","navigator","test","userAgent","toLowerCase","addStylesClient","_isProduction","_options","addStylesToDom","newList","mayRemove","domStyle","refs","j","addStyle","createStyleElement","styleElement","createElement","type","appendChild","obj","update","remove","querySelector","parentNode","removeChild","styleIndex","applyToSingletonTag","bind","applyToTag","newObj","replaceText","textStore","index","replacement","filter","Boolean","styleSheet","cssText","cssNode","createTextNode","childNodes","insertBefore","setAttribute","ssrId","sources","btoa","unescape","encodeURIComponent","JSON","stringify","firstChild","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","d","a","definition","key","o","Object","defineProperty","enumerable","get","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","p","window","currentScript","src","match","render","_vm","_c","_self","attrs","_m","_v","staticClass","_l","stamp","w","h","config","viewerContainer","eventBus","x","located","y","mainContainer","scrollTop","pdfViewer","_pages","sp","source","stampId","draggable","resizable","editable","on","removeStamp","onStampDragStop","placed","style","backgroundImage","stampBase64","_e","staticRenderFns","staticStyle","class","active","enabled","dragging","resizing","elmDown","$event","stopPropagation","dropItem","apply","arguments","handle","display","handleDown","_t","isFunction","func","matchesSelectorToParentElements","el","selector","baseNode","node","matchesSelectorFunc","find","replace","name","props","Number","validator","val","minw","minh","z","String","handles","Array","s","Set","has","size","dragHandle","dragCancel","axis","indexOf","grid","parent","Element","maximize","pages","required","currentPage","created","parentX","parentW","parentY","parentH","mouseX","mouseY","lastMouseX","lastMouseY","mouseOffX","mouseOffY","elmX","elmY","elmW","elmH","scrollPosition","scrollDist","pagesCount","section","scale","mounted","addEventListener","handleMove","deselect","handleUp","handleScrollMove","stampResize","parseInt","$el","left","top","offsetWidth","clientWidth","offsetHeight","clientHeight","_reviewDimensions","viewport","updateSection","pageIndex","adjust","div","offsetLeft","_emitPlaced","beforeUnmount","removeEventListener","off","data","width","height","zIndex","methods","arr","leftIndex","rightIndex","binarySearch","adjustBoundary","e","currentTarget","stampAreaUpdate","t","midIndex","Math","floor","midVal","TOP","currentScale","WIDTH","HEIGHT","LEFT","$emit","scrollWidth","scrollHeight","reviewDimensions","target","srcElement","contains","changedTouches","clientX","clientY","pageX","scrollLeft","pageY","regex","RegExp","className","cancelable","preventDefault","isTouchMove","touches","documentElement","diffX","diffY","dX","dY","round","_x","_y","computed","watch","newVal","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","existing","beforeCreate","component","components","VueDraggableResizable","url","mem","stamps","viewVisible","ofd","getViewerConfiguration","img","Image","position","right","margin","bottom","loadingContainer","onPageChanging","pageNumber","initOFDViewer","openOFD","errorWrapper","container","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","toolbar","numPages","scaleSelect","customScaleOption","previous","next","zoomIn","zoomOut","openFile","print","secondaryToolbar","toggleButton","toolbarButtonContainer","openFileButton","printButton","documentPropertiesButton","sidebar","outerContainer","sidebarResizer","documentProperties","dialog","fields","fileName","fileSize","title","author","subject","keywords","creationDate","modificationDate","creator","producer","version","pageCount","pageSize","linearized","signatureProperties","signer","provider","hashedValue","signedValue","signMethod","signVersion","verify","sealID","sealName","sealType","sealAuthTime","sealMakeTime","sealVersion","printContainer","openFileInputName","onStampDragOver","dataTransfer","dropEffect","ctx","pageNum","params","Vue","install","installed","OfdView"],"sourceRoot":""}
|
1
|
+
{"version":3,"file":"ofd-view.umd.min.js","mapp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/universalModuleDefinition","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?ddd6","webpack://ofd-view/./node_modules/css-loader/dist/runtime/api.js","webpack://ofd-view/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?dd5a","webpack://ofd-view/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://ofd-view/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://ofd-view/webpack/bootstrap","webpack://ofd-view/webpack/runtime/compat get default export","webpack://ofd-view/webpack/runtime/define property getters","webpack://ofd-view/webpack/runtime/hasOwnProperty shorthand","webpack://ofd-view/webpack/runtime/make namespace object","webpack://ofd-view/webpack/runtime/publicPath","webpack://ofd-view/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://ofd-view/./packages/ofdView/src/index.vue?9294","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?4c5a","webpack://ofd-view/packages/draggable-resizable/draggable-resizable.vue","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue?afce","webpack://ofd-view/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://ofd-view/./packages/draggable-resizable/draggable-resizable.vue","webpack://ofd-view/packages/ofdView/src/index.vue","webpack://ofd-view/./packages/ofdView/src/index.vue?3d0b","webpack://ofd-view/./packages/ofdView/src/index.vue","webpack://ofd-view/./packages/ofdView/index.js","webpack://ofd-view/./packages/index.js","webpack://ofd-view/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ofd-view\"] = factory();\n\telse\n\t\troot[\"ofd-view\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn ","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___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}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n\n content += cssWithMappingToString(item);\n\n if (needLayer) {\n content += \"}\";\n }\n\n if (item[2]) {\n content += \"}\";\n }\n\n if (item[4]) {\n content += \"}\";\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n\n\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-96.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-96.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-96.use[3]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./draggable-resizable.vue?vue&type=style&index=0&id=6cdf0a0c&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"0b633f88\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","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)])\n}\nvar 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(\"文档属性…\")])])])])\n},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%\")])])])])])])])\n},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\"}})])\n},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(\"关闭\")])])])])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vdr\",class:{\n draggable: _vm.draggable,\n resizable: _vm.resizable,\n active: _vm.enabled,\n dragging: _vm.dragging,\n resizing: _vm.resizing\n },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)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div\r\n class=\"vdr\"\r\n :style=\"style\"\r\n :class=\"{\r\n draggable: draggable,\r\n resizable: resizable,\r\n active: enabled,\r\n dragging: dragging,\r\n resizing: resizing\r\n }\"\r\n @mousedown=\"elmDown\"\r\n @touchstart=\"elmDown\"\r\n >\r\n <button type=\"button\" class=\"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm\"\r\n style=\"position:absolute; right: 5px; top: -20px;\" @click.stop=\"dropItem\" v-if=\"editable\">\r\n <span class=\"close\"></span>\r\n </button>\r\n <div\r\n v-for=\"handle in handles\"\r\n v-if=\"resizable\"\r\n class=\"handle\"\r\n :key=\"handle\"\r\n :class=\"'handle-' + handle\"\r\n :style=\"{ display: enabled ? 'block' : 'none'}\"\r\n @mousedown=\"handleDown(handle, $event)\"\r\n @touchstart=\"handleDown(handle, $event)\"\r\n ></div>\r\n <slot></slot>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n function isFunction (func) {\r\n return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'\r\n }\r\n\r\n function matchesSelectorToParentElements (el, selector, baseNode) {\r\n let node = el;\r\n const matchesSelectorFunc = [\r\n 'matches',\r\n 'webkitMatchesSelector',\r\n 'mozMatchesSelector',\r\n 'msMatchesSelector',\r\n 'oMatchesSelector'\r\n ].find(func => isFunction(node[func]));\r\n\r\n if (!isFunction(node[matchesSelectorFunc])) return false;\r\n\r\n do {\r\n if (node[matchesSelectorFunc](selector)) return true;\r\n if (node === baseNode) return false;\r\n node = node.parentNode\r\n } while (node);\r\n\r\n return false\r\n }\r\n\r\n export default {\r\n replace: true,\r\n name: 'VueDraggableResizable',\r\n props: {\r\n active: {\r\n type: Boolean, default: false\r\n },\r\n draggable: {\r\n type: Boolean, default: true\r\n },\r\n resizable: {\r\n type: Boolean, default: true\r\n },\r\n editable: {\r\n type: Boolean, default: true\r\n },\r\n w: {\r\n type: Number,\r\n default: 200,\r\n validator: function (val) {\r\n return val > 0\r\n }\r\n },\r\n h: {\r\n type: Number,\r\n default: 200,\r\n validator: function (val) {\r\n return val > 0\r\n }\r\n },\r\n minw: {\r\n type: Number,\r\n default: 50,\r\n validator: function (val) {\r\n return val >= 0\r\n }\r\n },\r\n minh: {\r\n type: Number,\r\n default: 50,\r\n validator: function (val) {\r\n return val >= 0\r\n }\r\n },\r\n x: {\r\n type: Number,\r\n default: 0,\r\n validator: function (val) {\r\n return typeof val === 'number'\r\n }\r\n },\r\n y: {\r\n type: Number,\r\n default: 0,\r\n validator: function (val) {\r\n return typeof val === 'number'\r\n }\r\n },\r\n z: {\r\n type: [ String, Number ],\r\n default: 'auto',\r\n validator: function (val) {\r\n return (typeof val === 'string') ? val === 'auto' : val >= 0;\r\n }\r\n },\r\n handles: {\r\n type: Array,\r\n default: function () {\r\n return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']\r\n },\r\n validator: function (val) {\r\n let s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']);\r\n return new Set(val.filter(h => s.has(h))).size === val.length\r\n }\r\n },\r\n dragHandle: {\r\n type: String,\r\n default: null\r\n },\r\n dragCancel: {\r\n type: String,\r\n default: null\r\n },\r\n axis: {\r\n type: String,\r\n default: 'both',\r\n validator: function (val) {\r\n return ['x', 'y', 'both'].indexOf(val) !== -1\r\n }\r\n },\r\n grid: {\r\n type: Array,\r\n default: function () {\r\n return [1, 1]\r\n }\r\n },\r\n parent: {\r\n type: Element, default: null\r\n },\r\n maximize: {\r\n type: Boolean, default: false\r\n },\r\n pages:{\r\n type: Array, required: false, default: null\r\n },\r\n eventBus: {\r\n type: Object, default: null\r\n },\r\n index: {\r\n type: Number, required: false, default: 0\r\n },\r\n currentPage: {\r\n type: Number, required: false, default: 0\r\n },\r\n stampId: {\r\n type: String, required: false, default: null\r\n }\r\n },\r\n created: function () {\r\n this.parentX = 0;\r\n this.parentW = 9999;\r\n this.parentY = 0;\r\n this.parentH = 9999;\r\n this.mouseX = 0;\r\n this.mouseY = 0;\r\n this.lastMouseX = 0;\r\n this.lastMouseY = 0;\r\n this.mouseOffX = 0;\r\n this.mouseOffY = 0;\r\n this.elmX = 0;\r\n this.elmY = 0;\r\n this.elmW = 0;\r\n this.elmH = 0;\r\n this.scrollPosition = 0;\r\n this.scrollDist = 0;\r\n this.pagesCount = this.pages ? this.pages.length : 0;\r\n this.section = [];\r\n this.scale = null;\r\n },\r\n mounted: function () {\r\n this.parent.addEventListener('mousemove', this.handleMove, false);\r\n this.parent.addEventListener('mousedown', this.deselect, false);\r\n this.parent.addEventListener('mouseup', this.handleUp, false);\r\n // touch events bindings\r\n this.parent.addEventListener('touchmove', this.handleMove, false);\r\n this.parent.addEventListener('touchend', this.handleUp, false);\r\n // this.parent.addEventListener('touchstart', this.handleUp, false);\r\n this.parent.addEventListener('touchstart', this.deselect, false);\r\n if(this.parent){\r\n this.parent.parentNode.addEventListener('scroll', this.handleScrollMove, false);\r\n }\r\n //resize\r\n if(this.eventBus){\r\n this.eventBus.on('stampResize', this.stampResize);\r\n }\r\n this.elmX = parseInt(this.$el.style.left);\r\n this.elmY = parseInt(this.$el.style.top);\r\n this.elmW = this.$el.offsetWidth || this.$el.clientWidth;\r\n this.elmH = this.$el.offsetHeight || this.$el.clientHeight;\r\n this._reviewDimensions();\r\n if(this.pages){\r\n if(!this.scale){\r\n this.scale = this.pages[0].viewport.scale;\r\n }\r\n this.updateSection();\r\n this.top = this.y + 10 < 0 ? 10 : this.y + 10;\r\n if(this.top < 10){\r\n this.top = 10;\r\n }\r\n let pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);\r\n this.elmY = this.top;\r\n let placed = this.pages[pageIndex];\r\n if(placed && this.x - placed.div.offsetLeft - 9 > 0){\r\n //nothing\r\n }else if(placed){\r\n this.left = placed.div.offsetLeft + 9;\r\n }\r\n this.elmX = this.left;\r\n this._emitPlaced(pageIndex);\r\n }\r\n },\r\n beforeUnmount: function () {\r\n this.parent.removeEventListener('mousemove', this.handleMove, false);\r\n this.parent.removeEventListener('mousedown', this.deselect, false);\r\n this.parent.removeEventListener('mouseup', this.handleUp, false);\r\n if(this.parent){\r\n this.parent.parentNode.removeEventListener('scroll', this.handleScrollMove, false);\r\n }\r\n if(this.eventBus){\r\n this.eventBus.off('stampResize', this.stampResize);\r\n }\r\n // touch events bindings removed\r\n this.parent.removeEventListener('touchmove', this.handleMove, false);\r\n this.parent.removeEventListener('touchend', this.handleUp, false);\r\n // this.parent.removeEventListener('touchstart', this.handleUp, false);\r\n this.parent.removeEventListener('touchstart', this.deselect, false);\r\n },\r\n data: function () {\r\n return {\r\n top: this.y,\r\n left: this.x,\r\n width: this.w,\r\n height: this.h,\r\n resizing: false,\r\n dragging: false,\r\n enabled: this.active,\r\n handle: null,\r\n zIndex: this.z\r\n }\r\n },\r\n methods: {\r\n adjust(arr, val, leftIndex, rightIndex){\r\n let pageIndex = this.binarySearch(arr, val, leftIndex, rightIndex);\r\n if(pageIndex < 0 || pageIndex > this.pagesCount - 1){\r\n pageIndex = 0;\r\n }\r\n pageIndex = this.adjustBoundary(pageIndex);\r\n return pageIndex;\r\n },\r\n handleScrollMove(e){\r\n if(this.dragging){\r\n this.scrollDist = e.currentTarget.scrollTop - this.scrollPosition;\r\n this.top = this.top + this.scrollDist;\r\n this.elmY = this.top;\r\n }\r\n this.scrollPosition = e.currentTarget.scrollTop;\r\n },\r\n stampAreaUpdate(sp){\r\n //update sp-1 and sp area\r\n for(let i = sp-1; i < sp+1; i++){\r\n if(i - 1 > 0 && i < this.pagesCount){\r\n this.section[i].t = this.section[i -1].t + this.pages[i - 1].viewport.height + 11;\r\n this.section[i].o = this.pages[i -1].div.offsetLeft + 9;\r\n }\r\n }\r\n },\r\n adjustBoundary(pageIndex){\r\n if(this.pages[pageIndex] && this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){\r\n if(this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH / 2 > 0) {\r\n this.top = this.section[pageIndex+1].t;\r\n pageIndex++;\r\n }else{\r\n this.top = this.section[pageIndex+1].t - this.elmH - 9 - 2;\r\n }\r\n }\r\n return pageIndex;\r\n },\r\n //二分查找\r\n binarySearch(arr, val, leftIndex, rightIndex){\r\n if(leftIndex > rightIndex){\r\n return leftIndex - 1;\r\n }\r\n let midIndex = Math.floor((leftIndex + rightIndex) / 2);\r\n let midVal = arr[midIndex].t;\r\n if(midVal > val){\r\n return this.binarySearch(arr, val, leftIndex, midIndex - 1);\r\n }else if(midVal < val){\r\n return this.binarySearch(arr, val, midIndex+1, rightIndex);\r\n }else{\r\n return midIndex;\r\n }\r\n },\r\n updateSection(){\r\n this.section.length = 0;\r\n let t = 10;\r\n for(let i = 0; i < this.pagesCount; i++){\r\n t = t + (i > 0 ? this.pages[i].viewport.height : 0) + (i > 0 ? 9+2 : 0);\r\n this.section.push({\r\n t,\r\n o: this.pages[i].div.offsetLeft + 9\r\n });\r\n }\r\n },\r\n stampResize(){\r\n if(this.scale != null){\r\n const section = [].concat(this.section);\r\n this.updateSection();\r\n const TOP = this.top;\r\n let pageIndex = this.binarySearch(section, TOP, this.currentPage - 1, this.pagesCount - 1);\r\n if(pageIndex < 0){\r\n pageIndex = 0;\r\n }\r\n const currentScale = this.pages[0].viewport.scale;\r\n const WIDTH = this.width;\r\n const HEIGHT = this.height;\r\n this.width = (WIDTH * currentScale) / this.scale;\r\n this.height = (HEIGHT * currentScale) / this.scale;\r\n const LEFT = this.left;\r\n this.top = ((TOP - 10) * currentScale) / this.scale + 10;\r\n this.left = this.pages[pageIndex].div.offsetLeft + (((LEFT - section[pageIndex].o) * currentScale) / this.scale) + 9;\r\n this.elmW = this.width;\r\n this.elmH = this.height;\r\n this.elmX = this.left;\r\n this.elmY = this.top;\r\n this.scale = currentScale;\r\n this._emitPlaced(pageIndex);\r\n }\r\n },\r\n\r\n _emitPlaced(pageIndex){\r\n this.$emit('placed', pageIndex, this.index, {\r\n x : (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,\r\n y: (this.pages[pageIndex].viewport.height - (this.top + this.elmH - this.section[pageIndex].t)) / this.pages[pageIndex].viewport.height,\r\n w: this.elmW / this.pages[pageIndex].viewport.width,\r\n h: this.elmH / this.pages[pageIndex].viewport.height\r\n }, this.stampId);\r\n },\r\n _reviewDimensions(){\r\n if (this.minw > this.w) this.width = this.minw;\r\n if (this.minh > this.h) this.height = this.minh;\r\n if (this.parent) {\r\n const parentW = parseInt(this.parent.scrollWidth, 10);\r\n const parentH = parseInt(this.parent.scrollHeight, 10);\r\n this.parentW = parentW;\r\n this.parentH = parentH;\r\n if (this.w > this.parentW) this.width = parentW;\r\n if (this.h > this.parentH) this.height = parentH;\r\n if ((this.x + this.w) > this.parentW) this.width = parentW - this.x;\r\n if ((this.y + this.h) > this.parentH) this.height = parentH - this.y;\r\n }\r\n this.elmW = this.width;\r\n this.elmH = this.height;\r\n },\r\n reviewDimensions: function () {\r\n this._reviewDimensions();\r\n this.$emit('resizing', this.left, this.top, this.width, this.height)\r\n },\r\n elmDown: function (e) {\r\n const target = e.target || e.srcElement;\r\n if (this.$el.contains(target)) {\r\n if (\r\n (this.dragHandle && !matchesSelectorToParentElements(target, this.dragHandle, this.$el)) ||\r\n (this.dragCancel && matchesSelectorToParentElements(target, this.dragCancel, this.$el))) {\r\n return\r\n }\r\n this.reviewDimensions();\r\n if (!this.enabled) {\r\n this.enabled = true\r\n this.$emit('activated')\r\n this.$emit('update:active', true)\r\n }\r\n if (this.draggable) {\r\n this.dragging = true\r\n }\r\n }\r\n },\r\n deselect: function (e) {\r\n if (e.type.indexOf('touch') !== -1) {\r\n this.mouseX = e.changedTouches[0].clientX\r\n this.mouseY = e.changedTouches[0].clientY\r\n } else {\r\n this.mouseX = e.pageX || e.clientX + this.parent.scrollLeft\r\n this.mouseY = e.pageY || e.clientY + this.parent.scrollTop\r\n }\r\n this.lastMouseX = this.mouseX\r\n this.lastMouseY = this.mouseY\r\n const target = e.target || e.srcElement\r\n const regex = new RegExp('handle-([trmbl]{2})', '')\r\n if (!this.$el.contains(target) && !regex.test(target.className)) {\r\n if (this.enabled) {\r\n this.enabled = false\r\n this.$emit('deactivated')\r\n this.$emit('update:active', false)\r\n }\r\n }\r\n },\r\n handleDown: function (handle, e) {\r\n this.handle = handle;\r\n if (e.cancelable) {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n }\r\n this.resizing = true;\r\n },\r\n // fillParent: function (e) {\r\n // if (!this.parent || !this.resizable || !this.maximize) return\r\n // let done = false\r\n // const animate = () => {\r\n // if (!done) {\r\n // window.requestAnimationFrame(animate)\r\n // }\r\n // if (this.axis === 'x') {\r\n // if (\r\n // this.width === this.parentW && this.left === this.parentX\r\n // ) done = true\r\n // } else if (this.axis === 'y') {\r\n // if (\r\n // this.height === this.parentH && this.top === this.parentY\r\n // ) done = true\r\n // } else if (this.axis === 'both') {\r\n // if (\r\n // this.width === this.parentW &&\r\n // this.height === this.parentH &&\r\n // this.top === this.parentY &&\r\n // this.left === this.parentX\r\n // ) done = true\r\n // }\r\n // if (this.axis === 'x' || this.axis === 'both') {\r\n // if (this.width < this.parentW) {\r\n // this.width++\r\n // this.elmW++\r\n // }\r\n // if (this.left > this.parentX) {\r\n // this.left--\r\n // this.elmX--\r\n // }\r\n // }\r\n // if (this.axis === 'y' || this.axis === 'both') {\r\n // if (this.height < this.parentH) {\r\n // this.height++\r\n // this.elmH++\r\n // }\r\n // if (this.top > this.parentY) {\r\n // this.top--\r\n // this.elmY--\r\n // }\r\n // }\r\n // this.$emit('resizing', this.left, this.top, this.width, this.height)\r\n // }\r\n // window.requestAnimationFrame(animate)\r\n // },\r\n handleMove: function (e) {\r\n const isTouchMove = e.type.indexOf('touchmove') !== -1\r\n this.mouseX = isTouchMove\r\n ? e.touches[0].clientX\r\n : e.pageX || e.clientX + document.documentElement.scrollLeft;\r\n this.mouseY = isTouchMove\r\n ? e.touches[0].clientY\r\n : e.pageY || e.clientY + document.documentElement.scrollTop;\r\n let diffX = this.mouseX - this.lastMouseX + this.mouseOffX;\r\n let diffY = this.mouseY - this.lastMouseY + this.mouseOffY;\r\n this.mouseOffX = this.mouseOffY = 0;\r\n this.lastMouseX = this.mouseX;\r\n this.lastMouseY = this.mouseY;\r\n let dX = diffX;\r\n let dY = diffY;\r\n if (this.resizing) {\r\n if (this.handle.indexOf('t') >= 0) {\r\n if (this.elmH - dY < this.minh) this.mouseOffY = (dY - (diffY = this.elmH - this.minh));\r\n else if (this.parent && this.elmY + dY < this.parentY) this.mouseOffY = (dY - (diffY = this.parentY - this.elmY));\r\n this.elmY += diffY\r\n this.elmH -= diffY\r\n }\r\n if (this.handle.indexOf('b') >= 0) {\r\n if (this.elmH + dY < this.minh) this.mouseOffY = (dY - (diffY = this.minh - this.elmH));\r\n else if (this.parent && this.elmY + this.elmH + dY > this.parentH) this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH));\r\n this.elmH += diffY\r\n }\r\n if (this.handle.indexOf('l') >= 0) {\r\n if (this.elmW - dX < this.minw) this.mouseOffX = (dX - (diffX = this.elmW - this.minw));\r\n else if (this.parent && this.elmX + dX < this.parentX) this.mouseOffX = (dX - (diffX = this.parentX - this.elmX));\r\n this.elmX += diffX\r\n this.elmW -= diffX\r\n }\r\n if (this.handle.indexOf('r') >= 0) {\r\n if (this.elmW + dX < this.minw) this.mouseOffX = (dX - (diffX = this.minw - this.elmW))\r\n else if (this.parent && this.elmX + this.elmW + dX > this.parentW) this.mouseOffX = (dX - (diffX = this.parentW - this.elmX - this.elmW));\r\n this.elmW += diffX\r\n }\r\n this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0]);\r\n this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1]);\r\n this.width = (Math.round(this.elmW / this.grid[0]) * this.grid[0]);\r\n this.height = (Math.round(this.elmH / this.grid[1]) * this.grid[1]);\r\n this.$emit('resizing', this.left, this.top, this.width, this.height);\r\n } else if (this.dragging) {\r\n if (this.parent) {\r\n this._reviewDimensions();\r\n let [_x, _y] = [0, 10];\r\n if(this.pages){\r\n let pageIndex = this.binarySearch(this.section, this.elmY+ diffY, this.currentPage - 1, this.pagesCount - 1);\r\n if(pageIndex < 0){\r\n pageIndex = 0;\r\n }\r\n if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){\r\n if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - (this.elmH * 0.9) - 11 > 0){\r\n pageIndex++;\r\n }\r\n }\r\n _x = this.pages[pageIndex].div.offsetLeft + 9;\r\n }\r\n if (this.elmX + dX < this.parentX + _x){\r\n this.mouseOffX = (dX - (diffX = this.parentX + _x - this.elmX))\r\n } else if (this.elmX + this.elmW + dX > (this.parentW - _x)){\r\n this.mouseOffX = (dX - (diffX = (this.parentW - _x) - this.elmX - this.elmW))\r\n }\r\n if (this.elmY + dY < this.parentY + _y){\r\n this.mouseOffY = (dY - (diffY = this.parentY + _y - this.elmY))\r\n } else if (this.elmY + this.elmH + dY > this.parentH) {\r\n this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH))\r\n }\r\n }\r\n this.elmX += diffX;\r\n this.elmY += diffY;\r\n if (this.axis === 'x' || this.axis === 'both') {\r\n this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0])\r\n }\r\n if (this.axis === 'y' || this.axis === 'both') {\r\n this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1])\r\n }\r\n this.$emit('dragging', this.left, this.top)\r\n }\r\n },\r\n handleUp: function (e) {\r\n if (e.type.indexOf('touch') !== -1) {\r\n this.lastMouseX = e.changedTouches[0].clientX;\r\n this.lastMouseY = e.changedTouches[0].clientY;\r\n }\r\n this.handle = null;\r\n //this.enabled = false;\r\n if (this.resizing) {\r\n this.resizing = false;\r\n this.$emit('resizestop', this.left, this.top, this.width, this.height)\r\n }\r\n if (this.dragging) {\r\n this.dragging = false;\r\n let pageIndex = 0;\r\n if(this.pages){\r\n pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);\r\n }\r\n this._emitPlaced(pageIndex);\r\n this.$emit('dragstop', this.left, this.top);\r\n }\r\n this.elmX = this.left;\r\n this.elmY = this.top;\r\n },\r\n dropItem(){\r\n this.$emit('dropitem', this.index);\r\n }\r\n },\r\n computed: {\r\n style: function () {\r\n return {\r\n top: this.top + 'px',\r\n left: this.left + 'px',\r\n width: this.width + 'px',\r\n height: this.height + 'px',\r\n zIndex: this.zIndex\r\n }\r\n }\r\n },\r\n watch: {\r\n active: function (val) {\r\n this.enabled = val\r\n },\r\n z: function (val) {\r\n if (val >= 0 || val === 'auto') {\r\n this.zIndex = val\r\n }\r\n },\r\n currentPage: function(newVal){\r\n this.stampAreaUpdate(newVal);\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n .vdr {\r\n touch-action: none;\r\n position: absolute;\r\n box-sizing: border-box;\r\n border: 1px dashed #ddd;\r\n cursor: move;\r\n }\r\n\r\n .vdr button{\r\n display: none;\r\n }\r\n\r\n .vdr:hover{\r\n border: 1px solid #fd397a;\r\n background: rgba(253,57,122,.08);\r\n }\r\n\r\n .vdr:hover button{\r\n display: block;\r\n }\r\n\r\n .handle {\r\n box-sizing: border-box;\r\n display: none;\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n font-size: 1px;\r\n background: rgba(253,57,122,.08);\r\n border: 1px solid #fd397a;\r\n }\r\n .handle-tl {\r\n top: -10px;\r\n left: -10px;\r\n cursor: nw-resize;\r\n }\r\n .handle-tm {\r\n top: -10px;\r\n left: 50%;\r\n margin-left: -5px;\r\n cursor: n-resize;\r\n }\r\n .handle-tr {\r\n top: -10px;\r\n right: -10px;\r\n cursor: ne-resize;\r\n }\r\n .handle-ml {\r\n top: 50%;\r\n margin-top: -5px;\r\n left: -10px;\r\n cursor: w-resize;\r\n }\r\n .handle-mr {\r\n top: 50%;\r\n margin-top: -5px;\r\n right: -10px;\r\n cursor: e-resize;\r\n }\r\n .handle-bl {\r\n bottom: -10px;\r\n left: -10px;\r\n cursor: sw-resize;\r\n }\r\n .handle-bm {\r\n bottom: -10px;\r\n left: 50%;\r\n margin-left: -5px;\r\n cursor: s-resize;\r\n }\r\n .handle-br {\r\n bottom: -10px;\r\n right: -10px;\r\n cursor: se-resize;\r\n }\r\n @media only screen and (max-width: 768px) {\r\n /* For mobile phones: */\r\n [class*=\"handle-\"]:before {\r\n content: '';\r\n left: -10px;\r\n right: -10px;\r\n bottom: -10px;\r\n top: -10px;\r\n position: absolute;\r\n }\r\n }\r\n\r\n\r\n .close {\r\n background: orange;\r\n color: red;\r\n border-radius: 12px;\r\n line-height: 20px;\r\n text-align: center;\r\n height: 20px;\r\n width: 20px;\r\n font-size: 18px;\r\n padding: 1px;\r\n }\r\n .close::before {\r\n content: \"\\2716\";\r\n }\r\n .close {\r\n top: 5px;\r\n right: 2px;\r\n position: absolute;\r\n }\r\n</style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./draggable-resizable.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./draggable-resizable.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./draggable-resizable.vue?vue&type=template&id=6cdf0a0c&scoped=true&\"\nimport script from \"./draggable-resizable.vue?vue&type=script&lang=js&\"\nexport * from \"./draggable-resizable.vue?vue&type=script&lang=js&\"\nimport style0 from \"./draggable-resizable.vue?vue&type=style&index=0&id=6cdf0a0c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cdf0a0c\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div id=\"outerContainer\">\r\n\r\n <div id=\"mainContainer\">\r\n\r\n <div id=\"secondaryToolbar\" class=\"secondaryToolbar hidden doorHangerRight\">\r\n <div id=\"secondaryToolbarButtonContainer\">\r\n <button id=\"secondaryOpenFile\" class=\"secondaryToolbarButton openFile visibleLargeView\" title=\"打开文件\"\r\n tabindex=\"52\" data-l10n-id=\"open_file\">\r\n <span data-l10n-id=\"open_file_label\">打开</span>\r\n </button>\r\n\r\n <button id=\"secondaryPrint\" class=\"secondaryToolbarButton print visibleMediumView\" title=\"打印\" tabindex=\"53\"\r\n data-l10n-id=\"print\">\r\n <span data-l10n-id=\"print_label\">打印</span>\r\n </button>\r\n\r\n <button id=\"documentProperties\" class=\"secondaryToolbarButton documentProperties\" title=\"文档属性…\"\r\n tabindex=\"69\" data-l10n-id=\"document_properties\" aria-controls=\"documentPropertiesDialog\">\r\n <span data-l10n-id=\"document_properties_label\">文档属性…</span>\r\n </button>\r\n </div>\r\n </div> <!-- secondaryToolbar -->\r\n\r\n <div class=\"toolbar\">\r\n <div id=\"toolbarContainer\">\r\n <div id=\"toolbarViewer\">\r\n <div id=\"toolbarViewerLeft\">\r\n <button id=\"sidebarToggle\" class=\"toolbarButton\" title=\"Toggle Sidebar\" tabindex=\"11\" data-l10n-id=\"toggle_sidebar\" aria-expanded=\"false\" aria-controls=\"sidebarContainer\">\r\n <span data-l10n-id=\"toggle_sidebar_label\">切换侧栏</span>\r\n </button>\r\n<!-- <div class=\"toolbarButtonSpacer\"></div>-->\r\n <div class=\"splitToolbarButton hiddenSmallView\">\r\n <button class=\"toolbarButton pageUp\" title=\"上一页\" id=\"previous\" tabindex=\"13\"\r\n data-l10n-id=\"previous\">\r\n <span data-l10n-id=\"previous_label\">上一页</span>\r\n </button>\r\n <div class=\"splitToolbarButtonSeparator\"></div>\r\n <button class=\"toolbarButton pageDown\" title=\"下一页\" id=\"next\" tabindex=\"14\" data-l10n-id=\"next\">\r\n <span data-l10n-id=\"next_label\">下一页</span>\r\n </button>\r\n </div>\r\n <input type=\"number\" id=\"pageNumber\" class=\"toolbarField pageNumber\" title=\"页面\" value=\"1\" size=\"4\"\r\n min=\"1\" tabindex=\"15\" data-l10n-id=\"page\" autocomplete=\"off\">\r\n <span id=\"numPages\" class=\"toolbarLabel\"></span>\r\n </div>\r\n <div id=\"toolbarViewerRight\">\r\n\r\n <button id=\"openFile\" class=\"toolbarButton openFile hiddenLargeView\" title=\"打开文件\" tabindex=\"32\"\r\n data-l10n-id=\"open_file\">\r\n <span data-l10n-id=\"open_file_label\">打开</span>\r\n </button>\r\n\r\n <button id=\"print\" class=\"toolbarButton print hiddenMediumView\" title=\"打印\" tabindex=\"33\"\r\n data-l10n-id=\"print\">\r\n <span data-l10n-id=\"print_label\">打印</span>\r\n </button>\r\n\r\n <div class=\"verticalToolbarSeparator hiddenSmallView\"></div>\r\n\r\n <button id=\"secondaryToolbarToggle\" class=\"toolbarButton\" title=\"工具\" tabindex=\"36\" data-l10n-id=\"tools\"\r\n aria-expanded=\"false\" aria-controls=\"secondaryToolbar\">\r\n <span data-l10n-id=\"tools_label\">工具</span>\r\n </button>\r\n </div>\r\n <div id=\"toolbarViewerMiddle\">\r\n <div class=\"splitToolbarButton\">\r\n <button id=\"zoomOut\" class=\"toolbarButton zoomOut\" title=\"缩小\" tabindex=\"21\"\r\n data-l10n-id=\"zoom_out\">\r\n <span data-l10n-id=\"zoom_out_label\">缩小</span>\r\n </button>\r\n <div class=\"splitToolbarButtonSeparator\"></div>\r\n <button id=\"zoomIn\" class=\"toolbarButton zoomIn\" title=\"放大\" tabindex=\"22\" data-l10n-id=\"zoom_in\">\r\n <span data-l10n-id=\"zoom_in_label\">放大</span>\r\n </button>\r\n </div>\r\n <span id=\"scaleSelectContainer\" class=\"dropdownToolbarButton\">\r\n <select id=\"scaleSelect\" title=\"缩放\" tabindex=\"23\" data-l10n-id=\"zoom\">\r\n <option id=\"pageAutoOption\" title=\"\" value=\"auto\" selected=\"selected\"\r\n data-l10n-id=\"page_scale_auto\">自动缩放</option>\r\n <option id=\"pageActualOption\" title=\"\" value=\"page-actual\" data-l10n-id=\"page_scale_actual\">实际大小</option>\r\n <option id=\"pageFitOption\" title=\"\" value=\"page-fit\" data-l10n-id=\"page_scale_fit\">适合页面</option>\r\n <option id=\"pageWidthOption\" title=\"\" value=\"page-width\"\r\n data-l10n-id=\"page_scale_width\">适合页宽</option>\r\n <option id=\"customScaleOption\" title=\"\" value=\"custom\" disabled=\"disabled\" hidden=\"true\"></option>\r\n <option title=\"\" value=\"0.5\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 50 }'>50%</option>\r\n <option title=\"\" value=\"0.75\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 75 }'>75%</option>\r\n <option title=\"\" value=\"1\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 100 }'>100%</option>\r\n <option title=\"\" value=\"1.25\" data-l10n-id=\"page_scale_percent\" data-l10n-args='{ \"scale\": 125 }'>125%</option>\r\n <option title=\"\" value=\"1.5\" data-l10n-id=\"page_scale_percent\" data-l10n-args='{ \"scale\": 150 }'>150%</option>\r\n <option title=\"\" value=\"2\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 200 }'>200%</option>\r\n <option title=\"\" value=\"3\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 300 }'>300%</option>\r\n <option title=\"\" value=\"4\" data-l10n-id=\"page_scale_percent\"\r\n data-l10n-args='{ \"scale\": 400 }'>400%</option>\r\n </select>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\">\r\n <vue-draggable-resizable v-for=\"(stamp, index) in stamps\" :w=\"stamp.w ? stamp.w : 174\" :h=\"stamp.h ? stamp.h : 174\" v-if=\"viewVisible\" :parent=\"config.viewerContainer\" :customForStamp=\"true\"\r\n :eventBus=\"eventBus\" :handles=\"['tl', 'tr', 'bl', 'br']\" :key=\"stamp.key\" :index=\"index\" @dropitem=\"removeStamp\"\r\n :x=\"stamp.x\" :y=\"stamp.located ? stamp.y : stamp.y + config.mainContainer.scrollTop\" :pages=\"pdfViewer._pages\" :currentPage=\"sp\"\r\n @dragstop=\"onStampDragStop\" @placed=\"placed\" :stampId=\"stamp.source.stampId\" :draggable=\"draggable\" :resizable=\"resizable\" :editable=\"editable\">\r\n <div class=\"stamp\" :style=\"{backgroundImage : 'url(data:image/png;base64,' + stamp.source.stampBase64 + ')'}\" ></div>\r\n <!-- <div v-if=\"stamp.type === 'recipient'\" class=\"circle\">-->\r\n <!-- <h5 class=\"mb-1 sl-font-bold text-white\">-->\r\n <!-- {{stamp.source.name}}-->\r\n <!-- </h5>-->\r\n <!--<!– <div class=\"sl-font-bold text-white small mb-2\">{{stamp.source.representUserId?stamp.source.representUserId:stamp.source.userId}}</div>–>-->\r\n <!-- <div class=\"text-white sl-font-bold\">-->\r\n <!-- <i class=\"fas fa-pencil-alt\"></i> 签章区-->\r\n <!-- </div>-->\r\n <!-- </div>-->\r\n </vue-draggable-resizable>\r\n </div>\r\n </div>\r\n\r\n <!--#if !MOZCENTRAL-->\r\n <div id=\"errorWrapper\" hidden='true'>\r\n <div id=\"errorMessageLeft\">\r\n <span id=\"errorMessage\"></span>\r\n <button id=\"errorShowMore\" data-l10n-id=\"error_more_info\">\r\n More Information\r\n </button>\r\n <button id=\"errorShowLess\" data-l10n-id=\"error_less_info\" hidden='true'>\r\n Less Information\r\n </button>\r\n </div>\r\n <div id=\"errorMessageRight\">\r\n <button id=\"errorClose\" data-l10n-id=\"error_close\">\r\n Close\r\n </button>\r\n </div>\r\n <div class=\"clearBoth\"></div>\r\n <textarea id=\"errorMoreInfo\" hidden='true' readonly=\"readonly\"></textarea>\r\n </div>\r\n <!--#endif-->\r\n </div> <!-- mainContainer -->\r\n\r\n <div id=\"dialogContainer\">\r\n <dialog id=\"documentPropertiesDialog\">\r\n <div class=\"row\">\r\n <span id=\"fileNameLabel\" data-l10n-id=\"document_properties_file_name\">文件名:</span>\r\n <p id=\"fileNameField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"fileSizeLabel\" data-l10n-id=\"document_properties_file_size\">文件大小:</span>\r\n <p id=\"fileSizeField\" aria-labelledby=\"fileSizeLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\">\r\n <span id=\"titleLabel\" data-l10n-id=\"document_properties_title\">标题:</span>\r\n <p id=\"titleField\" aria-labelledby=\"titleLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"authorLabel\" data-l10n-id=\"document_properties_author\">作者:</span>\r\n <p id=\"authorField\" aria-labelledby=\"authorLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"subjectLabel\" data-l10n-id=\"document_properties_subject\">主题:</span>\r\n <p id=\"subjectField\" aria-labelledby=\"subjectLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"keywordsLabel\" data-l10n-id=\"document_properties_keywords\">关键词:</span>\r\n <p id=\"keywordsField\" aria-labelledby=\"keywordsLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"creationDateLabel\" data-l10n-id=\"document_properties_creation_date\">创建日期:</span>\r\n <p id=\"creationDateField\" aria-labelledby=\"creationDateLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"modificationDateLabel\"\r\n data-l10n-id=\"document_properties_modification_date\">修改日期:</span>\r\n <p id=\"modificationDateField\" aria-labelledby=\"modificationDateLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"creatorLabel\" data-l10n-id=\"document_properties_creator\">创建者:</span>\r\n <p id=\"creatorField\" aria-labelledby=\"creatorLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\">\r\n <span id=\"producerLabel\" data-l10n-id=\"document_properties_producer\">OFD 生成器:</span>\r\n <p id=\"producerField\" aria-labelledby=\"producerLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"versionLabel\" data-l10n-id=\"document_properties_version\">OFD 版本:</span>\r\n <p id=\"versionField\" aria-labelledby=\"versionLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"pageCountLabel\" data-l10n-id=\"document_properties_page_count\">页数:</span>\r\n <p id=\"pageCountField\" aria-labelledby=\"pageCountLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"pageSizeLabel\" data-l10n-id=\"document_properties_page_size\">页面大小:</span>\r\n <p id=\"pageSizeField\" aria-labelledby=\"pageSizeLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\" hidden=\"hidden\">\r\n <span id=\"linearizedLabel\" data-l10n-id=\"document_properties_linearized\">快速 Web 视图:</span>\r\n <p id=\"linearizedField\" aria-labelledby=\"linearizedLabel\">-</p>\r\n </div>\r\n <div class=\"buttonRow\">\r\n <button id=\"documentPropertiesClose\" class=\"dialogButton\"><span\r\n data-l10n-id=\"document_properties_close\">关闭</span></button>\r\n </div>\r\n </dialog>\r\n <!--#if !MOZCENTRAL-->\r\n <dialog id=\"printServiceDialog\" style=\"min-width: 200px;\">\r\n <div class=\"row\">\r\n <span data-l10n-id=\"print_progress_message\">正在准备打印文档…</span>\r\n </div>\r\n <div class=\"row\">\r\n <progress id=\"printProgress\" value=\"0\" max=\"100\"></progress>\r\n <span data-l10n-id=\"print_progress_percent\" data-l10n-args='{ \"progress\": 0 }'\r\n class=\"relative-progress\">0%</span>\r\n </div>\r\n <div class=\"buttonRow\">\r\n <button id=\"printCancel\" class=\"dialogButton\"><span data-l10n-id=\"print_progress_close\">取消</span></button>\r\n </div>\r\n </dialog>\r\n\r\n <dialog id=\"signaturePropertiesDialog\">\r\n <div class=\"row\">\r\n <span id=\"signerLabel\">签章人:</span>\r\n <p id=\"signerField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"providerLabel\">签章提供者:</span>\r\n <p id=\"providerField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"hashedValueLabel\">原文摘要值:</span>\r\n <p id=\"hashedValueField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"signedValueLabel\">签名值:</span>\r\n <p id=\"signedValueField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"signMethodLabel\">签名算法:</span>\r\n <p id=\"signMethodField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"signVersionLabel\">版本号:</span>\r\n <p id=\"signVersionField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"verifyLabel\">验签结果:</span>\r\n <p id=\"verifyField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <div class=\"row\">\r\n <span id=\"sealIDLabel\">印章标识:</span>\r\n <p id=\"sealIDField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealNameLabel\">印章名称:</span>\r\n <p id=\"sealNameField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealTypeLabel\">印章类型:</span>\r\n <p id=\"sealTypeField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealAuthTimeLabel\">有效时间:</span>\r\n <p id=\"sealAuthTimeField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealMakeTimeLabel\">制章日期:</span>\r\n <p id=\"sealMakeTimeField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"row\">\r\n <span id=\"sealVersionLabel\">印章版本:</span>\r\n <p id=\"sealVersionField\" aria-labelledby=\"fileNameLabel\">-</p>\r\n </div>\r\n <div class=\"buttonRow\">\r\n <button id=\"signaturePropertiesClose\" class=\"dialogButton\"><span data-l10n-id=\"document_properties_close\">关闭</span>\r\n </button>\r\n </div>\r\n </dialog>\r\n <!--#endif-->\r\n <!--#if CHROME-->\r\n <!--#include viewer-snippet-chrome-overlays.html-->\r\n <!--#endif-->\r\n </div> <!-- dialogContainer -->\r\n\r\n </div> <!-- outerContainer -->\r\n</template>\r\n\r\n<script>\r\n\r\nimport VueDraggableResizable from '../../draggable-resizable/draggable-resizable'\r\nexport default {\r\n name: \"OfdView\",\r\n components:{\r\n VueDraggableResizable\r\n },\r\n props: {\r\n file: {\r\n required: true\r\n },\r\n mem: {\r\n required: true,\r\n },\r\n secret: {\r\n type: String,\r\n required: false\r\n },\r\n digest: {\r\n type: String,\r\n required: false\r\n },\r\n draggable: {\r\n type: Boolean, required: false, default: true\r\n },\r\n resizable: {\r\n type: Boolean, required: false, default: false\r\n },\r\n editable: {\r\n type: Boolean, required: false, default: true\r\n },\r\n stamps: {\r\n type: Array,\r\n required: false,\r\n default: () => []\r\n }\r\n },\r\n\r\n watch: {\r\n\r\n },\r\n\r\n\r\n data() {\r\n return {\r\n viewVisible: false,\r\n config: null,\r\n eventBus: null,\r\n sp: 1,\r\n }\r\n },\r\n\r\n mounted() {\r\n if (!this.config) {\r\n this.config = this.getViewerConfiguration()\r\n //vue下viewerContainer必须设置height\r\n // this.containerHeight = `${window.innerHeight - 100}px`\r\n let img = new Image();\r\n img.style.position = 'absolute';\r\n img.style.left = 0;\r\n img.style.right = 0;\r\n img.style.margin = 'auto';\r\n img.style.top = 0;\r\n img.style.bottom = 0;\r\n img.src = 'data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDISau9OOvNu/9gKI5kaZ5oqhYGQRiFWhaD6w6xLLa2a+iiXg8YEtqIIF7vh/QcarbB4YJIuBKIpuTAM0wtCqNiJBgMBCaE0ZUFCXpoknWdCEFvpfURdCcM8noEIW82cSNzRnWDZoYjamttWhphQmOSHFVXkZecnZ6foKFujJdlZxqELo1AqQSrFH1/TbEZtLM9shetrzK7qKSSpryixMXGx8jJyifCKc1kcMzRIrYl1Xy4J9cfvibdIs/MwMue4cffxtvE6qLoxubk8ScRACH5BAkKAAAALAAAAAA2ADcAAATOEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zz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pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n this.config.loadingContainer = img\r\n\r\n this.config.onPageChanging = pageNumber => {\r\n this.sp = pageNumber\r\n }\r\n this.config.parserOFDSuccess = core => {\r\n // console.log(core)\r\n this.$emit('viewready', core)\r\n }\r\n // config.onPageScale = scale => {\r\n // // console.log(scale)\r\n // }\r\n this.config.secret = this.secret\r\n this.config.digest = this.digest\r\n\r\n this.mem.initOFDViewer(this.config)\r\n }\r\n if (this.file) {\r\n this.mem.openOFD(this.file)\r\n }\r\n\r\n },\r\n\r\n methods: {\r\n getViewerConfiguration() {\r\n let errorWrapper = null\r\n errorWrapper = {\r\n container: document.getElementById('errorWrapper'),\r\n errorMessage: document.getElementById('errorMessage'),\r\n closeButton: document.getElementById('errorClose'),\r\n errorMoreInfo: document.getElementById('errorMoreInfo'),\r\n moreInfoButton: document.getElementById('errorShowMore'),\r\n lessInfoButton: document.getElementById('errorShowLess'),\r\n }\r\n\r\n return {\r\n appContainer: document.body,\r\n mainContainer: document.getElementById('viewerContainer'),\r\n viewerContainer: document.getElementById('viewer'),\r\n toolbar: {\r\n container: document.getElementById('toolbarViewer'),\r\n numPages: document.getElementById('numPages'),\r\n pageNumber: document.getElementById('pageNumber'),\r\n scaleSelect: document.getElementById('scaleSelect'),\r\n customScaleOption: document.getElementById('customScaleOption'),\r\n previous: document.getElementById('previous'),\r\n next: document.getElementById('next'),\r\n zoomIn: document.getElementById('zoomIn'),\r\n zoomOut: document.getElementById('zoomOut'),\r\n openFile: document.getElementById('openFile'),\r\n print: document.getElementById('print'),\r\n },\r\n secondaryToolbar: {\r\n toolbar: document.getElementById('secondaryToolbar'),\r\n toggleButton: document.getElementById('secondaryToolbarToggle'),\r\n toolbarButtonContainer: document.getElementById(\r\n 'secondaryToolbarButtonContainer'\r\n ),\r\n openFileButton: document.getElementById('secondaryOpenFile'),\r\n printButton: document.getElementById('secondaryPrint'),\r\n documentPropertiesButton: document.getElementById('documentProperties'),\r\n },\r\n sidebar: {\r\n // Divs (and sidebar button)\r\n outerContainer: document.getElementById('outerContainer'),\r\n viewerContainer: document.getElementById('viewerContainer'),\r\n },\r\n sidebarResizer: {\r\n outerContainer: document.getElementById('outerContainer'),\r\n },\r\n documentProperties: {\r\n dialog: document.getElementById('documentPropertiesDialog'),\r\n closeButton: document.getElementById('documentPropertiesClose'),\r\n fields: {\r\n fileName: document.getElementById('fileNameField'),\r\n fileSize: document.getElementById('fileSizeField'),\r\n title: document.getElementById('titleField'),\r\n author: document.getElementById('authorField'),\r\n subject: document.getElementById('subjectField'),\r\n keywords: document.getElementById('keywordsField'),\r\n creationDate: document.getElementById('creationDateField'),\r\n modificationDate: document.getElementById('modificationDateField'),\r\n creator: document.getElementById('creatorField'),\r\n producer: document.getElementById('producerField'),\r\n version: document.getElementById('versionField'),\r\n pageCount: document.getElementById('pageCountField'),\r\n pageSize: document.getElementById('pageSizeField'),\r\n linearized: document.getElementById('linearizedField'),\r\n },\r\n },\r\n signatureProperties: {\r\n dialog: document.getElementById('signaturePropertiesDialog'),\r\n closeButton: document.getElementById('signaturePropertiesClose'),\r\n fields: {\r\n signer: document.getElementById('signerField'),\r\n provider: document.getElementById('providerField'),\r\n hashedValue: document.getElementById('hashedValueField'),\r\n signedValue: document.getElementById('signedValueField'),\r\n signMethod: document.getElementById('signMethodField'),\r\n signVersion: document.getElementById('signVersionField'),\r\n verify: document.getElementById('verifyField'),\r\n\r\n sealID: document.getElementById('sealIDField'),\r\n sealName: document.getElementById('sealNameField'),\r\n sealType: document.getElementById('sealTypeField'),\r\n sealAuthTime: document.getElementById('sealAuthTimeField'),\r\n sealMakeTime: document.getElementById('sealMakeTimeField'),\r\n sealVersion: document.getElementById('sealVersionField'),\r\n },\r\n },\r\n errorWrapper,\r\n printContainer: document.getElementById('printContainer'),\r\n openFileInputName: 'fileInput',\r\n }\r\n },\r\n\r\n onStampDragOver(e) {\r\n e.dataTransfer.dropEffect = 'move';\r\n },\r\n removeStamp(index){\r\n this.$emit('removePos', index);\r\n },\r\n // eslint-disable-next-line no-unused-vars\r\n onStampDragStop(ctx){\r\n\r\n },\r\n placed(pageNum, index, params, stampId){\r\n this.$emit('itemDropped', index, pageNum, params, stampId);\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","import mod from \"-!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=d0934810&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d0934810\",\n null\n \n)\n\nexport default component.exports","import OfdView from './src';\r\n\r\nOfdView.install = Vue => Vue.component(OfdView.name, OfdView);//注册组件\r\n\r\nexport default OfdView\r\n","import OfdView from './ofdView'\r\n// import PdvView from './pdfView'\r\n\r\nconst components = [\r\n OfdView,\r\n // PdvView\r\n]\r\n\r\n// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册\r\nconst install = function (Vue) {\r\n\r\n// 判断是否安装\r\n if (install.installed) return\r\n // 遍历注册全局组件\r\n components.map(component => Vue.component(component.name, component))\r\n}\r\n\r\n// 判断是否是直接引入文件\r\nif (typeof window !== 'undefined' && window.Vue) {\r\n install(window.Vue)\r\n}\r\n\r\nexport default {\r\n // 导出的对象必须具有 install,才能被 Vue.use() 方法安装\r\n install,\r\n // 以下是具体的组件列表\r\n OfdView,\r\n // PdvView\r\n}\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","define","amd","self","this","___CSS_LOADER_EXPORT___","push","id","cssWithMappingToString","list","toString","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","__esModule","default","locals","add","listToStyles","parentId","styles","newStyles","css","sourceMap","part","parts","hasDocument","document","DEBUG","Error","stylesInDom","head","getElementsByTagName","singletonElement","singletonCounter","isProduction","noop","options","ssrIdKey","isOldIE","navigator","test","userAgent","toLowerCase","addStylesClient","_isProduction","_options","addStylesToDom","newList","mayRemove","domStyle","refs","j","addStyle","createStyleElement","styleElement","createElement","type","appendChild","obj","update","remove","querySelector","parentNode","removeChild","styleIndex","applyToSingletonTag","bind","applyToTag","newObj","replaceText","textStore","index","replacement","filter","Boolean","styleSheet","cssText","cssNode","createTextNode","childNodes","insertBefore","setAttribute","ssrId","sources","btoa","unescape","encodeURIComponent","JSON","stringify","firstChild","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","d","a","definition","key","o","Object","defineProperty","enumerable","get","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","p","window","currentScript","src","match","render","_vm","_c","_self","attrs","_m","_v","staticClass","_l","stamp","w","h","config","viewerContainer","eventBus","x","located","y","mainContainer","scrollTop","pdfViewer","_pages","sp","source","stampId","draggable","resizable","editable","on","removeStamp","onStampDragStop","placed","style","backgroundImage","stampBase64","_e","staticRenderFns","staticStyle","class","active","enabled","dragging","resizing","elmDown","$event","stopPropagation","dropItem","apply","arguments","handle","display","handleDown","_t","isFunction","func","matchesSelectorToParentElements","el","selector","baseNode","node","matchesSelectorFunc","find","replace","name","props","Number","validator","val","minw","minh","z","String","handles","Array","s","Set","has","size","dragHandle","dragCancel","axis","indexOf","grid","parent","Element","maximize","pages","required","currentPage","created","parentX","parentW","parentY","parentH","mouseX","mouseY","lastMouseX","lastMouseY","mouseOffX","mouseOffY","elmX","elmY","elmW","elmH","scrollPosition","scrollDist","pagesCount","section","scale","mounted","addEventListener","handleMove","deselect","handleUp","handleScrollMove","stampResize","parseInt","$el","left","top","offsetWidth","clientWidth","offsetHeight","clientHeight","_reviewDimensions","viewport","updateSection","pageIndex","adjust","div","offsetLeft","_emitPlaced","beforeUnmount","removeEventListener","off","data","width","height","zIndex","methods","arr","leftIndex","rightIndex","binarySearch","adjustBoundary","e","currentTarget","stampAreaUpdate","t","midIndex","Math","floor","midVal","TOP","currentScale","WIDTH","HEIGHT","LEFT","$emit","scrollWidth","scrollHeight","reviewDimensions","target","srcElement","contains","changedTouches","clientX","clientY","pageX","scrollLeft","pageY","regex","RegExp","className","cancelable","preventDefault","isTouchMove","touches","documentElement","diffX","diffY","dX","dY","round","_x","_y","computed","watch","newVal","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","existing","beforeCreate","component","components","VueDraggableResizable","file","mem","secret","digest","stamps","viewVisible","getViewerConfiguration","img","Image","position","right","margin","bottom","loadingContainer","onPageChanging","pageNumber","parserOFDSuccess","core","initOFDViewer","openOFD","errorWrapper","container","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","toolbar","numPages","scaleSelect","customScaleOption","previous","next","zoomIn","zoomOut","openFile","print","secondaryToolbar","toggleButton","toolbarButtonContainer","openFileButton","printButton","documentPropertiesButton","sidebar","outerContainer","sidebarResizer","documentProperties","dialog","fields","fileName","fileSize","title","author","subject","keywords","creationDate","modificationDate","creator","producer","version","pageCount","pageSize","linearized","signatureProperties","signer","provider","hashedValue","signedValue","signMethod","signVersion","verify","sealID","sealName","sealType","sealAuthTime","sealMakeTime","sealVersion","printContainer","openFileInputName","onStampDragOver","dataTransfer","dropEffect","ctx","pageNum","params","Vue","install","installed","OfdView"],"sourceRoot":""}
|