hoeditor-web 3.1.8 → 3.1.9

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.
@@ -43367,14 +43367,6 @@ var DocController = /*#__PURE__*/function () {
43367
43367
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_78__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
43368
43368
  var startPath = domRange.startPath;
43369
43369
  var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
43370
- // if (type == 1 && imgSrc != "" && imgWidth > 0 && parentNode instanceof CellNode) {
43371
- // const cellWidth = parentNode.drawCell.dWidth;
43372
- // //const cellHeight = parentNode.drawCell.dHeight;
43373
- // if (cellWidth < imgWidth) {
43374
- // //imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
43375
- // imgWidth = cellWidth;
43376
- // }
43377
- // }
43378
43370
  var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__/* .SignNode */ .N(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_25__/* .NodeType */ .Jq.ntSign, 1, type, name, 0, "医师签名", signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, false, hoEditorFactory.docTree.curStyleIndex, undefined, undefined, undefined, fingerPrintSrc, fingerPosition);
43379
43371
  //插入该表达式节点
43380
43372
  hoEditorFactory.undoService.begin();
@@ -61018,16 +61010,16 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
61018
61010
  _this._styleIndex = hoEditorFactory.docTree.curStyleIndex;
61019
61011
  }
61020
61012
  _this._connectMode = connectMode;
61021
- if (isFront !== undefined) {
61013
+ // if (isFront !== undefined) {
61014
+ // this._isFront = isFront;
61015
+ // }
61016
+ // if (allowEditSignTime !== undefined) {
61017
+ // this._allowEditSignTime = allowEditSignTime;
61018
+ // }
61019
+ if (signType === 1 && type !== 1) {
61022
61020
  _this._isFront = isFront;
61023
- }
61024
- if (allowEditSignTime !== undefined) {
61025
61021
  _this._allowEditSignTime = allowEditSignTime;
61026
61022
  }
61027
- // if (signType === 1 && type !== 1) {
61028
- // this._isFront = isFront as boolean;
61029
- // this._allowEditSignTime = allowEditSignTime as boolean;
61030
- // }
61031
61023
  _this._otherProperties = new Object();
61032
61024
  _this._customProperty = new Object();
61033
61025
  var assignvalue = function assignvalue(target, source) {
@@ -78428,7 +78420,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
78428
78420
  /*
78429
78421
  * @Author: your name
78430
78422
  * @Date: 2021-09-01 16:51:49
78431
- * @LastEditTime: 2023-09-05 16:39:23
78423
+ * @LastEditTime: 2023-09-07 15:16:20
78432
78424
  * @LastEditors: liyanan 2441631434@qq.com
78433
78425
  * @Description: In User Settings Edit
78434
78426
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
@@ -78930,14 +78922,11 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
78930
78922
  bitmap.setBounds(0, 0, drawNode.dWidth, drawNode.dHeight);
78931
78923
  if (_this3.number === 1) {
78932
78924
  bitmap.x = 0;
78933
- _this3.addChildAt(bitmap, 0);
78934
78925
  } else {
78935
78926
  if (isFront) {
78936
78927
  bitmap.x = 0;
78937
- _this3.addChildAt(bitmap, 0);
78938
78928
  } else {
78939
78929
  bitmap.x = _this3._drawText.getMeasuredWidth();
78940
- _this3.addChild(bitmap);
78941
78930
  }
78942
78931
  }
78943
78932
  if (_this3.attribute === 2 && _this3.abi02 !== "") {
@@ -78997,6 +78986,12 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
78997
78986
  }
78998
78987
  _this3.addChild(_this3._drawDate);
78999
78988
  }
78989
+ } else {
78990
+ if (bitmap.x === 0) {
78991
+ _this3.addChildAt(bitmap, 0);
78992
+ } else {
78993
+ _this3.addChild(bitmap);
78994
+ }
79000
78995
  }
79001
78996
  }
79002
78997
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_12__/* .HOEditorFactorys */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
@@ -79075,6 +79070,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
79075
79070
  } else {
79076
79071
  bitmap.setTransform(bitmap.x, -drawNode.dHeight, width / hitWidth, drawNode.dHeight / hitHeight);
79077
79072
  }
79073
+ // if (isFront) {
79074
+ // this.drawConnectChar(isFront);
79075
+ // }
79078
79076
  var hitArea = new createjs.Shape();
79079
79077
  hitArea.graphics.beginFill('#000').drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
79080
79078
  bitmap.hitArea = hitArea;
@@ -79089,7 +79087,23 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
79089
79087
  }
79090
79088
  }
79091
79089
  hoEditorFactory.drawPageTree.updateDrawPage(dArea.index);
79090
+ //重绘 处理图片多人签名显示重叠
79091
+ // if (isFront) {
79092
+ // if (this.node.parentNode instanceof CellNode) {
79093
+ // this.node.parentNode.drawCell.needUpdate = true;
79094
+ // this.node.parentNode.table.update();
79095
+ // } else {
79096
+ // const path = (this.node.previousLeaf() as BaseNode).getNodePath();
79097
+ // const bpath = this.node.getNodePath();
79098
+ // const changeEvent = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daUndoInsert, path, bpath);
79099
+ // changeEvent.oldEndPath = path;
79100
+ // changeEvent.afterChangePath = bpath;
79101
+ // changeEvent.oldDrawTreeLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawTreeLines(path, bpath);
79102
+ // hoEditorFactory.docTree.change(changeEvent);
79103
+ // }
79104
+ // }
79092
79105
  }
79106
+
79093
79107
  hoEditorFactory.loadImageCount--;
79094
79108
  };
79095
79109
  if (_this3.imgSrc.includes("data:image/jpeg") || _this3.imgSrc.includes("data:image/jpg") || _this3.imgSrc.includes(".jpg") || _this3.imgSrc.includes(".jpeg")) {
@@ -79143,8 +79157,12 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
79143
79157
  _this3.addChild(aText);
79144
79158
  }
79145
79159
  }
79160
+ // if (isFront) {
79161
+ // this.drawConnectChar(isFront);
79162
+ // }
79146
79163
  }
79147
79164
  };
79165
+
79148
79166
  if (this.number === 0) {
79149
79167
  var drawText1 = new createjs.Text(this.signName, this.textStyle, '#838586');
79150
79168
  drawText1.textBaseline = 'alphabetic';
@@ -79160,11 +79178,11 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
79160
79178
  } else {
79161
79179
  var isFront = this.node.isFront;
79162
79180
  if (isFront) {
79163
- drawSign(isFront);
79164
- this.drawConnectChar(isFront);
79181
+ drawSign(true);
79182
+ this.drawConnectChar(true);
79165
79183
  } else {
79166
- this.drawConnectChar(isFront);
79167
- drawSign(isFront);
79184
+ this.drawConnectChar(false);
79185
+ drawSign(false);
79168
79186
  }
79169
79187
  }
79170
79188
  }
@@ -79176,9 +79194,11 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
79176
79194
  if (connectMode === '/') {
79177
79195
  if (this.type === 1) {
79178
79196
  if (isFront) {
79179
- line.graphics.beginStroke('#000000').moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 0).lineTo(this.dWidth, -this.dHeight);
79197
+ line.graphics.clear().beginStroke('#000000').moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 0).lineTo(this.dWidth, -this.dHeight);
79198
+ this.addChild(line);
79180
79199
  } else {
79181
- line.graphics.beginStroke('#000000').moveTo(0, 0).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight);
79200
+ line.graphics.clear().beginStroke('#000000').moveTo(0, 0).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight);
79201
+ this.addChildAt(line);
79182
79202
  }
79183
79203
  } else {
79184
79204
  var signArr = this.imgSrc.split('\n');
@@ -79190,12 +79210,13 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
79190
79210
  }
79191
79211
  }
79192
79212
  if (isFront) {
79193
- line.graphics.beginStroke('#000000').moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -theHeight - 2);
79213
+ line.graphics.beginStroke('#000000').clear().moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -theHeight - 2);
79214
+ this.addChild(line);
79194
79215
  } else {
79195
- line.graphics.beginStroke('#000000').moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -theHeight - 2);
79216
+ line.graphics.beginStroke('#000000').clear().moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -theHeight - 2);
79217
+ this.addChildAt(line);
79196
79218
  }
79197
79219
  }
79198
- this.addChildAt(line);
79199
79220
  } else if (connectMode === '换行') {
79200
79221
  return;
79201
79222
  } else {
@@ -214423,8 +214444,8 @@ var es_string_match = __webpack_require__(4723);
214423
214444
  var es_number_constructor = __webpack_require__(9653);
214424
214445
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
214425
214446
  var es_json_stringify = __webpack_require__(38862);
214426
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=57fcb250&
214427
- var HoDocvue_type_template_id_57fcb250_render = function render() {
214447
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=9bd6cea8&
214448
+ var HoDocvue_type_template_id_9bd6cea8_render = function render() {
214428
214449
  var _vm = this,
214429
214450
  _c = _vm._self._c;
214430
214451
  return _c('div', {
@@ -214572,7 +214593,7 @@ var HoDocvue_type_template_id_57fcb250_render = function render() {
214572
214593
  }
214573
214594
  }, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
214574
214595
  };
214575
- var HoDocvue_type_template_id_57fcb250_staticRenderFns = [];
214596
+ var HoDocvue_type_template_id_9bd6cea8_staticRenderFns = [];
214576
214597
 
214577
214598
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
214578
214599
  var es_array_filter = __webpack_require__(57327);
@@ -217572,7 +217593,7 @@ var TextNode = __webpack_require__(27198);
217572
217593
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
217573
217594
  var ParagraphNode = __webpack_require__(67945);
217574
217595
  ;// CONCATENATED MODULE: ./src/components/version.ts
217575
- /* harmony default export */ var version = ('3.1.8');
217596
+ /* harmony default export */ var version = ('3.1.9');
217576
217597
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
217577
217598
  var PoperTipText = __webpack_require__(50987);
217578
217599
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -218113,7 +218134,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
218113
218134
  var text = node.text.replace(/ /g, '');
218114
218135
  var lists = (_parentNode$downListP = _parentNode.downListProperty) !== null && _parentNode$downListP !== void 0 && _parentNode$downListP.listItems ? JSON.parse((_parentNode$downListP2 = _parentNode.downListProperty) === null || _parentNode$downListP2 === void 0 ? void 0 : _parentNode$downListP2.listItems) : [];
218115
218136
  var allowMultiSelected = ((_parentNode$downListP3 = _parentNode.downListProperty) === null || _parentNode$downListP3 === void 0 ? void 0 : _parentNode$downListP3.allowMultiSelected) || false;
218116
- if (text != node.parentNode.name && text !== '' && !allowMultiSelected && lists.length > 0) {
218137
+ var childs = _parentNode.childNodes.filter(function (v) {
218138
+ return v.nodeType != 5 && v.nodeType != 2;
218139
+ });
218140
+ if (childs.length > 0 && text != _parentNode.name && text !== '' && !allowMultiSelected && lists.length > 0) {
218117
218141
  if (lists.filter(function (v) {
218118
218142
  return v.text.includes('<元素>');
218119
218143
  }).length > 0) {
@@ -218329,10 +218353,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
218329
218353
  });
218330
218354
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
218331
218355
  /* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
218332
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=57fcb250&prod&lang=less&
218356
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=9bd6cea8&prod&lang=less&
218333
218357
  // extracted by mini-css-extract-plugin
218334
218358
 
218335
- ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=57fcb250&prod&lang=less&
218359
+ ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=9bd6cea8&prod&lang=less&
218336
218360
 
218337
218361
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue
218338
218362
 
@@ -218345,8 +218369,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
218345
218369
 
218346
218370
  var HoDoc_component = (0,componentNormalizer/* default */.Z)(
218347
218371
  components_HoDocvue_type_script_lang_js_,
218348
- HoDocvue_type_template_id_57fcb250_render,
218349
- HoDocvue_type_template_id_57fcb250_staticRenderFns,
218372
+ HoDocvue_type_template_id_9bd6cea8_render,
218373
+ HoDocvue_type_template_id_9bd6cea8_staticRenderFns,
218350
218374
  false,
218351
218375
  null,
218352
218376
  null,
@@ -220756,7 +220780,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
220756
220780
  var widthNum = 0;
220757
220781
  var width = jquery_default()(td).css('width');
220758
220782
  if (width == '0px' || width == '0pt' || width == '0') {
220759
- width = jquery_default()(td).attr('width') || '30';
220783
+ width = '30px';
220760
220784
  }
220761
220785
  if (width) {
220762
220786
  if (width.indexOf('pt') >= 0) {
@@ -220806,6 +220830,22 @@ var HTMLconverter2 = /*#__PURE__*/function () {
220806
220830
  var colInfo = new TableNode/* ColInfos */.ZE(tableNode, width, colProperty);
220807
220831
  colInfos.push(colInfo);
220808
220832
  }
220833
+ var isResetColWidth = true;
220834
+ var c1Width = colInfos[0].colWidth;
220835
+ for (var c = 1; c < colInfos.length; c++) {
220836
+ if (colInfos[c].colWidth !== c1Width) {
220837
+ isResetColWidth = false;
220838
+ break;
220839
+ }
220840
+ }
220841
+ if (isResetColWidth) {
220842
+ for (var ci = 0; ci < colInfos.length; ci++) {
220843
+ var parentWidth = tableNode.getParentWidth();
220844
+ //整个页面宽度减掉边框占位宽度 除以 列数
220845
+ var aWidth = Math.floor((parentWidth - tableNode.borderWidth * 2) / colInfos.length);
220846
+ colInfos[ci].colWidth = aWidth;
220847
+ }
220848
+ }
220809
220849
  //console.log(maxtr)
220810
220850
  //if (!maxtr)
220811
220851
  //throw new Error('表格中没有发现列');
@@ -232294,17 +232334,43 @@ var VueController = /*#__PURE__*/function () {
232294
232334
  }
232295
232335
  }, {
232296
232336
  key: "importWordFile",
232297
- value: function importWordFile(fileStr) {
232298
- var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
232299
- hoEditorFactory.docController.initBlankDoc();
232300
- hoEditorFactory.drawTree.inViewPages = [0];
232301
- hoEditorFactory.undoService.stack = [];
232302
- fileStr = fileStr.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\ud800-\udfff\ufffe\uffff]/g, "");
232303
- var nodes = hoEditorFactory.structureNode.Parse(StructureNode/* ClipboardType */.Y6.ctHTML, fileStr);
232304
- hoEditorFactory.docTree.curDomRange.setSamePath("main/0");
232305
- hoEditorFactory.drawTree.moveCaretToPath("main/0");
232306
- hoEditorFactory.docController.parseNodeData(nodes);
232307
- }
232337
+ value: function () {
232338
+ var _importWordFile = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee10(fileStr) {
232339
+ var hoEditorFactory, _curDomRange, startPath, endPath, changingEvent, nodes;
232340
+ return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee10$(_context11) {
232341
+ while (1) switch (_context11.prev = _context11.next) {
232342
+ case 0:
232343
+ hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
232344
+ hoEditorFactory.isThrowError = false;
232345
+ _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
232346
+ startPath = _curDomRange.normalize().startPath;
232347
+ endPath = _curDomRange.normalize().endPath;
232348
+ changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType */.y.openLocalFiles);
232349
+ if (!hoEditorFactory.docTree.changing(changingEvent)) {
232350
+ _context11.next = 14;
232351
+ break;
232352
+ }
232353
+ _context11.next = 9;
232354
+ return hoEditorFactory.docController.initBlankDoc();
232355
+ case 9:
232356
+ hoEditorFactory.drawTree.inViewPages = [0];
232357
+ hoEditorFactory.openXmled = true;
232358
+ fileStr = fileStr.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\ud800-\udfff\ufffe\uffff]/g, "");
232359
+ nodes = hoEditorFactory.structureNode.Parse(StructureNode/* ClipboardType */.Y6.ctHTML, fileStr);
232360
+ hoEditorFactory.docController.parseNodeData(nodes);
232361
+ case 14:
232362
+ hoEditorFactory.undoService.stack = [];
232363
+ case 15:
232364
+ case "end":
232365
+ return _context11.stop();
232366
+ }
232367
+ }, _callee10, this);
232368
+ }));
232369
+ function importWordFile(_x25) {
232370
+ return _importWordFile.apply(this, arguments);
232371
+ }
232372
+ return importWordFile;
232373
+ }()
232308
232374
  }, {
232309
232375
  key: "canIsEdit",
232310
232376
  value: function canIsEdit() {
@@ -232912,6 +232978,8 @@ var DomController = /*#__PURE__*/function () {
232912
232978
 
232913
232979
 
232914
232980
 
232981
+
232982
+
232915
232983
 
232916
232984
 
232917
232985
 
@@ -233406,6 +233474,9 @@ var EditController = /*#__PURE__*/function () {
233406
233474
  key: "canIsEdit",
233407
233475
  value: function canIsEdit(hoEditorFactory) {
233408
233476
  var result = true;
233477
+ if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState */.Dh.psDesign) {
233478
+ return result;
233479
+ }
233409
233480
  //hoEditorFactory.isUseForm = true;
233410
233481
  //hoEditorFactory.allowEditCellInForm = false;
233411
233482
  var curDomRange = hoEditorFactory.docTree.curDomRange.normalize(); //获取当前选中区域
@@ -233428,12 +233499,12 @@ var EditController = /*#__PURE__*/function () {
233428
233499
  result = false;
233429
233500
  }
233430
233501
  if (!hoEditorFactory.allowEditCellInForm) {
233431
- if ((enode === null || enode === void 0 ? void 0 : enode.parentNode) instanceof CellNode/* CellNode */.D) {
233502
+ if ((enode === null || enode === void 0 ? void 0 : enode.parentNode) instanceof CellNode/* CellNode */.D && !(enode instanceof DateTimeNode/* DateTimeNode */.Z) && !(enode instanceof DownListNode/* DownListNode */.yF) && !(enode instanceof SignNode/* SignNode */.N)) {
233432
233503
  result = false;
233433
233504
  }
233434
233505
  }
233435
233506
  }
233436
- if (result && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState */.Dh.psDesign) {
233507
+ if (result) {
233437
233508
  var pNode = hoEditorFactory.docTree.getFinalParentNode(curDomRange.startPath);
233438
233509
  if (pNode && pNode instanceof CellNode/* CellNode */.D) {
233439
233510
  if (pNode.table.tableProperty.isSignLock && pNode.table.tableProperty.isLock) {