ofd-view 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -287,7 +287,7 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(OfdViewvue_type
287
287
 
288
288
  const Components = [OfdView];
289
289
  Object.keys(Components).forEach(name => {
290
- external_commonjs_vue_commonjs2_vue_root_Vue_default().componet(name, Components[name]);
290
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().component(name, Components[name]);
291
291
  });
292
292
  /* harmony default export */ var components = (Components);
293
293
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
@@ -1 +1 @@
1
- {"version":3,"file":"ofd-view.common.js","mappings":";;;;;;;;AAAa;;AACbA,6BAA6C;EAAEG,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7D;AACA;AACAD,SAAe,GAAG,CAACG,GAAG,EAAEC,KAAK,KAAK;EAC9B,MAAMC,MAAM,GAAGF,GAAG,CAACG,SAAS,IAAIH,GAAG;EACnC,KAAK,MAAM,CAACI,GAAG,EAAEC,GAAG,CAAC,IAAIJ,KAAK,EAAE;IAC5BC,MAAM,CAACE,GAAG,CAAC,GAAGC,GAAG;EACrB;EACA,OAAOH,MAAM;AACjB,CAAC;;;;;;UCVD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB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,mBAAmB,CAAC;YAC1D4D,WAAW,EAAE7D,QAAQ,CAACC,cAAc,CAAC,kBAAkB;UACzD;QACF,CAAC;QACDH,YAAY;QACZgE,cAAc,EAAE9D,QAAQ,CAACC,cAAc,CAAC,gBAAgB,CAAC;QACzD8D,iBAAiB,EAAE;MACrB;IACF;EACF;AACF,CAAC;;AEhamP;;;;ACAhL;AACV;AACL;;AAErD,CAA2H;AAC3H,iCAAiC,+BAAe,CAAC,8BAAM,aAAa,MAAM;;AAE1E,4CAAe;;ACPM;AACc;AAEnC,MAAMG,UAAU,GAAG,CACfD,OAAO,CACV;AAEDzG,MAAM,CAAC2G,IAAI,CAACD,UAAU,CAAC,CAACE,OAAO,CAAC5F,IAAI,IAAI;EACpCwF,+DAAY,CAACxF,IAAI,EAAE0F,UAAU,CAAC1F,IAAI,CAAC,CAAC;AACxC,CAAC,CAAC;AAEF,+CAAe0F,UAAU;;ACXD;AACA;AACxB,8CAAe,UAAG;AACI","sources":["webpack://ofd-view/./node_modules/vue-loader/dist/exportHelper.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/external commonjs2 {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://ofd-view/./src/components/OfdView.vue","webpack://ofd-view/./src/components/OfdView.vue?7200","webpack://ofd-view/./src/components/OfdView.vue?c111","webpack://ofd-view/./src/components/OfdView.vue?d58b","webpack://ofd-view/./src/components/index.js","webpack://ofd-view/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\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\t// no module.id needed\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 __WEBPACK_NAMESPACE_OBJECT__ = require(\"vue\");","<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 <!-- //:style=\"{height: containerHeight}\"-->\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\"></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\nimport './viewer.css'\r\nlet config;\r\nexport default {\r\n name: \"OfdView\",\r\n props: {\r\n\r\n },\r\n data() {\r\n return {\r\n containerHeight: 0,\r\n }\r\n },\r\n\r\n mounted() {\r\n if (!config) {\r\n config = this.getViewerConfiguration()\r\n console.log(config)\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/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKA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LLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n config.loadingContainer = img\r\n // config.onPageChanging = pageNumber => {\r\n // // console.log(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 }\r\n // ofd.openOFDViewer(config)\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}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=template&id=29fe8c3f\"","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"","import { render } from \"./OfdView.vue?vue&type=template&id=29fe8c3f\"\nimport script from \"./OfdView.vue?vue&type=script&lang=js\"\nexport * from \"./OfdView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\donal\\\\WebstormProjects\\\\ofd-view\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Vue from 'vue'\r\nimport OfdView from './OfdView.vue'\r\n\r\nconst Components = [\r\n OfdView\r\n]\r\n\r\nObject.keys(Components).forEach(name => {\r\n Vue.componet(name, Components[name])\r\n})\r\n\r\nexport default Components\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["Object","defineProperty","exports","value","default","sfc","props","target","__vccOpts","key","val","id","_hoisted_2","_createElementBlock","_hoisted_1","config","name","data","containerHeight","mounted","getViewerConfiguration","console","log","window","innerHeight","img","Image","style","position","left","right","margin","top","bottom","src","draggable","loadingContainer","methods","errorWrapper","container","document","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","mainContainer","viewerContainer","toolbar","numPages","pageNumber","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","Vue","OfdView","Components","keys","forEach","componet"],"sourceRoot":""}
1
+ {"version":3,"file":"ofd-view.common.js","mappings":";;;;;;;;AAAa;;AACbA,6BAA6C;EAAEG,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7D;AACA;AACAD,SAAe,GAAG,CAACG,GAAG,EAAEC,KAAK,KAAK;EAC9B,MAAMC,MAAM,GAAGF,GAAG,CAACG,SAAS,IAAIH,GAAG;EACnC,KAAK,MAAM,CAACI,GAAG,EAAEC,GAAG,CAAC,IAAIJ,KAAK,EAAE;IAC5BC,MAAM,CAACE,GAAG,CAAC,GAAGC,GAAG;EACrB;EACA,OAAOH,MAAM;AACjB,CAAC;;;;;;UCVD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAu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,EAAE1D,QAAQ,CAACC,cAAc,CAAC,eAAe,CAAC;YAClD0D,YAAY,EAAE3D,QAAQ,CAACC,cAAc,CAAC,mBAAmB,CAAC;YAC1D2D,YAAY,EAAE5D,QAAQ,CAACC,cAAc,CAAC,mBAAmB,CAAC;YAC1D4D,WAAW,EAAE7D,QAAQ,CAACC,cAAc,CAAC,kBAAkB;UACzD;QACF,CAAC;QACDH,YAAY;QACZgE,cAAc,EAAE9D,QAAQ,CAACC,cAAc,CAAC,gBAAgB,CAAC;QACzD8D,iBAAiB,EAAE;MACrB;IACF;EACF;AACF,CAAC;;AEhamP;;;;ACAhL;AACV;AACL;;AAErD,CAA2H;AAC3H,iCAAiC,+BAAe,CAAC,8BAAM,aAAa,MAAM;;AAE1E,4CAAe;;ACPM;AACc;AAEnC,MAAMG,UAAU,GAAG,CACfD,OAAO,CACV;AAEDzG,MAAM,CAAC2G,IAAI,CAACD,UAAU,CAAC,CAACE,OAAO,CAAC5F,IAAI,IAAI;EACpCwF,gEAAa,CAACxF,IAAI,EAAE0F,UAAU,CAAC1F,IAAI,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,+CAAe0F,UAAU;;ACXD;AACA;AACxB,8CAAe,UAAG;AACI","sources":["webpack://ofd-view/./node_modules/vue-loader/dist/exportHelper.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/external commonjs2 {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://ofd-view/./src/components/OfdView.vue","webpack://ofd-view/./src/components/OfdView.vue?7200","webpack://ofd-view/./src/components/OfdView.vue?c111","webpack://ofd-view/./src/components/OfdView.vue?d58b","webpack://ofd-view/./src/components/index.js","webpack://ofd-view/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\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\t// no module.id needed\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 __WEBPACK_NAMESPACE_OBJECT__ = require(\"vue\");","<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 <!-- //:style=\"{height: containerHeight}\"-->\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\"></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\nimport './viewer.css'\r\nlet config;\r\nexport default {\r\n name: \"OfdView\",\r\n props: {\r\n\r\n },\r\n data() {\r\n return {\r\n containerHeight: 0,\r\n }\r\n },\r\n\r\n mounted() {\r\n if (!config) {\r\n config = this.getViewerConfiguration()\r\n console.log(config)\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/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN2bKcwjw19f0QG7PjA7B2EGfn+FhoeIiYoSCAk1CQiLFQpoChlUQwhuBJEWcXkpjm4JF3w9P5tvFqZsLKkEF58/omiksXiZm52SlGKWkhONj7vAxcbHyMkTmCjMcDygRNAjrCfVaqcm11zTJrIjzt64yojhxd/G28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CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n config.loadingContainer = img\r\n // config.onPageChanging = pageNumber => {\r\n // // console.log(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 }\r\n // ofd.openOFDViewer(config)\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}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=template&id=29fe8c3f\"","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"","import { render } from \"./OfdView.vue?vue&type=template&id=29fe8c3f\"\nimport script from \"./OfdView.vue?vue&type=script&lang=js\"\nexport * from \"./OfdView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\donal\\\\WebstormProjects\\\\ofd-view\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Vue from 'vue'\r\nimport OfdView from './OfdView.vue'\r\n\r\nconst Components = [\r\n OfdView\r\n]\r\n\r\nObject.keys(Components).forEach(name => {\r\n Vue.component(name, Components[name])\r\n})\r\n\r\nexport default Components\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["Object","defineProperty","exports","value","default","sfc","props","target","__vccOpts","key","val","id","_hoisted_2","_createElementBlock","_hoisted_1","config","name","data","containerHeight","mounted","getViewerConfiguration","console","log","window","innerHeight","img","Image","style","position","left","right","margin","top","bottom","src","draggable","loadingContainer","methods","errorWrapper","container","document","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","mainContainer","viewerContainer","toolbar","numPages","pageNumber","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","Vue","OfdView","Components","keys","forEach","component"],"sourceRoot":""}
@@ -304,7 +304,7 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(OfdViewvue_type
304
304
 
305
305
  const Components = [OfdView];
306
306
  Object.keys(Components).forEach(name => {
307
- external_commonjs_vue_commonjs2_vue_root_Vue_default().componet(name, Components[name]);
307
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().component(name, Components[name]);
308
308
  });
309
309
  /* harmony default export */ var components = (Components);
310
310
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
@@ -1 +1 @@
1
- {"version":3,"file":"ofd-view.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;ACVa;;AACbA,6BAA6C;EAAEG,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7D;AACA;AACAD,SAAe,G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AACxC,CAAC,CAAC;AAEF,+CAAe0F,UAAU;;ACXD;AACA;AACxB,8CAAe,UAAG;AACI","sources":["webpack://ofd-view/webpack/universalModuleDefinition","webpack://ofd-view/./node_modules/vue-loader/dist/exportHelper.js","webpack://ofd-view/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","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/./src/components/OfdView.vue","webpack://ofd-view/./src/components/OfdView.vue?8180","webpack://ofd-view/./src/components/OfdView.vue?8e65","webpack://ofd-view/./src/components/OfdView.vue?d58b","webpack://ofd-view/./src/components/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(\"vue\"));\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(\"vue\"));\n\telse\n\t\troot[\"ofd-view\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__203__) {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__203__;","// 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\t// no module.id needed\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","<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 <!-- //:style=\"{height: containerHeight}\"-->\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\"></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\nimport './viewer.css'\r\nlet config;\r\nexport default {\r\n name: \"OfdView\",\r\n props: {\r\n\r\n },\r\n data() {\r\n return {\r\n containerHeight: 0,\r\n }\r\n },\r\n\r\n mounted() {\r\n if (!config) {\r\n config = this.getViewerConfiguration()\r\n console.log(config)\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/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFq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FBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n config.loadingContainer = img\r\n // config.onPageChanging = pageNumber => {\r\n // // console.log(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 }\r\n // ofd.openOFDViewer(config)\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}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=template&id=29fe8c3f\"","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"","import { render } from \"./OfdView.vue?vue&type=template&id=29fe8c3f\"\nimport script from \"./OfdView.vue?vue&type=script&lang=js\"\nexport * from \"./OfdView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\donal\\\\WebstormProjects\\\\ofd-view\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Vue from 'vue'\r\nimport OfdView from './OfdView.vue'\r\n\r\nconst Components = [\r\n OfdView\r\n]\r\n\r\nObject.keys(Components).forEach(name => {\r\n Vue.componet(name, Components[name])\r\n})\r\n\r\nexport default Components\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["Object","defineProperty","exports","value","default","sfc","props","target","__vccOpts","key","val","id","_hoisted_2","_createElementBlock","_hoisted_1","config","name","data","containerHeight","mounted","getViewerConfiguration","console","log","window","innerHeight","img","Image","style","position","left","right","margin","top","bottom","src","draggable","loadingContainer","methods","errorWrapper","container","document","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","mainContainer","viewerContainer","toolbar","numPages","pageNumber","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","Vue","OfdView","Components","keys","forEach","componet"],"sourceRoot":""}
1
+ {"version":3,"file":"ofd-view.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;ACVa;;AACbA,6BAA6C;EAAEG,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7D;AACA;AACAD,SAAe,GAAG,CAACG,GAAG,EAAEC,KAAK,KAAK;EAC9B,MAAMC,MAAM,GAAGF,GAAG,CAACG,SAAS,IAAIH,GAAG;EACnC,KAAK,MAAM,CAACI,GAAG,EAAEC,GAAG,CAAC,IAAIJ,KAAK,EAAE;IAC5BC,MAAM,CAACE,GAAG,CAAC,GAAGC,GAAG;EACrB;EACA,OAAOH,MAAM;AACjB,CAAC;;;;;;;ACVD;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ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C,cAAc,CAAC,mBAAmB,CAAC;YAC1D4D,WAAW,EAAE7D,QAAQ,CAACC,cAAc,CAAC,kBAAkB;UACzD;QACF,CAAC;QACDH,YAAY;QACZgE,cAAc,EAAE9D,QAAQ,CAACC,cAAc,CAAC,gBAAgB,CAAC;QACzD8D,iBAAiB,EAAE;MACrB;IACF;EACF;AACF,CAAC;;AEhamP;;;;ACAhL;AACV;AACL;;AAErD,CAA2H;AAC3H,iCAAiC,+BAAe,CAAC,8BAAM,aAAa,MAAM;;AAE1E,4CAAe;;ACPM;AACc;AAEnC,MAAMG,UAAU,GAAG,CACfD,OAAO,CACV;AAEDzG,MAAM,CAAC2G,IAAI,CAACD,UAAU,CAAC,CAACE,OAAO,CAAC5F,IAAI,IAAI;EACpCwF,gEAAa,CAACxF,IAAI,EAAE0F,UAAU,CAAC1F,IAAI,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,+CAAe0F,UAAU;;ACXD;AACA;AACxB,8CAAe,UAAG;AACI","sources":["webpack://ofd-view/webpack/universalModuleDefinition","webpack://ofd-view/./node_modules/vue-loader/dist/exportHelper.js","webpack://ofd-view/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","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/./src/components/OfdView.vue","webpack://ofd-view/./src/components/OfdView.vue?8180","webpack://ofd-view/./src/components/OfdView.vue?8e65","webpack://ofd-view/./src/components/OfdView.vue?d58b","webpack://ofd-view/./src/components/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(\"vue\"));\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(\"vue\"));\n\telse\n\t\troot[\"ofd-view\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__203__) {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__203__;","// 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\t// no module.id needed\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","<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 <!-- //:style=\"{height: containerHeight}\"-->\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\"></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\nimport './viewer.css'\r\nlet config;\r\nexport default {\r\n name: \"OfdView\",\r\n props: {\r\n\r\n },\r\n data() {\r\n return {\r\n containerHeight: 0,\r\n }\r\n },\r\n\r\n mounted() {\r\n if (!config) {\r\n config = this.getViewerConfiguration()\r\n console.log(config)\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/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN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qZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n config.loadingContainer = img\r\n // config.onPageChanging = pageNumber => {\r\n // // console.log(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 }\r\n // ofd.openOFDViewer(config)\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}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=template&id=29fe8c3f\"","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./OfdView.vue?vue&type=script&lang=js\"","import { render } from \"./OfdView.vue?vue&type=template&id=29fe8c3f\"\nimport script from \"./OfdView.vue?vue&type=script&lang=js\"\nexport * from \"./OfdView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\donal\\\\WebstormProjects\\\\ofd-view\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Vue from 'vue'\r\nimport OfdView from './OfdView.vue'\r\n\r\nconst Components = [\r\n OfdView\r\n]\r\n\r\nObject.keys(Components).forEach(name => {\r\n Vue.component(name, Components[name])\r\n})\r\n\r\nexport default Components\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["Object","defineProperty","exports","value","default","sfc","props","target","__vccOpts","key","val","id","_hoisted_2","_createElementBlock","_hoisted_1","config","name","data","containerHeight","mounted","getViewerConfiguration","console","log","window","innerHeight","img","Image","style","position","left","right","margin","top","bottom","src","draggable","loadingContainer","methods","errorWrapper","container","document","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","mainContainer","viewerContainer","toolbar","numPages","pageNumber","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","Vue","OfdView","Components","keys","forEach","component"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ofd-view"]=t(require("vue")):e["ofd-view"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){"use strict";var t={82:function(e,t){t.Z=(e,t)=>{const a=e.__vccOpts||e;for(const[i,o]of t)a[i]=o;return a}},203:function(t){t.exports=e}},a={};function i(e){var o=a[e];if(void 0!==o)return o.exports;var n=a[e]={exports:{}};return t[e](n,n.exports,i),n.exports}!function(){i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,{a:t}),t}}(),function(){i.d=function(e,t){for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){i.p=""}();var o={};return function(){if(i.r(o),i.d(o,{default:function(){return A}}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(i.p=t[1])}var a=i(203),n=i.n(a);const d={id:"outerContainer"},l=(0,a.createStaticVNode)('<div id="mainContainer"><div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight"><div id="secondaryToolbarButtonContainer"><button id="secondaryOpenFile" class="secondaryToolbarButton openFile visibleLargeView" title="打开文件" tabindex="52" data-l10n-id="open_file"><span data-l10n-id="open_file_label">打开</span></button><button id="secondaryPrint" class="secondaryToolbarButton print visibleMediumView" title="打印" tabindex="53" data-l10n-id="print"><span data-l10n-id="print_label">打印</span></button><button id="documentProperties" class="secondaryToolbarButton documentProperties" title="文档属性…" tabindex="69" data-l10n-id="document_properties" aria-controls="documentPropertiesDialog"><span data-l10n-id="document_properties_label">文档属性…</span></button></div></div><div class="toolbar"><div id="toolbarContainer"><div id="toolbarViewer"><div id="toolbarViewerLeft"><div class="splitToolbarButton hiddenSmallView"><button class="toolbarButton pageUp" title="上一页" id="previous" tabindex="13" data-l10n-id="previous"><span data-l10n-id="previous_label">上一页</span></button><div class="splitToolbarButtonSeparator"></div><button class="toolbarButton pageDown" title="下一页" id="next" tabindex="14" data-l10n-id="next"><span data-l10n-id="next_label">下一页</span></button></div><input type="number" id="pageNumber" class="toolbarField pageNumber" title="页面" value="1" size="4" min="1" tabindex="15" data-l10n-id="page" autocomplete="off"><span id="numPages" class="toolbarLabel"></span></div><div id="toolbarViewerRight"><button id="openFile" class="toolbarButton openFile hiddenLargeView" title="打开文件" tabindex="32" data-l10n-id="open_file"><span data-l10n-id="open_file_label">打开</span></button><button id="print" class="toolbarButton print hiddenMediumView" title="打印" tabindex="33" data-l10n-id="print"><span data-l10n-id="print_label">打印</span></button><div class="verticalToolbarSeparator hiddenSmallView"></div><button id="secondaryToolbarToggle" class="toolbarButton" title="工具" tabindex="36" data-l10n-id="tools" aria-expanded="false" aria-controls="secondaryToolbar"><span data-l10n-id="tools_label">工具</span></button></div><div id="toolbarViewerMiddle"><div class="splitToolbarButton"><button id="zoomOut" class="toolbarButton zoomOut" title="缩小" tabindex="21" data-l10n-id="zoom_out"><span data-l10n-id="zoom_out_label">缩小</span></button><div class="splitToolbarButtonSeparator"></div><button id="zoomIn" class="toolbarButton zoomIn" title="放大" tabindex="22" data-l10n-id="zoom_in"><span data-l10n-id="zoom_in_label">放大</span></button></div><span id="scaleSelectContainer" class="dropdownToolbarButton"><select id="scaleSelect" title="缩放" tabindex="23" data-l10n-id="zoom"><option id="pageAutoOption" title="" value="auto" selected="selected" data-l10n-id="page_scale_auto">自动缩放</option><option id="pageActualOption" title="" value="page-actual" data-l10n-id="page_scale_actual">实际大小</option><option id="pageFitOption" title="" value="page-fit" data-l10n-id="page_scale_fit">适合页面</option><option id="pageWidthOption" title="" value="page-width" data-l10n-id="page_scale_width">适合页宽</option><option id="customScaleOption" title="" value="custom" disabled="disabled" hidden="true"></option><option title="" value="0.5" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 50 }">50%</option><option title="" value="0.75" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 75 }">75%</option><option title="" value="1" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 100 }">100%</option><option title="" value="1.25" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 125 }">125%</option><option title="" value="1.5" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 150 }">150%</option><option title="" value="2" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 200 }">200%</option><option title="" value="3" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 300 }">300%</option><option title="" value="4" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 400 }">400%</option></select></span></div></div></div></div><div id="viewerContainer" tabindex="0"><div id="viewer" class="pdfViewer"></div></div><div id="errorWrapper" hidden="true"><div id="errorMessageLeft"><span id="errorMessage"></span><button id="errorShowMore" data-l10n-id="error_more_info"> More Information </button><button id="errorShowLess" data-l10n-id="error_less_info" hidden="true"> Less Information </button></div><div id="errorMessageRight"><button id="errorClose" data-l10n-id="error_close"> Close </button></div><div class="clearBoth"></div><textarea id="errorMoreInfo" hidden="true" readonly="readonly"></textarea></div></div><div id="dialogContainer"><dialog id="documentPropertiesDialog"><div class="row"><span id="fileNameLabel" data-l10n-id="document_properties_file_name">文件名:</span><p id="fileNameField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="fileSizeLabel" data-l10n-id="document_properties_file_size">文件大小:</span><p id="fileSizeField" aria-labelledby="fileSizeLabel">-</p></div><div class="separator"></div><div class="row"><span id="titleLabel" data-l10n-id="document_properties_title">标题:</span><p id="titleField" aria-labelledby="titleLabel">-</p></div><div class="row"><span id="authorLabel" data-l10n-id="document_properties_author">作者:</span><p id="authorField" aria-labelledby="authorLabel">-</p></div><div class="row"><span id="subjectLabel" data-l10n-id="document_properties_subject">主题:</span><p id="subjectField" aria-labelledby="subjectLabel">-</p></div><div class="row"><span id="keywordsLabel" data-l10n-id="document_properties_keywords">关键词:</span><p id="keywordsField" aria-labelledby="keywordsLabel">-</p></div><div class="row"><span id="creationDateLabel" data-l10n-id="document_properties_creation_date">创建日期:</span><p id="creationDateField" aria-labelledby="creationDateLabel">-</p></div><div class="row"><span id="modificationDateLabel" data-l10n-id="document_properties_modification_date">修改日期:</span><p id="modificationDateField" aria-labelledby="modificationDateLabel">-</p></div><div class="row"><span id="creatorLabel" data-l10n-id="document_properties_creator">创建者:</span><p id="creatorField" aria-labelledby="creatorLabel">-</p></div><div class="separator"></div><div class="row"><span id="producerLabel" data-l10n-id="document_properties_producer">OFD 生成器:</span><p id="producerField" aria-labelledby="producerLabel">-</p></div><div class="row"><span id="versionLabel" data-l10n-id="document_properties_version">OFD 版本:</span><p id="versionField" aria-labelledby="versionLabel">-</p></div><div class="row"><span id="pageCountLabel" data-l10n-id="document_properties_page_count">页数:</span><p id="pageCountField" aria-labelledby="pageCountLabel">-</p></div><div class="row"><span id="pageSizeLabel" data-l10n-id="document_properties_page_size">页面大小:</span><p id="pageSizeField" aria-labelledby="pageSizeLabel">-</p></div><div class="separator"></div><div class="row" hidden="hidden"><span id="linearizedLabel" data-l10n-id="document_properties_linearized">快速 Web 视图:</span><p id="linearizedField" aria-labelledby="linearizedLabel">-</p></div><div class="buttonRow"><button id="documentPropertiesClose" class="dialogButton"><span data-l10n-id="document_properties_close">关闭</span></button></div></dialog><dialog id="printServiceDialog" style="min-width:200px;"><div class="row"><span data-l10n-id="print_progress_message">正在准备打印文档…</span></div><div class="row"><progress id="printProgress" value="0" max="100"></progress><span data-l10n-id="print_progress_percent" data-l10n-args="{ &quot;progress&quot;: 0 }" class="relative-progress">0%</span></div><div class="buttonRow"><button id="printCancel" class="dialogButton"><span data-l10n-id="print_progress_close">取消</span></button></div></dialog><dialog id="signaturePropertiesDialog"><div class="row"><span id="signerLabel">签章人:</span><p id="signerField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="providerLabel">签章提供者:</span><p id="providerField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="hashedValueLabel">原文摘要值:</span><p id="hashedValueField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="signedValueLabel">签名值:</span><p id="signedValueField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="signMethodLabel">签名算法:</span><p id="signMethodField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="signVersionLabel">版本号:</span><p id="signVersionField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="verifyLabel">验签结果:</span><p id="verifyField" aria-labelledby="fileNameLabel">-</p></div><div class="separator"></div><div class="row"><span id="sealIDLabel">印章标识:</span><p id="sealIDField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealNameLabel">印章名称:</span><p id="sealNameField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealTypeLabel">印章类型:</span><p id="sealTypeField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealAuthTimeLabel">有效时间:</span><p id="sealAuthTimeField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealMakeTimeLabel">制章日期:</span><p id="sealMakeTimeField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealVersionLabel">印章版本:</span><p id="sealVersionField" aria-labelledby="fileNameLabel">-</p></div><div class="buttonRow"><button id="signaturePropertiesClose" class="dialogButton"><span data-l10n-id="document_properties_close">关闭</span></button></div></dialog></div>',2),r=[l];function s(e,t,i,o,n,l){return(0,a.openBlock)(),(0,a.createElementBlock)("div",d,r)}let p;var u={name:"OfdView",props:{},data(){return{containerHeight:0}},mounted(){if(!p){p=this.getViewerConfiguration(),console.log(p),this.containerHeight=window.innerHeight-100+"px";let e=new Image;e.style.position="absolute",e.style.left=0,e.style.right=0,e.style.margin="auto",e.style.top=0,e.style.bottom=0,e.src="data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsG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jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==",e.draggable=!1,p.loadingContainer=e}},methods:{getViewerConfiguration(){let e=null;return e={container:document.getElementById("errorWrapper"),errorMessage:document.getElementById("errorMessage"),closeButton:document.getElementById("errorClose"),errorMoreInfo:document.getElementById("errorMoreInfo"),moreInfoButton:document.getElementById("errorShowMore"),lessInfoButton:document.getElementById("errorShowLess")},{appContainer:document.body,mainContainer:document.getElementById("viewerContainer"),viewerContainer:document.getElementById("viewer"),toolbar:{container:document.getElementById("toolbarViewer"),numPages:document.getElementById("numPages"),pageNumber:document.getElementById("pageNumber"),scaleSelect:document.getElementById("scaleSelect"),customScaleOption:document.getElementById("customScaleOption"),previous:document.getElementById("previous"),next:document.getElementById("next"),zoomIn:document.getElementById("zoomIn"),zoomOut:document.getElementById("zoomOut"),openFile:document.getElementById("openFile"),print:document.getElementById("print")},secondaryToolbar:{toolbar:document.getElementById("secondaryToolbar"),toggleButton:document.getElementById("secondaryToolbarToggle"),toolbarButtonContainer:document.getElementById("secondaryToolbarButtonContainer"),openFileButton:document.getElementById("secondaryOpenFile"),printButton:document.getElementById("secondaryPrint"),documentPropertiesButton:document.getElementById("documentProperties")},sidebar:{outerContainer:document.getElementById("outerContainer"),viewerContainer:document.getElementById("viewerContainer")},sidebarResizer:{outerContainer:document.getElementById("outerContainer")},documentProperties:{dialog:document.getElementById("documentPropertiesDialog"),closeButton:document.getElementById("documentPropertiesClose"),fields:{fileName:document.getElementById("fileNameField"),fileSize:document.getElementById("fileSizeField"),title:document.getElementById("titleField"),author:document.getElementById("authorField"),subject:document.getElementById("subjectField"),keywords:document.getElementById("keywordsField"),creationDate:document.getElementById("creationDateField"),modificationDate:document.getElementById("modificationDateField"),creator:document.getElementById("creatorField"),producer:document.getElementById("producerField"),version:document.getElementById("versionField"),pageCount:document.getElementById("pageCountField"),pageSize:document.getElementById("pageSizeField"),linearized:document.getElementById("linearizedField")}},signatureProperties:{dialog:document.getElementById("signaturePropertiesDialog"),closeButton:document.getElementById("signaturePropertiesClose"),fields:{signer:document.getElementById("signerField"),provider:document.getElementById("providerField"),hashedValue:document.getElementById("hashedValueField"),signedValue:document.getElementById("signedValueField"),signMethod:document.getElementById("signMethodField"),signVersion:document.getElementById("signVersionField"),verify:document.getElementById("verifyField"),sealID:document.getElementById("sealIDField"),sealName:document.getElementById("sealNameField"),sealType:document.getElementById("sealTypeField"),sealAuthTime:document.getElementById("sealAuthTimeField"),sealMakeTime:document.getElementById("sealMakeTimeField"),sealVersion:document.getElementById("sealVersionField")}},errorWrapper:e,printContainer:document.getElementById("printContainer"),openFileInputName:"fileInput"}}}},c=i(82);const m=(0,c.Z)(u,[["render",s]]);var b=m;const g=[b];Object.keys(g).forEach((e=>{n().componet(e,g[e])}));var v=g,A=v}(),o}()}));
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ofd-view"]=t(require("vue")):e["ofd-view"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){"use strict";var t={82:function(e,t){t.Z=(e,t)=>{const a=e.__vccOpts||e;for(const[i,o]of t)a[i]=o;return a}},203:function(t){t.exports=e}},a={};function i(e){var o=a[e];if(void 0!==o)return o.exports;var n=a[e]={exports:{}};return t[e](n,n.exports,i),n.exports}!function(){i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,{a:t}),t}}(),function(){i.d=function(e,t){for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){i.p=""}();var o={};return function(){if(i.r(o),i.d(o,{default:function(){return A}}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(i.p=t[1])}var a=i(203),n=i.n(a);const d={id:"outerContainer"},l=(0,a.createStaticVNode)('<div id="mainContainer"><div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight"><div id="secondaryToolbarButtonContainer"><button id="secondaryOpenFile" class="secondaryToolbarButton openFile visibleLargeView" title="打开文件" tabindex="52" data-l10n-id="open_file"><span data-l10n-id="open_file_label">打开</span></button><button id="secondaryPrint" class="secondaryToolbarButton print visibleMediumView" title="打印" tabindex="53" data-l10n-id="print"><span data-l10n-id="print_label">打印</span></button><button id="documentProperties" class="secondaryToolbarButton documentProperties" title="文档属性…" tabindex="69" data-l10n-id="document_properties" aria-controls="documentPropertiesDialog"><span data-l10n-id="document_properties_label">文档属性…</span></button></div></div><div class="toolbar"><div id="toolbarContainer"><div id="toolbarViewer"><div id="toolbarViewerLeft"><div class="splitToolbarButton hiddenSmallView"><button class="toolbarButton pageUp" title="上一页" id="previous" tabindex="13" data-l10n-id="previous"><span data-l10n-id="previous_label">上一页</span></button><div class="splitToolbarButtonSeparator"></div><button class="toolbarButton pageDown" title="下一页" id="next" tabindex="14" data-l10n-id="next"><span data-l10n-id="next_label">下一页</span></button></div><input type="number" id="pageNumber" class="toolbarField pageNumber" title="页面" value="1" size="4" min="1" tabindex="15" data-l10n-id="page" autocomplete="off"><span id="numPages" class="toolbarLabel"></span></div><div id="toolbarViewerRight"><button id="openFile" class="toolbarButton openFile hiddenLargeView" title="打开文件" tabindex="32" data-l10n-id="open_file"><span data-l10n-id="open_file_label">打开</span></button><button id="print" class="toolbarButton print hiddenMediumView" title="打印" tabindex="33" data-l10n-id="print"><span data-l10n-id="print_label">打印</span></button><div class="verticalToolbarSeparator hiddenSmallView"></div><button id="secondaryToolbarToggle" class="toolbarButton" title="工具" tabindex="36" data-l10n-id="tools" aria-expanded="false" aria-controls="secondaryToolbar"><span data-l10n-id="tools_label">工具</span></button></div><div id="toolbarViewerMiddle"><div class="splitToolbarButton"><button id="zoomOut" class="toolbarButton zoomOut" title="缩小" tabindex="21" data-l10n-id="zoom_out"><span data-l10n-id="zoom_out_label">缩小</span></button><div class="splitToolbarButtonSeparator"></div><button id="zoomIn" class="toolbarButton zoomIn" title="放大" tabindex="22" data-l10n-id="zoom_in"><span data-l10n-id="zoom_in_label">放大</span></button></div><span id="scaleSelectContainer" class="dropdownToolbarButton"><select id="scaleSelect" title="缩放" tabindex="23" data-l10n-id="zoom"><option id="pageAutoOption" title="" value="auto" selected="selected" data-l10n-id="page_scale_auto">自动缩放</option><option id="pageActualOption" title="" value="page-actual" data-l10n-id="page_scale_actual">实际大小</option><option id="pageFitOption" title="" value="page-fit" data-l10n-id="page_scale_fit">适合页面</option><option id="pageWidthOption" title="" value="page-width" data-l10n-id="page_scale_width">适合页宽</option><option id="customScaleOption" title="" value="custom" disabled="disabled" hidden="true"></option><option title="" value="0.5" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 50 }">50%</option><option title="" value="0.75" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 75 }">75%</option><option title="" value="1" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 100 }">100%</option><option title="" value="1.25" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 125 }">125%</option><option title="" value="1.5" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 150 }">150%</option><option title="" value="2" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 200 }">200%</option><option title="" value="3" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 300 }">300%</option><option title="" value="4" data-l10n-id="page_scale_percent" data-l10n-args="{ &quot;scale&quot;: 400 }">400%</option></select></span></div></div></div></div><div id="viewerContainer" tabindex="0"><div id="viewer" class="pdfViewer"></div></div><div id="errorWrapper" hidden="true"><div id="errorMessageLeft"><span id="errorMessage"></span><button id="errorShowMore" data-l10n-id="error_more_info"> More Information </button><button id="errorShowLess" data-l10n-id="error_less_info" hidden="true"> Less Information </button></div><div id="errorMessageRight"><button id="errorClose" data-l10n-id="error_close"> Close </button></div><div class="clearBoth"></div><textarea id="errorMoreInfo" hidden="true" readonly="readonly"></textarea></div></div><div id="dialogContainer"><dialog id="documentPropertiesDialog"><div class="row"><span id="fileNameLabel" data-l10n-id="document_properties_file_name">文件名:</span><p id="fileNameField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="fileSizeLabel" data-l10n-id="document_properties_file_size">文件大小:</span><p id="fileSizeField" aria-labelledby="fileSizeLabel">-</p></div><div class="separator"></div><div class="row"><span id="titleLabel" data-l10n-id="document_properties_title">标题:</span><p id="titleField" aria-labelledby="titleLabel">-</p></div><div class="row"><span id="authorLabel" data-l10n-id="document_properties_author">作者:</span><p id="authorField" aria-labelledby="authorLabel">-</p></div><div class="row"><span id="subjectLabel" data-l10n-id="document_properties_subject">主题:</span><p id="subjectField" aria-labelledby="subjectLabel">-</p></div><div class="row"><span id="keywordsLabel" data-l10n-id="document_properties_keywords">关键词:</span><p id="keywordsField" aria-labelledby="keywordsLabel">-</p></div><div class="row"><span id="creationDateLabel" data-l10n-id="document_properties_creation_date">创建日期:</span><p id="creationDateField" aria-labelledby="creationDateLabel">-</p></div><div class="row"><span id="modificationDateLabel" data-l10n-id="document_properties_modification_date">修改日期:</span><p id="modificationDateField" aria-labelledby="modificationDateLabel">-</p></div><div class="row"><span id="creatorLabel" data-l10n-id="document_properties_creator">创建者:</span><p id="creatorField" aria-labelledby="creatorLabel">-</p></div><div class="separator"></div><div class="row"><span id="producerLabel" data-l10n-id="document_properties_producer">OFD 生成器:</span><p id="producerField" aria-labelledby="producerLabel">-</p></div><div class="row"><span id="versionLabel" data-l10n-id="document_properties_version">OFD 版本:</span><p id="versionField" aria-labelledby="versionLabel">-</p></div><div class="row"><span id="pageCountLabel" data-l10n-id="document_properties_page_count">页数:</span><p id="pageCountField" aria-labelledby="pageCountLabel">-</p></div><div class="row"><span id="pageSizeLabel" data-l10n-id="document_properties_page_size">页面大小:</span><p id="pageSizeField" aria-labelledby="pageSizeLabel">-</p></div><div class="separator"></div><div class="row" hidden="hidden"><span id="linearizedLabel" data-l10n-id="document_properties_linearized">快速 Web 视图:</span><p id="linearizedField" aria-labelledby="linearizedLabel">-</p></div><div class="buttonRow"><button id="documentPropertiesClose" class="dialogButton"><span data-l10n-id="document_properties_close">关闭</span></button></div></dialog><dialog id="printServiceDialog" style="min-width:200px;"><div class="row"><span data-l10n-id="print_progress_message">正在准备打印文档…</span></div><div class="row"><progress id="printProgress" value="0" max="100"></progress><span data-l10n-id="print_progress_percent" data-l10n-args="{ &quot;progress&quot;: 0 }" class="relative-progress">0%</span></div><div class="buttonRow"><button id="printCancel" class="dialogButton"><span data-l10n-id="print_progress_close">取消</span></button></div></dialog><dialog id="signaturePropertiesDialog"><div class="row"><span id="signerLabel">签章人:</span><p id="signerField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="providerLabel">签章提供者:</span><p id="providerField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="hashedValueLabel">原文摘要值:</span><p id="hashedValueField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="signedValueLabel">签名值:</span><p id="signedValueField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="signMethodLabel">签名算法:</span><p id="signMethodField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="signVersionLabel">版本号:</span><p id="signVersionField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="verifyLabel">验签结果:</span><p id="verifyField" aria-labelledby="fileNameLabel">-</p></div><div class="separator"></div><div class="row"><span id="sealIDLabel">印章标识:</span><p id="sealIDField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealNameLabel">印章名称:</span><p id="sealNameField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealTypeLabel">印章类型:</span><p id="sealTypeField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealAuthTimeLabel">有效时间:</span><p id="sealAuthTimeField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealMakeTimeLabel">制章日期:</span><p id="sealMakeTimeField" aria-labelledby="fileNameLabel">-</p></div><div class="row"><span id="sealVersionLabel">印章版本:</span><p id="sealVersionField" aria-labelledby="fileNameLabel">-</p></div><div class="buttonRow"><button id="signaturePropertiesClose" class="dialogButton"><span data-l10n-id="document_properties_close">关闭</span></button></div></dialog></div>',2),r=[l];function s(e,t,i,o,n,l){return(0,a.openBlock)(),(0,a.createElementBlock)("div",d,r)}let p;var u={name:"OfdView",props:{},data(){return{containerHeight:0}},mounted(){if(!p){p=this.getViewerConfiguration(),console.log(p),this.containerHeight=window.innerHeight-100+"px";let e=new Image;e.style.position="absolute",e.style.left=0,e.style.right=0,e.style.margin="auto",e.style.top=0,e.style.bottom=0,e.src="data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDIS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GQF0mqzauYbCxBFdqJao8rVeiGQgJNQkIFwdnB0MKsQrGqgbJPwi2BMV5wrYJetQ129x62LHaedO21nnLq82VwcPnIhEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/g8Po7kX9haKoAZZ0iFGIc/iRaDQ40Yfj+RepSVlpeYAAgJNQkIlgo8NQqUCKI2nzNSIpynBAkzaiCuNl9BIbQ1tl0hraewbrIfpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==",e.draggable=!1,p.loadingContainer=e}},methods:{getViewerConfiguration(){let e=null;return e={container:document.getElementById("errorWrapper"),errorMessage:document.getElementById("errorMessage"),closeButton:document.getElementById("errorClose"),errorMoreInfo:document.getElementById("errorMoreInfo"),moreInfoButton:document.getElementById("errorShowMore"),lessInfoButton:document.getElementById("errorShowLess")},{appContainer:document.body,mainContainer:document.getElementById("viewerContainer"),viewerContainer:document.getElementById("viewer"),toolbar:{container:document.getElementById("toolbarViewer"),numPages:document.getElementById("numPages"),pageNumber:document.getElementById("pageNumber"),scaleSelect:document.getElementById("scaleSelect"),customScaleOption:document.getElementById("customScaleOption"),previous:document.getElementById("previous"),next:document.getElementById("next"),zoomIn:document.getElementById("zoomIn"),zoomOut:document.getElementById("zoomOut"),openFile:document.getElementById("openFile"),print:document.getElementById("print")},secondaryToolbar:{toolbar:document.getElementById("secondaryToolbar"),toggleButton:document.getElementById("secondaryToolbarToggle"),toolbarButtonContainer:document.getElementById("secondaryToolbarButtonContainer"),openFileButton:document.getElementById("secondaryOpenFile"),printButton:document.getElementById("secondaryPrint"),documentPropertiesButton:document.getElementById("documentProperties")},sidebar:{outerContainer:document.getElementById("outerContainer"),viewerContainer:document.getElementById("viewerContainer")},sidebarResizer:{outerContainer:document.getElementById("outerContainer")},documentProperties:{dialog:document.getElementById("documentPropertiesDialog"),closeButton:document.getElementById("documentPropertiesClose"),fields:{fileName:document.getElementById("fileNameField"),fileSize:document.getElementById("fileSizeField"),title:document.getElementById("titleField"),author:document.getElementById("authorField"),subject:document.getElementById("subjectField"),keywords:document.getElementById("keywordsField"),creationDate:document.getElementById("creationDateField"),modificationDate:document.getElementById("modificationDateField"),creator:document.getElementById("creatorField"),producer:document.getElementById("producerField"),version:document.getElementById("versionField"),pageCount:document.getElementById("pageCountField"),pageSize:document.getElementById("pageSizeField"),linearized:document.getElementById("linearizedField")}},signatureProperties:{dialog:document.getElementById("signaturePropertiesDialog"),closeButton:document.getElementById("signaturePropertiesClose"),fields:{signer:document.getElementById("signerField"),provider:document.getElementById("providerField"),hashedValue:document.getElementById("hashedValueField"),signedValue:document.getElementById("signedValueField"),signMethod:document.getElementById("signMethodField"),signVersion:document.getElementById("signVersionField"),verify:document.getElementById("verifyField"),sealID:document.getElementById("sealIDField"),sealName:document.getElementById("sealNameField"),sealType:document.getElementById("sealTypeField"),sealAuthTime:document.getElementById("sealAuthTimeField"),sealMakeTime:document.getElementById("sealMakeTimeField"),sealVersion:document.getElementById("sealVersionField")}},errorWrapper:e,printContainer:document.getElementById("printContainer"),openFileInputName:"fileInput"}}}},c=i(82);const m=(0,c.Z)(u,[["render",s]]);var b=m;const g=[b];Object.keys(g).forEach((e=>{n().component(e,g[e])}));var v=g,A=v}(),o}()}));
2
2
  //# sourceMappingURL=ofd-view.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ofd-view.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,QACR,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIJ,GACe,kBAAZC,QACdA,QAAQ,YAAcD,EAAQG,QAAQ,QAEtCJ,EAAK,YAAcC,EAAQD,EAAK,OACjC,EATD,CASoB,qBAATO,KAAuBA,KAAOC,MAAO,SAASC,GACzD,O,gDCNAP,EAAQ,EAAU,CAACQ,EAAKC,KACpB,MAAMC,EAASF,EAAIG,WAAaH,EAChC,IAAK,MAAOI,EAAKC,KAAQJ,EACrBC,EAAOE,GAAOC,EAElB,OAAOH,CAAM,C,kBCTjBT,EAAOD,QAAUO,C,GCCbO,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAajB,QAGrB,IAAIC,EAASa,EAAyBE,GAAY,CAGjDhB,QAAS,CAAC,GAOX,OAHAmB,EAAoBH,GAAUf,EAAQA,EAAOD,QAASe,GAG/Cd,EAAOD,OACf,E,WCrBAe,EAAoBK,EAAI,SAASnB,GAChC,IAAIoB,EAASpB,GAAUA,EAAOqB,WAC7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GxC,QCTA,G","sources":["webpack://ofd-view/webpack/universalModuleDefinition","webpack://ofd-view/./node_modules/vue-loader/dist/exportHelper.js","webpack://ofd-view/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","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/./src/components/OfdView.vue","webpack://ofd-view/./src/components/OfdView.vue?d58b","webpack://ofd-view/./src/components/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(\"vue\"));\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(\"vue\"));\n\telse\n\t\troot[\"ofd-view\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__203__) {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__203__;","// 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\t// no module.id needed\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","<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 <!-- //:style=\"{height: containerHeight}\"-->\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\"></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\nimport './viewer.css'\r\nlet config;\r\nexport default {\r\n name: \"OfdView\",\r\n props: {\r\n\r\n },\r\n data() {\r\n return {\r\n containerHeight: 0,\r\n }\r\n },\r\n\r\n mounted() {\r\n if (!config) {\r\n config = this.getViewerConfiguration()\r\n console.log(config)\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/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9ua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bfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n config.loadingContainer = img\r\n // config.onPageChanging = pageNumber => {\r\n // // console.log(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 }\r\n // ofd.openOFDViewer(config)\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}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","import { render } from \"./OfdView.vue?vue&type=template&id=29fe8c3f\"\nimport script from \"./OfdView.vue?vue&type=script&lang=js\"\nexport * from \"./OfdView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\donal\\\\WebstormProjects\\\\ofd-view\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Vue from 'vue'\r\nimport OfdView from './OfdView.vue'\r\n\r\nconst Components = [\r\n OfdView\r\n]\r\n\r\nObject.keys(Components).forEach(name => {\r\n Vue.componet(name, Components[name])\r\n})\r\n\r\nexport default Components\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__203__","sfc","props","target","__vccOpts","key","val","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","p","window","currentScript","document","src","match","id","_hoisted_2","_createElementBlock","_hoisted_1","config","name","data","containerHeight","mounted","getViewerConfiguration","console","log","innerHeight","img","Image","style","position","left","right","margin","top","bottom","draggable","loadingContainer","methods","errorWrapper","container","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","mainContainer","viewerContainer","toolbar","numPages","pageNumber","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","__exports__","render","Components","OfdView","keys","forEach","Vue"],"sourceRoot":""}
1
+ {"version":3,"file":"ofd-view.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,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,OAAQ7D,SAAS8B,eAAe,6BAChCE,YAAahC,SAAS8B,eAAe,4BACrCgC,OAAQ,CACNgB,OAAQ9E,SAAS8B,eAAe,eAChCiD,SAAU/E,SAAS8B,eAAe,iBAClCkD,YAAahF,SAAS8B,eAAe,oBACrCmD,YAAajF,SAAS8B,eAAe,oBACrCoD,WAAYlF,SAAS8B,eAAe,mBACpCqD,YAAanF,SAAS8B,eAAe,oBACrCsD,OAAQpF,SAAS8B,eAAe,eAEhCuD,OAAQrF,SAAS8B,eAAe,eAChCwD,SAAUtF,SAAS8B,eAAe,iBAClCyD,SAAUvF,SAAS8B,eAAe,iBAClC0D,aAAcxF,SAAS8B,eAAe,qBACtC2D,aAAczF,SAAS8B,eAAe,qBACtC4D,YAAa1F,SAAS8B,eAAe,sBAGzCF,eACA+D,eAAgB3F,SAAS8B,eAAe,kBACxC8D,kBAAmB,YAEvB,I,QCzZJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,QCJA,MAAMC,EAAa,CACfC,GAGJhH,OAAOiH,KAAKF,GAAYG,SAAQ1F,IAC5B2F,IAAAA,UAAc3F,EAAMuF,EAAWvF,GAAM,IAGzC,QCTA,G","sources":["webpack://ofd-view/webpack/universalModuleDefinition","webpack://ofd-view/./node_modules/vue-loader/dist/exportHelper.js","webpack://ofd-view/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","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/./src/components/OfdView.vue","webpack://ofd-view/./src/components/OfdView.vue?d58b","webpack://ofd-view/./src/components/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(\"vue\"));\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(\"vue\"));\n\telse\n\t\troot[\"ofd-view\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__203__) {\nreturn ","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__203__;","// 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\t// no module.id needed\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","<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 <!-- //:style=\"{height: containerHeight}\"-->\r\n <div id=\"viewerContainer\" tabindex=\"0\">\r\n <div id=\"viewer\" class=\"pdfViewer\"></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\nimport './viewer.css'\r\nlet config;\r\nexport default {\r\n name: \"OfdView\",\r\n props: {\r\n\r\n },\r\n data() {\r\n return {\r\n containerHeight: 0,\r\n }\r\n },\r\n\r\n mounted() {\r\n if (!config) {\r\n config = this.getViewerConfiguration()\r\n console.log(config)\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/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ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fpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==';\r\n img.draggable = false;\r\n config.loadingContainer = img\r\n // config.onPageChanging = pageNumber => {\r\n // // console.log(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 }\r\n // ofd.openOFDViewer(config)\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}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","import { render } from \"./OfdView.vue?vue&type=template&id=29fe8c3f\"\nimport script from \"./OfdView.vue?vue&type=script&lang=js\"\nexport * from \"./OfdView.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\donal\\\\WebstormProjects\\\\ofd-view\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Vue from 'vue'\r\nimport OfdView from './OfdView.vue'\r\n\r\nconst Components = [\r\n OfdView\r\n]\r\n\r\nObject.keys(Components).forEach(name => {\r\n Vue.component(name, Components[name])\r\n})\r\n\r\nexport default Components\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__203__","sfc","props","target","__vccOpts","key","val","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","p","window","currentScript","document","src","match","id","_hoisted_2","_createElementBlock","_hoisted_1","config","name","data","containerHeight","mounted","getViewerConfiguration","console","log","innerHeight","img","Image","style","position","left","right","margin","top","bottom","draggable","loadingContainer","methods","errorWrapper","container","getElementById","errorMessage","closeButton","errorMoreInfo","moreInfoButton","lessInfoButton","appContainer","body","mainContainer","viewerContainer","toolbar","numPages","pageNumber","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","__exports__","render","Components","OfdView","keys","forEach","Vue"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ofd-view",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "main": "./dist/ofd-view.common.js",
5
5
  "files": [
6
6
  "dist/*"