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.
- package/lib/hoeditor.umd.js +53 -47
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -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:
|
|
52075
|
-
keyValue:
|
|
52076
|
-
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:
|
|
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
|
-
|
|
65458
|
-
for (
|
|
65459
|
-
|
|
65460
|
-
|
|
65461
|
-
|
|
65462
|
-
|
|
65463
|
-
|
|
65464
|
-
}
|
|
65465
|
-
if (clearSign && mark && this.readType === 1) {
|
|
65466
|
-
|
|
65467
|
-
|
|
65468
|
-
|
|
65469
|
-
|
|
65470
|
-
|
|
65471
|
-
|
|
65472
|
-
|
|
65473
|
-
|
|
65474
|
-
|
|
65475
|
-
|
|
65476
|
-
|
|
65477
|
-
|
|
65478
|
-
|
|
65479
|
-
|
|
65480
|
-
|
|
65481
|
-
|
|
65482
|
-
|
|
65483
|
-
|
|
65484
|
-
|
|
65485
|
-
|
|
65486
|
-
|
|
65487
|
-
|
|
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
|
-
|
|
65491
|
-
|
|
65492
|
-
|
|
65493
|
-
|
|
65494
|
-
|
|
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.
|
|
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
|
}
|