ofd-view 0.1.35 → 0.1.37
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ofd-view.common.js +14 -13
- package/lib/ofd-view.common.js.map +1 -1
- package/lib/ofd-view.umd.js +14 -13
- package/lib/ofd-view.umd.js.map +1 -1
- package/lib/ofd-view.umd.min.js +1 -1
- package/lib/ofd-view.umd.min.js.map +1 -1
- package/package.json +2 -2
package/lib/ofd-view.common.js
CHANGED
@@ -22,7 +22,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".vdr[data-v-eeede7ac]{touch-action:non
|
|
22
22
|
|
23
23
|
/***/ }),
|
24
24
|
|
25
|
-
/***/
|
25
|
+
/***/ 883:
|
26
26
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
27
27
|
|
28
28
|
"use strict";
|
@@ -36,7 +36,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
36
36
|
|
37
37
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
38
38
|
// Module
|
39
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-
|
39
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-6faeafe5]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}", ""]);
|
40
40
|
// Exports
|
41
41
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
42
42
|
|
@@ -180,19 +180,19 @@ var update = add("8ce077e8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
180
180
|
|
181
181
|
/***/ }),
|
182
182
|
|
183
|
-
/***/
|
183
|
+
/***/ 518:
|
184
184
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
185
185
|
|
186
186
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
187
187
|
|
188
188
|
// load the styles
|
189
|
-
var content = __webpack_require__(
|
189
|
+
var content = __webpack_require__(883);
|
190
190
|
if(content.__esModule) content = content.default;
|
191
191
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
192
192
|
if(content.locals) module.exports = content.locals;
|
193
193
|
// add the styles to the DOM
|
194
194
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
195
|
-
var update = add("
|
195
|
+
var update = add("7f7778ad", content, true, {"sourceMap":false,"shadowMode":false});
|
196
196
|
|
197
197
|
/***/ }),
|
198
198
|
|
@@ -564,8 +564,8 @@ if (typeof window !== 'undefined') {
|
|
564
564
|
// Indicate to webpack that this file can be concatenated
|
565
565
|
/* harmony default export */ var setPublicPath = (null);
|
566
566
|
|
567
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=template&id=
|
568
|
-
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"outerContainer"}},[_vm._m(0),_vm._v(" "),_c('div',{attrs:{"id":"mainContainer"}},[_vm._m(1),_vm._v(" "),_vm._m(2),_c('div',{attrs:{"id":"viewerContainer","tabindex":"0"}},[_c('div',{staticClass:"pdfViewer",attrs:{"id":"viewer"},on:{"dragover":function($event){$event.preventDefault();return _vm.onStampDragOver.apply(null, arguments)}}},_vm._l((_vm.stamps),function(stamp,index){return (_vm.viewVisible)?_c('vue-draggable-resizable',{attrs:{"w":stamp.w ? stamp.w : 174,"h":stamp.h ? stamp.h : 174,"parent":_vm.config.viewerContainer,"customForStamp":true,"eventBus":_vm.eventBus,"handles":['tl', 'tr', 'bl', 'br'],"index":index,"x":stamp.x,"y":stamp.located ? stamp.y : stamp.y + _vm.config.mainContainer.scrollTop,"pages":_vm.ofdViewer._pages,"currentPage":_vm.sp,"origin-bottom":false,"stampId":stamp.source.stampId,"draggable":_vm.draggable,"resizable":_vm.resizable,"editable":_vm.editable},on:{"dropitem":_vm.removeStamp,"dragstop":_vm.onStampDragStop,"placed":_vm.placed}},[_c('div',{staticClass:"stamp",style:({backgroundImage : 'url(data:image/png;base64,' + stamp.source.stampBase64 + ')'})})]):_vm._e()}),1)]),_vm._m(3)]),_vm._v(" "),_vm._m(4)])
|
567
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=template&id=6faeafe5&scoped=true&
|
568
|
+
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"outerContainer"}},[_vm._m(0),_vm._v(" "),_c('div',{attrs:{"id":"mainContainer"}},[_vm._m(1),_vm._v(" "),_vm._m(2),_c('div',{attrs:{"id":"viewerContainer","tabindex":"0"}},[_c('div',{staticClass:"pdfViewer",attrs:{"id":"viewer"},on:{"dragover":function($event){$event.preventDefault();return _vm.onStampDragOver.apply(null, arguments)}}},_vm._l((_vm.stamps),function(stamp,index){return (_vm.viewVisible)?_c('vue-draggable-resizable',{attrs:{"w":stamp.w ? stamp.w : 174,"h":stamp.h ? stamp.h : 174,"parent":_vm.config.viewerContainer,"customForStamp":true,"eventBus":_vm.eventBus,"handles":['tl', 'tr', 'bl', 'br'],"index":index,"x":stamp.x,"y":stamp.located ? stamp.y : stamp.y + _vm.config.mainContainer.scrollTop,"pages":_vm.ofdViewer._pages,"currentPage":_vm.sp,"origin-bottom":false,"stampId":stamp.source.stampId,"draggable":_vm.draggable,"resizable":_vm.resizable,"editable":_vm.editable},on:{"dropitem":_vm.removeStamp,"dragstop":_vm.onStampDragStop,"placed":_vm.placed}},[_c('div',{staticClass:"stamp",style:({backgroundImage : 'url(data:image/png;base64,' + stamp.source.stampBase64 + ')'})})]):_vm._e()}),1),_vm._t("default")],2),_vm._m(3)]),_vm._v(" "),_vm._m(4)])
|
569
569
|
}
|
570
570
|
var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"sidebarContainer"}},[_c('div',{attrs:{"id":"toolbarSidebar"}},[_c('div',{attrs:{"id":"toolbarSidebarLeft"}},[_c('div',{staticClass:"splitToolbarButton toggled",attrs:{"id":"sidebarViewButtons","role":"radiogroup"}})]),_c('div',{attrs:{"id":"toolbarSidebarRight"}},[_c('div',{staticClass:"hidden",attrs:{"id":"outlineOptionsContainer"}},[_c('div',{staticClass:"verticalToolbarSeparator"}),_c('button',{staticClass:"toolbarButton",attrs:{"id":"currentOutlineItem","disabled":"disabled","title":"Find Current Outline Item","tabindex":"6","data-l10n-id":"current_outline_item"}},[_c('span',{attrs:{"data-l10n-id":"current_outline_item_label"}},[_vm._v("Current Outline Item")])])])])]),_c('div',{attrs:{"id":"sidebarContent"}},[_c('div',{attrs:{"id":"signaturesView"}})]),_c('div',{attrs:{"id":"sidebarResizer"}})])
|
571
571
|
},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{"id":"secondaryToolbar"}},[_c('div',{attrs:{"id":"secondaryToolbarButtonContainer"}},[_c('button',{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{"id":"secondaryOpenFile","title":"打开文件","tabindex":"52","data-l10n-id":"open_file"}},[_c('span',{attrs:{"data-l10n-id":"open_file_label"}},[_vm._v("打开")])]),_c('button',{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{"id":"secondaryPrint","title":"打印","tabindex":"53","data-l10n-id":"print"}},[_c('span',{attrs:{"data-l10n-id":"print_label"}},[_vm._v("打印")])]),_c('button',{staticClass:"secondaryToolbarButton documentProperties",attrs:{"id":"documentProperties","title":"文档属性…","tabindex":"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_label"}},[_vm._v("文档属性…")])])])])
|
@@ -575,7 +575,7 @@ var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',
|
|
575
575
|
}]
|
576
576
|
|
577
577
|
|
578
|
-
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=
|
578
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=6faeafe5&scoped=true&
|
579
579
|
|
580
580
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=template&id=eeede7ac&scoped=true&
|
581
581
|
var draggable_resizablevue_type_template_id_eeede7ac_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"vdr",class:{
|
@@ -1314,7 +1314,7 @@ var component = normalizeComponent(
|
|
1314
1314
|
},
|
1315
1315
|
props: {
|
1316
1316
|
file: {
|
1317
|
-
required:
|
1317
|
+
required: false
|
1318
1318
|
},
|
1319
1319
|
mem: {
|
1320
1320
|
required: true,
|
@@ -1436,6 +1436,7 @@ var component = normalizeComponent(
|
|
1436
1436
|
appContainer: document.body,
|
1437
1437
|
mainContainer: document.getElementById('viewerContainer'),
|
1438
1438
|
viewerContainer: document.getElementById('viewer'),
|
1439
|
+
openFileTip: document.getElementById('openFileTip'),
|
1439
1440
|
toolbar: {
|
1440
1441
|
container: document.getElementById('toolbarViewer'),
|
1441
1442
|
numPages: document.getElementById('numPages'),
|
@@ -1549,9 +1550,9 @@ var component = normalizeComponent(
|
|
1549
1550
|
|
1550
1551
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
|
1551
1552
|
/* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
|
1552
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=style&index=0&id=
|
1553
|
-
var
|
1554
|
-
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=
|
1553
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ofdView/src/index.vue?vue&type=style&index=0&id=6faeafe5&prod&scoped=true&lang=css&
|
1554
|
+
var srcvue_type_style_index_0_id_6faeafe5_prod_scoped_true_lang_css_ = __webpack_require__(518);
|
1555
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=6faeafe5&prod&scoped=true&lang=css&
|
1555
1556
|
|
1556
1557
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue
|
1557
1558
|
|
@@ -1568,7 +1569,7 @@ var src_component = normalizeComponent(
|
|
1568
1569
|
staticRenderFns,
|
1569
1570
|
false,
|
1570
1571
|
null,
|
1571
|
-
"
|
1572
|
+
"6faeafe5",
|
1572
1573
|
null
|
1573
1574
|
|
1574
1575
|
)
|