hoeditor-web 3.1.151 → 3.1.152

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.
@@ -22928,7 +22928,7 @@ var component = (0,componentNormalizer/* default */.Z)(
22928
22928
 
22929
22929
  /***/ }),
22930
22930
 
22931
- /***/ 90397:
22931
+ /***/ 41199:
22932
22932
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22933
22933
 
22934
22934
  "use strict";
@@ -22942,7 +22942,7 @@ __webpack_require__.d(__webpack_exports__, {
22942
22942
 
22943
22943
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
22944
22944
  var es_function_name = __webpack_require__(68309);
22945
- ;// 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/textDialog/TextDialog.vue?vue&type=template&id=44ea4df2&
22945
+ ;// 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/textDialog/TextDialog.vue?vue&type=template&id=8d377078&
22946
22946
 
22947
22947
  var render = function render() {
22948
22948
  var _vm = this,
@@ -23474,7 +23474,7 @@ var render = function render() {
23474
23474
  };
23475
23475
  var staticRenderFns = [];
23476
23476
 
23477
- ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=44ea4df2&
23477
+ ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=8d377078&
23478
23478
 
23479
23479
  // EXTERNAL MODULE: ./node_modules/ant-design-vue/es/message/style/index.js + 1 modules
23480
23480
  var style = __webpack_require__(94310);
@@ -23807,10 +23807,10 @@ var VerifyTip = __webpack_require__(74618);
23807
23807
  });
23808
23808
  ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
23809
23809
  /* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
23810
- ;// 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/textDialog/TextDialog.vue?vue&type=style&index=0&id=44ea4df2&prod&lang=less&
23810
+ ;// 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/textDialog/TextDialog.vue?vue&type=style&index=0&id=8d377078&prod&lang=less&
23811
23811
  // extracted by mini-css-extract-plugin
23812
23812
 
23813
- ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=44ea4df2&prod&lang=less&
23813
+ ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=8d377078&prod&lang=less&
23814
23814
 
23815
23815
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
23816
23816
  var componentNormalizer = __webpack_require__(70713);
@@ -32944,6 +32944,7 @@ var textParams = {
32944
32944
  text: "",
32945
32945
  name: "",
32946
32946
  tipText: "",
32947
+ isTipText: false,
32947
32948
  readOnlyStatus: _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__/* .ReadOnlyStatus */ .mK.false,
32948
32949
  fixedWidth: 0,
32949
32950
  isCentered: false,
@@ -67103,6 +67104,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
67103
67104
  //名称
67104
67105
  (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_tipText", '');
67105
67106
  //提示文本
67107
+ (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_isTipText", false);
67108
+ //提示文本
67106
67109
  //private _readOnlyStatus = ReadOnlyStatus.false; //内容只读状态
67107
67110
  (0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_fixedWidth", 0);
67108
67111
  //固定宽度(像素)
@@ -67371,6 +67374,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
67371
67374
  this._tipText = value;
67372
67375
  }
67373
67376
  }
67377
+ }, {
67378
+ key: "isTipText",
67379
+ get: function get() {
67380
+ return this._isTipText;
67381
+ },
67382
+ set: function set(value) {
67383
+ if (this._isTipText !== value) {
67384
+ this._isTipText = value;
67385
+ }
67386
+ }
67374
67387
  // get readOnlyStatus(): ReadOnlyStatus {
67375
67388
  // return this._readOnlyStatus;
67376
67389
  // }
@@ -68490,6 +68503,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68490
68503
  value: this.value,
68491
68504
  name: this.name,
68492
68505
  tipText: this.tipText,
68506
+ isTipText: this.isTipText,
68493
68507
  labelText: this.labelText,
68494
68508
  //readOnlyStatus: this.readOnlyStatus,
68495
68509
  fixedWidth: this.fixedWidth,
@@ -68526,29 +68540,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68526
68540
  innerIdentifier: this.innerIdentifier,
68527
68541
  dataMetaIdentifier: this.dataMetaIdentifier,
68528
68542
  identifierFormat: this.identifierFormat,
68529
- //isSynchro: this.isSynchro,
68530
68543
  text: this.text,
68531
68544
  keyValue: this.keyValue,
68532
68545
  value: this.value,
68533
68546
  name: this.name,
68534
- //tipText: this.tipText,
68535
68547
  labelText: this.labelText,
68536
- //fixedWidth: this.fixedWidth,
68537
- //isCentered: this.isCentered,
68538
- //canModifyContent: this.canModifyContent,
68539
- //isAllowDelete: this.isAllowDelete,
68540
- //enableGlobalColor: this.enableGlobalColor,
68541
- //defaultValue: this.defaultValue,
68542
- //downListProperty: this.downListProperty,
68543
68548
  customProperty: this.customProperty,
68544
- //alignWithBlocked: this.alignWithBlocked,
68545
68549
  readType: this.readType,
68546
- //insCheckSyncUpdateList: this.insCheckSyncUpdateList,
68547
- //hideDuringPrint: this.hideDuringPrint,
68548
- //notReplaceElement: this.notReplaceElement,
68549
- //valueArea: this.valueArea,
68550
- //includesKeyword: this.includesKeyword,
68551
- //isElementLink: this.isElementLink,
68552
68550
  childNodes: childNodes
68553
68551
  };
68554
68552
  if (this.isSynchro) {
@@ -68557,6 +68555,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68557
68555
  if (this.tipText) {
68558
68556
  retObj.tipText = this.tipText;
68559
68557
  }
68558
+ if (this.isTipText) {
68559
+ retObj.isTipText = this.isTipText;
68560
+ }
68560
68561
  if (this.fixedWidth > 0) {
68561
68562
  retObj.fixedWidth = this.fixedWidth;
68562
68563
  }
@@ -170021,7 +170022,7 @@ var map = {
170021
170022
  "./table/TableFormula.vue": 80199,
170022
170023
  "./table/TableProperty.vue": 98800,
170023
170024
  "./table/TableRowProperty.vue": 55631,
170024
- "./textDialog/TextDialog.vue": 90397,
170025
+ "./textDialog/TextDialog.vue": 41199,
170025
170026
  "./textDialog/TextToLabelDialog.vue": 2355,
170026
170027
  "./textDialog/VerifyTip.vue": 74618,
170027
170028
  "./upload/CanvasImageDialog.vue": 40061,
@@ -210652,7 +210653,7 @@ var TextNode = __webpack_require__(27198);
210652
210653
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
210653
210654
  var ParagraphNode = __webpack_require__(67945);
210654
210655
  ;// CONCATENATED MODULE: ./src/components/version.ts
210655
- /* harmony default export */ var version = ('3.1.151');
210656
+ /* harmony default export */ var version = ('3.1.152');
210656
210657
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
210657
210658
  var PoperTipText = __webpack_require__(84531);
210658
210659
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -224517,9 +224518,12 @@ var VueController = /*#__PURE__*/function () {
224517
224518
  };
224518
224519
  if (node instanceof SignNode/* SignNode */.N && node !== null && node !== void 0 && node.drawNodes[0]) {
224519
224520
  var drawNode = node === null || node === void 0 ? void 0 : node.drawNodes[0];
224521
+ if (drawNode.dWidth == 0) {
224522
+ console.warn("无法获取签名元素宽度");
224523
+ }
224520
224524
  result = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, result), {}, {
224521
- ptRight: hoEditorFactory.unitConvert.pxToPt(caret.stageX + drawNode.dWidth),
224522
- ptLeft: result.ptX
224525
+ ptRight: result.ptX,
224526
+ ptLeft: result.ptX - hoEditorFactory.unitConvert.pxToPt(drawNode.dWidth)
224523
224527
  });
224524
224528
  if (node.number == 0) {
224525
224529
  result.ptTop = result.ptY;