hoeditor-web 3.0.85 → 3.0.87
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 +13026 -2
- package/lib/hoeditor.umd.js +347 -105
- package/lib/hoeditor.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -13500,7 +13500,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13500
13500
|
|
|
13501
13501
|
/***/ }),
|
|
13502
13502
|
|
|
13503
|
-
/***/
|
|
13503
|
+
/***/ 8632:
|
|
13504
13504
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13505
13505
|
|
|
13506
13506
|
"use strict";
|
|
@@ -13512,14 +13512,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13512
13512
|
"default": function() { return /* binding */ RadioCheckbox; }
|
|
13513
13513
|
});
|
|
13514
13514
|
|
|
13515
|
-
|
|
13515
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
13516
|
+
var es_function_name = __webpack_require__(68309);
|
|
13517
|
+
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=0d790650&
|
|
13518
|
+
|
|
13516
13519
|
var render = function render() {
|
|
13517
13520
|
var _vm = this,
|
|
13518
13521
|
_c = _vm._self._c;
|
|
13519
13522
|
return _c('div', {
|
|
13520
13523
|
class: 'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,
|
|
13521
13524
|
style: {
|
|
13522
|
-
width: _vm.boxGroup === 1 ? '
|
|
13525
|
+
width: _vm.boxGroup === 1 ? '1160px' : '500px'
|
|
13523
13526
|
}
|
|
13524
13527
|
}, [_c('header', {
|
|
13525
13528
|
staticClass: "modal-title"
|
|
@@ -13661,7 +13664,7 @@ var render = function render() {
|
|
|
13661
13664
|
key: "tipText",
|
|
13662
13665
|
attrs: {
|
|
13663
13666
|
"title": "提示文本",
|
|
13664
|
-
"width":
|
|
13667
|
+
"width": 80
|
|
13665
13668
|
},
|
|
13666
13669
|
scopedSlots: _vm._u([{
|
|
13667
13670
|
key: "default",
|
|
@@ -13709,7 +13712,7 @@ var render = function render() {
|
|
|
13709
13712
|
key: "innerIdentifier",
|
|
13710
13713
|
attrs: {
|
|
13711
13714
|
"title": "内部标识符",
|
|
13712
|
-
"width":
|
|
13715
|
+
"width": 80
|
|
13713
13716
|
},
|
|
13714
13717
|
scopedSlots: _vm._u([{
|
|
13715
13718
|
key: "default",
|
|
@@ -13733,7 +13736,7 @@ var render = function render() {
|
|
|
13733
13736
|
key: "dataMetaIdentifier",
|
|
13734
13737
|
attrs: {
|
|
13735
13738
|
"title": "数据元标识符",
|
|
13736
|
-
"width":
|
|
13739
|
+
"width": 80
|
|
13737
13740
|
},
|
|
13738
13741
|
scopedSlots: _vm._u([{
|
|
13739
13742
|
key: "default",
|
|
@@ -13757,7 +13760,7 @@ var render = function render() {
|
|
|
13757
13760
|
key: "identifierFormat",
|
|
13758
13761
|
attrs: {
|
|
13759
13762
|
"title": "表示格式",
|
|
13760
|
-
"width":
|
|
13763
|
+
"width": 80
|
|
13761
13764
|
},
|
|
13762
13765
|
scopedSlots: _vm._u([{
|
|
13763
13766
|
key: "default",
|
|
@@ -13903,6 +13906,48 @@ var render = function render() {
|
|
|
13903
13906
|
})];
|
|
13904
13907
|
}
|
|
13905
13908
|
}], null, false, 3493846107)
|
|
13909
|
+
}), _c('a-table-column', {
|
|
13910
|
+
key: "associatedElement",
|
|
13911
|
+
attrs: {
|
|
13912
|
+
"title": "关联后元素必填",
|
|
13913
|
+
"width": 260
|
|
13914
|
+
},
|
|
13915
|
+
scopedSlots: _vm._u([{
|
|
13916
|
+
key: "default",
|
|
13917
|
+
fn: function fn(text, record) {
|
|
13918
|
+
return [_c('a-select', {
|
|
13919
|
+
staticStyle: {
|
|
13920
|
+
"text-align": "left",
|
|
13921
|
+
"width": "100%"
|
|
13922
|
+
},
|
|
13923
|
+
attrs: {
|
|
13924
|
+
"showSearch": "",
|
|
13925
|
+
"allowClear": "",
|
|
13926
|
+
"placeholder": "请选择需要关联的元素"
|
|
13927
|
+
},
|
|
13928
|
+
model: {
|
|
13929
|
+
value: record.associatedElement,
|
|
13930
|
+
callback: function callback($$v) {
|
|
13931
|
+
_vm.$set(record, "associatedElement", $$v);
|
|
13932
|
+
},
|
|
13933
|
+
expression: "record.associatedElement"
|
|
13934
|
+
}
|
|
13935
|
+
}, _vm._l(_vm.nodeList, function (node, index) {
|
|
13936
|
+
return _c('a-select-option', {
|
|
13937
|
+
key: node.name + '___' + node.dataId + '___' + index,
|
|
13938
|
+
attrs: {
|
|
13939
|
+
"value": node.dataId
|
|
13940
|
+
}
|
|
13941
|
+
}, [_c('div', {
|
|
13942
|
+
staticStyle: {
|
|
13943
|
+
"display": "flex",
|
|
13944
|
+
"justify-content": "space-between",
|
|
13945
|
+
"font-size": "12px"
|
|
13946
|
+
}
|
|
13947
|
+
}, [_c('span', [_vm._v(_vm._s(node.name))]), _c('span', [_vm._v(_vm._s(node.dataId))])])]);
|
|
13948
|
+
}), 1)];
|
|
13949
|
+
}
|
|
13950
|
+
}], null, false, 2145354177)
|
|
13906
13951
|
}), _c('a-table-column', {
|
|
13907
13952
|
key: "opt",
|
|
13908
13953
|
attrs: {
|
|
@@ -14113,7 +14158,42 @@ var render = function render() {
|
|
|
14113
14158
|
},
|
|
14114
14159
|
expression: "radioCheckBox.additionalData"
|
|
14115
14160
|
}
|
|
14116
|
-
})], 1)
|
|
14161
|
+
})], 1), _c('li', {
|
|
14162
|
+
staticClass: "control-item"
|
|
14163
|
+
}, [_c('span', {
|
|
14164
|
+
staticClass: "label"
|
|
14165
|
+
}, [_vm._v("关联后元素必填")]), _c('a-select', {
|
|
14166
|
+
staticStyle: {
|
|
14167
|
+
"text-align": "left"
|
|
14168
|
+
},
|
|
14169
|
+
attrs: {
|
|
14170
|
+
"getPopupContainer": function getPopupContainer(triggerNode) {
|
|
14171
|
+
return triggerNode.parentNode;
|
|
14172
|
+
},
|
|
14173
|
+
"showSearch": "",
|
|
14174
|
+
"allowClear": "",
|
|
14175
|
+
"placeholder": "关联后元素必填"
|
|
14176
|
+
},
|
|
14177
|
+
model: {
|
|
14178
|
+
value: _vm.radioCheckBox.associatedElement,
|
|
14179
|
+
callback: function callback($$v) {
|
|
14180
|
+
_vm.$set(_vm.radioCheckBox, "associatedElement", $$v);
|
|
14181
|
+
},
|
|
14182
|
+
expression: "radioCheckBox.associatedElement"
|
|
14183
|
+
}
|
|
14184
|
+
}, _vm._l(_vm.nodeList, function (node, index) {
|
|
14185
|
+
return _c('a-select-option', {
|
|
14186
|
+
key: node.name + '___' + node.dataId + '___' + index,
|
|
14187
|
+
attrs: {
|
|
14188
|
+
"value": node.dataId
|
|
14189
|
+
}
|
|
14190
|
+
}, [_c('div', {
|
|
14191
|
+
staticStyle: {
|
|
14192
|
+
"display": "flex",
|
|
14193
|
+
"justify-content": "space-between"
|
|
14194
|
+
}
|
|
14195
|
+
}, [_c('span', [_vm._v(_vm._s(node.name))]), _c('span', [_vm._v(_vm._s(node.dataId))])])]);
|
|
14196
|
+
}), 1)], 1)] : _vm._e()], 2)]), _c('footer', {
|
|
14117
14197
|
staticClass: "ho-modal-footer"
|
|
14118
14198
|
}, [_vm.boxGroup === 1 ? _c('a-button', {
|
|
14119
14199
|
staticStyle: {
|
|
@@ -14143,6 +14223,8 @@ var render = function render() {
|
|
|
14143
14223
|
};
|
|
14144
14224
|
var staticRenderFns = [];
|
|
14145
14225
|
|
|
14226
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=0d790650&
|
|
14227
|
+
|
|
14146
14228
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14147
14229
|
var objectSpread2 = __webpack_require__(63442);
|
|
14148
14230
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
@@ -14165,6 +14247,10 @@ var es_array_splice = __webpack_require__(40561);
|
|
|
14165
14247
|
var RadioAndCheckBoxNode = __webpack_require__(99152);
|
|
14166
14248
|
// EXTERNAL MODULE: ./src/HOEditorFactorys.ts
|
|
14167
14249
|
var HOEditorFactorys = __webpack_require__(74089);
|
|
14250
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
14251
|
+
var TextInputFieldNode = __webpack_require__(90161);
|
|
14252
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/BaseCombineNode.ts
|
|
14253
|
+
var BaseCombineNode = __webpack_require__(4938);
|
|
14168
14254
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
14169
14255
|
|
|
14170
14256
|
|
|
@@ -14177,9 +14263,12 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
14177
14263
|
|
|
14178
14264
|
|
|
14179
14265
|
|
|
14266
|
+
|
|
14267
|
+
|
|
14268
|
+
|
|
14180
14269
|
var defaultBox = {
|
|
14181
14270
|
id: '',
|
|
14182
|
-
dataId:
|
|
14271
|
+
dataId: '',
|
|
14183
14272
|
title: '',
|
|
14184
14273
|
groupName: '',
|
|
14185
14274
|
controlStyle: '',
|
|
@@ -14204,7 +14293,8 @@ var defaultBox = {
|
|
|
14204
14293
|
readType: false,
|
|
14205
14294
|
isTransToText: false,
|
|
14206
14295
|
isEditText: false,
|
|
14207
|
-
groupHasOptions: false
|
|
14296
|
+
groupHasOptions: false,
|
|
14297
|
+
associatedElement: ''
|
|
14208
14298
|
};
|
|
14209
14299
|
/* harmony default export */ var RadioCheckboxvue_type_script_lang_js_ = ({
|
|
14210
14300
|
name: 'RadioCheckBox',
|
|
@@ -14220,7 +14310,8 @@ var defaultBox = {
|
|
|
14220
14310
|
dynamicTags: [],
|
|
14221
14311
|
inputVisible: false,
|
|
14222
14312
|
inputValue: '',
|
|
14223
|
-
saveTagInput: null
|
|
14313
|
+
saveTagInput: null,
|
|
14314
|
+
nodeList: []
|
|
14224
14315
|
};
|
|
14225
14316
|
},
|
|
14226
14317
|
inject: {
|
|
@@ -14252,9 +14343,11 @@ var defaultBox = {
|
|
|
14252
14343
|
},
|
|
14253
14344
|
created: function created() {
|
|
14254
14345
|
var _this = this;
|
|
14346
|
+
this.nodeList = this.getTextFieldNode();
|
|
14255
14347
|
if (this.controlStatus === 'update') {
|
|
14348
|
+
var _updateNode$value;
|
|
14256
14349
|
var updateNode = this.getRadioCheckNode();
|
|
14257
|
-
if (updateNode.value.groupName) {
|
|
14350
|
+
if ((_updateNode$value = updateNode.value) !== null && _updateNode$value !== void 0 && _updateNode$value.groupName) {
|
|
14258
14351
|
updateNode.valueList.forEach(function (v) {
|
|
14259
14352
|
var value = {
|
|
14260
14353
|
id: v.id,
|
|
@@ -14296,6 +14389,29 @@ var defaultBox = {
|
|
|
14296
14389
|
}
|
|
14297
14390
|
},
|
|
14298
14391
|
methods: {
|
|
14392
|
+
getTextFieldNode: function getTextFieldNode() {
|
|
14393
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
|
|
14394
|
+
var ret = [];
|
|
14395
|
+
var getAllNodes = function getAllNodes(nodes) {
|
|
14396
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
14397
|
+
var node = nodes[i];
|
|
14398
|
+
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
14399
|
+
if (node.name == '单次用量') {}
|
|
14400
|
+
ret.push({
|
|
14401
|
+
dataId: node.dataId,
|
|
14402
|
+
name: node.name,
|
|
14403
|
+
text: node.text
|
|
14404
|
+
});
|
|
14405
|
+
}
|
|
14406
|
+
if (node instanceof BaseCombineNode/* BaseCombineNode */.V) {
|
|
14407
|
+
getAllNodes(node.childNodes);
|
|
14408
|
+
}
|
|
14409
|
+
}
|
|
14410
|
+
};
|
|
14411
|
+
var mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
14412
|
+
getAllNodes(mainNodes);
|
|
14413
|
+
return ret;
|
|
14414
|
+
},
|
|
14299
14415
|
defaultSelectChange: function defaultSelectChange(index) {
|
|
14300
14416
|
if (this.controlType === 'RadioBox') {
|
|
14301
14417
|
this.radioCheckBoxGroup.map(function (v, key) {
|
|
@@ -14309,8 +14425,8 @@ var defaultBox = {
|
|
|
14309
14425
|
}
|
|
14310
14426
|
},
|
|
14311
14427
|
getRadioCheckNode: function getRadioCheckNode() {
|
|
14312
|
-
var _hoEditorFactory$vueC;
|
|
14313
|
-
var value =
|
|
14428
|
+
var _hoEditorFactory$vueC, _value;
|
|
14429
|
+
var value = {};
|
|
14314
14430
|
var valueList = [];
|
|
14315
14431
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
|
|
14316
14432
|
var path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
|
|
@@ -14319,7 +14435,7 @@ var defaultBox = {
|
|
|
14319
14435
|
if (node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) {
|
|
14320
14436
|
value = node;
|
|
14321
14437
|
}
|
|
14322
|
-
if (value.groupName) {
|
|
14438
|
+
if ((_value = value) !== null && _value !== void 0 && _value.groupName) {
|
|
14323
14439
|
radioAndCheckBoxs.forEach(function (v) {
|
|
14324
14440
|
if (v.groupName === value.groupName && v.controlStyle === value.controlStyle) {
|
|
14325
14441
|
valueList.push(v);
|
|
@@ -14409,10 +14525,10 @@ var defaultBox = {
|
|
|
14409
14525
|
});
|
|
14410
14526
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
14411
14527
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
14412
|
-
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14528
|
+
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=0d790650&prod&lang=scss&
|
|
14413
14529
|
// extracted by mini-css-extract-plugin
|
|
14414
14530
|
|
|
14415
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14531
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=0d790650&prod&lang=scss&
|
|
14416
14532
|
|
|
14417
14533
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
14418
14534
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -16597,7 +16713,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
16597
16713
|
|
|
16598
16714
|
/***/ }),
|
|
16599
16715
|
|
|
16600
|
-
/***/
|
|
16716
|
+
/***/ 63718:
|
|
16601
16717
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
16602
16718
|
|
|
16603
16719
|
"use strict";
|
|
@@ -16613,7 +16729,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16613
16729
|
var es_array_includes = __webpack_require__(26699);
|
|
16614
16730
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
16615
16731
|
var es_string_includes = __webpack_require__(32023);
|
|
16616
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
16732
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=c8ad1234&
|
|
16617
16733
|
|
|
16618
16734
|
|
|
16619
16735
|
var render = function render() {
|
|
@@ -17447,7 +17563,7 @@ var render = function render() {
|
|
|
17447
17563
|
};
|
|
17448
17564
|
var staticRenderFns = [];
|
|
17449
17565
|
|
|
17450
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
17566
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=c8ad1234&
|
|
17451
17567
|
|
|
17452
17568
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
17453
17569
|
var slicedToArray = __webpack_require__(27222);
|
|
@@ -17845,10 +17961,10 @@ var columns = [{
|
|
|
17845
17961
|
});
|
|
17846
17962
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=js&
|
|
17847
17963
|
/* harmony default export */ var table_TableCellPropertyvue_type_script_lang_js_ = (TableCellPropertyvue_type_script_lang_js_);
|
|
17848
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
17964
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=c8ad1234&prod&lang=scss&
|
|
17849
17965
|
// extracted by mini-css-extract-plugin
|
|
17850
17966
|
|
|
17851
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
17967
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=c8ad1234&prod&lang=scss&
|
|
17852
17968
|
|
|
17853
17969
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
17854
17970
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -47167,13 +47283,13 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
47167
47283
|
/*
|
|
47168
47284
|
* @Author: your name
|
|
47169
47285
|
* @Date: 2020-12-24 16:01:16
|
|
47170
|
-
* @LastEditTime: 2023-07-
|
|
47286
|
+
* @LastEditTime: 2023-07-19 09:53:35
|
|
47171
47287
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
47172
47288
|
* @Description: In User Settings Edit
|
|
47173
47289
|
* @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
|
|
47174
47290
|
*/
|
|
47175
47291
|
var TableProperty = /*#__PURE__*/function () {
|
|
47176
|
-
//编号
|
|
47292
|
+
//private _id!: string; //编号
|
|
47177
47293
|
//自定义属性
|
|
47178
47294
|
//用户可调整行高
|
|
47179
47295
|
//用户可调整行宽
|
|
@@ -47190,7 +47306,6 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
47190
47306
|
//是否启用表单弹框编辑
|
|
47191
47307
|
function TableProperty(objectValues) {
|
|
47192
47308
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, TableProperty);
|
|
47193
|
-
(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);
|
|
47194
47309
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
47195
47310
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_canAdjustRowHeight", false);
|
|
47196
47311
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_canAdjustRowWidth", false);
|
|
@@ -47224,15 +47339,13 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
47224
47339
|
assignvalue(this, valuesObj);
|
|
47225
47340
|
}
|
|
47226
47341
|
}
|
|
47342
|
+
// get id(): string {
|
|
47343
|
+
// return this._id;
|
|
47344
|
+
// }
|
|
47345
|
+
// set id(value: string) {
|
|
47346
|
+
// this._id = value;
|
|
47347
|
+
// }
|
|
47227
47348
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(TableProperty, [{
|
|
47228
|
-
key: "id",
|
|
47229
|
-
get: function get() {
|
|
47230
|
-
return this._id;
|
|
47231
|
-
},
|
|
47232
|
-
set: function set(value) {
|
|
47233
|
-
this._id = value;
|
|
47234
|
-
}
|
|
47235
|
-
}, {
|
|
47236
47349
|
key: "customProperties",
|
|
47237
47350
|
get: function get() {
|
|
47238
47351
|
return this._customProperties;
|
|
@@ -47762,7 +47875,7 @@ var EditorProperty;
|
|
|
47762
47875
|
EditorProperty[EditorProperty["Textarea"] = 5] = "Textarea";
|
|
47763
47876
|
})(EditorProperty || (EditorProperty = {})); //编辑器属性 {无,下拉列表,日期,数值,签名,输入域}
|
|
47764
47877
|
var ColProperty = /*#__PURE__*/function () {
|
|
47765
|
-
|
|
47878
|
+
//private _id!: string;//编号
|
|
47766
47879
|
//编辑器属性
|
|
47767
47880
|
//垂直对齐方式,
|
|
47768
47881
|
//宽度
|
|
@@ -47773,7 +47886,6 @@ var ColProperty = /*#__PURE__*/function () {
|
|
|
47773
47886
|
function ColProperty(objectValues //, table: TableNode
|
|
47774
47887
|
) {
|
|
47775
47888
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, ColProperty);
|
|
47776
|
-
(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);
|
|
47777
47889
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_editorProperty", EditorProperty.None);
|
|
47778
47890
|
(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);
|
|
47779
47891
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_width", 0);
|
|
@@ -47815,15 +47927,13 @@ var ColProperty = /*#__PURE__*/function () {
|
|
|
47815
47927
|
}
|
|
47816
47928
|
}
|
|
47817
47929
|
}
|
|
47930
|
+
// get id(): string {
|
|
47931
|
+
// return this._id;
|
|
47932
|
+
// }
|
|
47933
|
+
// set id(value: string) {
|
|
47934
|
+
// this._id = value;
|
|
47935
|
+
// }
|
|
47818
47936
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(ColProperty, [{
|
|
47819
|
-
key: "id",
|
|
47820
|
-
get: function get() {
|
|
47821
|
-
return this._id;
|
|
47822
|
-
},
|
|
47823
|
-
set: function set(value) {
|
|
47824
|
-
this._id = value;
|
|
47825
|
-
}
|
|
47826
|
-
}, {
|
|
47827
47937
|
key: "editorProperty",
|
|
47828
47938
|
get: function get() {
|
|
47829
47939
|
return this._editorProperty;
|
|
@@ -47926,9 +48036,9 @@ var DiagonalType;
|
|
|
47926
48036
|
DiagonalType[DiagonalType["Right"] = 2] = "Right";
|
|
47927
48037
|
})(DiagonalType || (DiagonalType = {}));
|
|
47928
48038
|
var CellProperty = /*#__PURE__*/function () {
|
|
47929
|
-
|
|
48039
|
+
//private _id!: string;//编号
|
|
47930
48040
|
//private _lightCellBorders = false;//突出显示单元格边框
|
|
47931
|
-
|
|
48041
|
+
//private _title = "";//标题
|
|
47932
48042
|
//自定义属性
|
|
47933
48043
|
//private _dataSource!: DataSource;//数据源
|
|
47934
48044
|
//垂直对齐方式
|
|
@@ -47947,8 +48057,6 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
47947
48057
|
function CellProperty(objectValues //, table: TableNode
|
|
47948
48058
|
) {
|
|
47949
48059
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, CellProperty);
|
|
47950
|
-
(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);
|
|
47951
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_title", "");
|
|
47952
48060
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
47953
48061
|
(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);
|
|
47954
48062
|
(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]);
|
|
@@ -48004,29 +48112,25 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
48004
48112
|
}
|
|
48005
48113
|
}
|
|
48006
48114
|
}
|
|
48115
|
+
// get id(): string {
|
|
48116
|
+
// return this._id;
|
|
48117
|
+
// }
|
|
48118
|
+
// set id(value: string) {
|
|
48119
|
+
// this._id = value;
|
|
48120
|
+
// }
|
|
48121
|
+
// get lightCellBorders(): boolean {
|
|
48122
|
+
// return this._lightCellBorders;
|
|
48123
|
+
// }
|
|
48124
|
+
// set lightCellBorders(value: boolean) {
|
|
48125
|
+
// this._lightCellBorders = value;
|
|
48126
|
+
// }
|
|
48127
|
+
// get title(): string {
|
|
48128
|
+
// return this._title;
|
|
48129
|
+
// }
|
|
48130
|
+
// set title(value: string) {
|
|
48131
|
+
// this._title = value;
|
|
48132
|
+
// }
|
|
48007
48133
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(CellProperty, [{
|
|
48008
|
-
key: "id",
|
|
48009
|
-
get: function get() {
|
|
48010
|
-
return this._id;
|
|
48011
|
-
},
|
|
48012
|
-
set: function set(value) {
|
|
48013
|
-
this._id = value;
|
|
48014
|
-
}
|
|
48015
|
-
// get lightCellBorders(): boolean {
|
|
48016
|
-
// return this._lightCellBorders;
|
|
48017
|
-
// }
|
|
48018
|
-
// set lightCellBorders(value: boolean) {
|
|
48019
|
-
// this._lightCellBorders = value;
|
|
48020
|
-
// }
|
|
48021
|
-
}, {
|
|
48022
|
-
key: "title",
|
|
48023
|
-
get: function get() {
|
|
48024
|
-
return this._title;
|
|
48025
|
-
},
|
|
48026
|
-
set: function set(value) {
|
|
48027
|
-
this._title = value;
|
|
48028
|
-
}
|
|
48029
|
-
}, {
|
|
48030
48134
|
key: "customProperties",
|
|
48031
48135
|
get: function get() {
|
|
48032
48136
|
return this._customProperties;
|
|
@@ -48198,7 +48302,7 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
48198
48302
|
/*
|
|
48199
48303
|
* @Author: your name
|
|
48200
48304
|
* @Date: 2021-01-20 10:18:55
|
|
48201
|
-
* @LastEditTime: 2023-
|
|
48305
|
+
* @LastEditTime: 2023-07-18 16:01:49
|
|
48202
48306
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
48203
48307
|
* @Description: In User Settings Edit
|
|
48204
48308
|
* @FilePath: \hoeditor-web\src\editor\dom\domNode\Comment.ts
|
|
@@ -48213,6 +48317,7 @@ var Comment = /*#__PURE__*/function () {
|
|
|
48213
48317
|
|
|
48214
48318
|
// 自定义属性 处理插入批注时带上的评分内容和插入批注后下级医生是否确认处理批注内容
|
|
48215
48319
|
|
|
48320
|
+
//是否已处理(标记)
|
|
48216
48321
|
function Comment(hoEditorFactoryID, id, text, endNode, source) {
|
|
48217
48322
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, Comment);
|
|
48218
48323
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_id", '');
|
|
@@ -48225,6 +48330,7 @@ var Comment = /*#__PURE__*/function () {
|
|
|
48225
48330
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_hoEditorFactoryID", void 0);
|
|
48226
48331
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_customProperty", void 0);
|
|
48227
48332
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_permissionLevel", void 0);
|
|
48333
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_isProcessed", false);
|
|
48228
48334
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
48229
48335
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_5__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
48230
48336
|
this._id = id;
|
|
@@ -48262,6 +48368,16 @@ var Comment = /*#__PURE__*/function () {
|
|
|
48262
48368
|
this._customProperty = value;
|
|
48263
48369
|
}
|
|
48264
48370
|
}
|
|
48371
|
+
}, {
|
|
48372
|
+
key: "isProcessed",
|
|
48373
|
+
get: function get() {
|
|
48374
|
+
return this._isProcessed;
|
|
48375
|
+
},
|
|
48376
|
+
set: function set(value) {
|
|
48377
|
+
if (this._isProcessed !== value) {
|
|
48378
|
+
this._isProcessed = value;
|
|
48379
|
+
}
|
|
48380
|
+
}
|
|
48265
48381
|
}, {
|
|
48266
48382
|
key: "text",
|
|
48267
48383
|
get: function get() {
|
|
@@ -51943,7 +52059,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
51943
52059
|
customProperty: Array(this.cellProperty.customProperties)
|
|
51944
52060
|
};
|
|
51945
52061
|
var cellProperty = {
|
|
51946
|
-
title: this.cellProperty.title,
|
|
52062
|
+
//title: this.cellProperty.title,
|
|
51947
52063
|
align: Number(this.cellProperty.align || 0),
|
|
51948
52064
|
obliqueSplitLine: Number(this.cellProperty.obliqueSplitLine || 0),
|
|
51949
52065
|
//ObliqueSplitLine[Number(this.cellProperty.obliqueSplitLine || 0)],
|
|
@@ -59046,6 +59162,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59046
59162
|
//追加文本
|
|
59047
59163
|
//内容是否转成文本节点
|
|
59048
59164
|
//同组保存时必须有选项不能全部为空
|
|
59165
|
+
//关联元素id
|
|
59049
59166
|
function RadioAndCheckBoxInstance() {
|
|
59050
59167
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, RadioAndCheckBoxInstance);
|
|
59051
59168
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "id", void 0);
|
|
@@ -59067,6 +59184,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59067
59184
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "appendText", "");
|
|
59068
59185
|
(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);
|
|
59069
59186
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "groupHasOptions", false);
|
|
59187
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(this, "associatedElement", "");
|
|
59070
59188
|
RadioAndCheckBoxInstance.makeDefaultValue(this);
|
|
59071
59189
|
}
|
|
59072
59190
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z)(RadioAndCheckBoxInstance, [{
|
|
@@ -59265,6 +59383,16 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59265
59383
|
this.groupHasOptions = value;
|
|
59266
59384
|
}
|
|
59267
59385
|
}
|
|
59386
|
+
}, {
|
|
59387
|
+
key: "AssociatedElement",
|
|
59388
|
+
get: function get() {
|
|
59389
|
+
return this.associatedElement;
|
|
59390
|
+
},
|
|
59391
|
+
set: function set(value) {
|
|
59392
|
+
if (this.associatedElement !== value) {
|
|
59393
|
+
this.associatedElement = value;
|
|
59394
|
+
}
|
|
59395
|
+
}
|
|
59268
59396
|
// get BandDataSource(): BandDataSource {
|
|
59269
59397
|
// return this.bandDataSource;
|
|
59270
59398
|
// }
|
|
@@ -59307,6 +59435,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59307
59435
|
ret.appendText = "";
|
|
59308
59436
|
ret.isTransToText = false;
|
|
59309
59437
|
ret.groupHasOptions = false;
|
|
59438
|
+
ret.associatedElement = "";
|
|
59310
59439
|
return ret;
|
|
59311
59440
|
}
|
|
59312
59441
|
}]);
|
|
@@ -59326,6 +59455,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
59326
59455
|
//追加文本
|
|
59327
59456
|
//内容是否转成文本
|
|
59328
59457
|
//同组保存时必须有选项不能全部为空
|
|
59458
|
+
//关联元素id
|
|
59329
59459
|
function RadioAndCheckBoxNode(hoEditorFactoryID, rootNodes, pNode, nodeType, valuesObject, styleIndex //, backColor: string
|
|
59330
59460
|
) {
|
|
59331
59461
|
var _this;
|
|
@@ -59341,6 +59471,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
59341
59471
|
(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", "");
|
|
59342
59472
|
(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);
|
|
59343
59473
|
(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), "_groupHasOptions", false);
|
|
59474
|
+
(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), "_associatedElement", "");
|
|
59344
59475
|
_this._styleIndex = styleIndex;
|
|
59345
59476
|
//const valuesObj = eval("(" + valuesObject + ")");
|
|
59346
59477
|
_this.setValuesObject(valuesObject);
|
|
@@ -59536,6 +59667,16 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
59536
59667
|
this._groupHasOptions = value;
|
|
59537
59668
|
}
|
|
59538
59669
|
}
|
|
59670
|
+
}, {
|
|
59671
|
+
key: "associatedElement",
|
|
59672
|
+
get: function get() {
|
|
59673
|
+
return this._associatedElement;
|
|
59674
|
+
},
|
|
59675
|
+
set: function set(value) {
|
|
59676
|
+
if (this._associatedElement !== value) {
|
|
59677
|
+
this._associatedElement = value;
|
|
59678
|
+
}
|
|
59679
|
+
}
|
|
59539
59680
|
// get bandDataSource(): BandDataSource {
|
|
59540
59681
|
// return this._bandDataSource;
|
|
59541
59682
|
// }
|
|
@@ -59601,6 +59742,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
59601
59742
|
ret.AppendText = this.appendText !== undefined ? this.appendText : ret.AppendText;
|
|
59602
59743
|
ret.IsTransToText = this.isTransToText != undefined ? this.isTransToText : ret.IsTransToText;
|
|
59603
59744
|
ret.GroupHasOptions = this.groupHasOptions != undefined ? this.groupHasOptions : ret.GroupHasOptions;
|
|
59745
|
+
ret.AssociatedElement = this.associatedElement != undefined ? this.associatedElement : ret.AssociatedElement;
|
|
59604
59746
|
return ret;
|
|
59605
59747
|
}
|
|
59606
59748
|
/**
|
|
@@ -59724,6 +59866,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
59724
59866
|
appendText: this.appendText,
|
|
59725
59867
|
readType: this.readType,
|
|
59726
59868
|
//bandDataSource: this.bandDataSource,
|
|
59869
|
+
associatedElement: this.associatedElement,
|
|
59727
59870
|
remark: this.remark
|
|
59728
59871
|
};
|
|
59729
59872
|
}
|
|
@@ -59756,6 +59899,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
59756
59899
|
isEditText: this.isEditText,
|
|
59757
59900
|
appendText: this.appendText,
|
|
59758
59901
|
readType: this.readType,
|
|
59902
|
+
associatedElement: this.associatedElement,
|
|
59759
59903
|
//bandDataSource: this.bandDataSource,
|
|
59760
59904
|
remark: this.remark
|
|
59761
59905
|
};
|
|
@@ -64031,7 +64175,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
64031
64175
|
});
|
|
64032
64176
|
}
|
|
64033
64177
|
var defaultCellProp = {
|
|
64034
|
-
title: "",
|
|
64178
|
+
//title: "",
|
|
64035
64179
|
align: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign.vatop */ .TR.vatop,
|
|
64036
64180
|
obliqueSplitLine: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ObliqueSplitLine.None */ .lH.None,
|
|
64037
64181
|
printGridLines: true,
|
|
@@ -65240,7 +65384,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65240
65384
|
/*
|
|
65241
65385
|
* @Author: your name
|
|
65242
65386
|
* @Date: 2020-11-03 15:17:54
|
|
65243
|
-
* @LastEditTime: 2023-07-14
|
|
65387
|
+
* @LastEditTime: 2023-07-14 16:52:06
|
|
65244
65388
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
65245
65389
|
* @Description: In User Settings Edit
|
|
65246
65390
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -66499,9 +66643,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66499
66643
|
hoEditorFactory.docController.deleteRange(aRange, true, 'update');
|
|
66500
66644
|
}
|
|
66501
66645
|
if (!(text === '')) {
|
|
66502
|
-
_context2.next =
|
|
66646
|
+
_context2.next = 23;
|
|
66503
66647
|
break;
|
|
66504
66648
|
}
|
|
66649
|
+
this._childNodes.splice(1, this._childNodes.length - 2);
|
|
66505
66650
|
markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent);
|
|
66506
66651
|
hoEditorFactory.undoService.begin();
|
|
66507
66652
|
hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_35__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
|
|
@@ -66513,11 +66658,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66513
66658
|
this._canModifyContent = oldValue;
|
|
66514
66659
|
this.update(0);
|
|
66515
66660
|
return _context2.abrupt("return");
|
|
66516
|
-
case
|
|
66661
|
+
case 23:
|
|
66517
66662
|
hoEditorFactory.docController.insertPlainTextAfterPath(startPath, text, oldValue);
|
|
66518
66663
|
//this._canModifyContent = await oldValue;
|
|
66519
66664
|
//this.update(0);
|
|
66520
|
-
case
|
|
66665
|
+
case 24:
|
|
66521
66666
|
case "end":
|
|
66522
66667
|
return _context2.stop();
|
|
66523
66668
|
}
|
|
@@ -67304,7 +67449,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67304
67449
|
if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
|
|
67305
67450
|
throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
|
|
67306
67451
|
}
|
|
67307
|
-
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
67452
|
+
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && temp.childNodes[1].MarkNodeType == _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent) {
|
|
67308
67453
|
temp.childNodes.splice(1, 1);
|
|
67309
67454
|
}
|
|
67310
67455
|
//}
|
|
@@ -77485,10 +77630,10 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77485
77630
|
_this._dText = new createjs.Text(node.isTransToText ? "" : _this._text, textStyle.getStyleKey(), textStyle.color);
|
|
77486
77631
|
if (controlStyle === "CheckBox") {
|
|
77487
77632
|
_this._dBox = new createjs.Shape();
|
|
77488
|
-
_this._dBox.graphics.clear().beginStroke("#000").drawRect(0, -_this.dHeight + 2, _this.dHeight - 2, _this.dHeight - 2);
|
|
77633
|
+
_this._dBox.graphics.clear().beginStroke("#000").drawRect(0, -_this.dHeight + 2, _this.dHeight - 2, _this.dHeight - 2).endStroke();
|
|
77489
77634
|
} else {
|
|
77490
77635
|
_this._dBox = new createjs.Shape();
|
|
77491
|
-
_this._dBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke("#000").drawCircle((height - 2) / 2, -height / 2 + 2, (height - 2) / 2);
|
|
77636
|
+
_this._dBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke("#000").drawCircle((height - 2) / 2, -height / 2 + 2, (height - 2) / 2).endStroke();
|
|
77492
77637
|
}
|
|
77493
77638
|
var textWidth = _this._dText.getMeasuredWidth();
|
|
77494
77639
|
var boxwidth = height;
|
|
@@ -77504,7 +77649,7 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77504
77649
|
underLineLen = _this._dAppendText.getMeasuredWidth();
|
|
77505
77650
|
}
|
|
77506
77651
|
_this._dUnderLine = new createjs.Shape();
|
|
77507
|
-
_this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - blockWidth, 1).lineTo(_this.dWidth - blockWidth + underLineLen, 1);
|
|
77652
|
+
_this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - blockWidth, 1).lineTo(_this.dWidth - blockWidth + underLineLen, 1).endStroke();
|
|
77508
77653
|
_this.dWidth = _this.dWidth - blockWidth + underLineLen;
|
|
77509
77654
|
}
|
|
77510
77655
|
_this.dHeight = height;
|
|
@@ -77589,41 +77734,41 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77589
77734
|
if (this.controlStyle === "CheckBox") {
|
|
77590
77735
|
//复选框
|
|
77591
77736
|
if (this.isSelected) {
|
|
77592
|
-
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2);
|
|
77737
|
+
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2).endStroke();
|
|
77593
77738
|
this.addChild(drawBox);
|
|
77594
77739
|
var line1 = new createjs.Shape();
|
|
77595
77740
|
var line2 = new createjs.Shape();
|
|
77596
77741
|
if (this.boxAlign) {
|
|
77597
|
-
line1.graphics.beginStroke(this._textStyle.color).moveTo(3, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1, -2);
|
|
77742
|
+
line1.graphics.beginStroke(this._textStyle.color).moveTo(3, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1, -2).endStroke();
|
|
77598
77743
|
this.addChild(line1);
|
|
77599
|
-
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1, -2).lineTo(this.dHeight - 3, -this.dHeight + 4);
|
|
77744
|
+
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1, -2).lineTo(this.dHeight - 3, -this.dHeight + 4).endStroke();
|
|
77600
77745
|
this.addChild(line2);
|
|
77601
77746
|
} else {
|
|
77602
77747
|
var textWidth = this._dText.getMeasuredWidth();
|
|
77603
|
-
line1.graphics.beginStroke(this._textStyle.color).moveTo(3 + textWidth, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1 + textWidth, -2);
|
|
77748
|
+
line1.graphics.beginStroke(this._textStyle.color).moveTo(3 + textWidth, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1 + textWidth, -2).endStroke();
|
|
77604
77749
|
this.addChild(line1);
|
|
77605
|
-
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1 + textWidth, -2).lineTo(this.dHeight - 3 + textWidth, -this.dHeight + 4);
|
|
77750
|
+
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1 + textWidth, -2).lineTo(this.dHeight - 3 + textWidth, -this.dHeight + 4).endStroke();
|
|
77606
77751
|
this.addChild(line2);
|
|
77607
77752
|
}
|
|
77608
77753
|
} else {
|
|
77609
|
-
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2);
|
|
77754
|
+
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2).endStroke();
|
|
77610
77755
|
this.addChild(drawBox);
|
|
77611
77756
|
}
|
|
77612
77757
|
} else {
|
|
77613
77758
|
//单选框
|
|
77614
77759
|
if (this.isSelected) {
|
|
77615
|
-
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2);
|
|
77760
|
+
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2).endStroke();
|
|
77616
77761
|
this.addChild(drawBox);
|
|
77617
77762
|
var dot = new createjs.Shape();
|
|
77618
77763
|
if (this.boxAlign) {
|
|
77619
|
-
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + 1, -this.dHeight / 2 + 2, 1);
|
|
77764
|
+
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + 1, -this.dHeight / 2 + 2, 1).endStroke();
|
|
77620
77765
|
this.addChild(dot);
|
|
77621
77766
|
} else {
|
|
77622
|
-
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + this._dText.getMeasuredWidth(), -this.dHeight / 2 + 2, 1);
|
|
77767
|
+
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + this._dText.getMeasuredWidth(), -this.dHeight / 2 + 2, 1).endStroke();
|
|
77623
77768
|
this.addChild(dot);
|
|
77624
77769
|
}
|
|
77625
77770
|
} else {
|
|
77626
|
-
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2);
|
|
77771
|
+
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2).endStroke();
|
|
77627
77772
|
this.addChild(drawBox);
|
|
77628
77773
|
}
|
|
77629
77774
|
}
|
|
@@ -80431,6 +80576,9 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
80431
80576
|
var createHistory = hoEditorFactory.docTree.userHistories[createID];
|
|
80432
80577
|
var deleteHistory = hoEditorFactory.docTree.userHistories[deleteID];
|
|
80433
80578
|
var comLevel = comment ? comment.permissionLevel : -1;
|
|
80579
|
+
if (comment && comment.isProcessed) {
|
|
80580
|
+
comLevel = -1;
|
|
80581
|
+
}
|
|
80434
80582
|
var createLevel = createHistory ? createHistory.permissionLevel : -1;
|
|
80435
80583
|
var deleteLevel = deleteHistory ? deleteHistory.permissionLevel : -1;
|
|
80436
80584
|
var ilevel = Math.max(comLevel, createLevel, deleteLevel);
|
|
@@ -84830,9 +84978,21 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
84830
84978
|
hoEditorFactory.docController.insertRadioAndCheckBox("update", newDomRangeCur, nodeObjectStr, aNode.styleIndex
|
|
84831
84979
|
//aNode.backColor
|
|
84832
84980
|
);
|
|
84981
|
+
|
|
84982
|
+
if (e.node.associatedElement) {
|
|
84983
|
+
var node = hoEditorFactory.vueController.getNodeByDataID("main", e.node.associatedElement);
|
|
84984
|
+
if (node && node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
84985
|
+
if (e.node.isSelected) {
|
|
84986
|
+
node.customProperty.must = true;
|
|
84987
|
+
node.update(0);
|
|
84988
|
+
} else {
|
|
84989
|
+
node.customProperty.must = false;
|
|
84990
|
+
node.update(0);
|
|
84991
|
+
}
|
|
84992
|
+
}
|
|
84993
|
+
}
|
|
84833
84994
|
}
|
|
84834
84995
|
}
|
|
84835
|
-
|
|
84836
84996
|
return true;
|
|
84837
84997
|
}
|
|
84838
84998
|
/**
|
|
@@ -99760,7 +99920,7 @@ var f2,getHorizontalCoordinateString,getVerticalCoordinateString,getHorizontalCo
|
|
|
99760
99920
|
* A pattern object to use to fill the drawing (not supported by context2d)
|
|
99761
99921
|
*/Object.defineProperty(this,"fillStyle",{get:function get(){return this.ctx.fillStyle;},set:function set(value){var rgba;rgba=getRGBA(value);this.ctx.fillStyle=rgba.style;this.ctx.isFillTransparent=rgba.a===0;//自定义修改 当透明度小于1时改成0 ,以适配不支持透明度的打印机
|
|
99762
99922
|
if(rgba.a<1){this.ctx.fillOpacity=0;}else{this.ctx.fillOpacity=rgba.a;}// 自定义修改 处理彩色字体打印问题
|
|
99763
|
-
var alpha=this.ctx.fillOpacity;if(window.printBlack&&!['#000','#
|
|
99923
|
+
var alpha=this.ctx.fillOpacity;if(window.printBlack&&!['#000','#000000','#fff','#ffffff','#FFF','#FFFFFF'].includes(this.ctx.fillStyle)){console.log(window.printBlack,this.ctx.fillStyle,"?????????????");if(Array.isArray(this.ctx.path)&&this.ctx.path.length>4){this.ctx.fillStyle="#000000";}this.pdf.setFillColor(255,255,255,{a:alpha});this.pdf.setTextColor(0,0,0,{a:alpha});}else{console.log(rgba.r,rgba.g,rgba.b,alpha,rgba.style,'----------',this.ctx);this.pdf.setFillColor(rgba.r,rgba.g,rgba.b,{a:alpha});this.pdf.setTextColor(rgba.r,rgba.g,rgba.b,{a:alpha});}}});/**
|
|
99764
99924
|
* Sets or returns the color, gradient, or pattern used for strokes
|
|
99765
99925
|
*
|
|
99766
99926
|
* @name strokeStyle
|
|
@@ -99769,7 +99929,7 @@ var alpha=this.ctx.fillOpacity;if(window.printBlack&&!['#000','#0000000','#fff',
|
|
|
99769
99929
|
* @property {gradient} gradient A gradient object (linear or radial) used to create a gradient stroke (not supported by context2d)
|
|
99770
99930
|
* @property {pattern} pattern A pattern object used to create a pattern stroke (not supported by context2d)
|
|
99771
99931
|
*/Object.defineProperty(this,"strokeStyle",{get:function get(){return this.ctx.strokeStyle;},set:function set(value){var rgba=getRGBA(value);this.ctx.strokeStyle=rgba.style;this.ctx.isStrokeTransparent=rgba.a===0;//自定义修改 当透明度小于1时改成0 ,以适配不支持透明度的打印机
|
|
99772
|
-
if(rgba.a<1){this.ctx.strokeOpacity=0;}else{this.ctx.strokeOpacity=rgba.a;}if(rgba.a===0){this.pdf.setDrawColor(255,255,255);}else if(rgba.a===1){this.pdf.setDrawColor(rgba.r,rgba.g,rgba.b);}else{this.pdf.setDrawColor(rgba.r,rgba.g,rgba.b);}if(window.printBlack&&!['#000','#
|
|
99932
|
+
if(rgba.a<1){this.ctx.strokeOpacity=0;}else{this.ctx.strokeOpacity=rgba.a;}if(rgba.a===0){this.pdf.setDrawColor(255,255,255);}else if(rgba.a===1){this.pdf.setDrawColor(rgba.r,rgba.g,rgba.b);}else{this.pdf.setDrawColor(rgba.r,rgba.g,rgba.b);}if(window.printBlack&&!['#000','#000000','#fff','#ffffff','#FFF','#FFFFFF'].includes(this.ctx.strokeStyle)){if(Array.isArray(this.ctx.path)&&this.ctx.path.length>4){this.ctx.strokeStyle="#000000";this.pdf.setDrawColor(0,0,0);}}}});/**
|
|
99773
99933
|
* Sets or returns the style of the end caps for a line
|
|
99774
99934
|
*
|
|
99775
99935
|
* @name lineCap
|
|
@@ -199590,11 +199750,11 @@ var map = {
|
|
|
199590
199750
|
"./popers/Title.vue": 89987,
|
|
199591
199751
|
"./printstyle/PrintLineStyle.vue": 51484,
|
|
199592
199752
|
"./qrCode/QrCode.vue": 10978,
|
|
199593
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
199753
|
+
"./radioCheckBox/RadioCheckbox.vue": 8632,
|
|
199594
199754
|
"./selectDialog/SelectDialog.vue": 59075,
|
|
199595
199755
|
"./sign/Sign.vue": 28715,
|
|
199596
199756
|
"./table/TableCellPoper.vue": 61917,
|
|
199597
|
-
"./table/TableCellProperty.vue":
|
|
199757
|
+
"./table/TableCellProperty.vue": 63718,
|
|
199598
199758
|
"./table/TableColProperty.vue": 2116,
|
|
199599
199759
|
"./table/TableForm.vue": 19064,
|
|
199600
199760
|
"./table/TableFormTree.vue": 39703,
|
|
@@ -235848,8 +236008,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
235848
236008
|
var es_number_constructor = __webpack_require__(9653);
|
|
235849
236009
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
235850
236010
|
var es_json_stringify = __webpack_require__(38862);
|
|
235851
|
-
;// 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/HoDoc.vue?vue&type=template&id=
|
|
235852
|
-
var
|
|
236011
|
+
;// 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/HoDoc.vue?vue&type=template&id=197ca538&
|
|
236012
|
+
var HoDocvue_type_template_id_197ca538_render = function render() {
|
|
235853
236013
|
var _vm = this,
|
|
235854
236014
|
_c = _vm._self._c;
|
|
235855
236015
|
return _c('div', {
|
|
@@ -235997,7 +236157,7 @@ var HoDocvue_type_template_id_91a4fbf4_render = function render() {
|
|
|
235997
236157
|
}
|
|
235998
236158
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
235999
236159
|
};
|
|
236000
|
-
var
|
|
236160
|
+
var HoDocvue_type_template_id_197ca538_staticRenderFns = [];
|
|
236001
236161
|
|
|
236002
236162
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
236003
236163
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -238956,7 +239116,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
238956
239116
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
238957
239117
|
var MarkNode = __webpack_require__(57727);
|
|
238958
239118
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
238959
|
-
/* harmony default export */ var version = ('3.0.
|
|
239119
|
+
/* harmony default export */ var version = ('3.0.87');
|
|
238960
239120
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
238961
239121
|
var PoperTipText = __webpack_require__(36081);
|
|
238962
239122
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -239484,6 +239644,16 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
239484
239644
|
this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
|
|
239485
239645
|
return;
|
|
239486
239646
|
}
|
|
239647
|
+
var text = node.text.replace(/ /g, '');
|
|
239648
|
+
if (text != node.parentNode.name && text !== '') {
|
|
239649
|
+
var _node$parentNode$down, _node$parentNode$down2;
|
|
239650
|
+
var list = (_node$parentNode$down = node.parentNode.downListProperty) !== null && _node$parentNode$down !== void 0 && _node$parentNode$down.listItems ? JSON.parse((_node$parentNode$down2 = node.parentNode.downListProperty) === null || _node$parentNode$down2 === void 0 ? void 0 : _node$parentNode$down2.listItems) : [];
|
|
239651
|
+
if (list.filter(function (v) {
|
|
239652
|
+
return v.text.split('<元素>')[0].includes(text);
|
|
239653
|
+
}).length === 0) {
|
|
239654
|
+
return;
|
|
239655
|
+
}
|
|
239656
|
+
}
|
|
239487
239657
|
var _callback = function _callback(list) {
|
|
239488
239658
|
_this5.computedPoperPosition(node, pageIndex);
|
|
239489
239659
|
if (Array.isArray(list) && list.length > 0) {
|
|
@@ -239691,10 +239861,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
239691
239861
|
});
|
|
239692
239862
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
239693
239863
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
239694
|
-
;// 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/HoDoc.vue?vue&type=style&index=0&id=
|
|
239864
|
+
;// 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/HoDoc.vue?vue&type=style&index=0&id=197ca538&prod&lang=scss&
|
|
239695
239865
|
// extracted by mini-css-extract-plugin
|
|
239696
239866
|
|
|
239697
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
239867
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=197ca538&prod&lang=scss&
|
|
239698
239868
|
|
|
239699
239869
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
239700
239870
|
|
|
@@ -239707,8 +239877,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
239707
239877
|
|
|
239708
239878
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
239709
239879
|
components_HoDocvue_type_script_lang_js_,
|
|
239710
|
-
|
|
239711
|
-
|
|
239880
|
+
HoDocvue_type_template_id_197ca538_render,
|
|
239881
|
+
HoDocvue_type_template_id_197ca538_staticRenderFns,
|
|
239712
239882
|
false,
|
|
239713
239883
|
null,
|
|
239714
239884
|
null,
|
|
@@ -244166,6 +244336,11 @@ var StructureConvert = /*#__PURE__*/function () {
|
|
|
244166
244336
|
v.backColor = defaultTextStyle.combineStyle.backColor;
|
|
244167
244337
|
}
|
|
244168
244338
|
}
|
|
244339
|
+
if (v && typeof v.color === 'string') {
|
|
244340
|
+
if (v.color.replace(/^\s+|\s+$/g, '') === '') {
|
|
244341
|
+
v.color = defaultTextStyle.combineStyle.color;
|
|
244342
|
+
}
|
|
244343
|
+
}
|
|
244169
244344
|
});
|
|
244170
244345
|
}
|
|
244171
244346
|
if (fontStyles) {
|
|
@@ -246524,6 +246699,7 @@ var hoCreateHistory = {
|
|
|
246524
246699
|
|
|
246525
246700
|
|
|
246526
246701
|
|
|
246702
|
+
|
|
246527
246703
|
|
|
246528
246704
|
|
|
246529
246705
|
var VueController = /*#__PURE__*/function () {
|
|
@@ -253057,7 +253233,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
253057
253233
|
});
|
|
253058
253234
|
}
|
|
253059
253235
|
var defaultCellProp = {
|
|
253060
|
-
title: '',
|
|
253236
|
+
//title: '',
|
|
253061
253237
|
align: TableProperty/* VAlign.vatop */.TR.vatop,
|
|
253062
253238
|
obliqueSplitLine: 0,
|
|
253063
253239
|
printGridLines: true,
|
|
@@ -253174,7 +253350,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
253174
253350
|
customProperty: Array(node.cellProperty.customProperties)
|
|
253175
253351
|
};
|
|
253176
253352
|
var cellProperty = {
|
|
253177
|
-
title: node.cellProperty.title,
|
|
253353
|
+
//title: node.cellProperty.title,
|
|
253178
253354
|
align: Number(node.cellProperty.align || 0),
|
|
253179
253355
|
obliqueSplitLine: Number(node.cellProperty.obliqueSplitLine || 0),
|
|
253180
253356
|
printGridLines: node.cellProperty.printGridLines,
|
|
@@ -253912,6 +254088,72 @@ var VueController = /*#__PURE__*/function () {
|
|
|
253912
254088
|
}
|
|
253913
254089
|
}
|
|
253914
254090
|
}
|
|
254091
|
+
/**
|
|
254092
|
+
* 回填表格数据
|
|
254093
|
+
* @param index 第几个表格
|
|
254094
|
+
* @param data 回填的数据
|
|
254095
|
+
*/
|
|
254096
|
+
}, {
|
|
254097
|
+
key: "backFillTableData",
|
|
254098
|
+
value: function backFillTableData(index, data) {
|
|
254099
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
254100
|
+
var table = null;
|
|
254101
|
+
var i = 0;
|
|
254102
|
+
for (var k = 0; k < hoEditorFactory.docTree.mainNodes.length; k++) {
|
|
254103
|
+
var node = hoEditorFactory.docTree.mainNodes[k];
|
|
254104
|
+
if (node instanceof TableNode/* TableNode */.Fh) {
|
|
254105
|
+
i++;
|
|
254106
|
+
if (i === index) {
|
|
254107
|
+
table = node;
|
|
254108
|
+
break;
|
|
254109
|
+
}
|
|
254110
|
+
}
|
|
254111
|
+
}
|
|
254112
|
+
if (table) {
|
|
254113
|
+
var rowCellNum = table.rows[0].length;
|
|
254114
|
+
for (var _k4 = rowCellNum; _k4 < table.childNodes.length; _k4++) {
|
|
254115
|
+
var cell = table.childNodes[_k4];
|
|
254116
|
+
if (cell.childNodes.length > 1) {
|
|
254117
|
+
cell.childNodes.splice(1, cell.childNodes.length);
|
|
254118
|
+
cell.drawCell.needUpdate = true;
|
|
254119
|
+
}
|
|
254120
|
+
}
|
|
254121
|
+
if (table.childNodes.length - rowCellNum < data.length) {
|
|
254122
|
+
var needCellNum = data.length - (table.childNodes.length - rowCellNum);
|
|
254123
|
+
var needRows = Number((needCellNum / rowCellNum).toFixed());
|
|
254124
|
+
var remainder = needCellNum % rowCellNum;
|
|
254125
|
+
if (remainder > 0) {
|
|
254126
|
+
needRows++;
|
|
254127
|
+
}
|
|
254128
|
+
table.insertRows(table.rowCount, needRows, table.rowCount - 1);
|
|
254129
|
+
}
|
|
254130
|
+
for (var m = 0; m < data.length; m++) {
|
|
254131
|
+
var _cell = table.childNodes[m + rowCellNum];
|
|
254132
|
+
if (_cell) {
|
|
254133
|
+
var text = data[m];
|
|
254134
|
+
if (text) {
|
|
254135
|
+
_cell.childNodes.splice(1, _cell.childNodes.length);
|
|
254136
|
+
var textNode = new TextNode/* TextNode */.R(this._hoEditorFactoryID, table.rootNodes, _cell, BaseNode/* NodeType.ntText */.Jq.ntText, text, _cell.childNodes[0].styleIndex);
|
|
254137
|
+
_cell.drawCell.needUpdate = true;
|
|
254138
|
+
_cell.childNodes.push(textNode);
|
|
254139
|
+
}
|
|
254140
|
+
}
|
|
254141
|
+
}
|
|
254142
|
+
table.update();
|
|
254143
|
+
}
|
|
254144
|
+
}
|
|
254145
|
+
}, {
|
|
254146
|
+
key: "clearCommentTextBackColor",
|
|
254147
|
+
value: function clearCommentTextBackColor(ids) {
|
|
254148
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
254149
|
+
for (var i = 0; i < ids.length; i++) {
|
|
254150
|
+
var id = ids[i];
|
|
254151
|
+
var comment = hoEditorFactory.drawTree.commentsMap.get(id);
|
|
254152
|
+
if (comment) {
|
|
254153
|
+
comment.isProcessed = true;
|
|
254154
|
+
}
|
|
254155
|
+
}
|
|
254156
|
+
}
|
|
253915
254157
|
}]);
|
|
253916
254158
|
return VueController;
|
|
253917
254159
|
}();
|