hoeditor-web 3.1.3 → 3.1.4
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 +2 -18387
- package/lib/hoeditor.umd.js +205 -159
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -13522,7 +13522,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13522
13522
|
|
|
13523
13523
|
/***/ }),
|
|
13524
13524
|
|
|
13525
|
-
/***/
|
|
13525
|
+
/***/ 68763:
|
|
13526
13526
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13527
13527
|
|
|
13528
13528
|
"use strict";
|
|
@@ -13536,7 +13536,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13536
13536
|
|
|
13537
13537
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
13538
13538
|
var es_function_name = __webpack_require__(68309);
|
|
13539
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
13539
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=ddf4f372&
|
|
13540
13540
|
|
|
13541
13541
|
var render = function render() {
|
|
13542
13542
|
var _vm = this,
|
|
@@ -14245,7 +14245,7 @@ var render = function render() {
|
|
|
14245
14245
|
};
|
|
14246
14246
|
var staticRenderFns = [];
|
|
14247
14247
|
|
|
14248
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
14248
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=ddf4f372&
|
|
14249
14249
|
|
|
14250
14250
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14251
14251
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -14418,7 +14418,6 @@ var defaultBox = {
|
|
|
14418
14418
|
for (var i = 0; i < nodes.length; i++) {
|
|
14419
14419
|
var node = nodes[i];
|
|
14420
14420
|
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
14421
|
-
if (node.name == '单次用量') {}
|
|
14422
14421
|
ret.push({
|
|
14423
14422
|
dataId: node.dataId,
|
|
14424
14423
|
name: node.name,
|
|
@@ -14547,10 +14546,10 @@ var defaultBox = {
|
|
|
14547
14546
|
});
|
|
14548
14547
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
14549
14548
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
14550
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14549
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=ddf4f372&prod&lang=less&
|
|
14551
14550
|
// extracted by mini-css-extract-plugin
|
|
14552
14551
|
|
|
14553
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14552
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=ddf4f372&prod&lang=less&
|
|
14554
14553
|
|
|
14555
14554
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
14556
14555
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -42252,6 +42251,33 @@ var DocController = /*#__PURE__*/function () {
|
|
|
42252
42251
|
} else {
|
|
42253
42252
|
var nodesMap = object.obj1;
|
|
42254
42253
|
var indexsMap = object.obj2;
|
|
42254
|
+
var temp = ""; //临时变量
|
|
42255
|
+
var flag = true; //是否交换的标志
|
|
42256
|
+
for (var i = 1; i < indexsMap.size; i++) {
|
|
42257
|
+
//表示趟数,一共 arr.length-1 次
|
|
42258
|
+
// 每次遍历标志位都要先置为false,才能判断后面的元素是否发生了交换
|
|
42259
|
+
flag = true;
|
|
42260
|
+
for (var j = indexsMap.size; j > i; j--) {
|
|
42261
|
+
//选出该趟排序的最大值往后移动
|
|
42262
|
+
var val2 = indexsMap.get(j);
|
|
42263
|
+
var paraIndex2 = val2.split("|")[0];
|
|
42264
|
+
var textCount2 = parseInt(val2.split("|")[1]);
|
|
42265
|
+
var strIndex2 = parseInt(val2.split("|")[2]);
|
|
42266
|
+
var val3 = indexsMap.get(j - 1);
|
|
42267
|
+
var paraIndex3 = val3.split("|")[0];
|
|
42268
|
+
var textCount3 = parseInt(val3.split("|")[1]);
|
|
42269
|
+
var strIndex3 = parseInt(val3.split("|")[2]);
|
|
42270
|
+
if (paraIndex2 === paraIndex3 && (textCount3 < textCount2 || textCount2 === textCount3 && strIndex3 < strIndex2)) {
|
|
42271
|
+
temp = val2;
|
|
42272
|
+
indexsMap.set(j, indexsMap.get(j - 1));
|
|
42273
|
+
indexsMap.set(j - 1, temp);
|
|
42274
|
+
flag = false; //只要有发生了交换,flag就置为true
|
|
42275
|
+
continue;
|
|
42276
|
+
}
|
|
42277
|
+
}
|
|
42278
|
+
// 判断标志位是否为false,如果为false,说明后面的元素已经有序,就直接return
|
|
42279
|
+
if (flag) break;
|
|
42280
|
+
}
|
|
42255
42281
|
var _iterator = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(indexsMap.values()),
|
|
42256
42282
|
_step;
|
|
42257
42283
|
try {
|
|
@@ -65634,7 +65660,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65634
65660
|
/* harmony export */ });
|
|
65635
65661
|
/* unused harmony exports SpecialFormat, DataFormat, BandDataSource */
|
|
65636
65662
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(94310);
|
|
65637
|
-
/* harmony import */ var
|
|
65663
|
+
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(40735);
|
|
65638
65664
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61748);
|
|
65639
65665
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80543);
|
|
65640
65666
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(81448);
|
|
@@ -65683,37 +65709,40 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65683
65709
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_29__);
|
|
65684
65710
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(21703);
|
|
65685
65711
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_30__);
|
|
65686
|
-
/* harmony import */ var
|
|
65687
|
-
/* harmony import */ var
|
|
65688
|
-
/* harmony import */ var
|
|
65689
|
-
/* harmony import */ var
|
|
65690
|
-
/* harmony import */ var
|
|
65691
|
-
/* harmony import */ var
|
|
65692
|
-
/* harmony import */ var
|
|
65693
|
-
/* harmony import */ var
|
|
65694
|
-
/* harmony import */ var
|
|
65695
|
-
/* harmony import */ var
|
|
65696
|
-
/* harmony import */ var
|
|
65697
|
-
/* harmony import */ var
|
|
65698
|
-
/* harmony import */ var
|
|
65699
|
-
/* harmony import */ var
|
|
65700
|
-
/* harmony import */ var
|
|
65701
|
-
/* harmony import */ var
|
|
65702
|
-
/* harmony import */ var
|
|
65703
|
-
/* harmony import */ var
|
|
65704
|
-
/* harmony import */ var
|
|
65705
|
-
/* harmony import */ var
|
|
65706
|
-
/* harmony import */ var
|
|
65707
|
-
/* harmony import */ var
|
|
65708
|
-
/* harmony import */ var
|
|
65709
|
-
/* harmony import */ var
|
|
65710
|
-
/* harmony import */ var
|
|
65711
|
-
/* harmony import */ var
|
|
65712
|
-
/* harmony import */ var
|
|
65713
|
-
/* harmony import */ var
|
|
65714
|
-
/* harmony import */ var
|
|
65715
|
-
/* harmony import */ var
|
|
65716
|
-
/* harmony import */ var
|
|
65712
|
+
/* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(68757);
|
|
65713
|
+
/* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_31__);
|
|
65714
|
+
/* harmony import */ var _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(96635);
|
|
65715
|
+
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(51760);
|
|
65716
|
+
/* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(53901);
|
|
65717
|
+
/* harmony import */ var _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(48541);
|
|
65718
|
+
/* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(8277);
|
|
65719
|
+
/* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(2613);
|
|
65720
|
+
/* harmony import */ var _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(64465);
|
|
65721
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(74089);
|
|
65722
|
+
/* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(32629);
|
|
65723
|
+
/* harmony import */ var _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(29899);
|
|
65724
|
+
/* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(94639);
|
|
65725
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(42921);
|
|
65726
|
+
/* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(4938);
|
|
65727
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(62358);
|
|
65728
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(91105);
|
|
65729
|
+
/* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(92501);
|
|
65730
|
+
/* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(47088);
|
|
65731
|
+
/* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(59621);
|
|
65732
|
+
/* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(57727);
|
|
65733
|
+
/* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(80177);
|
|
65734
|
+
/* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(45836);
|
|
65735
|
+
/* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(67945);
|
|
65736
|
+
/* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(13307);
|
|
65737
|
+
/* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(11429);
|
|
65738
|
+
/* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(19995);
|
|
65739
|
+
/* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(24701);
|
|
65740
|
+
/* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(90832);
|
|
65741
|
+
/* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(5010);
|
|
65742
|
+
/* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(27198);
|
|
65743
|
+
/* harmony import */ var _QrcodeNode__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(12659);
|
|
65744
|
+
/* harmony import */ var _RareCharNode__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(34910);
|
|
65745
|
+
|
|
65717
65746
|
|
|
65718
65747
|
|
|
65719
65748
|
|
|
@@ -65749,7 +65778,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65749
65778
|
/*
|
|
65750
65779
|
* @Author: your name
|
|
65751
65780
|
* @Date: 2020-11-03 15:17:54
|
|
65752
|
-
* @LastEditTime: 2023-08-
|
|
65781
|
+
* @LastEditTime: 2023-08-24 11:04:19
|
|
65753
65782
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
65754
65783
|
* @Description: In User Settings Edit
|
|
65755
65784
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -66259,7 +66288,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66259
66288
|
}
|
|
66260
66289
|
}
|
|
66261
66290
|
if (!_this._dataId) {
|
|
66262
|
-
_this._dataId =
|
|
66291
|
+
_this._dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID('Field');
|
|
66263
66292
|
}
|
|
66264
66293
|
_this.node2DrawNodeRange(0, _this.text.length - 1);
|
|
66265
66294
|
//FIXME:正式使用时下面事件触发要注释掉,这里会在节点被删除后被卡死
|
|
@@ -66328,8 +66357,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66328
66357
|
}, {
|
|
66329
66358
|
key: "mouseEvent",
|
|
66330
66359
|
value: function mouseEvent(event) {
|
|
66331
|
-
if (event.type ==
|
|
66332
|
-
if (event.type ==
|
|
66360
|
+
if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_35__/* .DmouseEventType */ .p.detOver) this.activity(true);
|
|
66361
|
+
if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_35__/* .DmouseEventType */ .p.detOut) this.activity(false);
|
|
66333
66362
|
}
|
|
66334
66363
|
// public activity(active: boolean) {
|
|
66335
66364
|
// if (active) {
|
|
@@ -66686,7 +66715,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66686
66715
|
} else {
|
|
66687
66716
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
66688
66717
|
var child = this.childNodes[i];
|
|
66689
|
-
if (child instanceof
|
|
66718
|
+
if (child instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && child.MarkNodeType == 1) {
|
|
66690
66719
|
return child;
|
|
66691
66720
|
}
|
|
66692
66721
|
}
|
|
@@ -66701,7 +66730,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66701
66730
|
key: "update",
|
|
66702
66731
|
value: function update(mode) {
|
|
66703
66732
|
var _this2 = this;
|
|
66704
|
-
var hoEditorFactory =
|
|
66733
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66705
66734
|
/**
|
|
66706
66735
|
* 内容为空,显示一个点位符
|
|
66707
66736
|
*/
|
|
@@ -66723,9 +66752,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66723
66752
|
case 0:
|
|
66724
66753
|
//由于在表格在放置输入域后会在绘制时触发输入域重绘,此时表格还未放置于舞台,造成报错,故暂时禁用此函数
|
|
66725
66754
|
//熊跃龙 2021-03-19
|
|
66726
|
-
changeEvent = new
|
|
66755
|
+
changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_37__/* .NodeChangeEvent */ .G(_this2.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_40__/* .DocAction */ .gk.daModifyStyle, path1 || startPath, path2 || endPath);
|
|
66727
66756
|
changeEvent.oldEndPath = path2 || endPath;
|
|
66728
|
-
changeEvent.oldDrawLines = new
|
|
66757
|
+
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_34__/* .SelectRange */ .E(_this2.hoEditorFactoryID).getRangeDrawLines(path1 || startPath, path2 || endPath, true);
|
|
66729
66758
|
_context.next = 5;
|
|
66730
66759
|
return hoEditorFactory.docTree.change(changeEvent);
|
|
66731
66760
|
case 5:
|
|
@@ -66744,11 +66773,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66744
66773
|
}();
|
|
66745
66774
|
if (mode == 0) {
|
|
66746
66775
|
var prev = first.previousLeaf();
|
|
66747
|
-
if (!prev) throw
|
|
66776
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_36__/* .Exception */ .P.NodeNotFound();
|
|
66748
66777
|
refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
|
|
66749
66778
|
setTimeout(function () {
|
|
66750
66779
|
prev = first.previousLeaf();
|
|
66751
|
-
if (!prev) throw
|
|
66780
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_36__/* .Exception */ .P.NodeNotFound();
|
|
66752
66781
|
refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
|
|
66753
66782
|
}, 200);
|
|
66754
66783
|
return;
|
|
@@ -66794,7 +66823,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66794
66823
|
// } else
|
|
66795
66824
|
if (this.StartMarkNode.drawNodes.length > 0 && this.EndMarkNode.drawNodes.length > 0) {
|
|
66796
66825
|
//不空,还原
|
|
66797
|
-
var bInSameLine =
|
|
66826
|
+
var bInSameLine = _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_32__/* .DrawLine */ .a.inSameLine(this.StartMarkNode.drawNodes[0], this.EndMarkNode.drawNodes[0]);
|
|
66798
66827
|
if (fixWidthPix == 0 || !bInSameLine || usedWidth >= maxEmptWidth) {
|
|
66799
66828
|
firthWidth = 0;
|
|
66800
66829
|
lastWidth = 0;
|
|
@@ -66814,7 +66843,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66814
66843
|
last.width = lastWidth;
|
|
66815
66844
|
var _prev = last.previousLeaf();
|
|
66816
66845
|
if (!_prev) {
|
|
66817
|
-
throw
|
|
66846
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_36__/* .Exception */ .P.NodeNotFound();
|
|
66818
66847
|
}
|
|
66819
66848
|
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev);
|
|
66820
66849
|
endPath = last.getNodePath();
|
|
@@ -66826,7 +66855,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66826
66855
|
last.width = lastWidth;
|
|
66827
66856
|
var _prev2 = first.previousLeaf();
|
|
66828
66857
|
if (!_prev2) {
|
|
66829
|
-
throw
|
|
66858
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_36__/* .Exception */ .P.NodeNotFound();
|
|
66830
66859
|
}
|
|
66831
66860
|
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev2);
|
|
66832
66861
|
endPath = last.getNodePath();
|
|
@@ -66851,8 +66880,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66851
66880
|
var loopChildNodes = function loopChildNodes(node) {
|
|
66852
66881
|
var nodes = node.childNodes.slice(1);
|
|
66853
66882
|
nodes.forEach(function (childNode) {
|
|
66854
|
-
if (childNode instanceof
|
|
66855
|
-
var hoEditorFactory =
|
|
66883
|
+
if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R) {
|
|
66884
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(_this3.hoEditorFactoryID);
|
|
66856
66885
|
var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
|
|
66857
66886
|
if (!textStyle) {
|
|
66858
66887
|
textStyle = hoEditorFactory.docTree.styles[0];
|
|
@@ -66867,36 +66896,36 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66867
66896
|
text += childNode.text;
|
|
66868
66897
|
}
|
|
66869
66898
|
}
|
|
66870
|
-
} else if (childNode instanceof
|
|
66871
|
-
if (childNode instanceof
|
|
66899
|
+
} else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_46__/* .ControlNode */ .w) {
|
|
66900
|
+
if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_47__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
|
|
66872
66901
|
text += '';
|
|
66873
66902
|
} else {
|
|
66874
66903
|
text += childNode.text;
|
|
66875
66904
|
}
|
|
66876
|
-
} else if (childNode instanceof
|
|
66905
|
+
} else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_44__/* .BaseCombineNode */ .V) {
|
|
66877
66906
|
loopChildNodes(childNode);
|
|
66878
|
-
} else if (childNode instanceof
|
|
66907
|
+
} else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_53__/* .ParagraphNode */ .C) {
|
|
66879
66908
|
text += '\n';
|
|
66880
|
-
} else if (childNode instanceof
|
|
66909
|
+
} else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_51__/* .MedicalExpressionNode */ .H) {
|
|
66881
66910
|
var expressJson = JSON.parse('{}');
|
|
66882
66911
|
text += '<MedicalExpress>';
|
|
66883
|
-
if (childNode instanceof
|
|
66912
|
+
if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_52__/* .MenstrualHistoryNode */ .n) {
|
|
66884
66913
|
expressJson.expressStyle = childNode.expressStyle;
|
|
66885
66914
|
expressJson.menseDays = childNode.menseDays;
|
|
66886
66915
|
expressJson.cycleDays = childNode.cycleDays;
|
|
66887
66916
|
expressJson.menarcheAge = childNode.menarcheAge;
|
|
66888
66917
|
expressJson.menoPauseAge = childNode.menoPauseAge;
|
|
66889
|
-
} else if (childNode instanceof
|
|
66918
|
+
} else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_56__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_49__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_48__/* .FetalHeartMapNode */ .t) {
|
|
66890
66919
|
expressJson.value1 = childNode.value1;
|
|
66891
66920
|
expressJson.value2 = childNode.value2;
|
|
66892
66921
|
expressJson.value3 = childNode.value3;
|
|
66893
66922
|
expressJson.value4 = childNode.value4;
|
|
66894
66923
|
expressJson.value5 = childNode.value5;
|
|
66895
66924
|
expressJson.value6 = childNode.value6;
|
|
66896
|
-
if (childNode instanceof
|
|
66925
|
+
if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_56__/* .PupilMapNode */ .v) {
|
|
66897
66926
|
expressJson.expressStyle = 'PupilMapNode';
|
|
66898
66927
|
expressJson.value7 = childNode.value7;
|
|
66899
|
-
} else if (childNode instanceof
|
|
66928
|
+
} else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_49__/* .LightLocationMapNode */ .D) {
|
|
66900
66929
|
expressJson.expressStyle = 'LightLocationMapNode';
|
|
66901
66930
|
expressJson.value7 = childNode.value7;
|
|
66902
66931
|
expressJson.value8 = childNode.value8;
|
|
@@ -66904,12 +66933,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66904
66933
|
} else {
|
|
66905
66934
|
expressJson.expressStyle = 'FetalHeartMapNode';
|
|
66906
66935
|
}
|
|
66907
|
-
} else if (childNode instanceof
|
|
66908
|
-
if (childNode instanceof
|
|
66936
|
+
} else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_54__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_55__/* .PrimaryTeethMapNode */ .x) {
|
|
66937
|
+
if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_54__/* .PermanentTeethMapNode */ .f) {
|
|
66909
66938
|
expressJson.expressStyle = 'PermanentTeethMapNode';
|
|
66910
66939
|
expressJson.remark = childNode.remark;
|
|
66911
66940
|
}
|
|
66912
|
-
if (childNode instanceof
|
|
66941
|
+
if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_55__/* .PrimaryTeethMapNode */ .x) {
|
|
66913
66942
|
expressJson.expressStyle = 'PrimaryTeethMapNode';
|
|
66914
66943
|
}
|
|
66915
66944
|
expressJson.topLeftSelected = childNode.topLeftSelected;
|
|
@@ -66968,7 +66997,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66968
66997
|
return (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)().wrap(function _callee2$(_context2) {
|
|
66969
66998
|
while (1) switch (_context2.prev = _context2.next) {
|
|
66970
66999
|
case 0:
|
|
66971
|
-
if (!(text === '' && this.childNodes[1] instanceof
|
|
67000
|
+
if (!(text === '' && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j)) {
|
|
66972
67001
|
_context2.next = 2;
|
|
66973
67002
|
break;
|
|
66974
67003
|
}
|
|
@@ -66985,12 +67014,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66985
67014
|
}
|
|
66986
67015
|
oldValue = this._canModifyContent.valueOf();
|
|
66987
67016
|
this._canModifyContent = true;
|
|
66988
|
-
hoEditorFactory =
|
|
67017
|
+
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66989
67018
|
startPath = this.StartMarkNode.getNodePath();
|
|
66990
67019
|
endPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]);
|
|
66991
|
-
aRange = new
|
|
66992
|
-
if (!(this.childNodes[1] instanceof
|
|
66993
|
-
anodes =
|
|
67020
|
+
aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_42__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath).normalize();
|
|
67021
|
+
if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j) && this.inputFieldType === 0) {
|
|
67022
|
+
anodes = _DomRange__WEBPACK_IMPORTED_MODULE_42__/* .DomRange */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
|
|
66994
67023
|
for (i = 0; i < anodes.length; i++) {
|
|
66995
67024
|
anode = anodes[i];
|
|
66996
67025
|
if (anode instanceof TextInputFieldNode && anode.parentNode === this && anode.isAllowDelete === false) {
|
|
@@ -67006,9 +67035,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67006
67035
|
break;
|
|
67007
67036
|
}
|
|
67008
67037
|
this._childNodes.splice(1, this._childNodes.length - 2);
|
|
67009
|
-
markNode = new
|
|
67038
|
+
markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtContent);
|
|
67010
67039
|
hoEditorFactory.undoService.begin();
|
|
67011
|
-
hoEditorFactory.undoService.add(new
|
|
67040
|
+
hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_38__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
|
|
67012
67041
|
hoEditorFactory.undoService.commit();
|
|
67013
67042
|
if (this._childNodes2.length === 3) {
|
|
67014
67043
|
this._childNodes2.splice(1, 1);
|
|
@@ -67065,7 +67094,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67065
67094
|
value: function node2DrawNodeRange(startIndex, endIndex) {
|
|
67066
67095
|
this.childNodes.length = 0;
|
|
67067
67096
|
this._childNodes2.length = 0;
|
|
67068
|
-
var hoEditorFactory =
|
|
67097
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
67069
67098
|
var curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
67070
67099
|
var cbStyle = hoEditorFactory.docTree.styles[curStyleIndex].combineStyle;
|
|
67071
67100
|
var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
|
|
@@ -67076,17 +67105,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67076
67105
|
// if (this.enableGlobalColor) {
|
|
67077
67106
|
// index = astyle.changeStyleString("fontBackColor", "transparent");
|
|
67078
67107
|
// }
|
|
67079
|
-
this.StartMarkNode = new
|
|
67108
|
+
this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMark, '|', index, _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtStart);
|
|
67080
67109
|
this.StartMarkNode.isReadOnly = true;
|
|
67081
|
-
this.StartMarkNode.MarkNodeType =
|
|
67082
|
-
this.EndMarkNode = new
|
|
67110
|
+
this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtStart;
|
|
67111
|
+
this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMark, ']', index, _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtEnd);
|
|
67083
67112
|
this.EndMarkNode.isReadOnly = true;
|
|
67084
|
-
this.EndMarkNode.MarkNodeType =
|
|
67113
|
+
this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtEnd;
|
|
67085
67114
|
this.StartMarkNode.pair = this.EndMarkNode;
|
|
67086
67115
|
this.EndMarkNode.pair = this.StartMarkNode;
|
|
67087
67116
|
this._childNodes2.push(this.StartMarkNode);
|
|
67088
67117
|
if (this.labelText.length != 0) {
|
|
67089
|
-
this._childNodes2.push(new
|
|
67118
|
+
this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtContent));
|
|
67090
67119
|
// this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
|
|
67091
67120
|
// this._childNodes2.push(this._labelNode);
|
|
67092
67121
|
}
|
|
@@ -67097,7 +67126,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67097
67126
|
if (this._childNodes2.length == 3) {
|
|
67098
67127
|
this.childNodes.splice(1, 1);
|
|
67099
67128
|
}
|
|
67100
|
-
this._childNodes.splice(1, 0, new
|
|
67129
|
+
this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, this.text, index));
|
|
67101
67130
|
}
|
|
67102
67131
|
}
|
|
67103
67132
|
}, {
|
|
@@ -67130,14 +67159,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67130
67159
|
if (startIndex >= this.getLength()) {
|
|
67131
67160
|
return dline;
|
|
67132
67161
|
}
|
|
67133
|
-
var hoEditorFactory =
|
|
67162
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
67134
67163
|
var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
|
|
67135
67164
|
var isEnd = false;
|
|
67136
67165
|
for (var index = 0; index < this.childNodes.length; index++) {
|
|
67137
67166
|
var value = this.childNodes[index];
|
|
67138
|
-
if (value instanceof
|
|
67167
|
+
if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_53__/* .ParagraphNode */ .C) {
|
|
67139
67168
|
if (aline.paragraphNode !== value) {
|
|
67140
|
-
if (aline instanceof
|
|
67169
|
+
if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_32__/* .DrawLine */ .a) {
|
|
67141
67170
|
aline.fitLines();
|
|
67142
67171
|
aline.updateLineStyle();
|
|
67143
67172
|
}
|
|
@@ -67150,7 +67179,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67150
67179
|
}
|
|
67151
67180
|
paraNode = value;
|
|
67152
67181
|
aline = paraNode.drawlines[0];
|
|
67153
|
-
} else if (value instanceof
|
|
67182
|
+
} else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_59__/* .TableNode */ .Fh) {
|
|
67154
67183
|
value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
|
|
67155
67184
|
aline = value.drawTable;
|
|
67156
67185
|
} else {
|
|
@@ -67161,14 +67190,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67161
67190
|
aline = value.placeDNode2DrawLine(droots, paraNode, aline, start, start + value.getLength() - 1, endPath);
|
|
67162
67191
|
}
|
|
67163
67192
|
var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
|
|
67164
|
-
var cresult =
|
|
67193
|
+
var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_43__/* .NodePosition */ .F.treePathCompare(endPath, nodePath);
|
|
67165
67194
|
if (cresult <= 0) {
|
|
67166
67195
|
break;
|
|
67167
67196
|
}
|
|
67168
67197
|
}
|
|
67169
67198
|
aline.fitLines();
|
|
67170
67199
|
aline.updateLineStyle();
|
|
67171
|
-
if (dline === aline && aline instanceof
|
|
67200
|
+
if (dline === aline && aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_32__/* .DrawLine */ .a) {
|
|
67172
67201
|
this._text = this.getFieldText();
|
|
67173
67202
|
var fixWidthPix = hoEditorFactory.unitConvert.mmConversionPx(this.fixedWidth * 10, true);
|
|
67174
67203
|
var restWidth = aline.dWidth - aline.paragraphNode.combineParagraph.leftMarginPixes - aline.paragraphNode.combineParagraph.rightMarginPixes - this.StartMarkNode.drawNodes[0].x;
|
|
@@ -67213,7 +67242,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67213
67242
|
//this.EndMarkNode.node2DrawNode();
|
|
67214
67243
|
aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
|
|
67215
67244
|
}
|
|
67216
|
-
if (this.hideDuringPrint && !this.isEmpty() && (hoEditorFactory.drawTree.paintStatus ==
|
|
67245
|
+
if (this.hideDuringPrint && !this.isEmpty() && (hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_33__/* .PaintState */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_33__/* .PaintState */ .Dh.psPrint)) {
|
|
67217
67246
|
var hidden = function hidden(childNodes) {
|
|
67218
67247
|
for (var h = 1; h < childNodes.length - 1; h++) {
|
|
67219
67248
|
var child = childNodes[h];
|
|
@@ -67246,15 +67275,15 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67246
67275
|
}, {
|
|
67247
67276
|
key: "getReadyToEdit",
|
|
67248
67277
|
value: function getReadyToEdit(callback) {
|
|
67249
|
-
var hoEditorFactory =
|
|
67250
|
-
if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !==
|
|
67278
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
67279
|
+
if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_33__/* .PaintState */ .Dh.psDesign) {
|
|
67251
67280
|
return [false, ''];
|
|
67252
67281
|
}
|
|
67253
67282
|
var label = this.getLabel();
|
|
67254
67283
|
if (label) {
|
|
67255
67284
|
var prev = label.previousLeaf();
|
|
67256
|
-
if (!prev) throw
|
|
67257
|
-
var path =
|
|
67285
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_36__/* .Exception */ .P.NodeNotFound();
|
|
67286
|
+
var path = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(prev);
|
|
67258
67287
|
if (callback) callback(label);
|
|
67259
67288
|
return [true, path];
|
|
67260
67289
|
}
|
|
@@ -67277,19 +67306,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67277
67306
|
value: function getActualWidth() {
|
|
67278
67307
|
var w = 0;
|
|
67279
67308
|
this.childNodes.forEach(function (value) {
|
|
67280
|
-
if (!(value instanceof
|
|
67309
|
+
if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_53__/* .ParagraphNode */ .C)) w += value.getActualWidth();
|
|
67281
67310
|
});
|
|
67282
67311
|
return w;
|
|
67283
67312
|
}
|
|
67284
67313
|
}, {
|
|
67285
67314
|
key: "delete",
|
|
67286
67315
|
value: function _delete(operType) {
|
|
67287
|
-
var hoEditorFactory =
|
|
67288
|
-
if (hoEditorFactory.drawTree.paintStatus ===
|
|
67316
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
67317
|
+
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_33__/* .PaintState */ .Dh.psDesign || this.isAllowDelete) {
|
|
67289
67318
|
return (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(TextInputFieldNode.prototype), "delete", this).call(this);
|
|
67290
67319
|
} else {
|
|
67291
67320
|
if (operType !== 'update') {
|
|
67292
|
-
|
|
67321
|
+
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_63__/* ["default"] */ .Z.warn('文本域已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。');
|
|
67293
67322
|
} else {
|
|
67294
67323
|
return (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(TextInputFieldNode.prototype), "delete", this).call(this);
|
|
67295
67324
|
}
|
|
@@ -67314,7 +67343,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67314
67343
|
return false;
|
|
67315
67344
|
} else {
|
|
67316
67345
|
for (var i = 0; i++; i < this.childNodes.length) {
|
|
67317
|
-
if (this.childNodes[i] instanceof
|
|
67346
|
+
if (this.childNodes[i] instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_44__/* .BaseCombineNode */ .V) {
|
|
67318
67347
|
if (this.childNodes[i].removeChild(node)) return true;
|
|
67319
67348
|
}
|
|
67320
67349
|
}
|
|
@@ -67332,9 +67361,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67332
67361
|
if (this.childNodes.length == 2) {
|
|
67333
67362
|
return true;
|
|
67334
67363
|
}
|
|
67335
|
-
if (this.childNodes.length == 3 && this.childNodes[1] instanceof
|
|
67364
|
+
if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j) {
|
|
67336
67365
|
var markNode = this.childNodes[1];
|
|
67337
|
-
if (markNode.MarkNodeType ===
|
|
67366
|
+
if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtContent) {
|
|
67338
67367
|
return true;
|
|
67339
67368
|
} else return false;
|
|
67340
67369
|
}
|
|
@@ -67365,7 +67394,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67365
67394
|
var ilen = arr.length;
|
|
67366
67395
|
for (var i = 1; i < ilen; i++) {
|
|
67367
67396
|
textInputFieldNode.insertText(arr[i].text, textInputFieldNode.text.length);
|
|
67368
|
-
|
|
67397
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.deleteNode(arr[i]);
|
|
67369
67398
|
}
|
|
67370
67399
|
return textInputFieldNode;
|
|
67371
67400
|
}
|
|
@@ -67383,10 +67412,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67383
67412
|
if (!range) {
|
|
67384
67413
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
67385
67414
|
var node = this.childNodes[i];
|
|
67386
|
-
if (!(node instanceof
|
|
67387
|
-
if (node instanceof
|
|
67415
|
+
if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && node.text.substr(0, 1) !== 'C')) {
|
|
67416
|
+
if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_59__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
|
|
67388
67417
|
childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
|
|
67389
|
-
} else if (node instanceof
|
|
67418
|
+
} else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N) {
|
|
67390
67419
|
if (clearSign) {
|
|
67391
67420
|
if (node.isTemplate) {
|
|
67392
67421
|
childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
@@ -67395,11 +67424,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67395
67424
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
67396
67425
|
}
|
|
67397
67426
|
} else {
|
|
67398
|
-
if (node instanceof
|
|
67427
|
+
if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R) {
|
|
67399
67428
|
if (node.text !== '') {
|
|
67400
67429
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
67401
67430
|
}
|
|
67402
|
-
} else if (node instanceof
|
|
67431
|
+
} else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_47__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_61__/* .QrcodeNode */ .d) {
|
|
67403
67432
|
childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
67404
67433
|
} else {
|
|
67405
67434
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
@@ -67452,7 +67481,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67452
67481
|
canCopy = _node.checkPath(rec.from);
|
|
67453
67482
|
}
|
|
67454
67483
|
if (canCopy) {
|
|
67455
|
-
if (!(_node instanceof
|
|
67484
|
+
if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && _node.text.substr(0, 1) === 'C')) {
|
|
67456
67485
|
childArray.push(_node.node2Json(rec, isCopy));
|
|
67457
67486
|
}
|
|
67458
67487
|
}
|
|
@@ -67582,7 +67611,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67582
67611
|
}, {
|
|
67583
67612
|
key: "getLeftWidth",
|
|
67584
67613
|
value: function getLeftWidth() {
|
|
67585
|
-
var hoEditorFactory =
|
|
67614
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
67586
67615
|
if (this.alignWithBlocked && this.StartMarkNode && this.StartMarkNode.drawNodes.length > 0) {
|
|
67587
67616
|
var dNode = this.StartMarkNode.drawNodes[0];
|
|
67588
67617
|
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(dNode);
|
|
@@ -67638,7 +67667,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67638
67667
|
}], [{
|
|
67639
67668
|
key: "json2Node",
|
|
67640
67669
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode, isPaste, isClearSign) {
|
|
67641
|
-
var hoEditorFactory =
|
|
67670
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(hoEditorFactoryID);
|
|
67642
67671
|
var eachCount = 0;
|
|
67643
67672
|
var isErrorValid = false;
|
|
67644
67673
|
delete json.nodeType;
|
|
@@ -67667,7 +67696,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67667
67696
|
json.includesKeyword = !json.includesKeyword ? false : json.includesKeyword;
|
|
67668
67697
|
json.valueArea = !json.valueArea ? false : json.valueArea;
|
|
67669
67698
|
json.isElementLink = !json.isElementLink ? false : json.isElementLink;
|
|
67670
|
-
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null,
|
|
67699
|
+
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntField, json);
|
|
67671
67700
|
// this.insertChild
|
|
67672
67701
|
if (json.childNodes) {
|
|
67673
67702
|
var nodes = new Array();
|
|
@@ -67687,10 +67716,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67687
67716
|
// console.timeEnd(`----${i}----1-1----${item[i].name}`);
|
|
67688
67717
|
// };
|
|
67689
67718
|
if (node) {
|
|
67690
|
-
if (node instanceof
|
|
67719
|
+
if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R) {
|
|
67691
67720
|
if (temp.innerIdentifier == "name" && node.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(node.text).length) {
|
|
67692
67721
|
//特殊处理生僻字
|
|
67693
|
-
var rareCharNode = new
|
|
67722
|
+
var rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_62__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, node.rootNodes, node.parentNode, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntRareChar, node.text, node.styleIndex);
|
|
67694
67723
|
nodes.push(rareCharNode);
|
|
67695
67724
|
} else {
|
|
67696
67725
|
if (node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '') {
|
|
@@ -67703,7 +67732,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67703
67732
|
}
|
|
67704
67733
|
} else {
|
|
67705
67734
|
if (isClearSign) {
|
|
67706
|
-
if (node instanceof
|
|
67735
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N) {
|
|
67707
67736
|
if (node.isTemplate && !(node.number == 0 && node.type == 0 && node.name == '')) {
|
|
67708
67737
|
nodes.push(node);
|
|
67709
67738
|
}
|
|
@@ -67711,7 +67740,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67711
67740
|
nodes.push(node);
|
|
67712
67741
|
}
|
|
67713
67742
|
} else {
|
|
67714
|
-
if (node instanceof
|
|
67743
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N) {
|
|
67715
67744
|
if (!(node.number == 0 && node.type == 0 && node.name == "")) {
|
|
67716
67745
|
nodes.push(node);
|
|
67717
67746
|
}
|
|
@@ -67721,10 +67750,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67721
67750
|
}
|
|
67722
67751
|
}
|
|
67723
67752
|
}
|
|
67724
|
-
if (node instanceof
|
|
67753
|
+
if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtEnd && node.text.substring(0, 1) === 'C') {
|
|
67725
67754
|
hoEditorFactory.structureConvert._markNodes.push(node);
|
|
67726
67755
|
}
|
|
67727
|
-
if (node instanceof
|
|
67756
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
|
|
67728
67757
|
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
67729
67758
|
}
|
|
67730
67759
|
}
|
|
@@ -67732,10 +67761,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67732
67761
|
//单个对象
|
|
67733
67762
|
var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
|
|
67734
67763
|
if (_node2) {
|
|
67735
|
-
if (_node2 instanceof
|
|
67764
|
+
if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R) {
|
|
67736
67765
|
if (temp.innerIdentifier == "name" && _node2.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_node2.text).length) {
|
|
67737
67766
|
//特殊处理生僻字
|
|
67738
|
-
var _rareCharNode = new
|
|
67767
|
+
var _rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_62__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, _node2.rootNodes, _node2.parentNode, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntRareChar, _node2.text, _node2.styleIndex);
|
|
67739
67768
|
nodes.push(_rareCharNode);
|
|
67740
67769
|
} else {
|
|
67741
67770
|
if (_node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '') {
|
|
@@ -67749,7 +67778,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67749
67778
|
} else {
|
|
67750
67779
|
//nodes.push(node);
|
|
67751
67780
|
if (isClearSign) {
|
|
67752
|
-
if (_node2 instanceof
|
|
67781
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N) {
|
|
67753
67782
|
if (_node2.isTemplate && !(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
67754
67783
|
nodes.push(_node2);
|
|
67755
67784
|
}
|
|
@@ -67757,7 +67786,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67757
67786
|
nodes.push(_node2);
|
|
67758
67787
|
}
|
|
67759
67788
|
} else {
|
|
67760
|
-
if (_node2 instanceof
|
|
67789
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N) {
|
|
67761
67790
|
if (!(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
67762
67791
|
nodes.push(_node2);
|
|
67763
67792
|
}
|
|
@@ -67767,10 +67796,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67767
67796
|
}
|
|
67768
67797
|
}
|
|
67769
67798
|
}
|
|
67770
|
-
if (_node2 instanceof
|
|
67799
|
+
if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtEnd && _node2.text.substring(0, 1) === 'C') {
|
|
67771
67800
|
hoEditorFactory.structureConvert._markNodes.push(_node2);
|
|
67772
67801
|
}
|
|
67773
|
-
if (_node2 instanceof
|
|
67802
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
|
|
67774
67803
|
hoEditorFactory.structureConvert._superiorSign[0] = _node2;
|
|
67775
67804
|
}
|
|
67776
67805
|
}
|
|
@@ -67788,11 +67817,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67788
67817
|
}
|
|
67789
67818
|
// if(json.name === '1-1') console.timeEnd("1-1--0");
|
|
67790
67819
|
if (nodes.length > 0) {
|
|
67791
|
-
if (nodes[0] instanceof
|
|
67820
|
+
if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j) {
|
|
67792
67821
|
var _temp$childNodes;
|
|
67793
67822
|
temp.childNodes.length = 0;
|
|
67794
67823
|
(_temp$childNodes = temp.childNodes).splice.apply(_temp$childNodes, [0, 0].concat(nodes));
|
|
67795
|
-
if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof
|
|
67824
|
+
if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j) {
|
|
67796
67825
|
temp._childNodes2.splice(1, 1);
|
|
67797
67826
|
temp._childNodes2.splice(1, 0, temp.childNodes[1]);
|
|
67798
67827
|
}
|
|
@@ -67807,30 +67836,33 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67807
67836
|
//if (hoEditorFactory.drawTree.paintStatus === PaintState.psDesign) {
|
|
67808
67837
|
var sChildNode = temp.childNodes[0];
|
|
67809
67838
|
var eChildNode = temp.childNodes[temp.childNodes.length - 1];
|
|
67810
|
-
if (!(sChildNode instanceof
|
|
67839
|
+
if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtStart) {
|
|
67811
67840
|
throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
|
|
67812
67841
|
}
|
|
67813
|
-
if (!(eChildNode instanceof
|
|
67842
|
+
if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtEnd) {
|
|
67814
67843
|
throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
|
|
67815
67844
|
}
|
|
67816
|
-
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof
|
|
67845
|
+
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j && temp.childNodes[1].MarkNodeType == _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtContent) {
|
|
67817
67846
|
temp.childNodes.splice(1, 1);
|
|
67818
67847
|
}
|
|
67819
67848
|
//}
|
|
67820
|
-
if (temp.childNodes[1] instanceof
|
|
67849
|
+
if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_58__/* .TableFormula */ .N) {
|
|
67821
67850
|
return temp;
|
|
67822
67851
|
}
|
|
67823
67852
|
if (!isPaste) {
|
|
67824
67853
|
var childFields = [];
|
|
67825
67854
|
for (var c = 0; c < temp.childNodes.length; c++) {
|
|
67826
67855
|
var childNode = temp.childNodes[c];
|
|
67827
|
-
if (childNode instanceof TextInputFieldNode || childNode instanceof
|
|
67856
|
+
if (childNode instanceof TextInputFieldNode || childNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_57__/* .SignNode */ .N) {
|
|
67828
67857
|
childFields.push(childNode);
|
|
67829
67858
|
}
|
|
67830
67859
|
}
|
|
67831
67860
|
if (childFields.length === 0 && !isErrorValid) {
|
|
67832
67861
|
//不嵌套 用text
|
|
67833
67862
|
var fieldText = temp.getFieldText();
|
|
67863
|
+
if (temp.text === fieldText && temp.text.indexOf("\n") > 0) {
|
|
67864
|
+
temp.text = temp.text.replaceAll("\n", "");
|
|
67865
|
+
}
|
|
67834
67866
|
if (temp.text !== fieldText && (temp.inputFieldType == 0 || temp.inputFieldType == 1 && temp.readType == 1)) {
|
|
67835
67867
|
temp.childNodes.splice(1, temp.childNodes.length - 2);
|
|
67836
67868
|
var styleIndex = temp.childNodes[0].styleIndex;
|
|
@@ -67844,10 +67876,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67844
67876
|
}
|
|
67845
67877
|
for (var i = 0; i < lineArr.length; i++) {
|
|
67846
67878
|
var lineText = lineArr[i];
|
|
67847
|
-
var textNode = new
|
|
67879
|
+
var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, lineText, styleIndex);
|
|
67848
67880
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
|
|
67849
67881
|
if (i < lineArr.length - 1) {
|
|
67850
|
-
var paraNode = new
|
|
67882
|
+
var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_53__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
|
|
67851
67883
|
paraNode.styleIndex = styleIndex;
|
|
67852
67884
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, paraNode);
|
|
67853
67885
|
}
|
|
@@ -67933,35 +67965,35 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67933
67965
|
if (resultArr[k].text != '') {
|
|
67934
67966
|
var newStyleIndex = styleIndex;
|
|
67935
67967
|
if (resultArr[k].mark == 1) {
|
|
67936
|
-
var textStyle = new
|
|
67968
|
+
var textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_41__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67937
67969
|
textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], textStyle);
|
|
67938
67970
|
textStyle.script = 2;
|
|
67939
67971
|
newStyleIndex = hoEditorFactory.docTree.styleCompare(textStyle);
|
|
67940
67972
|
}
|
|
67941
67973
|
if (resultArr[k].mark == 2) {
|
|
67942
|
-
var _textStyle = new
|
|
67974
|
+
var _textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_41__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67943
67975
|
_textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], _textStyle);
|
|
67944
67976
|
_textStyle.script = 1;
|
|
67945
67977
|
newStyleIndex = hoEditorFactory.docTree.styleCompare(_textStyle);
|
|
67946
67978
|
}
|
|
67947
|
-
var textNode0 = new
|
|
67979
|
+
var textNode0 = new _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, resultArr[k].text, newStyleIndex);
|
|
67948
67980
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode0);
|
|
67949
67981
|
}
|
|
67950
67982
|
}
|
|
67951
67983
|
} else {
|
|
67952
67984
|
if (textArr[0] != "") {
|
|
67953
67985
|
if (temp.innerIdentifier == "name" && temp.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(temp.text).length) {
|
|
67954
|
-
var rareCharNode = new
|
|
67986
|
+
var rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_62__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntRareChar, textArr[0], styleIndex);
|
|
67955
67987
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, rareCharNode);
|
|
67956
67988
|
} else {
|
|
67957
|
-
var textNode1 = new
|
|
67989
|
+
var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, textArr[0], styleIndex);
|
|
67958
67990
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
|
|
67959
67991
|
}
|
|
67960
67992
|
}
|
|
67961
67993
|
}
|
|
67962
67994
|
if (textArr.length > 1) {
|
|
67963
67995
|
for (var _i2 = 1; _i2 < textArr.length; _i2++) {
|
|
67964
|
-
var paragraNode = new
|
|
67996
|
+
var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_53__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
|
|
67965
67997
|
paragraNode.styleIndex = styleIndex;
|
|
67966
67998
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
|
|
67967
67999
|
if (textArr[_i2] !== '') {
|
|
@@ -67972,17 +68004,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67972
68004
|
if (resultArr1[_k].text != '') {
|
|
67973
68005
|
var _newStyleIndex = styleIndex;
|
|
67974
68006
|
if (resultArr1[_k].mark == 1) {
|
|
67975
|
-
var _textStyle2 = new
|
|
68007
|
+
var _textStyle2 = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_41__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67976
68008
|
_textStyle2.copyProperty(hoEditorFactory.docTree.styles[styleIndex], _textStyle2);
|
|
67977
68009
|
_textStyle2.script = 2;
|
|
67978
68010
|
_newStyleIndex = hoEditorFactory.docTree.styleCompare(_textStyle2);
|
|
67979
68011
|
}
|
|
67980
|
-
var _textNode = new
|
|
68012
|
+
var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, resultArr1[_k].text, _newStyleIndex);
|
|
67981
68013
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode);
|
|
67982
68014
|
}
|
|
67983
68015
|
}
|
|
67984
68016
|
} else {
|
|
67985
|
-
var _textNode2 = new
|
|
68017
|
+
var _textNode2 = new _TextNode__WEBPACK_IMPORTED_MODULE_60__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, textArr[_i2], styleIndex);
|
|
67986
68018
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode2);
|
|
67987
68019
|
}
|
|
67988
68020
|
}
|
|
@@ -67999,25 +68031,25 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67999
68031
|
var eIndex = expressArr[_i3].eIndex;
|
|
68000
68032
|
var expressJson = temp.text.substring(sIndex + 16, eIndex);
|
|
68001
68033
|
var expressObj = JSON.parse(expressJson);
|
|
68002
|
-
var expressStyle =
|
|
68034
|
+
var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_52__/* .ExpressStyle */ .e[expressObj.expressStyle];
|
|
68003
68035
|
if (!expressStyle) {
|
|
68004
68036
|
expressStyle = expressObj.expressStyle;
|
|
68005
68037
|
}
|
|
68006
68038
|
var medicalExpressNode = void 0;
|
|
68007
68039
|
if (expressStyle.includes('style')) {
|
|
68008
68040
|
//经期史
|
|
68009
|
-
medicalExpressNode = new
|
|
68041
|
+
medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_52__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
|
|
68010
68042
|
} else {
|
|
68011
68043
|
if (expressStyle === 'PupilMapNode') {
|
|
68012
|
-
medicalExpressNode = new
|
|
68044
|
+
medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_56__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
|
|
68013
68045
|
} else if (expressStyle === 'LightLocationMapNode') {
|
|
68014
|
-
medicalExpressNode = new
|
|
68046
|
+
medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_49__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
|
|
68015
68047
|
} else if (expressStyle === 'FetalHeartMapNode') {
|
|
68016
|
-
medicalExpressNode = new
|
|
68048
|
+
medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_48__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
|
|
68017
68049
|
} else if (expressStyle === 'PermanentTeethMapNode') {
|
|
68018
|
-
medicalExpressNode = new
|
|
68050
|
+
medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_54__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected, expressObj.remark);
|
|
68019
68051
|
} else {
|
|
68020
|
-
medicalExpressNode = new
|
|
68052
|
+
medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_55__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
|
|
68021
68053
|
}
|
|
68022
68054
|
}
|
|
68023
68055
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, medicalExpressNode);
|
|
@@ -68042,9 +68074,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
68042
68074
|
}
|
|
68043
68075
|
} else {
|
|
68044
68076
|
temp._childNodes2.splice(1, temp._childNodes2.length - 2);
|
|
68045
|
-
var markNode = new
|
|
68077
|
+
var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNode */ .j(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_45__/* .NodeType */ .Jq.ntText, temp.labelText,
|
|
68046
68078
|
//hoEditorFactory.docTree.curStyleIndex,
|
|
68047
|
-
styleIndex,
|
|
68079
|
+
styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_50__/* .MarkNodeType */ .q.mtContent);
|
|
68048
68080
|
temp._childNodes.splice(1, 0, markNode);
|
|
68049
68081
|
temp._childNodes2.splice(1, 0, markNode);
|
|
68050
68082
|
}
|
|
@@ -68067,18 +68099,18 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
68067
68099
|
}, {
|
|
68068
68100
|
key: "textInpubNodeRedraw",
|
|
68069
68101
|
value: function textInpubNodeRedraw(hoEditorFactoryID, node) {
|
|
68070
|
-
var hoEditorFactory =
|
|
68102
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_39__/* .HOEditorFactorys */ .b.instance().getFactory(hoEditorFactoryID);
|
|
68071
68103
|
var startPath = node.StartMarkNode.getNodePath();
|
|
68072
68104
|
var paragraphNode = hoEditorFactory.docTree.getNodeParaNode(node.EndMarkNode);
|
|
68073
68105
|
var endPath = hoEditorFactory.docTree.getNodeLastPath(paragraphNode);
|
|
68074
|
-
var changeEvent = new
|
|
68106
|
+
var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_37__/* .NodeChangeEvent */ .G(hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_40__/* .DocAction */ .gk.daModifyStyle, startPath, endPath);
|
|
68075
68107
|
changeEvent.oldEndPath = endPath;
|
|
68076
|
-
changeEvent.oldDrawLines = new
|
|
68108
|
+
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_34__/* .SelectRange */ .E(hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true);
|
|
68077
68109
|
hoEditorFactory.docTree.change(changeEvent);
|
|
68078
68110
|
}
|
|
68079
68111
|
}]);
|
|
68080
68112
|
return TextInputFieldNode;
|
|
68081
|
-
}(
|
|
68113
|
+
}(_BaseCombineNode__WEBPACK_IMPORTED_MODULE_44__/* .BaseCombineNode */ .V);
|
|
68082
68114
|
|
|
68083
68115
|
/***/ }),
|
|
68084
68116
|
|
|
@@ -176839,7 +176871,7 @@ var map = {
|
|
|
176839
176871
|
"./popers/Title.vue": 85516,
|
|
176840
176872
|
"./printstyle/PrintLineStyle.vue": 51484,
|
|
176841
176873
|
"./qrCode/QrCode.vue": 93973,
|
|
176842
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
176874
|
+
"./radioCheckBox/RadioCheckbox.vue": 68763,
|
|
176843
176875
|
"./selectDialog/SelectDialog.vue": 64033,
|
|
176844
176876
|
"./sign/Sign.vue": 64207,
|
|
176845
176877
|
"./table/TableCellPoper.vue": 2043,
|
|
@@ -214288,8 +214320,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
214288
214320
|
var es_number_constructor = __webpack_require__(9653);
|
|
214289
214321
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
214290
214322
|
var es_json_stringify = __webpack_require__(38862);
|
|
214291
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=
|
|
214292
|
-
var
|
|
214323
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=57fcb250&
|
|
214324
|
+
var HoDocvue_type_template_id_57fcb250_render = function render() {
|
|
214293
214325
|
var _vm = this,
|
|
214294
214326
|
_c = _vm._self._c;
|
|
214295
214327
|
return _c('div', {
|
|
@@ -214437,7 +214469,7 @@ var HoDocvue_type_template_id_0e4bf394_render = function render() {
|
|
|
214437
214469
|
}
|
|
214438
214470
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
214439
214471
|
};
|
|
214440
|
-
var
|
|
214472
|
+
var HoDocvue_type_template_id_57fcb250_staticRenderFns = [];
|
|
214441
214473
|
|
|
214442
214474
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
214443
214475
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -217437,7 +217469,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
217437
217469
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
217438
217470
|
var ParagraphNode = __webpack_require__(67945);
|
|
217439
217471
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
217440
|
-
/* harmony default export */ var version = ('3.1.
|
|
217472
|
+
/* harmony default export */ var version = ('3.1.4');
|
|
217441
217473
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
217442
217474
|
var PoperTipText = __webpack_require__(50987);
|
|
217443
217475
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -217856,6 +217888,14 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
217856
217888
|
startPath: hoEditorFactory.docTree.curDomRange.normalize().startPath,
|
|
217857
217889
|
endPath: hoEditorFactory.docTree.curDomRange.normalize().endPath
|
|
217858
217890
|
};
|
|
217891
|
+
var _vueController$getDom = vueController.getDomRange().inSameTable(),
|
|
217892
|
+
_vueController$getDom2 = (0,esm_slicedToArray/* default */.Z)(_vueController$getDom, 2),
|
|
217893
|
+
isInTable = _vueController$getDom2[0],
|
|
217894
|
+
tableNode = _vueController$getDom2[1];
|
|
217895
|
+
if (paintStatus == 1 && isInTable) {
|
|
217896
|
+
var result = hoEditorFactory.editController.canIsEdit(hoEditorFactory);
|
|
217897
|
+
if (!result) return;
|
|
217898
|
+
}
|
|
217859
217899
|
if (node instanceof SignNode/* SignNode */.N) {
|
|
217860
217900
|
if (paintStatus === 0 && !node.imgSrc && !node.fingerPrintSrc) {
|
|
217861
217901
|
this.hoEditorProvider.setControlProperty('sign', 'update', '');
|
|
@@ -218186,10 +218226,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
218186
218226
|
});
|
|
218187
218227
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
218188
218228
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
218189
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
218229
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=57fcb250&prod&lang=less&
|
|
218190
218230
|
// extracted by mini-css-extract-plugin
|
|
218191
218231
|
|
|
218192
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
218232
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=57fcb250&prod&lang=less&
|
|
218193
218233
|
|
|
218194
218234
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
218195
218235
|
|
|
@@ -218202,8 +218242,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
218202
218242
|
|
|
218203
218243
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
218204
218244
|
components_HoDocvue_type_script_lang_js_,
|
|
218205
|
-
|
|
218206
|
-
|
|
218245
|
+
HoDocvue_type_template_id_57fcb250_render,
|
|
218246
|
+
HoDocvue_type_template_id_57fcb250_staticRenderFns,
|
|
218207
218247
|
false,
|
|
218208
218248
|
null,
|
|
218209
218249
|
null,
|
|
@@ -232108,6 +232148,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
232108
232148
|
hoEditorFactory.drawTree.moveCaretToPath("main/0");
|
|
232109
232149
|
hoEditorFactory.docController.parseNodeData(nodes);
|
|
232110
232150
|
}
|
|
232151
|
+
}, {
|
|
232152
|
+
key: "canIsEdit",
|
|
232153
|
+
value: function canIsEdit() {
|
|
232154
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
232155
|
+
return hoEditorFactory.editController.canIsEdit(hoEditorFactory);
|
|
232156
|
+
}
|
|
232111
232157
|
}]);
|
|
232112
232158
|
return VueController;
|
|
232113
232159
|
}();
|