hoeditor-web 3.1.39 → 3.1.41

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.
@@ -8380,7 +8380,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8380
8380
 
8381
8381
  /***/ }),
8382
8382
 
8383
- /***/ 63161:
8383
+ /***/ 88359:
8384
8384
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8385
8385
 
8386
8386
  "use strict";
@@ -8396,7 +8396,7 @@ __webpack_require__.d(__webpack_exports__, {
8396
8396
  var es_array_includes = __webpack_require__(26699);
8397
8397
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
8398
8398
  var es_string_includes = __webpack_require__(32023);
8399
- ;// 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/listsource/ListSource.vue?vue&type=template&id=72495abc&scoped=true&
8399
+ ;// 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/listsource/ListSource.vue?vue&type=template&id=4206f5fa&scoped=true&
8400
8400
 
8401
8401
 
8402
8402
  var render = function render() {
@@ -8699,7 +8699,7 @@ var render = function render() {
8699
8699
  };
8700
8700
  var staticRenderFns = [];
8701
8701
 
8702
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=template&id=72495abc&scoped=true&
8702
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=template&id=4206f5fa&scoped=true&
8703
8703
 
8704
8704
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
8705
8705
  var toConsumableArray = __webpack_require__(61748);
@@ -8875,12 +8875,12 @@ var appendToBody = __webpack_require__(95677);
8875
8875
  }
8876
8876
  },
8877
8877
  inputCheckboxChange: function inputCheckboxChange(index) {
8878
- this.listValue = (0,toConsumableArray/* default */.Z)(this.listValue.map(function (v, key) {
8879
- if (key != index) {
8880
- v.input = false;
8881
- }
8882
- return v;
8883
- }));
8878
+ // this.listValue = [...this.listValue.map((v, key) => {
8879
+ // if(key != index) {
8880
+ // v.input = false;
8881
+ // }
8882
+ // return v;
8883
+ // })]
8884
8884
  },
8885
8885
  defaultCheckboxChange: function defaultCheckboxChange(index) {
8886
8886
  this.listValue = (0,toConsumableArray/* default */.Z)(this.listValue.map(function (v, key) {
@@ -8970,10 +8970,10 @@ var appendToBody = __webpack_require__(95677);
8970
8970
  });
8971
8971
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=js&
8972
8972
  /* harmony default export */ var listsource_ListSourcevue_type_script_lang_js_ = (ListSourcevue_type_script_lang_js_);
8973
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=72495abc&prod&lang=less&scoped=true&
8973
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=4206f5fa&prod&lang=less&scoped=true&
8974
8974
  // extracted by mini-css-extract-plugin
8975
8975
 
8976
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=72495abc&prod&lang=less&scoped=true&
8976
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=4206f5fa&prod&lang=less&scoped=true&
8977
8977
 
8978
8978
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
8979
8979
  var componentNormalizer = __webpack_require__(70713);
@@ -8992,7 +8992,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8992
8992
  staticRenderFns,
8993
8993
  false,
8994
8994
  null,
8995
- "72495abc",
8995
+ "4206f5fa",
8996
8996
  null
8997
8997
 
8998
8998
  )
@@ -9491,7 +9491,7 @@ var component = (0,componentNormalizer/* default */.Z)(
9491
9491
 
9492
9492
  /***/ }),
9493
9493
 
9494
- /***/ 28758:
9494
+ /***/ 22156:
9495
9495
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9496
9496
 
9497
9497
  "use strict";
@@ -9511,7 +9511,7 @@ var es_string_includes = __webpack_require__(32023);
9511
9511
  var es_regexp_exec = __webpack_require__(74916);
9512
9512
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
9513
9513
  var es_string_replace = __webpack_require__(15306);
9514
- ;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=6d315cb7&
9514
+ ;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=6682ee5d&
9515
9515
 
9516
9516
 
9517
9517
 
@@ -9908,7 +9908,7 @@ var render = function render() {
9908
9908
  };
9909
9909
  var staticRenderFns = [];
9910
9910
 
9911
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=6d315cb7&
9911
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=6682ee5d&
9912
9912
 
9913
9913
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
9914
9914
  var toConsumableArray = __webpack_require__(61748);
@@ -12681,13 +12681,14 @@ var columns = [{
12681
12681
  if (text == this.textParam.name) {
12682
12682
  text = '';
12683
12683
  }
12684
- if (isAutoInput) {
12685
- // 支持输入情况下,清空选项内容,默认显示以文本域名称
12686
- text = '';
12687
- }
12688
12684
  if (prefixText) {
12689
12685
  // 设置前缀时回填文本内容
12690
12686
  text = prefixText;
12687
+ } else if (isAutoInput) {
12688
+ // 支持输入情况下,清空选项内容,默认显示以文本域名称
12689
+ text = '';
12690
+ } else if (text == '' && !isAutoInput && !prefixText && value) {
12691
+ text = value;
12691
12692
  }
12692
12693
  this.textParam.text = text;
12693
12694
  this.textParam.keyValue = keyValue;
@@ -12762,10 +12763,10 @@ var columns = [{
12762
12763
  });
12763
12764
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
12764
12765
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
12765
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=6d315cb7&prod&lang=less&
12766
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=6682ee5d&prod&lang=less&
12766
12767
  // extracted by mini-css-extract-plugin
12767
12768
 
12768
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=6d315cb7&prod&lang=less&
12769
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=6682ee5d&prod&lang=less&
12769
12770
 
12770
12771
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
12771
12772
  var componentNormalizer = __webpack_require__(70713);
@@ -31561,8 +31562,8 @@ var Caret = /*#__PURE__*/function () {
31561
31562
  key: "setStagePosition",
31562
31563
  value: function setStagePosition(stageX, stageY) {
31563
31564
  // console.log("光标在文档中的坐标(默认Y轴从上往下):", stageX, stageY);
31564
- this._stageX = stageX;
31565
- this._stageY = stageY;
31565
+ this._stageX = stageX * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scale;
31566
+ this._stageY = stageY * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scale;
31566
31567
  }
31567
31568
  /**
31568
31569
  * @author xyl
@@ -31575,16 +31576,16 @@ var Caret = /*#__PURE__*/function () {
31575
31576
  value: function moveTo(pageIndex, x, y) {
31576
31577
  var _this = this;
31577
31578
  this.div_cursor.className = "";
31578
- this.x = x;
31579
- this.y = y;
31579
+ this.x = x * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scaleXY;
31580
+ this.y = y * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scaleXY;
31580
31581
  if (this._aiInfo) {
31581
- this._aiInfo.x = x;
31582
- this._aiInfo.y = y;
31582
+ this._aiInfo.x = x * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scaleXY;
31583
+ this._aiInfo.y = y * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scaleXY;
31583
31584
  this._aiInfo.pageIndex = pageIndex;
31584
31585
  this._aiInfo.height = this._height;
31585
31586
  }
31586
- this.div_cursor.style.left = x + "px";
31587
- this.div_cursor.style.top = y + "px";
31587
+ this.div_cursor.style.left = x * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scaleXY + "px";
31588
+ this.div_cursor.style.top = y * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_4__/* .DrawConfig */ .f.instance().scaleXY + "px";
31588
31589
  this.div_cursor.style.opacity = "1";
31589
31590
  // this.div_cursor.style.width = "0.1px";
31590
31591
  setTimeout(function () {
@@ -47726,7 +47727,7 @@ var PageProperty = /*#__PURE__*/function () {
47726
47727
  this._widthPixes = hoEditorFactory.unitConvert.mmConversionPx(this._widthMm, true);
47727
47728
  this._commentWidthPixes = hoEditorFactory.unitConvert.mmConversionPx(this._commentWidthMm, true);
47728
47729
  this._rightMarginPixes = hoEditorFactory.unitConvert.mmConversionPx(this._rightMarginMm, true);
47729
- var scaleXY = Math.max(_draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().scaleXY, _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().transformScale);
47730
+ var scaleXY = _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().scale;
47730
47731
  var width = Math.floor(this._widthPixes * scaleXY) % 2 === 1 ? Math.floor(this._widthPixes * scaleXY) + 1 : Math.floor(this._widthPixes * scaleXY);
47731
47732
  this._canvasParams.width = width;
47732
47733
  this._canvasParams.commentWidth = this._commentWidthPixes;
@@ -47744,7 +47745,7 @@ var PageProperty = /*#__PURE__*/function () {
47744
47745
  this._widthPixes = hoeditorfacotry.unitConvert.mmConversionPx(this._widthMm, true);
47745
47746
  hoeditorfacotry.drawTree.updateDrawTreeFirstLine();
47746
47747
  }
47747
- var scaleXY = Math.max(_draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().scaleXY, _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().transformScale);
47748
+ var scaleXY = _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().scale;
47748
47749
  var width = Math.floor(this._widthPixes * scaleXY) % 2 === 1 ? Math.floor(this._widthPixes * scaleXY) + 1 : Math.floor(this._widthPixes * scaleXY);
47749
47750
  this._canvasParams.width = width;
47750
47751
  }
@@ -47758,7 +47759,7 @@ var PageProperty = /*#__PURE__*/function () {
47758
47759
  this._heightMm = value;
47759
47760
  this._heightPixes = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_11__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(this._heightMm, false);
47760
47761
  }
47761
- var scaleXY = Math.max(_draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().scaleXY, _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().transformScale);
47762
+ var scaleXY = _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_12__/* .DrawConfig */ .f.instance().scale;
47762
47763
  var height = Math.floor(this._heightPixes * scaleXY) % 2 === 1 ? Math.floor(this._heightPixes * scaleXY) + 1 : Math.floor(this._heightPixes * scaleXY);
47763
47764
  this._canvasParams.height = height;
47764
47765
  }
@@ -69800,6 +69801,18 @@ var DrawConfig = /*#__PURE__*/function () {
69800
69801
  set: function set(scale) {
69801
69802
  this._transformScale = scale;
69802
69803
  }
69804
+ }, {
69805
+ key: "scale",
69806
+ get: function get() {
69807
+ // return Math.max(this._scaleXY, this._transformScale);
69808
+ if (this._scaleXY !== 1) {
69809
+ return this._scaleXY;
69810
+ } else if (this._transformScale !== 1) {
69811
+ return this._transformScale;
69812
+ } else {
69813
+ return 1;
69814
+ }
69815
+ }
69803
69816
  }], [{
69804
69817
  key: "instance",
69805
69818
  value: function instance() {
@@ -83002,6 +83015,8 @@ var DrawContainer = __webpack_require__(47535);
83002
83015
  var Caret = __webpack_require__(35279);
83003
83016
  // EXTERNAL MODULE: ./src/HOEditorFactorys.ts
83004
83017
  var HOEditorFactorys = __webpack_require__(74089);
83018
+ // EXTERNAL MODULE: ./src/editor/draw/DrawConfig.ts
83019
+ var DrawConfig = __webpack_require__(37616);
83005
83020
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
83006
83021
  var es_number_constructor = __webpack_require__(9653);
83007
83022
  // EXTERNAL MODULE: ./src/editor/events/NodeChangingEvent.ts
@@ -83471,6 +83486,7 @@ var EditorController = /*#__PURE__*/function () {
83471
83486
 
83472
83487
 
83473
83488
 
83489
+
83474
83490
  var Editor = /*#__PURE__*/function () {
83475
83491
  function Editor(hoEditorFactoryID) {
83476
83492
  (0,classCallCheck/* default */.Z)(this, Editor);
@@ -83548,8 +83564,8 @@ var Editor = /*#__PURE__*/function () {
83548
83564
  key: "moveTo",
83549
83565
  value: function moveTo(pageIndex, x, y) {
83550
83566
  this.setPage(pageIndex);
83551
- this.input.style.left = x + 'px';
83552
- this.input.style.top = y + 'px';
83567
+ this.input.style.left = x * DrawConfig/* DrawConfig */.f.instance().scaleXY + 'px';
83568
+ this.input.style.top = y * DrawConfig/* DrawConfig */.f.instance().scaleXY + 'px';
83553
83569
  this.input.focus();
83554
83570
  }
83555
83571
  }]);
@@ -84208,8 +84224,6 @@ var DrawPageMainDoc = __webpack_require__(77441);
84208
84224
  var DrawTextNode = __webpack_require__(24492);
84209
84225
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
84210
84226
  var TableFormula = __webpack_require__(90832);
84211
- // EXTERNAL MODULE: ./src/editor/draw/DrawConfig.ts
84212
- var DrawConfig = __webpack_require__(37616);
84213
84227
  // EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawSignNode.ts
84214
84228
  var DrawSignNode = __webpack_require__(75638);
84215
84229
  // EXTERNAL MODULE: ./src/editor/dom/TableProperty.ts
@@ -84282,7 +84296,6 @@ var JumpButtonNode = __webpack_require__(330);
84282
84296
 
84283
84297
 
84284
84298
 
84285
-
84286
84299
 
84287
84300
 
84288
84301
  //当前的显示状态,psDesign为设计状态,psEdit为正常编辑状态 psPreview为打印预览态态 psPrint 正在打印状态, psReview审阅状态
@@ -86605,16 +86618,15 @@ var DrawTree = /*#__PURE__*/function () {
86605
86618
  var pos = dline.localToLocal(dright, 0, dPage.drawDocContainer);
86606
86619
  this._caret.height = dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
86607
86620
  if (dPage && dPage.drawSelectLevel) {
86608
- var scaleXY = DrawConfig/* DrawConfig */.f.instance().scaleXY;
86609
86621
  if (this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== "") {
86610
- this._editor.moveTo(dPage.pageIndex, pos.x * scaleXY, pos.y * scaleXY);
86622
+ this._editor.moveTo(dPage.pageIndex, pos.x, pos.y);
86611
86623
  }
86612
86624
  if (dNode instanceof DrawSignNode/* DrawSignNode */.V) {
86613
- this._caret.setStagePosition((pos.x - dNode.dWidth) * scaleXY, pos.y * scaleXY);
86625
+ this._caret.setStagePosition(pos.x - dNode.dWidth, pos.y);
86614
86626
  } else {
86615
- this._caret.setStagePosition(pos.x * scaleXY, pos.y * scaleXY);
86627
+ this._caret.setStagePosition(pos.x, pos.y);
86616
86628
  }
86617
- this._caret.moveTo(dPage.pageIndex, pos.x * scaleXY, pos.y * scaleXY);
86629
+ this._caret.moveTo(dPage.pageIndex, pos.x, pos.y);
86618
86630
  }
86619
86631
  return;
86620
86632
  }
@@ -86660,7 +86672,7 @@ var DrawTree = /*#__PURE__*/function () {
86660
86672
  value: function moveEditTo(pageIndex, x, y) {
86661
86673
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
86662
86674
  if (this.selectRange.beginRangeSelect === undefined || this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== "") {
86663
- this._editor.moveTo(pageIndex, x * DrawConfig/* DrawConfig */.f.instance().scaleXY, y * DrawConfig/* DrawConfig */.f.instance().scaleXY);
86675
+ this._editor.moveTo(pageIndex, x, y);
86664
86676
  }
86665
86677
  }
86666
86678
  }, {
@@ -86695,8 +86707,8 @@ var DrawTree = /*#__PURE__*/function () {
86695
86707
  this._caret.height = dLine.dHeight + dLine.paragraphNode.combineParagraph.lineSpace;
86696
86708
  // 只读模式
86697
86709
  if (this._paintStatus !== PaintState.psReadOnly) {
86698
- this._caret.setStagePosition(dest.x * DrawConfig/* DrawConfig */.f.instance().scaleXY, dest.y * DrawConfig/* DrawConfig */.f.instance().scaleXY);
86699
- this._caret.moveTo(dPage.pageIndex, dest.x * DrawConfig/* DrawConfig */.f.instance().scaleXY, dest.y * DrawConfig/* DrawConfig */.f.instance().scaleXY);
86710
+ this._caret.setStagePosition(dest.x, dest.y);
86711
+ this._caret.moveTo(dPage.pageIndex, dest.x, dest.y);
86700
86712
  }
86701
86713
  this.moveEditTo(dPage.pageIndex, dest.x, dest.y);
86702
86714
  } else {
@@ -86730,11 +86742,11 @@ var DrawTree = /*#__PURE__*/function () {
86730
86742
  // }
86731
86743
  if (this._paintStatus !== PaintState.psReadOnly) {
86732
86744
  if (dNode instanceof DrawSignNode/* DrawSignNode */.V) {
86733
- this._caret.setStagePosition((_dest.x - dNode.dWidth) * DrawConfig/* DrawConfig */.f.instance().scaleXY, _dest.y * DrawConfig/* DrawConfig */.f.instance().scaleXY);
86745
+ this._caret.setStagePosition(_dest.x - dNode.dWidth, _dest.y);
86734
86746
  } else {
86735
- this._caret.setStagePosition(_dest.x * DrawConfig/* DrawConfig */.f.instance().scaleXY, _dest.y * DrawConfig/* DrawConfig */.f.instance().scaleXY);
86747
+ this._caret.setStagePosition(_dest.x, _dest.y);
86736
86748
  }
86737
- this._caret.moveTo(dPage.pageIndex, _dest.x * DrawConfig/* DrawConfig */.f.instance().scaleXY, _dest.y * DrawConfig/* DrawConfig */.f.instance().scaleXY);
86749
+ this._caret.moveTo(dPage.pageIndex, _dest.x, _dest.y);
86738
86750
  }
86739
86751
  this.moveEditTo(dPage.pageIndex, _dest.x, _dest.y);
86740
86752
  }
@@ -177975,12 +177987,12 @@ var map = {
177975
177987
  "./findReplace/FindReplace.vue": 98064,
177976
177988
  "./gestation/Gestation.vue": 20329,
177977
177989
  "./hoprint/HoPrint.vue": 79228,
177978
- "./listsource/ListSource.vue": 63161,
177990
+ "./listsource/ListSource.vue": 88359,
177979
177991
  "./localHistory/LocalHistory.vue": 60797,
177980
177992
  "./pageInfoes/PageInfoes.vue": 99749,
177981
177993
  "./paragraph/ParagraphDialog.vue": 58874,
177982
177994
  "./poperSelect/PoperMark.vue": 20734,
177983
- "./poperSelect/PoperSelect.vue": 28758,
177995
+ "./poperSelect/PoperSelect.vue": 22156,
177984
177996
  "./poperTipText/PoperTipText.vue": 50987,
177985
177997
  "./popers/Poper.vue": 57937,
177986
177998
  "./popers/Title.vue": 85516,
@@ -215435,8 +215447,8 @@ var es_string_match = __webpack_require__(4723);
215435
215447
  var es_number_constructor = __webpack_require__(9653);
215436
215448
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
215437
215449
  var es_json_stringify = __webpack_require__(38862);
215438
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=145d8080&
215439
- var HoDocvue_type_template_id_145d8080_render = function render() {
215450
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=454bbda9&
215451
+ var HoDocvue_type_template_id_454bbda9_render = function render() {
215440
215452
  var _vm = this,
215441
215453
  _c = _vm._self._c;
215442
215454
  return _c('div', {
@@ -215511,16 +215523,28 @@ var HoDocvue_type_template_id_145d8080_render = function render() {
215511
215523
  }, {
215512
215524
  key: "hoAddSelectMark",
215513
215525
  fn: function fn() {
215514
- return [_c('a-icon', {
215526
+ return [_c('svg', {
215515
215527
  staticClass: "ho-select-mark-icon",
215516
215528
  style: _vm.selectMarkStyle,
215517
215529
  attrs: {
215518
- "type": "down-square"
215530
+ "viewBox": "0 0 1024 1024",
215531
+ "version": "1.1",
215532
+ "xmlns": "http://www.w3.org/2000/svg",
215533
+ "width": "16",
215534
+ "height": "16"
215519
215535
  },
215520
215536
  on: {
215521
215537
  "click": _vm.selectMarkClick
215522
215538
  }
215523
- })];
215539
+ }, [_c('path', {
215540
+ attrs: {
215541
+ "d": "M896 0H128a128 128 0 0 0-128 128v768a128 128 0 0 0 128 128h768a128 128 0 0 0 128-128V128a128 128 0 0 0-128-128z m64 896a64 64 0 0 1-64 64H128a64 64 0 0 1-64-64V128a64 64 0 0 1 64-64h768a64 64 0 0 1 64 64z"
215542
+ }
215543
+ }), _c('path', {
215544
+ attrs: {
215545
+ "d": "M535.04 609.28a32.64 32.64 0 0 1-45.44 0l-256-256-45.44 45.44 256 256a95.36 95.36 0 0 0 135.68 0l256-256-44.8-44.8z"
215546
+ }
215547
+ })])];
215524
215548
  },
215525
215549
  proxy: true
215526
215550
  }], null, true)
@@ -215607,7 +215631,7 @@ var HoDocvue_type_template_id_145d8080_render = function render() {
215607
215631
  }
215608
215632
  }, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
215609
215633
  };
215610
- var HoDocvue_type_template_id_145d8080_staticRenderFns = [];
215634
+ var HoDocvue_type_template_id_454bbda9_staticRenderFns = [];
215611
215635
 
215612
215636
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
215613
215637
  var es_array_filter = __webpack_require__(57327);
@@ -215837,8 +215861,8 @@ var DrawSelectLevel = /*#__PURE__*/function () {
215837
215861
  this._selectCanvas.width = hoEditorFactory.pageProperty.canvasParams.width;
215838
215862
  this._selectCanvas.height = hoEditorFactory.pageProperty.canvasParams.height; // if (hoEditorFactory.drawTree.paintStatus === PaintState.psReview) {
215839
215863
  this._selectStage = new createjs.Stage(this._selectCanvas);
215840
- this._selectStage.scaleX = Math.max(DrawConfig/* DrawConfig */.f.instance().scaleXY, DrawConfig/* DrawConfig */.f.instance().transformScale);
215841
- this._selectStage.scaleY = Math.max(DrawConfig/* DrawConfig */.f.instance().scaleXY, DrawConfig/* DrawConfig */.f.instance().transformScale);
215864
+ this._selectStage.scaleX = DrawConfig/* DrawConfig */.f.instance().scale;
215865
+ this._selectStage.scaleY = DrawConfig/* DrawConfig */.f.instance().scale;
215842
215866
  var dPage = hoEditorFactory.drawTree.drawPages[this._pageIndex];
215843
215867
  if ((_dPage$drawDomLevel = dPage.drawDomLevel) !== null && _dPage$drawDomLevel !== void 0 && _dPage$drawDomLevel.stage) this._selectStage.nextStage = (_dPage$drawDomLevel2 = dPage.drawDomLevel) === null || _dPage$drawDomLevel2 === void 0 ? void 0 : _dPage$drawDomLevel2.stage;
215844
215868
  dPage.setEnableMouseOver(5);
@@ -216480,8 +216504,8 @@ var DrawDomLevel = /*#__PURE__*/function () {
216480
216504
  this._domCanvas.width = hoeditorfactory.pageProperty.canvasParams.width;
216481
216505
  this._domCanvas.height = hoeditorfactory.pageProperty.canvasParams.height;
216482
216506
  this._domStage = new createjs.Stage(this._domCanvas);
216483
- this._domStage.scaleX = Math.max(DrawConfig/* DrawConfig */.f.instance().scaleXY, DrawConfig/* DrawConfig */.f.instance().transformScale);
216484
- this._domStage.scaleY = Math.max(DrawConfig/* DrawConfig */.f.instance().scaleXY, DrawConfig/* DrawConfig */.f.instance().transformScale);
216507
+ this._domStage.scaleX = DrawConfig/* DrawConfig */.f.instance().scale;
216508
+ this._domStage.scaleY = DrawConfig/* DrawConfig */.f.instance().scale;
216485
216509
  var dPage = hoeditorfactory.drawTree.drawPages[this._pageIndex];
216486
216510
  var keys = (0,esm_toConsumableArray/* default */.Z)(hoeditorfactory.drawPageTree.needUpdateMainDocInfo.keys()).sort(function (a, b) {
216487
216511
  if (a > b) {
@@ -216609,7 +216633,7 @@ var DrawDomLevel = /*#__PURE__*/function () {
216609
216633
  value: function getDrawPlaceByPos(x, y) {
216610
216634
  var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
216611
216635
  var dPage = hoeditorfactory.drawTree.drawPages[this._pageIndex];
216612
- var adjy = y / Math.max(DrawConfig/* DrawConfig */.f.instance().scaleXY, DrawConfig/* DrawConfig */.f.instance().transformScale);
216636
+ var adjy = y / DrawConfig/* DrawConfig */.f.instance().scale;
216613
216637
  if (adjy >= 0 && adjy <= this._mainDocTop) {
216614
216638
  return dPage.drawHeader;
216615
216639
  } else if (adjy > this._mainDocTop && adjy < this._footerTop) {
@@ -217207,7 +217231,7 @@ var HoToPage_component = (0,componentNormalizer/* default */.Z)(
217207
217231
  // EXTERNAL MODULE: ./src/plugins/util.ts
217208
217232
  var plugins_util = __webpack_require__(62783);
217209
217233
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
217210
- var PoperSelect = __webpack_require__(28758);
217234
+ var PoperSelect = __webpack_require__(22156);
217211
217235
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
217212
217236
  var PoperMark = __webpack_require__(20734);
217213
217237
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
@@ -218612,7 +218636,7 @@ var TextNode = __webpack_require__(27198);
218612
218636
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
218613
218637
  var ParagraphNode = __webpack_require__(67945);
218614
218638
  ;// CONCATENATED MODULE: ./src/components/version.ts
218615
- /* harmony default export */ var version = ('3.1.39');
218639
+ /* harmony default export */ var version = ('3.1.41');
218616
218640
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
218617
218641
  var PoperTipText = __webpack_require__(50987);
218618
218642
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -218660,7 +218684,7 @@ var ImageNode = __webpack_require__(97186);
218660
218684
 
218661
218685
 
218662
218686
 
218663
- var scaleXY = Math.max(DrawConfig/* DrawConfig */.f.instance().scaleXY, DrawConfig/* DrawConfig */.f.instance().transformScale);
218687
+ var scaleXY = DrawConfig/* DrawConfig */.f.instance().scale;
218664
218688
  var defaultWidth = Math.floor(793 * scaleXY) % 2 === 1 ? Math.floor(793 * scaleXY) + 1 : Math.floor(793 * scaleXY);
218665
218689
  var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * scaleXY) + 1 : Math.floor(1122 * scaleXY);
218666
218690
  /* harmony default export */ var HoDocvue_type_script_lang_js_ = ({
@@ -218962,9 +218986,9 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
218962
218986
  this.hoEditorProvider.autoSelectElementId = '';
218963
218987
  this.isAutoPoper = false;
218964
218988
  }
218965
- if (this.selectMarkStyle.display == 'block') {
218966
- this.updateSelectMark();
218967
- }
218989
+ // if (this.selectMarkStyle.display == 'block') {
218990
+ // this.updateSelectMark();
218991
+ // }
218968
218992
  },
218969
218993
  /**
218970
218994
  * 鼠标click事件
@@ -219025,9 +219049,9 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
219025
219049
  nodeType: node.parentNode.nodeType,
219026
219050
  type: 'TextInputFieldNode'
219027
219051
  });
219028
- // this.$nextTick(() => {
219029
- // this.createSelectMark(node, hoEditorFactory.drawTree.paintStatus, pageIndex);
219030
- // })
219052
+ // this.$nextTick(() => {
219053
+ // this.createSelectMark(node, hoEditorFactory.drawTree.paintStatus, pageIndex);
219054
+ // })
219031
219055
  }
219032
219056
  }
219033
219057
  } else if (e.clickType === 'rightClick') {
@@ -219176,7 +219200,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
219176
219200
  },
219177
219201
  updateSelectMark: function updateSelectMark() {
219178
219202
  var _this6 = this;
219179
- this.selectMarkStyle.display = 'none';
219203
+ // this.selectMarkStyle.display = 'none';
219180
219204
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this.hoEditorProvider.activeDocId);
219181
219205
  var paintStatus = hoEditorFactory.drawTree.paintStatus;
219182
219206
  var node = hoEditorFactory.vueController.getNodeByDataID('main', this.selectMarkStyle.dataid);
@@ -219192,12 +219216,12 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
219192
219216
  parentNode = node.parentNode;
219193
219217
  }
219194
219218
  var index = 5;
219195
- var flag = true;
219196
- while (flag && index >= 0) {
219219
+ var flag = false;
219220
+ while (!flag && index >= 0) {
219197
219221
  var currentNode = parentNode.parentNode;
219198
219222
  index--;
219199
219223
  flag = parentNode.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && parentNode.parentNode.inputFieldType == 1 && parentNode.parentNode.downListProperty.listItems.includes("<元素>");
219200
- if (flag) {
219224
+ if (!flag) {
219201
219225
  parentNode = parentNode.parentNode;
219202
219226
  }
219203
219227
  }
@@ -219398,7 +219422,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
219398
219422
  var nodePos = node.drawNodes[0];
219399
219423
  var drawLine = hoEditorFactory.drawTree.getDrawLineByDNode(nodePos);
219400
219424
  var docPos = drawLine.localToGlobal(nodePos.x, nodePos.y === 0 ? drawLine.dHeight : nodePos.y);
219401
- var scaleXY = Math.max(DrawConfig/* DrawConfig */.f.instance().scaleXY, DrawConfig/* DrawConfig */.f.instance().transformScale);
219425
+ var scaleXY = DrawConfig/* DrawConfig */.f.instance().scale;
219402
219426
  var pos = {
219403
219427
  x: docPos.x / scaleXY,
219404
219428
  // 目标元素所在行的 x
@@ -219501,10 +219525,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
219501
219525
  });
219502
219526
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
219503
219527
  /* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
219504
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=145d8080&prod&lang=less&
219528
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=454bbda9&prod&lang=less&
219505
219529
  // extracted by mini-css-extract-plugin
219506
219530
 
219507
- ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=145d8080&prod&lang=less&
219531
+ ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=454bbda9&prod&lang=less&
219508
219532
 
219509
219533
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue
219510
219534
 
@@ -219517,8 +219541,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
219517
219541
 
219518
219542
  var HoDoc_component = (0,componentNormalizer/* default */.Z)(
219519
219543
  components_HoDocvue_type_script_lang_js_,
219520
- HoDocvue_type_template_id_145d8080_render,
219521
- HoDocvue_type_template_id_145d8080_staticRenderFns,
219544
+ HoDocvue_type_template_id_454bbda9_render,
219545
+ HoDocvue_type_template_id_454bbda9_staticRenderFns,
219522
219546
  false,
219523
219547
  null,
219524
219548
  null,
@@ -231397,12 +231421,12 @@ var VueController = /*#__PURE__*/function () {
231397
231421
  if (anode instanceof ControlNode/* ControlNode */.w || anode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
231398
231422
  for (var m = 0, len = items.length - 1; m <= len; m++) {
231399
231423
  var item = items[m];
231400
- if (item.text !== '' && item.name === anode.name && anode.text.indexOf(item.text) !== -1) {
231424
+ if (item.text !== '' && (item.name === anode.name || item.id === anode.id || item.dataId === anode.dataId) && anode.text.indexOf(item.text) !== -1) {
231401
231425
  var range = _this4.search(anode, item.text);
231402
231426
  if (range.length > 0) {
231403
231427
  selectRangeArr = selectRangeArr.concat(range);
231404
231428
  }
231405
- } else if (item.text === '' && item.name === anode.name) {
231429
+ } else if (item.text === '' && (item.name === anode.name || item.id === anode.id || item.dataId === anode.dataId)) {
231406
231430
  var _range = _this4.search(anode, anode.text);
231407
231431
  if (_range.length > 0) {
231408
231432
  selectRangeArr = selectRangeArr.concat(_range);