ofd-view 0.1.33 → 0.1.34
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ofd-view.common.js +11 -4
- package/lib/ofd-view.common.js.map +1 -1
- package/lib/ofd-view.umd.js +11 -4
- 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/lib/viewer.css +36 -0
- package/package.json +3 -2
package/lib/ofd-view.umd.js
CHANGED
@@ -537,7 +537,7 @@ if (typeof window !== 'undefined') {
|
|
537
537
|
// Indicate to webpack that this file can be concatenated
|
538
538
|
/* harmony default export */ var setPublicPath = (null);
|
539
539
|
|
540
|
-
;// 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=
|
540
|
+
;// 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=2691045a&scoped=true&
|
541
541
|
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"}},_vm._l((_vm.stamps),function(stamp,index){return (_vm.viewVisible)?_c('vue-draggable-resizable',{key:stamp.key,attrs:{"w":stamp.w ? stamp.w : 174,"h":stamp.h ? stamp.h : 174,"parent":_vm.config.viewerContainer,"customForStamp":true,"eventBus":_vm.eventBus,"handles":['tl', 'tr', 'bl', 'br'],"index":index,"x":stamp.x,"y":stamp.located ? stamp.y : stamp.y + _vm.config.mainContainer.scrollTop,"pages":_vm.pdfViewer._pages,"currentPage":_vm.sp,"stampId":stamp.source.stampId,"draggable":_vm.draggable,"resizable":_vm.resizable,"editable":_vm.editable},on:{"dropitem":_vm.removeStamp,"dragstop":_vm.onStampDragStop,"placed":_vm.placed}},[_c('div',{staticClass:"stamp",style:({backgroundImage : 'url(data:image/png;base64,' + stamp.source.stampBase64 + ')'})})]):_vm._e()}),1)]),_vm._m(3)]),_vm._v(" "),_vm._m(4)])
|
542
542
|
}
|
543
543
|
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"}})])
|
@@ -548,7 +548,7 @@ var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',
|
|
548
548
|
}]
|
549
549
|
|
550
550
|
|
551
|
-
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=
|
551
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=2691045a&scoped=true&
|
552
552
|
|
553
553
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=template&id=6cdf0a0c&scoped=true&
|
554
554
|
var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"vdr",class:{
|
@@ -1316,7 +1316,14 @@ var component = normalizeComponent(
|
|
1316
1316
|
},
|
1317
1317
|
|
1318
1318
|
watch: {
|
1319
|
-
|
1319
|
+
file : {
|
1320
|
+
immediate: true,
|
1321
|
+
handler(val) {
|
1322
|
+
if (this.config && this.mem) {
|
1323
|
+
this.mem.openOFD(val)
|
1324
|
+
}
|
1325
|
+
}
|
1326
|
+
}
|
1320
1327
|
},
|
1321
1328
|
|
1322
1329
|
|
@@ -1511,7 +1518,7 @@ var src_component = normalizeComponent(
|
|
1511
1518
|
staticRenderFns,
|
1512
1519
|
false,
|
1513
1520
|
null,
|
1514
|
-
"
|
1521
|
+
"2691045a",
|
1515
1522
|
null
|
1516
1523
|
|
1517
1524
|
)
|