hoeditor-web 3.1.92 → 3.1.94

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.
@@ -33076,6 +33076,8 @@ var assertThisInitialized = __webpack_require__(75808);
33076
33076
  var get = __webpack_require__(52060);
33077
33077
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
33078
33078
  var getPrototypeOf = __webpack_require__(27967);
33079
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
33080
+ var es_function_name = __webpack_require__(68309);
33079
33081
  // EXTERNAL MODULE: ./src/editor/utils/DrawSimpleText.ts
33080
33082
  var DrawSimpleText = __webpack_require__(57590);
33081
33083
  ;// CONCATENATED MODULE: ./src/editor/draw/drawPrint/DrawPrintRecord.ts
@@ -33087,6 +33089,7 @@ var DrawSimpleText = __webpack_require__(57590);
33087
33089
 
33088
33090
 
33089
33091
 
33092
+
33090
33093
  /*
33091
33094
  * @Author: your name
33092
33095
  * @Date: 2021-01-28 10:33:07
@@ -33132,7 +33135,9 @@ var DrawPrintRecord = /*#__PURE__*/function (_DrawPrintBase) {
33132
33135
  }, {
33133
33136
  key: "paintBar",
33134
33137
  value: function paintBar(selectContainer) {
33138
+ return;
33135
33139
  if (!this._text) this._text = new DrawSimpleText/* DrawSimpleText */.b("温馨提示,以下内容还没有打印", undefined, "#FF0000");
33140
+ this._text.name = "print_mark";
33136
33141
  selectContainer.addChild(this._text);
33137
33142
  (0,get/* default */.Z)((0,getPrototypeOf/* default */.Z)(DrawPrintRecord.prototype), "paintBar", this).call(this, selectContainer);
33138
33143
  var h = this._text.getMeasuredHeight();
@@ -33166,8 +33171,6 @@ var es_regexp_sticky = __webpack_require__(88386);
33166
33171
  var es_regexp_to_string = __webpack_require__(39714);
33167
33172
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
33168
33173
  var es_error_cause = __webpack_require__(21703);
33169
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
33170
- var es_function_name = __webpack_require__(68309);
33171
33174
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
33172
33175
  var es_regexp_test = __webpack_require__(77601);
33173
33176
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.fill.js
@@ -35465,17 +35468,7 @@ var Print = /*#__PURE__*/function () {
35465
35468
  return _context4.abrupt("break", 42);
35466
35469
  case 28:
35467
35470
  cpage = hoEditorFactory.drawTree.drawPages[index];
35468
- children = cpage.drawMainDoc.children; // if (
35469
- // index === hoEditorFactory.drawTree.drawPages.length - 1 &&
35470
- // children.length === 2 &&
35471
- // !(children[0] instanceof DrawPageTable) &&
35472
- // children[1] &&
35473
- // (children[1] as any).drawItems.length === 0
35474
- // ) {
35475
- // console.log(children, children[0]);
35476
- // console.log('??????');
35477
- // break;
35478
- // }
35471
+ children = cpage.drawMainDoc.children;
35479
35472
  if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && (children.length == 1 && children[0] instanceof DrawLine/* DrawLine */.a && children[0].drawItems.length == 0 || children.length == 2 && !(children[0] instanceof DrawPageTable/* DrawPageTable */.ox) && !(children[0] instanceof DrawLine/* DrawLine */.a) && children[1] && ((_children$1$drawItems = children[1].drawItems) === null || _children$1$drawItems === void 0 ? void 0 : _children$1$drawItems.length) == 0 || children.length == 2 && !(children[0] instanceof DrawPageTable/* DrawPageTable */.ox) && children[0] && ((_children$0$drawItems = children[0].drawItems) === null || _children$0$drawItems === void 0 ? void 0 : _children$0$drawItems.length) == 0))) {
35480
35473
  _context4.next = 32;
35481
35474
  break;
@@ -77216,6 +77209,21 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
77216
77209
  node.imgHeight = nodeImageWidth;
77217
77210
  }
77218
77211
  var width = hitWidth * hoEditorFactory.signHeight / image.naturalHeight; //+ this._drawText.getMeasuredWidth();
77212
+ // 压缩高分辨率签名图片
77213
+ if (hoEditorFactory.convertSignImage && hitHeight > hoEditorFactory.signHeight * 2) {
77214
+ var canvas = document.createElement('canvas');
77215
+ var ctx = canvas.getContext('2d');
77216
+ canvas.width = width * 2;
77217
+ canvas.height = hoEditorFactory.signHeight * 2;
77218
+ canvas.style.width = _this3.dWidth + 'px';
77219
+ canvas.style.height = hoEditorFactory.signHeight + 'px';
77220
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
77221
+ ctx.fillStyle = '#FFFFFF';
77222
+ ctx.fillRect(0, 0, canvas.width, canvas.height);
77223
+ ctx.drawImage(image, 0, 0, canvas.width, canvas.height);
77224
+ var base64 = canvas.toDataURL('image/png', 1);
77225
+ drawNode.node.imgSrc = base64;
77226
+ }
77219
77227
  if (node.parentNode instanceof _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_9__/* .CellNode */ .D) {
77220
77228
  var cellWidth = node.parentNode.drawCell.dWidth;
77221
77229
  if (width > cellWidth - 5) {
@@ -79742,7 +79750,10 @@ var DrawStyleText = /*#__PURE__*/function () {
79742
79750
  /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
79743
79751
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(40561);
79744
79752
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_7__);
79745
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(74089);
79753
+ /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68309);
79754
+ /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__);
79755
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(74089);
79756
+
79746
79757
 
79747
79758
 
79748
79759
 
@@ -79812,7 +79823,7 @@ var DrawPrintBase = /*#__PURE__*/function () {
79812
79823
  key: "clear",
79813
79824
  value: function clear() {
79814
79825
  var _this = this;
79815
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79826
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79816
79827
  var pages = hoEditorFactory.drawTree.drawPages;
79817
79828
  try {
79818
79829
  this._fg.forEach(function (value, index) {
@@ -79835,7 +79846,7 @@ var DrawPrintBase = /*#__PURE__*/function () {
79835
79846
  key: "paintArea",
79836
79847
  value: function paintArea() {
79837
79848
  var _this2 = this;
79838
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79849
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79839
79850
  var _hasPainted = function _hasPainted(selectContainer, index) {
79840
79851
  if (index <= _this2._fg.length - 1) {
79841
79852
  // console.log("index", selectContainer.children.indexOf(this._fg[index]));
@@ -79911,7 +79922,8 @@ var DrawPrintBase = /*#__PURE__*/function () {
79911
79922
  value: function paintBar(selectContainer) {
79912
79923
  if (!this._bar) this._bar = new createjs.Shape();
79913
79924
  this._bar.graphics.clear();
79914
- this._bar.graphics.beginFill(this._barColor).drawRect(0, this._rangePosy, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, 1).closePath();
79925
+ this._bar.graphics.beginFill(this._barColor).drawRect(0, this._rangePosy, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, 1).closePath();
79926
+ this._bar.name = "print_mark";
79915
79927
  selectContainer.addChild(this._bar);
79916
79928
  }
79917
79929
  /**
@@ -79924,8 +79936,9 @@ var DrawPrintBase = /*#__PURE__*/function () {
79924
79936
  value: function paintFront(selectContainer, height, pindex) {
79925
79937
  var fg = new createjs.Shape();
79926
79938
  fg.graphics.clear();
79927
- fg.graphics.beginFill(this._frontColor).drawRect(0, 0, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, height).closePath();
79939
+ fg.graphics.beginFill(this._frontColor).drawRect(0, 0, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, height).closePath();
79928
79940
  fg.alpha = 0.5;
79941
+ fg.name = "print_mark";
79929
79942
  this._fg.splice(pindex, 0, fg);
79930
79943
  selectContainer.addChild(fg);
79931
79944
  }
@@ -79937,7 +79950,7 @@ var DrawPrintBase = /*#__PURE__*/function () {
79937
79950
  value: function paintMask() {
79938
79951
  if (!this.mask) this.mask = new createjs.Shape();
79939
79952
  this.clear();
79940
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79953
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79941
79954
  var dPage = hoEditorFactory.drawTree.drawPages[this.Position[0]];
79942
79955
  var domlevel = hoEditorFactory.drawTree.drawPages[this.Position[0]].drawDomLevel;
79943
79956
  if (!domlevel) return;
@@ -79962,7 +79975,7 @@ var DrawPrintBase = /*#__PURE__*/function () {
79962
79975
  key: "clearMask",
79963
79976
  value: function clearMask() {
79964
79977
  this.clear();
79965
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79978
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79966
79979
  var domlevel = hoEditorFactory.drawTree.drawPages[this.Position[0]].drawDomLevel;
79967
79980
  var dPage = hoEditorFactory.drawTree.drawPages[this.Position[0]];
79968
79981
  if (!domlevel) return;
@@ -79986,7 +79999,7 @@ var DrawPrintBase = /*#__PURE__*/function () {
79986
79999
  key: "preparePrint",
79987
80000
  value: function preparePrint() {
79988
80001
  this.clear();
79989
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
80002
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
79990
80003
  var dPage = hoEditorFactory.drawTree.drawPages[this._pageindex];
79991
80004
  var domlevel = hoEditorFactory.drawTree.drawPages[this._pageindex].drawDomLevel;
79992
80005
  if (!domlevel) return;
@@ -86797,14 +86810,24 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
86797
86810
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_hoEditorFactoryID", void 0);
86798
86811
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_opTime", void 0);
86799
86812
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_affectText", void 0);
86813
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_repaintImmediate", void 0);
86800
86814
  _this._hoEditorFactoryID = hoEditorFactoryID;
86801
86815
  _this._pnode = node.parentNode;
86802
86816
  _this._operType = operType;
86803
86817
  _this._opTime = new Date();
86804
86818
  _this._affectText = "类型" + node.getTagNameCn() + '内容:' + node.toString();
86819
+ _this._repaintImmediate = true;
86805
86820
  return _this;
86806
86821
  }
86807
86822
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(NodeDeleteUndoUnit, [{
86823
+ key: "repaintImmediate",
86824
+ get: function get() {
86825
+ return this._repaintImmediate;
86826
+ },
86827
+ set: function set(value) {
86828
+ this._repaintImmediate = value;
86829
+ }
86830
+ }, {
86808
86831
  key: "undo",
86809
86832
  value: function undo() {
86810
86833
  // switch (this._action){
@@ -86823,14 +86846,15 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
86823
86846
  hoEditorFactory.docTree.insertNodeAfterPath(this.strBeforePath, this.node);
86824
86847
  path = hoEditorFactory.docTree.getNodeLastPath(this.node);
86825
86848
  changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_13__/* .DocAction */ .gk.daInsert, this.strBeforePath, path);
86826
- _context.next = 6;
86849
+ changeEvent.repaintImmediate = this.repaintImmediate;
86850
+ _context.next = 7;
86827
86851
  return hoEditorFactory.docTree.change(changeEvent);
86828
- case 6:
86852
+ case 7:
86829
86853
  hoEditorFactory.docTree.curDomRange.setSamePath(path);
86830
86854
  hoEditorFactory.drawTree.moveCaretToPath(path);
86831
- _context.next = 10;
86855
+ _context.next = 11;
86832
86856
  return this.ParentRepaint();
86833
- case 10:
86857
+ case 11:
86834
86858
  case "end":
86835
86859
  return _context.stop();
86836
86860
  }
@@ -86971,10 +86995,11 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
86971
86995
  changeEvent.oldEndPath = hoeditorFactory.docTree.getNodeLastPath(currNode);
86972
86996
  changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_17__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, changeEvent.oldEndPath);
86973
86997
  //siblings.splice(siblings.indexOf(currNode), 1);
86998
+ changeEvent.repaintImmediate = this.repaintImmediate;
86974
86999
  result = hoeditorFactory.docTree.deleteNode(currNode, this._operType);
86975
87000
  toPath = changeEvent.beforeChangePath;
86976
87001
  if (!result) {
86977
- _context2.next = 43;
87002
+ _context2.next = 44;
86978
87003
  break;
86979
87004
  }
86980
87005
  //const next = index == siblings.length ? null : siblings[index];
@@ -86982,26 +87007,26 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
86982
87007
  // ? hoeditorFactory.docTree.getNodeLastPath(next)
86983
87008
  // : changeEvent.beforeChangePath;
86984
87009
  changeEvent.afterChangePath = toPath;
86985
- _context2.next = 40;
87010
+ _context2.next = 41;
86986
87011
  return hoeditorFactory.docTree.change(changeEvent);
86987
- case 40:
87012
+ case 41:
86988
87013
  toPath = changeEvent.beforeChangePath;
86989
- _context2.next = 44;
87014
+ _context2.next = 45;
86990
87015
  break;
86991
- case 43:
86992
- toPath = this.strBeforePath;
86993
87016
  case 44:
87017
+ toPath = this.strBeforePath;
87018
+ case 45:
86994
87019
  hoeditorFactory.docTree.curDomRange.setSamePath(toPath);
86995
87020
  hoeditorFactory.drawTree.moveCaretToPath(toPath);
86996
87021
  this.strBeforePath = pre ? hoeditorFactory.docTree.getNodeLastPath(pre) : parentPath;
86997
- _context2.next = 49;
87022
+ _context2.next = 50;
86998
87023
  return this.ParentRepaint();
86999
- case 49:
87024
+ case 50:
87000
87025
  if (currNode instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_19__/* .SignNode */ .N && (hoeditorFactory.drawTree.paintStatus == _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_20__/* .PaintState */ .Dh.psEdit || hoeditorFactory.drawTree.paintStatus == _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_20__/* .PaintState */ .Dh.psReview)) {
87001
87026
  hoeditorFactory.undoService.stack.splice(hoeditorFactory.undoService.stack.length - 1, 1);
87002
87027
  hoeditorFactory.undoService._position--;
87003
87028
  }
87004
- case 50:
87029
+ case 51:
87005
87030
  case "end":
87006
87031
  return _context2.stop();
87007
87032
  }
@@ -87157,14 +87182,24 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
87157
87182
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_hoEditorFactoryID", void 0);
87158
87183
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_opTime", void 0);
87159
87184
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_affectText", void 0);
87185
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(_this), "_repaintImmediate", void 0);
87160
87186
  _this._hoEditorFactoryID = hoEditorFactoryID;
87161
87187
  _this._pnode = node.parentNode;
87162
87188
  _this._undo = new _UndoService__WEBPACK_IMPORTED_MODULE_21__/* .UndoService */ .O(_this._hoEditorFactoryID); // hoEditorFactory.undoService;
87163
87189
  _this._opTime = new Date();
87164
87190
  _this._affectText = "类型:" + node.getTagNameCn() + ' 插入内容:' + node.toString();
87191
+ _this._repaintImmediate = true;
87165
87192
  return _this;
87166
87193
  }
87167
87194
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(NodeInsertUndoUnit, [{
87195
+ key: "repaintImmediate",
87196
+ get: function get() {
87197
+ return this._repaintImmediate;
87198
+ },
87199
+ set: function set(value) {
87200
+ this._repaintImmediate = value;
87201
+ }
87202
+ }, {
87168
87203
  key: "undo",
87169
87204
  value: function undo() {
87170
87205
  this.doUndo();
@@ -87195,9 +87230,10 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
87195
87230
  throw new Error('删除失败');
87196
87231
  case 9:
87197
87232
  changeEvent.afterChangePath = this.strBeforePath;
87198
- _context.next = 12;
87233
+ changeEvent.repaintImmediate = this.repaintImmediate;
87234
+ _context.next = 13;
87199
87235
  return hoEditorFactory.docTree.change(changeEvent);
87200
- case 12:
87236
+ case 13:
87201
87237
  hoEditorFactory.docTree.curDomRange.setSamePath(this.strBeforePath);
87202
87238
  while (!this._undo.atBottom()) {
87203
87239
  this._undo.undo();
@@ -87207,7 +87243,7 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
87207
87243
  hoEditorFactory.docTree.curDomRange.setSamePath(this.strBeforePath);
87208
87244
  hoEditorFactory.drawTree.moveCaretToPath(this.strBeforePath);
87209
87245
  this.ParentRepaint();
87210
- case 19:
87246
+ case 20:
87211
87247
  case "end":
87212
87248
  return _context.stop();
87213
87249
  }
@@ -207322,7 +207358,7 @@ var TextNode = __webpack_require__(27198);
207322
207358
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207323
207359
  var ParagraphNode = __webpack_require__(67945);
207324
207360
  ;// CONCATENATED MODULE: ./src/components/version.ts
207325
- /* harmony default export */ var version = ('3.1.92');
207361
+ /* harmony default export */ var version = ('3.1.94');
207326
207362
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
207327
207363
  var PoperTipText = __webpack_require__(50987);
207328
207364
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -219237,7 +219273,9 @@ var VueController = /*#__PURE__*/function () {
219237
219273
  if ((node.imgSrc !== '' || node.fingerPrintSrc !== '') && node.isTemplate) {
219238
219274
  var signNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode/* NodeType */.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, node.connectChar, node.otherProperties, '', node.associatedElement);
219239
219275
  hoEditorFactory.undoService.begin();
219240
- hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, ePath));
219276
+ var deleteUndo = new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, ePath);
219277
+ deleteUndo.repaintImmediate = false;
219278
+ hoEditorFactory.undoService.add(deleteUndo);
219241
219279
  hoEditorFactory.undoService.add(new NodeInsertUndoUnit/* NodeInsertUndoUnit */.R(this._hoEditorFactoryID, sPath, signNode));
219242
219280
  hoEditorFactory.undoService.commit();
219243
219281
  if (node.parentNode instanceof CellNode/* CellNode */.D) {
@@ -234372,7 +234410,13 @@ var PrintController = /*#__PURE__*/function () {
234372
234410
  if (dPage.drawSelectLevel && !dPage.drawSelectLevel.stage) {
234373
234411
  dPage.drawSelectLevel.bindStage();
234374
234412
  }
234375
- dPage.selectContainer.children = [];
234413
+ if (dPage.selectContainer.children.length) {
234414
+ dPage.selectContainer.children.forEach(function (child) {
234415
+ if (child.name == 'print_mark') {
234416
+ dPage.selectContainer.removeChild(child);
234417
+ }
234418
+ });
234419
+ }
234376
234420
  (_dPage$selectContaine = dPage.selectContainer.stage) === null || _dPage$selectContaine === void 0 ? void 0 : _dPage$selectContaine.update();
234377
234421
  });
234378
234422
  hoEditorFactory.vueController.rebuildAll(true);
@@ -236128,12 +236172,14 @@ var HOEditorFactory = /*#__PURE__*/function () {
236128
236172
  (0,esm_defineProperty/* default */.Z)(this, "_allowUncheckRadio", false);
236129
236173
  //允许直接取消勾选单选控件(默认不允许)
236130
236174
  (0,esm_defineProperty/* default */.Z)(this, "_insHtmlWithColor", true);
236175
+ //插入检查检验文本带颜色(默认带颜色)
236176
+ (0,esm_defineProperty/* default */.Z)(this, "convertSignImage", false);
236131
236177
  this._hoEditorFactoryId = id;
236132
236178
  }
236133
236179
  (0,esm_createClass/* default */.Z)(HOEditorFactory, [{
236134
236180
  key: "hoLocalStorage",
236135
236181
  get:
236136
- //插入检查检验文本带颜色(默认带颜色)
236182
+ // 处理签名图片,减小其分辨率大小,提高打印时图片处理速度
236137
236183
  /**
236138
236184
  * Getter hoLocalStorage
236139
236185
  * @return {HoLocalStorage}