hoeditor-web 3.0.80 → 3.0.82

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.
@@ -16591,7 +16591,7 @@ var component = (0,componentNormalizer/* default */.Z)(
16591
16591
 
16592
16592
  /***/ }),
16593
16593
 
16594
- /***/ 9614:
16594
+ /***/ 61973:
16595
16595
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16596
16596
 
16597
16597
  "use strict";
@@ -16607,7 +16607,7 @@ __webpack_require__.d(__webpack_exports__, {
16607
16607
  var es_array_includes = __webpack_require__(26699);
16608
16608
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
16609
16609
  var es_string_includes = __webpack_require__(32023);
16610
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=efc009a4&
16610
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=488dae95&
16611
16611
 
16612
16612
 
16613
16613
  var render = function render() {
@@ -16856,7 +16856,11 @@ var render = function render() {
16856
16856
  staticStyle: {
16857
16857
  "display": "inline-block"
16858
16858
  }
16859
- }, [_vm._v("边框颜色")]), _c('ho-color-picker', {
16859
+ }, [_vm._v("边框颜色")]), _c('span', {
16860
+ staticStyle: {
16861
+ "padding": "0 10px 0 0"
16862
+ }
16863
+ }, [_vm._v("上")]), _c('ho-color-picker', {
16860
16864
  model: {
16861
16865
  value: _vm.gridLinesColor[0],
16862
16866
  callback: function callback($$v) {
@@ -16864,6 +16868,99 @@ var render = function render() {
16864
16868
  },
16865
16869
  expression: "gridLinesColor[0]"
16866
16870
  }
16871
+ }), _c('span', {
16872
+ staticStyle: {
16873
+ "padding": "0 10px 0 0"
16874
+ }
16875
+ }, [_vm._v("下")]), _c('ho-color-picker', {
16876
+ model: {
16877
+ value: _vm.gridLinesColor[1],
16878
+ callback: function callback($$v) {
16879
+ _vm.$set(_vm.gridLinesColor, 1, $$v);
16880
+ },
16881
+ expression: "gridLinesColor[1]"
16882
+ }
16883
+ }), _c('span', {
16884
+ staticStyle: {
16885
+ "padding": "0 10px 0 0"
16886
+ }
16887
+ }, [_vm._v("左")]), _c('ho-color-picker', {
16888
+ model: {
16889
+ value: _vm.gridLinesColor[2],
16890
+ callback: function callback($$v) {
16891
+ _vm.$set(_vm.gridLinesColor, 2, $$v);
16892
+ },
16893
+ expression: "gridLinesColor[2]"
16894
+ }
16895
+ }), _c('span', {
16896
+ staticStyle: {
16897
+ "padding": "0 10px 0 0"
16898
+ }
16899
+ }, [_vm._v("右")]), _c('ho-color-picker', {
16900
+ model: {
16901
+ value: _vm.gridLinesColor[3],
16902
+ callback: function callback($$v) {
16903
+ _vm.$set(_vm.gridLinesColor, 3, $$v);
16904
+ },
16905
+ expression: "gridLinesColor[3]"
16906
+ }
16907
+ })], 1)]), _c('div', {
16908
+ staticClass: "control-item"
16909
+ }, [_c('div', {
16910
+ staticClass: "grid-lines-color-item"
16911
+ }, [_c('span', {
16912
+ staticClass: "label",
16913
+ staticStyle: {
16914
+ "display": "inline-block"
16915
+ }
16916
+ }, [_vm._v("显示边框")]), _c('span', {
16917
+ staticStyle: {
16918
+ "padding": "0 10px 0 0"
16919
+ }
16920
+ }, [_vm._v("上")]), _c('a-checkbox', {
16921
+ model: {
16922
+ value: _vm.gridLineDisplay[0],
16923
+ callback: function callback($$v) {
16924
+ _vm.$set(_vm.gridLineDisplay, 0, $$v);
16925
+ },
16926
+ expression: "gridLineDisplay[0]"
16927
+ }
16928
+ }), _c('span', {
16929
+ staticStyle: {
16930
+ "padding": "0 10px"
16931
+ }
16932
+ }, [_vm._v("下")]), _c('a-checkbox', {
16933
+ model: {
16934
+ value: _vm.gridLineDisplay[1],
16935
+ callback: function callback($$v) {
16936
+ _vm.$set(_vm.gridLineDisplay, 1, $$v);
16937
+ },
16938
+ expression: "gridLineDisplay[1]"
16939
+ }
16940
+ }), _c('span', {
16941
+ staticStyle: {
16942
+ "padding": "0 10px"
16943
+ }
16944
+ }, [_vm._v("左")]), _c('a-checkbox', {
16945
+ model: {
16946
+ value: _vm.gridLineDisplay[2],
16947
+ callback: function callback($$v) {
16948
+ _vm.$set(_vm.gridLineDisplay, 2, $$v);
16949
+ },
16950
+ expression: "gridLineDisplay[2]"
16951
+ }
16952
+ }), _c('span', {
16953
+ staticStyle: {
16954
+ "padding": "0 10px"
16955
+ }
16956
+ }, [_vm._v("右")]), _c('a-checkbox', {
16957
+ model: {
16958
+ value: _vm.gridLineDisplay[3],
16959
+ callback: function callback($$v) {
16960
+ _vm.$set(_vm.gridLineDisplay, 3, $$v);
16961
+ },
16962
+ expression: "gridLineDisplay[3]"
16963
+ }
16867
16964
  })], 1)]), _c('PrintLineStyle', {
16868
16965
  attrs: {
16869
16966
  "isDrawGridlines": false,
@@ -16876,9 +16973,6 @@ var render = function render() {
16876
16973
  }), _c('li', {
16877
16974
  staticClass: "control-item"
16878
16975
  }, [_c('a-checkbox', {
16879
- attrs: {
16880
- "disabled": !_vm.isDrawGridlines
16881
- },
16882
16976
  model: {
16883
16977
  value: _vm.printGridLines,
16884
16978
  callback: function callback($$v) {
@@ -17335,7 +17429,7 @@ var render = function render() {
17335
17429
  };
17336
17430
  var staticRenderFns = [];
17337
17431
 
17338
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=efc009a4&
17432
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=488dae95&
17339
17433
 
17340
17434
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
17341
17435
  var slicedToArray = __webpack_require__(27222);
@@ -17347,6 +17441,8 @@ var es_array_filter = __webpack_require__(57327);
17347
17441
  var es_object_to_string = __webpack_require__(41539);
17348
17442
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
17349
17443
  var es_function_name = __webpack_require__(68309);
17444
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
17445
+ var es_array_map = __webpack_require__(21249);
17350
17446
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
17351
17447
  var es_array_concat = __webpack_require__(92222);
17352
17448
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
@@ -17388,6 +17484,7 @@ var util = __webpack_require__(62783);
17388
17484
 
17389
17485
 
17390
17486
 
17487
+
17391
17488
  var columns = [{
17392
17489
  dataIndex: 'rowIndexs',
17393
17490
  key: 'rowIndexs',
@@ -17461,6 +17558,7 @@ var columns = [{
17461
17558
  // 是否绘制边框
17462
17559
  gridLinesColor: ['#000000', '#000000', '#000000', '#000000'],
17463
17560
  // 边框边框颜色 上、下、左、右
17561
+ gridLineDisplay: [true, true, true, true],
17464
17562
  gridLinesStyle: 4,
17465
17563
  // 边框样式
17466
17564
  span: 0,
@@ -17519,6 +17617,16 @@ var columns = [{
17519
17617
  } else {
17520
17618
  this.gridLinesColor = ['#000000', '#000000', '#000000', '#000000'];
17521
17619
  }
17620
+ if (Array.isArray(cellNode.cellProperty.gridLineDisplay)) {
17621
+ this.gridLineDisplay = (0,toConsumableArray/* default */.Z)(cellNode.cellProperty.gridLineDisplay).map(function (v) {
17622
+ if (v == true || v == 'true') {
17623
+ return true;
17624
+ }
17625
+ return false;
17626
+ });
17627
+ } else {
17628
+ this.gridLineDisplay = [true, true, true, true];
17629
+ }
17522
17630
  this.backColor = cellNode.cellProperty.backColor ? cellNode.cellProperty.backColor : '#ffffff';
17523
17631
  this.gridLinesStyle = cellNode.cellProperty.gridLinesStyle;
17524
17632
  this.span = cellNode.cellProperty.span;
@@ -17559,9 +17667,9 @@ var columns = [{
17559
17667
  },
17560
17668
  methods: {
17561
17669
  isDrawGridlinesChange: function isDrawGridlinesChange() {
17562
- if (!this.isDrawGridlines) {
17563
- this.printGridLines = false;
17564
- }
17670
+ // if (!this.isDrawGridlines) {
17671
+ // this.printGridLines = false;
17672
+ // }
17565
17673
  },
17566
17674
  getCellNodes: function getCellNodes() {
17567
17675
  var nodes = this.vueController.findNodebyPath(this.endPath).node;
@@ -17659,7 +17767,8 @@ var columns = [{
17659
17767
  },
17660
17768
  sure: function sure() {
17661
17769
  var _this2 = this;
17662
- this.gridLinesColor = [this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0]];
17770
+ // this.gridLinesColor = [this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0]];
17771
+
17663
17772
  var params = {
17664
17773
  id: this.id,
17665
17774
  lightCellBorders: this.lightCellBorders,
@@ -17671,6 +17780,7 @@ var columns = [{
17671
17780
  cellInnerMargin: [this.cellTop, this.cellBottom, this.cellLeft, this.cellRight],
17672
17781
  isDrawGridlines: this.isDrawGridlines,
17673
17782
  gridLinesColor: this.gridLinesColor,
17783
+ gridLineDisplay: this.gridLineDisplay,
17674
17784
  gridLinesStyle: this.gridLinesStyle,
17675
17785
  span: this.span,
17676
17786
  alignTextToGridline: this.alignTextToGridline,
@@ -17717,10 +17827,10 @@ var columns = [{
17717
17827
  });
17718
17828
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=js&
17719
17829
  /* harmony default export */ var table_TableCellPropertyvue_type_script_lang_js_ = (TableCellPropertyvue_type_script_lang_js_);
17720
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=efc009a4&prod&lang=scss&
17830
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=488dae95&prod&lang=scss&
17721
17831
  // extracted by mini-css-extract-plugin
17722
17832
 
17723
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=efc009a4&prod&lang=scss&
17833
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=488dae95&prod&lang=scss&
17724
17834
 
17725
17835
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
17726
17836
  var componentNormalizer = __webpack_require__(70713);
@@ -39481,6 +39591,20 @@ var DocController = /*#__PURE__*/function () {
39481
39591
  }
39482
39592
  startPath = domRange.startPath;
39483
39593
  endPath = domRange.endPath;
39594
+ // if (startPath !== endPath && domRange.npEnd.node instanceof MarkNode) {
39595
+ // const nodes = DomRange.getSelectDomNodesForDelete(
39596
+ // this._hoEditorFactoryID,
39597
+ // startPath,
39598
+ // endPath
39599
+ // );
39600
+ // if (nodes.length == 1 && nodes[0] instanceof TextInputFieldNode && nodes[0].isEmpty()) {
39601
+ // startPath = nodes[0].StartMarkNode.getNodePath();
39602
+ // endPath = nodes[0].childNodes[1].getNodePath();
39603
+ // const newDomRange = new DomRange(this._hoEditorFactoryID, startPath, endPath);
39604
+ // hoEditorFactory.docTree.curDomRange = newDomRange;
39605
+ // hoEditorFactory.drawTree.moveCaretToPath(startPath);
39606
+ // }
39607
+ // }
39484
39608
  var changingEvent = new _events_NodeChangingEvent__WEBPACK_IMPORTED_MODULE_22__/* .NodeChangingEvent */ .Q(_DocTree__WEBPACK_IMPORTED_MODULE_25__/* .DocAction.daInsert */ .gk.daInsert, startPath, endPath, _events_NodeChangingEvent__WEBPACK_IMPORTED_MODULE_22__/* .OperType.keyBoardInput */ .y.keyBoardInput);
39485
39609
  if (hoEditorFactory.docTree.changing(changingEvent)) {
39486
39610
  if (domRange.npStart.node && domRange.npStart.node.parentNode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_56__/* .CellNode */ .D) {
@@ -39882,7 +40006,7 @@ var DocController = /*#__PURE__*/function () {
39882
40006
  key: "deleteTextBeforePath",
39883
40007
  value: function () {
39884
40008
  var _deleteTextBeforePath = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)( /*#__PURE__*/(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)().mark(function _callee(startPath) {
39885
- var hoEditorFactory, domRange, nodePosition, childIndex, node, ret, topath, arr, tmp, aRange, endPath, _topath, _aRange, prevNode, cellNode, tableNode, tIndex, cIndex, preParaNode, newpath, signUserId, preNode, nextNode, path, signNode, spath, epath, newSignNode, pNode;
40009
+ var hoEditorFactory, domRange, nodePosition, childIndex, node, ret, topath, arr, tmp, aRange, endPath, _topath, _aRange, isError, prevNode, cellNode, tableNode, tIndex, cIndex, preParaNode, newpath, signUserId, preNode, nextNode, path, signNode, spath, epath, newSignNode, pNode;
39886
40010
  return (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)().wrap(function _callee$(_context) {
39887
40011
  while (1) {
39888
40012
  switch (_context.prev = _context.next) {
@@ -39904,18 +40028,18 @@ var DocController = /*#__PURE__*/function () {
39904
40028
  // )
39905
40029
  // );
39906
40030
  // hoEditorFactory.undoService.commit();
39907
- _context.next = 123;
40031
+ _context.next = 124;
39908
40032
  break;
39909
40033
  case 6:
39910
40034
  nodePosition = hoEditorFactory.docTree.findNodePositionByPath(startPath);
39911
40035
  childIndex = nodePosition.childIndex;
39912
40036
  node = nodePosition.node;
39913
40037
  if (!node) {
39914
- _context.next = 123;
40038
+ _context.next = 124;
39915
40039
  break;
39916
40040
  }
39917
40041
  if (!domRange.isEmpty) {
39918
- _context.next = 123;
40042
+ _context.next = 124;
39919
40043
  break;
39920
40044
  }
39921
40045
  if (!(node instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R)) {
@@ -39971,11 +40095,11 @@ var DocController = /*#__PURE__*/function () {
39971
40095
  aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_30__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, topath).normalize();
39972
40096
  this.deleteRange(aRange, true);
39973
40097
  hoEditorFactory.docTree.curDomRange = new _DomRange__WEBPACK_IMPORTED_MODULE_30__/* .DomRange */ .a(this._hoEditorFactoryID, topath, topath);
39974
- _context.next = 123;
40098
+ _context.next = 124;
39975
40099
  break;
39976
40100
  case 36:
39977
40101
  if (!(node instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_46__/* .MarkNode */ .j)) {
39978
- _context.next = 55;
40102
+ _context.next = 56;
39979
40103
  break;
39980
40104
  }
39981
40105
  endPath = hoEditorFactory.docTree.getNodeLastPath(node);
@@ -40009,7 +40133,10 @@ var DocController = /*#__PURE__*/function () {
40009
40133
  case 51:
40010
40134
  _aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_30__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath //hoEditorFactory.docTree.getNodeLastPath(node)
40011
40135
  ).normalize();
40012
- this.deleteRange(_aRange, true);
40136
+ isError = this.deleteRange(_aRange, true);
40137
+ if (isError) {
40138
+ hoEditorFactory.docTree.curDomRange.setSamePath(node.getNodePath());
40139
+ }
40013
40140
  // hoEditorFactory.undoService.begin();
40014
40141
  // hoEditorFactory.undoService.add(
40015
40142
  // new NodesDeleteUndoUnit(
@@ -40020,26 +40147,26 @@ var DocController = /*#__PURE__*/function () {
40020
40147
  // )
40021
40148
  // );
40022
40149
  // hoEditorFactory.undoService.commit();
40023
- _context.next = 123;
40150
+ _context.next = 124;
40024
40151
  break;
40025
- case 55:
40152
+ case 56:
40026
40153
  if (!(node instanceof _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_29__/* .ParagraphNode */ .C)) {
40027
- _context.next = 81;
40154
+ _context.next = 82;
40028
40155
  break;
40029
40156
  }
40030
40157
  prevNode = node.prevSibling();
40031
40158
  if (!(prevNode instanceof _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_50__/* .TableNode */ .Fh)) {
40032
- _context.next = 59;
40159
+ _context.next = 60;
40033
40160
  break;
40034
40161
  }
40035
40162
  return _context.abrupt("return");
40036
- case 59:
40163
+ case 60:
40037
40164
  if (!(prevNode == null)) {
40038
- _context.next = 81;
40165
+ _context.next = 82;
40039
40166
  break;
40040
40167
  }
40041
40168
  if (!(node.parentNode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_56__/* .CellNode */ .D)) {
40042
- _context.next = 80;
40169
+ _context.next = 81;
40043
40170
  break;
40044
40171
  }
40045
40172
  cellNode = node.parentNode;
@@ -40048,7 +40175,7 @@ var DocController = /*#__PURE__*/function () {
40048
40175
  cIndex = cellNode.childNodes.indexOf(node);
40049
40176
  preParaNode = hoEditorFactory.docTree.getSameRectPrevParanode(tableNode.paragraphNode);
40050
40177
  if (!(preParaNode && tIndex == 0 && cIndex == 0 && preParaNode.drawlines.length == 1 && preParaNode.drawlines[0] instanceof _draw_DrawLine__WEBPACK_IMPORTED_MODULE_79__/* .DrawLine */ .a && preParaNode.drawlines[0].isEmpty())) {
40051
- _context.next = 77;
40178
+ _context.next = 78;
40052
40179
  break;
40053
40180
  }
40054
40181
  // hoEditorFactory.undoService.begin();
@@ -40058,62 +40185,62 @@ var DocController = /*#__PURE__*/function () {
40058
40185
  // await hoEditorFactory.undoService.commit();
40059
40186
  hoEditorFactory.undoService.begin();
40060
40187
  hoEditorFactory.undoService.add(new _undoRedo_TableUndos_TableDeleteParagraphUndoUnit__WEBPACK_IMPORTED_MODULE_86__/* .TableDeleteParagraphUndoUnit */ .T(this._hoEditorFactoryID, tableNode, tableNode.paragraphNode));
40061
- _context.next = 71;
40188
+ _context.next = 72;
40062
40189
  return hoEditorFactory.undoService.commit();
40063
- case 71:
40190
+ case 72:
40064
40191
  newpath = cellNode.childNodes[0].getNodePath();
40065
40192
  hoEditorFactory.docTree.curDomRange.setSamePath(newpath);
40066
40193
  hoEditorFactory.drawTree.moveCaretToPath(newpath);
40067
40194
  return _context.abrupt("return");
40068
- case 77:
40069
- return _context.abrupt("return");
40070
40195
  case 78:
40071
- _context.next = 81;
40072
- break;
40073
- case 80:
40074
40196
  return _context.abrupt("return");
40197
+ case 79:
40198
+ _context.next = 82;
40199
+ break;
40075
40200
  case 81:
40201
+ return _context.abrupt("return");
40202
+ case 82:
40076
40203
  if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psReview */ .Dh.psReview && !(node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N))) {
40077
- _context.next = 86;
40204
+ _context.next = 87;
40078
40205
  break;
40079
40206
  }
40080
40207
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_91__/* ["default"].warn */ .Z.warn("审阅模式下,只能对文本内容进行删除");
40081
40208
  return _context.abrupt("return");
40082
- case 86:
40209
+ case 87:
40083
40210
  if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psReview */ .Dh.psReview && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N)) {
40084
- _context.next = 91;
40211
+ _context.next = 92;
40085
40212
  break;
40086
40213
  }
40087
40214
  signUserId = node.customProperty.bce01;
40088
40215
  if (!(hoEditorFactory.userInfo.id != signUserId)) {
40089
- _context.next = 91;
40216
+ _context.next = 92;
40090
40217
  break;
40091
40218
  }
40092
40219
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_91__/* ["default"].warn */ .Z.warn("不是本人签名,不允许删除!");
40093
40220
  return _context.abrupt("return");
40094
- case 91:
40221
+ case 92:
40095
40222
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psDesign */ .Dh.psDesign && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N)) {
40096
- _context.next = 94;
40223
+ _context.next = 95;
40097
40224
  break;
40098
40225
  }
40099
40226
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_91__/* ["default"].warn */ .Z.warn("不允许使用删除键删除签名,请右键删除元素");
40100
40227
  return _context.abrupt("return");
40101
- case 94:
40228
+ case 95:
40102
40229
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psDesign */ .Dh.psDesign && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
40103
- _context.next = 97;
40230
+ _context.next = 98;
40104
40231
  break;
40105
40232
  }
40106
40233
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_91__/* ["default"].warn */ .Z.warn("该签名元素不允许删除!");
40107
40234
  return _context.abrupt("return");
40108
- case 97:
40235
+ case 98:
40109
40236
  if (!(node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N)) {
40110
- _context.next = 118;
40237
+ _context.next = 119;
40111
40238
  break;
40112
40239
  }
40113
40240
  preNode = node.previousLeaf();
40114
40241
  nextNode = node.nextLeaf();
40115
40242
  if (!((node.imgSrc !== "" || node.fingerPrintSrc !== "") && node.isTemplate && !(preNode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N) && !(nextNode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N))) {
40116
- _context.next = 108;
40243
+ _context.next = 109;
40117
40244
  break;
40118
40245
  }
40119
40246
  path = hoEditorFactory.docTree.getNodeLastPath(preNode);
@@ -40123,9 +40250,9 @@ var DocController = /*#__PURE__*/function () {
40123
40250
  hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_24__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, signNode));
40124
40251
  hoEditorFactory.undoService.commit();
40125
40252
  return _context.abrupt("return");
40126
- case 108:
40253
+ case 109:
40127
40254
  if (!(preNode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N)) {
40128
- _context.next = 118;
40255
+ _context.next = 119;
40129
40256
  break;
40130
40257
  }
40131
40258
  spath = "";
@@ -40146,7 +40273,7 @@ var DocController = /*#__PURE__*/function () {
40146
40273
  }
40147
40274
  hoEditorFactory.undoService.commit();
40148
40275
  return _context.abrupt("return");
40149
- case 118:
40276
+ case 119:
40150
40277
  pNode = node.parentNode;
40151
40278
  hoEditorFactory.undoService.begin();
40152
40279
  hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodeDeleteUndoUnit */ .w(this._hoEditorFactoryID, node, startPath));
@@ -40154,7 +40281,7 @@ var DocController = /*#__PURE__*/function () {
40154
40281
  if (pNode && pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && pNode.childNodes.length === 2) {
40155
40282
  this.resetEmptyInputFieldNode(hoEditorFactory, pNode);
40156
40283
  }
40157
- case 123:
40284
+ case 124:
40158
40285
  case "end":
40159
40286
  return _context.stop();
40160
40287
  }
@@ -72959,15 +73086,17 @@ var DrawContainer = /*#__PURE__*/function (_createjs$Container) {
72959
73086
  /* harmony export */ "L": function() { return /* binding */ DrawDateTime; }
72960
73087
  /* harmony export */ });
72961
73088
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70280);
72962
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(66298);
73089
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(66298);
72963
73090
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75808);
72964
73091
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11651);
72965
73092
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19593);
72966
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78255);
73093
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(78255);
72967
73094
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
72968
73095
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
72969
73096
  /* harmony import */ var _editor_utils_DrawSimpleText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(57590);
72970
73097
  /* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(66114);
73098
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(74089);
73099
+
72971
73100
 
72972
73101
 
72973
73102
 
@@ -72992,9 +73121,9 @@ var DrawDateTime = /*#__PURE__*/function (_DrawCombineNode) {
72992
73121
  var _this;
72993
73122
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawDateTime);
72994
73123
  _this = _super.call(this, hoeditfactoryID, rootPath, node, 0);
72995
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_text", void 0);
72996
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
72997
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_dText", void 0);
73124
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_text", void 0);
73125
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
73126
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_dText", void 0);
72998
73127
  _this._text = node.text;
72999
73128
  _this._textStyle = textStyle;
73000
73129
  _this._dText = new _editor_utils_DrawSimpleText__WEBPACK_IMPORTED_MODULE_5__/* .DrawSimpleText */ .b(_this._text, textStyle.getStyleKey(), textStyle.color, 0);
@@ -73002,12 +73131,13 @@ var DrawDateTime = /*#__PURE__*/function (_DrawCombineNode) {
73002
73131
  _this.dHeight = height;
73003
73132
  _this.charSpace = 0;
73004
73133
  _this.drawDateTime();
73005
- if (node.customProperty && node.customProperty.must && node.text === node.labelText) {
73134
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this._hoEditorFactoryID);
73135
+ if (hoEditorFactory.isDrawMustMarker && node.customProperty && node.customProperty.must && node.text === node.labelText) {
73006
73136
  _this.drawMarkIcon();
73007
73137
  }
73008
73138
  return _this;
73009
73139
  }
73010
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(DrawDateTime, [{
73140
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(DrawDateTime, [{
73011
73141
  key: "text",
73012
73142
  get: function get() {
73013
73143
  return this._text;
@@ -73057,11 +73187,11 @@ var DrawDateTime = /*#__PURE__*/function (_DrawCombineNode) {
73057
73187
  /* harmony export */ "I": function() { return /* binding */ DrawDownListNode; }
73058
73188
  /* harmony export */ });
73059
73189
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70280);
73060
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(66298);
73190
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(66298);
73061
73191
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75808);
73062
73192
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11651);
73063
73193
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19593);
73064
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(78255);
73194
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(78255);
73065
73195
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
73066
73196
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
73067
73197
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(40561);
@@ -73069,6 +73199,8 @@ var DrawDateTime = /*#__PURE__*/function (_DrawCombineNode) {
73069
73199
  /* harmony import */ var _editor_dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(45712);
73070
73200
  /* harmony import */ var _editor_utils_DrawSimpleText__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(57590);
73071
73201
  /* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(66114);
73202
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(74089);
73203
+
73072
73204
 
73073
73205
 
73074
73206
 
@@ -73097,10 +73229,10 @@ var DrawDownListNode = /*#__PURE__*/function (_DrawCombineNode) {
73097
73229
  var _this;
73098
73230
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawDownListNode);
73099
73231
  _this = _super.call(this, hoEditorFactoryID, rootPath, node, 0);
73100
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_text", void 0);
73101
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
73102
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_dText", void 0);
73103
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_charCount", void 0);
73232
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_text", void 0);
73233
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
73234
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_dText", void 0);
73235
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_charCount", void 0);
73104
73236
  _this._text = node.text;
73105
73237
  _this._textStyle = textStyle;
73106
73238
  _this._node = node;
@@ -73109,12 +73241,13 @@ var DrawDownListNode = /*#__PURE__*/function (_DrawCombineNode) {
73109
73241
  _this.dWidth = _this._dText.getMeasuredWidth(); //+ charSpace * (this._text.length - 1);
73110
73242
  _this.dHeight = height;
73111
73243
  _this.drawDownList(0);
73112
- if (node instanceof _editor_dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_6__/* .DownListNode */ .yF && node.customProperty && node.customProperty.must && node.keyValue === "") {
73244
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this._hoEditorFactoryID);
73245
+ if (hoEditorFactory.isDrawMustMarker && node instanceof _editor_dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_6__/* .DownListNode */ .yF && node.customProperty && node.customProperty.must && node.keyValue === "") {
73113
73246
  _this.drawMarkIcon();
73114
73247
  }
73115
73248
  return _this;
73116
73249
  }
73117
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(DrawDownListNode, [{
73250
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(DrawDownListNode, [{
73118
73251
  key: "charCount",
73119
73252
  get: function get() {
73120
73253
  return this._charCount;
@@ -73290,7 +73423,7 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
73290
73423
  if (_this.dWidth != 0 && node.MarkNodeType == _editor_dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_9__/* .MarkNodeType.mtContent */ .q.mtContent) _this.addChild(_this._dText);
73291
73424
  _this.drawBackColor();
73292
73425
  _this.drawUnderline();
73293
- if (node.MarkNodeType == _editor_dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_9__/* .MarkNodeType.mtEnd */ .q.mtEnd && _this.text.substring(0, 1) !== "C" && node.parentNode instanceof _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__/* .TextInputFieldNode */ .re) {
73426
+ if (hoEditorFactory.isDrawMustMarker && node.MarkNodeType == _editor_dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_9__/* .MarkNodeType.mtEnd */ .q.mtEnd && _this.text.substring(0, 1) !== "C" && node.parentNode instanceof _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__/* .TextInputFieldNode */ .re) {
73294
73427
  var customProperty = node.parentNode.customProperty;
73295
73428
  if (customProperty && customProperty.must && node.parentNode.childNodes[1] instanceof _editor_dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_9__/* .MarkNode */ .j) {
73296
73429
  _this.drawMarkIcon();
@@ -89333,30 +89466,26 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89333
89466
  // }
89334
89467
  //if(nodes.length == 0) return;
89335
89468
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
89336
- _context2.next = 42;
89469
+ _context2.next = 38;
89337
89470
  break;
89338
89471
  }
89339
89472
  n = 0;
89340
89473
  case 14:
89341
89474
  if (!(n < nodes.length)) {
89342
- _context2.next = 41;
89475
+ _context2.next = 37;
89343
89476
  break;
89344
89477
  }
89345
- node = nodes[n];
89346
- if (!(node instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j && node.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && node.MarkNodeType === 1 && !node.parentNode.isAllowDelete)) {
89347
- _context2.next = 20;
89348
- break;
89349
- }
89350
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].warn */ .Z.warn("元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。");
89351
- this._isError = true;
89352
- return _context2.abrupt("return");
89353
- case 20:
89478
+ node = nodes[n]; // if (node instanceof MarkNode && node.parentNode instanceof TextInputFieldNode && node.MarkNodeType === 1 && !node.parentNode.isAllowDelete) {
89479
+ // message.warn("元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。");
89480
+ // this._isError = true;
89481
+ // return;
89482
+ // }
89354
89483
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
89355
- _context2.next = 30;
89484
+ _context2.next = 26;
89356
89485
  break;
89357
89486
  }
89358
89487
  if (node.isAllowDelete) {
89359
- _context2.next = 30;
89488
+ _context2.next = 26;
89360
89489
  break;
89361
89490
  }
89362
89491
  tip = "";
@@ -89375,34 +89504,34 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89375
89504
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].warn */ .Z.warn(tip + "元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。");
89376
89505
  this._isError = true;
89377
89506
  return _context2.abrupt("return");
89378
- case 30:
89507
+ case 26:
89379
89508
  if (!(node instanceof _dom_treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_37__/* .TableFormula */ .N)) {
89380
- _context2.next = 34;
89509
+ _context2.next = 30;
89381
89510
  break;
89382
89511
  }
89383
89512
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].warn */ .Z.warn("不允许删除表格计算公式");
89384
89513
  this._isError = true;
89385
89514
  return _context2.abrupt("return");
89386
- case 34:
89515
+ case 30:
89387
89516
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
89388
- _context2.next = 38;
89517
+ _context2.next = 34;
89389
89518
  break;
89390
89519
  }
89391
89520
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].warn */ .Z.warn("该签名元素不允许删除!");
89392
89521
  this._isError = true;
89393
89522
  return _context2.abrupt("return");
89394
- case 38:
89523
+ case 34:
89395
89524
  n++;
89396
89525
  _context2.next = 14;
89397
89526
  break;
89398
- case 41:
89527
+ case 37:
89399
89528
  if (nodes.length === 1 && nodes[0] instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && !nodes[0].isAllowDelete && nodes[0].childNodes[1] instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
89400
89529
  hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
89401
89530
  }
89402
- case 42:
89531
+ case 38:
89403
89532
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
89404
89533
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
89405
- _context2.next = 48;
89534
+ _context2.next = 44;
89406
89535
  break;
89407
89536
  }
89408
89537
  //判断当前TextInputField是否可编辑
@@ -89414,19 +89543,19 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89414
89543
  // this._undo.commit();
89415
89544
  });
89416
89545
  if (_res[0]) {
89417
- _context2.next = 48;
89546
+ _context2.next = 44;
89418
89547
  break;
89419
89548
  }
89420
89549
  return _context2.abrupt("return");
89421
- case 48:
89550
+ case 44:
89422
89551
  changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, currRange.startPath, ""); //FIXME:deleteRange函数完成后调用这个
89423
89552
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
89424
89553
  if (currRange.npStart.node && currRange.npEnd.node) {
89425
- _context2.next = 51;
89554
+ _context2.next = 47;
89426
89555
  break;
89427
89556
  }
89428
89557
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
89429
- case 51:
89558
+ case 47:
89430
89559
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
89431
89560
  // this._hoEditorFactory,
89432
89561
  // currRange.startPath,
@@ -89438,17 +89567,17 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89438
89567
  changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, endPath);
89439
89568
  res = this.deleteRange(currRange.endPath, currRange.startPath);
89440
89569
  if (!(res == 1)) {
89441
- _context2.next = 63;
89570
+ _context2.next = 59;
89442
89571
  break;
89443
89572
  }
89444
89573
  changeEvent.beforeChangePath = startPath;
89445
89574
  changeEvent.afterChangePath = this._tmp.start;
89446
- _context2.next = 61;
89575
+ _context2.next = 57;
89447
89576
  return hoEditorFactory.docTree.change(changeEvent);
89448
- case 61:
89577
+ case 57:
89449
89578
  cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
89450
89579
  hoEditorFactory.docTree.selectChange(cgEvent);
89451
- case 63:
89580
+ case 59:
89452
89581
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
89453
89582
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
89454
89583
  aNode = currRange.npStart.node;
@@ -89456,12 +89585,12 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89456
89585
  pnode = aNode.parentNode;
89457
89586
  }
89458
89587
  if (!(aNode && pnode)) {
89459
- _context2.next = 70;
89588
+ _context2.next = 66;
89460
89589
  break;
89461
89590
  }
89462
- _context2.next = 70;
89591
+ _context2.next = 66;
89463
89592
  return this.ParentRepaint(pnode);
89464
- case 70:
89593
+ case 66:
89465
89594
  case "end":
89466
89595
  return _context2.stop();
89467
89596
  }
@@ -198342,7 +198471,7 @@ var map = {
198342
198471
  "./selectDialog/SelectDialog.vue": 59075,
198343
198472
  "./sign/Sign.vue": 28715,
198344
198473
  "./table/TableCellPoper.vue": 61917,
198345
- "./table/TableCellProperty.vue": 9614,
198474
+ "./table/TableCellProperty.vue": 61973,
198346
198475
  "./table/TableColProperty.vue": 2116,
198347
198476
  "./table/TableForm.vue": 19064,
198348
198477
  "./table/TableFormTree.vue": 39703,
@@ -237704,7 +237833,7 @@ var ParagraphNode = __webpack_require__(67945);
237704
237833
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
237705
237834
  var MarkNode = __webpack_require__(57727);
237706
237835
  ;// CONCATENATED MODULE: ./src/components/version.ts
237707
- /* harmony default export */ var version = ('3.0.80');
237836
+ /* harmony default export */ var version = ('3.0.82');
237708
237837
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
237709
237838
  var PoperTipText = __webpack_require__(36081);
237710
237839
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -245271,6 +245400,7 @@ var hoCreateHistory = {
245271
245400
 
245272
245401
 
245273
245402
 
245403
+
245274
245404
 
245275
245405
 
245276
245406
  var VueController = /*#__PURE__*/function () {
@@ -249849,7 +249979,7 @@ var VueController = /*#__PURE__*/function () {
249849
249979
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
249850
249980
  var ret = [];
249851
249981
  var getAllNodes = function getAllNodes(nodes) {
249852
- for (var i = 0; i < nodes.length; i++) {
249982
+ var _loop2 = function _loop2(i) {
249853
249983
  var node = nodes[i];
249854
249984
  if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re || node instanceof DownListNode/* DownListNode */.yF || node instanceof DateTimeNode/* DateTimeNode */.Z) {
249855
249985
  var elementObj = {
@@ -249865,10 +249995,47 @@ var VueController = /*#__PURE__*/function () {
249865
249995
  dataMetaIdentifier: node.dataMetaIdentifier,
249866
249996
  customProperty: node.customProperty,
249867
249997
  keyValue: '',
249868
- value: ''
249998
+ value: '',
249999
+ verifyTipList: []
249869
250000
  };
249870
250001
  if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
249871
250002
  elementObj.controlType = node.type;
250003
+ } else {
250004
+ var verifyTipList = [];
250005
+ var includesKeyword = node.includesKeyword ? JSON.parse(node.includesKeyword) : [];
250006
+ var valueArea = node.valueArea ? JSON.parse(node.valueArea) : [];
250007
+ if (includesKeyword.length > 0) {
250008
+ includesKeyword.forEach(function (keyword) {
250009
+ if (node.text.includes(keyword.text)) {
250010
+ verifyTipList.push(keyword.tip);
250011
+ }
250012
+ });
250013
+ }
250014
+ if (valueArea.length > 0) {
250015
+ valueArea.forEach(function (value) {
250016
+ var min = value.min == '' ? NaN : Number(value.min);
250017
+ var max = value.max == '' ? NaN : Number(value.max);
250018
+ var nodeValue = node.text == '' ? NaN : Number(node.text);
250019
+ if (!isNaN(nodeValue)) {
250020
+ if (!isNaN(min) && !isNaN(max)) {
250021
+ if (nodeValue >= min && nodeValue <= max) {
250022
+ verifyTipList.push(value.tip);
250023
+ }
250024
+ }
250025
+ if (!isNaN(min) && isNaN(max)) {
250026
+ if (nodeValue >= min) {
250027
+ verifyTipList.push(value.tip);
250028
+ }
250029
+ }
250030
+ if (isNaN(min) && !isNaN(max)) {
250031
+ if (nodeValue <= max) {
250032
+ verifyTipList.push(value.tip);
250033
+ }
250034
+ }
250035
+ }
250036
+ });
250037
+ }
250038
+ elementObj.verifyTipList = verifyTipList;
249872
250039
  }
249873
250040
  if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.inputFieldType == 1 || node instanceof DownListNode/* DownListNode */.yF) {
249874
250041
  elementObj.keyValue = node.keyValue;
@@ -249880,6 +250047,9 @@ var VueController = /*#__PURE__*/function () {
249880
250047
  if (node instanceof BaseCombineNode/* BaseCombineNode */.V) {
249881
250048
  getAllNodes(node.childNodes);
249882
250049
  }
250050
+ };
250051
+ for (var i = 0; i < nodes.length; i++) {
250052
+ _loop2(i);
249883
250053
  }
249884
250054
  };
249885
250055
  if (area == undefined || area == 'header') {
@@ -249912,7 +250082,7 @@ var VueController = /*#__PURE__*/function () {
249912
250082
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
249913
250083
  var allArr = [];
249914
250084
  var getAllNodes = function getAllNodes(nodes, arr) {
249915
- var _loop2 = function _loop2(i) {
250085
+ var _loop3 = function _loop3(i) {
249916
250086
  var node = nodes[i];
249917
250087
  if (node instanceof DownListNode/* DownListNode */.yF && node.isReadOnly || node instanceof DateTimeNode/* DateTimeNode */.Z && node.isReadOnly || node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.inputFieldType == 0 && node.childNodes.filter(function (child) {
249918
250088
  return child instanceof TextInputFieldNode/* TextInputFieldNode */.re;
@@ -249950,7 +250120,7 @@ var VueController = /*#__PURE__*/function () {
249950
250120
  }
249951
250121
  };
249952
250122
  for (var i = 0; i < nodes.length; i++) {
249953
- _loop2(i);
250123
+ _loop3(i);
249954
250124
  }
249955
250125
  };
249956
250126
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
@@ -258067,6 +258237,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
258067
258237
  old: false // 是否使用完善后的批注界面
258068
258238
  });
258069
258239
  (0,esm_defineProperty/* default */.Z)(this, "_commentParams", void 0);
258240
+ (0,esm_defineProperty/* default */.Z)(this, "_isDrawMustMarker", true);
258070
258241
  this._hoEditorFactoryId = id;
258071
258242
  }
258072
258243
  (0,esm_createClass/* default */.Z)(HOEditorFactory, [{
@@ -258113,6 +258284,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
258113
258284
 
258114
258285
  // 审阅参数设置
258115
258286
  // 批注相关动态变更
258287
+ //是否绘制必填标记
258116
258288
  /**
258117
258289
  * Getter hoLocalStorage
258118
258290
  * @return {HoLocalStorage}
@@ -258872,6 +259044,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
258872
259044
  this._isEnabledGlobalColor = value;
258873
259045
  }
258874
259046
  }
259047
+ }, {
259048
+ key: "isDrawMustMarker",
259049
+ get: function get() {
259050
+ return this._isDrawMustMarker;
259051
+ },
259052
+ set: function set(value) {
259053
+ if (this._isDrawMustMarker !== value) {
259054
+ this._isDrawMustMarker = value;
259055
+ }
259056
+ }
258875
259057
  }, {
258876
259058
  key: "isSameColorWithEmptyVlaue",
258877
259059
  get: function get() {