ofd-view 0.1.41 → 0.1.44
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ofd-view.common.js +589 -575
- package/lib/ofd-view.common.js.map +1 -1
- package/lib/ofd-view.umd.js +589 -575
- 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 +5 -0
- package/lib/viewer.properties +251 -0
- package/package.json +2 -5
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
|
+
/***/ 822:
|
15
15
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16
16
|
|
17
17
|
"use strict";
|
@@ -25,14 +25,14 @@ __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-b44a7a5c]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-b44a7a5c]{display:none}.vdr[data-v-b44a7a5c]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-b44a7a5c]{display:block}.handle[data-v-b44a7a5c]{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-b44a7a5c]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-b44a7a5c]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-b44a7a5c]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-b44a7a5c]{left:-10px;cursor:w-resize}.handle-ml[data-v-b44a7a5c],.handle-mr[data-v-b44a7a5c]{top:50%;margin-top:-5px}.handle-mr[data-v-b44a7a5c]{right:-10px;cursor:e-resize}.handle-bl[data-v-b44a7a5c]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-b44a7a5c]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-b44a7a5c]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-b44a7a5c]:before{content:\"\";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-b44a7a5c]{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-b44a7a5c]:before{content:\"\\2716\"}.close[data-v-b44a7a5c]{top:5px;right:2px;position:absolute}", ""]);
|
29
29
|
// Exports
|
30
30
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
31
31
|
|
32
32
|
|
33
33
|
/***/ }),
|
34
34
|
|
35
|
-
/***/
|
35
|
+
/***/ 463:
|
36
36
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
37
37
|
|
38
38
|
"use strict";
|
@@ -46,7 +46,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
46
46
|
|
47
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
48
|
// Module
|
49
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-
|
49
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".stamp[data-v-18db0fa8]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}", ""]);
|
50
50
|
// Exports
|
51
51
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
52
52
|
|
@@ -174,35 +174,35 @@ module.exports = function (i) {
|
|
174
174
|
|
175
175
|
/***/ }),
|
176
176
|
|
177
|
-
/***/
|
177
|
+
/***/ 891:
|
178
178
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
179
179
|
|
180
180
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
181
181
|
|
182
182
|
// load the styles
|
183
|
-
var content = __webpack_require__(
|
183
|
+
var content = __webpack_require__(822);
|
184
184
|
if(content.__esModule) content = content.default;
|
185
185
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
186
186
|
if(content.locals) module.exports = content.locals;
|
187
187
|
// add the styles to the DOM
|
188
188
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
189
|
-
var update = add("
|
189
|
+
var update = add("3ac38ce4", content, true, {"sourceMap":false,"shadowMode":false});
|
190
190
|
|
191
191
|
/***/ }),
|
192
192
|
|
193
|
-
/***/
|
193
|
+
/***/ 913:
|
194
194
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
195
195
|
|
196
196
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
197
197
|
|
198
198
|
// load the styles
|
199
|
-
var content = __webpack_require__(
|
199
|
+
var content = __webpack_require__(463);
|
200
200
|
if(content.__esModule) content = content.default;
|
201
201
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
202
202
|
if(content.locals) module.exports = content.locals;
|
203
203
|
// add the styles to the DOM
|
204
204
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
205
|
-
var update = add("
|
205
|
+
var update = add("7b621b58", content, true, {"sourceMap":false,"shadowMode":false});
|
206
206
|
|
207
207
|
/***/ }),
|
208
208
|
|
@@ -574,21 +574,21 @@ if (typeof window !== 'undefined') {
|
|
574
574
|
// Indicate to webpack that this file can be concatenated
|
575
575
|
/* harmony default export */ var setPublicPath = (null);
|
576
576
|
|
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=
|
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=18db0fa8&scoped=true&
|
578
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._t("openFileRef")],2),_vm._m(3)]),_vm._v(" "),_vm._m(4)])
|
579
579
|
}
|
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"}})])
|
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("文档属性…")])])])])
|
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('button',{staticClass:"toolbarButton toggled",attrs:{"id":"viewOutline","title":"Show Document Outline (double-click to expand/collapse all items)","tabindex":"3","data-l10n-id":"document_outline","role":"radio","aria-checked":"false","aria-controls":"outlineView"}},[_c('span',{attrs:{"data-l10n-id":"document_outline_label"}},[_vm._v("Document Outline")])]),_c('button',{staticClass:"toolbarButton",attrs:{"id":"viewAttachments","title":"Show Attachments","tabindex":"4","data-l10n-id":"attachments","role":"radio","aria-checked":"false","aria-controls":"attachmentsView"}},[_c('span',{attrs:{"data-l10n-id":"attachments_label"}},[_vm._v("Attachments")])]),_c('button',{staticClass:"toolbarButton",attrs:{"id":"viewSignatures","title":"Show Signatures","tabindex":"6","data-l10n-id":"layers","role":"radio","aria-checked":"false","aria-controls":"signaturesView"}},[_c('span',{attrs:{"data-l10n-id":"signatures_label"}},[_vm._v("Signatures")])])])]),_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":"outlineView"}}),_c('div',{staticClass:"hidden",attrs:{"id":"attachmentsView"}}),_c('div',{staticClass:"hidden",attrs:{"id":"signaturesView"}})]),_c('div',{attrs:{"id":"sidebarResizer"}})])
|
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 download visibleMediumView",attrs:{"id":"secondaryDownload","title":"Download","tabindex":"54","data-l10n-id":"download"}},[_c('span',{attrs:{"data-l10n-id":"download_label"}},[_vm._v("Download")])]),_c('a',{staticClass:"secondaryToolbarButton bookmark visibleSmallView",attrs:{"href":"#","id":"secondaryViewBookmark","title":"Current view (copy or open in new window)","tabindex":"55","data-l10n-id":"bookmark"}},[_c('span',{attrs:{"data-l10n-id":"bookmark_label"}},[_vm._v("Current View")])]),_c('div',{staticClass:"horizontalToolbarSeparator visibleLargeView"}),_c('button',{staticClass:"secondaryToolbarButton firstPage",attrs:{"id":"firstPage","title":"Go to First Page","tabindex":"56","data-l10n-id":"first_page"}},[_c('span',{attrs:{"data-l10n-id":"first_page_label"}},[_vm._v("Go to First Page")])]),_c('button',{staticClass:"secondaryToolbarButton lastPage",attrs:{"id":"lastPage","title":"Go to Last Page","tabindex":"57","data-l10n-id":"last_page"}},[_c('span',{attrs:{"data-l10n-id":"last_page_label"}},[_vm._v("Go to Last Page")])]),_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('button',{staticClass:"secondaryToolbarButton rotateCw",attrs:{"id":"pageRotateCw","title":"Rotate Clockwise","tabindex":"58","data-l10n-id":"page_rotate_cw"}},[_c('span',{attrs:{"data-l10n-id":"page_rotate_cw_label"}},[_vm._v("Rotate Clockwise")])]),_c('button',{staticClass:"secondaryToolbarButton rotateCcw",attrs:{"id":"pageRotateCcw","title":"Rotate Counterclockwise","tabindex":"59","data-l10n-id":"page_rotate_ccw"}},[_c('span',{attrs:{"data-l10n-id":"page_rotate_ccw_label"}},[_vm._v("Rotate Counterclockwise")])]),_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('div',{attrs:{"id":"cursorToolButtons","role":"radiogroup"}},[_c('button',{staticClass:"secondaryToolbarButton selectTool toggled",attrs:{"id":"cursorSelectTool","title":"Enable Text Selection Tool","tabindex":"60","data-l10n-id":"cursor_text_select_tool","role":"radio","aria-checked":"true"}},[_c('span',{attrs:{"data-l10n-id":"cursor_text_select_tool_label"}},[_vm._v("Text Selection Tool")])]),_c('button',{staticClass:"secondaryToolbarButton handTool",attrs:{"id":"cursorHandTool","title":"Enable Hand Tool","tabindex":"61","data-l10n-id":"cursor_hand_tool","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"cursor_hand_tool_label"}},[_vm._v("Hand Tool")])])]),_c('div',{attrs:{"id":"scrollModeButtons","role":"radiogroup"}},[_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('button',{staticClass:"secondaryToolbarButton scrollPage",attrs:{"id":"scrollPage","title":"Use Page Scrolling","tabindex":"62","data-l10n-id":"scroll_page","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"scroll_page_label"}},[_vm._v("Page Scrolling")])]),_c('button',{staticClass:"secondaryToolbarButton scrollVertical toggled",attrs:{"id":"scrollVertical","title":"Use Vertical Scrolling","tabindex":"63","data-l10n-id":"scroll_vertical","role":"radio","aria-checked":"true"}},[_c('span',{attrs:{"data-l10n-id":"scroll_vertical_label"}},[_vm._v("Vertical Scrolling")])]),_c('button',{staticClass:"secondaryToolbarButton scrollHorizontal",attrs:{"id":"scrollHorizontal","title":"Use Horizontal Scrolling","tabindex":"64","data-l10n-id":"scroll_horizontal","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"scroll_horizontal_label"}},[_vm._v("Horizontal Scrolling")])]),_c('button',{staticClass:"secondaryToolbarButton scrollWrapped",attrs:{"id":"scrollWrapped","title":"Use Wrapped Scrolling","tabindex":"65","data-l10n-id":"scroll_wrapped","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"scroll_wrapped_label"}},[_vm._v("Wrapped Scrolling")])])]),_c('div',{attrs:{"id":"spreadModeButtons","role":"radiogroup"}},[_c('div',{staticClass:"horizontalToolbarSeparator"}),_c('button',{staticClass:"secondaryToolbarButton spreadNone toggled",attrs:{"id":"spreadNone","title":"Do not join page spreads","tabindex":"66","data-l10n-id":"spread_none","role":"radio","aria-checked":"true"}},[_c('span',{attrs:{"data-l10n-id":"spread_none_label"}},[_vm._v("No Spreads")])]),_c('button',{staticClass:"secondaryToolbarButton spreadOdd",attrs:{"id":"spreadOdd","title":"Join page spreads starting with odd-numbered pages","tabindex":"67","data-l10n-id":"spread_odd","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"spread_odd_label"}},[_vm._v("Odd Spreads")])]),_c('button',{staticClass:"secondaryToolbarButton spreadEven",attrs:{"id":"spreadEven","title":"Join page spreads starting with even-numbered pages","tabindex":"68","data-l10n-id":"spread_even","role":"radio","aria-checked":"false"}},[_c('span',{attrs:{"data-l10n-id":"spread_even_label"}},[_vm._v("Even Spreads")])])]),_c('div',{staticClass:"horizontalToolbarSeparator"}),_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("文档属性…")])])])])
|
582
582
|
},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"toolbar"},[_c('div',{attrs:{"id":"toolbarContainer"}},[_c('div',{attrs:{"id":"toolbarViewer"}},[_c('div',{attrs:{"id":"toolbarViewerLeft"}},[_c('button',{staticClass:"toolbarButton",attrs:{"id":"sidebarToggle","title":"Toggle Sidebar","tabindex":"11","data-l10n-id":"toggle_sidebar","aria-expanded":"false","aria-controls":"sidebarContainer"}},[_c('span',{attrs:{"data-l10n-id":"toggle_sidebar_label"}},[_vm._v("切换侧栏")])]),_c('div',{staticClass:"splitToolbarButton hiddenSmallView"},[_c('button',{staticClass:"toolbarButton pageUp",attrs:{"title":"上一页","id":"previous","tabindex":"13","data-l10n-id":"previous"}},[_c('span',{attrs:{"data-l10n-id":"previous_label"}},[_vm._v("上一页")])]),_c('div',{staticClass:"splitToolbarButtonSeparator"}),_c('button',{staticClass:"toolbarButton pageDown",attrs:{"title":"下一页","id":"next","tabindex":"14","data-l10n-id":"next"}},[_c('span',{attrs:{"data-l10n-id":"next_label"}},[_vm._v("下一页")])])]),_c('input',{staticClass:"toolbarField pageNumber",attrs:{"type":"number","id":"pageNumber","title":"页面","value":"1","size":"4","min":"1","tabindex":"15","data-l10n-id":"page","autocomplete":"off"}}),_c('span',{staticClass:"toolbarLabel",attrs:{"id":"numPages"}})]),_c('div',{attrs:{"id":"toolbarViewerRight"}},[_c('button',{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{"id":"openFile","title":"打开文件","tabindex":"32","data-l10n-id":"open_file"}},[_c('span',{attrs:{"data-l10n-id":"open_file_label"}},[_vm._v("打开")])]),_c('button',{staticClass:"toolbarButton print hiddenMediumView",attrs:{"id":"print","title":"打印","tabindex":"33","data-l10n-id":"print"}},[_c('span',{attrs:{"data-l10n-id":"print_label"}},[_vm._v("打印")])]),_c('div',{staticClass:"verticalToolbarSeparator hiddenSmallView"}),_c('button',{staticClass:"toolbarButton",attrs:{"id":"secondaryToolbarToggle","title":"工具","tabindex":"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[_c('span',{attrs:{"data-l10n-id":"tools_label"}},[_vm._v("工具")])])]),_c('div',{attrs:{"id":"toolbarViewerMiddle"}},[_c('div',{staticClass:"splitToolbarButton"},[_c('button',{staticClass:"toolbarButton zoomOut",attrs:{"id":"zoomOut","title":"缩小","tabindex":"21","data-l10n-id":"zoom_out"}},[_c('span',{attrs:{"data-l10n-id":"zoom_out_label"}},[_vm._v("缩小")])]),_c('div',{staticClass:"splitToolbarButtonSeparator"}),_c('button',{staticClass:"toolbarButton zoomIn",attrs:{"id":"zoomIn","title":"放大","tabindex":"22","data-l10n-id":"zoom_in"}},[_c('span',{attrs:{"data-l10n-id":"zoom_in_label"}},[_vm._v("放大")])])]),_c('span',{staticClass:"dropdownToolbarButton",attrs:{"id":"scaleSelectContainer"}},[_c('select',{attrs:{"id":"scaleSelect","title":"缩放","tabindex":"23","data-l10n-id":"zoom"}},[_c('option',{attrs:{"id":"pageAutoOption","title":"","value":"auto","selected":"selected","data-l10n-id":"page_scale_auto"}},[_vm._v("自动缩放")]),_c('option',{attrs:{"id":"pageActualOption","title":"","value":"page-actual","data-l10n-id":"page_scale_actual"}},[_vm._v("实际大小")]),_c('option',{attrs:{"id":"pageFitOption","title":"","value":"page-fit","data-l10n-id":"page_scale_fit"}},[_vm._v("适合页面")]),_c('option',{attrs:{"id":"pageWidthOption","title":"","value":"page-width","data-l10n-id":"page_scale_width"}},[_vm._v("适合页宽")]),_c('option',{attrs:{"id":"customScaleOption","title":"","value":"custom","disabled":"disabled","hidden":"true"}}),_c('option',{attrs:{"title":"","value":"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 50 }"}},[_vm._v("50%")]),_c('option',{attrs:{"title":"","value":"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 75 }"}},[_vm._v("75%")]),_c('option',{attrs:{"title":"","value":"1","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 100 }"}},[_vm._v("100%")]),_c('option',{attrs:{"title":"","value":"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 125 }"}},[_vm._v("125%")]),_c('option',{attrs:{"title":"","value":"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 150 }"}},[_vm._v("150%")]),_c('option',{attrs:{"title":"","value":"2","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 200 }"}},[_vm._v("200%")]),_c('option',{attrs:{"title":"","value":"3","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 300 }"}},[_vm._v("300%")]),_c('option',{attrs:{"title":"","value":"4","data-l10n-id":"page_scale_percent","data-l10n-args":"{ \"scale\": 400 }"}},[_vm._v("400%")])])])])])])])
|
583
583
|
},function (){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"errorWrapper","hidden":"true"}},[_c('div',{attrs:{"id":"errorMessageLeft"}},[_c('span',{attrs:{"id":"errorMessage"}}),_c('button',{attrs:{"id":"errorShowMore","data-l10n-id":"error_more_info"}},[_vm._v(" More Information ")]),_c('button',{attrs:{"id":"errorShowLess","data-l10n-id":"error_less_info","hidden":"true"}},[_vm._v(" Less Information ")])]),_c('div',{attrs:{"id":"errorMessageRight"}},[_c('button',{attrs:{"id":"errorClose","data-l10n-id":"error_close"}},[_vm._v(" Close ")])]),_c('div',{staticClass:"clearBoth"}),_c('textarea',{attrs:{"id":"errorMoreInfo","hidden":"true","readonly":"readonly"}})])
|
584
584
|
},function (){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{"id":"dialogContainer"}},[_c('dialog',{attrs:{"id":"documentPropertiesDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[_vm._v("文件名:")]),_c('p',{attrs:{"id":"fileNameField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[_vm._v("文件大小:")]),_c('p',{attrs:{"id":"fileSizeField","aria-labelledby":"fileSizeLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"titleLabel","data-l10n-id":"document_properties_title"}},[_vm._v("标题:")]),_c('p',{attrs:{"id":"titleField","aria-labelledby":"titleLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"authorLabel","data-l10n-id":"document_properties_author"}},[_vm._v("作者:")]),_c('p',{attrs:{"id":"authorField","aria-labelledby":"authorLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"subjectLabel","data-l10n-id":"document_properties_subject"}},[_vm._v("主题:")]),_c('p',{attrs:{"id":"subjectField","aria-labelledby":"subjectLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[_vm._v("关键词:")]),_c('p',{attrs:{"id":"keywordsField","aria-labelledby":"keywordsLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[_vm._v("创建日期:")]),_c('p',{attrs:{"id":"creationDateField","aria-labelledby":"creationDateLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[_vm._v("修改日期:")]),_c('p',{attrs:{"id":"modificationDateField","aria-labelledby":"modificationDateLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"creatorLabel","data-l10n-id":"document_properties_creator"}},[_vm._v("创建者:")]),_c('p',{attrs:{"id":"creatorField","aria-labelledby":"creatorLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"producerLabel","data-l10n-id":"document_properties_producer"}},[_vm._v("OFD 生成器:")]),_c('p',{attrs:{"id":"producerField","aria-labelledby":"producerLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"versionLabel","data-l10n-id":"document_properties_version"}},[_vm._v("OFD 版本:")]),_c('p',{attrs:{"id":"versionField","aria-labelledby":"versionLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[_vm._v("页数:")]),_c('p',{attrs:{"id":"pageCountField","aria-labelledby":"pageCountLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[_vm._v("页面大小:")]),_c('p',{attrs:{"id":"pageSizeField","aria-labelledby":"pageSizeLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row",attrs:{"hidden":"hidden"}},[_c('span',{attrs:{"id":"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[_vm._v("快速 Web 视图:")]),_c('p',{attrs:{"id":"linearizedField","aria-labelledby":"linearizedLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"documentPropertiesClose"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_close"}},[_vm._v("关闭")])])])]),_c('dialog',{staticStyle:{"min-width":"200px"},attrs:{"id":"printServiceDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"data-l10n-id":"print_progress_message"}},[_vm._v("正在准备打印文档…")])]),_c('div',{staticClass:"row"},[_c('progress',{attrs:{"id":"printProgress","value":"0","max":"100"}}),_c('span',{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":"{ \"progress\": 0 }"}},[_vm._v("0%")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"printCancel"}},[_c('span',{attrs:{"data-l10n-id":"print_progress_close"}},[_vm._v("取消")])])])]),_c('dialog',{attrs:{"id":"signaturePropertiesDialog"}},[_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signerLabel"}},[_vm._v("签章人:")]),_c('p',{attrs:{"id":"signerField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"providerLabel"}},[_vm._v("签章提供者:")]),_c('p',{attrs:{"id":"providerField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"hashedValueLabel"}},[_vm._v("原文摘要值:")]),_c('p',{attrs:{"id":"hashedValueField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signedValueLabel"}},[_vm._v("签名值:")]),_c('p',{attrs:{"id":"signedValueField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signMethodLabel"}},[_vm._v("签名算法:")]),_c('p',{attrs:{"id":"signMethodField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"signVersionLabel"}},[_vm._v("版本号:")]),_c('p',{attrs:{"id":"signVersionField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"verifyLabel"}},[_vm._v("验签结果:")]),_c('p',{attrs:{"id":"verifyField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"separator"}),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealIDLabel"}},[_vm._v("印章标识:")]),_c('p',{attrs:{"id":"sealIDField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealNameLabel"}},[_vm._v("印章名称:")]),_c('p',{attrs:{"id":"sealNameField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealTypeLabel"}},[_vm._v("印章类型:")]),_c('p',{attrs:{"id":"sealTypeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealAuthTimeLabel"}},[_vm._v("有效时间:")]),_c('p',{attrs:{"id":"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealMakeTimeLabel"}},[_vm._v("制章日期:")]),_c('p',{attrs:{"id":"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"row"},[_c('span',{attrs:{"id":"sealVersionLabel"}},[_vm._v("印章版本:")]),_c('p',{attrs:{"id":"sealVersionField","aria-labelledby":"fileNameLabel"}},[_vm._v("-")])]),_c('div',{staticClass:"buttonRow"},[_c('button',{staticClass:"dialogButton",attrs:{"id":"signaturePropertiesClose"}},[_c('span',{attrs:{"data-l10n-id":"document_properties_close"}},[_vm._v("关闭")])])])])])
|
585
585
|
}]
|
586
586
|
|
587
587
|
|
588
|
-
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=
|
588
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=template&id=18db0fa8&scoped=true&
|
589
589
|
|
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=
|
591
|
-
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=b44a7a5c&scoped=true&
|
591
|
+
var draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"vdr",class:{
|
592
592
|
draggable: _vm.draggable,
|
593
593
|
resizable: _vm.resizable,
|
594
594
|
active: _vm.enabled,
|
@@ -596,603 +596,603 @@ var draggable_resizablevue_type_template_id_eeede7ac_scoped_true_render = functi
|
|
596
596
|
resizing: _vm.resizing
|
597
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)
|
598
598
|
}
|
599
|
-
var
|
599
|
+
var draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_staticRenderFns = []
|
600
600
|
|
601
601
|
|
602
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&
|
603
603
|
|
604
|
-
|
605
|
-
|
606
|
-
|
604
|
+
function isFunction(func) {
|
605
|
+
return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'
|
606
|
+
}
|
607
607
|
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
608
|
+
function matchesSelectorToParentElements(el, selector, baseNode) {
|
609
|
+
let node = el;
|
610
|
+
const matchesSelectorFunc = [
|
611
|
+
'matches',
|
612
|
+
'webkitMatchesSelector',
|
613
|
+
'mozMatchesSelector',
|
614
|
+
'msMatchesSelector',
|
615
|
+
'oMatchesSelector'
|
616
|
+
].find(func => isFunction(node[func]));
|
617
617
|
|
618
|
-
|
618
|
+
if (!isFunction(node[matchesSelectorFunc])) return false;
|
619
619
|
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
620
|
+
do {
|
621
|
+
if (node[matchesSelectorFunc](selector)) return true;
|
622
|
+
if (node === baseNode) return false;
|
623
|
+
node = node.parentNode
|
624
|
+
} while (node);
|
625
625
|
|
626
|
-
|
627
|
-
|
626
|
+
return false
|
627
|
+
}
|
628
628
|
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
},
|
642
|
-
editable: {
|
643
|
-
type: Boolean, default: true
|
644
|
-
},
|
645
|
-
originBottom: {
|
646
|
-
type: Boolean, default: true
|
647
|
-
},
|
648
|
-
w: {
|
649
|
-
type: Number,
|
650
|
-
default: 200,
|
651
|
-
validator: function (val) {
|
652
|
-
return val > 0
|
653
|
-
}
|
654
|
-
},
|
655
|
-
h: {
|
656
|
-
type: Number,
|
657
|
-
default: 200,
|
658
|
-
validator: function (val) {
|
659
|
-
return val > 0
|
660
|
-
}
|
661
|
-
},
|
662
|
-
minw: {
|
663
|
-
type: Number,
|
664
|
-
default: 50,
|
665
|
-
validator: function (val) {
|
666
|
-
return val >= 0
|
667
|
-
}
|
668
|
-
},
|
669
|
-
minh: {
|
670
|
-
type: Number,
|
671
|
-
default: 50,
|
672
|
-
validator: function (val) {
|
673
|
-
return val >= 0
|
674
|
-
}
|
675
|
-
},
|
676
|
-
x: {
|
677
|
-
type: Number,
|
678
|
-
default: 0,
|
679
|
-
validator: function (val) {
|
680
|
-
return typeof val === 'number'
|
681
|
-
}
|
682
|
-
},
|
683
|
-
y: {
|
684
|
-
type: Number,
|
685
|
-
default: 0,
|
686
|
-
validator: function (val) {
|
687
|
-
return typeof val === 'number'
|
688
|
-
}
|
689
|
-
},
|
690
|
-
z: {
|
691
|
-
type: [ String, Number ],
|
692
|
-
default: 'auto',
|
693
|
-
validator: function (val) {
|
694
|
-
return (typeof val === 'string') ? val === 'auto' : val >= 0;
|
695
|
-
}
|
696
|
-
},
|
697
|
-
handles: {
|
698
|
-
type: Array,
|
699
|
-
default: function () {
|
700
|
-
return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']
|
701
|
-
},
|
702
|
-
validator: function (val) {
|
703
|
-
let s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']);
|
704
|
-
return new Set(val.filter(h => s.has(h))).size === val.length
|
705
|
-
}
|
706
|
-
},
|
707
|
-
dragHandle: {
|
708
|
-
type: String,
|
709
|
-
default: null
|
710
|
-
},
|
711
|
-
dragCancel: {
|
712
|
-
type: String,
|
713
|
-
default: null
|
714
|
-
},
|
715
|
-
axis: {
|
716
|
-
type: String,
|
717
|
-
default: 'both',
|
718
|
-
validator: function (val) {
|
719
|
-
return ['x', 'y', 'both'].indexOf(val) !== -1
|
720
|
-
}
|
721
|
-
},
|
722
|
-
grid: {
|
723
|
-
type: Array,
|
724
|
-
default: function () {
|
725
|
-
return [1, 1]
|
726
|
-
}
|
727
|
-
},
|
728
|
-
parent: {
|
729
|
-
type: Element, default: null
|
730
|
-
},
|
731
|
-
maximize: {
|
732
|
-
type: Boolean, default: false
|
733
|
-
},
|
734
|
-
pages:{
|
735
|
-
type: Array, required: false, default: null
|
736
|
-
},
|
737
|
-
eventBus: {
|
738
|
-
type: Object, default: null
|
739
|
-
},
|
740
|
-
index: {
|
741
|
-
type: Number, required: false, default: 0
|
742
|
-
},
|
743
|
-
currentPage: {
|
744
|
-
type: Number, required: false, default: 0
|
745
|
-
},
|
746
|
-
stampId: {
|
747
|
-
type: String, required: false, default: null
|
748
|
-
}
|
629
|
+
/* harmony default export */ var draggable_resizablevue_type_script_lang_js_ = ({
|
630
|
+
replace: true,
|
631
|
+
name: 'VueDraggableResizable',
|
632
|
+
props: {
|
633
|
+
active: {
|
634
|
+
type: Boolean, default: false
|
635
|
+
},
|
636
|
+
draggable: {
|
637
|
+
type: Boolean, default: true
|
638
|
+
},
|
639
|
+
resizable: {
|
640
|
+
type: Boolean, default: true
|
749
641
|
},
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
this.mouseX = 0;
|
756
|
-
this.mouseY = 0;
|
757
|
-
this.lastMouseX = 0;
|
758
|
-
this.lastMouseY = 0;
|
759
|
-
this.mouseOffX = 0;
|
760
|
-
this.mouseOffY = 0;
|
761
|
-
this.elmX = 0;
|
762
|
-
this.elmY = 0;
|
763
|
-
this.elmW = 0;
|
764
|
-
this.elmH = 0;
|
765
|
-
this.scrollPosition = 0;
|
766
|
-
this.scrollDist = 0;
|
767
|
-
this.pagesCount = this.pages ? this.pages.length : 0;
|
768
|
-
this.section = [];
|
769
|
-
this.scale = null;
|
642
|
+
editable: {
|
643
|
+
type: Boolean, default: true
|
644
|
+
},
|
645
|
+
originBottom: {
|
646
|
+
type: Boolean, default: true
|
770
647
|
},
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
this.parent.addEventListener('touchmove', this.handleMove, false);
|
777
|
-
this.parent.addEventListener('touchend', this.handleUp, false);
|
778
|
-
// this.parent.addEventListener('touchstart', this.handleUp, false);
|
779
|
-
this.parent.addEventListener('touchstart', this.deselect, false);
|
780
|
-
if(this.parent){
|
781
|
-
this.parent.parentNode.addEventListener('scroll', this.handleScrollMove, false);
|
648
|
+
w: {
|
649
|
+
type: Number,
|
650
|
+
default: 200,
|
651
|
+
validator: function (val) {
|
652
|
+
return val > 0
|
782
653
|
}
|
783
|
-
|
784
|
-
|
785
|
-
|
654
|
+
},
|
655
|
+
h: {
|
656
|
+
type: Number,
|
657
|
+
default: 200,
|
658
|
+
validator: function (val) {
|
659
|
+
return val > 0
|
786
660
|
}
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
if(!this.scale){
|
794
|
-
this.scale = this.pages[0].viewport.scale;
|
795
|
-
}
|
796
|
-
this.updateSection();
|
797
|
-
this.top = this.y + 10 < 0 ? 10 : this.y + 10;
|
798
|
-
if(this.top < 10){
|
799
|
-
this.top = 10;
|
800
|
-
}
|
801
|
-
let pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
|
802
|
-
this.elmY = this.top;
|
803
|
-
let placed = this.pages[pageIndex];
|
804
|
-
if(placed && this.x - placed.div.offsetLeft - 9 > 0){
|
805
|
-
//nothing
|
806
|
-
}else if(placed){
|
807
|
-
this.left = placed.div.offsetLeft + 9;
|
808
|
-
}
|
809
|
-
this.elmX = this.left;
|
810
|
-
this._emitPlaced(pageIndex);
|
661
|
+
},
|
662
|
+
minw: {
|
663
|
+
type: Number,
|
664
|
+
default: 50,
|
665
|
+
validator: function (val) {
|
666
|
+
return val >= 0
|
811
667
|
}
|
812
668
|
},
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
this.parent.parentNode.removeEventListener('scroll', this.handleScrollMove, false);
|
669
|
+
minh: {
|
670
|
+
type: Number,
|
671
|
+
default: 50,
|
672
|
+
validator: function (val) {
|
673
|
+
return val >= 0
|
819
674
|
}
|
820
|
-
|
821
|
-
|
675
|
+
},
|
676
|
+
x: {
|
677
|
+
type: Number,
|
678
|
+
default: 0,
|
679
|
+
validator: function (val) {
|
680
|
+
return typeof val === 'number'
|
822
681
|
}
|
823
|
-
// touch events bindings removed
|
824
|
-
this.parent.removeEventListener('touchmove', this.handleMove, false);
|
825
|
-
this.parent.removeEventListener('touchend', this.handleUp, false);
|
826
|
-
// this.parent.removeEventListener('touchstart', this.handleUp, false);
|
827
|
-
this.parent.removeEventListener('touchstart', this.deselect, false);
|
828
682
|
},
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
height: this.h,
|
835
|
-
resizing: false,
|
836
|
-
dragging: false,
|
837
|
-
enabled: this.active,
|
838
|
-
handle: null,
|
839
|
-
zIndex: this.z
|
683
|
+
y: {
|
684
|
+
type: Number,
|
685
|
+
default: 0,
|
686
|
+
validator: function (val) {
|
687
|
+
return typeof val === 'number'
|
840
688
|
}
|
841
689
|
},
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
this.scrollDist = e.currentTarget.scrollTop - this.scrollPosition;
|
854
|
-
this.top = this.top + this.scrollDist;
|
855
|
-
this.elmY = this.top;
|
856
|
-
}
|
857
|
-
this.scrollPosition = e.currentTarget.scrollTop;
|
858
|
-
},
|
859
|
-
stampAreaUpdate(sp){
|
860
|
-
//update sp-1 and sp area
|
861
|
-
for(let i = sp-1; i < sp+1; i++){
|
862
|
-
if(i - 1 > 0 && i < this.pagesCount){
|
863
|
-
this.section[i].t = this.section[i -1].t + this.pages[i - 1].viewport.height + 11;
|
864
|
-
this.section[i].o = this.pages[i -1].div.offsetLeft + 9;
|
865
|
-
}
|
866
|
-
}
|
867
|
-
},
|
868
|
-
adjustBoundary(pageIndex){
|
869
|
-
if(this.pages[pageIndex] && this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){
|
870
|
-
if(this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH / 2 > 0) {
|
871
|
-
this.top = this.section[pageIndex+1].t;
|
872
|
-
pageIndex++;
|
873
|
-
}else{
|
874
|
-
this.top = this.section[pageIndex+1].t - this.elmH - 9 - 2;
|
875
|
-
}
|
876
|
-
}
|
877
|
-
return pageIndex;
|
690
|
+
z: {
|
691
|
+
type: [String, Number],
|
692
|
+
default: 'auto',
|
693
|
+
validator: function (val) {
|
694
|
+
return (typeof val === 'string') ? val === 'auto' : val >= 0;
|
695
|
+
}
|
696
|
+
},
|
697
|
+
handles: {
|
698
|
+
type: Array,
|
699
|
+
default: function () {
|
700
|
+
return ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']
|
878
701
|
},
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
702
|
+
validator: function (val) {
|
703
|
+
let s = new Set(['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml']);
|
704
|
+
return new Set(val.filter(h => s.has(h))).size === val.length
|
705
|
+
}
|
706
|
+
},
|
707
|
+
dragHandle: {
|
708
|
+
type: String,
|
709
|
+
default: null
|
710
|
+
},
|
711
|
+
dragCancel: {
|
712
|
+
type: String,
|
713
|
+
default: null
|
714
|
+
},
|
715
|
+
axis: {
|
716
|
+
type: String,
|
717
|
+
default: 'both',
|
718
|
+
validator: function (val) {
|
719
|
+
return ['x', 'y', 'both'].indexOf(val) !== -1
|
720
|
+
}
|
721
|
+
},
|
722
|
+
grid: {
|
723
|
+
type: Array,
|
724
|
+
default: function () {
|
725
|
+
return [1, 1]
|
726
|
+
}
|
727
|
+
},
|
728
|
+
parent: {
|
729
|
+
type: Element, default: null
|
730
|
+
},
|
731
|
+
maximize: {
|
732
|
+
type: Boolean, default: false
|
733
|
+
},
|
734
|
+
pages: {
|
735
|
+
type: Array, required: false, default: null
|
736
|
+
},
|
737
|
+
eventBus: {
|
738
|
+
type: Object, default: null
|
739
|
+
},
|
740
|
+
index: {
|
741
|
+
type: Number, required: false, default: 0
|
742
|
+
},
|
743
|
+
currentPage: {
|
744
|
+
type: Number, required: false, default: 0
|
745
|
+
},
|
746
|
+
stampId: {
|
747
|
+
type: String, required: false, default: null
|
748
|
+
}
|
749
|
+
},
|
750
|
+
created: function () {
|
751
|
+
this.parentX = 0;
|
752
|
+
this.parentW = 9999;
|
753
|
+
this.parentY = 0;
|
754
|
+
this.parentH = 9999;
|
755
|
+
this.mouseX = 0;
|
756
|
+
this.mouseY = 0;
|
757
|
+
this.lastMouseX = 0;
|
758
|
+
this.lastMouseY = 0;
|
759
|
+
this.mouseOffX = 0;
|
760
|
+
this.mouseOffY = 0;
|
761
|
+
this.elmX = 0;
|
762
|
+
this.elmY = 0;
|
763
|
+
this.elmW = 0;
|
764
|
+
this.elmH = 0;
|
765
|
+
this.scrollPosition = 0;
|
766
|
+
this.scrollDist = 0;
|
767
|
+
this.pagesCount = this.pages ? this.pages.length : 0;
|
768
|
+
this.section = [];
|
769
|
+
this.scale = null;
|
770
|
+
},
|
771
|
+
mounted: function () {
|
772
|
+
this.parent.addEventListener('mousemove', this.handleMove, false);
|
773
|
+
this.parent.addEventListener('mousedown', this.deselect, false);
|
774
|
+
this.parent.addEventListener('mouseup', this.handleUp, false);
|
775
|
+
// touch events bindings
|
776
|
+
this.parent.addEventListener('touchmove', this.handleMove, false);
|
777
|
+
this.parent.addEventListener('touchend', this.handleUp, false);
|
778
|
+
// this.parent.addEventListener('touchstart', this.handleUp, false);
|
779
|
+
this.parent.addEventListener('touchstart', this.deselect, false);
|
780
|
+
if (this.parent) {
|
781
|
+
this.parent.parentNode.addEventListener('scroll', this.handleScrollMove, false);
|
782
|
+
}
|
783
|
+
//resize
|
784
|
+
if (this.eventBus) {
|
785
|
+
this.eventBus.on('stampResize', this.stampResize);
|
786
|
+
}
|
787
|
+
this.elmX = parseInt(this.$el.style.left);
|
788
|
+
this.elmY = parseInt(this.$el.style.top);
|
789
|
+
this.elmW = this.$el.offsetWidth || this.$el.clientWidth;
|
790
|
+
this.elmH = this.$el.offsetHeight || this.$el.clientHeight;
|
791
|
+
this._reviewDimensions();
|
792
|
+
if (this.pages) {
|
793
|
+
if (!this.scale) {
|
794
|
+
this.scale = this.pages[0].viewport.scale;
|
795
|
+
}
|
796
|
+
this.updateSection();
|
797
|
+
this.top = this.y + 10 < 0 ? 10 : this.y + 10;
|
798
|
+
if (this.top < 10) {
|
799
|
+
this.top = 10;
|
800
|
+
}
|
801
|
+
let pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
|
802
|
+
this.elmY = this.top;
|
803
|
+
let placed = this.pages[pageIndex];
|
804
|
+
if (placed && this.x - placed.div.offsetLeft - 9 > 0) {
|
805
|
+
//nothing
|
806
|
+
} else if (placed) {
|
807
|
+
this.left = placed.div.offsetLeft + 9;
|
808
|
+
}
|
809
|
+
this.elmX = this.left;
|
810
|
+
this._emitPlaced(pageIndex);
|
811
|
+
}
|
812
|
+
},
|
813
|
+
beforeUnmount: function () {
|
814
|
+
this.parent.removeEventListener('mousemove', this.handleMove, false);
|
815
|
+
this.parent.removeEventListener('mousedown', this.deselect, false);
|
816
|
+
this.parent.removeEventListener('mouseup', this.handleUp, false);
|
817
|
+
if (this.parent) {
|
818
|
+
this.parent.parentNode.removeEventListener('scroll', this.handleScrollMove, false);
|
819
|
+
}
|
820
|
+
if (this.eventBus) {
|
821
|
+
this.eventBus.off('stampResize', this.stampResize);
|
822
|
+
}
|
823
|
+
// touch events bindings removed
|
824
|
+
this.parent.removeEventListener('touchmove', this.handleMove, false);
|
825
|
+
this.parent.removeEventListener('touchend', this.handleUp, false);
|
826
|
+
// this.parent.removeEventListener('touchstart', this.handleUp, false);
|
827
|
+
this.parent.removeEventListener('touchstart', this.deselect, false);
|
828
|
+
},
|
829
|
+
data: function () {
|
830
|
+
return {
|
831
|
+
top: this.y,
|
832
|
+
left: this.x,
|
833
|
+
width: this.w,
|
834
|
+
height: this.h,
|
835
|
+
resizing: false,
|
836
|
+
dragging: false,
|
837
|
+
enabled: this.active,
|
838
|
+
handle: null,
|
839
|
+
zIndex: this.z
|
840
|
+
}
|
841
|
+
},
|
842
|
+
methods: {
|
843
|
+
adjust(arr, val, leftIndex, rightIndex) {
|
844
|
+
let pageIndex = this.binarySearch(arr, val, leftIndex, rightIndex);
|
845
|
+
if (pageIndex < 0 || pageIndex > this.pagesCount - 1) {
|
846
|
+
pageIndex = 0;
|
847
|
+
}
|
848
|
+
pageIndex = this.adjustBoundary(pageIndex);
|
849
|
+
return pageIndex;
|
850
|
+
},
|
851
|
+
handleScrollMove(e) {
|
852
|
+
if (this.dragging) {
|
853
|
+
this.scrollDist = e.currentTarget.scrollTop - this.scrollPosition;
|
854
|
+
this.top = this.top + this.scrollDist;
|
855
|
+
this.elmY = this.top;
|
856
|
+
}
|
857
|
+
this.scrollPosition = e.currentTarget.scrollTop;
|
858
|
+
},
|
859
|
+
stampAreaUpdate(sp) {
|
860
|
+
//update sp-1 and sp area
|
861
|
+
for (let i = sp - 1; i < sp + 1; i++) {
|
862
|
+
if (i - 1 > 0 && i < this.pagesCount) {
|
863
|
+
this.section[i].t = this.section[i - 1].t + this.pages[i - 1].viewport.height + 11;
|
864
|
+
this.section[i].o = this.pages[i - 1].div.offsetLeft + 9;
|
892
865
|
}
|
893
|
-
}
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
});
|
866
|
+
}
|
867
|
+
},
|
868
|
+
adjustBoundary(pageIndex) {
|
869
|
+
if (this.pages[pageIndex] && this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0) {
|
870
|
+
if (this.top + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - this.elmH / 2 > 0) {
|
871
|
+
this.top = this.section[pageIndex + 1].t;
|
872
|
+
pageIndex++;
|
873
|
+
} else {
|
874
|
+
this.top = this.section[pageIndex + 1].t - this.elmH - 9 - 2;
|
903
875
|
}
|
876
|
+
}
|
877
|
+
return pageIndex;
|
878
|
+
},
|
879
|
+
//二分查找
|
880
|
+
binarySearch(arr, val, leftIndex, rightIndex) {
|
881
|
+
if (leftIndex > rightIndex) {
|
882
|
+
return leftIndex - 1;
|
883
|
+
}
|
884
|
+
let midIndex = Math.floor((leftIndex + rightIndex) / 2);
|
885
|
+
let midVal = arr[midIndex].t;
|
886
|
+
if (midVal > val) {
|
887
|
+
return this.binarySearch(arr, val, leftIndex, midIndex - 1);
|
888
|
+
} else if (midVal < val) {
|
889
|
+
return this.binarySearch(arr, val, midIndex + 1, rightIndex);
|
890
|
+
} else {
|
891
|
+
return midIndex;
|
892
|
+
}
|
893
|
+
},
|
894
|
+
updateSection() {
|
895
|
+
this.section.length = 0;
|
896
|
+
let t = 10;
|
897
|
+
for (let i = 0; i < this.pagesCount; i++) {
|
898
|
+
t = t + (i > 0 ? this.pages[this.originBottom ? i : i - 1].viewport.height : 0) + (i > 0 ? 9 + 2 : 0);
|
904
899
|
this.section.push({
|
905
|
-
t
|
906
|
-
o: this.pages[
|
900
|
+
t,
|
901
|
+
o: this.pages[i].div.offsetLeft + 9
|
907
902
|
});
|
908
|
-
}
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
this.height = (HEIGHT * currentScale) / this.scale;
|
923
|
-
const LEFT = this.left;
|
924
|
-
this.top = ((TOP - 10) * currentScale) / this.scale + 10;
|
925
|
-
this.left = this.pages[pageIndex].div.offsetLeft + (((LEFT - section[pageIndex].o) * currentScale) / this.scale) + 9;
|
926
|
-
this.elmW = this.width;
|
927
|
-
this.elmH = this.height;
|
928
|
-
this.elmX = this.left;
|
929
|
-
this.elmY = this.top;
|
930
|
-
this.scale = currentScale;
|
931
|
-
this._emitPlaced(pageIndex);
|
932
|
-
}
|
933
|
-
},
|
934
|
-
|
935
|
-
_emitPlaced(pageIndex){
|
936
|
-
this.$emit('placed', pageIndex, this.index, {
|
937
|
-
x : (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,
|
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,
|
939
|
-
w: this.elmW / this.pages[pageIndex].viewport.width,
|
940
|
-
h: this.elmH / this.pages[pageIndex].viewport.height
|
941
|
-
}, this.stampId);
|
942
|
-
},
|
943
|
-
_reviewDimensions(){
|
944
|
-
if (this.minw > this.w) this.width = this.minw;
|
945
|
-
if (this.minh > this.h) this.height = this.minh;
|
946
|
-
if (this.parent) {
|
947
|
-
const parentW = parseInt(this.parent.scrollWidth, 10);
|
948
|
-
const parentH = parseInt(this.parent.scrollHeight, 10);
|
949
|
-
this.parentW = parentW;
|
950
|
-
this.parentH = parentH;
|
951
|
-
if (this.w > this.parentW) this.width = parentW;
|
952
|
-
if (this.h > this.parentH) this.height = parentH;
|
953
|
-
if ((this.x + this.w) > this.parentW) this.width = parentW - this.x;
|
954
|
-
if ((this.y + this.h) > this.parentH) this.height = parentH - this.y;
|
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
|
+
});
|
908
|
+
},
|
909
|
+
stampResize() {
|
910
|
+
if (this.scale != null) {
|
911
|
+
const section = [].concat(this.section);
|
912
|
+
this.updateSection();
|
913
|
+
const TOP = this.top;
|
914
|
+
let pageIndex = this.binarySearch(section, TOP, this.currentPage - 1, this.pagesCount - 1);
|
915
|
+
if (pageIndex < 0) {
|
916
|
+
pageIndex = 0;
|
955
917
|
}
|
918
|
+
const currentScale = this.pages[0].viewport.scale;
|
919
|
+
const WIDTH = this.width;
|
920
|
+
const HEIGHT = this.height;
|
921
|
+
this.width = (WIDTH * currentScale) / this.scale;
|
922
|
+
this.height = (HEIGHT * currentScale) / this.scale;
|
923
|
+
const LEFT = this.left;
|
924
|
+
this.top = ((TOP - 10) * currentScale) / this.scale + 10;
|
925
|
+
this.left = this.pages[pageIndex].div.offsetLeft + (((LEFT - section[pageIndex].o) * currentScale) / this.scale) + 9;
|
956
926
|
this.elmW = this.width;
|
957
927
|
this.elmH = this.height;
|
958
|
-
|
959
|
-
|
960
|
-
this.
|
961
|
-
this
|
962
|
-
}
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
928
|
+
this.elmX = this.left;
|
929
|
+
this.elmY = this.top;
|
930
|
+
this.scale = currentScale;
|
931
|
+
this._emitPlaced(pageIndex);
|
932
|
+
}
|
933
|
+
},
|
934
|
+
|
935
|
+
_emitPlaced(pageIndex) {
|
936
|
+
this.$emit('placed', pageIndex, this.index, {
|
937
|
+
x: (this.left - this.section[pageIndex].o) / this.pages[pageIndex].viewport.width,
|
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,
|
939
|
+
w: this.elmW / this.pages[pageIndex].viewport.width,
|
940
|
+
h: this.elmH / this.pages[pageIndex].viewport.height
|
941
|
+
}, this.stampId);
|
942
|
+
},
|
943
|
+
_reviewDimensions() {
|
944
|
+
if (this.minw > this.w) this.width = this.minw;
|
945
|
+
if (this.minh > this.h) this.height = this.minh;
|
946
|
+
if (this.parent) {
|
947
|
+
const parentW = parseInt(this.parent.scrollWidth, 10);
|
948
|
+
const parentH = parseInt(this.parent.scrollHeight, 10);
|
949
|
+
this.parentW = parentW;
|
950
|
+
this.parentH = parentH;
|
951
|
+
if (this.w > this.parentW) this.width = parentW;
|
952
|
+
if (this.h > this.parentH) this.height = parentH;
|
953
|
+
if ((this.x + this.w) > this.parentW) this.width = parentW - this.x;
|
954
|
+
if ((this.y + this.h) > this.parentH) this.height = parentH - this.y;
|
955
|
+
}
|
956
|
+
this.elmW = this.width;
|
957
|
+
this.elmH = this.height;
|
958
|
+
},
|
959
|
+
reviewDimensions: function () {
|
960
|
+
this._reviewDimensions();
|
961
|
+
this.$emit('resizing', this.left, this.top, this.width, this.height)
|
962
|
+
},
|
963
|
+
elmDown: function (e) {
|
964
|
+
const target = e.target || e.srcElement;
|
965
|
+
if (this.$el.contains(target)) {
|
966
|
+
if (
|
967
967
|
(this.dragHandle && !matchesSelectorToParentElements(target, this.dragHandle, this.$el)) ||
|
968
968
|
(this.dragCancel && matchesSelectorToParentElements(target, this.dragCancel, this.$el))) {
|
969
|
-
|
970
|
-
}
|
971
|
-
this.reviewDimensions();
|
972
|
-
if (!this.enabled) {
|
973
|
-
this.enabled = true
|
974
|
-
this.$emit('activated')
|
975
|
-
this.$emit('update:active', true)
|
976
|
-
}
|
977
|
-
if (this.draggable) {
|
978
|
-
this.dragging = true
|
979
|
-
}
|
969
|
+
return
|
980
970
|
}
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
this
|
985
|
-
this
|
986
|
-
} else {
|
987
|
-
this.mouseX = e.pageX || e.clientX + this.parent.scrollLeft
|
988
|
-
this.mouseY = e.pageY || e.clientY + this.parent.scrollTop
|
971
|
+
this.reviewDimensions();
|
972
|
+
if (!this.enabled) {
|
973
|
+
this.enabled = true
|
974
|
+
this.$emit('activated')
|
975
|
+
this.$emit('update:active', true)
|
989
976
|
}
|
990
|
-
this.
|
991
|
-
|
992
|
-
const target = e.target || e.srcElement
|
993
|
-
const regex = new RegExp('handle-([trmbl]{2})', '')
|
994
|
-
if (!this.$el.contains(target) && !regex.test(target.className)) {
|
995
|
-
if (this.enabled) {
|
996
|
-
this.enabled = false
|
997
|
-
this.$emit('deactivated')
|
998
|
-
this.$emit('update:active', false)
|
999
|
-
}
|
977
|
+
if (this.draggable) {
|
978
|
+
this.dragging = true
|
1000
979
|
}
|
1001
|
-
}
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
980
|
+
}
|
981
|
+
},
|
982
|
+
deselect: function (e) {
|
983
|
+
if (e.type.indexOf('touch') !== -1) {
|
984
|
+
this.mouseX = e.changedTouches[0].clientX
|
985
|
+
this.mouseY = e.changedTouches[0].clientY
|
986
|
+
} else {
|
987
|
+
this.mouseX = e.pageX || e.clientX + this.parent.scrollLeft
|
988
|
+
this.mouseY = e.pageY || e.clientY + this.parent.scrollTop
|
989
|
+
}
|
990
|
+
this.lastMouseX = this.mouseX
|
991
|
+
this.lastMouseY = this.mouseY
|
992
|
+
const target = e.target || e.srcElement
|
993
|
+
const regex = new RegExp('handle-([trmbl]{2})', '')
|
994
|
+
if (!this.$el.contains(target) && !regex.test(target.className)) {
|
995
|
+
if (this.enabled) {
|
996
|
+
this.enabled = false
|
997
|
+
this.$emit('deactivated')
|
998
|
+
this.$emit('update:active', false)
|
1007
999
|
}
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1000
|
+
}
|
1001
|
+
},
|
1002
|
+
handleDown: function (handle, e) {
|
1003
|
+
this.handle = handle;
|
1004
|
+
if (e.cancelable) {
|
1005
|
+
e.stopPropagation();
|
1006
|
+
e.preventDefault();
|
1007
|
+
}
|
1008
|
+
this.resizing = true;
|
1009
|
+
},
|
1010
|
+
// fillParent: function (e) {
|
1011
|
+
// if (!this.parent || !this.resizable || !this.maximize) return
|
1012
|
+
// let done = false
|
1013
|
+
// const animate = () => {
|
1014
|
+
// if (!done) {
|
1015
|
+
// window.requestAnimationFrame(animate)
|
1016
|
+
// }
|
1017
|
+
// if (this.axis === 'x') {
|
1018
|
+
// if (
|
1019
|
+
// this.width === this.parentW && this.left === this.parentX
|
1020
|
+
// ) done = true
|
1021
|
+
// } else if (this.axis === 'y') {
|
1022
|
+
// if (
|
1023
|
+
// this.height === this.parentH && this.top === this.parentY
|
1024
|
+
// ) done = true
|
1025
|
+
// } else if (this.axis === 'both') {
|
1026
|
+
// if (
|
1027
|
+
// this.width === this.parentW &&
|
1028
|
+
// this.height === this.parentH &&
|
1029
|
+
// this.top === this.parentY &&
|
1030
|
+
// this.left === this.parentX
|
1031
|
+
// ) done = true
|
1032
|
+
// }
|
1033
|
+
// if (this.axis === 'x' || this.axis === 'both') {
|
1034
|
+
// if (this.width < this.parentW) {
|
1035
|
+
// this.width++
|
1036
|
+
// this.elmW++
|
1037
|
+
// }
|
1038
|
+
// if (this.left > this.parentX) {
|
1039
|
+
// this.left--
|
1040
|
+
// this.elmX--
|
1041
|
+
// }
|
1042
|
+
// }
|
1043
|
+
// if (this.axis === 'y' || this.axis === 'both') {
|
1044
|
+
// if (this.height < this.parentH) {
|
1045
|
+
// this.height++
|
1046
|
+
// this.elmH++
|
1047
|
+
// }
|
1048
|
+
// if (this.top > this.parentY) {
|
1049
|
+
// this.top--
|
1050
|
+
// this.elmY--
|
1051
|
+
// }
|
1052
|
+
// }
|
1053
|
+
// this.$emit('resizing', this.left, this.top, this.width, this.height)
|
1054
|
+
// }
|
1055
|
+
// window.requestAnimationFrame(animate)
|
1056
|
+
// },
|
1057
|
+
handleMove: function (e) {
|
1058
|
+
const isTouchMove = e.type.indexOf('touchmove') !== -1
|
1059
|
+
this.mouseX = isTouchMove
|
1060
1060
|
? e.touches[0].clientX
|
1061
1061
|
: e.pageX || e.clientX + document.documentElement.scrollLeft;
|
1062
|
-
|
1062
|
+
this.mouseY = isTouchMove
|
1063
1063
|
? e.touches[0].clientY
|
1064
1064
|
: e.pageY || e.clientY + document.documentElement.scrollTop;
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
}
|
1109
|
-
if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0){
|
1110
|
-
if(this.elmY+ diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - (this.elmH * 0.9) - 11 > 0){
|
1111
|
-
pageIndex++;
|
1112
|
-
}
|
1113
|
-
}
|
1114
|
-
_x = this.pages[pageIndex].div.offsetLeft + 9;
|
1115
|
-
}
|
1116
|
-
if (this.elmX + dX < this.parentX + _x){
|
1117
|
-
this.mouseOffX = (dX - (diffX = this.parentX + _x - this.elmX))
|
1118
|
-
} else if (this.elmX + this.elmW + dX > (this.parentW - _x)){
|
1119
|
-
this.mouseOffX = (dX - (diffX = (this.parentW - _x) - this.elmX - this.elmW))
|
1065
|
+
let diffX = this.mouseX - this.lastMouseX + this.mouseOffX;
|
1066
|
+
let diffY = this.mouseY - this.lastMouseY + this.mouseOffY;
|
1067
|
+
this.mouseOffX = this.mouseOffY = 0;
|
1068
|
+
this.lastMouseX = this.mouseX;
|
1069
|
+
this.lastMouseY = this.mouseY;
|
1070
|
+
let dX = diffX;
|
1071
|
+
let dY = diffY;
|
1072
|
+
if (this.resizing) {
|
1073
|
+
if (this.handle.indexOf('t') >= 0) {
|
1074
|
+
if (this.elmH - dY < this.minh) this.mouseOffY = (dY - (diffY = this.elmH - this.minh));
|
1075
|
+
else if (this.parent && this.elmY + dY < this.parentY) this.mouseOffY = (dY - (diffY = this.parentY - this.elmY));
|
1076
|
+
this.elmY += diffY
|
1077
|
+
this.elmH -= diffY
|
1078
|
+
}
|
1079
|
+
if (this.handle.indexOf('b') >= 0) {
|
1080
|
+
if (this.elmH + dY < this.minh) this.mouseOffY = (dY - (diffY = this.minh - this.elmH));
|
1081
|
+
else if (this.parent && this.elmY + this.elmH + dY > this.parentH) this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH));
|
1082
|
+
this.elmH += diffY
|
1083
|
+
}
|
1084
|
+
if (this.handle.indexOf('l') >= 0) {
|
1085
|
+
if (this.elmW - dX < this.minw) this.mouseOffX = (dX - (diffX = this.elmW - this.minw));
|
1086
|
+
else if (this.parent && this.elmX + dX < this.parentX) this.mouseOffX = (dX - (diffX = this.parentX - this.elmX));
|
1087
|
+
this.elmX += diffX
|
1088
|
+
this.elmW -= diffX
|
1089
|
+
}
|
1090
|
+
if (this.handle.indexOf('r') >= 0) {
|
1091
|
+
if (this.elmW + dX < this.minw) this.mouseOffX = (dX - (diffX = this.minw - this.elmW))
|
1092
|
+
else if (this.parent && this.elmX + this.elmW + dX > this.parentW) this.mouseOffX = (dX - (diffX = this.parentW - this.elmX - this.elmW));
|
1093
|
+
this.elmW += diffX
|
1094
|
+
}
|
1095
|
+
this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0]);
|
1096
|
+
this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1]);
|
1097
|
+
this.width = (Math.round(this.elmW / this.grid[0]) * this.grid[0]);
|
1098
|
+
this.height = (Math.round(this.elmH / this.grid[1]) * this.grid[1]);
|
1099
|
+
this.$emit('resizing', this.left, this.top, this.width, this.height);
|
1100
|
+
} else if (this.dragging) {
|
1101
|
+
if (this.parent) {
|
1102
|
+
this._reviewDimensions();
|
1103
|
+
let [_x, _y] = [0, 10];
|
1104
|
+
if (this.pages) {
|
1105
|
+
let pageIndex = this.binarySearch(this.section, this.elmY + diffY, this.currentPage - 1, this.pagesCount - 1);
|
1106
|
+
if (pageIndex < 0) {
|
1107
|
+
pageIndex = 0;
|
1120
1108
|
}
|
1121
|
-
if (this.elmY +
|
1122
|
-
this.
|
1123
|
-
|
1124
|
-
|
1109
|
+
if (this.elmY + diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height > 0) {
|
1110
|
+
if (this.elmY + diffY + this.elmH - this.section[pageIndex].t - this.pages[pageIndex].viewport.height - (this.elmH * 0.9) - 11 > 0) {
|
1111
|
+
pageIndex++;
|
1112
|
+
}
|
1125
1113
|
}
|
1114
|
+
_x = this.pages[pageIndex].div.offsetLeft + 9;
|
1126
1115
|
}
|
1127
|
-
this.elmX
|
1128
|
-
|
1129
|
-
if (this.
|
1130
|
-
this.
|
1116
|
+
if (this.elmX + dX < this.parentX + _x) {
|
1117
|
+
this.mouseOffX = (dX - (diffX = this.parentX + _x - this.elmX))
|
1118
|
+
} else if (this.elmX + this.elmW + dX > (this.parentW - _x)) {
|
1119
|
+
this.mouseOffX = (dX - (diffX = (this.parentW - _x) - this.elmX - this.elmW))
|
1131
1120
|
}
|
1132
|
-
if (this.
|
1133
|
-
this.
|
1121
|
+
if (this.elmY + dY < this.parentY + _y) {
|
1122
|
+
this.mouseOffY = (dY - (diffY = this.parentY + _y - this.elmY))
|
1123
|
+
} else if (this.elmY + this.elmH + dY > this.parentH) {
|
1124
|
+
this.mouseOffY = (dY - (diffY = this.parentH - this.elmY - this.elmH))
|
1134
1125
|
}
|
1135
|
-
this.$emit('dragging', this.left, this.top)
|
1136
1126
|
}
|
1137
|
-
|
1138
|
-
|
1139
|
-
if (
|
1140
|
-
this.
|
1141
|
-
this.lastMouseY = e.changedTouches[0].clientY;
|
1127
|
+
this.elmX += diffX;
|
1128
|
+
this.elmY += diffY;
|
1129
|
+
if (this.axis === 'x' || this.axis === 'both') {
|
1130
|
+
this.left = (Math.round(this.elmX / this.grid[0]) * this.grid[0])
|
1142
1131
|
}
|
1143
|
-
this.
|
1144
|
-
|
1145
|
-
if (this.resizing) {
|
1146
|
-
this.resizing = false;
|
1147
|
-
this.$emit('resizestop', this.left, this.top, this.width, this.height)
|
1132
|
+
if (this.axis === 'y' || this.axis === 'both') {
|
1133
|
+
this.top = (Math.round(this.elmY / this.grid[1]) * this.grid[1])
|
1148
1134
|
}
|
1149
|
-
|
1150
|
-
this.dragging = false;
|
1151
|
-
let pageIndex = 0;
|
1152
|
-
if(this.pages){
|
1153
|
-
pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
|
1154
|
-
}
|
1155
|
-
this._emitPlaced(pageIndex);
|
1156
|
-
this.$emit('dragstop', this.left, this.top);
|
1157
|
-
}
|
1158
|
-
this.elmX = this.left;
|
1159
|
-
this.elmY = this.top;
|
1160
|
-
},
|
1161
|
-
dropItem(){
|
1162
|
-
this.$emit('dropitem', this.index);
|
1135
|
+
this.$emit('dragging', this.left, this.top)
|
1163
1136
|
}
|
1164
1137
|
},
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1138
|
+
handleUp: function (e) {
|
1139
|
+
if (e.type.indexOf('touch') !== -1) {
|
1140
|
+
this.lastMouseX = e.changedTouches[0].clientX;
|
1141
|
+
this.lastMouseY = e.changedTouches[0].clientY;
|
1142
|
+
}
|
1143
|
+
this.handle = null;
|
1144
|
+
//this.enabled = false;
|
1145
|
+
if (this.resizing) {
|
1146
|
+
this.resizing = false;
|
1147
|
+
this.$emit('resizestop', this.left, this.top, this.width, this.height)
|
1148
|
+
}
|
1149
|
+
if (this.dragging) {
|
1150
|
+
this.dragging = false;
|
1151
|
+
let pageIndex = 0;
|
1152
|
+
if (this.pages) {
|
1153
|
+
pageIndex = this.adjust(this.section, this.top, this.currentPage - 1, this.pagesCount - 1);
|
1173
1154
|
}
|
1155
|
+
this._emitPlaced(pageIndex);
|
1156
|
+
this.$emit('dragstop', this.left, this.top);
|
1174
1157
|
}
|
1158
|
+
this.elmX = this.left;
|
1159
|
+
this.elmY = this.top;
|
1175
1160
|
},
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
this.
|
1187
|
-
|
1161
|
+
dropItem() {
|
1162
|
+
this.$emit('dropitem', this.index);
|
1163
|
+
}
|
1164
|
+
},
|
1165
|
+
computed: {
|
1166
|
+
style: function () {
|
1167
|
+
return {
|
1168
|
+
top: this.top + 'px',
|
1169
|
+
left: this.left + 'px',
|
1170
|
+
width: this.width + 'px',
|
1171
|
+
height: this.height + 'px',
|
1172
|
+
zIndex: this.zIndex
|
1173
|
+
}
|
1188
1174
|
}
|
1189
|
-
}
|
1175
|
+
},
|
1176
|
+
watch: {
|
1177
|
+
active: function (val) {
|
1178
|
+
this.enabled = val
|
1179
|
+
},
|
1180
|
+
z: function (val) {
|
1181
|
+
if (val >= 0 || val === 'auto') {
|
1182
|
+
this.zIndex = val
|
1183
|
+
}
|
1184
|
+
},
|
1185
|
+
currentPage: function (newVal) {
|
1186
|
+
this.stampAreaUpdate(newVal);
|
1187
|
+
},
|
1188
|
+
}
|
1189
|
+
});
|
1190
1190
|
|
1191
1191
|
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=script&lang=js&
|
1192
1192
|
/* harmony default export */ var draggable_resizable_draggable_resizablevue_type_script_lang_js_ = (draggable_resizablevue_type_script_lang_js_);
|
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=
|
1194
|
-
var
|
1195
|
-
;// 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=b44a7a5c&prod&scoped=true&lang=css&
|
1194
|
+
var draggable_resizablevue_type_style_index_0_id_b44a7a5c_prod_scoped_true_lang_css_ = __webpack_require__(891);
|
1195
|
+
;// CONCATENATED MODULE: ./packages/draggable-resizable/draggable-resizable.vue?vue&type=style&index=0&id=b44a7a5c&prod&scoped=true&lang=css&
|
1196
1196
|
|
1197
1197
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
1198
1198
|
/* globals __VUE_SSR_CONTEXT__ */
|
@@ -1303,11 +1303,11 @@ function normalizeComponent(
|
|
1303
1303
|
|
1304
1304
|
var component = normalizeComponent(
|
1305
1305
|
draggable_resizable_draggable_resizablevue_type_script_lang_js_,
|
1306
|
-
|
1307
|
-
|
1306
|
+
draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_render,
|
1307
|
+
draggable_resizablevue_type_template_id_b44a7a5c_scoped_true_staticRenderFns,
|
1308
1308
|
false,
|
1309
1309
|
null,
|
1310
|
-
"
|
1310
|
+
"b44a7a5c",
|
1311
1311
|
null
|
1312
1312
|
|
1313
1313
|
)
|
@@ -1370,13 +1370,12 @@ var component = normalizeComponent(
|
|
1370
1370
|
}
|
1371
1371
|
}
|
1372
1372
|
},
|
1373
|
-
|
1374
1373
|
stamps: {
|
1375
1374
|
immediate: true,
|
1376
1375
|
handler(val) {
|
1377
|
-
if (
|
1378
|
-
|
1379
|
-
|
1376
|
+
if (val.length > 0 && this.config) {
|
1377
|
+
document.getElementById('scrollModeButtons').hidden = true
|
1378
|
+
document.getElementById('spreadModeButtons').hidden = true
|
1380
1379
|
}
|
1381
1380
|
}
|
1382
1381
|
}
|
@@ -1483,6 +1482,21 @@ var component = normalizeComponent(
|
|
1483
1482
|
),
|
1484
1483
|
openFileButton: document.getElementById('secondaryOpenFile'),
|
1485
1484
|
printButton: document.getElementById('secondaryPrint'),
|
1485
|
+
downloadButton: document.getElementById("secondaryDownload"),
|
1486
|
+
viewBookmarkButton: document.getElementById("secondaryViewBookmark"),
|
1487
|
+
firstPageButton: document.getElementById("firstPage"),
|
1488
|
+
lastPageButton: document.getElementById("lastPage"),
|
1489
|
+
pageRotateCwButton: document.getElementById("pageRotateCw"),
|
1490
|
+
pageRotateCcwButton: document.getElementById("pageRotateCcw"),
|
1491
|
+
cursorSelectToolButton: document.getElementById("cursorSelectTool"),
|
1492
|
+
cursorHandToolButton: document.getElementById("cursorHandTool"),
|
1493
|
+
scrollPageButton: document.getElementById("scrollPage"),
|
1494
|
+
scrollVerticalButton: document.getElementById("scrollVertical"),
|
1495
|
+
scrollHorizontalButton: document.getElementById("scrollHorizontal"),
|
1496
|
+
scrollWrappedButton: document.getElementById("scrollWrapped"),
|
1497
|
+
spreadNoneButton: document.getElementById("spreadNone"),
|
1498
|
+
spreadOddButton: document.getElementById("spreadOdd"),
|
1499
|
+
spreadEvenButton: document.getElementById("spreadEven"),
|
1486
1500
|
documentPropertiesButton: document.getElementById('documentProperties'),
|
1487
1501
|
},
|
1488
1502
|
sidebar: {
|
@@ -1492,21 +1506,21 @@ var component = normalizeComponent(
|
|
1492
1506
|
toggleButton: document.getElementById("sidebarToggle"),
|
1493
1507
|
// Buttons
|
1494
1508
|
// thumbnailButton: document.getElementById("viewThumbnail"),
|
1495
|
-
|
1496
|
-
|
1509
|
+
outlineButton: document.getElementById("viewOutline"),
|
1510
|
+
attachmentsButton: document.getElementById("viewAttachments"),
|
1497
1511
|
// layersButton: document.getElementById("viewLayers"),
|
1498
|
-
|
1512
|
+
signaturesButton: document.getElementById("viewSignatures"),
|
1499
1513
|
// Views
|
1500
1514
|
// thumbnailView: document.getElementById("thumbnailView"),
|
1501
|
-
|
1502
|
-
|
1515
|
+
outlineView: document.getElementById("outlineView"),
|
1516
|
+
attachmentsView: document.getElementById("attachmentsView"),
|
1503
1517
|
// layersView: document.getElementById("layersView"),
|
1504
1518
|
signaturesView: document.getElementById("signaturesView"),
|
1505
1519
|
// View-specific options
|
1506
1520
|
// outlineOptionsContainer: document.getElementById(
|
1507
1521
|
// "outlineOptionsContainer"
|
1508
1522
|
// ),
|
1509
|
-
|
1523
|
+
currentOutlineItemButton: document.getElementById("currentOutlineItem"),
|
1510
1524
|
},
|
1511
1525
|
sidebarResizer: {
|
1512
1526
|
outerContainer: document.getElementById('outerContainer'),
|
@@ -1575,9 +1589,9 @@ var component = normalizeComponent(
|
|
1575
1589
|
|
1576
1590
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=script&lang=js&
|
1577
1591
|
/* harmony default export */ var ofdView_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
|
1578
|
-
// 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=
|
1579
|
-
var
|
1580
|
-
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=
|
1592
|
+
// 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=18db0fa8&prod&scoped=true&lang=css&
|
1593
|
+
var srcvue_type_style_index_0_id_18db0fa8_prod_scoped_true_lang_css_ = __webpack_require__(913);
|
1594
|
+
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue?vue&type=style&index=0&id=18db0fa8&prod&scoped=true&lang=css&
|
1581
1595
|
|
1582
1596
|
;// CONCATENATED MODULE: ./packages/ofdView/src/index.vue
|
1583
1597
|
|
@@ -1594,7 +1608,7 @@ var src_component = normalizeComponent(
|
|
1594
1608
|
staticRenderFns,
|
1595
1609
|
false,
|
1596
1610
|
null,
|
1597
|
-
"
|
1611
|
+
"18db0fa8",
|
1598
1612
|
null
|
1599
1613
|
|
1600
1614
|
)
|