hoeditor-web 3.1.200 → 3.1.202

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.
@@ -103476,7 +103476,7 @@ var component = (0,componentNormalizer/* default */.A)(
103476
103476
 
103477
103477
  /***/ }),
103478
103478
 
103479
- /***/ 68480:
103479
+ /***/ 37667:
103480
103480
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
103481
103481
 
103482
103482
  "use strict";
@@ -103490,7 +103490,7 @@ __webpack_require__.d(__webpack_exports__, {
103490
103490
 
103491
103491
  // EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
103492
103492
  var i18n = __webpack_require__(49850);
103493
- ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=4396d84c
103493
+ ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=7b23ba21
103494
103494
 
103495
103495
  var render = function render() {
103496
103496
  var _vm = this,
@@ -103849,7 +103849,9 @@ var render = function render() {
103849
103849
  },
103850
103850
  expression: "printGridLines"
103851
103851
  }
103852
- }, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.42", null, "打印边框"))]), _c('a-checkbox', {
103852
+ }, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.42", null, "打印边框"))])], 1), _c('li', {
103853
+ staticClass: "control-item"
103854
+ }, [_c('a-checkbox', {
103853
103855
  model: {
103854
103856
  value: _vm.isSignLock,
103855
103857
  callback: function ($$v) {
@@ -103857,7 +103859,17 @@ var render = function render() {
103857
103859
  },
103858
103860
  expression: "isSignLock"
103859
103861
  }
103860
- }, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.585", null, "签名完成后锁定单元格"))])], 1)], 1)])])]), _c('a-tab-pane', {
103862
+ }, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.585", null, "签名完成后锁定单元格"))])], 1), _c('li', {
103863
+ staticClass: "control-item"
103864
+ }, [_c('a-checkbox', {
103865
+ model: {
103866
+ value: _vm.notAllowEdit,
103867
+ callback: function ($$v) {
103868
+ _vm.notAllowEdit = $$v;
103869
+ },
103870
+ expression: "notAllowEdit"
103871
+ }
103872
+ }, [_vm._v("不允许编辑单元格")])], 1)], 1)])])]), _c('a-tab-pane', {
103861
103873
  key: "1",
103862
103874
  attrs: {
103863
103875
  "tab": /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.41", null, "双击属性")
@@ -104319,7 +104331,7 @@ var render = function render() {
104319
104331
  };
104320
104332
  var staticRenderFns = [];
104321
104333
 
104322
- ;// ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=4396d84c
104334
+ ;// ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=7b23ba21
104323
104335
 
104324
104336
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
104325
104337
  var es_array_push = __webpack_require__(44114);
@@ -104454,6 +104466,8 @@ const columns = [{
104454
104466
  // 打印边框
104455
104467
  isSignLock: false,
104456
104468
  // 锁定单元格
104469
+ notAllowEdit: false,
104470
+ // 是否允许编辑
104457
104471
  cellTop: 0,
104458
104472
  cellBottom: 0,
104459
104473
  cellLeft: 0,
@@ -104526,6 +104540,7 @@ const columns = [{
104526
104540
  this.alignTextToGridline = cellNode.cellProperty.alignTextToGridline;
104527
104541
  this.printGridLines = cellNode.cellProperty.printGridLines;
104528
104542
  this.isSignLock = cellNode.cellProperty.isSignLock ? cellNode.cellProperty.isSignLock : false;
104543
+ this.notAllowEdit = cellNode.cellProperty.notAllowEdit ? cellNode.cellProperty.notAllowEdit : false;
104529
104544
  // 单元格内边距 上、下、左、右
104530
104545
  [this.cellTop, this.cellBottom, this.cellLeft, this.cellRight] = cellNode.cellProperty.cellInnerMargin ? cellNode.cellProperty.cellInnerMargin : [0, 0, 0, 0];
104531
104546
  this.editorProperty = cellNode.cellProperty.editorProperty;
@@ -104672,6 +104687,7 @@ const columns = [{
104672
104687
  alignTextToGridline: this.alignTextToGridline,
104673
104688
  printGridLines: this.printGridLines,
104674
104689
  isSignLock: this.isSignLock,
104690
+ notAllowEdit: this.notAllowEdit,
104675
104691
  obliqueSplitLine: this.obliqueSplitLine,
104676
104692
  editorProperty: this.editorProperty
104677
104693
  };
@@ -104716,10 +104732,10 @@ const columns = [{
104716
104732
 
104717
104733
  /* harmony default export */ var table_TableCellPropertyvue_type_script_lang_js = (TableCellPropertyvue_type_script_lang_js);
104718
104734
 
104719
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=4396d84c&prod&lang=less
104735
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=7b23ba21&prod&lang=less
104720
104736
  // extracted by mini-css-extract-plugin
104721
104737
 
104722
- ;// ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=4396d84c&prod&lang=less
104738
+ ;// ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=7b23ba21&prod&lang=less
104723
104739
 
104724
104740
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
104725
104741
  var componentNormalizer = __webpack_require__(81656);
@@ -106120,7 +106136,7 @@ var component = (0,componentNormalizer/* default */.A)(
106120
106136
 
106121
106137
  /***/ }),
106122
106138
 
106123
- /***/ 63459:
106139
+ /***/ 68707:
106124
106140
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
106125
106141
 
106126
106142
  "use strict";
@@ -106134,7 +106150,7 @@ __webpack_require__.d(__webpack_exports__, {
106134
106150
 
106135
106151
  // EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
106136
106152
  var i18n = __webpack_require__(49850);
106137
- ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=66f8e512
106153
+ ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=22ffd471
106138
106154
 
106139
106155
  var render = function render() {
106140
106156
  var _vm = this,
@@ -106202,7 +106218,7 @@ var render = function render() {
106202
106218
  },
106203
106219
  expression: "simpleFormula"
106204
106220
  }
106205
- })], 1) : _vm._e(), _vm.formula === 'bmi' ? _c('section', [_c('div', {
106221
+ })], 1) : _vm.formula === 'bmi' ? _c('section', [_c('div', {
106206
106222
  staticClass: "ho-table-features-list"
106207
106223
  }, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.293", null, "身高"))]), _c('a-input', {
106208
106224
  attrs: {
@@ -106228,7 +106244,7 @@ var render = function render() {
106228
106244
  },
106229
106245
  expression: "weight"
106230
106246
  }
106231
- })], 1)]) : _vm._e(), _vm.formula === 'labor' ? _c('section', [_c('a-checkbox', {
106247
+ })], 1)]) : _vm.formula === 'labor' ? _c('section', [_c('a-checkbox', {
106232
106248
  model: {
106233
106249
  value: _vm.isHideZero,
106234
106250
  callback: function ($$v) {
@@ -106307,7 +106323,7 @@ var render = function render() {
106307
106323
  },
106308
106324
  expression: "labor3"
106309
106325
  }
106310
- })], 1) : _vm._e()], 1) : _vm._e(), _vm.formula === 'expectedDate' || _vm.formula === 'pregnantDays' || _vm.formula === 'pregnantWeeks' ? _c('section', [_c('div', {
106326
+ })], 1) : _vm._e()], 1) : _vm.formula === 'expectedDate' || _vm.formula === 'pregnantDays' || _vm.formula === 'pregnantWeeks' ? _c('section', [_c('div', {
106311
106327
  staticClass: "ho-table-features-list"
106312
106328
  }, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.272", null, "末次月经"))]), _c('a-input', {
106313
106329
  attrs: {
@@ -106320,7 +106336,7 @@ var render = function render() {
106320
106336
  },
106321
106337
  expression: "expectedDate"
106322
106338
  }
106323
- })], 1)]) : _vm._e(), _vm.formula === 'ftScoreMapping' ? _c('section', [_c('div', {
106339
+ })], 1)]) : _vm.formula === 'ftScoreMapping' ? _c('section', [_c('div', {
106324
106340
  staticClass: "ho-table-features-list"
106325
106341
  }, [_c('p', {
106326
106342
  staticStyle: {
@@ -106427,7 +106443,7 @@ var render = function render() {
106427
106443
  attrs: {
106428
106444
  "type": "folder-add"
106429
106445
  }
106430
- })], 1)], 1)], 2)])]) : _vm._e(), _vm.formula === 'bodySurfaceArea' ? _c('section', [_c('div', {
106446
+ })], 1)], 1)], 2)])]) : _vm.formula === 'bodySurfaceArea' ? _c('section', [_c('div', {
106431
106447
  staticClass: "ho-table-features-list"
106432
106448
  }, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.292", null, "体重"))]), _c('a-input', {
106433
106449
  attrs: {
@@ -106440,7 +106456,7 @@ var render = function render() {
106440
106456
  },
106441
106457
  expression: "bodySurfaceAreaWeight"
106442
106458
  }
106443
- })], 1)]) : _vm._e(), _vm.formula === 'idealWeight' ? _c('section', [_c('div', {
106459
+ })], 1)]) : _vm.formula === 'idealWeight' ? _c('section', [_c('div', {
106444
106460
  staticClass: "ho-table-features-list"
106445
106461
  }, [_c('span', {
106446
106462
  staticStyle: {
@@ -106469,7 +106485,7 @@ var render = function render() {
106469
106485
  },
106470
106486
  expression: "displayRange"
106471
106487
  }
106472
- })], 1)]) : _vm._e(), _vm.formula === 'iss' ? _c('section', [_c('div', {
106488
+ })], 1)]) : _vm.formula === 'iss' ? _c('section', [_c('div', {
106473
106489
  staticClass: "ho-table-features-list"
106474
106490
  }, [_vm._m(0), _c('a-input', {
106475
106491
  staticStyle: {
@@ -106485,7 +106501,7 @@ var render = function render() {
106485
106501
  },
106486
106502
  expression: "issCode"
106487
106503
  }
106488
- })], 1)]) : _vm._e(), _vm.formula === 'costumRowColumns' ? _c('section', {
106504
+ })], 1)]) : _vm.formula === 'costumRowColumns' ? _c('section', {
106489
106505
  staticClass: "costum-row-columns"
106490
106506
  }, [_c('div', {
106491
106507
  staticClass: "ho-table-features-list"
@@ -106525,7 +106541,7 @@ var render = function render() {
106525
106541
  },
106526
106542
  expression: "form.columns"
106527
106543
  }
106528
- })], 1)]) : _vm._e(), _vm.formula === 'ftCalcDays' || _vm.formula === 'ftCalcTime' ? _c('section', {
106544
+ })], 1)]) : _vm.formula === 'ftCalcDays' || _vm.formula === 'ftCalcTime' ? _c('section', {
106529
106545
  staticClass: "costum-row-columns"
106530
106546
  }, [_c('div', {
106531
106547
  staticClass: "ho-table-features-list"
@@ -106563,6 +106579,162 @@ var render = function render() {
106563
106579
  },
106564
106580
  expression: "endDateCode"
106565
106581
  }
106582
+ })], 1)]) : _vm.formula === 'curveChart' ? _c('section', [_c('div', {
106583
+ staticClass: "ho-table-features-list ho-table-features-list-column"
106584
+ }, [_c('p', {
106585
+ staticStyle: {
106586
+ "width": "100%"
106587
+ }
106588
+ }, [_vm._v("横轴(X轴)单元格编号")]), _c('div', {
106589
+ staticClass: "ho-table-features-list",
106590
+ staticStyle: {
106591
+ "width": "100%"
106592
+ }
106593
+ }, [_c('a-input', {
106594
+ staticStyle: {
106595
+ "flex": "1",
106596
+ "margin": "0 20px 0 0"
106597
+ },
106598
+ attrs: {
106599
+ "autocomplete": "off"
106600
+ },
106601
+ model: {
106602
+ value: _vm.curve.codeX,
106603
+ callback: function ($$v) {
106604
+ _vm.$set(_vm.curve, "codeX", $$v);
106605
+ },
106606
+ expression: "curve.codeX"
106607
+ }
106608
+ }), _c('a-checkbox', {
106609
+ model: {
106610
+ value: _vm.curve.lockX,
106611
+ callback: function ($$v) {
106612
+ _vm.$set(_vm.curve, "lockX", $$v);
106613
+ },
106614
+ expression: "curve.lockX"
106615
+ }
106616
+ }, [_vm._v("锁定对应单元格不允许编辑")])], 1)]), _c('div', {
106617
+ staticClass: "ho-table-features-list ho-table-features-list-column"
106618
+ }, [_c('p', {
106619
+ staticStyle: {
106620
+ "width": "100%"
106621
+ }
106622
+ }, [_vm._v("纵轴(Y轴)单元格编号")]), _c('div', {
106623
+ staticClass: "ho-table-features-list",
106624
+ staticStyle: {
106625
+ "width": "100%"
106626
+ }
106627
+ }, [_c('a-input', {
106628
+ staticStyle: {
106629
+ "flex": "1",
106630
+ "margin": "0 20px 0 0"
106631
+ },
106632
+ attrs: {
106633
+ "autocomplete": "off"
106634
+ },
106635
+ model: {
106636
+ value: _vm.curve.codeY,
106637
+ callback: function ($$v) {
106638
+ _vm.$set(_vm.curve, "codeY", $$v);
106639
+ },
106640
+ expression: "curve.codeY"
106641
+ }
106642
+ })], 1)]), _c('div', {
106643
+ staticClass: "ho-table-features-list"
106644
+ }, [_c('p', {
106645
+ staticStyle: {
106646
+ "width": "100px"
106647
+ }
106648
+ }, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.65", null, "最小值"))]), _c('a-input', {
106649
+ attrs: {
106650
+ "autocomplete": "off"
106651
+ },
106652
+ model: {
106653
+ value: _vm.curve.min,
106654
+ callback: function ($$v) {
106655
+ _vm.$set(_vm.curve, "min", $$v);
106656
+ },
106657
+ expression: "curve.min"
106658
+ }
106659
+ })], 1), _c('div', {
106660
+ staticClass: "ho-table-features-list"
106661
+ }, [_c('p', {
106662
+ staticStyle: {
106663
+ "width": "100px"
106664
+ }
106665
+ }, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.64", null, "最大值"))]), _c('a-input', {
106666
+ attrs: {
106667
+ "autocomplete": "off"
106668
+ },
106669
+ model: {
106670
+ value: _vm.curve.max,
106671
+ callback: function ($$v) {
106672
+ _vm.$set(_vm.curve, "max", $$v);
106673
+ },
106674
+ expression: "curve.max"
106675
+ }
106676
+ })], 1), _c('div', {
106677
+ staticClass: "ho-table-features-list"
106678
+ }, [_c('p', {
106679
+ staticStyle: {
106680
+ "width": "100px"
106681
+ }
106682
+ }, [_vm._v("间隔")]), _c('a-input', {
106683
+ attrs: {
106684
+ "autocomplete": "off"
106685
+ },
106686
+ model: {
106687
+ value: _vm.curve.step,
106688
+ callback: function ($$v) {
106689
+ _vm.$set(_vm.curve, "step", $$v);
106690
+ },
106691
+ expression: "curve.step"
106692
+ }
106693
+ })], 1), _c('div', {
106694
+ staticClass: "ho-table-features-list"
106695
+ }, [_c('p', {
106696
+ staticStyle: {
106697
+ "width": "100px"
106698
+ }
106699
+ }, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.238", null, "高度"))]), _c('a-input', {
106700
+ attrs: {
106701
+ "autocomplete": "off"
106702
+ },
106703
+ model: {
106704
+ value: _vm.curve.height,
106705
+ callback: function ($$v) {
106706
+ _vm.$set(_vm.curve, "height", $$v);
106707
+ },
106708
+ expression: "curve.height"
106709
+ }
106710
+ })], 1), _c('div', {
106711
+ staticClass: "ho-table-features-list"
106712
+ }, [_c('p', {
106713
+ staticStyle: {
106714
+ "width": "100px"
106715
+ }
106716
+ }, [_vm._v("曲线图颜色")]), _c('ho-color-picker', {
106717
+ model: {
106718
+ value: _vm.curve.baseColor,
106719
+ callback: function ($$v) {
106720
+ _vm.$set(_vm.curve, "baseColor", $$v);
106721
+ },
106722
+ expression: "curve.baseColor"
106723
+ }
106724
+ })], 1), _c('div', {
106725
+ staticClass: "ho-table-features-list"
106726
+ }, [_c('p', {
106727
+ staticStyle: {
106728
+ "width": "100px"
106729
+ }
106730
+ }, [_vm._v("连接线颜色")]), _c('ho-color-picker', {
106731
+ model: {
106732
+ value: _vm.curve.lineColor,
106733
+ callback: function ($$v) {
106734
+ _vm.$set(_vm.curve, "lineColor", $$v);
106735
+ },
106736
+ expression: "curve.lineColor"
106737
+ }
106566
106738
  })], 1)]) : _vm._e()]), _c('footer', {
106567
106739
  staticClass: "ho-modal-footer"
106568
106740
  }, [_c('a-button', {
@@ -106591,7 +106763,7 @@ var staticRenderFns = [function () {
106591
106763
  }, [_c('span', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.254", null, "单元格编号"))]), _vm._v(":")]);
106592
106764
  }];
106593
106765
 
106594
- ;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=66f8e512
106766
+ ;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=22ffd471
106595
106767
 
106596
106768
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
106597
106769
  var es_array_push = __webpack_require__(44114);
@@ -106613,6 +106785,8 @@ var web_dom_collections_iterator = __webpack_require__(62953);
106613
106785
  var objectSpread2 = __webpack_require__(33217);
106614
106786
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
106615
106787
  var TableFormula = __webpack_require__(28646);
106788
+ // EXTERNAL MODULE: ./src/components/controls/colorPicker/HoColorPicker.vue + 6 modules
106789
+ var HoColorPicker = __webpack_require__(53071);
106616
106790
  ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[19].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=script&lang=js
106617
106791
 
106618
106792
 
@@ -106633,8 +106807,12 @@ var TableFormula = __webpack_require__(28646);
106633
106807
 
106634
106808
 
106635
106809
 
106810
+
106636
106811
  /* harmony default export */ var TableFormulavue_type_script_lang_js = ({
106637
106812
  name: 'TablePoperty',
106813
+ components: {
106814
+ HoColorPicker: HoColorPicker["default"]
106815
+ },
106638
106816
  props: {
106639
106817
  vueController: {
106640
106818
  default: () => {}
@@ -106689,14 +106867,30 @@ var TableFormula = __webpack_require__(28646);
106689
106867
  expectedDate: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.274", null, "预产期计算公式为末次月经第一天的月份加9个月或者减去3个月,为预产期的月份数;日期加7天,为预产期日。"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.273", null, "例如某孕妇的末次月经时间是1月11日来潮,她的预产期是,1+9=10,11+7=18,也就是10月18日的预产期。")],
106690
106868
  ftScoreMapping: /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.270", null, "通过多个分值组合计算,转换为对应的值域信息。例如:1-5分(高),6-10分中,10-15分(低)"),
106691
106869
  labor: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.290", null, "将时间元素设置成运算模式,比如这个第一产程时间=宫口全开时间-宫缩开始时间"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.289", null, "第1产程是从规律 “宫缩开始”到“宫口开全”,(“宫口开全” - “宫缩开始”)"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.288", null, "第2产程是从 “宫口开全” 到 “胎儿娩出”, (“胎儿娩出” - “宫口开全” )"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.287", null, "第3产程是从 “胎儿娩出” 到 “胎盘娩出” , (“胎盘娩出” - “胎儿娩出” )"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.286", null, "总产程:= 第1产程+第2产程+第3产程"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.285", null, "表示格式 示例: 9小时24分24秒,当时间大于24小时时, 显示格式为“28小时30分30秒”")],
106692
- iss: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.256", null, "计算ISS的一般原则:本法把人体分为6个区域,ISS是身体3个最严重损伤区域的最高AIS值的平方和。ISS=AIS1²+AIS2²+AIS3²"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.255", null, "示例:a1,a2,a3,a4,a5,a6")]
106870
+ iss: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.256", null, "计算ISS的一般原则:本法把人体分为6个区域,ISS是身体3个最严重损伤区域的最高AIS值的平方和。ISS=AIS1²+AIS2²+AIS3²"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.255", null, "示例:a1,a2,a3,a4,a5,a6")],
106871
+ curveChart: [
106872
+ // "视力曲线图(Visual Acuity Curve)是眼科检查中常用的一种工具,用于评估和记录不同距离或不同条件下的视力情况。通过绘制视力曲线图,医生可以直观地了解患者的视力变化,从而帮助诊断和治疗各种眼部疾病。",
106873
+ "横轴(X轴): 通常表示距离,单位可以是米(m)或英尺(ft), 值域区间为(+2.00 到 -5.00, 每单元格间隔为0.5)", "纵轴(Y轴): 表示视力,通常以最小分辨角对数表示。值域区间为(0.0到1.5之间, 每单元格间隔为0.1)", "单元格编号:(a1:a3表示从a1到a3的连续单元格)"]
106693
106874
  },
106694
106875
  bodySurfaceAreaWeight: '',
106695
106876
  startDateCode: '',
106696
106877
  endDateCode: '',
106697
106878
  idealWeightHeight: '',
106698
106879
  displayRange: false,
106699
- issCode: ''
106880
+ issCode: '',
106881
+ curve: {
106882
+ codeX: '',
106883
+ lockX: false,
106884
+ codeY: '',
106885
+ lockY: false,
106886
+ min: '',
106887
+ max: '',
106888
+ step: '',
106889
+ height: '',
106890
+ width: '',
106891
+ baseColor: '#000000',
106892
+ lineColor: '#000000'
106893
+ }
106700
106894
  };
106701
106895
  },
106702
106896
  inject: ['hoEditorProvider'],
@@ -106772,6 +106966,10 @@ var TableFormula = __webpack_require__(28646);
106772
106966
  } else {
106773
106967
  this.idealWeightHeight = node.formulaStr;
106774
106968
  }
106969
+ } else if (this.formula === 'curveChart') {
106970
+ if (node.formularProperty) {
106971
+ this.curve = (0,objectSpread2/* default */.A)({}, node.formularProperty);
106972
+ }
106775
106973
  }
106776
106974
  }
106777
106975
  }
@@ -106832,6 +107030,13 @@ var TableFormula = __webpack_require__(28646);
106832
107030
  this.vueController.insertTableFormula(`${this.idealWeightHeight},${this.displayRange}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftIdealWeight);
106833
107031
  } else if (this.formula === 'iss') {
106834
107032
  this.vueController.insertTableFormula(`${this.issCode}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftISS);
107033
+ } else if (this.formula === 'curveChart') {
107034
+ if (this.curve.lockX || this.curve.lockY) {
107035
+ this.vueController.lockCell(this.curve);
107036
+ }
107037
+ setTimeout(() => {
107038
+ this.vueController.insertTableFormula(this.curve.codeY.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftCurveChart, this.curve);
107039
+ }, 100);
106835
107040
  }
106836
107041
  this.handleClose();
106837
107042
  },
@@ -106855,10 +107060,10 @@ var TableFormula = __webpack_require__(28646);
106855
107060
 
106856
107061
  /* harmony default export */ var table_TableFormulavue_type_script_lang_js = (TableFormulavue_type_script_lang_js);
106857
107062
 
106858
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=66f8e512&prod&lang=less
107063
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=22ffd471&prod&lang=less
106859
107064
  // extracted by mini-css-extract-plugin
106860
107065
 
106861
- ;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=66f8e512&prod&lang=less
107066
+ ;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=22ffd471&prod&lang=less
106862
107067
 
106863
107068
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
106864
107069
  var componentNormalizer = __webpack_require__(81656);
@@ -117421,11 +117626,14 @@ class DocController {
117421
117626
  let curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
117422
117627
  const curParaNo = hoEditorFactory.docTree.curParaNo;
117423
117628
  let curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
117424
- curStyleIndex = curTextStyle.changeStyleString('fontFormat', "himalaya");
117629
+ if (curTextStyle.combineStyle.font != "himalaya") {
117630
+ curStyleIndex = curTextStyle.changeStyleString('fontFormat', "himalaya");
117631
+ }
117425
117632
  curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
117426
117633
  const nodeStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_23__/* .TextStyle */ .xJ(this._hoEditorFactoryID);
117427
117634
  nodeStyle.copyProperty(curTextStyle, nodeStyle);
117428
- if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psReview || hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psTrace) {
117635
+ const paintStatus = hoEditorFactory.drawTree.paintStatus;
117636
+ if (paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psReview || paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psTrace) {
117429
117637
  const newHistory = new _domNode_UserHistory__WEBPACK_IMPORTED_MODULE_50__/* .UserHistory */ .i(this._hoEditorFactoryID, _domNode_UserHistory__WEBPACK_IMPORTED_MODULE_50__/* .HistoryEditType */ .t.hetCreate);
117430
117638
  const historyIndex = newHistory.userCompare();
117431
117639
  nodeStyle.creatorIndex = historyIndex;
@@ -117441,16 +117649,14 @@ class DocController {
117441
117649
  nodeStyle.combineStyle.size = 24;
117442
117650
  nodeStyle.size = 24;
117443
117651
  let pNode = node.parentNode;
117444
- if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_36__/* .TextInputFieldNode */ .IM && pNode.childNodes.indexOf(node) === 0 && hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psReview) {
117652
+ if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_36__/* .TextInputFieldNode */ .IM && pNode.childNodes.indexOf(node) === 0 && paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psReview) {
117445
117653
  curStyleIndex = node.styleIndex;
117446
117654
  hoEditorFactory.docTree.curStyleIndex = curStyleIndex;
117447
117655
  }
117448
- let slibs = nodePosition.roots;
117449
117656
  if (pNode && pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_36__/* .TextInputFieldNode */ .IM && node == pNode.last()) {
117450
- slibs = pNode.getParentNodes();
117451
117657
  pNode = pNode.parentNode;
117452
117658
  }
117453
- if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psReview || hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psTrace) {
117659
+ if (paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psReview || paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_81__/* .PaintState */ .ak.psTrace) {
117454
117660
  if (curTextStyle.strikeout) {
117455
117661
  const nodeStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_23__/* .TextStyle */ .xJ(this._hoEditorFactoryID);
117456
117662
  nodeStyle.copyProperty(curTextStyle, nodeStyle);
@@ -117462,15 +117668,6 @@ class DocController {
117462
117668
  curStyleIndex = hoEditorFactory.docTree.styleCompare(nodeStyle);
117463
117669
  }
117464
117670
  }
117465
- let canModifyContent = true;
117466
- if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_36__/* .TextInputFieldNode */ .IM) {
117467
- canModifyContent = pNode.canModifyContent;
117468
- }
117469
- const insertParagraph = aPath => {
117470
- const paragraphNode = new _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_20__/* .ParagraphNode */ .f(this._hoEditorFactoryID, nodePosition.roots, pNode, curParaNo);
117471
- this.insertNodeByPath(aPath, paragraphNode);
117472
- return hoEditorFactory.docTree.curDomRange.startPath;
117473
- };
117474
117671
  curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
117475
117672
  let aPromise = new Promise((resolve, reject) => {
117476
117673
  resolve(strPath);
@@ -117479,20 +117676,16 @@ class DocController {
117479
117676
  aPromise = aPromise.then(res => {
117480
117677
  strPath = res;
117481
117678
  return new Promise((resolve, reject) => {
117482
- if (text === '' && index < lines.length - 1) {
117483
- strPath = insertParagraph(strPath);
117484
- resolve(strPath);
117485
- } else {
117486
- strPath = this.insertZWALine(hoEditorFactory, strPath, text, nodePosition.roots, pNode, curTextStyle, node, nodePosition.childIndex, index === lines.length - 1, resolve, keydownIsUnidentified);
117487
- }
117679
+ strPath = this.insertZWALine(hoEditorFactory, strPath, text, nodePosition.roots, pNode, curTextStyle, node, nodePosition.childIndex, index === lines.length - 1, resolve, true);
117680
+ // insertZWALine最后一个参数 keydownIsUnidentified 默认传true 处理非m键盘输入的组合音符问题
117488
117681
  });
117489
117682
  });
117490
117683
  });
117491
- setTimeout(() => {
117492
- if (text) {
117684
+ if (text) {
117685
+ setTimeout(() => {
117493
117686
  hoEditorFactory.vueController.getCaretPositionNode();
117494
- }
117495
- }, 0);
117687
+ }, 0);
117688
+ }
117496
117689
  return;
117497
117690
  }
117498
117691
  }
@@ -120644,7 +120837,7 @@ class DocController {
120644
120837
  * @param 选区
120645
120838
  * @param 公式
120646
120839
  */
120647
- insertTableFormula(domRange, formulaStr, isHideZero, formulaType) {
120840
+ insertTableFormula(domRange, formulaStr, isHideZero, formulaType, formulaProperty) {
120648
120841
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_67__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
120649
120842
  let startPath = domRange.normalize().endPath;
120650
120843
  const pNode = hoEditorFactory.docTree.getParentNode(startPath);
@@ -120654,7 +120847,7 @@ class DocController {
120654
120847
  hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_27__/* .NodeDeleteUndoUnit */ .s(this._hoEditorFactoryID, domRange.npEnd.node, startPath, 'update'));
120655
120848
  startPath = prePath;
120656
120849
  }
120657
- const tableFormula = new _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_61__/* .TableFormula */ .d(this._hoEditorFactoryID, domRange.npStart.roots, pNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Z6.ntTableFormula, formulaStr, hoEditorFactory.docTree.curStyleIndex, isHideZero, formulaType);
120850
+ const tableFormula = new _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_61__/* .TableFormula */ .d(this._hoEditorFactoryID, domRange.npStart.roots, pNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Z6.ntTableFormula, formulaStr, hoEditorFactory.docTree.curStyleIndex, isHideZero, formulaType, '', formulaProperty);
120658
120851
  hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_16__/* .NodeInsertUndoUnit */ .Q(this._hoEditorFactoryID, startPath, tableFormula));
120659
120852
  hoEditorFactory.undoService.commit();
120660
120853
  }
@@ -125505,7 +125698,7 @@ var DiagonalType;
125505
125698
  DiagonalType[DiagonalType["Right"] = 2] = "Right";
125506
125699
  })(DiagonalType || (DiagonalType = {}));
125507
125700
  class CellProperty {
125508
- //是否已签名 运行时属性
125701
+ //是否禁止编辑
125509
125702
  constructor(objectValues) {
125510
125703
  //private _lightCellBorders = false;//突出显示单元格边框
125511
125704
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_customProperties", []);
@@ -125541,6 +125734,8 @@ class CellProperty {
125541
125734
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_isSignLock", false);
125542
125735
  // 签名后是否锁定
125543
125736
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "signed", new Map());
125737
+ //是否已签名 运行时属性
125738
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "notAllowEdit", false);
125544
125739
  if (objectValues !== "") {
125545
125740
  const valuesObj = eval('(' + objectValues + ')');
125546
125741
  const assignvalue = (target, source) => {
@@ -128104,7 +128299,8 @@ class CellNode extends _RectNode__WEBPACK_IMPORTED_MODULE_22__/* .RectNode */ .P
128104
128299
  dateTimeProperty: this.cellProperty.dateTimeProperty,
128105
128300
  diagonalType: this.cellProperty.diagonalType,
128106
128301
  formula: this.cellProperty.formula,
128107
- isSignLock: this.cellProperty.isSignLock
128302
+ isSignLock: this.cellProperty.isSignLock,
128303
+ notAllowEdit: this.cellProperty.notAllowEdit
128108
128304
  };
128109
128305
  const cellPropertyJson = JSON.parse(JSON.stringify(cellProperty));
128110
128306
  const keysName = Object.keys(defaultCellPropJson);
@@ -136398,7 +136594,7 @@ class SpecialCharsNode extends _ControlNode__WEBPACK_IMPORTED_MODULE_4__/* .Cont
136398
136594
  /* harmony export */ });
136399
136595
  /* harmony import */ var _i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49850);
136400
136596
  /* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21902);
136401
- /* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(40233);
136597
+ /* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(40233);
136402
136598
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(32356);
136403
136599
  /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16280);
136404
136600
  /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3__);
@@ -136446,6 +136642,8 @@ class SpecialCharsNode extends _ControlNode__WEBPACK_IMPORTED_MODULE_4__/* .Cont
136446
136642
  /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(65018);
136447
136643
  /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(58382);
136448
136644
  /* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(76582);
136645
+ /* harmony import */ var _editor_draw_drawNode_DrawTableFormularChart__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(14968);
136646
+
136449
136647
 
136450
136648
 
136451
136649
 
@@ -136500,15 +136698,17 @@ var FormularType;
136500
136698
  FormularType[FormularType["ftCalcTime"] = 9] = "ftCalcTime";
136501
136699
  FormularType[FormularType["ftIdealWeight"] = 10] = "ftIdealWeight";
136502
136700
  FormularType[FormularType["ftISS"] = 11] = "ftISS";
136701
+ FormularType[FormularType["ftCurveChart"] = 12] = "ftCurveChart";
136503
136702
  })(FormularType || (FormularType = {}));
136504
136703
  class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .ControlNode */ .g {
136505
- constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, formulaStr, styleIndex, hideZero, formularType, customProperty) {
136704
+ constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, formulaStr, styleIndex, hideZero, formularType, customProperty, formularProperty) {
136506
136705
  super(hoEditorFactoryID, rootNodes, pNode, nodeType);
136507
136706
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_formularType", FormularType.ftSum);
136508
136707
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_formulaStr", "");
136509
136708
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_hideZero", true);
136510
136709
  //计算结果为0时是否隐藏
136511
136710
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_cellRange", void 0);
136711
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "formularProperty", null);
136512
136712
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "code", void 0);
136513
136713
  this._id = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("TFS");
136514
136714
  this._styleIndex = styleIndex;
@@ -136520,7 +136720,9 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
136520
136720
  this._formularType = formulaStr.indexOf(':') >= 0 ? FormularType.ftSum : FormularType.ftFormular;
136521
136721
  }
136522
136722
  this.formulaStr = formulaStr;
136523
- // this.setCode();
136723
+ if (formularProperty) {
136724
+ this.formularProperty = formularProperty;
136725
+ }
136524
136726
  if (hideZero !== undefined) this._hideZero = hideZero;
136525
136727
  if (customProperty && customProperty !== "") {
136526
136728
  this.setCustomProperty(customProperty);
@@ -136568,45 +136770,31 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
136568
136770
  if (this._formulaStr !== val) {
136569
136771
  this._formulaStr = val;
136570
136772
  this._cellRange.length = 0;
136571
- // if (val.indexOf(':') > 0) {
136773
+ // if (this.formularType === FormularType.ftSum) {
136572
136774
  // this.calcSumValue(false)
136573
- // } else this.clacFormula(false)
136574
- if (this.formularType === FormularType.ftSum) {
136575
- this.calcSumValue(false);
136576
- }
136577
- if (this.formularType === FormularType.ftFormular) {
136578
- this.clacFormula(false);
136579
- }
136580
- if (this.formularType === FormularType.ftBMI) {
136581
- this.clacBMI();
136582
- }
136583
- if (this.formularType === FormularType.ftLaborProcess) {
136584
- this.clacLaborProcess();
136585
- }
136586
- if (this.formularType === FormularType.ftExpectedBirthDate) {
136587
- this.clacExpectedBirthDate();
136588
- }
136589
- if (this.formularType === FormularType.ftPregnantWeeks) {
136590
- this.clacPregnantWeeks();
136591
- }
136592
- if (this.formularType === FormularType.ftScoreMapping) {
136593
- this.getScoreMapping();
136594
- }
136595
- if (this.formularType === FormularType.ftBodySurfaceArea) {
136596
- this.clacBodySurfaceArea();
136597
- }
136598
- if (this.formularType === FormularType.ftCalcDays) {
136599
- this.clacDays();
136600
- }
136601
- if (this.formularType === FormularType.ftCalcTime) {
136602
- this.clacTime();
136603
- }
136604
- if (this.formularType === FormularType.ftIdealWeight) {
136605
- this.clacIdealWeight();
136606
- }
136607
- if (this.formularType === FormularType.ftISS) {
136608
- this.clacISS();
136609
- }
136775
+ // } else if (this.formularType === FormularType.ftFormular) {
136776
+ // this.clacFormula(false);
136777
+ // } else if (this.formularType === FormularType.ftBMI) {
136778
+ // this.clacBMI();
136779
+ // } else if (this.formularType === FormularType.ftLaborProcess) {
136780
+ // this.clacLaborProcess();
136781
+ // } else if (this.formularType === FormularType.ftExpectedBirthDate) {
136782
+ // this.clacExpectedBirthDate();
136783
+ // } else if (this.formularType === FormularType.ftPregnantWeeks) {
136784
+ // this.clacPregnantWeeks();
136785
+ // } else if (this.formularType === FormularType.ftScoreMapping) {
136786
+ // this.getScoreMapping();
136787
+ // } else if (this.formularType === FormularType.ftBodySurfaceArea) {
136788
+ // this.clacBodySurfaceArea();
136789
+ // } else if (this.formularType === FormularType.ftCalcDays) {
136790
+ // this.clacDays();
136791
+ // } else if (this.formularType === FormularType.ftCalcTime) {
136792
+ // this.clacTime();
136793
+ // } else if (this.formularType === FormularType.ftIdealWeight) {
136794
+ // this.clacIdealWeight();
136795
+ // } else if (this.formularType === FormularType.ftISS) {
136796
+ // this.clacISS();
136797
+ // }
136610
136798
  }
136611
136799
  }
136612
136800
  get styleIndex() {
@@ -136637,10 +136825,12 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
136637
136825
  this.dCombineStyle = cbStyle;
136638
136826
  }
136639
136827
  node2DrawNodeRange(startIndex, endIndex) {
136640
- this.refreshDrawStyle();
136641
- //const text = this._hideZero && (this._text == "0" || this._text === "0.00") ? " " : this._text;
136642
- const dNode = new _editor_draw_drawNode_DrawTableFormular__WEBPACK_IMPORTED_MODULE_20__/* .DrawTableFormular */ .$(this._rootPath, this, this._text);
136643
- this._drawNodes.push(dNode);
136828
+ if (this.formularType === FormularType.ftCurveChart) {
136829
+ this._drawNodes.push(new _editor_draw_drawNode_DrawTableFormularChart__WEBPACK_IMPORTED_MODULE_32__/* .DrawTableFormularChart */ .t(this.hoEditorFactoryID, this._rootPath, this));
136830
+ } else {
136831
+ this.refreshDrawStyle();
136832
+ this._drawNodes.push(new _editor_draw_drawNode_DrawTableFormular__WEBPACK_IMPORTED_MODULE_20__/* .DrawTableFormular */ .$(this._rootPath, this, this._text));
136833
+ }
136644
136834
  }
136645
136835
  node2DrawNode() {
136646
136836
  this.clearDrawNodes(0, 0);
@@ -136675,7 +136865,8 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
136675
136865
  styleIndex: this.styleIndex,
136676
136866
  //hideZero: this._hideZero,
136677
136867
  formularType: this.formularType,
136678
- customProperty: this.customProperty
136868
+ customProperty: this.customProperty,
136869
+ formularProperty: this.formularProperty
136679
136870
  };
136680
136871
  if (!this.hideZero) {
136681
136872
  retObj.hideZero = this.hideZero;
@@ -136696,7 +136887,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
136696
136887
  } else {
136697
136888
  formularType = json.text.indexOf(':') >= 0 ? FormularType.ftSum : FormularType.ftFormular;
136698
136889
  }
136699
- const ret = new TableFormula(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_25__/* .NodeType */ .Z6.ntTableFormula, json.text, styleIndex, hideZero, formularType, json.customProperty);
136890
+ const ret = new TableFormula(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_25__/* .NodeType */ .Z6.ntTableFormula, json.text, styleIndex, hideZero, formularType, json.customProperty, json.formularProperty);
136700
136891
  return ret;
136701
136892
  }
136702
136893
  getParentCell() {
@@ -136975,7 +137166,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
136975
137166
  const arrStr = this.formulaStr.split(",");
136976
137167
  if (arrStr.length < 2) {
136977
137168
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
136978
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.444",null,"体重和身高对应的单元格编号传入有误:") + this.formulaStr);
137169
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.444",null,"体重和身高对应的单元格编号传入有误:") + this.formulaStr);
136979
137170
  }
136980
137171
  const [weightRow, weightCol] = this.getRowColByCellAdress(arrStr[0]);
136981
137172
  const [heightRow, heightCol] = this.getRowColByCellAdress(arrStr[1]);
@@ -137008,7 +137199,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
137008
137199
  const arrStr = this.formulaStr.split(",");
137009
137200
  if (arrStr.length < 2) {
137010
137201
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
137011
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.443",null,"单元格编号传入有误:") + this.formulaStr);
137202
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.443",null,"单元格编号传入有误:") + this.formulaStr);
137012
137203
  }
137013
137204
  const [sRow, sCol] = this.getRowColByCellAdress(arrStr[0]);
137014
137205
  const [eRow, eCol] = this.getRowColByCellAdress(arrStr[1]);
@@ -137295,7 +137486,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
137295
137486
  const table = this.getParentCell().table;
137296
137487
  if (this.formulaStr == "") {
137297
137488
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
137298
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.442",null,"体重的单元格编号传入有误:") + this.formulaStr);
137489
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.442",null,"体重的单元格编号传入有误:") + this.formulaStr);
137299
137490
  }
137300
137491
  const [row, col] = this.getRowColByCellAdress(this.formulaStr);
137301
137492
  if (row >= 0 && col >= 0) {
@@ -137324,7 +137515,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
137324
137515
  const arrStr = this.formulaStr.split(",");
137325
137516
  if (arrStr.length < 2) {
137326
137517
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
137327
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.441",null,"入院时间和出院时间对应的单元格编号传入有误:") + this.formulaStr);
137518
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.441",null,"入院时间和出院时间对应的单元格编号传入有误:") + this.formulaStr);
137328
137519
  return strRet;
137329
137520
  }
137330
137521
  const [rysjRow, rysjCol] = this.getRowColByCellAdress(arrStr[0]);
@@ -137361,7 +137552,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
137361
137552
  const arrStr = this.formulaStr.split(",");
137362
137553
  if (arrStr.length < 2) {
137363
137554
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
137364
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.440",null,"开始时间和结束时间对应的单元格编号传入有误:") + this.formulaStr);
137555
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.440",null,"开始时间和结束时间对应的单元格编号传入有误:") + this.formulaStr);
137365
137556
  return strRet;
137366
137557
  }
137367
137558
  const [rysjRow, rysjCol] = this.getRowColByCellAdress(arrStr[0]);
@@ -137447,7 +137638,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
137447
137638
  const table = this.getParentCell().table;
137448
137639
  if (this.formulaStr == "") {
137449
137640
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
137450
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.439",null,"身高的单元格编号传入有误:") + this.formulaStr);
137641
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.439",null,"身高的单元格编号传入有误:") + this.formulaStr);
137451
137642
  }
137452
137643
  let cellNo = "";
137453
137644
  let isRange = false;
@@ -137547,17 +137738,18 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
137547
137738
  result = String.fromCharCode(abyte + achar - 1) + result;
137548
137739
  icol = Math.floor(icol / 26);
137549
137740
  }
137550
- if (icol > 0) result = String.fromCharCode(abyte + icol - 1) + result;
137741
+ if (icol > 0) {
137742
+ result = String.fromCharCode(abyte + icol - 1) + result;
137743
+ }
137551
137744
  return result;
137552
137745
  }
137553
- delete(operType) {
137746
+ delete(operType, nodeType, forceDelete) {
137554
137747
  const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
137555
- if (hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState */ .ak.psDesign) {
137748
+ if (hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState */ .ak.psDesign || forceDelete) {
137556
137749
  hoEditorFactory.drawTree.formularNodes.delete(this._id);
137557
137750
  super.delete(operType);
137558
137751
  } else {
137559
- const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
137560
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.438",null,"不能删除表格计算公式"));
137752
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.438",null,"不能删除表格计算公式"));
137561
137753
  }
137562
137754
  return true;
137563
137755
  }
@@ -137586,7 +137778,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
137586
137778
  this._text = this.clacIdealWeight();
137587
137779
  } else if (this.formularType === FormularType.ftISS) {
137588
137780
  this._text = this.clacISS();
137589
- }
137781
+ } else if (this.formularType === FormularType.ftCurveChart) {}
137590
137782
  this.node2DrawNode();
137591
137783
  }
137592
137784
  getTagNameCn() {
@@ -139089,6 +139281,7 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
139089
139281
  dateTimeProperty: "",
139090
139282
  diagonalType: _TableProperty__WEBPACK_IMPORTED_MODULE_19__/* .DiagonalType */ .Q_.None,
139091
139283
  isSignLock: false,
139284
+ notAllowEdit: false,
139092
139285
  formula: ""
139093
139286
  };
139094
139287
  const defaultCellPropJson = JSON.parse(JSON.stringify(defaultCellProp));
@@ -139421,15 +139614,25 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
139421
139614
  const aRow = new Array();
139422
139615
  const nodeRowSpan = node.rowSpan ? parseInt(node.rowSpan) : 1;
139423
139616
  const nodeColSpan = node.colSpan ? parseInt(node.colSpan) : 1;
139424
- if (nodeRowSpan > 1) {
139617
+ if (nodeRowSpan > 1 && nodeColSpan > 1) {
139618
+ for (let r = parseInt(node.rowNo); r < parseInt(node.rowNo) + nodeRowSpan; r++) {
139619
+ for (let c = parseInt(node.colNo); c < parseInt(node.colNo) + nodeColSpan; c++) {
139620
+ if (!(node.rowNo == r && node.colNo == c)) {
139621
+ rowSpanArr.push({
139622
+ rowCount: r,
139623
+ colCount: c
139624
+ });
139625
+ }
139626
+ }
139627
+ }
139628
+ } else if (nodeRowSpan > 1) {
139425
139629
  for (let r = parseInt(node.rowNo) + 1; r < parseInt(node.rowNo) + nodeRowSpan; r++) {
139426
139630
  rowSpanArr.push({
139427
139631
  rowCount: r,
139428
139632
  colCount: parseInt(node.colNo)
139429
139633
  });
139430
139634
  }
139431
- }
139432
- if (nodeColSpan > 1) {
139635
+ } else if (nodeColSpan > 1) {
139433
139636
  for (let c = parseInt(node.colNo) + 1; c < parseInt(node.colNo) + nodeColSpan; c++) {
139434
139637
  colSpanArr.push({
139435
139638
  rowCount: parseInt(node.rowNo),
@@ -144412,13 +144615,11 @@ class TextNode extends _BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .BaseNode */ .Y
144412
144615
  if (combination) {
144413
144616
  this.combination = combination || [];
144414
144617
  }
144415
- // this._text=text;
144416
144618
  this._styleIndex = styleIndex;
144417
144619
  if (errorIndex != undefined) {
144418
144620
  this._errorIndex = errorIndex;
144419
144621
  }
144420
144622
  this.node2DrawNodeRange(0, this._text.length - 1);
144421
- // this.drawItems=new Array<DrawNode>();
144422
144623
  }
144423
144624
  /**
144424
144625
  * @author xyl
@@ -154461,6 +154662,210 @@ class DrawTableFormular extends DrawSimpleNode {
154461
154662
 
154462
154663
  /***/ }),
154463
154664
 
154665
+ /***/ 14968:
154666
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
154667
+
154668
+ "use strict";
154669
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
154670
+ /* harmony export */ t: function() { return /* binding */ DrawTableFormularChart; }
154671
+ /* harmony export */ });
154672
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32356);
154673
+ /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44114);
154674
+ /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);
154675
+ /* harmony import */ var core_js_modules_es_array_unshift_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13609);
154676
+ /* harmony import */ var core_js_modules_es_array_unshift_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unshift_js__WEBPACK_IMPORTED_MODULE_2__);
154677
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27495);
154678
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);
154679
+ /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25440);
154680
+ /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
154681
+ /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(98992);
154682
+ /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_5__);
154683
+ /* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(54520);
154684
+ /* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_6__);
154685
+ /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3949);
154686
+ /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_7__);
154687
+ /* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81454);
154688
+ /* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_8__);
154689
+ /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62953);
154690
+ /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__);
154691
+ /* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(56419);
154692
+ /* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_yuki_createjs__WEBPACK_IMPORTED_MODULE_10__);
154693
+ /* harmony import */ var _types_EditorType__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(27195);
154694
+ /* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(10431);
154695
+
154696
+
154697
+
154698
+
154699
+
154700
+
154701
+
154702
+
154703
+
154704
+
154705
+
154706
+
154707
+
154708
+ class DrawTableFormularChart extends _DrawCombineNode__WEBPACK_IMPORTED_MODULE_12__/* .DrawCombineNode */ .A {
154709
+ constructor(hoEditfactoryId, rootPath, node) {
154710
+ super(hoEditfactoryId, rootPath, node, 0);
154711
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "dNode", void 0);
154712
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "hoEditfactoryId", void 0);
154713
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "formularProperty", null);
154714
+ this.dNode = node;
154715
+ this.hoEditfactoryId = hoEditfactoryId;
154716
+ if (node.formularType == _types_EditorType__WEBPACK_IMPORTED_MODULE_11__/* .FormularType */ .Dd.ftCurveChart) {
154717
+ var _node$formularPropert;
154718
+ this.dWidth = Number((_node$formularPropert = node.formularProperty) === null || _node$formularPropert === void 0 ? void 0 : _node$formularPropert.width) || 100;
154719
+ // this.dHeight = Number(node.formularProperty?.height) || 100;
154720
+ // console.log(node.formularProperty?.height, node.formularProperty?.width);
154721
+ this.formularProperty = node.formularProperty;
154722
+ this.drawCurveChart();
154723
+ }
154724
+ }
154725
+ getCell(table, arr) {
154726
+ const [startRow, startCol] = this.dNode.getRowColByCellAdress(arr[0]);
154727
+ const [endRow, endCol] = this.dNode.getRowColByCellAdress(arr[1]);
154728
+ const list = [];
154729
+ let notAllowEdit = false;
154730
+ if (startRow >= 0 && startCol >= 0 && endRow >= 0 && endCol >= 0) {
154731
+ if (startRow === endRow || startCol === endCol) {
154732
+ for (let r = startRow; r <= endRow; r++) {
154733
+ for (let c = startCol; c <= endCol; c++) {
154734
+ const cell = table.rows[r][c];
154735
+ if (cell) {
154736
+ notAllowEdit = cell.cellProperty.notAllowEdit || false;
154737
+ const text = cell.getCellText() || '';
154738
+ if (notAllowEdit) {
154739
+ list.push(text);
154740
+ } else {
154741
+ list.push(text.replace(/\+|-/g, ''));
154742
+ }
154743
+ }
154744
+ }
154745
+ }
154746
+ }
154747
+ }
154748
+ return {
154749
+ notAllowEdit,
154750
+ startRow,
154751
+ startCol,
154752
+ endRow,
154753
+ endCol,
154754
+ list
154755
+ };
154756
+ }
154757
+ drawCurveChart() {
154758
+ if (this.dNode && this.formularProperty) {
154759
+ const xArr = this.formularProperty.codeX.split(':');
154760
+ const yArr = this.formularProperty.codeY.split(':');
154761
+ const currentCell = this.dNode.getParentCell();
154762
+ this.dWidth = currentCell.drawCell.dWidth - 30;
154763
+ const xInfo = this.getCell(currentCell.table, xArr);
154764
+ const yInfo = this.getCell(currentCell.table, yArr);
154765
+ let xAxis = [];
154766
+ let yAxis = [];
154767
+ let valueList = [];
154768
+ const formularChartContainer = new createjs.Container();
154769
+ if (this.formularProperty.lockX) {
154770
+ var _this$formularPropert;
154771
+ xAxis = xInfo.list;
154772
+ valueList = yInfo.list;
154773
+ const list = yInfo.list.filter(item => item !== '').map(Number);
154774
+ let maxValue = Math.max(...list);
154775
+ if (list.length == 0) {
154776
+ this.dHeight = 50;
154777
+ this.addChild(formularChartContainer);
154778
+ return;
154779
+ }
154780
+ this.dHeight = Number((_this$formularPropert = this.formularProperty) === null || _this$formularPropert === void 0 ? void 0 : _this$formularPropert.height) || 100;
154781
+ // maxValue = Math.ceil(maxValue * 10) / 10; // 向上取整到最近的 0.1
154782
+ let step = Math.ceil(maxValue / Number(this.formularProperty.step));
154783
+ if (step < 5) {
154784
+ step = 5;
154785
+ }
154786
+ for (let i = 0; i <= step; i++) {
154787
+ yAxis.push((i * Number(this.formularProperty.step)).toFixed(1));
154788
+ }
154789
+ }
154790
+ const baseChild = this.createGraduation(xAxis, yAxis, valueList);
154791
+ formularChartContainer.addChild(...baseChild);
154792
+ this.addChild(formularChartContainer);
154793
+ setTimeout(() => {
154794
+ this.setChildIndex(formularChartContainer, this.children.length - 1);
154795
+ }, 0);
154796
+ }
154797
+ }
154798
+ createGraduation(xAxis, yAxis, valueList) {
154799
+ var _this$formularPropert2, _this$formularPropert3;
154800
+ const baseChild = [];
154801
+ const baseColor = ((_this$formularPropert2 = this.formularProperty) === null || _this$formularPropert2 === void 0 ? void 0 : _this$formularPropert2.baseColor) || '#000000';
154802
+ const lineColor = ((_this$formularPropert3 = this.formularProperty) === null || _this$formularPropert3 === void 0 ? void 0 : _this$formularPropert3.lineColor) || '#000000';
154803
+ const circleRadius = 4; // 坐标点半径
154804
+ if (this.formularProperty) {
154805
+ const line = new createjs.Shape();
154806
+ xAxis.unshift("0");
154807
+ valueList.unshift("");
154808
+ let marginY = 30;
154809
+ let dHeight = this.dHeight - marginY;
154810
+ const xScale = this.dWidth / xAxis.length;
154811
+ const yScale = dHeight / yAxis.length;
154812
+ line.graphics.beginStroke(baseColor);
154813
+ let valuePoint = [];
154814
+ // 基本坐标系
154815
+ xAxis.forEach((xText, xIndex) => {
154816
+ let x = (xIndex + 1) * xScale;
154817
+ if (xIndex > 0) {
154818
+ const xT = new createjs.Text(xText, '12px Arial', baseColor);
154819
+ xT.x = x - xScale * 0.4;
154820
+ xT.y = -marginY * 0.7;
154821
+ baseChild.push(xT);
154822
+ }
154823
+ yAxis.forEach((yText, yIndex) => {
154824
+ let y = Math.floor(-yIndex * yScale - marginY);
154825
+ if (xIndex == 0) {
154826
+ const yT = new createjs.Text(yText, '12px Arial', baseColor);
154827
+ yT.x = 10;
154828
+ yT.y = y;
154829
+ baseChild.push(yT);
154830
+ }
154831
+ if (xIndex == 0 && yIndex == 0) {
154832
+ line.graphics.setStrokeStyle(2).moveTo(xScale, y).lineTo(this.dWidth, y);
154833
+ } else if (xIndex == xAxis.length - 1 && yIndex == yAxis.length - 1) {
154834
+ line.graphics.setStrokeStyle(2).setStrokeDash([0, 0]).moveTo(xScale, -marginY).lineTo(xScale, y);
154835
+ line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(x, -marginY).lineTo(x, y);
154836
+ line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(xScale, y).lineTo(x, y);
154837
+ } else if (xIndex > 0 && yIndex == yAxis.length - 1) {
154838
+ line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(x, -marginY).lineTo(x, y);
154839
+ } else if (xIndex == xAxis.length - 1 && yIndex > 0) {
154840
+ line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(xScale, y).lineTo(x, y);
154841
+ }
154842
+ });
154843
+ if (valueList[xIndex] !== '' && Number(valueList[xIndex]) > 0) {
154844
+ valuePoint.push({
154845
+ x: x,
154846
+ y: -Number(valueList[xIndex]) / Number(yAxis[yAxis.length - 1]) * (yScale * (yAxis.length - 1)) - marginY
154847
+ });
154848
+ }
154849
+ });
154850
+ baseChild.push(line);
154851
+ valuePoint.forEach((point, index) => {
154852
+ const circle = new createjs.Shape();
154853
+ circle.graphics.beginFill(lineColor).drawCircle(point.x, point.y, circleRadius);
154854
+ if (index > 0) {
154855
+ const prevPoint = valuePoint[index - 1];
154856
+ const line = new createjs.Shape();
154857
+ line.graphics.beginStroke(lineColor).moveTo(prevPoint.x, prevPoint.y).lineTo(point.x, point.y);
154858
+ baseChild.push(line);
154859
+ }
154860
+ baseChild.push(circle);
154861
+ });
154862
+ }
154863
+ return baseChild;
154864
+ }
154865
+ }
154866
+
154867
+ /***/ }),
154868
+
154464
154869
  /***/ 68880:
154465
154870
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
154466
154871
 
@@ -157229,8 +157634,6 @@ var PrintStatus = __webpack_require__(61663);
157229
157634
  var DrawPageMainDoc = __webpack_require__(54071);
157230
157635
  // EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTextNode.ts + 1 modules
157231
157636
  var DrawTextNode = __webpack_require__(68880);
157232
- // EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
157233
- var TableFormula = __webpack_require__(28646);
157234
157637
  // EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawSignNode.ts
157235
157638
  var DrawSignNode = __webpack_require__(54625);
157236
157639
  // EXTERNAL MODULE: ./src/editor/dom/TableProperty.ts
@@ -157297,7 +157700,6 @@ var UserHistory = __webpack_require__(78911);
157297
157700
 
157298
157701
 
157299
157702
 
157300
-
157301
157703
 
157302
157704
 
157303
157705
  //当前的显示状态,psDesign为设计状态,psEdit为正常编辑状态 psPreview为打印预览态态 psPrint 正在打印状态, psReview审阅状态
@@ -157309,7 +157711,7 @@ var PaintState;
157309
157711
  PaintState[PaintState["psPrint"] = 3] = "psPrint";
157310
157712
  PaintState[PaintState["psReview"] = 4] = "psReview";
157311
157713
  PaintState[PaintState["psReadOnly"] = 5] = "psReadOnly";
157312
- PaintState[PaintState["psTrace"] = 6] = "psTrace"; // 留痕模式
157714
+ PaintState[PaintState["psTrace"] = 6] = "psTrace";
157313
157715
  })(PaintState || (PaintState = {}));
157314
157716
  class RedrawPosition {
157315
157717
  constructor() {
@@ -157437,9 +157839,9 @@ class DrawTree {
157437
157839
  }
157438
157840
  }
157439
157841
  /**
157440
- * Getter formularNodes
157441
- * @return {Map<string, TableFormula>}
157442
- */
157842
+ * Getter formularNodes
157843
+ * @return {Map<string, TableFormula>}
157844
+ */
157443
157845
  get formularNodes() {
157444
157846
  return this._formularNodes;
157445
157847
  }
@@ -157796,7 +158198,7 @@ class DrawTree {
157796
158198
  */
157797
158199
  getHeaderDNodes(pageNo) {
157798
158200
  let droots = null;
157799
- let path = "";
158201
+ let path = '';
157800
158202
  const iend = Math.min(pageNo, this._headerChildNodes.length - 1);
157801
158203
  if (iend >= 0) {
157802
158204
  for (let i = iend; i >= 0; i--) {
@@ -157938,7 +158340,7 @@ class DrawTree {
157938
158340
  } else {
157939
158341
  //放置时不包含第一个节点
157940
158342
  if (dline instanceof DrawTable/* DrawTable */.n) {
157941
- throw new Error("错误的文档结构,表格后面需要放置一个段落节点");
158343
+ throw new Error('错误的文档结构,表格后面需要放置一个段落节点');
157942
158344
  } else {
157943
158345
  if (!(hoeditorFactory.drawTree.paintStatus != PaintState.psDesign && node instanceof TextInputFieldNode/* TextInputFieldNode */.IM && node.customProperty.hidden == true)) {
157944
158346
  dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, startChildIndex, node.getLength() - 1, aEndPath);
@@ -158067,7 +158469,7 @@ class DrawTree {
158067
158469
  } else {
158068
158470
  //放置时不包含第一个节点
158069
158471
  if (dline instanceof DrawTable/* DrawTable */.n) {
158070
- throw new Error("错误的文档结构,表格前面需要放置一个段落节点");
158472
+ throw new Error('错误的文档结构,表格前面需要放置一个段落节点');
158071
158473
  } else {
158072
158474
  if (!(hoEditorFactory.drawTree.paintStatus != PaintState.psDesign && node instanceof TextInputFieldNode/* TextInputFieldNode */.IM && node.customProperty.hidden == true)) {
158073
158475
  dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, 0, node.getLength() - 1, aEndPath);
@@ -158393,7 +158795,9 @@ class DrawTree {
158393
158795
  }
158394
158796
  if (e.repaintImmediate) {
158395
158797
  let mainArea = dArea;
158396
- if (dline.parent) mainArea = hoEditorFactory.drawPageTree.getMainRootArea(startUpdateLine);else if (dArea) {
158798
+ if (dline.parent) {
158799
+ mainArea = hoEditorFactory.drawPageTree.getMainRootArea(startUpdateLine);
158800
+ } else if (dArea) {
158397
158801
  mainArea = hoEditorFactory.drawPageTree.getMainRootArea(dArea);
158398
158802
  }
158399
158803
  if (mainArea) {
@@ -158575,7 +158979,7 @@ class DrawTree {
158575
158979
  }
158576
158980
  onSelectChanged(e) {
158577
158981
  const hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
158578
- if (e.newRange.startPath === "" || e.newRange.endPath === "") {
158982
+ if (e.newRange.startPath === '' || e.newRange.endPath === '') {
158579
158983
  return false;
158580
158984
  }
158581
158985
  const endNp = hoEditorFactory.docTree.findNodePositionByPath(e.newRange.endPath);
@@ -158633,19 +159037,19 @@ class DrawTree {
158633
159037
  }
158634
159038
  // console.log(aNode); 互斥
158635
159039
  const groupName = aNode.groupName;
158636
- if (aNode.controlStyle === "CheckBox" && !aNode.isMutualExclusion) {
159040
+ if (aNode.controlStyle === 'CheckBox' && !aNode.isMutualExclusion) {
158637
159041
  if (aNode.isSelected) {
158638
159042
  aNode.isSelected = false;
158639
159043
  } else {
158640
159044
  aNode.isSelected = true;
158641
159045
  }
158642
159046
  }
158643
- if (aNode.controlStyle === "RadioBox" || aNode.controlStyle === "CheckBox" && aNode.isMutualExclusion) {
159047
+ if (aNode.controlStyle === 'RadioBox' || aNode.controlStyle === 'CheckBox' && aNode.isMutualExclusion) {
158644
159048
  if (groupName.length > 0) {
158645
159049
  if (aNode.isSelected) {
158646
159050
  if (hoEditorFactory.allowUncheckRadio) {
158647
159051
  aNode.isSelected = false;
158648
- } else if (aNode.controlStyle === "CheckBox" && aNode.isMutualExclusion) {
159052
+ } else if (aNode.controlStyle === 'CheckBox' && aNode.isMutualExclusion) {
158649
159053
  aNode.isSelected = false;
158650
159054
  } else {
158651
159055
  return true;
@@ -158655,7 +159059,7 @@ class DrawTree {
158655
159059
  let selectedGroupList = [];
158656
159060
  let isGroupList = [];
158657
159061
  radioAndCheckBoxs.forEach((value, key) => {
158658
- if (value.controlStyle === aNode.controlStyle && value.controlStyle === "CheckBox" && value.groupName === groupName) {
159062
+ if (value.controlStyle === aNode.controlStyle && value.controlStyle === 'CheckBox' && value.groupName === groupName) {
158659
159063
  if (!isGroupList.includes(value.groupType)) {
158660
159064
  isGroupList.push(value.groupType);
158661
159065
  }
@@ -158663,14 +159067,14 @@ class DrawTree {
158663
159067
  });
158664
159068
  radioAndCheckBoxs.forEach((value, key) => {
158665
159069
  if (value.controlStyle === aNode.controlStyle && value.groupName === groupName && value.isSelected) {
158666
- if (value.controlStyle === "CheckBox" && value.isMutualExclusion && isGroupList.length > 1) {
159070
+ if (value.controlStyle === 'CheckBox' && value.isMutualExclusion && isGroupList.length > 1) {
158667
159071
  selectedGroupList.push(value.groupType);
158668
159072
  } else {
158669
159073
  value.isSelected = false;
158670
159074
  const nodePath = value.getNodePath();
158671
159075
  const newDomRange = new DomRange/* DomRange */.g(this._hoEditorFactoryID, nodePath, nodePath);
158672
159076
  const nodeObjectTemp = JSON.stringify(value.radioAndCheckBoxInstance);
158673
- hoEditorFactory.docController.insertRadioAndCheckBox("update", newDomRange, nodeObjectTemp, value.styleIndex);
159077
+ hoEditorFactory.docController.insertRadioAndCheckBox('update', newDomRange, nodeObjectTemp, value.styleIndex);
158674
159078
  }
158675
159079
  }
158676
159080
  });
@@ -158706,10 +159110,10 @@ class DrawTree {
158706
159110
  nodeStyle.color = color;
158707
159111
  styleIndex = hoEditorFactory.docTree.styleCompare(nodeStyle);
158708
159112
  }
158709
- hoEditorFactory.docController.insertRadioAndCheckBox("update", newDomRangeCur, nodeObjectStr, styleIndex);
159113
+ hoEditorFactory.docController.insertRadioAndCheckBox('update', newDomRangeCur, nodeObjectStr, styleIndex);
158710
159114
  //单复选关联元素必填标记
158711
159115
  if (e.node.associatedElement) {
158712
- const node = hoEditorFactory.vueController.getNodeByDataID("main", e.node.associatedElement);
159116
+ const node = hoEditorFactory.vueController.getNodeByDataID('main', e.node.associatedElement);
158713
159117
  if (node && node instanceof TextInputFieldNode/* TextInputFieldNode */.IM) {
158714
159118
  if (e.node.isSelected) {
158715
159119
  node.customProperty.must = true;
@@ -158720,10 +159124,10 @@ class DrawTree {
158720
159124
  }
158721
159125
  }
158722
159126
  } else {
158723
- if ((e.node.controlStyle === "RadioBox" || e.node.controlStyle === "CheckBox" && e.node.isMutualExclusion) && e.node.isSelected) {
159127
+ if ((e.node.controlStyle === 'RadioBox' || e.node.controlStyle === 'CheckBox' && e.node.isMutualExclusion) && e.node.isSelected) {
158724
159128
  for (let value of hoEditorFactory.docTree.radioAndCheckBoxsMap.values()) {
158725
- if (value.associatedElement && value.controlStyle === e.node.controlStyle && value.groupName === groupName && groupName !== "") {
158726
- const node = hoEditorFactory.vueController.getNodeByDataID("main", value.associatedElement);
159129
+ if (value.associatedElement && value.controlStyle === e.node.controlStyle && value.groupName === groupName && groupName !== '') {
159130
+ const node = hoEditorFactory.vueController.getNodeByDataID('main', value.associatedElement);
158727
159131
  if (node && node instanceof TextInputFieldNode/* TextInputFieldNode */.IM) {
158728
159132
  node.customProperty.must = false;
158729
159133
  node.update(0);
@@ -158736,10 +159140,10 @@ class DrawTree {
158736
159140
  //单复选带出关联元素
158737
159141
  const deleteAssociatedEle = (node, tPath) => {
158738
159142
  const oldEndPath = hoEditorFactory.docTree.getNodeLastPath(node);
158739
- const changeEvent = new NodeChangeEvent/* NodeChangeEvent */.b(this._hoEditorFactoryID, DocTree/* DocAction */.LC.daDelete, tPath, "");
159143
+ const changeEvent = new NodeChangeEvent/* NodeChangeEvent */.b(this._hoEditorFactoryID, DocTree/* DocAction */.LC.daDelete, tPath, '');
158740
159144
  changeEvent.oldEndPath = oldEndPath;
158741
159145
  changeEvent.oldDrawTreeLines = new SelectRange/* SelectRange */.u(this._hoEditorFactoryID).getRangeDrawTreeLines(nodePathCur, oldEndPath);
158742
- hoEditorFactory.docTree.deleteNode(node, "update");
159146
+ hoEditorFactory.docTree.deleteNode(node, 'update');
158743
159147
  changeEvent.afterChangePath = nodePathCur;
158744
159148
  hoEditorFactory.docTree.change(changeEvent);
158745
159149
  };
@@ -158751,17 +159155,17 @@ class DrawTree {
158751
159155
  newpath = res;
158752
159156
  });
158753
159157
  } else {
158754
- const node = hoEditorFactory.vueController.getNodeByID("main", e.node.associatedId);
159158
+ const node = hoEditorFactory.vueController.getNodeByID('main', e.node.associatedId);
158755
159159
  if (node) {
158756
159160
  deleteAssociatedEle(node, newpath);
158757
159161
  }
158758
159162
  }
158759
159163
  }
158760
159164
  } else {
158761
- if ((e.node.controlStyle === "RadioBox" || e.node.controlStyle === "CheckBox" && e.node.isMutualExclusion) && e.node.isSelected) {
159165
+ if ((e.node.controlStyle === 'RadioBox' || e.node.controlStyle === 'CheckBox' && e.node.isMutualExclusion) && e.node.isSelected) {
158762
159166
  for (let val of hoEditorFactory.docTree.radioAndCheckBoxsMap.values()) {
158763
- if (val.associatedId && val.controlStyle === e.node.controlStyle && val.groupName === groupName && groupName !== "") {
158764
- const node = hoEditorFactory.vueController.getNodeByID("main", val.associatedId);
159167
+ if (val.associatedId && val.controlStyle === e.node.controlStyle && val.groupName === groupName && groupName !== '') {
159168
+ const node = hoEditorFactory.vueController.getNodeByID('main', val.associatedId);
158765
159169
  if (node) {
158766
159170
  const bpath = val.getNodePath();
158767
159171
  deleteAssociatedEle(node, bpath);
@@ -158782,7 +159186,7 @@ class DrawTree {
158782
159186
  */
158783
159187
  getFooterDNodes(pageNo) {
158784
159188
  let droots = null;
158785
- let path = "";
159189
+ let path = '';
158786
159190
  const iend = Math.min(pageNo, this._footerChildNodes.length - 1);
158787
159191
  if (iend >= 0) {
158788
159192
  for (let i = iend; i >= 0; i--) {
@@ -158816,13 +159220,13 @@ class DrawTree {
158816
159220
  return null;
158817
159221
  }
158818
159222
  getDNodePath(dPage, dLine, x, y) {
158819
- let selectStart = "";
159223
+ let selectStart = '';
158820
159224
  if (!dPage.drawDomLevel) {
158821
- return "";
159225
+ return '';
158822
159226
  }
158823
159227
  const lineIndex = dLine.paragraphNode.drawlines.indexOf(dLine);
158824
159228
  if (lineIndex == -1) {
158825
- return "";
159229
+ return '';
158826
159230
  }
158827
159231
  const index = dLine.getChildByPos(x, y)[0];
158828
159232
  if (index === -1) {
@@ -158899,7 +159303,7 @@ class DrawTree {
158899
159303
  const pos = dline.localToLocal(dright, 0, dPage.drawDocContainer);
158900
159304
  this._caret.height = dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
158901
159305
  if (dPage && dPage.drawSelectLevel) {
158902
- if (this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== "") {
159306
+ if (this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== '') {
158903
159307
  this._editor.moveTo(dPage.pageIndex, pos.x, pos.y);
158904
159308
  }
158905
159309
  if (dNode instanceof DrawSignNode/* DrawSignNode */._) {
@@ -158949,7 +159353,7 @@ class DrawTree {
158949
159353
  }
158950
159354
  moveEditTo(pageIndex, x, y) {
158951
159355
  const hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
158952
- if (this.selectRange.beginRangeSelect === undefined || this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== "") {
159356
+ if (this.selectRange.beginRangeSelect === undefined || this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== '') {
158953
159357
  this._editor.moveTo(pageIndex, x, y);
158954
159358
  }
158955
159359
  }
@@ -159136,7 +159540,7 @@ class DrawTree {
159136
159540
  */
159137
159541
  getDrawRootsByPath(strPath) {
159138
159542
  const hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
159139
- const arr = strPath.split("/");
159543
+ const arr = strPath.split('/');
159140
159544
  const istart = 1;
159141
159545
  let dArea = null;
159142
159546
  let dlines = null;
@@ -159203,19 +159607,19 @@ class DrawTree {
159203
159607
  getDTreePathByNodePath(nodePath) {
159204
159608
  const hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
159205
159609
  const np = hoEditorFactory.docTree.findNodePositionByPath(nodePath);
159206
- let ret = "";
159610
+ let ret = '';
159207
159611
  if (np && np.node) {
159208
159612
  if (np.childIndex >= 0 && np.node.drawNodes.length > np.childIndex) {
159209
159613
  let dnode = np.node.drawNodes[np.childIndex];
159210
159614
  let dParent = dnode.parent;
159211
159615
  while (dParent && dParent instanceof DrawContainer/* DrawContainer */.g) {
159212
159616
  const index = dParent.drawItems.indexOf(dnode);
159213
- ret = index.toString() + "/" + ret;
159617
+ ret = index.toString() + '/' + ret;
159214
159618
  dnode = dParent;
159215
159619
  dParent = dnode.parent;
159216
159620
  }
159217
- if (ret !== "") {
159218
- ret = hoEditorFactory.docTree.getPathRoots(nodePath) + "/" + ret.substr(0, ret.length - 1);
159621
+ if (ret !== '') {
159622
+ ret = hoEditorFactory.docTree.getPathRoots(nodePath) + '/' + ret.substr(0, ret.length - 1);
159219
159623
  }
159220
159624
  }
159221
159625
  }
@@ -159271,7 +159675,7 @@ class DrawTree {
159271
159675
  return ditem;
159272
159676
  }
159273
159677
  getNodePathByDPath(dPath) {
159274
- let ret = "";
159678
+ let ret = '';
159275
159679
  const dnode = this.getDNodeByPath(dPath);
159276
159680
  //组合节点
159277
159681
  if (dnode instanceof DrawCombineNode/* DrawCombineNode */.A) {
@@ -159281,7 +159685,7 @@ class DrawTree {
159281
159685
  ret = dnode.parent.node.getNodePath();
159282
159686
  const index = dnode.parent.node.drawNodes.indexOf(dnode);
159283
159687
  if (index >= 0 && index < dnode.parent.node.drawNodes.length) {
159284
- ret += "/" + index;
159688
+ ret += '/' + index;
159285
159689
  }
159286
159690
  }
159287
159691
  return ret;
@@ -159339,7 +159743,7 @@ class DrawTree {
159339
159743
  const hoeditorFactory = HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
159340
159744
  const prevPara = hoeditorFactory.docTree.getSameRectPrevParanode(paraNode);
159341
159745
  let dTop = 0;
159342
- if (!prevPara || hoeditorFactory.drawTree.paintStatus != PaintState.psDesign && prevPara.customProperty && prevPara.customProperty.hidden == "true") {
159746
+ if (!prevPara || hoeditorFactory.drawTree.paintStatus != PaintState.psDesign && prevPara.customProperty && prevPara.customProperty.hidden == 'true') {
159343
159747
  dTop = paraNode.combineParagraph.topMarginPixes;
159344
159748
  } else {
159345
159749
  //存在上一个同区域段落节点
@@ -159371,7 +159775,7 @@ class DrawTree {
159371
159775
  if (pageCell) {
159372
159776
  return pageCell.getPagePaintPosition();
159373
159777
  } else {
159374
- throw new Error("表格结点还未准备好绘制");
159778
+ throw new Error('表格结点还未准备好绘制');
159375
159779
  }
159376
159780
  } else {
159377
159781
  //页的起始段茖
@@ -159459,7 +159863,7 @@ class DrawTree {
159459
159863
  if (dnextDline === aRange.spStart.dline && aRange.spStart.index >= 0) {
159460
159864
  const ditem = dnextDline.drawItems[aRange.spStart.index];
159461
159865
  if (ditem instanceof DrawTextNode/* DrawTextNode */.w && ditem.node instanceof TextNode/* TextNode */.E) {
159462
- const arr = aRange.spStart.path.split("/");
159866
+ const arr = aRange.spStart.path.split('/');
159463
159867
  const iindex = parseInt(arr[arr.length - 1]);
159464
159868
  if (!isNaN(iindex)) left = ditem.x + ditem.dText.getWidthByIndex(iindex);
159465
159869
  } else {
@@ -159471,7 +159875,7 @@ class DrawTree {
159471
159875
  if (aRange.spEnd.index >= 0) {
159472
159876
  const ditem = dnextDline.drawItems[aRange.spEnd.index];
159473
159877
  if (ditem instanceof DrawTextNode/* DrawTextNode */.w && ditem.node instanceof TextNode/* TextNode */.E) {
159474
- const arr = aRange.spEnd.path.split("/");
159878
+ const arr = aRange.spEnd.path.split('/');
159475
159879
  const iindex = parseInt(arr[arr.length - 1]);
159476
159880
  if (!isNaN(iindex)) right = ditem.x + ditem.dText.getWidthByIndex(iindex);
159477
159881
  } else {
@@ -159487,8 +159891,8 @@ class DrawTree {
159487
159891
  }
159488
159892
  }
159489
159893
  if (dPage && dPage.selectContainer) {
159490
- const shape = new DrawSelect(this._hoEditorFactoryID, dPage.pageIndex, dnextDline, left, right, bInSameRect, aRange.spStart.dline.paragraphNode.parentNode, aRange.spEnd.dline.paragraphNode.parentNode, "blue");
159491
- shape.name = "select";
159894
+ const shape = new DrawSelect(this._hoEditorFactoryID, dPage.pageIndex, dnextDline, left, right, bInSameRect, aRange.spStart.dline.paragraphNode.parentNode, aRange.spEnd.dline.paragraphNode.parentNode, 'blue');
159895
+ shape.name = 'select';
159492
159896
  shape.alpha = 0.5;
159493
159897
  dPage.selectContainer.addChild(shape);
159494
159898
  if (dPages.indexOf(dPage) < 0) {
@@ -159544,7 +159948,7 @@ class DrawTree {
159544
159948
  if (dnextDline === aRange.spStart.dline && aRange.spStart.index >= 0) {
159545
159949
  const ditem = dnextDline.drawItems[aRange.spStart.index];
159546
159950
  if (ditem instanceof DrawTextNode/* DrawTextNode */.w && ditem.node instanceof TextNode/* TextNode */.E) {
159547
- arr = aRange.spStart.path.split("/");
159951
+ arr = aRange.spStart.path.split('/');
159548
159952
  iindex = parseInt(arr[arr.length - 1]);
159549
159953
  if (!isNaN(iindex)) {
159550
159954
  if (iindex == 0) {
@@ -159562,7 +159966,7 @@ class DrawTree {
159562
159966
  if (aRange.spEnd.index >= 0) {
159563
159967
  const ditem = dnextDline.drawItems[aRange.spEnd.index];
159564
159968
  if (ditem instanceof DrawTextNode/* DrawTextNode */.w && ditem.node instanceof TextNode/* TextNode */.E) {
159565
- arr = aRange.spEnd.path.split("/");
159969
+ arr = aRange.spEnd.path.split('/');
159566
159970
  iindex = parseInt(arr[arr.length - 1]);
159567
159971
  if (!isNaN(iindex)) right = ditem.x + ditem.dText.getWidthByIndex(iindex);
159568
159972
  } else {
@@ -159749,7 +160153,7 @@ class DrawTree {
159749
160153
  cgEvent.needUpdateParaStyle = needUpdateParaStyle;
159750
160154
  cgEvent.oldDrawLines = new SelectRange/* SelectRange */.u(this._hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true, true);
159751
160155
  await hoEditorFactory.docTree.change(cgEvent);
159752
- if (hoEditorFactory.docTree.curDomRange.startPath != "") {
160156
+ if (hoEditorFactory.docTree.curDomRange.startPath != '') {
159753
160157
  if (moveCaret) {
159754
160158
  this.moveCaretToPath(hoEditorFactory.docTree.curDomRange.startPath);
159755
160159
  }
@@ -159769,7 +160173,7 @@ class DrawTree {
159769
160173
  this.drawPages[0].storeDrawHeader.visible = true;
159770
160174
  this.drawPages[0].storeDrawFooter.visible = true;
159771
160175
  }
159772
- if (area === "header") {
160176
+ if (area === 'header') {
159773
160177
  const headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
159774
160178
  for (let i = 0; i < headerDocTree.length; i++) {
159775
160179
  const nodes = headerDocTree[i].subDocNodes;
@@ -159791,7 +160195,7 @@ class DrawTree {
159791
160195
  }
159792
160196
  }
159793
160197
  }
159794
- if (area === "footer") {
160198
+ if (area === 'footer') {
159795
160199
  const footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
159796
160200
  for (let j = 0; j < footerDocTree.length; j++) {
159797
160201
  const nodes = footerDocTree[j].subDocNodes;
@@ -159813,7 +160217,7 @@ class DrawTree {
159813
160217
  }
159814
160218
  }
159815
160219
  }
159816
- if (area === "main") {
160220
+ if (area === 'main') {
159817
160221
  const nodes = hoEditorFactory.docTree.mainNodes;
159818
160222
  if (this._mainChildNodes.length > 0) {
159819
160223
  const dline = this._mainChildNodes[0];
@@ -159826,7 +160230,7 @@ class DrawTree {
159826
160230
  cgEvent.needUpdateParaStyle = needUpdateParaStyle;
159827
160231
  cgEvent.oldDrawLines = new SelectRange/* SelectRange */.u(this._hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true, true);
159828
160232
  await hoEditorFactory.docTree.change(cgEvent);
159829
- if (hoEditorFactory.docTree.curDomRange.startPath != "") this.moveCaretToPath(hoEditorFactory.docTree.curDomRange.startPath);else {
160233
+ if (hoEditorFactory.docTree.curDomRange.startPath != '') this.moveCaretToPath(hoEditorFactory.docTree.curDomRange.startPath);else {
159830
160234
  const lastPath = hoEditorFactory.docTree.getNodeLastPath(hoEditorFactory.docTree.mainNodes[hoEditorFactory.docTree.mainNodes.length - 1]);
159831
160235
  const selChangeEvent = new SelectionChangeEvent/* SelectionChangeEvent */.h(hoEditorFactory.docTree.curDomRange, new DomRange/* DomRange */.g(this._hoEditorFactoryID, lastPath, lastPath));
159832
160236
  hoEditorFactory.docTree.selectChange(selChangeEvent);
@@ -159839,7 +160243,7 @@ class DrawTree {
159839
160243
  this.pageCountNodes.forEach((value, key) => {
159840
160244
  value.drawNodes[0].updatePaint();
159841
160245
  const dArea = hoeditfactory.drawPageTree.getMainRootArea(value.drawNodes[0]);
159842
- if (dArea && value.rootPath.indexOf("main") < 0) {
160246
+ if (dArea && value.rootPath.indexOf('main') < 0) {
159843
160247
  if (dArea.index < this.drawPages.length) {
159844
160248
  hoeditfactory.subDocManger.updateAllSameSubDoc(dArea.index, dArea.hftType, false, false);
159845
160249
  }
@@ -159935,7 +160339,7 @@ class DrawTree {
159935
160339
  aline = dParent;
159936
160340
  dParent = dParent.parent;
159937
160341
  }
159938
- if (aline instanceof DrawLine/* DrawLine */.D || aline instanceof DrawPageTable/* DrawPageTable */.Yt) return aline;else throw new Error("首行未放置于页上无法定位到更新起始点");
160342
+ if (aline instanceof DrawLine/* DrawLine */.D || aline instanceof DrawPageTable/* DrawPageTable */.Yt) return aline;else throw new Error('首行未放置于页上无法定位到更新起始点');
159939
160343
  }
159940
160344
  updateTablesdHeight(tables) {
159941
160345
  for (let i = 0; i < tables.length; i++) {
@@ -159977,11 +160381,22 @@ class DrawTree {
159977
160381
  this.formularNodes.forEach((value, key) => {
159978
160382
  const pnode = value.getParentCell();
159979
160383
  if (cell.table == pnode.table) {
159980
- if (value.formularType === TableFormula/* FormularType */.D.ftSum || value.formularType === TableFormula/* FormularType */.D.ftFormular || value.formularType === TableFormula/* FormularType */.D.ftBMI || value.formularType === TableFormula/* FormularType */.D.ftLaborProcess || value.formularType === TableFormula/* FormularType */.D.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType */.D.ftPregnantWeeks || value.formularType === TableFormula/* FormularType */.D.ftScoreMapping || value.formularType === TableFormula/* FormularType */.D.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType */.D.ftCalcDays || value.formularType === TableFormula/* FormularType */.D.ftCalcTime || value.formularType === TableFormula/* FormularType */.D.ftIdealWeight || value.formularType === TableFormula/* FormularType */.D.ftISS) {
159981
- value.updateResult();
159982
- value.getParentCell().drawCell.needUpdate = true;
159983
- isNeedUpdate = true;
159984
- }
160384
+ // if (value.formularType === FormularType.ftSum
160385
+ // || value.formularType === FormularType.ftFormular
160386
+ // || value.formularType === FormularType.ftBMI
160387
+ // || value.formularType === FormularType.ftLaborProcess
160388
+ // || value.formularType === FormularType.ftExpectedBirthDate
160389
+ // || value.formularType === FormularType.ftPregnantWeeks
160390
+ // || value.formularType === FormularType.ftScoreMapping
160391
+ // || value.formularType === FormularType.ftBodySurfaceArea
160392
+ // || value.formularType === FormularType.ftCalcDays
160393
+ // || value.formularType === FormularType.ftCalcTime
160394
+ // || value.formularType === FormularType.ftIdealWeight
160395
+ // || value.formularType === FormularType.ftISS) {
160396
+ value.updateResult();
160397
+ value.getParentCell().drawCell.needUpdate = true;
160398
+ isNeedUpdate = true;
160399
+ // }
159985
160400
  }
159986
160401
  });
159987
160402
  if (isNeedUpdate) {
@@ -165138,7 +165553,22 @@ class NodeConvert {
165138
165553
  const item = data[i];
165139
165554
  if (item["nodeType"]) {
165140
165555
  if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6[_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6.ntText]) {
165141
- paragraphText += item.text;
165556
+ // paragraphText += item.text;
165557
+ if (item.combination) {
165558
+ let combination = [];
165559
+ if (typeof item.combination === "string") {
165560
+ combination = item.combination.replace(/ /g, '').split(",");
165561
+ } else if (Array.isArray(item.combination)) {
165562
+ combination = item.combination;
165563
+ }
165564
+ let text = item.text;
165565
+ combination.forEach(cText => {
165566
+ text = text + cText;
165567
+ });
165568
+ paragraphText += text;
165569
+ } else {
165570
+ paragraphText += item.text;
165571
+ }
165142
165572
  } else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6[_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6.ntParagraph]) {
165143
165573
  if (i != 0) {
165144
165574
  paragraphText += "\n";
@@ -166277,10 +166707,11 @@ const createRarewordsCanvas = (text, textStyle) => {
166277
166707
 
166278
166708
  "use strict";
166279
166709
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
166710
+ /* harmony export */ Dd: function() { return /* binding */ FormularType; },
166280
166711
  /* harmony export */ Z6: function() { return /* binding */ NodeType; },
166281
166712
  /* harmony export */ v2: function() { return /* binding */ SliderDecimalType; }
166282
166713
  /* harmony export */ });
166283
- /* unused harmony exports FormularType, SliderFigureType */
166714
+ /* unused harmony export SliderFigureType */
166284
166715
  var NodeType;
166285
166716
  (function (NodeType) {
166286
166717
  NodeType[NodeType["ntParagraph"] = 0] = "ntParagraph";
@@ -166320,6 +166751,7 @@ var FormularType;
166320
166751
  FormularType[FormularType["ftCalcTime"] = 9] = "ftCalcTime";
166321
166752
  FormularType[FormularType["ftIdealWeight"] = 10] = "ftIdealWeight";
166322
166753
  FormularType[FormularType["ftISS"] = 11] = "ftISS";
166754
+ FormularType[FormularType["ftCurveChart"] = 12] = "ftCurveChart";
166323
166755
  })(FormularType || (FormularType = {}));
166324
166756
  var SliderDecimalType;
166325
166757
  (function (SliderDecimalType) {
@@ -166331,7 +166763,7 @@ var SliderFigureType;
166331
166763
  (function (SliderFigureType) {
166332
166764
  SliderFigureType[SliderFigureType["Figure"] = 0] = "Figure";
166333
166765
  SliderFigureType[SliderFigureType["Skin"] = 1] = "Skin";
166334
- SliderFigureType[SliderFigureType["Joint"] = 2] = "Joint"; // 疼痛关节
166766
+ SliderFigureType[SliderFigureType["Joint"] = 2] = "Joint";
166335
166767
  })(SliderFigureType || (SliderFigureType = {}));
166336
166768
 
166337
166769
  /***/ }),
@@ -167293,11 +167725,11 @@ var map = {
167293
167725
  "./specialChars/HoSpecialChars.vue": 33336,
167294
167726
  "./table/TableCellPoper.vue": 12097,
167295
167727
  "./table/TableCellPoper1.vue": 8813,
167296
- "./table/TableCellProperty.vue": 68480,
167728
+ "./table/TableCellProperty.vue": 37667,
167297
167729
  "./table/TableColProperty.vue": 81078,
167298
167730
  "./table/TableForm.vue": 35121,
167299
167731
  "./table/TableFormTree.vue": 75295,
167300
- "./table/TableFormula.vue": 63459,
167732
+ "./table/TableFormula.vue": 68707,
167301
167733
  "./table/TableProperty.vue": 65356,
167302
167734
  "./table/TableRowProperty.vue": 51653,
167303
167735
  "./textDialog/TextBorderDialog.vue": 80713,
@@ -219614,7 +220046,7 @@ entry_lib_Input.install = function (Vue) {
219614
220046
 
219615
220047
 
219616
220048
  /* harmony default export */ var entry_lib_antd = ([entry_lib_es_button, entry_lib_input, entry_lib_input_number, entry_lib_es_checkbox, entry_lib_date_picker, entry_lib_time_picker, entry_lib_es_radio, entry_lib_es_select, entry_lib_es_tabs, entry_lib_es_dropdown, entry_lib_es_menu, entry_lib_es_upload, entry_lib_tooltip, entry_lib_table, entry_lib_popover, entry_lib_es_icon/* default */.A, entry_lib_config_provider]);
219617
- ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=12e6aefd
220049
+ ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=de9e9654
219618
220050
  var entry_lib_render = function render() {
219619
220051
  var _vm = this,
219620
220052
  _c = _vm._self._c;
@@ -219640,6 +220072,7 @@ var entry_lib_render = function render() {
219640
220072
  },
219641
220073
  on: {
219642
220074
  "leftclick": _vm.leftclick,
220075
+ "clickEvents": _vm.clickEvents,
219643
220076
  "dblNodeClick": _vm.dblNodeClick,
219644
220077
  "setFontStyles": _vm.setFontStyle,
219645
220078
  "rightClickEventIn": _vm.rightClickEventIn,
@@ -219735,9 +220168,9 @@ var entry_lib_web_dom_collections_iterator = __webpack_require__(62953);
219735
220168
  var build_entry_lib_objectSpread2 = __webpack_require__(33217);
219736
220169
  // EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
219737
220170
  var entry_lib_i18n = __webpack_require__(49850);
219738
- ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=526129d2
220171
+ ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=52882d22
219739
220172
 
219740
- var entry_lib_HoDocvue_type_template_id_526129d2_render = function render() {
220173
+ var entry_lib_HoDocvue_type_template_id_52882d22_render = function render() {
219741
220174
  var _vm = this,
219742
220175
  _c = _vm._self._c;
219743
220176
  return _c('div', {
@@ -219936,9 +220369,9 @@ var entry_lib_HoDocvue_type_template_id_526129d2_render = function render() {
219936
220369
  }
219937
220370
  }, [_vm._v("v " + _vm._s(_vm.version))])])], 2)], 1);
219938
220371
  };
219939
- var entry_lib_HoDocvue_type_template_id_526129d2_staticRenderFns = [];
220372
+ var entry_lib_HoDocvue_type_template_id_52882d22_staticRenderFns = [];
219940
220373
 
219941
- ;// ./src/components/HoDoc.vue?vue&type=template&id=526129d2
220374
+ ;// ./src/components/HoDoc.vue?vue&type=template&id=52882d22
219942
220375
 
219943
220376
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
219944
220377
  var entry_lib_es_array_sort = __webpack_require__(26910);
@@ -222784,7 +223217,7 @@ var entry_lib_TextNode = __webpack_require__(32083);
222784
223217
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
222785
223218
  var entry_lib_ParagraphNode = __webpack_require__(40504);
222786
223219
  ;// ./src/components/version.ts
222787
- /* harmony default export */ var entry_lib_version = ('3.1.200');
223220
+ /* harmony default export */ var entry_lib_version = ('3.1.202');
222788
223221
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
222789
223222
  var entry_lib_PoperTipText = __webpack_require__(89316);
222790
223223
  ;// ./src/components/controls/poperTipText/index.ts
@@ -223208,6 +223641,38 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
223208
223641
  });
223209
223642
  }
223210
223643
  }
223644
+ if (paintStatus == entry_lib_DrawTree/* PaintState */.ak.psEdit && hoEditorFactory.emitClickEvent) {
223645
+ const parentNode = node.parentNode;
223646
+ if (parentNode && parentNode instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM && parentNode.canModifyContent) {
223647
+ this.$emit("clickEvents", {
223648
+ id: parentNode.id,
223649
+ name: parentNode.name,
223650
+ dataId: parentNode.dataId,
223651
+ innerIdentifier: parentNode.innerIdentifier,
223652
+ pageIndex: pageIndex,
223653
+ x: hoEditorFactory.drawTree.caret.X,
223654
+ y: hoEditorFactory.drawTree.caret.Y,
223655
+ height: hoEditorFactory.drawTree.caret.height,
223656
+ caretId: "ho_caret",
223657
+ parentName: "edit-container",
223658
+ isInElement: true
223659
+ });
223660
+ } else {
223661
+ this.$emit("clickEvents", {
223662
+ id: '',
223663
+ name: '',
223664
+ dataId: '',
223665
+ innerIdentifier: '',
223666
+ pageIndex: pageIndex,
223667
+ x: hoEditorFactory.drawTree.caret.X,
223668
+ y: hoEditorFactory.drawTree.caret.Y,
223669
+ height: hoEditorFactory.drawTree.caret.height,
223670
+ caretId: "ho_caret",
223671
+ parentName: "edit-container",
223672
+ isInElement: false
223673
+ });
223674
+ }
223675
+ }
223211
223676
  } else if (e.clickType === 'rightClick') {
223212
223677
  // this.mouseRightClickEvent(node)
223213
223678
  }
@@ -223820,10 +224285,10 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
223820
224285
 
223821
224286
  /* harmony default export */ var entry_lib_components_HoDocvue_type_script_lang_js = (entry_lib_HoDocvue_type_script_lang_js);
223822
224287
 
223823
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=526129d2&prod&lang=less
224288
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=52882d22&prod&lang=less
223824
224289
  // extracted by mini-css-extract-plugin
223825
224290
 
223826
- ;// ./src/components/HoDoc.vue?vue&type=style&index=0&id=526129d2&prod&lang=less
224291
+ ;// ./src/components/HoDoc.vue?vue&type=style&index=0&id=52882d22&prod&lang=less
223827
224292
 
223828
224293
  ;// ./src/components/HoDoc.vue
223829
224294
 
@@ -223836,8 +224301,8 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
223836
224301
 
223837
224302
  var entry_lib_HoDoc_component = (0,entry_lib_componentNormalizer/* default */.A)(
223838
224303
  entry_lib_components_HoDocvue_type_script_lang_js,
223839
- entry_lib_HoDocvue_type_template_id_526129d2_render,
223840
- entry_lib_HoDocvue_type_template_id_526129d2_staticRenderFns,
224304
+ entry_lib_HoDocvue_type_template_id_52882d22_render,
224305
+ entry_lib_HoDocvue_type_template_id_52882d22_staticRenderFns,
223841
224306
  false,
223842
224307
  null,
223843
224308
  null,
@@ -226152,9 +226617,17 @@ class entry_lib_HTMLconverter2 {
226152
226617
  }
226153
226618
  TransHTMLSPAN(jnode, style) {
226154
226619
  const styleobj = this.mergestyle(entry_lib_jquery_default()(jnode).attr('style') || '', style);
226620
+ let combination = entry_lib_jquery_default()(jnode).attr('combination');
226621
+ let ctext = entry_lib_jquery_default()(jnode).attr('ctext');
226155
226622
  if (jnode.childNodes.length == 0) {
226156
226623
  const node = this.generateTextNode(entry_lib_jquery_default()(jnode).text(), styleobj);
226157
- if (node) return [node];else return [];
226624
+ if (combination && ctext && node) {
226625
+ node.combination = combination.replace(/ /g, '').split(",");
226626
+ node.text = ctext;
226627
+ return [node];
226628
+ } else {
226629
+ return [];
226630
+ }
226158
226631
  } else {
226159
226632
  const tmp = new Array();
226160
226633
  for (let i = 0; i < jnode.childNodes.length; i++) {
@@ -226273,7 +226746,15 @@ class entry_lib_HTMLconverter2 {
226273
226746
  return tmp;
226274
226747
  }
226275
226748
  const node = this.generateTextNode(entry_lib_jquery_default()(jnode).text(), styleobj);
226276
- if (node) return [node];else return [];
226749
+ let combination = jnode.parentNode ? entry_lib_jquery_default()(jnode.parentNode).attr('combination') : "";
226750
+ let ctext = jnode.parentNode ? entry_lib_jquery_default()(jnode.parentNode).attr('ctext') : "";
226751
+ if (combination && ctext && node) {
226752
+ node.combination = combination.replace(/ /g, '').split(",");
226753
+ node.text = ctext;
226754
+ return [node];
226755
+ } else {
226756
+ return [];
226757
+ }
226277
226758
  } else {
226278
226759
  const tmp = new Array();
226279
226760
  for (let i = 0; i < jnode.childNodes.length; i++) {
@@ -227576,29 +228057,33 @@ class entry_lib_StructureConvert {
227576
228057
  if (entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID).fixTableInTextInput) {
227577
228058
  // 处理正文
227578
228059
  const mainNodes = root.main.node;
227579
- mainNodes.forEach((node, key) => {
227580
- let arr = [];
227581
- if (node.nodeType == "ntField") {
227582
- // 文本域
227583
- const childNode = node.childNodes.node;
227584
- const index = childNode.findIndex(item => item.nodeType == "ntTable");
227585
- if (childNode[1] && childNode[1].nodeType == "ntParagraph" && index > 0) {
227586
- arr = childNode.slice(1, childNode.length - 1);
227587
- let empty = {
227588
- "nodeType": "ntMark",
227589
- "type": "1",
227590
- "text": node.name,
227591
- "styleIndex": childNode[0].styleIndex
227592
- };
227593
- node.text = "";
227594
- node.childNodes.node = [childNode[0], empty, childNode[childNode.length - 1]];
228060
+ if (Array.isArray(mainNodes)) {
228061
+ mainNodes.forEach((node, key) => {
228062
+ let arr = [];
228063
+ if (node.nodeType == "ntField") {
228064
+ // 文本域
228065
+ const childNode = node.childNodes.node;
228066
+ const index = childNode.findIndex(item => item.nodeType == "ntTable");
228067
+ if (childNode[1] && childNode[1].nodeType == "ntParagraph" && index > 0) {
228068
+ arr = childNode.slice(1, childNode.length - 1);
228069
+ let empty = {
228070
+ "nodeType": "ntMark",
228071
+ "type": "1",
228072
+ "text": node.name,
228073
+ "styleIndex": childNode[0].styleIndex
228074
+ };
228075
+ node.text = "";
228076
+ node.childNodes.node = [childNode[0], empty, childNode[childNode.length - 1]];
228077
+ }
227595
228078
  }
227596
- }
227597
- newMainNodes.push(node);
227598
- if (arr.length > 0) {
227599
- newMainNodes.push(...arr);
227600
- }
227601
- });
228079
+ newMainNodes.push(node);
228080
+ if (arr.length > 0) {
228081
+ newMainNodes.push(...arr);
228082
+ }
228083
+ });
228084
+ } else {
228085
+ newMainNodes = root.main.node;
228086
+ }
227602
228087
  } else {
227603
228088
  newMainNodes = root.main.node;
227604
228089
  }
@@ -228746,14 +229231,25 @@ class entry_lib_StructureConvert {
228746
229231
  const formularNodes = hoEditorFactory.drawTree.formularNodes;
228747
229232
  const tableArr = [];
228748
229233
  formularNodes.forEach((value, key) => {
228749
- if (value.formularType === entry_lib_TableFormula/* FormularType */.D.ftSum || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftFormular || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftBMI || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftLaborProcess || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftExpectedBirthDate || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftPregnantWeeks || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftScoreMapping || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftBodySurfaceArea || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftCalcDays || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftCalcTime || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftIdealWeight || value.formularType === entry_lib_TableFormula/* FormularType */.D.ftISS) {
228750
- value.updateResult();
228751
- value.getParentCell().drawCell.needUpdate = true;
228752
- const table = value.getParentCell().table;
228753
- if (!tableArr.includes(table)) {
228754
- tableArr.push(table);
228755
- }
229234
+ // if (value.formularType === FormularType.ftSum
229235
+ // || value.formularType === FormularType.ftFormular
229236
+ // || value.formularType === FormularType.ftBMI
229237
+ // || value.formularType === FormularType.ftLaborProcess
229238
+ // || value.formularType === FormularType.ftExpectedBirthDate
229239
+ // || value.formularType === FormularType.ftPregnantWeeks
229240
+ // || value.formularType === FormularType.ftScoreMapping
229241
+ // || value.formularType === FormularType.ftBodySurfaceArea
229242
+ // || value.formularType === FormularType.ftCalcDays
229243
+ // || value.formularType === FormularType.ftCalcTime
229244
+ // || value.formularType === FormularType.ftIdealWeight
229245
+ // || value.formularType === FormularType.ftISS) {
229246
+ value.updateResult();
229247
+ value.getParentCell().drawCell.needUpdate = true;
229248
+ const table = value.getParentCell().table;
229249
+ if (!tableArr.includes(table)) {
229250
+ tableArr.push(table);
228756
229251
  }
229252
+ // }
228757
229253
  });
228758
229254
  for (let t = tableArr.length - 1; t >= 0; t--) {
228759
229255
  tableArr[t].update();
@@ -229147,6 +229643,10 @@ class entry_lib_TestDataSet {
229147
229643
 
229148
229644
 
229149
229645
 
229646
+
229647
+
229648
+
229649
+
229150
229650
  class entry_lib_TOHTMLConverter {
229151
229651
  constructor(hoEditorFactoryID) {
229152
229652
  (0,entry_lib_esm_defineProperty/* default */.A)(this, "convert", void 0);
@@ -229268,8 +229768,17 @@ class entry_lib_TOHTMLConverter {
229268
229768
  TransText(jnode) {
229269
229769
  const style = this.getNodesStyle(jnode);
229270
229770
  let str = "";
229771
+ let combination = "";
229772
+ let ctext = "";
229271
229773
  if (jnode.nodeType == entry_lib_BaseNode/* NodeType */.Z6[entry_lib_BaseNode/* NodeType */.Z6.ntText]) {
229272
229774
  str += jnode.text;
229775
+ if (jnode.combination) {
229776
+ combination = jnode.combination;
229777
+ ctext = jnode.text;
229778
+ combination.replace(/ /g, "").split(",").forEach(item => {
229779
+ str += item;
229780
+ });
229781
+ }
229273
229782
  } else if (jnode.nodeType == entry_lib_BaseNode/* NodeType */.Z6[entry_lib_BaseNode/* NodeType */.Z6.ntLabel]) {
229274
229783
  str += jnode.text;
229275
229784
  } else if (jnode.nodeType == entry_lib_BaseNode/* NodeType */.Z6[entry_lib_BaseNode/* NodeType */.Z6.ntTextBorder]) {
@@ -229288,7 +229797,7 @@ class entry_lib_TOHTMLConverter {
229288
229797
  return this.TransImg(jnode);
229289
229798
  }
229290
229799
  }
229291
- return `<span style="${style}">${str}</span>`;
229800
+ return `<span style="${style}" combination="${combination}" ctext="${ctext}">${str}</span>`;
229292
229801
  }
229293
229802
  TransField(jnode) {
229294
229803
  const item = this.iterator.next();
@@ -233698,14 +234207,49 @@ class entry_lib_VueController {
233698
234207
  * 插入表格计算公式
233699
234208
  * @param formulaStr 公式
233700
234209
  */
233701
- insertTableFormula(formulaStr, isHideZero, formulaType) {
234210
+ insertTableFormula(formulaStr, isHideZero, formulaType, formulaProperty) {
233702
234211
  const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
233703
234212
  const _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
233704
234213
  const startPath = _curDomRange.normalize().startPath;
233705
234214
  const endPath = _curDomRange.normalize().endPath;
233706
234215
  const changingEvent = new entry_lib_NodeChangingEvent/* NodeChangingEvent */.k(entry_lib_DocTree/* DocAction */.LC.daInsert, startPath, endPath, entry_lib_NodeChangingEvent/* OperType */.j.insertTableFormula);
233707
234216
  if (hoEditorFactory.docTree.changing(changingEvent)) {
233708
- hoEditorFactory.docController.insertTableFormula(_curDomRange, formulaStr, isHideZero, formulaType);
234217
+ hoEditorFactory.docController.insertTableFormula(_curDomRange, formulaStr, isHideZero, formulaType, formulaProperty);
234218
+ }
234219
+ }
234220
+ /**
234221
+ * 锁定单元格不允许编辑
234222
+ */
234223
+ lockCell(curve) {
234224
+ var _hoEditorFactory$docT;
234225
+ const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this.hoEditorFactoryID);
234226
+ const endPos = hoEditorFactory.drawTree.selectRange.spEnd;
234227
+ let endNode = (_hoEditorFactory$docT = hoEditorFactory.docTree.findNodePositionByPath(endPos.path)) === null || _hoEditorFactory$docT === void 0 ? void 0 : _hoEditorFactory$docT.node;
234228
+ if (endNode) {
234229
+ const cellNode = this.getParentCellNode(endNode);
234230
+ if (cellNode) {
234231
+ this.setCellLock(cellNode.table, curve.codeX.split(':'), curve.lockX);
234232
+ }
234233
+ // if(cellNode && curve.lockY) {
234234
+ // this.setCellLock(cellNode.table, curve.codeX.split(':'))
234235
+ // }
234236
+ }
234237
+ }
234238
+ setCellLock(table, arr, lock) {
234239
+ const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this.hoEditorFactoryID);
234240
+ const [startRow, startCol] = hoEditorFactory.unitConvert.getRowColByCellAdress(arr[0]);
234241
+ const [endRow, endCol] = hoEditorFactory.unitConvert.getRowColByCellAdress(arr[1]);
234242
+ if (startRow >= 0 && startCol >= 0 && endRow >= 0 && endCol >= 0) {
234243
+ if (startRow === endRow || startCol === endCol) {
234244
+ for (let r = startRow; r <= endRow; r++) {
234245
+ for (let c = startCol; c <= endCol; c++) {
234246
+ const cell = table.rows[r][c];
234247
+ if (cell) {
234248
+ cell.cellProperty.notAllowEdit = lock;
234249
+ }
234250
+ }
234251
+ }
234252
+ }
233709
234253
  }
233710
234254
  }
233711
234255
  /**
@@ -234659,20 +235203,17 @@ class entry_lib_VueController {
234659
235203
  iteratesNodes(headerDocTree[h].subDocNodes);
234660
235204
  if (node) break;
234661
235205
  }
234662
- }
234663
- if (scope === 'main') {
235206
+ } else if (scope === 'main') {
234664
235207
  const mainNodes = hoEditorFactory.docTree.mainNodes;
234665
235208
  iteratesNodes(mainNodes);
234666
- }
234667
- if (scope === 'footer') {
235209
+ } else if (scope === 'footer') {
234668
235210
  const footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
234669
235211
  for (let f = 0; f < footerDocTree.length; f++) {
234670
235212
  if (!footerDocTree[f]) continue;
234671
235213
  iteratesNodes(footerDocTree[f].subDocNodes);
234672
235214
  if (node) break;
234673
235215
  }
234674
- }
234675
- if (scope === 'all') {
235216
+ } else if (scope === 'all') {
234676
235217
  const headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
234677
235218
  for (let h = 0; h < headerDocTree.length; h++) {
234678
235219
  if (!headerDocTree[h]) continue;
@@ -235726,7 +236267,7 @@ class entry_lib_VueController {
235726
236267
  }
235727
236268
  updateNodesStyle(xmlobj.main, fontStyleMap, paraStyleMap);
235728
236269
  const ilen = mergeObject.main.length;
235729
- //(mergeObject as any).main.push(...xmlobj.main);
236270
+ //mergeObject.main.push(...xmlobj.main);
235730
236271
  mergeObject.pageSettingsTree = [];
235731
236272
  if (list[i][0]) {
235732
236273
  updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
@@ -236014,6 +236555,17 @@ class entry_lib_VueController {
236014
236555
  hoEditorFactory.structureNode.Copy(currDom, null, undefined, "copy");
236015
236556
  return hoEditorFactory.structureNode.textdata;
236016
236557
  }
236558
+ deleteFormula(formula) {
236559
+ if (formula) {
236560
+ const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
236561
+ const preNode = formula.previousLeaf();
236562
+ let sPath = hoEditorFactory.docTree.getNodeLastPath(preNode);
236563
+ let ePath = hoEditorFactory.docTree.getNodeLastPath(formula);
236564
+ hoEditorFactory.undoService.begin();
236565
+ hoEditorFactory.undoService.add(new entry_lib_NodesDeleteUndoUnit/* NodesDeleteUndoUnit */.p(this._hoEditorFactoryID, sPath, ePath, true));
236566
+ hoEditorFactory.undoService.commit();
236567
+ }
236568
+ }
236017
236569
  deleteNode(node) {
236018
236570
  const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
236019
236571
  if (!node) return;
@@ -236451,7 +237003,15 @@ class entry_lib_VueController {
236451
237003
  if (node.hidden || node !== null && node !== void 0 && (_node$customProperty2 = node.customProperty) !== null && _node$customProperty2 !== void 0 && _node$customProperty2.hidden) {
236452
237004
  // console.log(node.text, '111');
236453
237005
  } else if (node instanceof entry_lib_TextNode/* TextNode */.E) {
236454
- docText += node.text;
237006
+ if (node.combination) {
237007
+ let text = node.text;
237008
+ node.combination.forEach(cText => {
237009
+ text = text + cText;
237010
+ });
237011
+ docText += text;
237012
+ } else {
237013
+ docText += node.text;
237014
+ }
236455
237015
  } else if (node instanceof entry_lib_ControlNode/* ControlNode */.g && !(node instanceof entry_lib_PageNumNode/* PageNumNode */.O) && !(node instanceof entry_lib_PageCountNode/* PageCountNode */.d)) {
236456
237016
  docText += node.text;
236457
237017
  } else if (node instanceof entry_lib_BaseCombineNode/* BaseCombineNode */.h) {
@@ -236847,16 +237407,11 @@ class entry_lib_VueController {
236847
237407
  // if (node.readType === 1) {
236848
237408
  if (node instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM) {
236849
237409
  await node.setFieldText(text);
236850
- }
236851
- if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
237410
+ } else if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
236852
237411
  await node.setDateTimeText(text);
236853
- }
236854
- if (node instanceof entry_lib_DownListNode/* DownListNode */.dS) {
237412
+ } else if (node instanceof entry_lib_DownListNode/* DownListNode */.dS) {
236855
237413
  await node.setDownListText(text);
236856
237414
  }
236857
- // } else {
236858
- // throw new Error("根据元素name:" + name + "定位到的元素非可回填元素");
236859
- // }
236860
237415
  } else {
236861
237416
  throw new Error('根据元素name:' + name + '定位到的元素非可回填元素');
236862
237417
  }
@@ -236868,6 +237423,18 @@ class entry_lib_VueController {
236868
237423
  throw new Error('根据元素name:' + name + '未找到对应的元素');
236869
237424
  }
236870
237425
  }
237426
+ async updateTextByDataId(dataId, text) {
237427
+ const node = this.getNodeByDataID('main', dataId);
237428
+ if (node) {
237429
+ if (node instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM) {
237430
+ node.setFieldText(text);
237431
+ } else if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
237432
+ node.setDateTimeText(text);
237433
+ } else if (node instanceof entry_lib_DownListNode/* DownListNode */.dS) {
237434
+ node.setDownListText(text);
237435
+ }
237436
+ }
237437
+ }
236871
237438
  //元素替换
236872
237439
  async updateElementTextById(id, text) {
236873
237440
  const nodes = this.getNodeByID('all', id, 'array');
@@ -239491,7 +240058,7 @@ class entry_lib_VueController {
239491
240058
  }
239492
240059
  }
239493
240060
  if (nodes.length > 0) {
239494
- hoEditorFactory.docController.parseNodeData(nodes, true);
240061
+ hoEditorFactory.docController.parseNodeData(nodes);
239495
240062
  }
239496
240063
  }
239497
240064
  }
@@ -241324,7 +241891,10 @@ class entry_lib_EditController {
241324
241891
  entry_lib_message/* default */.A.destroy();
241325
241892
  const pNode = hoEditorFactory.docTree.getFinalParentNode(curDomRange.startPath);
241326
241893
  if (pNode && pNode instanceof entry_lib_CellNode/* CellNode */.H) {
241327
- if (pNode.table.tableProperty.isSignLock) {
241894
+ if (pNode.cellProperty.notAllowEdit) {
241895
+ entry_lib_message/* default */.A.error("当前单元格已设置不允许编辑!");
241896
+ return false;
241897
+ } else if (pNode.table.tableProperty.isSignLock) {
241328
241898
  // message.error("表格已完成签名,不允许修改编辑。")
241329
241899
  // return false;
241330
241900
  // } else {
@@ -250546,7 +251116,7 @@ var entry_lib_DocController = __webpack_require__(5011);
250546
251116
 
250547
251117
 
250548
251118
  class entry_lib_HOEditorFactory {
250549
- // 修复新增页在文本域中插入的表格问题
251119
+ // 点击元素是否触发click事件
250550
251120
  /**
250551
251121
  * Getter hoLocalStorage
250552
251122
  * @return {HoLocalStorage}
@@ -250791,6 +251361,8 @@ class entry_lib_HOEditorFactory {
250791
251361
  (0,entry_lib_esm_defineProperty/* default */.A)(this, "useFixTableMerge", false);
250792
251362
  // 启用表格合并单元格问题修复功能
250793
251363
  (0,entry_lib_esm_defineProperty/* default */.A)(this, "fixTableInTextInput", false);
251364
+ // 修复新增页在文本域中插入的表格问题
251365
+ (0,entry_lib_esm_defineProperty/* default */.A)(this, "emitClickEvent", false);
250794
251366
  this._hoEditorFactoryId = id;
250795
251367
  }
250796
251368
  get defaultLineHeight() {
@@ -251532,7 +252104,23 @@ const entry_lib_formularType = {
251532
252104
  8: 'ftCalcDays',
251533
252105
  9: 'ftCalcTime',
251534
252106
  10: 'idealWeight',
251535
- 11: 'iss' //损伤严重程度评分
252107
+ 11: 'iss',
252108
+ 12: 'curveChart' //曲线图
252109
+ };
252110
+ const entry_lib_formularName = {
252111
+ sum: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.300",null,"表格行列求和公式"),
252112
+ formula: '四则运算公式',
252113
+ bmi: 'BMI计算公式',
252114
+ labor: '产程公式',
252115
+ expectedDate: '预产期公式',
252116
+ pregnantWeeks: '孕周公式',
252117
+ ftScoreMapping: '分值映射公式',
252118
+ bodySurfaceArea: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.264",null,"体表面积公式"),
252119
+ ftCalcDays: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.263",null,"计算住院天数公式"),
252120
+ ftCalcTime: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.260",null,"时间计算公式"),
252121
+ idealWeight: '理想体重公式',
252122
+ iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257",null,"损伤严重程度评分(ISS)"),
252123
+ curveChart: '曲线图'
251536
252124
  };
251537
252125
  const entry_lib_getFormula = tableFormular => {
251538
252126
  // 获取公式类型
@@ -252216,6 +252804,9 @@ var entry_lib_commondata = __webpack_require__(92611);
252216
252804
  leftclick(node) {
252217
252805
  this.$emit('leftClickEvent', node);
252218
252806
  },
252807
+ clickEvents(node) {
252808
+ this.$emit("clickEvents", node);
252809
+ },
252219
252810
  openXmlList(xmlList) {
252220
252811
  if (xmlList.length > 1) {
252221
252812
  // this.hoEditorFactoryIdList = [];
@@ -252623,10 +253214,10 @@ var entry_lib_commondata = __webpack_require__(92611);
252623
253214
 
252624
253215
  /* harmony default export */ var entry_lib_components_HoDocsvue_type_script_lang_js = (entry_lib_HoDocsvue_type_script_lang_js);
252625
253216
 
252626
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=12e6aefd&prod&lang=less&media=print
253217
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=de9e9654&prod&lang=less&media=print
252627
253218
  // extracted by mini-css-extract-plugin
252628
253219
 
252629
- ;// ./src/components/HoDocs.vue?vue&type=style&index=0&id=12e6aefd&prod&lang=less&media=print
253220
+ ;// ./src/components/HoDocs.vue?vue&type=style&index=0&id=de9e9654&prod&lang=less&media=print
252630
253221
 
252631
253222
  ;// ./src/components/HoDocs.vue
252632
253223
 
@@ -252649,9 +253240,9 @@ var entry_lib_HoDocs_component = (0,entry_lib_componentNormalizer/* default */.A
252649
253240
  )
252650
253241
 
252651
253242
  /* harmony default export */ var entry_lib_HoDocs = (entry_lib_HoDocs_component.exports);
252652
- ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=7ff8d3aa
253243
+ ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=0caaf4d5
252653
253244
 
252654
- var entry_lib_ToolBarvue_type_template_id_7ff8d3aa_render = function render() {
253245
+ var entry_lib_ToolBarvue_type_template_id_0caaf4d5_render = function render() {
252655
253246
  var _vm = this,
252656
253247
  _c = _vm._self._c;
252657
253248
  return _c('div', {
@@ -252701,8 +253292,10 @@ var entry_lib_ToolBarvue_type_template_id_7ff8d3aa_render = function render() {
252701
253292
  }, [_c('a-menu-item', {
252702
253293
  key: "xml"
252703
253294
  }, [_vm._v("XML")]), _c('a-menu-item', {
252704
- key: "html"
252705
- }, [_vm._v("HTML")]), _c('a-menu-item', {
253295
+ key: "html(svg)"
253296
+ }, [_vm._v("HTML(svg)")]), _c('a-menu-item', {
253297
+ key: "html(html)"
253298
+ }, [_vm._v("HTML(txt)")]), _c('a-menu-item', {
252706
253299
  key: "pdf"
252707
253300
  }, [_vm._v("PDF")]), _c('a-menu-item', {
252708
253301
  key: "plain"
@@ -252882,9 +253475,9 @@ var entry_lib_ToolBarvue_type_template_id_7ff8d3aa_render = function render() {
252882
253475
  }, [_vm._v(_vm._s(item.key ? ['', /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.1", null, "浏览模式"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.5", null, "编辑模式"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.4", null, "插入"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.3", null, "表格"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.2", null, "审阅模式")][item.key] : item.title))]);
252883
253476
  }), 1)], 1) : _vm._e()], 1);
252884
253477
  };
252885
- var entry_lib_ToolBarvue_type_template_id_7ff8d3aa_staticRenderFns = [];
253478
+ var entry_lib_ToolBarvue_type_template_id_0caaf4d5_staticRenderFns = [];
252886
253479
 
252887
- ;// ./src/components/toolbar/ToolBar.vue?vue&type=template&id=7ff8d3aa
253480
+ ;// ./src/components/toolbar/ToolBar.vue?vue&type=template&id=0caaf4d5
252888
253481
 
252889
253482
  ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=079ade04
252890
253483
 
@@ -256284,9 +256877,9 @@ var entry_lib_ToolTablevue_type_template_id_5f320070_staticRenderFns = [];
256284
256877
 
256285
256878
  ;// ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=5f320070
256286
256879
 
256287
- ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=18b19744
256880
+ ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=31a8ae0c
256288
256881
 
256289
- var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_render = function render() {
256882
+ var entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_render = function render() {
256290
256883
  var _vm = this,
256291
256884
  _c = _vm._self._c;
256292
256885
  return _c('div', {
@@ -256339,7 +256932,9 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_render = function ren
256339
256932
  key: "idealWeight"
256340
256933
  }, [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.259", null, "理想体重"))]), _c('a-menu-item', {
256341
256934
  key: "iss"
256342
- }, [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)"))])], 1)], 1)], 2)], 1) : _vm._e(), _vm.table.insertRowAbove && _vm.tableProperty.canAddRow ? _c('div', {
256935
+ }, [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)"))]), _c('a-menu-item', {
256936
+ key: "curveChart"
256937
+ }, [_vm._v("曲线图")])], 1)], 1)], 2)], 1) : _vm._e(), _vm.table.insertRowAbove && _vm.tableProperty.canAddRow ? _c('div', {
256343
256938
  directives: [{
256344
256939
  name: "debounce",
256345
256940
  rawName: "v-debounce:1000.click",
@@ -256497,9 +257092,9 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_render = function ren
256497
257092
  staticClass: "ho-emr-tool-item"
256498
257093
  }, [_c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.319", null, "取消合并单元格"))])]) : _vm._e()]);
256499
257094
  };
256500
- var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns = [];
257095
+ var entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_staticRenderFns = [];
256501
257096
 
256502
- ;// ./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=18b19744
257097
+ ;// ./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=31a8ae0c
256503
257098
 
256504
257099
  ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[19].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=script&lang=js
256505
257100
 
@@ -256520,6 +257115,7 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns = [];
256520
257115
 
256521
257116
 
256522
257117
 
257118
+
256523
257119
  /* harmony default export */ var entry_lib_HoTableFeaturesvue_type_script_lang_js = ({
256524
257120
  name: 'HoTableFeatures',
256525
257121
  props: {
@@ -256675,14 +257271,14 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns = [];
256675
257271
  ftCalcDays: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.263", null, "计算住院天数公式"),
256676
257272
  ftCalcTime: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.260", null, "时间计算公式"),
256677
257273
  idealWeight: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.259", null, "理想体重"),
256678
- iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)")
257274
+ iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)"),
257275
+ curveChart: '曲线图'
256679
257276
  };
256680
- if (formula[formulaType] === 'code') {
256681
- this.setCellCode();
257277
+ if (entry_lib_formularName[formulaType]) {
257278
+ this.$emit('setModalStatus', ['table-formula', 'add', [entry_lib_formularName[formulaType], formulaType]]);
256682
257279
  } else {
256683
- this.$emit('setModalStatus', ['table-formula', 'add', [formula[formulaType], formulaType]]);
257280
+ this.setCellCode();
256684
257281
  }
256685
-
256686
257282
  // this.dialogFormVisible = true;
256687
257283
  // this.dialogFormTitle = params[0];
256688
257284
  // this.formula = params[1];
@@ -256750,8 +257346,8 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns = [];
256750
257346
  ;
256751
257347
  var entry_lib_HoTableFeatures_component = (0,entry_lib_componentNormalizer/* default */.A)(
256752
257348
  entry_lib_insert_HoTableFeaturesvue_type_script_lang_js,
256753
- entry_lib_HoTableFeaturesvue_type_template_id_18b19744_render,
256754
- entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns,
257349
+ entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_render,
257350
+ entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_staticRenderFns,
256755
257351
  false,
256756
257352
  null,
256757
257353
  null,
@@ -257596,13 +258192,15 @@ var entry_lib_ToolTable_component = (0,entry_lib_componentNormalizer/* default *
257596
258192
  const fileName = this.vueController.getDocTitle() ? this.vueController.getDocTitle() : '电子病历文档';
257597
258193
  if (fileType == 'pdf') {
257598
258194
  this.vueController.saveAsPDF('', 'pdf', false);
258195
+ } else if (fileType == 'html(svg)') {
258196
+ this.vueController.saveAsPDF('', 'html', false);
258197
+ } else if (fileType == 'html(html)') {
258198
+ let fileName = this.vueController.getDocTitle();
258199
+ const file = this.vueController.getFileHtml();
258200
+ this.downloadFile(file, fileName + '.html', 'html');
257599
258201
  } else {
257600
- if (fileType !== 'html') {
257601
- const file = this.vueController.saveAsFile(fileType, true);
257602
- this.downloadFile(file, fileName, fileType);
257603
- } else {
257604
- this.vueController.saveAsPDF('', 'html', false);
257605
- }
258202
+ const file = this.vueController.saveAsFile(fileType, true);
258203
+ this.downloadFile(file, fileName, fileType);
257606
258204
  }
257607
258205
  },
257608
258206
  /**
@@ -257635,10 +258233,10 @@ var entry_lib_ToolTable_component = (0,entry_lib_componentNormalizer/* default *
257635
258233
 
257636
258234
  /* harmony default export */ var entry_lib_toolbar_ToolBarvue_type_script_lang_js = (entry_lib_ToolBarvue_type_script_lang_js);
257637
258235
 
257638
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=7ff8d3aa&prod&lang=less
258236
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=0caaf4d5&prod&lang=less
257639
258237
  // extracted by mini-css-extract-plugin
257640
258238
 
257641
- ;// ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=7ff8d3aa&prod&lang=less
258239
+ ;// ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=0caaf4d5&prod&lang=less
257642
258240
 
257643
258241
  ;// ./src/components/toolbar/ToolBar.vue
257644
258242
 
@@ -257651,8 +258249,8 @@ var entry_lib_ToolTable_component = (0,entry_lib_componentNormalizer/* default *
257651
258249
 
257652
258250
  var entry_lib_ToolBar_component = (0,entry_lib_componentNormalizer/* default */.A)(
257653
258251
  entry_lib_toolbar_ToolBarvue_type_script_lang_js,
257654
- entry_lib_ToolBarvue_type_template_id_7ff8d3aa_render,
257655
- entry_lib_ToolBarvue_type_template_id_7ff8d3aa_staticRenderFns,
258252
+ entry_lib_ToolBarvue_type_template_id_0caaf4d5_render,
258253
+ entry_lib_ToolBarvue_type_template_id_0caaf4d5_staticRenderFns,
257656
258254
  false,
257657
258255
  null,
257658
258256
  null,
@@ -258481,10 +259079,10 @@ var entry_lib_HoToolBar_component = (0,entry_lib_componentNormalizer/* default *
258481
259079
  )
258482
259080
 
258483
259081
  /* harmony default export */ var entry_lib_HoToolBar = (entry_lib_HoToolBar_component.exports);
258484
- ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=0a3b51f0
259082
+ ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=c072f7c2
258485
259083
 
258486
- var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render() {
258487
- var _vm$hoEditorProvider$, _vm$hoEditorProvider$2, _vm$hoEditorProvider$3, _vm$hoEditorProvider$4, _vm$hoEditorProvider$5, _vm$hoEditorProvider$6, _vm$hoEditorProvider$7, _vm$hoEditorProvider$8, _vm$hoEditorProvider$10, _vm$hoEditorProvider$11, _vm$hoEditorProvider$12, _vm$hoEditorProvider$13, _vm$hoEditorProvider$14, _vm$hoEditorProvider$15, _vm$hoEditorProvider$16, _vm$hoEditorProvider$17, _vm$hoEditorProvider$18, _vm$hoEditorProvider$19, _vm$hoEditorProvider$20, _vm$hoEditorProvider$21, _vm$hoEditorProvider$22, _vm$hoEditorProvider$23, _vm$hoEditorProvider$24, _vm$hoEditorProvider$25, _vm$hoEditorProvider$26;
259084
+ var entry_lib_HoRightMenuvue_type_template_id_c072f7c2_render = function render() {
259085
+ var _vm$hoEditorProvider$, _vm$hoEditorProvider$2, _vm$hoEditorProvider$3, _vm$hoEditorProvider$4, _vm$hoEditorProvider$5, _vm$hoEditorProvider$6, _vm$hoEditorProvider$7, _vm$hoEditorProvider$8, _vm$hoEditorProvider$10, _vm$hoEditorProvider$11, _vm$hoEditorProvider$12, _vm$hoEditorProvider$13, _vm$hoEditorProvider$14, _vm$hoEditorProvider$15, _vm$hoEditorProvider$16, _vm$hoEditorProvider$17, _vm$hoEditorProvider$18, _vm$hoEditorProvider$19, _vm$hoEditorProvider$20, _vm$hoEditorProvider$21, _vm$hoEditorProvider$22, _vm$hoEditorProvider$23, _vm$hoEditorProvider$24, _vm$hoEditorProvider$25, _vm$hoEditorProvider$26, _vm$hoEditorProvider$27;
258488
259086
  var _vm = this,
258489
259087
  _c = _vm._self._c;
258490
259088
  return _c('div', {
@@ -258708,7 +259306,18 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
258708
259306
  return _vm.toUpdateNodes('table-formula');
258709
259307
  }
258710
259308
  }
258711
- }, [_vm._v(" " + _vm._s(_vm.formularType[_vm.hoEditorProvider.rightNode.tableFormulaType]) + " ")]) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$21 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$21 === void 0 ? void 0 : _vm$hoEditorProvider$21.paintStatus) != 5 && (_vm$hoEditorProvider$22 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$22 !== void 0 && _vm$hoEditorProvider$22.rightTypeIsTable && this.defaultTable ? _c('ul', {
259309
+ }, [_vm._v(" " + _vm._s(_vm.formularType[_vm.hoEditorProvider.rightNode.tableFormulaType]) + " ")]) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$21 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$21 === void 0 ? void 0 : _vm$hoEditorProvider$21.paintStatus) === 1 && _vm.hoEditorProvider.rightNode.tableFormulaType ? _c('ul', {
259310
+ staticClass: "mouse-right-menu"
259311
+ }, [_c('li', {
259312
+ staticClass: "mouse-menu-item mouse-right-menu-line"
259313
+ }), _c('li', {
259314
+ staticClass: "mouse-menu-item",
259315
+ on: {
259316
+ "click": function ($event) {
259317
+ return _vm.deleteFormula();
259318
+ }
259319
+ }
259320
+ }, [_c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.139", null, "删除"))]), _vm._v(" "), _c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.321", null, "表格计算公式"))])])]) : _vm._e(), ((_vm$hoEditorProvider$22 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$22 === void 0 ? void 0 : _vm$hoEditorProvider$22.paintStatus) != 5 && (_vm$hoEditorProvider$23 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$23 !== void 0 && _vm$hoEditorProvider$23.rightTypeIsTable && this.defaultTable ? _c('ul', {
258712
259321
  staticClass: "mouse-right-menu"
258713
259322
  }, [_c('li', {
258714
259323
  staticClass: "mouse-menu-item mouse-right-menu-line"
@@ -258770,7 +259379,7 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
258770
259379
  attrs: {
258771
259380
  "type": "delete"
258772
259381
  }
258773
- }), _c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.9", null, "删除对角线"))])], 1) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$23 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$23 === void 0 ? void 0 : _vm$hoEditorProvider$23.paintStatus) != 5 && (_vm$hoEditorProvider$24 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$24 !== void 0 && _vm$hoEditorProvider$24.rightTypeIsTable && this.defaultTable ? _c('ul', {
259382
+ }), _c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.9", null, "删除对角线"))])], 1) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$24 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$24 === void 0 ? void 0 : _vm$hoEditorProvider$24.paintStatus) != 5 && (_vm$hoEditorProvider$25 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$25 !== void 0 && _vm$hoEditorProvider$25.rightTypeIsTable && this.defaultTable ? _c('ul', {
258774
259383
  staticClass: "mouse-right-menu"
258775
259384
  }, [_c('li', {
258776
259385
  staticClass: "mouse-menu-item mouse-right-menu-line"
@@ -258785,7 +259394,7 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
258785
259394
  on: {
258786
259395
  "closeMenu": _vm.handleClose
258787
259396
  }
258788
- })], 1) : _vm._e(), (_vm$hoEditorProvider$25 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$25 !== void 0 && _vm$hoEditorProvider$25.canShowComment ? _c('ul', {
259397
+ })], 1) : _vm._e(), (_vm$hoEditorProvider$26 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$26 !== void 0 && _vm$hoEditorProvider$26.canShowComment ? _c('ul', {
258789
259398
  staticClass: "mouse-right-menu"
258790
259399
  }, [_c('li', {
258791
259400
  staticClass: "mouse-menu-item",
@@ -258794,7 +259403,7 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
258794
259403
  return _vm.hideComments();
258795
259404
  }
258796
259405
  }
258797
- }, [_vm._v(" " + _vm._s((_vm$hoEditorProvider$26 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$26 !== void 0 && _vm$hoEditorProvider$26.isHideComments ? /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.8", null, "显示批注") : /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.7", null, "隐藏批注")) + " ")])]) : _vm._e()], 2) : _vm._e(), _c('ul', {
259406
+ }, [_vm._v(" " + _vm._s((_vm$hoEditorProvider$27 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$27 !== void 0 && _vm$hoEditorProvider$27.isHideComments ? /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.8", null, "显示批注") : /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.7", null, "隐藏批注")) + " ")])]) : _vm._e()], 2) : _vm._e(), _c('ul', {
258798
259407
  staticClass: "mouse-right-menu"
258799
259408
  }, [_c('li', {
258800
259409
  staticClass: "mouse-menu-item"
@@ -258805,9 +259414,9 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
258805
259414
  }
258806
259415
  }, [_vm._v("v " + _vm._s(_vm.versions))])])])], 2);
258807
259416
  };
258808
- var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_staticRenderFns = [];
259417
+ var entry_lib_HoRightMenuvue_type_template_id_c072f7c2_staticRenderFns = [];
258809
259418
 
258810
- ;// ./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=0a3b51f0
259419
+ ;// ./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=c072f7c2
258811
259420
 
258812
259421
  ;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/TableFeatures.vue?vue&type=template&id=5bcdf497
258813
259422
 
@@ -259366,6 +259975,7 @@ var entry_lib_popper = __webpack_require__(98234);
259366
259975
 
259367
259976
 
259368
259977
 
259978
+
259369
259979
 
259370
259980
 
259371
259981
  /* harmony default export */ var entry_lib_HoRightMenuvue_type_script_lang_js = ({
@@ -259417,20 +260027,7 @@ var entry_lib_popper = __webpack_require__(98234);
259417
260027
  isIncludes: '',
259418
260028
  showTableOnRightMenu: false,
259419
260029
  // 获取全局变量 showTableOnRightMenu
259420
- formularType: {
259421
- sum: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.300", null, "表格行列求和公式"),
259422
- formula: '四则运算公式',
259423
- bmi: 'BMI计算公式',
259424
- labor: '产程公式',
259425
- expectedDate: '预产期公式',
259426
- pregnantWeeks: '孕周公式',
259427
- ftScoreMapping: '分值映射公式',
259428
- bodySurfaceArea: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.264", null, "体表面积公式"),
259429
- ftCalcDays: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.263", null, "计算住院天数公式"),
259430
- ftCalcTime: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.260", null, "时间计算公式"),
259431
- idealWeight: '理想体重公式',
259432
- iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)")
259433
- },
260030
+ formularType: entry_lib_formularName,
259434
260031
  isPasted: false,
259435
260032
  isWebview: false,
259436
260033
  htmlText: '',
@@ -259668,6 +260265,11 @@ var entry_lib_popper = __webpack_require__(98234);
259668
260265
  clearSelectedRangeParas() {
259669
260266
  this.vueController.clearSelectedRangeParas();
259670
260267
  this.handleClose();
260268
+ },
260269
+ deleteFormula() {
260270
+ const formulaNode = this.hoEditorProvider.rightNode.node();
260271
+ this.vueController.deleteFormula(formulaNode);
260272
+ this.handleClose();
259671
260273
  }
259672
260274
  }
259673
260275
 
@@ -259896,8 +260498,8 @@ var entry_lib_popper = __webpack_require__(98234);
259896
260498
  ;
259897
260499
  var entry_lib_HoRightMenu_component = (0,entry_lib_componentNormalizer/* default */.A)(
259898
260500
  entry_lib_toolbar_HoRightMenuvue_type_script_lang_js,
259899
- entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render,
259900
- entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_staticRenderFns,
260501
+ entry_lib_HoRightMenuvue_type_template_id_c072f7c2_render,
260502
+ entry_lib_HoRightMenuvue_type_template_id_c072f7c2_staticRenderFns,
259901
260503
  false,
259902
260504
  null,
259903
260505
  null,