hoeditor-web 2.0.107 → 2.0.108

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.
@@ -6301,7 +6301,7 @@ var component = (0,componentNormalizer/* default */.Z)(
6301
6301
 
6302
6302
  /***/ }),
6303
6303
 
6304
- /***/ 42498:
6304
+ /***/ 64696:
6305
6305
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6306
6306
 
6307
6307
  "use strict";
@@ -6313,7 +6313,7 @@ __webpack_require__.d(__webpack_exports__, {
6313
6313
  "default": function() { return /* binding */ PoperSelect; }
6314
6314
  });
6315
6315
 
6316
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=06bcec15&scoped=true&
6316
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=6e3640a6&scoped=true&
6317
6317
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
6318
6318
  var item = ref.item;
6319
6319
  return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"~click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini","type":"primary"},on:{"click":_vm.sureSelect}},[_vm._v("确定")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini","type":"primary"},on:{"click":_vm.sureDate}},[_vm._v("确定")])],1)],1):_vm._e()])}
@@ -9014,6 +9014,7 @@ var popper = __webpack_require__(14519);
9014
9014
  console.time("下拉选中时间");
9015
9015
  var text = '';
9016
9016
  var keyValue = '';
9017
+ var value = '';
9017
9018
  var currentPoperNode = this.getCurrentPoperNode();
9018
9019
  var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
9019
9020
  return v.selected;
@@ -9036,6 +9037,7 @@ var popper = __webpack_require__(14519);
9036
9037
  }
9037
9038
 
9038
9039
  keyValue += v.id + ',';
9040
+ String(v.value) && (value += v.value + ',');
9039
9041
  } else {
9040
9042
  if (currentPoperNode.customProperty && currentPoperNode.customProperty.hasThirdData && v.value) {
9041
9043
  text += v.value;
@@ -9044,6 +9046,7 @@ var popper = __webpack_require__(14519);
9044
9046
  }
9045
9047
 
9046
9048
  keyValue += v.id;
9049
+ String(v.value) && (value += v.value);
9047
9050
  }
9048
9051
  });
9049
9052
  }
@@ -9066,13 +9069,15 @@ var popper = __webpack_require__(14519);
9066
9069
  dataMetaIdentifier: node.dataMetaIdentifier,
9067
9070
  identifierFormat: node.identifierFormat,
9068
9071
  readType: node.readType,
9069
- mutexSelect: node.mutexSelect
9072
+ mutexSelect: node.mutexSelect,
9073
+ value: value
9070
9074
  };
9071
- hoEditorFactory.vueController.updateDownList(JSON.stringify(params), this.poperSelectList);
9075
+ hoEditorFactory.vueController.updateDownList(params, this.poperSelectList);
9072
9076
  } else if (currentPoperNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
9073
9077
  text = text.replace(/,/g, currentPoperNode.downListProperty.splitCharacter);
9074
9078
  currentPoperNode.text = text;
9075
9079
  currentPoperNode.keyValue = keyValue;
9080
+ currentPoperNode.value = value;
9076
9081
  Object.keys(this.textParam).map(function (v) {
9077
9082
  _this8.textParam[v] = currentPoperNode[v];
9078
9083
  });
@@ -9130,10 +9135,10 @@ var popper = __webpack_require__(14519);
9130
9135
  });
9131
9136
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
9132
9137
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
9133
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].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=06bcec15&lang=scss&scoped=true&
9138
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].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=6e3640a6&lang=scss&scoped=true&
9134
9139
  // extracted by mini-css-extract-plugin
9135
9140
 
9136
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=06bcec15&lang=scss&scoped=true&
9141
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=6e3640a6&lang=scss&scoped=true&
9137
9142
 
9138
9143
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
9139
9144
  var componentNormalizer = __webpack_require__(1001);
@@ -9152,7 +9157,7 @@ var component = (0,componentNormalizer/* default */.Z)(
9152
9157
  staticRenderFns,
9153
9158
  false,
9154
9159
  null,
9155
- "06bcec15",
9160
+ "6e3640a6",
9156
9161
  null
9157
9162
 
9158
9163
  )
@@ -10349,7 +10354,7 @@ var component = (0,componentNormalizer/* default */.Z)(
10349
10354
 
10350
10355
  /***/ }),
10351
10356
 
10352
- /***/ 54891:
10357
+ /***/ 89365:
10353
10358
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10354
10359
 
10355
10360
  "use strict";
@@ -10361,7 +10366,7 @@ __webpack_require__.d(__webpack_exports__, {
10361
10366
  "default": function() { return /* binding */ SelectDialog; }
10362
10367
  });
10363
10368
 
10364
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=cdeb6102&scoped=true&
10369
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=7e0bbb0b&scoped=true&
10365
10370
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉框")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_vm._v("选项互斥")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.downListContent.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
10366
10371
  var staticRenderFns = []
10367
10372
 
@@ -10392,8 +10397,6 @@ var web_dom_collections_for_each = __webpack_require__(54747);
10392
10397
  var es_array_splice = __webpack_require__(40561);
10393
10398
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js
10394
10399
  var es_array_join = __webpack_require__(69600);
10395
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
10396
- var es_json_stringify = __webpack_require__(38862);
10397
10400
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/DownListNode.ts
10398
10401
  var DownListNode = __webpack_require__(98390);
10399
10402
  // EXTERNAL MODULE: ./src/HOEditorFactorys.ts
@@ -10412,7 +10415,6 @@ var HOEditorFactorys = __webpack_require__(41005);
10412
10415
 
10413
10416
 
10414
10417
 
10415
-
10416
10418
  //
10417
10419
  //
10418
10420
  //
@@ -10743,11 +10745,13 @@ var HOEditorFactorys = __webpack_require__(41005);
10743
10745
  }
10744
10746
  });
10745
10747
  var textArr = [];
10746
- var value = '';
10748
+ var keyValue = [];
10749
+ var value = [];
10747
10750
  this.downListContent.forEach(function (v, index) {
10748
10751
  if (v.default) {
10749
10752
  textArr.push(v.text);
10750
- value += v.id + ',';
10753
+ keyValue.push(v.id);
10754
+ String(v.value) && value.push(v.value);
10751
10755
  }
10752
10756
  });
10753
10757
  this.text = textArr.join(',');
@@ -10764,7 +10768,8 @@ var HOEditorFactorys = __webpack_require__(41005);
10764
10768
  id: this.id,
10765
10769
  name: this.name,
10766
10770
  text: this.text,
10767
- keyValue: value,
10771
+ keyValue: keyValue.join(","),
10772
+ value: value.join(","),
10768
10773
  title: '下拉选择框',
10769
10774
  tipText: this.tipText,
10770
10775
  isAllowDelete: this.isAllowDelete,
@@ -10780,9 +10785,9 @@ var HOEditorFactorys = __webpack_require__(41005);
10780
10785
  params.readType ? params.readType = 1 : params.readType = 0;
10781
10786
 
10782
10787
  if (this.controlStatus === 'add') {
10783
- this.vueController.insertDownList('add', JSON.stringify(params), list);
10788
+ this.vueController.insertDownList('add', params, list);
10784
10789
  } else if (this.controlStatus === 'update') {
10785
- this.vueController.updateDownList(JSON.stringify(params), list);
10790
+ this.vueController.updateDownList(params, list);
10786
10791
  }
10787
10792
 
10788
10793
  this.$nextTick(function () {
@@ -10800,10 +10805,10 @@ var HOEditorFactorys = __webpack_require__(41005);
10800
10805
  });
10801
10806
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=js&
10802
10807
  /* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_js_ = (SelectDialogvue_type_script_lang_js_);
10803
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=cdeb6102&lang=scss&scoped=true&
10808
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=7e0bbb0b&lang=scss&scoped=true&
10804
10809
  // extracted by mini-css-extract-plugin
10805
10810
 
10806
- ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=cdeb6102&lang=scss&scoped=true&
10811
+ ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=7e0bbb0b&lang=scss&scoped=true&
10807
10812
 
10808
10813
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
10809
10814
  var componentNormalizer = __webpack_require__(1001);
@@ -10822,7 +10827,7 @@ var component = (0,componentNormalizer/* default */.Z)(
10822
10827
  staticRenderFns,
10823
10828
  false,
10824
10829
  null,
10825
- "cdeb6102",
10830
+ "7e0bbb0b",
10826
10831
  null
10827
10832
 
10828
10833
  )
@@ -29298,6 +29303,13 @@ var DocController = /*#__PURE__*/function () {
29298
29303
  var startPath = domRange.normalize().endPath;
29299
29304
  var pNode = hoEditorFactory.docTree.getParentNode(startPath);
29300
29305
  hoEditorFactory.undoService.begin();
29306
+
29307
+ if (domRange.npEnd.node instanceof _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_71__/* .TableFormula */ .N) {
29308
+ var prePath = hoEditorFactory.docTree.getNodeLastPath(domRange.npEnd.node.previousLeaf());
29309
+ hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_37__/* .NodeDeleteUndoUnit */ .w(this._hoEditorFactoryID, domRange.npEnd.node, startPath, "update"));
29310
+ startPath = prePath;
29311
+ }
29312
+
29301
29313
  var tableFormula = new _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_71__/* .TableFormula */ .N(this._hoEditorFactoryID, domRange.npStart.roots, pNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntTableFormula */ .Jq.ntTableFormula, formulaStr, hoEditorFactory.docTree.curStyleIndex, isHideZero, formulaType);
29302
29314
  hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, tableFormula));
29303
29315
  hoEditorFactory.undoService.commit();
@@ -31553,6 +31565,10 @@ var DocTree = /*#__PURE__*/function () {
31553
31565
  }, {
31554
31566
  key: "styleCompare",
31555
31567
  value: function styleCompare(newStyle) {
31568
+ if (newStyle instanceof _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_26__/* .TextStyle */ .pn && newStyle.font == "") {
31569
+ newStyle.font = "宋体";
31570
+ }
31571
+
31556
31572
  var newStyleIndex = -1;
31557
31573
 
31558
31574
  if (newStyle instanceof _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_26__/* .TextStyle */ .pn) {
@@ -34054,7 +34070,7 @@ var PageProperty = /*#__PURE__*/function () {
34054
34070
  this._fontSize = value;
34055
34071
  this.setDefaultStyle("text");
34056
34072
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
34057
- var defaultLineHeight = Math.round(hoEditorFactory.docTree.defaultCombineStyle.getFontHeightByFontSize(this.fontSize));
34073
+ var defaultLineHeight = Math.round(hoEditorFactory.getFontHeightByFontSize(this.fontSize));
34058
34074
  hoEditorFactory.defaultLineHeight = defaultLineHeight;
34059
34075
  }
34060
34076
  }
@@ -35874,23 +35890,38 @@ var Paragraph = /*#__PURE__*/function () {
35874
35890
  /* harmony export */ });
35875
35891
  /* unused harmony export StyleType */
35876
35892
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(35671);
35877
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(22342);
35878
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74916);
35879
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
35880
- /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15306);
35881
- /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__);
35882
- /* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(68757);
35883
- /* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_3__);
35884
- /* harmony import */ var core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50915);
35885
- /* harmony import */ var core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_4__);
35886
- /* harmony import */ var core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58734);
35887
- /* harmony import */ var core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_5__);
35888
- /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(19601);
35889
- /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_6__);
35890
- /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9653);
35891
- /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__);
35892
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41005);
35893
- /* harmony import */ var _UserHistory__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(70245);
35893
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(22342);
35894
+ /* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66992);
35895
+ /* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
35896
+ /* harmony import */ var core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51532);
35897
+ /* harmony import */ var core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_2__);
35898
+ /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41539);
35899
+ /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
35900
+ /* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78783);
35901
+ /* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
35902
+ /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(33948);
35903
+ /* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
35904
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(74916);
35905
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__);
35906
+ /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15306);
35907
+ /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7__);
35908
+ /* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68757);
35909
+ /* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_8__);
35910
+ /* harmony import */ var core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(50915);
35911
+ /* harmony import */ var core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_9__);
35912
+ /* harmony import */ var core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(58734);
35913
+ /* harmony import */ var core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_10__);
35914
+ /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(19601);
35915
+ /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_11__);
35916
+ /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9653);
35917
+ /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_12__);
35918
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(41005);
35919
+ /* harmony import */ var _UserHistory__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(70245);
35920
+
35921
+
35922
+
35923
+
35924
+
35894
35925
 
35895
35926
 
35896
35927
 
@@ -35923,9 +35954,11 @@ var CombineStyle = /*#__PURE__*/function () {
35923
35954
 
35924
35955
  this._hoEditorFactoryID = hoEditorFactoryID;
35925
35956
  CombineStyle.makeDefaultStyle(hoEditorFactoryID, this);
35957
+ this._englishWidth = new Map();
35958
+ this._chineseWidth = 0;
35926
35959
  }
35927
35960
 
35928
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(CombineStyle, [{
35961
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)(CombineStyle, [{
35929
35962
  key: "size",
35930
35963
  get: function get() {
35931
35964
  return this._size;
@@ -36045,6 +36078,32 @@ var CombineStyle = /*#__PURE__*/function () {
36045
36078
  this._commentID = value;
36046
36079
  }
36047
36080
  }
36081
+ }, {
36082
+ key: "chineseWidth",
36083
+ get: function get() {
36084
+ return this._chineseWidth;
36085
+ },
36086
+ set: function set(val) {
36087
+ if (val != this._chineseWidth) {
36088
+ this._chineseWidth = val;
36089
+ }
36090
+ }
36091
+ }, {
36092
+ key: "getEnglishWidth",
36093
+ value: function getEnglishWidth(val) {
36094
+ var ret = this._englishWidth.get(val);
36095
+
36096
+ if (ret) {
36097
+ return ret;
36098
+ }
36099
+
36100
+ return 0;
36101
+ }
36102
+ }, {
36103
+ key: "setEnglishWidth",
36104
+ value: function setEnglishWidth(key, val) {
36105
+ this._englishWidth.set(key, val);
36106
+ }
36048
36107
  }, {
36049
36108
  key: "getStyleKey",
36050
36109
  value:
@@ -36052,7 +36111,7 @@ var CombineStyle = /*#__PURE__*/function () {
36052
36111
  * 组装DrawSimpleText()中的style参数
36053
36112
  */
36054
36113
  function getStyleKey() {
36055
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
36114
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
36056
36115
  var size = hoEditorFactory.unitConvert.fontPt2Pix(this._size); // let size=this._size;
36057
36116
 
36058
36117
  if (size) {
@@ -36095,7 +36154,7 @@ var CombineStyle = /*#__PURE__*/function () {
36095
36154
  key: "getFontHeightByFontSize",
36096
36155
  value: function getFontHeightByFontSize(fontSize) {
36097
36156
  var fontHeight = 0;
36098
- var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
36157
+ var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
36099
36158
 
36100
36159
  if (fontSize === 5) {
36101
36160
  //如果字号是6像素 八号字体
@@ -36104,77 +36163,77 @@ var CombineStyle = /*#__PURE__*/function () {
36104
36163
 
36105
36164
  if (fontSize === 5.5) {
36106
36165
  //七号
36107
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(1.94, false);
36166
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(1.94, false);
36108
36167
  }
36109
36168
 
36110
36169
  if (fontSize === 6.5) {
36111
36170
  //小六
36112
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(2.29, false);
36171
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(2.29, false);
36113
36172
  }
36114
36173
 
36115
36174
  if (fontSize === 7.5) {
36116
36175
  //六号
36117
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(2.65, false);
36176
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(2.65, false);
36118
36177
  }
36119
36178
 
36120
36179
  if (fontSize === 9) {
36121
36180
  //小五
36122
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(3.18, false);
36181
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(3.18, false);
36123
36182
  }
36124
36183
 
36125
36184
  if (fontSize === 10.5 || fontSize === 10) {
36126
36185
  //五号
36127
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(3.70, false);
36186
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(3.70, false);
36128
36187
  }
36129
36188
 
36130
36189
  if (fontSize === 12) {
36131
36190
  //小四
36132
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(4.23, false);
36191
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(4.23, false);
36133
36192
  }
36134
36193
 
36135
36194
  if (fontSize === 14) {
36136
36195
  //四号
36137
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(4.94, false);
36196
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(4.94, false);
36138
36197
  }
36139
36198
 
36140
36199
  if (fontSize === 15) {
36141
36200
  //小三
36142
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(5.29, false);
36201
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(5.29, false);
36143
36202
  }
36144
36203
 
36145
36204
  if (fontSize === 16) {
36146
36205
  //三号
36147
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(5.64, false);
36206
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(5.64, false);
36148
36207
  }
36149
36208
 
36150
36209
  if (fontSize === 18) {
36151
36210
  //小二
36152
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(6.35, false);
36211
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(6.35, false);
36153
36212
  }
36154
36213
 
36155
36214
  if (fontSize === 22) {
36156
36215
  //二号
36157
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(7.76, false);
36216
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(7.76, false);
36158
36217
  }
36159
36218
 
36160
36219
  if (fontSize === 24) {
36161
36220
  //小一
36162
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(8.47, false);
36221
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(8.47, false);
36163
36222
  }
36164
36223
 
36165
36224
  if (fontSize === 26) {
36166
36225
  //一号
36167
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(9.17, false);
36226
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(9.17, false);
36168
36227
  }
36169
36228
 
36170
36229
  if (fontSize === 36) {
36171
36230
  //小初
36172
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(12.7, false);
36231
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(12.7, false);
36173
36232
  }
36174
36233
 
36175
36234
  if (fontSize === 42) {
36176
36235
  //初号
36177
- fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(14.82, false);
36236
+ fontHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(14.82, false);
36178
36237
  }
36179
36238
 
36180
36239
  return fontHeight;
@@ -36188,7 +36247,7 @@ var CombineStyle = /*#__PURE__*/function () {
36188
36247
  }, {
36189
36248
  key: "makeDefaultStyle",
36190
36249
  value: function makeDefaultStyle(hoEditorFactoryID, ret) {
36191
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
36250
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
36192
36251
  ret._belongTo = StyleType.stAll;
36193
36252
  ret._font = hoEditorFactory.pageProperty.fontFormat;
36194
36253
  ret._size = hoEditorFactory.pageProperty.fontSize;
@@ -36232,7 +36291,7 @@ var TextStyle = /*#__PURE__*/function () {
36232
36291
  } // astyle: TextStyle
36233
36292
 
36234
36293
 
36235
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(TextStyle, [{
36294
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)(TextStyle, [{
36236
36295
  key: "clone",
36237
36296
  value: function clone() {
36238
36297
  var obj3 = new TextStyle(this._hoEditorFactoryID); // = JSON.parse(JSON.stringify(astyle)) as TextStyle;
@@ -36254,7 +36313,7 @@ var TextStyle = /*#__PURE__*/function () {
36254
36313
  }, {
36255
36314
  key: "combineStyle",
36256
36315
  get: function get() {
36257
- return TextStyle.combineStyle(this._hoEditorFactoryID, this, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.defaultCombineStyle);
36316
+ return TextStyle.combineStyle(this._hoEditorFactoryID, this, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.defaultCombineStyle);
36258
36317
  }
36259
36318
  }, {
36260
36319
  key: "copyProperty",
@@ -36398,7 +36457,7 @@ var TextStyle = /*#__PURE__*/function () {
36398
36457
  */
36399
36458
  function changeStyle(operateType, ext) {
36400
36459
  var newTextStyle = new TextStyle(this._hoEditorFactoryID);
36401
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
36460
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
36402
36461
  newTextStyle.copyProperty(this, newTextStyle); //先将新样式初始化为原来的样式
36403
36462
 
36404
36463
  if (operateType === "fontSizeEnlarge") {
@@ -36550,7 +36609,7 @@ var TextStyle = /*#__PURE__*/function () {
36550
36609
  }
36551
36610
  }
36552
36611
 
36553
- var newStyleIndex = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.styleCompare(newTextStyle);
36612
+ var newStyleIndex = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.styleCompare(newTextStyle);
36554
36613
  return newStyleIndex;
36555
36614
  }
36556
36615
  /**
@@ -36588,7 +36647,7 @@ var TextStyle = /*#__PURE__*/function () {
36588
36647
 
36589
36648
  if (operateType === "reviewDelete") {
36590
36649
  newTextStyle.strikeout = true;
36591
- var newHistory = new _UserHistory__WEBPACK_IMPORTED_MODULE_9__/* .UserHistory */ .R(this._hoEditorFactoryID, _UserHistory__WEBPACK_IMPORTED_MODULE_9__/* .HistoryEditType.hetDelete */ .N.hetDelete);
36650
+ var newHistory = new _UserHistory__WEBPACK_IMPORTED_MODULE_14__/* .UserHistory */ .R(this._hoEditorFactoryID, _UserHistory__WEBPACK_IMPORTED_MODULE_14__/* .HistoryEditType.hetDelete */ .N.hetDelete);
36592
36651
  var historyIndex = newHistory.userCompare();
36593
36652
  newTextStyle.deleterIndex = historyIndex;
36594
36653
  }
@@ -36597,7 +36656,7 @@ var TextStyle = /*#__PURE__*/function () {
36597
36656
 
36598
36657
  if (operateType === "formatPainter") {
36599
36658
  newStyleIndex = Number(changeValue);
36600
- } else newStyleIndex = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.styleCompare(newTextStyle);
36659
+ } else newStyleIndex = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.styleCompare(newTextStyle);
36601
36660
 
36602
36661
  return newStyleIndex;
36603
36662
  }
@@ -36610,7 +36669,7 @@ var TextStyle = /*#__PURE__*/function () {
36610
36669
  }, {
36611
36670
  key: "getBiggerfontSize",
36612
36671
  value: function getBiggerfontSize(size) {
36613
- var biggerSize = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.defaultCombineStyle.size;
36672
+ var biggerSize = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.defaultCombineStyle.size;
36614
36673
 
36615
36674
  if (size === 5) {
36616
36675
  biggerSize = 5.5;
@@ -36683,7 +36742,7 @@ var TextStyle = /*#__PURE__*/function () {
36683
36742
  }, {
36684
36743
  key: "getSmallerfontSize",
36685
36744
  value: function getSmallerfontSize(size) {
36686
- var smallerSize = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.defaultCombineStyle.size;
36745
+ var smallerSize = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.defaultCombineStyle.size;
36687
36746
 
36688
36747
  if (size === 42) {
36689
36748
  smallerSize = 36;
@@ -39933,7 +39992,7 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
39933
39992
  /* harmony export */ });
39934
39993
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(58913);
39935
39994
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35671);
39936
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(22342);
39995
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(22342);
39937
39996
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(99640);
39938
39997
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(28214);
39939
39998
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
@@ -39965,6 +40024,8 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
39965
40024
  /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(50369);
39966
40025
  /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8395);
39967
40026
  /* harmony import */ var _plugins_util__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(33913);
40027
+ /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(34565);
40028
+
39968
40029
 
39969
40030
 
39970
40031
 
@@ -40066,7 +40127,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
40066
40127
  return _this;
40067
40128
  }
40068
40129
 
40069
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z)(DateTimeNode, [{
40130
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z)(DateTimeNode, [{
40070
40131
  key: "setValuesObject",
40071
40132
  value: function setValuesObject(valuesObject) {
40072
40133
  var valuesObj = eval("(" + valuesObject + ")");
@@ -40163,7 +40224,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
40163
40224
  cbStyle.color = "#838586";
40164
40225
  }
40165
40226
 
40166
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
40227
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
40167
40228
  var dNode = new _editor_draw_drawNode_DrawDateTime__WEBPACK_IMPORTED_MODULE_14__/* .DrawDateTime */ .L(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
40168
40229
 
40169
40230
  this._drawNodes.push(dNode);
@@ -40241,13 +40302,42 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
40241
40302
  }, {
40242
40303
  key: "node2Json",
40243
40304
  value: function node2Json(range, isCopy, type, isClearValue) {
40244
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40305
+ if (isCopy) {
40306
+ return {
40307
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
40308
+ type: "ctDateTime",
40309
+ id: this.id,
40310
+ dataId: this.dataId,
40311
+ innerIdentifier: this.innerIdentifier,
40312
+ dataMetaIdentifier: this.dataMetaIdentifier,
40313
+ identifierFormat: this.identifierFormat,
40314
+ isSynchro: this.isSynchro,
40315
+ controlStyle: this.controlStyle.replace("hh", "HH"),
40316
+ name: this.name,
40317
+ text: isClearValue || this.text === this.name ? "" : this.text,
40318
+ labelText: this.labelText,
40319
+ title: this.title,
40320
+ styleIndex: this.styleIndex,
40321
+ tipText: this.tipText,
40322
+ isAllowDelete: this.isAllowDelete,
40323
+ isReadOnly: this.isReadOnly,
40324
+ readType: this.readType,
40325
+ customProperty: this.customProperty,
40326
+ remark: this.remark
40327
+ };
40328
+ }
40329
+
40330
+ var parentid = "";
40331
+
40332
+ if (this.parentNode && this.parentNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_23__/* .TextInputFieldNode */ .re) {
40333
+ parentid = this.parentNode.id;
40334
+ }
40335
+
40245
40336
  var retObj = {
40246
40337
  nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
40247
40338
  type: "ctDateTime",
40248
- //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DT") : this.id,
40249
40339
  id: this.id,
40250
- //dataId: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DateTime") : this.dataId,
40340
+ parentId: parentid,
40251
40341
  dataId: this.dataId,
40252
40342
  innerIdentifier: this.innerIdentifier,
40253
40343
  dataMetaIdentifier: this.dataMetaIdentifier,
@@ -40266,11 +40356,6 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
40266
40356
  customProperty: this.customProperty,
40267
40357
  remark: this.remark
40268
40358
  };
40269
-
40270
- if (isCopy) {
40271
- return retObj;
40272
- }
40273
-
40274
40359
  var paga = {
40275
40360
  "DateTimeNode": retObj
40276
40361
  };
@@ -40330,7 +40415,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
40330
40415
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99640);
40331
40416
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28214);
40332
40417
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35671);
40333
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(22342);
40418
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(22342);
40334
40419
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
40335
40420
  /* 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__);
40336
40421
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
@@ -40349,16 +40434,24 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
40349
40434
  /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__);
40350
40435
  /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23123);
40351
40436
  /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__);
40352
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38862);
40353
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__);
40354
- /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(63756);
40355
- /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(24093);
40356
- /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(1470);
40357
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(34534);
40358
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(41005);
40359
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(23375);
40360
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(50369);
40361
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8395);
40437
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(26699);
40438
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_13__);
40439
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(32023);
40440
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14__);
40441
+ /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(69600);
40442
+ /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_15__);
40443
+ /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(63756);
40444
+ /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(24093);
40445
+ /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(1470);
40446
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(34534);
40447
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(41005);
40448
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(23375);
40449
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(50369);
40450
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(8395);
40451
+ /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(34565);
40452
+
40453
+
40454
+
40362
40455
 
40363
40456
 
40364
40457
 
@@ -40410,7 +40503,7 @@ var BandDataSource = /*#__PURE__*/function () {
40410
40503
  this.execState = ""; //执行状态
40411
40504
  }
40412
40505
 
40413
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(BandDataSource, [{
40506
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z)(BandDataSource, [{
40414
40507
  key: "DataSourceEnabled",
40415
40508
  get: function get() {
40416
40509
  return this.dataSourceEnabled;
@@ -40499,7 +40592,7 @@ var DownListNodeInstance = /*#__PURE__*/function () {
40499
40592
  this.allowMultiSelect = false;
40500
40593
  }
40501
40594
 
40502
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNodeInstance, [{
40595
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z)(DownListNodeInstance, [{
40503
40596
  key: "Id",
40504
40597
  get: function get() {
40505
40598
  return this.id;
@@ -40626,6 +40719,8 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40626
40719
 
40627
40720
  _this._bandDataSource = new BandDataSource();
40628
40721
  _this._charSpace = 0;
40722
+ _this._value = ""; //选中项的value值
40723
+
40629
40724
  _this._styleIndex = styleIndex;
40630
40725
  _this.remark = "";
40631
40726
  _this._labelText = "请选择";
@@ -40635,7 +40730,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40635
40730
  // this._id = valuesObj["id"];
40636
40731
  // }
40637
40732
 
40638
- _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
40733
+ _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_23__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
40639
40734
  // this._name = valuesObj["name"];
40640
40735
  // }
40641
40736
  // if (valuesObj["title"] !== undefined) {
@@ -40708,7 +40803,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40708
40803
  _this.setValuesObject(valuesObject);
40709
40804
 
40710
40805
  if (!_this.dataId) {
40711
- _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
40806
+ _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_20__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
40712
40807
  }
40713
40808
 
40714
40809
  if (_this._text === "") {
@@ -40729,10 +40824,11 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40729
40824
  return _this;
40730
40825
  }
40731
40826
 
40732
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNode, [{
40827
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z)(DownListNode, [{
40733
40828
  key: "setValuesObject",
40734
40829
  value: function setValuesObject(valuesObject) {
40735
- var valuesObj = eval("(" + valuesObject + ")");
40830
+ // const valuesObj = eval("(" + valuesObject + ")");
40831
+ var valuesObj = valuesObject;
40736
40832
 
40737
40833
  var assignvalue = function assignvalue(target, source) {
40738
40834
  Object.keys(source).forEach(function (value) {
@@ -40798,6 +40894,16 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40798
40894
  this._keyValue = val;
40799
40895
  }
40800
40896
  }
40897
+ }, {
40898
+ key: "value",
40899
+ get: function get() {
40900
+ return this._value;
40901
+ },
40902
+ set: function set(val) {
40903
+ if (this._value !== val) {
40904
+ this._value = val;
40905
+ }
40906
+ }
40801
40907
  }, {
40802
40908
  key: "allowMultiSelect",
40803
40909
  get: function get() {
@@ -40866,12 +40972,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40866
40972
  }, {
40867
40973
  key: "setDownListText",
40868
40974
  value: function setDownListText(text) {
40869
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40975
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_20__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40870
40976
  var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
40871
40977
  var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
40872
- var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_19__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
40978
+ var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_19__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_21__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
40873
40979
  changeEvent.oldEndPath = ePath;
40874
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
40980
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_18__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
40875
40981
  this._text = text;
40876
40982
 
40877
40983
  if (this._text === "") {
@@ -40893,7 +40999,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40893
40999
  value: function node2DrawNodeRange(startIndex, endIndex) {
40894
41000
  // const cbStyle = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.styles[this._styleIndex === -1 ? 0 : this._styleIndex]
40895
41001
  // .combineStyle;
40896
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
41002
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_20__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40897
41003
  var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
40898
41004
  var cbStyle;
40899
41005
 
@@ -40909,8 +41015,8 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40909
41015
  cbStyle.color = "#838586";
40910
41016
  }
40911
41017
 
40912
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
40913
- var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
41018
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
41019
+ var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_16__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
40914
41020
 
40915
41021
  this._drawNodes.push(dNode);
40916
41022
  }
@@ -40938,10 +41044,10 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
40938
41044
  return dline;
40939
41045
  }
40940
41046
 
40941
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
41047
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_20__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40942
41048
  var isDisPlay = true;
40943
41049
 
40944
- if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPrint */ .Dh.psPrint) {
41050
+ if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psPrint */ .Dh.psPrint) {
40945
41051
  isDisPlay = false;
40946
41052
  }
40947
41053
 
@@ -41034,13 +41140,48 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
41034
41140
  var downLists = {
41035
41141
  item: this.downListContent
41036
41142
  };
41037
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
41143
+
41144
+ if (isCopy) {
41145
+ return {
41146
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_22__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_22__/* .NodeType.ntControl */ .Jq.ntControl],
41147
+ type: "ctDownList",
41148
+ id: this.id,
41149
+ dataId: this.dataId,
41150
+ innerIdentifier: this.innerIdentifier,
41151
+ dataMetaIdentifier: this.dataMetaIdentifier,
41152
+ identifierFormat: this.identifierFormat,
41153
+ isSynchro: this.isSynchro,
41154
+ name: this.name,
41155
+ text: this.keyValue == "" ? "" : this.text,
41156
+ keyValue: this.keyValue,
41157
+ value: this.value,
41158
+ title: this.title,
41159
+ styleIndex: this.styleIndex,
41160
+ tipText: this.tipText,
41161
+ labelText: this.labelText,
41162
+ isAllowDelete: this.isAllowDelete,
41163
+ isReadOnly: this.isReadOnly,
41164
+ mutexSelect: this.mutexSelect,
41165
+ allowMultiSelect: this.allowMultiSelect,
41166
+ readType: this.readType,
41167
+ downLists: downLists,
41168
+ dataSource: this.bandDataSource,
41169
+ remark: this.remark,
41170
+ customProperty: this.customProperty
41171
+ };
41172
+ }
41173
+
41174
+ var parentid = "";
41175
+
41176
+ if (this.parentNode && this.parentNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_24__/* .TextInputFieldNode */ .re) {
41177
+ parentid = this.parentNode.id;
41178
+ }
41179
+
41038
41180
  var retObj = {
41039
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
41181
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_22__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_22__/* .NodeType.ntControl */ .Jq.ntControl],
41040
41182
  type: "ctDownList",
41041
- //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DL") : this.id,
41042
41183
  id: this.id,
41043
- //dataId: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DownList") : this.dataId,
41184
+ parentId: parentid,
41044
41185
  dataId: this.dataId,
41045
41186
  innerIdentifier: this.innerIdentifier,
41046
41187
  dataMetaIdentifier: this.dataMetaIdentifier,
@@ -41049,6 +41190,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
41049
41190
  name: this.name,
41050
41191
  text: this.keyValue == "" ? "" : this.text,
41051
41192
  keyValue: this.keyValue,
41193
+ value: this.value,
41052
41194
  title: this.title,
41053
41195
  styleIndex: this.styleIndex,
41054
41196
  tipText: this.tipText,
@@ -41063,11 +41205,6 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
41063
41205
  remark: this.remark,
41064
41206
  customProperty: this.customProperty
41065
41207
  };
41066
-
41067
- if (isCopy) {
41068
- return retObj;
41069
- }
41070
-
41071
41208
  var paga = {
41072
41209
  "DownListNode": retObj
41073
41210
  };
@@ -41084,7 +41221,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
41084
41221
  this.transType(json);
41085
41222
 
41086
41223
  if (isPaste) {
41087
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
41224
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_20__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
41088
41225
 
41089
41226
  if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
41090
41227
  //json.id = hoEditorFactory.gernerateCode.generateID("DL");
@@ -41096,21 +41233,28 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
41096
41233
  json.isReadOnly = !json.isReadOnly ? false : json.isReadOnly;
41097
41234
  json.mutexSelect = !json.mutexSelect ? false : json.mutexSelect;
41098
41235
  json.allowMultiSelect = !json.allowMultiSelect ? false : json.allowMultiSelect;
41099
- json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType */ .C[json.type]);
41236
+ json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_23__/* .ControlType */ .C[json.type]);
41100
41237
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
41101
41238
  json.readType = json.readType ? Number(json.readType) : -1;
41102
41239
  var downListContent = [];
41240
+ var value = [];
41241
+ var text = json.text.split(",");
41103
41242
 
41104
41243
  for (var i = 0; i < json.downLists.item.length; i++) {
41105
41244
  downListContent.push(json.downLists.item[i]);
41245
+
41246
+ if (text.includes(json.downLists.item[i].text)) {
41247
+ value.push(json.downLists.item[i].value);
41248
+ }
41106
41249
  }
41107
41250
 
41108
- return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
41251
+ json.value = value.join(",");
41252
+ return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_22__/* .NodeType.ntControl */ .Jq.ntControl, json, downListContent, Number(json.styleIndex));
41109
41253
  }
41110
41254
  }]);
41111
41255
 
41112
41256
  return DownListNode;
41113
- }(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlNode */ .w);
41257
+ }(_ControlNode__WEBPACK_IMPORTED_MODULE_23__/* .ControlNode */ .w);
41114
41258
 
41115
41259
  /***/ }),
41116
41260
 
@@ -41267,7 +41411,7 @@ var FetalHeartMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
41267
41411
  // cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
41268
41412
  // }
41269
41413
 
41270
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
41414
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
41271
41415
  var bIsInsert = startIndex < 0;
41272
41416
  var arrValues = [this._value1, this._value2, this._value3, this._value4, this._value5, this._value6];
41273
41417
  var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_6__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, "fetalHeart", arrValues, cbStyle, dHeight * 3, 80);
@@ -41492,7 +41636,7 @@ var GestationNode = /*#__PURE__*/function (_ControlNode) {
41492
41636
 
41493
41637
  this.dStyleKey = cbStyle.getStyleKey();
41494
41638
  this.dColor = cbStyle.color;
41495
- this.dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
41639
+ this.dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
41496
41640
  this.dCombineStyle = cbStyle;
41497
41641
  } //根据可放置的宽度,将普通组件转换成绘制组件
41498
41642
 
@@ -42097,7 +42241,7 @@ var LabelNode = /*#__PURE__*/function (_ControlNode) {
42097
42241
  this.styleIndex = 0;
42098
42242
  }
42099
42243
 
42100
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
42244
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
42101
42245
  var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_6__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
42102
42246
 
42103
42247
  this._drawNodes.push(dNode);
@@ -42379,7 +42523,7 @@ var LightLocationMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
42379
42523
  // cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
42380
42524
  // }
42381
42525
 
42382
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
42526
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
42383
42527
  var bIsInsert = startIndex < 0;
42384
42528
  var arrValues = [this._value1, this._value2, this._value3, this._value4, this._value5, this._value6, this._value7, this._value8, this._value9];
42385
42529
  var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_6__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, "lightLocation", arrValues, cbStyle, dHeight * 3, 50);
@@ -42718,7 +42862,7 @@ var MarkNode = /*#__PURE__*/function (_BaseNode) {
42718
42862
 
42719
42863
  this._dStyleKey = cbStyle.getStyleKey();
42720
42864
  this._dColor = "#838586";
42721
- this._dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
42865
+ this._dHeight = hoEditorFactorys.getFontHeightByFontSize(cbStyle.size);
42722
42866
  this._dCombineStyle = cbStyle;
42723
42867
  }
42724
42868
  }, {
@@ -43275,7 +43419,7 @@ var MenstrualHistoryNode = /*#__PURE__*/function (_MedicalExpressionNod) {
43275
43419
  // cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
43276
43420
  // }
43277
43421
 
43278
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
43422
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
43279
43423
  var lineHight = dHeight;
43280
43424
 
43281
43425
  if (this._expressStyle === ExpressStyle.style1 || this._expressStyle === ExpressStyle.style3) {
@@ -44615,7 +44759,7 @@ var PermanentTeethMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
44615
44759
  // cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
44616
44760
  // }
44617
44761
 
44618
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
44762
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
44619
44763
  var bIsInsert = startIndex < 0;
44620
44764
  var arrValues = [this._topLeftSelected.join(","), this._topRightSelected.join(","), this._bottomLeftSelected.join(","), this._bottomRightSelected.join(",")];
44621
44765
  var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_11__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, "permanentTeeth", arrValues, cbStyle, dHeight * 2, 100);
@@ -44841,7 +44985,7 @@ var PrimaryTeethMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
44841
44985
  // cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
44842
44986
  // }
44843
44987
 
44844
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
44988
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
44845
44989
  var dWidth = 200;
44846
44990
  var bIsInsert = startIndex < 0;
44847
44991
  var arrValues = [this._topLeftSelected.join(","), this._topRightSelected.join(","), this._bottomLeftSelected.join(","), this._bottomRightSelected.join(",")];
@@ -45084,7 +45228,7 @@ var PupilMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
45084
45228
  // cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
45085
45229
  // }
45086
45230
 
45087
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
45231
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
45088
45232
  var bIsInsert = startIndex < 0;
45089
45233
  var arrValues = [this._value1, this._value2, this._value3, this._value4, this._value5, this._value6, this._value7];
45090
45234
  var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_6__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, "pupilMap", arrValues, cbStyle, dHeight * 3, 50);
@@ -45623,7 +45767,7 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
45623
45767
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99640);
45624
45768
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28214);
45625
45769
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35671);
45626
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(22342);
45770
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(22342);
45627
45771
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
45628
45772
  /* 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__);
45629
45773
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
@@ -45643,6 +45787,8 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
45643
45787
  /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(41005);
45644
45788
  /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(50369);
45645
45789
  /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(8395);
45790
+ /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(34565);
45791
+
45646
45792
 
45647
45793
 
45648
45794
 
@@ -45699,7 +45845,7 @@ var BandDataSource = /*#__PURE__*/function () {
45699
45845
  this.execState = ""; //执行状态
45700
45846
  }
45701
45847
 
45702
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z)(BandDataSource, [{
45848
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z)(BandDataSource, [{
45703
45849
  key: "DataSourceEnabled",
45704
45850
  get: function get() {
45705
45851
  return this.dataSourceEnabled;
@@ -45797,7 +45943,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
45797
45943
  RadioAndCheckBoxInstance.makeDefaultValue(this);
45798
45944
  }
45799
45945
 
45800
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z)(RadioAndCheckBoxInstance, [{
45946
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z)(RadioAndCheckBoxInstance, [{
45801
45947
  key: "Id",
45802
45948
  get: function get() {
45803
45949
  return this.id;
@@ -46153,7 +46299,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
46153
46299
  return _this;
46154
46300
  }
46155
46301
 
46156
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z)(RadioAndCheckBoxNode, [{
46302
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z)(RadioAndCheckBoxNode, [{
46157
46303
  key: "setValuesObject",
46158
46304
  value: function setValuesObject(valuesObject) {
46159
46305
  var valuesObj = eval("(" + valuesObject + ")");
@@ -46423,7 +46569,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
46423
46569
  this.styleIndex = 0;
46424
46570
  }
46425
46571
 
46426
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
46572
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
46427
46573
  var dNode = new _editor_draw_drawNode_DrawRadioAndCheckBox__WEBPACK_IMPORTED_MODULE_10__/* .DrawRadioAndCheckBox */ .e(this._hoEditorFactoryID, this._rootPath, this, 0, this.controlStyle, this.name, this.isSelected, this.boxAlign, this.numericValue, dHeight, cbStyle);
46428
46574
 
46429
46575
  this._drawNodes.push(dNode);
@@ -46509,17 +46655,51 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
46509
46655
  }, {
46510
46656
  key: "node2Json",
46511
46657
  value: function node2Json(range, isCopy, type) {
46512
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_14__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
46513
46658
  var name = "";
46514
46659
  if (this.controlStyle === "RadioBox") name = "RB";
46515
46660
  if (this.controlStyle === "CheckBox") name = "CB";
46661
+
46662
+ if (isCopy) {
46663
+ return {
46664
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType.ntControl */ .Jq.ntControl],
46665
+ type: "ctRadioAndCheckBox",
46666
+ controlStyle: this.controlStyle,
46667
+ id: this.id,
46668
+ dataId: this.dataId,
46669
+ name: this.name,
46670
+ text: this.text,
46671
+ title: this.title,
46672
+ styleIndex: this.styleIndex,
46673
+ checkCascadeObject: this.checkCascadeObject,
46674
+ unCheckCascadeObject: this.unCheckCascadeObject,
46675
+ tipText: this.tipText,
46676
+ isAllowDelete: this.isAllowDelete,
46677
+ groupName: this.groupName,
46678
+ isSelected: this.isSelected,
46679
+ boxAlign: this.boxAlign,
46680
+ numericValue: this.numericValue,
46681
+ additionalData: this.additionalData,
46682
+ isTransToText: this.isTransToText,
46683
+ isEditText: this.isEditText,
46684
+ appendText: this.appendText,
46685
+ readType: this.readType,
46686
+ bandDataSource: this.bandDataSource,
46687
+ remark: this.remark
46688
+ };
46689
+ }
46690
+
46691
+ var parentid = "";
46692
+
46693
+ if (this.parentNode && this.parentNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_17__/* .TextInputFieldNode */ .re) {
46694
+ parentid = this.parentNode.id;
46695
+ }
46696
+
46516
46697
  var retObj = {
46517
46698
  nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType.ntControl */ .Jq.ntControl],
46518
46699
  type: "ctRadioAndCheckBox",
46519
46700
  controlStyle: this.controlStyle,
46520
- //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID(name) : this.id,
46521
46701
  id: this.id,
46522
- //dataId: type === "copy" ? hoEditorFactory.gernerateCode.generateID(this.controlStyle) : this.dataId,
46702
+ parentId: parentid,
46523
46703
  dataId: this.dataId,
46524
46704
  name: this.name,
46525
46705
  text: this.text,
@@ -46541,11 +46721,6 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
46541
46721
  bandDataSource: this.bandDataSource,
46542
46722
  remark: this.remark
46543
46723
  };
46544
-
46545
- if (isCopy) {
46546
- return retObj;
46547
- }
46548
-
46549
46724
  var paga = {
46550
46725
  "RadioAndCheckBoxNode": retObj
46551
46726
  };
@@ -47502,7 +47677,7 @@ var SpecialCharsNode = /*#__PURE__*/function (_ControlNode) {
47502
47677
 
47503
47678
  this.dStyleKey = cbStyle.getStyleKey();
47504
47679
  this.dColor = cbStyle.color;
47505
- this.dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
47680
+ this.dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
47506
47681
  this.dCombineStyle = cbStyle;
47507
47682
  }
47508
47683
  }, {
@@ -47899,7 +48074,7 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
47899
48074
 
47900
48075
  this.dStyleKey = cbStyle.getStyleKey();
47901
48076
  this.dColor = cbStyle.color;
47902
- this.dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
48077
+ this.dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
47903
48078
  this.dCombineStyle = cbStyle;
47904
48079
  }
47905
48080
  }, {
@@ -51774,7 +51949,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
51774
51949
  for (var s = 0; s < cellNodes.length; s++) {
51775
51950
  var _node = cellNodes[s];
51776
51951
 
51777
- if (_node && JSON.stringify(_node) !== "{}") {
51952
+ if (_node && _node.nodeType) {
51778
51953
  var _rowNo = parseInt(_node.rowNo);
51779
51954
 
51780
51955
  var colNo = parseInt(_node.colNo);
@@ -51883,7 +52058,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
51883
52058
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(99640);
51884
52059
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28214);
51885
52060
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(35671);
51886
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(22342);
52061
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(22342);
51887
52062
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(68309);
51888
52063
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__);
51889
52064
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(41539);
@@ -51896,53 +52071,56 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
51896
52071
  /* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_14__);
51897
52072
  /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(38862);
51898
52073
  /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_15__);
51899
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(26699);
51900
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_16__);
51901
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(32023);
51902
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_17__);
51903
- /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(40561);
51904
- /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_18__);
51905
- /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(19601);
51906
- /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_19__);
51907
- /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(92222);
51908
- /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_20__);
51909
- /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(9653);
51910
- /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_21__);
51911
- /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(21703);
51912
- /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_22__);
51913
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(74916);
51914
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_23__);
51915
- /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(23123);
51916
- /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_24__);
51917
- /* harmony import */ var _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(94407);
51918
- /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(24093);
51919
- /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(1470);
51920
- /* harmony import */ var _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(94290);
51921
- /* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(88702);
51922
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(34534);
51923
- /* harmony import */ var _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(12019);
51924
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(41005);
51925
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(23375);
51926
- /* harmony import */ var _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(74163);
51927
- /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(66828);
51928
- /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(2242);
51929
- /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(8);
51930
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(50369);
51931
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(8395);
51932
- /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(36395);
51933
- /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(50161);
51934
- /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(84844);
51935
- /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(15868);
51936
- /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(8623);
51937
- /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(97724);
51938
- /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(14208);
51939
- /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(85028);
51940
- /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(91715);
51941
- /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(43010);
51942
- /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(34450);
51943
- /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(39869);
51944
- /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(95883);
51945
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(91538);
52074
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(74916);
52075
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__);
52076
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(23123);
52077
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17__);
52078
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26699);
52079
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18__);
52080
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(32023);
52081
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__);
52082
+ /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(69600);
52083
+ /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_20__);
52084
+ /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(40561);
52085
+ /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_21__);
52086
+ /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(19601);
52087
+ /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_22__);
52088
+ /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(92222);
52089
+ /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_23__);
52090
+ /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(9653);
52091
+ /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__);
52092
+ /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(21703);
52093
+ /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_25__);
52094
+ /* harmony import */ var _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(94407);
52095
+ /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(24093);
52096
+ /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(1470);
52097
+ /* harmony import */ var _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(94290);
52098
+ /* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(88702);
52099
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(34534);
52100
+ /* harmony import */ var _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(12019);
52101
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(41005);
52102
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(23375);
52103
+ /* harmony import */ var _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(74163);
52104
+ /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(66828);
52105
+ /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(2242);
52106
+ /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(8);
52107
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(50369);
52108
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(8395);
52109
+ /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(36395);
52110
+ /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(50161);
52111
+ /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(84844);
52112
+ /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(15868);
52113
+ /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(8623);
52114
+ /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(97724);
52115
+ /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(14208);
52116
+ /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(85028);
52117
+ /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(91715);
52118
+ /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(43010);
52119
+ /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(34450);
52120
+ /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(39869);
52121
+ /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(95883);
52122
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(91538);
52123
+
51946
52124
 
51947
52125
 
51948
52126
 
@@ -51973,7 +52151,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
51973
52151
  /*
51974
52152
  * @Author: your name
51975
52153
  * @Date: 2020-11-03 15:17:54
51976
- * @LastEditTime: 2022-09-29 15:51:21
52154
+ * @LastEditTime: 2022-10-12 08:53:30
51977
52155
  * @LastEditors: liyanan 2441631434@qq.com
51978
52156
  * @Description: In User Settings Edit
51979
52157
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -52063,7 +52241,7 @@ var DownListProperty = /*#__PURE__*/function () {
52063
52241
  DownListProperty.setDefaultImportStyle(this);
52064
52242
  }
52065
52243
 
52066
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_54__/* ["default"] */ .Z)(DownListProperty, [{
52244
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_55__/* ["default"] */ .Z)(DownListProperty, [{
52067
52245
  key: "allowMultiSelected",
52068
52246
  get: function get() {
52069
52247
  return this._allowMultiSelected;
@@ -52158,7 +52336,7 @@ var DataVerifyFormat = /*#__PURE__*/function () {
52158
52336
  DataVerifyFormat.setDefaultDataVerifyFormat(this);
52159
52337
  }
52160
52338
 
52161
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_54__/* ["default"] */ .Z)(DataVerifyFormat, [{
52339
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_55__/* ["default"] */ .Z)(DataVerifyFormat, [{
52162
52340
  key: "mustInputValue",
52163
52341
  get: function get() {
52164
52342
  return this._mustInputValue;
@@ -52266,7 +52444,7 @@ var BandDataSource = /*#__PURE__*/function () {
52266
52444
  BandDataSource.setDefaultBandDataSource(this);
52267
52445
  }
52268
52446
 
52269
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_54__/* ["default"] */ .Z)(BandDataSource, [{
52447
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_55__/* ["default"] */ .Z)(BandDataSource, [{
52270
52448
  key: "dataSourceEnabled",
52271
52449
  get: function get() {
52272
52450
  return this._dataSourceEnabled;
@@ -52389,6 +52567,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52389
52567
 
52390
52568
  _this._keyValue = ""; //选中项的key值
52391
52569
 
52570
+ _this._value = ""; //选中项的value值
52571
+
52392
52572
  _this._childNodes2 = []; //this._importStyle = new ImportStyle();
52393
52573
 
52394
52574
  _this._downListProperty = new DownListProperty();
@@ -52469,7 +52649,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52469
52649
  }
52470
52650
 
52471
52651
  if (!_this._dataId) {
52472
- _this._dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("Field");
52652
+ _this._dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("Field");
52473
52653
  } // const serialID = valuesObj["serialID"];
52474
52654
  // let name = "";
52475
52655
  // let readOnlyStatus = ReadOnlyStatus.false;
@@ -52540,7 +52720,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52540
52720
  */
52541
52721
 
52542
52722
 
52543
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_54__/* ["default"] */ .Z)(TextInputFieldNode, [{
52723
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_55__/* ["default"] */ .Z)(TextInputFieldNode, [{
52544
52724
  key: "alignWithBlocked",
52545
52725
  get: function get() {
52546
52726
  return this._alignWithBlocked;
@@ -52585,8 +52765,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52585
52765
  }, {
52586
52766
  key: "mouseEvent",
52587
52767
  value: function mouseEvent(event) {
52588
- if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_28__/* .DmouseEventType.detOver */ .p.detOver) this.activity(true);
52589
- if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_28__/* .DmouseEventType.detOut */ .p.detOut) this.activity(false);
52768
+ if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_29__/* .DmouseEventType.detOver */ .p.detOver) this.activity(true);
52769
+ if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_29__/* .DmouseEventType.detOut */ .p.detOut) this.activity(false);
52590
52770
  } // public activity(active: boolean) {
52591
52771
  // if (active) {
52592
52772
  // if (this.StartMarkNode.alpha != 1) {
@@ -52856,6 +53036,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52856
53036
  this._keyValue = val;
52857
53037
  }
52858
53038
  }
53039
+ }, {
53040
+ key: "value",
53041
+ get: function get() {
53042
+ return this._value;
53043
+ },
53044
+ set: function set(val) {
53045
+ if (this._value !== val) {
53046
+ this._value = val;
53047
+ }
53048
+ }
52859
53049
  }, {
52860
53050
  key: "generateInnerCode",
52861
53051
  value: function generateInnerCode() {
@@ -52886,7 +53076,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52886
53076
  value: function update(mode) {
52887
53077
  var _this2 = this;
52888
53078
 
52889
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53079
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
52890
53080
  /**
52891
53081
  * 内容为空,显示一个点位符
52892
53082
  */
@@ -52912,9 +53102,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52912
53102
  case 0:
52913
53103
  //由于在表格在放置输入域后会在绘制时触发输入域重绘,此时表格还未放置于舞台,造成报错,故暂时禁用此函数
52914
53104
  //熊跃龙 2021-03-19
52915
- changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_30__/* .NodeChangeEvent */ .G(_this2.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_33__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, path1 || startPath, path2 || endPath);
53105
+ changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_31__/* .NodeChangeEvent */ .G(_this2.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_34__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, path1 || startPath, path2 || endPath);
52916
53106
  changeEvent.oldEndPath = path2 || endPath;
52917
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__/* .SelectRange */ .E(_this2.hoEditorFactoryID).getRangeDrawLines(path1 || startPath, path2 || endPath, true);
53107
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_28__/* .SelectRange */ .E(_this2.hoEditorFactoryID).getRangeDrawLines(path1 || startPath, path2 || endPath, true);
52918
53108
  _context.next = 5;
52919
53109
  return hoEditorFactory.docTree.change(changeEvent);
52920
53110
 
@@ -52938,11 +53128,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52938
53128
 
52939
53129
  if (mode == 0) {
52940
53130
  var prev = first.previousLeaf();
52941
- if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_29__/* .Exception.NodeNotFound */ .P.NodeNotFound();
53131
+ if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_30__/* .Exception.NodeNotFound */ .P.NodeNotFound();
52942
53132
  refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
52943
53133
  setTimeout(function () {
52944
53134
  prev = first.previousLeaf();
52945
- if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_29__/* .Exception.NodeNotFound */ .P.NodeNotFound();
53135
+ if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_30__/* .Exception.NodeNotFound */ .P.NodeNotFound();
52946
53136
  refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
52947
53137
  }, 200);
52948
53138
  return; //执行完后自行退出
@@ -52985,7 +53175,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52985
53175
 
52986
53176
  if (this.StartMarkNode.drawNodes.length > 0 && this.EndMarkNode.drawNodes.length > 0) {
52987
53177
  //不空,还原
52988
- var bInSameLine = _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_25__/* .DrawLine.inSameLine */ .a.inSameLine(this.StartMarkNode.drawNodes[0], this.EndMarkNode.drawNodes[0]);
53178
+ var bInSameLine = _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_26__/* .DrawLine.inSameLine */ .a.inSameLine(this.StartMarkNode.drawNodes[0], this.EndMarkNode.drawNodes[0]);
52989
53179
 
52990
53180
  if (fixWidthPix == 0 || !bInSameLine || usedWidth >= maxEmptWidth) {
52991
53181
  if (this.isEmpty()) lastWidth = 0;else lastWidth = 0;
@@ -52999,7 +53189,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
52999
53189
  var _prev = last.previousLeaf();
53000
53190
 
53001
53191
  if (!_prev) {
53002
- throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_29__/* .Exception.NodeNotFound */ .P.NodeNotFound();
53192
+ throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_30__/* .Exception.NodeNotFound */ .P.NodeNotFound();
53003
53193
  }
53004
53194
 
53005
53195
  startPath = hoEditorFactory.docTree.getNodeLastPath(_prev);
@@ -53032,8 +53222,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53032
53222
  var loopChildNodes = function loopChildNodes(node) {
53033
53223
  var nodes = node.childNodes.slice(1);
53034
53224
  nodes.forEach(function (childNode) {
53035
- if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R) {
53036
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3.hoEditorFactoryID);
53225
+ if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R) {
53226
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3.hoEditorFactoryID);
53037
53227
  var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
53038
53228
 
53039
53229
  if (!textStyle) {
@@ -53050,27 +53240,27 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53050
53240
  text += childNode.text;
53051
53241
  }
53052
53242
  }
53053
- } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_39__/* .ControlNode */ .w) {
53054
- if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_40__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
53243
+ } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_40__/* .ControlNode */ .w) {
53244
+ if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_41__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
53055
53245
  text += "";
53056
53246
  } else {
53057
53247
  text += childNode.text;
53058
53248
  }
53059
- } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_37__/* .BaseCombineNode */ .V) {
53249
+ } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_38__/* .BaseCombineNode */ .V) {
53060
53250
  loopChildNodes(childNode);
53061
- } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_46__/* .ParagraphNode */ .C) {
53251
+ } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_47__/* .ParagraphNode */ .C) {
53062
53252
  text += '\n';
53063
- } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_44__/* .MedicalExpressionNode */ .H) {
53253
+ } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_45__/* .MedicalExpressionNode */ .H) {
53064
53254
  var expressJson = JSON.parse("{}");
53065
53255
  text += "<MedicalExpress>";
53066
53256
 
53067
- if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_45__/* .MenstrualHistoryNode */ .n) {
53257
+ if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_46__/* .MenstrualHistoryNode */ .n) {
53068
53258
  expressJson.expressStyle = childNode.expressStyle;
53069
53259
  expressJson.menseDays = childNode.menseDays;
53070
53260
  expressJson.cycleDays = childNode.cycleDays;
53071
53261
  expressJson.menarcheAge = childNode.menarcheAge;
53072
53262
  expressJson.menoPauseAge = childNode.menoPauseAge;
53073
- } else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_49__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_42__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_41__/* .FetalHeartMapNode */ .t) {
53263
+ } else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_50__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_43__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_42__/* .FetalHeartMapNode */ .t) {
53074
53264
  expressJson.value1 = childNode.value1;
53075
53265
  expressJson.value2 = childNode.value2;
53076
53266
  expressJson.value3 = childNode.value3;
@@ -53078,10 +53268,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53078
53268
  expressJson.value5 = childNode.value5;
53079
53269
  expressJson.value6 = childNode.value6;
53080
53270
 
53081
- if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_49__/* .PupilMapNode */ .v) {
53271
+ if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_50__/* .PupilMapNode */ .v) {
53082
53272
  expressJson.expressStyle = "PupilMapNode";
53083
53273
  expressJson.value7 = childNode.value7;
53084
- } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_42__/* .LightLocationMapNode */ .D) {
53274
+ } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_43__/* .LightLocationMapNode */ .D) {
53085
53275
  expressJson.expressStyle = "LightLocationMapNode";
53086
53276
  expressJson.value7 = childNode.value7;
53087
53277
  expressJson.value8 = childNode.value8;
@@ -53089,12 +53279,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53089
53279
  } else {
53090
53280
  expressJson.expressStyle = "FetalHeartMapNode";
53091
53281
  }
53092
- } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PrimaryTeethMapNode */ .x) {
53093
- if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PermanentTeethMapNode */ .f) {
53282
+ } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_49__/* .PrimaryTeethMapNode */ .x) {
53283
+ if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PermanentTeethMapNode */ .f) {
53094
53284
  expressJson.expressStyle = "PermanentTeethMapNode";
53095
53285
  }
53096
53286
 
53097
- if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PrimaryTeethMapNode */ .x) {
53287
+ if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_49__/* .PrimaryTeethMapNode */ .x) {
53098
53288
  expressJson.expressStyle = "PrimaryTeethMapNode";
53099
53289
  }
53100
53290
 
@@ -53120,24 +53310,31 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53120
53310
  listItems = Array(JSON.parse(downListProperty.listItems));
53121
53311
  }
53122
53312
 
53313
+ var value = [];
53314
+ var keyValue = this.keyValue.split(",");
53315
+
53123
53316
  for (var i = 0; i < listItems.length; i++) {
53124
53317
  var listItem = listItems[i];
53125
53318
 
53126
- if (listItem.id === this.keyValue) {
53127
- if (listItem.text.includes("<元素>")) {
53128
- var index = listItem.text.indexOf("<元素>");
53129
- text = listItem.text.substring(0, index);
53130
- }
53319
+ if (keyValue.includes(listItem.id)) {
53320
+ var index = listItem.text.indexOf("<元素>");
53321
+ text += index === -1 ? listItem.text : listItem.text.substring(0, index);
53322
+ }
53323
+
53324
+ if (keyValue.includes(listItem.id)) {
53325
+ String(listItem.value) && value.push(listItem.value);
53131
53326
  }
53132
53327
  }
53328
+
53329
+ this.value = value.join(",");
53133
53330
  }
53134
53331
  }
53135
53332
 
53136
53333
  if (text === "") {
53137
53334
  loopChildNodes(this);
53138
- } //loopChildNodes(this);
53139
-
53335
+ }
53140
53336
 
53337
+ //loopChildNodes(this);
53141
53338
  return text;
53142
53339
  }
53143
53340
  }, {
@@ -53157,7 +53354,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53157
53354
  this.keyValue = keyValue;
53158
53355
  }
53159
53356
 
53160
- if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j)) {
53357
+ if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j)) {
53161
53358
  _context2.next = 4;
53162
53359
  break;
53163
53360
  }
@@ -53167,13 +53364,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53167
53364
  case 4:
53168
53365
  oldValue = this._canModifyContent.valueOf();
53169
53366
  this._canModifyContent = true;
53170
- hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53367
+ hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53171
53368
  startPath = this.StartMarkNode.getNodePath();
53172
53369
  endPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]);
53173
- aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_35__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
53370
+ aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_36__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
53174
53371
 
53175
- if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j) && this.inputFieldType === 0) {
53176
- anodes = _DomRange__WEBPACK_IMPORTED_MODULE_35__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
53372
+ if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j) && this.inputFieldType === 0) {
53373
+ anodes = _DomRange__WEBPACK_IMPORTED_MODULE_36__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
53177
53374
 
53178
53375
  for (i = 0; i < anodes.length; i++) {
53179
53376
  anode = anodes[i];
@@ -53191,9 +53388,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53191
53388
  break;
53192
53389
  }
53193
53390
 
53194
- markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtContent */ .q.mtContent);
53391
+ markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtContent */ .q.mtContent);
53195
53392
  hoEditorFactory.undoService.begin();
53196
- hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_31__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
53393
+ hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_32__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
53197
53394
  hoEditorFactory.undoService.commit();
53198
53395
 
53199
53396
  if (this._childNodes2.length === 3) {
@@ -53259,10 +53456,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53259
53456
  value: function node2DrawNodeRange(startIndex, endIndex) {
53260
53457
  this.childNodes.length = 0;
53261
53458
  this._childNodes2.length = 0;
53262
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53459
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53263
53460
  var curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
53264
53461
  var cbStyle = hoEditorFactory.docTree.styles[curStyleIndex].combineStyle;
53265
- var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
53462
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
53266
53463
  var istart = Math.max(startIndex, 0);
53267
53464
  var iend = Math.min(endIndex, this.text.length - 1);
53268
53465
  var astyle = hoEditorFactory.docTree.styles[0];
@@ -53270,19 +53467,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53270
53467
  // index = astyle.changeStyleString("fontBackColor", "transparent");
53271
53468
  // }
53272
53469
 
53273
- this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMark */ .Jq.ntMark, "|", index, _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtStart */ .q.mtStart);
53470
+ this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMark */ .Jq.ntMark, "|", index, _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtStart */ .q.mtStart);
53274
53471
  this.StartMarkNode.isReadOnly = true;
53275
- this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtStart */ .q.mtStart;
53276
- this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMark */ .Jq.ntMark, "]", index, _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtEnd */ .q.mtEnd);
53472
+ this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtStart */ .q.mtStart;
53473
+ this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMark */ .Jq.ntMark, "]", index, _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtEnd */ .q.mtEnd);
53277
53474
  this.EndMarkNode.isReadOnly = true;
53278
- this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtEnd */ .q.mtEnd;
53475
+ this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtEnd */ .q.mtEnd;
53279
53476
  this.StartMarkNode.pair = this.EndMarkNode;
53280
53477
  this.EndMarkNode.pair = this.StartMarkNode;
53281
53478
 
53282
53479
  this._childNodes2.push(this.StartMarkNode);
53283
53480
 
53284
53481
  if (this.labelText.length != 0) {
53285
- this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtContent */ .q.mtContent)); // this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
53482
+ this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtContent */ .q.mtContent)); // this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
53286
53483
  // this._childNodes2.push(this._labelNode);
53287
53484
 
53288
53485
  }
@@ -53296,7 +53493,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53296
53493
  this.childNodes.splice(1, 1);
53297
53494
  }
53298
53495
 
53299
- this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, this.text, index));
53496
+ this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, this.text, index));
53300
53497
  }
53301
53498
  }
53302
53499
  }, {
@@ -53332,16 +53529,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53332
53529
  return dline;
53333
53530
  }
53334
53531
 
53335
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53532
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53336
53533
  var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
53337
53534
  var isEnd = false;
53338
53535
 
53339
53536
  for (var index = 0; index < this.childNodes.length; index++) {
53340
53537
  var value = this.childNodes[index];
53341
53538
 
53342
- if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_46__/* .ParagraphNode */ .C) {
53539
+ if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_47__/* .ParagraphNode */ .C) {
53343
53540
  if (aline.paragraphNode !== value) {
53344
- if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_25__/* .DrawLine */ .a) {
53541
+ if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_26__/* .DrawLine */ .a) {
53345
53542
  aline.fitLines();
53346
53543
  aline.updateLineStyle();
53347
53544
  }
@@ -53356,7 +53553,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53356
53553
 
53357
53554
  paraNode = value;
53358
53555
  aline = paraNode.drawlines[0];
53359
- } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_52__/* .TableNode */ .Fh) {
53556
+ } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_53__/* .TableNode */ .Fh) {
53360
53557
  value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
53361
53558
  aline = value.drawTable;
53362
53559
  } else {
@@ -53369,7 +53566,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53369
53566
  }
53370
53567
 
53371
53568
  var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
53372
- var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_36__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
53569
+ var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_37__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
53373
53570
 
53374
53571
  if (cresult <= 0) {
53375
53572
  break;
@@ -53379,7 +53576,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53379
53576
  aline.fitLines();
53380
53577
  aline.updateLineStyle();
53381
53578
 
53382
- if (dline === aline && aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_25__/* .DrawLine */ .a) {
53579
+ if (dline === aline && aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_26__/* .DrawLine */ .a) {
53383
53580
  this._text = this.getFieldText();
53384
53581
  var fixWidthPix = hoEditorFactory.unitConvert.mmConversionPx(this.fixedWidth * 10, true);
53385
53582
  var restWidth = aline.dWidth - aline.paragraphNode.combineParagraph.leftMarginPixes - aline.paragraphNode.combineParagraph.rightMarginPixes - this.StartMarkNode.drawNodes[0].x; //const maxEmptWidth = Math.min(aline.calcRestWidth(), fixWidthPix);
@@ -53429,9 +53626,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53429
53626
  }, {
53430
53627
  key: "getReadyToEdit",
53431
53628
  value: function getReadyToEdit(callback) {
53432
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
53629
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
53433
53630
 
53434
- if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__/* .PaintState.psDesign */ .Dh.psDesign) {
53631
+ if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psDesign */ .Dh.psDesign) {
53435
53632
  return [false, ""];
53436
53633
  }
53437
53634
 
@@ -53439,8 +53636,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53439
53636
 
53440
53637
  if (label) {
53441
53638
  var prev = label.previousLeaf();
53442
- if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_29__/* .Exception.NodeNotFound */ .P.NodeNotFound();
53443
- var path = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(prev);
53639
+ if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_30__/* .Exception.NodeNotFound */ .P.NodeNotFound();
53640
+ var path = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(prev);
53444
53641
  if (callback) callback(label);
53445
53642
  return [true, path];
53446
53643
  }
@@ -53466,16 +53663,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53466
53663
  value: function getActualWidth() {
53467
53664
  var w = 0;
53468
53665
  this.childNodes.forEach(function (value) {
53469
- if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_46__/* .ParagraphNode */ .C)) w += value.getActualWidth();
53666
+ if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_47__/* .ParagraphNode */ .C)) w += value.getActualWidth();
53470
53667
  });
53471
53668
  return w;
53472
53669
  }
53473
53670
  }, {
53474
53671
  key: "delete",
53475
53672
  value: function _delete(operType) {
53476
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
53673
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
53477
53674
 
53478
- if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__/* .PaintState.psDesign */ .Dh.psDesign || this.isAllowDelete) {
53675
+ if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psDesign */ .Dh.psDesign || this.isAllowDelete) {
53479
53676
  return (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(TextInputFieldNode.prototype), "delete", this).call(this);
53480
53677
  } else {
53481
53678
  if (operType !== "update") {
@@ -53509,7 +53706,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53509
53706
  return false;
53510
53707
  } else {
53511
53708
  for (var i = 0; i++; i < this.childNodes.length) {
53512
- if (this.childNodes[i] instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_37__/* .BaseCombineNode */ .V) {
53709
+ if (this.childNodes[i] instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_38__/* .BaseCombineNode */ .V) {
53513
53710
  if (this.childNodes[i].removeChild(node)) return true;
53514
53711
  }
53515
53712
  }
@@ -53529,10 +53726,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53529
53726
  return true;
53530
53727
  }
53531
53728
 
53532
- if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j) {
53729
+ if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j) {
53533
53730
  var markNode = this.childNodes[1];
53534
53731
 
53535
- if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtContent */ .q.mtContent) {
53732
+ if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtContent */ .q.mtContent) {
53536
53733
  return true;
53537
53734
  } else return false;
53538
53735
  }
@@ -53568,7 +53765,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53568
53765
 
53569
53766
  for (var i = 1; i < ilen; i++) {
53570
53767
  textInputFieldNode.insertText(arr[i].text, textInputFieldNode.text.length);
53571
- _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.deleteNode(arr[i]);
53768
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.deleteNode(arr[i]);
53572
53769
  }
53573
53770
 
53574
53771
  return textInputFieldNode;
@@ -53589,10 +53786,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53589
53786
  for (var i = 0; i < this.childNodes.length; i++) {
53590
53787
  var node = this.childNodes[i];
53591
53788
 
53592
- if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
53593
- if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_52__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
53789
+ if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
53790
+ if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_53__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
53594
53791
  childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
53595
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_50__/* .SignNode */ .N) {
53792
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_51__/* .SignNode */ .N) {
53596
53793
  if (clearSign) {
53597
53794
  if (node.isTemplate) {
53598
53795
  childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
@@ -53601,11 +53798,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53601
53798
  childArray.push(node.node2Json(undefined, isCopy));
53602
53799
  }
53603
53800
  } else {
53604
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R) {
53801
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R) {
53605
53802
  if (node.text !== "") {
53606
53803
  childArray.push(node.node2Json(undefined, isCopy));
53607
53804
  }
53608
- } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_40__/* .DateTimeNode */ .Z) {
53805
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_41__/* .DateTimeNode */ .Z) {
53609
53806
  childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
53610
53807
  } else {
53611
53808
  childArray.push(node.node2Json(undefined, isCopy));
@@ -53662,7 +53859,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53662
53859
  }
53663
53860
 
53664
53861
  if (canCopy) {
53665
- if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
53862
+ if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
53666
53863
  childArray.push(_node.node2Json(rec, isCopy));
53667
53864
  }
53668
53865
  }
@@ -53711,18 +53908,53 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53711
53908
  TempNode: childArray
53712
53909
  };
53713
53910
  }
53714
- } //childNodes = [...childArray];
53715
- //const customPropertyObj =
53716
-
53911
+ }
53717
53912
 
53718
53913
  this.text = this.getFieldText(clearSign);
53719
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53914
+
53915
+ if (isCopy) {
53916
+ return {
53917
+ nodeType: "ntField",
53918
+ inputFieldType: InputFieldType[this.inputFieldType],
53919
+ id: this.id,
53920
+ dataId: this.dataId,
53921
+ innerIdentifier: this.innerIdentifier,
53922
+ dataMetaIdentifier: this.dataMetaIdentifier,
53923
+ identifierFormat: this.identifierFormat,
53924
+ isSynchro: this.isSynchro,
53925
+ text: this.text,
53926
+ keyValue: this.keyValue,
53927
+ value: this.value,
53928
+ name: this.name,
53929
+ tipText: this.tipText,
53930
+ labelText: this.labelText,
53931
+ readOnlyStatus: this.readOnlyStatus,
53932
+ fixedWidth: this.fixedWidth,
53933
+ canModifyContent: this.canModifyContent,
53934
+ isAllowDelete: this.isAllowDelete,
53935
+ enableGlobalColor: this.enableGlobalColor,
53936
+ defaultValue: this.defaultValue,
53937
+ downListProperty: this.downListProperty,
53938
+ dataVerifyFormat: this.dataVerifyFormat,
53939
+ bandDataSource: this.bandDataSource,
53940
+ customProperty: this.customProperty,
53941
+ alignWithBlocked: this.alignWithBlocked,
53942
+ readType: this.readType,
53943
+ childNodes: childNodes
53944
+ };
53945
+ }
53946
+
53947
+ var parentid = "";
53948
+
53949
+ if (this.parentNode && this.parentNode instanceof TextInputFieldNode) {
53950
+ parentid = this.parentNode.id;
53951
+ }
53952
+
53720
53953
  var retObj = {
53721
53954
  nodeType: "ntField",
53722
53955
  inputFieldType: InputFieldType[this.inputFieldType],
53723
- //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("TF") : this.id,
53724
53956
  id: this.id,
53725
- //dataId: type === "copy" ? hoEditorFactory.gernerateCode.generateID("Field") : this.dataId,
53957
+ parentId: parentid,
53726
53958
  dataId: this.dataId,
53727
53959
  innerIdentifier: this.innerIdentifier,
53728
53960
  dataMetaIdentifier: this.dataMetaIdentifier,
@@ -53730,6 +53962,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53730
53962
  isSynchro: this.isSynchro,
53731
53963
  text: this.text,
53732
53964
  keyValue: this.keyValue,
53965
+ value: this.value,
53733
53966
  name: this.name,
53734
53967
  tipText: this.tipText,
53735
53968
  labelText: this.labelText,
@@ -53745,15 +53978,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53745
53978
  customProperty: this.customProperty,
53746
53979
  alignWithBlocked: this.alignWithBlocked,
53747
53980
  readType: this.readType,
53748
- // isMultiLinesDisplay: this.isMultiLinesDisplay,
53749
- // "childNodes": childNodes
53750
53981
  childNodes: childNodes
53751
53982
  };
53752
-
53753
- if (isCopy) {
53754
- return retObj;
53755
- }
53756
-
53757
53983
  return {
53758
53984
  "TextInputFieldNode": retObj
53759
53985
  };
@@ -53761,7 +53987,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53761
53987
  }, {
53762
53988
  key: "getLeftWidth",
53763
53989
  value: function getLeftWidth() {
53764
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53990
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
53765
53991
 
53766
53992
  if (this.alignWithBlocked && this.StartMarkNode && this.StartMarkNode.drawNodes.length > 0) {
53767
53993
  var dNode = this.StartMarkNode.drawNodes[0];
@@ -53827,7 +54053,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53827
54053
  }], [{
53828
54054
  key: "json2Node",
53829
54055
  value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode, isPaste, isClearSign) {
53830
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
54056
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
53831
54057
  delete json.nodeType;
53832
54058
  this.transType(json);
53833
54059
 
@@ -53848,7 +54074,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53848
54074
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
53849
54075
  json.readType = json.readType ? Number(json.readType) : -1; // json.isMultiLinesDisplay = !json.isMultiLinesDisplay ? false : json.isMultiLinesDisplay;
53850
54076
 
53851
- var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntField */ .Jq.ntField, json); // this.insertChild
54077
+ var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntField */ .Jq.ntField, json); // this.insertChild
53852
54078
 
53853
54079
  if (json.childNodes) {
53854
54080
  var nodes = new Array();
@@ -53860,13 +54086,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53860
54086
  var node = hoEditorFactory.structureConvert.convertNode(item[i], rootNodes, temp, undefined, undefined, isClearSign);
53861
54087
 
53862
54088
  if (node) {
53863
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R) {
54089
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R) {
53864
54090
  if (node.text !== "") {
53865
54091
  nodes.push(node);
53866
54092
  }
53867
54093
  } else {
53868
54094
  if (isClearSign) {
53869
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_50__/* .SignNode */ .N) {
54095
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_51__/* .SignNode */ .N) {
53870
54096
  if (node.isTemplate && !(node.number == 0 && node.type == 0 && node.name == "")) {
53871
54097
  nodes.push(node);
53872
54098
  }
@@ -53874,7 +54100,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53874
54100
  nodes.push(node);
53875
54101
  }
53876
54102
  } else {
53877
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_50__/* .SignNode */ .N) {
54103
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_51__/* .SignNode */ .N) {
53878
54104
  if (!(node.number == 0 && node.type == 0 && node.name == "")) {
53879
54105
  nodes.push(node);
53880
54106
  }
@@ -53885,11 +54111,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53885
54111
  }
53886
54112
  }
53887
54113
 
53888
- if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtEnd */ .q.mtEnd && node.text.substring(0, 1) === "C") {
54114
+ if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtEnd */ .q.mtEnd && node.text.substring(0, 1) === "C") {
53889
54115
  hoEditorFactory.structureConvert._markNodes.push(node);
53890
54116
  }
53891
54117
 
53892
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_50__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
54118
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_51__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
53893
54119
  hoEditorFactory.structureConvert._superiorSign[0] = node;
53894
54120
  }
53895
54121
  }
@@ -53898,14 +54124,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53898
54124
  var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
53899
54125
 
53900
54126
  if (_node2) {
53901
- if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R) {
54127
+ if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R) {
53902
54128
  if (_node2.text !== "") {
53903
54129
  nodes.push(_node2);
53904
54130
  }
53905
54131
  } else {
53906
54132
  //nodes.push(node);
53907
54133
  if (isClearSign) {
53908
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_50__/* .SignNode */ .N) {
54134
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_51__/* .SignNode */ .N) {
53909
54135
  if (_node2.isTemplate && !(_node2.number == 0 && _node2.type == 0 && _node2.name == "")) {
53910
54136
  nodes.push(_node2);
53911
54137
  }
@@ -53913,7 +54139,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53913
54139
  nodes.push(_node2);
53914
54140
  }
53915
54141
  } else {
53916
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_50__/* .SignNode */ .N) {
54142
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_51__/* .SignNode */ .N) {
53917
54143
  if (!(_node2.number == 0 && _node2.type == 0 && _node2.name == "")) {
53918
54144
  nodes.push(_node2);
53919
54145
  }
@@ -53924,11 +54150,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53924
54150
  }
53925
54151
  }
53926
54152
 
53927
- if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtEnd */ .q.mtEnd && _node2.text.substring(0, 1) === "C") {
54153
+ if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtEnd */ .q.mtEnd && _node2.text.substring(0, 1) === "C") {
53928
54154
  hoEditorFactory.structureConvert._markNodes.push(_node2);
53929
54155
  }
53930
54156
 
53931
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_50__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
54157
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_51__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
53932
54158
  hoEditorFactory.structureConvert._superiorSign[0] = _node2;
53933
54159
  }
53934
54160
  }
@@ -53949,14 +54175,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53949
54175
  }
53950
54176
 
53951
54177
  if (nodes.length > 0) {
53952
- if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j) {
54178
+ if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j) {
53953
54179
  var _temp$childNodes;
53954
54180
 
53955
54181
  temp.childNodes.length = 0;
53956
54182
 
53957
54183
  (_temp$childNodes = temp.childNodes).splice.apply(_temp$childNodes, [0, 0].concat(nodes));
53958
54184
 
53959
- if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j) {
54185
+ if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j) {
53960
54186
  temp._childNodes2.splice(1, 1);
53961
54187
 
53962
54188
  temp._childNodes2.splice(1, 0, temp.childNodes[1]);
@@ -53972,20 +54198,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
53972
54198
  }
53973
54199
  }
53974
54200
 
53975
- if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__/* .PaintState.psDesign */ .Dh.psDesign) {
54201
+ if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psDesign */ .Dh.psDesign) {
53976
54202
  var sChildNode = temp.childNodes[0];
53977
54203
  var eChildNode = temp.childNodes[temp.childNodes.length - 1];
53978
54204
 
53979
- if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtStart */ .q.mtStart) {
54205
+ if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtStart */ .q.mtStart) {
53980
54206
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
53981
54207
  }
53982
54208
 
53983
- if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
54209
+ if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
53984
54210
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
53985
54211
  }
53986
54212
  }
53987
54213
 
53988
- if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_51__/* .TableFormula */ .N) {
54214
+ if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_52__/* .TableFormula */ .N) {
53989
54215
  return temp;
53990
54216
  }
53991
54217
 
@@ -54020,11 +54246,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54020
54246
 
54021
54247
  for (var i = 0; i < lineArr.length; i++) {
54022
54248
  var lineText = lineArr[i];
54023
- var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
54249
+ var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
54024
54250
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
54025
54251
 
54026
54252
  if (i < lineArr.length - 1) {
54027
- var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_46__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
54253
+ var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_47__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
54028
54254
  paraNode.styleIndex = styleIndex;
54029
54255
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paraNode);
54030
54256
  }
@@ -54110,24 +54336,24 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54110
54336
  var newStyleIndex = styleIndex;
54111
54337
 
54112
54338
  if (resultArr[k].mark == 1) {
54113
- var textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_34__/* .TextStyle */ .pn(hoEditorFactoryID);
54339
+ var textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_35__/* .TextStyle */ .pn(hoEditorFactoryID);
54114
54340
  textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], textStyle);
54115
54341
  textStyle.script = 2;
54116
54342
  newStyleIndex = hoEditorFactory.docTree.styleCompare(textStyle);
54117
54343
  }
54118
54344
 
54119
- var textNode0 = new _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, resultArr[k].text, newStyleIndex);
54345
+ var textNode0 = new _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, resultArr[k].text, newStyleIndex);
54120
54346
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode0);
54121
54347
  }
54122
54348
  }
54123
54349
  } else {
54124
- var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, textArr[0], styleIndex);
54350
+ var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, textArr[0], styleIndex);
54125
54351
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
54126
54352
  }
54127
54353
 
54128
54354
  if (textArr.length > 1) {
54129
54355
  for (var _i2 = 1; _i2 < textArr.length; _i2++) {
54130
- var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_46__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
54356
+ var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_47__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
54131
54357
  paragraNode.styleIndex = styleIndex;
54132
54358
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
54133
54359
 
@@ -54140,7 +54366,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54140
54366
  var _newStyleIndex = styleIndex;
54141
54367
 
54142
54368
  if (resultArr1[_k].mark == 1) {
54143
- var _textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_34__/* .TextStyle */ .pn(hoEditorFactoryID);
54369
+ var _textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_35__/* .TextStyle */ .pn(hoEditorFactoryID);
54144
54370
 
54145
54371
  _textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], _textStyle);
54146
54372
 
@@ -54148,13 +54374,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54148
54374
  _newStyleIndex = hoEditorFactory.docTree.styleCompare(_textStyle);
54149
54375
  }
54150
54376
 
54151
- var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, resultArr1[_k].text, _newStyleIndex);
54377
+ var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, resultArr1[_k].text, _newStyleIndex);
54152
54378
 
54153
54379
  temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode);
54154
54380
  }
54155
54381
  }
54156
54382
  } else {
54157
- var _textNode2 = new _TextNode__WEBPACK_IMPORTED_MODULE_53__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, textArr[_i2], styleIndex);
54383
+ var _textNode2 = new _TextNode__WEBPACK_IMPORTED_MODULE_54__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, textArr[_i2], styleIndex);
54158
54384
 
54159
54385
  temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode2);
54160
54386
  }
@@ -54174,7 +54400,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54174
54400
  var eIndex = expressArr[_i3].eIndex;
54175
54401
  var expressJson = temp.text.substring(sIndex + 16, eIndex);
54176
54402
  var expressObj = JSON.parse(expressJson);
54177
- var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_45__/* .ExpressStyle */ .e[expressObj.expressStyle];
54403
+ var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_46__/* .ExpressStyle */ .e[expressObj.expressStyle];
54178
54404
 
54179
54405
  if (!expressStyle) {
54180
54406
  expressStyle = expressObj.expressStyle;
@@ -54184,18 +54410,18 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54184
54410
 
54185
54411
  if (expressStyle.includes("style")) {
54186
54412
  //经期史
54187
- medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_45__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
54413
+ medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_46__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
54188
54414
  } else {
54189
54415
  if (expressStyle === "PupilMapNode") {
54190
- medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_49__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
54416
+ medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_50__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
54191
54417
  } else if (expressStyle === "LightLocationMapNode") {
54192
- medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_42__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
54418
+ medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_43__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
54193
54419
  } else if (expressStyle === "FetalHeartMapNode") {
54194
- medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_41__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
54420
+ medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_42__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
54195
54421
  } else if (expressStyle === "PermanentTeethMapNode") {
54196
- medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
54422
+ medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
54197
54423
  } else {
54198
- medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
54424
+ medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_49__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
54199
54425
  }
54200
54426
  }
54201
54427
 
@@ -54223,8 +54449,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54223
54449
  } else {
54224
54450
  temp._childNodes2.splice(1, temp._childNodes2.length - 2);
54225
54451
 
54226
- var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNode */ .j(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_38__/* .NodeType.ntText */ .Jq.ntText, temp.labelText, //hoEditorFactory.docTree.curStyleIndex,
54227
- styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_43__/* .MarkNodeType.mtContent */ .q.mtContent);
54452
+ var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNode */ .j(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_39__/* .NodeType.ntText */ .Jq.ntText, temp.labelText, //hoEditorFactory.docTree.curStyleIndex,
54453
+ styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_44__/* .MarkNodeType.mtContent */ .q.mtContent);
54228
54454
 
54229
54455
  temp._childNodes.splice(1, 0, markNode);
54230
54456
 
@@ -54252,19 +54478,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
54252
54478
  }, {
54253
54479
  key: "textInpubNodeRedraw",
54254
54480
  value: function textInpubNodeRedraw(hoEditorFactoryID, node) {
54255
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
54481
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
54256
54482
  var startPath = node.StartMarkNode.getNodePath();
54257
54483
  var paragraphNode = hoEditorFactory.docTree.getNodeParaNode(node.EndMarkNode);
54258
54484
  var endPath = hoEditorFactory.docTree.getNodeLastPath(paragraphNode);
54259
- var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_30__/* .NodeChangeEvent */ .G(hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_33__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, startPath, endPath);
54485
+ var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_31__/* .NodeChangeEvent */ .G(hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_34__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, startPath, endPath);
54260
54486
  changeEvent.oldEndPath = endPath;
54261
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__/* .SelectRange */ .E(hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true);
54487
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_28__/* .SelectRange */ .E(hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true);
54262
54488
  hoEditorFactory.docTree.change(changeEvent);
54263
54489
  }
54264
54490
  }]);
54265
54491
 
54266
54492
  return TextInputFieldNode;
54267
- }(_BaseCombineNode__WEBPACK_IMPORTED_MODULE_37__/* .BaseCombineNode */ .V);
54493
+ }(_BaseCombineNode__WEBPACK_IMPORTED_MODULE_38__/* .BaseCombineNode */ .V);
54268
54494
 
54269
54495
  /***/ }),
54270
54496
 
@@ -54516,7 +54742,7 @@ var TextNode = /*#__PURE__*/function (_BaseNode) {
54516
54742
 
54517
54743
  this._dStyleKey = this._dCombineStyle.getStyleKey();
54518
54744
  this._dColor = this._dCombineStyle.color;
54519
- this._dHeight = this._dCombineStyle.getFontHeightByFontSize(this._dCombineStyle.size);
54745
+ this._dHeight = hoEditorFactory.getFontHeightByFontSize(this._dCombineStyle.size);
54520
54746
  }
54521
54747
  }, {
54522
54748
  key: "node2DrawNode",
@@ -55285,7 +55511,7 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
55285
55511
  _this._dHeight = hoEditorFactory.defaultLineHeight;
55286
55512
  var paraFontstyle = hoEditorFactory.docTree.styles[node.styleIndex];
55287
55513
  var size = paraFontstyle && paraFontstyle.size ? paraFontstyle.size : hoEditorFactory.docTree.defaultCombineStyle.size;
55288
- _this._maxFontHeight = hoEditorFactory.docTree.defaultCombineStyle.getFontHeightByFontSize(size); //this._isImgHeightForMax = false;
55514
+ _this._maxFontHeight = hoEditorFactory.getFontHeightByFontSize(size); //this._isImgHeightForMax = false;
55289
55515
 
55290
55516
  _this._charSpace = 0;
55291
55517
  _this._needUpdate = true;
@@ -55589,7 +55815,7 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
55589
55815
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._paragraphNode.hoEditorFactoryID);
55590
55816
  var paraFontstyle = hoEditorFactory.docTree.styles[this._paragraphNode.styleIndex];
55591
55817
  var size = paraFontstyle && paraFontstyle.size ? paraFontstyle.size : hoEditorFactory.docTree.defaultCombineStyle.size;
55592
- var dHeight = hoEditorFactory.docTree.defaultCombineStyle.getFontHeightByFontSize(size);
55818
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(size);
55593
55819
  var dBaseY = 0; //文本节点DrawTextNode._Dtext.y的值
55594
55820
 
55595
55821
  var iCount = 0; //文本节点数量
@@ -62091,8 +62317,8 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62091
62317
  (0,classCallCheck/* default */.Z)(this, DrawPageCell);
62092
62318
 
62093
62319
  _this = _super.call(this, hoeditfactoryID, cellNode.rootPath, index, dLeft, dTop, dWidth, dHeight, dWidth, dHeight);
62094
- _this._drawPageTable = dPartTable;
62095
- _this._crossShape = null;
62320
+ _this._drawPageTable = dPartTable; // this._crossShape = null;
62321
+
62096
62322
  _this._backImg = new createjs.Shape();
62097
62323
  _this._touchArea = new createjs.Shape(); // this._pageIndex = pageIndex;
62098
62324
  // this._dPage = dPage;
@@ -62107,11 +62333,21 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62107
62333
  _this._dHeight = dHeight; // ((this as unknown) as DrawInfos).dHeight = dWidth;
62108
62334
 
62109
62335
  _this._discriminator = IDrawInfos/* gDrawIntfID */.t; //this._marker = new createjs.Shape();
62336
+ // this._topBorder = new createjs.Rectangle(dLeft, dTop, dWidth, 2);
62337
+ // this._leftBorder = new createjs.Rectangle(dLeft, dTop, 2, dHeight);
62338
+ // this._rightBorder = new createjs.Rectangle(
62339
+ // dLeft + dWidth - 2,
62340
+ // dTop,
62341
+ // 2,
62342
+ // dHeight
62343
+ // );
62344
+ // this._bottomBorder = new createjs.Rectangle(
62345
+ // dLeft,
62346
+ // dTop + dHeight - 2,
62347
+ // dWidth,
62348
+ // 2
62349
+ // );
62110
62350
 
62111
- _this._topBorder = new createjs.Rectangle(dLeft, dTop, dWidth, 2);
62112
- _this._leftBorder = new createjs.Rectangle(dLeft, dTop, 2, dHeight);
62113
- _this._rightBorder = new createjs.Rectangle(dLeft + dWidth - 2, dTop, 2, dHeight);
62114
- _this._bottomBorder = new createjs.Rectangle(dLeft, dTop + dHeight - 2, dWidth, 2);
62115
62351
  var innerTop = 0;
62116
62352
 
62117
62353
  if (_this._cell.drawCell.drawPageCells.length == 0) {
@@ -62273,10 +62509,9 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62273
62509
  },
62274
62510
  set: function set(value) {
62275
62511
  if (value !== this._dWidth) {
62276
- this._dWidth = value;
62277
- this._topBorder.width = value;
62278
- this._bottomBorder.width = value;
62279
- this._rightBorder.x = this._dLeft + this._dWidth - 2;
62512
+ this._dWidth = value; // this._topBorder.width = value;
62513
+ // this._bottomBorder.width = value;
62514
+ // this._rightBorder.x = this._dLeft + this._dWidth - 2;
62280
62515
  }
62281
62516
  }
62282
62517
  }, {
@@ -62286,35 +62521,30 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62286
62521
  },
62287
62522
  set: function set(value) {
62288
62523
  if (value !== this._dHeight) {
62289
- this._dHeight = value;
62290
- this._leftBorder.height = value;
62291
- this._rightBorder.height = value;
62292
- this._bottomBorder.y = this._dTop + this._dHeight - 2;
62524
+ this._dHeight = value; // this._leftBorder.height = value;
62525
+ // this._rightBorder.height = value;
62526
+ // this._bottomBorder.y = this._dTop + this._dHeight - 2;
62293
62527
  }
62294
62528
  }
62295
62529
  }, {
62296
62530
  key: "updateCrossShap",
62297
62531
  value: function updateCrossShap() {
62298
62532
  if (this._cell.cellProperty.obliqueSplitLine === TableProperty/* ObliqueSplitLine.None */.lH.None) {
62299
- if (this._crossShape && this.contains(this._crossShape)) {
62300
- this.removeChild(this._crossShape);
62301
- }
62302
-
62303
- this._crossShape = null;
62533
+ // if (this._crossShape && this.contains(this._crossShape)) {
62534
+ // this.removeChild(this._crossShape);
62535
+ // }
62536
+ // this._crossShape = null;
62304
62537
  return;
62305
62538
  } else {
62306
- if (!this._crossShape) {
62307
- this._crossShape = new createjs.Shape();
62308
- }
62309
-
62310
- this._crossShape.graphics.clear();
62311
-
62312
- this._crossShape.x = 0;
62313
- this._crossShape.y = 0;
62314
-
62315
- this._crossShape.graphics.setStrokeStyle(1);
62539
+ // if (!this._crossShape) {
62540
+ // this._crossShape = new createjs.Shape();
62541
+ // }
62542
+ // this._crossShape.graphics.clear();
62543
+ // this._crossShape.x = 0;
62544
+ // this._crossShape.y = 0;
62545
+ this._backImg.graphics.setStrokeStyle(1);
62316
62546
 
62317
- this._crossShape.graphics.beginStroke("#000000");
62547
+ this._backImg.graphics.beginStroke("#000000");
62318
62548
  /*表格边框与边编码,角的编码是0、1、2、3 边的编码是ABCD
62319
62549
  * _____A______*
62320
62550
  * |0 1 |
@@ -62327,91 +62557,90 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62327
62557
  switch (this._cell.cellProperty.obliqueSplitLine) {
62328
62558
  //02
62329
62559
  case TableProperty/* ObliqueSplitLine.TopLeftOneLine */.lH.TopLeftOneLine:
62330
- this._crossShape.graphics.moveTo(0, 0);
62560
+ this._backImg.graphics.moveTo(0, 0);
62331
62561
 
62332
- this._crossShape.graphics.lineTo(this._dWidth, this._dHeight);
62562
+ this._backImg.graphics.lineTo(this._dWidth, this._dHeight);
62333
62563
 
62334
62564
  break;
62335
62565
  //0213
62336
62566
  // case ObliqueSplitLine.ct0213:
62337
- // this._crossShape.graphics.moveTo(0, 0);
62338
- // this._crossShape.graphics.lineTo(this._dWidth, this._dHeight);
62339
- // this._crossShape.graphics.moveTo(this._dWidth, 0);
62340
- // this._crossShape.graphics.lineTo(0, this._dHeight);
62567
+ // this._backImg.graphics.moveTo(0, 0);
62568
+ // this._backImg.graphics.lineTo(this._dWidth, this._dHeight);
62569
+ // this._backImg.graphics.moveTo(this._dWidth, 0);
62570
+ // this._backImg.graphics.lineTo(0, this._dHeight);
62341
62571
  // break;
62342
62572
 
62343
62573
  case TableProperty/* ObliqueSplitLine.TopLeftTwoLine */.lH.TopLeftTwoLine:
62344
- this._crossShape.graphics.moveTo(0, 0);
62574
+ this._backImg.graphics.moveTo(0, 0);
62345
62575
 
62346
- this._crossShape.graphics.lineTo(this._dWidth, this._dHeight / 2);
62576
+ this._backImg.graphics.lineTo(this._dWidth, this._dHeight / 2);
62347
62577
 
62348
- this._crossShape.graphics.moveTo(0, 0);
62578
+ this._backImg.graphics.moveTo(0, 0);
62349
62579
 
62350
- this._crossShape.graphics.lineTo(this._dWidth / 2, this._dHeight);
62580
+ this._backImg.graphics.lineTo(this._dWidth / 2, this._dHeight);
62351
62581
 
62352
62582
  break;
62353
62583
 
62354
62584
  case TableProperty/* ObliqueSplitLine.TopRightOneLine */.lH.TopRightOneLine:
62355
- this._crossShape.graphics.moveTo(this._dWidth, 0);
62585
+ this._backImg.graphics.moveTo(this._dWidth, 0);
62356
62586
 
62357
- this._crossShape.graphics.lineTo(0, this._dHeight);
62587
+ this._backImg.graphics.lineTo(0, this._dHeight);
62358
62588
 
62359
62589
  break;
62360
62590
  //1D1C
62361
62591
 
62362
62592
  case TableProperty/* ObliqueSplitLine.TopRightTwoLine */.lH.TopRightTwoLine:
62363
- this._crossShape.graphics.moveTo(this._dWidth, 0);
62593
+ this._backImg.graphics.moveTo(this._dWidth, 0);
62364
62594
 
62365
- this._crossShape.graphics.lineTo(this._dWidth / 2, this._dHeight);
62595
+ this._backImg.graphics.lineTo(this._dWidth / 2, this._dHeight);
62366
62596
 
62367
- this._crossShape.graphics.moveTo(this._dWidth, 0);
62597
+ this._backImg.graphics.moveTo(this._dWidth, 0);
62368
62598
 
62369
- this._crossShape.graphics.lineTo(0, this._dHeight / 2);
62599
+ this._backImg.graphics.lineTo(0, this._dHeight / 2);
62370
62600
 
62371
62601
  break;
62372
62602
  //ct2A2D
62373
62603
 
62374
62604
  case TableProperty/* ObliqueSplitLine.BottomRightOneLine */.lH.BottomRightOneLine:
62375
- this._crossShape.graphics.moveTo(0, 0);
62605
+ this._backImg.graphics.moveTo(0, 0);
62376
62606
 
62377
- this._crossShape.graphics.lineTo(this._dWidth, this._dHeight);
62607
+ this._backImg.graphics.lineTo(this._dWidth, this._dHeight);
62378
62608
 
62379
62609
  break;
62380
62610
 
62381
62611
  case TableProperty/* ObliqueSplitLine.BottomRightTwoLine */.lH.BottomRightTwoLine:
62382
- this._crossShape.graphics.moveTo(this._dWidth, this._dHeight);
62612
+ this._backImg.graphics.moveTo(this._dWidth, this._dHeight);
62383
62613
 
62384
- this._crossShape.graphics.lineTo(0, this._dHeight / 2);
62614
+ this._backImg.graphics.lineTo(0, this._dHeight / 2);
62385
62615
 
62386
- this._crossShape.graphics.moveTo(this._dWidth, this._dHeight);
62616
+ this._backImg.graphics.moveTo(this._dWidth, this._dHeight);
62387
62617
 
62388
- this._crossShape.graphics.lineTo(this._dWidth / 2, 0);
62618
+ this._backImg.graphics.lineTo(this._dWidth / 2, 0);
62389
62619
 
62390
62620
  break;
62391
62621
 
62392
62622
  case TableProperty/* ObliqueSplitLine.BottomLeftOneLine */.lH.BottomLeftOneLine:
62393
- this._crossShape.graphics.moveTo(0, this._dHeight);
62623
+ this._backImg.graphics.moveTo(0, this._dHeight);
62394
62624
 
62395
- this._crossShape.graphics.lineTo(this._dWidth, 0);
62625
+ this._backImg.graphics.lineTo(this._dWidth, 0);
62396
62626
 
62397
62627
  break;
62398
62628
 
62399
62629
  case TableProperty/* ObliqueSplitLine.BottomLeftTwoLine */.lH.BottomLeftTwoLine:
62400
- this._crossShape.graphics.moveTo(0, this._dHeight);
62630
+ this._backImg.graphics.moveTo(0, this._dHeight);
62401
62631
 
62402
- this._crossShape.graphics.lineTo(this._dWidth / 2, 0);
62632
+ this._backImg.graphics.lineTo(this._dWidth / 2, 0);
62403
62633
 
62404
- this._crossShape.graphics.moveTo(0, this._dHeight);
62634
+ this._backImg.graphics.moveTo(0, this._dHeight);
62405
62635
 
62406
- this._crossShape.graphics.lineTo(this._dWidth, this._dHeight / 2);
62636
+ this._backImg.graphics.lineTo(this._dWidth, this._dHeight / 2);
62407
62637
 
62408
62638
  break;
62409
62639
  }
62410
- }
62640
+ } // if (this._crossShape && !this.contains(this._crossShape)) {
62641
+ // this.addChildAt(this._crossShape, 1);
62642
+ // }
62411
62643
 
62412
- if (this._crossShape && !this.contains(this._crossShape)) {
62413
- this.addChildAt(this._crossShape, 1);
62414
- }
62415
62644
  }
62416
62645
  }, {
62417
62646
  key: "isFinishedPaint",
@@ -62463,9 +62692,9 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62463
62692
  _get$call2 = (0,slicedToArray/* default */.Z)(_get$call, 3),
62464
62693
  bret = _get$call2[0],
62465
62694
  aTop = _get$call2[1],
62466
- aRestHeight = _get$call2[2];
62695
+ aRestHeight = _get$call2[2]; // this._docHeight -= dTop;
62696
+
62467
62697
 
62468
- this._docHeight -= dTop;
62469
62698
  this.updateDHeight();
62470
62699
 
62471
62700
  var _this$_cell$table$get = this._cell.table.getCellRowCol(this._cell),
@@ -62558,14 +62787,12 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62558
62787
  }, {
62559
62788
  key: "startPaintBackGround",
62560
62789
  value: function startPaintBackGround() {
62561
- this._backImg.uncache();
62562
-
62790
+ //this._backImg.uncache();
62563
62791
  this._backImg.graphics.clear();
62564
62792
  }
62565
62793
  }, {
62566
62794
  key: "endPaintBackGround",
62567
- value: function endPaintBackGround(newHeight) {
62568
- this._backImg.cache(-1, -1, this._dWidth + 1, newHeight + 1);
62795
+ value: function endPaintBackGround(newHeight) {// this._backImg.cache(-1, -1, this._dWidth + 1, newHeight + 1);
62569
62796
  }
62570
62797
  }, {
62571
62798
  key: "paintMarker",
@@ -62630,7 +62857,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62630
62857
  var dWidth = this._dWidth - 0.5;
62631
62858
  var height = newHeight - 0.5;
62632
62859
 
62633
- this._backImg.graphics.setStrokeStyle(1);
62860
+ this._backImg.graphics.setStrokeStyle(0.5);
62634
62861
 
62635
62862
  if (r > this._drawPageTable.startRow) {
62636
62863
  y = -0.5;
@@ -62646,6 +62873,8 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62646
62873
  }
62647
62874
  }
62648
62875
 
62876
+ this._backImg.graphics.endStroke();
62877
+
62649
62878
  if (!this.contains(this._backImg)) {
62650
62879
  this.addChildAt(this._backImg, 0);
62651
62880
  } else {
@@ -62763,9 +62992,12 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62763
62992
  if (_newValignTop != this._valignTop) {
62764
62993
  this._valignTop = _newValignTop;
62765
62994
  var childCount = this._cell.drawCell.drawLines.length;
62995
+ var dPageCell = this._cell.drawCell.drawPageCells[this._cell.drawCell.drawPageCells.length - 1];
62996
+
62997
+ var pageTableIndex = this._cell.table.drawTable.drawPageTables.indexOf(dPageCell._drawPageTable);
62998
+
62766
62999
  var pageCellIndex = this._cell.drawCell.drawPageCells.length - 1;
62767
- var dPageCell = this._cell.drawCell.drawPageCells[pageCellIndex];
62768
- var cellrestHeight = rowHeightArr[pageCellIndex];
63000
+ var cellrestHeight = rowHeightArr[pageTableIndex][0];
62769
63001
 
62770
63002
  for (var _i = childCount - 1; _i >= 0; _i--) {
62771
63003
  var dObj = this._cell.drawCell.drawLines[_i];
@@ -62774,7 +63006,8 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62774
63006
  while (pageCellIndex > 0 && cellrestHeight < dObj.dHeight) {
62775
63007
  pageCellIndex -= 1;
62776
63008
  dPageCell = this._cell.drawCell.drawPageCells[pageCellIndex];
62777
- cellrestHeight = rowHeightArr[pageCellIndex];
63009
+ pageTableIndex = this._cell.table.drawTable.drawPageTables.indexOf(dPageCell._drawPageTable);
63010
+ cellrestHeight = rowHeightArr[pageTableIndex][0];
62778
63011
  }
62779
63012
 
62780
63013
  if (!dPageCell.contains(dObj) && dObj.parent && dObj.parent.contains(dObj)) {
@@ -62810,7 +63043,8 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62810
63043
  var index = this.cell.drawCell.drawPageCells.indexOf(this);
62811
63044
  var innerTop = 0;
62812
63045
  var toparr = new Array();
62813
- var aHeight = 0;
63046
+ var pageHeight = 0;
63047
+ var drawTreeHeight = 0;
62814
63048
  var hoeditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID);
62815
63049
 
62816
63050
  if (index == 0) {
@@ -62824,27 +63058,38 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62824
63058
  } else if (this._cell.cellProperty.align === TableProperty/* VAlign.vacenter */.TR.vacenter) {
62825
63059
  var _this$calcCellHeight = this.calcCellHeight();
62826
63060
 
62827
- var _this$calcCellHeight2 = (0,slicedToArray/* default */.Z)(_this$calcCellHeight, 2);
63061
+ var _this$calcCellHeight2 = (0,slicedToArray/* default */.Z)(_this$calcCellHeight, 3);
62828
63062
 
62829
- aHeight = _this$calcCellHeight2[0];
62830
- toparr = _this$calcCellHeight2[1];
62831
- if (aHeight > this._cell.drawCell.docHeight) valignTop = (aHeight - this._cell.drawCell.docHeight) / 2;
63063
+ drawTreeHeight = _this$calcCellHeight2[0];
63064
+ pageHeight = _this$calcCellHeight2[1];
63065
+ toparr = _this$calcCellHeight2[2];
63066
+ if (pageHeight > this._cell.drawCell.docHeight) valignTop = (pageHeight - this._cell.drawCell.docHeight) / 2;
62832
63067
  } else if (this._cell.cellProperty.align === TableProperty/* VAlign.vabottom */.TR.vabottom) {
62833
63068
  var _this$calcCellHeight3 = this.calcCellHeight();
62834
63069
 
62835
- var _this$calcCellHeight4 = (0,slicedToArray/* default */.Z)(_this$calcCellHeight3, 2);
63070
+ var _this$calcCellHeight4 = (0,slicedToArray/* default */.Z)(_this$calcCellHeight3, 3);
63071
+
63072
+ drawTreeHeight = _this$calcCellHeight4[0];
63073
+ pageHeight = _this$calcCellHeight4[1];
63074
+ toparr = _this$calcCellHeight4[2];
63075
+
63076
+ var pageTableIndex = this._cell.table.drawTable.drawPageTables.indexOf(this._drawPageTable);
62836
63077
 
62837
- aHeight = _this$calcCellHeight4[0];
62838
- toparr = _this$calcCellHeight4[1];
62839
63078
  var innerBottom = hoeditorFactory.unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
62840
- var restRowHeight = 0;
63079
+ var restRowHeight = 0; //当前表格后续页剩余高度
63080
+
63081
+ var prevDocHeight = 0; //当前表格之前的页占用的文档高度
63082
+
63083
+ for (var r = pageTableIndex + 1; r < toparr.length; r++) {
63084
+ restRowHeight += toparr[r][0];
63085
+ }
62841
63086
 
62842
- for (var r = index; r < toparr.length; r++) {
62843
- restRowHeight += toparr[r];
63087
+ for (var _r = 0; _r < pageTableIndex; _r++) {
63088
+ prevDocHeight += toparr[_r][1];
62844
63089
  }
62845
63090
 
62846
- if (aHeight > this._cell.drawCell.docHeight && this._cell.drawCell.docHeight < restRowHeight) {
62847
- valignTop = restRowHeight - this._cell.drawCell.docHeight - innerBottom;
63091
+ if (drawTreeHeight > this._cell.drawCell.docHeight) {
63092
+ valignTop = pageHeight - Math.max(0, this._cell.drawCell.docHeight - restRowHeight - innerBottom - prevDocHeight);
62848
63093
  }
62849
63094
  }
62850
63095
 
@@ -62877,6 +63122,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62877
63122
  *
62878
63123
  * @returns
62879
63124
  * 返回单元格在所有分页上的总高度,以及每页高度数组
63125
+ * toalHeight pageHeight partCell.dHeight partCell.docHeight
62880
63126
  */
62881
63127
 
62882
63128
  }, {
@@ -62890,6 +63136,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62890
63136
  var ret = 0;
62891
63137
  var hoeditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID);
62892
63138
  var dTopArr = new Array();
63139
+ var pageHeight = 0;
62893
63140
 
62894
63141
  if (this._cell.cellProperty.align == TableProperty/* VAlign.vabottom */.TR.vabottom) {
62895
63142
  ret = 0;
@@ -62904,39 +63151,43 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
62904
63151
 
62905
63152
  var icount = this._cell.table.drawTable.drawPageTables.length;
62906
63153
  var index = 0;
62907
- var pageHeight = 0;
62908
63154
 
62909
63155
  for (var i = 0; i < icount; i++) {
62910
- dTopArr[index] = 0;
63156
+ dTopArr.push([0, 0]);
62911
63157
 
62912
- for (var _r = row, _count = this._cell.rowSpan + row - 1; _r <= _count; _r++) {
62913
- var dTable = this._cell.table.drawTable.drawPageTables[i];
63158
+ for (var _r2 = row, _count = this._cell.rowSpan + row - 1; _r2 <= _count; _r2++) {
63159
+ var dTable = this._cell.table.drawTable.drawPageTables[i]; //if (dTable.parent&&dTable.parent.contains(dTable) ){
62914
63160
 
62915
- if (dTable.parent && dTable.parent.contains(dTable)) {
62916
- var _rowInfos = dTable.partRowHeights.get(_r);
63161
+ var _rowInfos = dTable.partRowHeights.get(_r2);
62917
63162
 
62918
- if (_rowInfos) {
62919
- if (pageHeight < ret) {
62920
- pageHeight += _rowInfos.rowHeight;
62921
- dTopArr[index] += _rowInfos.rowHeight;
62922
- }
62923
- }
63163
+ if (_rowInfos) {
63164
+ dTopArr[index][0] += _rowInfos.rowHeight; // }
63165
+ }
63166
+
63167
+ var partCell = this._cell.drawCell.getDrawPageCell(dTable);
63168
+
63169
+ if (partCell) {
63170
+ dTopArr[index][1] = partCell.docHeight;
62924
63171
  }
62925
63172
 
62926
63173
  index += 1;
62927
63174
  }
62928
63175
  }
63176
+
63177
+ var dPageIndex = this._cell.table.drawTable.drawPageTables.indexOf(this._drawPageTable);
63178
+
63179
+ pageHeight = dTopArr[dPageIndex][0];
62929
63180
  } else if (this._cell.cellProperty.align == TableProperty/* VAlign.vacenter */.TR.vacenter) {
62930
- for (var _r2 = row, _count2 = this._cell.rowSpan + row - 1; _r2 <= _count2; _r2++) {
62931
- var _rowInfos2 = this._drawPageTable.partRowHeights.get(_r2);
63181
+ for (var _r3 = row, _count2 = this._cell.rowSpan + row - 1; _r3 <= _count2; _r3++) {
63182
+ var _rowInfos2 = this._drawPageTable.partRowHeights.get(_r3);
62932
63183
 
62933
63184
  if (_rowInfos2) {
62934
- ret += _rowInfos2.rowHeight;
63185
+ pageHeight += _rowInfos2.rowHeight;
62935
63186
  }
62936
63187
  }
62937
63188
  }
62938
63189
 
62939
- return [ret, dTopArr];
63190
+ return [ret, pageHeight, dTopArr];
62940
63191
  }
62941
63192
  }]);
62942
63193
 
@@ -63756,8 +64007,9 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
63756
64007
  }
63757
64008
 
63758
64009
  partCell.paintCellBackground(newHeight, r, c);
63759
- partCell.endPaintBackGround(newHeight);
63760
64010
  partCell.updateCrossShap();
64011
+ partCell.endPaintBackGround(newHeight); // partCell.updateCrossShap();
64012
+
63761
64013
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_12__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.table.hoEditorFactoryID);
63762
64014
 
63763
64015
  if (hoEditorFactory.drawTree.paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_13__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_13__/* .PaintState.psPrint */ .Dh.psPrint) {
@@ -64654,7 +64906,11 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
64654
64906
  _cell2.drawCell.drawPageCells.push(dPartCell);
64655
64907
 
64656
64908
  dPartCell.y = cellRowTop;
64657
- dPartCell.x = aleft; //this.drawItems.push(dPartCell);
64909
+
64910
+ if (_mc3 > 0) {
64911
+ dPartCell.x = aleft;
64912
+ } //this.drawItems.push(dPartCell);
64913
+
64658
64914
 
64659
64915
  this.addChild(dPartCell);
64660
64916
  var ret = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
@@ -67403,16 +67659,21 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67403
67659
  _this = _super.call(this, "", font, color);
67404
67660
  _this._startIndex = startIndex;
67405
67661
  var lineUsedWidth = 0;
67406
- _this._chinesWordWidth = _this._getMeasuredWidth("中");
67662
+ _this._node = node;
67663
+
67664
+ if (node.dCombineStyle.chineseWidth == 0) {
67665
+ node.dCombineStyle.chineseWidth = _this._getMeasuredWidth("中");
67666
+ }
67667
+
67668
+ _this._chinesWordWidth = node.dCombineStyle.chineseWidth;
67407
67669
  _this._endIndex = -1;
67408
67670
  _this._docWidth = 0;
67409
67671
  var isFullLine = false;
67410
67672
  var lastTextWidth = 0;
67673
+ _this._maxWidth = maxWidth;
67411
67674
 
67412
67675
  for (var j = startIndex, jl = text.length; j < jl; j++) {
67413
- if (text.charCodeAt(j) >= 10000) {
67414
- lastTextWidth = _this._chinesWordWidth;
67415
- } else lastTextWidth = _this._getMeasuredWidth(text[j]);
67676
+ lastTextWidth = _this.getCharWidth(null, text[j]);
67416
67677
 
67417
67678
  if (lineUsedWidth + lastTextWidth > maxWidth && (j > 0 || !bPuctuation)) {
67418
67679
  isFullLine = true;
@@ -67433,7 +67694,7 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67433
67694
 
67434
67695
  if (UnitConvert/* UnitConvert.isNumEnglish */.P.isNumEnglish(aNexttext) && UnitConvert/* UnitConvert.isNumEnglish */.P.isNumEnglish(endText) && dLine && !_this.isFullLineNumEnglish(dLine, text.substr(startIndex, _this.endIndex - startIndex + 1))) {
67435
67696
  while (_this.endIndex >= startIndex && UnitConvert/* UnitConvert.isNumEnglish */.P.isNumEnglish(aNexttext) && UnitConvert/* UnitConvert.isNumEnglish */.P.isNumEnglish(endText)) {
67436
- lastTextWidth = _this._getMeasuredWidth(endText);
67697
+ lastTextWidth = _this.getCharWidth(null, endText);
67437
67698
  _this.endIndex -= 1;
67438
67699
  _this._docWidth -= lastTextWidth;
67439
67700
  lineUsedWidth = lineUsedWidth - lastTextWidth - spacing;
@@ -67455,11 +67716,11 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67455
67716
  _this._endIndex = text.length - 1;
67456
67717
  }
67457
67718
 
67458
- _this._node = node;
67459
67719
  _this._dWidth = lineUsedWidth > 0 ? lineUsedWidth - spacing : 0;
67460
67720
 
67461
67721
  if (_this.endIndex > -1) {
67462
- _this._firstCharWidth = _this._getMeasuredWidth(node.text[startIndex]);
67722
+ _this._firstCharWidth = _this.getCharWidth(null, node.text[startIndex]); // (this as any)._getMeasuredWidth(node.text[startIndex]);
67723
+
67463
67724
  _this.text = node.text.substr(startIndex, _this._endIndex - startIndex + 1);
67464
67725
  _this._letterSpacing = spacing;
67465
67726
  } else {
@@ -67527,6 +67788,29 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67527
67788
  ctx.miterLimit = 10;
67528
67789
  return ctx;
67529
67790
  }
67791
+ }, {
67792
+ key: "getCharWidth",
67793
+ value: function getCharWidth(ctx, akey) {
67794
+ var wordW = 0;
67795
+
67796
+ if (akey.charCodeAt(0) >= 10000) {
67797
+ wordW = this._chinesWordWidth;
67798
+ } else {
67799
+ wordW = this._node.dCombineStyle.getEnglishWidth(akey);
67800
+
67801
+ if (wordW == 0) {
67802
+ if (ctx) {
67803
+ wordW = ctx.measureText(akey).width;
67804
+ } else {
67805
+ wordW = this._getMeasuredWidth(akey);
67806
+ }
67807
+
67808
+ this._node.dCombineStyle.setEnglishWidth(akey, wordW);
67809
+ }
67810
+ }
67811
+
67812
+ return wordW;
67813
+ }
67530
67814
  }, {
67531
67815
  key: "_drawText",
67532
67816
  value: function _drawText(ctx, o, lines) {
@@ -67565,21 +67849,16 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67565
67849
  // let spaceCharAfter = 0;
67566
67850
  // let brecordSpace = true;
67567
67851
 
67568
- this._firstCharWidth = this._getMeasuredWidth(str[0]);
67852
+ this._firstCharWidth = this.getCharWidth(ctx, str[0]);
67569
67853
 
67570
67854
  for (var j = 0, jl = str.length; j < jl; j++) {
67571
67855
  // Line needs to wrap:
67572
- var wordW = 0;
67573
-
67574
- if (str.charCodeAt(j) >= 10000) {
67575
- wordW = this._chinesWordWidth;
67576
- } else wordW = this._getMeasuredWidth(str[j]); // if (brecordSpace && (str[j] ==' '||str[j] ==' '||str[j] ==' ' )) {
67856
+ var wordW = this.getCharWidth(ctx, str[j]); // if (brecordSpace && (str[j] ==' '||str[j] ==' '||str[j] ==' ' )) {
67577
67857
  // charStart += 1;
67578
67858
  // } else {
67579
67859
  // brecordSpace = false;
67580
67860
  // }
67581
67861
 
67582
-
67583
67862
  if (ctx instanceof CanvasRenderingContext2D) {
67584
67863
  //if ((ctx as any).name ==undefined ||(ctx as any).name!=='canvas2svg') {
67585
67864
  if (this.outline) {
@@ -67619,9 +67898,9 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67619
67898
  // }
67620
67899
  // }
67621
67900
  if (this.outline) {
67622
- ctx.strokeText(str, 0, 0, docWidth || 0xffff);
67901
+ ctx.strokeText(str, 0, 0, docWidth || this._maxWidth);
67623
67902
  } else {
67624
- ctx.fillText(str, 0, 0, docWidth || 0xffff);
67903
+ ctx.fillText(str, 0, 0, docWidth || this._maxWidth);
67625
67904
  }
67626
67905
  }
67627
67906
 
@@ -67646,11 +67925,7 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67646
67925
  var str = this.text;
67647
67926
 
67648
67927
  for (var i = 0, len = this.text.length; i < len; i++) {
67649
- var wordW = 0;
67650
-
67651
- if (str.charCodeAt(i) >= 10000) {
67652
- wordW = this._chinesWordWidth;
67653
- } else wordW = this._getMeasuredWidth(str[i]);
67928
+ var wordW = this.getCharWidth(null, str[i]);
67654
67929
 
67655
67930
  if (x < left + wordW + this._letterSpacing) {
67656
67931
  var mid = left + (wordW + this._letterSpacing) / 2;
@@ -67675,9 +67950,9 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
67675
67950
  var totalWidth = 0;
67676
67951
 
67677
67952
  for (var i = 0; i <= end; i++) {
67678
- if (this.text.charCodeAt(i) >= 10000) {
67679
- textWidth = this._chinesWordWidth;
67680
- } else textWidth = this._getMeasuredWidth(this.text[i]);
67953
+ textWidth = this.getCharWidth(null, this.text[i]); // if (this.text.charCodeAt(i) >= 10000) {
67954
+ // textWidth = this._chinesWordWidth;
67955
+ // } else textWidth = (this as any)._getMeasuredWidth(this.text[i]);
67681
67956
 
67682
67957
  totalWidth = totalWidth + textWidth + this._letterSpacing;
67683
67958
  }
@@ -75951,6 +76226,8 @@ var web_dom_collections_for_each = __webpack_require__(54747);
75951
76226
  var es_error_cause = __webpack_require__(21703);
75952
76227
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
75953
76228
  var es_array_concat = __webpack_require__(92222);
76229
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
76230
+ var es_array_splice = __webpack_require__(40561);
75954
76231
  // EXTERNAL MODULE: ./src/editor/dom/DocTree.ts
75955
76232
  var DocTree = __webpack_require__(23375);
75956
76233
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/TextNode.ts
@@ -76100,6 +76377,7 @@ var ParagraphNode = __webpack_require__(14208);
76100
76377
 
76101
76378
 
76102
76379
 
76380
+
76103
76381
 
76104
76382
 
76105
76383
  var Operate = /*#__PURE__*/(0,createClass/* default */.Z)(function Operate(act, ext) {
@@ -76332,7 +76610,16 @@ var NodeStyleUndoUnit = /*#__PURE__*/function () {
76332
76610
 
76333
76611
 
76334
76612
  this.spliteNode(range.clone());
76335
- var nodes = DomRange/* DomRange.getSelectDomNodesForUpdate */.a.getSelectDomNodesForUpdate(this._hoEditorFactoryID, this._oldpairs.start, this._newpairs.end); // console.log(nodes);
76613
+ var nodes = DomRange/* DomRange.getSelectDomNodesForUpdate */.a.getSelectDomNodesForUpdate(this._hoEditorFactoryID, this._oldpairs.start, this._newpairs.end);
76614
+
76615
+ if (nodes.length > 0) {
76616
+ var preNode = nodes[0].previousLeaf();
76617
+
76618
+ if (preNode instanceof ParagraphNode/* ParagraphNode */.C) {
76619
+ nodes.splice(0, 0, preNode);
76620
+ }
76621
+ } // console.log(nodes);
76622
+
76336
76623
 
76337
76624
  var aOperate = this._operate;
76338
76625
 
@@ -114592,7 +114879,7 @@ Context2D.prototype.arcTo=function(x1,y1,x2,y2,radius){throw new Error("arcTo no
114592
114879
  */Context2D.prototype.fillText=function(text,x,y,maxWidth){if(isNaN(x)||isNaN(y)||typeof text!=="string"){console.error("jsPDF.context2d.fillText: Invalid arguments",arguments);throw new Error("Invalid arguments passed to jsPDF.context2d.fillText");}maxWidth=isNaN(maxWidth)?undefined:maxWidth;if(isFillTransparent.call(this)){return;}var degs=rad2deg(this.ctx.transform.rotation);// We only use X axis as scale hint
114593
114880
  var scale=this.ctx.transform.scaleX;var acharSpace=this.letterSpacing?parseFloat(this.letterSpacing):0.0;//自定义修改 以处理宋体粗体
114594
114881
  if(this.font.indexOf("SimSun")>=0&&this.font.indexOf("bold")>=0){//renderingMode: "stroke",
114595
- putText.call(this,{text:text,x:x,y:y,scale:scale,angle:degs,align:this.textAlign,maxWidth:maxWidth,renderingMode:"fillThenStroke",charSpace:acharSpace+1});}else{putText.call(this,{text:text,x:x,y:y,scale:scale,angle:degs,align:this.textAlign,maxWidth:maxWidth,charSpace:acharSpace});}};/**
114882
+ putText.call(this,{text:text,x:x,y:y,scale:scale,angle:degs,align:this.textAlign,maxWidth:maxWidth,renderingMode:"fillThenStroke",charSpace:acharSpace+0.35});}else{putText.call(this,{text:text,x:x,y:y,scale:scale,angle:degs,align:this.textAlign,maxWidth:maxWidth,charSpace:acharSpace});}};/**
114596
114883
  * Draws text on the canvas (no fill)
114597
114884
  *
114598
114885
  * @name strokeText
@@ -209182,14 +209469,14 @@ var map = {
209182
209469
  "./pageInfoes/PageInfoes.vue": 67977,
209183
209470
  "./paragraph/ParagraphDialog.vue": 32679,
209184
209471
  "./poperSelect/PoperMark.vue": 93069,
209185
- "./poperSelect/PoperSelect.vue": 42498,
209472
+ "./poperSelect/PoperSelect.vue": 64696,
209186
209473
  "./poperTipText/PoperTipText.vue": 44523,
209187
209474
  "./popers/Poper.vue": 25425,
209188
209475
  "./popers/Title.vue": 40168,
209189
209476
  "./printstyle/PrintLineStyle.vue": 90069,
209190
209477
  "./qrCode/QrCode.vue": 67776,
209191
209478
  "./radioCheckBox/RadioCheckbox.vue": 48961,
209192
- "./selectDialog/SelectDialog.vue": 54891,
209479
+ "./selectDialog/SelectDialog.vue": 89365,
209193
209480
  "./sign/Sign.vue": 37542,
209194
209481
  "./table/TableCellPoper.vue": 43529,
209195
209482
  "./table/TableCellProperty.vue": 52445,
@@ -210919,9 +211206,9 @@ var es_string_match = __webpack_require__(4723);
210919
211206
  var es_number_constructor = __webpack_require__(9653);
210920
211207
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
210921
211208
  var es_json_stringify = __webpack_require__(38862);
210922
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=6e6c8103&
210923
- var HoDocvue_type_template_id_6e6c8103_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),(_vm.showDeleteSignMenu)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.deleteSignNode}},[_vm._v("删除签名")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
210924
- var HoDocvue_type_template_id_6e6c8103_staticRenderFns = []
211209
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=9c9d5b12&
211210
+ var HoDocvue_type_template_id_9c9d5b12_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),(_vm.showDeleteSignMenu)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.deleteSignNode}},[_vm._v("删除签名")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
211211
+ var HoDocvue_type_template_id_9c9d5b12_staticRenderFns = []
210925
211212
 
210926
211213
 
210927
211214
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
@@ -211614,7 +211901,10 @@ var DrawSelectLevel = /*#__PURE__*/function () {
211614
211901
  // }
211615
211902
  hoeditorfactory.docTree.curDomRange.endPath = endPos.path;
211616
211903
  hoeditorfactory.drawTree.selectRange.spEnd = endPos;
211617
- hoeditorfactory.drawTree.drawSelectRange();
211904
+
211905
+ if (endPos.path != '') {
211906
+ hoeditorfactory.drawTree.drawSelectRange();
211907
+ }
211618
211908
  }
211619
211909
  }
211620
211910
  } //return true;
@@ -212850,7 +213140,7 @@ var DrawPage = __webpack_require__(65870);
212850
213140
  // EXTERNAL MODULE: ./src/plugins/util.ts
212851
213141
  var util = __webpack_require__(33913);
212852
213142
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 8 modules
212853
- var PoperSelect = __webpack_require__(42498);
213143
+ var PoperSelect = __webpack_require__(64696);
212854
213144
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
212855
213145
  var PoperMark = __webpack_require__(93069);
212856
213146
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
@@ -214562,7 +214852,7 @@ var SignNode = __webpack_require__(34450);
214562
214852
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
214563
214853
  var ParagraphNode = __webpack_require__(14208);
214564
214854
  ;// CONCATENATED MODULE: ./src/components/version.ts
214565
- /* harmony default export */ var version = ('2.0.107');
214855
+ /* harmony default export */ var version = ('2.0.108');
214566
214856
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
214567
214857
  var PoperTipText = __webpack_require__(44523);
214568
214858
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -214927,19 +215217,27 @@ var ImageNode = __webpack_require__(88389);
214927
215217
  if (dPage && dPage.needUpdateStage && dPage.drawDomLevel) {
214928
215218
  hoEditorFactory.drawPageTree.updateDrawPage(dPage.pageIndex);
214929
215219
  dPage.needUpdateStage = false;
215220
+ } // intersectionRatio <= 0 代表目标页不在文档可视区内
215221
+ // isIntersecting = true 代表目标页进入可视区 false代表离开可视区
215222
+
215223
+
215224
+ if (v.isIntersecting && v.intersectionRatio == 0) {
215225
+ console.warn('进入可视区但是相交区域=0');
214930
215226
  }
214931
215227
 
214932
- if (v.intersectionRatio === 0) {
214933
- inViewPages = inViewPages.filter(function (v) {
214934
- return v !== pageIndex;
215228
+ if (v.intersectionRatio <= 0 && !v.isIntersecting) {
215229
+ inViewPages = inViewPages.filter(function (m) {
215230
+ return m !== pageIndex;
214935
215231
  });
214936
- } else {
214937
- inViewPages.includes(dPage.pageIndex) ? null : inViewPages.push(dPage.pageIndex);
215232
+ } else if (!inViewPages.includes(pageIndex)) {
215233
+ inViewPages.push(pageIndex);
214938
215234
  }
214939
215235
 
214940
- inViewPages = inViewPages.filter(function (v) {
214941
- return v < len;
214942
- }).sort();
215236
+ inViewPages = inViewPages.filter(function (m) {
215237
+ return m < len;
215238
+ }).sort(function (a, b) {
215239
+ return a < b;
215240
+ });
214943
215241
  });
214944
215242
  _this3.inViewPages = (0,toConsumableArray/* default */.Z)(inViewPages);
214945
215243
  hoEditorFactory.drawTree.inViewPages = (0,toConsumableArray/* default */.Z)(inViewPages);
@@ -214948,7 +215246,7 @@ var ImageNode = __webpack_require__(88389);
214948
215246
  }, {
214949
215247
  root: null,
214950
215248
  rootMargin: '0px',
214951
- threshold: [0, 1]
215249
+ threshold: [0, 0.8]
214952
215250
  });
214953
215251
  },
214954
215252
  setActiveDocIndex: function setActiveDocIndex(hoEditorId) {
@@ -215346,8 +215644,8 @@ var ImageNode = __webpack_require__(88389);
215346
215644
 
215347
215645
  var HoDoc_component = (0,componentNormalizer/* default */.Z)(
215348
215646
  components_HoDocvue_type_script_lang_js_,
215349
- HoDocvue_type_template_id_6e6c8103_render,
215350
- HoDocvue_type_template_id_6e6c8103_staticRenderFns,
215647
+ HoDocvue_type_template_id_9c9d5b12_render,
215648
+ HoDocvue_type_template_id_9c9d5b12_staticRenderFns,
215351
215649
  false,
215352
215650
  null,
215353
215651
  null,
@@ -216270,8 +216568,11 @@ var DrawPageTree = /*#__PURE__*/function () {
216270
216568
  }
216271
216569
  }
216272
216570
 
216273
- if (hoEditorFactory.isUseDrawingOptimization && drawArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$ && dRoots.length > 1) {
216571
+ if (hoEditorFactory.isUseDrawingOptimization && !callFromPaint && drawArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$ && dRoots.length > 1) {
216274
216572
  startLine = this.calcStartLine(drawArea);
216573
+ startIndex = startLine;
216574
+ nextDlineTop = 0;
216575
+ dTop = 0;
216275
216576
  drawArea.removeAllChildren();
216276
216577
  } //----------
216277
216578
 
@@ -217344,6 +217645,10 @@ var HTMLconverter2 = /*#__PURE__*/function () {
217344
217645
  size = size / 96 * 72;
217345
217646
  }
217346
217647
 
217648
+ if (size == 11) {
217649
+ size = 12;
217650
+ }
217651
+
217347
217652
  tmp.size = size;
217348
217653
  }
217349
217654
  }
@@ -217547,8 +217852,8 @@ var HTMLconverter2 = /*#__PURE__*/function () {
217547
217852
 
217548
217853
  for (var j = 0; j < trs.length; j++) {
217549
217854
  //for (let j = 0; j < rows.length; j++) {
217550
- var rowProperty = new TableProperty/* RowProperty */.Nr("");
217551
- rowProperty.isSpecifyHeight = true;
217855
+ var rowProperty = new TableProperty/* RowProperty */.Nr(""); //rowProperty.isSpecifyHeight = true;
217856
+
217552
217857
  var rowInfo = new TableNode/* RowInfos */.ii(tableNode, rowProperty);
217553
217858
  var height = jquery_default()(trs[j]).css("height");
217554
217859
 
@@ -217628,30 +217933,27 @@ var HTMLconverter2 = /*#__PURE__*/function () {
217628
217933
  if (td) {
217629
217934
  width = calcColWidth(td);
217630
217935
  } else {
217631
- var valArr = new Array();
217632
-
217633
- for (var m = 0; m < rows.length; m++) {
217634
- if (m != maxcol && rows[m][k]) {
217635
- var colWidth = calcColWidth(rows[m][k]);
217636
- valArr.push(colWidth);
217637
- }
217638
- }
217639
-
217640
- if (valArr.length == 0) {
217641
- width = 30;
217642
- } else if (valArr.length == 1) {
217643
- width = valArr[0];
217644
- } else {
217645
- var minVal = valArr[0];
217646
-
217647
- for (var h = 1; h < valArr.length; h++) {
217648
- if (minVal > valArr[h]) {
217649
- minVal = valArr[h];
217650
- }
217651
- }
217652
-
217653
- width = minVal;
217654
- }
217936
+ // let valArr = new Array<number>();
217937
+ // for (let m = 0; m < rows.length; m++) {
217938
+ // if (m != maxcol && rows[m][k]) {
217939
+ // const colWidth = calcColWidth(rows[m][k] as ChildNode);
217940
+ // valArr.push(colWidth);
217941
+ // }
217942
+ // }
217943
+ // if (valArr.length == 0) {
217944
+ // width = 30;
217945
+ // } else if (valArr.length == 1) {
217946
+ // width = valArr[0];
217947
+ // } else {
217948
+ // let minVal = valArr[0];
217949
+ // for (let h = 1; h < valArr.length; h++) {
217950
+ // if (minVal > valArr[h]) {
217951
+ // minVal = valArr[h];
217952
+ // }
217953
+ // }
217954
+ // width = minVal;
217955
+ // }
217956
+ width = 30;
217655
217957
  }
217656
217958
 
217657
217959
  if (width == 0) {
@@ -217990,8 +218292,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
217990
218292
  var node = table.rows[r][c];
217991
218293
 
217992
218294
  if (node) {
217993
- var _node$childNodes;
217994
-
217995
218295
  node.rowSpan = parseInt(jquery_default()(jnode).attr('rowSpan') || '1') || 1;
217996
218296
  node.colSpan = parseInt(jquery_default()(jnode).attr('colSpan') || '1') || 1;
217997
218297
  var styleobject = this.mergestyle(jquery_default()(jnode).attr("style") || '', '');
@@ -218020,22 +218320,29 @@ var HTMLconverter2 = /*#__PURE__*/function () {
218020
218320
  }
218021
218321
 
218022
218322
  if (tmp.length > 0 && tmp[0] instanceof ParagraphNode/* ParagraphNode */.C) {
218023
- node.childNodes.splice(0, node.childNodes.length);
218323
+ node.childNodes.splice(1, node.childNodes.length);
218024
218324
  }
218025
218325
 
218026
- tmp.forEach(function (value) {
218027
- value.parentNode = node; //FIXME:这里没有考虑表格嵌套时候
218326
+ for (var h = 0; h < tmp.length; h++) {
218327
+ var anode = tmp[h];
218328
+
218329
+ if (h == 0 && anode instanceof ParagraphNode/* ParagraphNode */.C) {
218330
+ node.childNodes[0].styleIndex = anode.styleIndex;
218331
+ continue;
218332
+ }
218333
+
218334
+ anode.parentNode = node; //FIXME:这里没有考虑表格嵌套时候
218028
218335
 
218029
- if (value instanceof ParagraphNode/* ParagraphNode */.C) {
218030
- value.drawlines.forEach(function (value) {
218031
- value.dWidth = table.colInfos[c].colWidth;
218336
+ if (anode instanceof ParagraphNode/* ParagraphNode */.C) {
218337
+ anode.drawlines.forEach(function (value) {
218338
+ value.dWidth = table.colInfos[c].colWidth; //value.dHeight = table.rowInfos[r].rowHeight;
218032
218339
  });
218033
218340
  }
218034
- });
218035
218341
 
218036
- (_node$childNodes = node.childNodes).push.apply(_node$childNodes, tmp);
218342
+ node.childNodes.push(anode);
218343
+ } //node.childNodes.push(...tmp);
218344
+ //node.cell2DrawNode(r, c);
218037
218345
 
218038
- node.cell2DrawNode(r, c);
218039
218346
  }
218040
218347
  }
218041
218348
  }]);
@@ -227804,7 +228111,7 @@ var VueController = /*#__PURE__*/function () {
227804
228111
 
227805
228112
  do {
227806
228113
  if (aNode) {
227807
- if (aNode instanceof TextNode/* TextNode */.R) {
228114
+ if (aNode instanceof TextNode/* TextNode */.R || aNode instanceof MarkNode/* MarkNode */.j) {
227808
228115
  if (mark === -1) {
227809
228116
  if (content.length > 0) {
227810
228117
  paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
@@ -227815,10 +228122,12 @@ var VueController = /*#__PURE__*/function () {
227815
228122
  }
227816
228123
  }
227817
228124
 
227818
- var nodePath = hoEditorFactory.docTree.getNodeFirstPath(aNode);
227819
- nodesMap.set((index + 1).toString() + '|' + textCount.toString() + '|' + content.length, nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
228125
+ if (aNode instanceof TextNode/* TextNode */.R) {
228126
+ var nodePath = hoEditorFactory.docTree.getNodeFirstPath(aNode);
228127
+ nodesMap.set((index + 1).toString() + '|' + textCount.toString() + '|' + content.length, nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
228128
+ }
227820
228129
 
227821
- content = content + aNode.text;
228130
+ content = content + (aNode instanceof MarkNode/* MarkNode */.j ? "" : aNode.text);
227822
228131
  } else if (aNode instanceof ControlNode/* ControlNode */.w) {
227823
228132
  if (content.length > 0) {
227824
228133
  paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
@@ -227956,15 +228265,26 @@ var VueController = /*#__PURE__*/function () {
227956
228265
  }
227957
228266
 
227958
228267
  if (path === nodeLastPath) {
227959
- var _np$node, _np$node2;
228268
+ (function () {
228269
+ var getNextNode = function getNextNode(curNode) {
228270
+ var nextNode = curNode.nextLeaf();
227960
228271
 
227961
- path = hoEditorFactory.docTree.getNodeFirstPath((_np$node = np.node) === null || _np$node === void 0 ? void 0 : _np$node.nextLeaf());
227962
- nodeLastPath = hoEditorFactory.docTree.getNodeLastPath((_np$node2 = np.node) === null || _np$node2 === void 0 ? void 0 : _np$node2.nextLeaf());
228272
+ if (nextNode instanceof TextNode/* TextNode */.R) {
228273
+ return nextNode;
228274
+ } else {
228275
+ return getNextNode(nextNode);
228276
+ }
228277
+ };
228278
+
228279
+ var nNode = getNextNode(np.node);
228280
+ path = hoEditorFactory.docTree.getNodeFirstPath(nNode);
228281
+ nodeLastPath = hoEditorFactory.docTree.getNodeLastPath(nNode);
228282
+ })();
227963
228283
  } else {
227964
- var pathArr = path.split('/');
228284
+ var pathArr = path.split("/");
227965
228285
  var value = parseInt(pathArr[pathArr.length - 1]);
227966
228286
  pathArr[pathArr.length - 1] = (value + 1).toString();
227967
- path = pathArr.join('/');
228287
+ path = pathArr.join("/");
227968
228288
  }
227969
228289
  }
227970
228290
 
@@ -232613,6 +232933,11 @@ var HoLocalStorage = /*#__PURE__*/function () {
232613
232933
 
232614
232934
 
232615
232935
 
232936
+
232937
+
232938
+
232939
+
232940
+
232616
232941
 
232617
232942
 
232618
232943
 
@@ -232659,6 +232984,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
232659
232984
 
232660
232985
  this._notAllowCrossPatiPaste = false; //不允许跨病人粘贴
232661
232986
 
232987
+ this._fontSizeMap = new Map();
232662
232988
  this._hoEditorFactoryId = id;
232663
232989
  }
232664
232990
  /**
@@ -233476,6 +233802,19 @@ var HOEditorFactory = /*#__PURE__*/function () {
233476
233802
  this._drawTree = null;
233477
233803
  }
233478
233804
  }
233805
+ }, {
233806
+ key: "getFontHeightByFontSize",
233807
+ value: function getFontHeightByFontSize(isize) {
233808
+ var val = this._fontSizeMap.get(isize);
233809
+
233810
+ if (!val) {
233811
+ val = this.docTree.defaultCombineStyle.getFontHeightByFontSize(isize);
233812
+
233813
+ this._fontSizeMap.set(isize, val);
233814
+ }
233815
+
233816
+ return val;
233817
+ }
233479
233818
  }]);
233480
233819
 
233481
233820
  return HOEditorFactory;
@@ -234406,54 +234745,68 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
234406
234745
  var tableNodeInfo = this.getTableNodeInfo(nodes === null || nodes === void 0 ? void 0 : nodes.node);
234407
234746
 
234408
234747
  if (tableNodeInfo) {
234409
- var _dPage$drawDomLevel;
234410
-
234411
- var dPage = hoEditorFactory.drawTree.drawPages[hoEditorFactory.drawTree.caret.pageIndex];
234412
- var dPageElementNode = (_dPage$drawDomLevel = dPage.drawDomLevel) === null || _dPage$drawDomLevel === void 0 ? void 0 : _dPage$drawDomLevel.domCanvas.parentElement;
234413
- var tableBounds = {
234414
- x: hoEditorFactory.pageProperty.leftMarginPixes + tableNodeInfo.tableNode.drawTable.x,
234415
- y: 0,
234416
- width: tableNodeInfo.tableNode.drawTable.dWidth,
234417
- height: 0,
234418
- cellWidth: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dWidth,
234419
- cellHeight: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dHeight,
234420
- cellY: 20,
234421
- cellX: 0
234422
- }; // 取当前页的表格 处理跨页情况
234423
-
234424
- var drawPageTables = tableNodeInfo.tableNode.drawTable.drawPageTables;
234425
- var drawPageCells = tableNodeInfo.cellNode.drawCell.drawPageCells;
234426
- var currentPageIndex = dPage.drawMainDoc.pageIndex;
234427
- tableBounds.cellX = drawPageCells[currentPageIndex].x + 20;
234428
- tableBounds.cellY = drawPageCells[currentPageIndex].y + 20;
234429
- tableBounds.cellWidth = drawPageCells[currentPageIndex].dWidth;
234430
- tableBounds.cellHeight = drawPageCells[currentPageIndex].dHeight;
234431
- drawPageTables.forEach(function (v, key) {
234432
- if (v.parent.pageIndex === currentPageIndex) {
234433
- tableBounds.height = v.dHeight;
234434
- tableBounds.y = dPage.drawMainDoc.y + v.y;
234435
-
234436
- if (drawPageCells.length === drawPageTables.length) {
234437
- tableBounds.cellHeight = drawPageCells[key].dHeight;
234748
+ var dNode = hoEditorFactory.drawTree.getDNodeByPath(hoEditorFactory.docTree.curDomRange.startPath);
234749
+ var dline = hoEditorFactory.drawTree.getDrawLineByDNode(dNode);
234750
+ var dPage = hoEditorFactory.drawPageTree.getDrawPageByDNode(dline);
234751
+
234752
+ if (dPage) {
234753
+ var _dPage$drawDomLevel;
234754
+
234755
+ var dPageElementNode = (_dPage$drawDomLevel = dPage.drawDomLevel) === null || _dPage$drawDomLevel === void 0 ? void 0 : _dPage$drawDomLevel.domCanvas.parentElement;
234756
+ var tableBounds = {
234757
+ x: hoEditorFactory.pageProperty.leftMarginPixes + tableNodeInfo.tableNode.drawTable.x,
234758
+ y: 0,
234759
+ width: tableNodeInfo.tableNode.drawTable.dWidth,
234760
+ height: 0,
234761
+ cellWidth: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dWidth,
234762
+ cellHeight: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dHeight,
234763
+ cellY: 20,
234764
+ cellX: 0
234765
+ }; // 取当前页的表格 处理跨页情况
234766
+
234767
+ var drawPageTables = tableNodeInfo.tableNode.drawTable.drawPageTables;
234768
+ var currentPageIndex = dPage.drawMainDoc.pageIndex;
234769
+ var drawPageCells = tableNodeInfo.cellNode.drawCell.drawPageCells;
234770
+ var drawPageTable = tableNodeInfo.tableNode.drawTable.getDrawTableByPageIndex(currentPageIndex);
234771
+
234772
+ if (drawPageTable) {
234773
+ var drawPageCell = tableNodeInfo.cellNode.drawCell.getDrawPageCell(drawPageTable);
234774
+
234775
+ if (drawPageCell) {
234776
+ tableBounds.cellX = drawPageCell.x + 20;
234777
+ tableBounds.cellY = drawPageCell.y + 20;
234778
+ tableBounds.cellWidth = drawPageCell.dWidth;
234779
+ tableBounds.cellHeight = drawPageCell.dHeight;
234780
+ }
234781
+ }
234782
+
234783
+ drawPageTables.forEach(function (v, key) {
234784
+ if (v.parent.pageIndex === currentPageIndex) {
234785
+ tableBounds.height = v.dHeight;
234786
+ tableBounds.y = dPage.drawMainDoc.y + v.y;
234787
+
234788
+ if (drawPageCells.length === drawPageTables.length) {
234789
+ tableBounds.cellHeight = drawPageCells[key].dHeight;
234790
+ }
234438
234791
  }
234439
- }
234440
- });
234441
- var aDiv = document.createElement('div');
234442
- aDiv.id = 'ho_table_auxiliary';
234443
- aDiv.style.position = 'absolute';
234444
- aDiv.style.left = hoEditorFactory.pageProperty.leftMarginPixes - 20 + 'px';
234445
- aDiv.style.top = tableBounds.y - 20 + 'px';
234446
- aDiv.style.height = hoEditorFactory.pageProperty.heightPixes - tableBounds.y - hoEditorFactory.pageProperty.footerYPixes + 'px';
234447
- aDiv.innerHTML = "\n <div id=\"ho_table_auxiliary_left\" style=\"height: ".concat(tableBounds.height, "px\"></div>\n <div id=\"ho_table_auxiliary_left_active\" style=\"height: ").concat(tableBounds.cellHeight, "px; top: ").concat(tableBounds.cellY, "px;\"></div>\n ");
234448
- /**
234449
- * 上方隐藏 只处理左侧提示
234450
- `
234451
- <div id="ho_table_auxiliary_top" style="width: ${tableBounds.width}px"></div>
234452
- <div id="ho_table_auxiliary_top_active" style="width: ${tableBounds.cellWidth}px;left: ${tableBounds.cellX}px;"></div>
234453
- `
234454
- */
234792
+ });
234793
+ var aDiv = document.createElement('div');
234794
+ aDiv.id = 'ho_table_auxiliary';
234795
+ aDiv.style.position = 'absolute';
234796
+ aDiv.style.left = hoEditorFactory.pageProperty.leftMarginPixes - 20 + 'px';
234797
+ aDiv.style.top = tableBounds.y - 20 + 'px';
234798
+ aDiv.style.height = hoEditorFactory.pageProperty.heightPixes - tableBounds.y - hoEditorFactory.pageProperty.footerYPixes + 'px';
234799
+ aDiv.innerHTML = "\n <div id=\"ho_table_auxiliary_left\" style=\"height: ".concat(tableBounds.height, "px\"></div>\n <div id=\"ho_table_auxiliary_left_active\" style=\"height: ").concat(tableBounds.cellHeight, "px; top: ").concat(tableBounds.cellY, "px;\"></div>\n ");
234800
+ /**
234801
+ * 上方隐藏 只处理左侧提示
234802
+ `
234803
+ <div id="ho_table_auxiliary_top" style="width: ${tableBounds.width}px"></div>
234804
+ <div id="ho_table_auxiliary_top_active" style="width: ${tableBounds.cellWidth}px;left: ${tableBounds.cellX}px;"></div>
234805
+ `
234806
+ */
234455
234807
 
234456
- dPageElementNode === null || dPageElementNode === void 0 ? void 0 : dPageElementNode.appendChild(aDiv);
234808
+ dPageElementNode === null || dPageElementNode === void 0 ? void 0 : dPageElementNode.appendChild(aDiv);
234809
+ }
234457
234810
  }
234458
234811
  }
234459
234812
  }, {
@@ -234498,9 +234851,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
234498
234851
  canDeleteRow: tableNode.tableProperty.canDeleteRow
234499
234852
  };
234500
234853
 
234501
- if (tableNode.tableProperty.isAutoChangeLine && nodes) {
234502
- this.createTable(hoEditorFactory, nodes);
234503
- } else if (hoEditorFactory.isCanUseTableProperty && nodes) {
234854
+ if ((hoEditorFactory.isCanUseTableProperty || tableNode.tableProperty.isAutoChangeLine) && nodes) {
234504
234855
  this.createTable(hoEditorFactory, nodes);
234505
234856
  }
234506
234857
  }
@@ -241427,7 +241778,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
241427
241778
  _this.emrDebug = false; // 获取全局变量 emrDebug0331
241428
241779
 
241429
241780
  _this.formularType = {
241430
- sum: '求和公式',
241781
+ sum: '表格行列求和公式',
241431
241782
  formula: '四则运算公式',
241432
241783
  bmi: 'bmi计算公式',
241433
241784
  labor: '产程公式',