ofd-view 0.1.34 → 0.1.35
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ofd-view.common.js +86 -26
- package/lib/ofd-view.common.js.map +1 -1
- package/lib/ofd-view.umd.js +86 -26
- 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 +17 -0
- package/package.json +3 -2
package/lib/ofd-view.common.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
2
2
|
/******/ var __webpack_modules__ = ({
|
3
3
|
|
4
|
-
/***/
|
4
|
+
/***/ 218:
|
5
5
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6
6
|
|
7
7
|
"use strict";
|
@@ -15,7 +15,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
15
15
|
|
16
16
|
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()));
|
17
17
|
// Module
|
18
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".vdr[data-v-
|
18
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".vdr[data-v-eeede7ac]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-eeede7ac]{display:none}.vdr[data-v-eeede7ac]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-eeede7ac]{display:block}.handle[data-v-eeede7ac]{box-sizing:border-box;display:none;position:absolute;width:10px;height:10px;font-size:1px;background:rgba(253,57,122,.08);border:1px solid #fd397a}.handle-tl[data-v-eeede7ac]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-eeede7ac]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-eeede7ac]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-eeede7ac]{left:-10px;cursor:w-resize}.handle-ml[data-v-eeede7ac],.handle-mr[data-v-eeede7ac]{top:50%;margin-top:-5px}.handle-mr[data-v-eeede7ac]{right:-10px;cursor:e-resize}.handle-bl[data-v-eeede7ac]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-eeede7ac]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-eeede7ac]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-eeede7ac]:before{content:\"\";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-eeede7ac]{background:orange;color:red;border-radius:12px;line-height:20px;text-align:center;height:20px;width:20px;font-size:18px;padding:1px}.close[data-v-eeede7ac]:before{content:\"\\2716\"}.close[data-v-eeede7ac]{top:5px;right:2px;position:absolute}", ""]);
|
19
|
+
// Exports
|
20
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
21
|
+
|
22
|
+
|
23
|
+
/***/ }),
|
24
|
+
|
25
|
+
/***/ 533:
|
26
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
27
|
+
|
28
|
+
"use strict";
|
29
|
+
__webpack_require__.r(__webpack_exports__);
|
30
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
|
31
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
32
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
|
33
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
34
|
+
// Imports
|
35
|
+
|
36
|
+
|
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
|
+
// Module
|
39
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-eb01299e]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}", ""]);
|
19
40
|
// Exports
|
20
41
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
21
42
|
|
@@ -143,19 +164,35 @@ module.exports = function (i) {
|
|
143
164
|
|
144
165
|
/***/ }),
|
145
166
|
|
146
|
-
/***/
|
167
|
+
/***/ 56:
|
147
168
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
148
169
|
|
149
170
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
150
171
|
|
151
172
|
// load the styles
|
152
|
-
var content = __webpack_require__(
|
173
|
+
var content = __webpack_require__(218);
|
153
174
|
if(content.__esModule) content = content.default;
|
154
175
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
155
176
|
if(content.locals) module.exports = content.locals;
|
156
177
|
// add the styles to the DOM
|
157
178
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
158
|
-
var update = add("
|
179
|
+
var update = add("8ce077e8", content, true, {"sourceMap":false,"shadowMode":false});
|
180
|
+
|
181
|
+
/***/ }),
|
182
|
+
|
183
|
+
/***/ 284:
|
184
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
185
|
+
|
186
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
187
|
+
|
188
|
+
// load the styles
|
189
|
+
var content = __webpack_require__(533);
|
190
|
+
if(content.__esModule) content = content.default;
|
191
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
192
|
+
if(content.locals) module.exports = content.locals;
|
193
|
+
// add the styles to the DOM
|
194
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
195
|
+
var update = add("1cf97f16", content, true, {"sourceMap":false,"shadowMode":false});
|
159
196
|
|
160
197
|
/***/ }),
|
161
198
|
|
@@ -527,8 +564,8 @@ if (typeof window !== 'undefined') {
|
|
527
564
|
// Indicate to webpack that this file can be concatenated
|
528
565
|
/* harmony default export */ var setPublicPath = (null);
|
529
566
|
|
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=
|
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',{
|
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=eb01299e&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._m(3)]),_vm._v(" "),_vm._m(4)])
|
532
569
|
}
|
533
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"}})])
|
534
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("文档属性…")])])])])
|
@@ -538,10 +575,10 @@ var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',
|
|
538
575
|
}]
|
539
576
|
|
540
577
|
|
541
|
-
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=
|
578
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=eb01299e&scoped=true&
|
542
579
|
|
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=
|
544
|
-
var
|
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
|
+
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:{
|
545
582
|
draggable: _vm.draggable,
|
546
583
|
resizable: _vm.resizable,
|
547
584
|
active: _vm.enabled,
|
@@ -549,7 +586,7 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_render = functi
|
|
549
586
|
resizing: _vm.resizing
|
550
587
|
},style:(_vm.style),on:{"mousedown":_vm.elmDown,"touchstart":_vm.elmDown}},[(_vm.editable)?_c('button',{staticClass:"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",staticStyle:{"position":"absolute","right":"5px","top":"-20px"},attrs:{"type":"button"},on:{"click":function($event){$event.stopPropagation();return _vm.dropItem.apply(null, arguments)}}},[_c('span',{staticClass:"close"})]):_vm._e(),_vm._l((_vm.handles),function(handle){return (_vm.resizable)?_c('div',{key:handle,staticClass:"handle",class:'handle-' + handle,style:({ display: _vm.enabled ? 'block' : 'none'}),on:{"mousedown":function($event){return _vm.handleDown(handle, $event)},"touchstart":function($event){return _vm.handleDown(handle, $event)}}}):_vm._e()}),_vm._t("default")],2)
|
551
588
|
}
|
552
|
-
var
|
589
|
+
var draggable_resizablevue_type_template_id_eeede7ac_scoped_true_staticRenderFns = []
|
553
590
|
|
554
591
|
|
555
592
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
|
@@ -595,6 +632,9 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
595
632
|
editable: {
|
596
633
|
type: Boolean, default: true
|
597
634
|
},
|
635
|
+
originBottom: {
|
636
|
+
type: Boolean, default: true
|
637
|
+
},
|
598
638
|
w: {
|
599
639
|
type: Number,
|
600
640
|
default: 200,
|
@@ -845,12 +885,16 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
845
885
|
this.section.length = 0;
|
846
886
|
let t = 10;
|
847
887
|
for(let i = 0; i < this.pagesCount; i++){
|
848
|
-
t = t + (i > 0 ? this.pages[i].viewport.height : 0) + (i > 0 ? 9+2 : 0);
|
888
|
+
t = t + (i > 0 ? this.pages[this.originBottom?i:i-1].viewport.height : 0) + (i > 0 ? 9+2 : 0);
|
849
889
|
this.section.push({
|
850
890
|
t,
|
851
891
|
o: this.pages[i].div.offsetLeft + 9
|
852
892
|
});
|
853
893
|
}
|
894
|
+
this.section.push({
|
895
|
+
t: this.section[this.pagesCount-1].t + this.pages[this.pagesCount-1].viewport.height +9+2,
|
896
|
+
o: this.pages[this.pagesCount-1].div.offsetLeft + 9
|
897
|
+
});
|
854
898
|
},
|
855
899
|
stampResize(){
|
856
900
|
if(this.scale != null){
|
@@ -881,7 +925,7 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
881
925
|
_emitPlaced(pageIndex){
|
882
926
|
this.$emit('placed', pageIndex, this.index, {
|
883
927
|
x : (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,
|
884
|
-
y: (this.pages[pageIndex].viewport.height - (this.top + this.elmH - this.section[pageIndex].t)) / this.pages[pageIndex].viewport.height,
|
928
|
+
y: (!this.originBottom ? (this.top - this.section[pageIndex].t) : (this.pages[pageIndex].viewport.height - (this.top + this.elmH - this.section[pageIndex].t))) / this.pages[pageIndex].viewport.height,
|
885
929
|
w: this.elmW / this.pages[pageIndex].viewport.width,
|
886
930
|
h: this.elmH / this.pages[pageIndex].viewport.height
|
887
931
|
}, this.stampId);
|
@@ -1130,15 +1174,15 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
1130
1174
|
},
|
1131
1175
|
currentPage: function(newVal){
|
1132
1176
|
this.stampAreaUpdate(newVal);
|
1133
|
-
}
|
1177
|
+
},
|
1134
1178
|
}
|
1135
1179
|
});
|
1136
1180
|
|
1137
1181
|
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
|
1138
1182
|
/* harmony default export */ var draggable_resizable_draggable_resizablevue_type_script_lang_js_ = (draggable_resizablevue_type_script_lang_js_);
|
1139
|
-
// 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/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=
|
1140
|
-
var
|
1141
|
-
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=
|
1183
|
+
// 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/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=eeede7ac&prod&scoped=true&lang=css&
|
1184
|
+
var draggable_resizablevue_type_style_index_0_id_eeede7ac_prod_scoped_true_lang_css_ = __webpack_require__(56);
|
1185
|
+
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=eeede7ac&prod&scoped=true&lang=css&
|
1142
1186
|
|
1143
1187
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
1144
1188
|
/* globals __VUE_SSR_CONTEXT__ */
|
@@ -1249,11 +1293,11 @@ function normalizeComponent(
|
|
1249
1293
|
|
1250
1294
|
var component = normalizeComponent(
|
1251
1295
|
draggable_resizable_draggable_resizablevue_type_script_lang_js_,
|
1252
|
-
|
1253
|
-
|
1296
|
+
draggable_resizablevue_type_template_id_eeede7ac_scoped_true_render,
|
1297
|
+
draggable_resizablevue_type_template_id_eeede7ac_scoped_true_staticRenderFns,
|
1254
1298
|
false,
|
1255
1299
|
null,
|
1256
|
-
"
|
1300
|
+
"eeede7ac",
|
1257
1301
|
null
|
1258
1302
|
|
1259
1303
|
)
|
@@ -1310,6 +1354,7 @@ var component = normalizeComponent(
|
|
1310
1354
|
immediate: true,
|
1311
1355
|
handler(val) {
|
1312
1356
|
if (this.config && this.mem) {
|
1357
|
+
this.ofdViewer = null
|
1313
1358
|
this.mem.openOFD(val)
|
1314
1359
|
}
|
1315
1360
|
}
|
@@ -1323,6 +1368,7 @@ var component = normalizeComponent(
|
|
1323
1368
|
config: null,
|
1324
1369
|
eventBus: null,
|
1325
1370
|
sp: 1,
|
1371
|
+
ofdViewer: null
|
1326
1372
|
}
|
1327
1373
|
},
|
1328
1374
|
|
@@ -1347,17 +1393,26 @@ var component = normalizeComponent(
|
|
1347
1393
|
}
|
1348
1394
|
this.config.parserOFDSuccess = core => {
|
1349
1395
|
// console.log(core)
|
1350
|
-
this.$emit('viewready', core)
|
1351
1396
|
}
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1397
|
+
this.config.onPageScale = scale => {
|
1398
|
+
// this.viewVisible = false
|
1399
|
+
this.eventBus.dispatch('stampResize', {source: null});
|
1400
|
+
}
|
1401
|
+
this.config.onViewportChange = view => {
|
1402
|
+
if (!this.ofdViewer) {
|
1403
|
+
this.viewVisible = true
|
1404
|
+
this.$emit('viewready', view)
|
1405
|
+
}
|
1406
|
+
this.ofdViewer = view
|
1407
|
+
// this.eventBus.dispatch('stampResize', {source: null});
|
1408
|
+
}
|
1355
1409
|
this.config.secret = this.secret
|
1356
1410
|
this.config.digest = this.digest
|
1357
1411
|
this.config.sidebarForceOpen = this.sidebarForceOpen
|
1358
1412
|
this.config.signatureViewerForceCheck = this.signatureViewerForceCheck
|
1359
1413
|
|
1360
1414
|
this.mem.initOFDViewer(this.config)
|
1415
|
+
this.eventBus = this.mem.getEventBus()
|
1361
1416
|
}
|
1362
1417
|
if (this.file) {
|
1363
1418
|
this.mem.openOFD(this.file)
|
@@ -1494,21 +1549,26 @@ var component = normalizeComponent(
|
|
1494
1549
|
|
1495
1550
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
|
1496
1551
|
/* 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=eb01299e&prod&scoped=true&lang=css&
|
1553
|
+
var srcvue_type_style_index_0_id_eb01299e_prod_scoped_true_lang_css_ = __webpack_require__(284);
|
1554
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=eb01299e&prod&scoped=true&lang=css&
|
1555
|
+
|
1497
1556
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue
|
1498
1557
|
|
1499
1558
|
|
1500
1559
|
|
1560
|
+
;
|
1501
1561
|
|
1502
1562
|
|
1503
1563
|
/* normalize component */
|
1504
|
-
|
1564
|
+
|
1505
1565
|
var src_component = normalizeComponent(
|
1506
1566
|
ofdView_srcvue_type_script_lang_js_,
|
1507
1567
|
render,
|
1508
1568
|
staticRenderFns,
|
1509
1569
|
false,
|
1510
1570
|
null,
|
1511
|
-
"
|
1571
|
+
"eb01299e",
|
1512
1572
|
null
|
1513
1573
|
|
1514
1574
|
)
|