hoeditor-web 3.1.16 → 3.1.17
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 +80 -28
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -59541,7 +59541,7 @@ var BandDataSource = /*#__PURE__*/function () {
|
|
|
59541
59541
|
return BandDataSource;
|
|
59542
59542
|
}();
|
|
59543
59543
|
var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
59544
|
-
//关联元素
|
|
59544
|
+
//关联元素
|
|
59545
59545
|
function RadioAndCheckBoxInstance() {
|
|
59546
59546
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, RadioAndCheckBoxInstance);
|
|
59547
59547
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "id", void 0);
|
|
@@ -59577,6 +59577,8 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59577
59577
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "groupHasOptions", false);
|
|
59578
59578
|
//同组保存时必须有选项不能全部为空
|
|
59579
59579
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "associatedElement", "");
|
|
59580
|
+
//关联元素必填标识
|
|
59581
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "associatedId", "");
|
|
59580
59582
|
RadioAndCheckBoxInstance.makeDefaultValue(this);
|
|
59581
59583
|
}
|
|
59582
59584
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(RadioAndCheckBoxInstance, [{
|
|
@@ -59781,6 +59783,16 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59781
59783
|
this.associatedElement = value;
|
|
59782
59784
|
}
|
|
59783
59785
|
}
|
|
59786
|
+
}, {
|
|
59787
|
+
key: "AssociatedId",
|
|
59788
|
+
get: function get() {
|
|
59789
|
+
return this.associatedId;
|
|
59790
|
+
},
|
|
59791
|
+
set: function set(value) {
|
|
59792
|
+
if (this.associatedId !== value) {
|
|
59793
|
+
this.associatedId = value;
|
|
59794
|
+
}
|
|
59795
|
+
}
|
|
59784
59796
|
// get BandDataSource(): BandDataSource {
|
|
59785
59797
|
// return this.bandDataSource;
|
|
59786
59798
|
// }
|
|
@@ -59824,6 +59836,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59824
59836
|
ret.isTransToText = false;
|
|
59825
59837
|
ret.groupHasOptions = false;
|
|
59826
59838
|
ret.associatedElement = "";
|
|
59839
|
+
ret.associatedId = "";
|
|
59827
59840
|
return ret;
|
|
59828
59841
|
}
|
|
59829
59842
|
}]);
|
|
@@ -60142,6 +60155,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60142
60155
|
ret.IsTransToText = this.isTransToText != undefined ? this.isTransToText : ret.IsTransToText;
|
|
60143
60156
|
ret.GroupHasOptions = this.groupHasOptions != undefined ? this.groupHasOptions : ret.GroupHasOptions;
|
|
60144
60157
|
ret.AssociatedElement = this.associatedElement != undefined ? this.associatedElement : ret.AssociatedElement;
|
|
60158
|
+
ret.AssociatedId = this.associatedId != undefined ? this.associatedId : ret.AssociatedId;
|
|
60145
60159
|
return ret;
|
|
60146
60160
|
}
|
|
60147
60161
|
/**
|
|
@@ -60270,6 +60284,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60270
60284
|
readType: this.readType,
|
|
60271
60285
|
//bandDataSource: this.bandDataSource,
|
|
60272
60286
|
associatedElement: this.associatedElement,
|
|
60287
|
+
associatedId: this.associatedId,
|
|
60273
60288
|
remark: this.remark
|
|
60274
60289
|
};
|
|
60275
60290
|
}
|
|
@@ -60337,6 +60352,9 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60337
60352
|
if (this.associatedElement) {
|
|
60338
60353
|
retObj.associatedElement = this.associatedElement;
|
|
60339
60354
|
}
|
|
60355
|
+
if (this.associatedId) {
|
|
60356
|
+
retObj.associatedId = this.associatedId;
|
|
60357
|
+
}
|
|
60340
60358
|
if (this.remark) {
|
|
60341
60359
|
retObj.remark = this.remark;
|
|
60342
60360
|
}
|
|
@@ -61018,11 +61036,12 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
61018
61036
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(SignNode, _BaseNode);
|
|
61019
61037
|
var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(SignNode);
|
|
61020
61038
|
//其它属性{"isDisplayTitle":true,"title":"职称","isDisplayTime":true,"time":"签名日期","timePosition":"1"}
|
|
61021
|
-
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties) {
|
|
61039
|
+
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId) {
|
|
61022
61040
|
var _this;
|
|
61023
61041
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, SignNode);
|
|
61024
61042
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
61025
|
-
|
|
61043
|
+
(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), "_dataId", "");
|
|
61044
|
+
//dataId
|
|
61026
61045
|
(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), "_name", "");
|
|
61027
61046
|
//签名名称
|
|
61028
61047
|
(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), "_signType", 0);
|
|
@@ -61082,6 +61101,11 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
61082
61101
|
// if(attribute == 1) { // 患者签名修改 type == 3
|
|
61083
61102
|
// this._type = 3;
|
|
61084
61103
|
// }
|
|
61104
|
+
if (dataId) {
|
|
61105
|
+
_this.dataId = dataId;
|
|
61106
|
+
} else {
|
|
61107
|
+
_this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("Sign");
|
|
61108
|
+
}
|
|
61085
61109
|
if (fingerPrintSrc) {
|
|
61086
61110
|
_this._fingerPrintSrc = fingerPrintSrc;
|
|
61087
61111
|
}
|
|
@@ -61144,6 +61168,16 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
61144
61168
|
// }
|
|
61145
61169
|
// }
|
|
61146
61170
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(SignNode, [{
|
|
61171
|
+
key: "dataId",
|
|
61172
|
+
get: function get() {
|
|
61173
|
+
return this._dataId;
|
|
61174
|
+
},
|
|
61175
|
+
set: function set(value) {
|
|
61176
|
+
if (this._dataId !== value) {
|
|
61177
|
+
this._dataId = value;
|
|
61178
|
+
}
|
|
61179
|
+
}
|
|
61180
|
+
}, {
|
|
61147
61181
|
key: "name",
|
|
61148
61182
|
get: function get() {
|
|
61149
61183
|
return this._name;
|
|
@@ -61470,7 +61504,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
61470
61504
|
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_18__/* .NodeType */ .Jq[this.nodeType],
|
|
61471
61505
|
number: clearSign ? 0 : this.number,
|
|
61472
61506
|
type: clearSign ? 0 : this.type,
|
|
61473
|
-
|
|
61507
|
+
dataId: this.dataId,
|
|
61474
61508
|
name: this.name,
|
|
61475
61509
|
signType: this.signType,
|
|
61476
61510
|
signFormat: this.signFormat,
|
|
@@ -61509,7 +61543,11 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
61509
61543
|
}
|
|
61510
61544
|
}], [{
|
|
61511
61545
|
key: "json2Node",
|
|
61512
|
-
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode, isClearSign) {
|
|
61546
|
+
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode, isClearSign, isPaste) {
|
|
61547
|
+
if (isPaste) {
|
|
61548
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys */ .b.instance().getFactory(hoEditorFactoryID);
|
|
61549
|
+
json.dataId = hoEditorFactory.gernerateCode.generateID("Sign");
|
|
61550
|
+
}
|
|
61513
61551
|
//const width = Number(json.width);
|
|
61514
61552
|
var number = isClearSign ? 0 : Number(json.number);
|
|
61515
61553
|
var type = isClearSign ? 0 : Number(json.type);
|
|
@@ -61521,7 +61559,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
61521
61559
|
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(json.fingerPrintSrc) == 'object') {
|
|
61522
61560
|
json.fingerPrintSrc = '';
|
|
61523
61561
|
}
|
|
61524
|
-
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_18__/* .NodeType */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, json.isFront, json.allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties);
|
|
61562
|
+
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_18__/* .NodeType */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, json.isFront, json.allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties, json.dataId);
|
|
61525
61563
|
// if (json.id != "") {
|
|
61526
61564
|
// signNode.id = json.id;
|
|
61527
61565
|
// }
|
|
@@ -85665,22 +85703,26 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85665
85703
|
}
|
|
85666
85704
|
}
|
|
85667
85705
|
//单复选带出关联元素
|
|
85668
|
-
var deleteAssociatedEle = function deleteAssociatedEle(node) {
|
|
85669
|
-
var
|
|
85670
|
-
changeEvent
|
|
85706
|
+
var deleteAssociatedEle = function deleteAssociatedEle(node, tPath) {
|
|
85707
|
+
var oldEndPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
85708
|
+
var changeEvent = new NodeChangeEvent/* NodeChangeEvent */.G(_this2._hoEditorFactoryID, DocTree/* DocAction */.gk.daDelete, tPath, "");
|
|
85709
|
+
changeEvent.oldEndPath = oldEndPath;
|
|
85710
|
+
changeEvent.oldDrawTreeLines = new SelectRange/* SelectRange */.E(_this2._hoEditorFactoryID).getRangeDrawTreeLines(nodePathCur, oldEndPath);
|
|
85671
85711
|
hoEditorFactory.docTree.deleteNode(node, "update");
|
|
85672
|
-
changeEvent.oldDrawTreeLines = new SelectRange/* SelectRange */.E(_this2._hoEditorFactoryID).getRangeDrawTreeLines(nodePathCur, changeEvent.oldEndPath);
|
|
85673
85712
|
changeEvent.afterChangePath = nodePathCur;
|
|
85674
85713
|
hoEditorFactory.docTree.change(changeEvent);
|
|
85675
85714
|
};
|
|
85676
85715
|
if (e.node.associatedId) {
|
|
85716
|
+
var newpath = nodePathCur;
|
|
85677
85717
|
if (this._onInsertNodeByID) {
|
|
85678
85718
|
if (e.node.isSelected) {
|
|
85679
|
-
this._onInsertNodeByID(
|
|
85719
|
+
this._onInsertNodeByID(newpath, e.node.associatedId).then(function (res) {
|
|
85720
|
+
newpath = res;
|
|
85721
|
+
});
|
|
85680
85722
|
} else {
|
|
85681
|
-
var _node2 = hoEditorFactory.vueController.
|
|
85723
|
+
var _node2 = hoEditorFactory.vueController.getNodeByID("main", e.node.associatedId);
|
|
85682
85724
|
if (_node2) {
|
|
85683
|
-
deleteAssociatedEle(_node2);
|
|
85725
|
+
deleteAssociatedEle(_node2, newpath);
|
|
85684
85726
|
}
|
|
85685
85727
|
}
|
|
85686
85728
|
}
|
|
@@ -85690,11 +85732,12 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85690
85732
|
_step3;
|
|
85691
85733
|
try {
|
|
85692
85734
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
85693
|
-
var
|
|
85694
|
-
if (
|
|
85695
|
-
var _node3 = hoEditorFactory.vueController.
|
|
85735
|
+
var val = _step3.value;
|
|
85736
|
+
if (val.associatedId && val.controlStyle === "RadioBox" && val.groupName === groupName && groupName !== "") {
|
|
85737
|
+
var _node3 = hoEditorFactory.vueController.getNodeByID("main", val.associatedId);
|
|
85696
85738
|
if (_node3) {
|
|
85697
|
-
|
|
85739
|
+
var bpath = val.getNodePath();
|
|
85740
|
+
deleteAssociatedEle(_node3, bpath);
|
|
85698
85741
|
break;
|
|
85699
85742
|
}
|
|
85700
85743
|
}
|
|
@@ -217851,7 +217894,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
217851
217894
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
217852
217895
|
var ParagraphNode = __webpack_require__(67945);
|
|
217853
217896
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
217854
|
-
/* harmony default export */ var version = ('3.1.
|
|
217897
|
+
/* harmony default export */ var version = ('3.1.17');
|
|
217855
217898
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
217856
217899
|
var PoperTipText = __webpack_require__(50987);
|
|
217857
217900
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -223462,7 +223505,7 @@ var StructureConvert = /*#__PURE__*/function () {
|
|
|
223462
223505
|
} else if (temp.nodeType == BaseNode/* NodeType */.Jq.ntLabel) {
|
|
223463
223506
|
return LabelNode/* LabelNode */.P.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode);
|
|
223464
223507
|
} else if (temp.nodeType == BaseNode/* NodeType */.Jq.ntSign) {
|
|
223465
|
-
return SignNode/* SignNode */.N.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode, isClearSign);
|
|
223508
|
+
return SignNode/* SignNode */.N.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode, isClearSign, isPaste);
|
|
223466
223509
|
} else if (temp.nodeType == BaseNode/* NodeType */.Jq.ntGestation) {
|
|
223467
223510
|
return GestationNode/* GestationNode */.G.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode);
|
|
223468
223511
|
} else if (temp.nodeType == BaseNode/* NodeType */.Jq.ntRareChar) {
|
|
@@ -227605,7 +227648,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
227605
227648
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
227606
227649
|
for (var i = 0; i < nodes.length; i++) {
|
|
227607
227650
|
var anode = nodes[i];
|
|
227608
|
-
if (anode instanceof ControlNode/* ControlNode */.w || anode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
227651
|
+
if (anode instanceof ControlNode/* ControlNode */.w || anode instanceof TextInputFieldNode/* TextInputFieldNode */.re || anode instanceof SignNode/* SignNode */.N) {
|
|
227609
227652
|
if (anode.dataId === dataid) {
|
|
227610
227653
|
node = anode;
|
|
227611
227654
|
break;
|
|
@@ -230211,10 +230254,16 @@ var VueController = /*#__PURE__*/function () {
|
|
|
230211
230254
|
document.body.removeChild(document.querySelector('#hoDownLoadImageBtn'));
|
|
230212
230255
|
}, 300);
|
|
230213
230256
|
}
|
|
230257
|
+
//type=1:根据dataid定位元素 type=其它:根据id定位元素
|
|
230214
230258
|
}, {
|
|
230215
230259
|
key: "moveCaretToElement",
|
|
230216
|
-
value: function moveCaretToElement(scope, id) {
|
|
230217
|
-
var node
|
|
230260
|
+
value: function moveCaretToElement(scope, id, type) {
|
|
230261
|
+
var node;
|
|
230262
|
+
if (type == 1) {
|
|
230263
|
+
node = this.getNodeByDataID(scope, id);
|
|
230264
|
+
} else {
|
|
230265
|
+
node = this.getNodeByID(scope, id);
|
|
230266
|
+
}
|
|
230218
230267
|
if (node) {
|
|
230219
230268
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
230220
230269
|
var oldRange = hoEditorFactory.docTree.curDomRange;
|
|
@@ -230231,10 +230280,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
230231
230280
|
}
|
|
230232
230281
|
}
|
|
230233
230282
|
hoEditorFactory.drawTree.moveCaretToPath(topath);
|
|
230234
|
-
|
|
230235
|
-
|
|
230236
|
-
|
|
230237
|
-
|
|
230283
|
+
if (type !== 1) {
|
|
230284
|
+
var newRange = new DomRange/* DomRange */.a(this.hoEditorFactoryID, spath, epath);
|
|
230285
|
+
hoEditorFactory.docTree.curDomRange = newRange;
|
|
230286
|
+
var selectChangeEvent = new SelectionChangeEvent/* SelectionChangeEvent */.r(oldRange, newRange);
|
|
230287
|
+
hoEditorFactory.docTree.selectChange(selectChangeEvent);
|
|
230288
|
+
}
|
|
230238
230289
|
}
|
|
230239
230290
|
}
|
|
230240
230291
|
/**
|
|
@@ -232853,8 +232904,8 @@ var BaseController = /*#__PURE__*/function () {
|
|
|
232853
232904
|
/*
|
|
232854
232905
|
* @Author: your name
|
|
232855
232906
|
* @Date: 2021-07-31 09:22:55
|
|
232856
|
-
* @LastEditTime:
|
|
232857
|
-
* @LastEditors:
|
|
232907
|
+
* @LastEditTime: 2023-10-11 16:29:33
|
|
232908
|
+
* @LastEditors: liyanan 2441631434@qq.com
|
|
232858
232909
|
* @Description: In User Settings Edit
|
|
232859
232910
|
* @FilePath: \hoeditor-web\src\editor\externalCall\DomController.ts
|
|
232860
232911
|
*/
|
|
@@ -233217,6 +233268,7 @@ var DomController = /*#__PURE__*/function () {
|
|
|
233217
233268
|
value: function registOnNodeInsertByID(func) {
|
|
233218
233269
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
233219
233270
|
hoEditorFactory.docController.onInsertNodeByID = func;
|
|
233271
|
+
hoEditorFactory.drawTree.onInsertNodeByID = func;
|
|
233220
233272
|
}
|
|
233221
233273
|
}, {
|
|
233222
233274
|
key: "delCurPage",
|