hoeditor-web 2.0.72 → 2.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14786,7 +14786,7 @@ var DocController = /*#__PURE__*/function () {
14786
14786
  node.childNodes.splice(1, node.childNodes.length - 2);
14787
14787
  var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_27__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntText */ .Jq.ntText, values["text"], hoEditorFactory.docTree.curStyleIndex);
14788
14788
  node.childNodes.splice(1, 0, textNode);
14789
- changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
14789
+ changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode); //changeEvent.afterChangePath = ePath;
14790
14790
  }
14791
14791
  } else {
14792
14792
  //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
@@ -14795,12 +14795,25 @@ var DocController = /*#__PURE__*/function () {
14795
14795
 
14796
14796
  hoEditorFactory.docTree.change(changeEvent);
14797
14797
  node.update();
14798
+ var pnode = node.parentNode;
14798
14799
 
14799
- if (node.parentNode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14800
- node.parentNode.drawCell.needUpdate = true; //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14800
+ do {
14801
+ var _pnode;
14802
+
14803
+ if (pnode && pnode.parentNode) {
14804
+ pnode = pnode.parentNode;
14805
+ }
14806
+
14807
+ if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14808
+ break;
14809
+ }
14810
+ } while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
14811
+
14812
+ if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14813
+ pnode.drawCell.needUpdate = true; //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14801
14814
 
14802
- if (node.parentNode.drawCell.drawPageCells.length > 1) {
14803
- node.parentNode.table.update();
14815
+ if (pnode.drawCell.drawPageCells.length > 1) {
14816
+ pnode.table.update();
14804
14817
  }
14805
14818
  }
14806
14819
 
@@ -50856,7 +50869,7 @@ var DrawRadioAndCheckBox = /*#__PURE__*/function (_DrawCombineNode) {
50856
50869
 
50857
50870
  var boxwidth = _this._dBox.getMeasuredWidth();
50858
50871
 
50859
- _this.dWidth = textWidth + boxwidth;
50872
+ _this.dWidth = textWidth + boxwidth + 6;
50860
50873
 
50861
50874
  if (node.isEditText) {
50862
50875
  var underLineLen = 40;
@@ -50868,9 +50881,9 @@ var DrawRadioAndCheckBox = /*#__PURE__*/function (_DrawCombineNode) {
50868
50881
 
50869
50882
  _this._dUnderLine = new createjs.Shape();
50870
50883
 
50871
- _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth, 1).lineTo(_this.dWidth + underLineLen, 1);
50884
+ _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - 6, 1).lineTo(_this.dWidth - 6 + underLineLen, 1);
50872
50885
 
50873
- _this.dWidth = _this.dWidth + underLineLen;
50886
+ _this.dWidth = _this.dWidth - 6 + underLineLen;
50874
50887
  }
50875
50888
 
50876
50889
  _this.dHeight = height;
@@ -51120,7 +51133,7 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
51120
51133
  var textWidth = _this._dText.getMeasuredWidth();
51121
51134
 
51122
51135
  var boxwidth = height;
51123
- _this.dWidth = textWidth + boxwidth;
51136
+ _this.dWidth = textWidth + boxwidth + 6;
51124
51137
 
51125
51138
  if (node.isEditText) {
51126
51139
  var underLineLen = 40;
@@ -51132,9 +51145,9 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
51132
51145
 
51133
51146
  _this._dUnderLine = new createjs.Shape();
51134
51147
 
51135
- _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth, 1).lineTo(_this.dWidth + underLineLen, 1);
51148
+ _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - 6, 1).lineTo(_this.dWidth - 6 + underLineLen, 1);
51136
51149
 
51137
- _this.dWidth = _this.dWidth + underLineLen;
51150
+ _this.dWidth = _this.dWidth - 6 + underLineLen;
51138
51151
  }
51139
51152
 
51140
51153
  _this.dHeight = height;
@@ -199521,7 +199534,7 @@ var es_function_name = __webpack_require__(68309);
199521
199534
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
199522
199535
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(77203);
199523
199536
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
199524
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=4dbdae0e&
199537
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=120a3c14&
199525
199538
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson,"isUseTipText":_vm.isUseTipText,"textStyle":_vm.textStyle},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.notUseModal)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isTableProperty":_vm.isTableProperty,"isListStyle":_vm.isListStyle,"uploadImageParams":_vm.uploadImageParams},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoParagraphModal",fn:function(){return [_vm._t("hoParagraphField")]},proxy:true},{key:"hoComment",fn:function(){return [_vm._t("hoTextComment")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e()],1):_vm._e()}
199526
199539
  var staticRenderFns = []
199527
199540
 
@@ -200447,9 +200460,9 @@ function isPromise(obj) {
200447
200460
  return obj instanceof Promise || (obj && typeof obj.then === 'function');
200448
200461
  }
200449
200462
 
200450
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=658730be&
200451
- var HoDocvue_type_template_id_658730be_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
200452
- var HoDocvue_type_template_id_658730be_staticRenderFns = []
200463
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=0d9b6522&
200464
+ var HoDocvue_type_template_id_0d9b6522_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
200465
+ var HoDocvue_type_template_id_0d9b6522_staticRenderFns = []
200453
200466
 
200454
200467
 
200455
200468
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
@@ -202305,11 +202318,11 @@ var HoToPage_component = normalizeComponent(
202305
202318
  /* harmony default export */ var backToPage = (HoToPage);
202306
202319
  // EXTERNAL MODULE: ./src/plugins/util.ts
202307
202320
  var util = __webpack_require__(17987);
202308
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=0c390485&scoped=true&
202309
- var PoperSelectvue_type_template_id_0c390485_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
202321
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=5dfdd78c&scoped=true&
202322
+ var PoperSelectvue_type_template_id_5dfdd78c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
202310
202323
  var item = ref.item;
202311
- return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
202312
- var PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns = []
202324
+ return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
202325
+ var PoperSelectvue_type_template_id_5dfdd78c_scoped_true_staticRenderFns = []
202313
202326
 
202314
202327
 
202315
202328
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -205279,7 +205292,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205279
205292
  this.poperSelectList.forEach(function (v, index) {
205280
205293
  v.selected = false;
205281
205294
 
205282
- if (v.id == value) {
205295
+ if (v.id == value.id) {
205283
205296
  item = v;
205284
205297
  selectItemIndex = index;
205285
205298
  }
@@ -205343,6 +205356,22 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205343
205356
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
205344
205357
  if (this.isCanSearch) this.searchList(this.input);
205345
205358
  }
205359
+ } // 全选
205360
+
205361
+ }, {
205362
+ key: "allSelect",
205363
+ value: function allSelect() {
205364
+ var _this8 = this;
205365
+
205366
+ this.selectedList = [];
205367
+ this.poperSelectList.forEach(function (v) {
205368
+ v.selected = true;
205369
+
205370
+ _this8.selectedList.push(v);
205371
+
205372
+ _this8.selectedIds.push(v.id);
205373
+ });
205374
+ this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
205346
205375
  } // 取消选中
205347
205376
 
205348
205377
  }, {
@@ -205367,7 +205396,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205367
205396
  }, {
205368
205397
  key: "sureSelect",
205369
205398
  value: function sureSelect() {
205370
- var _this8 = this;
205399
+ var _this9 = this;
205371
205400
 
205372
205401
  var text = "";
205373
205402
  var keyValue = "";
@@ -205431,7 +205460,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205431
205460
  currentPoperNode.text = text;
205432
205461
  currentPoperNode.keyValue = keyValue;
205433
205462
  Object.keys(this.textParam).map(function (v) {
205434
- _this8.textParam[v] = currentPoperNode[v];
205463
+ _this9.textParam[v] = currentPoperNode[v];
205435
205464
  });
205436
205465
 
205437
205466
  if (this.textParam.downListProperty.allowMultiSelected) {
@@ -205444,7 +205473,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205444
205473
 
205445
205474
  if (selected.length === 1 && selected[0].text.indexOf("<元素>") !== -1) {
205446
205475
  setTimeout(function () {
205447
- _this8.handleClose();
205476
+ _this9.handleClose();
205448
205477
  }, 200);
205449
205478
  } else {
205450
205479
  this.handleClose();
@@ -205486,10 +205515,10 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205486
205515
  }, {
205487
205516
  key: "handleClose",
205488
205517
  value: function handleClose() {
205489
- var _this9 = this;
205518
+ var _this10 = this;
205490
205519
 
205491
205520
  this.$nextTick(function () {
205492
- return _this9.$emit("poperClose");
205521
+ return _this10.$emit("poperClose");
205493
205522
  });
205494
205523
  }
205495
205524
  }, {
@@ -205531,10 +205560,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205531
205560
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205532
205561
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205533
205562
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205534
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205563
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5dfdd78c&lang=scss&scoped=true&
205535
205564
  // extracted by mini-css-extract-plugin
205536
205565
 
205537
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205566
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5dfdd78c&lang=scss&scoped=true&
205538
205567
 
205539
205568
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205540
205569
 
@@ -205547,11 +205576,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205547
205576
 
205548
205577
  var PoperSelect_component = normalizeComponent(
205549
205578
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205550
- PoperSelectvue_type_template_id_0c390485_scoped_true_render,
205551
- PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns,
205579
+ PoperSelectvue_type_template_id_5dfdd78c_scoped_true_render,
205580
+ PoperSelectvue_type_template_id_5dfdd78c_scoped_true_staticRenderFns,
205552
205581
  false,
205553
205582
  null,
205554
- "0c390485",
205583
+ "5dfdd78c",
205555
205584
  null
205556
205585
 
205557
205586
  )
@@ -207504,7 +207533,7 @@ var SignNode = __webpack_require__(78975);
207504
207533
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207505
207534
  var ParagraphNode = __webpack_require__(13880);
207506
207535
  ;// CONCATENATED MODULE: ./src/components/version.ts
207507
- /* harmony default export */ var version = ('2.0.72');
207536
+ /* harmony default export */ var version = ('2.0.73');
207508
207537
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
207509
207538
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
207510
207539
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -208220,10 +208249,11 @@ var HoDoc = /*#__PURE__*/function (_Vue) {
208220
208249
  _callback(undefined);
208221
208250
  }
208222
208251
  }
208223
- } else if (node.parentNode instanceof CellNode/* CellNode */.D && node.nodeType !== BaseNode/* NodeType.ntMedicalExpression */.Jq.ntMedicalExpression) {
208252
+ } else if (node.parentNode instanceof CellNode/* CellNode */.D && node.nodeType !== BaseNode/* NodeType.ntMedicalExpression */.Jq.ntMedicalExpression && node.nodeType !== BaseNode/* NodeType.ntImage */.Jq.ntImage) {
208224
208253
  this.handleCellNode(node, node.parentNode, pageIndex); // } else if (node instanceof GestationNode) {
208225
208254
  // this.setDblclickNodeValue(node, 'dblclick');
208226
208255
  } else if (node instanceof ImageNode/* ImageNode */.H) {
208256
+ this.poperType = '';
208227
208257
  this.$emit('dblNodeClick', {
208228
208258
  node: this.getCurrentSelectNode,
208229
208259
  type: 'edit-image'
@@ -208453,8 +208483,8 @@ HoDoc = __decorate([vue_class_component_esm({
208453
208483
 
208454
208484
  var HoDoc_component = normalizeComponent(
208455
208485
  components_HoDocvue_type_script_lang_ts_,
208456
- HoDocvue_type_template_id_658730be_render,
208457
- HoDocvue_type_template_id_658730be_staticRenderFns,
208486
+ HoDocvue_type_template_id_0d9b6522_render,
208487
+ HoDocvue_type_template_id_0d9b6522_staticRenderFns,
208458
208488
  false,
208459
208489
  null,
208460
208490
  null,
@@ -210852,6 +210882,20 @@ var HTMLconverter2 = /*#__PURE__*/function () {
210852
210882
  }, {
210853
210883
  key: "TransHTMLTABLE",
210854
210884
  value: function TransHTMLTABLE(jnode, style) {
210885
+ var pnode = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath);
210886
+
210887
+ if (pnode instanceof TableNode/* TableNode */.Fh || pnode instanceof CellNode/* CellNode */.D) {
210888
+ message_box_default().alert("不能在表格中插入表格");
210889
+
210890
+ return [];
210891
+ }
210892
+
210893
+ if (pnode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
210894
+ message_box_default().alert("不能在文本域中插入表格");
210895
+
210896
+ return [];
210897
+ }
210898
+
210855
210899
  var styleobj = this.mergestyle(jquery_default()(jnode).attr("style") || "", style); //1.取出表格信息
210856
210900
 
210857
210901
  var tconstents = jquery_default()(jnode).children();
@@ -210873,7 +210917,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
210873
210917
  } //2.创建表格节点
210874
210918
 
210875
210919
 
210876
- var pnode = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath);
210877
210920
  var lntable = new TableNode/* TableNode */.Fh(this._hoEditorFactoryID, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.activeNodes, pnode, irow, icol, this.generateTableProperty(jnode)); //3.设置表格属性
210878
210921
 
210879
210922
  this.SetTableProperty(jnode, lntable); //4:生成表格内容
@@ -215251,6 +215294,7 @@ var StagePosition = __webpack_require__(80691);
215251
215294
 
215252
215295
 
215253
215296
 
215297
+
215254
215298
 
215255
215299
 
215256
215300
  var VueController = /*#__PURE__*/function () {
@@ -215355,8 +215399,8 @@ var VueController = /*#__PURE__*/function () {
215355
215399
  aCombineStyle = arrStyles[0].combineStyle;
215356
215400
  }
215357
215401
 
215358
- if (aCombineStyle.font !== firstCombineStyle.font && curTextStyle.font !== "") {
215359
- curTextStyle.font = "";
215402
+ if (aCombineStyle.font !== firstCombineStyle.font && curTextStyle.font !== '') {
215403
+ curTextStyle.font = '';
215360
215404
  }
215361
215405
 
215362
215406
  if (aCombineStyle.size !== firstCombineStyle.size && curTextStyle.size !== 0) {
@@ -215383,12 +215427,12 @@ var VueController = /*#__PURE__*/function () {
215383
215427
  curTextStyle.strikeout = false;
215384
215428
  }
215385
215429
 
215386
- if (aCombineStyle.color !== firstCombineStyle.color && curTextStyle.color !== "") {
215387
- curTextStyle.color = "";
215430
+ if (aCombineStyle.color !== firstCombineStyle.color && curTextStyle.color !== '') {
215431
+ curTextStyle.color = '';
215388
215432
  }
215389
215433
 
215390
- if (aCombineStyle.backColor !== firstCombineStyle.backColor && curTextStyle.backColor !== "") {
215391
- curTextStyle.backColor = "";
215434
+ if (aCombineStyle.backColor !== firstCombineStyle.backColor && curTextStyle.backColor !== '') {
215435
+ curTextStyle.backColor = '';
215392
215436
  }
215393
215437
 
215394
215438
  if (aCombineStyle.creatorIndex !== firstCombineStyle.creatorIndex && curTextStyle.creatorIndex !== -1) {
@@ -215399,8 +215443,8 @@ var VueController = /*#__PURE__*/function () {
215399
215443
  curTextStyle.deleterIndex = -1;
215400
215444
  }
215401
215445
 
215402
- if (aCombineStyle.commentID !== firstCombineStyle.commentID && curTextStyle.commentID !== "0") {
215403
- curTextStyle.commentID = "0";
215446
+ if (aCombineStyle.commentID !== firstCombineStyle.commentID && curTextStyle.commentID !== '0') {
215447
+ curTextStyle.commentID = '0';
215404
215448
  }
215405
215449
  }
215406
215450
  }
@@ -215490,7 +215534,7 @@ var VueController = /*#__PURE__*/function () {
215490
215534
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontFormat */.y.fontFormat);
215491
215535
 
215492
215536
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215493
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontFormat", _curDomRange, fontName);
215537
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontFormat', _curDomRange, fontName);
215494
215538
  }
215495
215539
  }
215496
215540
  /**
@@ -215532,7 +215576,7 @@ var VueController = /*#__PURE__*/function () {
215532
215576
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSize */.y.fontSize);
215533
215577
 
215534
215578
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215535
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontSize", _curDomRange, size.toString());
215579
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontSize', _curDomRange, size.toString());
215536
215580
  }
215537
215581
  }
215538
215582
  /**
@@ -215551,7 +215595,7 @@ var VueController = /*#__PURE__*/function () {
215551
215595
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSizeEnlarge */.y.fontSizeEnlarge);
215552
215596
 
215553
215597
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215554
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange("fontSizeEnlarge", _curDomRange);
215598
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange('fontSizeEnlarge', _curDomRange);
215555
215599
  }
215556
215600
  }
215557
215601
  /**
@@ -215570,7 +215614,7 @@ var VueController = /*#__PURE__*/function () {
215570
215614
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSizeDecrease */.y.fontSizeDecrease);
215571
215615
 
215572
215616
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215573
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange("fontSizeDecrease", _curDomRange);
215617
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange('fontSizeDecrease', _curDomRange);
215574
215618
  }
215575
215619
  }
215576
215620
  /**
@@ -215590,7 +215634,7 @@ var VueController = /*#__PURE__*/function () {
215590
215634
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSuperScript */.y.fontSuperScript);
215591
215635
 
215592
215636
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215593
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontSuperScript", _curDomRange, isHaveScript);
215637
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontSuperScript', _curDomRange, isHaveScript);
215594
215638
  }
215595
215639
  }
215596
215640
  /**
@@ -215610,7 +215654,7 @@ var VueController = /*#__PURE__*/function () {
215610
215654
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSubScript */.y.fontSubScript);
215611
215655
 
215612
215656
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215613
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontSubScript", _curDomRange, isHaveScript);
215657
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontSubScript', _curDomRange, isHaveScript);
215614
215658
  }
215615
215659
  }
215616
215660
  /**
@@ -215630,7 +215674,7 @@ var VueController = /*#__PURE__*/function () {
215630
215674
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontBold */.y.fontBold);
215631
215675
 
215632
215676
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215633
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontBold", _curDomRange, isHaveBold);
215677
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontBold', _curDomRange, isHaveBold);
215634
215678
  }
215635
215679
  }
215636
215680
  /**
@@ -215650,7 +215694,7 @@ var VueController = /*#__PURE__*/function () {
215650
215694
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontItalic */.y.fontItalic);
215651
215695
 
215652
215696
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215653
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontItalic", _curDomRange, isHaveItalic);
215697
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontItalic', _curDomRange, isHaveItalic);
215654
215698
  }
215655
215699
  }
215656
215700
  /**
@@ -215670,7 +215714,7 @@ var VueController = /*#__PURE__*/function () {
215670
215714
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontUnderline */.y.fontUnderline);
215671
215715
 
215672
215716
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215673
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontUnderline", _curDomRange, isHaveUnderline);
215717
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontUnderline', _curDomRange, isHaveUnderline);
215674
215718
  }
215675
215719
  }
215676
215720
  /**
@@ -215690,7 +215734,7 @@ var VueController = /*#__PURE__*/function () {
215690
215734
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontStrikeout */.y.fontStrikeout);
215691
215735
 
215692
215736
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215693
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontStrikeout", _curDomRange, isHaveStrikeout);
215737
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontStrikeout', _curDomRange, isHaveStrikeout);
215694
215738
  }
215695
215739
  }
215696
215740
  /**
@@ -215710,7 +215754,7 @@ var VueController = /*#__PURE__*/function () {
215710
215754
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontColor */.y.fontColor);
215711
215755
 
215712
215756
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215713
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontColor", _curDomRange, fontcolor);
215757
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontColor', _curDomRange, fontcolor);
215714
215758
  }
215715
215759
  }
215716
215760
  /**
@@ -215730,7 +215774,7 @@ var VueController = /*#__PURE__*/function () {
215730
215774
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontBackColor */.y.fontBackColor);
215731
215775
 
215732
215776
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215733
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontBackColor", _curDomRange, backColor);
215777
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontBackColor', _curDomRange, backColor);
215734
215778
  }
215735
215779
  } //----------------------------段落---------------------------------
215736
215780
 
@@ -215750,7 +215794,7 @@ var VueController = /*#__PURE__*/function () {
215750
215794
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedLeft */.y.alignedLeft);
215751
215795
 
215752
215796
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215753
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedLeft", _curDomRange);
215797
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedLeft', _curDomRange);
215754
215798
  }
215755
215799
  }
215756
215800
  /**
@@ -215769,7 +215813,7 @@ var VueController = /*#__PURE__*/function () {
215769
215813
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedCenter */.y.alignedCenter);
215770
215814
 
215771
215815
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215772
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedCenter", _curDomRange);
215816
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedCenter', _curDomRange);
215773
215817
  }
215774
215818
  }
215775
215819
  /**
@@ -215788,7 +215832,7 @@ var VueController = /*#__PURE__*/function () {
215788
215832
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedRight */.y.alignedRight);
215789
215833
 
215790
215834
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215791
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedRight", _curDomRange);
215835
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedRight', _curDomRange);
215792
215836
  }
215793
215837
  }
215794
215838
  /**
@@ -215807,7 +215851,7 @@ var VueController = /*#__PURE__*/function () {
215807
215851
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedBothEnds */.y.alignedBothEnds);
215808
215852
 
215809
215853
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215810
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedBothEnds", _curDomRange);
215854
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedBothEnds', _curDomRange);
215811
215855
  }
215812
215856
  }
215813
215857
  /**
@@ -215826,7 +215870,7 @@ var VueController = /*#__PURE__*/function () {
215826
215870
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.addIndent */.y.addIndent);
215827
215871
 
215828
215872
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215829
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("addIndent", _curDomRange);
215873
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('addIndent', _curDomRange);
215830
215874
  }
215831
215875
  }
215832
215876
  /**
@@ -215845,7 +215889,7 @@ var VueController = /*#__PURE__*/function () {
215845
215889
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.decreaseIndent */.y.decreaseIndent);
215846
215890
 
215847
215891
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215848
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("decreaseIndent", _curDomRange);
215892
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('decreaseIndent', _curDomRange);
215849
215893
  }
215850
215894
  }
215851
215895
  /**
@@ -215865,7 +215909,7 @@ var VueController = /*#__PURE__*/function () {
215865
215909
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.setLineHeight */.y.setLineHeight);
215866
215910
 
215867
215911
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215868
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("lineHeight", _curDomRange, lineHeight);
215912
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('lineHeight', _curDomRange, lineHeight);
215869
215913
  }
215870
215914
  } //----------------------------表格---------------------------------
215871
215915
 
@@ -216164,7 +216208,7 @@ var VueController = /*#__PURE__*/function () {
216164
216208
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216165
216209
 
216166
216210
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216167
- hoEditorFactory.docController.insertMenstrualHistory("add", _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216211
+ hoEditorFactory.docController.insertMenstrualHistory('add', _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216168
216212
  }
216169
216213
  }
216170
216214
  }
@@ -216189,7 +216233,7 @@ var VueController = /*#__PURE__*/function () {
216189
216233
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216190
216234
 
216191
216235
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216192
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertMenstrualHistory("update", _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216236
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertMenstrualHistory('update', _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216193
216237
  }
216194
216238
  }
216195
216239
  /**
@@ -216219,7 +216263,7 @@ var VueController = /*#__PURE__*/function () {
216219
216263
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216220
216264
 
216221
216265
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216222
- hoEditorFactory.docController.insertPupilMap("add", _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216266
+ hoEditorFactory.docController.insertPupilMap('add', _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216223
216267
  }
216224
216268
  }
216225
216269
  }
@@ -216246,7 +216290,7 @@ var VueController = /*#__PURE__*/function () {
216246
216290
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216247
216291
 
216248
216292
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216249
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertPupilMap("update", _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216293
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertPupilMap('update', _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216250
216294
  }
216251
216295
  }
216252
216296
  /**
@@ -216278,7 +216322,7 @@ var VueController = /*#__PURE__*/function () {
216278
216322
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216279
216323
 
216280
216324
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216281
- hoEditorFactory.docController.insertLightLocation("add", _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216325
+ hoEditorFactory.docController.insertLightLocation('add', _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216282
216326
  }
216283
216327
  }
216284
216328
  }
@@ -216307,7 +216351,7 @@ var VueController = /*#__PURE__*/function () {
216307
216351
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216308
216352
 
216309
216353
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216310
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertLightLocation("update", _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216354
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertLightLocation('update', _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216311
216355
  }
216312
216356
  }
216313
216357
  /**
@@ -216336,7 +216380,7 @@ var VueController = /*#__PURE__*/function () {
216336
216380
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216337
216381
 
216338
216382
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216339
- hoEditorFactory.docController.insertFetalHeartMap("add", _curDomRange, value1, value2, value3, value4, value5, value6);
216383
+ hoEditorFactory.docController.insertFetalHeartMap('add', _curDomRange, value1, value2, value3, value4, value5, value6);
216340
216384
  }
216341
216385
  }
216342
216386
  }
@@ -216362,7 +216406,7 @@ var VueController = /*#__PURE__*/function () {
216362
216406
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216363
216407
 
216364
216408
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216365
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertFetalHeartMap("update", _curDomRange, value1, value2, value3, value4, value5, value6);
216409
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertFetalHeartMap('update', _curDomRange, value1, value2, value3, value4, value5, value6);
216366
216410
  }
216367
216411
  }
216368
216412
  /**
@@ -216389,7 +216433,7 @@ var VueController = /*#__PURE__*/function () {
216389
216433
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216390
216434
 
216391
216435
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216392
- hoEditorFactory.docController.insertPermanentTeethMap("add", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216436
+ hoEditorFactory.docController.insertPermanentTeethMap('add', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216393
216437
  }
216394
216438
  }
216395
216439
  }
@@ -216414,7 +216458,7 @@ var VueController = /*#__PURE__*/function () {
216414
216458
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216415
216459
 
216416
216460
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216417
- hoEditorFactory.docController.insertPermanentTeethMap("update", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216461
+ hoEditorFactory.docController.insertPermanentTeethMap('update', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216418
216462
  }
216419
216463
  }
216420
216464
  /**
@@ -216441,7 +216485,7 @@ var VueController = /*#__PURE__*/function () {
216441
216485
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216442
216486
 
216443
216487
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216444
- hoEditorFactory.docController.insertPrimaryTeethMap("add", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216488
+ hoEditorFactory.docController.insertPrimaryTeethMap('add', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216445
216489
  }
216446
216490
  }
216447
216491
  }
@@ -216466,7 +216510,7 @@ var VueController = /*#__PURE__*/function () {
216466
216510
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216467
216511
 
216468
216512
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216469
- hoEditorFactory.docController.insertPrimaryTeethMap("update", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216513
+ hoEditorFactory.docController.insertPrimaryTeethMap('update', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216470
216514
  }
216471
216515
  }
216472
216516
  /**
@@ -216525,7 +216569,7 @@ var VueController = /*#__PURE__*/function () {
216525
216569
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertTextInputField */.y.insertTextInputField);
216526
216570
 
216527
216571
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216528
- var path = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField("add", _curDomRange, valuesObject);
216572
+ var path = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField('add', _curDomRange, valuesObject);
216529
216573
  return path;
216530
216574
  }
216531
216575
 
@@ -216585,7 +216629,7 @@ var VueController = /*#__PURE__*/function () {
216585
216629
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateTextInputField */.y.updateTextInputField);
216586
216630
 
216587
216631
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216588
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField("update", _curDomRange, valuesObject);
216632
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField('update', _curDomRange, valuesObject);
216589
216633
  }
216590
216634
  }
216591
216635
  /**
@@ -216637,7 +216681,7 @@ var VueController = /*#__PURE__*/function () {
216637
216681
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertBarcode */.y.insertBarcode);
216638
216682
 
216639
216683
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216640
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode("add", _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216684
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode('add', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216641
216685
  }
216642
216686
  }
216643
216687
  /**
@@ -216662,7 +216706,7 @@ var VueController = /*#__PURE__*/function () {
216662
216706
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateBarcode */.y.updateBarcode);
216663
216707
 
216664
216708
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216665
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode("update", _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216709
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode('update', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216666
216710
  }
216667
216711
  }
216668
216712
  /**
@@ -216695,7 +216739,7 @@ var VueController = /*#__PURE__*/function () {
216695
216739
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertQrcode */.y.insertQrcode);
216696
216740
 
216697
216741
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216698
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode("add", _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216742
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('add', _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216699
216743
  }
216700
216744
  }
216701
216745
  /**
@@ -216727,7 +216771,7 @@ var VueController = /*#__PURE__*/function () {
216727
216771
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateQrcode */.y.updateQrcode);
216728
216772
 
216729
216773
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216730
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode("update", _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216774
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('update', _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216731
216775
  }
216732
216776
  }
216733
216777
  /**
@@ -216762,7 +216806,7 @@ var VueController = /*#__PURE__*/function () {
216762
216806
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertRadioAndCheckBox */.y.insertRadioAndCheckBox);
216763
216807
 
216764
216808
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216765
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox("add", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216809
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox('add', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216766
216810
  }
216767
216811
  }
216768
216812
  /**
@@ -216796,7 +216840,7 @@ var VueController = /*#__PURE__*/function () {
216796
216840
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateRadioAndCheckBox */.y.updateRadioAndCheckBox);
216797
216841
 
216798
216842
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216799
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox("update", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216843
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox('update', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216800
216844
  }
216801
216845
  }
216802
216846
  /**
@@ -216860,7 +216904,7 @@ var VueController = /*#__PURE__*/function () {
216860
216904
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertDateTime */.y.insertDateTime);
216861
216905
 
216862
216906
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216863
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime("add", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216907
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime('add', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216864
216908
  }
216865
216909
  }
216866
216910
  /**
@@ -216891,7 +216935,7 @@ var VueController = /*#__PURE__*/function () {
216891
216935
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateDateTime */.y.updateDateTime);
216892
216936
 
216893
216937
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216894
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime("update", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216938
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime('update', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216895
216939
  }
216896
216940
  }
216897
216941
  /**
@@ -216925,7 +216969,7 @@ var VueController = /*#__PURE__*/function () {
216925
216969
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertDownList */.y.insertDownList);
216926
216970
 
216927
216971
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216928
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList("add", _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216972
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList('add', _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216929
216973
  }
216930
216974
  }
216931
216975
  /**
@@ -216958,7 +217002,7 @@ var VueController = /*#__PURE__*/function () {
216958
217002
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateDownList */.y.updateDownList);
216959
217003
 
216960
217004
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216961
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList("update", _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
217005
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList('update', _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216962
217006
  }
216963
217007
  }
216964
217008
  /**
@@ -217020,7 +217064,7 @@ var VueController = /*#__PURE__*/function () {
217020
217064
  value: function openLocalFilesTest(file, callback) {
217021
217065
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
217022
217066
  hoEditorFactory.docController.initBlankDoc();
217023
- hoEditorFactory.structureConvert.openFile(file, callback, "test");
217067
+ hoEditorFactory.structureConvert.openFile(file, callback, 'test');
217024
217068
  }
217025
217069
  }, {
217026
217070
  key: "uploadDataSet",
@@ -217065,29 +217109,29 @@ var VueController = /*#__PURE__*/function () {
217065
217109
  this.setDocCommentIsHandle();
217066
217110
 
217067
217111
  if (hoEditorFactory.docTree.changing(changingEvent)) {
217068
- var ret = "";
217112
+ var ret = '';
217069
217113
 
217070
- if (type === "xml") {
217071
- ret = hoEditorFactory.structureConvert.doc2Xml("xml", undefined, true);
217114
+ if (type === 'xml') {
217115
+ ret = hoEditorFactory.structureConvert.doc2Xml('xml', undefined, true);
217072
217116
  }
217073
217117
 
217074
- if (type === "plain") {
217118
+ if (type === 'plain') {
217075
217119
  ret = hoEditorFactory.structureConvert.doc2Text();
217076
217120
  }
217077
217121
 
217078
- if (type === "html") {
217079
- this.saveAsPDF("", "html"); // ret = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Html();
217122
+ if (type === 'html') {
217123
+ this.saveAsPDF('', 'html'); // ret = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Html();
217080
217124
  }
217081
217125
 
217082
- if (type === "json") {
217083
- ret = hoEditorFactory.structureConvert.doc2Xml("json", undefined, true);
217126
+ if (type === 'json') {
217127
+ ret = hoEditorFactory.structureConvert.doc2Xml('json', undefined, true);
217084
217128
  ret = pretty_data.pd.json(ret);
217085
217129
  }
217086
217130
 
217087
217131
  return ret;
217088
217132
  }
217089
217133
 
217090
- return "";
217134
+ return '';
217091
217135
  }
217092
217136
  /**
217093
217137
  * 文档标题
@@ -217133,7 +217177,7 @@ var VueController = /*#__PURE__*/function () {
217133
217177
  }, {
217134
217178
  key: "getDocXml",
217135
217179
  value: function getDocXml(beauty, isValidStyle, clearSign) {
217136
- var ret = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Xml("xml", beauty, isValidStyle, clearSign);
217180
+ var ret = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Xml('xml', beauty, isValidStyle, clearSign);
217137
217181
  return ret;
217138
217182
  }
217139
217183
  /**
@@ -217292,11 +217336,11 @@ var VueController = /*#__PURE__*/function () {
217292
217336
  value: function newFile(type) {
217293
217337
  var hoeditfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
217294
217338
 
217295
- if (type === "caseHistory") {
217339
+ if (type === 'caseHistory') {
217296
217340
  hoeditfactory.docTree.docProperty.type = DocTree/* EmrType.etCaseHistory */.Fr.etCaseHistory;
217297
217341
  }
217298
217342
 
217299
- if (type === "form") {
217343
+ if (type === 'form') {
217300
217344
  hoeditfactory.docTree.docProperty.type = DocTree/* EmrType.etForm */.Fr.etForm;
217301
217345
  }
217302
217346
 
@@ -217449,7 +217493,7 @@ var VueController = /*#__PURE__*/function () {
217449
217493
  var drawPage = hoEditorFactory.drawTree.drawPages[i];
217450
217494
 
217451
217495
  for (var j = 0; j < drawPage.selectContainer.children.length; j++) {
217452
- if (drawPage.selectContainer.children[j].name && drawPage.selectContainer.children[j].name.indexOf("mask") >= 0) {
217496
+ if (drawPage.selectContainer.children[j].name && drawPage.selectContainer.children[j].name.indexOf('mask') >= 0) {
217453
217497
  drawPage.selectContainer.children.splice(j, 1);
217454
217498
  }
217455
217499
  }
@@ -217471,22 +217515,22 @@ var VueController = /*#__PURE__*/function () {
217471
217515
  var selectContainer = drawPage.selectContainer;
217472
217516
 
217473
217517
  for (var k = 0; k < selectContainer.children.length; k++) {
217474
- if (selectContainer.children[k].name && selectContainer.children[k].name.indexOf("mask") >= 0) {
217518
+ if (selectContainer.children[k].name && selectContainer.children[k].name.indexOf('mask') >= 0) {
217475
217519
  selectContainer.children.splice(k, 1);
217476
217520
  }
217477
217521
  }
217478
217522
 
217479
217523
  var mask = new createjs.Shape();
217480
217524
  mask.graphics.clear();
217481
- mask.graphics.beginFill("#000000").drawRect(0, 0, pageWidth, height).closePath();
217525
+ mask.graphics.beginFill('#000000').drawRect(0, 0, pageWidth, height).closePath();
217482
217526
  mask.x = 0;
217483
217527
  mask.y = 0;
217484
217528
  mask.alpha = 0.1;
217485
217529
 
217486
217530
  if (height < pageHeight) {
217487
- mask.name = "mask0";
217531
+ mask.name = 'mask0';
217488
217532
  } else {
217489
- mask.name = "mask" + (index + 1).toString();
217533
+ mask.name = 'mask' + (index + 1).toString();
217490
217534
  }
217491
217535
 
217492
217536
  selectContainer.addChild(mask); //selectContainer.stage.update();
@@ -217606,7 +217650,7 @@ var VueController = /*#__PURE__*/function () {
217606
217650
  if (np) {
217607
217651
  return np;
217608
217652
  } else {
217609
- message_box_default().alert("根据路径" + path + "未找到文档节点");
217653
+ message_box_default().alert('根据路径' + path + '未找到文档节点');
217610
217654
  }
217611
217655
  }
217612
217656
  /**
@@ -217671,7 +217715,7 @@ var VueController = /*#__PURE__*/function () {
217671
217715
  key: "deleteText",
217672
217716
  value: function deleteText() {
217673
217717
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
217674
- hoEditorFactory.docController.keyBoardDelete("Backspace");
217718
+ hoEditorFactory.docController.keyBoardDelete('Backspace');
217675
217719
  }
217676
217720
  /**
217677
217721
  * 获取文本样式表
@@ -217833,7 +217877,7 @@ var VueController = /*#__PURE__*/function () {
217833
217877
  }
217834
217878
  };
217835
217879
 
217836
- if (scope === "header") {
217880
+ if (scope === 'header') {
217837
217881
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
217838
217882
 
217839
217883
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -217843,12 +217887,12 @@ var VueController = /*#__PURE__*/function () {
217843
217887
  }
217844
217888
  }
217845
217889
 
217846
- if (scope === "main") {
217890
+ if (scope === 'main') {
217847
217891
  var mainNodes = hoEditorFactory.docTree.mainNodes;
217848
217892
  iteratesNodes(mainNodes);
217849
217893
  }
217850
217894
 
217851
- if (scope === "footer") {
217895
+ if (scope === 'footer') {
217852
217896
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
217853
217897
 
217854
217898
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -217858,7 +217902,7 @@ var VueController = /*#__PURE__*/function () {
217858
217902
  }
217859
217903
  }
217860
217904
 
217861
- if (scope === "all") {
217905
+ if (scope === 'all') {
217862
217906
  var _headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
217863
217907
 
217864
217908
  for (var _h = 0; _h < _headerDocTree.length; _h++) {
@@ -217914,7 +217958,7 @@ var VueController = /*#__PURE__*/function () {
217914
217958
  }
217915
217959
  };
217916
217960
 
217917
- if (scope === "header") {
217961
+ if (scope === 'header') {
217918
217962
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
217919
217963
 
217920
217964
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -217924,12 +217968,12 @@ var VueController = /*#__PURE__*/function () {
217924
217968
  }
217925
217969
  }
217926
217970
 
217927
- if (scope === "main") {
217971
+ if (scope === 'main') {
217928
217972
  var mainNodes = hoEditorFactory.docTree.mainNodes;
217929
217973
  iteratesNodes(mainNodes);
217930
217974
  }
217931
217975
 
217932
- if (scope === "footer") {
217976
+ if (scope === 'footer') {
217933
217977
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
217934
217978
 
217935
217979
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -217939,7 +217983,7 @@ var VueController = /*#__PURE__*/function () {
217939
217983
  }
217940
217984
  }
217941
217985
 
217942
- if (scope === "all") {
217986
+ if (scope === 'all') {
217943
217987
  var _headerDocTree2 = hoEditorFactory.subDocManger.headerDocTree;
217944
217988
 
217945
217989
  for (var _h2 = 0; _h2 < _headerDocTree2.length; _h2++) {
@@ -217999,7 +218043,7 @@ var VueController = /*#__PURE__*/function () {
217999
218043
  }
218000
218044
  };
218001
218045
 
218002
- if (scope === "header") {
218046
+ if (scope === 'header') {
218003
218047
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
218004
218048
 
218005
218049
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -218011,12 +218055,12 @@ var VueController = /*#__PURE__*/function () {
218011
218055
  }
218012
218056
  }
218013
218057
 
218014
- if (scope === "main") {
218058
+ if (scope === 'main') {
218015
218059
  var mainNodes = hoEditorFactory.docTree.mainNodes;
218016
218060
  iteratesNodes(mainNodes);
218017
218061
  }
218018
218062
 
218019
- if (scope === "footer") {
218063
+ if (scope === 'footer') {
218020
218064
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
218021
218065
 
218022
218066
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -218028,7 +218072,7 @@ var VueController = /*#__PURE__*/function () {
218028
218072
  }
218029
218073
  }
218030
218074
 
218031
- if (scope === "all") {
218075
+ if (scope === 'all') {
218032
218076
  var _headerDocTree3 = hoEditorFactory.subDocManger.headerDocTree;
218033
218077
 
218034
218078
  for (var _h3 = 0; _h3 < _headerDocTree3.length; _h3++) {
@@ -218092,7 +218136,7 @@ var VueController = /*#__PURE__*/function () {
218092
218136
  }
218093
218137
  };
218094
218138
 
218095
- if (scope === "header") {
218139
+ if (scope === 'header') {
218096
218140
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
218097
218141
 
218098
218142
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -218104,12 +218148,12 @@ var VueController = /*#__PURE__*/function () {
218104
218148
  }
218105
218149
  }
218106
218150
 
218107
- if (scope === "main") {
218151
+ if (scope === 'main') {
218108
218152
  var mainNodes = hoEditorFactory.docTree.mainNodes;
218109
218153
  iteratesNodes(mainNodes);
218110
218154
  }
218111
218155
 
218112
- if (scope === "footer") {
218156
+ if (scope === 'footer') {
218113
218157
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
218114
218158
 
218115
218159
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -218121,7 +218165,7 @@ var VueController = /*#__PURE__*/function () {
218121
218165
  }
218122
218166
  }
218123
218167
 
218124
- if (scope === "all") {
218168
+ if (scope === 'all') {
218125
218169
  var _headerDocTree4 = hoEditorFactory.subDocManger.headerDocTree;
218126
218170
 
218127
218171
  for (var _h4 = 0; _h4 < _headerDocTree4.length; _h4++) {
@@ -218270,7 +218314,7 @@ var VueController = /*#__PURE__*/function () {
218270
218314
  var styles = json.root.styles; //获取xml的所有文本样式
218271
218315
 
218272
218316
  var defaultFontStyles = Array(styles.defaultFont);
218273
- var textStyles = hoEditorFactory.structureConvert.getDocStyles("font", defaultFontStyles);
218317
+ var textStyles = hoEditorFactory.structureConvert.getDocStyles('font', defaultFontStyles);
218274
218318
  var fontStyles = styles.font ? styles.font : styles.fontStyle;
218275
218319
 
218276
218320
  if (fontStyles) {
@@ -218286,13 +218330,13 @@ var VueController = /*#__PURE__*/function () {
218286
218330
  }
218287
218331
  }
218288
218332
 
218289
- var fontStylesArr = hoEditorFactory.structureConvert.getDocStyles("font", fontStyles);
218333
+ var fontStylesArr = hoEditorFactory.structureConvert.getDocStyles('font', fontStyles);
218290
218334
  textStyles = textStyles.concat(fontStylesArr);
218291
218335
  } //获取xml的所有段落样式
218292
218336
 
218293
218337
 
218294
218338
  var defaultParaStyles = Array(styles.defaultPara);
218295
- var parasStyles = hoEditorFactory.structureConvert.getDocStyles("para", defaultParaStyles);
218339
+ var parasStyles = hoEditorFactory.structureConvert.getDocStyles('para', defaultParaStyles);
218296
218340
  var paraStyles = styles.para ? styles.para : styles.paraStyle;
218297
218341
 
218298
218342
  if (paraStyles) {
@@ -218300,7 +218344,7 @@ var VueController = /*#__PURE__*/function () {
218300
218344
  paraStyles = Array(paraStyles);
218301
218345
  }
218302
218346
 
218303
- var paraStylesArr = hoEditorFactory.structureConvert.getDocStyles("para", paraStyles);
218347
+ var paraStylesArr = hoEditorFactory.structureConvert.getDocStyles('para', paraStyles);
218304
218348
  parasStyles = parasStyles.concat(paraStylesArr);
218305
218349
  } //更新xml各节点在当前文档的样式索引
218306
218350
 
@@ -218309,13 +218353,13 @@ var VueController = /*#__PURE__*/function () {
218309
218353
  for (var _i2 = 0; _i2 < nodes.length; _i2++) {
218310
218354
  var node = nodes[_i2];
218311
218355
 
218312
- if (node.nodeType === "ntField" || node.nodeType === "ntCell") {
218356
+ if (node.nodeType === 'ntField' || node.nodeType === 'ntCell') {
218313
218357
  if (node.childNodes && node.childNodes.node && node.childNodes.node.length > 0) {
218314
218358
  iteratesNode(node.childNodes.node);
218315
218359
  }
218316
218360
  }
218317
218361
 
218318
- if (node.nodeType === "ntTable") {
218362
+ if (node.nodeType === 'ntTable') {
218319
218363
  if (node.childNodes && node.childNodes.item) {
218320
218364
  var items = node.childNodes.item;
218321
218365
 
@@ -218342,7 +218386,7 @@ var VueController = /*#__PURE__*/function () {
218342
218386
  if (node.styleIndex) {
218343
218387
  var styleIndex = Number(node.styleIndex);
218344
218388
 
218345
- if (node.nodeType === "ntParagraph") {
218389
+ if (node.nodeType === 'ntParagraph') {
218346
218390
  //段落样式
218347
218391
  var paragraph = parasStyles[styleIndex];
218348
218392
  node.styleIndex = hoEditorFactory.docTree.styleCompare(paragraph);
@@ -218360,7 +218404,7 @@ var VueController = /*#__PURE__*/function () {
218360
218404
  return nodes;
218361
218405
  };
218362
218406
 
218363
- if (area === "header") {
218407
+ if (area === 'header') {
218364
218408
  var headersArray = json.root.headers.header;
218365
218409
 
218366
218410
  if (headersArray.length === undefined) {
@@ -218376,7 +218420,7 @@ var VueController = /*#__PURE__*/function () {
218376
218420
 
218377
218421
  iteratesNode(headerNodes);
218378
218422
  return [headerNodes, docId];
218379
- } else if (area === "footer") {
218423
+ } else if (area === 'footer') {
218380
218424
  var footersArray = json.root.footers.footer;
218381
218425
 
218382
218426
  if (footersArray.length === undefined) {
@@ -218446,29 +218490,29 @@ var VueController = /*#__PURE__*/function () {
218446
218490
  var jsonData = JSON.stringify(areaNodes[0]);
218447
218491
  var docId = areaNodes[1];
218448
218492
  var pageCount = hoEditorFactory.drawTree.drawPages.length;
218449
- var rootPath = "main";
218493
+ var rootPath = 'main';
218450
218494
 
218451
- if (area === "header") {
218452
- rootPath = "header/" + hoEditorFactory.subDocManger.headerDocTree.length.toString();
218495
+ if (area === 'header') {
218496
+ rootPath = 'header/' + hoEditorFactory.subDocManger.headerDocTree.length.toString();
218453
218497
  }
218454
218498
 
218455
- if (area === "footer") {
218456
- rootPath = "footer/" + hoEditorFactory.subDocManger.footerDocTree.length.toString();
218499
+ if (area === 'footer') {
218500
+ rootPath = 'footer/' + hoEditorFactory.subDocManger.footerDocTree.length.toString();
218457
218501
  }
218458
218502
 
218459
218503
  var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData, rootPath, isNewPage);
218460
218504
 
218461
- if (isDelBlockLine && area === "main" && nodes.length > 1 && nodes[nodes.length - 1] instanceof ParagraphNode/* ParagraphNode */.C && !(nodes[nodes.length - 2] instanceof TableNode/* TableNode */.Fh)) {
218505
+ if (isDelBlockLine && area === 'main' && nodes.length > 1 && nodes[nodes.length - 1] instanceof ParagraphNode/* ParagraphNode */.C && !(nodes[nodes.length - 2] instanceof TableNode/* TableNode */.Fh)) {
218462
218506
  nodes.splice(nodes.length - 1, 1);
218463
218507
  } //console.log(nodes);
218464
218508
 
218465
218509
 
218466
- if (area !== "main") {
218510
+ if (area !== 'main') {
218467
218511
  var arrNodes = new Array();
218468
218512
 
218469
- if (area === "header") {
218513
+ if (area === 'header') {
218470
218514
  var headerIndex = hoEditorFactory.subDocManger.headerDocTree.length;
218471
- var arootPath = "header/" + headerIndex.toString();
218515
+ var arootPath = 'header/' + headerIndex.toString();
218472
218516
  var dHeader = new DrawHeader/* DrawHeader */.g(this._hoEditorFactoryID, arootPath, pageCount);
218473
218517
  hoEditorFactory.drawPageTree.drawHeaders.push(dHeader);
218474
218518
  hoEditorFactory.drawTree.headerDNodes.push(new Array());
@@ -218476,11 +218520,11 @@ var VueController = /*#__PURE__*/function () {
218476
218520
  arrNodes.push(paragraphNode);
218477
218521
  paragraphNode.rootPath = arootPath; //paragraphNode.rootNodes = arrNodes;
218478
218522
 
218479
- var newHeader = new SubDocManger/* SubDocTree */.UJ(pageCount, "");
218523
+ var newHeader = new SubDocManger/* SubDocTree */.UJ(pageCount, '');
218480
218524
  newHeader.subDocNodes = arrNodes;
218481
218525
  hoEditorFactory.subDocManger.headerDocTree.push(newHeader);
218482
218526
  hoEditorFactory.drawTree.initAreaFirstNode(arrNodes, hoEditorFactory.drawTree.headerDNodes[headerIndex]);
218483
- hoEditorFactory.docTree.curDomRange.setSamePath(arootPath + "/0");
218527
+ hoEditorFactory.docTree.curDomRange.setSamePath(arootPath + '/0');
218484
218528
 
218485
218529
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
218486
218530
  newHeader.subDocNodes[0].paraNo = nodes[0].paraNo;
@@ -218489,11 +218533,11 @@ var VueController = /*#__PURE__*/function () {
218489
218533
  }
218490
218534
 
218491
218535
  hoEditorFactory.docController.parseNodeData(nodes);
218492
- } else if (area === "footer") {
218536
+ } else if (area === 'footer') {
218493
218537
  //hoEditorFactory.docTree.footerNodes[pageCount] = nodes;
218494
218538
  var footerIndex = hoEditorFactory.subDocManger.footerDocTree.length;
218495
218539
 
218496
- var _arootPath = "footer/" + footerIndex.toString();
218540
+ var _arootPath = 'footer/' + footerIndex.toString();
218497
218541
 
218498
218542
  var dFooter = new DrawFooter/* DrawFooter */.d(this._hoEditorFactoryID, _arootPath, pageCount);
218499
218543
  hoEditorFactory.drawPageTree.drawFooters.push(dFooter);
@@ -218504,11 +218548,11 @@ var VueController = /*#__PURE__*/function () {
218504
218548
  arrNodes.push(_paragraphNode);
218505
218549
  _paragraphNode.rootPath = _arootPath; //paragraphNode.rootNodes = arrNodes;
218506
218550
 
218507
- var newFooter = new SubDocManger/* SubDocTree */.UJ(pageCount, "");
218551
+ var newFooter = new SubDocManger/* SubDocTree */.UJ(pageCount, '');
218508
218552
  newFooter.subDocNodes = arrNodes;
218509
218553
  hoEditorFactory.subDocManger.footerDocTree.push(newFooter);
218510
218554
  hoEditorFactory.drawTree.initAreaFirstNode(arrNodes, hoEditorFactory.drawTree.footerDNodes[footerIndex]);
218511
- hoEditorFactory.docTree.curDomRange.setSamePath(rootPath + "/0");
218555
+ hoEditorFactory.docTree.curDomRange.setSamePath(rootPath + '/0');
218512
218556
 
218513
218557
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
218514
218558
  newFooter.subDocNodes[0].paraNo = nodes[0].paraNo;
@@ -218541,7 +218585,7 @@ var VueController = /*#__PURE__*/function () {
218541
218585
  var nodePath = hoEditorFactory.docTree.getNodeLastPath(mainNodes[mainNodes.length - 1]);
218542
218586
 
218543
218587
  if (!printAsSinglePage && hoEditorFactory.docTree.mainNodes.length === 1) {
218544
- hoEditorFactory.docTree.mainNodes[0].docId = docId && docId !== "" ? docId : hoEditorFactory.gernerateCode.generateID("DocId");
218588
+ hoEditorFactory.docTree.mainNodes[0].docId = docId && docId !== '' ? docId : hoEditorFactory.gernerateCode.generateID('DocId');
218545
218589
 
218546
218590
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
218547
218591
  hoEditorFactory.docTree.mainNodes[0].paraNo = nodes[0].paraNo;
@@ -218552,7 +218596,7 @@ var VueController = /*#__PURE__*/function () {
218552
218596
 
218553
218597
  if (printAsSinglePage) {
218554
218598
  nodes[0].printAsSinglePage = printAsSinglePage;
218555
- nodes[0].docId = docId && docId !== "" ? docId : hoEditorFactory.gernerateCode.generateID("DocId");
218599
+ nodes[0].docId = docId && docId !== '' ? docId : hoEditorFactory.gernerateCode.generateID('DocId');
218556
218600
  }
218557
218601
 
218558
218602
  hoEditorFactory.docTree.curDomRange.setSamePath(nodePath);
@@ -218574,11 +218618,11 @@ var VueController = /*#__PURE__*/function () {
218574
218618
  switch (_context.prev = _context.next) {
218575
218619
  case 0:
218576
218620
  if (!printAsSinglePage) {
218577
- this.insertXml(xml, "main", undefined, isDelBlockLine);
218621
+ this.insertXml(xml, 'main', undefined, isDelBlockLine);
218578
218622
  } else {
218579
- this.insertXml(xml, "header");
218580
- this.insertXml(xml, "footer");
218581
- this.insertXml(xml, "main", printAsSinglePage, isDelBlockLine);
218623
+ this.insertXml(xml, 'header');
218624
+ this.insertXml(xml, 'footer');
218625
+ this.insertXml(xml, 'main', printAsSinglePage, isDelBlockLine);
218582
218626
  }
218583
218627
 
218584
218628
  resolve && resolve();
@@ -218643,52 +218687,52 @@ var VueController = /*#__PURE__*/function () {
218643
218687
  var textStyleStr = JSON.stringify(defaultFontStyle);
218644
218688
  var textStyle = JSON.parse(textStyleStr);
218645
218689
 
218646
- if (typeof style["size"] !== "undefined" && style["size"] !== defaultFontStyle.size.toString()) {
218647
- textStyle["size"] = style["size"];
218690
+ if (typeof style['size'] !== 'undefined' && style['size'] !== defaultFontStyle.size.toString()) {
218691
+ textStyle['size'] = style['size'];
218648
218692
  }
218649
218693
 
218650
- if (typeof style["creatorIndex"] !== "undefined" && style["creatorIndex"] !== defaultFontStyle.creatorIndex.toString()) {
218651
- textStyle["creatorIndex"] = style["creatorIndex"];
218694
+ if (typeof style['creatorIndex'] !== 'undefined' && style['creatorIndex'] !== defaultFontStyle.creatorIndex.toString()) {
218695
+ textStyle['creatorIndex'] = style['creatorIndex'];
218652
218696
  }
218653
218697
 
218654
- if (typeof style["deleterIndex"] !== "undefined" && style["deleterIndex"] !== defaultFontStyle.deleterIndex.toString()) {
218655
- textStyle["deleterIndex"] = style["deleterIndex"];
218698
+ if (typeof style['deleterIndex'] !== 'undefined' && style['deleterIndex'] !== defaultFontStyle.deleterIndex.toString()) {
218699
+ textStyle['deleterIndex'] = style['deleterIndex'];
218656
218700
  }
218657
218701
 
218658
- if (typeof style["bold"] !== "undefined" && style["bold"] !== defaultFontStyle.bold.toString()) {
218659
- textStyle["bold"] = style["bold"];
218702
+ if (typeof style['bold'] !== 'undefined' && style['bold'] !== defaultFontStyle.bold.toString()) {
218703
+ textStyle['bold'] = style['bold'];
218660
218704
  }
218661
218705
 
218662
- if (typeof style["italic"] !== "undefined" && style["italic"] !== defaultFontStyle.italic.toString()) {
218663
- textStyle["italic"] = style["italic"];
218706
+ if (typeof style['italic'] !== 'undefined' && style['italic'] !== defaultFontStyle.italic.toString()) {
218707
+ textStyle['italic'] = style['italic'];
218664
218708
  }
218665
218709
 
218666
- if (typeof style["script"] !== "undefined" && style["script"] !== defaultFontStyle.script.toString()) {
218667
- textStyle["script"] = style["script"];
218710
+ if (typeof style['script'] !== 'undefined' && style['script'] !== defaultFontStyle.script.toString()) {
218711
+ textStyle['script'] = style['script'];
218668
218712
  }
218669
218713
 
218670
- if (typeof style["strikeout"] !== "undefined" && style["strikeout"] !== defaultFontStyle.strikeout.toString()) {
218671
- textStyle["strikeout"] = style["strikeout"];
218714
+ if (typeof style['strikeout'] !== 'undefined' && style['strikeout'] !== defaultFontStyle.strikeout.toString()) {
218715
+ textStyle['strikeout'] = style['strikeout'];
218672
218716
  }
218673
218717
 
218674
- if (typeof style["underline"] !== "undefined" && style["underline"] !== defaultFontStyle.underline.toString()) {
218675
- textStyle["underline"] = style["underline"];
218718
+ if (typeof style['underline'] !== 'undefined' && style['underline'] !== defaultFontStyle.underline.toString()) {
218719
+ textStyle['underline'] = style['underline'];
218676
218720
  }
218677
218721
 
218678
- if (typeof style["color"] !== "undefined" && style["color"] !== defaultFontStyle.color) {
218679
- textStyle["color"] = style["color"];
218722
+ if (typeof style['color'] !== 'undefined' && style['color'] !== defaultFontStyle.color) {
218723
+ textStyle['color'] = style['color'];
218680
218724
  }
218681
218725
 
218682
- if (typeof style["font"] !== "undefined" && style["font"] !== defaultFontStyle.font) {
218683
- textStyle["font"] = style["font"];
218726
+ if (typeof style['font'] !== 'undefined' && style['font'] !== defaultFontStyle.font) {
218727
+ textStyle['font'] = style['font'];
218684
218728
  }
218685
218729
 
218686
- if (typeof style["backColor"] !== "undefined" && style["backColor"] !== defaultFontStyle.backColor) {
218687
- textStyle["backColor"] = style["backColor"];
218730
+ if (typeof style['backColor'] !== 'undefined' && style['backColor'] !== defaultFontStyle.backColor) {
218731
+ textStyle['backColor'] = style['backColor'];
218688
218732
  }
218689
218733
 
218690
- if (typeof style["commentID"] !== "undefined" && style["commentID"] !== defaultFontStyle.commentID) {
218691
- textStyle["commentID"] = style["commentID"];
218734
+ if (typeof style['commentID'] !== 'undefined' && style['commentID'] !== defaultFontStyle.commentID) {
218735
+ textStyle['commentID'] = style['commentID'];
218692
218736
  }
218693
218737
 
218694
218738
  return textStyle;
@@ -218701,32 +218745,32 @@ var VueController = /*#__PURE__*/function () {
218701
218745
  arrFontString.push(JSON.stringify(mergeObject.styles.defaultFont));
218702
218746
  arrParaString.push(JSON.stringify(mergeObject.styles.defaultPara));
218703
218747
  tdefault = JSON.parse(arrFontString[0]);
218704
- tdefault["size"] = tdefault["size"].toString();
218705
- tdefault["creatorIndex"] = tdefault["creatorIndex"].toString();
218706
- tdefault["deleterIndex"] = tdefault["deleterIndex"].toString();
218707
- tdefault["bold"] = tdefault["bold"].toString();
218708
- tdefault["italic"] = tdefault["italic"].toString();
218709
- tdefault["script"] = tdefault["script"].toString();
218710
- tdefault["strikeout"] = tdefault["strikeout"].toString();
218711
- tdefault["underline"] = tdefault["underline"].toString();
218748
+ tdefault['size'] = tdefault['size'].toString();
218749
+ tdefault['creatorIndex'] = tdefault['creatorIndex'].toString();
218750
+ tdefault['deleterIndex'] = tdefault['deleterIndex'].toString();
218751
+ tdefault['bold'] = tdefault['bold'].toString();
218752
+ tdefault['italic'] = tdefault['italic'].toString();
218753
+ tdefault['script'] = tdefault['script'].toString();
218754
+ tdefault['strikeout'] = tdefault['strikeout'].toString();
218755
+ tdefault['underline'] = tdefault['underline'].toString();
218712
218756
  arrFontString[0] = JSON.stringify(tdefault);
218713
218757
  pdefault = JSON.parse(arrParaString[0]);
218714
- pdefault["charSpace"] = pdefault["charSpace"].toString();
218715
- pdefault["lineSpace"] = pdefault["lineSpace"].toString();
218716
- pdefault["leftMarginMm"] = pdefault["leftMarginMm"].toString();
218717
- pdefault["topMarginMm"] = pdefault["topMarginMm"].toString();
218718
- pdefault["bottomMarginMm"] = pdefault["bottomMarginMm"].toString();
218719
- pdefault["rightMarginMm"] = pdefault["rightMarginMm"].toString();
218720
- pdefault["align"] = pdefault["align"].toString();
218758
+ pdefault['charSpace'] = pdefault['charSpace'].toString();
218759
+ pdefault['lineSpace'] = pdefault['lineSpace'].toString();
218760
+ pdefault['leftMarginMm'] = pdefault['leftMarginMm'].toString();
218761
+ pdefault['topMarginMm'] = pdefault['topMarginMm'].toString();
218762
+ pdefault['bottomMarginMm'] = pdefault['bottomMarginMm'].toString();
218763
+ pdefault['rightMarginMm'] = pdefault['rightMarginMm'].toString();
218764
+ pdefault['align'] = pdefault['align'].toString();
218721
218765
  arrParaString[0] = JSON.stringify(pdefault);
218722
218766
 
218723
- if (mergeObject.styles.fontStyle == "") {
218767
+ if (mergeObject.styles.fontStyle == '') {
218724
218768
  mergeObject.styles.fontStyle = [];
218725
218769
  } else if (!Array.isArray(mergeObject.styles.fontStyle)) {
218726
218770
  mergeObject.styles.fontStyle = [mergeObject.styles.fontStyle];
218727
218771
  }
218728
218772
 
218729
- if (mergeObject.styles.paraStyle == "") {
218773
+ if (mergeObject.styles.paraStyle == '') {
218730
218774
  mergeObject.styles.paraStyle = [];
218731
218775
  } else if (!Array.isArray(mergeObject.styles.paraStyle)) {
218732
218776
  mergeObject.styles.paraStyle = [mergeObject.styles.paraStyle];
@@ -218774,7 +218818,7 @@ var VueController = /*#__PURE__*/function () {
218774
218818
  var node = nodes[s];
218775
218819
 
218776
218820
  if (node.styleIndex) {
218777
- if (node.nodeType == "ntParagraph") {
218821
+ if (node.nodeType == 'ntParagraph') {
218778
218822
  var paraIndex = parseInt(node.styleIndex);
218779
218823
  var newpIndex = paraStyleMap.get(paraIndex);
218780
218824
 
@@ -218819,13 +218863,13 @@ var VueController = /*#__PURE__*/function () {
218819
218863
  }
218820
218864
  }
218821
218865
 
218822
- if (node.nodeType === "ntField" || node.nodeType === "ntCell") {
218866
+ if (node.nodeType === 'ntField' || node.nodeType === 'ntCell') {
218823
218867
  if (node.childNodes && node.childNodes.node && node.childNodes.node.length > 0) {
218824
218868
  updateNodesStyle(node.childNodes.node, fontStyleMap, paraStyleMap);
218825
218869
  }
218826
218870
  }
218827
218871
 
218828
- if (node.nodeType === "ntTable") {
218872
+ if (node.nodeType === 'ntTable') {
218829
218873
  if (node.childNodes && node.childNodes.item) {
218830
218874
  var items = node.childNodes.item;
218831
218875
 
@@ -218870,7 +218914,7 @@ var VueController = /*#__PURE__*/function () {
218870
218914
 
218871
218915
  var jobjFontStyle = [];
218872
218916
 
218873
- if (fontStyle != "") {
218917
+ if (fontStyle != '') {
218874
218918
  if (!Array.isArray(fontStyle)) {
218875
218919
  jobjFontStyle = [fontStyle];
218876
218920
  } else {
@@ -218914,16 +218958,16 @@ var VueController = /*#__PURE__*/function () {
218914
218958
  var paraStyleStr = JSON.stringify(defaultParaStyle);
218915
218959
  var paraStyle = JSON.parse(paraStyleStr);
218916
218960
 
218917
- if (typeof style["charSpace"] !== "undefined" && style["charSpace"] !== defaultParaStyle.charSpace.toString()) {
218918
- paraStyle["charSpace"] = style["charSpace"];
218961
+ if (typeof style['charSpace'] !== 'undefined' && style['charSpace'] !== defaultParaStyle.charSpace.toString()) {
218962
+ paraStyle['charSpace'] = style['charSpace'];
218919
218963
  }
218920
218964
 
218921
- if (typeof style["lineSpace"] !== "undefined" && style["lineSpace"] !== defaultParaStyle.lineSpace.toString()) {
218922
- paraStyle["lineSpace"] = style["lineSpace"];
218965
+ if (typeof style['lineSpace'] !== 'undefined' && style['lineSpace'] !== defaultParaStyle.lineSpace.toString()) {
218966
+ paraStyle['lineSpace'] = style['lineSpace'];
218923
218967
  }
218924
218968
 
218925
- if (typeof style["align"] !== "undefined" && style["align"] !== defaultParaStyle.align.toString()) {
218926
- paraStyle["align"] = style["align"];
218969
+ if (typeof style['align'] !== 'undefined' && style['align'] !== defaultParaStyle.align.toString()) {
218970
+ paraStyle['align'] = style['align'];
218927
218971
  }
218928
218972
 
218929
218973
  return paraStyle;
@@ -218931,7 +218975,7 @@ var VueController = /*#__PURE__*/function () {
218931
218975
 
218932
218976
  var jobjParaStyle = [];
218933
218977
 
218934
- if (paraStyle != "") {
218978
+ if (paraStyle != '') {
218935
218979
  if (paraStyle && !Array.isArray(paraStyle)) {
218936
218980
  jobjParaStyle = [paraStyle];
218937
218981
  } else {
@@ -218965,7 +219009,7 @@ var VueController = /*#__PURE__*/function () {
218965
219009
  if (list[i][0]) {
218966
219010
  updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap); //生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
218967
219011
 
218968
- var strID = hoEditorFactory.gernerateCode.generateID("cb");
219012
+ var strID = hoEditorFactory.gernerateCode.generateID('cb');
218969
219013
  xmlobj.header[0].beginPath = strID;
218970
219014
  xmlobj.header[0].pageIndex = -1;
218971
219015
  mergeObject.header.push(xmlobj.header[0]);
@@ -218973,7 +219017,7 @@ var VueController = /*#__PURE__*/function () {
218973
219017
  xmlobj.footer[0].beginPath = strID;
218974
219018
  xmlobj.footer[0].pageIndex = -1;
218975
219019
  mergeObject.footer.push(xmlobj.footer[0]);
218976
- xmlobj.main[0].printAsSinglePage = "true";
219020
+ xmlobj.main[0].printAsSinglePage = 'true';
218977
219021
  xmlobj.main[0].docId = strID;
218978
219022
  mergeObject.pageSettingsTree.push(xmlobj.pageSettings);
218979
219023
  hoEditorFactory.printStatus.pageSettingMap.set(strID, {
@@ -219036,7 +219080,7 @@ var VueController = /*#__PURE__*/function () {
219036
219080
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219037
219081
  var firstHead = hoEditorFactory.subDocManger.getHeaderPageNodes()[0];
219038
219082
  var endPath = hoEditorFactory.docTree.getNodeLastPath(firstHead[firstHead.length - 1]);
219039
- var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, "header/0/0", endPath);
219083
+ var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, 'header/0/0', endPath);
219040
219084
  var json = hoEditorFactory.structureNode.Copy(domRange, null);
219041
219085
  var image = this.getSubDocImg(hoEditorFactory.drawTree.activePageIndex.index, SubDocManger/* HeaderFooterType.hftHead */.pi.hftHead);
219042
219086
  return [json, image];
@@ -219061,7 +219105,7 @@ var VueController = /*#__PURE__*/function () {
219061
219105
  index = 0;
219062
219106
  headerNode = hoEditorFactory.subDocManger.headerDocTree[index].subDocNodes;
219063
219107
  epath = hoEditorFactory.docTree.getNodeLastPath(headerNode[headerNode.length - 1]);
219064
- sPath = "header/" + index.toString() + "/0";
219108
+ sPath = 'header/' + index.toString() + '/0';
219065
219109
  range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, sPath, epath);
219066
219110
  _context3.next = 8;
219067
219111
  return hoEditorFactory.docController.deleteRange(range, true);
@@ -219123,7 +219167,7 @@ var VueController = /*#__PURE__*/function () {
219123
219167
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219124
219168
  var firstFoot = hoEditorFactory.subDocManger.getFooterPageNodes()[0];
219125
219169
  var endPath = hoEditorFactory.docTree.getNodeLastPath(firstFoot[firstFoot.length - 1]);
219126
- var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, "footer/0/0", endPath);
219170
+ var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, 'footer/0/0', endPath);
219127
219171
  var json = hoEditorFactory.structureNode.Copy(domRange, null);
219128
219172
  var image = this.getSubDocImg(hoEditorFactory.drawTree.activePageIndex.index, SubDocManger/* HeaderFooterType.hftFoot */.pi.hftFoot);
219129
219173
  return [json, image];
@@ -219147,12 +219191,12 @@ var VueController = /*#__PURE__*/function () {
219147
219191
  footerNodes = hoEditorFactory.subDocManger.getFooterPageNodes();
219148
219192
  footerNode = footerNodes[0];
219149
219193
  epath = hoEditorFactory.docTree.getNodeLastPath(footerNode[footerNode.length - 1]);
219150
- range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, "footer/0/0", epath);
219194
+ range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, 'footer/0/0', epath);
219151
219195
  _context4.next = 7;
219152
219196
  return hoEditorFactory.docController.deleteRange(range, true);
219153
219197
 
219154
219198
  case 7:
219155
- hoEditorFactory.docTree.curDomRange.setSamePath("footer/0/0");
219199
+ hoEditorFactory.docTree.curDomRange.setSamePath('footer/0/0');
219156
219200
  nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
219157
219201
 
219158
219202
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
@@ -219204,7 +219248,7 @@ var VueController = /*#__PURE__*/function () {
219204
219248
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219205
219249
 
219206
219250
  if (hoEditorFactory.docTree.curDomRange.isEmpty) {
219207
- return "";
219251
+ return '';
219208
219252
  }
219209
219253
 
219210
219254
  var json = hoEditorFactory.structureNode.Copy(hoEditorFactory.docTree.curDomRange, null, isClearValue);
@@ -219221,7 +219265,7 @@ var VueController = /*#__PURE__*/function () {
219221
219265
  var result = hoEditorFactory.editController.canIsEdit(hoEditorFactory);
219222
219266
 
219223
219267
  if (result) {
219224
- if ((0,esm_typeof/* default */.Z)(JSON.parse(jsonData)) === "object") {
219268
+ if ((0,esm_typeof/* default */.Z)(JSON.parse(jsonData)) === 'object') {
219225
219269
  var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
219226
219270
  hoEditorFactory.docController.parseNodeData(nodes);
219227
219271
  } else {
@@ -219280,7 +219324,7 @@ var VueController = /*#__PURE__*/function () {
219280
219324
  case 11:
219281
219325
  hoEditorFactory.drawTree.inViewPages = [0];
219282
219326
 
219283
- if (!(xml > "")) {
219327
+ if (!(xml > '')) {
219284
219328
  _context5.next = 15;
219285
219329
  break;
219286
219330
  }
@@ -219314,14 +219358,14 @@ var VueController = /*#__PURE__*/function () {
219314
219358
 
219315
219359
  if (area && area.stage && area.stage.canvas) {
219316
219360
  var dHeight = Math.max(Math.min(area.docHeight, area.maxHeight), area.dHeight) * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY;
219317
- var ctx = area.stage.canvas.getContext("2d");
219361
+ var ctx = area.stage.canvas.getContext('2d');
219318
219362
 
219319
219363
  if (ctx) {
219320
219364
  var oImgData = ctx.getImageData(0, area.y * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY, hoeditfactory.pageProperty.widthPixes * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY, dHeight);
219321
- var oCanvas = document.createElement("canvas");
219365
+ var oCanvas = document.createElement('canvas');
219322
219366
  oCanvas.width = hoeditfactory.pageProperty.widthPixes * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY;
219323
219367
  oCanvas.height = dHeight;
219324
- var oCtx = oCanvas.getContext("2d");
219368
+ var oCtx = oCanvas.getContext('2d');
219325
219369
 
219326
219370
  if (oCtx) {
219327
219371
  oCtx.putImageData(oImgData, 0, 0);
@@ -219330,7 +219374,7 @@ var VueController = /*#__PURE__*/function () {
219330
219374
  }
219331
219375
  }
219332
219376
 
219333
- return "";
219377
+ return '';
219334
219378
  }
219335
219379
  /**
219336
219380
  * 获取选区内文本
@@ -219341,13 +219385,13 @@ var VueController = /*#__PURE__*/function () {
219341
219385
  key: "getRangeText",
219342
219386
  value: function getRangeText(range) {
219343
219387
  range = range.normalize();
219344
- var text = "";
219388
+ var text = '';
219345
219389
  var nodes = [];
219346
219390
  var sNodeChildIndex = range.npStart.childIndex;
219347
219391
  var eNodeChildIndex = range.npEnd.childIndex;
219348
219392
 
219349
219393
  var getNodeText = function getNodeText(node) {
219350
- var nodeText = "";
219394
+ var nodeText = '';
219351
219395
 
219352
219396
  if (node instanceof ControlNode/* ControlNode */.w) {
219353
219397
  nodeText = node.text;
@@ -219358,7 +219402,7 @@ var VueController = /*#__PURE__*/function () {
219358
219402
  } else if (node instanceof CellNode/* CellNode */.D) {
219359
219403
  nodeText = node.getCellText();
219360
219404
  } else if (node instanceof ParagraphNode/* ParagraphNode */.C) {
219361
- nodeText = "\n";
219405
+ nodeText = '\n';
219362
219406
  }
219363
219407
 
219364
219408
  return nodeText;
@@ -219426,14 +219470,14 @@ var VueController = /*#__PURE__*/function () {
219426
219470
  var signUserId = node.customProperty.bce01;
219427
219471
 
219428
219472
  if (hoEditorFactory.userInfo.id != signUserId) {
219429
- message_box_default().alert("不是本人签名,不允许删除!");
219473
+ message_box_default().alert('不是本人签名,不允许删除!');
219430
219474
 
219431
219475
  return;
219432
219476
  }
219433
219477
  }
219434
219478
 
219435
219479
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign && node instanceof SignNode/* SignNode */.N && node.isTemplate && node.number === 0) {
219436
- message_box_default().alert("该签名元素不允许删除!", "系统提示");
219480
+ message_box_default().alert('该签名元素不允许删除!', '系统提示');
219437
219481
 
219438
219482
  return;
219439
219483
  }
@@ -219441,8 +219485,8 @@ var VueController = /*#__PURE__*/function () {
219441
219485
  if (node instanceof SignNode/* SignNode */.N) {
219442
219486
  var nextNode = node.nextLeaf();
219443
219487
 
219444
- if ((node.imgSrc !== "" || node.fingerPrintSrc !== "") && node.isTemplate && !(preNode instanceof SignNode/* SignNode */.N) && !(nextNode instanceof SignNode/* SignNode */.N)) {
219445
- var signNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 0, 0, node.name === "" ? "签名" : node.name, node.signType, node.signFormat, "", "", node.signTimeFormat, "", 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime, '', undefined, node.attribute);
219488
+ if ((node.imgSrc !== '' || node.fingerPrintSrc !== '') && node.isTemplate && !(preNode instanceof SignNode/* SignNode */.N) && !(nextNode instanceof SignNode/* SignNode */.N)) {
219489
+ var signNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 0, 0, node.name === '' ? '签名' : node.name, node.signType, node.signFormat, '', '', node.signTimeFormat, '', 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime, '', undefined, node.attribute);
219446
219490
  hoEditorFactory.undoService.begin();
219447
219491
  hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, ePath));
219448
219492
  hoEditorFactory.undoService.add(new NodeInsertUndoUnit/* NodeInsertUndoUnit */.R(this._hoEditorFactoryID, sPath, signNode));
@@ -219453,13 +219497,13 @@ var VueController = /*#__PURE__*/function () {
219453
219497
  if (preNode instanceof SignNode/* SignNode */.N) {
219454
219498
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign) {
219455
219499
  if (node.isTemplate && node.number === 0) {
219456
- message_box_default().alert("该签名元素不允许删除!", "系统提示");
219500
+ message_box_default().alert('该签名元素不允许删除!', '系统提示');
219457
219501
 
219458
219502
  return;
219459
219503
  }
219460
219504
  }
219461
219505
 
219462
- var spath = "";
219506
+ var spath = '';
219463
219507
 
219464
219508
  if (node.number === 2 || node.number === 1 && node.isTemplate) {
219465
219509
  spath = hoEditorFactory.docTree.getNodeLastPath(preNode.previousLeaf());
@@ -219469,7 +219513,7 @@ var VueController = /*#__PURE__*/function () {
219469
219513
 
219470
219514
 
219471
219515
  var epath = hoEditorFactory.docTree.getNodeLastPath(node);
219472
- var newSignNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 1, preNode.type, preNode.name === "" ? "签名" : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.signTimeFormat, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, preNode.isTemplate ? preNode.isTemplate : node.isTemplate, //node.isTemplate,
219516
+ var newSignNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 1, preNode.type, preNode.name === '' ? '签名' : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.signTimeFormat, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, preNode.isTemplate ? preNode.isTemplate : node.isTemplate, //node.isTemplate,
219473
219517
  node.styleIndex, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime);
219474
219518
  hoEditorFactory.undoService.begin();
219475
219519
  hoEditorFactory.undoService.add(new NodesDeleteUndoUnit/* NodesDeleteUndoUnit */.F(this._hoEditorFactoryID, spath, ePath));
@@ -219519,10 +219563,10 @@ var VueController = /*#__PURE__*/function () {
219519
219563
  }
219520
219564
  }
219521
219565
  /**
219522
- * 插入孕周
219523
- * @param lastMenstruationDate 末次月经日期
219524
- * @param usedDate 用来计算的日期
219525
- */
219566
+ * 插入孕周
219567
+ * @param lastMenstruationDate 末次月经日期
219568
+ * @param usedDate 用来计算的日期
219569
+ */
219526
219570
 
219527
219571
  }, {
219528
219572
  key: "insertGestation",
@@ -219577,7 +219621,7 @@ var VueController = /*#__PURE__*/function () {
219577
219621
  value: function verifyTextFieldsDataFormat() {
219578
219622
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219579
219623
  var errorArray = [];
219580
- var errorInfo = "";
219624
+ var errorInfo = '';
219581
219625
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
219582
219626
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
219583
219627
  var mainNodes = hoEditorFactory.docTree.mainNodes;
@@ -219587,51 +219631,51 @@ var VueController = /*#__PURE__*/function () {
219587
219631
  var node = filedNodes[h];
219588
219632
  var dataVerifyFormat = node.dataVerifyFormat;
219589
219633
 
219590
- if (dataVerifyFormat.mustInputValue && node.text === "") {
219591
- errorInfo = "必须输入,不能为空";
219634
+ if (dataVerifyFormat.mustInputValue && node.text === '') {
219635
+ errorInfo = '必须输入,不能为空';
219592
219636
  errorArray.push([node, errorInfo]);
219593
219637
  } else {
219594
219638
  if (dataVerifyFormat.dataFormat === TextInputFieldNode/* DataFormat.text */.ZX.text) {
219595
219639
  //文本格式
219596
219640
  if (dataVerifyFormat.minLength > 0) {
219597
219641
  if (node.text.length < dataVerifyFormat.minLength) {
219598
- errorInfo = "内容不能少于" + dataVerifyFormat.minLength.toString() + "个字符";
219642
+ errorInfo = '内容不能少于' + dataVerifyFormat.minLength.toString() + '个字符';
219599
219643
  errorArray.push([node, errorInfo]);
219600
219644
  }
219601
219645
  }
219602
219646
 
219603
219647
  if (dataVerifyFormat.maxLength > 0) {
219604
219648
  if (node.text.length > dataVerifyFormat.maxLength) {
219605
- errorInfo = "内容不能多于" + dataVerifyFormat.maxLength.toString() + "个字符";
219649
+ errorInfo = '内容不能多于' + dataVerifyFormat.maxLength.toString() + '个字符';
219606
219650
  errorArray.push([node, errorInfo]);
219607
219651
  }
219608
219652
  }
219609
219653
  } else {
219610
219654
  //数值格式
219611
219655
  if (!(0,type/* isNumber */.hj)(node.text)) {
219612
- errorInfo = "内容必须为数值";
219656
+ errorInfo = '内容必须为数值';
219613
219657
  errorArray.push([node, errorInfo]);
219614
219658
  } else {
219615
219659
  if (dataVerifyFormat.onlyInputInt) {
219616
219660
  //必须是整数
219617
219661
  if (Number(node.text) % 1 !== 0) {
219618
- errorInfo = "数值必须为整数";
219662
+ errorInfo = '数值必须为整数';
219619
219663
  errorArray.push([node, errorInfo]);
219620
219664
  } else {
219621
219665
  if (dataVerifyFormat.maxValue !== 0 && Number(node.text) > dataVerifyFormat.maxValue) {
219622
- errorInfo = "数值不能大于" + dataVerifyFormat.maxValue.toString();
219666
+ errorInfo = '数值不能大于' + dataVerifyFormat.maxValue.toString();
219623
219667
  errorArray.push([node, errorInfo]);
219624
219668
  }
219625
219669
 
219626
219670
  if (dataVerifyFormat.minValue !== 0 && Number(node.text) < dataVerifyFormat.minValue) {
219627
- errorInfo = "数值不能小于" + dataVerifyFormat.minValue.toString();
219671
+ errorInfo = '数值不能小于' + dataVerifyFormat.minValue.toString();
219628
219672
  errorArray.push([node, errorInfo]);
219629
219673
  }
219630
219674
  }
219631
219675
  } else {
219632
219676
  //非必须是整数
219633
- if (dataVerifyFormat.maxSmallBits !== 0 && node.text.split(".")[1].length > dataVerifyFormat.maxSmallBits) {
219634
- errorInfo = "小数位数不能多于" + dataVerifyFormat.maxSmallBits.toString() + "";
219677
+ if (dataVerifyFormat.maxSmallBits !== 0 && node.text.split('.')[1].length > dataVerifyFormat.maxSmallBits) {
219678
+ errorInfo = '小数位数不能多于' + dataVerifyFormat.maxSmallBits.toString() + '';
219635
219679
  errorArray.push([node, errorInfo]);
219636
219680
  }
219637
219681
  }
@@ -219772,7 +219816,7 @@ var VueController = /*#__PURE__*/function () {
219772
219816
  var endPath = curDomRange.endPath;
219773
219817
 
219774
219818
  if (startPath == endPath) {
219775
- message_box_default().alert("请选中需要删除的内容进行删除");
219819
+ message_box_default().alert('请选中需要删除的内容进行删除');
219776
219820
 
219777
219821
  return;
219778
219822
  }
@@ -219815,11 +219859,11 @@ var VueController = /*#__PURE__*/function () {
219815
219859
  var curMainDocArea = hoEditorFactory.drawPageTree.drawMainDocs[pageIndex];
219816
219860
 
219817
219861
  if (!darwPage || !curMainDocArea) {
219818
- message_box_default().alert("删除页的索引传入有误:" + pageIndex.toString());
219862
+ message_box_default().alert('删除页的索引传入有误:' + pageIndex.toString());
219819
219863
  }
219820
219864
 
219821
- var sPath = "";
219822
- var ePath = "";
219865
+ var sPath = '';
219866
+ var ePath = '';
219823
219867
  var startPosition;
219824
219868
 
219825
219869
  if (pageIndex !== 0) {
@@ -219869,7 +219913,7 @@ var VueController = /*#__PURE__*/function () {
219869
219913
  var headerNodes = hoEditorFactory.subDocManger.headerDocTree[0].subDocNodes;
219870
219914
  var mainNodes = hoEditorFactory.docTree.mainNodes;
219871
219915
  var fooerNodes = hoEditorFactory.subDocManger.footerDocTree[0].subDocNodes;
219872
- var docText = "";
219916
+ var docText = '';
219873
219917
 
219874
219918
  var loopChildNodes = function loopChildNodes(nodes) {
219875
219919
  nodes.forEach(function (node) {
@@ -219880,7 +219924,7 @@ var VueController = /*#__PURE__*/function () {
219880
219924
  } else if (node instanceof BaseCombineNode/* BaseCombineNode */.V) {
219881
219925
  loopChildNodes(node.childNodes);
219882
219926
  } else if (node instanceof ParagraphNode/* ParagraphNode */.C) {
219883
- docText += "\n";
219927
+ docText += '\n';
219884
219928
  }
219885
219929
  });
219886
219930
  };
@@ -219888,11 +219932,11 @@ var VueController = /*#__PURE__*/function () {
219888
219932
  loopChildNodes(headerNodes);
219889
219933
  loopChildNodes(mainNodes);
219890
219934
  loopChildNodes(fooerNodes);
219891
- docText = docText.replace(/&/g, "&amp;");
219892
- docText = docText.replace(/</g, "&lt;");
219893
- docText = docText.replace(/>/g, "&gt;");
219894
- docText = docText.replace(/\'/g, "&#39;");
219895
- docText = docText.replace(/\"/g, "&quot;");
219935
+ docText = docText.replace(/&/g, '&amp;');
219936
+ docText = docText.replace(/</g, '&lt;');
219937
+ docText = docText.replace(/>/g, '&gt;');
219938
+ docText = docText.replace(/\'/g, '&#39;');
219939
+ docText = docText.replace(/\"/g, '&quot;');
219896
219940
  return docText;
219897
219941
  }
219898
219942
  /**
@@ -220057,12 +220101,12 @@ var VueController = /*#__PURE__*/function () {
220057
220101
  return v.name == node.name;
220058
220102
  }).length == 0) {
220059
220103
  var elementObj = {
220060
- id: "",
220061
- name: "",
220062
- text: "",
220063
- json: "",
220064
- innerIdentifier: "",
220065
- controlStyle: "",
220104
+ id: '',
220105
+ name: '',
220106
+ text: '',
220107
+ json: '',
220108
+ innerIdentifier: '',
220109
+ controlStyle: '',
220066
220110
  customProperty: {}
220067
220111
  };
220068
220112
  elementObj.id = node.id; //elementObj.dataid = node.dataId;
@@ -220123,7 +220167,7 @@ var VueController = /*#__PURE__*/function () {
220123
220167
  for (var i = 0; i < nodes.length; i++) {
220124
220168
  var node = nodes[i];
220125
220169
 
220126
- if (node instanceof SignNode/* SignNode */.N && node.customProperty && node.customProperty.isCaSign == "2") {
220170
+ if (node instanceof SignNode/* SignNode */.N && node.customProperty && node.customProperty.isCaSign == '2') {
220127
220171
  ret = true;
220128
220172
  }
220129
220173
  }
@@ -220141,7 +220185,7 @@ var VueController = /*#__PURE__*/function () {
220141
220185
  key: "updateElementById",
220142
220186
  value: function updateElementById(id, eleJson) {
220143
220187
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
220144
- var node = this.getNodeByID("all", id);
220188
+ var node = this.getNodeByID('all', id);
220145
220189
 
220146
220190
  if (node) {
220147
220191
  //eleJson = JSON.parse(eleJson);
@@ -220164,7 +220208,7 @@ var VueController = /*#__PURE__*/function () {
220164
220208
 
220165
220209
  node.isAllowDelete = true;
220166
220210
  hoEditorFactory.undoService.begin();
220167
- hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, sPath, "update")); //hoEditorFactory.undoService.commit();
220211
+ hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, sPath, 'update')); //hoEditorFactory.undoService.commit();
220168
220212
  //hoEditorFactory.undoService.begin();
220169
220213
 
220170
220214
  hoEditorFactory.undoService.add(new NodeInsertUndoUnit/* NodeInsertUndoUnit */.R(this._hoEditorFactoryID, sPath, newNode));
@@ -220172,10 +220216,10 @@ var VueController = /*#__PURE__*/function () {
220172
220216
  var toPath = hoEditorFactory.docTree.getNodeLastPath(newNode);
220173
220217
  hoEditorFactory.drawTree.moveCaretToPath(toPath);
220174
220218
  } else {
220175
- throw new Error("根据元素id:" + id + "定位到的元素非可回填元素");
220219
+ throw new Error('根据元素id:' + id + '定位到的元素非可回填元素');
220176
220220
  }
220177
220221
  } else {
220178
- throw new Error("根据元素id:" + id + "未找到对应的元素");
220222
+ throw new Error('根据元素id:' + id + '未找到对应的元素');
220179
220223
  }
220180
220224
  } //更新回填元素的文本内容
220181
220225
 
@@ -220188,7 +220232,7 @@ var VueController = /*#__PURE__*/function () {
220188
220232
  while (1) {
220189
220233
  switch (_context6.prev = _context6.next) {
220190
220234
  case 0:
220191
- if (!(name === "" || name === "请输入" || name === "请选择")) {
220235
+ if (!(name === '' || name === '请输入' || name === '请选择')) {
220192
220236
  _context6.next = 2;
220193
220237
  break;
220194
220238
  }
@@ -220254,14 +220298,14 @@ var VueController = /*#__PURE__*/function () {
220254
220298
  break;
220255
220299
 
220256
220300
  case 20:
220257
- throw new Error("根据元素name:" + name + "定位到的元素非可回填元素");
220301
+ throw new Error('根据元素name:' + name + '定位到的元素非可回填元素');
220258
220302
 
220259
220303
  case 21:
220260
220304
  _context6.next = 24;
220261
220305
  break;
220262
220306
 
220263
220307
  case 23:
220264
- throw new Error("根据元素name:" + name + "未找到对应的元素");
220308
+ throw new Error('根据元素name:' + name + '未找到对应的元素');
220265
220309
 
220266
220310
  case 24:
220267
220311
  i--;
@@ -220273,7 +220317,7 @@ var VueController = /*#__PURE__*/function () {
220273
220317
  break;
220274
220318
 
220275
220319
  case 29:
220276
- throw new Error("根据元素name:" + name + "未找到对应的元素");
220320
+ throw new Error('根据元素name:' + name + '未找到对应的元素');
220277
220321
 
220278
220322
  case 30:
220279
220323
  case "end":
@@ -220334,10 +220378,10 @@ var VueController = /*#__PURE__*/function () {
220334
220378
 
220335
220379
  var createElementNodes = function createElementNodes() {
220336
220380
  var drawpages = hoEditorFactory.drawTree.drawPages;
220337
- var pngBox = document.createElement("div");
220338
- pngBox.id = "hoImageFileBox";
220381
+ var pngBox = document.createElement('div');
220382
+ pngBox.id = 'hoImageFileBox';
220339
220383
  var imgQuality = quality ? quality : 0.8;
220340
- var imgType = type ? type : "image/jpeg";
220384
+ var imgType = type ? type : 'image/jpeg';
220341
220385
  drawpages.forEach(function (drawpage, index) {
220342
220386
  var _drawpage$drawDomLeve;
220343
220387
 
@@ -220356,25 +220400,25 @@ var VueController = /*#__PURE__*/function () {
220356
220400
  drawpage.needUpdateStage = false;
220357
220401
  }
220358
220402
 
220359
- var png = document.createElement("img");
220403
+ var png = document.createElement('img');
220360
220404
  var canvas = (_drawpage$drawDomLeve = drawpage.drawDomLevel) === null || _drawpage$drawDomLeve === void 0 ? void 0 : _drawpage$drawDomLeve.domCanvas;
220361
220405
  png.src = canvas.toDataURL(imgType, imgQuality);
220362
220406
  pngBox.appendChild(png);
220363
220407
  });
220364
- pngBox.id = "hoImageFileBox";
220365
- var btn = document.createElement("button");
220366
- btn.id = "hoDownLoadImageBtn";
220367
- btn.style.position = "fixed";
220368
- btn.style.left = "20px";
220369
- btn.style.top = "200px";
220370
- btn.style.padding = "10px 20px";
220371
- btn.style.background = "#f2f4f7";
220372
- btn.style.border = "none";
220373
- btn.style.outline = "none";
220408
+ pngBox.id = 'hoImageFileBox';
220409
+ var btn = document.createElement('button');
220410
+ btn.id = 'hoDownLoadImageBtn';
220411
+ btn.style.position = 'fixed';
220412
+ btn.style.left = '20px';
220413
+ btn.style.top = '200px';
220414
+ btn.style.padding = '10px 20px';
220415
+ btn.style.background = '#f2f4f7';
220416
+ btn.style.border = 'none';
220417
+ btn.style.outline = 'none';
220374
220418
  document.body.appendChild(btn);
220375
220419
  document.body.appendChild(pngBox);
220376
220420
 
220377
- document.querySelector("#hoDownLoadImageBtn").onclick = function () {
220421
+ document.querySelector('#hoDownLoadImageBtn').onclick = function () {
220378
220422
  _this2.downLoadPNGHTML();
220379
220423
  };
220380
220424
  };
@@ -220410,7 +220454,7 @@ var VueController = /*#__PURE__*/function () {
220410
220454
 
220411
220455
  var canvas = (_drawpage$drawDomLeve2 = drawpage.drawDomLevel) === null || _drawpage$drawDomLeve2 === void 0 ? void 0 : _drawpage$drawDomLeve2.domCanvas;
220412
220456
  var imgQuality = quality ? quality : 0.8;
220413
- imageList.push(canvas.toDataURL("image/jpeg", imgQuality));
220457
+ imageList.push(canvas.toDataURL('image/jpeg', imgQuality));
220414
220458
  });
220415
220459
  return imageList;
220416
220460
  }
@@ -220423,18 +220467,18 @@ var VueController = /*#__PURE__*/function () {
220423
220467
  value: function createPDF() {
220424
220468
  var _this3 = this;
220425
220469
 
220426
- var btn = document.createElement("button");
220427
- btn.id = "hoDownLoadPDFBtn";
220428
- btn.style.position = "fixed";
220429
- btn.style.left = "20px";
220430
- btn.style.top = "300px";
220431
- btn.style.padding = "10px 20px";
220432
- btn.style.background = "transparent";
220433
- btn.style.border = "none";
220434
- btn.style.outline = "none";
220470
+ var btn = document.createElement('button');
220471
+ btn.id = 'hoDownLoadPDFBtn';
220472
+ btn.style.position = 'fixed';
220473
+ btn.style.left = '20px';
220474
+ btn.style.top = '300px';
220475
+ btn.style.padding = '10px 20px';
220476
+ btn.style.background = 'transparent';
220477
+ btn.style.border = 'none';
220478
+ btn.style.outline = 'none';
220435
220479
  document.body.appendChild(btn);
220436
220480
 
220437
- document.querySelector("#hoDownLoadPDFBtn").onclick = function () {
220481
+ document.querySelector('#hoDownLoadPDFBtn').onclick = function () {
220438
220482
  _this3.saveAsPDF();
220439
220483
  };
220440
220484
  }
@@ -220445,22 +220489,22 @@ var VueController = /*#__PURE__*/function () {
220445
220489
  }, {
220446
220490
  key: "downLoadPNGHTML",
220447
220491
  value: function downLoadPNGHTML() {
220448
- var pngBox = document.querySelector("#hoImageFileBox");
220449
- var fileName = this.getDocTitle() ? this.getDocTitle() : "电子病历文档";
220492
+ var pngBox = document.querySelector('#hoImageFileBox');
220493
+ var fileName = this.getDocTitle() ? this.getDocTitle() : '电子病历文档';
220450
220494
  var exportHtml = "\n <!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <style>\n body, html {\n margin: 0;\n background: #f2f4f7;\n text-align: center;\n }\n img {\n margin: 10px auto;\n display: block;\n border: 0;\n box-shadow: rgb(158 161 165 / 40%) 0px 2px 12px 0px;\n }\n </style>\n </head>\n <body>".concat(pngBox === null || pngBox === void 0 ? void 0 : pngBox.innerHTML, "</body>\n </html>\n ");
220451
220495
  var url = window.URL.createObjectURL(new Blob([exportHtml], {
220452
220496
  type: "text/html"
220453
220497
  }));
220454
- var link = document.createElement("a");
220455
- link.style.display = "none";
220498
+ var link = document.createElement('a');
220499
+ link.style.display = 'none';
220456
220500
  link.href = url;
220457
- link.setAttribute("download", fileName + ".html");
220501
+ link.setAttribute('download', fileName + '.html');
220458
220502
  document.body.appendChild(link);
220459
220503
  link.click();
220460
220504
  setTimeout(function () {
220461
220505
  link.remove();
220462
220506
  document.body.removeChild(pngBox);
220463
- document.body.removeChild(document.querySelector("#hoDownLoadImageBtn"));
220507
+ document.body.removeChild(document.querySelector('#hoDownLoadImageBtn'));
220464
220508
  }, 300);
220465
220509
  }
220466
220510
  }, {
@@ -220537,7 +220581,7 @@ var VueController = /*#__PURE__*/function () {
220537
220581
  while (1) {
220538
220582
  switch (_context7.prev = _context7.next) {
220539
220583
  case 0:
220540
- if (!(type === "html")) {
220584
+ if (!(type === 'html')) {
220541
220585
  _context7.next = 14;
220542
220586
  break;
220543
220587
  }
@@ -220621,7 +220665,7 @@ var VueController = /*#__PURE__*/function () {
220621
220665
  var newNode = newcurDomRange.npEnd.node;
220622
220666
 
220623
220667
  if (newNode instanceof SignNode/* SignNode */.N) {
220624
- Promise.all([hoEditorFactory.docController.updateSignNode(newNode, 3, "患者签名", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220668
+ Promise.all([hoEditorFactory.docController.updateSignNode(newNode, 3, '患者签名', '', '', imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220625
220669
  setTimeout(function () {
220626
220670
  callback && callback();
220627
220671
  }, 0);
@@ -220629,7 +220673,7 @@ var VueController = /*#__PURE__*/function () {
220629
220673
  }
220630
220674
  }, 0);
220631
220675
  } else {
220632
- Promise.all([hoEditorFactory.docController.updateSignNode(node, 3, "患者签名", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220676
+ Promise.all([hoEditorFactory.docController.updateSignNode(node, 3, '患者签名', '', '', imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220633
220677
  setTimeout(function () {
220634
220678
  callback && callback();
220635
220679
  }, 0);
@@ -220644,7 +220688,7 @@ var VueController = /*#__PURE__*/function () {
220644
220688
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSign */.y.insertSign);
220645
220689
 
220646
220690
  if (hoEditorFactory.docTree.changing(changingEvent)) {
220647
- Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 1, "患者签名", node.signor, node.signTime, node.signTimeFormat, imgSrc, node.imgWidth, node.imgHeight, node.customProperty, fingerPrintSrc, fingerPosition)]).then(function () {
220691
+ Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 1, '患者签名', node.signor, node.signTime, node.signTimeFormat, imgSrc, node.imgWidth, node.imgHeight, node.customProperty, fingerPrintSrc, fingerPosition)]).then(function () {
220648
220692
  setTimeout(function () {
220649
220693
  callback && callback();
220650
220694
  }, 0);
@@ -220656,7 +220700,7 @@ var VueController = /*#__PURE__*/function () {
220656
220700
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSign */.y.insertSign);
220657
220701
 
220658
220702
  if (hoEditorFactory.docTree.changing(changingEvent)) {
220659
- Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 3, "患者签名", "", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220703
+ Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 3, '患者签名', '', '', '', imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220660
220704
  setTimeout(function () {
220661
220705
  callback && callback();
220662
220706
  }, 0);
@@ -220695,13 +220739,13 @@ var VueController = /*#__PURE__*/function () {
220695
220739
  for (var m = 0, len = items.length - 1; m <= len; m++) {
220696
220740
  var item = items[m];
220697
220741
 
220698
- if (item.text !== "" && item.name === anode.name && anode.text.indexOf(item.text) !== -1) {
220742
+ if (item.text !== '' && item.name === anode.name && anode.text.indexOf(item.text) !== -1) {
220699
220743
  var range = _this4.search(anode, item.text);
220700
220744
 
220701
220745
  if (range.length > 0) {
220702
220746
  selectRangeArr = selectRangeArr.concat(range);
220703
220747
  }
220704
- } else if (item.text === "" && item.name === anode.name) {
220748
+ } else if (item.text === '' && item.name === anode.name) {
220705
220749
  var _range = _this4.search(anode, anode.text);
220706
220750
 
220707
220751
  if (_range.length > 0) {
@@ -220730,7 +220774,7 @@ var VueController = /*#__PURE__*/function () {
220730
220774
  if (selectRangeArr.length > 0) {
220731
220775
  hoEditorFactory.drawTree.drawMultiCustomRange(selectRangeArr, true, true);
220732
220776
  } else {
220733
- console.warn("未搜索到符合条件的元素");
220777
+ console.warn('未搜索到符合条件的元素');
220734
220778
  }
220735
220779
  }
220736
220780
  }, {
@@ -220762,7 +220806,7 @@ var VueController = /*#__PURE__*/function () {
220762
220806
  loopChildNodes(node.childNodes);
220763
220807
  parasArray.forEach(function (value, index) {
220764
220808
  var aNode = value.nextLeaf();
220765
- var content = "";
220809
+ var content = '';
220766
220810
  var mark = 0; //用来区分段落中的节点是否是文本节点 0是 -1不是
220767
220811
 
220768
220812
  var textCount = 1; //该段的第几个文本串(其它节点隔开的)
@@ -220772,31 +220816,31 @@ var VueController = /*#__PURE__*/function () {
220772
220816
  if (aNode instanceof TextNode/* TextNode */.R) {
220773
220817
  if (mark === -1) {
220774
220818
  if (content.length > 0) {
220775
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220819
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220776
220820
 
220777
220821
  textCount++;
220778
- content = "";
220822
+ content = '';
220779
220823
  mark = 0;
220780
220824
  }
220781
220825
  }
220782
220826
 
220783
220827
  var nodePath = hoEditorFactory.docTree.getNodeFirstPath(aNode);
220784
- nodesMap.set((index + 1).toString() + "|" + textCount.toString() + "|" + content.length, nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220828
+ nodesMap.set((index + 1).toString() + '|' + textCount.toString() + '|' + content.length, nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220785
220829
 
220786
220830
  content = content + aNode.text;
220787
220831
  } else if (aNode instanceof ControlNode/* ControlNode */.w) {
220788
220832
  if (content.length > 0) {
220789
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220833
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220790
220834
 
220791
220835
  textCount++;
220792
- content = "";
220836
+ content = '';
220793
220837
  }
220794
220838
 
220795
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + aNode.text);
220839
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + aNode.text);
220796
220840
 
220797
220841
  var _nodePath = aNode.getNodePath();
220798
220842
 
220799
- nodesMap.set((index + 1).toString() + "|" + textCount.toString() + "|" + 0, _nodePath);
220843
+ nodesMap.set((index + 1).toString() + '|' + textCount.toString() + '|' + 0, _nodePath);
220800
220844
  textCount++;
220801
220845
  } else {
220802
220846
  if (!(aNode instanceof ParagraphNode/* ParagraphNode */.C)) {
@@ -220811,14 +220855,14 @@ var VueController = /*#__PURE__*/function () {
220811
220855
  } while (aNode !== node.EndMarkNode);
220812
220856
 
220813
220857
  if (content.length > 0) {
220814
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + content);
220858
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content);
220815
220859
  }
220816
220860
  });
220817
220861
  } else {
220818
220862
  var nodePath = node.getNodePath();
220819
- nodesMap.set("1|1|0", nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220863
+ nodesMap.set('1|1|0', nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220820
220864
 
220821
- paraTextStrArr.push("1|1|" + node.text);
220865
+ paraTextStrArr.push('1|1|' + node.text);
220822
220866
  }
220823
220867
 
220824
220868
  selectRangeArr = this.getSelectRanges(paraTextStrArr, text, nodesMap);
@@ -220833,18 +220877,18 @@ var VueController = /*#__PURE__*/function () {
220833
220877
  var i = 0;
220834
220878
  paraTextStrArr.forEach(function (value, index) {
220835
220879
  //遍历每个段落的文本串 获取所有符合的段落和位置索引
220836
- var paraIndex = value.split("|")[0]; //第几段
220880
+ var paraIndex = value.split('|')[0]; //第几段
220837
220881
 
220838
- var textCount = value.split("|")[1]; //第几串
220882
+ var textCount = value.split('|')[1]; //第几串
220839
220883
 
220840
- value = value.split("|")[2]; //从上往下
220884
+ value = value.split('|')[2]; //从上往下
220841
220885
 
220842
220886
  var indexValue = value.indexOf(text);
220843
220887
 
220844
220888
  if (indexValue !== -1) {
220845
220889
  do {
220846
220890
  i++;
220847
- indexsMap.set(i, paraIndex + "|" + textCount + "|" + indexValue.toString()); //indexsMap<第几个符合查找条件的,第几段|该段的第几个文本串|查找的字符串在该文本串的位置>
220891
+ indexsMap.set(i, paraIndex + '|' + textCount + '|' + indexValue.toString()); //indexsMap<第几个符合查找条件的,第几段|该段的第几个文本串|查找的字符串在该文本串的位置>
220848
220892
 
220849
220893
  indexValue = value.indexOf(text, indexValue + 1);
220850
220894
  } while (indexValue !== -1);
@@ -220853,10 +220897,10 @@ var VueController = /*#__PURE__*/function () {
220853
220897
  var textNodesPaths = [];
220854
220898
  var controlNodesPaths = [];
220855
220899
  indexsMap.forEach(function (valueStr, index) {
220856
- var returnPath = "";
220857
- var paraIndex = valueStr.split("|")[0];
220858
- var textCount = valueStr.split("|")[1];
220859
- var strIndex = parseInt(valueStr.split("|")[2]);
220900
+ var returnPath = '';
220901
+ var paraIndex = valueStr.split('|')[0];
220902
+ var textCount = valueStr.split('|')[1];
220903
+ var strIndex = parseInt(valueStr.split('|')[2]);
220860
220904
 
220861
220905
  var _iterator = (0,createForOfIteratorHelper/* default */.Z)(nodesMap),
220862
220906
  _step;
@@ -220867,9 +220911,9 @@ var VueController = /*#__PURE__*/function () {
220867
220911
  key = _step$value[0],
220868
220912
  value = _step$value[1];
220869
220913
 
220870
- var startIndex = parseInt(key.split("|")[2]);
220914
+ var startIndex = parseInt(key.split('|')[2]);
220871
220915
 
220872
- if (key.split("|")[0] === paraIndex && key.split("|")[1] === textCount && strIndex >= startIndex) {
220916
+ if (key.split('|')[0] === paraIndex && key.split('|')[1] === textCount && strIndex >= startIndex) {
220873
220917
  var np = hoEditorFactory.docTree.findNodePositionByPath(value);
220874
220918
 
220875
220919
  if (np && np.node) {
@@ -220878,9 +220922,9 @@ var VueController = /*#__PURE__*/function () {
220878
220922
  var lastPath = strIndex - startIndex - 1;
220879
220923
 
220880
220924
  if (lastPath >= 0) {
220881
- var pathArr = value.split("/");
220925
+ var pathArr = value.split('/');
220882
220926
  pathArr[pathArr.length - 1] = lastPath.toString();
220883
- returnPath = pathArr.join("/");
220927
+ returnPath = pathArr.join('/');
220884
220928
  } else {
220885
220929
  //搜索文本在节点的开始位置 需要返回上一个节点的结束位置路径
220886
220930
  var preNode = np.node.previousLeaf();
@@ -220926,10 +220970,10 @@ var VueController = /*#__PURE__*/function () {
220926
220970
  path = hoEditorFactory.docTree.getNodeFirstPath((_np$node = np.node) === null || _np$node === void 0 ? void 0 : _np$node.nextLeaf());
220927
220971
  nodeLastPath = hoEditorFactory.docTree.getNodeLastPath((_np$node2 = np.node) === null || _np$node2 === void 0 ? void 0 : _np$node2.nextLeaf());
220928
220972
  } else {
220929
- var pathArr = path.split("/");
220973
+ var pathArr = path.split('/');
220930
220974
  var value = parseInt(pathArr[pathArr.length - 1]);
220931
220975
  pathArr[pathArr.length - 1] = (value + 1).toString();
220932
- path = pathArr.join("/");
220976
+ path = pathArr.join('/');
220933
220977
  }
220934
220978
  }
220935
220979
 
@@ -220969,8 +221013,8 @@ var VueController = /*#__PURE__*/function () {
220969
221013
  var selectRangeArr = [];
220970
221014
 
220971
221015
  for (var i = 0; i < names.length; i++) {
220972
- if (names[i] !== "") {
220973
- var nodes = this.getNodesByName("all", true, names[i]);
221016
+ if (names[i] !== '') {
221017
+ var nodes = this.getNodesByName('all', true, names[i]);
220974
221018
  elements = elements.concat(nodes);
220975
221019
  }
220976
221020
  }
@@ -221013,7 +221057,7 @@ var VueController = /*#__PURE__*/function () {
221013
221057
  if (hoEditorFactory.aiTextFunc) {
221014
221058
  var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
221015
221059
  var node = curDomRange.npEnd.node;
221016
- var text = "";
221060
+ var text = '';
221017
221061
 
221018
221062
  if (node instanceof TextNode/* TextNode */.R) {
221019
221063
  text += node.text;
@@ -221067,7 +221111,7 @@ var VueController = /*#__PURE__*/function () {
221067
221111
  }
221068
221112
 
221069
221113
  if (!isHaveParaNodes) {
221070
- message_box_default().alert("选区内没有换行符,无需清除.");
221114
+ message_box_default().alert('选区内没有换行符,无需清除.');
221071
221115
 
221072
221116
  return;
221073
221117
  }
@@ -221086,9 +221130,9 @@ var VueController = /*#__PURE__*/function () {
221086
221130
  var endPath = hoEditorFactory.docTree.getNodeLastPath(nodes[nodes.length - 1]);
221087
221131
 
221088
221132
  if (result[2] > 0) {
221089
- var arr = endPath.split("/");
221133
+ var arr = endPath.split('/');
221090
221134
  arr[arr.length - 1] = result[2].toString();
221091
- endPath = arr.join("/");
221135
+ endPath = arr.join('/');
221092
221136
  }
221093
221137
 
221094
221138
  var oldRange = curDomRange;
@@ -221109,7 +221153,7 @@ var VueController = /*#__PURE__*/function () {
221109
221153
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221110
221154
  var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
221111
221155
  var node = curDomRange.npEnd.node;
221112
- var text = "";
221156
+ var text = '';
221113
221157
 
221114
221158
  var getText = function getText(previousNode) {
221115
221159
  if (previousNode instanceof TextNode/* TextNode */.R || previousNode instanceof LabelNode/* LabelNode */.P || previousNode instanceof DownListNode/* DownListNode */.yF) {
@@ -221208,6 +221252,7 @@ var VueController = /*#__PURE__*/function () {
221208
221252
  }, {
221209
221253
  key: "setDocCommentIsHandle",
221210
221254
  value: function setDocCommentIsHandle(status) {
221255
+ // 批量修改当前病历中批注处理状态
221211
221256
  var drawTree = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawTree;
221212
221257
  var commentsMap = drawTree.commentsMap;
221213
221258
  commentsMap.forEach(function (value, key) {
@@ -221237,7 +221282,7 @@ var VueController = /*#__PURE__*/function () {
221237
221282
  if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
221238
221283
  if (fieldNames.indexOf(node.name) === -1) {
221239
221284
  fieldNames.push(node.name);
221240
- var sameNameEles = this.getNodesByName("all", true, node.name);
221285
+ var sameNameEles = this.getNodesByName('all', true, node.name);
221241
221286
 
221242
221287
  for (var j = 0; j < sameNameEles.length; j++) {
221243
221288
  var ele = sameNameEles[j];
@@ -221254,7 +221299,7 @@ var VueController = /*#__PURE__*/function () {
221254
221299
  if (dateNames.indexOf(node.name) === -1) {
221255
221300
  dateNames.push(node.name);
221256
221301
 
221257
- var _sameNameEles = this.getNodesByName("all", true, node.name);
221302
+ var _sameNameEles = this.getNodesByName('all', true, node.name);
221258
221303
 
221259
221304
  for (var _j = 0; _j < _sameNameEles.length; _j++) {
221260
221305
  var _ele = _sameNameEles[_j];
@@ -221271,7 +221316,7 @@ var VueController = /*#__PURE__*/function () {
221271
221316
  if (downNames.indexOf(node.name) === -1) {
221272
221317
  downNames.push(node.name);
221273
221318
 
221274
- var _sameNameEles2 = this.getNodesByName("all", true, node.name);
221319
+ var _sameNameEles2 = this.getNodesByName('all', true, node.name);
221275
221320
 
221276
221321
  for (var _j2 = 0; _j2 < _sameNameEles2.length; _j2++) {
221277
221322
  var _ele2 = _sameNameEles2[_j2];
@@ -221298,11 +221343,11 @@ var VueController = /*#__PURE__*/function () {
221298
221343
  var object = objects[i];
221299
221344
  var name = object.name;
221300
221345
  var oldValue = object.oldValue;
221301
- var elements = this.getNodesByName("main", true, name);
221346
+ var elements = this.getNodesByName('main', true, name);
221302
221347
 
221303
221348
  for (var j = 0; j < elements.length; j++) {
221304
221349
  var element = elements[j];
221305
- var commentID = hoEditorFactory.gernerateCode.generateID("C");
221350
+ var commentID = hoEditorFactory.gernerateCode.generateID('C');
221306
221351
  var comment = void 0;
221307
221352
 
221308
221353
  if (element instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
@@ -221362,7 +221407,7 @@ var VueController = /*#__PURE__*/function () {
221362
221407
  for (var i = children.length - 1; i >= 0; i--) {
221363
221408
  var child = children[i];
221364
221409
 
221365
- if (child.name && child.name.indexOf("recordC") >= 0) {
221410
+ if (child.name && child.name.indexOf('recordC') >= 0) {
221366
221411
  children.splice(i, 1);
221367
221412
  }
221368
221413
  }
@@ -221417,7 +221462,7 @@ var VueController = /*#__PURE__*/function () {
221417
221462
  } // 空的医生签名
221418
221463
 
221419
221464
 
221420
- if (attribute == 0 && node.attribute === 0 && node.imgSrc === '') {
221465
+ if (attribute != 1 && node.attribute != 1 && node.imgSrc === '') {
221421
221466
  hasEmptyDoctorSign = true;
221422
221467
  break;
221423
221468
  }
@@ -221428,7 +221473,7 @@ var VueController = /*#__PURE__*/function () {
221428
221473
  getAllNodes(node.childNodes);
221429
221474
  }
221430
221475
 
221431
- if (node instanceof BaseCombineNode/* BaseCombineNode */.V && attribute === 0 && !hasEmptyDoctorSign) {
221476
+ if (node instanceof BaseCombineNode/* BaseCombineNode */.V && attribute != 0 && !hasEmptyDoctorSign) {
221432
221477
  // 医生签名不存在的情况不在深层调用深层遍历
221433
221478
  getAllNodes(node.childNodes);
221434
221479
  }
@@ -221479,6 +221524,14 @@ var VueController = /*#__PURE__*/function () {
221479
221524
  getAllNodes(mainNodes);
221480
221525
  return isHasDoctorSign;
221481
221526
  }
221527
+ }, {
221528
+ key: "setHoEditorFactoryParams",
221529
+ value: function setHoEditorFactoryParams(params) {
221530
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221531
+ Object.keys(params).forEach(function (key) {
221532
+ hoEditorFactory[key] = params[key];
221533
+ });
221534
+ }
221482
221535
  }]);
221483
221536
 
221484
221537
  return VueController;
@@ -225148,6 +225201,12 @@ var HOEditorFactory = /*#__PURE__*/function () {
225148
225201
  function HOEditorFactory(id) {
225149
225202
  (0,classCallCheck/* default */.Z)(this, HOEditorFactory);
225150
225203
 
225204
+ this._isEnabledGlobalColor = false; //是否启用全局颜色
225205
+
225206
+ this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
225207
+
225208
+ this._isCanUseTableProperty = false; //非设计模式下是否可以使用表格、单元格、行、列属性设置
225209
+
225151
225210
  this._loadImageCount = 0; // 待加载的图片数量
225152
225211
 
225153
225212
  this._loadImageCallback = null; // 图片加载完成回调
@@ -225165,10 +225224,6 @@ var HOEditorFactory = /*#__PURE__*/function () {
225165
225224
  this._lastSaveTime = new Date(Date.now());
225166
225225
  this._superiorSigns = []; //上级医生签名
225167
225226
 
225168
- this._isEnabledGlobalColor = false; //是否启用全局颜色
225169
-
225170
- this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
225171
-
225172
225227
  this._hoEditorFactoryId = id;
225173
225228
  }
225174
225229
  /**
@@ -225886,6 +225941,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
225886
225941
  this._isSameColorWithEmptyVlaue = value;
225887
225942
  }
225888
225943
  }
225944
+ }, {
225945
+ key: "isCanUseTableProperty",
225946
+ get: function get() {
225947
+ return this._isCanUseTableProperty;
225948
+ },
225949
+ set: function set(value) {
225950
+ if (this._isCanUseTableProperty !== value) {
225951
+ this._isCanUseTableProperty = value;
225952
+ }
225953
+ }
225889
225954
  }, {
225890
225955
  key: "clear",
225891
225956
  value: function clear() {
@@ -230332,15 +230397,16 @@ var UploadImageDialog_component = normalizeComponent(
230332
230397
  )
230333
230398
 
230334
230399
  /* harmony default export */ var upload_UploadImageDialog = (UploadImageDialog_component.exports);
230335
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=template&id=4c7ad5a1&scoped=true&
230336
- var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"canvas-image",class:_vm.animationClassNames,style:({ width: _vm.canvasWidth + 250 + 'px', height: _vm.canvasHeight + 150 + 'px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("编辑图片")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",attrs:{"id":"loon_canvas_editor"}},[_c('div',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"loon_canvas_editor_box"}},[_c('canvas',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"image_canvas","width":_vm.canvasWidth,"height":_vm.canvasHeight}}),(_vm.tool === 0 && _vm.textAreaStyle.width)?_c('textarea',{ref:"textCanvas",style:(_vm.textAreaStyle),attrs:{"id":"text_canvas"},on:{"blur":function($event){return _vm.drawText()}}}):_vm._e()])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"type":_vm.tool === 0 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 0}}},[_vm._v("文字")]),_c('el-button',{attrs:{"type":_vm.tool === 1 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 1}}},[_vm._v("画笔")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasUndo()}}},[_vm._v("撤销")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasRedo()}}},[_vm._v("恢复")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small","loading":_vm.uploadLoading,"type":"primary"},on:{"click":_vm.sure}},[_vm._v("保存")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
230337
- var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns = []
230400
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=template&id=1e0a2026&scoped=true&
230401
+ var CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"canvas-image",class:_vm.animationClassNames,style:({ width: _vm.canvasWidth + 250 + 'px', height: _vm.canvasHeight + 150 + 'px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("编辑图片")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",attrs:{"id":"loon_canvas_editor"}},[_c('div',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"loon_canvas_editor_box"}},[_c('canvas',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"image_canvas","width":_vm.canvasWidth,"height":_vm.canvasHeight}}),(_vm.tool === 0 && _vm.textAreaStyle.width)?_c('textarea',{ref:"textCanvas",style:(_vm.textAreaStyle),attrs:{"id":"text_canvas"},on:{"blur":function($event){return _vm.drawText()}}}):_vm._e()])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"type":_vm.tool === 0 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 0}}},[_vm._v("文字")]),_c('el-button',{attrs:{"type":_vm.tool === 1 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 1}}},[_vm._v("画笔")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasUndo()}}},[_vm._v("撤销")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasRedo()}}},[_vm._v("恢复")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small","loading":_vm.uploadLoading,"type":"primary"},on:{"click":_vm.sure}},[_vm._v("保存")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
230402
+ var CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_staticRenderFns = []
230338
230403
 
230339
230404
 
230340
230405
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83[0].rules[0].use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
230341
230406
 
230342
230407
 
230343
230408
 
230409
+
230344
230410
  //
230345
230411
  //
230346
230412
  //
@@ -230385,19 +230451,14 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230385
230451
  canvasHeight: 400,
230386
230452
  animationClassNames: 'control-modal-contents image-modal animation-in',
230387
230453
  uploadLoading: false,
230388
- eraserEnabled: false,
230389
- activeBgColor: '#fff',
230390
- ifPop: false,
230391
230454
  lWidth: 2,
230392
- opacity: 1,
230393
230455
  strokeColor: '#FF0000',
230394
- radius: 5,
230395
230456
  canvasHistory: [],
230396
230457
  step: -1,
230397
230458
  canvas: null,
230398
- textarea: null,
230399
- canvasArea: null,
230400
230459
  context: null,
230460
+ canvasArea: null,
230461
+ textarea: null,
230401
230462
  painting: false,
230402
230463
  // 定义一个变量初始化画笔状态
230403
230464
  startPoint: {
@@ -230406,7 +230467,10 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230406
230467
  },
230407
230468
  // 记录画笔最后一次的位置
230408
230469
  tool: 1,
230409
- textAreaStyle: {}
230470
+ textAreaStyle: {},
230471
+ moveDrawCount: 0,
230472
+ quadraticCurvePoints: [] // 平滑曲线数组
230473
+
230410
230474
  };
230411
230475
  },
230412
230476
  watch: {
@@ -230487,6 +230551,7 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230487
230551
  x: e.offsetX,
230488
230552
  y: e.offsetY
230489
230553
  };
230554
+ this.quadraticCurvePoints.push(this.startPoint);
230490
230555
 
230491
230556
  if (this.tool === 0) {
230492
230557
  this.textAreaStyle = {
@@ -230515,16 +230580,50 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230515
230580
 
230516
230581
  case 1:
230517
230582
  {
230518
- this.drawLine(e);
230583
+ this.quadraticCurvePoints.push({
230584
+ x: e.offsetX,
230585
+ y: e.offsetY
230586
+ });
230587
+
230588
+ if (this.quadraticCurvePoints.length > 3) {
230589
+ var lastTwoPoints = this.quadraticCurvePoints.slice(-2);
230590
+ var controlPoint = lastTwoPoints[0];
230591
+ var endPoint = {
230592
+ x: (lastTwoPoints[0].x + lastTwoPoints[1].x) / 2,
230593
+ y: (lastTwoPoints[0].y + lastTwoPoints[1].y) / 2
230594
+ };
230595
+ this.drawLine(this.startPoint, controlPoint, endPoint);
230596
+ this.startPoint = endPoint;
230597
+ }
230598
+
230519
230599
  break;
230520
230600
  }
230521
230601
  }
230602
+
230603
+ e.stopPropagation();
230604
+ e.preventDefault();
230522
230605
  },
230523
230606
  up: function up(e) {
230524
230607
  if (this.tool === 0) {
230525
230608
  this.canvas.removeEventListener('mousemove', this.move);
230526
230609
  }
230527
230610
 
230611
+ this.quadraticCurvePoints.push({
230612
+ x: e.offsetX,
230613
+ y: e.offsetY
230614
+ });
230615
+
230616
+ if (this.quadraticCurvePoints.length > 3) {
230617
+ var lastTwoPoints = this.quadraticCurvePoints.slice(-2);
230618
+ var controlPoint = lastTwoPoints[0];
230619
+ var endPoint = {
230620
+ x: (lastTwoPoints[0].x + lastTwoPoints[1].x) / 2,
230621
+ y: (lastTwoPoints[0].y + lastTwoPoints[1].y) / 2
230622
+ };
230623
+ this.drawLine(this.startPoint, controlPoint, endPoint);
230624
+ }
230625
+
230626
+ this.quadraticCurvePoints = [];
230528
230627
  this.painting = false;
230529
230628
 
230530
230629
  if (this.tool === 1) {
@@ -230559,25 +230658,30 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230559
230658
  this.textAreaStyle = {};
230560
230659
  }
230561
230660
  },
230562
- drawLine: function drawLine(e) {
230563
- if (!this.painting) return;
230661
+ drawLine: function drawLine(startPoint, controlPoint, endPoint) {
230662
+ if (!this.painting) {
230663
+ this.moveDrawCount = 0;
230664
+ return;
230665
+ } // if (this.moveDrawCount === 0) {
230666
+
230667
+
230564
230668
  this.context.beginPath();
230565
230669
  this.context.lineWidth = this.lWidth;
230566
- this.context.strokeStyle = this.strokeColor; // 设置线条末端样式。
230670
+ this.context.strokeStyle = this.strokeColor; // this.context.setLineDash([10]);
230671
+ // 设置线条末端样式。
230567
230672
 
230568
230673
  this.context.lineCap = 'round'; // 设定线条与线条间接合处的样式
230569
230674
 
230570
230675
  this.context.lineJoin = 'round';
230571
- this.context.moveTo(this.startPoint.x, this.startPoint.y);
230572
- this.context.lineTo(e.offsetX, e.offsetY);
230676
+ this.context.moveTo(startPoint.x, startPoint.y); // this.context.lineTo(e.offsetX, e.offsetY);
230677
+
230678
+ this.context.quadraticCurveTo(controlPoint.x, controlPoint.y, endPoint.x, endPoint.y);
230573
230679
  this.context.stroke();
230574
- this.context.closePath();
230575
- this.startPoint = {
230576
- x: e.offsetX,
230577
- y: e.offsetY
230578
- };
230579
- e.stopPropagation();
230580
- e.preventDefault();
230680
+ this.context.closePath(); // }
230681
+ // this.moveDrawCount++;
230682
+ // if (this.moveDrawCount >= 3) {
230683
+ // this.moveDrawCount = 0;
230684
+ // }
230581
230685
  },
230582
230686
  // 绘制方法
230583
230687
  canvasDraw: function canvasDraw() {
@@ -230646,10 +230750,10 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230646
230750
  });
230647
230751
  ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
230648
230752
  /* harmony default export */ var upload_CanvasImageDialogvue_type_script_lang_js_ = (CanvasImageDialogvue_type_script_lang_js_);
230649
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=4c7ad5a1&lang=scss&scoped=true&
230753
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=1e0a2026&lang=scss&scoped=true&
230650
230754
  // extracted by mini-css-extract-plugin
230651
230755
 
230652
- ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=4c7ad5a1&lang=scss&scoped=true&
230756
+ ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=1e0a2026&lang=scss&scoped=true&
230653
230757
 
230654
230758
  ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue
230655
230759
 
@@ -230662,11 +230766,11 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230662
230766
 
230663
230767
  var CanvasImageDialog_component = normalizeComponent(
230664
230768
  upload_CanvasImageDialogvue_type_script_lang_js_,
230665
- CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_render,
230666
- CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns,
230769
+ CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_render,
230770
+ CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_staticRenderFns,
230667
230771
  false,
230668
230772
  null,
230669
- "4c7ad5a1",
230773
+ "1e0a2026",
230670
230774
  null
230671
230775
 
230672
230776
  )
@@ -231251,9 +231355,9 @@ var TableProperty_component = normalizeComponent(
231251
231355
  )
231252
231356
 
231253
231357
  /* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
231254
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=316f7a71&scoped=true&
231255
- var TableRowPropertyvue_type_template_id_316f7a71_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格行属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyHeight),callback:function ($$v) {_vm.isSpecifyHeight=$$v},expression:"isSpecifyHeight"}},[_vm._v("指定高度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyHeight,"precision":2,"step":1,"min":0,"controls":false,"controls-position":"right"},model:{value:(_vm.rowHeight),callback:function ($$v) {_vm.rowHeight=$$v},expression:"rowHeight"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示高度 "+_vm._s(_vm.rowHeightMm)+" 厘米")])],1),_c('li',{staticClass:"control-item",staticStyle:{"padding":"0 0 0 10px"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.isSpecifyHeight},model:{value:(_vm.isLockRowHeight),callback:function ($$v) {_vm.isLockRowHeight=$$v},expression:"isLockRowHeight"}},[_vm._v("锁定行高")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.repeatAsTitleAtPageTop),callback:function ($$v) {_vm.repeatAsTitleAtPageTop=$$v},expression:"repeatAsTitleAtPageTop"}},[_vm._v("在隔页顶端以标题行形式重复出现")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.sameLineCanAcrossPages),callback:function ($$v) {_vm.sameLineCanAcrossPages=$$v},expression:"sameLineCanAcrossPages"}},[_vm._v("同行内容能跨页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.forcedPageBreak),callback:function ($$v) {_vm.forcedPageBreak=$$v},expression:"forcedPageBreak"}},[_vm._v("强制分页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBorders),callback:function ($$v) {_vm.printCellBorders=$$v},expression:"printCellBorders"}},[_vm._v("打印单元格边框线")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBg),callback:function ($$v) {_vm.printCellBg=$$v},expression:"printCellBg"}},[_vm._v("打印单元格背景")])],1)])])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
231256
- var TableRowPropertyvue_type_template_id_316f7a71_scoped_true_staticRenderFns = []
231358
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=c8198e42&scoped=true&
231359
+ var TableRowPropertyvue_type_template_id_c8198e42_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格行属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyHeight),callback:function ($$v) {_vm.isSpecifyHeight=$$v},expression:"isSpecifyHeight"}},[_vm._v("指定高度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyHeight,"precision":2,"step":1,"min":0,"controls":false,"controls-position":"right"},model:{value:(_vm.rowHeight),callback:function ($$v) {_vm.rowHeight=$$v},expression:"rowHeight"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示高度 "+_vm._s(_vm.rowHeightMm)+" 厘米")])],1),_c('li',{staticClass:"control-item",staticStyle:{"padding":"0 0 0 10px"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.isSpecifyHeight},model:{value:(_vm.isLockRowHeight),callback:function ($$v) {_vm.isLockRowHeight=$$v},expression:"isLockRowHeight"}},[_vm._v("锁定行高")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.repeatAsTitleAtPageTop),callback:function ($$v) {_vm.repeatAsTitleAtPageTop=$$v},expression:"repeatAsTitleAtPageTop"}},[_vm._v("在隔页顶端以标题行形式重复出现")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.sameLineCanAcrossPages),callback:function ($$v) {_vm.sameLineCanAcrossPages=$$v},expression:"sameLineCanAcrossPages"}},[_vm._v("同行内容能跨页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.forcedPageBreak),callback:function ($$v) {_vm.forcedPageBreak=$$v},expression:"forcedPageBreak"}},[_vm._v("强制分页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBorders),callback:function ($$v) {_vm.printCellBorders=$$v},expression:"printCellBorders"}},[_vm._v("打印单元格边框线")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBg),callback:function ($$v) {_vm.printCellBg=$$v},expression:"printCellBg"}},[_vm._v("打印单元格背景")])],1)])])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
231360
+ var TableRowPropertyvue_type_template_id_c8198e42_scoped_true_staticRenderFns = []
231257
231361
 
231258
231362
 
231259
231363
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=script&lang=ts&
@@ -231504,10 +231608,10 @@ TableRowPoperty = __decorate([vue_class_component_esm({
231504
231608
  /* harmony default export */ var TableRowPropertyvue_type_script_lang_ts_ = (TableRowPoperty);
231505
231609
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=script&lang=ts&
231506
231610
  /* harmony default export */ var table_TableRowPropertyvue_type_script_lang_ts_ = (TableRowPropertyvue_type_script_lang_ts_);
231507
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=316f7a71&lang=scss&scoped=true&
231611
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=c8198e42&lang=scss&scoped=true&
231508
231612
  // extracted by mini-css-extract-plugin
231509
231613
 
231510
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=316f7a71&lang=scss&scoped=true&
231614
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=c8198e42&lang=scss&scoped=true&
231511
231615
 
231512
231616
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue
231513
231617
 
@@ -231520,11 +231624,11 @@ TableRowPoperty = __decorate([vue_class_component_esm({
231520
231624
 
231521
231625
  var TableRowProperty_component = normalizeComponent(
231522
231626
  table_TableRowPropertyvue_type_script_lang_ts_,
231523
- TableRowPropertyvue_type_template_id_316f7a71_scoped_true_render,
231524
- TableRowPropertyvue_type_template_id_316f7a71_scoped_true_staticRenderFns,
231627
+ TableRowPropertyvue_type_template_id_c8198e42_scoped_true_render,
231628
+ TableRowPropertyvue_type_template_id_c8198e42_scoped_true_staticRenderFns,
231525
231629
  false,
231526
231630
  null,
231527
- "316f7a71",
231631
+ "c8198e42",
231528
231632
  null
231529
231633
 
231530
231634
  )
@@ -233694,6 +233798,10 @@ BackgroundMixins = __decorate([vue_class_component_esm], BackgroundMixins);
233694
233798
 
233695
233799
 
233696
233800
 
233801
+
233802
+
233803
+
233804
+
233697
233805
  var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233698
233806
  (0,inherits/* default */.Z)(FontStyleMixin, _Vue);
233699
233807
 
@@ -233706,29 +233814,127 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233706
233814
 
233707
233815
  _this = _super.apply(this, arguments);
233708
233816
  _this.textStyle = {
233709
- font: "宋体",
233817
+ font: '宋体',
233710
233818
  size: 14,
233711
233819
  bold: false,
233712
233820
  italic: false,
233713
233821
  script: 0,
233714
233822
  underline: false,
233715
233823
  strikeout: false,
233716
- backColor: "transparent",
233717
- color: "#000000",
233824
+ backColor: 'transparent',
233825
+ color: '#000000',
233718
233826
  aligned: 'both',
233719
233827
  lineSpace: 1.25,
233720
233828
  canAddRow: false,
233721
233829
  canDeleteRow: false
233722
233830
  };
233723
- _this.aligned = ["left", "right", "center", "both"];
233831
+ _this.aligned = ['left', 'right', 'center', 'both'];
233724
233832
  return _this;
233725
233833
  }
233726
233834
 
233727
233835
  (0,createClass/* default */.Z)(FontStyleMixin, [{
233836
+ key: "getTableNodeInfo",
233837
+ value: function getTableNodeInfo(nodes) {
233838
+ var info = null;
233839
+
233840
+ var isFn = function isFn(nodes) {
233841
+ if ((nodes === null || nodes === void 0 ? void 0 : nodes.parentNode) !== null && nodes !== null && nodes !== void 0 && nodes.parentNode) {
233842
+ if (nodes.parentNode instanceof CellNode/* CellNode */.D) {
233843
+ info = {
233844
+ cellNode: nodes.parentNode,
233845
+ tableNode: nodes.parentNode.parentNode,
233846
+ colInfo: nodes.parentNode.table.colInfos[nodes.parentNode.row.indexOf(nodes.parentNode)],
233847
+ rowInfo: nodes.parentNode.table.rowInfos[nodes.parentNode.table.rows.indexOf(nodes.parentNode.row)]
233848
+ };
233849
+ } else {
233850
+ isFn(nodes.parentNode);
233851
+ }
233852
+ }
233853
+
233854
+ return;
233855
+ };
233856
+
233857
+ if (nodes instanceof CellNode/* CellNode */.D) {
233858
+ info = {
233859
+ cellNode: nodes,
233860
+ tableNode: nodes.parentNode,
233861
+ colInfo: nodes.table.colInfos[nodes.row.indexOf(nodes)],
233862
+ rowInfo: nodes.table.rowInfos[nodes.table.rows.indexOf(nodes.row)]
233863
+ };
233864
+ } else {
233865
+ isFn(nodes);
233866
+ }
233867
+
233868
+ return info;
233869
+ }
233870
+ }, {
233871
+ key: "createTable",
233872
+ value: function createTable(hoEditorFactory, nodes) {
233873
+ var tableNodeInfo = this.getTableNodeInfo(nodes === null || nodes === void 0 ? void 0 : nodes.node);
233874
+
233875
+ if (tableNodeInfo) {
233876
+ var _dPage$drawDomLevel;
233877
+
233878
+ var dPage = hoEditorFactory.drawTree.drawPages[hoEditorFactory.drawTree.caret.pageIndex];
233879
+ var dPageElementNode = (_dPage$drawDomLevel = dPage.drawDomLevel) === null || _dPage$drawDomLevel === void 0 ? void 0 : _dPage$drawDomLevel.domCanvas.parentElement;
233880
+ var tableBounds = {
233881
+ x: hoEditorFactory.pageProperty.leftMarginPixes + tableNodeInfo.tableNode.drawTable.x,
233882
+ y: 0,
233883
+ width: tableNodeInfo.tableNode.drawTable.dWidth,
233884
+ height: 0,
233885
+ cellWidth: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dWidth,
233886
+ cellHeight: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dHeight,
233887
+ cellY: 20,
233888
+ cellX: 0
233889
+ }; // 取当前页的表格 处理跨页情况
233890
+
233891
+ var drawPageTables = tableNodeInfo.tableNode.drawTable.drawPageTables;
233892
+ var drawPageCells = tableNodeInfo.cellNode.drawCell.drawPageCells;
233893
+ tableBounds.cellX = drawPageCells[0].x + 20;
233894
+ tableBounds.cellY = drawPageCells[0].y + 20;
233895
+ tableBounds.cellWidth = drawPageCells[0].dWidth;
233896
+ tableBounds.cellHeight = drawPageCells[0].dHeight;
233897
+ drawPageTables.forEach(function (v, key) {
233898
+ if (v.parent.pageIndex === dPage.drawMainDoc.pageIndex) {
233899
+ tableBounds.height = v.dHeight;
233900
+ tableBounds.y = dPage.drawMainDoc.y + v.dTop;
233901
+
233902
+ if (drawPageCells.length === drawPageTables.length) {
233903
+ tableBounds.cellHeight = drawPageCells[key].dHeight;
233904
+ }
233905
+ }
233906
+ });
233907
+ var aDiv = document.createElement('div');
233908
+ aDiv.id = 'ho_table_auxiliary';
233909
+ aDiv.style.position = 'absolute';
233910
+ aDiv.style.left = hoEditorFactory.pageProperty.leftMarginPixes - 20 + 'px';
233911
+ aDiv.style.top = tableBounds.y - 20 + 'px';
233912
+ aDiv.style.height = hoEditorFactory.pageProperty.heightPixes - tableBounds.y - hoEditorFactory.pageProperty.footerYPixes + 'px';
233913
+ aDiv.innerHTML = "\n <div id=\"ho_table_auxiliary_left\" style=\"height: ".concat(tableBounds.height, "px\"></div>\n <div id=\"ho_table_auxiliary_left_active\" style=\"height: ").concat(tableBounds.cellHeight, "px; top: ").concat(tableBounds.cellY, "px;\"></div>\n ");
233914
+ /**
233915
+ * 上方隐藏 只处理左侧提示
233916
+ `
233917
+ <div id="ho_table_auxiliary_top" style="width: ${tableBounds.width}px"></div>
233918
+ <div id="ho_table_auxiliary_top_active" style="width: ${tableBounds.cellWidth}px;left: ${tableBounds.cellX}px;"></div>
233919
+ `
233920
+ */
233921
+
233922
+ dPageElementNode === null || dPageElementNode === void 0 ? void 0 : dPageElementNode.appendChild(aDiv);
233923
+ }
233924
+ }
233925
+ }, {
233728
233926
  key: "setFontStyle",
233729
233927
  value: function setFontStyle(hoEditorFactory) {
233730
233928
  var _nodes$node;
233731
233929
 
233930
+ var elementNode = document.querySelector('#ho_table_auxiliary');
233931
+
233932
+ if (elementNode) {
233933
+ var _elementNode$parentEl;
233934
+
233935
+ (_elementNode$parentEl = elementNode.parentElement) === null || _elementNode$parentEl === void 0 ? void 0 : _elementNode$parentEl.removeChild(elementNode);
233936
+ }
233937
+
233732
233938
  var vueControllers = hoEditorFactory.vueController;
233733
233939
  var path = vueControllers.getCaretPosition();
233734
233940
  var nodes = vueControllers.findNodebyPath(path);
@@ -233759,6 +233965,10 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233759
233965
  };
233760
233966
  }
233761
233967
 
233968
+ if (hoEditorFactory.isCanUseTableProperty && nodes) {
233969
+ this.createTable(hoEditorFactory, nodes);
233970
+ }
233971
+
233762
233972
  vueControllers.getCurTextStyle();
233763
233973
  this.textStyle = _objectSpread2({
233764
233974
  font: vueControllers.combineStyle.font !== undefined ? vueControllers.combineStyle.font : this.textStyle.font,
@@ -234233,6 +234443,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
234233
234443
  return null;
234234
234444
  };
234235
234445
 
234446
+ nodeInfoes.isCanUseTableProperty = hoEditorFactory.isCanUseTableProperty;
234236
234447
  this.$emit('rightClickEvent', nodeInfoes);
234237
234448
  }
234238
234449
  /**
@@ -240188,7 +240399,8 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240188
240399
  _this$rightNode14,
240189
240400
  _this$rightNode15,
240190
240401
  _this$rightNode16,
240191
- _this$rightNode17;
240402
+ _this$rightNode17,
240403
+ _this$rightNode18;
240192
240404
 
240193
240405
  var h = arguments[0];
240194
240406
  return h("div", {
@@ -240308,7 +240520,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240308
240520
  return _this4.toUpdateNodes("text", event);
240309
240521
  }
240310
240522
  }
240311
- }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$rightNode13 = this.rightNode) === null || _this$rightNode13 === void 0 ? void 0 : _this$rightNode13.rightTypeIsTable) && this.defaultTable && ((_this$rightNode14 = this.rightNode) === null || _this$rightNode14 === void 0 ? void 0 : _this$rightNode14.paintStatus) === 0 || this.emrDebug) && h("ul", {
240523
+ }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$rightNode13 = this.rightNode) === null || _this$rightNode13 === void 0 ? void 0 : _this$rightNode13.rightTypeIsTable) && this.defaultTable && (((_this$rightNode14 = this.rightNode) === null || _this$rightNode14 === void 0 ? void 0 : _this$rightNode14.paintStatus) === 0 || ((_this$rightNode15 = this.rightNode) === null || _this$rightNode15 === void 0 ? void 0 : _this$rightNode15.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
240312
240524
  "class": "mouse-right-menu"
240313
240525
  }, [h("li", {
240314
240526
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -240340,7 +240552,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240340
240552
  return _this4.toUpdateNodes("table-cell", event);
240341
240553
  }
240342
240554
  }
240343
- }, ["\u5355\u5143\u683C\u5C5E\u6027"])]), ((_this$rightNode15 = this.rightNode) === null || _this$rightNode15 === void 0 ? void 0 : _this$rightNode15.rightTypeIsTable) && this.defaultTable && h("ul", {
240555
+ }, ["\u5355\u5143\u683C\u5C5E\u6027"])]), ((_this$rightNode16 = this.rightNode) === null || _this$rightNode16 === void 0 ? void 0 : _this$rightNode16.rightTypeIsTable) && this.defaultTable && h("ul", {
240344
240556
  "class": "mouse-right-menu"
240345
240557
  }, [h("li", {
240346
240558
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -240354,7 +240566,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240354
240566
  table: this.defaultTable,
240355
240567
  tableProperty: this.rightNode.tableProperty
240356
240568
  })
240357
- })]), ((_this$rightNode16 = this.rightNode) === null || _this$rightNode16 === void 0 ? void 0 : _this$rightNode16.canShowComment) && h("ul", {
240569
+ })]), ((_this$rightNode17 = this.rightNode) === null || _this$rightNode17 === void 0 ? void 0 : _this$rightNode17.canShowComment) && h("ul", {
240358
240570
  "class": "mouse-right-menu"
240359
240571
  }, [h("li", {
240360
240572
  "class": "mouse-menu-item",
@@ -240363,7 +240575,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240363
240575
  return _this4.hideComments();
240364
240576
  }
240365
240577
  }
240366
- }, [(_this$rightNode17 = this.rightNode) !== null && _this$rightNode17 !== void 0 && _this$rightNode17.isHideComments ? "显示" : "隐藏", "\u6279\u6CE8"])]), h("ul", {
240578
+ }, [(_this$rightNode18 = this.rightNode) !== null && _this$rightNode18 !== void 0 && _this$rightNode18.isHideComments ? "显示" : "隐藏", "\u6279\u6CE8"])]), h("ul", {
240367
240579
  "class": "mouse-right-menu"
240368
240580
  }, [h("li", {
240369
240581
  "class": "mouse-menu-item"