hoeditor-web 3.0.57 → 3.0.58
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 +129 -82
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -3324,7 +3324,7 @@ function _extends(){return _extends=Object.assign?Object.assign.bind():function(
|
|
|
3324
3324
|
|
|
3325
3325
|
/***/ }),
|
|
3326
3326
|
|
|
3327
|
-
/***/
|
|
3327
|
+
/***/ 37006:
|
|
3328
3328
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3329
3329
|
|
|
3330
3330
|
"use strict";
|
|
@@ -3336,7 +3336,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3336
3336
|
"default": function() { return /* binding */ ControlModal; }
|
|
3337
3337
|
});
|
|
3338
3338
|
|
|
3339
|
-
;// 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/ControlModal.vue?vue&type=template&id=
|
|
3339
|
+
;// 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/ControlModal.vue?vue&type=template&id=68644c42&
|
|
3340
3340
|
var render = function render() {
|
|
3341
3341
|
var _vm = this,
|
|
3342
3342
|
_c = _vm._self._c;
|
|
@@ -3356,6 +3356,7 @@ var render = function render() {
|
|
|
3356
3356
|
},
|
|
3357
3357
|
on: {
|
|
3358
3358
|
"insertComments": _vm.insertComments,
|
|
3359
|
+
"updateCommentContent": _vm.updateCommentContent,
|
|
3359
3360
|
"closed": _vm.handleClose
|
|
3360
3361
|
},
|
|
3361
3362
|
scopedSlots: _vm._u([{
|
|
@@ -3505,6 +3506,9 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3505
3506
|
insertComments: function insertComments(content) {
|
|
3506
3507
|
this.$emit('insertComments', content);
|
|
3507
3508
|
},
|
|
3509
|
+
updateCommentContent: function updateCommentContent(func) {
|
|
3510
|
+
this.$emit('updateCommentContent', func);
|
|
3511
|
+
},
|
|
3508
3512
|
handleClose: function handleClose() {
|
|
3509
3513
|
if (this.hoEditorProvider.isDataSource || this.hoEditorProvider.isCustoms || this.hoEditorProvider.isListStyle || this.hoEditorProvider.controlType === 'find') return false;
|
|
3510
3514
|
this.$emit('closeControlmodal');
|
|
@@ -4224,7 +4228,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
4224
4228
|
|
|
4225
4229
|
/***/ }),
|
|
4226
4230
|
|
|
4227
|
-
/***/
|
|
4231
|
+
/***/ 76926:
|
|
4228
4232
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4229
4233
|
|
|
4230
4234
|
"use strict";
|
|
@@ -4236,7 +4240,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
4236
4240
|
"default": function() { return /* binding */ CommentDialog; }
|
|
4237
4241
|
});
|
|
4238
4242
|
|
|
4239
|
-
;// 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/commentDialog/CommentDialog.vue?vue&type=template&id=
|
|
4243
|
+
;// 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/commentDialog/CommentDialog.vue?vue&type=template&id=040b8f52&
|
|
4240
4244
|
var render = function render() {
|
|
4241
4245
|
var _vm = this,
|
|
4242
4246
|
_c = _vm._self._c;
|
|
@@ -4298,9 +4302,7 @@ var render = function render() {
|
|
|
4298
4302
|
"margin-left": "30px"
|
|
4299
4303
|
},
|
|
4300
4304
|
on: {
|
|
4301
|
-
"click":
|
|
4302
|
-
return _vm.$emit('closed');
|
|
4303
|
-
}
|
|
4305
|
+
"click": _vm.close
|
|
4304
4306
|
}
|
|
4305
4307
|
}, [_vm._v("取消")])], 1)]);
|
|
4306
4308
|
};
|
|
@@ -4329,9 +4331,15 @@ var staticRenderFns = [];
|
|
|
4329
4331
|
if (this.controlStatus === 'update' && this.commentValue) {
|
|
4330
4332
|
this.textContent = this.commentValue.text;
|
|
4331
4333
|
}
|
|
4334
|
+
this.$emit("updateCommentContent", this.updateContent);
|
|
4332
4335
|
},
|
|
4333
4336
|
mounted: function mounted() {},
|
|
4334
4337
|
methods: {
|
|
4338
|
+
updateContent: function updateContent(text) {
|
|
4339
|
+
if (!this.textContent) {
|
|
4340
|
+
this.textContent = text;
|
|
4341
|
+
}
|
|
4342
|
+
},
|
|
4335
4343
|
sure: function sure() {
|
|
4336
4344
|
var _this = this;
|
|
4337
4345
|
var callback = function callback() {
|
|
@@ -4355,15 +4363,19 @@ var staticRenderFns = [];
|
|
|
4355
4363
|
});
|
|
4356
4364
|
// this.vueController.insertComment(this.textContent, this.getCustomProperty());
|
|
4357
4365
|
}
|
|
4366
|
+
},
|
|
4367
|
+
close: function close() {
|
|
4368
|
+
this.$emit("updateCommentContent", null);
|
|
4369
|
+
this.$emit('closed');
|
|
4358
4370
|
}
|
|
4359
4371
|
}
|
|
4360
4372
|
});
|
|
4361
4373
|
;// CONCATENATED MODULE: ./src/components/controls/commentDialog/CommentDialog.vue?vue&type=script&lang=js&
|
|
4362
4374
|
/* harmony default export */ var commentDialog_CommentDialogvue_type_script_lang_js_ = (CommentDialogvue_type_script_lang_js_);
|
|
4363
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=style&index=0&id=
|
|
4375
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=style&index=0&id=040b8f52&prod&lang=scss&
|
|
4364
4376
|
// extracted by mini-css-extract-plugin
|
|
4365
4377
|
|
|
4366
|
-
;// CONCATENATED MODULE: ./src/components/controls/commentDialog/CommentDialog.vue?vue&type=style&index=0&id=
|
|
4378
|
+
;// CONCATENATED MODULE: ./src/components/controls/commentDialog/CommentDialog.vue?vue&type=style&index=0&id=040b8f52&prod&lang=scss&
|
|
4367
4379
|
|
|
4368
4380
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
4369
4381
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -37915,8 +37927,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37915
37927
|
value: function insertNodeText(node, path, text) {
|
|
37916
37928
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
37917
37929
|
var curRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
37930
|
+
var isError;
|
|
37918
37931
|
if (!curRange.isEmpty) {
|
|
37919
|
-
this.deleteRange(curRange, true);
|
|
37932
|
+
isError = this.deleteRange(curRange, true);
|
|
37920
37933
|
//删除选中节点
|
|
37921
37934
|
// if ((hoEditorFactory.drawTree.paintStatus = PaintState.psReview)) {
|
|
37922
37935
|
// this.deleteRange(curRange, true);
|
|
@@ -37933,10 +37946,12 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37933
37946
|
// }
|
|
37934
37947
|
}
|
|
37935
37948
|
|
|
37936
|
-
|
|
37937
|
-
|
|
37938
|
-
|
|
37939
|
-
|
|
37949
|
+
if (!isError) {
|
|
37950
|
+
hoEditorFactory.undoService.begin();
|
|
37951
|
+
// this.insertNodeByPath(textNode,this._curNodePosition.path);
|
|
37952
|
+
hoEditorFactory.undoService.add(new _undoRedo_TextInsertUndoUnit__WEBPACK_IMPORTED_MODULE_28__/* .TextInsertUndoUnit */ .t(this._hoEditorFactoryID, node, path, text));
|
|
37953
|
+
hoEditorFactory.undoService.commit();
|
|
37954
|
+
}
|
|
37940
37955
|
}
|
|
37941
37956
|
}, {
|
|
37942
37957
|
key: "procText",
|
|
@@ -53319,11 +53334,11 @@ var JumpButtonNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
53319
53334
|
/* harmony export */ "P": function() { return /* binding */ LabelNode; }
|
|
53320
53335
|
/* harmony export */ });
|
|
53321
53336
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70280);
|
|
53322
|
-
/* harmony import */ var
|
|
53337
|
+
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(66298);
|
|
53323
53338
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75808);
|
|
53324
53339
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11651);
|
|
53325
53340
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19593);
|
|
53326
|
-
/* harmony import */ var
|
|
53341
|
+
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(78255);
|
|
53327
53342
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9653);
|
|
53328
53343
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
53329
53344
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(57658);
|
|
@@ -53335,10 +53350,8 @@ var JumpButtonNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
53335
53350
|
/* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(93541);
|
|
53336
53351
|
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48970);
|
|
53337
53352
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(74089);
|
|
53338
|
-
/* harmony import */ var
|
|
53339
|
-
/* harmony import */ var
|
|
53340
|
-
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(91105);
|
|
53341
|
-
|
|
53353
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(62358);
|
|
53354
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(91105);
|
|
53342
53355
|
|
|
53343
53356
|
|
|
53344
53357
|
|
|
@@ -53369,7 +53382,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
53369
53382
|
var _this;
|
|
53370
53383
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, LabelNode);
|
|
53371
53384
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
53372
|
-
(0,
|
|
53385
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_associatedElement", void 0);
|
|
53373
53386
|
_this._text = text;
|
|
53374
53387
|
_this._styleIndex = styleIndex;
|
|
53375
53388
|
_this.isAllowDelete = false;
|
|
@@ -53379,7 +53392,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
53379
53392
|
_this.node2DrawNodeRange(0, 0);
|
|
53380
53393
|
return _this;
|
|
53381
53394
|
}
|
|
53382
|
-
(0,
|
|
53395
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)(LabelNode, [{
|
|
53383
53396
|
key: "styleIndex",
|
|
53384
53397
|
get: function get() {
|
|
53385
53398
|
return this._styleIndex;
|
|
@@ -53467,8 +53480,9 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
53467
53480
|
if (nodes.length > 0) {
|
|
53468
53481
|
for (var j = 0; j < nodes.length; j++) {
|
|
53469
53482
|
var node = nodes[j];
|
|
53470
|
-
|
|
53471
|
-
if (result < 0 && node.text == "") {
|
|
53483
|
+
//const result = NodePosition.nodePositionCompare(this, node);
|
|
53484
|
+
//if (result < 0 && node.text == "") {
|
|
53485
|
+
if (node.text == "") {
|
|
53472
53486
|
drawNode.alpha = 0;
|
|
53473
53487
|
break;
|
|
53474
53488
|
}
|
|
@@ -53491,7 +53505,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
53491
53505
|
key: "node2Json",
|
|
53492
53506
|
value: function node2Json(range, isCopy) {
|
|
53493
53507
|
var retObj = {
|
|
53494
|
-
nodeType:
|
|
53508
|
+
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_11__/* .NodeType */ .Jq[this.nodeType],
|
|
53495
53509
|
text: this.text,
|
|
53496
53510
|
styleIndex: this.styleIndex,
|
|
53497
53511
|
associatedElement: this.associatedElement
|
|
@@ -53511,11 +53525,11 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
53511
53525
|
}], [{
|
|
53512
53526
|
key: "json2Node",
|
|
53513
53527
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode) {
|
|
53514
|
-
return new LabelNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null,
|
|
53528
|
+
return new LabelNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_11__/* .NodeType.ntLabel */ .Jq.ntLabel, json.text, json.styleIndex, json.associatedElement ? json.associatedElement : undefined);
|
|
53515
53529
|
}
|
|
53516
53530
|
}]);
|
|
53517
53531
|
return LabelNode;
|
|
53518
|
-
}(
|
|
53532
|
+
}(_ControlNode__WEBPACK_IMPORTED_MODULE_12__/* .ControlNode */ .w);
|
|
53519
53533
|
|
|
53520
53534
|
/***/ }),
|
|
53521
53535
|
|
|
@@ -54407,11 +54421,11 @@ var MedicalExpressionNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
54407
54421
|
/* harmony export */ "n": function() { return /* binding */ MenstrualHistoryNode; }
|
|
54408
54422
|
/* harmony export */ });
|
|
54409
54423
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70280);
|
|
54410
|
-
/* harmony import */ var
|
|
54424
|
+
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(66298);
|
|
54411
54425
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75808);
|
|
54412
54426
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11651);
|
|
54413
54427
|
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19593);
|
|
54414
|
-
/* harmony import */ var
|
|
54428
|
+
/* harmony import */ var D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(78255);
|
|
54415
54429
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41539);
|
|
54416
54430
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
54417
54431
|
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39714);
|
|
@@ -54420,10 +54434,19 @@ var MedicalExpressionNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
54420
54434
|
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
54421
54435
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(57658);
|
|
54422
54436
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
54423
|
-
/* harmony import */ var
|
|
54424
|
-
/* harmony import */ var
|
|
54425
|
-
/* harmony import */ var
|
|
54426
|
-
/* harmony import */ var
|
|
54437
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(74916);
|
|
54438
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
54439
|
+
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(77601);
|
|
54440
|
+
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
54441
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(15306);
|
|
54442
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
54443
|
+
/* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(80177);
|
|
54444
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62358);
|
|
54445
|
+
/* harmony import */ var _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(82260);
|
|
54446
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(74089);
|
|
54447
|
+
|
|
54448
|
+
|
|
54449
|
+
|
|
54427
54450
|
|
|
54428
54451
|
|
|
54429
54452
|
|
|
@@ -54437,8 +54460,8 @@ var MedicalExpressionNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
54437
54460
|
/*
|
|
54438
54461
|
* @Author: your name
|
|
54439
54462
|
* @Date: 2020-10-28 15:46:36
|
|
54440
|
-
* @LastEditTime:
|
|
54441
|
-
* @LastEditors:
|
|
54463
|
+
* @LastEditTime: 2023-05-16 11:24:09
|
|
54464
|
+
* @LastEditors: liyanan 2441631434@qq.com
|
|
54442
54465
|
* @Description: 经期史
|
|
54443
54466
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\MenstrualHistory.ts
|
|
54444
54467
|
*/
|
|
@@ -54460,11 +54483,11 @@ var MenstrualHistoryNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
54460
54483
|
var _this;
|
|
54461
54484
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, MenstrualHistoryNode);
|
|
54462
54485
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
54463
|
-
(0,
|
|
54464
|
-
(0,
|
|
54465
|
-
(0,
|
|
54466
|
-
(0,
|
|
54467
|
-
(0,
|
|
54486
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_expressStyle", void 0);
|
|
54487
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_menseDays", void 0);
|
|
54488
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_cycleDays", void 0);
|
|
54489
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_menarcheAge", void 0);
|
|
54490
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_menoPauseAge", void 0);
|
|
54468
54491
|
_this._expressStyle = _this.getExpressStyle(expressStyle);
|
|
54469
54492
|
_this._menseDays = menseDays;
|
|
54470
54493
|
_this._cycleDays = cycleDays;
|
|
@@ -54473,7 +54496,7 @@ var MenstrualHistoryNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
54473
54496
|
_this.node2DrawNodeRange(0, 0);
|
|
54474
54497
|
return _this;
|
|
54475
54498
|
}
|
|
54476
|
-
(0,
|
|
54499
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)(MenstrualHistoryNode, [{
|
|
54477
54500
|
key: "expressStyle",
|
|
54478
54501
|
get:
|
|
54479
54502
|
//表达式样式
|
|
@@ -54561,7 +54584,7 @@ var MenstrualHistoryNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
54561
54584
|
}, {
|
|
54562
54585
|
key: "node2DrawNodeRange",
|
|
54563
54586
|
value: function node2DrawNodeRange(startIndex, endIndex) {
|
|
54564
|
-
var hoEditorFactory =
|
|
54587
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_14__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
54565
54588
|
var curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
54566
54589
|
var cbStyle;
|
|
54567
54590
|
var textStyle = hoEditorFactory.docTree.styles[curStyleIndex];
|
|
@@ -54598,7 +54621,7 @@ var MenstrualHistoryNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
54598
54621
|
}
|
|
54599
54622
|
var arrValues = [this._menseDays, this._cycleDays, this._menarcheAge, this._menoPauseAge];
|
|
54600
54623
|
var bIsInsert = startIndex < 0;
|
|
54601
|
-
var dNode = new
|
|
54624
|
+
var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_13__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, this._expressStyle.toString(), arrValues, cbStyle, lineHight, width);
|
|
54602
54625
|
if (bIsInsert) {
|
|
54603
54626
|
this._drawNodes.splice(0, 0, dNode);
|
|
54604
54627
|
} else {
|
|
@@ -54635,7 +54658,7 @@ var MenstrualHistoryNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
54635
54658
|
key: "node2Json",
|
|
54636
54659
|
value: function node2Json(range, isCopy) {
|
|
54637
54660
|
var retObj = {
|
|
54638
|
-
nodeType:
|
|
54661
|
+
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Jq[this.nodeType],
|
|
54639
54662
|
expressType: "MenstrualHistory",
|
|
54640
54663
|
expressStyle: ExpressStyle[this.expressStyle],
|
|
54641
54664
|
menseDays: this.menseDays,
|
|
@@ -54659,13 +54682,18 @@ var MenstrualHistoryNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
54659
54682
|
}], [{
|
|
54660
54683
|
key: "json2Node",
|
|
54661
54684
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode) {
|
|
54662
|
-
|
|
54663
|
-
var
|
|
54685
|
+
//const expressStyle = ExpressStyle[json.expressStyle];
|
|
54686
|
+
var menoPauseAge = json.menoPauseAge;
|
|
54687
|
+
var result = /^[0-9]*$/.test(json.menoPauseAge.replace('岁', ''));
|
|
54688
|
+
if (!result) {
|
|
54689
|
+
menoPauseAge = json.menoPauseAge.split("岁")[0];
|
|
54690
|
+
}
|
|
54691
|
+
var rtn = new MenstrualHistoryNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, json.expressStyle, json.menseDays, json.cycleDays, json.menarcheAge, menoPauseAge);
|
|
54664
54692
|
return rtn;
|
|
54665
54693
|
}
|
|
54666
54694
|
}]);
|
|
54667
54695
|
return MenstrualHistoryNode;
|
|
54668
|
-
}(
|
|
54696
|
+
}(_MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_11__/* .MedicalExpressionNode */ .H);
|
|
54669
54697
|
|
|
54670
54698
|
/***/ }),
|
|
54671
54699
|
|
|
@@ -196098,11 +196126,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
196098
196126
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
196099
196127
|
|
|
196100
196128
|
var map = {
|
|
196101
|
-
"./ControlModal.vue":
|
|
196129
|
+
"./ControlModal.vue": 37006,
|
|
196102
196130
|
"./barCode/BarCodes.vue": 20329,
|
|
196103
196131
|
"./colorPicker/HoColorPicker.vue": 91351,
|
|
196104
196132
|
"./colorPicker/HoColorPickers.vue": 84214,
|
|
196105
|
-
"./commentDialog/CommentDialog.vue":
|
|
196133
|
+
"./commentDialog/CommentDialog.vue": 76926,
|
|
196106
196134
|
"./customAttributes/CustomAttributes.vue": 78869,
|
|
196107
196135
|
"./dataSource/DataSource.vue": 9238,
|
|
196108
196136
|
"./dateDialog/DateDialog.vue": 12144,
|
|
@@ -232418,7 +232446,7 @@ Input.install = function (Vue) {
|
|
|
232418
232446
|
|
|
232419
232447
|
|
|
232420
232448
|
/* harmony default export */ var antd = ([es_button, input, input_number, es_checkbox, date_picker, time_picker, es_radio, es_select, es_tabs, es_dropdown, es_menu, es_upload, tooltip, table, popover, es_icon/* default */.Z, config_provider]);
|
|
232421
|
-
;// 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/HoDocs.vue?vue&type=template&id=
|
|
232449
|
+
;// 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/HoDocs.vue?vue&type=template&id=8945c86a&
|
|
232422
232450
|
var render = function render() {
|
|
232423
232451
|
var _vm = this,
|
|
232424
232452
|
_c = _vm._self._c;
|
|
@@ -232478,6 +232506,7 @@ var render = function render() {
|
|
|
232478
232506
|
},
|
|
232479
232507
|
on: {
|
|
232480
232508
|
"insertComments": _vm.insertComments,
|
|
232509
|
+
"updateCommentContent": _vm.updateCommentContent,
|
|
232481
232510
|
"closeControlmodal": _vm.closeControlModal
|
|
232482
232511
|
},
|
|
232483
232512
|
scopedSlots: _vm._u([{
|
|
@@ -235903,7 +235932,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
235903
235932
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
235904
235933
|
var MarkNode = __webpack_require__(57727);
|
|
235905
235934
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
235906
|
-
/* harmony default export */ var version = ('3.0.
|
|
235935
|
+
/* harmony default export */ var version = ('3.0.58');
|
|
235907
235936
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
235908
235937
|
var PoperTipText = __webpack_require__(15845);
|
|
235909
235938
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -242015,6 +242044,8 @@ var NodePosition = __webpack_require__(42921);
|
|
|
242015
242044
|
|
|
242016
242045
|
|
|
242017
242046
|
|
|
242047
|
+
|
|
242048
|
+
|
|
242018
242049
|
|
|
242019
242050
|
|
|
242020
242051
|
|
|
@@ -242027,6 +242058,7 @@ var NodePosition = __webpack_require__(42921);
|
|
|
242027
242058
|
|
|
242028
242059
|
|
|
242029
242060
|
|
|
242061
|
+
|
|
242030
242062
|
var ClipboardType;
|
|
242031
242063
|
(function (ClipboardType) {
|
|
242032
242064
|
ClipboardType["ctText"] = "text/plain";
|
|
@@ -242338,6 +242370,10 @@ var StructureNode = /*#__PURE__*/function () {
|
|
|
242338
242370
|
key: "Copy",
|
|
242339
242371
|
value: function Copy(dom, clipboard, isClearValue, type) {
|
|
242340
242372
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
242373
|
+
if (hoEditorFactory.forbidPaste && hoEditorFactory.drawTree.paintStatus != DrawTree/* PaintState.psDesign */.Dh.psDesign) {
|
|
242374
|
+
message/* default.warn */.Z.warn("根据书写规范要求,不允许复制病历文本内容");
|
|
242375
|
+
return;
|
|
242376
|
+
}
|
|
242341
242377
|
var currDom;
|
|
242342
242378
|
if (dom instanceof DomRange/* DomRange */.a) {
|
|
242343
242379
|
currDom = dom.normalize();
|
|
@@ -250885,7 +250921,7 @@ var EditController = /*#__PURE__*/function () {
|
|
|
250885
250921
|
value: function editKeyPaste(clipboardData) {
|
|
250886
250922
|
var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
250887
250923
|
if (hoeditorfactory.forbidPaste && hoeditorfactory.drawTree.paintStatus != DrawTree/* PaintState.psDesign */.Dh.psDesign) {
|
|
250888
|
-
message/* default.warn */.Z.warn("
|
|
250924
|
+
message/* default.warn */.Z.warn("根据书写规范要求,不允许粘贴文本到病历");
|
|
250889
250925
|
return;
|
|
250890
250926
|
}
|
|
250891
250927
|
var jsonData = "";
|
|
@@ -256131,7 +256167,7 @@ var HoFooter_component = (0,componentNormalizer/* default */.Z)(
|
|
|
256131
256167
|
|
|
256132
256168
|
/* harmony default export */ var HoFooter = (HoFooter_component.exports);
|
|
256133
256169
|
// EXTERNAL MODULE: ./src/components/controls/ControlModal.vue + 3 modules
|
|
256134
|
-
var ControlModal = __webpack_require__(
|
|
256170
|
+
var ControlModal = __webpack_require__(37006);
|
|
256135
256171
|
// EXTERNAL MODULE: ./src/components/controls/findReplace/FindReplace.vue + 5 modules
|
|
256136
256172
|
var FindReplace = __webpack_require__(25918);
|
|
256137
256173
|
;// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
@@ -256799,6 +256835,7 @@ var commondata = __webpack_require__(76285);
|
|
|
256799
256835
|
}
|
|
256800
256836
|
return null;
|
|
256801
256837
|
};
|
|
256838
|
+
nodeInfoes.forbidPaste = hoEditorFactory.forbidPaste;
|
|
256802
256839
|
nodeInfoes.isCanUseTableProperty = hoEditorFactory.isCanUseTableProperty;
|
|
256803
256840
|
this.hoEditorProvider.rightNode = (0,objectSpread2/* default */.Z)({}, nodeInfoes);
|
|
256804
256841
|
this.$emit('rightClickEvent', (0,objectSpread2/* default */.Z)({}, nodeInfoes));
|
|
@@ -256836,6 +256873,9 @@ var commondata = __webpack_require__(76285);
|
|
|
256836
256873
|
insertComments: function insertComments(content) {
|
|
256837
256874
|
this.$emit('insertComments', content);
|
|
256838
256875
|
},
|
|
256876
|
+
updateCommentContent: function updateCommentContent(func) {
|
|
256877
|
+
this.$emit('updateCommentContent', func);
|
|
256878
|
+
},
|
|
256839
256879
|
leftclick: function leftclick(node) {
|
|
256840
256880
|
this.$emit('leftClickEvent', node);
|
|
256841
256881
|
},
|
|
@@ -257176,10 +257216,10 @@ var commondata = __webpack_require__(76285);
|
|
|
257176
257216
|
});
|
|
257177
257217
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=script&lang=js&
|
|
257178
257218
|
/* harmony default export */ var components_HoDocsvue_type_script_lang_js_ = (HoDocsvue_type_script_lang_js_);
|
|
257179
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
257219
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=8945c86a&prod&lang=scss&media=print&
|
|
257180
257220
|
// extracted by mini-css-extract-plugin
|
|
257181
257221
|
|
|
257182
|
-
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
257222
|
+
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=8945c86a&prod&lang=scss&media=print&
|
|
257183
257223
|
|
|
257184
257224
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue
|
|
257185
257225
|
|
|
@@ -263277,7 +263317,8 @@ var popper = __webpack_require__(95551);
|
|
|
263277
263317
|
isWebview: false,
|
|
263278
263318
|
htmlText: '',
|
|
263279
263319
|
txtText: '',
|
|
263280
|
-
radioBoxSelected: false
|
|
263320
|
+
radioBoxSelected: false,
|
|
263321
|
+
forbidPaste: false
|
|
263281
263322
|
};
|
|
263282
263323
|
},
|
|
263283
263324
|
created: function created() {
|
|
@@ -263301,12 +263342,18 @@ var popper = __webpack_require__(95551);
|
|
|
263301
263342
|
});
|
|
263302
263343
|
},
|
|
263303
263344
|
mounted: function mounted() {
|
|
263304
|
-
var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3;
|
|
263345
|
+
var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3, _this$hoEditorProvide4;
|
|
263305
263346
|
this.isIncludes = (_this$hoEditorProvide = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide === void 0 ? void 0 : _this$hoEditorProvide.labelNode().isIncludes;
|
|
263306
263347
|
// this.patientID = this.vueController?.getDocProperty().patientID;
|
|
263307
263348
|
this.isDeisgn = this.hoEditorProvider.rightNode.paintStatus;
|
|
263349
|
+
this.forbidPaste = this.hoEditorProvider.rightNode.forbidPaste;
|
|
263350
|
+
if (((_this$hoEditorProvide2 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide2 === void 0 ? void 0 : _this$hoEditorProvide2.paintStatus) !== 0 && this.forbidPaste) {
|
|
263351
|
+
this.forbidPaste = true;
|
|
263352
|
+
} else {
|
|
263353
|
+
this.forbidPaste = false;
|
|
263354
|
+
}
|
|
263308
263355
|
var virtualElement = {
|
|
263309
|
-
getBoundingClientRect: this.generateGetBoundingClientRect((_this$
|
|
263356
|
+
getBoundingClientRect: this.generateGetBoundingClientRect((_this$hoEditorProvide3 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide3 === void 0 ? void 0 : _this$hoEditorProvide3.rightPosition)
|
|
263310
263357
|
};
|
|
263311
263358
|
var mouseRightMenuPopup = this.$refs.mouseRightMenuPopup;
|
|
263312
263359
|
if (mouseRightMenuPopup) {
|
|
@@ -263321,9 +263368,9 @@ var popper = __webpack_require__(95551);
|
|
|
263321
263368
|
}]
|
|
263322
263369
|
});
|
|
263323
263370
|
}
|
|
263324
|
-
if (((_this$
|
|
263325
|
-
var _this$
|
|
263326
|
-
this.radioBoxSelected = (_this$
|
|
263371
|
+
if (((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.type) === 'RadioBox') {
|
|
263372
|
+
var _this$hoEditorProvide5;
|
|
263373
|
+
this.radioBoxSelected = (_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.node().isSelected;
|
|
263327
263374
|
}
|
|
263328
263375
|
this.emrDebug = window && window.emrDebug0331 ? true : false;
|
|
263329
263376
|
},
|
|
@@ -263573,15 +263620,14 @@ var popper = __webpack_require__(95551);
|
|
|
263573
263620
|
}
|
|
263574
263621
|
},
|
|
263575
263622
|
render: function render() {
|
|
263576
|
-
var _this$
|
|
263623
|
+
var _this$hoEditorProvide6,
|
|
263577
263624
|
_this$$slots$hoRightS,
|
|
263578
|
-
_this$hoEditorProvide6,
|
|
263579
263625
|
_this$hoEditorProvide7,
|
|
263580
263626
|
_this$hoEditorProvide8,
|
|
263581
263627
|
_this$hoEditorProvide9,
|
|
263582
263628
|
_this$hoEditorProvide10,
|
|
263583
|
-
_this5 = this,
|
|
263584
263629
|
_this$hoEditorProvide11,
|
|
263630
|
+
_this5 = this,
|
|
263585
263631
|
_this$hoEditorProvide12,
|
|
263586
263632
|
_this$hoEditorProvide13,
|
|
263587
263633
|
_this$hoEditorProvide14,
|
|
@@ -263603,7 +263649,8 @@ var popper = __webpack_require__(95551);
|
|
|
263603
263649
|
_this$hoEditorProvide30,
|
|
263604
263650
|
_this$hoEditorProvide31,
|
|
263605
263651
|
_this$hoEditorProvide32,
|
|
263606
|
-
_this$hoEditorProvide33
|
|
263652
|
+
_this$hoEditorProvide33,
|
|
263653
|
+
_this$hoEditorProvide34;
|
|
263607
263654
|
var h = arguments[0];
|
|
263608
263655
|
return h("div", {
|
|
263609
263656
|
"directives": [{
|
|
@@ -263612,7 +263659,7 @@ var popper = __webpack_require__(95551);
|
|
|
263612
263659
|
}],
|
|
263613
263660
|
"ref": "mouseRightMenuPopup",
|
|
263614
263661
|
"class": "mouse-right-menu-popup animation-in"
|
|
263615
|
-
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$
|
|
263662
|
+
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.paintStatus) !== 4 && !this.forbidPaste && h("ul", {
|
|
263616
263663
|
"class": "mouse-right-menu"
|
|
263617
263664
|
}, [h("li", {
|
|
263618
263665
|
"class": "mouse-menu-item",
|
|
@@ -263636,7 +263683,7 @@ var popper = __webpack_require__(95551);
|
|
|
263636
263683
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
263637
263684
|
})]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
|
|
263638
263685
|
return v;
|
|
263639
|
-
}), ((_this$
|
|
263686
|
+
}), ((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
|
|
263640
263687
|
"class": "mouse-right-menu"
|
|
263641
263688
|
}, [h("li", {
|
|
263642
263689
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263654,12 +263701,12 @@ var popper = __webpack_require__(95551);
|
|
|
263654
263701
|
"on": {
|
|
263655
263702
|
"click": this.labelToText.bind(this)
|
|
263656
263703
|
}
|
|
263657
|
-
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$
|
|
263704
|
+
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.paintStatus) == 0 && h("li", {
|
|
263658
263705
|
"class": "mouse-menu-item",
|
|
263659
263706
|
"on": {
|
|
263660
263707
|
"click": this.editLabel.bind(this)
|
|
263661
263708
|
}
|
|
263662
|
-
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$
|
|
263709
|
+
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.type) === 'express' && ((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.paintStatus) === 0 && ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.paintStatus) === 0 && h("ul", {
|
|
263663
263710
|
"class": "mouse-right-menu"
|
|
263664
263711
|
}, [h("li", {
|
|
263665
263712
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263670,7 +263717,7 @@ var popper = __webpack_require__(95551);
|
|
|
263670
263717
|
return _this5.toUpdateNodes('express', event);
|
|
263671
263718
|
}
|
|
263672
263719
|
}
|
|
263673
|
-
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$
|
|
263720
|
+
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.type) === 'RadioBox' || ((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.type) === 'CheckBox') && ((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.paintStatus) === 0 && h("ul", {
|
|
263674
263721
|
"class": "mouse-right-menu"
|
|
263675
263722
|
}, [h("li", {
|
|
263676
263723
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263682,7 +263729,7 @@ var popper = __webpack_require__(95551);
|
|
|
263682
263729
|
return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
|
|
263683
263730
|
}
|
|
263684
263731
|
}
|
|
263685
|
-
}, [((_this$
|
|
263732
|
+
}, [((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), this.radioBoxSelected && h("ul", {
|
|
263686
263733
|
"class": "mouse-right-menu"
|
|
263687
263734
|
}, [h("li", {
|
|
263688
263735
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263693,7 +263740,7 @@ var popper = __webpack_require__(95551);
|
|
|
263693
263740
|
return _this5.cancelRadioSelect();
|
|
263694
263741
|
}
|
|
263695
263742
|
}
|
|
263696
|
-
}, ["\u53D6\u6D88\u9009\u4E2D"])]), ((_this$
|
|
263743
|
+
}, ["\u53D6\u6D88\u9009\u4E2D"])]), ((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.type) === 'date' && ((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.paintStatus) === 0 && h("ul", {
|
|
263697
263744
|
"class": "mouse-right-menu"
|
|
263698
263745
|
}, [h("li", {
|
|
263699
263746
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263704,7 +263751,7 @@ var popper = __webpack_require__(95551);
|
|
|
263704
263751
|
return _this5.toUpdateNodes('date', event);
|
|
263705
263752
|
}
|
|
263706
263753
|
}
|
|
263707
|
-
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$
|
|
263754
|
+
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.type) === 'select' && ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.paintStatus) === 0 && h("ul", {
|
|
263708
263755
|
"class": "mouse-right-menu"
|
|
263709
263756
|
}, [h("li", {
|
|
263710
263757
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263715,7 +263762,7 @@ var popper = __webpack_require__(95551);
|
|
|
263715
263762
|
return _this5.toUpdateNodes('select', event);
|
|
263716
263763
|
}
|
|
263717
263764
|
}
|
|
263718
|
-
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$
|
|
263765
|
+
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.type) === 'barcode' && ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.paintStatus) === 0 && h("ul", {
|
|
263719
263766
|
"class": "mouse-right-menu"
|
|
263720
263767
|
}, [h("li", {
|
|
263721
263768
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263726,7 +263773,7 @@ var popper = __webpack_require__(95551);
|
|
|
263726
263773
|
return _this5.toUpdateNodes('barcode', event);
|
|
263727
263774
|
}
|
|
263728
263775
|
}
|
|
263729
|
-
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$
|
|
263776
|
+
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.type) === 'qrcode' && ((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.paintStatus) === 0 && h("ul", {
|
|
263730
263777
|
"class": "mouse-right-menu"
|
|
263731
263778
|
}, [h("li", {
|
|
263732
263779
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263737,7 +263784,7 @@ var popper = __webpack_require__(95551);
|
|
|
263737
263784
|
return _this5.toUpdateNodes('qrcode', event);
|
|
263738
263785
|
}
|
|
263739
263786
|
}
|
|
263740
|
-
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$
|
|
263787
|
+
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.type) === 'edit-image' && ((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.paintStatus) === 0 && h("ul", {
|
|
263741
263788
|
"class": "mouse-right-menu"
|
|
263742
263789
|
}, [h("li", {
|
|
263743
263790
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263748,7 +263795,7 @@ var popper = __webpack_require__(95551);
|
|
|
263748
263795
|
return _this5.toUpdateNodes('edit-image', event);
|
|
263749
263796
|
}
|
|
263750
263797
|
}
|
|
263751
|
-
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$
|
|
263798
|
+
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.type) === 'text' && ((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.paintStatus) === 0 && h("ul", {
|
|
263752
263799
|
"class": "mouse-right-menu"
|
|
263753
263800
|
}, [h("li", {
|
|
263754
263801
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263759,7 +263806,7 @@ var popper = __webpack_require__(95551);
|
|
|
263759
263806
|
return _this5.toUpdateNodes('text', event);
|
|
263760
263807
|
}
|
|
263761
263808
|
}
|
|
263762
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$
|
|
263809
|
+
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide29 === void 0 ? void 0 : _this$hoEditorProvide29.paintStatus) === 0 || ((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
|
|
263763
263810
|
"class": "mouse-right-menu"
|
|
263764
263811
|
}, [h("li", {
|
|
263765
263812
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263798,7 +263845,7 @@ var popper = __webpack_require__(95551);
|
|
|
263798
263845
|
return _this5.toUpdateNodes('table-formula', event);
|
|
263799
263846
|
}
|
|
263800
263847
|
}
|
|
263801
|
-
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$
|
|
263848
|
+
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$hoEditorProvide31 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide31 === void 0 ? void 0 : _this$hoEditorProvide31.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
263802
263849
|
"class": "mouse-right-menu"
|
|
263803
263850
|
}, [h("li", {
|
|
263804
263851
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263854,7 +263901,7 @@ var popper = __webpack_require__(95551);
|
|
|
263854
263901
|
"type": "delete"
|
|
263855
263902
|
},
|
|
263856
263903
|
"style": "font-size: 20px;"
|
|
263857
|
-
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$
|
|
263904
|
+
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$hoEditorProvide32 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide32 === void 0 ? void 0 : _this$hoEditorProvide32.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
263858
263905
|
"class": "mouse-right-menu"
|
|
263859
263906
|
}, [h("li", {
|
|
263860
263907
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263868,7 +263915,7 @@ var popper = __webpack_require__(95551);
|
|
|
263868
263915
|
table: this.defaultTable,
|
|
263869
263916
|
tableProperty: this.hoEditorProvider.rightNode.tableProperty
|
|
263870
263917
|
})
|
|
263871
|
-
})]), ((_this$
|
|
263918
|
+
})]), ((_this$hoEditorProvide33 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide33 === void 0 ? void 0 : _this$hoEditorProvide33.canShowComment) && h("ul", {
|
|
263872
263919
|
"class": "mouse-right-menu"
|
|
263873
263920
|
}, [h("li", {
|
|
263874
263921
|
"class": "mouse-menu-item",
|
|
@@ -263877,7 +263924,7 @@ var popper = __webpack_require__(95551);
|
|
|
263877
263924
|
return _this5.hideComments();
|
|
263878
263925
|
}
|
|
263879
263926
|
}
|
|
263880
|
-
}, [(_this$
|
|
263927
|
+
}, [(_this$hoEditorProvide34 = this.hoEditorProvider.rightNode) !== null && _this$hoEditorProvide34 !== void 0 && _this$hoEditorProvide34.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])])]), h("ul", {
|
|
263881
263928
|
"class": "mouse-right-menu"
|
|
263882
263929
|
}, [h("li", {
|
|
263883
263930
|
"class": "mouse-menu-item"
|