hoeditor-web 3.0.0 → 3.0.2

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.
@@ -4261,9 +4261,7 @@ var staticRenderFns = [];
4261
4261
  this.textContent = this.commentValue.text;
4262
4262
  }
4263
4263
  },
4264
- mounted: function mounted() {
4265
- console.log(this.getCustomProperty());
4266
- },
4264
+ mounted: function mounted() {},
4267
4265
  methods: {
4268
4266
  sure: function sure() {
4269
4267
  var _this = this;
@@ -4673,7 +4671,6 @@ var util = __webpack_require__(62783);
4673
4671
  }
4674
4672
  },
4675
4673
  focusIndex: function focusIndex(text, record, index) {
4676
- console.log(text, record, index);
4677
4674
  this.focusIndexs = index;
4678
4675
  },
4679
4676
  inputIndex: function inputIndex(index, rows) {
@@ -6936,9 +6933,7 @@ var zh_cn = __webpack_require__(83839);
6936
6933
  } else if (this.expressStyle === 'style9') {
6937
6934
  this.reverseOrSort('sort');
6938
6935
  this.insertPrimaryTeethMap(this.controlStatus, [this.style89.topLeft, this.style89.topRight, this.style89.bottomLeft, this.style89.bottomRight]);
6939
- } else {
6940
- console.log('错误样式', this.expressStyle);
6941
- }
6936
+ } else {}
6942
6937
  this.cancel();
6943
6938
  },
6944
6939
  /**
@@ -7289,7 +7284,6 @@ var HOEditorFactorys = __webpack_require__(74089);
7289
7284
  },
7290
7285
  toFind: function toFind(callback) {
7291
7286
  if (!this.findContent) return;
7292
- console.log(this.hoEditorFactoryId);
7293
7287
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
7294
7288
  this.path = hoEditorFactory.vueController.find(this.findContent, this.direction, this.matchCase);
7295
7289
  if (callback instanceof Function) {
@@ -8591,9 +8585,7 @@ var util = __webpack_require__(62783);
8591
8585
  };
8592
8586
  },
8593
8587
  mounted: function mounted() {
8594
- window.addEventListener('storage', function (e) {
8595
- console.log(e.newValue);
8596
- });
8588
+ window.addEventListener('storage', function (e) {});
8597
8589
  },
8598
8590
  watch: {
8599
8591
  activeDocIndex: function activeDocIndex() {
@@ -8996,7 +8988,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8996
8988
 
8997
8989
  /***/ }),
8998
8990
 
8999
- /***/ 43786:
8991
+ /***/ 64497:
9000
8992
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9001
8993
 
9002
8994
  "use strict";
@@ -9016,7 +9008,7 @@ var es_string_includes = __webpack_require__(32023);
9016
9008
  var es_regexp_exec = __webpack_require__(74916);
9017
9009
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
9018
9010
  var es_string_replace = __webpack_require__(15306);
9019
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=84cb07aa&
9011
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=c70794f6&
9020
9012
 
9021
9013
 
9022
9014
 
@@ -9246,8 +9238,8 @@ var render = function render() {
9246
9238
  "open": true,
9247
9239
  "locale": _vm.locale,
9248
9240
  "showToday": false,
9249
- "format": _vm.dateTimeStyle.replace(/dd/g, 'DD'),
9250
- "valueFormat": _vm.dateTimeStyle.replace(/dd/g, 'DD')
9241
+ "format": _vm.dateTimeStyle.replace(/dd/g, 'DD').split(' ')[0],
9242
+ "valueFormat": _vm.dateTimeStyle.replace(/dd/g, 'DD').split(' ')[0]
9251
9243
  },
9252
9244
  scopedSlots: _vm._u([{
9253
9245
  key: "dateRender",
@@ -9373,12 +9365,14 @@ var render = function render() {
9373
9365
  };
9374
9366
  var staticRenderFns = [];
9375
9367
 
9376
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=84cb07aa&
9368
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=c70794f6&
9377
9369
 
9378
9370
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
9379
9371
  var toConsumableArray = __webpack_require__(61748);
9380
9372
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
9381
9373
  var es_object_assign = __webpack_require__(19601);
9374
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
9375
+ var es_function_name = __webpack_require__(68309);
9382
9376
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
9383
9377
  var es_object_to_string = __webpack_require__(41539);
9384
9378
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
@@ -9387,8 +9381,6 @@ var web_dom_collections_for_each = __webpack_require__(54747);
9387
9381
  var es_array_filter = __webpack_require__(57327);
9388
9382
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
9389
9383
  var es_array_push = __webpack_require__(57658);
9390
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
9391
- var es_function_name = __webpack_require__(68309);
9392
9384
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
9393
9385
  var es_json_stringify = __webpack_require__(38862);
9394
9386
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
@@ -11485,52 +11477,14 @@ var type = __webpack_require__(41542);
11485
11477
  if (this.poperType === 'datePoper') {
11486
11478
  if (currentPoperNode instanceof DateTimeNode/* DateTimeNode */.Z) {
11487
11479
  this.dateTimeStyle = currentPoperNode.controlStyle;
11488
- // const style = currentPoperNode.controlStyle?.replace(/\hh/g, 'HH');
11489
- // if ((style.includes('yyyy') || style.includes('MM')) && style.includes('HH')) {
11490
- // this.dateStyle = style.split(' ')[0] ? style.split(' ')[0] : 'yyyy/MM/dd';
11491
- // this.timeStyle = style.split(' ')[1] ? style.split(' ')[1] : 'HH:mm:ss';
11492
- // } else {
11493
- // if (style.includes('yyyy') || style.includes('MM')) {
11494
- // this.dateStyle = style;
11495
- // }
11496
- // if (style.includes('HH') || style.includes('mm')) {
11497
- // this.timeStyle = style;
11498
- // }
11499
- // }
11500
11480
  var val = currentPoperNode.text.split(' ');
11501
- this.date = val[0] ? val[0] : null;
11502
- this.time = val[1] ? val[1] : null;
11503
- // let text = currentPoperNode.text.replace(/['年'|'月'|'-']/g, '/').replace(/['日']/g, '');
11504
- // if (text && this.dateStyle && !this.dateStyle.includes('yyyy')) text = dateFormat(new Date(), 'yyyy') + '/' + text;
11505
- // if (text && text[text.length - 1] === ':') text = text.substr(0, text.length - 1);
11506
-
11507
- // if (text && (isDate(text) || isDate('2021/10/08 ' + text))) {
11508
- // if ((style.includes('yyyy') || style.includes('MM')) && (style.includes('HH') || style.includes('mm'))) {
11509
- // this.date = text.split(' ')[0];
11510
- // this.time = text;
11511
- // } else {
11512
- // if (style.includes('yyyy') || style.includes('MM')) {
11513
- // this.date = text;
11514
- // }
11515
- // if (style.includes('HH') || style.includes('mm')) {
11516
- // this.time = dateFormat(new Date(), 'yyyy/MM/dd ') + text;
11517
- // }
11518
- // }
11519
- // } else {
11520
- // this.date = dateFormat(new Date(), 'yyyy/MM/dd');
11521
- // if (this.timeStyle) this.time = dateFormat(new Date(), 'yyyy/MM/dd ' + this.timeStyle);
11522
- // }
11481
+ this.date = val[0] ? val[0] : '';
11482
+ this.time = val[1] ? val[1] : '';
11483
+ if (this.date === currentPoperNode.name) {
11484
+ this.date = '';
11485
+ }
11523
11486
  }
11524
- // this.date = this.date?.replace(/[^\d]/g, '/');
11525
-
11526
11487
  var height = 90;
11527
- // if (currentPoperNode.controlStyle.includes('yyyy') || currentPoperNode.controlStyle.includes('MM')) height = 300;
11528
- // if (currentPoperNode.controlStyle.includes('HH') || currentPoperNode.controlStyle.includes('mm')) height = 90;
11529
- // if (
11530
- // (currentPoperNode.controlStyle.includes('yyyy') || currentPoperNode.controlStyle.includes('MM')) &&
11531
- // (currentPoperNode.controlStyle.includes('HH') || currentPoperNode.controlStyle.includes('mm'))
11532
- // )
11533
- // height = 350;
11534
11488
  this.posStyle = this.computedPoperPosition(height, this.poperPos);
11535
11489
  } else {
11536
11490
  var _this$poperSelectList;
@@ -11576,13 +11530,9 @@ var type = __webpack_require__(41542);
11576
11530
  name: 'preventOverflow',
11577
11531
  options: {
11578
11532
  padding: 8
11579
- // mainAxis: false, // true by default
11580
- // altAxis: true, // false by default
11581
- // padding: { left: selectCanvasSize.left, right: selectCanvasSize.right, top: selectCanvasSize.top, bottom: selectCanvasSize.bottom },
11582
11533
  }
11583
11534
  }]
11584
11535
  });
11585
-
11586
11536
  setTimeout(function () {
11587
11537
  if (_this2.poppernIstance) {
11588
11538
  _this2.poppernIstance.update();
@@ -11668,26 +11618,7 @@ var type = __webpack_require__(41542);
11668
11618
  });
11669
11619
  },
11670
11620
  sureDate: function sureDate() {
11671
- // let value = '';
11672
- // if (this.date) {
11673
- // value = this.date;
11674
- // if (this.time) {
11675
- // const time = this.time
11676
- // .replace(/年|月|-/g, '/')
11677
- // .replace(/时|分/g, ':')
11678
- // .replace(/秒/g, '');
11679
- // if (time.includes('/')) {
11680
- // value += ' ' + time.split(' ')[1];
11681
- // } else {
11682
- // value += ' ' + time;
11683
- // }
11684
- // }
11685
- // } else {
11686
- // value = '2021/10/08 ' + this.time.replace(/[^\d]/g, ':').substr(0, 8);
11687
- // }
11688
11621
  var node = this.getCurrentPoperNode();
11689
- // value = this.dateFormat(value, node.controlStyle);
11690
-
11691
11622
  var value = '';
11692
11623
  if (node.controlStyle.includes('mm') && node.controlStyle.includes(' ')) {
11693
11624
  value = this.date + ' ' + this.time;
@@ -11926,14 +11857,13 @@ var type = __webpack_require__(41542);
11926
11857
  };
11927
11858
  hoEditorFactory.vueController.updateDownList(params, this.poperSelectList);
11928
11859
  } else if (currentPoperNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
11929
- console.log(value, keyValue, this.textParam.downListProperty.allowMultiSelected);
11930
11860
  text = text.replace(/,/g, currentPoperNode.downListProperty.splitCharacter);
11931
- currentPoperNode.text = text;
11932
- currentPoperNode.keyValue = keyValue;
11933
- currentPoperNode.value = value;
11934
11861
  Object.keys(this.textParam).map(function (v) {
11935
11862
  _this8.textParam[v] = currentPoperNode[v];
11936
11863
  });
11864
+ this.textParam.text = text;
11865
+ this.textParam.keyValue = keyValue;
11866
+ this.textParam.value = value;
11937
11867
  if (this.textParam.downListProperty.allowMultiSelected) {
11938
11868
  hoEditorFactory.vueController.updateTextInputField(this.textParam);
11939
11869
  } else {
@@ -11990,10 +11920,10 @@ var type = __webpack_require__(41542);
11990
11920
  });
11991
11921
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
11992
11922
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
11993
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=84cb07aa&prod&lang=scss&
11923
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=c70794f6&prod&lang=scss&
11994
11924
  // extracted by mini-css-extract-plugin
11995
11925
 
11996
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=84cb07aa&prod&lang=scss&
11926
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=c70794f6&prod&lang=scss&
11997
11927
 
11998
11928
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
11999
11929
  var componentNormalizer = __webpack_require__(70713);
@@ -12170,7 +12100,6 @@ var popper = __webpack_require__(95551);
12170
12100
  var virtualElement = {
12171
12101
  getBoundingClientRect: this.generateGetBoundingClientRect(this.poperPos)
12172
12102
  };
12173
- console.log(this.poperText);
12174
12103
  this.poppernIstance = (0,popper/* createPopper */.fi)(virtualElement, this.poperTextNode, {
12175
12104
  placement: 'bottom-start',
12176
12105
  modifiers: [{
@@ -14493,7 +14422,6 @@ var HOEditorFactorys = __webpack_require__(74089);
14493
14422
  return value;
14494
14423
  },
14495
14424
  allowMultiSelectChange: function allowMultiSelectChange() {
14496
- console.log('allowMultiSelectChange');
14497
14425
  if (!this.allowMultiSelect) this.mutexSelect = false;
14498
14426
  },
14499
14427
  focusIndex: function focusIndex(index) {
@@ -15068,8 +14996,6 @@ var staticRenderFns = [];
15068
14996
  var style = __webpack_require__(94310);
15069
14997
  // EXTERNAL MODULE: ./node_modules/ant-design-vue/es/message/index.js + 3 modules
15070
14998
  var message = __webpack_require__(40735);
15071
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
15072
- var objectSpread2 = __webpack_require__(63442);
15073
14999
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
15074
15000
  var es_regexp_exec = __webpack_require__(74916);
15075
15001
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
@@ -15113,7 +15039,6 @@ var SignNode = __webpack_require__(24701);
15113
15039
 
15114
15040
 
15115
15041
 
15116
-
15117
15042
  /* harmony default export */ var Signvue_type_script_lang_js_ = ({
15118
15043
  name: 'Sign',
15119
15044
  props: {
@@ -15148,7 +15073,6 @@ var SignNode = __webpack_require__(24701);
15148
15073
  if (this.controlStatus === 'update') {
15149
15074
  var node = this.getCurrentSelectNode();
15150
15075
  if (node) {
15151
- console.log((0,objectSpread2/* default */.Z)({}, node));
15152
15076
  this.name = node.name;
15153
15077
  if (node.attribute == 2) {
15154
15078
  this.signType = 2; // 自定义ca签名(带职称)
@@ -15189,7 +15113,6 @@ var SignNode = __webpack_require__(24701);
15189
15113
  },
15190
15114
  // 创建自定义签名格式
15191
15115
  createSignFormat: function createSignFormat() {
15192
- console.log(this.customFormatContent);
15193
15116
  if (!this.customFormatContent) {
15194
15117
  message/* default.error */.Z.error({
15195
15118
  content: '签名格式不能为空',
@@ -15291,7 +15214,7 @@ var component = (0,componentNormalizer/* default */.Z)(
15291
15214
 
15292
15215
  /***/ }),
15293
15216
 
15294
- /***/ 20605:
15217
+ /***/ 14776:
15295
15218
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
15296
15219
 
15297
15220
  "use strict";
@@ -15311,7 +15234,7 @@ var es_string_includes = __webpack_require__(32023);
15311
15234
  var es_regexp_exec = __webpack_require__(74916);
15312
15235
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
15313
15236
  var es_string_replace = __webpack_require__(15306);
15314
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=63b2f752&
15237
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=08459377&
15315
15238
 
15316
15239
 
15317
15240
 
@@ -15448,8 +15371,8 @@ var render = function render() {
15448
15371
  "open": true,
15449
15372
  "locale": _vm.locale,
15450
15373
  "showToday": false,
15451
- "format": _vm.inputStyle.replace(/dd/g, 'DD'),
15452
- "valueFormat": _vm.inputStyle.replace(/dd/g, 'DD')
15374
+ "format": _vm.inputStyle.replace(/dd/g, 'DD').split(' ')[0],
15375
+ "valueFormat": _vm.inputStyle.replace(/dd/g, 'DD').split(' ')[0]
15453
15376
  },
15454
15377
  scopedSlots: _vm._u([{
15455
15378
  key: "dateRender",
@@ -15575,10 +15498,12 @@ var render = function render() {
15575
15498
  };
15576
15499
  var staticRenderFns = [];
15577
15500
 
15578
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=63b2f752&
15501
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=08459377&
15579
15502
 
15580
15503
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
15581
15504
  var toConsumableArray = __webpack_require__(61748);
15505
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
15506
+ var es_function_name = __webpack_require__(68309);
15582
15507
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
15583
15508
  var es_object_to_string = __webpack_require__(41539);
15584
15509
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
@@ -15621,6 +15546,7 @@ var HOEditorFactorys = __webpack_require__(74089);
15621
15546
 
15622
15547
 
15623
15548
 
15549
+
15624
15550
  /* harmony default export */ var TableCellPopervue_type_script_lang_js_ = ({
15625
15551
  name: 'TableCellPoper',
15626
15552
  mixins: [appendToBody/* default */.Z],
@@ -15744,8 +15670,11 @@ var HOEditorFactorys = __webpack_require__(74089);
15744
15670
  text = this.dateFormat(new Date(), this.inputStyle);
15745
15671
  }
15746
15672
  var val = text.split(' ');
15747
- this.date = val[0] ? val[0] : null;
15748
- this.time = val[1] ? val[1] : null;
15673
+ this.date = val[0] ? val[0] : '';
15674
+ this.time = val[1] ? val[1] : '';
15675
+ if (this.date === currentPoperNode.name) {
15676
+ this.date = '';
15677
+ }
15749
15678
  // if ((this.inputStyle.includes('yyyy') || this.inputStyle.includes('MM')) && this.inputStyle.includes('HH')) {
15750
15679
  // this.dateStyle = this.inputStyle.split(' ')[0] ? this.inputStyle.split(' ')[0] : 'yyyy/MM/dd';
15751
15680
  // this.timeStyle = this.inputStyle.split(' ')[1] ? this.inputStyle.split(' ')[1] : 'HH:mm:ss';
@@ -15826,7 +15755,6 @@ var HOEditorFactorys = __webpack_require__(74089);
15826
15755
  },
15827
15756
  getTime: function getTime(val) {
15828
15757
  this.date = val.value;
15829
- console.log(val.value);
15830
15758
  if (val.type == 'dblclick') {
15831
15759
  this.sureDate();
15832
15760
  }
@@ -15839,12 +15767,10 @@ var HOEditorFactorys = __webpack_require__(74089);
15839
15767
  },
15840
15768
  sureDate: function sureDate() {
15841
15769
  var value = '';
15842
- console.log(this.date, this.time);
15843
15770
  if (this.date) {
15844
15771
  value = this.date;
15845
15772
  if (this.time) {
15846
15773
  var time = this.time.replace(/年|月|-/g, '/').replace(/时|分/g, ':').replace(/秒/g, '');
15847
- console.log(time);
15848
15774
  if (time.includes('/')) {
15849
15775
  value += ' ' + time.split(' ')[1];
15850
15776
  } else {
@@ -15948,10 +15874,10 @@ var HOEditorFactorys = __webpack_require__(74089);
15948
15874
  });
15949
15875
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=script&lang=js&
15950
15876
  /* harmony default export */ var table_TableCellPopervue_type_script_lang_js_ = (TableCellPopervue_type_script_lang_js_);
15951
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=63b2f752&prod&lang=scss&
15877
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=08459377&prod&lang=scss&
15952
15878
  // extracted by mini-css-extract-plugin
15953
15879
 
15954
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=63b2f752&prod&lang=scss&
15880
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=08459377&prod&lang=scss&
15955
15881
 
15956
15882
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
15957
15883
  var componentNormalizer = __webpack_require__(70713);
@@ -17740,7 +17666,6 @@ var getCellNode = __webpack_require__(5986);
17740
17666
  var _colInfoes;
17741
17667
  var currentCols = cellNode.row.indexOf(cellNode);
17742
17668
  colInfoes = cellNode.table.colInfos[currentCols];
17743
- console.log(colInfoes);
17744
17669
  var customProperties = (_colInfoes = colInfoes) === null || _colInfoes === void 0 ? void 0 : _colInfoes.colProperty.customProperties;
17745
17670
  if (Array.isArray(customProperties) && customProperties.length > 0) {
17746
17671
  this.hoEditorProvider.setCustomsValue([].concat((0,toConsumableArray/* default */.Z)(customProperties), [{
@@ -18014,8 +17939,6 @@ var render = function render() {
18014
17939
  };
18015
17940
  var staticRenderFns = [];
18016
17941
 
18017
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
18018
- var objectSpread2 = __webpack_require__(63442);
18019
17942
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
18020
17943
  var toConsumableArray = __webpack_require__(61748);
18021
17944
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
@@ -18071,7 +17994,6 @@ var TableFormTree = __webpack_require__(99723);
18071
17994
 
18072
17995
 
18073
17996
 
18074
-
18075
17997
  /* harmony default export */ var TableFormvue_type_script_lang_js_ = ({
18076
17998
  name: 'TableForm',
18077
17999
  props: {
@@ -18113,7 +18035,6 @@ var TableFormTree = __webpack_require__(99723);
18113
18035
  } else {
18114
18036
  this.clickRowIndex = cellNode.table.rows.length - 1;
18115
18037
  }
18116
- console.log(this.vueController.getTableTitleMaxRowIndex(cellNode.table));
18117
18038
  var firstDataRowIndex = this.vueController.getTableTitleMaxRowIndex(cellNode.table); // 起始数据行
18118
18039
 
18119
18040
  if (this.clickRowIndex < firstDataRowIndex) {
@@ -18247,18 +18168,15 @@ var TableFormTree = __webpack_require__(99723);
18247
18168
  }
18248
18169
  });
18249
18170
  this.formList = [].concat(list);
18250
- console.log(list);
18251
18171
  console.timeEnd('处理表格表头数据用时:');
18252
18172
  },
18253
18173
  tableFormChange: function tableFormChange(form) {
18254
18174
  this.editForm[form.cell.cellIndex] = String(form.cell.value);
18255
- console.log((0,objectSpread2/* default */.Z)({}, this.editForm), form.cell.cellIndex, form.text, form.cell.value);
18256
18175
  },
18257
18176
  getTableNodes: function getTableNodes() {},
18258
18177
  sure: function sure() {
18259
18178
  var nodes = this.vueController.findNodebyPath(this.endPath).node;
18260
18179
  var cellNode = (0,getCellNode/* getCellNode */.p)(nodes);
18261
- console.log((0,objectSpread2/* default */.Z)({}, this.editForm));
18262
18180
  this.vueController.updateNurseRecord(cellNode.table, this.hoEditorProvider.controlStatus, this.clickRowIndex, this.editForm);
18263
18181
  this.handleClose();
18264
18182
  },
@@ -18532,7 +18450,7 @@ var component = (0,componentNormalizer/* default */.Z)(
18532
18450
 
18533
18451
  /***/ }),
18534
18452
 
18535
- /***/ 7708:
18453
+ /***/ 7789:
18536
18454
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
18537
18455
 
18538
18456
  "use strict";
@@ -18544,7 +18462,7 @@ __webpack_require__.d(__webpack_exports__, {
18544
18462
  "default": function() { return /* binding */ table_TableFormula; }
18545
18463
  });
18546
18464
 
18547
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=321bf3e0&
18465
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=cb19c812&
18548
18466
  var render = function render() {
18549
18467
  var _vm = this,
18550
18468
  _c = _vm._self._c;
@@ -18569,7 +18487,15 @@ var render = function render() {
18569
18487
  staticStyle: {
18570
18488
  "padding": "10px 0"
18571
18489
  }
18572
- }, [_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]) : _vm._e(), _vm.formula === 'sum' || _vm.formula === 'formula' ? _c('section', [_c('div', {
18490
+ }, [_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]) : _vm._e(), this.formula !== 'costumRowColumns' ? _c('div', {
18491
+ staticStyle: {
18492
+ "padding": "0 0 10px 0"
18493
+ }
18494
+ }, [!Array.isArray(_vm.formulaText[_vm.formula]) ? _c('p', [_vm._v(_vm._s(_vm.formulaText[_vm.formula]))]) : _vm._l(_vm.formulaText[_vm.formula], function (text, index) {
18495
+ return _c('p', {
18496
+ key: index
18497
+ }, [_vm._v(_vm._s(text))]);
18498
+ })], 2) : _vm._e(), _vm.formula === 'sum' || _vm.formula === 'formula' ? _c('section', [_c('div', {
18573
18499
  staticStyle: {
18574
18500
  "height": "26px",
18575
18501
  "line-height": "36px",
@@ -18783,6 +18709,9 @@ var render = function render() {
18783
18709
  }
18784
18710
  }, [_vm._v(" :")]), _c('a-input', {
18785
18711
  staticClass: "ft-score-mapping-input",
18712
+ staticStyle: {
18713
+ "width": "173px"
18714
+ },
18786
18715
  attrs: {
18787
18716
  "autocomplete": "off"
18788
18717
  },
@@ -18948,6 +18877,12 @@ var TableFormula = __webpack_require__(90832);
18948
18877
  form: {
18949
18878
  rows: 1,
18950
18879
  columns: 1
18880
+ },
18881
+ formulaText: {
18882
+ bmi: 'BMI体质指数=身高(米) * 体重(公斤)^2',
18883
+ expectedDate: ['预产期计算公式为末次月经第一天的月份加9个月或者减去3个月,为预产期的月份数;日期加7天,为预产期日。', '例如某孕妇的末次月经时间是1月11日来潮,她的预产期是,1+9=10,11+7=18,也就是10月18日的预产期。'],
18884
+ ftScoreMapping: '通过多个分值组合计算,转换为对应的值域信息。例如:1-5分(高),6-10分中,10-15分(低)',
18885
+ labor: ['将时间元素设置成运算模式,比如这个第一产程时间=宫口全开时间-宫缩开始时间', '第1产程是从规律 “宫缩开始”到“宫口开全”,(“宫口开全” - “宫缩开始”)', '第2产程是从 “宫口开全” 到 “胎儿娩出”, (“胎儿娩出” - “宫口开全” )', '第3产程是从 “胎儿娩出” 到 “胎盘娩出” , (“胎盘娩出” - “胎儿娩出” )', '总产程:= 第1产程+第2产程+第3产程', '表示格式 示例: 9小时24分24秒,当时间大于24小时时, 显示格式为“28小时30分30秒”']
18951
18886
  }
18952
18887
  };
18953
18888
  },
@@ -19073,10 +19008,10 @@ var TableFormula = __webpack_require__(90832);
19073
19008
  });
19074
19009
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=script&lang=js&
19075
19010
  /* harmony default export */ var table_TableFormulavue_type_script_lang_js_ = (TableFormulavue_type_script_lang_js_);
19076
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=321bf3e0&prod&lang=scss&
19011
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=cb19c812&prod&lang=scss&
19077
19012
  // extracted by mini-css-extract-plugin
19078
19013
 
19079
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=321bf3e0&prod&lang=scss&
19014
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=cb19c812&prod&lang=scss&
19080
19015
 
19081
19016
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
19082
19017
  var componentNormalizer = __webpack_require__(70713);
@@ -19810,7 +19745,7 @@ var TableNode = __webpack_require__(5010);
19810
19745
  },
19811
19746
  dataSource: function dataSource() {
19812
19747
  // 获取数据源属性
19813
- console.log(this.hoEditorProvider.getDataSource());
19748
+
19814
19749
  return this.hoEditorProvider.getDataSource();
19815
19750
  }
19816
19751
  },
@@ -19853,7 +19788,7 @@ var TableNode = __webpack_require__(5010);
19853
19788
  if (currentRows || currentRows === 0) {
19854
19789
  var rowInfoes = cellNode === null || cellNode === void 0 ? void 0 : cellNode.table.rowInfos[currentRows];
19855
19790
  if (rowInfoes) {
19856
- var _rowInfoes$rowPropert, _rowInfoes$rowPropert2, _rowInfoes$rowPropert3;
19791
+ var _rowInfoes$rowPropert, _rowInfoes$rowPropert2;
19857
19792
  var customProperties = (_rowInfoes$rowPropert = rowInfoes.rowProperty) === null || _rowInfoes$rowPropert === void 0 ? void 0 : _rowInfoes$rowPropert.customProperties;
19858
19793
  if (Array.isArray(customProperties) && customProperties.length > 0) {
19859
19794
  this.hoEditorProvider.setCustomsValue([].concat((0,toConsumableArray/* default */.Z)(customProperties), [{
@@ -19867,10 +19802,9 @@ var TableNode = __webpack_require__(5010);
19867
19802
  description: ''
19868
19803
  }]));
19869
19804
  }
19870
- console.log((_rowInfoes$rowPropert2 = rowInfoes.rowProperty) === null || _rowInfoes$rowPropert2 === void 0 ? void 0 : _rowInfoes$rowPropert2.dataSource);
19871
- if ((_rowInfoes$rowPropert3 = rowInfoes.rowProperty) !== null && _rowInfoes$rowPropert3 !== void 0 && _rowInfoes$rowPropert3.dataSource) {
19872
- var _rowInfoes$rowPropert4;
19873
- this.hoEditorProvider.setDataSource((_rowInfoes$rowPropert4 = rowInfoes.rowProperty) === null || _rowInfoes$rowPropert4 === void 0 ? void 0 : _rowInfoes$rowPropert4.dataSource);
19805
+ if ((_rowInfoes$rowPropert2 = rowInfoes.rowProperty) !== null && _rowInfoes$rowPropert2 !== void 0 && _rowInfoes$rowPropert2.dataSource) {
19806
+ var _rowInfoes$rowPropert3;
19807
+ this.hoEditorProvider.setDataSource((_rowInfoes$rowPropert3 = rowInfoes.rowProperty) === null || _rowInfoes$rowPropert3 === void 0 ? void 0 : _rowInfoes$rowPropert3.dataSource);
19874
19808
  } else {
19875
19809
  this.hoEditorProvider.setDataSource();
19876
19810
  }
@@ -20580,15 +20514,11 @@ var HOEditorFactorys = __webpack_require__(74089);
20580
20514
  /**
20581
20515
  * 最小长度变化
20582
20516
  */
20583
- minLengthChange: function minLengthChange(minLength) {
20584
- console.log(minLength);
20585
- },
20517
+ minLengthChange: function minLengthChange(minLength) {},
20586
20518
  /**
20587
20519
  * 最大长度变化
20588
20520
  */
20589
- maxLengthChange: function maxLengthChange(maxLength) {
20590
- console.log(maxLength);
20591
- },
20521
+ maxLengthChange: function maxLengthChange(maxLength) {},
20592
20522
  openDataSourceModal: function openDataSourceModal() {
20593
20523
  this.hoEditorProvider.setIsDataSource(true);
20594
20524
  },
@@ -20622,7 +20552,6 @@ var HOEditorFactorys = __webpack_require__(74089);
20622
20552
  }
20623
20553
  this.textParam.labelText = this.textParam.name;
20624
20554
  var customProperty = this.getCustomProperty();
20625
- console.log((0,objectSpread2/* default */.Z)({}, customProperty), " ==> customProperty");
20626
20555
  this.textParam.customProperty = (0,objectSpread2/* default */.Z)({}, customProperty);
20627
20556
  this.textParam.readType ? this.textParam.readType = 1 : this.textParam.readType = 0;
20628
20557
  if (this.controlStatus === 'add') {
@@ -20954,7 +20883,7 @@ var component = (0,componentNormalizer/* default */.Z)(
20954
20883
 
20955
20884
  /***/ }),
20956
20885
 
20957
- /***/ 88233:
20886
+ /***/ 54060:
20958
20887
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20959
20888
 
20960
20889
  "use strict";
@@ -20966,7 +20895,7 @@ __webpack_require__.d(__webpack_exports__, {
20966
20895
  "default": function() { return /* binding */ CanvasImageDialog; }
20967
20896
  });
20968
20897
 
20969
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=template&id=64ce35c6&
20898
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=template&id=39159745&
20970
20899
  var render = function render() {
20971
20900
  var _vm = this,
20972
20901
  _c = _vm._self._c;
@@ -21093,14 +21022,20 @@ var es_number_constructor = __webpack_require__(9653);
21093
21022
  var ImageNode = __webpack_require__(97186);
21094
21023
  // EXTERNAL MODULE: ./src/HOEditorFactorys.ts
21095
21024
  var HOEditorFactorys = __webpack_require__(74089);
21025
+ // EXTERNAL MODULE: ./src/components/controls/colorPicker/HoColorPickers.vue + 5 modules
21026
+ var HoColorPickers = __webpack_require__(84214);
21096
21027
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
21097
21028
 
21098
21029
 
21099
21030
 
21100
21031
 
21101
21032
 
21033
+
21102
21034
  /* harmony default export */ var CanvasImageDialogvue_type_script_lang_js_ = ({
21103
21035
  name: 'canvasImageDialog',
21036
+ components: {
21037
+ HoColorPickers: HoColorPickers["default"]
21038
+ },
21104
21039
  props: {
21105
21040
  hoEditorFactoryId: {
21106
21041
  type: String,
@@ -21137,10 +21072,11 @@ var HOEditorFactorys = __webpack_require__(74089);
21137
21072
  tool: 1,
21138
21073
  textAreaStyle: {},
21139
21074
  moveDrawCount: 0,
21140
- quadraticCurvePoints: [] // 平滑曲线数组
21075
+ quadraticCurvePoints: [],
21076
+ // 平滑曲线数组
21077
+ predefineColors: ['#ff4500', '#ff8c00', '#ffd700', '#90ee90', '#00ced1', '#1e90ff', '#c71585', '#158577', '#ffffff', '#000000']
21141
21078
  };
21142
21079
  },
21143
-
21144
21080
  watch: {
21145
21081
  tool: function tool() {
21146
21082
  if (this.tool === 0) {
@@ -21149,9 +21085,7 @@ var HOEditorFactorys = __webpack_require__(74089);
21149
21085
  this.canvas.addEventListener('mousemove', this.move);
21150
21086
  }
21151
21087
  },
21152
- canvasHistory: function canvasHistory() {
21153
- console.log(this.canvasHistory);
21154
- }
21088
+ canvasHistory: function canvasHistory() {}
21155
21089
  },
21156
21090
  mounted: function mounted() {
21157
21091
  var _this = this;
@@ -21161,9 +21095,7 @@ var HOEditorFactorys = __webpack_require__(74089);
21161
21095
  this.contextWrap = document.querySelector('.image-canvas-wrap').getContext('2d');
21162
21096
  this.listenDrawLine();
21163
21097
  var updateNode = this.getImageNode();
21164
- if (updateNode === null) {
21165
- console.log('updateNode');
21166
- } else {
21098
+ if (updateNode === null) {} else {
21167
21099
  var image = new Image();
21168
21100
  if (updateNode.markImage) {
21169
21101
  image.src = updateNode.markImage;
@@ -21184,6 +21116,9 @@ var HOEditorFactorys = __webpack_require__(74089);
21184
21116
  }
21185
21117
  },
21186
21118
  methods: {
21119
+ strokeColorChange: function strokeColorChange(val) {
21120
+ this.strokeColor = val;
21121
+ },
21187
21122
  getImageNode: function getImageNode() {
21188
21123
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
21189
21124
  var curOnDragNode = hoEditorFactory.docTree.curOnDragNode;
@@ -21378,10 +21313,10 @@ var HOEditorFactorys = __webpack_require__(74089);
21378
21313
  });
21379
21314
  ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
21380
21315
  /* harmony default export */ var upload_CanvasImageDialogvue_type_script_lang_js_ = (CanvasImageDialogvue_type_script_lang_js_);
21381
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=64ce35c6&prod&lang=scss&
21316
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=39159745&prod&lang=scss&
21382
21317
  // extracted by mini-css-extract-plugin
21383
21318
 
21384
- ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=64ce35c6&prod&lang=scss&
21319
+ ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=39159745&prod&lang=scss&
21385
21320
 
21386
21321
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
21387
21322
  var componentNormalizer = __webpack_require__(70713);
@@ -27158,9 +27093,7 @@ var DrawPrintRecord = /*#__PURE__*/function (_DrawPrintBase) {
27158
27093
  var cPage = hoeditfactory.drawTree.drawPages[this._pageindex];
27159
27094
  cPage && cPage.selectContainer.removeChild(this._text);
27160
27095
  (0,get/* default */.Z)((0,getPrototypeOf/* default */.Z)(DrawPrintRecord.prototype), "clear", this).call(this);
27161
- } catch (error) {
27162
- console.log(error);
27163
- }
27096
+ } catch (error) {}
27164
27097
  }
27165
27098
  /**
27166
27099
  * 绘制打印标记文本
@@ -32905,7 +32838,7 @@ function svg2pdf(element, pdf, options) {
32905
32838
  // set offsets
32906
32839
  pdf.setCurrentTransformationMatrix(pdf.Matrix(1, 0, 0, 1, x, y));
32907
32840
  // set default values that differ from pdf defaults
32908
- console.log("setLineWidth", context.attributeState.strokeWidth);
32841
+
32909
32842
  pdf.setLineWidth(context.attributeState.strokeWidth);
32910
32843
  fill = context.attributeState.fill.color;
32911
32844
  pdf.setFillColor(fill.r, fill.g, fill.b);
@@ -33485,7 +33418,6 @@ var PrintStatus = /*#__PURE__*/function () {
33485
33418
  }
33486
33419
  }
33487
33420
  } catch (error) {
33488
- console.log(error);
33489
33421
  throw Exception/* Exception.printCallStack */.P.printCallStack();
33490
33422
  }
33491
33423
  }
@@ -33567,7 +33499,7 @@ var Print = /*#__PURE__*/function () {
33567
33499
  key: "printToPDF",
33568
33500
  value: function () {
33569
33501
  var _printToPDF = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2(hoEditorFactoryID, PDF, type, fileName, reslove, positionY, format) {
33570
- var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, width, height, last, _iterator, _step, _cpage$drawDomLevel3, index, cpage, dShape, posIndex, posY, _dShape, svg2pdfOptions, _cpage$drawDomLevel, _cpage$drawDomLevel$s, ctx, _cpage$drawDomLevel2, _cpage$drawDomLevel2$, _ctx, _ctx2, _svgBox2, svgData, _ctx3, _ctx4, _last, printStyle, _svgBox, exportHtml, url, link, otherPageNumber, i, name;
33502
+ var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, width, height, last, startPageNumOver, _iterator, _step, _cpage$drawDomLevel3, index, cpage, mainHeight, lastDline, dShape, posIndex, posY, _dShape, svg2pdfOptions, _cpage$drawDomLevel, _cpage$drawDomLevel$s, ctx, _cpage$drawDomLevel2, _cpage$drawDomLevel2$, _ctx, _ctx2, _svgBox2, svgData, _ctx3, _last, printStyle, _svgBox, exportHtml, url, link, otherPageNumber, i, name;
33571
33503
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context3) {
33572
33504
  while (1) {
33573
33505
  switch (_context3.prev = _context3.next) {
@@ -33612,7 +33544,7 @@ var Print = /*#__PURE__*/function () {
33612
33544
  }
33613
33545
  last = -1;
33614
33546
  console.time('绘制svg和生成pdf');
33615
- console.log(hoEditorFactory.drawTree.drawPages);
33547
+ startPageNumOver = false;
33616
33548
  _iterator = (0,createForOfIteratorHelper/* default */.Z)(hoEditorFactory.printStatus.printProcess());
33617
33549
  _context3.prev = 16;
33618
33550
  _iterator.s();
@@ -33630,20 +33562,35 @@ var Print = /*#__PURE__*/function () {
33630
33562
  return _context3.abrupt("continue", 60);
33631
33563
  case 23:
33632
33564
  last = index;
33565
+ if (!(index < hoEditorFactory.startPageNum)) {
33566
+ _context3.next = 26;
33567
+ break;
33568
+ }
33569
+ return _context3.abrupt("break", 62);
33570
+ case 26:
33633
33571
  cpage = hoEditorFactory.drawTree.drawPages[index];
33634
33572
  if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && cpage.drawMainDoc.children.length === 2 && !(cpage.drawMainDoc.children[0] instanceof DrawPageTable/* DrawPageTable */.ox) && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0)) {
33635
- _context3.next = 28;
33573
+ _context3.next = 29;
33636
33574
  break;
33637
33575
  }
33638
- console.log('??????');
33639
33576
  return _context3.abrupt("break", 62);
33640
- case 28:
33577
+ case 29:
33641
33578
  if (cpage.drawDomLevel && !cpage.drawDomLevel.stage) {
33642
33579
  cpage.drawDomLevel.bindStage();
33643
33580
  cpage.needUpdateStage = true;
33644
33581
  }
33645
33582
  // 合并续打: 上一页还有空余时续打起始页隐藏页脚
33646
33583
  if (index === hoEditorFactory.startPageNum && positionY) {
33584
+ mainHeight = cpage.drawMainDoc.y;
33585
+ if (cpage.drawMainDoc.children.length > 0) {
33586
+ lastDline = cpage.drawMainDoc.children[cpage.drawMainDoc.children.length - 1];
33587
+ mainHeight += lastDline.y + lastDline.dHeight;
33588
+ }
33589
+ if (mainHeight - positionY <= 10) {
33590
+ // 判断续打时当前页已打完 下一份病历另起一页
33591
+ console.warn("当前页已打印,下一份病历另起一页");
33592
+ startPageNumOver = true;
33593
+ }
33647
33594
  dShape = new createjs.Shape();
33648
33595
  dShape.graphics.beginFill('#FFFFFF').rect(0, 0, width, positionY).endFill();
33649
33596
  cpage.drawDocContainer.addChild(dShape);
@@ -33677,7 +33624,7 @@ var Print = /*#__PURE__*/function () {
33677
33624
  }
33678
33625
  }
33679
33626
  if (!hoEditorFactory.isUseImagePrint) {
33680
- _context3.next = 45;
33627
+ _context3.next = 46;
33681
33628
  break;
33682
33629
  }
33683
33630
  PDF === null || PDF === void 0 ? void 0 : PDF.addPage();
@@ -33699,7 +33646,7 @@ var Print = /*#__PURE__*/function () {
33699
33646
  ctx = null;
33700
33647
  _context3.next = 59;
33701
33648
  break;
33702
- case 45:
33649
+ case 46:
33703
33650
  _ctx = new canvas2svg({
33704
33651
  width: width,
33705
33652
  height: height,
@@ -33707,23 +33654,22 @@ var Print = /*#__PURE__*/function () {
33707
33654
  });
33708
33655
  _ctx && ((_cpage$drawDomLevel2 = cpage.drawDomLevel) === null || _cpage$drawDomLevel2 === void 0 ? void 0 : (_cpage$drawDomLevel2$ = _cpage$drawDomLevel2.stage) === null || _cpage$drawDomLevel2$ === void 0 ? void 0 : _cpage$drawDomLevel2$.draw(_ctx));
33709
33656
  if (!(type === 'html')) {
33710
- _context3.next = 52;
33657
+ _context3.next = 53;
33711
33658
  break;
33712
33659
  }
33713
33660
  svgData = (_ctx2 = _ctx) === null || _ctx2 === void 0 ? void 0 : _ctx2.getSvg();
33714
33661
  svgData && ((_svgBox2 = svgBox) === null || _svgBox2 === void 0 ? void 0 : _svgBox2.appendChild(svgData));
33715
33662
  _context3.next = 58;
33716
33663
  break;
33717
- case 52:
33664
+ case 53:
33718
33665
  PDF === null || PDF === void 0 ? void 0 : PDF.addPage();
33719
- console.log((_ctx3 = _ctx) === null || _ctx3 === void 0 ? void 0 : _ctx3.getSvg());
33720
33666
  _context3.t0 = PDF;
33721
33667
  if (!_context3.t0) {
33722
33668
  _context3.next = 58;
33723
33669
  break;
33724
33670
  }
33725
33671
  _context3.next = 58;
33726
- return svg2pdf((_ctx4 = _ctx) === null || _ctx4 === void 0 ? void 0 : _ctx4.getSvg(), PDF, svg2pdfOptions);
33672
+ return svg2pdf((_ctx3 = _ctx) === null || _ctx3 === void 0 ? void 0 : _ctx3.getSvg(), PDF, svg2pdfOptions);
33727
33673
  case 58:
33728
33674
  _ctx = null;
33729
33675
  case 59:
@@ -33784,7 +33730,6 @@ var Print = /*#__PURE__*/function () {
33784
33730
  type: "text/html"
33785
33731
  }));
33786
33732
  link = document.createElement('a');
33787
- console.log(url);
33788
33733
  link.style.display = 'none';
33789
33734
  link.href = url;
33790
33735
  link.setAttribute('download', fileName ? fileName : '电子病历文档');
@@ -33804,6 +33749,9 @@ var Print = /*#__PURE__*/function () {
33804
33749
  PDF === null || PDF === void 0 ? void 0 : PDF.deletePage(1);
33805
33750
  console.warn("otherPageNumber <= 0 \u65F6\u4ECE\u5F00\u59CB\u5220\u63891\u9875\u7A7A\u767D\u9875");
33806
33751
  }
33752
+ if (startPageNumOver) {
33753
+ PDF === null || PDF === void 0 ? void 0 : PDF.deletePage(1);
33754
+ }
33807
33755
  name = hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : '电子病历文档';
33808
33756
  PDF && this.openDataUriInWindow(PDF, name, hoEditorFactory.pageProperty.widthPixes);
33809
33757
  }
@@ -33825,7 +33773,7 @@ var Print = /*#__PURE__*/function () {
33825
33773
  key: "createPDFBase64",
33826
33774
  value: function () {
33827
33775
  var _createPDFBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee3(hoEditorFactoryID, reslove, PDF) {
33828
- var hoEditorFactory, orientation, svgBox, last, _iterator2, _step2, _cpage$drawDomLevel6, index, cpage, _cpage$drawDomLevel4, _cpage$drawDomLevel4$, ctx, _cpage$drawDomLevel5, _cpage$drawDomLevel5$, _ctx6, _ctx5;
33776
+ var hoEditorFactory, orientation, svgBox, last, _iterator2, _step2, _cpage$drawDomLevel6, index, cpage, _cpage$drawDomLevel4, _cpage$drawDomLevel4$, ctx, _cpage$drawDomLevel5, _cpage$drawDomLevel5$, _ctx5, _ctx4;
33829
33777
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee3$(_context4) {
33830
33778
  while (1) {
33831
33779
  switch (_context4.prev = _context4.next) {
@@ -33884,17 +33832,17 @@ var Print = /*#__PURE__*/function () {
33884
33832
  _context4.next = 36;
33885
33833
  break;
33886
33834
  case 30:
33887
- _ctx5 = new canvas2svg({
33835
+ _ctx4 = new canvas2svg({
33888
33836
  width: hoEditorFactory.pageProperty.widthPixes,
33889
33837
  height: orientation === 'l' ? hoEditorFactory.pageProperty.heightPixes - 1 : hoEditorFactory.pageProperty.heightPixes,
33890
33838
  printBlack: hoEditorFactory.printBlack
33891
33839
  });
33892
- _ctx5 && ((_cpage$drawDomLevel5 = cpage.drawDomLevel) === null || _cpage$drawDomLevel5 === void 0 ? void 0 : (_cpage$drawDomLevel5$ = _cpage$drawDomLevel5.stage) === null || _cpage$drawDomLevel5$ === void 0 ? void 0 : _cpage$drawDomLevel5$.draw(_ctx5));
33840
+ _ctx4 && ((_cpage$drawDomLevel5 = cpage.drawDomLevel) === null || _cpage$drawDomLevel5 === void 0 ? void 0 : (_cpage$drawDomLevel5$ = _cpage$drawDomLevel5.stage) === null || _cpage$drawDomLevel5$ === void 0 ? void 0 : _cpage$drawDomLevel5$.draw(_ctx4));
33893
33841
  PDF.addPage();
33894
33842
  _context4.next = 35;
33895
- return svg2pdf((_ctx6 = _ctx5) === null || _ctx6 === void 0 ? void 0 : _ctx6.getSvg(), PDF);
33843
+ return svg2pdf((_ctx5 = _ctx4) === null || _ctx5 === void 0 ? void 0 : _ctx5.getSvg(), PDF);
33896
33844
  case 35:
33897
- _ctx5 = null;
33845
+ _ctx4 = null;
33898
33846
  case 36:
33899
33847
  index > 0 && ((_cpage$drawDomLevel6 = cpage.drawDomLevel) === null || _cpage$drawDomLevel6 === void 0 ? void 0 : _cpage$drawDomLevel6.clearStage());
33900
33848
  case 37:
@@ -34026,7 +33974,7 @@ var Print = /*#__PURE__*/function () {
34026
33974
  key: "printAllNew",
34027
33975
  value: function () {
34028
33976
  var _printAllNew = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee5(hoEditorFactoryID, reslove, PDF, position) {
34029
- var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, _iterator4, _step4, _cpage$drawDomLevel12, index, cpage, _cpage$drawDomLevel9, _cpage$drawDomLevel9$, ctx, _cpage$drawDomLevel10, _cpage$drawDomLevel11, _ctx8, _ctx7, lastPos;
33977
+ var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, _iterator4, _step4, _cpage$drawDomLevel12, index, cpage, _cpage$drawDomLevel9, _cpage$drawDomLevel9$, ctx, _cpage$drawDomLevel10, _cpage$drawDomLevel11, _ctx7, _ctx6, lastPos;
34030
33978
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee5$(_context6) {
34031
33979
  while (1) {
34032
33980
  switch (_context6.prev = _context6.next) {
@@ -34063,7 +34011,7 @@ var Print = /*#__PURE__*/function () {
34063
34011
  _iterator4.s();
34064
34012
  case 17:
34065
34013
  if ((_step4 = _iterator4.n()).done) {
34066
- _context6.next = 50;
34014
+ _context6.next = 49;
34067
34015
  break;
34068
34016
  }
34069
34017
  index = _step4.value;
@@ -34072,7 +34020,7 @@ var Print = /*#__PURE__*/function () {
34072
34020
  break;
34073
34021
  }
34074
34022
  message/* default.info */.Z.info('请进行翻页');
34075
- return _context6.abrupt("continue", 48);
34023
+ return _context6.abrupt("continue", 47);
34076
34024
  case 22:
34077
34025
  last = index;
34078
34026
  cpage = hoEditorFactory.drawTree.drawPages[index];
@@ -34085,14 +34033,13 @@ var Print = /*#__PURE__*/function () {
34085
34033
  cpage.needUpdateStage = false;
34086
34034
  }
34087
34035
  if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && cpage.drawMainDoc.children.length === 2 && !(cpage.drawMainDoc.children[0] instanceof DrawPageTable/* DrawPageTable */.ox) && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0)) {
34088
- _context6.next = 29;
34036
+ _context6.next = 28;
34089
34037
  break;
34090
34038
  }
34091
- console.log('??????');
34092
- return _context6.abrupt("break", 50);
34093
- case 29:
34039
+ return _context6.abrupt("break", 49);
34040
+ case 28:
34094
34041
  if (!hoEditorFactory.isUseImagePrint) {
34095
- _context6.next = 41;
34042
+ _context6.next = 40;
34096
34043
  break;
34097
34044
  }
34098
34045
  if (formats.length == 2 && hoEditorFactory.isFixedPrintToA4 == '1') {
@@ -34123,41 +34070,41 @@ var Print = /*#__PURE__*/function () {
34123
34070
  ctx.posY = svg2pdfOptions.y;
34124
34071
  ctx && ((_cpage$drawDomLevel9 = cpage.drawDomLevel) === null || _cpage$drawDomLevel9 === void 0 ? void 0 : (_cpage$drawDomLevel9$ = _cpage$drawDomLevel9.stage) === null || _cpage$drawDomLevel9$ === void 0 ? void 0 : _cpage$drawDomLevel9$.draw(ctx));
34125
34072
  ctx = null;
34126
- _context6.next = 47;
34073
+ _context6.next = 46;
34127
34074
  break;
34128
- case 41:
34129
- _ctx7 = new canvas2svg({
34075
+ case 40:
34076
+ _ctx6 = new canvas2svg({
34130
34077
  width: widthPixes,
34131
34078
  height: orientation === 'l' ? heightPixes - 1 : heightPixes,
34132
34079
  printBlack: hoEditorFactory.printBlack
34133
34080
  });
34134
- _ctx7 && ((_cpage$drawDomLevel10 = cpage.drawDomLevel) === null || _cpage$drawDomLevel10 === void 0 ? void 0 : (_cpage$drawDomLevel11 = _cpage$drawDomLevel10.stage) === null || _cpage$drawDomLevel11 === void 0 ? void 0 : _cpage$drawDomLevel11.draw(_ctx7));
34081
+ _ctx6 && ((_cpage$drawDomLevel10 = cpage.drawDomLevel) === null || _cpage$drawDomLevel10 === void 0 ? void 0 : (_cpage$drawDomLevel11 = _cpage$drawDomLevel10.stage) === null || _cpage$drawDomLevel11 === void 0 ? void 0 : _cpage$drawDomLevel11.draw(_ctx6));
34135
34082
  if (formats.length == 2 && !hoEditorFactory.isFixedPrintToA4) {
34136
34083
  PDF === null || PDF === void 0 ? void 0 : PDF.addPage(formats, orientation);
34137
34084
  } else {
34138
34085
  PDF === null || PDF === void 0 ? void 0 : PDF.addPage(format, orientation);
34139
34086
  }
34140
- _context6.next = 46;
34141
- return svg2pdf((_ctx8 = _ctx7) === null || _ctx8 === void 0 ? void 0 : _ctx8.getSvg(), PDF, svg2pdfOptions);
34087
+ _context6.next = 45;
34088
+ return svg2pdf((_ctx7 = _ctx6) === null || _ctx7 === void 0 ? void 0 : _ctx7.getSvg(), PDF, svg2pdfOptions);
34089
+ case 45:
34090
+ _ctx6 = null;
34142
34091
  case 46:
34143
- _ctx7 = null;
34144
- case 47:
34145
34092
  index > 0 && ((_cpage$drawDomLevel12 = cpage.drawDomLevel) === null || _cpage$drawDomLevel12 === void 0 ? void 0 : _cpage$drawDomLevel12.clearStage());
34146
- case 48:
34093
+ case 47:
34147
34094
  _context6.next = 17;
34148
34095
  break;
34149
- case 50:
34150
- _context6.next = 55;
34096
+ case 49:
34097
+ _context6.next = 54;
34151
34098
  break;
34152
- case 52:
34153
- _context6.prev = 52;
34099
+ case 51:
34100
+ _context6.prev = 51;
34154
34101
  _context6.t0 = _context6["catch"](15);
34155
34102
  _iterator4.e(_context6.t0);
34156
- case 55:
34157
- _context6.prev = 55;
34103
+ case 54:
34104
+ _context6.prev = 54;
34158
34105
  _iterator4.f();
34159
- return _context6.finish(55);
34160
- case 58:
34106
+ return _context6.finish(54);
34107
+ case 57:
34161
34108
  if (hoEditorFactory.printStatus.printRange !== PrintRange.prSelected) {
34162
34109
  hoEditorFactory.printStatus.recordLastPosByPageIndex(last);
34163
34110
  }
@@ -34171,12 +34118,12 @@ var Print = /*#__PURE__*/function () {
34171
34118
  }
34172
34119
  hoEditorFactory.printStatus.DrawPrintRange().PrintOver();
34173
34120
  reslove();
34174
- case 62:
34121
+ case 61:
34175
34122
  case "end":
34176
34123
  return _context6.stop();
34177
34124
  }
34178
34125
  }
34179
- }, _callee5, null, [[15, 52, 55, 58]]);
34126
+ }, _callee5, null, [[15, 51, 54, 57]]);
34180
34127
  }));
34181
34128
  function printAllNew(_x15, _x16, _x17, _x18) {
34182
34129
  return _printAllNew.apply(this, arguments);
@@ -36317,7 +36264,6 @@ var DocController = /*#__PURE__*/function () {
36317
36264
  }, {
36318
36265
  key: "undoOperate",
36319
36266
  value: function undoOperate() {
36320
- console.log("撤销");
36321
36267
  _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.undo();
36322
36268
  return;
36323
36269
  }
@@ -36327,7 +36273,6 @@ var DocController = /*#__PURE__*/function () {
36327
36273
  }, {
36328
36274
  key: "redoOperate",
36329
36275
  value: function redoOperate() {
36330
- console.log("恢复");
36331
36276
  _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.redo();
36332
36277
  return;
36333
36278
  }
@@ -37514,7 +37459,6 @@ var DocController = /*#__PURE__*/function () {
37514
37459
  var indexsMap = object.obj2;
37515
37460
  returnPath = hoEditorFactory.docTree.getFindPath(nodesMap, indexsMap, this._count);
37516
37461
  }
37517
- console.log("returnPath ==> ", returnPath);
37518
37462
  if (returnPath === "-1") {
37519
37463
  this._count = 0;
37520
37464
  returnPath = this.find(curDomRange, findContent, direction, matchCase);
@@ -37868,7 +37812,6 @@ var DocController = /*#__PURE__*/function () {
37868
37812
  curArea.removeComment(comment);
37869
37813
  curArea.areaComments.delete(comment.id);
37870
37814
  hoEditorFactory.drawTree.commentsMap.delete(comment.id);
37871
- console.log(hoEditorFactory.drawTree.commentsMap);
37872
37815
  var endPath = comment.eNode.getNodePath();
37873
37816
  hoEditorFactory.undoService.begin();
37874
37817
  hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodeDeleteUndoUnit */ .w(_this6._hoEditorFactoryID, comment.eNode, endPath));
@@ -39306,7 +39249,6 @@ var DocTree = /*#__PURE__*/function () {
39306
39249
  set: function set(value) {
39307
39250
  if (value !== this._docProperty) {
39308
39251
  this._docProperty = value;
39309
- console.log("this._docProperty change ==> ", this._docProperty);
39310
39252
  }
39311
39253
  }
39312
39254
  }, {
@@ -41517,7 +41459,6 @@ var DomRange = /*#__PURE__*/function () {
41517
41459
  if (bEndInTable && !bInSameRect && aendTable && aendTable !== astartTable) {
41518
41460
  ret = ret.concat(aendTable.getSelectNodesForDelete(domRange, true));
41519
41461
  }
41520
- console.log(ret);
41521
41462
  return ret;
41522
41463
  }
41523
41464
  }, {
@@ -55279,7 +55220,6 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
55279
55220
  if (customProperty) {
55280
55221
  assignvalue(_this._customProperty, customProperty);
55281
55222
  }
55282
- console.log((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this));
55283
55223
  _this.node2DrawNodeRange(0, 0);
55284
55224
  return _this;
55285
55225
  }
@@ -55338,7 +55278,6 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
55338
55278
  return this._connectMode;
55339
55279
  },
55340
55280
  set: function set(value) {
55341
- console.log("connectMode --> change -->", value);
55342
55281
  if (this._connectMode !== value) {
55343
55282
  this._connectMode = value;
55344
55283
  }
@@ -63954,7 +63893,6 @@ var DrawResize = /*#__PURE__*/function () {
63954
63893
  this.dragFlag = false;
63955
63894
  this.sLocation.x = e.stageX;
63956
63895
  this.sLocation.y = e.stageY;
63957
- console.log(this.sLocation.x / 2, this.sLocation.y / 2);
63958
63896
  }
63959
63897
  }]);
63960
63898
  return DrawResize;
@@ -72762,8 +72700,6 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
72762
72700
  _this2._dHeight = node.imgHeight;
72763
72701
  }
72764
72702
  node.imgWidth = _this2._dWidth;
72765
- console.log(_this2._dWidth);
72766
- console.log(node.imgHeight, _this2._dHeight);
72767
72703
  if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_7__/* .FingerPosition.center */ .d.center) {
72768
72704
  _this2._dWidth = 0;
72769
72705
  _this2._dHeight = 0;
@@ -72772,7 +72708,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
72772
72708
  _fingerBitmap.setTransform(_fingerBitmap.x, _fingerBitmap.y, fingerscale, fingerscale);
72773
72709
  var hitArea = new createjs.Shape();
72774
72710
  hitArea.graphics.beginFill('#000000').drawRect(_fingerBitmap.x, 0, fingerWidth * fingerscale, fingerHeight * fingerscale); //这里是图片大小
72775
- console.log(hitWidth * scale, hitHeight * scale);
72711
+
72776
72712
  bitmap.hitArea = hitArea;
72777
72713
  _fingerBitmap.hitArea = hitArea;
72778
72714
  updateSign();
@@ -72969,7 +72905,6 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
72969
72905
  key: "drawConnectChar",
72970
72906
  value: function drawConnectChar(isFront) {
72971
72907
  var connectMode = this.node.connectMode;
72972
- console.log('绘制连接符 --> ', connectMode);
72973
72908
  var line = new createjs.Shape();
72974
72909
  if (connectMode === '/') {
72975
72910
  if (this.type === 1) {
@@ -75445,7 +75380,6 @@ var DrawPrintBase = /*#__PURE__*/function () {
75445
75380
  //fix me 此处没有stage需要安上
75446
75381
  return;
75447
75382
  }
75448
- console.log("paintMask ==> ", stage);
75449
75383
  stage.update();
75450
75384
  }
75451
75385
  //清空遮罩
@@ -75984,7 +75918,6 @@ var EditorController = /*#__PURE__*/function () {
75984
75918
  e.preventDefault();
75985
75919
  });
75986
75920
  this.editor.input.addEventListener('copy', function (e) {
75987
- console.log(e);
75988
75921
  if (!e || !e.clipboardData) {
75989
75922
  return;
75990
75923
  }
@@ -75994,7 +75927,6 @@ var EditorController = /*#__PURE__*/function () {
75994
75927
  e.preventDefault();
75995
75928
  });
75996
75929
  this.editor.input.addEventListener('paste', function (e) {
75997
- console.log(e);
75998
75930
  if (!e || !e.clipboardData) {
75999
75931
  return;
76000
75932
  }
@@ -77231,7 +77163,6 @@ var DrawTree = /*#__PURE__*/function () {
77231
77163
  var droots = null;
77232
77164
  var path = "";
77233
77165
  var iend = Math.min(pageNo, this._headerChildNodes.length - 1);
77234
- console.log(this._headerChildNodes);
77235
77166
  if (iend >= 0) {
77236
77167
  for (var i = iend; i >= 0; i--) {
77237
77168
  if (this._headerChildNodes[i] && this._headerChildNodes[i].length > 0) {
@@ -77853,7 +77784,6 @@ var DrawTree = /*#__PURE__*/function () {
77853
77784
  }
77854
77785
  }
77855
77786
  if (!dArea) {
77856
- console.log("无法定位起始行的绘制区域");
77857
77787
  return false;
77858
77788
  }
77859
77789
  }
@@ -77873,7 +77803,6 @@ var DrawTree = /*#__PURE__*/function () {
77873
77803
  // const darea = this.getDrawA(dline);
77874
77804
  if (e.repaintImmediate) {
77875
77805
  if (!dArea) {
77876
- console.log("无法定位起始行的绘制区域");
77877
77806
  return false;
77878
77807
  }
77879
77808
  dArea.changed = true;
@@ -77888,7 +77817,6 @@ var DrawTree = /*#__PURE__*/function () {
77888
77817
  // }
77889
77818
  } else if (e.action === DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle) {
77890
77819
  if (e.oldDrawLines.length <= 0) {
77891
- console.log("需要oldEndPath来进行重绘");
77892
77820
  return false;
77893
77821
  }
77894
77822
  var dlines = e.oldDrawLines;
@@ -77919,7 +77847,6 @@ var DrawTree = /*#__PURE__*/function () {
77919
77847
  }
77920
77848
  } else if (e.action === DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange) {
77921
77849
  if (e.oldDrawLines.length <= 0) {
77922
- console.log("需要oldEndPath来进行重绘");
77923
77850
  return false;
77924
77851
  }
77925
77852
  var tables = new Array();
@@ -77951,7 +77878,6 @@ var DrawTree = /*#__PURE__*/function () {
77951
77878
  }
77952
77879
  } else if (e.action === DocTree/* DocAction.daUndoInsert */.gk.daUndoInsert || e.action === DocTree/* DocAction.daDelete */.gk.daDelete) {
77953
77880
  if (e.oldDrawTreeLines.length <= 0) {
77954
- console.log("需要oldEndPath来进行重绘");
77955
77881
  return false;
77956
77882
  }
77957
77883
  var iStartLineIndex = 1;
@@ -78078,7 +78004,6 @@ var DrawTree = /*#__PURE__*/function () {
78078
78004
  dline = node.drawTable;
78079
78005
  if (e.repaintImmediate) {
78080
78006
  if (!dArea) {
78081
- console.log("无法定位起始行的绘制区域");
78082
78007
  return false;
78083
78008
  }
78084
78009
  dArea.changed = true;
@@ -78108,7 +78033,6 @@ var DrawTree = /*#__PURE__*/function () {
78108
78033
  dline = node.drawTable;
78109
78034
  if (e.repaintImmediate) {
78110
78035
  if (!dArea) {
78111
- console.log("无法定位起始行的绘制区域");
78112
78036
  return false;
78113
78037
  }
78114
78038
  dArea.changed = true;
@@ -78148,7 +78072,6 @@ var DrawTree = /*#__PURE__*/function () {
78148
78072
  // const darea = this.getDrawA(dline);
78149
78073
  if (e.repaintImmediate) {
78150
78074
  if (!dArea) {
78151
- console.log("无法定位起始行的绘制区域");
78152
78075
  return false;
78153
78076
  }
78154
78077
  dArea.changed = true;
@@ -78181,7 +78104,6 @@ var DrawTree = /*#__PURE__*/function () {
78181
78104
  // const darea = this.getDrawA(dline);
78182
78105
  if (e.repaintImmediate) {
78183
78106
  if (!dArea) {
78184
- console.log("无法定位起始行的绘制区域");
78185
78107
  return false;
78186
78108
  }
78187
78109
  dArea.changed = true;
@@ -78741,8 +78663,7 @@ var DrawTree = /*#__PURE__*/function () {
78741
78663
  selectStart = dLine.paragraphNode.getNodePath();
78742
78664
  } else {
78743
78665
  //取上一行的最后一个绘制点
78744
- console.log("line", lineIndex);
78745
- console.log("length", dLine.paragraphNode.drawlines[lineIndex - 1].drawItems.length);
78666
+
78746
78667
  var dNode = dLine.paragraphNode.drawlines[lineIndex - 1].drawItems[dLine.paragraphNode.drawlines[lineIndex - 1].drawItems.length - 1];
78747
78668
  if ((0,IDrawInfos/* instanceOfIDrawInfos */.r)(dNode)) {
78748
78669
  var node = dNode.node;
@@ -80687,9 +80608,7 @@ var Exception = /*#__PURE__*/function () {
80687
80608
  }
80688
80609
  }, {
80689
80610
  key: "printCallStack",
80690
- value: function printCallStack() {
80691
- console.trace();
80692
- }
80611
+ value: function printCallStack() {}
80693
80612
  }]);
80694
80613
  return Exception;
80695
80614
  }();
@@ -82084,7 +82003,6 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
82084
82003
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
82085
82004
  if (hoEditorFactory.timeStamp.timeOut()) {
82086
82005
  hoEditorFactory.timeStamp.update();
82087
- console.log("timout");
82088
82006
  return false;
82089
82007
  }
82090
82008
  hoEditorFactory.timeStamp.update();
@@ -82588,7 +82506,6 @@ var NodeStyleUndoUnit = /*#__PURE__*/function () {
82588
82506
  value: function repaint(oldStartPath, newEndpath, oldEndPath) {
82589
82507
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
82590
82508
  if (newEndpath === "") return;
82591
- console.log("repaint", "\u539F\u59CB\u5F00\u59CB\u8DEF\u5F84\uFF1A".concat(oldStartPath, "\u65B0\u7ED3\u675F\u8DEF\u5F84\uFF1A").concat(newEndpath));
82592
82509
  hoEditorFactory.docTree.curDomRange.startPath = oldStartPath;
82593
82510
  hoEditorFactory.docTree.curDomRange.endPath = newEndpath;
82594
82511
  var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, oldStartPath, newEndpath).normalize();
@@ -85428,7 +85345,6 @@ var TextInsertUndoUnit = /*#__PURE__*/function () {
85428
85345
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
85429
85346
  if (hoEditorFactory.timeStamp.timeOut()) {
85430
85347
  hoEditorFactory.timeStamp.update();
85431
- console.log("timout");
85432
85348
  return false;
85433
85349
  }
85434
85350
  hoEditorFactory.timeStamp.update();
@@ -86859,7 +86775,6 @@ var UnitConvert = /*#__PURE__*/function () {
86859
86775
  var uploadImages = function uploadImages(options) {
86860
86776
  return new Promise(function (resolve, reject) {
86861
86777
  if (!options.url) {
86862
- console.log("请确认你的url路径");
86863
86778
  return;
86864
86779
  }
86865
86780
  var method = options.method || "GET";
@@ -86885,7 +86800,6 @@ var uploadImages = function uploadImages(options) {
86885
86800
  var hoAjax = function hoAjax(options) {
86886
86801
  return new Promise(function (resolve, reject) {
86887
86802
  if (!options.url) {
86888
- console.log("请确认你的url路径");
86889
86803
  return;
86890
86804
  }
86891
86805
  var method = options.method || "GET";
@@ -86983,31 +86897,29 @@ var isMap = function isMap(map) {
86983
86897
  /* harmony export */ "y": function() { return /* binding */ generateID; }
86984
86898
  /* harmony export */ });
86985
86899
  /* unused harmony exports generateGetBoundingClientRect, createPrintHTMLIframe, resetScale, getUserIP */
86986
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(63442);
86987
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74916);
86988
- /* 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__);
86989
- /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15306);
86990
- /* 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__);
86991
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26699);
86992
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__);
86993
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32023);
86994
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
86995
- /* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91038);
86996
- /* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__);
86997
- /* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78783);
86998
- /* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
86999
- /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41539);
87000
- /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__);
87001
- /* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(39714);
87002
- /* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8__);
87003
- /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(92222);
87004
- /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_9__);
87005
- /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(54747);
87006
- /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_10__);
87007
- /* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(4723);
87008
- /* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_11__);
87009
- /* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(95551);
87010
-
86900
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74916);
86901
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
86902
+ /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15306);
86903
+ /* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__);
86904
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26699);
86905
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__);
86906
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32023);
86907
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
86908
+ /* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91038);
86909
+ /* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__);
86910
+ /* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78783);
86911
+ /* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
86912
+ /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41539);
86913
+ /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__);
86914
+ /* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(39714);
86915
+ /* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_7__);
86916
+ /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(92222);
86917
+ /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__);
86918
+ /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54747);
86919
+ /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__);
86920
+ /* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4723);
86921
+ /* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_10__);
86922
+ /* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(95551);
87011
86923
 
87012
86924
 
87013
86925
 
@@ -87106,7 +87018,6 @@ var dateFormat = function dateFormat(date, format) {
87106
87018
  if (isNaN(new Date(stringDate).getTime())) {
87107
87019
  if (format && format.includes('MM') && !format.includes('yyyy')) {
87108
87020
  stringDate = '2021/' + stringDate;
87109
- console.log('???stringDate', stringDate);
87110
87021
  }
87111
87022
  if (format && format.includes('HH') && !format.includes('ss')) {
87112
87023
  stringDate = stringDate + ':00';
@@ -87203,15 +87114,6 @@ var generateGetBoundingClientRect = function generateGetBoundingClientRect(poper
87203
87114
  var selectCanvasSize = selectCanvas.getBoundingClientRect();
87204
87115
  var x = selectCanvasSize.left + poperPos.x;
87205
87116
  var y = selectCanvasSize.top + poperPos.y;
87206
- console.log(_objectSpread({}, poperPos));
87207
- console.log({
87208
- width: poperPos.width,
87209
- height: poperPos.height,
87210
- top: y,
87211
- right: x,
87212
- bottom: y,
87213
- left: x
87214
- });
87215
87117
  return function () {
87216
87118
  return {
87217
87119
  width: poperPos.width,
@@ -87276,7 +87178,7 @@ var createRightMenu = function createRightMenu(clientX, clientY, rightMenuModal)
87276
87178
  var virtualElement = {
87277
87179
  getBoundingClientRect: generateGetBoundingClientRect(clientX, clientY)
87278
87180
  };
87279
- (0,_popperjs_core__WEBPACK_IMPORTED_MODULE_12__/* .createPopper */ .fi)(virtualElement, rightMenuModal, {
87181
+ (0,_popperjs_core__WEBPACK_IMPORTED_MODULE_11__/* .createPopper */ .fi)(virtualElement, rightMenuModal, {
87280
87182
  placement: 'bottom-start',
87281
87183
  modifiers: [{
87282
87184
  name: 'flip',
@@ -87434,7 +87336,6 @@ var dealImage = function dealImage(base64, callback, qualitys, size, img) {
87434
87336
  base64 = canvas.toDataURL('image/jpeg', quality);
87435
87337
  }
87436
87338
  }
87437
- console.log(quality, size, canvas.width, canvas.height, base64);
87438
87339
  callback(base64); //必须通过回调函数返回,否则无法及时拿到该值
87439
87340
  };
87440
87341
  };
@@ -91084,7 +90985,6 @@ __webpack_require__(77601);
91084
90985
  };
91085
90986
  this.img.onerror = function () {
91086
90987
  if (typeof console != "undefined") {
91087
- console.log('ERROR: image "' + href + '" not found');
91088
90988
  self.loaded = true;
91089
90989
  }
91090
90990
  };
@@ -91391,9 +91291,7 @@ __webpack_require__(77601);
91391
91291
  this.extraFilterDistance = this.blurRadius;
91392
91292
  this.apply = function (ctx, x, y, width, height) {
91393
91293
  if (typeof stackBlurCanvasRGBA == "undefined") {
91394
- if (typeof console != "undefined") {
91395
- console.log("ERROR: StackBlur.js must be included for blur to work");
91396
- }
91294
+ if (typeof console != "undefined") {}
91397
91295
  return;
91398
91296
  }
91399
91297
  // StackBlur requires canvas be on document
@@ -91412,9 +91310,7 @@ __webpack_require__(77601);
91412
91310
  svg.Element.desc = function (node) {};
91413
91311
  svg.Element.desc.prototype = new svg.Element.ElementBase();
91414
91312
  svg.Element.MISSING = function (node) {
91415
- if (typeof console != "undefined") {
91416
- console.log("ERROR: Element '" + node.nodeName + "' not yet implemented.");
91417
- }
91313
+ if (typeof console != "undefined") {}
91418
91314
  };
91419
91315
  svg.Element.MISSING.prototype = new svg.Element.ElementBase();
91420
91316
  // element factory
@@ -94261,7 +94157,6 @@ __webpack_require__(77601);
94261
94157
  };
94262
94158
  function use(name) {
94263
94159
  _p.r([moduleMapping[name]]);
94264
- console.log("-=-=-=");
94265
94160
  }
94266
94161
  /**
94267
94162
  * 模块暴露
@@ -94281,9 +94176,7 @@ __webpack_require__(77601);
94281
94176
  // build环境中才含有use
94282
94177
  try {
94283
94178
  use("kf.start");
94284
- } catch (e) {
94285
- console.log("-=-=sdfsdf", e);
94286
- }
94179
+ } catch (e) {}
94287
94180
  })(this);
94288
94181
  })();
94289
94182
 
@@ -104197,7 +104090,6 @@ __webpack_require__(47042);
104197
104090
  initResource: function initResource() {
104198
104091
  var _self = this;
104199
104092
  ResourceManager.ready(function (Formula) {
104200
- console.log(_self);
104201
104093
  _self.FormulaClass = Formula;
104202
104094
  _self.initComponents();
104203
104095
  _self._readyState = true;
@@ -111636,7 +111528,6 @@ __webpack_require__(69600);
111636
111528
  if (e.which !== 1 || _self.disabled) {
111637
111529
  return;
111638
111530
  }
111639
- console.log("delegate ==> ", this.getAttribute("data-value"));
111640
111531
  $$.publish("data.select", this.getAttribute("data-value"));
111641
111532
  });
111642
111533
  this.boxObject.initEvent();
@@ -120478,7 +120369,7 @@ this.createjs=this.createjs||{};/**
120478
120369
  * to deprecate properties.
120479
120370
  * @return {Function} If a fallbackMethod is supplied, returns a closure that will call the fallback method after
120480
120371
  * logging the warning in the console.
120481
- */createjs.deprecate=function(fallbackMethod,name){"use strict";return function(){var msg="Deprecated property or method '"+name+"'. See docs for info.";console&&(console.warn?console.warn(msg):console.log(msg));return fallbackMethod&&fallbackMethod.apply(this,arguments);};};//##############################################################################
120372
+ */createjs.deprecate=function(fallbackMethod,name){"use strict";return function(){var msg="Deprecated property or method '"+name+"'. See docs for info.";console&&(console.warn?console.warn(msg):void 0);return fallbackMethod&&fallbackMethod.apply(this,arguments);};};//##############################################################################
120482
120373
  // Event.js
120483
120374
  //##############################################################################
120484
120375
  this.createjs=this.createjs||{};(function(){"use strict";// constructor:
@@ -121064,7 +120955,7 @@ Ticker.getFPS=createjs.deprecate(Ticker._getFPS,"Ticker.getFPS");/**
121064
120955
  * @property framerate
121065
120956
  * @static
121066
120957
  * @type {Number}
121067
- **/try{Object.defineProperties(Ticker,{interval:{get:Ticker._getInterval,set:Ticker._setInterval},framerate:{get:Ticker._getFPS,set:Ticker._setFPS}});}catch(e){console.log(e);}// public static methods:
120958
+ **/try{Object.defineProperties(Ticker,{interval:{get:Ticker._getInterval,set:Ticker._setInterval},framerate:{get:Ticker._getFPS,set:Ticker._setFPS}});}catch(e){}// public static methods:
121068
120959
  /**
121069
120960
  * Starts the tick. This is called automatically when the first listener is added.
121070
120961
  * @method init
@@ -125956,7 +125847,7 @@ if(item===this._textureDictionary[item._storeID]){this._killTextureObject(item);
125956
125847
  foundImage=item;}else if(item._webGLRenderStyle===2){// this is a Bitmap class
125957
125848
  foundImage=item.image;}else if(item._webGLRenderStyle===1){// this is a SpriteSheet, we can't tell which image we used from the list easily so remove them all!
125958
125849
  for(i=0,l=item.spriteSheet._images.length;i<l;i++){this.releaseTexture(item.spriteSheet._images[i]);}return;}// did we find anything
125959
- if(foundImage===undefined){if(this.vocalDebug){console.log("No associated texture found on release");}return;}// remove it
125850
+ if(foundImage===undefined){if(this.vocalDebug){}return;}// remove it
125960
125851
  this._killTextureObject(this._textureDictionary[foundImage._storeID]);foundImage._storeID=undefined;};/**
125961
125852
  * Similar to {{#crossLink "releaseTexture"}}{{/crossLink}}, but this function differs by searching for textures to
125962
125853
  * release. It works by assuming that it can purge any texture which was last used more than "count" draw calls ago.
@@ -125977,7 +125868,7 @@ this._killTextureObject(item);}}};/**
125977
125868
  * @method updateSimultaneousTextureCount
125978
125869
  * @param {Number} [count=1] The number of textures intended for simultaneous loading.
125979
125870
  */p.updateSimultaneousTextureCount=function(count){// TODO: DHG: make sure API works in all instances, may be some issues with buffers etc I haven't foreseen
125980
- var gl=this._webGLContext;var success=false;if(count<1||isNaN(count)){count=1;}this._batchTextureCount=count;while(!success){try{this._activeShader=this._fetchShaderProgram(gl);success=true;}catch(e){if(this._batchTextureCount==1){throw"Cannot compile shader "+e;}this._batchTextureCount-=4;if(this._batchTextureCount<1){this._batchTextureCount=1;}if(this.vocalDebug){console.log("Reducing desired texture count due to errors: "+this._batchTextureCount);}}}};/**
125871
+ var gl=this._webGLContext;var success=false;if(count<1||isNaN(count)){count=1;}this._batchTextureCount=count;while(!success){try{this._activeShader=this._fetchShaderProgram(gl);success=true;}catch(e){if(this._batchTextureCount==1){throw"Cannot compile shader "+e;}this._batchTextureCount-=4;if(this._batchTextureCount<1){this._batchTextureCount=1;}if(this.vocalDebug){}}}};/**
125981
125872
  * Update the WebGL viewport. Note that this does <strong>not</strong> update the canvas element's width/height, but
125982
125873
  * the render surface's instead. This is necessary after manually resizing the canvas element on the DOM to avoid a
125983
125874
  * up/down scaled render.
@@ -125995,7 +125886,7 @@ this._projectionMatrixFlip=new Float32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);t
125995
125886
  * @method getFilterShader
125996
125887
  * @param {Filter|Object} filter The object which will provide the information needed to construct the filter shader.
125997
125888
  * @return {WebGLProgram}
125998
- */p.getFilterShader=function(filter){if(!filter){filter=this;}var gl=this._webGLContext;var targetShader=this._activeShader;if(filter._builtShader){targetShader=filter._builtShader;if(filter.shaderParamSetup){gl.useProgram(targetShader);filter.shaderParamSetup(gl,this,targetShader);}}else{try{targetShader=this._fetchShaderProgram(gl,"filter",filter.VTX_SHADER_BODY,filter.FRAG_SHADER_BODY,filter.shaderParamSetup&&filter.shaderParamSetup.bind(filter));filter._builtShader=targetShader;targetShader._name=filter.toString();}catch(e){console&&console.log("SHADER SWITCH FAILURE",e);}}return targetShader;};/**
125889
+ */p.getFilterShader=function(filter){if(!filter){filter=this;}var gl=this._webGLContext;var targetShader=this._activeShader;if(filter._builtShader){targetShader=filter._builtShader;if(filter.shaderParamSetup){gl.useProgram(targetShader);filter.shaderParamSetup(gl,this,targetShader);}}else{try{targetShader=this._fetchShaderProgram(gl,"filter",filter.VTX_SHADER_BODY,filter.FRAG_SHADER_BODY,filter.shaderParamSetup&&filter.shaderParamSetup.bind(filter));filter._builtShader=targetShader;targetShader._name=filter.toString();}catch(e){console&&void 0;}}return targetShader;};/**
125999
125890
  * Returns a base texture that has no image or data loaded. Not intended for loading images. It may return `null`
126000
125891
  * in some error cases, and trying to use a "null" texture can cause renders to fail.
126001
125892
  * @method getBaseTexture
@@ -126070,7 +125961,7 @@ r=((color&0xFF000000)>>>24)/255;g=((color&0x00FF0000)>>>16)/255;b=((color&0x0000
126070
125961
  * @protected
126071
125962
  * @return {WebGLRenderingContext} The WebGL context, may return undefined in error scenarios
126072
125963
  */p._fetchWebGLContext=function(canvas,options){var gl;try{gl=canvas.getContext("webgl",options)||canvas.getContext("experimental-webgl",options);}catch(e){// don't do anything in catch, null check will handle it
126073
- }if(!gl){var msg="Could not initialize WebGL";console.error?console.error(msg):console.log(msg);}else{gl.viewportWidth=canvas.width;gl.viewportHeight=canvas.height;}return gl;};/**
125964
+ }if(!gl){var msg="Could not initialize WebGL";console.error?console.error(msg):void 0;}else{gl.viewportWidth=canvas.width;gl.viewportHeight=canvas.height;}return gl;};/**
126074
125965
  * Create the completed Shader Program from the vertex and fragment shaders. Allows building of custom shaders for
126075
125966
  * filters. Once compiled, shaders are saved so. If the Shader code requires dynamic alterations re-run this function
126076
125967
  * to generate a new shader.
@@ -126164,7 +126055,7 @@ var storeID=this._textureIDs[src];if(storeID===undefined){storeID=this._textureI
126164
126055
  texture._batchID=this._batchID;texture._storeID=storeID;texture._imageData=image;this._insertTextureInBatch(gl,texture);// get the data into the texture or wait for it to load
126165
126056
  image._storeID=storeID;if(image.complete||image.naturalWidth||image._isCanvas){// is it already loaded
126166
126057
  this._updateTextureImageData(gl,image);}else{image.addEventListener("load",this._updateTextureImageData.bind(this,gl,image));}}else{// we really really should have a texture, try to recover the error by using a saved empty texture so we don't crash
126167
- var msg="Problem creating desired texture, known causes include using too much VRAM by not releasing WebGL texture instances";console.error&&console.error(msg)||console.log(msg);texture=this._baseTextures[0];texture._batchID=this._batchID;texture._storeID=-1;texture._imageData=texture;this._insertTextureInBatch(gl,texture);}return texture;};/**
126058
+ var msg="Problem creating desired texture, known causes include using too much VRAM by not releasing WebGL texture instances";console.error&&console.error(msg)||void 0;texture=this._baseTextures[0];texture._batchID=this._batchID;texture._storeID=-1;texture._imageData=texture;this._insertTextureInBatch(gl,texture);}return texture;};/**
126168
126059
  * Necessary to upload the actual image data to the GPU. Without this the texture will be blank. Called automatically
126169
126060
  * in most cases due to loading and caching APIs. Flagging an image source with `_invalid = true` will trigger this
126170
126061
  * next time the image is rendered.
@@ -126173,7 +126064,7 @@ var msg="Problem creating desired texture, known causes include using too much V
126173
126064
  * @protected
126174
126065
  */p._updateTextureImageData=function(gl,image){// the bitwise & is intentional, cheap exponent 2 check
126175
126066
  var isNPOT=image.width&image.width-1||image.height&image.height-1;var texture=this._textureDictionary[image._storeID];gl.activeTexture(gl.TEXTURE0+texture._activeIndex);gl.bindTexture(gl.TEXTURE_2D,texture);texture.isPOT=!isNPOT;this.setTextureParams(gl,texture.isPOT);try{gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,gl.RGBA,gl.UNSIGNED_BYTE,image);}catch(e){var errString="\nAn error has occurred. This is most likely due to security restrictions on WebGL images with local or cross-domain origins";if(console.error){//TODO: LM: I recommend putting this into a log function internally, since you do it so often, and each is implemented differently.
126176
- console.error(errString);console.error(e);}else if(console){console.log(errString);console.log(e);}}image._invalid=false;texture._w=image.width;texture._h=image.height;if(this.vocalDebug){if(isNPOT){console.warn("NPOT(Non Power of Two) Texture: "+image.src);}if(image.width>gl.MAX_TEXTURE_SIZE||image.height>gl.MAX_TEXTURE_SIZE){console&&console.error("Oversized Texture: "+image.width+"x"+image.height+" vs "+gl.MAX_TEXTURE_SIZE+"max");}}};/**
126067
+ console.error(errString);console.error(e);}else if(console){}}image._invalid=false;texture._w=image.width;texture._h=image.height;if(this.vocalDebug){if(isNPOT){console.warn("NPOT(Non Power of Two) Texture: "+image.src);}if(image.width>gl.MAX_TEXTURE_SIZE||image.height>gl.MAX_TEXTURE_SIZE){console&&console.error("Oversized Texture: "+image.width+"x"+image.height+" vs "+gl.MAX_TEXTURE_SIZE+"max");}}};/**
126177
126068
  * Adds the texture to a spot in the current batch, forcing a draw if no spots are free.
126178
126069
  * @method _insertTextureInBatch
126179
126070
  * @param {WebGLRenderingContext} gl The canvas WebGL context object to draw into.
@@ -126194,8 +126085,8 @@ this._batchTextures[found]=texture;texture._activeIndex=found;var image=texture.
126194
126085
  */p._killTextureObject=function(tex){if(!tex){return;}var gl=this._webGLContext;// remove linkage
126195
126086
  if(tex._storeID!==undefined&&tex._storeID>=0){this._textureDictionary[tex._storeID]=undefined;for(var n in this._textureIDs){if(this._textureIDs[n]==tex._storeID){delete this._textureIDs[n];}}if(tex._imageData){tex._imageData._storeID=undefined;}tex._imageData=tex._storeID=undefined;}// make sure to drop it out of an active slot
126196
126087
  if(tex._activeIndex!==undefined&&this._batchTextures[tex._activeIndex]===tex){this._batchTextures[tex._activeIndex]=this._baseTextures[tex._activeIndex];}// remove buffers if present
126197
- try{if(tex._frameBuffer){gl.deleteFramebuffer(tex._frameBuffer);}tex._frameBuffer=undefined;}catch(e){/* suppress delete errors because it's already gone or didn't need deleting probably */if(this.vocalDebug){console.log(e);}}// remove entry
126198
- try{gl.deleteTexture(tex);}catch(e){/* suppress delete errors because it's already gone or didn't need deleting probably */if(this.vocalDebug){console.log(e);}}};/**
126088
+ try{if(tex._frameBuffer){gl.deleteFramebuffer(tex._frameBuffer);}tex._frameBuffer=undefined;}catch(e){/* suppress delete errors because it's already gone or didn't need deleting probably */if(this.vocalDebug){}}// remove entry
126089
+ try{gl.deleteTexture(tex);}catch(e){/* suppress delete errors because it's already gone or didn't need deleting probably */if(this.vocalDebug){}}};/**
126199
126090
  * Store or restore current batch textures into a backup array
126200
126091
  * @method _backupBatchTextures
126201
126092
  * @param {Boolean} restore Perform a restore instead of a store.
@@ -126276,7 +126167,7 @@ if(frame===null){continue;}image=frame.image;}else{// MISC (DOM objects render t
126276
126167
  continue;}var uvs=this._uvs;var vertices=this._vertices;var texI=this._indices;var alphas=this._alphas;// calculate texture
126277
126168
  if(!image){continue;}if(image._storeID===undefined){// this texture is new to us so load it and add it to the batch
126278
126169
  texture=this._loadTextureImage(gl,image);this._insertTextureInBatch(gl,texture);}else{// fetch the texture (render textures know how to look themselves up to simplify this logic)
126279
- texture=this._textureDictionary[image._storeID];if(!texture){if(this.vocalDebug){console.log("Texture should not be looked up while not being stored.");}continue;}// put it in the batch if needed
126170
+ texture=this._textureDictionary[image._storeID];if(!texture){if(this.vocalDebug){}continue;}// put it in the batch if needed
126280
126171
  if(texture._batchID!==this._batchID){this._insertTextureInBatch(gl,texture);}}texIndex=texture._activeIndex;if(item._webGLRenderStyle===2||useCache){// BITMAP / Cached Canvas
126281
126172
  if(!useCache&&item.sourceRect){// calculate uvs
126282
126173
  if(!item._uvRect){item._uvRect={};}src=item.sourceRect;uvRect=item._uvRect;uvRect.t=src.y/image.height;uvRect.l=src.x/image.width;uvRect.b=(src.y+src.height)/image.height;uvRect.r=(src.x+src.width)/image.width;// calculate vertices
@@ -126299,14 +126190,14 @@ alphas[offV1]=alphas[offV1+1]=alphas[offV1+2]=alphas[offV1+3]=alphas[offV1+4]=al
126299
126190
  * @param {WebGLRenderingContext} gl The canvas WebGL context object to draw into.
126300
126191
  * @protected
126301
126192
  */p._drawBuffers=function(gl){if(this.batchCardCount<=0){return;}// prevents error logs on stages filled with un-renederable content.
126302
- if(this.vocalDebug){console.log("Draw["+this._drawID+":"+this._batchID+"] : "+this.batchReason);}var shaderProgram=this._activeShader;var vertexPositionBuffer=this._vertexPositionBuffer;var textureIndexBuffer=this._textureIndexBuffer;var uvPositionBuffer=this._uvPositionBuffer;var alphaBuffer=this._alphaBuffer;gl.useProgram(shaderProgram);gl.bindBuffer(gl.ARRAY_BUFFER,vertexPositionBuffer);gl.vertexAttribPointer(shaderProgram.vertexPositionAttribute,vertexPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._vertices);gl.bindBuffer(gl.ARRAY_BUFFER,textureIndexBuffer);gl.vertexAttribPointer(shaderProgram.textureIndexAttribute,textureIndexBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._indices);gl.bindBuffer(gl.ARRAY_BUFFER,uvPositionBuffer);gl.vertexAttribPointer(shaderProgram.uvPositionAttribute,uvPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._uvs);gl.bindBuffer(gl.ARRAY_BUFFER,alphaBuffer);gl.vertexAttribPointer(shaderProgram.alphaAttribute,alphaBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._alphas);gl.uniformMatrix4fv(shaderProgram.pMatrixUniform,gl.FALSE,this._projectionMatrix);for(var i=0;i<this._batchTextureCount;i++){var texture=this._batchTextures[i];gl.activeTexture(gl.TEXTURE0+i);gl.bindTexture(gl.TEXTURE_2D,texture);this.setTextureParams(gl,texture.isPOT);}gl.drawArrays(gl.TRIANGLES,0,this.batchCardCount*StageGL.INDICIES_PER_CARD);this._batchID++;};/**
126193
+ if(this.vocalDebug){}var shaderProgram=this._activeShader;var vertexPositionBuffer=this._vertexPositionBuffer;var textureIndexBuffer=this._textureIndexBuffer;var uvPositionBuffer=this._uvPositionBuffer;var alphaBuffer=this._alphaBuffer;gl.useProgram(shaderProgram);gl.bindBuffer(gl.ARRAY_BUFFER,vertexPositionBuffer);gl.vertexAttribPointer(shaderProgram.vertexPositionAttribute,vertexPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._vertices);gl.bindBuffer(gl.ARRAY_BUFFER,textureIndexBuffer);gl.vertexAttribPointer(shaderProgram.textureIndexAttribute,textureIndexBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._indices);gl.bindBuffer(gl.ARRAY_BUFFER,uvPositionBuffer);gl.vertexAttribPointer(shaderProgram.uvPositionAttribute,uvPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._uvs);gl.bindBuffer(gl.ARRAY_BUFFER,alphaBuffer);gl.vertexAttribPointer(shaderProgram.alphaAttribute,alphaBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,this._alphas);gl.uniformMatrix4fv(shaderProgram.pMatrixUniform,gl.FALSE,this._projectionMatrix);for(var i=0;i<this._batchTextureCount;i++){var texture=this._batchTextures[i];gl.activeTexture(gl.TEXTURE0+i);gl.bindTexture(gl.TEXTURE_2D,texture);this.setTextureParams(gl,texture.isPOT);}gl.drawArrays(gl.TRIANGLES,0,this.batchCardCount*StageGL.INDICIES_PER_CARD);this._batchID++;};/**
126303
126194
  * Draws a card that covers the entire render surface. Mainly used for filters.
126304
126195
  * @method _drawBuffers
126305
126196
  * @param {WebGLRenderingContext} gl The canvas WebGL context object to draw into.
126306
126197
  * @param {Boolean} flipY Covers are used for things like RenderTextures and because of 3D vs Canvas space this can
126307
126198
  * end up meaning the `y` space sometimes requires flipping in the render.
126308
126199
  * @protected
126309
- */p._drawCover=function(gl,flipY){if(this._isDrawing>0){this._drawBuffers(gl);}if(this.vocalDebug){console.log("Draw["+this._drawID+":"+this._batchID+"] : "+"Cover");}var shaderProgram=this._activeShader;var vertexPositionBuffer=this._vertexPositionBuffer;var uvPositionBuffer=this._uvPositionBuffer;gl.clear(gl.COLOR_BUFFER_BIT);gl.useProgram(shaderProgram);gl.bindBuffer(gl.ARRAY_BUFFER,vertexPositionBuffer);gl.vertexAttribPointer(shaderProgram.vertexPositionAttribute,vertexPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,StageGL.COVER_VERT);gl.bindBuffer(gl.ARRAY_BUFFER,uvPositionBuffer);gl.vertexAttribPointer(shaderProgram.uvPositionAttribute,uvPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,flipY?StageGL.COVER_UV_FLIP:StageGL.COVER_UV);gl.uniform1i(shaderProgram.samplerUniform,0);gl.uniform1f(shaderProgram.uprightUniform,flipY?0:1);gl.drawArrays(gl.TRIANGLES,0,StageGL.INDICIES_PER_CARD);};createjs.StageGL=createjs.promote(StageGL,"Stage");})();//##############################################################################
126200
+ */p._drawCover=function(gl,flipY){if(this._isDrawing>0){this._drawBuffers(gl);}if(this.vocalDebug){}var shaderProgram=this._activeShader;var vertexPositionBuffer=this._vertexPositionBuffer;var uvPositionBuffer=this._uvPositionBuffer;gl.clear(gl.COLOR_BUFFER_BIT);gl.useProgram(shaderProgram);gl.bindBuffer(gl.ARRAY_BUFFER,vertexPositionBuffer);gl.vertexAttribPointer(shaderProgram.vertexPositionAttribute,vertexPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,StageGL.COVER_VERT);gl.bindBuffer(gl.ARRAY_BUFFER,uvPositionBuffer);gl.vertexAttribPointer(shaderProgram.uvPositionAttribute,uvPositionBuffer.itemSize,gl.FLOAT,false,0,0);gl.bufferSubData(gl.ARRAY_BUFFER,0,flipY?StageGL.COVER_UV_FLIP:StageGL.COVER_UV);gl.uniform1i(shaderProgram.samplerUniform,0);gl.uniform1f(shaderProgram.uprightUniform,flipY?0:1);gl.drawArrays(gl.TRIANGLES,0,StageGL.INDICIES_PER_CARD);};createjs.StageGL=createjs.promote(StageGL,"Stage");})();//##############################################################################
126310
126201
  // Bitmap.js
126311
126202
  //##############################################################################
126312
126203
  this.createjs=this.createjs||{};(function(){/**
@@ -128233,7 +128124,7 @@ this.createjs=this.createjs||{};(function(){"use strict";// constructor:
128233
128124
  if(isNaN(quality)||quality<1){quality=1;}this.setQuality(quality|0);}var p=createjs.extend(BlurFilter,createjs.Filter);// TODO: deprecated
128234
128125
  // p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
128235
128126
  p.getBlurX=function(){return this._blurX;};p.getBlurY=function(){return this._blurY;};p.setBlurX=function(value){if(isNaN(value)||value<0){value=0;}this._blurX=value;};p.setBlurY=function(value){if(isNaN(value)||value<0){value=0;}this._blurY=value;};p.getQuality=function(){return this._quality;};p.setQuality=function(value){if(isNaN(value)||value<0){value=0;}this._quality=value|0;};p._getShader=function(){var xChange=this._lastBlurX!==this._blurX;var yChange=this._lastBlurY!==this._blurY;var qChange=this._lastQuality!==this._quality;if(xChange||yChange||qChange){if(xChange||qChange){this._blurXTable=this._getTable(this._blurX*this._quality);}if(yChange||qChange){this._blurYTable=this._getTable(this._blurY*this._quality);}this._updateShader();this._lastBlurX=this._blurX;this._lastBlurY=this._blurY;this._lastQuality=this._quality;return undefined;// force a rebuild
128236
- }return this._compiledShader;};p._setShader=function(){this._compiledShader;};try{Object.defineProperties(p,{blurX:{get:p.getBlurX,set:p.setBlurX},blurY:{get:p.getBlurY,set:p.setBlurY},quality:{get:p.getQuality,set:p.setQuality},_builtShader:{get:p._getShader,set:p._setShader}});}catch(e){console.log(e);}/**
128127
+ }return this._compiledShader;};p._setShader=function(){this._compiledShader;};try{Object.defineProperties(p,{blurX:{get:p.getBlurX,set:p.setBlurX},blurY:{get:p.getBlurY,set:p.setBlurY},quality:{get:p.getQuality,set:p.setQuality},_builtShader:{get:p._getShader,set:p._setShader}});}catch(e){}/**
128237
128128
  * Internal lookup function to create gaussian distribution.
128238
128129
  * @method _getTable
128239
128130
  * @param {Number} spread How many steps in the curve.
@@ -128822,7 +128713,7 @@ window.createjs = window.createjs || {}, function () {
128822
128713
 
128823
128714
  return function () {
128824
128715
  var c = "Deprecated property or method '" + b + "'. See docs for info.";
128825
- return console && (console.warn ? console.warn(c) : console.log(c)), a && a.apply(this, arguments);
128716
+ return console && (console.warn ? console.warn(c) : void 0), a && a.apply(this, arguments);
128826
128717
  };
128827
128718
  }, window.createjs = window.createjs || {}, function () {
128828
128719
  "use strict";
@@ -130786,7 +130677,7 @@ window.createjs = window.createjs || {}, function () {
130786
130677
 
130787
130678
  return function () {
130788
130679
  var c = "Deprecated property or method '" + b + "'. See docs for info.";
130789
- return console && (console.warn ? console.warn(c) : console.log(c)), a && a.apply(this, arguments);
130680
+ return console && (console.warn ? console.warn(c) : void 0), a && a.apply(this, arguments);
130790
130681
  };
130791
130682
  }, window.createjs = window.createjs || {}, createjs.indexOf = function (a, b) {
130792
130683
  "use strict";
@@ -131491,7 +131382,7 @@ window.createjs = window.createjs || {}, function () {
131491
131382
  a = PlayPropsConfig.prototype = {},
131492
131383
  b = PlayPropsConfig;
131493
131384
  b.create = function (a) {
131494
- if ("string" == typeof a) return console && (console.warn || console.log)("Deprecated behaviour. Sound.play takes a configuration object instead of individual arguments. See docs for info."), new createjs.PlayPropsConfig().set({
131385
+ if ("string" == typeof a) return console && (console.warn || function () {})("Deprecated behaviour. Sound.play takes a configuration object instead of individual arguments. See docs for info."), new createjs.PlayPropsConfig().set({
131495
131386
  interrupt: a
131496
131387
  });
131497
131388
  if (null == a || a instanceof b || a instanceof Object) return new createjs.PlayPropsConfig().set(a);
@@ -132257,7 +132148,7 @@ window.createjs = window.createjs || {}, createjs.extend = function (a, b) {
132257
132148
 
132258
132149
  return function () {
132259
132150
  var c = "Deprecated property or method '" + b + "'. See docs for info.";
132260
- return console && (console.warn ? console.warn(c) : console.log(c)), a && a.apply(this, arguments);
132151
+ return console && (console.warn ? console.warn(c) : void 0), a && a.apply(this, arguments);
132261
132152
  };
132262
132153
  }, window.createjs = window.createjs || {}, function () {
132263
132154
  "use strict";
@@ -132397,9 +132288,7 @@ window.createjs = window.createjs || {}, createjs.extend = function (a, b) {
132397
132288
  set: Ticker._setFPS
132398
132289
  }
132399
132290
  });
132400
- } catch (a) {
132401
- console.log(a);
132402
- }
132291
+ } catch (a) {}
132403
132292
  Ticker.init = function () {
132404
132293
  Ticker._inited || (Ticker._inited = !0, Ticker._times = [], Ticker._tickTimes = [], Ticker._startTime = Ticker._getTime(), Ticker._times.push(Ticker._lastTime = 0), Ticker.interval = Ticker._interval);
132405
132294
  }, Ticker.reset = function () {
@@ -186870,7 +186759,7 @@ var map = {
186870
186759
  "./pageInfoes/PageInfoes.vue": 17481,
186871
186760
  "./paragraph/ParagraphDialog.vue": 54949,
186872
186761
  "./poperSelect/PoperMark.vue": 71472,
186873
- "./poperSelect/PoperSelect.vue": 43786,
186762
+ "./poperSelect/PoperSelect.vue": 64497,
186874
186763
  "./poperTipText/PoperTipText.vue": 15845,
186875
186764
  "./popers/Poper.vue": 57937,
186876
186765
  "./popers/Title.vue": 89987,
@@ -186879,17 +186768,17 @@ var map = {
186879
186768
  "./radioCheckBox/RadioCheckbox.vue": 18971,
186880
186769
  "./selectDialog/SelectDialog.vue": 26679,
186881
186770
  "./sign/Sign.vue": 99163,
186882
- "./table/TableCellPoper.vue": 20605,
186771
+ "./table/TableCellPoper.vue": 14776,
186883
186772
  "./table/TableCellProperty.vue": 71176,
186884
186773
  "./table/TableColProperty.vue": 2116,
186885
186774
  "./table/TableForm.vue": 19064,
186886
186775
  "./table/TableFormTree.vue": 99723,
186887
- "./table/TableFormula.vue": 7708,
186776
+ "./table/TableFormula.vue": 7789,
186888
186777
  "./table/TableProperty.vue": 67472,
186889
186778
  "./table/TableRowProperty.vue": 5218,
186890
186779
  "./textDialog/TextDialog.vue": 233,
186891
186780
  "./textDialog/TextToLabelDialog.vue": 19722,
186892
- "./upload/CanvasImageDialog.vue": 88233,
186781
+ "./upload/CanvasImageDialog.vue": 54060,
186893
186782
  "./upload/UploadImageDialog.vue": 60369
186894
186783
  };
186895
186784
 
@@ -223404,7 +223293,6 @@ var DrawFooter = __webpack_require__(114);
223404
223293
 
223405
223294
 
223406
223295
 
223407
-
223408
223296
 
223409
223297
 
223410
223298
  var DrawSelectLevel = /*#__PURE__*/function () {
@@ -223548,7 +223436,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
223548
223436
  // pos.y = pos.y >= lasty ? lasty : line.y + marea.dTop;
223549
223437
  // }
223550
223438
  }
223551
- console.log(pos.y);
223552
223439
  hoEditorFactory.printStatus.drawPrintCaret.Position = [dPage.pageIndex, pos.y];
223553
223440
  }
223554
223441
  } else if (hoEditorFactory.printStatus.printRange == PrintStatus/* PrintRange.prSelected */.dR.prSelected) {
@@ -223777,7 +223664,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
223777
223664
  if (startPos) {
223778
223665
  // if (hoeditorfactory.structureConvert._signNodes.length > 0) {
223779
223666
  // }
223780
- console.log('路径:' + startPos.path);
223667
+
223781
223668
  var curOnDragNode = hoeditorfactory.docTree.curOnDragNode;
223782
223669
  if (curOnDragNode) {
223783
223670
  var nodePath = curOnDragNode.getNodePath();
@@ -223925,7 +223812,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
223925
223812
  this._scrollYList = [];
223926
223813
  var startPos = hoeditorfactory.drawTree.selectRange.spStart;
223927
223814
  var endPos = hoeditorfactory.drawTree.selectRange.spEnd;
223928
- console.log("startPath:".concat(hoeditorfactory.docTree.curDomRange.startPath, "\nendPath:").concat(hoeditorfactory.docTree.curDomRange.endPath));
223929
223815
  if (hoeditorfactory.drawTree.selectRange.beginRangeSelect) {
223930
223816
  if (startPos && startPos.page && endPos.dline === startPos.dline && endPos.index === startPos.index && endPos.path === startPos.path) {
223931
223817
  hoeditorfactory.docTree.curDomRange.setSamePath(startPos.path);
@@ -225057,7 +224943,7 @@ var DrawPage = __webpack_require__(72722);
225057
224943
  // EXTERNAL MODULE: ./src/plugins/util.ts
225058
224944
  var plugins_util = __webpack_require__(62783);
225059
224945
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
225060
- var PoperSelect = __webpack_require__(43786);
224946
+ var PoperSelect = __webpack_require__(64497);
225061
224947
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
225062
224948
  var PoperMark = __webpack_require__(71472);
225063
224949
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
@@ -225065,7 +224951,7 @@ var PoperMark = __webpack_require__(71472);
225065
224951
 
225066
224952
 
225067
224953
  // EXTERNAL MODULE: ./src/components/controls/table/TableCellPoper.vue + 6 modules
225068
- var TableCellPoper = __webpack_require__(20605);
224954
+ var TableCellPoper = __webpack_require__(14776);
225069
224955
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/DateTimeNode.ts
225070
224956
  var DateTimeNode = __webpack_require__(92501);
225071
224957
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/DownListNode.ts
@@ -226752,7 +226638,7 @@ var SignNode = __webpack_require__(24701);
226752
226638
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
226753
226639
  var ParagraphNode = __webpack_require__(67945);
226754
226640
  ;// CONCATENATED MODULE: ./src/components/version.ts
226755
- /* harmony default export */ var version = ('3.0.0');
226641
+ /* harmony default export */ var version = ('3.0.2');
226756
226642
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
226757
226643
  var PoperTipText = __webpack_require__(15845);
226758
226644
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -227108,9 +226994,7 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
227108
226994
  this.cellButton = false;
227109
226995
  }
227110
226996
  } else if (e.clickType === 'rightClick' && node instanceof SignNode/* SignNode */.N && node.type == 3) {
227111
- if (hoEditorFactory.drawTree.paintStatus === 1) {
227112
- console.log(node);
227113
- }
226997
+ if (hoEditorFactory.drawTree.paintStatus === 1) {}
227114
226998
  }
227115
226999
  }
227116
227000
  return true;
@@ -227152,7 +227036,7 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
227152
227036
  return;
227153
227037
  }
227154
227038
  // 通过自定义属性内部字段判断是否属于患者签名 指纹签名只有患者签名才会有 同时患者签名不存在自定义属性可以用是否存在某个属性确定是否是患者签名(需要确定的是imgsrc要存在 imgsrc不存在是指空签名元素)
227155
- console.log(node.imgSrc && !node.fingerPrintSrc && node.customProperty && !node.customProperty.created_date);
227039
+
227156
227040
  if (node.fingerPrintSrc || node.imgSrc && !node.fingerPrintSrc && node.customProperty && !node.customProperty.created_date) return false;
227157
227041
  this.$emit('dblNodeClick', {
227158
227042
  node: this.getCurrentSelectNode,
@@ -229360,7 +229244,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
229360
229244
  key: "TransHTMLIMG",
229361
229245
  value: function TransHTMLIMG(jnode, style) {
229362
229246
  var styleobj = this.mergestyle(jquery_default()(jnode).attr('style') || '', style);
229363
- console.log('img', jnode);
229364
229247
  var src = jquery_default()(jnode).attr('src') || '';
229365
229248
  if (src.toString().substring(0, 5) == 'file:') {
229366
229249
  return [];
@@ -229558,8 +229441,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
229558
229441
  }, {
229559
229442
  key: "TransHTMLTABLE",
229560
229443
  value: function TransHTMLTABLE(jnode, style) {
229561
- console.log(jnode);
229562
- console.log(jquery_default()(jnode).children().children());
229563
229444
  var pnode = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath);
229564
229445
  if (pnode instanceof TableNode/* TableNode */.Fh || pnode instanceof CellNode/* CellNode */.D) {
229565
229446
  message/* default.warn */.Z.warn('不能在表格中插入表格');
@@ -229639,8 +229520,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
229639
229520
  for (var k = 0; k < icol; k++) {
229640
229521
  var cell = getitem(s, k);
229641
229522
  if (cell) {
229642
- console.log('s', s);
229643
- console.log('k', k);
229644
229523
  this.copyCellNode(cell, lntable, s, k);
229645
229524
  lntable.childNodes.push(lntable.rows[s][k]);
229646
229525
  } else {
@@ -229656,7 +229535,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
229656
229535
  key: "TransHTMLSPAN",
229657
229536
  value: function TransHTMLSPAN(jnode, style) {
229658
229537
  var styleobj = this.mergestyle(jquery_default()(jnode).attr('style') || '', style);
229659
- console.log('font or span ===> ', jnode);
229660
229538
  if (jnode.childNodes.length == 0) {
229661
229539
  var node = this.generateTextNode(jquery_default()(jnode).text(), styleobj);
229662
229540
  if (node) return [node];else return [];
@@ -229675,7 +229553,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
229675
229553
  key: "TransHTMLP",
229676
229554
  value: function TransHTMLP(jnode, style) {
229677
229555
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
229678
- console.log(jnode);
229679
229556
  var styleobj = this.mergestyle(jquery_default()(jnode).attr('style') || '', style);
229680
229557
  var tmp = new Array();
229681
229558
  var textstyle = this.HTMLStyleToParsStyle(styleobj);
@@ -229685,8 +229562,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
229685
229562
  //hoEditorFactory.docTree.curParaNo
229686
229563
  );
229687
229564
 
229688
- console.log('段落', node);
229689
- console.log('样式', node.combineParagraph);
229690
229565
  tmp.push(node);
229691
229566
  if (jnode.childNodes.length == 0) {
229692
229567
  if (jnode.nodeName.toLowerCase() === 'br') {
@@ -229824,7 +229699,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
229824
229699
  }, {
229825
229700
  key: "copyCellNode",
229826
229701
  value: function copyCellNode(jnode, table, r, c) {
229827
- console.log(jnode);
229828
229702
  var node = table.rows[r][c];
229829
229703
  if (node) {
229830
229704
  node.rowSpan = parseInt(jquery_default()(jnode).attr('rowSpan') || '1') || 1;
@@ -232287,6 +232161,7 @@ var NodePosition = __webpack_require__(42921);
232287
232161
 
232288
232162
 
232289
232163
 
232164
+
232290
232165
 
232291
232166
  // import { HTMLConverter2 } from "./HTMLConverter";
232292
232167
 
@@ -232361,7 +232236,6 @@ var NodeConvert = /*#__PURE__*/function () {
232361
232236
  } else {
232362
232237
  bodyHtml = "<div>" + r[1] + "</div>";
232363
232238
  }
232364
- console.log(jquery_default()(bodyHtml));
232365
232239
  var nodes = hoEditorFactory.htmlConverter.Exec(jquery_default()(bodyHtml)[0], "");
232366
232240
  return nodes;
232367
232241
  }
@@ -232464,8 +232338,6 @@ var NodeConvert = /*#__PURE__*/function () {
232464
232338
  if (recs) this.toJSON(recs);
232465
232339
  var jsondata = JSON.parse(this._jsondata);
232466
232340
  if (!jsondata) return "";
232467
- console.log("打印");
232468
- console.log(jsondata);
232469
232341
  return hoEditorFactory.toHtmlConverter.Exec(this._hoEditorFactoryID, jsondata);
232470
232342
  }
232471
232343
  }, {
@@ -232476,7 +232348,6 @@ var NodeConvert = /*#__PURE__*/function () {
232476
232348
  if (!jsondata) return "";
232477
232349
  var paragraphText = "";
232478
232350
  var json2text = function json2text(data) {
232479
- console.log(data);
232480
232351
  for (var i = 0; i < data.length; i++) {
232481
232352
  var item = data[i];
232482
232353
  if (item["nodeType"]) {
@@ -232509,7 +232380,6 @@ var NodeConvert = /*#__PURE__*/function () {
232509
232380
  };
232510
232381
 
232511
232382
  json2text(jsondata);
232512
- console.log("txt", paragraphText);
232513
232383
  return paragraphText;
232514
232384
  }
232515
232385
  }]);
@@ -232665,13 +232535,13 @@ var StructureNode = /*#__PURE__*/function () {
232665
232535
  this._html = this._Convertor.toTHML();
232666
232536
  this._text = this._Convertor.toText();
232667
232537
  if (clipboard) {
232538
+ var patientID = hoEditorFactory.docTree.docProperty.patientID;
232668
232539
  if (this._json != "") {
232669
- var patientID = hoEditorFactory.docTree.docProperty.patientID;
232670
232540
  this._json = patientID + ":" + this._json;
232671
232541
  }
232672
- console.log('json ==> ', this._json);
232673
- console.log('_html ==> ', this._html);
232674
- console.log('_text ==> ', this._text);
232542
+ if (this._html !== "") {
232543
+ this._html = this._html.replace('<!--StartFragment-->', "<!--StartFragment--><!--:".concat(patientID, "-->"));
232544
+ }
232675
232545
  clipboard.setData(ClipboardType.ctJSON, this._json);
232676
232546
  clipboard.setData(ClipboardType.ctHTML, this._html);
232677
232547
  clipboard.setData(ClipboardType.ctText, this._text);
@@ -232721,9 +232591,8 @@ var StructureNode = /*#__PURE__*/function () {
232721
232591
  }
232722
232592
  } else {
232723
232593
  //在复合节点当中
232724
- console.log("ancestor", index);
232594
+
232725
232595
  var ancestor = path1.slice(0, index).join("/");
232726
- console.log("ancestor", ancestor);
232727
232596
  var _tmp = hoEditorFactory.docTree.findNodePositionByPath(ancestor).node;
232728
232597
  if (!_tmp) {
232729
232598
  throw Exception/* Exception.NodeNotFound */.P.NodeNotFound();
@@ -233148,7 +233017,7 @@ var TOHTMLConverter = /*#__PURE__*/function () {
233148
233017
  //console.log(jnode);
233149
233018
  for (var i = 0; i < jnode.childNodes.item.length; i++) {
233150
233019
  //这里只分析Row
233151
- console.log(i);
233020
+
233152
233021
  var item = this.iterator.next();
233153
233022
  if (item.done) break;
233154
233023
  item.value["style"] = jnode.rowInfos.item[i];
@@ -233165,7 +233034,7 @@ var TOHTMLConverter = /*#__PURE__*/function () {
233165
233034
  var content = "";
233166
233035
  for (var n = 0; n < jnode.childNodes.item.length; n++) {
233167
233036
  //这里只分析Cell
233168
- console.log(n);
233037
+
233169
233038
  var item = this.iterator.next();
233170
233039
  if (item.done) break;
233171
233040
  item.value["style"] = jnode.colInfos.item[n];
@@ -233995,7 +233864,6 @@ var VueController = /*#__PURE__*/function () {
233995
233864
  }, {
233996
233865
  key: "insertTableRowAbove",
233997
233866
  value: function insertTableRowAbove(count) {
233998
- console.log('insertTableRowAbove =====>', count);
233999
233867
  var _curDomRange = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize(); //获取当前选中区域
234000
233868
  var startPath = _curDomRange.normalize().startPath;
234001
233869
  var endPath = _curDomRange.normalize().endPath;
@@ -234011,7 +233879,6 @@ var VueController = /*#__PURE__*/function () {
234011
233879
  }, {
234012
233880
  key: "insertTableRowBelow",
234013
233881
  value: function insertTableRowBelow(count) {
234014
- console.log('insertTableRowBelow =====>', count);
234015
233882
  var _curDomRange = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize(); //获取当前选中区域
234016
233883
  var startPath = _curDomRange.normalize().startPath;
234017
233884
  var endPath = _curDomRange.normalize().endPath;
@@ -234027,7 +233894,6 @@ var VueController = /*#__PURE__*/function () {
234027
233894
  }, {
234028
233895
  key: "insertTableColLeft",
234029
233896
  value: function insertTableColLeft(count) {
234030
- console.log('insertTableColLeft =====>', count);
234031
233897
  var _curDomRange = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize(); //获取当前选中区域
234032
233898
  var startPath = _curDomRange.normalize().startPath;
234033
233899
  var endPath = _curDomRange.normalize().endPath;
@@ -234043,7 +233909,6 @@ var VueController = /*#__PURE__*/function () {
234043
233909
  }, {
234044
233910
  key: "insertTableColRight",
234045
233911
  value: function insertTableColRight(count) {
234046
- console.log('insertTableColRight =====>', count);
234047
233912
  var _curDomRange = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize(); //获取当前选中区域
234048
233913
  var startPath = _curDomRange.normalize().startPath;
234049
233914
  var endPath = _curDomRange.normalize().endPath;
@@ -234908,7 +234773,6 @@ var VueController = /*#__PURE__*/function () {
234908
234773
  }, {
234909
234774
  key: "openLocalFiles",
234910
234775
  value: function openLocalFiles(file, callback) {
234911
- console.log(file);
234912
234776
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
234913
234777
  hoEditorFactory.isThrowError = false;
234914
234778
  var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
@@ -234979,9 +234843,6 @@ var VueController = /*#__PURE__*/function () {
234979
234843
 
234980
234844
  if (type === 'json') {
234981
234845
  ret = hoEditorFactory.structureConvert.doc2Xml('json', undefined, true);
234982
- console.log(ret);
234983
- // ret = JSON.stringify(ret);
234984
- console.log(pretty_data);
234985
234846
  ret = pretty_data.pd.json(ret);
234986
234847
  }
234987
234848
  return ret;
@@ -235250,7 +235111,6 @@ var VueController = /*#__PURE__*/function () {
235250
235111
  value: function setReviewLevelColor(option) {
235251
235112
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
235252
235113
  var opt = new Option_Option(this.hoEditorFactoryID);
235253
- console.log((0,objectSpread2/* default */.Z)({}, option));
235254
235114
  opt.setReviewLevelColor(option.reviewLev1Color, option.reviewLev2Color, option.reviewLev3Color, option.fieldColor, option.dateTimeColor, option.downListColor, option.downListColor2, option.signColor);
235255
235115
  hoEditorFactory.option = opt;
235256
235116
  }
@@ -235406,7 +235266,6 @@ var VueController = /*#__PURE__*/function () {
235406
235266
  key: "saveAsPDF",
235407
235267
  value: function saveAsPDF(pdfName, type, isSpecial) {
235408
235268
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
235409
- console.log(pdfName, type, isSpecial);
235410
235269
  hoEditorFactory.printController.saveAsPDF(pdfName, type, isSpecial);
235411
235270
  }
235412
235271
  /**
@@ -236184,7 +236043,6 @@ var VueController = /*#__PURE__*/function () {
236184
236043
  hoEditorFactory.subDocManger.headerDocTree.push(newHeader);
236185
236044
  hoEditorFactory.drawTree.initAreaFirstNode(arrNodes, hoEditorFactory.drawTree.headerDNodes[headerIndex]);
236186
236045
  hoEditorFactory.docTree.curDomRange.setSamePath(arootPath + '/0');
236187
- console.log('解析 header 节点 ==> ', nodes);
236188
236046
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
236189
236047
  newHeader.subDocNodes[0].paraNo = nodes[0].paraNo;
236190
236048
  newHeader.subDocNodes[0].styleIndex = nodes[0].styleIndex;
@@ -236597,7 +236455,6 @@ var VueController = /*#__PURE__*/function () {
236597
236455
  xmlobj.main[0].printAsSinglePage = 'true';
236598
236456
  xmlobj.main[0].docId = strID;
236599
236457
  mergeObject.pageSettingsTree.push(xmlobj.pageSettings);
236600
- console.log(xmlobj);
236601
236458
  hoEditorFactory.printStatus.pageSettingMap.set(strID, {
236602
236459
  widthMm: Number(xmlobj.pageSettings.widthMm),
236603
236460
  heightMm: Number(xmlobj.pageSettings.heightMm),
@@ -238054,9 +237911,7 @@ var VueController = /*#__PURE__*/function () {
238054
237911
  var startPath = curDomRange.normalize().startPath;
238055
237912
  var endPath = curDomRange.normalize().endPath;
238056
237913
  var node = curDomRange.npEnd.node;
238057
- console.log(hoEditorFactory.drawTree.paintStatus);
238058
237914
  if (node instanceof SignNode/* SignNode */.N) {
238059
- console.log((0,objectSpread2/* default */.Z)({}, node));
238060
237915
  if (node.isTemplate) {
238061
237916
  if (node.imgSrc !== '' || node.fingerPrintSrc !== '') {
238062
237917
  this.deleteNode(node);
@@ -238072,7 +237927,6 @@ var VueController = /*#__PURE__*/function () {
238072
237927
  }
238073
237928
  }, 0);
238074
237929
  } else {
238075
- console.log('111');
238076
237930
  Promise.all([hoEditorFactory.docController.updateSignNode(node, 3, '患者签名', '', '', imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
238077
237931
  setTimeout(function () {
238078
237932
  callback && callback();
@@ -238419,7 +238273,6 @@ var VueController = /*#__PURE__*/function () {
238419
238273
  }
238420
238274
  };
238421
238275
  var callback = function callback(aiText) {
238422
- console.log(aiText);
238423
238276
  var aiInfo = hoEditorFactory.drawTree.caret.aiInfo;
238424
238277
  hoEditorFactory.drawTree.caret.aiInfo.lastPosition = [aiInfo.pageIndex, aiInfo.x, aiInfo.y];
238425
238278
  hoEditorFactory.drawTree.caret.aiInfo.aiText = aiText;
@@ -238584,7 +238437,6 @@ var VueController = /*#__PURE__*/function () {
238584
238437
  value.customProperty.ishandle = status == undefined ? '1' : status;
238585
238438
  commentsMap.set(key, value);
238586
238439
  });
238587
- console.log(commentsMap);
238588
238440
  drawTree.commentsMap = commentsMap;
238589
238441
  }
238590
238442
  }, {
@@ -239305,7 +239157,6 @@ var VueController = /*#__PURE__*/function () {
239305
239157
  xmlRoot = hoEditorFactory.unitConvert.replaceAll(xmlRoot, '</TempNode>', '');
239306
239158
  return xmlRoot;
239307
239159
  var xml = XmlBeauty_xmlBeauty(xmlRoot);
239308
- console.log(xml);
239309
239160
  return xml; //xmlBeauty(xmlRoot);
239310
239161
  }
239311
239162
  /**
@@ -240030,6 +239881,11 @@ var DomController = /*#__PURE__*/function () {
240030
239881
 
240031
239882
 
240032
239883
 
239884
+
239885
+
239886
+
239887
+
239888
+
240033
239889
 
240034
239890
 
240035
239891
 
@@ -240290,7 +240146,6 @@ var EditController = /*#__PURE__*/function () {
240290
240146
  }, {
240291
240147
  key: "editKeyCopy",
240292
240148
  value: function editKeyCopy(e) {
240293
- console.log(e);
240294
240149
  if (!e || !e.clipboardData) {
240295
240150
  return;
240296
240151
  }
@@ -240339,15 +240194,23 @@ var EditController = /*#__PURE__*/function () {
240339
240194
  return;
240340
240195
  }
240341
240196
  var nodes;
240342
- if (!jsonData) {
240197
+ if (!jsonData || !htmlData) {
240343
240198
  if (hoeditorfactory.notAllowCrossPatiPaste && hoeditorfactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign) {
240344
240199
  message/* default.warn */.Z.warn("不能将他人病历内容复制粘贴到该患者病历中");
240345
240200
  return;
240346
240201
  }
240347
240202
  }
240348
- console.log(htmlData);
240203
+ var patientID = '';
240204
+ if (jsonData) {
240205
+ patientID = jsonData.split(":")[0];
240206
+ } else if (htmlData) {
240207
+ var reg = new RegExp('<!--:' + '(.*?)' + '-->');
240208
+ var htmls = htmlData.match(reg);
240209
+ if (htmls) {
240210
+ patientID = htmlData.match(reg)[1];
240211
+ }
240212
+ }
240349
240213
  if (jsonData) {
240350
- var patientID = jsonData.split(":")[0];
240351
240214
  var index = jsonData.indexOf(":");
240352
240215
  jsonData = jsonData.substring(index + 1, jsonData.length);
240353
240216
  if (hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
@@ -242831,7 +242694,6 @@ var PrintController = /*#__PURE__*/function () {
242831
242694
  this._waitSavepdf = true;
242832
242695
  return;
242833
242696
  }
242834
- console.log('saveAsPDF');
242835
242697
  var fileType = type ? type : 'pdf';
242836
242698
  var fileName = pdfName ? pdfName : hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : '电子病历文档';
242837
242699
  // 保存打印前文档状态 和 内容
@@ -242863,7 +242725,6 @@ var PrintController = /*#__PURE__*/function () {
242863
242725
  // hotfixes: ["px_scaling"],
242864
242726
  };
242865
242727
 
242866
- console.log(format);
242867
242728
  // const PDF = new jsPDF(orientation, "px", [hoEditorFactory.pageProperty.widthMm, hoEditorFactory.pageProperty.heightMm], false, true, );
242868
242729
  var PDF = new jspdf/* default */.ZP(options);
242869
242730
  // PDF.setFont("SimSun");
@@ -242941,14 +242802,13 @@ var PrintController = /*#__PURE__*/function () {
242941
242802
  _context3.next = 7;
242942
242803
  return hoEditorFactory.drawTree.rebuildAllDrawLine(false, resolve);
242943
242804
  case 7:
242944
- _context3.next = 13;
242805
+ _context3.next = 12;
242945
242806
  break;
242946
242807
  case 9:
242947
242808
  _context3.prev = 9;
242948
242809
  _context3.t0 = _context3["catch"](0);
242949
- console.log('变更状态错误');
242950
242810
  reject(false);
242951
- case 13:
242811
+ case 12:
242952
242812
  case "end":
242953
242813
  return _context3.stop();
242954
242814
  }
@@ -242983,7 +242843,6 @@ var PrintController = /*#__PURE__*/function () {
242983
242843
  });
242984
242844
  }
242985
242845
  }).then(function (res) {
242986
- console.log('打印处理结果', res);
242987
242846
  if (res === 'printend') {
242988
242847
  if (callback) {
242989
242848
  callback(hoEditorFactory.printStatus.printRecord.last());
@@ -243008,7 +242867,6 @@ var PrintController = /*#__PURE__*/function () {
243008
242867
  });
243009
242868
  hoEditorFactory.vueController.rebuildAll(true);
243010
242869
  }
243011
- console.log('打印后状态 ==> ', hoEditorFactory.drawTree.paintStatus);
243012
242870
  }
243013
242871
  });
243014
242872
  }
@@ -243197,18 +243055,17 @@ var PrintController = /*#__PURE__*/function () {
243197
243055
  case 17:
243198
243056
  lastPrintPosition = _context5.sent;
243199
243057
  if (!lastPrintPosition) {
243200
- _context5.next = 21;
243058
+ _context5.next = 20;
243201
243059
  break;
243202
243060
  }
243203
- console.log(lastPrintPosition);
243204
243061
  return _context5.abrupt("return", {
243205
243062
  startPageNum: lastPrintPosition[0],
243206
243063
  pageNum: lastPrintPosition[1],
243207
243064
  positionY: lastPrintPosition[2]
243208
243065
  });
243209
- case 21:
243066
+ case 20:
243210
243067
  return _context5.abrupt("return", null);
243211
- case 22:
243068
+ case 21:
243212
243069
  case "end":
243213
243070
  return _context5.stop();
243214
243071
  }
@@ -243277,7 +243134,6 @@ var PrintController = /*#__PURE__*/function () {
243277
243134
  case 0:
243278
243135
  xmlIndex++;
243279
243136
  if (xmlIndex <= xmlList.length - 1) {
243280
- console.log(xmlList[xmlIndex][2]);
243281
243137
  if (xmlList[xmlIndex][2]) {
243282
243138
  // 循环到病程记录时
243283
243139
  if (position == undefined) {
@@ -244014,7 +243870,6 @@ var HoLocalStorage = /*#__PURE__*/function () {
244014
243870
  (_window = window) === null || _window === void 0 ? void 0 : (_window$chrome = _window.chrome) === null || _window$chrome === void 0 ? void 0 : (_window$chrome$webvie = _window$chrome.webview) === null || _window$chrome$webvie === void 0 ? void 0 : _window$chrome$webvie.addEventListener('message', function (e) {
244015
243871
  if (e && e.data) {
244016
243872
  var res = JSON.parse(e.data);
244017
- console.log('res-----', res);
244018
243873
  if (res.result == true && res.res.cmd == 'GetList') {
244019
243874
  var _this$callBack;
244020
243875
  _this._localXmlList = res.res.EMR;
@@ -244123,9 +243978,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
244123
243978
  key: "clearLocalStorage",
244124
243979
  value: function clearLocalStorage() {
244125
243980
  var _this3 = this;
244126
- this._ho_web.clear().then(function () {
244127
- console.log(_this3._ho_web);
244128
- });
243981
+ this._ho_web.clear().then(function () {});
244129
243982
  }
244130
243983
  }, {
244131
243984
  key: "autoSaveLocalStorage",
@@ -244154,7 +244007,6 @@ var HoLocalStorage = /*#__PURE__*/function () {
244154
244007
  }
244155
244008
  }
244156
244009
  };
244157
- console.log('SaveEmrData', data);
244158
244010
  window.chrome.webview.postMessage(data);
244159
244011
  }
244160
244012
  } else {
@@ -245926,7 +245778,6 @@ var getFormula = function getFormula(tableFormular) {
245926
245778
  * 双击事件
245927
245779
  */
245928
245780
  dblNodeClick: function dblNodeClick(node) {
245929
- console.log(node.node());
245930
245781
  this.$emit('dblClickEvent', node);
245931
245782
  },
245932
245783
  // 设置当前文档激活页
@@ -246069,9 +245920,7 @@ var getFormula = function getFormula(tableFormular) {
246069
245920
  * 非文档区域右键事件
246070
245921
  */
246071
245922
  blankAreaRightClick: function blankAreaRightClick(e) {
246072
- if (e.target instanceof HTMLDivElement && e.target.className === 'editor') {
246073
- console.log('非文档区域右键点击触发事件');
246074
- }
245923
+ if (e.target instanceof HTMLDivElement && e.target.className === 'editor') {}
246075
245924
  },
246076
245925
  getTableNodeInfo: function getTableNodeInfo(nodes) {
246077
245926
  var info = null;
@@ -246135,7 +245984,6 @@ var getFormula = function getFormula(tableFormular) {
246135
245984
  if (v.parent.pageIndex === currentPageIndex) {
246136
245985
  tableBounds.height = v.dHeight;
246137
245986
  tableBounds.y = dPage.drawMainDoc.y + v.y;
246138
- console.log(dPage.drawMainDoc.y, v.y, (0,objectSpread2/* default */.Z)({}, v));
246139
245987
  if (drawPageCells.length === drawPageTables.length) {
246140
245988
  tableBounds.cellHeight = drawPageCells[key].dHeight;
246141
245989
  }
@@ -247228,7 +247076,7 @@ var HoColorPickers = __webpack_require__(84214);
247228
247076
  */
247229
247077
  fontFamilyClick: function fontFamilyClick(fontItem) {
247230
247078
  // const font = JSON.stringify(fontItem);
247231
- console.log((0,objectSpread2/* default */.Z)({}, fontItem));
247079
+
247232
247080
  this.font = fontItem;
247233
247081
  this.fontFamilyVisible = false;
247234
247082
  this.vueController.fontFormat(fontItem.ch);
@@ -247734,7 +247582,6 @@ var ToolFamily_component = (0,componentNormalizer/* default */.Z)(
247734
247582
  */
247735
247583
  lineHeightClick: function lineHeightClick(item) {
247736
247584
  this.lineHeightVisible = false;
247737
- console.log(item);
247738
247585
  this.vueController.setLineHeight(item);
247739
247586
  },
247740
247587
  closeToolMenus: function closeToolMenus(e) {
@@ -248859,7 +248706,6 @@ var HistoryLogsvue_type_template_id_276668a7_scoped_true_staticRenderFns = [];
248859
248706
  logs: log.logs
248860
248707
  });
248861
248708
  });
248862
- console.log('____this.historyLog', _this2.historyLog);
248863
248709
  });
248864
248710
  },
248865
248711
  openHistoryLogs: function openHistoryLogs() {
@@ -249954,7 +249800,6 @@ var HoDateTimevue_type_template_id_7554eb41_staticRenderFns = [];
249954
249800
  if (key === 'more') {
249955
249801
  this.$emit('setModal', 'date');
249956
249802
  } else {
249957
- console.log();
249958
249803
  var format = this.dateFormatList[key];
249959
249804
  var value = this.dateFormatValue[key];
249960
249805
  var params = {
@@ -250514,7 +250359,6 @@ var HoTableFeaturesvue_type_template_id_73e0d603_staticRenderFns = [];
250514
250359
  setCellCode: function setCellCode() {
250515
250360
  this.init();
250516
250361
  this.tableCellCode = !this.tableCellCode;
250517
- console.log(this.tableCellCode);
250518
250362
  this.vueController.showCellAdress(this.tableCellCode);
250519
250363
  },
250520
250364
  tableInsertRowAbove: function tableInsertRowAbove(e) {
@@ -250590,10 +250434,8 @@ var HoTableFeaturesvue_type_template_id_73e0d603_staticRenderFns = [];
250590
250434
  if (formula[formulaType] === 'code') {
250591
250435
  this.setCellCode();
250592
250436
  } else {
250593
- console.log([formula[formulaType], formulaType]);
250594
250437
  this.$emit('setModalStatus', ['table-formula', 'add', [formula[formulaType], formulaType]]);
250595
250438
  }
250596
- console.log('???');
250597
250439
 
250598
250440
  // this.dialogFormVisible = true;
250599
250441
  // this.dialogFormTitle = params[0];
@@ -250642,7 +250484,6 @@ var HoTableFeaturesvue_type_template_id_73e0d603_staticRenderFns = [];
250642
250484
  return v;
250643
250485
  })
250644
250486
  };
250645
- console.log(ftScoreMapping);
250646
250487
  this.vueController.insertTableFormula(JSON.stringify(ftScoreMapping).toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping);
250647
250488
  }
250648
250489
  }
@@ -251208,7 +251049,6 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
251208
251049
  }).length > 0) {
251209
251050
  _this2.defaultToolBarParamsText = _this2.defaultToolBarParamsText.map(function (v, index) {
251210
251051
  if (index > 0 && defaultSelect[v.value] === undefined) {
251211
- console.log(key, v.value, defaultSelect[v.value]);
251212
251052
  return undefined;
251213
251053
  } else {
251214
251054
  return v;
@@ -251324,7 +251164,7 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
251324
251164
  printed: function printed() {
251325
251165
  var _this5 = this;
251326
251166
  // 非打印预览状态
251327
- console.log('???');
251167
+
251328
251168
  if (!this.isPrinted) {
251329
251169
  // 打开设置弹窗
251330
251170
  this.$emit('setModalStatus', ['ho-print', 'add', '']);
@@ -251427,7 +251267,6 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
251427
251267
  */
251428
251268
  saveAsFile: function saveAsFile(_ref2) {
251429
251269
  var fileType = _ref2.key;
251430
- console.log(fileType);
251431
251270
  var fileName = this.vueController.getDocTitle() ? this.vueController.getDocTitle() : '电子病历文档';
251432
251271
  if (fileType == 'pdf') {
251433
251272
  this.vueController.saveAsPDF('', 'pdf', false);
@@ -252284,7 +252123,6 @@ var popper = __webpack_require__(95551);
252284
252123
  reader.readAsText(blob, 'UTF-8');
252285
252124
  reader.onload = function (e) {
252286
252125
  var htmls = e.target.result;
252287
- console.log(e.target.result);
252288
252126
  if (!htmls.includes('<html><body>')) {
252289
252127
  htmls = '<html><body>' + e.target.result + '</body></html>';
252290
252128
  }
@@ -252924,7 +252762,6 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
252924
252762
  node = npNode;
252925
252763
  }
252926
252764
  }
252927
- console.log(node);
252928
252765
  if (node instanceof MarkNode/* MarkNode */.j || node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
252929
252766
  var parentNode = node.parentNode;
252930
252767
  if (parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
@@ -253144,8 +252981,6 @@ function HoEditorProvidevue_type_script_lang_js_getWatch() {
253144
252981
  return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _self.$props), HoDefaultProvider.data()), HoDefaultProvider.methods);
253145
252982
  }
253146
252983
  });
253147
- console.log(HoDefaultProvider);
253148
- console.log(this._proxyVm._data);
253149
252984
  return {
253150
252985
  hoEditorProvider: this._proxyVm._data
253151
252986
  };