hoeditor-web 3.0.76 → 3.0.78
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.
- package/lib/hoeditor.css +1 -1
- package/lib/hoeditor.umd.js +885 -666
- package/lib/hoeditor.umd.min.js +28 -28
- package/lib/img/l-b-z-1-1.png +0 -0
- package/lib/img/l-b-z-2-1.png +0 -0
- package/lib/img/l-b-z-3-1.png +0 -0
- package/lib/img/l-b-z-4-1.png +0 -0
- package/lib/img/l-b-z-5-1.png +0 -0
- package/lib/img/l-b-z-6-1.png +0 -0
- package/lib/img/l-b-z-7-1.png +0 -0
- package/lib/img/l-b-z-8-1.png +0 -0
- package/lib/img/l-t-z-1-1.png +0 -0
- package/lib/img/l-t-z-2-1.png +0 -0
- package/lib/img/l-t-z-3-1.png +0 -0
- package/lib/img/l-t-z-4-1.png +0 -0
- package/lib/img/l-t-z-5-1.png +0 -0
- package/lib/img/l-t-z-6-1.png +0 -0
- package/lib/img/l-t-z-7-1.png +0 -0
- package/lib/img/l-t-z-8-1.png +0 -0
- package/lib/img/r-b-z-1-1.png +0 -0
- package/lib/img/r-b-z-2-1.png +0 -0
- package/lib/img/r-b-z-3-1.png +0 -0
- package/lib/img/r-b-z-4-1.png +0 -0
- package/lib/img/r-b-z-5-1.png +0 -0
- package/lib/img/r-b-z-6-1.png +0 -0
- package/lib/img/r-b-z-7-1.png +0 -0
- package/lib/img/r-b-z-8-1.png +0 -0
- package/lib/img/r-t-z-1-1.png +0 -0
- package/lib/img/r-t-z-2-1.png +0 -0
- package/lib/img/r-t-z-3-1.png +0 -0
- package/lib/img/r-t-z-4-1.png +0 -0
- package/lib/img/r-t-z-5-1.png +0 -0
- package/lib/img/r-t-z-6-1.png +0 -0
- package/lib/img/r-t-z-7-1.png +0 -0
- package/lib/img/r-t-z-8-1.png +0 -0
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -3358,7 +3358,7 @@ function _extends(){return _extends=Object.assign?Object.assign.bind():function(
|
|
|
3358
3358
|
|
|
3359
3359
|
/***/ }),
|
|
3360
3360
|
|
|
3361
|
-
/***/
|
|
3361
|
+
/***/ 88736:
|
|
3362
3362
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3363
3363
|
|
|
3364
3364
|
"use strict";
|
|
@@ -3370,7 +3370,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3370
3370
|
"default": function() { return /* binding */ ControlModal; }
|
|
3371
3371
|
});
|
|
3372
3372
|
|
|
3373
|
-
;// 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/ControlModal.vue?vue&type=template&id=
|
|
3373
|
+
;// 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/ControlModal.vue?vue&type=template&id=eb411f7a&
|
|
3374
3374
|
var render = function render() {
|
|
3375
3375
|
var _vm = this,
|
|
3376
3376
|
_c = _vm._self._c;
|
|
@@ -3471,7 +3471,8 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3471
3471
|
style6: '光定位图',
|
|
3472
3472
|
style7: '胎心图',
|
|
3473
3473
|
style8: '恒牙牙位图',
|
|
3474
|
-
style9: '乳牙牙位图'
|
|
3474
|
+
style9: '乳牙牙位图',
|
|
3475
|
+
style10: '牙位图'
|
|
3475
3476
|
},
|
|
3476
3477
|
modalComponent: {
|
|
3477
3478
|
component: null
|
|
@@ -5835,7 +5836,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
5835
5836
|
|
|
5836
5837
|
/***/ }),
|
|
5837
5838
|
|
|
5838
|
-
/***/
|
|
5839
|
+
/***/ 44603:
|
|
5839
5840
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5840
5841
|
|
|
5841
5842
|
"use strict";
|
|
@@ -5847,12 +5848,21 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
5847
5848
|
"default": function() { return /* binding */ ExpressionForm; }
|
|
5848
5849
|
});
|
|
5849
5850
|
|
|
5850
|
-
|
|
5851
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
5852
|
+
var es_array_includes = __webpack_require__(26699);
|
|
5853
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
5854
|
+
var es_string_includes = __webpack_require__(32023);
|
|
5855
|
+
;// 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/expressionForm/ExpressionForm.vue?vue&type=template&id=6e6eed5d&
|
|
5856
|
+
|
|
5857
|
+
|
|
5851
5858
|
var render = function render() {
|
|
5852
5859
|
var _vm = this,
|
|
5853
5860
|
_c = _vm._self._c;
|
|
5854
5861
|
return _c('div', {
|
|
5855
|
-
class: _vm.animationClassNames
|
|
5862
|
+
class: _vm.animationClassNames,
|
|
5863
|
+
style: {
|
|
5864
|
+
width: _vm.expressStyle === 'style10' ? '840px' : '470px'
|
|
5865
|
+
}
|
|
5856
5866
|
}, [_c('header', {
|
|
5857
5867
|
staticClass: "modal-title"
|
|
5858
5868
|
}, [_c('span', [_vm._v(_vm._s(_vm.names[_vm.expressStyle]))]), _c('a-icon', {
|
|
@@ -6717,7 +6727,215 @@ var render = function render() {
|
|
|
6717
6727
|
"value": item
|
|
6718
6728
|
}
|
|
6719
6729
|
}, [_vm._v(_vm._s(item))]);
|
|
6720
|
-
}), 1)], 1)])] : _vm._e()
|
|
6730
|
+
}), 1)], 1)])] : _vm._e(), _vm.expressStyle === 'style10' ? [_c('div', {
|
|
6731
|
+
staticClass: "style89 style10"
|
|
6732
|
+
}, [_c('p', {
|
|
6733
|
+
staticStyle: {
|
|
6734
|
+
"position": "absolute",
|
|
6735
|
+
"width": "1px",
|
|
6736
|
+
"height": "100%",
|
|
6737
|
+
"background": "#ccc",
|
|
6738
|
+
"left": "420px",
|
|
6739
|
+
"z-index": "11"
|
|
6740
|
+
}
|
|
6741
|
+
}), _c('div', {
|
|
6742
|
+
staticClass: "ho-emr-checkbox-expression"
|
|
6743
|
+
}, [_c('a-checkbox-group', {
|
|
6744
|
+
staticClass: "ho-emr-checkbox-button ho-emr-checkbox-button-right",
|
|
6745
|
+
attrs: {
|
|
6746
|
+
"value": _vm.style89.topLeft,
|
|
6747
|
+
"size": "small"
|
|
6748
|
+
},
|
|
6749
|
+
on: {
|
|
6750
|
+
"change": _vm.topLeftChange
|
|
6751
|
+
}
|
|
6752
|
+
}, [_c('ul', {
|
|
6753
|
+
staticStyle: {
|
|
6754
|
+
"justify-content": "right"
|
|
6755
|
+
}
|
|
6756
|
+
}, _vm._l(_vm.style10Right, function (item) {
|
|
6757
|
+
return _c('li', {
|
|
6758
|
+
key: item + 'a',
|
|
6759
|
+
class: {
|
|
6760
|
+
selected: _vm.style89.topLeft.includes(item[0]) || _vm.style89.topLeft.includes(item[1])
|
|
6761
|
+
},
|
|
6762
|
+
on: {
|
|
6763
|
+
"click": function click($event) {
|
|
6764
|
+
return _vm.topLeftClick(item[0]);
|
|
6765
|
+
}
|
|
6766
|
+
}
|
|
6767
|
+
}, [_c('div', {
|
|
6768
|
+
class: 'img-box r-t-z-' + item[0] + '-1',
|
|
6769
|
+
staticStyle: {
|
|
6770
|
+
"bottom": "0",
|
|
6771
|
+
"top": "2px",
|
|
6772
|
+
"background-position-y": "bottom"
|
|
6773
|
+
}
|
|
6774
|
+
})]);
|
|
6775
|
+
}), 0), _vm._l(['8', '7', '6', '5', '4', '3', '2', '1'], function (item) {
|
|
6776
|
+
return _c('a-checkbox', {
|
|
6777
|
+
key: item + 'a',
|
|
6778
|
+
attrs: {
|
|
6779
|
+
"value": item
|
|
6780
|
+
}
|
|
6781
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6782
|
+
}), _c('p'), _vm._l(['E', 'D', 'C', 'B', 'A'], function (item) {
|
|
6783
|
+
return _c('a-checkbox', {
|
|
6784
|
+
key: item + '1',
|
|
6785
|
+
attrs: {
|
|
6786
|
+
"value": item
|
|
6787
|
+
}
|
|
6788
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6789
|
+
})], 2), _c('a-checkbox-group', {
|
|
6790
|
+
staticClass: "ho-emr-checkbox-button ho-emr-checkbox-button-left",
|
|
6791
|
+
attrs: {
|
|
6792
|
+
"value": _vm.style89.topRight,
|
|
6793
|
+
"size": "small"
|
|
6794
|
+
},
|
|
6795
|
+
on: {
|
|
6796
|
+
"change": _vm.topRightChange
|
|
6797
|
+
}
|
|
6798
|
+
}, [_c('ul', {
|
|
6799
|
+
staticStyle: {
|
|
6800
|
+
"justify-content": "left"
|
|
6801
|
+
}
|
|
6802
|
+
}, _vm._l(_vm.style10Left, function (item) {
|
|
6803
|
+
return _c('li', {
|
|
6804
|
+
key: item + 'b',
|
|
6805
|
+
class: {
|
|
6806
|
+
selected: _vm.style89.topRight.includes(item[0]) || _vm.style89.topRight.includes(item[1])
|
|
6807
|
+
},
|
|
6808
|
+
on: {
|
|
6809
|
+
"click": function click($event) {
|
|
6810
|
+
return _vm.topRightClick(item[0]);
|
|
6811
|
+
}
|
|
6812
|
+
}
|
|
6813
|
+
}, [_c('div', {
|
|
6814
|
+
class: 'img-box l-t-z-' + item[0] + '-1',
|
|
6815
|
+
staticStyle: {
|
|
6816
|
+
"bottom": "0",
|
|
6817
|
+
"top": "2px",
|
|
6818
|
+
"background-position-y": "bottom"
|
|
6819
|
+
}
|
|
6820
|
+
})]);
|
|
6821
|
+
}), 0), _vm._l(['1', '2', '3', '4', '5', '6', '7', '8'], function (item) {
|
|
6822
|
+
return _c('a-checkbox', {
|
|
6823
|
+
key: item + 'b',
|
|
6824
|
+
attrs: {
|
|
6825
|
+
"value": item
|
|
6826
|
+
}
|
|
6827
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6828
|
+
}), _c('p'), _vm._l(['A', 'B', 'C', 'D', 'E'], function (item) {
|
|
6829
|
+
return _c('a-checkbox', {
|
|
6830
|
+
key: item + '1',
|
|
6831
|
+
attrs: {
|
|
6832
|
+
"value": item
|
|
6833
|
+
}
|
|
6834
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6835
|
+
})], 2)], 1), _vm._m(2), _c('div', {
|
|
6836
|
+
staticClass: "ho-emr-checkbox-expression",
|
|
6837
|
+
staticStyle: {
|
|
6838
|
+
"margin-top": "1px"
|
|
6839
|
+
}
|
|
6840
|
+
}, [_c('a-checkbox-group', {
|
|
6841
|
+
staticClass: "ho-emr-checkbox-button ho-emr-checkbox-button-right",
|
|
6842
|
+
attrs: {
|
|
6843
|
+
"value": _vm.style89.bottomLeft,
|
|
6844
|
+
"size": "small"
|
|
6845
|
+
},
|
|
6846
|
+
on: {
|
|
6847
|
+
"change": _vm.bottomLeftChange
|
|
6848
|
+
}
|
|
6849
|
+
}, [_c('p', {
|
|
6850
|
+
staticStyle: {
|
|
6851
|
+
"width": "130px"
|
|
6852
|
+
}
|
|
6853
|
+
}), _vm._l(['E', 'D', 'C', 'B', 'A'], function (item) {
|
|
6854
|
+
return _c('a-checkbox', {
|
|
6855
|
+
key: item + '1',
|
|
6856
|
+
attrs: {
|
|
6857
|
+
"value": item
|
|
6858
|
+
}
|
|
6859
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6860
|
+
}), _vm._l(['8', '7', '6', '5', '4', '3', '2', '1'], function (item) {
|
|
6861
|
+
return _c('a-checkbox', {
|
|
6862
|
+
key: item + 'c',
|
|
6863
|
+
attrs: {
|
|
6864
|
+
"value": item
|
|
6865
|
+
}
|
|
6866
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6867
|
+
}), _c('ul', {
|
|
6868
|
+
staticStyle: {
|
|
6869
|
+
"justify-content": "right"
|
|
6870
|
+
}
|
|
6871
|
+
}, _vm._l(_vm.style10Right, function (item) {
|
|
6872
|
+
return _c('li', {
|
|
6873
|
+
key: item + 'c',
|
|
6874
|
+
class: {
|
|
6875
|
+
selected: _vm.style89.bottomLeft.includes(item[0]) || _vm.style89.bottomLeft.includes(item[1])
|
|
6876
|
+
},
|
|
6877
|
+
on: {
|
|
6878
|
+
"click": function click($event) {
|
|
6879
|
+
return _vm.bottomLeftClick(item[0]);
|
|
6880
|
+
}
|
|
6881
|
+
}
|
|
6882
|
+
}, [_c('div', {
|
|
6883
|
+
class: 'img-box r-b-z-' + item[0] + '-1',
|
|
6884
|
+
staticStyle: {
|
|
6885
|
+
"bottom": "0",
|
|
6886
|
+
"top": "2px"
|
|
6887
|
+
}
|
|
6888
|
+
})]);
|
|
6889
|
+
}), 0)], 2), _c('a-checkbox-group', {
|
|
6890
|
+
staticClass: "ho-emr-checkbox-button ho-emr-checkbox-button-left",
|
|
6891
|
+
attrs: {
|
|
6892
|
+
"value": _vm.style89.bottomRight,
|
|
6893
|
+
"size": "small"
|
|
6894
|
+
},
|
|
6895
|
+
on: {
|
|
6896
|
+
"change": _vm.bottomRightChange
|
|
6897
|
+
}
|
|
6898
|
+
}, [_vm._l(['A', 'B', 'C', 'D', 'E'], function (item) {
|
|
6899
|
+
return _c('a-checkbox', {
|
|
6900
|
+
key: item + '1',
|
|
6901
|
+
attrs: {
|
|
6902
|
+
"value": item
|
|
6903
|
+
}
|
|
6904
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6905
|
+
}), _c('p', {
|
|
6906
|
+
staticStyle: {
|
|
6907
|
+
"width": "130px"
|
|
6908
|
+
}
|
|
6909
|
+
}), _vm._l(['1', '2', '3', '4', '5', '6', '7', '8'], function (item) {
|
|
6910
|
+
return _c('a-checkbox', {
|
|
6911
|
+
key: item + 'd',
|
|
6912
|
+
attrs: {
|
|
6913
|
+
"value": item
|
|
6914
|
+
}
|
|
6915
|
+
}, [_vm._v(_vm._s(item))]);
|
|
6916
|
+
}), _c('ul', {
|
|
6917
|
+
staticStyle: {
|
|
6918
|
+
"justify-content": "left"
|
|
6919
|
+
}
|
|
6920
|
+
}, _vm._l(_vm.style10Left, function (item) {
|
|
6921
|
+
return _c('li', {
|
|
6922
|
+
key: item + 'd',
|
|
6923
|
+
class: {
|
|
6924
|
+
selected: _vm.style89.bottomRight.includes(item[0]) || _vm.style89.bottomRight.includes(item[1])
|
|
6925
|
+
},
|
|
6926
|
+
on: {
|
|
6927
|
+
"click": function click($event) {
|
|
6928
|
+
return _vm.bottomRightClick(item[0]);
|
|
6929
|
+
}
|
|
6930
|
+
}
|
|
6931
|
+
}, [_c('div', {
|
|
6932
|
+
class: 'img-box l-b-z-' + item[0] + '-1',
|
|
6933
|
+
staticStyle: {
|
|
6934
|
+
"bottom": "0",
|
|
6935
|
+
"top": "2px"
|
|
6936
|
+
}
|
|
6937
|
+
})]);
|
|
6938
|
+
}), 0)], 2)], 1)])] : _vm._e()], 2), _c('footer', {
|
|
6721
6939
|
staticClass: "dialog-footer"
|
|
6722
6940
|
}, [_c('a-button', {
|
|
6723
6941
|
staticStyle: {
|
|
@@ -6729,7 +6947,7 @@ var render = function render() {
|
|
|
6729
6947
|
on: {
|
|
6730
6948
|
"click": _vm.sure
|
|
6731
6949
|
}
|
|
6732
|
-
}, [_vm._v("确 定")]), _vm.expressStyle === 'style8' || _vm.expressStyle === 'style9' ? _c('a-button', {
|
|
6950
|
+
}, [_vm._v("确 定")]), _vm.expressStyle === 'style8' || _vm.expressStyle === 'style9' || _vm.expressStyle === 'style10' ? _c('a-button', {
|
|
6733
6951
|
staticStyle: {
|
|
6734
6952
|
"margin": "0 20px 0 0"
|
|
6735
6953
|
},
|
|
@@ -6743,7 +6961,7 @@ var render = function render() {
|
|
|
6743
6961
|
on: {
|
|
6744
6962
|
"click": _vm.reverse
|
|
6745
6963
|
}
|
|
6746
|
-
}, [_vm._v("反 选")]) : _vm._e(), _vm.expressStyle === 'style8' || _vm.expressStyle === 'style9' ? _c('a-button', {
|
|
6964
|
+
}, [_vm._v("反 选")]) : _vm._e(), _vm.expressStyle === 'style8' || _vm.expressStyle === 'style9' || _vm.expressStyle === 'style10' ? _c('a-button', {
|
|
6747
6965
|
staticStyle: {
|
|
6748
6966
|
"margin": "0 20px 0 0"
|
|
6749
6967
|
},
|
|
@@ -6768,18 +6986,71 @@ var staticRenderFns = [function () {
|
|
|
6768
6986
|
return _c('ul', {
|
|
6769
6987
|
staticClass: "titles"
|
|
6770
6988
|
}, [_c('li', [_vm._v("第二乳磨牙")]), _c('li', [_vm._v("第一乳磨牙")]), _c('li', [_vm._v("乳尖牙")]), _c('li', [_vm._v("乳侧切牙")]), _c('li', [_vm._v("乳中切牙")]), _c('li', [_vm._v("乳中切牙")]), _c('li', [_vm._v("乳侧切牙")]), _c('li', [_vm._v("乳尖牙")]), _c('li', [_vm._v("第一乳磨牙")]), _c('li', [_vm._v("第二乳磨牙")])]);
|
|
6989
|
+
}, function () {
|
|
6990
|
+
var _vm = this,
|
|
6991
|
+
_c = _vm._self._c;
|
|
6992
|
+
return _c('div', {
|
|
6993
|
+
staticStyle: {
|
|
6994
|
+
"position": "relative",
|
|
6995
|
+
"padding": "18px 0px 13px 0"
|
|
6996
|
+
}
|
|
6997
|
+
}, [_c('p', {
|
|
6998
|
+
staticStyle: {
|
|
6999
|
+
"width": "100%",
|
|
7000
|
+
"height": "1px",
|
|
7001
|
+
"background": "#ccc"
|
|
7002
|
+
}
|
|
7003
|
+
}), _c('span', {
|
|
7004
|
+
staticStyle: {
|
|
7005
|
+
"position": "absolute",
|
|
7006
|
+
"left": "187px",
|
|
7007
|
+
"top": "5px",
|
|
7008
|
+
"font-size": "14px"
|
|
7009
|
+
}
|
|
7010
|
+
}, [_vm._v("右")]), _c('span', {
|
|
7011
|
+
staticStyle: {
|
|
7012
|
+
"position": "absolute",
|
|
7013
|
+
"right": "187px",
|
|
7014
|
+
"top": "5px",
|
|
7015
|
+
"font-size": "14px"
|
|
7016
|
+
}
|
|
7017
|
+
}, [_vm._v("左")]), _c('span', {
|
|
7018
|
+
staticStyle: {
|
|
7019
|
+
"position": "absolute",
|
|
7020
|
+
"right": "-2px",
|
|
7021
|
+
"top": "-74px",
|
|
7022
|
+
"font-size": "14px"
|
|
7023
|
+
}
|
|
7024
|
+
}, [_vm._v("19")]), _c('span', {
|
|
7025
|
+
staticStyle: {
|
|
7026
|
+
"position": "absolute",
|
|
7027
|
+
"right": "-2px",
|
|
7028
|
+
"top": "-27px",
|
|
7029
|
+
"font-size": "14px"
|
|
7030
|
+
}
|
|
7031
|
+
}, [_vm._v("29")]), _c('span', {
|
|
7032
|
+
staticStyle: {
|
|
7033
|
+
"position": "absolute",
|
|
7034
|
+
"right": "-2px",
|
|
7035
|
+
"top": "39px",
|
|
7036
|
+
"font-size": "14px"
|
|
7037
|
+
}
|
|
7038
|
+
}, [_vm._v("39")]), _c('span', {
|
|
7039
|
+
staticStyle: {
|
|
7040
|
+
"position": "absolute",
|
|
7041
|
+
"right": "-2px",
|
|
7042
|
+
"top": "83px",
|
|
7043
|
+
"font-size": "14px"
|
|
7044
|
+
}
|
|
7045
|
+
}, [_vm._v("49")])]);
|
|
6771
7046
|
}];
|
|
6772
7047
|
|
|
6773
|
-
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=template&id=
|
|
7048
|
+
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=template&id=6e6eed5d&
|
|
6774
7049
|
|
|
6775
7050
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
6776
7051
|
var objectSpread2 = __webpack_require__(63442);
|
|
6777
7052
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
6778
7053
|
var toConsumableArray = __webpack_require__(61748);
|
|
6779
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
6780
|
-
var es_array_includes = __webpack_require__(26699);
|
|
6781
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
6782
|
-
var es_string_includes = __webpack_require__(32023);
|
|
6783
7054
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
6784
7055
|
var es_regexp_exec = __webpack_require__(74916);
|
|
6785
7056
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
@@ -6798,6 +7069,8 @@ var es_array_push = __webpack_require__(57658);
|
|
|
6798
7069
|
var es_object_to_string = __webpack_require__(41539);
|
|
6799
7070
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
6800
7071
|
var web_dom_collections_for_each = __webpack_require__(54747);
|
|
7072
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
7073
|
+
var es_array_filter = __webpack_require__(57327);
|
|
6801
7074
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
6802
7075
|
var es_array_concat = __webpack_require__(92222);
|
|
6803
7076
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
@@ -6828,6 +7101,7 @@ var zh_cn = __webpack_require__(83839);
|
|
|
6828
7101
|
|
|
6829
7102
|
|
|
6830
7103
|
|
|
7104
|
+
|
|
6831
7105
|
/* harmony default export */ var ExpressionFormvue_type_script_lang_js_ = ({
|
|
6832
7106
|
name: 'ExpressionForm',
|
|
6833
7107
|
data: function data() {
|
|
@@ -6847,7 +7121,8 @@ var zh_cn = __webpack_require__(83839);
|
|
|
6847
7121
|
style6: '光定位图',
|
|
6848
7122
|
style7: '胎心图',
|
|
6849
7123
|
style8: '恒牙牙位图',
|
|
6850
|
-
style9: '乳牙牙位图'
|
|
7124
|
+
style9: '乳牙牙位图',
|
|
7125
|
+
style10: '牙位图'
|
|
6851
7126
|
},
|
|
6852
7127
|
menstrualHistory: {
|
|
6853
7128
|
menseDays: '',
|
|
@@ -6884,6 +7159,12 @@ var zh_cn = __webpack_require__(83839);
|
|
|
6884
7159
|
bottomLeft: ['V', 'IV', 'III', 'II', 'I'],
|
|
6885
7160
|
bottomRight: ['I', 'II', 'III', 'IV', 'V']
|
|
6886
7161
|
},
|
|
7162
|
+
style10: {
|
|
7163
|
+
topLeft: ['8', '7', '6', '5', 'E', '4', 'D', '3', 'C', '2', 'B', '1', 'A'],
|
|
7164
|
+
topRight: ['A', '1', 'B', '2', 'C', '3', 'D', '4', 'E', '5', '6', '7', '8'],
|
|
7165
|
+
bottomLeft: ['8', '7', '6', '5', 'E', '4', 'D', '3', 'C', '2', 'B', '1', 'A'],
|
|
7166
|
+
bottomRight: ['A', '1', 'B', '2', 'C', '3', 'D', '4', 'E', '5', '6', '7', '8']
|
|
7167
|
+
},
|
|
6887
7168
|
styleObjectArray: {
|
|
6888
7169
|
style1: 1,
|
|
6889
7170
|
style2: 1,
|
|
@@ -6893,7 +7174,22 @@ var zh_cn = __webpack_require__(83839);
|
|
|
6893
7174
|
style6: 2,
|
|
6894
7175
|
style7: 2,
|
|
6895
7176
|
style8: 3,
|
|
6896
|
-
style9: 3
|
|
7177
|
+
style9: 3,
|
|
7178
|
+
style10: 3
|
|
7179
|
+
},
|
|
7180
|
+
style10Left: [['1', 'A'], ['2', 'B'], ['3', 'C'], ['4', 'D'], ['5', 'E'], ['6'], ['7'], ['8']],
|
|
7181
|
+
style10Right: [['8'], ['7'], ['6'], ['5', 'E'], ['4', 'D'], ['3', 'C'], ['2', 'B'], ['1', 'A']],
|
|
7182
|
+
styleObj10: {
|
|
7183
|
+
1: 'A',
|
|
7184
|
+
2: 'B',
|
|
7185
|
+
3: 'C',
|
|
7186
|
+
4: 'D',
|
|
7187
|
+
5: 'E',
|
|
7188
|
+
A: '1',
|
|
7189
|
+
B: '2',
|
|
7190
|
+
C: '3',
|
|
7191
|
+
D: '4',
|
|
7192
|
+
E: '5'
|
|
6897
7193
|
},
|
|
6898
7194
|
menoPauseAgeText: '岁'
|
|
6899
7195
|
};
|
|
@@ -7025,7 +7321,7 @@ var zh_cn = __webpack_require__(83839);
|
|
|
7025
7321
|
};
|
|
7026
7322
|
},
|
|
7027
7323
|
/** 全选 */all: function all() {
|
|
7028
|
-
if (this.expressStyle === 'style8') this.style89 = Object.assign({}, this.style8);
|
|
7324
|
+
if (this.expressStyle === 'style8' || this.expressStyle === 'style10') this.style89 = Object.assign({}, this.style8);
|
|
7029
7325
|
if (this.expressStyle === 'style9') this.style89 = Object.assign({}, this.style9);
|
|
7030
7326
|
},
|
|
7031
7327
|
/** 反选 */reverse: function reverse() {
|
|
@@ -7047,6 +7343,8 @@ var zh_cn = __webpack_require__(83839);
|
|
|
7047
7343
|
arr = Object.assign({}, this.style8);
|
|
7048
7344
|
} else if (this.expressStyle === 'style9') {
|
|
7049
7345
|
arr = Object.assign({}, this.style9);
|
|
7346
|
+
} else if (this.expressStyle === 'style10') {
|
|
7347
|
+
arr = Object.assign({}, this.style10);
|
|
7050
7348
|
}
|
|
7051
7349
|
Object.keys(this.style89).map(function (v) {
|
|
7052
7350
|
arr[v].map(function (m) {
|
|
@@ -7073,6 +7371,69 @@ var zh_cn = __webpack_require__(83839);
|
|
|
7073
7371
|
});
|
|
7074
7372
|
return arr;
|
|
7075
7373
|
},
|
|
7374
|
+
handleStyle10Value: function handleStyle10Value(checkedValues) {
|
|
7375
|
+
var _this2 = this;
|
|
7376
|
+
var arr = [];
|
|
7377
|
+
checkedValues.forEach(function (key) {
|
|
7378
|
+
var inValue = arr.includes(key);
|
|
7379
|
+
var isMutex = arr.includes(_this2.styleObj10[key]);
|
|
7380
|
+
if (!inValue && !isMutex) {
|
|
7381
|
+
arr.push(key);
|
|
7382
|
+
} else if (!inValue && isMutex) {
|
|
7383
|
+
arr = arr.filter(function (v) {
|
|
7384
|
+
return v !== _this2.styleObj10[key];
|
|
7385
|
+
});
|
|
7386
|
+
arr.push(key);
|
|
7387
|
+
} else if (inValue && !isMutex) {
|
|
7388
|
+
arr = arr.filter(function (v) {
|
|
7389
|
+
return v !== key;
|
|
7390
|
+
});
|
|
7391
|
+
}
|
|
7392
|
+
});
|
|
7393
|
+
return (0,toConsumableArray/* default */.Z)(arr);
|
|
7394
|
+
},
|
|
7395
|
+
handleStyle10ValueClick: function handleStyle10ValueClick(arr, value) {
|
|
7396
|
+
var _this3 = this;
|
|
7397
|
+
var inValue = arr.includes(value);
|
|
7398
|
+
var isMutex = arr.includes(this.styleObj10[value]);
|
|
7399
|
+
if (!inValue && !isMutex) {
|
|
7400
|
+
arr.push(value);
|
|
7401
|
+
} else if (!inValue && isMutex) {
|
|
7402
|
+
arr = arr.filter(function (v) {
|
|
7403
|
+
return v !== _this3.styleObj10[value];
|
|
7404
|
+
});
|
|
7405
|
+
// arr.push(value);
|
|
7406
|
+
} else if (inValue && !isMutex) {
|
|
7407
|
+
arr = arr.filter(function (v) {
|
|
7408
|
+
return v !== value;
|
|
7409
|
+
});
|
|
7410
|
+
}
|
|
7411
|
+
return (0,toConsumableArray/* default */.Z)(arr);
|
|
7412
|
+
},
|
|
7413
|
+
topLeftChange: function topLeftChange(checkedValues) {
|
|
7414
|
+
this.style89.topLeft = (0,toConsumableArray/* default */.Z)(this.handleStyle10Value(checkedValues));
|
|
7415
|
+
},
|
|
7416
|
+
topLeftClick: function topLeftClick(value) {
|
|
7417
|
+
this.style89.topLeft = (0,toConsumableArray/* default */.Z)(this.handleStyle10ValueClick((0,toConsumableArray/* default */.Z)(this.style89.topLeft), value));
|
|
7418
|
+
},
|
|
7419
|
+
topRightChange: function topRightChange(checkedValues) {
|
|
7420
|
+
this.style89.topRight = (0,toConsumableArray/* default */.Z)(this.handleStyle10Value(checkedValues));
|
|
7421
|
+
},
|
|
7422
|
+
topRightClick: function topRightClick(value) {
|
|
7423
|
+
this.style89.topRight = (0,toConsumableArray/* default */.Z)(this.handleStyle10ValueClick((0,toConsumableArray/* default */.Z)(this.style89.topRight), value));
|
|
7424
|
+
},
|
|
7425
|
+
bottomLeftChange: function bottomLeftChange(checkedValues) {
|
|
7426
|
+
this.style89.bottomLeft = (0,toConsumableArray/* default */.Z)(this.handleStyle10Value(checkedValues));
|
|
7427
|
+
},
|
|
7428
|
+
bottomLeftClick: function bottomLeftClick(value) {
|
|
7429
|
+
this.style89.bottomLeft = (0,toConsumableArray/* default */.Z)(this.handleStyle10ValueClick((0,toConsumableArray/* default */.Z)(this.style89.bottomLeft), value));
|
|
7430
|
+
},
|
|
7431
|
+
bottomRightChange: function bottomRightChange(checkedValues) {
|
|
7432
|
+
this.style89.bottomRight = (0,toConsumableArray/* default */.Z)(this.handleStyle10Value(checkedValues));
|
|
7433
|
+
},
|
|
7434
|
+
bottomRightClick: function bottomRightClick(value) {
|
|
7435
|
+
this.style89.bottomRight = (0,toConsumableArray/* default */.Z)(this.handleStyle10ValueClick((0,toConsumableArray/* default */.Z)(this.style89.bottomRight), value));
|
|
7436
|
+
},
|
|
7076
7437
|
/** 取消 */cancel: function cancel() {
|
|
7077
7438
|
this.animationClassNames = 'control-modal-contents express-dialog animation-out';
|
|
7078
7439
|
this.$emit('closed');
|
|
@@ -7106,9 +7467,9 @@ var zh_cn = __webpack_require__(83839);
|
|
|
7106
7467
|
this.insertLightLocation([this.controlStatus].concat((0,toConsumableArray/* default */.Z)(this.objectToArray(this.style567))));
|
|
7107
7468
|
} else if (this.expressStyle === 'style7') {
|
|
7108
7469
|
this.insertFetalHeartMap([this.controlStatus].concat((0,toConsumableArray/* default */.Z)(this.objectToArray(this.style567))));
|
|
7109
|
-
} else if (this.expressStyle === 'style8') {
|
|
7470
|
+
} else if (this.expressStyle === 'style8' || this.expressStyle === 'style10') {
|
|
7110
7471
|
this.reverseOrSort('sort');
|
|
7111
|
-
this.insertPermanentTeethMap(this.controlStatus, [this.style89.topLeft, this.style89.topRight, this.style89.bottomLeft, this.style89.bottomRight]);
|
|
7472
|
+
this.insertPermanentTeethMap(this.controlStatus, [this.style89.topLeft, this.style89.topRight, this.style89.bottomLeft, this.style89.bottomRight], this.expressStyle === 'style10' ? 'teeth' : '');
|
|
7112
7473
|
} else if (this.expressStyle === 'style9') {
|
|
7113
7474
|
this.reverseOrSort('sort');
|
|
7114
7475
|
this.insertPrimaryTeethMap(this.controlStatus, [this.style89.topLeft, this.style89.topRight, this.style89.bottomLeft, this.style89.bottomRight]);
|
|
@@ -7197,16 +7558,16 @@ var zh_cn = __webpack_require__(83839);
|
|
|
7197
7558
|
/**
|
|
7198
7559
|
* 恒牙牙位图
|
|
7199
7560
|
*/
|
|
7200
|
-
insertPermanentTeethMap: function insertPermanentTeethMap(controlStatus, val) {
|
|
7561
|
+
insertPermanentTeethMap: function insertPermanentTeethMap(controlStatus, val, remark) {
|
|
7201
7562
|
var _ref7 = (0,toConsumableArray/* default */.Z)(val),
|
|
7202
7563
|
topLeft = _ref7[0],
|
|
7203
7564
|
topRight = _ref7[1],
|
|
7204
7565
|
bottomLeft = _ref7[2],
|
|
7205
7566
|
bottomRight = _ref7[3];
|
|
7206
7567
|
if (controlStatus === 'add') {
|
|
7207
|
-
this.vueController.insertPermanentTeethMap(controlStatus, topLeft, topRight, bottomLeft, bottomRight);
|
|
7568
|
+
this.vueController.insertPermanentTeethMap(controlStatus, topLeft, topRight, bottomLeft, bottomRight, remark);
|
|
7208
7569
|
} else {
|
|
7209
|
-
this.vueController.updatePermanentTeethMap(topLeft, topRight, bottomLeft, bottomRight);
|
|
7570
|
+
this.vueController.updatePermanentTeethMap(topLeft, topRight, bottomLeft, bottomRight, remark);
|
|
7210
7571
|
}
|
|
7211
7572
|
},
|
|
7212
7573
|
/**
|
|
@@ -7228,10 +7589,10 @@ var zh_cn = __webpack_require__(83839);
|
|
|
7228
7589
|
});
|
|
7229
7590
|
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=script&lang=js&
|
|
7230
7591
|
/* harmony default export */ var expressionForm_ExpressionFormvue_type_script_lang_js_ = (ExpressionFormvue_type_script_lang_js_);
|
|
7231
|
-
;// 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/expressionForm/ExpressionForm.vue?vue&type=style&index=0&id=
|
|
7592
|
+
;// 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/expressionForm/ExpressionForm.vue?vue&type=style&index=0&id=6e6eed5d&prod&lang=scss&
|
|
7232
7593
|
// extracted by mini-css-extract-plugin
|
|
7233
7594
|
|
|
7234
|
-
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=style&index=0&id=
|
|
7595
|
+
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=style&index=0&id=6e6eed5d&prod&lang=scss&
|
|
7235
7596
|
|
|
7236
7597
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
7237
7598
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -38889,7 +39250,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38889
39250
|
break;
|
|
38890
39251
|
}
|
|
38891
39252
|
path = hoEditorFactory.docTree.getNodeLastPath(preNode);
|
|
38892
|
-
signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntSign */ .Jq.ntSign, 0, 0, node.name === "" ? "医师签名" : node.name, node.signType, node.signFormat, "", "", node.signTimeFormat, "", 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime);
|
|
39253
|
+
signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntSign */ .Jq.ntSign, 0, 0, node.name === "" ? "医师签名" : node.name, node.signType, node.signFormat, "", "", node.signTimeFormat, "", 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime, undefined, undefined, node.attribute, node.connectChar, node.otherProperties);
|
|
38893
39254
|
hoEditorFactory.undoService.begin();
|
|
38894
39255
|
hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodeDeleteUndoUnit */ .w(this._hoEditorFactoryID, node, startPath));
|
|
38895
39256
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_24__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, signNode));
|
|
@@ -38910,7 +39271,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38910
39271
|
epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
38911
39272
|
newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N(this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntSign */ .Jq.ntSign, 1, preNode.type, preNode.name === "" ? "签名" : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.signTimeFormat, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, preNode.isTemplate ? preNode.isTemplate : node.isTemplate,
|
|
38912
39273
|
//node.isTemplate,
|
|
38913
|
-
node.styleIndex, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime);
|
|
39274
|
+
node.styleIndex, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime, preNode.fingerPrintSrc, preNode.fingerPosition, preNode.attribute, preNode.connectChar, preNode.otherProperties);
|
|
38914
39275
|
hoEditorFactory.undoService.begin();
|
|
38915
39276
|
hoEditorFactory.undoService.add(new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_35__/* .NodesDeleteUndoUnit */ .F(this._hoEditorFactoryID, spath, epath));
|
|
38916
39277
|
if (node.number === 2 || node.number === 1 && node.isTemplate) {
|
|
@@ -39433,7 +39794,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39433
39794
|
*/
|
|
39434
39795
|
}, {
|
|
39435
39796
|
key: "insertPermanentTeethMap",
|
|
39436
|
-
value: function insertPermanentTeethMap(operType, curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
39797
|
+
value: function insertPermanentTeethMap(operType, curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected, remark) {
|
|
39437
39798
|
var domRange = curDomRange.normalize();
|
|
39438
39799
|
var startPath = domRange.endPath;
|
|
39439
39800
|
if (operType === "update") {
|
|
@@ -39450,7 +39811,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39450
39811
|
}
|
|
39451
39812
|
}
|
|
39452
39813
|
var parentNode = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(startPath);
|
|
39453
|
-
var permanentTeethMapNode = new _treeNode_PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_42__/* .PermanentTeethMapNode */ .f(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
39814
|
+
var permanentTeethMapNode = new _treeNode_PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_42__/* .PermanentTeethMapNode */ .f(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected, remark);
|
|
39454
39815
|
//插入该表达式节点
|
|
39455
39816
|
if (operType === "add") {
|
|
39456
39817
|
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.begin();
|
|
@@ -39668,7 +40029,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39668
40029
|
}
|
|
39669
40030
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
39670
40031
|
var rootPath = hoEditorFactory.docTree.getRootPathByNodes(domRange.npStart.roots);
|
|
39671
|
-
var barCodeNode = new _treeNode_BarcodeNode__WEBPACK_IMPORTED_MODULE_48__/* .BarcodeNode */ .T(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntImage */ .Jq.ntImage, id, name, innerIdentifier, textContent, isDisplayText, imagePath, width, height
|
|
40032
|
+
var barCodeNode = new _treeNode_BarcodeNode__WEBPACK_IMPORTED_MODULE_48__/* .BarcodeNode */ .T(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntImage */ .Jq.ntImage, id, name, innerIdentifier, textContent, isDisplayText, imagePath, width, height
|
|
40033
|
+
//,bandDataSource
|
|
40034
|
+
);
|
|
39672
40035
|
//插入该表达式节点
|
|
39673
40036
|
if (operType === "add") {
|
|
39674
40037
|
hoEditorFactory.undoService.begin();
|
|
@@ -39711,7 +40074,15 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39711
40074
|
}
|
|
39712
40075
|
}
|
|
39713
40076
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
39714
|
-
var qrcodeNode = new _treeNode_QrcodeNode__WEBPACK_IMPORTED_MODULE_49__/* .QrcodeNode */ .d(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntImage */ .Jq.ntImage, id, name, innerIdentifier, textContent, type, correctLevel,
|
|
40077
|
+
var qrcodeNode = new _treeNode_QrcodeNode__WEBPACK_IMPORTED_MODULE_49__/* .QrcodeNode */ .d(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntImage */ .Jq.ntImage, id, name, innerIdentifier, textContent, type, correctLevel,
|
|
40078
|
+
// dataSourceEnabled,
|
|
40079
|
+
// dataSource,
|
|
40080
|
+
// format,
|
|
40081
|
+
// visitPath,
|
|
40082
|
+
// isReadOnly,
|
|
40083
|
+
// autoUpdate,
|
|
40084
|
+
// execState,
|
|
40085
|
+
width, height, isFillBack);
|
|
39715
40086
|
//插入该表达式节点
|
|
39716
40087
|
if (operType === "add") {
|
|
39717
40088
|
hoEditorFactory.undoService.begin();
|
|
@@ -40084,7 +40455,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
40084
40455
|
}
|
|
40085
40456
|
if (r1 === 0 && r2 == table.rowCount - 1) {
|
|
40086
40457
|
var range = table.getTableFullRange();
|
|
40087
|
-
|
|
40458
|
+
if (range) {
|
|
40459
|
+
this.deleteRange(range, true);
|
|
40460
|
+
}
|
|
40088
40461
|
return;
|
|
40089
40462
|
}
|
|
40090
40463
|
hoEditorFactory.undoService.begin();
|
|
@@ -40136,7 +40509,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
40136
40509
|
}
|
|
40137
40510
|
if (c1 === 0 && c2 == table.colCount - 1) {
|
|
40138
40511
|
var range = table.getTableFullRange();
|
|
40139
|
-
|
|
40512
|
+
if (range) {
|
|
40513
|
+
this.deleteRange(range, true);
|
|
40514
|
+
}
|
|
40140
40515
|
return;
|
|
40141
40516
|
}
|
|
40142
40517
|
hoEditorFactory.undoService.begin();
|
|
@@ -45793,7 +46168,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
45793
46168
|
/*
|
|
45794
46169
|
* @Author: your name
|
|
45795
46170
|
* @Date: 2020-12-24 16:01:16
|
|
45796
|
-
* @LastEditTime: 2023-
|
|
46171
|
+
* @LastEditTime: 2023-07-04 11:48:39
|
|
45797
46172
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
45798
46173
|
* @Description: In User Settings Edit
|
|
45799
46174
|
* @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
|
|
@@ -46075,7 +46450,7 @@ var DataSource = /*#__PURE__*/function () {
|
|
|
46075
46450
|
var RowProperty = /*#__PURE__*/function () {
|
|
46076
46451
|
//编号
|
|
46077
46452
|
//自定义属性
|
|
46078
|
-
|
|
46453
|
+
//private _dataSource !: DataSource;//数据源
|
|
46079
46454
|
//是否指定高度
|
|
46080
46455
|
//指定的高度
|
|
46081
46456
|
//private _isAutoRaiseHeight = false;//锁定行高
|
|
@@ -46091,7 +46466,6 @@ var RowProperty = /*#__PURE__*/function () {
|
|
|
46091
46466
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, RowProperty);
|
|
46092
46467
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_id", "");
|
|
46093
46468
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
46094
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_dataSource", void 0);
|
|
46095
46469
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_isSpecifyHeight", false);
|
|
46096
46470
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_rowHeight", 0);
|
|
46097
46471
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_repeatAsTitleAtPageTop", false);
|
|
@@ -46135,14 +46509,12 @@ var RowProperty = /*#__PURE__*/function () {
|
|
|
46135
46509
|
set: function set(value) {
|
|
46136
46510
|
this._customProperties = value;
|
|
46137
46511
|
}
|
|
46138
|
-
|
|
46139
|
-
|
|
46140
|
-
|
|
46141
|
-
|
|
46142
|
-
|
|
46143
|
-
|
|
46144
|
-
this._dataSource = value;
|
|
46145
|
-
}
|
|
46512
|
+
// get dataSource(): DataSource {
|
|
46513
|
+
// return this._dataSource;
|
|
46514
|
+
// }
|
|
46515
|
+
// set dataSource(value: DataSource) {
|
|
46516
|
+
// this._dataSource = value;
|
|
46517
|
+
// }
|
|
46146
46518
|
}, {
|
|
46147
46519
|
key: "isSpecifyHeight",
|
|
46148
46520
|
get: function get() {
|
|
@@ -46555,10 +46927,10 @@ var DiagonalType;
|
|
|
46555
46927
|
})(DiagonalType || (DiagonalType = {}));
|
|
46556
46928
|
var CellProperty = /*#__PURE__*/function () {
|
|
46557
46929
|
//编号
|
|
46558
|
-
|
|
46930
|
+
//private _lightCellBorders = false;//突出显示单元格边框
|
|
46559
46931
|
//标题
|
|
46560
46932
|
//自定义属性
|
|
46561
|
-
|
|
46933
|
+
//private _dataSource!: DataSource;//数据源
|
|
46562
46934
|
//垂直对齐方式
|
|
46563
46935
|
//单元格内边距 上、下、左、右
|
|
46564
46936
|
//是否绘制网格线
|
|
@@ -46575,10 +46947,8 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46575
46947
|
) {
|
|
46576
46948
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, CellProperty);
|
|
46577
46949
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_id", void 0);
|
|
46578
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_lightCellBorders", false);
|
|
46579
46950
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_title", "");
|
|
46580
46951
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
46581
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_dataSource", void 0);
|
|
46582
46952
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_align", VAlign.vatop);
|
|
46583
46953
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_cellInnerMargin", [0, 0, 0.1, 0.1]);
|
|
46584
46954
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_isDrawGridlines", true);
|
|
@@ -46593,7 +46963,7 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46593
46963
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_downListProperty", void 0);
|
|
46594
46964
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_dateTimeProperty", void 0);
|
|
46595
46965
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_diagonalType", DiagonalType.None);
|
|
46596
|
-
this._dataSource = new DataSource();
|
|
46966
|
+
//this._dataSource = new DataSource();
|
|
46597
46967
|
if (objectValues !== "") {
|
|
46598
46968
|
var valuesObj = eval('(' + objectValues + ')');
|
|
46599
46969
|
var assignvalue = function assignvalue(target, source) {
|
|
@@ -46640,14 +47010,12 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46640
47010
|
set: function set(value) {
|
|
46641
47011
|
this._id = value;
|
|
46642
47012
|
}
|
|
46643
|
-
|
|
46644
|
-
|
|
46645
|
-
|
|
46646
|
-
|
|
46647
|
-
|
|
46648
|
-
|
|
46649
|
-
this._lightCellBorders = value;
|
|
46650
|
-
}
|
|
47013
|
+
// get lightCellBorders(): boolean {
|
|
47014
|
+
// return this._lightCellBorders;
|
|
47015
|
+
// }
|
|
47016
|
+
// set lightCellBorders(value: boolean) {
|
|
47017
|
+
// this._lightCellBorders = value;
|
|
47018
|
+
// }
|
|
46651
47019
|
}, {
|
|
46652
47020
|
key: "title",
|
|
46653
47021
|
get: function get() {
|
|
@@ -46664,14 +47032,12 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46664
47032
|
set: function set(value) {
|
|
46665
47033
|
this._customProperties = value;
|
|
46666
47034
|
}
|
|
46667
|
-
|
|
46668
|
-
|
|
46669
|
-
|
|
46670
|
-
|
|
46671
|
-
|
|
46672
|
-
|
|
46673
|
-
this._dataSource = value;
|
|
46674
|
-
}
|
|
47035
|
+
// get dataSource(): DataSource {
|
|
47036
|
+
// return this._dataSource;
|
|
47037
|
+
// }
|
|
47038
|
+
// set dataSource(value: DataSource) {
|
|
47039
|
+
// this._dataSource = value;
|
|
47040
|
+
// }
|
|
46675
47041
|
}, {
|
|
46676
47042
|
key: "align",
|
|
46677
47043
|
get: function get() {
|
|
@@ -48729,8 +49095,10 @@ var BarcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
48729
49095
|
|
|
48730
49096
|
//扩展字段
|
|
48731
49097
|
|
|
48732
|
-
//绑定数据源
|
|
48733
|
-
function BarcodeNode(hoEditorFactoryID, rootNodes, pNode, nodeType, id, name, innerIdentifier, textContent, isDisplayText, imagePath, width, height,
|
|
49098
|
+
//private _bandDataSource!: BandDataSource; //绑定数据源
|
|
49099
|
+
function BarcodeNode(hoEditorFactoryID, rootNodes, pNode, nodeType, id, name, innerIdentifier, textContent, isDisplayText, imagePath, width, height,
|
|
49100
|
+
//bandDataSource: string,
|
|
49101
|
+
scaleX, scaleY) {
|
|
48734
49102
|
var _this;
|
|
48735
49103
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, BarcodeNode);
|
|
48736
49104
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
@@ -48745,7 +49113,6 @@ var BarcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
48745
49113
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_14__/* ["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), "_scaleY", void 0);
|
|
48746
49114
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_14__/* ["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), "_remark", "");
|
|
48747
49115
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_14__/* ["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), "_imageDataBase64String", "");
|
|
48748
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_14__/* ["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), "_bandDataSource", void 0);
|
|
48749
49116
|
_this._id = id;
|
|
48750
49117
|
_this._textContent = textContent;
|
|
48751
49118
|
_this._isDisplayText = isDisplayText;
|
|
@@ -48756,8 +49123,8 @@ var BarcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
48756
49123
|
_this._scaleY = scaleY ? scaleY : 1;
|
|
48757
49124
|
_this._name = name ? name : "";
|
|
48758
49125
|
_this._innerIdentifier = innerIdentifier ? innerIdentifier : "";
|
|
48759
|
-
|
|
48760
|
-
|
|
49126
|
+
//this._bandDataSource = new BandDataSource();
|
|
49127
|
+
//this.setValuesObject(bandDataSource);
|
|
48761
49128
|
_this.node2DrawNodeRange(0, 0);
|
|
48762
49129
|
return _this;
|
|
48763
49130
|
}
|
|
@@ -48781,7 +49148,7 @@ var BarcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
48781
49148
|
;
|
|
48782
49149
|
});
|
|
48783
49150
|
};
|
|
48784
|
-
assignvalue(this.bandDataSource, valuesObj);
|
|
49151
|
+
//assignvalue(this.bandDataSource, valuesObj);
|
|
48785
49152
|
}
|
|
48786
49153
|
}, {
|
|
48787
49154
|
key: "id",
|
|
@@ -48856,16 +49223,14 @@ var BarcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
48856
49223
|
this._scaleY = value;
|
|
48857
49224
|
}
|
|
48858
49225
|
}
|
|
48859
|
-
|
|
48860
|
-
|
|
48861
|
-
|
|
48862
|
-
|
|
48863
|
-
|
|
48864
|
-
|
|
48865
|
-
|
|
48866
|
-
|
|
48867
|
-
}
|
|
48868
|
-
}
|
|
49226
|
+
// get bandDataSource(): BandDataSource {
|
|
49227
|
+
// return this._bandDataSource;
|
|
49228
|
+
// }
|
|
49229
|
+
// set bandDataSource(value: BandDataSource) {
|
|
49230
|
+
// if (this._bandDataSource !== value) {
|
|
49231
|
+
// this._bandDataSource = value;
|
|
49232
|
+
// }
|
|
49233
|
+
// }
|
|
48869
49234
|
}, {
|
|
48870
49235
|
key: "name",
|
|
48871
49236
|
get: function get() {
|
|
@@ -48949,7 +49314,7 @@ var BarcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
48949
49314
|
scaleX: scaleX,
|
|
48950
49315
|
scaleY: scaleY,
|
|
48951
49316
|
imageDataBase64String: this.imageDataBase64String,
|
|
48952
|
-
|
|
49317
|
+
//andDataSource: this.bandDataSource,
|
|
48953
49318
|
remark: this.remark
|
|
48954
49319
|
};
|
|
48955
49320
|
if (isCopy) {
|
|
@@ -48978,7 +49343,9 @@ var BarcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
48978
49343
|
var scaleY = Number(json.scaleY);
|
|
48979
49344
|
this.transType(json);
|
|
48980
49345
|
var isDisplayText = !json.isDisplayText ? false : json.isDisplayText;
|
|
48981
|
-
return new BarcodeNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType.ntImage */ .Jq.ntImage, json.id, json.name, json.innerIdentifier, json.textContent, isDisplayText, json.imageDataBase64String, width, height,
|
|
49346
|
+
return new BarcodeNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType.ntImage */ .Jq.ntImage, json.id, json.name, json.innerIdentifier, json.textContent, isDisplayText, json.imageDataBase64String, width, height,
|
|
49347
|
+
//json.bandDataSource,
|
|
49348
|
+
scaleX, scaleY);
|
|
48982
49349
|
}
|
|
48983
49350
|
}]);
|
|
48984
49351
|
return BarcodeNode;
|
|
@@ -50579,8 +50946,8 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
50579
50946
|
cellInnerMargin: this.cellProperty.cellInnerMargin ? this.cellProperty.cellInnerMargin.toString() : "0,0,0.1,0.1",
|
|
50580
50947
|
//customProperties: !this.cellProperty.customProperties ? undefined : this.cellProperty.customProperties,
|
|
50581
50948
|
customProperties: customProperties,
|
|
50582
|
-
lightCellBorders: this.cellProperty.lightCellBorders,
|
|
50583
|
-
dataSource: this.cellProperty.dataSource,
|
|
50949
|
+
//lightCellBorders: this.cellProperty.lightCellBorders,
|
|
50950
|
+
//dataSource: this.cellProperty.dataSource,
|
|
50584
50951
|
backColor: this.cellProperty.backColor,
|
|
50585
50952
|
editorProperty: this.cellProperty.editorProperty,
|
|
50586
50953
|
downListProperty: this.cellProperty.downListProperty,
|
|
@@ -50604,11 +50971,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
50604
50971
|
if (cellPropertyJson["gridLinesColor"] === "#000000,#000000,#000000,#000000") {
|
|
50605
50972
|
delete cellPropertyJson["gridLinesColor"];
|
|
50606
50973
|
}
|
|
50607
|
-
}
|
|
50608
|
-
|
|
50609
|
-
|
|
50610
|
-
|
|
50611
|
-
}
|
|
50974
|
+
}
|
|
50975
|
+
// else if (keysName[k] === "dataSource") {
|
|
50976
|
+
// if (this.cellProperty.dataSource === undefined || (cellPropertyJson["dataSource"] === "")) {
|
|
50977
|
+
// delete cellPropertyJson["dataSource"];
|
|
50978
|
+
// }
|
|
50979
|
+
// }
|
|
50980
|
+
else {
|
|
50612
50981
|
if (cellPropertyJson[keysName[k]] === defaultCellPropJson[keysName[k]]) {
|
|
50613
50982
|
delete cellPropertyJson[keysName[k]];
|
|
50614
50983
|
}
|
|
@@ -51051,7 +51420,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
51051
51420
|
/*
|
|
51052
51421
|
* @Author: your name
|
|
51053
51422
|
* @Date: 2020-11-18 11:43:06
|
|
51054
|
-
* @LastEditTime:
|
|
51423
|
+
* @LastEditTime: 2023-06-30 16:37:49
|
|
51055
51424
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
51056
51425
|
* @Description: In User Settings Edit
|
|
51057
51426
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\ControlNode.ts
|
|
@@ -51070,6 +51439,8 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
51070
51439
|
//标识格式
|
|
51071
51440
|
//是否同步
|
|
51072
51441
|
|
|
51442
|
+
// protected _checkCascadeObject!: string;
|
|
51443
|
+
// protected _unCheckCascadeObject!: string;
|
|
51073
51444
|
//提示文本
|
|
51074
51445
|
//是否允许删除
|
|
51075
51446
|
//保存类型
|
|
@@ -51094,8 +51465,6 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
51094
51465
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_labelText", void 0);
|
|
51095
51466
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_title", void 0);
|
|
51096
51467
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_styleIndex", void 0);
|
|
51097
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_checkCascadeObject", void 0);
|
|
51098
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_unCheckCascadeObject", void 0);
|
|
51099
51468
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_tipText", void 0);
|
|
51100
51469
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_isAllowDelete", void 0);
|
|
51101
51470
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_readType", void 0);
|
|
@@ -51236,26 +51605,22 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
51236
51605
|
this._styleIndex = value;
|
|
51237
51606
|
}
|
|
51238
51607
|
}
|
|
51239
|
-
|
|
51240
|
-
|
|
51241
|
-
|
|
51242
|
-
|
|
51243
|
-
|
|
51244
|
-
|
|
51245
|
-
|
|
51246
|
-
|
|
51247
|
-
|
|
51248
|
-
|
|
51249
|
-
|
|
51250
|
-
|
|
51251
|
-
|
|
51252
|
-
|
|
51253
|
-
}
|
|
51254
|
-
|
|
51255
|
-
if (this._unCheckCascadeObject !== value) {
|
|
51256
|
-
this._unCheckCascadeObject = value;
|
|
51257
|
-
}
|
|
51258
|
-
}
|
|
51608
|
+
// get checkCascadeObject(): string {
|
|
51609
|
+
// return this._checkCascadeObject;
|
|
51610
|
+
// }
|
|
51611
|
+
// set checkCascadeObject(value: string) {
|
|
51612
|
+
// if (this._checkCascadeObject !== value) {
|
|
51613
|
+
// this._checkCascadeObject = value;
|
|
51614
|
+
// }
|
|
51615
|
+
// }
|
|
51616
|
+
// get unCheckCascadeObject(): string {
|
|
51617
|
+
// return this._unCheckCascadeObject;
|
|
51618
|
+
// }
|
|
51619
|
+
// set unCheckCascadeObject(value: string) {
|
|
51620
|
+
// if (this._unCheckCascadeObject !== value) {
|
|
51621
|
+
// this._unCheckCascadeObject = value;
|
|
51622
|
+
// }
|
|
51623
|
+
// }
|
|
51259
51624
|
}, {
|
|
51260
51625
|
key: "tipText",
|
|
51261
51626
|
get: function get() {
|
|
@@ -56374,7 +56739,7 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
56374
56739
|
var PermanentTeethMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
56375
56740
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(PermanentTeethMapNode, _MedicalExpressionNod);
|
|
56376
56741
|
var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(PermanentTeethMapNode);
|
|
56377
|
-
function PermanentTeethMapNode(hoEditorFactoryID, rootNodes, pNode, nodeType, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
56742
|
+
function PermanentTeethMapNode(hoEditorFactoryID, rootNodes, pNode, nodeType, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected, remark) {
|
|
56378
56743
|
var _this;
|
|
56379
56744
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, PermanentTeethMapNode);
|
|
56380
56745
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
@@ -56386,6 +56751,9 @@ var PermanentTeethMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
56386
56751
|
_this._topRightSelected = topRightSelected;
|
|
56387
56752
|
_this._bottomLeftSelected = bottomLeftSelected;
|
|
56388
56753
|
_this._bottomRightSelected = bottomRightSelected;
|
|
56754
|
+
if (remark) {
|
|
56755
|
+
_this._remark = remark;
|
|
56756
|
+
}
|
|
56389
56757
|
_this.node2DrawNodeRange(0, 0);
|
|
56390
56758
|
return _this;
|
|
56391
56759
|
}
|
|
@@ -56526,7 +56894,7 @@ var PermanentTeethMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
56526
56894
|
}], [{
|
|
56527
56895
|
key: "json2Node",
|
|
56528
56896
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode) {
|
|
56529
|
-
return new PermanentTeethMapNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_10__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, json.topLeftSelected.split(","), json.topRightSelected.split(","), json.bottomLeftSelected.split(","), json.bottomRightSelected.split(","));
|
|
56897
|
+
return new PermanentTeethMapNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_10__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, json.topLeftSelected.split(","), json.topRightSelected.split(","), json.bottomLeftSelected.split(","), json.bottomRightSelected.split(","), json.remark);
|
|
56530
56898
|
}
|
|
56531
56899
|
}]);
|
|
56532
56900
|
return PermanentTeethMapNode;
|
|
@@ -57152,7 +57520,7 @@ var BaseNode = __webpack_require__(62358);
|
|
|
57152
57520
|
/*
|
|
57153
57521
|
* @Author: your name
|
|
57154
57522
|
* @Date: 2020-11-13 08:51:37
|
|
57155
|
-
* @LastEditTime: 2023-
|
|
57523
|
+
* @LastEditTime: 2023-06-30 15:24:31
|
|
57156
57524
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
57157
57525
|
* @Description: In User Settings Edit
|
|
57158
57526
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\QrcodeNode.ts
|
|
@@ -57167,21 +57535,27 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
57167
57535
|
//文本
|
|
57168
57536
|
//类型
|
|
57169
57537
|
//纠错能力
|
|
57170
|
-
//数据源绑定设置有效
|
|
57171
|
-
//数据源
|
|
57172
|
-
//格式化
|
|
57173
|
-
//访问路径
|
|
57174
|
-
//只读,不能回填
|
|
57175
|
-
//自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
57176
|
-
//执行状态
|
|
57538
|
+
// private _dataSourceEnabled = true; //数据源绑定设置有效
|
|
57539
|
+
// private _dataSource = ""; //数据源
|
|
57540
|
+
// private _format = ""; //格式化
|
|
57541
|
+
// private _visitPath = ""; //访问路径
|
|
57542
|
+
// private _isReadOnly = false; //只读,不能回填
|
|
57543
|
+
// private _autoUpdate = false; //自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
57544
|
+
// private _execState = ""; //执行状态
|
|
57177
57545
|
//宽
|
|
57178
57546
|
//高
|
|
57179
|
-
//private _scaleX!: number; //x缩放比例
|
|
57180
|
-
//private _scaleY!: number; //y缩放比例
|
|
57181
57547
|
//扩展字段
|
|
57182
57548
|
|
|
57183
57549
|
//是否回填
|
|
57184
|
-
function QrcodeNode(hoEditorFactoryID, rootNodes, pNode, nodeType, id, name, innerIdentifier, textContent, type, correctLevel,
|
|
57550
|
+
function QrcodeNode(hoEditorFactoryID, rootNodes, pNode, nodeType, id, name, innerIdentifier, textContent, type, correctLevel,
|
|
57551
|
+
// dataSourceEnabled: boolean,
|
|
57552
|
+
// dataSource: string,
|
|
57553
|
+
// format: string,
|
|
57554
|
+
// visitPath: string,
|
|
57555
|
+
// isReadOnly: boolean,
|
|
57556
|
+
// autoUpdate: boolean,
|
|
57557
|
+
// execState: string,
|
|
57558
|
+
width, height,
|
|
57185
57559
|
//scaleX?: number,
|
|
57186
57560
|
//scaleY?: number
|
|
57187
57561
|
isFillBack) {
|
|
@@ -57194,13 +57568,6 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
57194
57568
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_textContent", "");
|
|
57195
57569
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_type", "QR");
|
|
57196
57570
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_correctLevel", "M");
|
|
57197
|
-
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_dataSourceEnabled", true);
|
|
57198
|
-
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_dataSource", "");
|
|
57199
|
-
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_format", "");
|
|
57200
|
-
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_visitPath", "");
|
|
57201
|
-
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_isReadOnly", false);
|
|
57202
|
-
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_autoUpdate", false);
|
|
57203
|
-
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_execState", "");
|
|
57204
57571
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_width", void 0);
|
|
57205
57572
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_height", void 0);
|
|
57206
57573
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_remark", "");
|
|
@@ -57210,13 +57577,13 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
57210
57577
|
_this._textContent = textContent;
|
|
57211
57578
|
_this._type = type;
|
|
57212
57579
|
_this._correctLevel = correctLevel;
|
|
57213
|
-
|
|
57214
|
-
|
|
57215
|
-
|
|
57216
|
-
|
|
57217
|
-
|
|
57218
|
-
|
|
57219
|
-
|
|
57580
|
+
// this._dataSourceEnabled = dataSourceEnabled;
|
|
57581
|
+
// this._dataSource = dataSource;
|
|
57582
|
+
// this._format = format;
|
|
57583
|
+
// this._visitPath = visitPath;
|
|
57584
|
+
// this._isReadOnly = isReadOnly;
|
|
57585
|
+
// this._autoUpdate = autoUpdate;
|
|
57586
|
+
// this._execState = execState;
|
|
57220
57587
|
_this._width = width;
|
|
57221
57588
|
_this._height = height;
|
|
57222
57589
|
_this._name = name ? name : "";
|
|
@@ -57266,41 +57633,27 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
57266
57633
|
get: function get() {
|
|
57267
57634
|
return this._correctLevel;
|
|
57268
57635
|
}
|
|
57269
|
-
|
|
57270
|
-
|
|
57271
|
-
|
|
57272
|
-
|
|
57273
|
-
|
|
57274
|
-
|
|
57275
|
-
|
|
57276
|
-
|
|
57277
|
-
|
|
57278
|
-
|
|
57279
|
-
|
|
57280
|
-
|
|
57281
|
-
get
|
|
57282
|
-
|
|
57283
|
-
}
|
|
57284
|
-
|
|
57285
|
-
|
|
57286
|
-
|
|
57287
|
-
|
|
57288
|
-
|
|
57289
|
-
|
|
57290
|
-
key: "autoUpdate",
|
|
57291
|
-
get: function get() {
|
|
57292
|
-
return this._autoUpdate;
|
|
57293
|
-
}
|
|
57294
|
-
}, {
|
|
57295
|
-
key: "execState",
|
|
57296
|
-
get: function get() {
|
|
57297
|
-
return this._execState;
|
|
57298
|
-
}
|
|
57299
|
-
}, {
|
|
57300
|
-
key: "dataSourceEnabled",
|
|
57301
|
-
get: function get() {
|
|
57302
|
-
return this._dataSourceEnabled;
|
|
57303
|
-
}
|
|
57636
|
+
// get dataSource(): string {
|
|
57637
|
+
// return this._dataSource;
|
|
57638
|
+
// }
|
|
57639
|
+
// get format(): string {
|
|
57640
|
+
// return this._format;
|
|
57641
|
+
// }
|
|
57642
|
+
// get visitPath(): string {
|
|
57643
|
+
// return this._visitPath;
|
|
57644
|
+
// }
|
|
57645
|
+
// get isReadOnly(): boolean {
|
|
57646
|
+
// return this._isReadOnly;
|
|
57647
|
+
// }
|
|
57648
|
+
// get autoUpdate(): boolean {
|
|
57649
|
+
// return this._autoUpdate;
|
|
57650
|
+
// }
|
|
57651
|
+
// get execState(): string {
|
|
57652
|
+
// return this._execState;
|
|
57653
|
+
// }
|
|
57654
|
+
// get dataSourceEnabled(): boolean {
|
|
57655
|
+
// return this._dataSourceEnabled;
|
|
57656
|
+
// }
|
|
57304
57657
|
}, {
|
|
57305
57658
|
key: "width",
|
|
57306
57659
|
get: function get() {
|
|
@@ -57441,13 +57794,13 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
57441
57794
|
textContent: isClearValue && this.isFillBack ? "" : this.textContent,
|
|
57442
57795
|
type: this.type,
|
|
57443
57796
|
correctLevel: this.correctLevel,
|
|
57444
|
-
dataSourceEnabled: this.dataSourceEnabled,
|
|
57445
|
-
dataSource: this.dataSource,
|
|
57446
|
-
format: this.format,
|
|
57447
|
-
visitPath: this.visitPath,
|
|
57448
|
-
isReadOnly: this.isReadOnly,
|
|
57449
|
-
autoUpdate: this.autoUpdate,
|
|
57450
|
-
execState: this.execState,
|
|
57797
|
+
// dataSourceEnabled: this.dataSourceEnabled,
|
|
57798
|
+
// dataSource: this.dataSource,
|
|
57799
|
+
// format: this.format,
|
|
57800
|
+
// visitPath: this.visitPath,
|
|
57801
|
+
// isReadOnly: this.isReadOnly,
|
|
57802
|
+
// autoUpdate: this.autoUpdate,
|
|
57803
|
+
// execState: this.execState,
|
|
57451
57804
|
width: width,
|
|
57452
57805
|
height: height,
|
|
57453
57806
|
remark: this.remark,
|
|
@@ -57476,11 +57829,21 @@ var QrcodeNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
57476
57829
|
var height = Number(json.height);
|
|
57477
57830
|
//const scaleX = Number(json.scaleX);
|
|
57478
57831
|
//const scaleY = Number(json.scaleY);
|
|
57479
|
-
|
|
57480
|
-
|
|
57481
|
-
|
|
57832
|
+
// const dataSourceEnabled = !json.dataSourceEnabled
|
|
57833
|
+
// ? false
|
|
57834
|
+
// : json.dataSourceEnabled;
|
|
57835
|
+
// const isReadOnly = !json.isReadOnly ? false : json.isReadOnly;
|
|
57836
|
+
// const autoUpdate = !json.autoUpdate ? false : json.autoUpdate;
|
|
57482
57837
|
var isFillBack = !json.isFillBack ? false : json.isFillBack;
|
|
57483
|
-
return new QrcodeNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, BaseNode/* NodeType.ntImage */.Jq.ntImage, json.id, json.name, json.innerIdentifier, json.textContent, json.type, json.correctLevel,
|
|
57838
|
+
return new QrcodeNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, BaseNode/* NodeType.ntImage */.Jq.ntImage, json.id, json.name, json.innerIdentifier, json.textContent, json.type, json.correctLevel,
|
|
57839
|
+
// dataSourceEnabled,
|
|
57840
|
+
// json.dataSource,
|
|
57841
|
+
// json.format,
|
|
57842
|
+
// json.visitPath,
|
|
57843
|
+
// isReadOnly,
|
|
57844
|
+
// autoUpdate,
|
|
57845
|
+
// json.execState,
|
|
57846
|
+
width, height, isFillBack);
|
|
57484
57847
|
}
|
|
57485
57848
|
}]);
|
|
57486
57849
|
return QrcodeNode;
|
|
@@ -57652,6 +58015,8 @@ var BandDataSource = /*#__PURE__*/function () {
|
|
|
57652
58015
|
return BandDataSource;
|
|
57653
58016
|
}();
|
|
57654
58017
|
var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
58018
|
+
//private checkCascadeObject!: string;
|
|
58019
|
+
//private unCheckCascadeObject!: string;
|
|
57655
58020
|
//控件样式:"RadioBox"单选框;"CheckBox"复选框
|
|
57656
58021
|
|
|
57657
58022
|
//处于选择状态
|
|
@@ -57661,7 +58026,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
57661
58026
|
//附加数据
|
|
57662
58027
|
//提示文本
|
|
57663
58028
|
|
|
57664
|
-
//绑定数据源
|
|
58029
|
+
//private bandDataSource!: BandDataSource; //绑定数据源
|
|
57665
58030
|
|
|
57666
58031
|
//追加文本
|
|
57667
58032
|
//内容是否转成文本节点
|
|
@@ -57674,8 +58039,6 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
57674
58039
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "name", void 0);
|
|
57675
58040
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "text", void 0);
|
|
57676
58041
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "title", void 0);
|
|
57677
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "checkCascadeObject", void 0);
|
|
57678
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "unCheckCascadeObject", void 0);
|
|
57679
58042
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "controlStyle", void 0);
|
|
57680
58043
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "groupName", void 0);
|
|
57681
58044
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "isSelected", false);
|
|
@@ -57685,7 +58048,6 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
57685
58048
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "additionalData", "");
|
|
57686
58049
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "tipText", "");
|
|
57687
58050
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "readType", void 0);
|
|
57688
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "bandDataSource", void 0);
|
|
57689
58051
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "isEditText", false);
|
|
57690
58052
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "appendText", "");
|
|
57691
58053
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "isTransToText", false);
|
|
@@ -57752,26 +58114,22 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
57752
58114
|
this.title = value;
|
|
57753
58115
|
}
|
|
57754
58116
|
}
|
|
57755
|
-
|
|
57756
|
-
|
|
57757
|
-
|
|
57758
|
-
|
|
57759
|
-
|
|
57760
|
-
|
|
57761
|
-
|
|
57762
|
-
|
|
57763
|
-
|
|
57764
|
-
|
|
57765
|
-
|
|
57766
|
-
|
|
57767
|
-
|
|
57768
|
-
|
|
57769
|
-
}
|
|
57770
|
-
|
|
57771
|
-
if (this.unCheckCascadeObject !== value) {
|
|
57772
|
-
this.unCheckCascadeObject = value;
|
|
57773
|
-
}
|
|
57774
|
-
}
|
|
58117
|
+
// get CheckCascadeObject(): string {
|
|
58118
|
+
// return this.checkCascadeObject;
|
|
58119
|
+
// }
|
|
58120
|
+
// set CheckCascadeObject(value: string) {
|
|
58121
|
+
// if (this.checkCascadeObject !== value) {
|
|
58122
|
+
// this.checkCascadeObject = value;
|
|
58123
|
+
// }
|
|
58124
|
+
// }
|
|
58125
|
+
// get UnCheckCascadeObject(): string {
|
|
58126
|
+
// return this.unCheckCascadeObject;
|
|
58127
|
+
// }
|
|
58128
|
+
// set UnCheckCascadeObject(value: string) {
|
|
58129
|
+
// if (this.unCheckCascadeObject !== value) {
|
|
58130
|
+
// this.unCheckCascadeObject = value;
|
|
58131
|
+
// }
|
|
58132
|
+
// }
|
|
57775
58133
|
}, {
|
|
57776
58134
|
key: "ControlStyle",
|
|
57777
58135
|
get: function get() {
|
|
@@ -57892,16 +58250,14 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
57892
58250
|
this.groupHasOptions = value;
|
|
57893
58251
|
}
|
|
57894
58252
|
}
|
|
57895
|
-
|
|
57896
|
-
|
|
57897
|
-
|
|
57898
|
-
|
|
57899
|
-
|
|
57900
|
-
|
|
57901
|
-
|
|
57902
|
-
|
|
57903
|
-
}
|
|
57904
|
-
}
|
|
58253
|
+
// get BandDataSource(): BandDataSource {
|
|
58254
|
+
// return this.bandDataSource;
|
|
58255
|
+
// }
|
|
58256
|
+
// set BandDataSource(value: BandDataSource) {
|
|
58257
|
+
// if (this.bandDataSource !== value) {
|
|
58258
|
+
// this.bandDataSource = value;
|
|
58259
|
+
// }
|
|
58260
|
+
// }
|
|
57905
58261
|
}, {
|
|
57906
58262
|
key: "IsTransToText",
|
|
57907
58263
|
get: function get() {
|
|
@@ -57921,8 +58277,8 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
57921
58277
|
ret.name = "";
|
|
57922
58278
|
ret.text = "";
|
|
57923
58279
|
ret.title = "复选框";
|
|
57924
|
-
ret.checkCascadeObject = "";
|
|
57925
|
-
ret.unCheckCascadeObject = "";
|
|
58280
|
+
// ret.checkCascadeObject = "";
|
|
58281
|
+
// ret.unCheckCascadeObject = "";
|
|
57926
58282
|
ret.controlStyle = "CheckBox";
|
|
57927
58283
|
ret.groupName = "";
|
|
57928
58284
|
ret.isSelected = false;
|
|
@@ -57950,7 +58306,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
57950
58306
|
//true:左对齐;false:右对齐
|
|
57951
58307
|
//数值
|
|
57952
58308
|
//附加数据
|
|
57953
|
-
|
|
58309
|
+
//private _bandDataSource = new BandDataSource();
|
|
57954
58310
|
//是否可编辑文本
|
|
57955
58311
|
//追加文本
|
|
57956
58312
|
//内容是否转成文本
|
|
@@ -57966,7 +58322,6 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
57966
58322
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["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), "_boxAlign", true);
|
|
57967
58323
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["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), "_numericValue", "");
|
|
57968
58324
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["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), "_additionalData", "");
|
|
57969
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["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), "_bandDataSource", new BandDataSource());
|
|
57970
58325
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["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), "_isEditText", false);
|
|
57971
58326
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["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), "_appendText", "");
|
|
57972
58327
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["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), "_isTransToText", false);
|
|
@@ -57980,79 +58335,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
57980
58335
|
if (!_this.isEditText) {
|
|
57981
58336
|
_this.appendText = "";
|
|
57982
58337
|
}
|
|
57983
|
-
// if (valuesObj["controlStyle"] !== undefined) {
|
|
57984
|
-
// this._controlStyle = valuesObj["controlStyle"];
|
|
57985
|
-
// }
|
|
57986
|
-
// if (valuesObj["id"] !== undefined) {
|
|
57987
|
-
// this._id = valuesObj["id"];
|
|
57988
|
-
// }
|
|
57989
|
-
// if (valuesObj["name"] !== undefined) {
|
|
57990
|
-
// this._name = valuesObj["name"];
|
|
57991
|
-
// }
|
|
57992
|
-
// if (valuesObj["groupName"] !== undefined) {
|
|
57993
|
-
// this._groupName = valuesObj["groupName"];
|
|
57994
|
-
// }
|
|
57995
|
-
// if (valuesObj["isSelected"] !== undefined) {
|
|
57996
|
-
// this._isSelected = valuesObj["isSelected"];
|
|
57997
|
-
// }
|
|
57998
|
-
// if (valuesObj["isAllowDelete"] !== undefined) {
|
|
57999
|
-
// this._isAllowDelete = valuesObj["isAllowDelete"];
|
|
58000
|
-
// }
|
|
58001
|
-
// if (valuesObj["boxAlign"] !== undefined) {
|
|
58002
|
-
// this._boxAlign = valuesObj["boxAlign"];
|
|
58003
|
-
// }
|
|
58004
|
-
// if (valuesObj["numericValue"] !== undefined) {
|
|
58005
|
-
// this._numericValue = valuesObj["numericValue"];
|
|
58006
|
-
// }
|
|
58007
|
-
// if (valuesObj["additionalData"] !== undefined) {
|
|
58008
|
-
// this._additionalData = valuesObj["additionalData"];
|
|
58009
|
-
// }
|
|
58010
|
-
// if (valuesObj["tipText"] !== undefined) {
|
|
58011
|
-
// this._tipText = valuesObj["tipText"];
|
|
58012
|
-
// }
|
|
58013
|
-
// let bandDataSourceObject: any;
|
|
58014
|
-
// if (valuesObj["bandDataSource"] !== undefined) {
|
|
58015
|
-
// bandDataSourceObject = valuesObj["bandDataSource"];
|
|
58016
|
-
// }
|
|
58017
|
-
// if (valuesObj["text"] !== undefined && valuesObj["text"] !== null && valuesObj["text"] !== '') {
|
|
58018
|
-
// this._text = valuesObj["text"];
|
|
58019
|
-
// } else {
|
|
58020
|
-
// this._text = ' ';
|
|
58021
|
-
// }
|
|
58022
|
-
// if (valuesObj["title"] !== undefined) {
|
|
58023
|
-
// this._title = valuesObj["title"];
|
|
58024
|
-
// }
|
|
58025
|
-
// if (valuesObj["checkCascadeObject"] !== undefined) {
|
|
58026
|
-
// this._checkCascadeObject = valuesObj["checkCascadeObject"];
|
|
58027
|
-
// }
|
|
58028
|
-
// if (valuesObj["unCheckCascadeObject"] !== undefined) {
|
|
58029
|
-
// this._unCheckCascadeObject = valuesObj["unCheckCascadeObject"];
|
|
58030
|
-
// }
|
|
58031
58338
|
_this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType.ctRadioAndCheckBox */ .C.ctRadioAndCheckBox;
|
|
58032
|
-
// if (bandDataSourceObject !== undefined) {
|
|
58033
|
-
// if (bandDataSourceObject["dataSourceEnabled"] !== undefined) {
|
|
58034
|
-
// this._bandDataSource.DataSourceEnabled =
|
|
58035
|
-
// bandDataSourceObject["dataSourceEnabled"];
|
|
58036
|
-
// }
|
|
58037
|
-
// if (bandDataSourceObject["dataSource"] !== undefined) {
|
|
58038
|
-
// this._bandDataSource.DataSource = bandDataSourceObject["dataSource"];
|
|
58039
|
-
// }
|
|
58040
|
-
// if (bandDataSourceObject["format"] !== undefined) {
|
|
58041
|
-
// this._bandDataSource.Format = bandDataSourceObject["format"];
|
|
58042
|
-
// }
|
|
58043
|
-
// if (bandDataSourceObject["visitPath"] !== undefined) {
|
|
58044
|
-
// this._bandDataSource.VisitPath = bandDataSourceObject["visitPath"];
|
|
58045
|
-
// }
|
|
58046
|
-
// if (bandDataSourceObject["readOnly"] !== undefined) {
|
|
58047
|
-
// this._bandDataSource.ReadOnly = bandDataSourceObject["readOnly"];
|
|
58048
|
-
// }
|
|
58049
|
-
// if (bandDataSourceObject["autoUpdate"] !== undefined) {
|
|
58050
|
-
// this._bandDataSource.AutoUpdate = bandDataSourceObject["autoUpdate"];
|
|
58051
|
-
// }
|
|
58052
|
-
// if (bandDataSourceObject["execState"] !== undefined) {
|
|
58053
|
-
// this._bandDataSource.ExecState = bandDataSourceObject["execState"];
|
|
58054
|
-
// }
|
|
58055
|
-
// }
|
|
58056
58339
|
_this.node2DrawNodeRange(0, 0);
|
|
58057
58340
|
return _this;
|
|
58058
58341
|
}
|
|
@@ -58116,16 +58399,10 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58116
58399
|
var area = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
|
|
58117
58400
|
if (area) {
|
|
58118
58401
|
hoEditorFactory.drawPageTree.updateDrawPage(area.index);
|
|
58119
|
-
// const drawLine = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).drawTree.getDrawLineByDNode(
|
|
58120
|
-
// drawNode
|
|
58121
|
-
// );
|
|
58122
58402
|
}
|
|
58123
|
-
//drawNode.stage.update();
|
|
58124
|
-
// if (drawLine instanceof DrawLine) drawLine.updateCache();
|
|
58125
58403
|
});
|
|
58126
58404
|
}
|
|
58127
58405
|
};
|
|
58128
|
-
|
|
58129
58406
|
changeAlpha(active);
|
|
58130
58407
|
}
|
|
58131
58408
|
}, {
|
|
@@ -58244,16 +58521,14 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58244
58521
|
this._groupHasOptions = value;
|
|
58245
58522
|
}
|
|
58246
58523
|
}
|
|
58247
|
-
|
|
58248
|
-
|
|
58249
|
-
|
|
58250
|
-
|
|
58251
|
-
|
|
58252
|
-
|
|
58253
|
-
|
|
58254
|
-
|
|
58255
|
-
}
|
|
58256
|
-
}
|
|
58524
|
+
// get bandDataSource(): BandDataSource {
|
|
58525
|
+
// return this._bandDataSource;
|
|
58526
|
+
// }
|
|
58527
|
+
// set bandDataSource(value: BandDataSource) {
|
|
58528
|
+
// if (this._bandDataSource !== value) {
|
|
58529
|
+
// this._bandDataSource = value;
|
|
58530
|
+
// }
|
|
58531
|
+
// }
|
|
58257
58532
|
}, {
|
|
58258
58533
|
key: "styleIndex",
|
|
58259
58534
|
get: function get() {
|
|
@@ -58288,7 +58563,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58288
58563
|
ret.GroupName = this.groupName !== undefined ? this.groupName : ret.GroupName;
|
|
58289
58564
|
ret.AdditionalData = this.additionalData !== undefined ? this.additionalData : ret.AdditionalData;
|
|
58290
58565
|
ret.TipText = this.tipText !== undefined ? this.tipText : ret.TipText;
|
|
58291
|
-
ret.BandDataSource = this.bandDataSource;
|
|
58566
|
+
//ret.BandDataSource = this.bandDataSource;
|
|
58292
58567
|
ret.BoxAlign = this.boxAlign !== undefined ? this.boxAlign : ret.BoxAlign;
|
|
58293
58568
|
ret.IsAllowDelete = this.isAllowDelete !== undefined ? this.isAllowDelete : ret.IsAllowDelete;
|
|
58294
58569
|
ret.IsSelected = this.isSelected !== undefined ? this.isSelected : ret.IsSelected;
|
|
@@ -58297,8 +58572,14 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58297
58572
|
ret.Type = this.type !== undefined ? this.type : ret.Type;
|
|
58298
58573
|
ret.Title = this.title !== undefined ? this.title : ret.Title;
|
|
58299
58574
|
ret.Text = this.text !== undefined ? this.text : ret.Text;
|
|
58300
|
-
ret.CheckCascadeObject =
|
|
58301
|
-
|
|
58575
|
+
// ret.CheckCascadeObject =
|
|
58576
|
+
// this.checkCascadeObject !== undefined
|
|
58577
|
+
// ? this.checkCascadeObject
|
|
58578
|
+
// : ret.CheckCascadeObject;
|
|
58579
|
+
// ret.UnCheckCascadeObject =
|
|
58580
|
+
// this.unCheckCascadeObject !== undefined
|
|
58581
|
+
// ? this.unCheckCascadeObject
|
|
58582
|
+
// : ret.UnCheckCascadeObject;
|
|
58302
58583
|
ret.Name = this.name !== undefined ? this.name : ret.Name;
|
|
58303
58584
|
ret.ReadType = this.readType !== undefined ? this.readType : ret.ReadType;
|
|
58304
58585
|
ret.IsEditText = this.isEditText !== undefined ? this.isEditText : ret.IsEditText;
|
|
@@ -58413,8 +58694,8 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58413
58694
|
text: this.text,
|
|
58414
58695
|
title: this.title,
|
|
58415
58696
|
styleIndex: this.styleIndex,
|
|
58416
|
-
checkCascadeObject: this.checkCascadeObject,
|
|
58417
|
-
unCheckCascadeObject: this.unCheckCascadeObject,
|
|
58697
|
+
//checkCascadeObject: this.checkCascadeObject,
|
|
58698
|
+
//unCheckCascadeObject: this.unCheckCascadeObject,
|
|
58418
58699
|
tipText: this.tipText,
|
|
58419
58700
|
isAllowDelete: this.isAllowDelete,
|
|
58420
58701
|
groupName: this.groupName,
|
|
@@ -58427,7 +58708,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58427
58708
|
isEditText: this.isEditText,
|
|
58428
58709
|
appendText: this.appendText,
|
|
58429
58710
|
readType: this.readType,
|
|
58430
|
-
bandDataSource: this.bandDataSource,
|
|
58711
|
+
//bandDataSource: this.bandDataSource,
|
|
58431
58712
|
remark: this.remark
|
|
58432
58713
|
};
|
|
58433
58714
|
}
|
|
@@ -58446,8 +58727,8 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58446
58727
|
text: this.text,
|
|
58447
58728
|
title: this.title,
|
|
58448
58729
|
styleIndex: this.styleIndex,
|
|
58449
|
-
checkCascadeObject: this.checkCascadeObject,
|
|
58450
|
-
unCheckCascadeObject: this.unCheckCascadeObject,
|
|
58730
|
+
//checkCascadeObject: this.checkCascadeObject,
|
|
58731
|
+
//unCheckCascadeObject: this.unCheckCascadeObject,
|
|
58451
58732
|
tipText: this.tipText,
|
|
58452
58733
|
isAllowDelete: this.isAllowDelete,
|
|
58453
58734
|
groupName: this.groupName,
|
|
@@ -58460,7 +58741,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
58460
58741
|
isEditText: this.isEditText,
|
|
58461
58742
|
appendText: this.appendText,
|
|
58462
58743
|
readType: this.readType,
|
|
58463
|
-
bandDataSource: this.bandDataSource,
|
|
58744
|
+
//bandDataSource: this.bandDataSource,
|
|
58464
58745
|
remark: this.remark
|
|
58465
58746
|
};
|
|
58466
58747
|
var paga = {
|
|
@@ -61063,8 +61344,8 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
61063
61344
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19593);
|
|
61064
61345
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27222);
|
|
61065
61346
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(70280);
|
|
61066
|
-
/* harmony import */ var
|
|
61067
|
-
/* harmony import */ var
|
|
61347
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(66298);
|
|
61348
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(78255);
|
|
61068
61349
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(57658);
|
|
61069
61350
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
61070
61351
|
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84944);
|
|
@@ -61103,18 +61384,20 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
61103
61384
|
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_24__);
|
|
61104
61385
|
/* harmony import */ var _CellNode__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(68598);
|
|
61105
61386
|
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(62358);
|
|
61106
|
-
/* harmony import */ var
|
|
61107
|
-
/* harmony import */ var
|
|
61108
|
-
/* harmony import */ var
|
|
61109
|
-
/* harmony import */ var
|
|
61110
|
-
/* harmony import */ var
|
|
61111
|
-
/* harmony import */ var
|
|
61112
|
-
/* harmony import */ var
|
|
61113
|
-
/* harmony import */ var
|
|
61114
|
-
/* harmony import */ var
|
|
61115
|
-
/* harmony import */ var
|
|
61116
|
-
/* harmony import */ var
|
|
61117
|
-
/* harmony import */ var
|
|
61387
|
+
/* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(67945);
|
|
61388
|
+
/* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(67800);
|
|
61389
|
+
/* harmony import */ var _editor_draw_drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(74298);
|
|
61390
|
+
/* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(79546);
|
|
61391
|
+
/* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(94639);
|
|
61392
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(42921);
|
|
61393
|
+
/* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(8277);
|
|
61394
|
+
/* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(2613);
|
|
61395
|
+
/* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(32629);
|
|
61396
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(74089);
|
|
61397
|
+
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(51760);
|
|
61398
|
+
/* harmony import */ var _editor_utils_UnitConvert__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(91404);
|
|
61399
|
+
/* harmony import */ var _editor_draw_drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(15694);
|
|
61400
|
+
|
|
61118
61401
|
|
|
61119
61402
|
|
|
61120
61403
|
|
|
@@ -61161,16 +61444,16 @@ var gDefaultColWidth = 30;
|
|
|
61161
61444
|
var TableProerty = /*#__PURE__*/function () {
|
|
61162
61445
|
function TableProerty(table) {
|
|
61163
61446
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, TableProerty);
|
|
61164
|
-
(0,
|
|
61165
|
-
(0,
|
|
61166
|
-
(0,
|
|
61167
|
-
(0,
|
|
61168
|
-
(0,
|
|
61169
|
-
(0,
|
|
61170
|
-
(0,
|
|
61171
|
-
(0,
|
|
61172
|
-
(0,
|
|
61173
|
-
(0,
|
|
61447
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_ID", void 0);
|
|
61448
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_table", void 0);
|
|
61449
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_userData", void 0);
|
|
61450
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_bResizeRowHeight", void 0);
|
|
61451
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_bResizeColWidth", void 0);
|
|
61452
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_bCanDeleteTable", void 0);
|
|
61453
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_bCanDeleteRow", void 0);
|
|
61454
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_bFullLine", void 0);
|
|
61455
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_continuePrintBorder", void 0);
|
|
61456
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_bTightlyLineSpace", void 0);
|
|
61174
61457
|
this._table = table;
|
|
61175
61458
|
this._ID = "";
|
|
61176
61459
|
this._userData = new Object();
|
|
@@ -61182,7 +61465,7 @@ var TableProerty = /*#__PURE__*/function () {
|
|
|
61182
61465
|
this._continuePrintBorder = false;
|
|
61183
61466
|
this._bTightlyLineSpace = false;
|
|
61184
61467
|
}
|
|
61185
|
-
(0,
|
|
61468
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_41__/* ["default"] */ .Z)(TableProerty, [{
|
|
61186
61469
|
key: "ID",
|
|
61187
61470
|
get: function get() {
|
|
61188
61471
|
return this._ID;
|
|
@@ -61260,20 +61543,20 @@ var TableProerty = /*#__PURE__*/function () {
|
|
|
61260
61543
|
var RowInfos = /*#__PURE__*/function () {
|
|
61261
61544
|
function RowInfos(table, rowProperty) {
|
|
61262
61545
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, RowInfos);
|
|
61263
|
-
(0,
|
|
61264
|
-
(0,
|
|
61265
|
-
(0,
|
|
61266
|
-
(0,
|
|
61267
|
-
(0,
|
|
61268
|
-
(0,
|
|
61269
|
-
(0,
|
|
61546
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_table", void 0);
|
|
61547
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_id", "0");
|
|
61548
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_isAllowEdit", true);
|
|
61549
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_rowHeight", void 0);
|
|
61550
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_heightFixed", void 0);
|
|
61551
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_rowBaseDTop", void 0);
|
|
61552
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_rowProperty", void 0);
|
|
61270
61553
|
this._rowHeight = gDefaultRowHeight;
|
|
61271
61554
|
this._table = table;
|
|
61272
61555
|
this._heightFixed = false;
|
|
61273
61556
|
this._rowBaseDTop = 0;
|
|
61274
61557
|
this._rowProperty = rowProperty;
|
|
61275
61558
|
}
|
|
61276
|
-
(0,
|
|
61559
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_41__/* ["default"] */ .Z)(RowInfos, [{
|
|
61277
61560
|
key: "table",
|
|
61278
61561
|
get:
|
|
61279
61562
|
//行id
|
|
@@ -61327,7 +61610,7 @@ var RowInfos = /*#__PURE__*/function () {
|
|
|
61327
61610
|
mainCell = _this$_table$getMainC2[0],
|
|
61328
61611
|
mr = _this$_table$getMainC2[1],
|
|
61329
61612
|
mc = _this$_table$getMainC2[2];
|
|
61330
|
-
if (mainCell.cellProperty.align !==
|
|
61613
|
+
if (mainCell.cellProperty.align !== _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign.vatop */ .TR.vatop) {
|
|
61331
61614
|
mainCell.drawCell.needUpdate = true;
|
|
61332
61615
|
}
|
|
61333
61616
|
}
|
|
@@ -61356,19 +61639,19 @@ var RowInfos = /*#__PURE__*/function () {
|
|
|
61356
61639
|
var ColInfos = /*#__PURE__*/function () {
|
|
61357
61640
|
function ColInfos(table, colWidth, colProperty) {
|
|
61358
61641
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, ColInfos);
|
|
61359
|
-
(0,
|
|
61360
|
-
(0,
|
|
61361
|
-
(0,
|
|
61362
|
-
(0,
|
|
61363
|
-
(0,
|
|
61364
|
-
(0,
|
|
61642
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_table", void 0);
|
|
61643
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_colWidth", void 0);
|
|
61644
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_widthFixed", void 0);
|
|
61645
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_dLeft", void 0);
|
|
61646
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_colProperty", void 0);
|
|
61647
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)(this, "_isAllowEdit", true);
|
|
61365
61648
|
this._colWidth = colWidth;
|
|
61366
61649
|
this._table = table;
|
|
61367
61650
|
this._widthFixed = false;
|
|
61368
61651
|
this._dLeft = 0;
|
|
61369
61652
|
this._colProperty = colProperty;
|
|
61370
61653
|
}
|
|
61371
|
-
(0,
|
|
61654
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_41__/* ["default"] */ .Z)(ColInfos, [{
|
|
61372
61655
|
key: "table",
|
|
61373
61656
|
get:
|
|
61374
61657
|
//列属性
|
|
@@ -61426,7 +61709,7 @@ var ColInfos = /*#__PURE__*/function () {
|
|
|
61426
61709
|
}, {
|
|
61427
61710
|
key: "clone",
|
|
61428
61711
|
value: function clone() {
|
|
61429
|
-
var colProperty = new
|
|
61712
|
+
var colProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ColProperty */ .Ti("");
|
|
61430
61713
|
var ret = new ColInfos(this._table, this._colWidth, colProperty);
|
|
61431
61714
|
ret._widthFixed = this._widthFixed;
|
|
61432
61715
|
ret._dLeft = this._dLeft;
|
|
@@ -61442,17 +61725,17 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61442
61725
|
var _this;
|
|
61443
61726
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, TableNode);
|
|
61444
61727
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_26__/* .NodeType.ntTable */ .Jq.ntTable);
|
|
61445
|
-
(0,
|
|
61446
|
-
(0,
|
|
61447
|
-
(0,
|
|
61448
|
-
(0,
|
|
61449
|
-
(0,
|
|
61450
|
-
(0,
|
|
61451
|
-
(0,
|
|
61452
|
-
(0,
|
|
61453
|
-
(0,
|
|
61454
|
-
(0,
|
|
61455
|
-
(0,
|
|
61728
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_rows", void 0);
|
|
61729
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_rowCount", void 0);
|
|
61730
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_colCount", void 0);
|
|
61731
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_borderVisible", void 0);
|
|
61732
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_borderWidth", void 0);
|
|
61733
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_headerRowCount", void 0);
|
|
61734
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_rowInfos", void 0);
|
|
61735
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_colInfos", void 0);
|
|
61736
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_drawTable", void 0);
|
|
61737
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_paragraphNode", void 0);
|
|
61738
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_tableProperty", void 0);
|
|
61456
61739
|
_this._rows = new Array();
|
|
61457
61740
|
_this._rowCount = rowCount;
|
|
61458
61741
|
_this._colCount = colCount;
|
|
@@ -61465,12 +61748,12 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61465
61748
|
_this._tableProperty = tableProperty;
|
|
61466
61749
|
var colWidth = _this.calcColWidth();
|
|
61467
61750
|
for (var i = 0; i < _this._colCount; i++) {
|
|
61468
|
-
var colProperty = new
|
|
61751
|
+
var colProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ColProperty */ .Ti("");
|
|
61469
61752
|
var colInfos = new ColInfos((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), colWidth, colProperty);
|
|
61470
61753
|
_this._colInfos[i] = colInfos;
|
|
61471
61754
|
}
|
|
61472
61755
|
for (var j = 0; j < _this._rowCount; j++) {
|
|
61473
|
-
var rowProperty = new
|
|
61756
|
+
var rowProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .RowProperty */ .Nr("");
|
|
61474
61757
|
var rowInfos = new RowInfos((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), rowProperty);
|
|
61475
61758
|
_this._rowInfos[j] = rowInfos;
|
|
61476
61759
|
}
|
|
@@ -61478,7 +61761,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61478
61761
|
var aRow = new Array();
|
|
61479
61762
|
_this._rows.push(aRow);
|
|
61480
61763
|
for (var c = 0; c < colCount; c++) {
|
|
61481
|
-
var cellProperty = new
|
|
61764
|
+
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .CellProperty */ .$W("");
|
|
61482
61765
|
var aCell = new _CellNode__WEBPACK_IMPORTED_MODULE_25__/* .CellNode */ .D(_this._hoEditorFactoryID, rootNodes, (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), aRow, undefined, r, c, 1, 1, cellProperty);
|
|
61483
61766
|
aRow.push(aCell);
|
|
61484
61767
|
aCell.initBlankDoc();
|
|
@@ -61495,7 +61778,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61495
61778
|
* @param count 插入的行数
|
|
61496
61779
|
* @param copyIndex 插入时复制行的一些信息
|
|
61497
61780
|
*/
|
|
61498
|
-
(0,
|
|
61781
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_41__/* ["default"] */ .Z)(TableNode, [{
|
|
61499
61782
|
key: "hoEditorFactoryID",
|
|
61500
61783
|
get:
|
|
61501
61784
|
//单元格矩阵
|
|
@@ -61660,7 +61943,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61660
61943
|
var copyRowProperty = this._rowInfos[copyIndex].rowProperty;
|
|
61661
61944
|
for (var i = 0; i < count; i++) {
|
|
61662
61945
|
var row = new Array();
|
|
61663
|
-
var rowProperty = new
|
|
61946
|
+
var rowProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .RowProperty */ .Nr("");
|
|
61664
61947
|
rowProperty.rowHeight = copyRowProperty.rowHeight;
|
|
61665
61948
|
rowProperty.isSpecifyHeight = copyRowProperty.isSpecifyHeight;
|
|
61666
61949
|
rowProperty.isLockRowHeight = copyRowProperty.isLockRowHeight;
|
|
@@ -61682,8 +61965,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61682
61965
|
cell = null;
|
|
61683
61966
|
}
|
|
61684
61967
|
if (cell) {
|
|
61685
|
-
var cellProperty = new
|
|
61686
|
-
if (cell.cellProperty.editorProperty !=
|
|
61968
|
+
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .CellProperty */ .$W("");
|
|
61969
|
+
if (cell.cellProperty.editorProperty != _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty.None */ .YS.None) {
|
|
61687
61970
|
cellProperty.editorProperty = cell.cellProperty.editorProperty;
|
|
61688
61971
|
if (cell.cellProperty.dateTimeProperty) {
|
|
61689
61972
|
cellProperty.dateTimeProperty = cell.cellProperty.dateTimeProperty;
|
|
@@ -61721,8 +62004,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61721
62004
|
c += 1;
|
|
61722
62005
|
}
|
|
61723
62006
|
this._rows.splice(r + i, 0, row);
|
|
61724
|
-
var hoEditorFactory =
|
|
61725
|
-
if (hoEditorFactory.docTree.docProperty.type ===
|
|
62007
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
62008
|
+
if (hoEditorFactory.docTree.docProperty.type === _DocTree__WEBPACK_IMPORTED_MODULE_35__/* .EmrType.etForm */ .Fr.etForm) {
|
|
61726
62009
|
this.updateGridRowValign(r + i);
|
|
61727
62010
|
}
|
|
61728
62011
|
this._rowCount += 1;
|
|
@@ -61812,7 +62095,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61812
62095
|
this.updateColsWidth(cols, newWidth);
|
|
61813
62096
|
}
|
|
61814
62097
|
for (var i = 0; i < count; i++) {
|
|
61815
|
-
var colProperty = new
|
|
62098
|
+
var colProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ColProperty */ .Ti("");
|
|
61816
62099
|
var colInfos = new ColInfos(this, newWidth, colProperty);
|
|
61817
62100
|
this._colInfos.splice(c, 0, colInfos);
|
|
61818
62101
|
}
|
|
@@ -61871,8 +62154,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61871
62154
|
}
|
|
61872
62155
|
for (var _i = 0; _i < count; _i++) {
|
|
61873
62156
|
if (cell) {
|
|
61874
|
-
var cellProperty = new
|
|
61875
|
-
if (cell.cellProperty.editorProperty !==
|
|
62157
|
+
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .CellProperty */ .$W("");
|
|
62158
|
+
if (cell.cellProperty.editorProperty !== _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty.None */ .YS.None) {
|
|
61876
62159
|
cellProperty.editorProperty = cell.cellProperty.editorProperty;
|
|
61877
62160
|
if (cell.cellProperty.dateTimeProperty) {
|
|
61878
62161
|
cellProperty.dateTimeProperty = cell.cellProperty.dateTimeProperty;
|
|
@@ -62228,7 +62511,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62228
62511
|
value: function doSplitCellHorz(r, c, row2) {
|
|
62229
62512
|
var cell = this._rows[r][c];
|
|
62230
62513
|
if (cell) {
|
|
62231
|
-
var cellProperty = new
|
|
62514
|
+
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .CellProperty */ .$W("");
|
|
62232
62515
|
var newCell = new _CellNode__WEBPACK_IMPORTED_MODULE_25__/* .CellNode */ .D(this._hoEditorFactoryID, this.rootNodes, this, this._rows[row2], cell, row2, c, 1, 1, cellProperty);
|
|
62233
62516
|
cell.drawCell.removeAllPartCell();
|
|
62234
62517
|
newCell.drawCell.needUpdate = true;
|
|
@@ -62243,7 +62526,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62243
62526
|
value: function doSplitCellVert(r, c, col2) {
|
|
62244
62527
|
var cell = this._rows[r][c];
|
|
62245
62528
|
if (cell) {
|
|
62246
|
-
var cellProperty = new
|
|
62529
|
+
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .CellProperty */ .$W("");
|
|
62247
62530
|
var newCell = new _CellNode__WEBPACK_IMPORTED_MODULE_25__/* .CellNode */ .D(this._hoEditorFactoryID, this.rootNodes, this, this._rows[r], cell, r, col2, 1, 1, cellProperty);
|
|
62248
62531
|
cell.drawCell.removeAllPartCell();
|
|
62249
62532
|
newCell.drawCell.needUpdate = true;
|
|
@@ -62391,7 +62674,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62391
62674
|
if (bunMergeRow) {
|
|
62392
62675
|
var rowSpan = cell.rowSpan;
|
|
62393
62676
|
for (var i = r + 1; i <= r + rowSpan - 1; i++) {
|
|
62394
|
-
var cellProperty = new
|
|
62677
|
+
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .CellProperty */ .$W("");
|
|
62395
62678
|
var newCell = new _CellNode__WEBPACK_IMPORTED_MODULE_25__/* .CellNode */ .D(this._hoEditorFactoryID, this.rootNodes, this, this._rows[i], cell, i, c, 1, 1, cellProperty);
|
|
62396
62679
|
this._rows[i][c] = newCell;
|
|
62397
62680
|
newCell.initBlankDoc();
|
|
@@ -62417,7 +62700,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62417
62700
|
var cell = this._rows[r][c];
|
|
62418
62701
|
if (cell) {
|
|
62419
62702
|
for (var col = c + 1; col <= c + cell.colSpan - 1; col++) {
|
|
62420
|
-
var cellProperty = new
|
|
62703
|
+
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .CellProperty */ .$W("");
|
|
62421
62704
|
var newCell = new _CellNode__WEBPACK_IMPORTED_MODULE_25__/* .CellNode */ .D(this._hoEditorFactoryID, this.rootNodes, this, this._rows[r], cell, r, col, 1, 1, cellProperty);
|
|
62422
62705
|
this._rows[r][col] = newCell;
|
|
62423
62706
|
newCell.rowSpan = cell.rowSpan;
|
|
@@ -62519,7 +62802,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62519
62802
|
}, {
|
|
62520
62803
|
key: "node2DrawNodeRange",
|
|
62521
62804
|
value: function node2DrawNodeRange(startIndex, endIndex) {
|
|
62522
|
-
var drawTable = new
|
|
62805
|
+
var drawTable = new _editor_draw_drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_29__/* .DrawTable */ .t(this._hoEditorFactoryID, this._rootPath, this, 0);
|
|
62523
62806
|
this._drawTable = drawTable;
|
|
62524
62807
|
this._drawNodes.push(drawTable);
|
|
62525
62808
|
}
|
|
@@ -62534,7 +62817,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62534
62817
|
}, {
|
|
62535
62818
|
key: "range",
|
|
62536
62819
|
value: function range() {
|
|
62537
|
-
var hoEditorFactory =
|
|
62820
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
62538
62821
|
return {
|
|
62539
62822
|
from: hoEditorFactory.docTree.getNodeFirstPath(this),
|
|
62540
62823
|
to: hoEditorFactory.docTree.getNodeLastPath(this)
|
|
@@ -62549,12 +62832,12 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62549
62832
|
if (range) r = this.mixed(range);
|
|
62550
62833
|
//根据路径范围确定被选中的行列信息 {col:{from,to},row:{from,to}}
|
|
62551
62834
|
var getcell = function getcell(path) {
|
|
62552
|
-
var node =
|
|
62835
|
+
var node = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this4._hoEditorFactoryID).docTree.findNodePositionByPath(path).node;
|
|
62553
62836
|
// while (node && !(node instanceof CellNode) && node.parentNode == this) {
|
|
62554
62837
|
// node = node?.parentNode;
|
|
62555
62838
|
// }
|
|
62556
62839
|
for (;;) {
|
|
62557
|
-
if (!node) throw
|
|
62840
|
+
if (!node) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
62558
62841
|
if (!(node instanceof _CellNode__WEBPACK_IMPORTED_MODULE_25__/* .CellNode */ .D)) {
|
|
62559
62842
|
node = node.parentNode;
|
|
62560
62843
|
continue;
|
|
@@ -62599,7 +62882,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62599
62882
|
}
|
|
62600
62883
|
var defaultRowProp = {
|
|
62601
62884
|
customProperties: "",
|
|
62602
|
-
dataSource: "",
|
|
62885
|
+
//dataSource: "",
|
|
62603
62886
|
forcedPageBreak: false,
|
|
62604
62887
|
//isAutoRaiseHeight: false,
|
|
62605
62888
|
isSpecifyHeight: false,
|
|
@@ -62648,7 +62931,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62648
62931
|
};
|
|
62649
62932
|
var rowProperty = {
|
|
62650
62933
|
customProperties: _customProperties,
|
|
62651
|
-
dataSource: rowInfo.rowProperty.dataSource,
|
|
62934
|
+
//dataSource: rowInfo.rowProperty.dataSource,
|
|
62652
62935
|
forcedPageBreak: rowInfo.rowProperty.forcedPageBreak,
|
|
62653
62936
|
//isAutoRaiseHeight: rowInfo.rowProperty.isAutoRaiseHeight,
|
|
62654
62937
|
isSpecifyHeight: rowInfo.rowProperty.isSpecifyHeight,
|
|
@@ -62667,11 +62950,13 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62667
62950
|
if (rowInfo.rowProperty.customProperties.length === 0) {
|
|
62668
62951
|
delete rowPropertyJson["customProperties"];
|
|
62669
62952
|
}
|
|
62670
|
-
}
|
|
62671
|
-
|
|
62672
|
-
|
|
62673
|
-
|
|
62674
|
-
}
|
|
62953
|
+
}
|
|
62954
|
+
// else if (keysName[k] === "dataSource") {
|
|
62955
|
+
// if (rowInfo.rowProperty.dataSource === undefined) {
|
|
62956
|
+
// delete rowPropertyJson["dataSource"];
|
|
62957
|
+
// }
|
|
62958
|
+
// }
|
|
62959
|
+
else {
|
|
62675
62960
|
if (rowPropertyJson[keysName[k]] === defaultRowPropJson[keysName[k]]) {
|
|
62676
62961
|
delete rowPropertyJson[keysName[k]];
|
|
62677
62962
|
}
|
|
@@ -62685,8 +62970,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62685
62970
|
});
|
|
62686
62971
|
}
|
|
62687
62972
|
var defaultColProp = {
|
|
62688
|
-
editorProperty:
|
|
62689
|
-
align:
|
|
62973
|
+
editorProperty: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty */ .YS[_TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty.None */ .YS.None],
|
|
62974
|
+
align: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign */ .TR[_TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign.vatop */ .TR.vatop],
|
|
62690
62975
|
width: 0,
|
|
62691
62976
|
specifyWidth: false,
|
|
62692
62977
|
downListProperty: "",
|
|
@@ -62705,8 +62990,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62705
62990
|
customProperty: Array(colInfo.colProperty.customProperties)
|
|
62706
62991
|
};
|
|
62707
62992
|
var colProperty = {
|
|
62708
|
-
editorProperty:
|
|
62709
|
-
align:
|
|
62993
|
+
editorProperty: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty */ .YS[colInfo.colProperty.editorProperty],
|
|
62994
|
+
align: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign */ .TR[colInfo.colProperty.align],
|
|
62710
62995
|
width: colInfo.colProperty.width ? colInfo.colProperty.width : 0,
|
|
62711
62996
|
specifyWidth: colInfo.colProperty.isSpecifyWidth,
|
|
62712
62997
|
downListProperty: colInfo.colProperty.downListProperty,
|
|
@@ -62732,23 +63017,23 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62732
63017
|
}
|
|
62733
63018
|
var defaultCellProp = {
|
|
62734
63019
|
title: "",
|
|
62735
|
-
align:
|
|
62736
|
-
obliqueSplitLine:
|
|
63020
|
+
align: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign.vatop */ .TR.vatop,
|
|
63021
|
+
obliqueSplitLine: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ObliqueSplitLine.None */ .lH.None,
|
|
62737
63022
|
printGridLines: true,
|
|
62738
63023
|
alignTextToGridline: true,
|
|
62739
63024
|
span: 0,
|
|
62740
|
-
gridLinesStyle:
|
|
63025
|
+
gridLinesStyle: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .GridLinesStyle.solid */ .he.solid,
|
|
62741
63026
|
gridLinesColor: "#000000,#000000,#000000,#000000",
|
|
62742
63027
|
isDrawGridlines: true,
|
|
62743
63028
|
cellInnerMargin: "0,0,0.1,0.1",
|
|
62744
63029
|
customProperties: "",
|
|
62745
|
-
lightCellBorders: false,
|
|
62746
|
-
dataSource: "",
|
|
63030
|
+
//lightCellBorders: false,
|
|
63031
|
+
//dataSource: "",
|
|
62747
63032
|
backColor: "transparent",
|
|
62748
|
-
editorProperty:
|
|
63033
|
+
editorProperty: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty.None */ .YS.None,
|
|
62749
63034
|
downListProperty: "",
|
|
62750
63035
|
dateTimeProperty: "",
|
|
62751
|
-
diagonalType:
|
|
63036
|
+
diagonalType: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .DiagonalType.None */ .IF.None
|
|
62752
63037
|
};
|
|
62753
63038
|
var defaultCellPropJson = JSON.parse(JSON.stringify(defaultCellProp));
|
|
62754
63039
|
//处理单元格
|
|
@@ -62767,7 +63052,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
62767
63052
|
var rowArray = {
|
|
62768
63053
|
nodeType: "ntRow",
|
|
62769
63054
|
rowNo: _k2,
|
|
62770
|
-
childNodes: (0,
|
|
63055
|
+
childNodes: (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z)({}, "".concat(nodeName), Array())
|
|
62771
63056
|
};
|
|
62772
63057
|
// rowArray = {
|
|
62773
63058
|
// nodeType: "ntRow",
|
|
@@ -63010,7 +63295,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63010
63295
|
}, {
|
|
63011
63296
|
key: "update",
|
|
63012
63297
|
value: function update() {
|
|
63013
|
-
var hoEditorFactory =
|
|
63298
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
63014
63299
|
for (var r = 0; r < this.rowCount; r++) {
|
|
63015
63300
|
for (var c = 0; c < this.colCount; c++) {
|
|
63016
63301
|
var cell = this._rows[r][c];
|
|
@@ -63018,8 +63303,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63018
63303
|
cell.drawCell.clear();
|
|
63019
63304
|
cell.drawCell.removeAllPartCell();
|
|
63020
63305
|
var endPath = hoEditorFactory.docTree.getNodeLastPath(cell);
|
|
63021
|
-
var aRange = new
|
|
63022
|
-
var cgEvent = new
|
|
63306
|
+
var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_31__/* .DomRange */ .a(this._hoEditorFactoryID, cell.childNodes[0].getNodePath(), endPath);
|
|
63307
|
+
var cgEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_34__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_35__/* .DocAction.daInsert */ .gk.daInsert, aRange.startPath, aRange.endPath);
|
|
63023
63308
|
cgEvent.repaintImmediate = false;
|
|
63024
63309
|
hoEditorFactory.docTree.change(cgEvent);
|
|
63025
63310
|
}
|
|
@@ -63029,7 +63314,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63029
63314
|
var mainArea = hoEditorFactory.drawPageTree.getMainRootArea(this.drawTable.drawPageTables[0]);
|
|
63030
63315
|
if (mainArea) {
|
|
63031
63316
|
var drawTop = this.drawTable.drawPageTables[0].y;
|
|
63032
|
-
if (mainArea.contains(this.drawTable.drawPageTables[0]) && this.drawTable.drawPageTables[0] instanceof
|
|
63317
|
+
if (mainArea.contains(this.drawTable.drawPageTables[0]) && this.drawTable.drawPageTables[0] instanceof _editor_draw_drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_39__/* .DrawPageTable */ .ox && this.drawTable.drawPageTables[0].table.drawTable.drawPageTables.indexOf(this.drawTable.drawPageTables[0]) > 0) {
|
|
63033
63318
|
drawTop = 0;
|
|
63034
63319
|
}
|
|
63035
63320
|
hoEditorFactory.drawPageTree.update(mainArea, dpos[0].drawRoots, drawTop, dpos[0].index, dpos[0].index);
|
|
@@ -63114,20 +63399,20 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63114
63399
|
value: function isTotalSelected(arange, bNormalized) {
|
|
63115
63400
|
var ret = false;
|
|
63116
63401
|
var nextNode = this.nextSibling();
|
|
63117
|
-
var startPath =
|
|
63402
|
+
var startPath = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeFirstPath(this);
|
|
63118
63403
|
var newRange = arange;
|
|
63119
63404
|
if (!bNormalized) newRange = arange.normalize();
|
|
63120
|
-
if (nextNode &&
|
|
63405
|
+
if (nextNode && _NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(newRange.startPath, startPath)) {
|
|
63121
63406
|
var nextPath = nextNode.getNodePath();
|
|
63122
|
-
ret =
|
|
63407
|
+
ret = _NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.treePathCompare */ .F.treePathCompare(newRange.startPath, startPath) <= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.treePathCompare */ .F.treePathCompare(newRange.endPath, nextPath) >= 0;
|
|
63123
63408
|
}
|
|
63124
63409
|
return ret;
|
|
63125
63410
|
}
|
|
63126
63411
|
}, {
|
|
63127
63412
|
key: "delete",
|
|
63128
63413
|
value: function _delete(operType) {
|
|
63129
|
-
var hoEditorFactory =
|
|
63130
|
-
if (hoEditorFactory.drawTree.paintStatus ===
|
|
63414
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
63415
|
+
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_37__/* .PaintState.psDesign */ .Dh.psDesign || this.tableProperty.canDeleteTable) {
|
|
63131
63416
|
var parentNodes = this.getParentNodes();
|
|
63132
63417
|
var nextParagraphNode = this.nextSibling();
|
|
63133
63418
|
var ret = false;
|
|
@@ -63167,7 +63452,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63167
63452
|
var ret = null;
|
|
63168
63453
|
if (this._rows[0][0]) {
|
|
63169
63454
|
var tableStartPath = this._rows[0][0].getNodePath();
|
|
63170
|
-
var tableEndPath =
|
|
63455
|
+
var tableEndPath = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(this);
|
|
63171
63456
|
var tablePath = this.getNodePath() + "/";
|
|
63172
63457
|
if (path.startsWith(tablePath)) {
|
|
63173
63458
|
var cellPath = path.substr(tablePath.length, path.length);
|
|
@@ -63262,7 +63547,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63262
63547
|
}, {
|
|
63263
63548
|
key: "getInRangeRowColInfos",
|
|
63264
63549
|
value: function getInRangeRowColInfos(range, bNormalized) {
|
|
63265
|
-
var hoEditorFactory =
|
|
63550
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
63266
63551
|
var aRange = range;
|
|
63267
63552
|
if (!bNormalized) {
|
|
63268
63553
|
aRange = range.normalize();
|
|
@@ -63272,11 +63557,11 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63272
63557
|
var tableEndPath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
63273
63558
|
var tableSelectStart = "";
|
|
63274
63559
|
var tableSelectEnd = "";
|
|
63275
|
-
if (
|
|
63276
|
-
var startCompareStartRet =
|
|
63277
|
-
var startCompareEndRet =
|
|
63278
|
-
var endCompareStartRet =
|
|
63279
|
-
var endCompareEndRet =
|
|
63560
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(tableStartPath, aRange.startPath)) {
|
|
63561
|
+
var startCompareStartRet = _NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.treePathCompare */ .F.treePathCompare(aRange.startPath, tableStartPath);
|
|
63562
|
+
var startCompareEndRet = _NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.treePathCompare */ .F.treePathCompare(aRange.startPath, tableEndPath);
|
|
63563
|
+
var endCompareStartRet = _NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.treePathCompare */ .F.treePathCompare(aRange.endPath, tableStartPath);
|
|
63564
|
+
var endCompareEndRet = _NodePosition__WEBPACK_IMPORTED_MODULE_32__/* .NodePosition.treePathCompare */ .F.treePathCompare(aRange.endPath, tableEndPath);
|
|
63280
63565
|
//table起始位置在选中范围中间
|
|
63281
63566
|
if (startCompareStartRet <= 0 && endCompareStartRet >= 0) {
|
|
63282
63567
|
tableSelectStart = tableStartPath;
|
|
@@ -63519,12 +63804,24 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63519
63804
|
}, {
|
|
63520
63805
|
key: "getTableFullRange",
|
|
63521
63806
|
value: function getTableFullRange() {
|
|
63522
|
-
var hoeditfactory =
|
|
63807
|
+
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
63523
63808
|
var startPath = this._paragraphNode.getNodePath();
|
|
63524
63809
|
var prevNode = this._paragraphNode.prevSibling();
|
|
63525
|
-
|
|
63810
|
+
var nextNode = this.nextSibling();
|
|
63811
|
+
if (prevNode) {
|
|
63812
|
+
if (prevNode instanceof TableNode && nextNode) {
|
|
63813
|
+
var nnextNode = nextNode.nextLeaf();
|
|
63814
|
+
if (!(nnextNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_27__/* .ParagraphNode */ .C)) {
|
|
63815
|
+
startPath = this._paragraphNode.getNodePath();
|
|
63816
|
+
} else {
|
|
63817
|
+
return null;
|
|
63818
|
+
}
|
|
63819
|
+
} else {
|
|
63820
|
+
startPath = hoeditfactory.docTree.getNodeLastPath(prevNode);
|
|
63821
|
+
}
|
|
63822
|
+
}
|
|
63526
63823
|
var endPath = hoeditfactory.docTree.getNodeLastPath(this);
|
|
63527
|
-
return new
|
|
63824
|
+
return new _DomRange__WEBPACK_IMPORTED_MODULE_31__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
|
|
63528
63825
|
}
|
|
63529
63826
|
}, {
|
|
63530
63827
|
key: "getTagNameCn",
|
|
@@ -63544,7 +63841,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63544
63841
|
tableProperty.isUsePopEdit = tableProperty["isUsePopEdit"] || false;
|
|
63545
63842
|
tableProperty.isAutoChangeLine = tableProperty["isAutoChangeLine"] || false;
|
|
63546
63843
|
tableProperty.autoLineHeight = tableProperty["autoLineHeight"] || 0.53;
|
|
63547
|
-
tableProperty.autoLineHeightPx =
|
|
63844
|
+
tableProperty.autoLineHeightPx = _editor_utils_UnitConvert__WEBPACK_IMPORTED_MODULE_38__/* .UnitConvert.instance.mmConversionPx */ .P.instance.mmConversionPx(parseFloat(tableProperty.autoLineHeight) * 10, false);
|
|
63548
63845
|
// console.log("json2node", 1);
|
|
63549
63846
|
var tableNode = new TableNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, Number(json.rowCount), Number(json.colCount), tableProperty);
|
|
63550
63847
|
// console.log("json2node", 2);
|
|
@@ -63637,28 +63934,28 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63637
63934
|
var colProperty = colInfo.colProperty;
|
|
63638
63935
|
if (colProperty) {
|
|
63639
63936
|
if (colProperty.align) {
|
|
63640
|
-
tableNode.colInfos[_i6].colProperty.align = Number(
|
|
63937
|
+
tableNode.colInfos[_i6].colProperty.align = Number(_TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign */ .TR[colProperty.align]);
|
|
63641
63938
|
} else {
|
|
63642
|
-
tableNode.colInfos[_i6].colProperty.align = Number(
|
|
63939
|
+
tableNode.colInfos[_i6].colProperty.align = Number(_TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign */ .TR[defaultColProp.align]);
|
|
63643
63940
|
}
|
|
63644
63941
|
if (colProperty.editorProperty) {
|
|
63645
|
-
tableNode.colInfos[_i6].colProperty.editorProperty = Number(
|
|
63942
|
+
tableNode.colInfos[_i6].colProperty.editorProperty = Number(_TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty */ .YS[colProperty.editorProperty]);
|
|
63646
63943
|
} else {
|
|
63647
|
-
tableNode.colInfos[_i6].colProperty.editorProperty = Number(
|
|
63944
|
+
tableNode.colInfos[_i6].colProperty.editorProperty = Number(_TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .EditorProperty */ .YS[defaultColProp.editorProperty]);
|
|
63648
63945
|
}
|
|
63649
63946
|
tableNode.colInfos[_i6].colProperty.width = colProperty.width ? Number(colProperty.width) : 0;
|
|
63650
63947
|
tableNode.colInfos[_i6].colProperty.isSpecifyWidth = colProperty.isSpecifyWidth;
|
|
63651
63948
|
if (colProperty.downListProperty) {
|
|
63652
|
-
tableNode.colInfos[_i6].colProperty.downListProperty = new
|
|
63949
|
+
tableNode.colInfos[_i6].colProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ColDownListProperty */ .cW(colProperty.downListProperty);
|
|
63653
63950
|
}
|
|
63654
63951
|
if (colProperty.dateTimeProperty) {
|
|
63655
|
-
tableNode.colInfos[_i6].colProperty.dateTimeProperty = new
|
|
63952
|
+
tableNode.colInfos[_i6].colProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .DateTimeProperty */ .Ks(colProperty.dateTimeProperty);
|
|
63656
63953
|
}
|
|
63657
63954
|
if (colProperty.numberProperty) {
|
|
63658
|
-
tableNode.colInfos[_i6].colProperty.numberProperty = new
|
|
63955
|
+
tableNode.colInfos[_i6].colProperty.numberProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .NumberProperty */ .Y6(colProperty.numberProperty);
|
|
63659
63956
|
}
|
|
63660
63957
|
if (colProperty.signProperty) {
|
|
63661
|
-
tableNode.colInfos[_i6].colProperty.signProperty = new
|
|
63958
|
+
tableNode.colInfos[_i6].colProperty.signProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .SignProperty */ .q5(colProperty.signProperty);
|
|
63662
63959
|
}
|
|
63663
63960
|
if (colProperty.customProperties) {
|
|
63664
63961
|
tableNode.colInfos[_i6].colProperty.customProperties = Array.isArray(colProperty.customProperties.customProperty) ? colProperty.customProperties.customProperty : Array(colProperty.customProperties.customProperty);
|
|
@@ -63769,7 +64066,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63769
64066
|
}, {
|
|
63770
64067
|
key: "getSelectTableRowColInfos",
|
|
63771
64068
|
value: function getSelectTableRowColInfos(hoEditorFactoryID, range) {
|
|
63772
|
-
var hoEditorFactory =
|
|
64069
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
|
|
63773
64070
|
var aRange = range.normalize();
|
|
63774
64071
|
var np1 = hoEditorFactory.docTree.findNodePositionByPath(aRange.startPath);
|
|
63775
64072
|
var np2 = hoEditorFactory.docTree.findNodePositionByPath(aRange.endPath);
|
|
@@ -63793,7 +64090,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63793
64090
|
}
|
|
63794
64091
|
}]);
|
|
63795
64092
|
return TableNode;
|
|
63796
|
-
}(
|
|
64093
|
+
}(_RectNode__WEBPACK_IMPORTED_MODULE_28__/* .RectNode */ .z);
|
|
63797
64094
|
|
|
63798
64095
|
/***/ }),
|
|
63799
64096
|
|
|
@@ -63921,7 +64218,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63921
64218
|
/*
|
|
63922
64219
|
* @Author: your name
|
|
63923
64220
|
* @Date: 2020-11-03 15:17:54
|
|
63924
|
-
* @LastEditTime: 2023-
|
|
64221
|
+
* @LastEditTime: 2023-06-30 16:19:32
|
|
63925
64222
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
63926
64223
|
* @Description: In User Settings Edit
|
|
63927
64224
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -64232,7 +64529,7 @@ var DataVerifyFormat = /*#__PURE__*/function () {
|
|
|
64232
64529
|
}]);
|
|
64233
64530
|
return DataVerifyFormat;
|
|
64234
64531
|
}();
|
|
64235
|
-
var BandDataSource = /*#__PURE__*/function () {
|
|
64532
|
+
var BandDataSource = /*#__PURE__*/(/* unused pure expression or super */ null && (function () {
|
|
64236
64533
|
//绑定数据源
|
|
64237
64534
|
//数据源绑定设置有效
|
|
64238
64535
|
//数据源
|
|
@@ -64242,17 +64539,17 @@ var BandDataSource = /*#__PURE__*/function () {
|
|
|
64242
64539
|
//自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
64243
64540
|
//执行状态
|
|
64244
64541
|
function BandDataSource() {
|
|
64245
|
-
(
|
|
64246
|
-
(
|
|
64247
|
-
(
|
|
64248
|
-
(
|
|
64249
|
-
(
|
|
64250
|
-
(
|
|
64251
|
-
(
|
|
64252
|
-
(
|
|
64542
|
+
_classCallCheck(this, BandDataSource);
|
|
64543
|
+
_defineProperty(this, "_dataSourceEnabled", void 0);
|
|
64544
|
+
_defineProperty(this, "_dataSource", void 0);
|
|
64545
|
+
_defineProperty(this, "_format", void 0);
|
|
64546
|
+
_defineProperty(this, "_visitPath", void 0);
|
|
64547
|
+
_defineProperty(this, "_isReadOnly", void 0);
|
|
64548
|
+
_defineProperty(this, "_autoUpdate", void 0);
|
|
64549
|
+
_defineProperty(this, "_executeStatus", void 0);
|
|
64253
64550
|
BandDataSource.setDefaultBandDataSource(this);
|
|
64254
64551
|
}
|
|
64255
|
-
(
|
|
64552
|
+
_createClass(BandDataSource, [{
|
|
64256
64553
|
key: "dataSourceEnabled",
|
|
64257
64554
|
get: function get() {
|
|
64258
64555
|
return this._dataSourceEnabled;
|
|
@@ -64336,7 +64633,7 @@ var BandDataSource = /*#__PURE__*/function () {
|
|
|
64336
64633
|
}
|
|
64337
64634
|
}]);
|
|
64338
64635
|
return BandDataSource;
|
|
64339
|
-
}();
|
|
64636
|
+
}()));
|
|
64340
64637
|
var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
64341
64638
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(TextInputFieldNode, _BaseCombineNode);
|
|
64342
64639
|
var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(TextInputFieldNode);
|
|
@@ -64355,7 +64652,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64355
64652
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_text", '');
|
|
64356
64653
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_name", '');
|
|
64357
64654
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_tipText", '');
|
|
64358
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_readOnlyStatus", ReadOnlyStatus.false);
|
|
64359
64655
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_fixedWidth", 0);
|
|
64360
64656
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isCentered", false);
|
|
64361
64657
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_canModifyContent", true);
|
|
@@ -64364,7 +64660,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64364
64660
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_defaultValue", '');
|
|
64365
64661
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_downListProperty", void 0);
|
|
64366
64662
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_dataVerifyFormat", void 0);
|
|
64367
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_bandDataSource", void 0);
|
|
64368
64663
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_customProperty", void 0);
|
|
64369
64664
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_alignWithBlocked", false);
|
|
64370
64665
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_readType", -1);
|
|
@@ -64382,65 +64677,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64382
64677
|
//this._importStyle = new ImportStyle();
|
|
64383
64678
|
_this._downListProperty = new DownListProperty();
|
|
64384
64679
|
_this._dataVerifyFormat = new DataVerifyFormat();
|
|
64385
|
-
|
|
64386
|
-
//FIXME:测试用,正常时需要删除
|
|
64387
|
-
// valuesObject = `{
|
|
64388
|
-
// "labelText": "请输入",
|
|
64389
|
-
// "text": "123",
|
|
64390
|
-
// "name": "",
|
|
64391
|
-
// "readOnlyStatus": 1,
|
|
64392
|
-
// "fixedWidth": 0,
|
|
64393
|
-
// "canModifyContent": true,
|
|
64394
|
-
// "isAllowDelete": true,
|
|
64395
|
-
// "enableGlobalColor": true,
|
|
64396
|
-
// "defaultValue": "",
|
|
64397
|
-
// "serialID": "20201004153709132968",
|
|
64398
|
-
// "innerCode": "",
|
|
64399
|
-
// "importStyle": {
|
|
64400
|
-
// "_inputContent": 0,
|
|
64401
|
-
// "_allowMultiSelected": false,
|
|
64402
|
-
// "_splitCharacter": "",
|
|
64403
|
-
// "_dynamicLoadList": false,
|
|
64404
|
-
// "_listContent": "",
|
|
64405
|
-
// "_source": "",
|
|
64406
|
-
// "_listItems": "",
|
|
64407
|
-
// "_specialFormat": 0
|
|
64408
|
-
// },
|
|
64409
|
-
// "dataVerifyFormat": {
|
|
64410
|
-
// "_mustInputValue": false,
|
|
64411
|
-
// "_dataFormat": 0,
|
|
64412
|
-
// "_minLength": 0,
|
|
64413
|
-
// "_maxLength": 0,
|
|
64414
|
-
// "_onlyInputInt": false,
|
|
64415
|
-
// "_minValue": 0,
|
|
64416
|
-
// "_maxValue": 0,
|
|
64417
|
-
// "_maxSmallBits": 0,
|
|
64418
|
-
// "_noEarlierTheDate": "2020-11-19T07:37:09.878Z",
|
|
64419
|
-
// "_noLaterTheDate": "2020-11-19T07:37:09.878Z",
|
|
64420
|
-
// "_noEarlierTheTime": "15:37:09 GMT+0800 (中国标准时间)",
|
|
64421
|
-
// "_noLaterTheTime": "15:37:09 GMT+0800 (中国标准时间)"
|
|
64422
|
-
// },
|
|
64423
|
-
// "bandDataSource": {
|
|
64424
|
-
// "_dataSource": "",
|
|
64425
|
-
// "_format": "",
|
|
64426
|
-
// "_visitPath": "",
|
|
64427
|
-
// "_readOnly": false,
|
|
64428
|
-
// "_autoUpdate": false,
|
|
64429
|
-
// "_executeStatus": 0
|
|
64430
|
-
// },
|
|
64431
|
-
// "customProperty": ""
|
|
64432
|
-
// }`
|
|
64680
|
+
//this._bandDataSource = new BandDataSource();
|
|
64433
64681
|
_this._alignWithBlocked = false;
|
|
64434
64682
|
_this._customProperty = new Object();
|
|
64435
|
-
// const valuesObj = eval("(" + valuesObject + ")");
|
|
64436
|
-
// const assignvalue = (target: any, source: any) => {
|
|
64437
|
-
// Object.keys(source).forEach((value) => {
|
|
64438
|
-
// if (typeof target[value] == "object") {
|
|
64439
|
-
// assignvalue(target[value], source[value]);
|
|
64440
|
-
// } else target[value] = source[value];
|
|
64441
|
-
// });
|
|
64442
|
-
// };
|
|
64443
|
-
// assignvalue(this, valuesObj);
|
|
64444
64683
|
_this.setValuesObject(valuesObject);
|
|
64445
64684
|
if (_this.labelText === '') {
|
|
64446
64685
|
if (_this.text === '' && _this.name !== '') {
|
|
@@ -64457,52 +64696,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64457
64696
|
if (!_this._dataId) {
|
|
64458
64697
|
_this._dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_34__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID('Field');
|
|
64459
64698
|
}
|
|
64460
|
-
// const serialID = valuesObj["serialID"];
|
|
64461
|
-
// let name = "";
|
|
64462
|
-
// let readOnlyStatus = ReadOnlyStatus.false;
|
|
64463
|
-
// let fixedWidth = 0;
|
|
64464
|
-
// let canModifyContent = true;
|
|
64465
|
-
// let isAllowDelete = true;
|
|
64466
|
-
// let enableGlobalColor = true;
|
|
64467
|
-
// let defaultValue = "";
|
|
64468
|
-
// let text = "";
|
|
64469
|
-
// if (valuesObj["name"] !== undefined) {
|
|
64470
|
-
// name = valuesObj["name"];
|
|
64471
|
-
// }
|
|
64472
|
-
// if (valuesObj["readOnlyStatus"] !== undefined) {
|
|
64473
|
-
// readOnlyStatus = valuesObj["readOnlyStatus"];
|
|
64474
|
-
// }
|
|
64475
|
-
// if (valuesObj["fixedWidth"] !== undefined) {
|
|
64476
|
-
// fixedWidth = valuesObj["fixedWidth"];
|
|
64477
|
-
// }
|
|
64478
|
-
// if (valuesObj["canModifyContent"] !== undefined) {
|
|
64479
|
-
// canModifyContent = valuesObj["canModifyContent"];
|
|
64480
|
-
// }
|
|
64481
|
-
// if (valuesObj["isAllowDelete"] !== undefined) {
|
|
64482
|
-
// isAllowDelete = valuesObj["isAllowDelete"];
|
|
64483
|
-
// }
|
|
64484
|
-
// if (valuesObj["enableGlobalColor"] !== undefined) {
|
|
64485
|
-
// enableGlobalColor = valuesObj["enableGlobalColor"];
|
|
64486
|
-
// }
|
|
64487
|
-
// if (valuesObj["defaultValue"] !== undefined) {
|
|
64488
|
-
// defaultValue = valuesObj["defaultValue"];
|
|
64489
|
-
// }
|
|
64490
|
-
// if (valuesObj["text"] !== undefined) {
|
|
64491
|
-
// text = valuesObj["text"];
|
|
64492
|
-
// } else {
|
|
64493
|
-
// text = this._labelText;
|
|
64494
|
-
// }
|
|
64495
|
-
// this._innerCode = this.generateInnerCode();
|
|
64496
|
-
// this._serialID = serialID;
|
|
64497
|
-
// this._name = name;
|
|
64498
|
-
// this._readOnlyStatus = readOnlyStatus;
|
|
64499
|
-
// this._fixedWidth = fixedWidth;
|
|
64500
|
-
// this._canModifyContent = canModifyContent;
|
|
64501
|
-
// this._allowDelete = allowDelete;
|
|
64502
|
-
// this._enableGlobalColor = enableGlobalColor;
|
|
64503
|
-
// this._text = text;
|
|
64504
|
-
// this._defaultValue = defaultValue;
|
|
64505
|
-
//this._backShape = new createjs.Shape();
|
|
64506
64699
|
_this.node2DrawNodeRange(0, _this.text.length - 1);
|
|
64507
64700
|
//FIXME:正式使用时下面事件触发要注释掉,这里会在节点被删除后被卡死
|
|
64508
64701
|
// HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.addEventListener(SelectionChangeEvent.eventName, (e: any): boolean => {
|
|
@@ -64531,7 +64724,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64531
64724
|
|
|
64532
64725
|
//名称
|
|
64533
64726
|
//提示文本
|
|
64534
|
-
//内容只读状态
|
|
64727
|
+
//private _readOnlyStatus = ReadOnlyStatus.false; //内容只读状态
|
|
64535
64728
|
//固定宽度(像素)
|
|
64536
64729
|
//固定宽度时 文本是否居中显示
|
|
64537
64730
|
//用户可以直接编辑修改内容
|
|
@@ -64541,7 +64734,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64541
64734
|
//private _importStyle!: ImportStyle;//输入样式
|
|
64542
64735
|
//下拉列表属性
|
|
64543
64736
|
//数据校验格式
|
|
64544
|
-
//绑定数据源
|
|
64737
|
+
//private _bandDataSource!: BandDataSource; //绑定数据源
|
|
64545
64738
|
//自定义属性
|
|
64546
64739
|
|
|
64547
64740
|
//保存类型
|
|
@@ -64740,16 +64933,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64740
64933
|
this._tipText = value;
|
|
64741
64934
|
}
|
|
64742
64935
|
}
|
|
64743
|
-
|
|
64744
|
-
|
|
64745
|
-
|
|
64746
|
-
|
|
64747
|
-
|
|
64748
|
-
|
|
64749
|
-
|
|
64750
|
-
|
|
64751
|
-
}
|
|
64752
|
-
}
|
|
64936
|
+
// get readOnlyStatus(): ReadOnlyStatus {
|
|
64937
|
+
// return this._readOnlyStatus;
|
|
64938
|
+
// }
|
|
64939
|
+
// set readOnlyStatus(value: ReadOnlyStatus) {
|
|
64940
|
+
// if (this._readOnlyStatus !== value) {
|
|
64941
|
+
// this._readOnlyStatus = value;
|
|
64942
|
+
// }
|
|
64943
|
+
// }
|
|
64753
64944
|
}, {
|
|
64754
64945
|
key: "fixedWidth",
|
|
64755
64946
|
get: function get() {
|
|
@@ -64838,16 +65029,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64838
65029
|
this._dataVerifyFormat = value;
|
|
64839
65030
|
}
|
|
64840
65031
|
}
|
|
64841
|
-
|
|
64842
|
-
|
|
64843
|
-
|
|
64844
|
-
|
|
64845
|
-
|
|
64846
|
-
|
|
64847
|
-
|
|
64848
|
-
|
|
64849
|
-
}
|
|
64850
|
-
}
|
|
65032
|
+
// get bandDataSource(): BandDataSource {
|
|
65033
|
+
// return this._bandDataSource;
|
|
65034
|
+
// }
|
|
65035
|
+
// set bandDataSource(value: BandDataSource) {
|
|
65036
|
+
// if (this._bandDataSource !== value) {
|
|
65037
|
+
// this._bandDataSource = value;
|
|
65038
|
+
// }
|
|
65039
|
+
// }
|
|
64851
65040
|
}, {
|
|
64852
65041
|
key: "customProperty",
|
|
64853
65042
|
get: function get() {
|
|
@@ -65776,7 +65965,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65776
65965
|
name: this.name,
|
|
65777
65966
|
tipText: this.tipText,
|
|
65778
65967
|
labelText: this.labelText,
|
|
65779
|
-
readOnlyStatus: this.readOnlyStatus,
|
|
65968
|
+
//readOnlyStatus: this.readOnlyStatus,
|
|
65780
65969
|
fixedWidth: this.fixedWidth,
|
|
65781
65970
|
isCentered: this.isCentered,
|
|
65782
65971
|
canModifyContent: this.canModifyContent,
|
|
@@ -65785,7 +65974,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65785
65974
|
defaultValue: this.defaultValue,
|
|
65786
65975
|
downListProperty: this.downListProperty,
|
|
65787
65976
|
dataVerifyFormat: this.dataVerifyFormat,
|
|
65788
|
-
bandDataSource: this.bandDataSource,
|
|
65977
|
+
//bandDataSource: this.bandDataSource,
|
|
65789
65978
|
customProperty: this.customProperty,
|
|
65790
65979
|
alignWithBlocked: this.alignWithBlocked,
|
|
65791
65980
|
readType: this.readType,
|
|
@@ -65812,7 +66001,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65812
66001
|
name: this.name,
|
|
65813
66002
|
tipText: this.tipText,
|
|
65814
66003
|
labelText: this.labelText,
|
|
65815
|
-
readOnlyStatus: this.readOnlyStatus,
|
|
66004
|
+
//readOnlyStatus: this.readOnlyStatus,
|
|
65816
66005
|
fixedWidth: this.fixedWidth,
|
|
65817
66006
|
isCentered: this.isCentered,
|
|
65818
66007
|
canModifyContent: this.canModifyContent,
|
|
@@ -65821,7 +66010,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65821
66010
|
defaultValue: this.defaultValue,
|
|
65822
66011
|
downListProperty: this.downListProperty,
|
|
65823
66012
|
dataVerifyFormat: this.dataVerifyFormat,
|
|
65824
|
-
bandDataSource: this.bandDataSource,
|
|
66013
|
+
//bandDataSource: this.bandDataSource,
|
|
65825
66014
|
customProperty: this.customProperty,
|
|
65826
66015
|
alignWithBlocked: this.alignWithBlocked,
|
|
65827
66016
|
readType: this.readType,
|
|
@@ -76400,7 +76589,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
76400
76589
|
/*
|
|
76401
76590
|
* @Author: your name
|
|
76402
76591
|
* @Date: 2021-09-01 16:51:49
|
|
76403
|
-
* @LastEditTime: 2023-
|
|
76592
|
+
* @LastEditTime: 2023-07-03 13:58:23
|
|
76404
76593
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
76405
76594
|
* @Description: In User Settings Edit
|
|
76406
76595
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -76466,6 +76655,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76466
76655
|
//this._textStyle = cbStyle.;
|
|
76467
76656
|
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID);
|
|
76468
76657
|
_this.dHeight = hoeditfactory.signHeight;
|
|
76658
|
+
if (imgHeight == 0) {
|
|
76659
|
+
imgHeight = hoeditfactory.signHeight;
|
|
76660
|
+
}
|
|
76469
76661
|
//this.dHeight = 40;
|
|
76470
76662
|
// 处理混乱的类型
|
|
76471
76663
|
if (node.customProperty && node.customProperty.vaq01) {
|
|
@@ -91781,30 +91973,33 @@ var isMap = function isMap(map) {
|
|
|
91781
91973
|
/* harmony export */ });
|
|
91782
91974
|
/* unused harmony exports generateGetBoundingClientRect, createPrintHTMLIframe, resetScale, getUserIP, createRarewordsCanvas */
|
|
91783
91975
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61748);
|
|
91784
|
-
/* harmony import */ var
|
|
91785
|
-
/* harmony import */ var
|
|
91786
|
-
/* harmony import */ var
|
|
91787
|
-
/* harmony import */ var
|
|
91788
|
-
/* harmony import */ var
|
|
91789
|
-
/* harmony import */ var
|
|
91790
|
-
/* harmony import */ var
|
|
91791
|
-
/* harmony import */ var
|
|
91792
|
-
/* harmony import */ var
|
|
91793
|
-
/* harmony import */ var
|
|
91794
|
-
/* harmony import */ var
|
|
91795
|
-
/* harmony import */ var
|
|
91796
|
-
/* harmony import */ var
|
|
91797
|
-
/* harmony import */ var
|
|
91798
|
-
/* harmony import */ var
|
|
91799
|
-
/* harmony import */ var
|
|
91800
|
-
/* harmony import */ var
|
|
91801
|
-
/* harmony import */ var
|
|
91802
|
-
/* harmony import */ var
|
|
91803
|
-
/* harmony import */ var
|
|
91804
|
-
/* harmony import */ var
|
|
91805
|
-
/* harmony import */ var
|
|
91806
|
-
/* harmony import */ var
|
|
91807
|
-
/* harmony import */ var
|
|
91976
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9653);
|
|
91977
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
91978
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74916);
|
|
91979
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
91980
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15306);
|
|
91981
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
91982
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26699);
|
|
91983
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
91984
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(32023);
|
|
91985
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
91986
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91038);
|
|
91987
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
91988
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78783);
|
|
91989
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
91990
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41539);
|
|
91991
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
91992
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(39714);
|
|
91993
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
91994
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(92222);
|
|
91995
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
91996
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(54747);
|
|
91997
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
91998
|
+
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(4723);
|
|
91999
|
+
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
92000
|
+
/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(95551);
|
|
92001
|
+
/* harmony import */ var _editor_utils_UnitConvert__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(91404);
|
|
92002
|
+
|
|
91808
92003
|
|
|
91809
92004
|
|
|
91810
92005
|
|
|
@@ -91899,22 +92094,26 @@ var dateFormatValueList = [{
|
|
|
91899
92094
|
var dateFormat = function dateFormat(date, format) {
|
|
91900
92095
|
var _date;
|
|
91901
92096
|
if (date && typeof date === 'string') {
|
|
91902
|
-
|
|
91903
|
-
|
|
91904
|
-
|
|
91905
|
-
|
|
91906
|
-
|
|
91907
|
-
|
|
91908
|
-
|
|
91909
|
-
|
|
91910
|
-
|
|
91911
|
-
|
|
91912
|
-
|
|
91913
|
-
|
|
91914
|
-
|
|
92097
|
+
if (!isNaN(Number(date))) {
|
|
92098
|
+
_date = toDate(Number(date));
|
|
92099
|
+
} else {
|
|
92100
|
+
var stringDate = date.replace(/[年|月|-]/g, '/');
|
|
92101
|
+
stringDate = stringDate.replace(/[点|时|分]/g, ':');
|
|
92102
|
+
stringDate = stringDate.replace(/[日|秒]/g, '');
|
|
92103
|
+
if (isNaN(new Date(stringDate).getTime())) {
|
|
92104
|
+
if (format && format.includes('MM') && !format.includes('yyyy')) {
|
|
92105
|
+
stringDate = '2021/' + stringDate;
|
|
92106
|
+
}
|
|
92107
|
+
if (format && format.includes('HH') && !format.includes('ss')) {
|
|
92108
|
+
stringDate = stringDate + ':00';
|
|
92109
|
+
stringDate = stringDate.replace('::', ':');
|
|
92110
|
+
}
|
|
92111
|
+
if (!stringDate.includes('/')) {
|
|
92112
|
+
stringDate = '2021/10/01 ' + stringDate;
|
|
92113
|
+
}
|
|
91915
92114
|
}
|
|
92115
|
+
_date = toDate(stringDate);
|
|
91916
92116
|
}
|
|
91917
|
-
_date = toDate(stringDate);
|
|
91918
92117
|
} else {
|
|
91919
92118
|
_date = toDate(date);
|
|
91920
92119
|
}
|
|
@@ -92065,7 +92264,7 @@ var createRightMenu = function createRightMenu(clientX, clientY, rightMenuModal)
|
|
|
92065
92264
|
var virtualElement = {
|
|
92066
92265
|
getBoundingClientRect: generateGetBoundingClientRect(clientX, clientY)
|
|
92067
92266
|
};
|
|
92068
|
-
(0,
|
|
92267
|
+
(0,_popperjs_core__WEBPACK_IMPORTED_MODULE_14__/* .createPopper */ .fi)(virtualElement, rightMenuModal, {
|
|
92069
92268
|
placement: 'bottom-start',
|
|
92070
92269
|
modifiers: [{
|
|
92071
92270
|
name: 'flip',
|
|
@@ -196945,7 +197144,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
196945
197144
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
196946
197145
|
|
|
196947
197146
|
var map = {
|
|
196948
|
-
"./ControlModal.vue":
|
|
197147
|
+
"./ControlModal.vue": 88736,
|
|
196949
197148
|
"./barCode/BarCodes.vue": 20329,
|
|
196950
197149
|
"./colorPicker/HoColorPicker.vue": 91351,
|
|
196951
197150
|
"./colorPicker/HoColorPickers.vue": 84214,
|
|
@@ -196954,7 +197153,7 @@ var map = {
|
|
|
196954
197153
|
"./dataSource/DataSource.vue": 9238,
|
|
196955
197154
|
"./dateDialog/DateDialog.vue": 17237,
|
|
196956
197155
|
"./delimiter/Delimiter.vue": 31861,
|
|
196957
|
-
"./expressionForm/ExpressionForm.vue":
|
|
197156
|
+
"./expressionForm/ExpressionForm.vue": 44603,
|
|
196958
197157
|
"./findReplace/FindReplace.vue": 25918,
|
|
196959
197158
|
"./gestation/Gestation.vue": 6251,
|
|
196960
197159
|
"./hoprint/HoPrint.vue": 62321,
|
|
@@ -236333,7 +236532,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
236333
236532
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
236334
236533
|
var MarkNode = __webpack_require__(57727);
|
|
236335
236534
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
236336
|
-
/* harmony default export */ var version = ('3.0.
|
|
236535
|
+
/* harmony default export */ var version = ('3.0.78');
|
|
236337
236536
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
236338
236537
|
var PoperTipText = __webpack_require__(36081);
|
|
236339
236538
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -244900,7 +245099,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
244900
245099
|
*/
|
|
244901
245100
|
}, {
|
|
244902
245101
|
key: "insertPermanentTeethMap",
|
|
244903
|
-
value: function insertPermanentTeethMap(operType, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
245102
|
+
value: function insertPermanentTeethMap(operType, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected, remark) {
|
|
244904
245103
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
244905
245104
|
if (hoEditorFactory.editController.canIsEdit(hoEditorFactory)) {
|
|
244906
245105
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
@@ -244908,7 +245107,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
244908
245107
|
var endPath = _curDomRange.normalize().endPath;
|
|
244909
245108
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
|
|
244910
245109
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
244911
|
-
hoEditorFactory.docController.insertPermanentTeethMap('add', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
245110
|
+
hoEditorFactory.docController.insertPermanentTeethMap('add', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected, remark);
|
|
244912
245111
|
}
|
|
244913
245112
|
}
|
|
244914
245113
|
}
|
|
@@ -244921,14 +245120,14 @@ var VueController = /*#__PURE__*/function () {
|
|
|
244921
245120
|
*/
|
|
244922
245121
|
}, {
|
|
244923
245122
|
key: "updatePermanentTeethMap",
|
|
244924
|
-
value: function updatePermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
245123
|
+
value: function updatePermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected, remark) {
|
|
244925
245124
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
244926
245125
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
244927
245126
|
var startPath = _curDomRange.normalize().startPath;
|
|
244928
245127
|
var endPath = _curDomRange.normalize().endPath;
|
|
244929
245128
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
|
|
244930
245129
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
244931
|
-
hoEditorFactory.docController.insertPermanentTeethMap('update', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
245130
|
+
hoEditorFactory.docController.insertPermanentTeethMap('update', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected, remark);
|
|
244932
245131
|
}
|
|
244933
245132
|
}
|
|
244934
245133
|
/**
|
|
@@ -247932,7 +248131,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
247932
248131
|
var epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
247933
248132
|
var newSignNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 1, preNode.type, preNode.name === '' ? '签名' : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.signTimeFormat, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, preNode.isTemplate ? preNode.isTemplate : node.isTemplate,
|
|
247934
248133
|
//node.isTemplate,
|
|
247935
|
-
node.styleIndex, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime);
|
|
248134
|
+
node.styleIndex, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime, preNode.fingerPrintSrc, preNode.fingerPosition, preNode.attribute, preNode.connectChar, preNode.otherProperties);
|
|
247936
248135
|
hoEditorFactory.undoService.begin();
|
|
247937
248136
|
hoEditorFactory.undoService.add(new NodesDeleteUndoUnit/* NodesDeleteUndoUnit */.F(this._hoEditorFactoryID, spath, ePath));
|
|
247938
248137
|
if (node.number === 2 || node.number === 1 && node.isTemplate) {
|
|
@@ -250191,7 +250390,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250191
250390
|
};
|
|
250192
250391
|
var rowProperty = {
|
|
250193
250392
|
customProperties: _customProperties,
|
|
250194
|
-
dataSource: rowInfo.rowProperty.dataSource,
|
|
250393
|
+
//dataSource: rowInfo.rowProperty.dataSource,
|
|
250195
250394
|
forcedPageBreak: rowInfo.rowProperty.forcedPageBreak,
|
|
250196
250395
|
isSpecifyHeight: rowInfo.rowProperty.isSpecifyHeight,
|
|
250197
250396
|
printCellBg: rowInfo.rowProperty.printCellBg,
|
|
@@ -250209,11 +250408,13 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250209
250408
|
if (rowInfo.rowProperty.customProperties.length === 0) {
|
|
250210
250409
|
delete rowPropertyJson['customProperties'];
|
|
250211
250410
|
}
|
|
250212
|
-
}
|
|
250213
|
-
|
|
250214
|
-
|
|
250215
|
-
|
|
250216
|
-
}
|
|
250411
|
+
}
|
|
250412
|
+
// else if (keysName[k] === 'dataSource') {
|
|
250413
|
+
// if (rowInfo.rowProperty.dataSource === undefined) {
|
|
250414
|
+
// delete rowPropertyJson['dataSource'];
|
|
250415
|
+
// }
|
|
250416
|
+
// }
|
|
250417
|
+
else {
|
|
250217
250418
|
if (rowPropertyJson[keysName[_k]] === defaultRowPropJson[keysName[_k]]) {
|
|
250218
250419
|
delete rowPropertyJson[keysName[_k]];
|
|
250219
250420
|
}
|
|
@@ -250281,7 +250482,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250281
250482
|
isDrawGridlines: true,
|
|
250282
250483
|
cellInnerMargin: '0,0,0.1,0.1',
|
|
250283
250484
|
customProperties: '',
|
|
250284
|
-
lightCellBorders: false,
|
|
250485
|
+
//lightCellBorders: false,
|
|
250285
250486
|
dataSource: '',
|
|
250286
250487
|
backColor: 'transparent',
|
|
250287
250488
|
editorProperty: TableProperty/* EditorProperty.None */.YS.None,
|
|
@@ -250397,8 +250598,8 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250397
250598
|
isDrawGridlines: node.cellProperty.isDrawGridlines,
|
|
250398
250599
|
cellInnerMargin: node.cellProperty.cellInnerMargin ? node.cellProperty.cellInnerMargin.toString() : '0,0,0.1,0.1',
|
|
250399
250600
|
customProperties: _customProperties3,
|
|
250400
|
-
lightCellBorders: node.cellProperty.lightCellBorders,
|
|
250401
|
-
dataSource: node.cellProperty.dataSource,
|
|
250601
|
+
//lightCellBorders: node.cellProperty.lightCellBorders,
|
|
250602
|
+
//dataSource: node.cellProperty.dataSource,
|
|
250402
250603
|
backColor: node.cellProperty.backColor,
|
|
250403
250604
|
editorProperty: node.cellProperty.editorProperty,
|
|
250404
250605
|
downListProperty: node.cellProperty.downListProperty,
|
|
@@ -250422,11 +250623,13 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250422
250623
|
if (cellPropertyJson['gridLinesColor'] === '#000000,#000000,#000000,#000000') {
|
|
250423
250624
|
delete cellPropertyJson['gridLinesColor'];
|
|
250424
250625
|
}
|
|
250425
|
-
}
|
|
250426
|
-
|
|
250427
|
-
|
|
250428
|
-
|
|
250429
|
-
}
|
|
250626
|
+
}
|
|
250627
|
+
// else if (keysName[k] === 'dataSource') {
|
|
250628
|
+
// if (node.cellProperty.dataSource === undefined || cellPropertyJson['dataSource'] === '') {
|
|
250629
|
+
// delete cellPropertyJson['dataSource'];
|
|
250630
|
+
// }
|
|
250631
|
+
// }
|
|
250632
|
+
else {
|
|
250430
250633
|
if (cellPropertyJson[_keysName[_k3]] === defaultCellPropJson[_keysName[_k3]]) {
|
|
250431
250634
|
delete cellPropertyJson[_keysName[_k3]];
|
|
250432
250635
|
}
|
|
@@ -252216,7 +252419,8 @@ var EditController = /*#__PURE__*/function () {
|
|
|
252216
252419
|
key: "canIsEdit",
|
|
252217
252420
|
value: function canIsEdit(hoEditorFactory) {
|
|
252218
252421
|
var result = true;
|
|
252219
|
-
//hoEditorFactory.isUseForm = true;
|
|
252422
|
+
// hoEditorFactory.isUseForm = true;
|
|
252423
|
+
// hoEditorFactory.allowEditCellInForm = false;
|
|
252220
252424
|
if (hoEditorFactory.isUseForm) {
|
|
252221
252425
|
var _enode$parentNode, _enode$parentNode2;
|
|
252222
252426
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize(); //获取当前选中区域
|
|
@@ -252236,6 +252440,11 @@ var EditController = /*#__PURE__*/function () {
|
|
|
252236
252440
|
if (enode instanceof MarkNode/* MarkNode */.j && enode.MarkNodeType == 2 && (((_enode$parentNode = enode.parentNode) === null || _enode$parentNode === void 0 ? void 0 : _enode$parentNode.parentNode) == null || ((_enode$parentNode2 = enode.parentNode) === null || _enode$parentNode2 === void 0 ? void 0 : _enode$parentNode2.parentNode) instanceof CellNode/* CellNode */.D)) {
|
|
252237
252441
|
result = false;
|
|
252238
252442
|
}
|
|
252443
|
+
if (!hoEditorFactory.allowEditCellInForm) {
|
|
252444
|
+
if ((enode === null || enode === void 0 ? void 0 : enode.parentNode) instanceof CellNode/* CellNode */.D) {
|
|
252445
|
+
result = false;
|
|
252446
|
+
}
|
|
252447
|
+
}
|
|
252239
252448
|
}
|
|
252240
252449
|
if (!result) {
|
|
252241
252450
|
message/* default.destroy */.Z.destroy();
|
|
@@ -256456,6 +256665,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
256456
256665
|
(0,esm_classCallCheck/* default */.Z)(this, HOEditorFactory);
|
|
256457
256666
|
(0,esm_defineProperty/* default */.Z)(this, "_printBlack", void 0);
|
|
256458
256667
|
(0,esm_defineProperty/* default */.Z)(this, "_isUseForm", void 0);
|
|
256668
|
+
(0,esm_defineProperty/* default */.Z)(this, "_allowEditCellInForm", true);
|
|
256459
256669
|
(0,esm_defineProperty/* default */.Z)(this, "_isUseImagePrint", void 0);
|
|
256460
256670
|
(0,esm_defineProperty/* default */.Z)(this, "_isFixedPrintToA4", void 0);
|
|
256461
256671
|
(0,esm_defineProperty/* default */.Z)(this, "_isRotate", void 0);
|
|
@@ -256535,6 +256745,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
256535
256745
|
get:
|
|
256536
256746
|
// 打印时将彩色字体转换成黑色
|
|
256537
256747
|
// 是否启用表单模式
|
|
256748
|
+
//表单模式下是否允许编辑单元格文本
|
|
256538
256749
|
// 是否启用图片打印 默认不启用即使用svg打印
|
|
256539
256750
|
// 是否将病历固定打印到a4纸上 默认不启用,如果启用则不管什么病历都会在打印生成a4尺寸的pdf,将病历居中靠上绘制到pdf上面
|
|
256540
256751
|
// 特殊打印时是否旋转过pdf的context内容
|
|
@@ -256549,7 +256760,6 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
256549
256760
|
// 待加载的图片数量
|
|
256550
256761
|
// 图片加载完成回调
|
|
256551
256762
|
// 获取ai文本函数
|
|
256552
|
-
//private _aiText = ""; // ai文本
|
|
256553
256763
|
|
|
256554
256764
|
// 医生签名图片高度
|
|
256555
256765
|
// 患者签名签字图片高度
|
|
@@ -257207,16 +257417,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
257207
257417
|
key: "aiTextFunc",
|
|
257208
257418
|
get: function get() {
|
|
257209
257419
|
return this._aiTextFunc;
|
|
257210
|
-
}
|
|
257211
|
-
// set aiText(value: string) {
|
|
257212
|
-
// if (this._aiText !== value) {
|
|
257213
|
-
// this._aiText = value;
|
|
257214
|
-
// }
|
|
257215
|
-
// }
|
|
257216
|
-
// get aiText(): string {
|
|
257217
|
-
// return this._aiText;
|
|
257218
|
-
// }
|
|
257219
|
-
,
|
|
257420
|
+
},
|
|
257220
257421
|
set: function set(value) {
|
|
257221
257422
|
if (this._aiTextFunc !== value) {
|
|
257222
257423
|
this._aiTextFunc = value;
|
|
@@ -257312,6 +257513,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
257312
257513
|
this._isUseForm = value;
|
|
257313
257514
|
}
|
|
257314
257515
|
}
|
|
257516
|
+
}, {
|
|
257517
|
+
key: "allowEditCellInForm",
|
|
257518
|
+
get: function get() {
|
|
257519
|
+
return this._allowEditCellInForm;
|
|
257520
|
+
},
|
|
257521
|
+
set: function set(value) {
|
|
257522
|
+
if (this._allowEditCellInForm !== value) {
|
|
257523
|
+
this._allowEditCellInForm = value;
|
|
257524
|
+
}
|
|
257525
|
+
}
|
|
257315
257526
|
}, {
|
|
257316
257527
|
key: "printBlack",
|
|
257317
257528
|
get: function get() {
|
|
@@ -257557,7 +257768,7 @@ var HoFooter_component = (0,componentNormalizer/* default */.Z)(
|
|
|
257557
257768
|
|
|
257558
257769
|
/* harmony default export */ var HoFooter = (HoFooter_component.exports);
|
|
257559
257770
|
// EXTERNAL MODULE: ./src/components/controls/ControlModal.vue + 3 modules
|
|
257560
|
-
var ControlModal = __webpack_require__(
|
|
257771
|
+
var ControlModal = __webpack_require__(88736);
|
|
257561
257772
|
// EXTERNAL MODULE: ./src/components/controls/findReplace/FindReplace.vue + 5 modules
|
|
257562
257773
|
var FindReplace = __webpack_require__(25918);
|
|
257563
257774
|
;// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
@@ -258901,8 +259112,8 @@ var ToolBarvue_type_template_id_529bb754_render = function render() {
|
|
|
258901
259112
|
};
|
|
258902
259113
|
var ToolBarvue_type_template_id_529bb754_staticRenderFns = [];
|
|
258903
259114
|
|
|
258904
|
-
;// 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/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=
|
|
258905
|
-
var
|
|
259115
|
+
;// 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/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=48e0dd30&
|
|
259116
|
+
var HoMedicalExpressionvue_type_template_id_48e0dd30_render = function render() {
|
|
258906
259117
|
var _vm = this,
|
|
258907
259118
|
_c = _vm._self._c;
|
|
258908
259119
|
return _c('div', {
|
|
@@ -259305,6 +259516,10 @@ var HoMedicalExpressionvue_type_template_id_32d7d27f_render = function render()
|
|
|
259305
259516
|
"d": "M 60 0 L 60 60"
|
|
259306
259517
|
}
|
|
259307
259518
|
})])])])]), _c('a-menu-item', {
|
|
259519
|
+
key: "style10"
|
|
259520
|
+
}, [_c('p', {
|
|
259521
|
+
staticClass: "ant-dropdown-item-text"
|
|
259522
|
+
}, [_c('span', [_vm._v("牙位图")])])]), _c('a-menu-item', {
|
|
259308
259523
|
key: "style8"
|
|
259309
259524
|
}, [_c('p', {
|
|
259310
259525
|
staticClass: "ant-dropdown-item-text"
|
|
@@ -259400,7 +259615,7 @@ var HoMedicalExpressionvue_type_template_id_32d7d27f_render = function render()
|
|
|
259400
259615
|
}
|
|
259401
259616
|
})])])])])], 1)], 1)], 2)], 1);
|
|
259402
259617
|
};
|
|
259403
|
-
var
|
|
259618
|
+
var HoMedicalExpressionvue_type_template_id_48e0dd30_staticRenderFns = [];
|
|
259404
259619
|
|
|
259405
259620
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=script&lang=js&
|
|
259406
259621
|
/* harmony default export */ var HoMedicalExpressionvue_type_script_lang_js_ = ({
|
|
@@ -259424,8 +259639,8 @@ var HoMedicalExpressionvue_type_template_id_32d7d27f_staticRenderFns = [];
|
|
|
259424
259639
|
;
|
|
259425
259640
|
var HoMedicalExpression_component = (0,componentNormalizer/* default */.Z)(
|
|
259426
259641
|
insert_HoMedicalExpressionvue_type_script_lang_js_,
|
|
259427
|
-
|
|
259428
|
-
|
|
259642
|
+
HoMedicalExpressionvue_type_template_id_48e0dd30_render,
|
|
259643
|
+
HoMedicalExpressionvue_type_template_id_48e0dd30_staticRenderFns,
|
|
259429
259644
|
false,
|
|
259430
259645
|
null,
|
|
259431
259646
|
null,
|
|
@@ -265615,7 +265830,11 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265615
265830
|
this.expressStyle = 'style7';
|
|
265616
265831
|
this.updateNodeValue = [node.value1, node.value2, node.value3, node.value4, node.value5, node.value6];
|
|
265617
265832
|
} else if (node instanceof PermanentTeethMapNode/* PermanentTeethMapNode */.f) {
|
|
265618
|
-
|
|
265833
|
+
if (node.remark == 'teeth') {
|
|
265834
|
+
this.expressStyle = 'style10';
|
|
265835
|
+
} else {
|
|
265836
|
+
this.expressStyle = 'style8';
|
|
265837
|
+
}
|
|
265619
265838
|
this.updateNodeValue = [node.topLeftSelected, node.topRightSelected, node.bottomLeftSelected, node.bottomRightSelected];
|
|
265620
265839
|
} else if (node instanceof PrimaryTeethMapNode/* PrimaryTeethMapNode */.x) {
|
|
265621
265840
|
this.expressStyle = 'style9';
|