hoeditor-web 3.1.97 → 3.1.100

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.
@@ -40983,6 +40983,7 @@ var DocController = /*#__PURE__*/function () {
40983
40983
  hoEditorFactory.undoService.begin();
40984
40984
  hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_26__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, sPath, newSignNode));
40985
40985
  hoEditorFactory.undoService.commit();
40986
+ this.drawMask(node);
40986
40987
  }
40987
40988
  }
40988
40989
  }, {
@@ -52070,9 +52071,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
52070
52071
  identifierFormat: this.identifierFormat,
52071
52072
  //isSynchro: this.isSynchro,
52072
52073
  name: this.name,
52073
- text: clearSign ? "" : this.keyValue == "" ? "" : this.text,
52074
- keyValue: clearSign ? "" : this.keyValue,
52075
- value: clearSign ? "" : this.value,
52074
+ text: this.keyValue == "" ? "" : this.text,
52075
+ keyValue: this.keyValue,
52076
+ value: this.value,
52076
52077
  //title: this.title,
52077
52078
  styleIndex: this.styleIndex,
52078
52079
  //tipText: this.tipText,
@@ -58010,7 +58011,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
58010
58011
  //tipText: this.tipText,
58011
58012
  //isAllowDelete: this.isAllowDelete,
58012
58013
  groupName: this.groupName,
58013
- isSelected: clearSign ? false : this.isSelected,
58014
+ isSelected: this.isSelected,
58014
58015
  //boxAlign: this.boxAlign,
58015
58016
  //numericValue: this.numericValue,
58016
58017
  //additionalData: this.additionalData,
@@ -65453,54 +65454,62 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
65453
65454
  value: function node2Json(range, isCopy, type, clearSign) {
65454
65455
  var childArray = new Array();
65455
65456
  if (!range) {
65456
- var mark = true;
65457
- for (var m = 0; m < this.childNodes.length; m++) {
65458
- var anode = this.childNodes[m];
65459
- if (anode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_43__/* .ControlNode */ .w || anode instanceof TextInputFieldNode || anode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N || anode instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d) {
65460
- mark = false;
65461
- break;
65462
- }
65463
- }
65464
- if (clearSign && mark && this.readType === 1) {
65465
- this.text = "";
65466
- this._childNodes.splice(1, this._childNodes.length - 2);
65467
- this._childNodes2.splice(1, this._childNodes2.length - 2);
65468
- var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(this.hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType */ .Jq.ntMark, this.labelText, this.StartMarkNode.styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType */ .q.mtContent);
65469
- this._childNodes.splice(1, 0, markNode);
65470
- this._childNodes2.splice(1, 0, markNode);
65471
- for (var n = 0; n < this.childNodes.length; n++) {
65472
- childArray.push(this.childNodes[n].node2Json(undefined, isCopy));
65473
- }
65474
- } else {
65475
- for (var i = 0; i < this.childNodes.length; i++) {
65476
- var node = this.childNodes[i];
65477
- if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && node.text.substr(0, 1) !== 'C')) {
65478
- if (node instanceof TextInputFieldNode) {
65479
- childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
65480
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
65481
- if (clearSign) {
65482
- if (node.isTemplate) {
65483
- childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
65484
- }
65485
- } else {
65486
- childArray.push(node.node2Json(undefined, isCopy));
65457
+ // let mark = true;
65458
+ // for (let m = 0; m < this.childNodes.length; m++) {
65459
+ // const anode = this.childNodes[m];
65460
+ // if (anode instanceof ControlNode || anode instanceof TextInputFieldNode || anode instanceof SignNode || anode instanceof QrcodeNode) {
65461
+ // mark = false;
65462
+ // break;
65463
+ // }
65464
+ // }
65465
+ // if (clearSign && mark && this.readType === 1) {
65466
+ // this.text = "";
65467
+ // this._childNodes.splice(1, this._childNodes.length - 2);
65468
+ // this._childNodes2.splice(1, this._childNodes2.length - 2);
65469
+ // const markNode = new MarkNode(
65470
+ // this.hoEditorFactoryID,
65471
+ // this.rootNodes,
65472
+ // this,
65473
+ // NodeType.ntMark,
65474
+ // this.labelText,
65475
+ // this.StartMarkNode.styleIndex,
65476
+ // MarkNodeType.mtContent
65477
+ // );
65478
+ // this._childNodes.splice(1, 0, markNode);
65479
+ // this._childNodes2.splice(1, 0, markNode);
65480
+ // for (let n = 0; n < this.childNodes.length; n++) {
65481
+ // childArray.push(this.childNodes[n].node2Json(undefined, isCopy));
65482
+ // }
65483
+ // } else {
65484
+ for (var i = 0; i < this.childNodes.length; i++) {
65485
+ var node = this.childNodes[i];
65486
+ if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && node.text.substr(0, 1) !== 'C')) {
65487
+ if (node instanceof TextInputFieldNode) {
65488
+ childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
65489
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
65490
+ if (clearSign) {
65491
+ if (node.isTemplate) {
65492
+ childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
65487
65493
  }
65488
65494
  } else {
65489
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
65490
- if (node.text !== '') {
65491
- childArray.push(node.node2Json(undefined, isCopy));
65492
- }
65493
- } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d || node instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_43__/* .ControlNode */ .w && node.readType === 1) {
65494
- childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
65495
- } else {
65495
+ childArray.push(node.node2Json(undefined, isCopy));
65496
+ }
65497
+ } else {
65498
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
65499
+ if (node.text !== '') {
65496
65500
  childArray.push(node.node2Json(undefined, isCopy));
65497
65501
  }
65502
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d || node instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_43__/* .ControlNode */ .w && node.readType === 1) {
65503
+ childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
65504
+ } else {
65505
+ childArray.push(node.node2Json(undefined, isCopy));
65498
65506
  }
65499
- } else {
65500
- childArray.push(node.node2Json(undefined, isCopy));
65501
65507
  }
65508
+ } else {
65509
+ childArray.push(node.node2Json(undefined, isCopy));
65502
65510
  }
65503
65511
  }
65512
+ //}
65504
65513
  // if (childArray.length > 0) {
65505
65514
  // if (childArray[0].MarkNode && childArray[0].MarkNode.type === 0) {
65506
65515
  // if (!childArray[childArray.length - 1].MarkNode) {
@@ -207354,7 +207363,7 @@ var TextNode = __webpack_require__(27198);
207354
207363
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207355
207364
  var ParagraphNode = __webpack_require__(67945);
207356
207365
  ;// CONCATENATED MODULE: ./src/components/version.ts
207357
- /* harmony default export */ var version = ('3.1.97');
207366
+ /* harmony default export */ var version = ('3.1.100');
207358
207367
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
207359
207368
  var PoperTipText = __webpack_require__(50987);
207360
207369
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -212699,8 +212708,6 @@ var StructureConvert = /*#__PURE__*/function () {
212699
212708
  nodeJson = node.node2Json(undefined, undefined, undefined, clearSign);
212700
212709
  } else if (node instanceof QrcodeNode/* QrcodeNode */.d && clearSign) {
212701
212710
  nodeJson = node.node2Json(undefined, undefined, undefined, clearSign);
212702
- } else if (clearSign && node instanceof ControlNode/* ControlNode */.w && node.readType === 1) {
212703
- nodeJson = node.node2Json(undefined, undefined, undefined, clearSign);
212704
212711
  } else {
212705
212712
  nodeJson = node.node2Json();
212706
212713
  }
@@ -213437,12 +213444,6 @@ var StructureConvert = /*#__PURE__*/function () {
213437
213444
  if (aNode instanceof MarkNode/* MarkNode */.j) {
213438
213445
  _this5._markNodes.push(aNode);
213439
213446
  }
213440
- // if (aNode instanceof SignNode && ((aNode.imgSrc != ""
213441
- // && ((hoEditorFactory.superiorSigns.length > 0
213442
- // && hoEditorFactory.superiorSigns.includes((aNode.customProperty as any).bce01)) || hoEditorFactory.forbidEditBeforeSign))
213443
- // || hoEditorFactory.lockContent)) {
213444
- // this._superiorSign[0] = aNode;
213445
- // }
213446
213447
  if (aNode instanceof TextNode/* TextNode */.R && aNode.errorIndex != undefined) {
213447
213448
  _this5._errTextNodes.push(aNode);
213448
213449
  }
@@ -214539,6 +214540,10 @@ var TOHTMLConverter = /*#__PURE__*/function () {
214539
214540
  var UnitConvert = __webpack_require__(91404);
214540
214541
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
214541
214542
  var createForOfIteratorHelper = __webpack_require__(17519);
214543
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
214544
+ var es_array_flat = __webpack_require__(84944);
214545
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js
214546
+ var es_array_unscopables_flat = __webpack_require__(33792);
214542
214547
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.js
214543
214548
  var web_url = __webpack_require__(60285);
214544
214549
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.js
@@ -214549,10 +214554,6 @@ var web_url_search_params_delete = __webpack_require__(46229);
214549
214554
  var web_url_search_params_has = __webpack_require__(17330);
214550
214555
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
214551
214556
  var web_url_search_params_size = __webpack_require__(62062);
214552
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
214553
- var es_array_flat = __webpack_require__(84944);
214554
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js
214555
- var es_array_unscopables_flat = __webpack_require__(33792);
214556
214557
  // EXTERNAL MODULE: ./src/editor/events/NodeChangingEvent.ts
214557
214558
  var NodeChangingEvent = __webpack_require__(10574);
214558
214559
  // EXTERNAL MODULE: ./src/editor/draw/SelectRange.ts
@@ -217089,8 +217090,9 @@ var VueController = /*#__PURE__*/function () {
217089
217090
  var superiorSign = hoEditorFactory.structureConvert._superiorSign;
217090
217091
  var signNode = superiorSign[0];
217091
217092
  if (hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.reviewMode) {
217092
- var _signNode$customPrope;
217093
- if (((_signNode$customPrope = signNode.customProperty) === null || _signNode$customPrope === void 0 ? void 0 : _signNode$customPrope.bce01) != hoEditorFactory.userInfo.id) {
217093
+ var _this$getAllSignNodeL = this.getAllSignNodeList(hoEditorFactory.userInfo.id),
217094
+ bce01List = _this$getAllSignNodeL.bce01List;
217095
+ if (!bce01List.length) {
217094
217096
  this.hiddenMask(true);
217095
217097
  return;
217096
217098
  }
@@ -219236,6 +219238,7 @@ var VueController = /*#__PURE__*/function () {
219236
219238
  }, {
219237
219239
  key: "deleteNode",
219238
219240
  value: function deleteNode(node) {
219241
+ var _this2 = this;
219239
219242
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
219240
219243
  if (!node) return;
219241
219244
  if (node.parentNode && node.parentNode instanceof CellNode/* CellNode */.D) {
@@ -219296,19 +219299,32 @@ var VueController = /*#__PURE__*/function () {
219296
219299
  var superiorSign = hoEditorFactory.structureConvert._superiorSign;
219297
219300
  if (superiorSign.length > 0 && node === superiorSign[0]) {
219298
219301
  this.hiddenMask(true);
219299
- var prenode = signNode.previousLeaf();
219300
- do {
219301
- if (prenode) {
219302
- if (prenode instanceof SignNode/* SignNode */.N && prenode.imgSrc != "") {
219303
- superiorSign[0] = prenode;
219304
- this.hiddenMask(false);
219305
- return;
219302
+ // 处理前缀签名删除后,签名前无签名元素,签名有签名元素情况
219303
+ if (hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.reviewMode) {
219304
+ var list = this.getSignNodeList();
219305
+ superiorSign.length = 0;
219306
+ list = list.flat();
219307
+ list.map(function (v) {
219308
+ if (v.node.imgSrc) {
219309
+ superiorSign[0] = v.node;
219310
+ _this2.hiddenMask(false);
219311
+ }
219312
+ });
219313
+ } else {
219314
+ var prenode = signNode.previousLeaf();
219315
+ do {
219316
+ if (prenode) {
219317
+ if (prenode instanceof SignNode/* SignNode */.N && prenode.imgSrc != "") {
219318
+ superiorSign[0] = prenode;
219319
+ this.hiddenMask(false);
219320
+ return;
219321
+ }
219322
+ prenode = prenode.previousLeaf();
219306
219323
  }
219307
- prenode = prenode.previousLeaf();
219324
+ } while (prenode);
219325
+ if (!prenode) {
219326
+ superiorSign.length = 0;
219308
219327
  }
219309
- } while (prenode);
219310
- if (!prenode) {
219311
- superiorSign.length = 0;
219312
219328
  }
219313
219329
  }
219314
219330
  return;
@@ -219319,6 +219335,26 @@ var VueController = /*#__PURE__*/function () {
219319
219335
  hoEditorFactory.undoService.begin();
219320
219336
  hoEditorFactory.undoService.add(new NodesDeleteUndoUnit/* NodesDeleteUndoUnit */.F(this._hoEditorFactoryID, sPath, ePath, true));
219321
219337
  hoEditorFactory.undoService.commit();
219338
+ // setTimeout(() => {
219339
+ var _superiorSign = hoEditorFactory.structureConvert._superiorSign;
219340
+ if (_superiorSign.length > 0) {
219341
+ // 处理前缀签名删除后,签名前无签名元素,签名有签名元素情况
219342
+ if (hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.reviewMode) {
219343
+ this.hiddenMask(true);
219344
+ var _list = this.getSignNodeList();
219345
+ _superiorSign.length = 0;
219346
+ _list = _list.flat();
219347
+ _list.map(function (v) {
219348
+ if (v.node.imgSrc) {
219349
+ _superiorSign[0] = v.node;
219350
+ }
219351
+ });
219352
+ if (_superiorSign[0]) {
219353
+ this.hiddenMask(false);
219354
+ }
219355
+ }
219356
+ }
219357
+ // }, 0);
219322
219358
  return;
219323
219359
  }
219324
219360
  /*
@@ -220208,7 +220244,7 @@ var VueController = /*#__PURE__*/function () {
220208
220244
  key: "updateElementTextById",
220209
220245
  value: function () {
220210
220246
  var _updateElementTextById = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(id, text) {
220211
- var _this2 = this;
220247
+ var _this3 = this;
220212
220248
  var nodes, _loop4, _ret2, i;
220213
220249
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee8$(_context10) {
220214
220250
  while (1) switch (_context10.prev = _context10.next) {
@@ -220238,7 +220274,7 @@ var VueController = /*#__PURE__*/function () {
220238
220274
  }
220239
220275
  return _context9.abrupt("return", 0);
220240
220276
  case 5:
220241
- hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(_this2._hoEditorFactoryID);
220277
+ hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(_this3._hoEditorFactoryID);
220242
220278
  if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
220243
220279
  _context9.next = 33;
220244
220280
  break;
@@ -220298,7 +220334,7 @@ var VueController = /*#__PURE__*/function () {
220298
220334
  getChildNodes(json.node.childNodes.node);
220299
220335
  spath = node.StartMarkNode.getNodePath();
220300
220336
  epath = node.EndMarkNode.getNodePath();
220301
- range = new DomRange/* DomRange */.a(_this2._hoEditorFactoryID, spath, epath);
220337
+ range = new DomRange/* DomRange */.a(_this3._hoEditorFactoryID, spath, epath);
220302
220338
  hoEditorFactory.docController.deleteRange(range, true, "update");
220303
220339
  (_node$childNodes = node.childNodes).splice.apply(_node$childNodes, [1, 0].concat(childNodes));
220304
220340
  node.update(0);
@@ -220310,7 +220346,7 @@ var VueController = /*#__PURE__*/function () {
220310
220346
  break;
220311
220347
  }
220312
220348
  node.childNodes.splice(1, node.childNodes.length - 2);
220313
- _nodes4 = _this2.text2MedicalExpress(text, node.StartMarkNode, node.StartMarkNode.styleIndex);
220349
+ _nodes4 = _this3.text2MedicalExpress(text, node.StartMarkNode, node.StartMarkNode.styleIndex);
220314
220350
  for (k = 0; k < _nodes4.length; k++) {
220315
220351
  node.childNodes.splice(1 + k, 0, _nodes4[k]);
220316
220352
  }
@@ -220448,7 +220484,7 @@ var VueController = /*#__PURE__*/function () {
220448
220484
  }, {
220449
220485
  key: "createPNG",
220450
220486
  value: function createPNG(quality, type, callback) {
220451
- var _this3 = this;
220487
+ var _this4 = this;
220452
220488
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
220453
220489
  var createElementNodes = function createElementNodes() {
220454
220490
  var drawpages = hoEditorFactory.drawTree.drawPages;
@@ -220489,7 +220525,7 @@ var VueController = /*#__PURE__*/function () {
220489
220525
  document.body.appendChild(pngBox);
220490
220526
  callback && callback();
220491
220527
  document.querySelector('#hoDownLoadImageBtn').onclick = function () {
220492
- _this3.downLoadPNGHTML();
220528
+ _this4.downLoadPNGHTML();
220493
220529
  };
220494
220530
  };
220495
220531
  if (hoEditorFactory.loadImageCount <= 0) {
@@ -220535,7 +220571,7 @@ var VueController = /*#__PURE__*/function () {
220535
220571
  }, {
220536
220572
  key: "createPDF",
220537
220573
  value: function createPDF() {
220538
- var _this4 = this;
220574
+ var _this5 = this;
220539
220575
  var btn = document.createElement('button');
220540
220576
  btn.id = 'hoDownLoadPDFBtn';
220541
220577
  btn.style.position = 'fixed';
@@ -220547,7 +220583,7 @@ var VueController = /*#__PURE__*/function () {
220547
220583
  btn.style.outline = 'none';
220548
220584
  document.body.appendChild(btn);
220549
220585
  document.querySelector('#hoDownLoadPDFBtn').onclick = function () {
220550
- _this4.saveAsPDF();
220586
+ _this5.saveAsPDF();
220551
220587
  };
220552
220588
  }
220553
220589
  /*
@@ -220913,7 +220949,7 @@ var VueController = /*#__PURE__*/function () {
220913
220949
  }, {
220914
220950
  key: "setBackgroundByName",
220915
220951
  value: function setBackgroundByName(items) {
220916
- var _this5 = this;
220952
+ var _this6 = this;
220917
220953
  var selectRangeArr = [];
220918
220954
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
220919
220955
  var iteratesNodes = function iteratesNodes(nodes) {
@@ -220923,12 +220959,12 @@ var VueController = /*#__PURE__*/function () {
220923
220959
  for (var m = 0, len = items.length - 1; m <= len; m++) {
220924
220960
  var item = items[m];
220925
220961
  if (item.text !== '' && (item.name === anode.name || item.id === anode.id || item.dataId === anode.dataId) && anode.text.includes(item.text)) {
220926
- var range = _this5.search(anode, item.text);
220962
+ var range = _this6.search(anode, item.text);
220927
220963
  if (range.length > 0) {
220928
220964
  selectRangeArr = selectRangeArr.concat(range);
220929
220965
  }
220930
220966
  } else if (item.text === '' && (item.name === anode.name || item.id === anode.id || item.dataId === anode.dataId)) {
220931
- var _range = _this5.search(anode, anode.text);
220967
+ var _range = _this6.search(anode, anode.text);
220932
220968
  if (_range.length > 0) {
220933
220969
  selectRangeArr = selectRangeArr.concat(_range);
220934
220970
  }
@@ -221635,7 +221671,7 @@ var VueController = /*#__PURE__*/function () {
221635
221671
  }, {
221636
221672
  key: "showElementsEditRecord",
221637
221673
  value: function showElementsEditRecord(objects, id) {
221638
- var _this6 = this;
221674
+ var _this7 = this;
221639
221675
  var comments = [];
221640
221676
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(id ? id : this._hoEditorFactoryID);
221641
221677
  if (hoEditorFactory.pageProperty.commentWidthMm == 0) {
@@ -221674,7 +221710,7 @@ var VueController = /*#__PURE__*/function () {
221674
221710
  arr[pos[0]] = [];
221675
221711
  }
221676
221712
  var obj = {
221677
- editorId: id ? id : _this6._hoEditorFactoryID,
221713
+ editorId: id ? id : _this7._hoEditorFactoryID,
221678
221714
  id: comment.id,
221679
221715
  lineHeight: comment.lineHeight,
221680
221716
  permissionLevel: comment.permissionLevel,
@@ -221804,7 +221840,7 @@ var VueController = /*#__PURE__*/function () {
221804
221840
  }, {
221805
221841
  key: "getAllSignNodeList",
221806
221842
  value: function getAllSignNodeList(bce01, showNode) {
221807
- var _this7 = this;
221843
+ var _this8 = this;
221808
221844
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
221809
221845
  var signList = [];
221810
221846
  var patientSignList = [];
@@ -221871,7 +221907,7 @@ var VueController = /*#__PURE__*/function () {
221871
221907
  }
221872
221908
  });
221873
221909
  if (signColList.length > 0) {
221874
- var firstDataRowIndex = _this7.getTableTitleMaxRowIndex(node) + 1;
221910
+ var firstDataRowIndex = _this8.getTableTitleMaxRowIndex(node) + 1;
221875
221911
  node.rows.forEach(function (rows, rowIndex) {
221876
221912
  if (rowIndex >= firstDataRowIndex) {
221877
221913
  rows.forEach(function (cellNode, colIndex) {
@@ -221993,7 +222029,7 @@ var VueController = /*#__PURE__*/function () {
221993
222029
  }, {
221994
222030
  key: "getSignNodeAndText",
221995
222031
  value: function getSignNodeAndText() {
221996
- var _this8 = this;
222032
+ var _this9 = this;
221997
222033
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
221998
222034
  var signList = [];
221999
222035
  var getAllNodes = function getAllNodes(nodes) {
@@ -222013,7 +222049,7 @@ var VueController = /*#__PURE__*/function () {
222013
222049
  dataId: _node8.dataId,
222014
222050
  name: _node8.name
222015
222051
  };
222016
- sign.previousText = _this8.getPreviousText(_node8);
222052
+ sign.previousText = _this9.getPreviousText(_node8);
222017
222053
  signList.push(sign);
222018
222054
  }
222019
222055
  }
@@ -222030,7 +222066,7 @@ var VueController = /*#__PURE__*/function () {
222030
222066
  }, {
222031
222067
  key: "getSignNodeList",
222032
222068
  value: function getSignNodeList(nodeDataId, bce01) {
222033
- var _this9 = this;
222069
+ var _this10 = this;
222034
222070
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
222035
222071
  var signList = [];
222036
222072
  var count = 0;
@@ -222055,7 +222091,7 @@ var VueController = /*#__PURE__*/function () {
222055
222091
  attribute: _node9.attribute,
222056
222092
  connectMode: _node9.connectMode
222057
222093
  };
222058
- sign.previousText = _this9.getPreviousText(_node9);
222094
+ sign.previousText = _this10.getPreviousText(_node9);
222059
222095
  if (_node9.imgSrc || _node9.fingerPrintSrc) {
222060
222096
  sign.signed = true;
222061
222097
  }
@@ -222171,13 +222207,13 @@ var VueController = /*#__PURE__*/function () {
222171
222207
  }, {
222172
222208
  key: "html2Xml",
222173
222209
  value: function html2Xml(json) {
222174
- var _this10 = this;
222210
+ var _this11 = this;
222175
222211
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
222176
222212
  var headerNodes = hoEditorFactory.structureNode.Parse(StructureNode/* ClipboardType */.Y6.ctHTML, json.header);
222177
222213
  var footerNodes = hoEditorFactory.structureNode.Parse(StructureNode/* ClipboardType */.Y6.ctHTML, json.footer);
222178
222214
  var mainNodes = hoEditorFactory.structureNode.Parse(StructureNode/* ClipboardType */.Y6.ctHTML, json.main);
222179
222215
  var insertParaNode = function insertParaNode(area, index) {
222180
- var node = new ParagraphNode/* ParagraphNode */.C(_this10._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, null, 0);
222216
+ var node = new ParagraphNode/* ParagraphNode */.C(_this11._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, null, 0);
222181
222217
  if (area == 'header') {
222182
222218
  node.rootPath = 'header/0';
222183
222219
  headerNodes.splice(index, 0, node);
@@ -222671,7 +222707,7 @@ var VueController = /*#__PURE__*/function () {
222671
222707
  }, {
222672
222708
  key: "updateNurseRecord",
222673
222709
  value: function updateNurseRecord(table, operType, rowIndex, data) {
222674
- var _this11 = this;
222710
+ var _this12 = this;
222675
222711
  var keys = Object.keys(data);
222676
222712
  var backfill = function backfill(r) {
222677
222713
  for (var i = 0; i < keys.length; i++) {
@@ -222680,7 +222716,7 @@ var VueController = /*#__PURE__*/function () {
222680
222716
  if (cell) {
222681
222717
  var text = data[keys[i]];
222682
222718
  cell.childNodes.splice(1, cell.childNodes.length);
222683
- var textNode = new TextNode/* TextNode */.R(_this11._hoEditorFactoryID, table.rootNodes, cell, BaseNode/* NodeType */.Jq.ntText, text, cell.childNodes[0].styleIndex);
222719
+ var textNode = new TextNode/* TextNode */.R(_this12._hoEditorFactoryID, table.rootNodes, cell, BaseNode/* NodeType */.Jq.ntText, text, cell.childNodes[0].styleIndex);
222684
222720
  cell.drawCell.needUpdate = true;
222685
222721
  cell.childNodes.push(textNode);
222686
222722
  }
@@ -222930,7 +222966,7 @@ var VueController = /*#__PURE__*/function () {
222930
222966
  }, {
222931
222967
  key: "updateAllCodeElements",
222932
222968
  value: function updateAllCodeElements(element) {
222933
- var _this12 = this;
222969
+ var _this13 = this;
222934
222970
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
222935
222971
  var ret = [];
222936
222972
  var getAllNodes = function getAllNodes(nodes) {
@@ -222959,7 +222995,7 @@ var VueController = /*#__PURE__*/function () {
222959
222995
  if (ret.length > 0) {
222960
222996
  ret.forEach(function (v) {
222961
222997
  if (v.name === element.name) {
222962
- _this12.updateCodeContent(v, element.content);
222998
+ _this13.updateCodeContent(v, element.content);
222963
222999
  }
222964
223000
  });
222965
223001
  this.rebuildAll(false);
@@ -223450,7 +223486,7 @@ var VueController = /*#__PURE__*/function () {
223450
223486
  }, {
223451
223487
  key: "getElementChangeRecords",
223452
223488
  value: function getElementChangeRecords() {
223453
- var _this13 = this;
223489
+ var _this14 = this;
223454
223490
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
223455
223491
  var recordArr = new Array();
223456
223492
  var records = hoEditorFactory.docTree.elementChangeRecords;
@@ -223485,7 +223521,7 @@ var VueController = /*#__PURE__*/function () {
223485
223521
  });
223486
223522
  }
223487
223523
  if (value[1].nodeTypes == 'sign') {
223488
- var _node16 = _this13.getNodeByDataID('main', key.replace('|', ''));
223524
+ var _node16 = _this14.getNodeByDataID('main', key.replace('|', ''));
223489
223525
  if (_node16 instanceof SignNode/* SignNode */.N) {
223490
223526
  var signJsons = _node16.node2Json();
223491
223527
  var signXml = x2js.js2xml(signJsons);
@@ -223513,7 +223549,7 @@ var VueController = /*#__PURE__*/function () {
223513
223549
  }
223514
223550
  } else {
223515
223551
  var id = key.split("|")[0];
223516
- var _node17 = _this13.getNodeByID('all', id);
223552
+ var _node17 = _this14.getNodeByID('all', id);
223517
223553
  }
223518
223554
  });
223519
223555
  return recordArr;