hoeditor-web 3.1.102 → 3.1.104
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.umd.js +122 -169
- package/lib/hoeditor.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -13854,7 +13854,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13854
13854
|
|
|
13855
13855
|
/***/ }),
|
|
13856
13856
|
|
|
13857
|
-
/***/
|
|
13857
|
+
/***/ 17983:
|
|
13858
13858
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13859
13859
|
|
|
13860
13860
|
"use strict";
|
|
@@ -13868,7 +13868,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13868
13868
|
|
|
13869
13869
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
13870
13870
|
var es_function_name = __webpack_require__(68309);
|
|
13871
|
-
;// 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=
|
|
13871
|
+
;// 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=72345796&
|
|
13872
13872
|
|
|
13873
13873
|
var render = function render() {
|
|
13874
13874
|
var _vm = this,
|
|
@@ -14004,7 +14004,9 @@ var render = function render() {
|
|
|
14004
14004
|
"height": "300px"
|
|
14005
14005
|
},
|
|
14006
14006
|
attrs: {
|
|
14007
|
-
"
|
|
14007
|
+
"rowKey": function rowKey(record, index) {
|
|
14008
|
+
return index;
|
|
14009
|
+
},
|
|
14008
14010
|
"scroll": {
|
|
14009
14011
|
y: 270
|
|
14010
14012
|
},
|
|
@@ -14626,7 +14628,7 @@ var render = function render() {
|
|
|
14626
14628
|
};
|
|
14627
14629
|
var staticRenderFns = [];
|
|
14628
14630
|
|
|
14629
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
14631
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=72345796&
|
|
14630
14632
|
|
|
14631
14633
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14632
14634
|
var defineProperty = __webpack_require__(78255);
|
|
@@ -14722,8 +14724,11 @@ var defaultBox = {
|
|
|
14722
14724
|
inputValue: '',
|
|
14723
14725
|
saveTagInput: null,
|
|
14724
14726
|
nodeList: []
|
|
14727
|
+
// customPropertys: {}, // 自定义属性
|
|
14728
|
+
// customPropertyValue: new Object(),
|
|
14725
14729
|
};
|
|
14726
14730
|
},
|
|
14731
|
+
|
|
14727
14732
|
inject: {
|
|
14728
14733
|
hoEditorProvider: {
|
|
14729
14734
|
default: function _default() {
|
|
@@ -14775,11 +14780,13 @@ var defaultBox = {
|
|
|
14775
14780
|
value[key] = v[key];
|
|
14776
14781
|
}
|
|
14777
14782
|
});
|
|
14778
|
-
if (v.customProperty) {
|
|
14779
|
-
_this.radioCheckBox.customProperty = v.customProperty;
|
|
14780
|
-
}
|
|
14781
14783
|
_this.radioCheckBoxGroup.push(value);
|
|
14782
14784
|
});
|
|
14785
|
+
// if (isObject(updateNode.customProperty)) {
|
|
14786
|
+
// this.customPropertys = updateNode.valueList[0].customProperty;
|
|
14787
|
+
// } else {
|
|
14788
|
+
// this.customPropertys = new Object();
|
|
14789
|
+
// }
|
|
14783
14790
|
this.boxGroup = 1;
|
|
14784
14791
|
this.addBox();
|
|
14785
14792
|
} else {
|
|
@@ -14790,11 +14797,18 @@ var defaultBox = {
|
|
|
14790
14797
|
_this.radioCheckBox[key] = updateNode.value[key];
|
|
14791
14798
|
}
|
|
14792
14799
|
});
|
|
14793
|
-
if (updateNode.customProperty) {
|
|
14794
|
-
|
|
14795
|
-
}
|
|
14800
|
+
// if (isObject(updateNode.customProperty)) {
|
|
14801
|
+
// this.customPropertys = updateNode.customProperty;
|
|
14802
|
+
// } else {
|
|
14803
|
+
// this.customPropertys = new Object();
|
|
14804
|
+
// }
|
|
14796
14805
|
this.boxGroup = 0;
|
|
14797
14806
|
}
|
|
14807
|
+
// let property = new Object();
|
|
14808
|
+
// Object.keys(this.customPropertys).forEach((key) => {
|
|
14809
|
+
// property[key] = this.customPropertys[key];
|
|
14810
|
+
// });
|
|
14811
|
+
// this.customPropertyValue = { ...property };
|
|
14798
14812
|
} else {
|
|
14799
14813
|
this.radioCheckBox.id = this.controlType === 'RadioBox' ? this.vueController.generateID('RB') : this.vueController.generateID('CB');
|
|
14800
14814
|
this.radioCheckBox.controlStyle = this.controlType;
|
|
@@ -14948,10 +14962,10 @@ var defaultBox = {
|
|
|
14948
14962
|
}), _name$data$inject$pro);
|
|
14949
14963
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
14950
14964
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
14951
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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=
|
|
14965
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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=72345796&prod&lang=less&
|
|
14952
14966
|
// extracted by mini-css-extract-plugin
|
|
14953
14967
|
|
|
14954
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14968
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=72345796&prod&lang=less&
|
|
14955
14969
|
|
|
14956
14970
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
14957
14971
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -49977,7 +49991,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
49977
49991
|
if (node.text !== "") {
|
|
49978
49992
|
nodeJson = node.node2Json(undefined, isCopy);
|
|
49979
49993
|
}
|
|
49980
|
-
} else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_39__/* .QrcodeNode */ .d
|
|
49994
|
+
} else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_39__/* .QrcodeNode */ .d) {
|
|
49981
49995
|
nodeJson = node.node2Json(undefined, isCopy, undefined, clearSign);
|
|
49982
49996
|
} else {
|
|
49983
49997
|
nodeJson = node.node2Json(undefined, isCopy);
|
|
@@ -63777,7 +63791,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63777
63791
|
/*
|
|
63778
63792
|
* @Author: your name
|
|
63779
63793
|
* @Date: 2020-11-03 15:17:54
|
|
63780
|
-
* @LastEditTime: 2024-04-
|
|
63794
|
+
* @LastEditTime: 2024-04-06 23:29:29
|
|
63781
63795
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
63782
63796
|
* @Description: In User Settings Edit
|
|
63783
63797
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -65462,33 +65476,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65462
65476
|
value: function node2Json(range, isCopy, type, clearSign) {
|
|
65463
65477
|
var childArray = new Array();
|
|
65464
65478
|
if (!range) {
|
|
65465
|
-
// let mark = true;
|
|
65466
|
-
// for (let m = 0; m < this.childNodes.length; m++) {
|
|
65467
|
-
// const anode = this.childNodes[m];
|
|
65468
|
-
// if (anode instanceof ControlNode || anode instanceof TextInputFieldNode || anode instanceof SignNode || anode instanceof QrcodeNode) {
|
|
65469
|
-
// mark = false;
|
|
65470
|
-
// break;
|
|
65471
|
-
// }
|
|
65472
|
-
// }
|
|
65473
|
-
// if (clearSign && mark && this.readType === 1) {
|
|
65474
|
-
// this.text = "";
|
|
65475
|
-
// this._childNodes.splice(1, this._childNodes.length - 2);
|
|
65476
|
-
// this._childNodes2.splice(1, this._childNodes2.length - 2);
|
|
65477
|
-
// const markNode = new MarkNode(
|
|
65478
|
-
// this.hoEditorFactoryID,
|
|
65479
|
-
// this.rootNodes,
|
|
65480
|
-
// this,
|
|
65481
|
-
// NodeType.ntMark,
|
|
65482
|
-
// this.labelText,
|
|
65483
|
-
// this.StartMarkNode.styleIndex,
|
|
65484
|
-
// MarkNodeType.mtContent
|
|
65485
|
-
// );
|
|
65486
|
-
// this._childNodes.splice(1, 0, markNode);
|
|
65487
|
-
// this._childNodes2.splice(1, 0, markNode);
|
|
65488
|
-
// for (let n = 0; n < this.childNodes.length; n++) {
|
|
65489
|
-
// childArray.push(this.childNodes[n].node2Json(undefined, isCopy));
|
|
65490
|
-
// }
|
|
65491
|
-
// } else {
|
|
65492
65479
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
65493
65480
|
var node = this.childNodes[i];
|
|
65494
65481
|
if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && node.text.substr(0, 1) !== 'C')) {
|
|
@@ -65507,7 +65494,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65507
65494
|
if (node.text !== '') {
|
|
65508
65495
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
65509
65496
|
}
|
|
65510
|
-
} else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d
|
|
65497
|
+
} else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d) {
|
|
65511
65498
|
childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
65512
65499
|
} else {
|
|
65513
65500
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
@@ -65517,63 +65504,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65517
65504
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
65518
65505
|
}
|
|
65519
65506
|
}
|
|
65520
|
-
//}
|
|
65521
|
-
// let mark = true;
|
|
65522
|
-
// for (let m = 0; m < this.childNodes.length; m++) {
|
|
65523
|
-
// const anode = this.childNodes[m];
|
|
65524
|
-
// if (anode instanceof ControlNode || anode instanceof TextInputFieldNode || anode instanceof SignNode || anode instanceof QrcodeNode) {
|
|
65525
|
-
// mark = false;
|
|
65526
|
-
// break;
|
|
65527
|
-
// }
|
|
65528
|
-
// }
|
|
65529
|
-
// if (clearSign && mark && this.readType === 1) {
|
|
65530
|
-
// this.text = "";
|
|
65531
|
-
// this._childNodes.splice(1, this._childNodes.length - 2);
|
|
65532
|
-
// this._childNodes2.splice(1, this._childNodes2.length - 2);
|
|
65533
|
-
// const markNode = new MarkNode(
|
|
65534
|
-
// this.hoEditorFactoryID,
|
|
65535
|
-
// this.rootNodes,
|
|
65536
|
-
// this,
|
|
65537
|
-
// NodeType.ntMark,
|
|
65538
|
-
// this.labelText,
|
|
65539
|
-
// this.StartMarkNode.styleIndex,
|
|
65540
|
-
// MarkNodeType.mtContent
|
|
65541
|
-
// );
|
|
65542
|
-
// this._childNodes.splice(1, 0, markNode);
|
|
65543
|
-
// this._childNodes2.splice(1, 0, markNode);
|
|
65544
|
-
// for (let n = 0; n < this.childNodes.length; n++) {
|
|
65545
|
-
// childArray.push(this.childNodes[n].node2Json(undefined, isCopy));
|
|
65546
|
-
// }
|
|
65547
|
-
// } else {
|
|
65548
|
-
for (var _i = 0; _i < this.childNodes.length; _i++) {
|
|
65549
|
-
var _node = this.childNodes[_i];
|
|
65550
|
-
if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && _node.text.substr(0, 1) !== 'C')) {
|
|
65551
|
-
if (_node instanceof TextInputFieldNode) {
|
|
65552
|
-
childArray.push(_node.node2Json(undefined, isCopy, type, clearSign));
|
|
65553
|
-
} else if (_node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
65554
|
-
if (clearSign) {
|
|
65555
|
-
if (_node.isTemplate) {
|
|
65556
|
-
childArray.push(_node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
65557
|
-
}
|
|
65558
|
-
} else {
|
|
65559
|
-
childArray.push(_node.node2Json(undefined, isCopy));
|
|
65560
|
-
}
|
|
65561
|
-
} else {
|
|
65562
|
-
if (_node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
65563
|
-
if (_node.text !== '') {
|
|
65564
|
-
childArray.push(_node.node2Json(undefined, isCopy));
|
|
65565
|
-
}
|
|
65566
|
-
} else if (_node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z || _node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d || _node instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_43__/* .ControlNode */ .w && _node.readType === 1) {
|
|
65567
|
-
childArray.push(_node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
65568
|
-
} else {
|
|
65569
|
-
childArray.push(_node.node2Json(undefined, isCopy));
|
|
65570
|
-
}
|
|
65571
|
-
}
|
|
65572
|
-
} else {
|
|
65573
|
-
childArray.push(_node.node2Json(undefined, isCopy));
|
|
65574
|
-
}
|
|
65575
|
-
}
|
|
65576
|
-
//}
|
|
65577
65507
|
// if (childArray.length > 0) {
|
|
65578
65508
|
// if (childArray[0].MarkNode && childArray[0].MarkNode.type === 0) {
|
|
65579
65509
|
// if (!childArray[childArray.length - 1].MarkNode) {
|
|
@@ -65611,17 +65541,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65611
65541
|
if (rec.from == this.range().from) {
|
|
65612
65542
|
canCopy = true;
|
|
65613
65543
|
}
|
|
65614
|
-
for (var
|
|
65615
|
-
var
|
|
65544
|
+
for (var _i = 0; _i < this.childNodes.length; _i++) {
|
|
65545
|
+
var _node = this.childNodes[_i];
|
|
65616
65546
|
if (!canCopy) {
|
|
65617
|
-
canCopy =
|
|
65547
|
+
canCopy = _node.checkPath(rec.from);
|
|
65618
65548
|
}
|
|
65619
65549
|
if (canCopy) {
|
|
65620
|
-
if (!(
|
|
65621
|
-
childArray.push(
|
|
65550
|
+
if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && _node.text.substr(0, 1) === 'C')) {
|
|
65551
|
+
childArray.push(_node.node2Json(rec, isCopy));
|
|
65622
65552
|
}
|
|
65623
65553
|
}
|
|
65624
|
-
if (
|
|
65554
|
+
if (_node.checkPath(rec.to)) {
|
|
65625
65555
|
break;
|
|
65626
65556
|
}
|
|
65627
65557
|
}
|
|
@@ -65943,45 +65873,45 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65943
65873
|
}
|
|
65944
65874
|
} else {
|
|
65945
65875
|
//单个对象
|
|
65946
|
-
var
|
|
65947
|
-
if (
|
|
65948
|
-
if (
|
|
65949
|
-
if (
|
|
65876
|
+
var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
|
|
65877
|
+
if (_node2) {
|
|
65878
|
+
if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
65879
|
+
if (_node2.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_node2.text).length) {
|
|
65950
65880
|
//特殊处理生僻字
|
|
65951
|
-
var _rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_59__/* .RareCharNode */ .Q(temp.hoEditorFactoryID,
|
|
65881
|
+
var _rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_59__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, _node2.rootNodes, _node2.parentNode, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType */ .Jq.ntRareChar, _node2.text, _node2.styleIndex);
|
|
65952
65882
|
nodes.push(_rareCharNode);
|
|
65953
65883
|
} else {
|
|
65954
|
-
if (
|
|
65955
|
-
nodes.push(
|
|
65884
|
+
if (_node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '') {
|
|
65885
|
+
nodes.push(_node2);
|
|
65956
65886
|
}
|
|
65957
|
-
if (
|
|
65958
|
-
hoEditorFactory.structureConvert._errTextNodes.push(
|
|
65887
|
+
if (_node2.errorIndex != undefined) {
|
|
65888
|
+
hoEditorFactory.structureConvert._errTextNodes.push(_node2);
|
|
65959
65889
|
isErrorValid = true;
|
|
65960
65890
|
}
|
|
65961
65891
|
}
|
|
65962
65892
|
} else {
|
|
65963
65893
|
//nodes.push(node);
|
|
65964
65894
|
if (isClearSign) {
|
|
65965
|
-
if (
|
|
65966
|
-
if (
|
|
65967
|
-
nodes.push(
|
|
65895
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
65896
|
+
if (_node2.isTemplate && !(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
65897
|
+
nodes.push(_node2);
|
|
65968
65898
|
}
|
|
65969
65899
|
} else {
|
|
65970
|
-
nodes.push(
|
|
65900
|
+
nodes.push(_node2);
|
|
65971
65901
|
}
|
|
65972
65902
|
} else {
|
|
65973
|
-
if (
|
|
65974
|
-
if (!(
|
|
65975
|
-
nodes.push(
|
|
65903
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
65904
|
+
if (!(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
65905
|
+
nodes.push(_node2);
|
|
65976
65906
|
}
|
|
65977
65907
|
} else {
|
|
65978
|
-
nodes.push(
|
|
65908
|
+
nodes.push(_node2);
|
|
65979
65909
|
}
|
|
65980
65910
|
}
|
|
65981
65911
|
}
|
|
65982
65912
|
}
|
|
65983
|
-
if (
|
|
65984
|
-
hoEditorFactory.structureConvert._markNodes.push(
|
|
65913
|
+
if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType */ .q.mtEnd && _node2.text.substring(0, 1) === 'C') {
|
|
65914
|
+
hoEditorFactory.structureConvert._markNodes.push(_node2);
|
|
65985
65915
|
}
|
|
65986
65916
|
// if (node instanceof SignNode &&
|
|
65987
65917
|
// ((node.imgSrc != "" && ((hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes((node.customProperty as any).bce01)) || hoEditorFactory.forbidEditBeforeSign))
|
|
@@ -66178,14 +66108,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66178
66108
|
}
|
|
66179
66109
|
}
|
|
66180
66110
|
if (textArr.length > 1) {
|
|
66181
|
-
for (var
|
|
66111
|
+
for (var _i2 = 1; _i2 < textArr.length; _i2++) {
|
|
66182
66112
|
var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
|
|
66183
66113
|
paragraNode.styleIndex = styleIndex;
|
|
66184
66114
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
|
|
66185
|
-
if (textArr[
|
|
66186
|
-
if (textArr[
|
|
66115
|
+
if (textArr[_i2] !== '') {
|
|
66116
|
+
if (textArr[_i2].indexOf('<上标>') >= 0 || textArr[_i2].indexOf('<下标>') >= 0) {
|
|
66187
66117
|
result = [];
|
|
66188
|
-
var resultArr1 = getText(textArr[
|
|
66118
|
+
var resultArr1 = getText(textArr[_i2]);
|
|
66189
66119
|
for (var _k = 0; _k < resultArr1.length; _k++) {
|
|
66190
66120
|
if (resultArr1[_k].text != '') {
|
|
66191
66121
|
var _newStyleIndex = styleIndex;
|
|
@@ -66200,7 +66130,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66200
66130
|
}
|
|
66201
66131
|
}
|
|
66202
66132
|
} else {
|
|
66203
|
-
var _textNode2 = new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType */ .Jq.ntText, textArr[
|
|
66133
|
+
var _textNode2 = new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType */ .Jq.ntText, textArr[_i2], styleIndex);
|
|
66204
66134
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode2);
|
|
66205
66135
|
}
|
|
66206
66136
|
}
|
|
@@ -66212,9 +66142,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66212
66142
|
}
|
|
66213
66143
|
if (expressArr.length > 0) {
|
|
66214
66144
|
//每遍历一个表达式 先插入表达式 再将表达式后的文本插进去
|
|
66215
|
-
for (var
|
|
66216
|
-
var sIndex = expressArr[
|
|
66217
|
-
var eIndex = expressArr[
|
|
66145
|
+
for (var _i3 = 0; _i3 < expressArr.length; _i3++) {
|
|
66146
|
+
var sIndex = expressArr[_i3].sIndex;
|
|
66147
|
+
var eIndex = expressArr[_i3].eIndex;
|
|
66218
66148
|
var expressJson = temp.text.substring(sIndex + 16, eIndex);
|
|
66219
66149
|
var expressObj = JSON.parse(expressJson);
|
|
66220
66150
|
var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__/* .ExpressStyle */ .e[expressObj.expressStyle];
|
|
@@ -66240,8 +66170,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66240
66170
|
}
|
|
66241
66171
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, medicalExpressNode);
|
|
66242
66172
|
var behindText = ''; //表达式后的文本串
|
|
66243
|
-
if (
|
|
66244
|
-
behindText = temp.text.substring(eIndex + 17, expressArr[
|
|
66173
|
+
if (_i3 < expressArr.length - 1) {
|
|
66174
|
+
behindText = temp.text.substring(eIndex + 17, expressArr[_i3 + 1].sIndex);
|
|
66245
66175
|
} else {
|
|
66246
66176
|
behindText = temp.text.substring(eIndex + 17, temp.text.length);
|
|
66247
66177
|
}
|
|
@@ -93203,8 +93133,10 @@ var dateFormat = function dateFormat(date, format) {
|
|
|
93203
93133
|
var newDates = new Date();
|
|
93204
93134
|
stringDate = "".concat(newDates.getFullYear(), "/").concat(newDates.getMonth() + 1, "/").concat(newDates.getDate(), " ") + stringDate;
|
|
93205
93135
|
}
|
|
93206
|
-
} else if (format && format.includes('MM') && !format.includes('yyyy')) {
|
|
93207
|
-
|
|
93136
|
+
} else if (format && format.includes('MM') && !format.toLocaleLowerCase().includes('yyyy')) {
|
|
93137
|
+
if (stringDate.split("/")[1] == '29') {
|
|
93138
|
+
stringDate = '2024/' + stringDate;
|
|
93139
|
+
}
|
|
93208
93140
|
}
|
|
93209
93141
|
_date = toDate(stringDate);
|
|
93210
93142
|
}
|
|
@@ -93222,7 +93154,7 @@ var dateFormat = function dateFormat(date, format) {
|
|
|
93222
93154
|
if (minutes.length === 1) minutes = "0".concat(minutes);
|
|
93223
93155
|
var seconds = "".concat(_date.getSeconds());
|
|
93224
93156
|
if (seconds.length === 1) seconds = "0".concat(seconds);
|
|
93225
|
-
return (format || 'yyyy-MM-dd HH:mm:ss').replace(/yyyy/g, year).replace(/MM/g, month).replace(/dd|DD/g, day).replace(/HH|hh/g, hours).replace(/mm/g, minutes).replace(/ss/g, seconds);
|
|
93157
|
+
return (format || 'yyyy-MM-dd HH:mm:ss').replace(/yyyy|YYYY/g, year).replace(/MM/g, month).replace(/dd|DD/g, day).replace(/HH|hh/g, hours).replace(/mm/g, minutes).replace(/ss/g, seconds);
|
|
93226
93158
|
};
|
|
93227
93159
|
/**
|
|
93228
93160
|
* 弹窗拖动
|
|
@@ -166784,7 +166716,7 @@ var map = {
|
|
|
166784
166716
|
"./popers/Title.vue": 31276,
|
|
166785
166717
|
"./printstyle/PrintLineStyle.vue": 51484,
|
|
166786
166718
|
"./qrCode/QrCode.vue": 59805,
|
|
166787
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
166719
|
+
"./radioCheckBox/RadioCheckbox.vue": 17983,
|
|
166788
166720
|
"./selectDialog/SelectDialog.vue": 32497,
|
|
166789
166721
|
"./sign/Sign.vue": 67218,
|
|
166790
166722
|
"./table/TableCellPoper.vue": 97628,
|
|
@@ -204107,7 +204039,7 @@ Input.install = function (Vue) {
|
|
|
204107
204039
|
|
|
204108
204040
|
|
|
204109
204041
|
/* harmony default export */ var antd = ([es_button, input, input_number, es_checkbox, date_picker, time_picker, es_radio, es_select, es_tabs, es_dropdown, es_menu, es_upload, tooltip, table, popover, es_icon/* default */.Z, config_provider]);
|
|
204110
|
-
;// 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/HoDocs.vue?vue&type=template&id=
|
|
204042
|
+
;// 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/HoDocs.vue?vue&type=template&id=40b25c35&
|
|
204111
204043
|
var render = function render() {
|
|
204112
204044
|
var _vm = this,
|
|
204113
204045
|
_c = _vm._self._c;
|
|
@@ -204234,8 +204166,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
204234
204166
|
var es_number_constructor = __webpack_require__(9653);
|
|
204235
204167
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
204236
204168
|
var es_json_stringify = __webpack_require__(38862);
|
|
204237
|
-
;// 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=
|
|
204238
|
-
var
|
|
204169
|
+
;// 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=6187b845&
|
|
204170
|
+
var HoDocvue_type_template_id_6187b845_render = function render() {
|
|
204239
204171
|
var _vm = this,
|
|
204240
204172
|
_c = _vm._self._c;
|
|
204241
204173
|
return _c('div', {
|
|
@@ -204436,7 +204368,7 @@ var HoDocvue_type_template_id_28aecebc_render = function render() {
|
|
|
204436
204368
|
}
|
|
204437
204369
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
204438
204370
|
};
|
|
204439
|
-
var
|
|
204371
|
+
var HoDocvue_type_template_id_6187b845_staticRenderFns = [];
|
|
204440
204372
|
|
|
204441
204373
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
204442
204374
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -207437,7 +207369,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
207437
207369
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207438
207370
|
var ParagraphNode = __webpack_require__(67945);
|
|
207439
207371
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207440
|
-
/* harmony default export */ var version = ('3.1.
|
|
207372
|
+
/* harmony default export */ var version = ('3.1.104');
|
|
207441
207373
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
207442
207374
|
var PoperTipText = __webpack_require__(50987);
|
|
207443
207375
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -208039,6 +207971,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208039
207971
|
var _this5 = this;
|
|
208040
207972
|
this.selectMarkStyle.display = 'none';
|
|
208041
207973
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this.hoEditorProvider.activeDocId);
|
|
207974
|
+
if (this.isCanEdit(hoEditorFactory)) return;
|
|
208042
207975
|
var paintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
208043
207976
|
var node = hoEditorFactory.vueController.getNodeByDataID('main', this.selectMarkStyle.dataid);
|
|
208044
207977
|
setTimeout(function () {
|
|
@@ -208067,6 +208000,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208067
208000
|
return parentNode;
|
|
208068
208001
|
},
|
|
208069
208002
|
createSelectMark: function createSelectMark(node, paintStatus, pageIndex) {
|
|
208003
|
+
if (this.isCanEdit()) return;
|
|
208070
208004
|
var parentNode = this.getRootNode(node);
|
|
208071
208005
|
if (parentNode) {
|
|
208072
208006
|
var _parentNode$downListP;
|
|
@@ -208103,6 +208037,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208103
208037
|
},
|
|
208104
208038
|
createDownListProper: function createDownListProper(node, paintStatus, pageIndex) {
|
|
208105
208039
|
var _this6 = this;
|
|
208040
|
+
if (this.isCanEdit()) return;
|
|
208106
208041
|
if (paintStatus === 0) {
|
|
208107
208042
|
this.hoEditorProvider.setControlProperty('select', 'update', '');
|
|
208108
208043
|
return;
|
|
@@ -208133,6 +208068,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208133
208068
|
},
|
|
208134
208069
|
createInputProper: function createInputProper(node, parentNode, paintStatus, pageIndex) {
|
|
208135
208070
|
var _this7 = this;
|
|
208071
|
+
if (this.isCanEdit()) return;
|
|
208136
208072
|
if (paintStatus === 0) {
|
|
208137
208073
|
this.hoEditorProvider.setControlProperty('text', 'update', '');
|
|
208138
208074
|
this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
|
|
@@ -208320,15 +208256,30 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208320
208256
|
this.poperPos = (0,objectSpread2/* default */.Z)({}, pos);
|
|
208321
208257
|
}
|
|
208322
208258
|
},
|
|
208259
|
+
isCanEdit: function isCanEdit(hoEditorFactory) {
|
|
208260
|
+
if (!hoEditorFactory) {
|
|
208261
|
+
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this.hoEditorId);
|
|
208262
|
+
}
|
|
208263
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState */.Dh.psEdit && (hoEditorFactory.forbidEditBeforeSign || hoEditorFactory.lockContent)) {
|
|
208264
|
+
var endPos = hoEditorFactory.drawTree.selectRange.spEnd;
|
|
208265
|
+
var node = hoEditorFactory.drawTree.getDNodeByPath(endPos.path);
|
|
208266
|
+
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(node);
|
|
208267
|
+
var stagePt = dline.localToGlobal(node.x, node.y);
|
|
208268
|
+
var result = hoEditorFactory.vueController.isCanEdit(endPos.page.pageIndex, stagePt.x, stagePt.y);
|
|
208269
|
+
return !result;
|
|
208270
|
+
}
|
|
208271
|
+
return false;
|
|
208272
|
+
},
|
|
208323
208273
|
/**
|
|
208324
208274
|
* 鼠标右键 打开右键菜单 并计算弹出位置
|
|
208325
208275
|
* 先关闭一次 再延迟打开 触发弹出层动画
|
|
208326
208276
|
*/
|
|
208327
208277
|
mouseRightClickEvent: function mouseRightClickEvent(e) {
|
|
208328
208278
|
var _this8 = this;
|
|
208329
|
-
|
|
208279
|
+
setTimeout(function () {
|
|
208330
208280
|
var _hoEditorFactory$docT;
|
|
208331
208281
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(_this8.hoEditorId);
|
|
208282
|
+
if (_this8.isCanEdit(hoEditorFactory)) return;
|
|
208332
208283
|
var rightPosition = {
|
|
208333
208284
|
clientX: e.clientX || e.pageX,
|
|
208334
208285
|
clientY: e.clientY || e.pageY
|
|
@@ -208381,7 +208332,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208381
208332
|
}
|
|
208382
208333
|
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
208383
208334
|
_this8.$emit('rightClickEventIn', rightPosition);
|
|
208384
|
-
});
|
|
208335
|
+
}, 0);
|
|
208385
208336
|
},
|
|
208386
208337
|
hoCopy: function hoCopy(e) {
|
|
208387
208338
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this.hoEditorId);
|
|
@@ -208434,10 +208385,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208434
208385
|
});
|
|
208435
208386
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
208436
208387
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
208437
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
208388
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=6187b845&prod&lang=less&
|
|
208438
208389
|
// extracted by mini-css-extract-plugin
|
|
208439
208390
|
|
|
208440
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
208391
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=6187b845&prod&lang=less&
|
|
208441
208392
|
|
|
208442
208393
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
208443
208394
|
|
|
@@ -208450,8 +208401,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208450
208401
|
|
|
208451
208402
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
208452
208403
|
components_HoDocvue_type_script_lang_js_,
|
|
208453
|
-
|
|
208454
|
-
|
|
208404
|
+
HoDocvue_type_template_id_6187b845_render,
|
|
208405
|
+
HoDocvue_type_template_id_6187b845_staticRenderFns,
|
|
208455
208406
|
false,
|
|
208456
208407
|
null,
|
|
208457
208408
|
null,
|
|
@@ -217424,12 +217375,13 @@ var VueController = /*#__PURE__*/function () {
|
|
|
217424
217375
|
// }
|
|
217425
217376
|
// }
|
|
217426
217377
|
// }
|
|
217378
|
+
var scaleXY = DrawConfig/* DrawConfig */.f.instance().scale;
|
|
217427
217379
|
var drawPage = hoEditorFactory.drawTree.drawPages[pageIndex];
|
|
217428
217380
|
for (var j = 0; j < drawPage.selectContainer.children.length; j++) {
|
|
217429
217381
|
var child = drawPage.selectContainer.children[j];
|
|
217430
217382
|
if (child.name && child.name.includes("mask")) {
|
|
217431
217383
|
var bounds = child.getBounds();
|
|
217432
|
-
if (stageY > bounds.y && stageY < bounds.y + bounds.height) {
|
|
217384
|
+
if (stageY > bounds.y * scaleXY && stageY < bounds.y * scaleXY + bounds.height * scaleXY) {
|
|
217433
217385
|
return false;
|
|
217434
217386
|
}
|
|
217435
217387
|
}
|
|
@@ -224855,6 +224807,16 @@ var EditController = /*#__PURE__*/function () {
|
|
|
224855
224807
|
//hoEditorFactory.isUseForm = true;
|
|
224856
224808
|
//hoEditorFactory.allowEditCellInForm = false;
|
|
224857
224809
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize(); //获取当前选中区域
|
|
224810
|
+
var drawPage = hoEditorFactory.drawTree.activePage;
|
|
224811
|
+
if (drawPage) {
|
|
224812
|
+
var dNode = hoEditorFactory.drawTree.getDNodeByPath(curDomRange.endPath);
|
|
224813
|
+
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(dNode);
|
|
224814
|
+
var stagePt = dline.localToGlobal(dNode.x, dNode.y);
|
|
224815
|
+
result = hoEditorFactory.vueController.isCanEdit(drawPage.pageIndex, stagePt.x, stagePt.y);
|
|
224816
|
+
if (!result) {
|
|
224817
|
+
return false;
|
|
224818
|
+
}
|
|
224819
|
+
}
|
|
224858
224820
|
if (hoEditorFactory.isUseForm) {
|
|
224859
224821
|
var _enode$parentNode, _enode$parentNode2;
|
|
224860
224822
|
var snode = curDomRange.npStart.node;
|
|
@@ -224937,6 +224899,7 @@ var EditController = /*#__PURE__*/function () {
|
|
|
224937
224899
|
|
|
224938
224900
|
|
|
224939
224901
|
|
|
224902
|
+
|
|
224940
224903
|
var ElementController = /*#__PURE__*/function () {
|
|
224941
224904
|
function ElementController(hoEditorFactoryID) {
|
|
224942
224905
|
(0,esm_classCallCheck/* default */.Z)(this, ElementController);
|
|
@@ -225074,6 +225037,9 @@ var ElementController = /*#__PURE__*/function () {
|
|
|
225074
225037
|
key: "updateDateTimeText",
|
|
225075
225038
|
value: function updateDateTimeText(node, text) {
|
|
225076
225039
|
if (node.text === text) return;
|
|
225040
|
+
if (text) {
|
|
225041
|
+
text = (0,plugins_util/* dateFormat */.vc)(text, node.controlStyle);
|
|
225042
|
+
}
|
|
225077
225043
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
225078
225044
|
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState */.Dh.psReadOnly) {
|
|
225079
225045
|
return;
|
|
@@ -237792,11 +237758,11 @@ var commondata = __webpack_require__(76285);
|
|
|
237792
237758
|
'hoEditorProvider.controlType': {
|
|
237793
237759
|
deep: true,
|
|
237794
237760
|
handler: function handler(newValue, oldValue) {
|
|
237795
|
-
if (newValue === '' && ['text', 'date', 'comment', 'paragraph'].includes(oldValue)) {
|
|
237761
|
+
if (newValue === '' && ['text', 'date', 'comment', 'paragraph', 'RadioBox', 'CheckBox'].includes(oldValue)) {
|
|
237796
237762
|
this.$emit('closeTextModal');
|
|
237797
237763
|
this.hoEditorProvider.customPropertyValue = {};
|
|
237798
237764
|
}
|
|
237799
|
-
if (['text', 'date'].includes(newValue)) {
|
|
237765
|
+
if (['text', 'date', 'RadioBox', 'CheckBox'].includes(newValue)) {
|
|
237800
237766
|
if ((0,type/* isObject */.Kn)(this.hoEditorProvider.customPropertyValue)) {
|
|
237801
237767
|
this.$emit('openTextModal', (0,objectSpread2/* default */.Z)({}, this.hoEditorProvider.customPropertyValue));
|
|
237802
237768
|
}
|
|
@@ -238529,10 +238495,10 @@ var commondata = __webpack_require__(76285);
|
|
|
238529
238495
|
});
|
|
238530
238496
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=script&lang=js&
|
|
238531
238497
|
/* harmony default export */ var components_HoDocsvue_type_script_lang_js_ = (HoDocsvue_type_script_lang_js_);
|
|
238532
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
238498
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=40b25c35&prod&lang=less&media=print&
|
|
238533
238499
|
// extracted by mini-css-extract-plugin
|
|
238534
238500
|
|
|
238535
|
-
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
238501
|
+
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=40b25c35&prod&lang=less&media=print&
|
|
238536
238502
|
|
|
238537
238503
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue
|
|
238538
238504
|
|
|
@@ -245428,18 +245394,15 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245428
245394
|
}
|
|
245429
245395
|
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
245430
245396
|
this.rightType = 'text';
|
|
245431
|
-
// this.dataSource = node.bandDataSource;
|
|
245432
245397
|
if ((0,type/* isObject */.Kn)(node.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, node.customProperty);
|
|
245433
245398
|
} else if (node instanceof MarkNode/* MarkNode */.j && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
245434
245399
|
var parentNode = node.parentNode;
|
|
245435
245400
|
this.rightType = 'text';
|
|
245436
|
-
// this.dataSource = parentNode.bandDataSource;
|
|
245437
245401
|
if ((0,type/* isObject */.Kn)(parentNode.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, parentNode.customProperty);
|
|
245438
245402
|
} else if (node instanceof TextNode/* TextNode */.R) {
|
|
245439
245403
|
var _parentNode = node.parentNode;
|
|
245440
245404
|
if (_parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
245441
245405
|
this.rightType = 'text';
|
|
245442
|
-
// this.dataSource = parentNode.bandDataSource;
|
|
245443
245406
|
if ((0,type/* isObject */.Kn)(_parentNode.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, _parentNode.customProperty);
|
|
245444
245407
|
} else if (_parentNode instanceof CellNode/* CellNode */.D) {
|
|
245445
245408
|
this.rightTypeIsTable = true;
|
|
@@ -245454,23 +245417,13 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245454
245417
|
if ((0,type/* isObject */.Kn)(node.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, node.customProperty);
|
|
245455
245418
|
} else if (node instanceof DownListNode/* DownListNode */.yF) {
|
|
245456
245419
|
this.rightType = 'select';
|
|
245457
|
-
// if (isObject(node.customProperty)) this.customPropertyValue = { ...node.customProperty };
|
|
245458
245420
|
} else if (node instanceof BarcodeNode/* BarcodeNode */.T) {
|
|
245459
245421
|
this.rightType = 'barcode';
|
|
245460
245422
|
} else if (node instanceof QrcodeNode/* QrcodeNode */.d) {
|
|
245461
245423
|
this.rightType = 'qrcode';
|
|
245462
|
-
// this.dataSource = {
|
|
245463
|
-
// dataSourceEnabled: node.dataSourceEnabled,
|
|
245464
|
-
// dataSource: node.dataSource,
|
|
245465
|
-
// format: node.format,
|
|
245466
|
-
// visitPath: node.visitPath,
|
|
245467
|
-
// isReadOnly: node.isReadOnly,
|
|
245468
|
-
// autoUpdate: node.autoUpdate,
|
|
245469
|
-
// executeStatus: Number(node.execState),
|
|
245470
|
-
// };
|
|
245471
245424
|
} else if (node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) {
|
|
245472
245425
|
this.rightType = node.controlStyle;
|
|
245473
|
-
|
|
245426
|
+
if ((0,type/* isObject */.Kn)(node.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, node.customProperty);
|
|
245474
245427
|
} else if (node instanceof ImageNode/* ImageNode */.H) {
|
|
245475
245428
|
if (!node.isBackFill) {
|
|
245476
245429
|
this.rightType = 'edit-image';
|
|
@@ -245815,7 +245768,7 @@ var rarewords = __webpack_require__(43903);
|
|
|
245815
245768
|
|
|
245816
245769
|
|
|
245817
245770
|
|
|
245818
|
-
var CLICK = '
|
|
245771
|
+
var CLICK = 'mousedown';
|
|
245819
245772
|
var captureInstances = Object.create(null);
|
|
245820
245773
|
var nonCaptureInstances = Object.create(null);
|
|
245821
245774
|
var captureEventHandlers = Object.create(null);
|