hoeditor-web 3.0.98 → 3.0.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5699,7 +5699,7 @@ var component = (0,componentNormalizer/* default */.Z)(
5699
5699
 
5700
5700
  /***/ }),
5701
5701
 
5702
- /***/ 31861:
5702
+ /***/ 215:
5703
5703
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5704
5704
 
5705
5705
  "use strict";
@@ -5711,7 +5711,7 @@ __webpack_require__.d(__webpack_exports__, {
5711
5711
  "default": function() { return /* binding */ Delimiter; }
5712
5712
  });
5713
5713
 
5714
- ;// 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/delimiter/Delimiter.vue?vue&type=template&id=5174d02a&
5714
+ ;// 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/delimiter/Delimiter.vue?vue&type=template&id=e42af306&
5715
5715
  var render = function render() {
5716
5716
  var _vm = this,
5717
5717
  _c = _vm._self._c;
@@ -5736,6 +5736,16 @@ var render = function render() {
5736
5736
  staticClass: "control-list"
5737
5737
  }, [_c('li', {
5738
5738
  staticClass: "control-item"
5739
+ }, [_c('PrintLineStyle', {
5740
+ attrs: {
5741
+ "defaultStyle": 0,
5742
+ "placeholder": "样式"
5743
+ },
5744
+ on: {
5745
+ "change": _vm.styleChange
5746
+ }
5747
+ })], 1), _c('li', {
5748
+ staticClass: "control-item"
5739
5749
  }, [_c('span', {
5740
5750
  staticClass: "label"
5741
5751
  }, [_vm._v("宽度")]), _c('a-input-number', {
@@ -5793,17 +5803,22 @@ var staticRenderFns = [];
5793
5803
 
5794
5804
  // EXTERNAL MODULE: ./src/components/controls/colorPicker/HoColorPicker.vue + 5 modules
5795
5805
  var HoColorPicker = __webpack_require__(91351);
5806
+ // EXTERNAL MODULE: ./src/components/controls/printstyle/PrintLineStyle.vue + 3 modules
5807
+ var PrintLineStyle = __webpack_require__(51484);
5796
5808
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/delimiter/Delimiter.vue?vue&type=script&lang=js&
5797
5809
 
5810
+
5798
5811
  /* harmony default export */ var Delimitervue_type_script_lang_js_ = ({
5799
5812
  name: 'Delimiter',
5800
5813
  components: {
5801
- HoColorPicker: HoColorPicker["default"]
5814
+ HoColorPicker: HoColorPicker["default"],
5815
+ PrintLineStyle: PrintLineStyle["default"]
5802
5816
  },
5803
5817
  data: function data() {
5804
5818
  return {
5805
5819
  width: 1,
5806
5820
  color: '#000',
5821
+ line: '0',
5807
5822
  animationClassNames: 'control-modal-contents delimiter-modal animation-in'
5808
5823
  };
5809
5824
  },
@@ -5818,21 +5833,24 @@ var HoColorPicker = __webpack_require__(91351);
5818
5833
  * 插入分割福
5819
5834
  */
5820
5835
  insertDelimiter: function insertDelimiter() {
5821
- this.vueController.insertSeparateChar(this.width, this.color);
5836
+ this.vueController.insertSeparateChar(this.width, this.color, this.line);
5822
5837
  this.handleClose();
5823
5838
  },
5824
5839
  handleClose: function handleClose() {
5825
5840
  this.animationClassNames = 'control-modal-contents delimiter-modal animation-out';
5826
5841
  this.$emit('closed');
5842
+ },
5843
+ styleChange: function styleChange(style) {
5844
+ this.line = style;
5827
5845
  }
5828
5846
  }
5829
5847
  });
5830
5848
  ;// CONCATENATED MODULE: ./src/components/controls/delimiter/Delimiter.vue?vue&type=script&lang=js&
5831
5849
  /* harmony default export */ var delimiter_Delimitervue_type_script_lang_js_ = (Delimitervue_type_script_lang_js_);
5832
- ;// 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/delimiter/Delimiter.vue?vue&type=style&index=0&id=5174d02a&prod&lang=scss&
5850
+ ;// 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/delimiter/Delimiter.vue?vue&type=style&index=0&id=e42af306&prod&lang=scss&
5833
5851
  // extracted by mini-css-extract-plugin
5834
5852
 
5835
- ;// CONCATENATED MODULE: ./src/components/controls/delimiter/Delimiter.vue?vue&type=style&index=0&id=5174d02a&prod&lang=scss&
5853
+ ;// CONCATENATED MODULE: ./src/components/controls/delimiter/Delimiter.vue?vue&type=style&index=0&id=e42af306&prod&lang=scss&
5836
5854
 
5837
5855
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
5838
5856
  var componentNormalizer = __webpack_require__(70713);
@@ -16713,7 +16731,7 @@ var component = (0,componentNormalizer/* default */.Z)(
16713
16731
 
16714
16732
  /***/ }),
16715
16733
 
16716
- /***/ 47585:
16734
+ /***/ 69086:
16717
16735
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16718
16736
 
16719
16737
  "use strict";
@@ -16729,7 +16747,7 @@ __webpack_require__.d(__webpack_exports__, {
16729
16747
  var es_array_includes = __webpack_require__(26699);
16730
16748
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
16731
16749
  var es_string_includes = __webpack_require__(32023);
16732
- ;// 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/table/TableCellProperty.vue?vue&type=template&id=9af121a8&
16750
+ ;// 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/table/TableCellProperty.vue?vue&type=template&id=7506defc&
16733
16751
 
16734
16752
 
16735
16753
  var render = function render() {
@@ -16773,32 +16791,6 @@ var render = function render() {
16773
16791
  staticClass: "control-item"
16774
16792
  }, [_c('span', {
16775
16793
  staticClass: "label"
16776
- }, [_vm._v("编号")]), _c('span', {
16777
- staticClass: "readonly-value"
16778
- }, [_vm._v(_vm._s(_vm.id))])]), _c('div', {
16779
- staticClass: "control-item"
16780
- }, [_c('span', {
16781
- staticClass: "label",
16782
- staticStyle: {
16783
- "margin-left": "10px"
16784
- }
16785
- }, [_vm._v("标题")]), _c('a-input', {
16786
- attrs: {
16787
- "placeholder": "标题"
16788
- },
16789
- model: {
16790
- value: _vm.title,
16791
- callback: function callback($$v) {
16792
- _vm.title = $$v;
16793
- },
16794
- expression: "title"
16795
- }
16796
- })], 1)]), _c('li', {
16797
- staticClass: "control-item"
16798
- }, [_c('div', {
16799
- staticClass: "control-item"
16800
- }, [_c('span', {
16801
- staticClass: "label"
16802
16794
  }, [_vm._v("自定义属性")]), _c('a-button', {
16803
16795
  on: {
16804
16796
  "click": _vm.openCustomsModal
@@ -17563,7 +17555,7 @@ var render = function render() {
17563
17555
  };
17564
17556
  var staticRenderFns = [];
17565
17557
 
17566
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=9af121a8&
17558
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=7506defc&
17567
17559
 
17568
17560
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
17569
17561
  var slicedToArray = __webpack_require__(27222);
@@ -17947,7 +17939,7 @@ var columns = [{
17947
17939
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
17948
17940
  var domRange = hoEditorFactory.docTree.curDomRange;
17949
17941
  var table = hoEditorFactory.docTree.curDomRange.normalize().inSameTable()[1];
17950
- var cellNodeList = table.getTableSelectCells(domRange, true);
17942
+ var cellNodeList = table.getTableSelectCells(domRange, false);
17951
17943
  var cellNode = this.getCellNodes();
17952
17944
  if (cellNodeList.length === 0 && cellNode !== null) {
17953
17945
  cellNodeList.push(cellNode);
@@ -17964,10 +17956,10 @@ var columns = [{
17964
17956
  });
17965
17957
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=js&
17966
17958
  /* harmony default export */ var table_TableCellPropertyvue_type_script_lang_js_ = (TableCellPropertyvue_type_script_lang_js_);
17967
- ;// 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/table/TableCellProperty.vue?vue&type=style&index=0&id=9af121a8&prod&lang=scss&
17959
+ ;// 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/table/TableCellProperty.vue?vue&type=style&index=0&id=7506defc&prod&lang=scss&
17968
17960
  // extracted by mini-css-extract-plugin
17969
17961
 
17970
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=9af121a8&prod&lang=scss&
17962
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=7506defc&prod&lang=scss&
17971
17963
 
17972
17964
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
17973
17965
  var componentNormalizer = __webpack_require__(70713);
@@ -42077,6 +42069,7 @@ var DocController = /*#__PURE__*/function () {
42077
42069
  var domRange = curDomRange.normalize();
42078
42070
  var startPath = domRange.endPath;
42079
42071
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
42072
+ var oldIsTransToText = false;
42080
42073
  if (operType === "update") {
42081
42074
  var np = hoEditorFactory.docTree.findNodePositionByPath(startPath);
42082
42075
  if (np) {
@@ -42084,6 +42077,7 @@ var DocController = /*#__PURE__*/function () {
42084
42077
  if (node instanceof _treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_52__/* .RadioAndCheckBoxNode */ .Yh) {
42085
42078
  hoEditorFactory.undoService.begin();
42086
42079
  hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodeDeleteUndoUnit */ .w(this._hoEditorFactoryID, node, startPath, "update"));
42080
+ oldIsTransToText = node.isTransToText;
42087
42081
  //hoEditorFactory.undoService.commit();
42088
42082
  //startPath = hoEditorFactory.docTree.curDomRange.startPath;
42089
42083
  startPath = hoEditorFactory.docTree.getNodeLastPath(node.previousLeaf());
@@ -42105,7 +42099,7 @@ var DocController = /*#__PURE__*/function () {
42105
42099
  }
42106
42100
  hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_24__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, radioAndCheckBoxNode));
42107
42101
  hoEditorFactory.undoService.commit();
42108
- if (isTransToText && operType === "add") {
42102
+ if (isTransToText && (operType === "add" || operType === "update" && !oldIsTransToText)) {
42109
42103
  var path = radioAndCheckBoxNode.getNodePath();
42110
42104
  var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntText */ .Jq.ntText, text, styleIndex);
42111
42105
  hoEditorFactory.undoService.begin();
@@ -42988,7 +42982,7 @@ var DocController = /*#__PURE__*/function () {
42988
42982
  */
42989
42983
  }, {
42990
42984
  key: "insertSeparateChar",
42991
- value: function insertSeparateChar(range, width, color) {
42985
+ value: function insertSeparateChar(range, width, color, line) {
42992
42986
  var hoeditorfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
42993
42987
  var np = range.normalize().npStart;
42994
42988
  if (np && np.node) {
@@ -43011,7 +43005,7 @@ var DocController = /*#__PURE__*/function () {
43011
43005
  }
43012
43006
  hoeditorfactory.undoService.begin();
43013
43007
  var newParaPath = paraNode.getNodePath();
43014
- var separateCharNode = new _treeNode_SeparateCharNode__WEBPACK_IMPORTED_MODULE_80__/* .SeparateCharNode */ .O(this._hoEditorFactoryID, np.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntSeparateChar */ .Jq.ntSeparateChar, width, color);
43008
+ var separateCharNode = new _treeNode_SeparateCharNode__WEBPACK_IMPORTED_MODULE_80__/* .SeparateCharNode */ .O(this._hoEditorFactoryID, np.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntSeparateChar */ .Jq.ntSeparateChar, width, color, line);
43015
43009
  hoeditorfactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_24__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, newParaPath, separateCharNode));
43016
43010
  hoeditorfactory.undoService.commit();
43017
43011
  }
@@ -60501,22 +60495,24 @@ var RectNode = /*#__PURE__*/function (_BaseCombineNode) {
60501
60495
  /*
60502
60496
  * @Author: your name
60503
60497
  * @Date: 2021-08-10 11:37:56
60504
- * @LastEditTime: 2022-03-14 09:04:58
60505
- * @LastEditors: Please set LastEditors
60498
+ * @LastEditTime: 2023-08-08 17:09:26
60499
+ * @LastEditors: liyanan 2441631434@qq.com
60506
60500
  * @Description: In User Settings Edit
60507
60501
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\SeparateChar.ts
60508
60502
  */
60509
60503
  var SeparateCharNode = /*#__PURE__*/function (_BaseNode) {
60510
60504
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(SeparateCharNode, _BaseNode);
60511
60505
  var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(SeparateCharNode);
60512
- function SeparateCharNode(hoEditorFactoryID, rootNodes, pNode, nodeType, width, color) {
60506
+ function SeparateCharNode(hoEditorFactoryID, rootNodes, pNode, nodeType, width, color, line) {
60513
60507
  var _this;
60514
60508
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, SeparateCharNode);
60515
60509
  _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
60516
60510
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_width", 0);
60517
60511
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_color", "#000000");
60512
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_line", '0');
60518
60513
  _this._width = width;
60519
60514
  _this._color = color;
60515
+ _this._line = line;
60520
60516
  _this.node2DrawNodeRange();
60521
60517
  return _this;
60522
60518
  }
@@ -60531,6 +60527,7 @@ var SeparateCharNode = /*#__PURE__*/function (_BaseNode) {
60531
60527
  get:
60532
60528
  //宽度
60533
60529
  //颜色
60530
+ //0实线 1虚线
60534
60531
  function get() {
60535
60532
  return this._width;
60536
60533
  },
@@ -60549,6 +60546,16 @@ var SeparateCharNode = /*#__PURE__*/function (_BaseNode) {
60549
60546
  this._color = val;
60550
60547
  }
60551
60548
  }
60549
+ }, {
60550
+ key: "line",
60551
+ get: function get() {
60552
+ return this._line;
60553
+ },
60554
+ set: function set(val) {
60555
+ if (val !== this._line) {
60556
+ this._line = val;
60557
+ }
60558
+ }
60552
60559
  }, {
60553
60560
  key: "node2DrawNodeRange",
60554
60561
  value: function node2DrawNodeRange() {
@@ -60561,7 +60568,7 @@ var SeparateCharNode = /*#__PURE__*/function (_BaseNode) {
60561
60568
  } else {
60562
60569
  cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
60563
60570
  }
60564
- var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_6__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, "5", [this.color], cbStyle, this.width, hoEditorFactory.pageProperty.widthPixes - hoEditorFactory.pageProperty.leftMarginPixes - hoEditorFactory.pageProperty.rightMarginPixes);
60571
+ var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_6__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, "5", [this.color], cbStyle, this.width, hoEditorFactory.pageProperty.widthPixes - hoEditorFactory.pageProperty.leftMarginPixes - hoEditorFactory.pageProperty.rightMarginPixes, this.line);
60565
60572
  this._drawNodes.push(dNode);
60566
60573
  }
60567
60574
  }, {
@@ -60601,7 +60608,8 @@ var SeparateCharNode = /*#__PURE__*/function (_BaseNode) {
60601
60608
  var retObj = {
60602
60609
  nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_8__/* .NodeType */ .Jq[this.nodeType],
60603
60610
  width: this.width,
60604
- color: this.color
60611
+ color: this.color,
60612
+ line: this.line
60605
60613
  };
60606
60614
  if (isCopy) {
60607
60615
  return retObj;
@@ -60618,7 +60626,7 @@ var SeparateCharNode = /*#__PURE__*/function (_BaseNode) {
60618
60626
  }], [{
60619
60627
  key: "json2Node",
60620
60628
  value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode) {
60621
- return new SeparateCharNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_8__/* .NodeType.ntSeparateChar */ .Jq.ntSeparateChar, Number(json.width), json.color);
60629
+ return new SeparateCharNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_8__/* .NodeType.ntSeparateChar */ .Jq.ntSeparateChar, Number(json.width), json.color, json.line ? json.line : '0');
60622
60630
  }
60623
60631
  }]);
60624
60632
  return SeparateCharNode;
@@ -73965,7 +73973,7 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
73965
73973
  /*
73966
73974
  * @Author: your name
73967
73975
  * @Date: 2020-10-29 15:22:36
73968
- * @LastEditTime: 2023-07-06 16:13:56
73976
+ * @LastEditTime: 2023-08-08 17:34:32
73969
73977
  * @LastEditors: liyanan 2441631434@qq.com
73970
73978
  * @Description: In User Settings Edit
73971
73979
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawMedicalExpression.ts
@@ -73975,7 +73983,7 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
73975
73983
  var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
73976
73984
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(DrawMedicalExpression, _DrawCombineNode);
73977
73985
  var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(DrawMedicalExpression);
73978
- function DrawMedicalExpression(hoeditfactoryID, rootPath, node, index, expressionStyle, arrValues, textStyle, dHeight, dWidth) {
73986
+ function DrawMedicalExpression(hoeditfactoryID, rootPath, node, index, expressionStyle, arrValues, textStyle, dHeight, dWidth, line) {
73979
73987
  var _this;
73980
73988
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawMedicalExpression);
73981
73989
  _this = _super.call(this, hoeditfactoryID, rootPath, node, index);
@@ -73984,6 +73992,7 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
73984
73992
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
73985
73993
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_w", 0);
73986
73994
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_h", 0);
73995
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_line", void 0);
73987
73996
  _this._expressionStyle = expressionStyle;
73988
73997
  _this._arrValues = arrValues;
73989
73998
  _this.dWidth = dWidth;
@@ -74005,6 +74014,9 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74005
74014
  }
74006
74015
  _this.dHeight = dHeight;
74007
74016
  _this._textStyle = textStyle;
74017
+ if (expressionStyle === "5") {
74018
+ _this._line = line ? line : '0';
74019
+ }
74008
74020
  _this.drawMedicalExpression(expressionStyle);
74009
74021
  return _this;
74010
74022
  }
@@ -74117,7 +74129,7 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74117
74129
  menseDays.textBaseline = "alphabetic";
74118
74130
  this.addChild(menseDays);
74119
74131
  var lineX = new createjs.Shape();
74120
- lineX.graphics.beginStroke(this._textStyle.color).moveTo(0, -this.dHeight / 2).lineTo(this.dWidth, -this.dHeight / 2);
74132
+ lineX.graphics.beginStroke(this._textStyle.color).moveTo(0, -this.dHeight / 2).lineTo(this.dWidth, -this.dHeight / 2).endStroke();
74121
74133
  this.addChild(lineX);
74122
74134
  var menoPauseAge = new createjs.Text(this._arrValues[3], this._textStyle.getStyleKey(), this._textStyle.color);
74123
74135
  menoPauseAge.y = 0;
@@ -74132,7 +74144,7 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74132
74144
  cycleDays.textBaseline = "alphabetic";
74133
74145
  this.addChild(cycleDays);
74134
74146
  var lineY = new createjs.Shape();
74135
- lineY.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth / 2, -this.dHeight).lineTo(this.dWidth / 2, 0);
74147
+ lineY.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth / 2, -this.dHeight).lineTo(this.dWidth / 2, 0).endStroke();
74136
74148
  this.addChild(lineY);
74137
74149
  }
74138
74150
  }, {
@@ -74163,10 +74175,10 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74163
74175
  menoPauseAge.textBaseline = "alphabetic";
74164
74176
  this.addChild(menoPauseAge);
74165
74177
  var line1 = new createjs.Shape();
74166
- line1.graphics.beginStroke(this._textStyle.color).moveTo(0, -this.dHeight - 2).lineTo(this.dWidth - 2, 2);
74178
+ line1.graphics.beginStroke(this._textStyle.color).moveTo(0, -this.dHeight - 2).lineTo(this.dWidth - 2, 2).endStroke();
74167
74179
  this.addChild(line1);
74168
74180
  var line2 = new createjs.Shape();
74169
- line2.graphics.beginStroke(this._textStyle.color).moveTo(0, 2).lineTo(this.dWidth - 2, -this.dHeight - 2);
74181
+ line2.graphics.beginStroke(this._textStyle.color).moveTo(0, 2).lineTo(this.dWidth - 2, -this.dHeight - 2).endStroke();
74170
74182
  this.addChild(line2);
74171
74183
  }
74172
74184
  }, {
@@ -74185,10 +74197,10 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74185
74197
  menseDays.textBaseline = "alphabetic";
74186
74198
  this.addChild(menseDays);
74187
74199
  var line1 = new createjs.Shape();
74188
- line1.graphics.beginStroke(this._textStyle.color).moveTo(menarcheAge.getMeasuredWidth() + 4, -this.dHeight / 2).lineTo(this.dWidth, -this.dHeight / 2);
74200
+ line1.graphics.beginStroke(this._textStyle.color).moveTo(menarcheAge.getMeasuredWidth() + 4, -this.dHeight / 2).lineTo(this.dWidth, -this.dHeight / 2).endStroke();
74189
74201
  this.addChild(line1);
74190
74202
  var line2 = new createjs.Shape();
74191
- line2.graphics.beginStroke(this._textStyle.color).moveTo(menarcheAge.getMeasuredWidth(), menarcheAge.y + 3).lineTo(menarcheAge.getMeasuredWidth() + 4, menseDays.y - 4);
74203
+ line2.graphics.beginStroke(this._textStyle.color).moveTo(menarcheAge.getMeasuredWidth(), menarcheAge.y + 3).lineTo(menarcheAge.getMeasuredWidth() + 4, menseDays.y - 4).endStroke();
74192
74204
  this.addChild(line2);
74193
74205
  var cycleDays = new createjs.Text(this._arrValues[1], this._textStyle.getStyleKey(), this._textStyle.color);
74194
74206
  cycleDays.y = 0;
@@ -74344,13 +74356,13 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74344
74356
  value6.textBaseline = "alphabetic";
74345
74357
  this.addChild(value6);
74346
74358
  var line2 = new createjs.Shape();
74347
- line2.graphics.beginStroke(this._textStyle.color).moveTo(value3.x + value3.getMeasuredWidth(), -this._dHeight / 2).lineTo(value4.x, -this._dHeight / 2);
74359
+ line2.graphics.beginStroke(this._textStyle.color).moveTo(value3.x + value3.getMeasuredWidth(), -this._dHeight / 2).lineTo(value4.x, -this._dHeight / 2).endStroke();
74348
74360
  this.addChild(line2);
74349
74361
  var line3 = new createjs.Shape();
74350
- line3.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth - 5, -this._dHeight / 2).lineTo(this.dWidth, -this._dHeight / 2);
74362
+ line3.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth - 5, -this._dHeight / 2).lineTo(this.dWidth, -this._dHeight / 2).endStroke();
74351
74363
  this.addChild(line3);
74352
74364
  var line4 = new createjs.Shape();
74353
- line4.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth / 2, -this._dHeight).lineTo(this.dWidth / 2, 0);
74365
+ line4.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth / 2, -this._dHeight).lineTo(this.dWidth / 2, 0).endStroke();
74354
74366
  this.addChild(line4);
74355
74367
  }
74356
74368
  }, {
@@ -74401,8 +74413,8 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74401
74413
  if (this.dHeight < maxHeight) {
74402
74414
  this.dHeight = maxHeight;
74403
74415
  }
74404
- lineX.graphics.beginStroke(this._textStyle.color).moveTo(0, -this._dHeight / 2).lineTo(this.dWidth, -this._dHeight / 2);
74405
- lineY.graphics.beginStroke(this._textStyle.color).moveTo(leftMaxWidth + 6 - 0.5, -this._dHeight).lineTo(leftMaxWidth + 6 - 0.5, 0);
74416
+ lineX.graphics.beginStroke(this._textStyle.color).moveTo(0, -this._dHeight / 2).lineTo(this.dWidth, -this._dHeight / 2).endStroke();
74417
+ lineY.graphics.beginStroke(this._textStyle.color).moveTo(leftMaxWidth + 6 - 0.5, -this._dHeight).lineTo(leftMaxWidth + 6 - 0.5, 0).endStroke();
74406
74418
  topLeft.y = -this.dHeight / 2 - topLeft.getMeasuredHeight() / 2;
74407
74419
  topLeft.x = 4;
74408
74420
  topLeft.textAlign = "left";
@@ -74530,10 +74542,10 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74530
74542
  }
74531
74543
  }
74532
74544
  var lineX = new createjs.Shape();
74533
- lineX.graphics.beginStroke(this._textStyle.color).moveTo(0, -this._dHeight / 2).lineTo(this.dWidth, -this._dHeight / 2);
74545
+ lineX.graphics.beginStroke(this._textStyle.color).moveTo(0, -this._dHeight / 2).lineTo(this.dWidth, -this._dHeight / 2).endStroke();
74534
74546
  this.addChild(lineX);
74535
74547
  var lineY = new createjs.Shape();
74536
- lineY.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth / 2, -this._dHeight).lineTo(this.dWidth / 2, 0);
74548
+ lineY.graphics.beginStroke(this._textStyle.color).moveTo(this.dWidth / 2, -this._dHeight).lineTo(this.dWidth / 2, 0).endStroke();
74537
74549
  this.addChild(lineY);
74538
74550
  }
74539
74551
  }, {
@@ -74541,7 +74553,11 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74541
74553
  value: function drawSeparateChar() {
74542
74554
  var shape = new createjs.Shape();
74543
74555
  shape.graphics.clear();
74544
- shape.graphics.beginFill(this.arrValues[0]).drawRect(0, 0, this.dWidth, this.dHeight);
74556
+ if (this._line === '0') {
74557
+ shape.graphics.beginFill(this.arrValues[0]).drawRect(0, 0, this.dWidth, this.dHeight).endFill();
74558
+ } else {
74559
+ shape.graphics.beginStroke(this.arrValues[0]).setStrokeDash([2, 2]).moveTo(0, 0).lineTo(this.dWidth, this.dHeight).endStroke();
74560
+ }
74545
74561
  this.addChild(shape);
74546
74562
  }
74547
74563
  }]);
@@ -85143,7 +85159,7 @@ var DrawTree = /*#__PURE__*/function () {
85143
85159
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
85144
85160
  if (e.node) {
85145
85161
  if (e.node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) {
85146
- if (hoEditorFactory.drawTree.paintStatus === PaintState.psReview) {
85162
+ if (hoEditorFactory.drawTree.paintStatus === PaintState.psReview || hoEditorFactory.drawTree.paintStatus === PaintState.psReadOnly || hoEditorFactory.drawTree.paintStatus === PaintState.psPreview || hoEditorFactory.drawTree.paintStatus === PaintState.psPrint) {
85147
85163
  return true;
85148
85164
  }
85149
85165
  var aNode = e.node;
@@ -200517,7 +200533,7 @@ var map = {
200517
200533
  "./customAttributes/CustomAttributes.vue": 78869,
200518
200534
  "./dataSource/DataSource.vue": 9238,
200519
200535
  "./dateDialog/DateDialog.vue": 49145,
200520
- "./delimiter/Delimiter.vue": 31861,
200536
+ "./delimiter/Delimiter.vue": 215,
200521
200537
  "./expressionForm/ExpressionForm.vue": 44603,
200522
200538
  "./findReplace/FindReplace.vue": 25918,
200523
200539
  "./gestation/Gestation.vue": 6251,
@@ -200537,7 +200553,7 @@ var map = {
200537
200553
  "./selectDialog/SelectDialog.vue": 59075,
200538
200554
  "./sign/Sign.vue": 28715,
200539
200555
  "./table/TableCellPoper.vue": 61917,
200540
- "./table/TableCellProperty.vue": 47585,
200556
+ "./table/TableCellProperty.vue": 69086,
200541
200557
  "./table/TableColProperty.vue": 17857,
200542
200558
  "./table/TableForm.vue": 19064,
200543
200559
  "./table/TableFormTree.vue": 39703,
@@ -236791,8 +236807,8 @@ var es_string_match = __webpack_require__(4723);
236791
236807
  var es_number_constructor = __webpack_require__(9653);
236792
236808
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
236793
236809
  var es_json_stringify = __webpack_require__(38862);
236794
- ;// 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=65a78357&
236795
- var HoDocvue_type_template_id_65a78357_render = function render() {
236810
+ ;// 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=0e1a0284&
236811
+ var HoDocvue_type_template_id_0e1a0284_render = function render() {
236796
236812
  var _vm = this,
236797
236813
  _c = _vm._self._c;
236798
236814
  return _c('div', {
@@ -236940,7 +236956,7 @@ var HoDocvue_type_template_id_65a78357_render = function render() {
236940
236956
  }
236941
236957
  }, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
236942
236958
  };
236943
- var HoDocvue_type_template_id_65a78357_staticRenderFns = [];
236959
+ var HoDocvue_type_template_id_0e1a0284_staticRenderFns = [];
236944
236960
 
236945
236961
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
236946
236962
  var es_array_filter = __webpack_require__(57327);
@@ -239944,7 +239960,7 @@ var TextNode = __webpack_require__(27198);
239944
239960
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
239945
239961
  var ParagraphNode = __webpack_require__(67945);
239946
239962
  ;// CONCATENATED MODULE: ./src/components/version.ts
239947
- /* harmony default export */ var version = ('3.0.98');
239963
+ /* harmony default export */ var version = ('3.0.100');
239948
239964
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
239949
239965
  var PoperTipText = __webpack_require__(36081);
239950
239966
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -240467,17 +240483,17 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
240467
240483
  }
240468
240484
  this.poperType = 'datePoper';
240469
240485
  } else if (Number(_parentNode.inputFieldType) === 1) {
240470
- var _node$parentNode$down, _node$parentNode$down2, _node$parentNode$down3;
240486
+ var _parentNode$downListP, _parentNode$downListP2, _parentNode$downListP3;
240471
240487
  if (paintStatus === 0) {
240472
240488
  this.hoEditorProvider.setControlProperty('text', 'update', '');
240473
240489
  this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
240474
240490
  return;
240475
240491
  }
240476
240492
  var text = node.text.replace(/ /g, '');
240477
- var list = (_node$parentNode$down = node.parentNode.downListProperty) !== null && _node$parentNode$down !== void 0 && _node$parentNode$down.listItems ? JSON.parse((_node$parentNode$down2 = node.parentNode.downListProperty) === null || _node$parentNode$down2 === void 0 ? void 0 : _node$parentNode$down2.listItems) : [];
240478
- var allowMultiSelected = ((_node$parentNode$down3 = node.parentNode.downListProperty) === null || _node$parentNode$down3 === void 0 ? void 0 : _node$parentNode$down3.allowMultiSelected) || false;
240479
- if (text != node.parentNode.name && text !== '' && !allowMultiSelected && list.length > 0) {
240480
- if (list.filter(function (v) {
240493
+ var lists = (_parentNode$downListP = _parentNode.downListProperty) !== null && _parentNode$downListP !== void 0 && _parentNode$downListP.listItems ? JSON.parse((_parentNode$downListP2 = _parentNode.downListProperty) === null || _parentNode$downListP2 === void 0 ? void 0 : _parentNode$downListP2.listItems) : [];
240494
+ var allowMultiSelected = ((_parentNode$downListP3 = _parentNode.downListProperty) === null || _parentNode$downListP3 === void 0 ? void 0 : _parentNode$downListP3.allowMultiSelected) || false;
240495
+ if (text != node.parentNode.name && text !== '' && !allowMultiSelected && lists.length > 0) {
240496
+ if (lists.filter(function (v) {
240481
240497
  return v.text.split('<元素>')[0].includes(text);
240482
240498
  }).length === 0) {
240483
240499
  return;
@@ -240488,7 +240504,9 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
240488
240504
  if (Array.isArray(list) && list.length > 0) {
240489
240505
  _this5.poperSelectList = list;
240490
240506
  } else {
240491
- _this5.poperSelectList = JSON.parse(_parentNode.downListProperty.listItems);
240507
+ _this5.poperSelectList = lists.filter(function (v) {
240508
+ return v.value || v.text;
240509
+ });
240492
240510
  }
240493
240511
  _this5.poperType = 'selectPoper';
240494
240512
  };
@@ -240690,10 +240708,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
240690
240708
  });
240691
240709
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
240692
240710
  /* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
240693
- ;// 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/HoDoc.vue?vue&type=style&index=0&id=65a78357&prod&lang=scss&
240711
+ ;// 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/HoDoc.vue?vue&type=style&index=0&id=0e1a0284&prod&lang=scss&
240694
240712
  // extracted by mini-css-extract-plugin
240695
240713
 
240696
- ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=65a78357&prod&lang=scss&
240714
+ ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=0e1a0284&prod&lang=scss&
240697
240715
 
240698
240716
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue
240699
240717
 
@@ -240706,8 +240724,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
240706
240724
 
240707
240725
  var HoDoc_component = (0,componentNormalizer/* default */.Z)(
240708
240726
  components_HoDocvue_type_script_lang_js_,
240709
- HoDocvue_type_template_id_65a78357_render,
240710
- HoDocvue_type_template_id_65a78357_staticRenderFns,
240727
+ HoDocvue_type_template_id_0e1a0284_render,
240728
+ HoDocvue_type_template_id_0e1a0284_staticRenderFns,
240711
240729
  false,
240712
240730
  null,
240713
240731
  null,
@@ -246757,8 +246775,8 @@ var commonParamList = new Map();
246757
246775
 
246758
246776
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
246759
246777
  var es_array_from = __webpack_require__(91038);
246760
- ;// 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/common/history/index.vue?vue&type=template&id=3f7f61ba&
246761
- var historyvue_type_template_id_3f7f61ba_render = function render() {
246778
+ ;// 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/common/history/index.vue?vue&type=template&id=73c58cef&
246779
+ var historyvue_type_template_id_73c58cef_render = function render() {
246762
246780
  var _vm = this,
246763
246781
  _c = _vm._self._c;
246764
246782
  return _c('div', {
@@ -246770,11 +246788,11 @@ var historyvue_type_template_id_3f7f61ba_render = function render() {
246770
246788
  on: {
246771
246789
  "click": _vm.selectComment
246772
246790
  }
246773
- }, [_c('section', [_c('header'), _c('section', {
246791
+ }, [_c('section', [_c('header', [_c('span', [_vm._v(_vm._s(_vm.userName))]), _vm._v(" "), _c('span', [_vm._v(_vm._s(_vm.date))])]), _c('section', {
246774
246792
  staticClass: "comemnt-content"
246775
- }, [_vm._v(_vm._s(_vm.text))])])]);
246793
+ }, [_vm._v("修改前:" + _vm._s(_vm.text))])])]);
246776
246794
  };
246777
- var historyvue_type_template_id_3f7f61ba_staticRenderFns = [];
246795
+ var historyvue_type_template_id_73c58cef_staticRenderFns = [];
246778
246796
 
246779
246797
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/common/history/index.vue?vue&type=script&lang=js&
246780
246798
 
@@ -246790,6 +246808,8 @@ var historyvue_type_template_id_3f7f61ba_staticRenderFns = [];
246790
246808
  endNodeY: 0,
246791
246809
  lineHeight: 0,
246792
246810
  text: '',
246811
+ userName: '',
246812
+ date: '',
246793
246813
  pageIndex: 0,
246794
246814
  openCommentModal: null,
246795
246815
  selectedColor: '#aaa'
@@ -246867,10 +246887,10 @@ var historyvue_type_template_id_3f7f61ba_staticRenderFns = [];
246867
246887
  });
246868
246888
  ;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=script&lang=js&
246869
246889
  /* harmony default export */ var common_historyvue_type_script_lang_js_ = (historyvue_type_script_lang_js_);
246870
- ;// 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/common/history/index.vue?vue&type=style&index=0&id=3f7f61ba&prod&lang=scss&
246890
+ ;// 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/common/history/index.vue?vue&type=style&index=0&id=73c58cef&prod&lang=scss&
246871
246891
  // extracted by mini-css-extract-plugin
246872
246892
 
246873
- ;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=style&index=0&id=3f7f61ba&prod&lang=scss&
246893
+ ;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=style&index=0&id=73c58cef&prod&lang=scss&
246874
246894
 
246875
246895
  ;// CONCATENATED MODULE: ./src/components/common/history/index.vue
246876
246896
 
@@ -246883,8 +246903,8 @@ var historyvue_type_template_id_3f7f61ba_staticRenderFns = [];
246883
246903
 
246884
246904
  var history_component = (0,componentNormalizer/* default */.Z)(
246885
246905
  common_historyvue_type_script_lang_js_,
246886
- historyvue_type_template_id_3f7f61ba_render,
246887
- historyvue_type_template_id_3f7f61ba_staticRenderFns,
246906
+ historyvue_type_template_id_73c58cef_render,
246907
+ historyvue_type_template_id_73c58cef_staticRenderFns,
246888
246908
  false,
246889
246909
  null,
246890
246910
  null,
@@ -246921,7 +246941,6 @@ var createHistoryInstance = function createHistoryInstance(options) {
246921
246941
  };
246922
246942
  var hoCreateHistory = {
246923
246943
  open: function open(options) {
246924
- this.clear();
246925
246944
  return createHistoryInstance(options);
246926
246945
  },
246927
246946
  clearLine: function clearLine() {
@@ -251147,7 +251166,7 @@ var VueController = /*#__PURE__*/function () {
251147
251166
  */
251148
251167
  }, {
251149
251168
  key: "insertSeparateChar",
251150
- value: function insertSeparateChar(width, color) {
251169
+ value: function insertSeparateChar(width, color, line) {
251151
251170
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
251152
251171
  if (hoEditorFactory.editController.canIsEdit(hoEditorFactory)) {
251153
251172
  var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
@@ -251155,7 +251174,7 @@ var VueController = /*#__PURE__*/function () {
251155
251174
  var endPath = _curDomRange.normalize().endPath;
251156
251175
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSeparateChar */.y.insertSeparateChar);
251157
251176
  if (hoEditorFactory.docTree.changing(changingEvent)) {
251158
- hoEditorFactory.docController.insertSeparateChar(_curDomRange, width, color);
251177
+ hoEditorFactory.docController.insertSeparateChar(_curDomRange, width, color, line);
251159
251178
  }
251160
251179
  }
251161
251180
  }
@@ -253062,11 +253081,15 @@ var VueController = /*#__PURE__*/function () {
253062
253081
  if (element instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
253063
253082
  comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element.EndMarkNode);
253064
253083
  comment.lineHeight = comment.lineHeight - 20;
253084
+ comment.userName = "".concat(object.afterByName, "(").concat(object.afterBy, ")");
253085
+ comment.date = object.createdDate;
253065
253086
  comments.push(comment);
253066
253087
  }
253067
253088
  if (element instanceof DateTimeNode/* DateTimeNode */.Z || element instanceof DownListNode/* DownListNode */.yF) {
253068
253089
  comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element);
253069
253090
  comment.lineHeight = comment.lineHeight - 20;
253091
+ comment.userName = "".concat(object.afterByName, "(").concat(object.afterBy, ")");
253092
+ comment.date = object.createdDate;
253070
253093
  comments.push(comment);
253071
253094
  }
253072
253095
  }
@@ -253101,6 +253124,7 @@ var VueController = /*#__PURE__*/function () {
253101
253124
  return v;
253102
253125
  });
253103
253126
  var list = arr.flat();
253127
+ hoCreateHistory.clear();
253104
253128
  list.forEach(function (comment) {
253105
253129
  hoCreateHistory.open(comment);
253106
253130
  });
@@ -255954,7 +255978,7 @@ var ElementController = /*#__PURE__*/function () {
255954
255978
  /*
255955
255979
  * @Author: your name
255956
255980
  * @Date: 2021-07-31 10:10:30
255957
- * @LastEditTime: 2023-07-13 10:04:37
255981
+ * @LastEditTime: 2023-08-08 18:09:19
255958
255982
  * @LastEditors: liyanan 2441631434@qq.com
255959
255983
  * @Description: In User Settings Edit
255960
255984
  * @FilePath: \hoeditor-web\src\editor\externalCall\NodeController.ts
@@ -256544,9 +256568,9 @@ var NodeController = /*#__PURE__*/function () {
256544
256568
  */
256545
256569
  }, {
256546
256570
  key: "insertSeparateChar",
256547
- value: function insertSeparateChar(width, color) {
256571
+ value: function insertSeparateChar(width, color, line) {
256548
256572
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
256549
- hoEditorFactory.vueController.insertSeparateChar(width, color);
256573
+ hoEditorFactory.vueController.insertSeparateChar(width, color, line);
256550
256574
  }
256551
256575
  /**
256552
256576
  * 插入孕周
@@ -259056,18 +259080,22 @@ var PrintController = /*#__PURE__*/function () {
259056
259080
  });
259057
259081
  }
259058
259082
  } else if (xmlIndex > xmlList.length - 1) {
259059
- hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
259060
- hoEditorFactory.vueController.openXml(xml);
259061
259083
  if (params && params.mergePDF) {
259062
259084
  (_this7$PDF2 = _this7.PDF) === null || _this7$PDF2 === void 0 ? void 0 : _this7$PDF2.deletePage(1);
259063
- callback && callback({
259064
- pdf: _this7.PDF.output('datauristring')
259065
- });
259085
+ setTimeout(function () {
259086
+ callback && callback({
259087
+ pdf: _this7.PDF.output('datauristring')
259088
+ });
259089
+ }, 0);
259066
259090
  } else {
259067
- callback && callback({
259068
- pdfList: pdfList
259069
- });
259091
+ setTimeout(function () {
259092
+ callback && callback({
259093
+ pdfList: pdfList
259094
+ });
259095
+ }, 0);
259070
259096
  }
259097
+ hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
259098
+ hoEditorFactory.vueController.openXml(xml);
259071
259099
  setTimeout(function () {
259072
259100
  _this7.clearJsPDF();
259073
259101
  }, 1000);
@@ -262308,8 +262336,8 @@ var HoDocs_component = (0,componentNormalizer/* default */.Z)(
262308
262336
  )
262309
262337
 
262310
262338
  /* harmony default export */ var HoDocs = (HoDocs_component.exports);
262311
- ;// 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/toolbar/ToolBar.vue?vue&type=template&id=529bb754&
262312
- var ToolBarvue_type_template_id_529bb754_render = function render() {
262339
+ ;// 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/toolbar/ToolBar.vue?vue&type=template&id=367b0d47&
262340
+ var ToolBarvue_type_template_id_367b0d47_render = function render() {
262313
262341
  var _vm = this,
262314
262342
  _c = _vm._self._c;
262315
262343
  return _c('div', {
@@ -262473,7 +262501,7 @@ var ToolBarvue_type_template_id_529bb754_render = function render() {
262473
262501
  }
262474
262502
  }, [_c('div', {
262475
262503
  staticClass: "ho-emr-tool-list"
262476
- }, [_vm.defaultReviewJson.insertComment ? _c('div', {
262504
+ }, [_vm._t("insertReviewBefore"), _vm.defaultReviewJson.insertComment ? _c('div', {
262477
262505
  staticClass: "ho-emr-tool-item"
262478
262506
  }, [_c('span', {
262479
262507
  staticClass: "review",
@@ -262517,7 +262545,7 @@ var ToolBarvue_type_template_id_529bb754_render = function render() {
262517
262545
  on: {
262518
262546
  "click": _vm.reviewPrintStatus
262519
262547
  }
262520
- }, [_vm._v(_vm._s(_vm.isPrinted ? '显示批注' : '隐藏批注'))])]) : _vm._e()], 2)]) : _vm._e(), _vm._t("afterReview")], 2), _vm.tabStyle == 'select' ? _c('div', {
262548
+ }, [_vm._v(_vm._s(_vm.isPrinted ? '显示批注' : ''))])]) : _vm._e()], 2)]) : _vm._e(), _vm._t("afterReview")], 2), _vm.tabStyle == 'select' ? _c('div', {
262521
262549
  staticClass: "ho-emr-tool-select"
262522
262550
  }, [_c('a-select', {
262523
262551
  attrs: {
@@ -262542,7 +262570,7 @@ var ToolBarvue_type_template_id_529bb754_render = function render() {
262542
262570
  }, [_vm._v(_vm._s(item.title))]);
262543
262571
  }), 1)], 1) : _vm._e()], 1);
262544
262572
  };
262545
- var ToolBarvue_type_template_id_529bb754_staticRenderFns = [];
262573
+ var ToolBarvue_type_template_id_367b0d47_staticRenderFns = [];
262546
262574
 
262547
262575
  ;// 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/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=48e0dd30&
262548
262576
  var HoMedicalExpressionvue_type_template_id_48e0dd30_render = function render() {
@@ -267764,10 +267792,10 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
267764
267792
  });
267765
267793
  ;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=script&lang=js&
267766
267794
  /* harmony default export */ var toolbar_ToolBarvue_type_script_lang_js_ = (ToolBarvue_type_script_lang_js_);
267767
- ;// 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/toolbar/ToolBar.vue?vue&type=style&index=0&id=529bb754&prod&lang=scss&
267795
+ ;// 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/toolbar/ToolBar.vue?vue&type=style&index=0&id=367b0d47&prod&lang=scss&
267768
267796
  // extracted by mini-css-extract-plugin
267769
267797
 
267770
- ;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=529bb754&prod&lang=scss&
267798
+ ;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=367b0d47&prod&lang=scss&
267771
267799
 
267772
267800
  ;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue
267773
267801
 
@@ -267780,8 +267808,8 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
267780
267808
 
267781
267809
  var ToolBar_component = (0,componentNormalizer/* default */.Z)(
267782
267810
  toolbar_ToolBarvue_type_script_lang_js_,
267783
- ToolBarvue_type_template_id_529bb754_render,
267784
- ToolBarvue_type_template_id_529bb754_staticRenderFns,
267811
+ ToolBarvue_type_template_id_367b0d47_render,
267812
+ ToolBarvue_type_template_id_367b0d47_staticRenderFns,
267785
267813
  false,
267786
267814
  null,
267787
267815
  null,