hoeditor-web 3.1.98 → 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.
@@ -52071,9 +52071,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
52071
52071
  identifierFormat: this.identifierFormat,
52072
52072
  //isSynchro: this.isSynchro,
52073
52073
  name: this.name,
52074
- text: clearSign ? "" : this.keyValue == "" ? "" : this.text,
52075
- keyValue: clearSign ? "" : this.keyValue,
52076
- value: clearSign ? "" : this.value,
52074
+ text: this.keyValue == "" ? "" : this.text,
52075
+ keyValue: this.keyValue,
52076
+ value: this.value,
52077
52077
  //title: this.title,
52078
52078
  styleIndex: this.styleIndex,
52079
52079
  //tipText: this.tipText,
@@ -58011,7 +58011,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
58011
58011
  //tipText: this.tipText,
58012
58012
  //isAllowDelete: this.isAllowDelete,
58013
58013
  groupName: this.groupName,
58014
- isSelected: clearSign ? false : this.isSelected,
58014
+ isSelected: this.isSelected,
58015
58015
  //boxAlign: this.boxAlign,
58016
58016
  //numericValue: this.numericValue,
58017
58017
  //additionalData: this.additionalData,
@@ -65454,54 +65454,62 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
65454
65454
  value: function node2Json(range, isCopy, type, clearSign) {
65455
65455
  var childArray = new Array();
65456
65456
  if (!range) {
65457
- var mark = true;
65458
- for (var m = 0; m < this.childNodes.length; m++) {
65459
- var anode = this.childNodes[m];
65460
- 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) {
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
- 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);
65470
- this._childNodes.splice(1, 0, markNode);
65471
- this._childNodes2.splice(1, 0, markNode);
65472
- for (var n = 0; n < this.childNodes.length; n++) {
65473
- childArray.push(this.childNodes[n].node2Json(undefined, isCopy));
65474
- }
65475
- } else {
65476
- for (var i = 0; i < this.childNodes.length; i++) {
65477
- var node = this.childNodes[i];
65478
- if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && node.text.substr(0, 1) !== 'C')) {
65479
- if (node instanceof TextInputFieldNode) {
65480
- childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
65481
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
65482
- if (clearSign) {
65483
- if (node.isTemplate) {
65484
- childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
65485
- }
65486
- } else {
65487
- 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));
65488
65493
  }
65489
65494
  } else {
65490
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
65491
- if (node.text !== '') {
65492
- childArray.push(node.node2Json(undefined, isCopy));
65493
- }
65494
- } 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) {
65495
- childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
65496
- } 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 !== '') {
65497
65500
  childArray.push(node.node2Json(undefined, isCopy));
65498
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));
65499
65506
  }
65500
- } else {
65501
- childArray.push(node.node2Json(undefined, isCopy));
65502
65507
  }
65508
+ } else {
65509
+ childArray.push(node.node2Json(undefined, isCopy));
65503
65510
  }
65504
65511
  }
65512
+ //}
65505
65513
  // if (childArray.length > 0) {
65506
65514
  // if (childArray[0].MarkNode && childArray[0].MarkNode.type === 0) {
65507
65515
  // if (!childArray[childArray.length - 1].MarkNode) {
@@ -207355,7 +207363,7 @@ var TextNode = __webpack_require__(27198);
207355
207363
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207356
207364
  var ParagraphNode = __webpack_require__(67945);
207357
207365
  ;// CONCATENATED MODULE: ./src/components/version.ts
207358
- /* harmony default export */ var version = ('3.1.98');
207366
+ /* harmony default export */ var version = ('3.1.100');
207359
207367
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
207360
207368
  var PoperTipText = __webpack_require__(50987);
207361
207369
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -212700,8 +212708,6 @@ var StructureConvert = /*#__PURE__*/function () {
212700
212708
  nodeJson = node.node2Json(undefined, undefined, undefined, clearSign);
212701
212709
  } else if (node instanceof QrcodeNode/* QrcodeNode */.d && clearSign) {
212702
212710
  nodeJson = node.node2Json(undefined, undefined, undefined, clearSign);
212703
- } else if (clearSign && node instanceof ControlNode/* ControlNode */.w && node.readType === 1) {
212704
- nodeJson = node.node2Json(undefined, undefined, undefined, clearSign);
212705
212711
  } else {
212706
212712
  nodeJson = node.node2Json();
212707
212713
  }