hoeditor-web 3.1.37 → 3.1.39
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.css +17886 -1
- package/lib/hoeditor.umd.js +77 -38
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -55780,6 +55780,8 @@ var ImageNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55780
55780
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
55781
55781
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_id", void 0);
|
|
55782
55782
|
//编号ID
|
|
55783
|
+
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_dataId", void 0);
|
|
55784
|
+
// dataId
|
|
55783
55785
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_width", void 0);
|
|
55784
55786
|
//节点宽
|
|
55785
55787
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_height", void 0);
|
|
@@ -55802,6 +55804,7 @@ var ImageNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55802
55804
|
//是否是回填的
|
|
55803
55805
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_innerIdentifier", void 0);
|
|
55804
55806
|
_this._id = id;
|
|
55807
|
+
_this._dataId = id;
|
|
55805
55808
|
_this._width = width;
|
|
55806
55809
|
_this._height = height;
|
|
55807
55810
|
_this._imageDataBase64String = imageDataBase64String;
|
|
@@ -55826,6 +55829,11 @@ var ImageNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55826
55829
|
get: function get() {
|
|
55827
55830
|
return this._id;
|
|
55828
55831
|
}
|
|
55832
|
+
}, {
|
|
55833
|
+
key: "dataId",
|
|
55834
|
+
get: function get() {
|
|
55835
|
+
return this._dataId;
|
|
55836
|
+
}
|
|
55829
55837
|
}, {
|
|
55830
55838
|
key: "width",
|
|
55831
55839
|
get: function get() {
|
|
@@ -56008,6 +56016,7 @@ var ImageNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
56008
56016
|
nodeType: BaseNode/* NodeType */.Jq[this.nodeType],
|
|
56009
56017
|
imageType: "Image",
|
|
56010
56018
|
id: this.id,
|
|
56019
|
+
dataId: this.dataId,
|
|
56011
56020
|
width: width,
|
|
56012
56021
|
height: height,
|
|
56013
56022
|
//scaleX: scaleX,
|
|
@@ -56354,25 +56363,19 @@ var JumpButtonNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
56354
56363
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11651);
|
|
56355
56364
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19593);
|
|
56356
56365
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78255);
|
|
56357
|
-
/* harmony import */ var
|
|
56358
|
-
/* harmony import */ var
|
|
56359
|
-
/* harmony import */ var
|
|
56360
|
-
/* harmony import */ var
|
|
56361
|
-
/* harmony import */ var
|
|
56362
|
-
/* harmony import */ var
|
|
56363
|
-
/* harmony import */ var
|
|
56364
|
-
/* harmony import */ var
|
|
56365
|
-
/* harmony import */ var
|
|
56366
|
-
/* harmony import */ var
|
|
56367
|
-
/* harmony import */ var
|
|
56368
|
-
/* harmony import */ var
|
|
56369
|
-
/* harmony import */ var
|
|
56370
|
-
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(51760);
|
|
56371
|
-
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(74089);
|
|
56372
|
-
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(62358);
|
|
56373
|
-
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(91105);
|
|
56374
|
-
|
|
56375
|
-
|
|
56366
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9653);
|
|
56367
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
56368
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(57658);
|
|
56369
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
56370
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68309);
|
|
56371
|
+
/* 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__);
|
|
56372
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
|
|
56373
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
56374
|
+
/* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(93541);
|
|
56375
|
+
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(51760);
|
|
56376
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(74089);
|
|
56377
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(62358);
|
|
56378
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(91105);
|
|
56376
56379
|
|
|
56377
56380
|
|
|
56378
56381
|
|
|
@@ -56404,7 +56407,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56404
56407
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, LabelNode);
|
|
56405
56408
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
56406
56409
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_associatedElement", void 0);
|
|
56407
|
-
_this._text = text
|
|
56410
|
+
_this._text = text;
|
|
56408
56411
|
_this._styleIndex = styleIndex;
|
|
56409
56412
|
_this.isAllowDelete = false;
|
|
56410
56413
|
if (associatedElement) {
|
|
@@ -56421,7 +56424,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56421
56424
|
set: function set(val) {
|
|
56422
56425
|
if (this._styleIndex !== Number(val)) {
|
|
56423
56426
|
this._styleIndex = Number(val);
|
|
56424
|
-
var hoEditorFactory =
|
|
56427
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_12__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
56425
56428
|
if (!hoEditorFactory.docTree.isSaveValid) {
|
|
56426
56429
|
this.node2DrawNode();
|
|
56427
56430
|
}
|
|
@@ -56444,7 +56447,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56444
56447
|
value: function node2DrawNodeRange(startIndex, endIndex) {
|
|
56445
56448
|
// const cbStyle = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.styles[this._styleIndex === -1 ? 0 : this._styleIndex]
|
|
56446
56449
|
// .combineStyle;
|
|
56447
|
-
var hoEditorFactory =
|
|
56450
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_12__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
56448
56451
|
var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
|
|
56449
56452
|
var cbStyle;
|
|
56450
56453
|
if (textStyle) {
|
|
@@ -56454,7 +56457,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56454
56457
|
this.styleIndex = 0;
|
|
56455
56458
|
}
|
|
56456
56459
|
var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
|
|
56457
|
-
var dNode = new
|
|
56460
|
+
var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_10__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
|
|
56458
56461
|
this._drawNodes.push(dNode);
|
|
56459
56462
|
}
|
|
56460
56463
|
}, {
|
|
@@ -56474,13 +56477,13 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56474
56477
|
}, {
|
|
56475
56478
|
key: "placeDNode2DrawLine",
|
|
56476
56479
|
value: function placeDNode2DrawLine(droots, paragraphNode, dline, start, endIndex) {
|
|
56477
|
-
var hoEditorFactory =
|
|
56480
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_12__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
56478
56481
|
var startIndex = start;
|
|
56479
56482
|
if (startIndex >= 1) {
|
|
56480
56483
|
return dline;
|
|
56481
56484
|
}
|
|
56482
56485
|
var drawNode = this._drawNodes[0];
|
|
56483
|
-
if (hoEditorFactory.drawTree.paintStatus !==
|
|
56486
|
+
if (hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psPrint && hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psReview) {
|
|
56484
56487
|
drawNode.alpha = 1;
|
|
56485
56488
|
//const color = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).option.getColorByLevel(0);
|
|
56486
56489
|
for (var i = 0; i < drawNode.children.length; i++) {
|
|
@@ -56499,7 +56502,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56499
56502
|
drawNode.children.splice(_i, 1);
|
|
56500
56503
|
}
|
|
56501
56504
|
}
|
|
56502
|
-
if (hoEditorFactory.drawTree.paintStatus ===
|
|
56505
|
+
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psPrint) {
|
|
56503
56506
|
if (this.associatedElement) {
|
|
56504
56507
|
var nodes = hoEditorFactory.vueController.getNodesById("main", true, this.associatedElement);
|
|
56505
56508
|
if (nodes.length > 0) {
|
|
@@ -56531,7 +56534,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56531
56534
|
key: "node2Json",
|
|
56532
56535
|
value: function node2Json(range, isCopy) {
|
|
56533
56536
|
var retObj = {
|
|
56534
|
-
nodeType:
|
|
56537
|
+
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_13__/* .NodeType */ .Jq[this.nodeType],
|
|
56535
56538
|
text: this.text,
|
|
56536
56539
|
styleIndex: this.styleIndex
|
|
56537
56540
|
//associatedElement: this.associatedElement,
|
|
@@ -56555,11 +56558,11 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
56555
56558
|
}], [{
|
|
56556
56559
|
key: "json2Node",
|
|
56557
56560
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode) {
|
|
56558
|
-
return new LabelNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null,
|
|
56561
|
+
return new LabelNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_13__/* .NodeType */ .Jq.ntLabel, json.text, json.styleIndex, json.associatedElement ? json.associatedElement : undefined);
|
|
56559
56562
|
}
|
|
56560
56563
|
}]);
|
|
56561
56564
|
return LabelNode;
|
|
56562
|
-
}(
|
|
56565
|
+
}(_ControlNode__WEBPACK_IMPORTED_MODULE_14__/* .ControlNode */ .w);
|
|
56563
56566
|
|
|
56564
56567
|
/***/ }),
|
|
56565
56568
|
|
|
@@ -59684,6 +59687,8 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59684
59687
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
59685
59688
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_id", void 0);
|
|
59686
59689
|
//编号
|
|
59690
|
+
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_dataId", void 0);
|
|
59691
|
+
// dataId
|
|
59687
59692
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_name", void 0);
|
|
59688
59693
|
//名称
|
|
59689
59694
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_innerIdentifier", void 0);
|
|
@@ -59701,6 +59706,7 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59701
59706
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_imageDataBase64String", "");
|
|
59702
59707
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_isFillBack", false);
|
|
59703
59708
|
_this._id = id;
|
|
59709
|
+
_this._dataId = id;
|
|
59704
59710
|
_this._textContent = textContent;
|
|
59705
59711
|
_this._type = type;
|
|
59706
59712
|
_this._correctLevel = correctLevel;
|
|
@@ -59722,6 +59728,11 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59722
59728
|
get: function get() {
|
|
59723
59729
|
return this._id;
|
|
59724
59730
|
}
|
|
59731
|
+
}, {
|
|
59732
|
+
key: "dataId",
|
|
59733
|
+
get: function get() {
|
|
59734
|
+
return this._dataId;
|
|
59735
|
+
}
|
|
59725
59736
|
}, {
|
|
59726
59737
|
key: "textContent",
|
|
59727
59738
|
get: function get() {
|
|
@@ -59878,6 +59889,7 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59878
59889
|
nodeType: BaseNode/* NodeType */.Jq[this.nodeType],
|
|
59879
59890
|
imageType: "Qrcode",
|
|
59880
59891
|
id: this.id,
|
|
59892
|
+
dataId: this.dataId,
|
|
59881
59893
|
//name: this.name,
|
|
59882
59894
|
innerIdentifier: this.innerIdentifier,
|
|
59883
59895
|
textContent: isClearValue && this.isFillBack ? "" : this.textContent,
|
|
@@ -69088,7 +69100,8 @@ var TextNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
69088
69100
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_dCombineStyle", void 0);
|
|
69089
69101
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_errorIndex", void 0);
|
|
69090
69102
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_markArray", []);
|
|
69091
|
-
_this._text = text.replace(/\u00A0/g, '
|
|
69103
|
+
_this._text = text.replace(/\u00A0/g, ' ');
|
|
69104
|
+
// this._text=text;
|
|
69092
69105
|
_this._styleIndex = styleIndex;
|
|
69093
69106
|
if (errorIndex != undefined) {
|
|
69094
69107
|
_this._errorIndex = errorIndex;
|
|
@@ -218599,7 +218612,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
218599
218612
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
218600
218613
|
var ParagraphNode = __webpack_require__(67945);
|
|
218601
218614
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
218602
|
-
/* harmony default export */ var version = ('3.1.
|
|
218615
|
+
/* harmony default export */ var version = ('3.1.39');
|
|
218603
218616
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
218604
218617
|
var PoperTipText = __webpack_require__(50987);
|
|
218605
218618
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -233081,7 +233094,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
233081
233094
|
*/
|
|
233082
233095
|
}, {
|
|
233083
233096
|
key: "insertQualityIndex",
|
|
233084
|
-
value: function insertQualityIndex(xml, isAppend) {
|
|
233097
|
+
value: function insertQualityIndex(xml, isAppend, recordId) {
|
|
233085
233098
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
233086
233099
|
xml = hoEditorFactory.structureConvert.replaceNodesName(xml);
|
|
233087
233100
|
var x2js = new (x2js_default())({
|
|
@@ -233093,12 +233106,21 @@ var VueController = /*#__PURE__*/function () {
|
|
|
233093
233106
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
233094
233107
|
var isError;
|
|
233095
233108
|
var apath = "";
|
|
233109
|
+
var result = false;
|
|
233096
233110
|
if (!curDomRange.isEmpty) {
|
|
233097
233111
|
if (isAppend) {
|
|
233098
233112
|
var _curDomRange$npStart$;
|
|
233099
233113
|
if (((_curDomRange$npStart$ = curDomRange.npStart.node) === null || _curDomRange$npStart$ === void 0 ? void 0 : _curDomRange$npStart$.parentNode) instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
233100
|
-
var _curDomRange$npStart$2;
|
|
233101
|
-
var
|
|
233114
|
+
var _curDomRange$npStart$2, _curDomRange$npStart$3;
|
|
233115
|
+
var parentNode = (_curDomRange$npStart$2 = curDomRange.npStart.node) === null || _curDomRange$npStart$2 === void 0 ? void 0 : _curDomRange$npStart$2.parentNode;
|
|
233116
|
+
parentNode.childNodes.forEach(function (pnode) {
|
|
233117
|
+
var customProperty = pnode.customProperty;
|
|
233118
|
+
if ((0,esm_typeof/* default */.Z)(customProperty) == 'object') {
|
|
233119
|
+
if (!result) result = customProperty.paragraphRecordId == recordId;
|
|
233120
|
+
}
|
|
233121
|
+
});
|
|
233122
|
+
if (result) return result;
|
|
233123
|
+
var anode = (_curDomRange$npStart$3 = curDomRange.npStart.node) === null || _curDomRange$npStart$3 === void 0 ? void 0 : _curDomRange$npStart$3.parentNode.EndMarkNode.previousLeaf();
|
|
233102
233124
|
apath = hoEditorFactory.docTree.getNodeLastPath(anode);
|
|
233103
233125
|
hoEditorFactory.docTree.curDomRange.setSamePath(apath);
|
|
233104
233126
|
} else {
|
|
@@ -233109,10 +233131,18 @@ var VueController = /*#__PURE__*/function () {
|
|
|
233109
233131
|
}
|
|
233110
233132
|
} else {
|
|
233111
233133
|
if (isAppend) {
|
|
233112
|
-
var _curDomRange$npStart$
|
|
233113
|
-
if (((_curDomRange$npStart$
|
|
233114
|
-
var _curDomRange$npStart$
|
|
233115
|
-
var
|
|
233134
|
+
var _curDomRange$npStart$4;
|
|
233135
|
+
if (((_curDomRange$npStart$4 = curDomRange.npStart.node) === null || _curDomRange$npStart$4 === void 0 ? void 0 : _curDomRange$npStart$4.parentNode) instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
233136
|
+
var _curDomRange$npStart$5, _curDomRange$npStart$6;
|
|
233137
|
+
var _parentNode = (_curDomRange$npStart$5 = curDomRange.npStart.node) === null || _curDomRange$npStart$5 === void 0 ? void 0 : _curDomRange$npStart$5.parentNode;
|
|
233138
|
+
_parentNode.childNodes.forEach(function (pnode) {
|
|
233139
|
+
var customProperty = pnode.customProperty;
|
|
233140
|
+
if ((0,esm_typeof/* default */.Z)(customProperty) == 'object') {
|
|
233141
|
+
if (!result) result = customProperty.paragraphRecordId == recordId;
|
|
233142
|
+
}
|
|
233143
|
+
});
|
|
233144
|
+
if (result) return result;
|
|
233145
|
+
var _anode = (_curDomRange$npStart$6 = curDomRange.npStart.node) === null || _curDomRange$npStart$6 === void 0 ? void 0 : _curDomRange$npStart$6.parentNode.EndMarkNode.previousLeaf();
|
|
233116
233146
|
apath = hoEditorFactory.docTree.getNodeLastPath(_anode);
|
|
233117
233147
|
hoEditorFactory.docTree.curDomRange.setSamePath(apath);
|
|
233118
233148
|
}
|
|
@@ -233125,6 +233155,15 @@ var VueController = /*#__PURE__*/function () {
|
|
|
233125
233155
|
if (!temp) {
|
|
233126
233156
|
continue;
|
|
233127
233157
|
}
|
|
233158
|
+
if (typeof temp.customProperty == 'string') {
|
|
233159
|
+
temp.customProperty = {
|
|
233160
|
+
paragraphRecordId: recordId
|
|
233161
|
+
};
|
|
233162
|
+
} else if ((0,esm_typeof/* default */.Z)(temp.customProperty) == 'object') {
|
|
233163
|
+
temp.customProperty = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, temp.customProperty), {}, {
|
|
233164
|
+
paragraphRecordId: recordId
|
|
233165
|
+
});
|
|
233166
|
+
}
|
|
233128
233167
|
var node = hoEditorFactory.structureConvert.convertNode(temp, hoEditorFactory.docTree.mainNodes, null);
|
|
233129
233168
|
if (node) {
|
|
233130
233169
|
nodes.push(node);
|