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.umd.js
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
12
12
|
/******/ var __webpack_modules__ = ({
|
13
13
|
|
14
|
-
/***/
|
14
|
+
/***/ 868:
|
15
15
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16
16
|
|
17
17
|
"use strict";
|
@@ -25,7 +25,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
25
25
|
|
26
26
|
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()));
|
27
27
|
// Module
|
28
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".vdr[data-v-
|
28
|
+
___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}", ""]);
|
29
|
+
// Exports
|
30
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
31
|
+
|
32
|
+
|
33
|
+
/***/ }),
|
34
|
+
|
35
|
+
/***/ 345:
|
36
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
37
|
+
|
38
|
+
"use strict";
|
39
|
+
__webpack_require__.r(__webpack_exports__);
|
40
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81);
|
41
|
+
/* 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__);
|
42
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645);
|
43
|
+
/* 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__);
|
44
|
+
// Imports
|
45
|
+
|
46
|
+
|
47
|
+
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()));
|
48
|
+
// Module
|
49
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-eb01299e]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}", ""]);
|
29
50
|
// Exports
|
30
51
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
31
52
|
|
@@ -153,19 +174,35 @@ module.exports = function (i) {
|
|
153
174
|
|
154
175
|
/***/ }),
|
155
176
|
|
156
|
-
/***/
|
177
|
+
/***/ 901:
|
157
178
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
158
179
|
|
159
180
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
160
181
|
|
161
182
|
// load the styles
|
162
|
-
var content = __webpack_require__(
|
183
|
+
var content = __webpack_require__(868);
|
163
184
|
if(content.__esModule) content = content.default;
|
164
185
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
165
186
|
if(content.locals) module.exports = content.locals;
|
166
187
|
// add the styles to the DOM
|
167
188
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
168
|
-
var update = add("
|
189
|
+
var update = add("2a35904a", content, true, {"sourceMap":false,"shadowMode":false});
|
190
|
+
|
191
|
+
/***/ }),
|
192
|
+
|
193
|
+
/***/ 989:
|
194
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
195
|
+
|
196
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
197
|
+
|
198
|
+
// load the styles
|
199
|
+
var content = __webpack_require__(345);
|
200
|
+
if(content.__esModule) content = content.default;
|
201
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
202
|
+
if(content.locals) module.exports = content.locals;
|
203
|
+
// add the styles to the DOM
|
204
|
+
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
205
|
+
var update = add("249e3477", content, true, {"sourceMap":false,"shadowMode":false});
|
169
206
|
|
170
207
|
/***/ }),
|
171
208
|
|
@@ -537,8 +574,8 @@ if (typeof window !== 'undefined') {
|
|
537
574
|
// Indicate to webpack that this file can be concatenated
|
538
575
|
/* harmony default export */ var setPublicPath = (null);
|
539
576
|
|
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=
|
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',{
|
577
|
+
;// 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&
|
578
|
+
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)])
|
542
579
|
}
|
543
580
|
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"}})])
|
544
581
|
},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("文档属性…")])])])])
|
@@ -548,10 +585,10 @@ var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',
|
|
548
585
|
}]
|
549
586
|
|
550
587
|
|
551
|
-
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=
|
588
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=eb01299e&scoped=true&
|
552
589
|
|
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=
|
554
|
-
var
|
590
|
+
;// 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&
|
591
|
+
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:{
|
555
592
|
draggable: _vm.draggable,
|
556
593
|
resizable: _vm.resizable,
|
557
594
|
active: _vm.enabled,
|
@@ -559,7 +596,7 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_render = functi
|
|
559
596
|
resizing: _vm.resizing
|
560
597
|
},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)
|
561
598
|
}
|
562
|
-
var
|
599
|
+
var draggable_resizablevue_type_template_id_eeede7ac_scoped_true_staticRenderFns = []
|
563
600
|
|
564
601
|
|
565
602
|
;// 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&
|
@@ -605,6 +642,9 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
605
642
|
editable: {
|
606
643
|
type: Boolean, default: true
|
607
644
|
},
|
645
|
+
originBottom: {
|
646
|
+
type: Boolean, default: true
|
647
|
+
},
|
608
648
|
w: {
|
609
649
|
type: Number,
|
610
650
|
default: 200,
|
@@ -855,12 +895,16 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
855
895
|
this.section.length = 0;
|
856
896
|
let t = 10;
|
857
897
|
for(let i = 0; i < this.pagesCount; i++){
|
858
|
-
t = t + (i > 0 ? this.pages[i].viewport.height : 0) + (i > 0 ? 9+2 : 0);
|
898
|
+
t = t + (i > 0 ? this.pages[this.originBottom?i:i-1].viewport.height : 0) + (i > 0 ? 9+2 : 0);
|
859
899
|
this.section.push({
|
860
900
|
t,
|
861
901
|
o: this.pages[i].div.offsetLeft + 9
|
862
902
|
});
|
863
903
|
}
|
904
|
+
this.section.push({
|
905
|
+
t: this.section[this.pagesCount-1].t + this.pages[this.pagesCount-1].viewport.height +9+2,
|
906
|
+
o: this.pages[this.pagesCount-1].div.offsetLeft + 9
|
907
|
+
});
|
864
908
|
},
|
865
909
|
stampResize(){
|
866
910
|
if(this.scale != null){
|
@@ -891,7 +935,7 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
891
935
|
_emitPlaced(pageIndex){
|
892
936
|
this.$emit('placed', pageIndex, this.index, {
|
893
937
|
x : (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,
|
894
|
-
y: (this.pages[pageIndex].viewport.height - (this.top + this.elmH - this.section[pageIndex].t)) / this.pages[pageIndex].viewport.height,
|
938
|
+
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,
|
895
939
|
w: this.elmW / this.pages[pageIndex].viewport.width,
|
896
940
|
h: this.elmH / this.pages[pageIndex].viewport.height
|
897
941
|
}, this.stampId);
|
@@ -1140,15 +1184,15 @@ var draggable_resizablevue_type_template_id_6cdf0a0c_scoped_true_staticRenderFns
|
|
1140
1184
|
},
|
1141
1185
|
currentPage: function(newVal){
|
1142
1186
|
this.stampAreaUpdate(newVal);
|
1143
|
-
}
|
1187
|
+
},
|
1144
1188
|
}
|
1145
1189
|
});
|
1146
1190
|
|
1147
1191
|
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
|
1148
1192
|
/* harmony default export */ var draggable_resizable_draggable_resizablevue_type_script_lang_js_ = (draggable_resizablevue_type_script_lang_js_);
|
1149
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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=
|
1150
|
-
var
|
1151
|
-
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=
|
1193
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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&
|
1194
|
+
var draggable_resizablevue_type_style_index_0_id_eeede7ac_prod_scoped_true_lang_css_ = __webpack_require__(901);
|
1195
|
+
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=eeede7ac&prod&scoped=true&lang=css&
|
1152
1196
|
|
1153
1197
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
1154
1198
|
/* globals __VUE_SSR_CONTEXT__ */
|
@@ -1259,11 +1303,11 @@ function normalizeComponent(
|
|
1259
1303
|
|
1260
1304
|
var component = normalizeComponent(
|
1261
1305
|
draggable_resizable_draggable_resizablevue_type_script_lang_js_,
|
1262
|
-
|
1263
|
-
|
1306
|
+
draggable_resizablevue_type_template_id_eeede7ac_scoped_true_render,
|
1307
|
+
draggable_resizablevue_type_template_id_eeede7ac_scoped_true_staticRenderFns,
|
1264
1308
|
false,
|
1265
1309
|
null,
|
1266
|
-
"
|
1310
|
+
"eeede7ac",
|
1267
1311
|
null
|
1268
1312
|
|
1269
1313
|
)
|
@@ -1320,6 +1364,7 @@ var component = normalizeComponent(
|
|
1320
1364
|
immediate: true,
|
1321
1365
|
handler(val) {
|
1322
1366
|
if (this.config && this.mem) {
|
1367
|
+
this.ofdViewer = null
|
1323
1368
|
this.mem.openOFD(val)
|
1324
1369
|
}
|
1325
1370
|
}
|
@@ -1333,6 +1378,7 @@ var component = normalizeComponent(
|
|
1333
1378
|
config: null,
|
1334
1379
|
eventBus: null,
|
1335
1380
|
sp: 1,
|
1381
|
+
ofdViewer: null
|
1336
1382
|
}
|
1337
1383
|
},
|
1338
1384
|
|
@@ -1357,17 +1403,26 @@ var component = normalizeComponent(
|
|
1357
1403
|
}
|
1358
1404
|
this.config.parserOFDSuccess = core => {
|
1359
1405
|
// console.log(core)
|
1360
|
-
this.$emit('viewready', core)
|
1361
1406
|
}
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1407
|
+
this.config.onPageScale = scale => {
|
1408
|
+
// this.viewVisible = false
|
1409
|
+
this.eventBus.dispatch('stampResize', {source: null});
|
1410
|
+
}
|
1411
|
+
this.config.onViewportChange = view => {
|
1412
|
+
if (!this.ofdViewer) {
|
1413
|
+
this.viewVisible = true
|
1414
|
+
this.$emit('viewready', view)
|
1415
|
+
}
|
1416
|
+
this.ofdViewer = view
|
1417
|
+
// this.eventBus.dispatch('stampResize', {source: null});
|
1418
|
+
}
|
1365
1419
|
this.config.secret = this.secret
|
1366
1420
|
this.config.digest = this.digest
|
1367
1421
|
this.config.sidebarForceOpen = this.sidebarForceOpen
|
1368
1422
|
this.config.signatureViewerForceCheck = this.signatureViewerForceCheck
|
1369
1423
|
|
1370
1424
|
this.mem.initOFDViewer(this.config)
|
1425
|
+
this.eventBus = this.mem.getEventBus()
|
1371
1426
|
}
|
1372
1427
|
if (this.file) {
|
1373
1428
|
this.mem.openOFD(this.file)
|
@@ -1504,21 +1559,26 @@ var component = normalizeComponent(
|
|
1504
1559
|
|
1505
1560
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
|
1506
1561
|
/* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
|
1562
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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&
|
1563
|
+
var srcvue_type_style_index_0_id_eb01299e_prod_scoped_true_lang_css_ = __webpack_require__(989);
|
1564
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=eb01299e&prod&scoped=true&lang=css&
|
1565
|
+
|
1507
1566
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue
|
1508
1567
|
|
1509
1568
|
|
1510
1569
|
|
1570
|
+
;
|
1511
1571
|
|
1512
1572
|
|
1513
1573
|
/* normalize component */
|
1514
|
-
|
1574
|
+
|
1515
1575
|
var src_component = normalizeComponent(
|
1516
1576
|
ofdView_srcvue_type_script_lang_js_,
|
1517
1577
|
render,
|
1518
1578
|
staticRenderFns,
|
1519
1579
|
false,
|
1520
1580
|
null,
|
1521
|
-
"
|
1581
|
+
"eb01299e",
|
1522
1582
|
null
|
1523
1583
|
|
1524
1584
|
)
|