hoeditor-web 3.0.54 → 3.0.55

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.
@@ -71067,7 +71067,7 @@ var DrawCombineNode = /*#__PURE__*/function (_DrawContainer) {
71067
71067
  if (hoEditorFactory.drawTree.paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_9__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_9__/* .PaintState.psPrint */ .Dh.psPrint) {
71068
71068
  if (this._event) this._event.alpha = 0;
71069
71069
  } else {
71070
- if (hoEditorFactory.drawTree.paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_9__/* .PaintState.psReview */ .Dh.psReview) {
71070
+ if (hoEditorFactory.drawTree.paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_9__/* .PaintState.psReview */ .Dh.psReview || !hoEditorFactory.isHideComments) {
71071
71071
  this.on('added', function (e1) {
71072
71072
  if (!_this2._event) {
71073
71073
  var r = _this2.getBounds();
@@ -232300,8 +232300,8 @@ var es_string_match = __webpack_require__(4723);
232300
232300
  var es_number_constructor = __webpack_require__(9653);
232301
232301
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
232302
232302
  var es_json_stringify = __webpack_require__(38862);
232303
- ;// 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=bc55c54a&
232304
- var HoDocvue_type_template_id_bc55c54a_render = function render() {
232303
+ ;// 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=1734b9ac&
232304
+ var HoDocvue_type_template_id_1734b9ac_render = function render() {
232305
232305
  var _vm = this,
232306
232306
  _c = _vm._self._c;
232307
232307
  return _c('div', {
@@ -232446,7 +232446,7 @@ var HoDocvue_type_template_id_bc55c54a_render = function render() {
232446
232446
  }
232447
232447
  }, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
232448
232448
  };
232449
- var HoDocvue_type_template_id_bc55c54a_staticRenderFns = [];
232449
+ var HoDocvue_type_template_id_1734b9ac_staticRenderFns = [];
232450
232450
 
232451
232451
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
232452
232452
  var es_array_filter = __webpack_require__(57327);
@@ -233066,6 +233066,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
233066
233066
  var _this2 = this;
233067
233067
  var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
233068
233068
  var superiorSign = hoeditorfactory.structureConvert._superiorSign;
233069
+ hoeditorfactory.drawTree.caret.aiInfo.aiText = '';
233069
233070
  if (superiorSign.length > 0) {
233070
233071
  if (hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psEdit */.Dh.psEdit || hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
233071
233072
  if (this._pageIndex < superiorSign[1]) {
@@ -233112,8 +233113,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
233112
233113
  if (hoeditorfactory.drawTree.inViewPages.indexOf(this._pageIndex) < 0) {
233113
233114
  hoeditorfactory.drawTree.inViewPages.push(this._pageIndex);
233114
233115
  }
233115
- var y = this._pageIndex * hoeditorfactory.pageProperty.heightPixes;
233116
- // this._scrollYList.push(aevent.stageY);
233117
233116
  if (hoeditorfactory.drawTree.selectRange.beginRangeSelect && (parseInt(aevent.nativeEvent.buttons) && 1) === 1) {
233118
233117
  var _hoeditorfactory$draw2;
233119
233118
  if ((_hoeditorfactory$draw2 = hoeditorfactory.drawTree.activePage) !== null && _hoeditorfactory$draw2 !== void 0 && _hoeditorfactory$draw2.activeDrawRect.rootPath.startsWith(DocTree/* gMainPath */.d9) && hoeditorfactory.drawTree.activePage !== dPage) {
@@ -235666,7 +235665,7 @@ var ParagraphNode = __webpack_require__(67945);
235666
235665
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
235667
235666
  var MarkNode = __webpack_require__(57727);
235668
235667
  ;// CONCATENATED MODULE: ./src/components/version.ts
235669
- /* harmony default export */ var version = ('3.0.54');
235668
+ /* harmony default export */ var version = ('3.0.55');
235670
235669
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
235671
235670
  var PoperTipText = __webpack_require__(15845);
235672
235671
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -235840,19 +235839,21 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
235840
235839
  handler: function handler(value) {
235841
235840
  if (value) {
235842
235841
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorId);
235843
- if (hoEditorFactory.drawTree.paintStatus === 5) return;
235844
- if (JSON.stringify(this.mouseMoveNodes.tipText) === '[""]') return;
235845
- if (this.mouseMoveNodes.tipText.length === 0) return;
235846
- if (this.mouseMoveNodes.moveType === 0) {
235847
- this.isPoperText = true;
235848
- this.poperText = this.mouseMoveNodes.tipText;
235849
- this.poperId = this.mouseMoveNodes.id;
235850
- this.poperTextPos = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, value), {}, {
235851
- docIndex: this.docIndex
235852
- });
235853
- } else {
235854
- this.isPoperText = false;
235842
+ if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview || !hoEditorFactory.isHideComments) {
235843
+ if (JSON.stringify(this.mouseMoveNodes.tipText) === '[""]') return;
235844
+ if (this.mouseMoveNodes.tipText.length === 0) return;
235845
+ if (this.mouseMoveNodes.moveType === 0) {
235846
+ this.isPoperText = true;
235847
+ this.poperText = this.mouseMoveNodes.tipText;
235848
+ this.poperId = this.mouseMoveNodes.id;
235849
+ this.poperTextPos = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, value), {}, {
235850
+ docIndex: this.docIndex
235851
+ });
235852
+ } else {
235853
+ this.isPoperText = false;
235854
+ }
235855
235855
  }
235856
+ ;
235856
235857
  }
235857
235858
  }
235858
235859
  },
@@ -236110,6 +236111,7 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
236110
236111
  if (node instanceof DateTimeNode/* DateTimeNode */.Z) {
236111
236112
  if (paintStatus === 0) {
236112
236113
  this.hoEditorProvider.setControlProperty('date', 'update', '');
236114
+ this.hoEditorProvider.setUpdateNodeValue(node);
236113
236115
  return;
236114
236116
  }
236115
236117
  if (node.isReadOnly && node.text.replace(/\s*/g, '') !== '') {
@@ -236374,10 +236376,10 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
236374
236376
  });
236375
236377
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
236376
236378
  /* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
236377
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=bc55c54a&prod&lang=scss&
236379
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=1734b9ac&prod&lang=scss&
236378
236380
  // extracted by mini-css-extract-plugin
236379
236381
 
236380
- ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=bc55c54a&prod&lang=scss&
236382
+ ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=1734b9ac&prod&lang=scss&
236381
236383
 
236382
236384
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue
236383
236385
 
@@ -236390,8 +236392,8 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
236390
236392
 
236391
236393
  var HoDoc_component = (0,componentNormalizer/* default */.Z)(
236392
236394
  components_HoDocvue_type_script_lang_js_,
236393
- HoDocvue_type_template_id_bc55c54a_render,
236394
- HoDocvue_type_template_id_bc55c54a_staticRenderFns,
236395
+ HoDocvue_type_template_id_1734b9ac_render,
236396
+ HoDocvue_type_template_id_1734b9ac_staticRenderFns,
236395
236397
  false,
236396
236398
  null,
236397
236399
  null,
@@ -248307,9 +248309,9 @@ var VueController = /*#__PURE__*/function () {
248307
248309
  hoEditorFactory.drawTree.caret.aiInfo.aiText = aiText;
248308
248310
  };
248309
248311
  if (text) {
248310
- hoEditorFactory.aiTextFunc(text, callback, textFieldName);
248312
+ hoEditorFactory.aiTextFunc(text, callback, textFieldName, hoEditorFactory.drawTree.caret.aiInfo.aiText);
248311
248313
  } else if (textFieldName) {
248312
- hoEditorFactory.aiTextFunc('', callback, textFieldName);
248314
+ hoEditorFactory.aiTextFunc('', callback, textFieldName, hoEditorFactory.drawTree.caret.aiInfo.aiText);
248313
248315
  } else {}
248314
248316
  }
248315
248317
  }