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.
@@ -527,7 +527,7 @@ if (typeof window !== 'undefined') {
527
527
  // Indicate to webpack that this file can be concatenated
528
528
  /* harmony default export */ var setPublicPath = (null);
529
529
 
530
- ;// 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=6cd69094&scoped=true&
530
+ ;// 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&
531
531
  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)])
532
532
  }
533
533
  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"}})])
@@ -538,7 +538,7 @@ var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',
538
538
  }]
539
539
 
540
540
 
541
- ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=6cd69094&scoped=true&
541
+ ;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=2691045a&scoped=true&
542
542
 
543
543
  ;// 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&
544
544
  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:{
@@ -1306,7 +1306,14 @@ var component = normalizeComponent(
1306
1306
  },
1307
1307
 
1308
1308
  watch: {
1309
-
1309
+ file : {
1310
+ immediate: true,
1311
+ handler(val) {
1312
+ if (this.config && this.mem) {
1313
+ this.mem.openOFD(val)
1314
+ }
1315
+ }
1316
+ }
1310
1317
  },
1311
1318
 
1312
1319
 
@@ -1501,7 +1508,7 @@ var src_component = normalizeComponent(
1501
1508
  staticRenderFns,
1502
1509
  false,
1503
1510
  null,
1504
- "6cd69094",
1511
+ "2691045a",
1505
1512
  null
1506
1513
 
1507
1514
  )