hoeditor-web 3.0.82 → 3.0.84

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.
@@ -3625,7 +3625,7 @@ var component = (0,componentNormalizer/* default */.Z)(
3625
3625
 
3626
3626
  /***/ }),
3627
3627
 
3628
- /***/ 2062:
3628
+ /***/ 75336:
3629
3629
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3630
3630
 
3631
3631
  "use strict";
@@ -3637,7 +3637,7 @@ __webpack_require__.d(__webpack_exports__, {
3637
3637
  "default": function() { return /* binding */ BarCodes; }
3638
3638
  });
3639
3639
 
3640
- ;// 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/barCode/BarCodes.vue?vue&type=template&id=77ae51d0&
3640
+ ;// 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/barCode/BarCodes.vue?vue&type=template&id=59549e42&
3641
3641
  var render = function render() {
3642
3642
  var _vm = this,
3643
3643
  _c = _vm._self._c;
@@ -3667,6 +3667,26 @@ var render = function render() {
3667
3667
  staticClass: "control-item"
3668
3668
  }, [_c('span', {
3669
3669
  staticClass: "label"
3670
+ }, [_vm._v("标识符")]), _c('a-input', {
3671
+ attrs: {
3672
+ "placeholder": "条形码内容不能为空",
3673
+ "max-length": 20,
3674
+ "show-word-limit": ""
3675
+ },
3676
+ on: {
3677
+ "input": _vm.codeChange
3678
+ },
3679
+ model: {
3680
+ value: _vm.innerIdentifier,
3681
+ callback: function callback($$v) {
3682
+ _vm.innerIdentifier = $$v;
3683
+ },
3684
+ expression: "innerIdentifier"
3685
+ }
3686
+ })], 1), _c('li', {
3687
+ staticClass: "control-item"
3688
+ }, [_c('span', {
3689
+ staticClass: "label"
3670
3690
  }, [_vm._v("条形码内容")]), _c('a-input', {
3671
3691
  attrs: {
3672
3692
  "placeholder": "条形码内容不能为空",
@@ -3740,6 +3760,8 @@ var render = function render() {
3740
3760
  };
3741
3761
  var staticRenderFns = [];
3742
3762
 
3763
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
3764
+ var es_function_name = __webpack_require__(68309);
3743
3765
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
3744
3766
  var es_regexp_exec = __webpack_require__(74916);
3745
3767
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
@@ -3757,6 +3779,7 @@ var HOEditorFactorys = __webpack_require__(74089);
3757
3779
 
3758
3780
 
3759
3781
 
3782
+
3760
3783
  /* harmony default export */ var BarCodesvue_type_script_lang_js_ = ({
3761
3784
  name: 'Barcode',
3762
3785
  props: {
@@ -3774,6 +3797,7 @@ var HOEditorFactorys = __webpack_require__(74089);
3774
3797
  return {
3775
3798
  id: '',
3776
3799
  textContent: '',
3800
+ innerIdentifier: '',
3777
3801
  barCodeStyle: 'CODE39',
3778
3802
  textAlign: 'center',
3779
3803
  isDisplayText: false,
@@ -3781,7 +3805,8 @@ var HOEditorFactorys = __webpack_require__(74089);
3781
3805
  textField: '',
3782
3806
  textEslint: /^[a-zA-Z0-9_]+$/,
3783
3807
  animationClassNames: 'control-modal-contents barcode-modal animation-in',
3784
- barcode: null
3808
+ barcode: null,
3809
+ name: ''
3785
3810
  // dataSource: null
3786
3811
  };
3787
3812
  },
@@ -3790,7 +3815,9 @@ var HOEditorFactorys = __webpack_require__(74089);
3790
3815
  if (this.controlStatus === 'update') {
3791
3816
  var updateNode = this.getBarCodeNode();
3792
3817
  this.id = updateNode.id;
3818
+ this.name = updateNode.name;
3793
3819
  this.textContent = updateNode.textContent;
3820
+ this.innerIdentifier = updateNode.innerIdentifier;
3794
3821
  this.isDisplayText = updateNode.isDisplayText;
3795
3822
  this.$nextTick(function () {
3796
3823
  return _this.codeChange();
@@ -3844,9 +3871,9 @@ var HOEditorFactorys = __webpack_require__(74089);
3844
3871
  // this.dataSource = this.hoEditorProvider.getDataSource();
3845
3872
 
3846
3873
  if (this.controlStatus === 'add') {
3847
- vueController.insertBarcode(this.controlStatus, this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height, "");
3874
+ vueController.insertBarcode(this.controlStatus, this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height, '', this.innerIdentifier);
3848
3875
  } else if (this.controlStatus === 'update') {
3849
- vueController.updateBarcode(this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height, "");
3876
+ vueController.updateBarcode(this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height, this.name, this.innerIdentifier);
3850
3877
  }
3851
3878
  this.handleClose();
3852
3879
  },
@@ -3861,10 +3888,10 @@ var HOEditorFactorys = __webpack_require__(74089);
3861
3888
  });
3862
3889
  ;// CONCATENATED MODULE: ./src/components/controls/barCode/BarCodes.vue?vue&type=script&lang=js&
3863
3890
  /* harmony default export */ var barCode_BarCodesvue_type_script_lang_js_ = (BarCodesvue_type_script_lang_js_);
3864
- ;// 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/barCode/BarCodes.vue?vue&type=style&index=0&id=77ae51d0&prod&lang=scss&
3891
+ ;// 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/barCode/BarCodes.vue?vue&type=style&index=0&id=59549e42&prod&lang=scss&
3865
3892
  // extracted by mini-css-extract-plugin
3866
3893
 
3867
- ;// CONCATENATED MODULE: ./src/components/controls/barCode/BarCodes.vue?vue&type=style&index=0&id=77ae51d0&prod&lang=scss&
3894
+ ;// CONCATENATED MODULE: ./src/components/controls/barCode/BarCodes.vue?vue&type=style&index=0&id=59549e42&prod&lang=scss&
3868
3895
 
3869
3896
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
3870
3897
  var componentNormalizer = __webpack_require__(70713);
@@ -5148,7 +5175,7 @@ var component = (0,componentNormalizer/* default */.Z)(
5148
5175
 
5149
5176
  /***/ }),
5150
5177
 
5151
- /***/ 17237:
5178
+ /***/ 49145:
5152
5179
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5153
5180
 
5154
5181
  "use strict";
@@ -5170,7 +5197,7 @@ var es_string_includes = __webpack_require__(32023);
5170
5197
  var es_regexp_exec = __webpack_require__(74916);
5171
5198
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
5172
5199
  var es_string_replace = __webpack_require__(15306);
5173
- ;// 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/dateDialog/DateDialog.vue?vue&type=template&id=5844e53a&
5200
+ ;// 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/dateDialog/DateDialog.vue?vue&type=template&id=0a9d2557&
5174
5201
 
5175
5202
 
5176
5203
 
@@ -5439,7 +5466,7 @@ var render = function render() {
5439
5466
  };
5440
5467
  var staticRenderFns = [];
5441
5468
 
5442
- ;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=5844e53a&
5469
+ ;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=0a9d2557&
5443
5470
 
5444
5471
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
5445
5472
  var objectSpread2 = __webpack_require__(63442);
@@ -5641,10 +5668,10 @@ var zh_cn = __webpack_require__(83839);
5641
5668
  });
5642
5669
  ;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=script&lang=js&
5643
5670
  /* harmony default export */ var dateDialog_DateDialogvue_type_script_lang_js_ = (DateDialogvue_type_script_lang_js_);
5644
- ;// 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/dateDialog/DateDialog.vue?vue&type=style&index=0&id=5844e53a&prod&lang=scss&
5671
+ ;// 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/dateDialog/DateDialog.vue?vue&type=style&index=0&id=0a9d2557&prod&lang=scss&
5645
5672
  // extracted by mini-css-extract-plugin
5646
5673
 
5647
- ;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=style&index=0&id=5844e53a&prod&lang=scss&
5674
+ ;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=style&index=0&id=0a9d2557&prod&lang=scss&
5648
5675
 
5649
5676
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
5650
5677
  var componentNormalizer = __webpack_require__(70713);
@@ -8304,7 +8331,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8304
8331
 
8305
8332
  /***/ }),
8306
8333
 
8307
- /***/ 47214:
8334
+ /***/ 50921:
8308
8335
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8309
8336
 
8310
8337
  "use strict";
@@ -8320,7 +8347,7 @@ __webpack_require__.d(__webpack_exports__, {
8320
8347
  var es_array_includes = __webpack_require__(26699);
8321
8348
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
8322
8349
  var es_string_includes = __webpack_require__(32023);
8323
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=4e58a6fc&scoped=true&
8350
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=0d496382&scoped=true&
8324
8351
 
8325
8352
 
8326
8353
  var render = function render() {
@@ -8353,27 +8380,6 @@ var render = function render() {
8353
8380
  }, [_c('ul', {
8354
8381
  staticClass: "control-list"
8355
8382
  }, [_c('li', {
8356
- staticClass: "control-item",
8357
- staticStyle: {
8358
- "width": "100%"
8359
- }
8360
- }, [_c('span', {
8361
- staticClass: "label",
8362
- staticStyle: {
8363
- "width": "42px"
8364
- }
8365
- }, [_vm._v("来源")]), _c('a-input', {
8366
- attrs: {
8367
- "placeholder": "来源"
8368
- },
8369
- model: {
8370
- value: _vm.source,
8371
- callback: function callback($$v) {
8372
- _vm.source = $$v;
8373
- },
8374
- expression: "source"
8375
- }
8376
- })], 1), _c('li', {
8377
8383
  staticClass: "control-item"
8378
8384
  }, [_c('span', {
8379
8385
  staticClass: "label",
@@ -8582,7 +8588,7 @@ var render = function render() {
8582
8588
  };
8583
8589
  var staticRenderFns = [];
8584
8590
 
8585
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=template&id=4e58a6fc&scoped=true&
8591
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=template&id=0d496382&scoped=true&
8586
8592
 
8587
8593
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
8588
8594
  var toConsumableArray = __webpack_require__(61748);
@@ -8829,10 +8835,10 @@ var appendToBody = __webpack_require__(95677);
8829
8835
  });
8830
8836
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=js&
8831
8837
  /* harmony default export */ var listsource_ListSourcevue_type_script_lang_js_ = (ListSourcevue_type_script_lang_js_);
8832
- ;// 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/listsource/ListSource.vue?vue&type=style&index=0&id=4e58a6fc&prod&lang=scss&scoped=true&
8838
+ ;// 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/listsource/ListSource.vue?vue&type=style&index=0&id=0d496382&prod&lang=scss&scoped=true&
8833
8839
  // extracted by mini-css-extract-plugin
8834
8840
 
8835
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=4e58a6fc&prod&lang=scss&scoped=true&
8841
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=0d496382&prod&lang=scss&scoped=true&
8836
8842
 
8837
8843
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
8838
8844
  var componentNormalizer = __webpack_require__(70713);
@@ -8851,7 +8857,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8851
8857
  staticRenderFns,
8852
8858
  false,
8853
8859
  null,
8854
- "4e58a6fc",
8860
+ "0d496382",
8855
8861
  null
8856
8862
 
8857
8863
  )
@@ -16591,7 +16597,7 @@ var component = (0,componentNormalizer/* default */.Z)(
16591
16597
 
16592
16598
  /***/ }),
16593
16599
 
16594
- /***/ 61973:
16600
+ /***/ 47158:
16595
16601
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16596
16602
 
16597
16603
  "use strict";
@@ -16607,7 +16613,7 @@ __webpack_require__.d(__webpack_exports__, {
16607
16613
  var es_array_includes = __webpack_require__(26699);
16608
16614
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
16609
16615
  var es_string_includes = __webpack_require__(32023);
16610
- ;// 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/TableCellProperty.vue?vue&type=template&id=488dae95&
16616
+ ;// 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/TableCellProperty.vue?vue&type=template&id=59ad6eba&
16611
16617
 
16612
16618
 
16613
16619
  var render = function render() {
@@ -16927,7 +16933,8 @@ var render = function render() {
16927
16933
  }
16928
16934
  }), _c('span', {
16929
16935
  staticStyle: {
16930
- "padding": "0 10px"
16936
+ "padding": "0 10px",
16937
+ "margin-left": "34px"
16931
16938
  }
16932
16939
  }, [_vm._v("下")]), _c('a-checkbox', {
16933
16940
  model: {
@@ -16939,7 +16946,8 @@ var render = function render() {
16939
16946
  }
16940
16947
  }), _c('span', {
16941
16948
  staticStyle: {
16942
- "padding": "0 10px"
16949
+ "padding": "0 10px",
16950
+ "margin-left": "34px"
16943
16951
  }
16944
16952
  }, [_vm._v("左")]), _c('a-checkbox', {
16945
16953
  model: {
@@ -16951,7 +16959,8 @@ var render = function render() {
16951
16959
  }
16952
16960
  }), _c('span', {
16953
16961
  staticStyle: {
16954
- "padding": "0 10px"
16962
+ "padding": "0 10px",
16963
+ "margin-left": "34px"
16955
16964
  }
16956
16965
  }, [_vm._v("右")]), _c('a-checkbox', {
16957
16966
  model: {
@@ -17337,7 +17346,7 @@ var render = function render() {
17337
17346
  }
17338
17347
  }, [_c('span', {
17339
17348
  staticClass: "line no-line"
17340
- }), _c('span', [_vm._v("None")])]), _c('li', {
17349
+ })]), _c('li', {
17341
17350
  class: _vm.obliqueSplitLine === 1 ? 'selected' : '',
17342
17351
  on: {
17343
17352
  "click": function click($event) {
@@ -17346,7 +17355,7 @@ var render = function render() {
17346
17355
  }
17347
17356
  }, [_c('span', {
17348
17357
  staticClass: "line left-line top-line top-left-one-line"
17349
- }), _c('span', [_vm._v("TopLeftOneLine")])]), _c('li', {
17358
+ })]), _c('li', {
17350
17359
  class: _vm.obliqueSplitLine === 2 ? 'selected' : '',
17351
17360
  on: {
17352
17361
  "click": function click($event) {
@@ -17355,7 +17364,7 @@ var render = function render() {
17355
17364
  }
17356
17365
  }, [_c('span', {
17357
17366
  staticClass: "line left-line top-line top-left-two-line"
17358
- }), _c('span', [_vm._v("TopLeftTwoLine")])]), _c('li', {
17367
+ })]), _c('li', {
17359
17368
  class: _vm.obliqueSplitLine === 3 ? 'selected' : '',
17360
17369
  on: {
17361
17370
  "click": function click($event) {
@@ -17364,7 +17373,7 @@ var render = function render() {
17364
17373
  }
17365
17374
  }, [_c('span', {
17366
17375
  staticClass: "line right-line top-line top-right-one-line"
17367
- }), _c('span', [_vm._v("TopRightOneLine")])]), _c('li', {
17376
+ })]), _c('li', {
17368
17377
  class: _vm.obliqueSplitLine === 4 ? 'selected' : '',
17369
17378
  on: {
17370
17379
  "click": function click($event) {
@@ -17373,7 +17382,7 @@ var render = function render() {
17373
17382
  }
17374
17383
  }, [_c('span', {
17375
17384
  staticClass: "line right-line top-line top-right-two-line"
17376
- }), _c('span', [_vm._v("TopRightTwoLine")])]), _c('li', {
17385
+ })]), _c('li', {
17377
17386
  class: _vm.obliqueSplitLine === 5 ? 'selected' : '',
17378
17387
  on: {
17379
17388
  "click": function click($event) {
@@ -17382,7 +17391,7 @@ var render = function render() {
17382
17391
  }
17383
17392
  }, [_c('span', {
17384
17393
  staticClass: "line left-line bottom-line bottom-left-one-line"
17385
- }), _c('span', [_vm._v("BottomLeftOneLine")])]), _c('li', {
17394
+ })]), _c('li', {
17386
17395
  class: _vm.obliqueSplitLine === 6 ? 'selected' : '',
17387
17396
  on: {
17388
17397
  "click": function click($event) {
@@ -17391,7 +17400,7 @@ var render = function render() {
17391
17400
  }
17392
17401
  }, [_c('span', {
17393
17402
  staticClass: "line left-line bottom-line bottom-left-two-line"
17394
- }), _c('span', [_vm._v("BottomLeftTwoLine")])]), _c('li', {
17403
+ })]), _c('li', {
17395
17404
  class: _vm.obliqueSplitLine === 7 ? 'selected' : '',
17396
17405
  on: {
17397
17406
  "click": function click($event) {
@@ -17400,7 +17409,7 @@ var render = function render() {
17400
17409
  }
17401
17410
  }, [_c('span', {
17402
17411
  staticClass: "line right-line bottom-line bottom-right-one-line"
17403
- }), _c('span', [_vm._v("BottomRightOneLine")])]), _c('li', {
17412
+ })]), _c('li', {
17404
17413
  class: _vm.obliqueSplitLine === 8 ? 'selected' : '',
17405
17414
  on: {
17406
17415
  "click": function click($event) {
@@ -17409,7 +17418,16 @@ var render = function render() {
17409
17418
  }
17410
17419
  }, [_c('span', {
17411
17420
  staticClass: "line right-line bottom-line bottom-right-two-line"
17412
- }), _c('span', [_vm._v("BottomRightTwoLine")])])])])], 1)], 1), _c('footer', {
17421
+ })]), _c('li', {
17422
+ class: _vm.obliqueSplitLine === 9 ? 'selected' : '',
17423
+ on: {
17424
+ "click": function click($event) {
17425
+ return _vm.setObliqueSplitLine(9);
17426
+ }
17427
+ }
17428
+ }, [_c('span', {
17429
+ staticClass: "line left-right-line left-right-one-line"
17430
+ })])])])], 1)], 1), _c('footer', {
17413
17431
  staticClass: "ho-modal-footer"
17414
17432
  }, [_c('a-button', {
17415
17433
  attrs: {
@@ -17429,7 +17447,7 @@ var render = function render() {
17429
17447
  };
17430
17448
  var staticRenderFns = [];
17431
17449
 
17432
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=488dae95&
17450
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=59ad6eba&
17433
17451
 
17434
17452
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
17435
17453
  var slicedToArray = __webpack_require__(27222);
@@ -17827,10 +17845,10 @@ var columns = [{
17827
17845
  });
17828
17846
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=js&
17829
17847
  /* harmony default export */ var table_TableCellPropertyvue_type_script_lang_js_ = (TableCellPropertyvue_type_script_lang_js_);
17830
- ;// 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/TableCellProperty.vue?vue&type=style&index=0&id=488dae95&prod&lang=scss&
17848
+ ;// 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/TableCellProperty.vue?vue&type=style&index=0&id=59ad6eba&prod&lang=scss&
17831
17849
  // extracted by mini-css-extract-plugin
17832
17850
 
17833
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=488dae95&prod&lang=scss&
17851
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=59ad6eba&prod&lang=scss&
17834
17852
 
17835
17853
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
17836
17854
  var componentNormalizer = __webpack_require__(70713);
@@ -20847,7 +20865,7 @@ var component = (0,componentNormalizer/* default */.Z)(
20847
20865
 
20848
20866
  /***/ }),
20849
20867
 
20850
- /***/ 49373:
20868
+ /***/ 92675:
20851
20869
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20852
20870
 
20853
20871
  "use strict";
@@ -20861,7 +20879,7 @@ __webpack_require__.d(__webpack_exports__, {
20861
20879
 
20862
20880
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
20863
20881
  var es_function_name = __webpack_require__(68309);
20864
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=ad488cea&
20882
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=75c57bb1&
20865
20883
 
20866
20884
  var render = function render() {
20867
20885
  var _vm = this,
@@ -21155,40 +21173,6 @@ var render = function render() {
21155
21173
  staticClass: "control-item"
21156
21174
  }, [_c('span', {
21157
21175
  staticClass: "label"
21158
- }, [_vm._v("内容只读状态")]), _c('a-select', {
21159
- staticStyle: {
21160
- "text-align": "left"
21161
- },
21162
- attrs: {
21163
- "getPopupContainer": function getPopupContainer(triggerNode) {
21164
- return triggerNode.parentNode;
21165
- },
21166
- "placeholder": "请选择",
21167
- "size": "small"
21168
- },
21169
- model: {
21170
- value: _vm.textParam.readOnlyStatus,
21171
- callback: function callback($$v) {
21172
- _vm.$set(_vm.textParam, "readOnlyStatus", $$v);
21173
- },
21174
- expression: "textParam.readOnlyStatus"
21175
- }
21176
- }, [_c('a-select-option', {
21177
- attrs: {
21178
- "value": 2
21179
- }
21180
- }, [_vm._v("继承父元素")]), _c('a-select-option', {
21181
- attrs: {
21182
- "value": 0
21183
- }
21184
- }, [_vm._v("是")]), _c('a-select-option', {
21185
- attrs: {
21186
- "value": 1
21187
- }
21188
- }, [_vm._v("否")])], 1)], 1), _c('li', {
21189
- staticClass: "control-item"
21190
- }, [_c('span', {
21191
- staticClass: "label"
21192
21176
  }, [_vm._v("固定宽度")]), _c('a-input-number', {
21193
21177
  staticStyle: {
21194
21178
  "width": "120px",
@@ -21375,7 +21359,7 @@ var render = function render() {
21375
21359
  };
21376
21360
  var staticRenderFns = [];
21377
21361
 
21378
- ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=ad488cea&
21362
+ ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=75c57bb1&
21379
21363
 
21380
21364
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
21381
21365
  var toConsumableArray = __webpack_require__(61748);
@@ -21669,10 +21653,10 @@ var VerifyTip = __webpack_require__(63210);
21669
21653
  });
21670
21654
  ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
21671
21655
  /* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
21672
- ;// 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/textDialog/TextDialog.vue?vue&type=style&index=0&id=ad488cea&prod&lang=scss&
21656
+ ;// 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/textDialog/TextDialog.vue?vue&type=style&index=0&id=75c57bb1&prod&lang=scss&
21673
21657
  // extracted by mini-css-extract-plugin
21674
21658
 
21675
- ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=ad488cea&prod&lang=scss&
21659
+ ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=75c57bb1&prod&lang=scss&
21676
21660
 
21677
21661
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
21678
21662
  var componentNormalizer = __webpack_require__(70713);
@@ -41006,7 +40990,9 @@ var DocController = /*#__PURE__*/function () {
41006
40990
  */
41007
40991
  }, {
41008
40992
  key: "insertBarcode",
41009
- value: function insertBarcode(operType, curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
40993
+ value: function insertBarcode(operType, curDomRange, id, textContent, isDisplayText, imagePath, width, height,
40994
+ //bandDataSource: string,
40995
+ name, innerIdentifier) {
41010
40996
  var domRange = curDomRange.normalize();
41011
40997
  var startPath = domRange.endPath;
41012
40998
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
@@ -45744,6 +45730,7 @@ var DomRange = /*#__PURE__*/function () {
45744
45730
  // const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
45745
45731
  // const isValidPath = hoEditorFactory.docTree.checkPath(value);
45746
45732
  if (value.indexOf("-") >= 0) {
45733
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_22__/* ["default"].destroy */ .Z.destroy();
45747
45734
  //const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
45748
45735
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_22__/* ["default"].warn */ .Z.warn("当前路径s(" + value + ")异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。(" + this._startPath + ")");
45749
45736
  this.setSamePath(this._startPath);
@@ -45763,6 +45750,7 @@ var DomRange = /*#__PURE__*/function () {
45763
45750
  // const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
45764
45751
  // const isValidPath = hoEditorFactory.docTree.checkPath(value);
45765
45752
  if (value.indexOf("-") >= 0) {
45753
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_22__/* ["default"].destroy */ .Z.destroy();
45766
45754
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_22__/* ["default"].warn */ .Z.warn("当前路径e(" + value + ")异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。(" + this._endPath + ")");
45767
45755
  this.setSamePath(this._endPath);
45768
45756
  return;
@@ -47170,7 +47158,7 @@ var PageProperty = /*#__PURE__*/function () {
47170
47158
  /*
47171
47159
  * @Author: your name
47172
47160
  * @Date: 2020-12-24 16:01:16
47173
- * @LastEditTime: 2023-07-07 11:45:18
47161
+ * @LastEditTime: 2023-07-13 10:31:51
47174
47162
  * @LastEditors: liyanan 2441631434@qq.com
47175
47163
  * @Description: In User Settings Edit
47176
47164
  * @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
@@ -47920,6 +47908,7 @@ var ObliqueSplitLine;
47920
47908
  ObliqueSplitLine[ObliqueSplitLine["BottomLeftTwoLine"] = 6] = "BottomLeftTwoLine";
47921
47909
  ObliqueSplitLine[ObliqueSplitLine["BottomRightOneLine"] = 7] = "BottomRightOneLine";
47922
47910
  ObliqueSplitLine[ObliqueSplitLine["BottomRightTwoLine"] = 8] = "BottomRightTwoLine";
47911
+ ObliqueSplitLine[ObliqueSplitLine["TwoDiagonal"] = 9] = "TwoDiagonal";
47923
47912
  })(ObliqueSplitLine || (ObliqueSplitLine = {}));
47924
47913
  var DiagonalType;
47925
47914
  (function (DiagonalType) {
@@ -65236,7 +65225,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
65236
65225
  /*
65237
65226
  * @Author: your name
65238
65227
  * @Date: 2020-11-03 15:17:54
65239
- * @LastEditTime: 2023-06-30 16:19:32
65228
+ * @LastEditTime: 2023-07-13 09:59:01
65240
65229
  * @LastEditors: liyanan 2441631434@qq.com
65241
65230
  * @Description: In User Settings Edit
65242
65231
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -65314,7 +65303,7 @@ var DownListProperty = /*#__PURE__*/function () {
65314
65303
  // 列表选项互斥
65315
65304
  //private _dynamicLoadList!: boolean;//动态加载列表
65316
65305
  // private _listContent!: string;//列表内容
65317
- //来源
65306
+ //private _source!: string; //来源
65318
65307
  //列表项目
65319
65308
  //private _specialFormat!: SpecialFormat;//特殊格式
65320
65309
  function DownListProperty() {
@@ -65323,7 +65312,6 @@ var DownListProperty = /*#__PURE__*/function () {
65323
65312
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)(this, "_isMultiLinesDisplay", void 0);
65324
65313
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)(this, "_splitCharacter", void 0);
65325
65314
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)(this, "_mutexSelect", void 0);
65326
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)(this, "_source", void 0);
65327
65315
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)(this, "_listItems", void 0);
65328
65316
  DownListProperty.setDefaultImportStyle(this);
65329
65317
  }
@@ -65383,16 +65371,14 @@ var DownListProperty = /*#__PURE__*/function () {
65383
65371
  // this._listContent = value;
65384
65372
  // }
65385
65373
  // }
65386
- }, {
65387
- key: "source",
65388
- get: function get() {
65389
- return this._source;
65390
- },
65391
- set: function set(value) {
65392
- if (this._source !== value) {
65393
- this._source = value;
65394
- }
65395
- }
65374
+ // get source(): string {
65375
+ // return this._source;
65376
+ // }
65377
+ // set source(value: string) {
65378
+ // if (this._source !== value) {
65379
+ // this._source = value;
65380
+ // }
65381
+ // }
65396
65382
  }, {
65397
65383
  key: "listItems",
65398
65384
  get: function get() {
@@ -65412,7 +65398,7 @@ var DownListProperty = /*#__PURE__*/function () {
65412
65398
  ret._splitCharacter = '';
65413
65399
  //ret._dynamicLoadList = false;
65414
65400
  //ret._listContent = "";
65415
- ret._source = '';
65401
+ //ret._source = '';
65416
65402
  ret._listItems = '';
65417
65403
  ret._mutexSelect = false;
65418
65404
  //ret._specialFormat = SpecialFormat.none;
@@ -67293,16 +67279,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
67293
67279
  }
67294
67280
  }
67295
67281
  }
67296
- if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psDesign */ .Dh.psDesign) {
67297
- var sChildNode = temp.childNodes[0];
67298
- var eChildNode = temp.childNodes[temp.childNodes.length - 1];
67299
- if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNodeType.mtStart */ .q.mtStart) {
67300
- throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
67301
- }
67302
- if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
67303
- throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
67304
- }
67282
+ //if (hoEditorFactory.drawTree.paintStatus === PaintState.psDesign) {
67283
+ var sChildNode = temp.childNodes[0];
67284
+ var eChildNode = temp.childNodes[temp.childNodes.length - 1];
67285
+ if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNodeType.mtStart */ .q.mtStart) {
67286
+ throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
67305
67287
  }
67288
+ if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
67289
+ throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
67290
+ }
67291
+ if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j) {
67292
+ temp.childNodes.splice(1, 1);
67293
+ }
67294
+ //}
67306
67295
  if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_53__/* .TableFormula */ .N) {
67307
67296
  return temp;
67308
67297
  }
@@ -74236,6 +74225,14 @@ var inherits = __webpack_require__(11651);
74236
74225
  var createSuper = __webpack_require__(19593);
74237
74226
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
74238
74227
  var defineProperty = __webpack_require__(78255);
74228
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
74229
+ var es_function_name = __webpack_require__(68309);
74230
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
74231
+ var es_array_includes = __webpack_require__(26699);
74232
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
74233
+ var es_string_includes = __webpack_require__(32023);
74234
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
74235
+ var es_array_splice = __webpack_require__(40561);
74239
74236
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
74240
74237
  var es_error_cause = __webpack_require__(21703);
74241
74238
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
@@ -74553,6 +74550,10 @@ var DrawPageTable = __webpack_require__(15694);
74553
74550
 
74554
74551
 
74555
74552
 
74553
+
74554
+
74555
+
74556
+
74556
74557
 
74557
74558
 
74558
74559
 
@@ -74584,6 +74585,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
74584
74585
  _this._drawPageTable = dPartTable;
74585
74586
  // this._crossShape = null;
74586
74587
  _this._backImg = new createjs.Shape();
74588
+ _this._backImg.name = "backImg";
74587
74589
  _this._topLine = new createjs.Shape();
74588
74590
  _this._bottomLine = new createjs.Shape();
74589
74591
  _this._leftLine = new createjs.Shape();
@@ -74835,7 +74837,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
74835
74837
  // this._crossShape.graphics.clear();
74836
74838
  // this._crossShape.x = 0;
74837
74839
  // this._crossShape.y = 0;
74838
- this._backImg.graphics.setStrokeStyle(1);
74840
+ this._backImg.graphics.clear().setStrokeStyle(1);
74839
74841
  this._backImg.graphics.beginStroke("#000000");
74840
74842
  /*表格边框与边编码,角的编码是0、1、2、3 边的编码是ABCD
74841
74843
  * _____A______*
@@ -74895,7 +74897,12 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
74895
74897
  this._backImg.graphics.moveTo(0, this._dHeight);
74896
74898
  this._backImg.graphics.lineTo(this._dWidth, this._dHeight / 2);
74897
74899
  break;
74900
+ case TableProperty/* ObliqueSplitLine.TwoDiagonal */.lH.TwoDiagonal:
74901
+ this._backImg.graphics.moveTo(0, 0).lineTo(this.dWidth, this.dHeight);
74902
+ this._backImg.graphics.moveTo(0, this.dHeight).lineTo(this.dWidth, 0);
74903
+ break;
74898
74904
  }
74905
+ this._backImg.graphics.endStroke();
74899
74906
  }
74900
74907
  // if (this._crossShape && !this.contains(this._crossShape)) {
74901
74908
  // this.addChildAt(this._crossShape, 1);
@@ -75065,10 +75072,159 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
75065
75072
  }
75066
75073
  this._backImg.graphics.endStroke();
75067
75074
  }
75075
+ }, {
75076
+ key: "paintCellBorders",
75077
+ value: function paintCellBorders(newHeight, r, c) {
75078
+ if (this._cell.cellProperty.isDrawGridlines) {
75079
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
75080
+ var x = 0.5;
75081
+ var y = 0.5;
75082
+ var dWidth = this._dWidth - 0.5;
75083
+ var height = newHeight - 0.5;
75084
+ if (r > this._drawPageTable.startRow) {
75085
+ y = -0.5;
75086
+ height += 0.5;
75087
+ }
75088
+ if (c > 0) {
75089
+ x = -0.5;
75090
+ dWidth = this._dWidth + 0.5;
75091
+ }
75092
+ this._topLine.graphics.clear();
75093
+ this._bottomLine.graphics.clear();
75094
+ this._leftLine.graphics.clear();
75095
+ this._rightLine.graphics.clear();
75096
+ var printGridLines = this._cell.cellProperty.printGridLines;
75097
+ var gridLineDisplay = this._cell.cellProperty.gridLineDisplay;
75098
+ var gridLinesColor = this._cell.cellProperty.gridLinesColor;
75099
+ if (printGridLines || !printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
75100
+ if (gridLineDisplay[0]) {
75101
+ //上边框
75102
+ if (r == 0 || this.dTop == 0) {
75103
+ this._topLine.name = "topLine";
75104
+ this._topLine.graphics.beginStroke(gridLinesColor[0]);
75105
+ if (printGridLines && this.cell.cellProperty.gridLinesStyle !== TableProperty/* GridLinesStyle.solid */.he.solid || !printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
75106
+ this._topLine.graphics.setStrokeDash([2, 2]);
75107
+ } else {
75108
+ this._topLine.graphics.setStrokeStyle(1, 0, 0, undefined, true);
75109
+ }
75110
+ this._topLine.graphics.moveTo(x, y).lineTo(x + dWidth, y);
75111
+ this._topLine.graphics.endStroke();
75112
+ if (!this.children.includes(this._topLine)) {
75113
+ this.addChild(this._topLine);
75114
+ }
75115
+ }
75116
+ } else {
75117
+ if (r > 0) {
75118
+ var topCell = this._cell.table.getMainCell(r - 1, c)[0];
75119
+ var drawPageCells = topCell.drawCell.drawPageCells;
75120
+ if (drawPageCells.length > 0) {
75121
+ for (var i = 0; i < drawPageCells[drawPageCells.length - 1].children.length; i++) {
75122
+ var child = drawPageCells[drawPageCells.length - 1].children[i];
75123
+ if (child.name == "bottomLine") {
75124
+ drawPageCells[drawPageCells.length - 1].children.splice(i, 1);
75125
+ }
75126
+ }
75127
+ }
75128
+ }
75129
+ }
75130
+ if (gridLineDisplay[1]) {
75131
+ //下边框
75132
+ this._bottomLine.name = "bottomLine";
75133
+ this._bottomLine.graphics.beginStroke(gridLinesColor[1]);
75134
+ if (printGridLines && this.cell.cellProperty.gridLinesStyle !== TableProperty/* GridLinesStyle.solid */.he.solid || !printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
75135
+ this._bottomLine.graphics.setStrokeDash([2, 2]);
75136
+ } else {
75137
+ this._bottomLine.graphics.setStrokeStyle(1, 0, 0, undefined, true);
75138
+ }
75139
+ this._bottomLine.graphics.moveTo(x, y + height).lineTo(x + dWidth, y + height);
75140
+ this._bottomLine.graphics.endStroke();
75141
+ if (!this.children.includes(this._bottomLine)) {
75142
+ this.addChild(this._bottomLine);
75143
+ }
75144
+ } else {
75145
+ if (r < this.cell.table.rowCount - 1) {
75146
+ var bottomCell = this._cell.table.getMainCell(r + 1, c)[0];
75147
+ var _drawPageCells = bottomCell.drawCell.drawPageCells;
75148
+ if (_drawPageCells.length > 0) {
75149
+ for (var _i = 0; _i < _drawPageCells[0].children.length; _i++) {
75150
+ var _child = _drawPageCells[0].children[_i];
75151
+ if (_child.name == "topLine") {
75152
+ _drawPageCells[0].children.splice(_i, 1);
75153
+ }
75154
+ }
75155
+ }
75156
+ }
75157
+ }
75158
+ if (gridLineDisplay[2]) {
75159
+ //左边框
75160
+ if (c == 0) {
75161
+ this._leftLine.name = "leftLine";
75162
+ this._leftLine.graphics.beginStroke(gridLinesColor[2]);
75163
+ if (printGridLines && this.cell.cellProperty.gridLinesStyle !== TableProperty/* GridLinesStyle.solid */.he.solid || !printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
75164
+ this._leftLine.graphics.setStrokeDash([2, 2]);
75165
+ } else {
75166
+ this._leftLine.graphics.setStrokeStyle(1, 0, 0, undefined, true);
75167
+ }
75168
+ this._leftLine.graphics.moveTo(x, y).lineTo(x, y + height);
75169
+ this._leftLine.graphics.endStroke();
75170
+ if (!this.children.includes(this._leftLine)) {
75171
+ this.addChild(this._leftLine);
75172
+ }
75173
+ }
75174
+ } else {
75175
+ if (c > 0) {
75176
+ var leftCell = this._cell.table.getMainCell(r, c - 1)[0];
75177
+ var _drawPageCells2 = leftCell.drawCell.drawPageCells;
75178
+ if (_drawPageCells2.length > 0) {
75179
+ for (var _i2 = 0; _i2 < _drawPageCells2.length; _i2++) {
75180
+ var children = _drawPageCells2[_i2].children;
75181
+ for (var j = 0; j < children.length; j++) {
75182
+ var _child2 = children[j];
75183
+ if (_child2.name == "rightLine") {
75184
+ children.splice(j, 1);
75185
+ }
75186
+ }
75187
+ }
75188
+ }
75189
+ }
75190
+ }
75191
+ if (gridLineDisplay[3]) {
75192
+ //右边框
75193
+ this._rightLine.name = "rightLine";
75194
+ this._rightLine.graphics.beginStroke(gridLinesColor[3]);
75195
+ if (printGridLines && this.cell.cellProperty.gridLinesStyle !== TableProperty/* GridLinesStyle.solid */.he.solid || !printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
75196
+ this._rightLine.graphics.setStrokeDash([2, 2]);
75197
+ } else {
75198
+ this._rightLine.graphics.setStrokeStyle(1, 0, 0, undefined, true);
75199
+ }
75200
+ this._rightLine.graphics.moveTo(x + dWidth, y).lineTo(x + dWidth, y + height);
75201
+ this._rightLine.graphics.endStroke();
75202
+ if (!this.children.includes(this._rightLine)) {
75203
+ this.addChild(this._rightLine);
75204
+ }
75205
+ } else {
75206
+ if (c < this.cell.table.colCount - 1) {
75207
+ var rightCell = this._cell.table.getMainCell(r, c + 1)[0];
75208
+ var _drawPageCells3 = rightCell.drawCell.drawPageCells;
75209
+ if (_drawPageCells3.length > 0) {
75210
+ for (var _i3 = 0; _i3 < _drawPageCells3.length; _i3++) {
75211
+ var _children = _drawPageCells3[_i3].children;
75212
+ for (var _j = 0; _j < _children.length; _j++) {
75213
+ var _child3 = _children[_j];
75214
+ if (_child3.name == "leftLine") {
75215
+ _children.splice(_j, 1);
75216
+ }
75217
+ }
75218
+ }
75219
+ }
75220
+ }
75221
+ }
75222
+ }
75223
+ }
75224
+ }
75068
75225
  }, {
75069
75226
  key: "paintCellBackground",
75070
75227
  value: function paintCellBackground(newHeight, r, c) {
75071
- var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
75072
75228
  this._backImg.x = 0;
75073
75229
  this._backImg.y = 0;
75074
75230
  // this._backImg.uncache();
@@ -75076,171 +75232,12 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
75076
75232
  this._backImg.graphics.beginFill(this._cell.cellProperty.backColor === '#FFFFFF' ? 'transparent' : this._cell.cellProperty.backColor);
75077
75233
  this._backImg.graphics.rect(1, 1, this.dWidth - 1, this.dHeight - 1);
75078
75234
  this._backImg.graphics.endFill();
75079
- // if (c + this._cell.colSpan <= this._cell.table.colCount - 1) {
75080
- // const rightCell = this._cell.table.getMainCell(r, c + this._cell.colSpan)[0];
75081
- // this.paintNeerByCellBorder(rightCell, this._dWidth, 0, this._dWidth, this._dHeight);
75082
- // }
75083
- // if (r + this._cell.rowSpan <= this._cell.table.rowCount - 1) {
75084
- // const bottomCell = this._cell.table.getMainCell(r + this._cell.rowSpan, c)[0];
75085
- // this.paintNeerByCellBorder(bottomCell, 0, this._dHeight, this._dWidth, this._dHeight);
75086
- // }
75087
- this._backImg.graphics.beginStroke(this._cell.cellProperty.gridLinesColor[0]);
75088
- if (this._cell.cellProperty.isDrawGridlines) {
75089
- if (!this._cell.cellProperty.printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
75090
- this._backImg.graphics.setStrokeDash([2, 2]);
75091
- }
75092
- if (this._cell.cellProperty.printGridLines || !this._cell.cellProperty.printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
75093
- var x = 0.5;
75094
- var y = 0.5;
75095
- var dWidth = this._dWidth - 0.5;
75096
- var height = newHeight - 0.5;
75097
- if (this.cell.cellProperty.gridLinesStyle === TableProperty/* GridLinesStyle.solid */.he.solid) {
75098
- this._backImg.graphics.setStrokeStyle(0.5);
75099
- } else {
75100
- this._backImg.graphics.setStrokeDash([2, 2]);
75101
- }
75102
- if (r > this._drawPageTable.startRow) {
75103
- y = -0.5;
75104
- height += 0.5;
75105
- }
75106
- if (c > 0) {
75107
- x = -0.5;
75108
- dWidth = this._dWidth + 0.5;
75109
- }
75110
- this._backImg.graphics.drawRect(x, y, dWidth, height);
75111
- /*
75112
- const gridLineDisplay = this._cell.cellProperty.gridLineDisplay;
75113
- const gridLinesColor = this._cell.cellProperty.gridLinesColor;
75114
- const colNo = this.cell.row.indexOf(this.cell);
75115
- const rowNo = this.cell.table.rows.indexOf(this.cell.row);
75116
- if (gridLineDisplay[0]) {//上边框
75117
- if (rowNo == 0) {
75118
- this._topLine.name = "topLine";
75119
- this._topLine.graphics.clear().beginStroke(gridLinesColor[0]);
75120
- if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
75121
- this._topLine.graphics.setStrokeStyle(0.5);
75122
- } else {
75123
- this._topLine.graphics.setStrokeDash([2, 2]);
75124
- }
75125
- this._topLine.graphics.moveTo(x, y).lineTo(x + dWidth, y);
75126
- this._topLine.graphics.endStroke();
75127
- if (!this.contains(this._topLine)) {
75128
- this.addChild(this._topLine);
75129
- }
75130
- }
75131
- } else {
75132
- if (rowNo > 0) {
75133
- const topCell = this._cell.table.getMainCell(rowNo - 1, colNo)[0];
75134
- const drawPageCells = topCell.drawCell.drawPageCells;
75135
- if (drawPageCells.length > 0) {
75136
- for (let i = 0; i < drawPageCells[drawPageCells.length - 1].children.length; i++) {
75137
- const child = drawPageCells[drawPageCells.length - 1].children[i];
75138
- if (child.name == "bottomLine") {
75139
- drawPageCells[drawPageCells.length - 1].children.splice(i, 1);
75140
- }
75141
- }
75142
- }
75143
- }
75144
- }
75145
- if (gridLineDisplay[1]) {//下边框
75146
- this._bottomLine.name = "bottomLine";
75147
- this._bottomLine.graphics.clear().beginStroke(gridLinesColor[1]);
75148
- if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
75149
- this._bottomLine.graphics.setStrokeStyle(0.5);
75150
- } else {
75151
- this._bottomLine.graphics.setStrokeDash([2, 2]);
75152
- }
75153
- this._bottomLine.graphics.moveTo(x, y + height).lineTo(x + dWidth, y + height);
75154
- this._bottomLine.graphics.endStroke();
75155
- if (!this.contains(this._bottomLine)) {
75156
- this.addChild(this._bottomLine);
75157
- }
75158
- } else {
75159
- if (rowNo < this.cell.table.rowCount - 1) {
75160
- const bottomCell = this._cell.table.getMainCell(rowNo + 1, colNo)[0];
75161
- const drawPageCells = bottomCell.drawCell.drawPageCells;
75162
- if (drawPageCells.length > 0) {
75163
- for (let i = 0; i < drawPageCells[0].children.length; i++) {
75164
- const child = drawPageCells[0].children[i];
75165
- if (child.name == "topLine") {
75166
- drawPageCells[0].children.splice(i, 1);
75167
- }
75168
- }
75169
- }
75170
- }
75171
- }
75172
- if (gridLineDisplay[2]) {//左边框
75173
- if (colNo == 0) {
75174
- this._leftLine.name = "leftLine";
75175
- this._leftLine.graphics.clear().beginStroke(gridLinesColor[2]);
75176
- if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
75177
- this._leftLine.graphics.setStrokeStyle(0.5);
75178
- } else {
75179
- this._leftLine.graphics.setStrokeDash([2, 2]);
75180
- }
75181
- this._leftLine.graphics.moveTo(x, y).lineTo(x, y + height);
75182
- this._leftLine.graphics.endStroke();
75183
- if (!this.contains(this._leftLine)) {
75184
- this.addChild(this._leftLine);
75185
- }
75186
- }
75187
- } else {
75188
- if (colNo > 0) {
75189
- const leftCell = this._cell.table.getMainCell(rowNo, colNo - 1)[0];
75190
- const drawPageCells = leftCell.drawCell.drawPageCells;
75191
- if (drawPageCells.length > 0) {
75192
- for (let i = 0; i < drawPageCells.length; i++) {
75193
- const children = drawPageCells[i].children;
75194
- for (let j = 0; j < children.length; j++) {
75195
- const child = children[j];
75196
- if (child.name == "rightLine") {
75197
- children.splice(j, 1);
75198
- }
75199
- }
75200
- }
75201
- }
75202
- }
75203
- }
75204
- if (gridLineDisplay[3]) {//右边框
75205
- this._rightLine.name = "rightLine";
75206
- this._rightLine.graphics.clear().beginStroke(gridLinesColor[3]);
75207
- if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
75208
- this._rightLine.graphics.setStrokeStyle(0.5);
75209
- } else {
75210
- this._rightLine.graphics.setStrokeDash([2, 2]);
75211
- }
75212
- this._rightLine.graphics.moveTo(x + dWidth, y).lineTo(x + dWidth, y + height);
75213
- this._rightLine.graphics.endStroke();
75214
- if (!this.contains(this._rightLine)) {
75215
- this.addChild(this._rightLine);
75216
- }
75217
- } else {
75218
- if (colNo < this.cell.table.colCount - 1) {
75219
- const rightCell = this._cell.table.getMainCell(rowNo, colNo + 1)[0];
75220
- const drawPageCells = rightCell.drawCell.drawPageCells;
75221
- if (drawPageCells.length > 0) {
75222
- for (let i = 0; i < drawPageCells.length; i++) {
75223
- const children = drawPageCells[i].children;
75224
- for (let j = 0; j < children.length; j++) {
75225
- const child = children[j];
75226
- if (child.name == "leftLine") {
75227
- children.splice(j, 1);
75228
- }
75229
- }
75230
- }
75231
- }
75232
- }
75233
- }
75234
- */
75235
- }
75236
- }
75237
-
75238
- this._backImg.graphics.endStroke();
75239
- if (!this.contains(this._backImg)) {
75235
+ if (!this.children.includes(this._backImg)) {
75240
75236
  this.addChildAt(this._backImg, 0);
75241
75237
  } else {
75242
75238
  this.setChildIndex(this._backImg, 0);
75243
75239
  }
75240
+ this.paintCellBorders(newHeight, r, c);
75244
75241
  if (this._cell.needPaintLineGrid()) this.paintLineGrid();
75245
75242
  this.setBounds(0, 0, this._dWidth, newHeight);
75246
75243
  // this._backImg.cache(0, 0, this._dWidth, newHeight);
@@ -75346,8 +75343,8 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
75346
75343
  var pageTableIndex = this._cell.table.drawTable.drawPageTables.indexOf(dPageCell._drawPageTable);
75347
75344
  var pageCellIndex = this._cell.drawCell.drawPageCells.length - 1;
75348
75345
  var cellrestHeight = rowHeightArr[pageTableIndex][0];
75349
- for (var _i = childCount - 1; _i >= 0; _i--) {
75350
- var dObj = this._cell.drawCell.drawLines[_i];
75346
+ for (var _i4 = childCount - 1; _i4 >= 0; _i4--) {
75347
+ var dObj = this._cell.drawCell.drawLines[_i4];
75351
75348
  if (dObj instanceof DrawLine/* DrawLine */.a || dObj instanceof DrawPageTable/* DrawPageTable */.ox) {
75352
75349
  while (pageCellIndex > 0 && cellrestHeight < dObj.dHeight) {
75353
75350
  pageCellIndex -= 1;
@@ -77837,6 +77834,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
77837
77834
  //职称
77838
77835
 
77839
77836
  //日期位置 1放签名右侧 其它:放签名下面
77837
+
77840
77838
  function DrawSignNode(hoeditfactoryID, rootPath, node, number, type, name, imgSrc, imgWidth, imgHeight, cbStyle, fingerPrintSrc, fingerPosition, attribute, customProperty, connectChar, otherProperties) {
77841
77839
  var _this;
77842
77840
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawSignNode);
@@ -77858,6 +77856,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
77858
77856
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_title", "");
77859
77857
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_drawTitle", void 0);
77860
77858
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_timePosition", "0");
77859
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_exif", null);
77861
77860
  _this._number = number;
77862
77861
  _this._imgSrc = imgSrc;
77863
77862
  _this._type = type;
@@ -77891,7 +77890,11 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
77891
77890
  _this._drawTitle = new createjs.Text(_this.title + _this._connectChar, _this._textStyle, '#000000');
77892
77891
  }
77893
77892
  if (_this._signTime != "") {
77894
- _this._drawDate = new createjs.Text(_this.signTime.substring(0, 16), _this._textStyle, '#000000');
77893
+ if (_this.attribute === 4) {
77894
+ _this._drawDate = new createjs.Text(_this.signTime, _this._textStyle, '#000000');
77895
+ } else {
77896
+ _this._drawDate = new createjs.Text(_this.signTime.substring(0, 16), _this._textStyle, '#000000');
77897
+ }
77895
77898
  }
77896
77899
  //this._textStyle = cbStyle.;
77897
77900
  var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID);
@@ -78394,106 +78397,109 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
78394
78397
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
78395
78398
  hoEditorFactory.loadImageCount++;
78396
78399
  image.onload = function () {
78397
- var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
78398
- var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
78399
- // 处理宽高和实际宽高相反的问题 --- 2.0.66版本问题 --2.0.68后版本临时处理 再过几个版本后可以删掉
78400
- var node = _this3.node;
78401
- var nodeImageWidth = node.imgWidth;
78402
- var nodeImageHeight = node.imgHeight;
78403
- if (image.naturalWidth > image.naturalHeight && nodeImageWidth < nodeImageHeight || image.naturalWidth < image.naturalHeight && node.imgWidth > node.imgHeight) {
78404
- node.imgWidth = nodeImageHeight;
78405
- node.imgHeight = nodeImageWidth;
78406
- }
78407
- var width = hitWidth * hoEditorFactory.signHeight / image.naturalHeight; //+ this._drawText.getMeasuredWidth();
78408
- if (node.parentNode instanceof _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_7__/* .CellNode */ .D) {
78409
- var cellWidth = node.parentNode.drawCell.dWidth;
78410
- if (width > cellWidth - 5) {
78411
- drawNode.dHeight = (cellWidth - 5) * hoEditorFactory.signHeight / width;
78412
- width = cellWidth - 5;
78400
+ var handleOrientation = function handleOrientation() {
78401
+ var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
78402
+ var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
78403
+ // 处理宽高和实际宽高相反的问题 --- 2.0.66版本问题 --2.0.68后版本临时处理 再过几个版本后可以删掉
78404
+ var node = _this3.node;
78405
+ var nodeImageWidth = node.imgWidth;
78406
+ var nodeImageHeight = node.imgHeight;
78407
+ if (image.naturalWidth > image.naturalHeight && nodeImageWidth < nodeImageHeight || image.naturalWidth < image.naturalHeight && node.imgWidth > node.imgHeight) {
78408
+ node.imgWidth = nodeImageHeight;
78409
+ node.imgHeight = nodeImageWidth;
78413
78410
  }
78414
- }
78415
- drawNode.dWidth = width;
78416
- if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
78417
- drawNode.dWidth += drawNode._drawAbi02.getMeasuredWidth();
78418
- }
78419
- if (drawNode.attribute == 3 && drawNode.title != "") {
78420
- drawNode.dWidth += drawNode._drawTitle.getMeasuredWidth();
78421
- if (_this3._drawDate.getMeasuredWidth() > drawNode.dWidth) {
78422
- drawNode.dWidth = _this3._drawDate.getMeasuredWidth();
78411
+ var width = hitWidth * hoEditorFactory.signHeight / image.naturalHeight; //+ this._drawText.getMeasuredWidth();
78412
+ if (node.parentNode instanceof _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_7__/* .CellNode */ .D) {
78413
+ var cellWidth = node.parentNode.drawCell.dWidth;
78414
+ if (width > cellWidth - 5) {
78415
+ drawNode.dHeight = (cellWidth - 5) * hoEditorFactory.signHeight / width;
78416
+ width = cellWidth - 5;
78417
+ }
78423
78418
  }
78424
- }
78425
- if (drawNode.attribute === 4) {
78426
- if (drawNode.title != "") {
78419
+ drawNode.dWidth = width;
78420
+ if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
78421
+ drawNode.dWidth += drawNode._drawAbi02.getMeasuredWidth();
78422
+ }
78423
+ if (drawNode.attribute == 3 && drawNode.title != "") {
78427
78424
  drawNode.dWidth += drawNode._drawTitle.getMeasuredWidth();
78425
+ if (_this3._drawDate.getMeasuredWidth() > drawNode.dWidth) {
78426
+ drawNode.dWidth = _this3._drawDate.getMeasuredWidth();
78427
+ }
78428
78428
  }
78429
- if (_this3.signTime !== "") {
78430
- if (_this3.timePosition === "1") {
78431
- drawNode.dWidth = drawNode.dWidth + drawNode._drawDate.getMeasuredWidth();
78432
- } else {
78433
- drawNode.dWidth = Math.max(drawNode.dWidth, drawNode._drawDate.getMeasuredWidth());
78429
+ if (drawNode.attribute === 4) {
78430
+ if (drawNode.title != "") {
78431
+ drawNode.dWidth += drawNode._drawTitle.getMeasuredWidth();
78432
+ }
78433
+ if (_this3.signTime !== "") {
78434
+ if (_this3.timePosition === "1") {
78435
+ drawNode.dWidth = drawNode.dWidth + drawNode._drawDate.getMeasuredWidth();
78436
+ } else {
78437
+ drawNode.dWidth = Math.max(drawNode.dWidth, drawNode._drawDate.getMeasuredWidth());
78438
+ }
78434
78439
  }
78435
78440
  }
78436
- }
78437
- if (_this3.number === 2) {
78438
- drawNode.dWidth += _this3._drawText ? _this3._drawText.getMeasuredWidth() : 0;
78439
- }
78440
- if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
78441
- bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -drawNode.dHeight + 2, width / hitWidth, drawNode.dHeight / hitHeight);
78442
- } else if (drawNode.attribute === 3 && drawNode.title !== "") {
78443
- bitmap.setTransform(drawNode._drawTitle.getMeasuredWidth(), -drawNode.dHeight - 4, width / hitWidth, (drawNode.dHeight - drawNode._drawDate.getMeasuredHeight() - 2) / hitHeight);
78444
- } else if (drawNode.attribute === 4) {
78445
- var x = 0;
78446
- var y = 0;
78447
- var scaleY = drawNode.dHeight / hitHeight;
78448
- if (drawNode.title !== "") {
78449
- x = drawNode._drawTitle.getMeasuredWidth();
78450
- } else {
78451
- x = 0;
78441
+ if (_this3.number === 2) {
78442
+ drawNode.dWidth += _this3._drawText ? _this3._drawText.getMeasuredWidth() : 0;
78452
78443
  }
78453
- if (_this3.signTime === "") {
78454
- y = -drawNode.dHeight + 5;
78455
- scaleY = drawNode.dHeight / hitHeight;
78456
- } else {
78457
- if (_this3.timePosition === "1") {
78444
+ if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
78445
+ bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -drawNode.dHeight + 2, width / hitWidth, drawNode.dHeight / hitHeight);
78446
+ } else if (drawNode.attribute === 3 && drawNode.title !== "") {
78447
+ bitmap.setTransform(drawNode._drawTitle.getMeasuredWidth(), -drawNode.dHeight - 4, width / hitWidth, (drawNode.dHeight - drawNode._drawDate.getMeasuredHeight() - 2) / hitHeight);
78448
+ } else if (drawNode.attribute === 4) {
78449
+ var x = 0;
78450
+ var y = 0;
78451
+ var scaleY = drawNode.dHeight / hitHeight;
78452
+ if (drawNode.title !== "") {
78453
+ x = drawNode._drawTitle.getMeasuredWidth();
78454
+ } else {
78455
+ x = 0;
78456
+ }
78457
+ if (_this3.signTime === "") {
78458
78458
  y = -drawNode.dHeight + 5;
78459
78459
  scaleY = drawNode.dHeight / hitHeight;
78460
78460
  } else {
78461
- y = -drawNode.dHeight - 4;
78462
- scaleY = (drawNode.dHeight - drawNode._drawDate.getMeasuredHeight() - 2) / hitHeight;
78461
+ if (_this3.timePosition === "1") {
78462
+ y = -drawNode.dHeight + 5;
78463
+ scaleY = drawNode.dHeight / hitHeight;
78464
+ } else {
78465
+ y = -drawNode.dHeight - 4;
78466
+ scaleY = (drawNode.dHeight - drawNode._drawDate.getMeasuredHeight() - 2) / hitHeight;
78467
+ }
78463
78468
  }
78464
- }
78465
- bitmap.setTransform(x, y, width / hitWidth, scaleY);
78466
- } else {
78467
- bitmap.setTransform(0, -drawNode.dHeight, width / hitWidth, drawNode.dHeight / hitHeight);
78468
- }
78469
- var hitArea = new createjs.Shape();
78470
- hitArea.graphics.beginFill('#000').drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
78471
- bitmap.hitArea = hitArea;
78472
- // if (this.attribute !== 4) {
78473
- // if (this.imgSrc.indexOf('data:image/') != -1 && this.imgSrc.indexOf('data:image/png') == -1) {
78474
- // const canvas = document.createElement('canvas');
78475
- // canvas.width = image.naturalWidth;
78476
- // canvas.height = image.naturalHeight;
78477
- // const ctx = canvas.getContext('2d') as CanvasRenderingContext2D;
78478
- // ctx.fillStyle = '#FFFFFF';
78479
- // ctx.fillRect(0, 0, image.naturalWidth, image.naturalHeight);
78480
- // ctx.drawImage(image, 0, 0, image.naturalWidth, image.naturalHeight);
78481
- // (this.node as SignNode).imgSrc = canvas.toDataURL('image/png');
78482
- // }
78483
- // }
78484
- var dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
78485
- if (dArea) {
78486
- var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this3.node.getNodePath());
78487
- if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
78488
- hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
78469
+ bitmap.setTransform(x, y, width / hitWidth, scaleY);
78489
78470
  } else {
78490
- if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
78471
+ bitmap.setTransform(0, -drawNode.dHeight, width / hitWidth, drawNode.dHeight / hitHeight);
78472
+ }
78473
+ var hitArea = new createjs.Shape();
78474
+ hitArea.graphics.beginFill('#000').drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
78475
+ bitmap.hitArea = hitArea;
78476
+ var dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
78477
+ if (dArea) {
78478
+ var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this3.node.getNodePath());
78479
+ if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
78491
78480
  hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
78481
+ } else {
78482
+ if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
78483
+ hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
78484
+ }
78492
78485
  }
78486
+ hoEditorFactory.drawPageTree.updateDrawPage(dArea.index);
78487
+ }
78488
+ hoEditorFactory.loadImageCount--;
78489
+ };
78490
+ if (_this3.imgSrc.includes("data:image/") || _this3.imgSrc.includes(".png")) {
78491
+ handleOrientation();
78492
+ } else {
78493
+ if (!_this3._exif) {
78494
+ _this3._exif = __webpack_require__(29794);
78495
+ }
78496
+ if (_this3._exif) {
78497
+ _this3._exif.getData(image, function (exifdata) {
78498
+ image.exifdata = exifdata;
78499
+ handleOrientation();
78500
+ });
78493
78501
  }
78494
- hoEditorFactory.drawPageTree.updateDrawPage(dArea.index);
78495
78502
  }
78496
- hoEditorFactory.loadImageCount--;
78497
78503
  };
78498
78504
  image.onerror = function () {
78499
78505
  return hoEditorFactory.loadImageCount--;
@@ -89466,13 +89472,13 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89466
89472
  // }
89467
89473
  //if(nodes.length == 0) return;
89468
89474
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
89469
- _context2.next = 38;
89475
+ _context2.next = 41;
89470
89476
  break;
89471
89477
  }
89472
89478
  n = 0;
89473
89479
  case 14:
89474
89480
  if (!(n < nodes.length)) {
89475
- _context2.next = 37;
89481
+ _context2.next = 40;
89476
89482
  break;
89477
89483
  }
89478
89484
  node = nodes[n]; // if (node instanceof MarkNode && node.parentNode instanceof TextInputFieldNode && node.MarkNodeType === 1 && !node.parentNode.isAllowDelete) {
@@ -89481,11 +89487,11 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89481
89487
  // return;
89482
89488
  // }
89483
89489
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
89484
- _context2.next = 26;
89490
+ _context2.next = 27;
89485
89491
  break;
89486
89492
  }
89487
89493
  if (node.isAllowDelete) {
89488
- _context2.next = 26;
89494
+ _context2.next = 27;
89489
89495
  break;
89490
89496
  }
89491
89497
  tip = "";
@@ -89501,37 +89507,40 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89501
89507
  if (node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_33__/* .DownListNode */ .yF) {
89502
89508
  tip = "下拉列表";
89503
89509
  }
89510
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].destroy */ .Z.destroy();
89504
89511
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].warn */ .Z.warn(tip + "元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。");
89505
89512
  this._isError = true;
89506
89513
  return _context2.abrupt("return");
89507
- case 26:
89514
+ case 27:
89508
89515
  if (!(node instanceof _dom_treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_37__/* .TableFormula */ .N)) {
89509
- _context2.next = 30;
89516
+ _context2.next = 32;
89510
89517
  break;
89511
89518
  }
89519
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].destroy */ .Z.destroy();
89512
89520
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].warn */ .Z.warn("不允许删除表格计算公式");
89513
89521
  this._isError = true;
89514
89522
  return _context2.abrupt("return");
89515
- case 30:
89523
+ case 32:
89516
89524
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
89517
- _context2.next = 34;
89525
+ _context2.next = 37;
89518
89526
  break;
89519
89527
  }
89528
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].destroy */ .Z.destroy();
89520
89529
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_40__/* ["default"].warn */ .Z.warn("该签名元素不允许删除!");
89521
89530
  this._isError = true;
89522
89531
  return _context2.abrupt("return");
89523
- case 34:
89532
+ case 37:
89524
89533
  n++;
89525
89534
  _context2.next = 14;
89526
89535
  break;
89527
- case 37:
89536
+ case 40:
89528
89537
  if (nodes.length === 1 && nodes[0] instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && !nodes[0].isAllowDelete && nodes[0].childNodes[1] instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
89529
89538
  hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
89530
89539
  }
89531
- case 38:
89540
+ case 41:
89532
89541
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
89533
89542
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
89534
- _context2.next = 44;
89543
+ _context2.next = 47;
89535
89544
  break;
89536
89545
  }
89537
89546
  //判断当前TextInputField是否可编辑
@@ -89543,19 +89552,19 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89543
89552
  // this._undo.commit();
89544
89553
  });
89545
89554
  if (_res[0]) {
89546
- _context2.next = 44;
89555
+ _context2.next = 47;
89547
89556
  break;
89548
89557
  }
89549
89558
  return _context2.abrupt("return");
89550
- case 44:
89559
+ case 47:
89551
89560
  changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, currRange.startPath, ""); //FIXME:deleteRange函数完成后调用这个
89552
89561
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
89553
89562
  if (currRange.npStart.node && currRange.npEnd.node) {
89554
- _context2.next = 47;
89563
+ _context2.next = 50;
89555
89564
  break;
89556
89565
  }
89557
89566
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
89558
- case 47:
89567
+ case 50:
89559
89568
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
89560
89569
  // this._hoEditorFactory,
89561
89570
  // currRange.startPath,
@@ -89567,17 +89576,17 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89567
89576
  changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, endPath);
89568
89577
  res = this.deleteRange(currRange.endPath, currRange.startPath);
89569
89578
  if (!(res == 1)) {
89570
- _context2.next = 59;
89579
+ _context2.next = 62;
89571
89580
  break;
89572
89581
  }
89573
89582
  changeEvent.beforeChangePath = startPath;
89574
89583
  changeEvent.afterChangePath = this._tmp.start;
89575
- _context2.next = 57;
89584
+ _context2.next = 60;
89576
89585
  return hoEditorFactory.docTree.change(changeEvent);
89577
- case 57:
89586
+ case 60:
89578
89587
  cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
89579
89588
  hoEditorFactory.docTree.selectChange(cgEvent);
89580
- case 59:
89589
+ case 62:
89581
89590
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
89582
89591
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
89583
89592
  aNode = currRange.npStart.node;
@@ -89585,12 +89594,12 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89585
89594
  pnode = aNode.parentNode;
89586
89595
  }
89587
89596
  if (!(aNode && pnode)) {
89588
- _context2.next = 66;
89597
+ _context2.next = 69;
89589
89598
  break;
89590
89599
  }
89591
- _context2.next = 66;
89600
+ _context2.next = 69;
89592
89601
  return this.ParentRepaint(pnode);
89593
- case 66:
89602
+ case 69:
89594
89603
  case "end":
89595
89604
  return _context2.stop();
89596
89605
  }
@@ -90961,20 +90970,26 @@ var TableInsertUndoUnit = /*#__PURE__*/function (_NodeInsertUndoUnit) {
90961
90970
  key: "undo",
90962
90971
  value: function undo() {
90963
90972
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
90973
+ if (this.prevPara !== null) {
90974
+ var ppParaNode = this.prevPara.previousLeaf();
90975
+ if (ppParaNode) {
90976
+ this.strBeforePath = hoEditorFactory.docTree.getNodeLastPath(ppParaNode);
90977
+ }
90978
+ }
90964
90979
  var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_8__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_4__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, this.strBeforePath, "");
90965
90980
  changeEvent.oldEndPath = this.strAfterPath;
90966
90981
  changeEvent.oldDrawTreeLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_7__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(this.strBeforePath, this.strAfterPath);
90967
90982
  changeEvent.afterChangePath = this.strBeforePath;
90968
90983
  hoEditorFactory.docTree.deleteNode(this.afterPara);
90969
90984
  hoEditorFactory.docTree.deleteNode(this.node);
90970
- //hoEditorFactory.docTree.curDomRange.setSamePath(
90971
- // changeEvent.afterChangePath
90972
- // );
90973
90985
  if (this.prevPara) {
90974
90986
  hoEditorFactory.docTree.deleteNode(this.prevPara);
90975
90987
  }
90988
+ changeEvent.repaintImmediate = true;
90976
90989
  hoEditorFactory.docTree.change(changeEvent);
90977
- //hoEditorFactory.docTree.change(changeEvent);
90990
+ while (!this._undo.atBottom()) {
90991
+ this._undo.undo();
90992
+ }
90978
90993
  var cgEvent = new _editor_events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_9__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _editor_dom_DomRange__WEBPACK_IMPORTED_MODULE_5__/* .DomRange */ .a(this._hoEditorFactoryID, this.strBeforePath, this.strBeforePath));
90979
90994
  hoEditorFactory.docTree.selectChange(cgEvent);
90980
90995
  hoEditorFactory.docTree.curDomRange.setSamePath(this.strBeforePath);
@@ -90994,6 +91009,9 @@ var TableInsertUndoUnit = /*#__PURE__*/function (_NodeInsertUndoUnit) {
90994
91009
  var paraNode;
90995
91010
  if (np.node instanceof _editor_dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_6__/* .ParagraphNode */ .C) {
90996
91011
  paraNode = np.node;
91012
+ if (path !== paraNode.rootPath + "/0") {
91013
+ this.prevPara = paraNode;
91014
+ }
90997
91015
  } else {
90998
91016
  paraNode = new _editor_dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_6__/* .ParagraphNode */ .C(this._hoEditorFactoryID, np.roots, this._pnode, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.curParaNo);
90999
91017
  // this._undo.begin();
@@ -93834,6 +93852,1094 @@ __webpack_require__(25994);
93834
93852
 
93835
93853
  /***/ }),
93836
93854
 
93855
+ /***/ 29794:
93856
+ /***/ (function(module, exports, __webpack_require__) {
93857
+
93858
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;__webpack_require__(74916);
93859
+ __webpack_require__(4723);
93860
+ __webpack_require__(15306);
93861
+ __webpack_require__(75505);
93862
+ __webpack_require__(87714);
93863
+ __webpack_require__(82801);
93864
+ __webpack_require__(1174);
93865
+ __webpack_require__(18264);
93866
+ __webpack_require__(39575);
93867
+ __webpack_require__(41539);
93868
+ __webpack_require__(66992);
93869
+ __webpack_require__(82472);
93870
+ __webpack_require__(48675);
93871
+ __webpack_require__(92990);
93872
+ __webpack_require__(18927);
93873
+ __webpack_require__(33105);
93874
+ __webpack_require__(35035);
93875
+ __webpack_require__(74345);
93876
+ __webpack_require__(7174);
93877
+ __webpack_require__(63408);
93878
+ __webpack_require__(14590);
93879
+ __webpack_require__(32846);
93880
+ __webpack_require__(44731);
93881
+ __webpack_require__(77209);
93882
+ __webpack_require__(96319);
93883
+ __webpack_require__(58867);
93884
+ __webpack_require__(37789);
93885
+ __webpack_require__(33739);
93886
+ __webpack_require__(29368);
93887
+ __webpack_require__(14483);
93888
+ __webpack_require__(12056);
93889
+ __webpack_require__(3462);
93890
+ __webpack_require__(30678);
93891
+ __webpack_require__(27462);
93892
+ __webpack_require__(33824);
93893
+ __webpack_require__(55021);
93894
+ __webpack_require__(12974);
93895
+ __webpack_require__(15016);
93896
+ __webpack_require__(77601);
93897
+ __webpack_require__(9653);
93898
+ (function () {
93899
+ var debug = false;
93900
+ var root = this;
93901
+ var EXIF = function EXIF(obj) {
93902
+ if (obj instanceof EXIF) return obj;
93903
+ if (!(this instanceof EXIF)) return new EXIF(obj);
93904
+ this.EXIFwrapped = obj;
93905
+ };
93906
+ if (true) {
93907
+ if ( true && module.exports) {
93908
+ exports = module.exports = EXIF;
93909
+ }
93910
+ exports.EXIF = EXIF;
93911
+ } else {}
93912
+ var ExifTags = EXIF.Tags = {
93913
+ // version tags
93914
+ 0x9000: 'ExifVersion',
93915
+ // EXIF version
93916
+ 0xa000: 'FlashpixVersion',
93917
+ // Flashpix format version
93918
+
93919
+ // colorspace tags
93920
+ 0xa001: 'ColorSpace',
93921
+ // Color space information tag
93922
+
93923
+ // image configuration
93924
+ 0xa002: 'PixelXDimension',
93925
+ // Valid width of meaningful image
93926
+ 0xa003: 'PixelYDimension',
93927
+ // Valid height of meaningful image
93928
+ 0x9101: 'ComponentsConfiguration',
93929
+ // Information about channels
93930
+ 0x9102: 'CompressedBitsPerPixel',
93931
+ // Compressed bits per pixel
93932
+
93933
+ // user information
93934
+ 0x927c: 'MakerNote',
93935
+ // Any desired information written by the manufacturer
93936
+ 0x9286: 'UserComment',
93937
+ // Comments by user
93938
+
93939
+ // related file
93940
+ 0xa004: 'RelatedSoundFile',
93941
+ // Name of related sound file
93942
+
93943
+ // date and time
93944
+ 0x9003: 'DateTimeOriginal',
93945
+ // Date and time when the original image was generated
93946
+ 0x9004: 'DateTimeDigitized',
93947
+ // Date and time when the image was stored digitally
93948
+ 0x9290: 'SubsecTime',
93949
+ // Fractions of seconds for DateTime
93950
+ 0x9291: 'SubsecTimeOriginal',
93951
+ // Fractions of seconds for DateTimeOriginal
93952
+ 0x9292: 'SubsecTimeDigitized',
93953
+ // Fractions of seconds for DateTimeDigitized
93954
+
93955
+ // picture-taking conditions
93956
+ 0x829a: 'ExposureTime',
93957
+ // Exposure time (in seconds)
93958
+ 0x829d: 'FNumber',
93959
+ // F number
93960
+ 0x8822: 'ExposureProgram',
93961
+ // Exposure program
93962
+ 0x8824: 'SpectralSensitivity',
93963
+ // Spectral sensitivity
93964
+ 0x8827: 'ISOSpeedRatings',
93965
+ // ISO speed rating
93966
+ 0x8828: 'OECF',
93967
+ // Optoelectric conversion factor
93968
+ 0x9201: 'ShutterSpeedValue',
93969
+ // Shutter speed
93970
+ 0x9202: 'ApertureValue',
93971
+ // Lens aperture
93972
+ 0x9203: 'BrightnessValue',
93973
+ // Value of brightness
93974
+ 0x9204: 'ExposureBias',
93975
+ // Exposure bias
93976
+ 0x9205: 'MaxApertureValue',
93977
+ // Smallest F number of lens
93978
+ 0x9206: 'SubjectDistance',
93979
+ // Distance to subject in meters
93980
+ 0x9207: 'MeteringMode',
93981
+ // Metering mode
93982
+ 0x9208: 'LightSource',
93983
+ // Kind of light source
93984
+ 0x9209: 'Flash',
93985
+ // Flash status
93986
+ 0x9214: 'SubjectArea',
93987
+ // Location and area of main subject
93988
+ 0x920a: 'FocalLength',
93989
+ // Focal length of the lens in mm
93990
+ 0xa20b: 'FlashEnergy',
93991
+ // Strobe energy in BCPS
93992
+ 0xa20c: 'SpatialFrequencyResponse',
93993
+ //
93994
+ 0xa20e: 'FocalPlaneXResolution',
93995
+ // Number of pixels in width direction per FocalPlaneResolutionUnit
93996
+ 0xa20f: 'FocalPlaneYResolution',
93997
+ // Number of pixels in height direction per FocalPlaneResolutionUnit
93998
+ 0xa210: 'FocalPlaneResolutionUnit',
93999
+ // Unit for measuring FocalPlaneXResolution and FocalPlaneYResolution
94000
+ 0xa214: 'SubjectLocation',
94001
+ // Location of subject in image
94002
+ 0xa215: 'ExposureIndex',
94003
+ // Exposure index selected on camera
94004
+ 0xa217: 'SensingMethod',
94005
+ // Image sensor type
94006
+ 0xa300: 'FileSource',
94007
+ // Image source (3 == DSC)
94008
+ 0xa301: 'SceneType',
94009
+ // Scene type (1 == directly photographed)
94010
+ 0xa302: 'CFAPattern',
94011
+ // Color filter array geometric pattern
94012
+ 0xa401: 'CustomRendered',
94013
+ // Special processing
94014
+ 0xa402: 'ExposureMode',
94015
+ // Exposure mode
94016
+ 0xa403: 'WhiteBalance',
94017
+ // 1 = auto white balance, 2 = manual
94018
+ 0xa404: 'DigitalZoomRation',
94019
+ // Digital zoom ratio
94020
+ 0xa405: 'FocalLengthIn35mmFilm',
94021
+ // Equivalent foacl length assuming 35mm film camera (in mm)
94022
+ 0xa406: 'SceneCaptureType',
94023
+ // Type of scene
94024
+ 0xa407: 'GainControl',
94025
+ // Degree of overall image gain adjustment
94026
+ 0xa408: 'Contrast',
94027
+ // Direction of contrast processing applied by camera
94028
+ 0xa409: 'Saturation',
94029
+ // Direction of saturation processing applied by camera
94030
+ 0xa40a: 'Sharpness',
94031
+ // Direction of sharpness processing applied by camera
94032
+ 0xa40b: 'DeviceSettingDescription',
94033
+ //
94034
+ 0xa40c: 'SubjectDistanceRange',
94035
+ // Distance to subject
94036
+
94037
+ // other tags
94038
+ 0xa005: 'InteroperabilityIFDPointer',
94039
+ 0xa420: 'ImageUniqueID' // Identifier assigned uniquely to each image
94040
+ };
94041
+
94042
+ var TiffTags = EXIF.TiffTags = {
94043
+ 0x0100: 'ImageWidth',
94044
+ 0x0101: 'ImageHeight',
94045
+ 0x8769: 'ExifIFDPointer',
94046
+ 0x8825: 'GPSInfoIFDPointer',
94047
+ 0xa005: 'InteroperabilityIFDPointer',
94048
+ 0x0102: 'BitsPerSample',
94049
+ 0x0103: 'Compression',
94050
+ 0x0106: 'PhotometricInterpretation',
94051
+ 0x0112: 'Orientation',
94052
+ 0x0115: 'SamplesPerPixel',
94053
+ 0x011c: 'PlanarConfiguration',
94054
+ 0x0212: 'YCbCrSubSampling',
94055
+ 0x0213: 'YCbCrPositioning',
94056
+ 0x011a: 'XResolution',
94057
+ 0x011b: 'YResolution',
94058
+ 0x0128: 'ResolutionUnit',
94059
+ 0x0111: 'StripOffsets',
94060
+ 0x0116: 'RowsPerStrip',
94061
+ 0x0117: 'StripByteCounts',
94062
+ 0x0201: 'JPEGInterchangeFormat',
94063
+ 0x0202: 'JPEGInterchangeFormatLength',
94064
+ 0x012d: 'TransferFunction',
94065
+ 0x013e: 'WhitePoint',
94066
+ 0x013f: 'PrimaryChromaticities',
94067
+ 0x0211: 'YCbCrCoefficients',
94068
+ 0x0214: 'ReferenceBlackWhite',
94069
+ 0x0132: 'DateTime',
94070
+ 0x010e: 'ImageDescription',
94071
+ 0x010f: 'Make',
94072
+ 0x0110: 'Model',
94073
+ 0x0131: 'Software',
94074
+ 0x013b: 'Artist',
94075
+ 0x8298: 'Copyright'
94076
+ };
94077
+ var GPSTags = EXIF.GPSTags = {
94078
+ 0x0000: 'GPSVersionID',
94079
+ 0x0001: 'GPSLatitudeRef',
94080
+ 0x0002: 'GPSLatitude',
94081
+ 0x0003: 'GPSLongitudeRef',
94082
+ 0x0004: 'GPSLongitude',
94083
+ 0x0005: 'GPSAltitudeRef',
94084
+ 0x0006: 'GPSAltitude',
94085
+ 0x0007: 'GPSTimeStamp',
94086
+ 0x0008: 'GPSSatellites',
94087
+ 0x0009: 'GPSStatus',
94088
+ 0x000a: 'GPSMeasureMode',
94089
+ 0x000b: 'GPSDOP',
94090
+ 0x000c: 'GPSSpeedRef',
94091
+ 0x000d: 'GPSSpeed',
94092
+ 0x000e: 'GPSTrackRef',
94093
+ 0x000f: 'GPSTrack',
94094
+ 0x0010: 'GPSImgDirectionRef',
94095
+ 0x0011: 'GPSImgDirection',
94096
+ 0x0012: 'GPSMapDatum',
94097
+ 0x0013: 'GPSDestLatitudeRef',
94098
+ 0x0014: 'GPSDestLatitude',
94099
+ 0x0015: 'GPSDestLongitudeRef',
94100
+ 0x0016: 'GPSDestLongitude',
94101
+ 0x0017: 'GPSDestBearingRef',
94102
+ 0x0018: 'GPSDestBearing',
94103
+ 0x0019: 'GPSDestDistanceRef',
94104
+ 0x001a: 'GPSDestDistance',
94105
+ 0x001b: 'GPSProcessingMethod',
94106
+ 0x001c: 'GPSAreaInformation',
94107
+ 0x001d: 'GPSDateStamp',
94108
+ 0x001e: 'GPSDifferential'
94109
+ };
94110
+
94111
+ // EXIF 2.3 Spec
94112
+ var IFD1Tags = EXIF.IFD1Tags = {
94113
+ 0x0100: 'ImageWidth',
94114
+ 0x0101: 'ImageHeight',
94115
+ 0x0102: 'BitsPerSample',
94116
+ 0x0103: 'Compression',
94117
+ 0x0106: 'PhotometricInterpretation',
94118
+ 0x0111: 'StripOffsets',
94119
+ 0x0112: 'Orientation',
94120
+ 0x0115: 'SamplesPerPixel',
94121
+ 0x0116: 'RowsPerStrip',
94122
+ 0x0117: 'StripByteCounts',
94123
+ 0x011a: 'XResolution',
94124
+ 0x011b: 'YResolution',
94125
+ 0x011c: 'PlanarConfiguration',
94126
+ 0x0128: 'ResolutionUnit',
94127
+ 0x0201: 'JpegIFOffset',
94128
+ // When image format is JPEG, this value show offset to JPEG data stored.(aka "ThumbnailOffset" or "JPEGInterchangeFormat")
94129
+ 0x0202: 'JpegIFByteCount',
94130
+ // When image format is JPEG, this value shows data size of JPEG image (aka "ThumbnailLength" or "JPEGInterchangeFormatLength")
94131
+ 0x0211: 'YCbCrCoefficients',
94132
+ 0x0212: 'YCbCrSubSampling',
94133
+ 0x0213: 'YCbCrPositioning',
94134
+ 0x0214: 'ReferenceBlackWhite'
94135
+ };
94136
+ var StringValues = EXIF.StringValues = {
94137
+ ExposureProgram: {
94138
+ 0: 'Not defined',
94139
+ 1: 'Manual',
94140
+ 2: 'Normal program',
94141
+ 3: 'Aperture priority',
94142
+ 4: 'Shutter priority',
94143
+ 5: 'Creative program',
94144
+ 6: 'Action program',
94145
+ 7: 'Portrait mode',
94146
+ 8: 'Landscape mode'
94147
+ },
94148
+ MeteringMode: {
94149
+ 0: 'Unknown',
94150
+ 1: 'Average',
94151
+ 2: 'CenterWeightedAverage',
94152
+ 3: 'Spot',
94153
+ 4: 'MultiSpot',
94154
+ 5: 'Pattern',
94155
+ 6: 'Partial',
94156
+ 255: 'Other'
94157
+ },
94158
+ LightSource: {
94159
+ 0: 'Unknown',
94160
+ 1: 'Daylight',
94161
+ 2: 'Fluorescent',
94162
+ 3: 'Tungsten (incandescent light)',
94163
+ 4: 'Flash',
94164
+ 9: 'Fine weather',
94165
+ 10: 'Cloudy weather',
94166
+ 11: 'Shade',
94167
+ 12: 'Daylight fluorescent (D 5700 - 7100K)',
94168
+ 13: 'Day white fluorescent (N 4600 - 5400K)',
94169
+ 14: 'Cool white fluorescent (W 3900 - 4500K)',
94170
+ 15: 'White fluorescent (WW 3200 - 3700K)',
94171
+ 17: 'Standard light A',
94172
+ 18: 'Standard light B',
94173
+ 19: 'Standard light C',
94174
+ 20: 'D55',
94175
+ 21: 'D65',
94176
+ 22: 'D75',
94177
+ 23: 'D50',
94178
+ 24: 'ISO studio tungsten',
94179
+ 255: 'Other'
94180
+ },
94181
+ Flash: {
94182
+ 0x0000: 'Flash did not fire',
94183
+ 0x0001: 'Flash fired',
94184
+ 0x0005: 'Strobe return light not detected',
94185
+ 0x0007: 'Strobe return light detected',
94186
+ 0x0009: 'Flash fired, compulsory flash mode',
94187
+ 0x000d: 'Flash fired, compulsory flash mode, return light not detected',
94188
+ 0x000f: 'Flash fired, compulsory flash mode, return light detected',
94189
+ 0x0010: 'Flash did not fire, compulsory flash mode',
94190
+ 0x0018: 'Flash did not fire, auto mode',
94191
+ 0x0019: 'Flash fired, auto mode',
94192
+ 0x001d: 'Flash fired, auto mode, return light not detected',
94193
+ 0x001f: 'Flash fired, auto mode, return light detected',
94194
+ 0x0020: 'No flash function',
94195
+ 0x0041: 'Flash fired, red-eye reduction mode',
94196
+ 0x0045: 'Flash fired, red-eye reduction mode, return light not detected',
94197
+ 0x0047: 'Flash fired, red-eye reduction mode, return light detected',
94198
+ 0x0049: 'Flash fired, compulsory flash mode, red-eye reduction mode',
94199
+ 0x004d: 'Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected',
94200
+ 0x004f: 'Flash fired, compulsory flash mode, red-eye reduction mode, return light detected',
94201
+ 0x0059: 'Flash fired, auto mode, red-eye reduction mode',
94202
+ 0x005d: 'Flash fired, auto mode, return light not detected, red-eye reduction mode',
94203
+ 0x005f: 'Flash fired, auto mode, return light detected, red-eye reduction mode'
94204
+ },
94205
+ SensingMethod: {
94206
+ 1: 'Not defined',
94207
+ 2: 'One-chip color area sensor',
94208
+ 3: 'Two-chip color area sensor',
94209
+ 4: 'Three-chip color area sensor',
94210
+ 5: 'Color sequential area sensor',
94211
+ 7: 'Trilinear sensor',
94212
+ 8: 'Color sequential linear sensor'
94213
+ },
94214
+ SceneCaptureType: {
94215
+ 0: 'Standard',
94216
+ 1: 'Landscape',
94217
+ 2: 'Portrait',
94218
+ 3: 'Night scene'
94219
+ },
94220
+ SceneType: {
94221
+ 1: 'Directly photographed'
94222
+ },
94223
+ CustomRendered: {
94224
+ 0: 'Normal process',
94225
+ 1: 'Custom process'
94226
+ },
94227
+ WhiteBalance: {
94228
+ 0: 'Auto white balance',
94229
+ 1: 'Manual white balance'
94230
+ },
94231
+ GainControl: {
94232
+ 0: 'None',
94233
+ 1: 'Low gain up',
94234
+ 2: 'High gain up',
94235
+ 3: 'Low gain down',
94236
+ 4: 'High gain down'
94237
+ },
94238
+ Contrast: {
94239
+ 0: 'Normal',
94240
+ 1: 'Soft',
94241
+ 2: 'Hard'
94242
+ },
94243
+ Saturation: {
94244
+ 0: 'Normal',
94245
+ 1: 'Low saturation',
94246
+ 2: 'High saturation'
94247
+ },
94248
+ Sharpness: {
94249
+ 0: 'Normal',
94250
+ 1: 'Soft',
94251
+ 2: 'Hard'
94252
+ },
94253
+ SubjectDistanceRange: {
94254
+ 0: 'Unknown',
94255
+ 1: 'Macro',
94256
+ 2: 'Close view',
94257
+ 3: 'Distant view'
94258
+ },
94259
+ FileSource: {
94260
+ 3: 'DSC'
94261
+ },
94262
+ Components: {
94263
+ 0: '',
94264
+ 1: 'Y',
94265
+ 2: 'Cb',
94266
+ 3: 'Cr',
94267
+ 4: 'R',
94268
+ 5: 'G',
94269
+ 6: 'B'
94270
+ }
94271
+ };
94272
+ function addEvent(element, event, handler) {
94273
+ if (element.addEventListener) {
94274
+ element.addEventListener(event, handler, false);
94275
+ } else if (element.attachEvent) {
94276
+ element.attachEvent('on' + event, handler);
94277
+ }
94278
+ }
94279
+ function imageHasData(img) {
94280
+ return !!img.exifdata;
94281
+ }
94282
+ function base64ToArrayBuffer(base64, contentType) {
94283
+ contentType = contentType || base64.match(/^data\:([^\;]+)\;base64,/im)[1] || ''; // e.g. 'data:image/jpeg;base64,...' => 'image/jpeg'
94284
+ base64 = base64.replace(/^data\:([^\;]+)\;base64,/gim, '');
94285
+ var binary = atob(base64);
94286
+ var len = binary.length;
94287
+ var buffer = new ArrayBuffer(len);
94288
+ var view = new Uint8Array(buffer);
94289
+ for (var i = 0; i < len; i++) {
94290
+ view[i] = binary.charCodeAt(i);
94291
+ }
94292
+ return buffer;
94293
+ }
94294
+ function objectURLToBlob(url, callback) {
94295
+ var http = new XMLHttpRequest();
94296
+ http.open('GET', url, true);
94297
+ http.responseType = 'blob';
94298
+ http.onload = function (e) {
94299
+ if (this.status == 200 || this.status === 0) {
94300
+ callback(this.response);
94301
+ }
94302
+ };
94303
+ http.send();
94304
+ }
94305
+ function getImageData(img, callback) {
94306
+ function handleBinaryFile(binFile) {
94307
+ var data = findEXIFinJPEG(binFile);
94308
+ // img.exifdata = data || {};
94309
+ // var iptcdata = findIPTCinJPEG(binFile);
94310
+ // img.iptcdata = iptcdata || {};
94311
+ // if (EXIF.isXmpEnabled) {
94312
+ // var xmpdata= findXMPinJPEG(binFile);
94313
+ // img.xmpdata = xmpdata || {};
94314
+ // }
94315
+ if (callback) {
94316
+ callback(data || {});
94317
+ }
94318
+ }
94319
+ if (img.src) {
94320
+ if (/^data\:/i.test(img.src)) {
94321
+ // Data URI
94322
+ var arrayBuffer = base64ToArrayBuffer(img.src);
94323
+ handleBinaryFile(arrayBuffer);
94324
+ } else if (/^blob\:/i.test(img.src)) {
94325
+ // Object URL
94326
+ var fileReader = new FileReader();
94327
+ fileReader.onload = function (e) {
94328
+ handleBinaryFile(e.target.result);
94329
+ };
94330
+ objectURLToBlob(img.src, function (blob) {
94331
+ fileReader.readAsArrayBuffer(blob);
94332
+ });
94333
+ } else {
94334
+ var http = new XMLHttpRequest();
94335
+ http.onload = function () {
94336
+ if (this.status == 200 || this.status === 0) {
94337
+ handleBinaryFile(http.response);
94338
+ } else {
94339
+ throw 'Could not load image';
94340
+ }
94341
+ http = null;
94342
+ };
94343
+ http.open('GET', img.src, true);
94344
+ http.responseType = 'arraybuffer';
94345
+ http.send(null);
94346
+ }
94347
+ } else if (self.FileReader && (img instanceof self.Blob || img instanceof self.File)) {
94348
+ var fileReader = new FileReader();
94349
+ fileReader.onload = function (e) {
94350
+ if (debug) {}
94351
+ handleBinaryFile(e.target.result);
94352
+ };
94353
+ fileReader.readAsArrayBuffer(img);
94354
+ }
94355
+ }
94356
+ function findEXIFinJPEG(file) {
94357
+ var dataView = new DataView(file);
94358
+ if (debug) {}
94359
+ if (dataView.getUint8(0) != 0xff || dataView.getUint8(1) != 0xd8) {
94360
+ if (debug) {}
94361
+ return false; // not a valid jpeg
94362
+ }
94363
+
94364
+ var offset = 2,
94365
+ length = file.byteLength,
94366
+ marker;
94367
+ while (offset < length) {
94368
+ if (dataView.getUint8(offset) != 0xff) {
94369
+ if (debug) {}
94370
+ return false; // not a valid marker, something is wrong
94371
+ }
94372
+
94373
+ marker = dataView.getUint8(offset + 1);
94374
+ if (debug) {}
94375
+
94376
+ // we could implement handling for other markers here,
94377
+ // but we're only looking for 0xFFE1 for EXIF data
94378
+
94379
+ if (marker == 225) {
94380
+ if (debug) {}
94381
+ return readEXIFData(dataView, offset + 4, dataView.getUint16(offset + 2) - 2);
94382
+
94383
+ // offset += 2 + file.getShortAt(offset+2, true);
94384
+ } else {
94385
+ offset += 2 + dataView.getUint16(offset + 2);
94386
+ }
94387
+ }
94388
+ }
94389
+ /**
94390
+ function findIPTCinJPEG(file) {
94391
+ var dataView = new DataView(file);
94392
+ if (debug) console.log("Got file of length " + file.byteLength);
94393
+ if ((dataView.getUint8(0) != 0xFF) || (dataView.getUint8(1) != 0xD8)) {
94394
+ if (debug) console.log("Not a valid JPEG");
94395
+ return false; // not a valid jpeg
94396
+ }
94397
+ var offset = 2,
94398
+ length = file.byteLength;
94399
+ var isFieldSegmentStart = function(dataView, offset){
94400
+ return (
94401
+ dataView.getUint8(offset) === 0x38 &&
94402
+ dataView.getUint8(offset+1) === 0x42 &&
94403
+ dataView.getUint8(offset+2) === 0x49 &&
94404
+ dataView.getUint8(offset+3) === 0x4D &&
94405
+ dataView.getUint8(offset+4) === 0x04 &&
94406
+ dataView.getUint8(offset+5) === 0x04
94407
+ );
94408
+ };
94409
+ while (offset < length) {
94410
+ if ( isFieldSegmentStart(dataView, offset )){
94411
+ // Get the length of the name header (which is padded to an even number of bytes)
94412
+ var nameHeaderLength = dataView.getUint8(offset+7);
94413
+ if(nameHeaderLength % 2 !== 0) nameHeaderLength += 1;
94414
+ // Check for pre photoshop 6 format
94415
+ if(nameHeaderLength === 0) {
94416
+ // Always 4
94417
+ nameHeaderLength = 4;
94418
+ }
94419
+ var startOffset = offset + 8 + nameHeaderLength;
94420
+ var sectionLength = dataView.getUint16(offset + 6 + nameHeaderLength);
94421
+ return readIPTCData(file, startOffset, sectionLength);
94422
+ break;
94423
+ }
94424
+ // Not the marker, continue searching
94425
+ offset++;
94426
+ }
94427
+ }
94428
+ var IptcFieldMap = {
94429
+ 0x78 : 'caption',
94430
+ 0x6E : 'credit',
94431
+ 0x19 : 'keywords',
94432
+ 0x37 : 'dateCreated',
94433
+ 0x50 : 'byline',
94434
+ 0x55 : 'bylineTitle',
94435
+ 0x7A : 'captionWriter',
94436
+ 0x69 : 'headline',
94437
+ 0x74 : 'copyright',
94438
+ 0x0F : 'category'
94439
+ };
94440
+ function readIPTCData(file, startOffset, sectionLength){
94441
+ var dataView = new DataView(file);
94442
+ var data = {};
94443
+ var fieldValue, fieldName, dataSize, segmentType, segmentSize;
94444
+ var segmentStartPos = startOffset;
94445
+ while(segmentStartPos < startOffset+sectionLength) {
94446
+ if(dataView.getUint8(segmentStartPos) === 0x1C && dataView.getUint8(segmentStartPos+1) === 0x02){
94447
+ segmentType = dataView.getUint8(segmentStartPos+2);
94448
+ if(segmentType in IptcFieldMap) {
94449
+ dataSize = dataView.getInt16(segmentStartPos+3);
94450
+ segmentSize = dataSize + 5;
94451
+ fieldName = IptcFieldMap[segmentType];
94452
+ fieldValue = getStringFromDB(dataView, segmentStartPos+5, dataSize);
94453
+ // Check if we already stored a value with this name
94454
+ if(data.hasOwnProperty(fieldName)) {
94455
+ // Value already stored with this name, create multivalue field
94456
+ if(data[fieldName] instanceof Array) {
94457
+ data[fieldName].push(fieldValue);
94458
+ }
94459
+ else {
94460
+ data[fieldName] = [data[fieldName], fieldValue];
94461
+ }
94462
+ }
94463
+ else {
94464
+ data[fieldName] = fieldValue;
94465
+ }
94466
+ }
94467
+ }
94468
+ segmentStartPos++;
94469
+ }
94470
+ return data;
94471
+ }
94472
+ */
94473
+
94474
+ function readTags(file, tiffStart, dirStart, strings, bigEnd) {
94475
+ var entries = file.getUint16(dirStart, !bigEnd),
94476
+ tags = {},
94477
+ entryOffset,
94478
+ tag,
94479
+ i;
94480
+ for (i = 0; i < entries; i++) {
94481
+ entryOffset = dirStart + i * 12 + 2;
94482
+ tag = strings[file.getUint16(entryOffset, !bigEnd)];
94483
+ if (!tag && debug) {}
94484
+ if (tag) {
94485
+ tags[tag] = readTagValue(file, entryOffset, tiffStart, dirStart, bigEnd);
94486
+ }
94487
+ }
94488
+ return tags;
94489
+ }
94490
+ function readTagValue(file, entryOffset, tiffStart, dirStart, bigEnd) {
94491
+ var type = file.getUint16(entryOffset + 2, !bigEnd),
94492
+ numValues = file.getUint32(entryOffset + 4, !bigEnd),
94493
+ valueOffset = file.getUint32(entryOffset + 8, !bigEnd) + tiffStart,
94494
+ offset,
94495
+ vals,
94496
+ val,
94497
+ n,
94498
+ numerator,
94499
+ denominator;
94500
+ switch (type) {
94501
+ case 1: // byte, 8-bit unsigned int
94502
+ case 7:
94503
+ // undefined, 8-bit byte, value depending on field
94504
+ if (numValues == 1) {
94505
+ return file.getUint8(entryOffset + 8, !bigEnd);
94506
+ } else {
94507
+ offset = numValues > 4 ? valueOffset : entryOffset + 8;
94508
+ vals = [];
94509
+ for (n = 0; n < numValues; n++) {
94510
+ vals[n] = file.getUint8(offset + n);
94511
+ }
94512
+ return vals;
94513
+ }
94514
+ case 2:
94515
+ // ascii, 8-bit byte
94516
+ offset = numValues > 4 ? valueOffset : entryOffset + 8;
94517
+ return getStringFromDB(file, offset, numValues - 1);
94518
+ case 3:
94519
+ // short, 16 bit int
94520
+ if (numValues == 1) {
94521
+ return file.getUint16(entryOffset + 8, !bigEnd);
94522
+ } else {
94523
+ offset = numValues > 2 ? valueOffset : entryOffset + 8;
94524
+ vals = [];
94525
+ for (n = 0; n < numValues; n++) {
94526
+ vals[n] = file.getUint16(offset + 2 * n, !bigEnd);
94527
+ }
94528
+ return vals;
94529
+ }
94530
+ case 4:
94531
+ // long, 32 bit int
94532
+ if (numValues == 1) {
94533
+ return file.getUint32(entryOffset + 8, !bigEnd);
94534
+ } else {
94535
+ vals = [];
94536
+ for (n = 0; n < numValues; n++) {
94537
+ vals[n] = file.getUint32(valueOffset + 4 * n, !bigEnd);
94538
+ }
94539
+ return vals;
94540
+ }
94541
+ case 5:
94542
+ // rational = two long values, first is numerator, second is denominator
94543
+ if (numValues == 1) {
94544
+ numerator = file.getUint32(valueOffset, !bigEnd);
94545
+ denominator = file.getUint32(valueOffset + 4, !bigEnd);
94546
+ val = new Number(numerator / denominator);
94547
+ val.numerator = numerator;
94548
+ val.denominator = denominator;
94549
+ return val;
94550
+ } else {
94551
+ vals = [];
94552
+ for (n = 0; n < numValues; n++) {
94553
+ numerator = file.getUint32(valueOffset + 8 * n, !bigEnd);
94554
+ denominator = file.getUint32(valueOffset + 4 + 8 * n, !bigEnd);
94555
+ vals[n] = new Number(numerator / denominator);
94556
+ vals[n].numerator = numerator;
94557
+ vals[n].denominator = denominator;
94558
+ }
94559
+ return vals;
94560
+ }
94561
+ case 9:
94562
+ // slong, 32 bit signed int
94563
+ if (numValues == 1) {
94564
+ return file.getInt32(entryOffset + 8, !bigEnd);
94565
+ } else {
94566
+ vals = [];
94567
+ for (n = 0; n < numValues; n++) {
94568
+ vals[n] = file.getInt32(valueOffset + 4 * n, !bigEnd);
94569
+ }
94570
+ return vals;
94571
+ }
94572
+ case 10:
94573
+ // signed rational, two slongs, first is numerator, second is denominator
94574
+ if (numValues == 1) {
94575
+ return file.getInt32(valueOffset, !bigEnd) / file.getInt32(valueOffset + 4, !bigEnd);
94576
+ } else {
94577
+ vals = [];
94578
+ for (n = 0; n < numValues; n++) {
94579
+ vals[n] = file.getInt32(valueOffset + 8 * n, !bigEnd) / file.getInt32(valueOffset + 4 + 8 * n, !bigEnd);
94580
+ }
94581
+ return vals;
94582
+ }
94583
+ }
94584
+ }
94585
+
94586
+ /**
94587
+ * Given an IFD (Image File Directory) start offset
94588
+ * returns an offset to next IFD or 0 if it's the last IFD.
94589
+ */
94590
+ function getNextIFDOffset(dataView, dirStart, bigEnd) {
94591
+ //the first 2bytes means the number of directory entries contains in this IFD
94592
+ var entries = dataView.getUint16(dirStart, !bigEnd);
94593
+
94594
+ // After last directory entry, there is a 4bytes of data,
94595
+ // it means an offset to next IFD.
94596
+ // If its value is '0x00000000', it means this is the last IFD and there is no linked IFD.
94597
+
94598
+ return dataView.getUint32(dirStart + 2 + entries * 12, !bigEnd); // each entry is 12 bytes long
94599
+ }
94600
+
94601
+ function readThumbnailImage(dataView, tiffStart, firstIFDOffset, bigEnd) {
94602
+ // get the IFD1 offset
94603
+ var IFD1OffsetPointer = getNextIFDOffset(dataView, tiffStart + firstIFDOffset, bigEnd);
94604
+ if (!IFD1OffsetPointer) {
94605
+ // console.log('******** IFD1Offset is empty, image thumb not found ********');
94606
+ return {};
94607
+ } else if (IFD1OffsetPointer > dataView.byteLength) {
94608
+ // this should not happen
94609
+ // console.log('******** IFD1Offset is outside the bounds of the DataView ********');
94610
+ return {};
94611
+ }
94612
+ // console.log('******* thumbnail IFD offset (IFD1) is: %s', IFD1OffsetPointer);
94613
+
94614
+ var thumbTags = readTags(dataView, tiffStart, tiffStart + IFD1OffsetPointer, IFD1Tags, bigEnd);
94615
+
94616
+ // EXIF 2.3 specification for JPEG format thumbnail
94617
+
94618
+ // If the value of Compression(0x0103) Tag in IFD1 is '6', thumbnail image format is JPEG.
94619
+ // Most of Exif image uses JPEG format for thumbnail. In that case, you can get offset of thumbnail
94620
+ // by JpegIFOffset(0x0201) Tag in IFD1, size of thumbnail by JpegIFByteCount(0x0202) Tag.
94621
+ // Data format is ordinary JPEG format, starts from 0xFFD8 and ends by 0xFFD9. It seems that
94622
+ // JPEG format and 160x120pixels of size are recommended thumbnail format for Exif2.1 or later.
94623
+
94624
+ if (thumbTags['Compression']) {
94625
+ // console.log('Thumbnail image found!');
94626
+
94627
+ switch (thumbTags['Compression']) {
94628
+ case 6:
94629
+ // console.log('Thumbnail image format is JPEG');
94630
+ if (thumbTags.JpegIFOffset && thumbTags.JpegIFByteCount) {
94631
+ // extract the thumbnail
94632
+ var tOffset = tiffStart + thumbTags.JpegIFOffset;
94633
+ var tLength = thumbTags.JpegIFByteCount;
94634
+ thumbTags['blob'] = new Blob([new Uint8Array(dataView.buffer, tOffset, tLength)], {
94635
+ type: 'image/jpeg'
94636
+ });
94637
+ }
94638
+ break;
94639
+ case 1:
94640
+ break;
94641
+ default:
94642
+ }
94643
+ } else if (thumbTags['PhotometricInterpretation'] == 2) {}
94644
+ return thumbTags;
94645
+ }
94646
+ function getStringFromDB(buffer, start, length) {
94647
+ var outstr = '';
94648
+ for (var n = start; n < start + length; n++) {
94649
+ outstr += String.fromCharCode(buffer.getUint8(n));
94650
+ }
94651
+ return outstr;
94652
+ }
94653
+ function readEXIFData(file, start) {
94654
+ if (getStringFromDB(file, start, 4) != 'Exif') {
94655
+ if (debug) {}
94656
+ return false;
94657
+ }
94658
+ var bigEnd,
94659
+ tags,
94660
+ tag,
94661
+ exifData,
94662
+ gpsData,
94663
+ tiffOffset = start + 6;
94664
+
94665
+ // test for TIFF validity and endianness
94666
+ if (file.getUint16(tiffOffset) == 0x4949) {
94667
+ bigEnd = false;
94668
+ } else if (file.getUint16(tiffOffset) == 0x4d4d) {
94669
+ bigEnd = true;
94670
+ } else {
94671
+ if (debug) {}
94672
+ return false;
94673
+ }
94674
+ if (file.getUint16(tiffOffset + 2, !bigEnd) != 0x002a) {
94675
+ if (debug) {}
94676
+ return false;
94677
+ }
94678
+ var firstIFDOffset = file.getUint32(tiffOffset + 4, !bigEnd);
94679
+ if (firstIFDOffset < 0x00000008) {
94680
+ if (debug) {}
94681
+ return false;
94682
+ }
94683
+ tags = readTags(file, tiffOffset, tiffOffset + firstIFDOffset, TiffTags, bigEnd);
94684
+
94685
+ /**
94686
+ if (tags.ExifIFDPointer) {
94687
+ exifData = readTags(file, tiffOffset, tiffOffset + tags.ExifIFDPointer, ExifTags, bigEnd);
94688
+ console.log(exifData, "22222222222222");
94689
+ for (tag in exifData) {
94690
+ switch (tag) {
94691
+ case 'LightSource':
94692
+ case 'Flash':
94693
+ case 'MeteringMode':
94694
+ case 'ExposureProgram':
94695
+ case 'SensingMethod':
94696
+ case 'SceneCaptureType':
94697
+ case 'SceneType':
94698
+ case 'CustomRendered':
94699
+ case 'WhiteBalance':
94700
+ case 'GainControl':
94701
+ case 'Contrast':
94702
+ case 'Saturation':
94703
+ case 'Sharpness':
94704
+ case 'SubjectDistanceRange':
94705
+ case 'FileSource':
94706
+ exifData[tag] = StringValues[tag][exifData[tag]];
94707
+ break;
94708
+ case 'ExifVersion':
94709
+ case 'FlashpixVersion':
94710
+ exifData[tag] = String.fromCharCode(exifData[tag][0], exifData[tag][1], exifData[tag][2], exifData[tag][3]);
94711
+ break;
94712
+ case 'ComponentsConfiguration':
94713
+ exifData[tag] =
94714
+ StringValues.Components[exifData[tag][0]] +
94715
+ StringValues.Components[exifData[tag][1]] +
94716
+ StringValues.Components[exifData[tag][2]] +
94717
+ StringValues.Components[exifData[tag][3]];
94718
+ break;
94719
+ }
94720
+ tags[tag] = exifData[tag];
94721
+ }
94722
+ }
94723
+ */
94724
+ if (tags.GPSInfoIFDPointer) {
94725
+ gpsData = readTags(file, tiffOffset, tiffOffset + tags.GPSInfoIFDPointer, GPSTags, bigEnd);
94726
+ for (tag in gpsData) {
94727
+ switch (tag) {
94728
+ case 'GPSVersionID':
94729
+ gpsData[tag] = gpsData[tag][0] + '.' + gpsData[tag][1] + '.' + gpsData[tag][2] + '.' + gpsData[tag][3];
94730
+ break;
94731
+ }
94732
+ tags[tag] = gpsData[tag];
94733
+ }
94734
+ }
94735
+
94736
+ // extract thumbnail
94737
+ tags['thumbnail'] = readThumbnailImage(file, tiffOffset, firstIFDOffset, bigEnd);
94738
+ return tags;
94739
+ }
94740
+ /**
94741
+ function findXMPinJPEG(file) {
94742
+ if (!('DOMParser' in self)) {
94743
+ // console.warn('XML parsing not supported without DOMParser');
94744
+ return;
94745
+ }
94746
+ var dataView = new DataView(file);
94747
+ if (debug) console.log('Got file of length ' + file.byteLength);
94748
+ if (dataView.getUint8(0) != 0xff || dataView.getUint8(1) != 0xd8) {
94749
+ if (debug) console.log('Not a valid JPEG');
94750
+ return false; // not a valid jpeg
94751
+ }
94752
+ var offset = 2,
94753
+ length = file.byteLength,
94754
+ dom = new DOMParser();
94755
+ while (offset < length - 4) {
94756
+ if (getStringFromDB(dataView, offset, 4) == 'http') {
94757
+ var startOffset = offset - 1;
94758
+ var sectionLength = dataView.getUint16(offset - 2) - 1;
94759
+ var xmpString = getStringFromDB(dataView, startOffset, sectionLength);
94760
+ var xmpEndIndex = xmpString.indexOf('xmpmeta>') + 8;
94761
+ xmpString = xmpString.substring(xmpString.indexOf('<x:xmpmeta'), xmpEndIndex);
94762
+ var indexOfXmp = xmpString.indexOf('x:xmpmeta') + 10;
94763
+ //Many custom written programs embed xmp/xml without any namespace. Following are some of them.
94764
+ //Without these namespaces, XML is thought to be invalid by parsers
94765
+ xmpString =
94766
+ xmpString.slice(0, indexOfXmp) +
94767
+ 'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" ' +
94768
+ 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ' +
94769
+ 'xmlns:tiff="http://ns.adobe.com/tiff/1.0/" ' +
94770
+ 'xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" ' +
94771
+ 'xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" ' +
94772
+ 'xmlns:exif="http://ns.adobe.com/exif/1.0/" ' +
94773
+ 'xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" ' +
94774
+ 'xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" ' +
94775
+ 'xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" ' +
94776
+ 'xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" ' +
94777
+ 'xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" ' +
94778
+ xmpString.slice(indexOfXmp);
94779
+ var domDocument = dom.parseFromString(xmpString, 'text/xml');
94780
+ return xml2Object(domDocument);
94781
+ } else {
94782
+ offset++;
94783
+ }
94784
+ }
94785
+ }
94786
+ function xml2json(xml) {
94787
+ var json = {};
94788
+ if (xml.nodeType == 1) {
94789
+ // element node
94790
+ if (xml.attributes.length > 0) {
94791
+ json['@attributes'] = {};
94792
+ for (var j = 0; j < xml.attributes.length; j++) {
94793
+ var attribute = xml.attributes.item(j);
94794
+ json['@attributes'][attribute.nodeName] = attribute.nodeValue;
94795
+ }
94796
+ }
94797
+ } else if (xml.nodeType == 3) {
94798
+ // text node
94799
+ return xml.nodeValue;
94800
+ }
94801
+ // deal with children
94802
+ if (xml.hasChildNodes()) {
94803
+ for (var i = 0; i < xml.childNodes.length; i++) {
94804
+ var child = xml.childNodes.item(i);
94805
+ var nodeName = child.nodeName;
94806
+ if (json[nodeName] == null) {
94807
+ json[nodeName] = xml2json(child);
94808
+ } else {
94809
+ if (json[nodeName].push == null) {
94810
+ var old = json[nodeName];
94811
+ json[nodeName] = [];
94812
+ json[nodeName].push(old);
94813
+ }
94814
+ json[nodeName].push(xml2json(child));
94815
+ }
94816
+ }
94817
+ }
94818
+ return json;
94819
+ }
94820
+ function xml2Object(xml) {
94821
+ try {
94822
+ var obj = {};
94823
+ if (xml.children.length > 0) {
94824
+ for (var i = 0; i < xml.children.length; i++) {
94825
+ var item = xml.children.item(i);
94826
+ var attributes = item.attributes;
94827
+ for (var idx in attributes) {
94828
+ var itemAtt = attributes[idx];
94829
+ var dataKey = itemAtt.nodeName;
94830
+ var dataValue = itemAtt.nodeValue;
94831
+ if (dataKey !== undefined) {
94832
+ obj[dataKey] = dataValue;
94833
+ }
94834
+ }
94835
+ var nodeName = item.nodeName;
94836
+ if (typeof obj[nodeName] == 'undefined') {
94837
+ obj[nodeName] = xml2json(item);
94838
+ } else {
94839
+ if (typeof obj[nodeName].push == 'undefined') {
94840
+ var old = obj[nodeName];
94841
+ obj[nodeName] = [];
94842
+ obj[nodeName].push(old);
94843
+ }
94844
+ obj[nodeName].push(xml2json(item));
94845
+ }
94846
+ }
94847
+ } else {
94848
+ obj = xml.textContent;
94849
+ }
94850
+ return obj;
94851
+ } catch (e) {
94852
+ console.log(e.message);
94853
+ }
94854
+ }
94855
+ */
94856
+
94857
+ EXIF.getData = function (img, callback) {
94858
+ if ((self.Image && img instanceof self.Image || self.HTMLImageElement && img instanceof self.HTMLImageElement) && !img.complete) return false;
94859
+ if (!imageHasData(img)) {
94860
+ getImageData(img, callback);
94861
+ } else {
94862
+ if (callback) {
94863
+ callback.call(img);
94864
+ }
94865
+ }
94866
+ return true;
94867
+ };
94868
+ /**
94869
+ EXIF.enableXmp = function () {
94870
+ EXIF.isXmpEnabled = true;
94871
+ };
94872
+ EXIF.disableXmp = function () {
94873
+ EXIF.isXmpEnabled = false;
94874
+ };
94875
+
94876
+ EXIF.getTag = function (img, tag) {
94877
+ if (!imageHasData(img)) return;
94878
+ return img.exifdata[tag];
94879
+ };
94880
+ EXIF.getIptcTag = function (img, tag) {
94881
+ if (!imageHasData(img)) return;
94882
+ return img.iptcdata[tag];
94883
+ };
94884
+ EXIF.getAllTags = function (img) {
94885
+ if (!imageHasData(img)) return {};
94886
+ var a,
94887
+ data = img.exifdata,
94888
+ tags = {};
94889
+ for (a in data) {
94890
+ if (data.hasOwnProperty(a)) {
94891
+ tags[a] = data[a];
94892
+ }
94893
+ }
94894
+ return tags;
94895
+ };
94896
+ EXIF.getAllIptcTags = function (img) {
94897
+ if (!imageHasData(img)) return {};
94898
+ var a,
94899
+ data = img.iptcdata,
94900
+ tags = {};
94901
+ for (a in data) {
94902
+ if (data.hasOwnProperty(a)) {
94903
+ tags[a] = data[a];
94904
+ }
94905
+ }
94906
+ return tags;
94907
+ };
94908
+ EXIF.pretty = function (img) {
94909
+ if (!imageHasData(img)) return '';
94910
+ var a,
94911
+ data = img.exifdata,
94912
+ strPretty = '';
94913
+ for (a in data) {
94914
+ if (data.hasOwnProperty(a)) {
94915
+ if (typeof data[a] == 'object') {
94916
+ if (data[a] instanceof Number) {
94917
+ strPretty += a + ' : ' + data[a] + ' [' + data[a].numerator + '/' + data[a].denominator + ']\r\n';
94918
+ } else {
94919
+ strPretty += a + ' : [' + data[a].length + ' values]\r\n';
94920
+ }
94921
+ } else {
94922
+ strPretty += a + ' : ' + data[a] + '\r\n';
94923
+ }
94924
+ }
94925
+ }
94926
+ return strPretty;
94927
+ };
94928
+ EXIF.readFromBinaryFile = function (file) {
94929
+ return findEXIFinJPEG(file);
94930
+ };
94931
+ */
94932
+
94933
+ if (true) {
94934
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
94935
+ return EXIF;
94936
+ }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
94937
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
94938
+ }
94939
+ }).call(this);
94940
+
94941
+ /***/ }),
94942
+
93837
94943
  /***/ 77937:
93838
94944
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
93839
94945
 
@@ -98068,10 +99174,10 @@ if(image.colorSpace===color_spaces.INDEXED){var objId=this.internal.newObject();
98068
99174
  putStream({data:arrayBufferToBinaryString(new Uint8Array(image.palette)),objectId:objId});out("endobj");}};var putResourcesCallback=function putResourcesCallback(){var images=this.internal.collections[namespace+"images"];for(var i in images){putImage.call(this,images[i]);}};var putXObjectsDictCallback=function putXObjectsDictCallback(){var images=this.internal.collections[namespace+"images"],out=this.internal.write,image;for(var i in images){image=images[i];out("/I"+image.index,image.objectId,"0","R");}};var checkCompressValue=function checkCompressValue(value){if(value&&typeof value==="string")value=value.toUpperCase();return value in jsPDFAPI.image_compression?value:image_compression.NONE;};var initialize=function initialize(){if(!this.internal.collections[namespace+"images"]){this.internal.collections[namespace+"images"]={};this.internal.events.subscribe("putResources",putResourcesCallback);this.internal.events.subscribe("putXobjectDict",putXObjectsDictCallback);}};var getImages=function getImages(){var images=this.internal.collections[namespace+"images"];initialize.call(this);return images;};var getImageIndex=function getImageIndex(){return Object.keys(this.internal.collections[namespace+"images"]).length;};var notDefined=function notDefined(value){return typeof value==="undefined"||value===null||value.length===0;};var generateAliasFromImageData=function generateAliasFromImageData(imageData){if(typeof imageData==="string"||isArrayBufferView(imageData)){return sHashCode(imageData);}else if(isArrayBufferView(imageData.data)){return sHashCode(imageData.data);}return null;};var isImageTypeSupported=function isImageTypeSupported(type){return typeof jsPDFAPI["process"+type.toUpperCase()]==="function";};var isDOMElement=function isDOMElement(object){return (0,esm_typeof/* default */.Z)(object)==="object"&&object.nodeType===1;};var getImageDataFromElement=function getImageDataFromElement(element,format){//if element is an image which uses data url definition, just return the dataurl
98069
99175
  if(element.nodeName==="IMG"&&element.hasAttribute("src")){var src=""+element.getAttribute("src");//is base64 encoded dataUrl, directly process it
98070
99176
  if(src.indexOf("data:image/")===0){return atob(unescape(src).split("base64,").pop());}//it is probably an url, try to load it
98071
- var tmpImageData=jsPDFAPI.loadFile(src,true);if(tmpImageData!==undefined){return tmpImageData;}}if(element.nodeName==="CANVAS"){if(element.width===0||element.height===0){throw new Error("Given canvas must have data. Canvas width: "+element.width+", height: "+element.height);}var mimeType;switch(format){case"PNG":mimeType="image/png";break;case"WEBP":mimeType="image/webp";break;case"JPEG":case"JPG":default:mimeType="image/jpeg";break;}return atob(element.toDataURL(mimeType,1.0).split("base64,").pop());}};var checkImagesForAlias=function checkImagesForAlias(alias){var images=this.internal.collections[namespace+"images"];if(images){for(var e in images){if(alias===images[e].alias){return images[e];}}}};var determineWidthAndHeight=function determineWidthAndHeight(width,height,image){if(!width&&!height){width=-96;height=-96;}if(width<0){width=-1*image.width*72/width/this.internal.scaleFactor;}if(height<0){height=-1*image.height*72/height/this.internal.scaleFactor;}if(width===0){width=height*image.width/image.height;}if(height===0){height=width*image.height/image.width;}return[width,height];};var writeImageToPDF=function writeImageToPDF(x,y,width,height,image,rotation){var dims=determineWidthAndHeight.call(this,width,height,image),coord=this.internal.getCoordinateString,vcoord=this.internal.getVerticalCoordinateString;var images=getImages.call(this);width=dims[0];height=dims[1];images[image.index]=image;if(rotation){rotation*=Math.PI/180;var c=Math.cos(rotation);var s=Math.sin(rotation);//like in pdf Reference do it 4 digits instead of 2
99177
+ var tmpImageData=jsPDFAPI.loadFile(src,true);if(tmpImageData!==undefined){return tmpImageData;}}if(element.nodeName==="CANVAS"){if(element.width===0||element.height===0){throw new Error("Given canvas must have data. Canvas width: "+element.width+", height: "+element.height);}var mimeType;switch(format){case"PNG":mimeType="image/png";break;case"WEBP":mimeType="image/webp";break;case"JPEG":case"JPG":default:mimeType="image/jpeg";break;}return atob(element.toDataURL(mimeType,1.0).split("base64,").pop());}};var checkImagesForAlias=function checkImagesForAlias(alias){var images=this.internal.collections[namespace+"images"];if(images){for(var e in images){if(alias===images[e].alias){return images[e];}}}};var determineWidthAndHeight=function determineWidthAndHeight(width,height,image){if(!width&&!height){width=-96;height=-96;}if(width<0){width=-1*image.width*72/width/this.internal.scaleFactor;}if(height<0){height=-1*image.height*72/height/this.internal.scaleFactor;}if(width===0){width=height*image.width/image.height;}if(height===0){height=width*image.height/image.width;}return[width,height];};var writeImageToPDF=function writeImageToPDF(x,y,width,height,image,rotation){var dims=determineWidthAndHeight.call(this,width,height,image),coord=this.internal.getCoordinateString,vcoord=this.internal.getVerticalCoordinateString;var images=getImages.call(this);width=dims[0];height=dims[1];images[image.index]=image;console.log(image.exifdata,'----------------------');if(image.exifdata&&image.exifdata.Orientation){rotation={6:270,8:90,5:180,7:180,2:270,4:90,1:180,3:180}[image.exifdata.Orientation];}if(rotation){rotation*=Math.PI/180;var c=Math.cos(rotation);var s=Math.sin(rotation);//like in pdf Reference do it 4 digits instead of 2
98072
99178
  var f4=function f4(number){return number.toFixed(4);};var rotationTransformationMatrix=[f4(c),f4(s),f4(s*-1),f4(c),0,0,"cm"];}this.internal.write("q");//Save graphics state
98073
- if(rotation){// 自定义修改 修复图片旋转后位置错误问题 水平方向增加自身宽度 减去的 18px 来源未知 垂直方向减去自身高度
98074
- x+=Number(coord(width))+5;y-=height;console.log(width,height,x,y);this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99179
+ if(rotation){if(image.exifdata&&image.exifdata.Orientation){if(image.exifdata.Orientation==8||image.exifdata.Orientation==4){x+=height;y-=width-10;}else if(image.exifdata.Orientation==6||image.exifdata.Orientation==2){y-=width-10;}}else{// 自定义修改 修复图片旋转后位置错误问题 水平方向增加自身宽度 减去的 18px 来源未知 垂直方向减去自身高度
99180
+ x+=Number(coord(width))+20;y-=height;}console.log(width,height,x,y,'---------------------');this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
98075
99181
  this.internal.write(rotationTransformationMatrix.join(" "));//Rotate
98076
99182
  this.internal.write([coord(width),"0","0",coord(height),"0","0","cm"].join(" "));//Scale
98077
99183
  }else{this.internal.write([coord(width),"0","0",coord(height),coord(x),vcoord(y+height),"cm"].join(" "));//Translate and Scale
@@ -98185,9 +99291,9 @@ var imageData,format,x,y,w,h,alias,compression,rotation,posX,posY;imageData=argu
98185
99291
  var filter=this.internal.getFilters();if(compression===undefined&&filter.indexOf("FlateEncode")!==-1){compression="SLOW";}// 自定义修改 调整 addImage 方法的 compression值压缩图片
98186
99292
  compression='SLOW';if(isNaN(x)||isNaN(y)){throw new Error("Invalid coordinates passed to jsPDF.addImage");}// if(posX) x += posX;
98187
99293
  // if(posY) y += posY;
98188
- initialize.call(this);var image=processImageData.call(this,imageData,format,alias,compression);writeImageToPDF.call(this,x,y,w,h,image,rotation);return this;};var processImageData=function processImageData(imageData,format,alias,compression){var result,dataAsBinaryString;if(typeof imageData==="string"&&getImageFileTypeByImageData(imageData)===UNKNOWN){imageData=unescape(imageData);var tmpImageData=convertBase64ToBinaryString(imageData,false);if(tmpImageData!==""){imageData=tmpImageData;}else{tmpImageData=jsPDFAPI.loadFile(imageData,true);if(tmpImageData!==undefined){imageData=tmpImageData;}}}if(isDOMElement(imageData)){imageData=getImageDataFromElement(imageData,format);}format=getImageFileTypeByImageData(imageData,format);if(!isImageTypeSupported(format)){throw new Error("addImage does not support files of type '"+format+"', please ensure that a plugin for '"+format+"' support is added.");}// now do the heavy lifting
99294
+ initialize.call(this);var image=processImageData.call(this,imageData,format,alias,compression);writeImageToPDF.call(this,x,y,w,h,image,rotation);return this;};var processImageData=function processImageData(imageData,format,alias,compression){var result,dataAsBinaryString;var exifdata=imageData.exifdata;if(typeof imageData==="string"&&getImageFileTypeByImageData(imageData)===UNKNOWN){imageData=unescape(imageData);var tmpImageData=convertBase64ToBinaryString(imageData,false);if(tmpImageData!==""){imageData=tmpImageData;}else{tmpImageData=jsPDFAPI.loadFile(imageData,true);if(tmpImageData!==undefined){imageData=tmpImageData;}}}if(isDOMElement(imageData)){imageData=getImageDataFromElement(imageData,format);}format=getImageFileTypeByImageData(imageData,format);if(!isImageTypeSupported(format)){throw new Error("addImage does not support files of type '"+format+"', please ensure that a plugin for '"+format+"' support is added.");}// now do the heavy lifting
98189
99295
  if(notDefined(alias)){alias=generateAliasFromImageData(imageData);}result=checkImagesForAlias.call(this,alias);if(!result){if(supportsArrayBuffer()){// no need to convert if imageData is already uint8array
98190
- if(!(imageData instanceof Uint8Array)&&format!=="RGBA"){dataAsBinaryString=imageData;imageData=binaryStringToUint8Array(imageData);}}result=this["process"+format.toUpperCase()](imageData,getImageIndex.call(this),alias,checkCompressValue(compression),dataAsBinaryString);}if(!result){throw new Error("An unknown error occurred whilst processing the image.");}return result;};/**
99296
+ if(!(imageData instanceof Uint8Array)&&format!=="RGBA"){dataAsBinaryString=imageData;imageData=binaryStringToUint8Array(imageData);}}result=this["process"+format.toUpperCase()](imageData,getImageIndex.call(this),alias,checkCompressValue(compression),dataAsBinaryString);}if(!result){throw new Error("An unknown error occurred whilst processing the image.");}result.exifdata=exifdata;return result;};/**
98191
99297
  * @name convertBase64ToBinaryString
98192
99298
  * @function
98193
99299
  * @param {string} stringData
@@ -98980,7 +100086,7 @@ a=isNaN(a)?1:a;b=isNaN(b)?0:b;c=isNaN(c)?0:c;d=isNaN(d)?1:d;e=isNaN(e)?0:e;f=isN
98980
100086
  * @param y {Number} The y coordinate where to place the image on the canvas
98981
100087
  * @param width {Number} Optional. The width of the image to use (stretch or reduce the image)
98982
100088
  * @param height {Number} Optional. The height of the image to use (stretch or reduce the image)
98983
- */Context2D.prototype.drawImage=function(img,sx,sy,swidth,sheight,x,y,width,height){var imageProperties=this.pdf.getImageProperties(img);var factorX=1;var factorY=1;var clipFactorX=1;var clipFactorY=1;if(typeof swidth!=="undefined"&&typeof width!=="undefined"){clipFactorX=width/swidth;clipFactorY=height/sheight;factorX=imageProperties.width/swidth*width/swidth;factorY=imageProperties.height/sheight*height/sheight;}//is sx and sy are set and x and y not, set x and y with values of sx and sy
100089
+ */Context2D.prototype.drawImage=function(img,sx,sy,swidth,sheight,x,y,width,height){var imageProperties=this.pdf.getImageProperties(img);if(img.exifdata){imageProperties.exifdata=img.exifdata;}var factorX=1;var factorY=1;var clipFactorX=1;var clipFactorY=1;if(typeof swidth!=="undefined"&&typeof width!=="undefined"){clipFactorX=width/swidth;clipFactorY=height/sheight;factorX=imageProperties.width/swidth*width/swidth;factorY=imageProperties.height/sheight*height/sheight;}//is sx and sy are set and x and y not, set x and y with values of sx and sy
98984
100090
  if(typeof x==="undefined"){x=sx;y=sy;sx=0;sy=0;}if(typeof swidth!=="undefined"&&typeof width==="undefined"){width=swidth;height=sheight;}if(typeof swidth==="undefined"&&typeof width==="undefined"){width=imageProperties.width;height=imageProperties.height;}var decomposedTransformationMatrix=this.ctx.transform.decompose();// console.log("transform.decompose",decomposedTransformationMatrix.scale);
98985
100091
  // 自定义修改 修复图片旋转角度错误问题
98986
100092
  var angle=rad2deg(decomposedTransformationMatrix.rotate.rotation);var matrix=new Matrix();matrix=matrix.multiply(decomposedTransformationMatrix.translate);matrix=matrix.multiply(decomposedTransformationMatrix.skew);matrix=matrix.multiply(decomposedTransformationMatrix.scale);if(!swidth){swidth=width;}if(!sheight){sheight=height;}var xRect;// 自定义修改 处理签名图片打印和普通图片打印
@@ -106826,7 +107932,8 @@ this.createjs=this.createjs||{};(function(){/**
106826
107932
  * For example, used for drawing the cache (to prevent it from simply drawing an existing cache back
106827
107933
  * into itself).
106828
107934
  * @return {Boolean}
106829
- **/p.draw=function(ctx,ignoreCache){if(this.DisplayObject_draw(ctx,ignoreCache)){return true;}var img=this.image,rect=this.sourceRect;if(img.getImage){img=img.getImage();}if(!img){return true;}if(rect){// some browsers choke on out of bound values, so we'll fix them:
107935
+ **/p.draw=function(ctx,ignoreCache){if(this.DisplayObject_draw(ctx,ignoreCache)){return true;}var img=this.image,rect=this.sourceRect;// if (img.getImage) { img = img.getImage(); }
107936
+ if(!img){return true;}if(rect){// some browsers choke on out of bound values, so we'll fix them:
106830
107937
  var x1=rect.x,y1=rect.y,x2=x1+rect.width,y2=y1+rect.height,x=0,y=0,w=img.width,h=img.height;if(x1<0){x-=x1;x1=0;}if(x2>w){x2=w;}if(y1<0){y-=y1;y1=0;}if(y2>h){y2=h;}ctx.drawImage(img,x1,y1,x2-x1,y2-y1,x,y,x2-x1,y2-y1);}else{ctx.drawImage(img,0,0);}return true;};//Note, the doc sections below document using the specified APIs (from DisplayObject) from
106831
107938
  //Bitmap. This is why they have no method implementations.
106832
107939
  /**
@@ -198444,19 +199551,19 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
198444
199551
 
198445
199552
  var map = {
198446
199553
  "./ControlModal.vue": 77004,
198447
- "./barCode/BarCodes.vue": 2062,
199554
+ "./barCode/BarCodes.vue": 75336,
198448
199555
  "./colorPicker/HoColorPicker.vue": 91351,
198449
199556
  "./colorPicker/HoColorPickers.vue": 84214,
198450
199557
  "./commentDialog/CommentDialog.vue": 95513,
198451
199558
  "./customAttributes/CustomAttributes.vue": 78869,
198452
199559
  "./dataSource/DataSource.vue": 9238,
198453
- "./dateDialog/DateDialog.vue": 17237,
199560
+ "./dateDialog/DateDialog.vue": 49145,
198454
199561
  "./delimiter/Delimiter.vue": 31861,
198455
199562
  "./expressionForm/ExpressionForm.vue": 44603,
198456
199563
  "./findReplace/FindReplace.vue": 25918,
198457
199564
  "./gestation/Gestation.vue": 6251,
198458
199565
  "./hoprint/HoPrint.vue": 62321,
198459
- "./listsource/ListSource.vue": 47214,
199566
+ "./listsource/ListSource.vue": 50921,
198460
199567
  "./localHistory/LocalHistory.vue": 89206,
198461
199568
  "./pageInfoes/PageInfoes.vue": 17481,
198462
199569
  "./paragraph/ParagraphDialog.vue": 54949,
@@ -198471,14 +199578,14 @@ var map = {
198471
199578
  "./selectDialog/SelectDialog.vue": 59075,
198472
199579
  "./sign/Sign.vue": 28715,
198473
199580
  "./table/TableCellPoper.vue": 61917,
198474
- "./table/TableCellProperty.vue": 61973,
199581
+ "./table/TableCellProperty.vue": 47158,
198475
199582
  "./table/TableColProperty.vue": 2116,
198476
199583
  "./table/TableForm.vue": 19064,
198477
199584
  "./table/TableFormTree.vue": 39703,
198478
199585
  "./table/TableFormula.vue": 66591,
198479
199586
  "./table/TableProperty.vue": 47130,
198480
199587
  "./table/TableRowProperty.vue": 56819,
198481
- "./textDialog/TextDialog.vue": 49373,
199588
+ "./textDialog/TextDialog.vue": 92675,
198482
199589
  "./textDialog/TextToLabelDialog.vue": 35791,
198483
199590
  "./textDialog/VerifyTip.vue": 63210,
198484
199591
  "./upload/CanvasImageDialog.vue": 94116,
@@ -237833,7 +238940,7 @@ var ParagraphNode = __webpack_require__(67945);
237833
238940
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
237834
238941
  var MarkNode = __webpack_require__(57727);
237835
238942
  ;// CONCATENATED MODULE: ./src/components/version.ts
237836
- /* harmony default export */ var version = ('3.0.82');
238943
+ /* harmony default export */ var version = ('3.0.84');
237837
238944
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
237838
238945
  var PoperTipText = __webpack_require__(36081);
237839
238946
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -246626,14 +247733,16 @@ var VueController = /*#__PURE__*/function () {
246626
247733
  */
246627
247734
  }, {
246628
247735
  key: "insertBarcode",
246629
- value: function insertBarcode(operType, id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
247736
+ value: function insertBarcode(operType, id, textContent, isDisplayText, imagePath, width, height,
247737
+ //bandDataSource: string,
247738
+ name, innerIdentifier) {
246630
247739
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
246631
247740
  var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
246632
247741
  var startPath = _curDomRange.normalize().startPath;
246633
247742
  var endPath = _curDomRange.normalize().endPath;
246634
247743
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertBarcode */.y.insertBarcode);
246635
247744
  if (hoEditorFactory.docTree.changing(changingEvent)) {
246636
- hoEditorFactory.docController.insertBarcode('add', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
247745
+ hoEditorFactory.docController.insertBarcode('add', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, name, innerIdentifier);
246637
247746
  }
246638
247747
  }
246639
247748
  /**
@@ -246647,14 +247756,14 @@ var VueController = /*#__PURE__*/function () {
246647
247756
  */
246648
247757
  }, {
246649
247758
  key: "updateBarcode",
246650
- value: function updateBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
247759
+ value: function updateBarcode(id, textContent, isDisplayText, imagePath, width, height, name, innerIdentifier) {
246651
247760
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
246652
247761
  var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
246653
247762
  var startPath = _curDomRange.normalize().startPath;
246654
247763
  var endPath = _curDomRange.normalize().endPath;
246655
247764
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateBarcode */.y.updateBarcode);
246656
247765
  if (hoEditorFactory.docTree.changing(changingEvent)) {
246657
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode('update', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
247766
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode('update', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, name, innerIdentifier);
246658
247767
  }
246659
247768
  }
246660
247769
  /**
@@ -250023,12 +251132,12 @@ var VueController = /*#__PURE__*/function () {
250023
251132
  }
250024
251133
  }
250025
251134
  if (!isNaN(min) && isNaN(max)) {
250026
- if (nodeValue >= min) {
251135
+ if (nodeValue < min) {
250027
251136
  verifyTipList.push(value.tip);
250028
251137
  }
250029
251138
  }
250030
251139
  if (isNaN(min) && !isNaN(max)) {
250031
- if (nodeValue <= max) {
251140
+ if (nodeValue > max) {
250032
251141
  verifyTipList.push(value.tip);
250033
251142
  }
250034
251143
  }
@@ -254217,7 +255326,7 @@ var ElementController = /*#__PURE__*/function () {
254217
255326
  /*
254218
255327
  * @Author: your name
254219
255328
  * @Date: 2021-07-31 10:10:30
254220
- * @LastEditTime: 2023-03-09 18:32:32
255329
+ * @LastEditTime: 2023-07-13 10:04:37
254221
255330
  * @LastEditors: liyanan 2441631434@qq.com
254222
255331
  * @Description: In User Settings Edit
254223
255332
  * @FilePath: \hoeditor-web\src\editor\externalCall\NodeController.ts
@@ -254530,9 +255639,9 @@ var NodeController = /*#__PURE__*/function () {
254530
255639
  */
254531
255640
  }, {
254532
255641
  key: "insertBarcode",
254533
- value: function insertBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
255642
+ value: function insertBarcode(id, textContent, isDisplayText, imagePath, width, height, name, innerIdentifier) {
254534
255643
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
254535
- hoEditorFactory.vueController.insertBarcode('add', id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
255644
+ hoEditorFactory.vueController.insertBarcode('add', id, textContent, isDisplayText, imagePath, width, height, name, innerIdentifier);
254536
255645
  }
254537
255646
  /**
254538
255647
  * 修改条形码
@@ -254545,9 +255654,9 @@ var NodeController = /*#__PURE__*/function () {
254545
255654
  */
254546
255655
  }, {
254547
255656
  key: "updateBarcode",
254548
- value: function updateBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
255657
+ value: function updateBarcode(id, textContent, isDisplayText, imagePath, width, height, name, innerIdentifier) {
254549
255658
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
254550
- hoEditorFactory.vueController.updateBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
255659
+ hoEditorFactory.vueController.updateBarcode(id, textContent, isDisplayText, imagePath, width, height, name, innerIdentifier);
254551
255660
  }
254552
255661
  /**
254553
255662
  * 插入二维码