hoeditor-web 0.3.82 → 0.3.86
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.common.js +1148 -857
- package/lib/hoeditor.css +2 -2
- package/lib/hoeditor.umd.js +1148 -857
- package/lib/hoeditor.umd.min.js +12 -12
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -2019,6 +2019,13 @@ module.exports = !__webpack_require__("4b8b")(function () {
|
|
|
2019
2019
|
|
|
2020
2020
|
/***/ }),
|
|
2021
2021
|
|
|
2022
|
+
/***/ "0c67":
|
|
2023
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2024
|
+
|
|
2025
|
+
// extracted by mini-css-extract-plugin
|
|
2026
|
+
|
|
2027
|
+
/***/ }),
|
|
2028
|
+
|
|
2022
2029
|
/***/ "0cb2":
|
|
2023
2030
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2024
2031
|
|
|
@@ -15083,34 +15090,40 @@ var DrawFooter = /*#__PURE__*/function (_DrawPageHeaderFooter) {
|
|
|
15083
15090
|
// }
|
|
15084
15091
|
|
|
15085
15092
|
return _this;
|
|
15086
|
-
}
|
|
15087
|
-
// if (this._pages.indexOf(aPage) == -1) {
|
|
15088
|
-
// this._pages.push(aPage);
|
|
15089
|
-
// const dlevel = aPage.drawDomLevel;
|
|
15090
|
-
// if (dlevel) {
|
|
15091
|
-
// dlevel.drawFooter = this;
|
|
15092
|
-
// aPage.repaint();
|
|
15093
|
-
// }
|
|
15094
|
-
// }
|
|
15095
|
-
// }
|
|
15096
|
-
// public DeletePage(aPage: DrawPage) {
|
|
15097
|
-
// const index = this._pages.indexOf(aPage);
|
|
15098
|
-
// if (index == -1) return;
|
|
15099
|
-
// this._pages[index]?.drawDomLevel?.stage.removeChild(this);
|
|
15100
|
-
// this._pages.splice(index, 1);
|
|
15101
|
-
// }
|
|
15102
|
-
// public nodify() {
|
|
15103
|
-
// if (this.rootPath != "") {
|
|
15104
|
-
// const arr = this.rootPath.split("/");
|
|
15105
|
-
// // this.drawLines = [...HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).drawTree.footerDNodes[parseInt(arr[1])]];
|
|
15106
|
-
// }
|
|
15107
|
-
// this._pages.forEach((value) => {
|
|
15108
|
-
// value.refresh();
|
|
15109
|
-
// });
|
|
15110
|
-
// }
|
|
15111
|
-
|
|
15093
|
+
}
|
|
15112
15094
|
|
|
15113
15095
|
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(DrawFooter, [{
|
|
15096
|
+
key: "actualHeight",
|
|
15097
|
+
get: function get() {
|
|
15098
|
+
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
15099
|
+
return Math.max(Math.min(this.docHeight, this.maxHeight), hoeditfactory.pageProperty.bottomMarginPixes - hoeditfactory.pageProperty.footerYPixes);
|
|
15100
|
+
} // public AddPage(aPage: DrawPage) {
|
|
15101
|
+
// if (this._pages.indexOf(aPage) == -1) {
|
|
15102
|
+
// this._pages.push(aPage);
|
|
15103
|
+
// const dlevel = aPage.drawDomLevel;
|
|
15104
|
+
// if (dlevel) {
|
|
15105
|
+
// dlevel.drawFooter = this;
|
|
15106
|
+
// aPage.repaint();
|
|
15107
|
+
// }
|
|
15108
|
+
// }
|
|
15109
|
+
// }
|
|
15110
|
+
// public DeletePage(aPage: DrawPage) {
|
|
15111
|
+
// const index = this._pages.indexOf(aPage);
|
|
15112
|
+
// if (index == -1) return;
|
|
15113
|
+
// this._pages[index]?.drawDomLevel?.stage.removeChild(this);
|
|
15114
|
+
// this._pages.splice(index, 1);
|
|
15115
|
+
// }
|
|
15116
|
+
// public nodify() {
|
|
15117
|
+
// if (this.rootPath != "") {
|
|
15118
|
+
// const arr = this.rootPath.split("/");
|
|
15119
|
+
// // this.drawLines = [...HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).drawTree.footerDNodes[parseInt(arr[1])]];
|
|
15120
|
+
// }
|
|
15121
|
+
// this._pages.forEach((value) => {
|
|
15122
|
+
// value.refresh();
|
|
15123
|
+
// });
|
|
15124
|
+
// }
|
|
15125
|
+
|
|
15126
|
+
}, {
|
|
15114
15127
|
key: "paintBackground",
|
|
15115
15128
|
value: function paintBackground() {
|
|
15116
15129
|
// if (this.rootPath != '') {
|
|
@@ -18620,9 +18633,23 @@ module.exports = function (METHOD_NAME) {
|
|
|
18620
18633
|
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
18621
18634
|
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("262e");
|
|
18622
18635
|
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2caf");
|
|
18623
|
-
/* harmony import */ var
|
|
18624
|
-
/* harmony import */ var
|
|
18625
|
-
/* harmony import */ var
|
|
18636
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("ac1f");
|
|
18637
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
18638
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("1276");
|
|
18639
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
18640
|
+
/* harmony import */ var core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("c5d0");
|
|
18641
|
+
/* harmony import */ var core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
18642
|
+
/* harmony import */ var core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("cc71");
|
|
18643
|
+
/* harmony import */ var core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
18644
|
+
/* harmony import */ var _editor_dom_domNode_TextStyle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("3365");
|
|
18645
|
+
/* harmony import */ var _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("59dd");
|
|
18646
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("8d1d");
|
|
18647
|
+
/* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("99d0");
|
|
18648
|
+
|
|
18649
|
+
|
|
18650
|
+
|
|
18651
|
+
|
|
18652
|
+
|
|
18626
18653
|
|
|
18627
18654
|
|
|
18628
18655
|
|
|
@@ -18633,7 +18660,7 @@ module.exports = function (METHOD_NAME) {
|
|
|
18633
18660
|
/*
|
|
18634
18661
|
* @Author: your name
|
|
18635
18662
|
* @Date: 2021-09-01 16:51:49
|
|
18636
|
-
* @LastEditTime: 2021-
|
|
18663
|
+
* @LastEditTime: 2021-10-26 18:30:13
|
|
18637
18664
|
* @LastEditors: Please set LastEditors
|
|
18638
18665
|
* @Description: In User Settings Edit
|
|
18639
18666
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -18657,13 +18684,36 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18657
18684
|
_this._number = number;
|
|
18658
18685
|
_this._imgSrc = imgSrc;
|
|
18659
18686
|
_this._type = type;
|
|
18660
|
-
_this._signName = name;
|
|
18661
|
-
|
|
18662
|
-
_this.dHeight =
|
|
18663
|
-
_this.
|
|
18687
|
+
_this._signName = name; //this._textStyle = cbStyle.;
|
|
18688
|
+
|
|
18689
|
+
_this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__[/* HOEditorFactorys */ "a"].instance().getFactory(hoeditfactoryID).signHeight;
|
|
18690
|
+
_this._textStyle = cbStyle.getStyleKey();
|
|
18691
|
+
|
|
18692
|
+
if (_this.number > 0 && type === 2) {
|
|
18693
|
+
var signArr = imgSrc.split("\n");
|
|
18694
|
+
|
|
18695
|
+
if (signArr.length > 1) {
|
|
18696
|
+
var textStyle = new _editor_dom_domNode_TextStyle__WEBPACK_IMPORTED_MODULE_8__[/* TextStyle */ "c"](hoeditfactoryID);
|
|
18697
|
+
var curHeight = cbStyle.getFontHeightByFontSize(cbStyle.size) * signArr.length;
|
|
18698
|
+
|
|
18699
|
+
if (curHeight > _this.dHeight) {
|
|
18700
|
+
var fontSize = cbStyle.size;
|
|
18701
|
+
|
|
18702
|
+
do {
|
|
18703
|
+
fontSize = textStyle.getSmallerfontSize(fontSize);
|
|
18704
|
+
curHeight = cbStyle.getFontHeightByFontSize(fontSize) * signArr.length;
|
|
18705
|
+
} while (curHeight > _this.dHeight);
|
|
18706
|
+
|
|
18707
|
+
_this._textStyle = (cbStyle.italic ? "italic " : "") + (cbStyle.bold ? "bold " : "") + fontSize + "px " + cbStyle.font;
|
|
18708
|
+
}
|
|
18709
|
+
}
|
|
18710
|
+
} //this._drawText = new createjs.Text('/', cbStyle.getStyleKey(), "#000000");
|
|
18711
|
+
|
|
18712
|
+
|
|
18713
|
+
_this._drawText = new createjs.Text(node.connectMode, _this._textStyle, "#000000");
|
|
18664
18714
|
|
|
18665
18715
|
if (_this.number === 0) {
|
|
18666
|
-
var dText = new createjs.Text(_this.signName,
|
|
18716
|
+
var dText = new createjs.Text(_this.signName, _this._textStyle, "#000000");
|
|
18667
18717
|
_this.dWidth = dText.getMeasuredWidth();
|
|
18668
18718
|
} else {
|
|
18669
18719
|
if (type === 1) {
|
|
@@ -18677,12 +18727,29 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18677
18727
|
}
|
|
18678
18728
|
|
|
18679
18729
|
if (type === 2) {
|
|
18680
|
-
var
|
|
18730
|
+
var _signArr = imgSrc.split("\n");
|
|
18731
|
+
|
|
18732
|
+
var aText = new createjs.Text(_signArr[0], _this._textStyle, "#000000");
|
|
18733
|
+
var maxWidth = aText.getMeasuredWidth();
|
|
18734
|
+
|
|
18735
|
+
if (_signArr.length > 1) {
|
|
18736
|
+
for (var i = 1; i < _signArr.length; i++) {
|
|
18737
|
+
aText = new createjs.Text(_signArr[i], _this._textStyle, "#000000");
|
|
18738
|
+
var aWidth = aText.getMeasuredWidth();
|
|
18739
|
+
|
|
18740
|
+
if (aWidth > maxWidth) {
|
|
18741
|
+
maxWidth = aWidth;
|
|
18742
|
+
}
|
|
18743
|
+
}
|
|
18744
|
+
} //const dText = new createjs.Text(this.imgSrc, fontStyle, "#000000");
|
|
18745
|
+
|
|
18681
18746
|
|
|
18682
18747
|
if (number === 1) {
|
|
18683
|
-
|
|
18748
|
+
//this.dWidth = dText.getMeasuredWidth();
|
|
18749
|
+
_this.dWidth = maxWidth;
|
|
18684
18750
|
} else {
|
|
18685
|
-
|
|
18751
|
+
//this.dWidth = dText.getMeasuredWidth() + this._drawText.getMeasuredWidth();
|
|
18752
|
+
_this.dWidth = maxWidth + _this._drawText.getMeasuredWidth();
|
|
18686
18753
|
}
|
|
18687
18754
|
}
|
|
18688
18755
|
}
|
|
@@ -18750,18 +18817,27 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18750
18817
|
this.clear();
|
|
18751
18818
|
var drawNode = this;
|
|
18752
18819
|
|
|
18753
|
-
var drawSign = function drawSign() {
|
|
18820
|
+
var drawSign = function drawSign(isFront) {
|
|
18754
18821
|
if (_this2.type === 1) {
|
|
18755
18822
|
var image = new Image();
|
|
18756
18823
|
image.src = _this2.imgSrc;
|
|
18757
18824
|
var bitmap = new createjs.Bitmap(image);
|
|
18758
18825
|
bitmap.y = -_this2.dHeight;
|
|
18759
|
-
|
|
18826
|
+
|
|
18827
|
+
if (_this2.number === 1) {
|
|
18828
|
+
bitmap.x = 0;
|
|
18829
|
+
} else {
|
|
18830
|
+
if (isFront) {
|
|
18831
|
+
bitmap.x = 0;
|
|
18832
|
+
} else {
|
|
18833
|
+
bitmap.x = _this2._drawText.getMeasuredWidth();
|
|
18834
|
+
}
|
|
18835
|
+
}
|
|
18760
18836
|
|
|
18761
18837
|
_this2.addChildAt(bitmap, 0);
|
|
18762
18838
|
|
|
18763
18839
|
image.onload = function () {
|
|
18764
|
-
var hoEditorFactory =
|
|
18840
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__[/* HOEditorFactorys */ "a"].instance().getFactory(drawNode.node.hoEditorFactoryID);
|
|
18765
18841
|
var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
|
|
18766
18842
|
var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
|
|
18767
18843
|
var width = drawNode.dWidth;
|
|
@@ -18780,10 +18856,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18780
18856
|
if (dArea) {
|
|
18781
18857
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this2.node.getNodePath());
|
|
18782
18858
|
|
|
18783
|
-
if (atype ===
|
|
18859
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__[/* HeaderFooterType */ "a"].hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
18784
18860
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
18785
18861
|
} else {
|
|
18786
|
-
if (atype ===
|
|
18862
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__[/* HeaderFooterType */ "a"].hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
|
|
18787
18863
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
18788
18864
|
}
|
|
18789
18865
|
}
|
|
@@ -18792,21 +18868,39 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18792
18868
|
}
|
|
18793
18869
|
};
|
|
18794
18870
|
} else {
|
|
18795
|
-
var
|
|
18796
|
-
drawText2.textBaseline = "alphabetic";
|
|
18797
|
-
drawText2.textAlign = "left";
|
|
18798
|
-
var rect = drawText2.getBounds();
|
|
18871
|
+
var signArr = _this2.imgSrc.split('\n');
|
|
18799
18872
|
|
|
18800
|
-
if (
|
|
18801
|
-
drawText2
|
|
18802
|
-
|
|
18873
|
+
if (signArr.length === 1) {
|
|
18874
|
+
var drawText2 = new createjs.Text(_this2.imgSrc, _this2.textStyle, "#000000");
|
|
18875
|
+
drawText2.textBaseline = "alphabetic";
|
|
18876
|
+
drawText2.textAlign = "left";
|
|
18877
|
+
var rect = drawText2.getBounds();
|
|
18878
|
+
|
|
18879
|
+
if (rect) {
|
|
18880
|
+
drawText2.y = _this2.y;
|
|
18881
|
+
}
|
|
18882
|
+
|
|
18883
|
+
_this2.addChild(drawText2);
|
|
18884
|
+
} else {
|
|
18885
|
+
for (var i = 0; i < signArr.length; i++) {
|
|
18886
|
+
var aText = new createjs.Text(signArr[i], _this2.textStyle, "#000000");
|
|
18887
|
+
aText.textBaseline = "alphabetic";
|
|
18888
|
+
aText.textAlign = "left";
|
|
18889
|
+
|
|
18890
|
+
var _rect = aText.getBounds();
|
|
18891
|
+
|
|
18892
|
+
if (_rect) {
|
|
18893
|
+
aText.y = _this2.dHeight / signArr.length * (i + 1) - _this2.dHeight;
|
|
18894
|
+
}
|
|
18803
18895
|
|
|
18804
|
-
|
|
18896
|
+
_this2.addChild(aText);
|
|
18897
|
+
}
|
|
18898
|
+
}
|
|
18805
18899
|
}
|
|
18806
18900
|
};
|
|
18807
18901
|
|
|
18808
18902
|
if (this.number === 0) {
|
|
18809
|
-
var drawText1 = new createjs.Text(this.signName, this.textStyle
|
|
18903
|
+
var drawText1 = new createjs.Text(this.signName, this.textStyle, "#838586");
|
|
18810
18904
|
drawText1.textBaseline = "alphabetic";
|
|
18811
18905
|
drawText1.textAlign = "left";
|
|
18812
18906
|
var rect = drawText1.getBounds();
|
|
@@ -18819,38 +18913,51 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18819
18913
|
} else if (this.number === 1) {
|
|
18820
18914
|
drawSign();
|
|
18821
18915
|
} else {
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
this.addChildAt(line, 1);
|
|
18916
|
+
var isFront = this.node.isFront;
|
|
18917
|
+
drawSign(isFront);
|
|
18918
|
+
this.drawConnectChar(this.node.isFront);
|
|
18826
18919
|
}
|
|
18827
18920
|
}
|
|
18828
18921
|
}, {
|
|
18829
|
-
key: "
|
|
18830
|
-
value: function
|
|
18831
|
-
var
|
|
18832
|
-
// const bitMap =this._bitmap.clone(this._image);
|
|
18833
|
-
// // bitMap.name = (this.node as ImageNode).id;
|
|
18834
|
-
// // bitMap.setTransform(
|
|
18835
|
-
// // 0,
|
|
18836
|
-
// // this._imageY,
|
|
18837
|
-
// // this.dWidth / this._imageWidth,
|
|
18838
|
-
// // this.dHeight / this._imageHeight
|
|
18839
|
-
// // );
|
|
18840
|
-
// // bitMap.setTransform(0, this._imageY, this._scaleX, this._scaleY);
|
|
18922
|
+
key: "drawConnectChar",
|
|
18923
|
+
value: function drawConnectChar(isFront) {
|
|
18924
|
+
var connectMode = this.node.connectMode;
|
|
18841
18925
|
|
|
18842
|
-
if (
|
|
18843
|
-
|
|
18844
|
-
} // aConTainer.removeAllChildren();
|
|
18845
|
-
// aConTainer.addChild(bitMap);}
|
|
18926
|
+
if (connectMode === "/") {
|
|
18927
|
+
var line = new createjs.Shape();
|
|
18846
18928
|
|
|
18929
|
+
if (isFront) {
|
|
18930
|
+
line.graphics.beginStroke("#000000").moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -this.dHeight + 4);
|
|
18931
|
+
} else {
|
|
18932
|
+
line.graphics.beginStroke("#000000").moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight + 4);
|
|
18933
|
+
}
|
|
18847
18934
|
|
|
18848
|
-
|
|
18935
|
+
this.addChildAt(line);
|
|
18936
|
+
} else if (connectMode === "换行") {
|
|
18937
|
+
return;
|
|
18938
|
+
} else {
|
|
18939
|
+
this._drawText.textBaseline = "alphabetic";
|
|
18940
|
+
this._drawText.textAlign = "left";
|
|
18941
|
+
|
|
18942
|
+
var rect = this._drawText.getBounds();
|
|
18943
|
+
|
|
18944
|
+
if (rect) {
|
|
18945
|
+
this._drawText.y = this.y;
|
|
18946
|
+
|
|
18947
|
+
if (isFront) {
|
|
18948
|
+
this._drawText.x = this.dWidth - this._drawText.getMeasuredWidth();
|
|
18949
|
+
} else {
|
|
18950
|
+
this._drawText.x = 0;
|
|
18951
|
+
}
|
|
18952
|
+
}
|
|
18953
|
+
|
|
18954
|
+
this.addChildAt(this._drawText);
|
|
18955
|
+
}
|
|
18849
18956
|
}
|
|
18850
18957
|
}]);
|
|
18851
18958
|
|
|
18852
18959
|
return DrawSignNode;
|
|
18853
|
-
}(
|
|
18960
|
+
}(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_11__[/* DrawCombineNode */ "a"]);
|
|
18854
18961
|
|
|
18855
18962
|
/***/ }),
|
|
18856
18963
|
|
|
@@ -20543,7 +20650,8 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20543
20650
|
|
|
20544
20651
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
20545
20652
|
_this._formulaStr = "";
|
|
20546
|
-
_this._hideZero = true;
|
|
20653
|
+
_this._hideZero = true; //计算结果为0时是否隐藏
|
|
20654
|
+
|
|
20547
20655
|
_this._id = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("TFS");
|
|
20548
20656
|
_this._styleIndex = styleIndex;
|
|
20549
20657
|
_this.isAllowDelete = true;
|
|
@@ -28147,7 +28255,7 @@ exports.default = {
|
|
|
28147
28255
|
/*
|
|
28148
28256
|
* @Author: your name
|
|
28149
28257
|
* @Date: 2021-09-01 15:55:48
|
|
28150
|
-
* @LastEditTime: 2021-10-
|
|
28258
|
+
* @LastEditTime: 2021-10-26 18:31:30
|
|
28151
28259
|
* @LastEditors: Please set LastEditors
|
|
28152
28260
|
* @Description: In User Settings Edit
|
|
28153
28261
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\SignNode.ts
|
|
@@ -28158,22 +28266,32 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28158
28266
|
|
|
28159
28267
|
var _super = Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(SignNode);
|
|
28160
28268
|
|
|
28161
|
-
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signor, signTime, imgSrc, imgWidth, imgHeight, customProperty, isTemplate) {
|
|
28269
|
+
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, connectMode, isFront, allowEditSignTime) {
|
|
28162
28270
|
var _this;
|
|
28163
28271
|
|
|
28164
28272
|
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(this, SignNode);
|
|
28165
28273
|
|
|
28166
28274
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
28275
|
+
_this._name = ""; //签名名称
|
|
28276
|
+
|
|
28277
|
+
_this._signType = 0; //0单人签名 1多人签名
|
|
28278
|
+
|
|
28279
|
+
_this._signFormat = "医师签名"; //签名格式
|
|
28280
|
+
|
|
28281
|
+
_this._connectMode = "/"; //连接方式
|
|
28282
|
+
|
|
28283
|
+
_this._isFront = true; //是否前置
|
|
28284
|
+
|
|
28167
28285
|
_this._number = 0; //次数 第几次 第一次是插入空签名 第二次是更新空签名 第三次是插入第二个签名
|
|
28168
28286
|
|
|
28169
28287
|
_this._type = 0; //类型 1图片 2字符串
|
|
28170
28288
|
|
|
28171
|
-
_this._name = ""; //签名名称
|
|
28172
|
-
|
|
28173
28289
|
_this._signor = ""; //签名人
|
|
28174
28290
|
|
|
28175
28291
|
_this._signTime = ""; //签名时间
|
|
28176
28292
|
|
|
28293
|
+
_this._allowEditSignTime = false; //允许修改签名时间
|
|
28294
|
+
|
|
28177
28295
|
_this._imgSrc = ""; //签名1路径
|
|
28178
28296
|
|
|
28179
28297
|
_this._imgWidth = 0; //图片宽度
|
|
@@ -28191,6 +28309,15 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28191
28309
|
_this._imgWidth = imgWidth;
|
|
28192
28310
|
_this._imgHeight = imgHeight;
|
|
28193
28311
|
_this._isTemplate = isTemplate;
|
|
28312
|
+
_this._signType = signType;
|
|
28313
|
+
_this._signFormat = signFormat;
|
|
28314
|
+
|
|
28315
|
+
if (signType === 1) {
|
|
28316
|
+
_this._connectMode = connectMode;
|
|
28317
|
+
_this._isFront = isFront;
|
|
28318
|
+
_this._allowEditSignTime = allowEditSignTime;
|
|
28319
|
+
}
|
|
28320
|
+
|
|
28194
28321
|
_this._customProperty = new Object();
|
|
28195
28322
|
|
|
28196
28323
|
var assignvalue = function assignvalue(target, source) {
|
|
@@ -28226,6 +28353,46 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28226
28353
|
this._name = value;
|
|
28227
28354
|
}
|
|
28228
28355
|
}
|
|
28356
|
+
}, {
|
|
28357
|
+
key: "signType",
|
|
28358
|
+
get: function get() {
|
|
28359
|
+
return this._signType;
|
|
28360
|
+
},
|
|
28361
|
+
set: function set(value) {
|
|
28362
|
+
if (this._signType !== value) {
|
|
28363
|
+
this._signType = value;
|
|
28364
|
+
}
|
|
28365
|
+
}
|
|
28366
|
+
}, {
|
|
28367
|
+
key: "signFormat",
|
|
28368
|
+
get: function get() {
|
|
28369
|
+
return this._signFormat;
|
|
28370
|
+
},
|
|
28371
|
+
set: function set(value) {
|
|
28372
|
+
if (this._signFormat !== value) {
|
|
28373
|
+
this._signFormat = value;
|
|
28374
|
+
}
|
|
28375
|
+
}
|
|
28376
|
+
}, {
|
|
28377
|
+
key: "connectMode",
|
|
28378
|
+
get: function get() {
|
|
28379
|
+
return this._connectMode;
|
|
28380
|
+
},
|
|
28381
|
+
set: function set(value) {
|
|
28382
|
+
if (this._connectMode !== value) {
|
|
28383
|
+
this._connectMode = value;
|
|
28384
|
+
}
|
|
28385
|
+
}
|
|
28386
|
+
}, {
|
|
28387
|
+
key: "isFront",
|
|
28388
|
+
get: function get() {
|
|
28389
|
+
return this._isFront;
|
|
28390
|
+
},
|
|
28391
|
+
set: function set(value) {
|
|
28392
|
+
if (this._isFront !== value) {
|
|
28393
|
+
this._isFront = value;
|
|
28394
|
+
}
|
|
28395
|
+
}
|
|
28229
28396
|
}, {
|
|
28230
28397
|
key: "number",
|
|
28231
28398
|
get: function get() {
|
|
@@ -28256,6 +28423,16 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28256
28423
|
this._signTime = value;
|
|
28257
28424
|
}
|
|
28258
28425
|
}
|
|
28426
|
+
}, {
|
|
28427
|
+
key: "allowEditSignTime",
|
|
28428
|
+
get: function get() {
|
|
28429
|
+
return this._allowEditSignTime;
|
|
28430
|
+
},
|
|
28431
|
+
set: function set(value) {
|
|
28432
|
+
if (this._allowEditSignTime !== value) {
|
|
28433
|
+
this._allowEditSignTime = value;
|
|
28434
|
+
}
|
|
28435
|
+
}
|
|
28259
28436
|
}, {
|
|
28260
28437
|
key: "type",
|
|
28261
28438
|
get: function get() {
|
|
@@ -28403,13 +28580,18 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28403
28580
|
number: this.number,
|
|
28404
28581
|
type: this.type,
|
|
28405
28582
|
name: this.name,
|
|
28583
|
+
signType: this.signType,
|
|
28584
|
+
signFormat: this.signFormat,
|
|
28406
28585
|
signor: this.signor,
|
|
28407
28586
|
signTime: this.signTime,
|
|
28408
28587
|
imgSrc: this.imgSrc,
|
|
28409
28588
|
imgWidth: this.imgWidth,
|
|
28410
28589
|
imgHeight: this.imgHeight,
|
|
28411
28590
|
customProperty: this.customProperty,
|
|
28412
|
-
isTemplate: this.isTemplate
|
|
28591
|
+
isTemplate: this.isTemplate,
|
|
28592
|
+
connectMode: this.connectMode,
|
|
28593
|
+
isFront: this.isFront,
|
|
28594
|
+
allowEditSignTime: this.allowEditSignTime
|
|
28413
28595
|
};
|
|
28414
28596
|
|
|
28415
28597
|
if (isCopy) {
|
|
@@ -28437,7 +28619,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28437
28619
|
var imgWidth = Number(json.imgWidth);
|
|
28438
28620
|
var imgHeight = Number(json.imgHeight);
|
|
28439
28621
|
var isTemplate = json.isTemplate === "true" ? true : false;
|
|
28440
|
-
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_14__[/* NodeType */ "b"].ntSign, number, type, json.name, json.signor, json.signTime, json.imgSrc, imgWidth, imgHeight, json.customProperty, isTemplate); //signNode.number = number;
|
|
28622
|
+
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_14__[/* NodeType */ "b"].ntSign, number, type, json.name, json.signType ? json.signType : 0, json.signFormat ? json.signFormat : "签名医师", json.signor, json.signTime, json.imgSrc, imgWidth, imgHeight, json.customProperty, isTemplate, json.connectMode, json.isFront, json.allowEditSignTime); //signNode.number = number;
|
|
28441
28623
|
//signNode.width = width;
|
|
28442
28624
|
|
|
28443
28625
|
return signNode;
|
|
@@ -34441,7 +34623,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
34441
34623
|
|
|
34442
34624
|
if (node.imgSrc !== "" && node.isTemplate && !(preNode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"]) && !(nextNode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"])) {
|
|
34443
34625
|
var path = hoEditorFactory.docTree.getNodeLastPath(preNode);
|
|
34444
|
-
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 0, 0, node.name === "" ? "
|
|
34626
|
+
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 0, 0, node.name === "" ? "医师签名" : node.name, node.signType, node.signFormat, "", "", "", 0, 0, {}, true, node.connectMode, node.isFront, node.allowEditSignTime);
|
|
34445
34627
|
hoEditorFactory.undoService.begin();
|
|
34446
34628
|
hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_39__[/* NodeDeleteUndoUnit */ "a"](this._hoEditorFactoryID, node, startPath));
|
|
34447
34629
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, path, signNode));
|
|
@@ -34452,7 +34634,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
34452
34634
|
if (preNode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"]) {
|
|
34453
34635
|
var spath = hoEditorFactory.docTree.getNodeLastPath(preNode.previousLeaf());
|
|
34454
34636
|
var epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
34455
|
-
var newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 1, preNode.type, preNode.name === "" ? "签名" : preNode.name, preNode.signor, preNode.signTime, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, true);
|
|
34637
|
+
var newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 1, preNode.type, preNode.name === "" ? "签名" : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, true, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime);
|
|
34456
34638
|
hoEditorFactory.undoService.begin();
|
|
34457
34639
|
hoEditorFactory.undoService.add(new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_38__[/* NodesDeleteUndoUnit */ "a"](this._hoEditorFactoryID, spath, epath));
|
|
34458
34640
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, spath, newSignNode));
|
|
@@ -37058,15 +37240,20 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37058
37240
|
/**
|
|
37059
37241
|
* 插入空签名
|
|
37060
37242
|
* @param name 签名名称(空签名的初始化显示)
|
|
37243
|
+
* @param signType 签名类型 0单人签名 1多人签名
|
|
37244
|
+
* @param signFormat 签名格式
|
|
37245
|
+
* @param connectMode 连接方式
|
|
37246
|
+
* @param isFront 新插入的签名是否前置 true:前置 false:后置
|
|
37247
|
+
* @param allowEditSignTime 允许修改签名时间 true:允许 false:不允许
|
|
37061
37248
|
*/
|
|
37062
37249
|
|
|
37063
37250
|
}, {
|
|
37064
37251
|
key: "insertEmptySignNode",
|
|
37065
|
-
value: function insertEmptySignNode(domRange, name) {
|
|
37252
|
+
value: function insertEmptySignNode(domRange, name, signType, signFormat, connectMode, isFront, allowEditSignTime) {
|
|
37066
37253
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_80__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
37067
37254
|
var startPath = domRange.startPath;
|
|
37068
37255
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
37069
|
-
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 0, 0, name, "", "", "", 0, 0, {}, true); //插入该表达式节点
|
|
37256
|
+
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 0, 0, name, signType, signFormat, "", "", "", 0, 0, {}, true, connectMode, isFront, allowEditSignTime); //插入该表达式节点
|
|
37070
37257
|
|
|
37071
37258
|
hoEditorFactory.undoService.begin();
|
|
37072
37259
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, startPath, signNode));
|
|
@@ -37088,7 +37275,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37088
37275
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_80__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
37089
37276
|
var startPath = domRange.startPath;
|
|
37090
37277
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
37091
|
-
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 1, type, name, signor, signTime, imgSrc, imgWidth, imgHeight, customProperty, false); //插入该表达式节点
|
|
37278
|
+
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 1, type, name, 0, "医师签名", signor, signTime, imgSrc, imgWidth, imgHeight, customProperty, false); //插入该表达式节点
|
|
37092
37279
|
|
|
37093
37280
|
hoEditorFactory.undoService.begin();
|
|
37094
37281
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, startPath, signNode));
|
|
@@ -37130,7 +37317,21 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37130
37317
|
hoEditorFactory.docTree.change(changeEvent);
|
|
37131
37318
|
} else {
|
|
37132
37319
|
//第二次更新签名
|
|
37133
|
-
|
|
37320
|
+
if (node.connectMode === "换行") {
|
|
37321
|
+
sPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
37322
|
+
var curParaNode = hoEditorFactory.drawTree.getDlineByPath(sPath).paragraphNode;
|
|
37323
|
+
var newPara = new _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_32__[/* ParagraphNode */ "a"](this._hoEditorFactoryID, node.rootNodes, node.parentNode, curParaNode.paraNo);
|
|
37324
|
+
hoEditorFactory.undoService.begin();
|
|
37325
|
+
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, sPath, newPara));
|
|
37326
|
+
hoEditorFactory.undoService.commit();
|
|
37327
|
+
sPath = newPara.getNodePath();
|
|
37328
|
+
} else {
|
|
37329
|
+
if (!node.isFront) {
|
|
37330
|
+
sPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
37331
|
+
}
|
|
37332
|
+
}
|
|
37333
|
+
|
|
37334
|
+
var newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"](this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntSign, 2, type, name, node.signType, node.signFormat, signor, signTime, imgSrc, imgWidth, imgHeight, customProperty, node.isTemplate, node.connectMode, node.isFront, node.allowEditSignTime); //插入该表达式节点
|
|
37134
37335
|
|
|
37135
37336
|
hoEditorFactory.undoService.begin();
|
|
37136
37337
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, sPath, newSignNode));
|
|
@@ -56132,535 +56333,6 @@ module.exports = function (key) {
|
|
|
56132
56333
|
};
|
|
56133
56334
|
|
|
56134
56335
|
|
|
56135
|
-
/***/ }),
|
|
56136
|
-
|
|
56137
|
-
/***/ "5b65":
|
|
56138
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
56139
|
-
|
|
56140
|
-
"use strict";
|
|
56141
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ClipboardType; });
|
|
56142
|
-
/* unused harmony export StructureRecord */
|
|
56143
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return StructureNode; });
|
|
56144
|
-
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
56145
|
-
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
56146
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ac1f");
|
|
56147
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
56148
|
-
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1276");
|
|
56149
|
-
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
56150
|
-
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("a434");
|
|
56151
|
-
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
56152
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("159b");
|
|
56153
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
56154
|
-
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("bf19");
|
|
56155
|
-
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
56156
|
-
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("a15b");
|
|
56157
|
-
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
56158
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("fb6a");
|
|
56159
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
56160
|
-
/* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("ff91");
|
|
56161
|
-
/* harmony import */ var _dom_DomRange__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("53b1");
|
|
56162
|
-
/* harmony import */ var _dom_NodePosition__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("ca11");
|
|
56163
|
-
/* harmony import */ var _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("91a4");
|
|
56164
|
-
/* harmony import */ var _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("1551");
|
|
56165
|
-
/* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("110d");
|
|
56166
|
-
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("1157");
|
|
56167
|
-
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_15__);
|
|
56168
|
-
/* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("eb7b");
|
|
56169
|
-
/* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("49d1");
|
|
56170
|
-
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("8d1d");
|
|
56171
|
-
/* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("4b89");
|
|
56172
|
-
/* harmony import */ var _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("9685");
|
|
56173
|
-
/* harmony import */ var _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("f7fa");
|
|
56174
|
-
/* harmony import */ var _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("4e47");
|
|
56175
|
-
/* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("053b");
|
|
56176
|
-
|
|
56177
|
-
|
|
56178
|
-
|
|
56179
|
-
|
|
56180
|
-
|
|
56181
|
-
|
|
56182
|
-
|
|
56183
|
-
|
|
56184
|
-
|
|
56185
|
-
|
|
56186
|
-
|
|
56187
|
-
|
|
56188
|
-
|
|
56189
|
-
|
|
56190
|
-
|
|
56191
|
-
// import { HTMLConverter2 } from "./HTMLConverter";
|
|
56192
|
-
|
|
56193
|
-
|
|
56194
|
-
|
|
56195
|
-
|
|
56196
|
-
|
|
56197
|
-
|
|
56198
|
-
|
|
56199
|
-
|
|
56200
|
-
|
|
56201
|
-
var ClipboardType;
|
|
56202
|
-
|
|
56203
|
-
(function (ClipboardType) {
|
|
56204
|
-
ClipboardType["ctText"] = "text/plain";
|
|
56205
|
-
ClipboardType["ctHTML"] = "text/html";
|
|
56206
|
-
ClipboardType["ctJSON"] = "application/json";
|
|
56207
|
-
})(ClipboardType || (ClipboardType = {}));
|
|
56208
|
-
|
|
56209
|
-
var NodeConvert = /*#__PURE__*/function () {
|
|
56210
|
-
function NodeConvert(hoEditorFactoryID) {
|
|
56211
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, NodeConvert);
|
|
56212
|
-
|
|
56213
|
-
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
56214
|
-
}
|
|
56215
|
-
|
|
56216
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(NodeConvert, [{
|
|
56217
|
-
key: "FromJSON",
|
|
56218
|
-
value: function FromJSON(data, rootPath) {
|
|
56219
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56220
|
-
var nodes = new Array();
|
|
56221
|
-
var rootNodes = new Array();
|
|
56222
|
-
|
|
56223
|
-
if (rootPath === "main") {
|
|
56224
|
-
rootNodes = hoEditorFactory.docTree.mainNodes;
|
|
56225
|
-
}
|
|
56226
|
-
|
|
56227
|
-
var jsonArray = JSON.parse(data);
|
|
56228
|
-
var path = hoEditorFactory.docTree.curDomRange.normalize().startPath;
|
|
56229
|
-
var parentNode = hoEditorFactory.docTree.getParentNode(path);
|
|
56230
|
-
var aRootNodes = rootPath ? rootNodes : hoEditorFactory.docTree.curDomRange.normalize().npStart.roots;
|
|
56231
|
-
|
|
56232
|
-
for (var i = 0; i < jsonArray.length; i++) {
|
|
56233
|
-
var nodeJson = jsonArray[i];
|
|
56234
|
-
|
|
56235
|
-
if (nodeJson) {
|
|
56236
|
-
var node = hoEditorFactory.structureConvert.convertNode(nodeJson, aRootNodes, rootPath ? null : parentNode, undefined, true);
|
|
56237
|
-
|
|
56238
|
-
if (!node) {
|
|
56239
|
-
return [];
|
|
56240
|
-
}
|
|
56241
|
-
|
|
56242
|
-
if (node) {
|
|
56243
|
-
if (node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__[/* TextNode */ "a"] && node.text.length === 0) {
|
|
56244
|
-
continue;
|
|
56245
|
-
}
|
|
56246
|
-
|
|
56247
|
-
if (rootPath) {
|
|
56248
|
-
node.rootPath = rootPath;
|
|
56249
|
-
}
|
|
56250
|
-
|
|
56251
|
-
nodes.push(node);
|
|
56252
|
-
|
|
56253
|
-
if (rootPath && rootPath.split('/').length > 1) {
|
|
56254
|
-
rootNodes.push(node);
|
|
56255
|
-
node.rootNodes = rootNodes;
|
|
56256
|
-
}
|
|
56257
|
-
}
|
|
56258
|
-
}
|
|
56259
|
-
}
|
|
56260
|
-
|
|
56261
|
-
return nodes;
|
|
56262
|
-
}
|
|
56263
|
-
}, {
|
|
56264
|
-
key: "FromHTML",
|
|
56265
|
-
value: function FromHTML(data) {
|
|
56266
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56267
|
-
var rx = /<body[^>]*>([\s\S]+?)<\/body>/i;
|
|
56268
|
-
var r = rx.exec(data);
|
|
56269
|
-
var bodyHtml;
|
|
56270
|
-
|
|
56271
|
-
if (!r) {
|
|
56272
|
-
return [];
|
|
56273
|
-
} else {
|
|
56274
|
-
bodyHtml = "<div>" + r[1] + "</div>";
|
|
56275
|
-
} //console.log(bodyHtml);
|
|
56276
|
-
|
|
56277
|
-
|
|
56278
|
-
var nodes = hoEditorFactory.htmlConverter.Exec(jquery__WEBPACK_IMPORTED_MODULE_15___default()(bodyHtml)[0], "");
|
|
56279
|
-
return nodes;
|
|
56280
|
-
}
|
|
56281
|
-
}, {
|
|
56282
|
-
key: "FromText",
|
|
56283
|
-
value: function FromText(data) {
|
|
56284
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56285
|
-
var nodes = new Array();
|
|
56286
|
-
var textData = data;
|
|
56287
|
-
|
|
56288
|
-
if (textData) {
|
|
56289
|
-
//根据换行符切割
|
|
56290
|
-
var uidArr = textData.split(/[\r\n]+/);
|
|
56291
|
-
|
|
56292
|
-
for (var i = 0; i < uidArr.length; i++) {
|
|
56293
|
-
if (!uidArr[i]) continue;
|
|
56294
|
-
|
|
56295
|
-
if (i > 0) {
|
|
56296
|
-
var paraNode = new _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_13__[/* ParagraphNode */ "a"](this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, 0);
|
|
56297
|
-
nodes.push(paraNode);
|
|
56298
|
-
}
|
|
56299
|
-
|
|
56300
|
-
var textNode = new _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__[/* TextNode */ "a"](this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntText, uidArr[i], 0);
|
|
56301
|
-
nodes.push(textNode);
|
|
56302
|
-
}
|
|
56303
|
-
}
|
|
56304
|
-
|
|
56305
|
-
return nodes;
|
|
56306
|
-
}
|
|
56307
|
-
}, {
|
|
56308
|
-
key: "toJSON",
|
|
56309
|
-
value: function toJSON(recs, isClearValue, type) {
|
|
56310
|
-
var _this = this;
|
|
56311
|
-
|
|
56312
|
-
var jsons = new Array();
|
|
56313
|
-
|
|
56314
|
-
if (recs[0].node instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_13__[/* ParagraphNode */ "a"]) {
|
|
56315
|
-
if (recs[0].node.paraNo === 0) {
|
|
56316
|
-
recs.splice(0, 1);
|
|
56317
|
-
}
|
|
56318
|
-
}
|
|
56319
|
-
|
|
56320
|
-
recs.forEach(function (value, index) {
|
|
56321
|
-
if (isClearValue) {
|
|
56322
|
-
if (value.node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_19__[/* TextInputFieldNode */ "f"]) {
|
|
56323
|
-
value.node.text = "";
|
|
56324
|
-
value.node.childNodes.splice(1, value.node.childNodes.length - 2);
|
|
56325
|
-
}
|
|
56326
|
-
|
|
56327
|
-
if (value.node instanceof _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_20__[/* DateTimeNode */ "a"]) {
|
|
56328
|
-
value.node.text = "";
|
|
56329
|
-
}
|
|
56330
|
-
|
|
56331
|
-
if (value.node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_21__[/* DownListNode */ "a"]) {
|
|
56332
|
-
value.node.text = "";
|
|
56333
|
-
}
|
|
56334
|
-
}
|
|
56335
|
-
|
|
56336
|
-
if (value.node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_19__[/* TextInputFieldNode */ "f"] || value.node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_22__[/* RadioAndCheckBoxNode */ "a"] || value.node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_21__[/* DownListNode */ "a"] || value.node instanceof _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_20__[/* DateTimeNode */ "a"]) {
|
|
56337
|
-
jsons.push(value.node.node2Json(value.range, true, type));
|
|
56338
|
-
} else {
|
|
56339
|
-
//选区有MarkNode时:如果是开始标记,判断对应的结束标记是否在选区内,如果在则复制该节点,反之不复制;
|
|
56340
|
-
//如果是结束标记,判断对应的开始标记是否在选区内,如果在则复制该节点,反之不复制
|
|
56341
|
-
if (value.node instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__[/* MarkNode */ "a"] && value.node.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_19__[/* TextInputFieldNode */ "f"]) {
|
|
56342
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(_this._hoEditorFactoryID);
|
|
56343
|
-
var range = hoEditorFactory.docTree.curDomRange.normalize();
|
|
56344
|
-
|
|
56345
|
-
if (value.node.MarkNodeType === _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__[/* MarkNodeType */ "b"].mtStart) {
|
|
56346
|
-
var result = value.node.parentNode.childNodes[value.node.parentNode.childNodes.length - 1].isTotalSelected(range, true);
|
|
56347
|
-
|
|
56348
|
-
if (result) {
|
|
56349
|
-
jsons.push(value.node.node2Json(value.range, true));
|
|
56350
|
-
}
|
|
56351
|
-
}
|
|
56352
|
-
|
|
56353
|
-
if (value.node.MarkNodeType === _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__[/* MarkNodeType */ "b"].mtEnd) {
|
|
56354
|
-
var _result = value.node.parentNode.childNodes[0].isTotalSelected(range, true);
|
|
56355
|
-
|
|
56356
|
-
if (_result) {
|
|
56357
|
-
jsons.push(value.node.node2Json(value.range, true));
|
|
56358
|
-
}
|
|
56359
|
-
}
|
|
56360
|
-
} else {
|
|
56361
|
-
jsons.push(value.node.node2Json(value.range, true));
|
|
56362
|
-
}
|
|
56363
|
-
}
|
|
56364
|
-
});
|
|
56365
|
-
this._jsondata = JSON.stringify(jsons); //console.log(JSON.stringify(jsons));
|
|
56366
|
-
|
|
56367
|
-
return JSON.stringify(jsons);
|
|
56368
|
-
} // private dataURLtoFile(dataurl: string, filename = 'file') {
|
|
56369
|
-
// const arr = dataurl.split(',')
|
|
56370
|
-
// const mime = arr[0].match(/:(.*?);/)[1]
|
|
56371
|
-
// const suffix = mime.split('/')[1]
|
|
56372
|
-
// const bstr = atob(arr[1])
|
|
56373
|
-
// let n = bstr.length
|
|
56374
|
-
// const u8arr = new Uint8Array(n)
|
|
56375
|
-
// while (n--) {
|
|
56376
|
-
// u8arr[n] = bstr.charCodeAt(n)
|
|
56377
|
-
// }
|
|
56378
|
-
// return new File([u8arr], `${filename}.${suffix}`, {
|
|
56379
|
-
// type: mime
|
|
56380
|
-
// })
|
|
56381
|
-
// }
|
|
56382
|
-
|
|
56383
|
-
}, {
|
|
56384
|
-
key: "toTHML",
|
|
56385
|
-
value: function toTHML(recs) {
|
|
56386
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56387
|
-
if (recs) this.toJSON(recs);
|
|
56388
|
-
var jsondata = JSON.parse(this._jsondata);
|
|
56389
|
-
if (!jsondata) return "";
|
|
56390
|
-
return hoEditorFactory.toHtmlConverter.Exec(this._hoEditorFactoryID, jsondata);
|
|
56391
|
-
}
|
|
56392
|
-
}, {
|
|
56393
|
-
key: "toText",
|
|
56394
|
-
value: function toText(recs) {
|
|
56395
|
-
if (recs) this.toJSON(recs);
|
|
56396
|
-
var jsondata = JSON.parse(this._jsondata);
|
|
56397
|
-
if (!jsondata) return "";
|
|
56398
|
-
var paragraphText = "";
|
|
56399
|
-
|
|
56400
|
-
var json2text = function json2text(data) {
|
|
56401
|
-
for (var i = 0; i < data.length; i++) {
|
|
56402
|
-
var item = data[i];
|
|
56403
|
-
|
|
56404
|
-
if (item["nodeType"]) {
|
|
56405
|
-
if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntText]) {
|
|
56406
|
-
paragraphText += item.text;
|
|
56407
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntParagraph]) {
|
|
56408
|
-
if (i != 0) {
|
|
56409
|
-
paragraphText += "\n";
|
|
56410
|
-
}
|
|
56411
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntControl]) {
|
|
56412
|
-
paragraphText += item.text;
|
|
56413
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntField]) {
|
|
56414
|
-
json2text(item.childNodes.item);
|
|
56415
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntTable]) {
|
|
56416
|
-
if (Array.isArray(item.childNodes.item)) json2text(item.childNodes.item);
|
|
56417
|
-
} else if (item.nodeType == "ntRow") {
|
|
56418
|
-
if (i != 0) {
|
|
56419
|
-
paragraphText += "\n";
|
|
56420
|
-
}
|
|
56421
|
-
|
|
56422
|
-
json2text(item.childNodes.item);
|
|
56423
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntCell]) {
|
|
56424
|
-
if (i != 0) paragraphText += "\t";
|
|
56425
|
-
json2text(item.childNodes.item);
|
|
56426
|
-
}
|
|
56427
|
-
} // else if (item.childNode) {
|
|
56428
|
-
// json2text(item.childNode);
|
|
56429
|
-
// }
|
|
56430
|
-
|
|
56431
|
-
}
|
|
56432
|
-
};
|
|
56433
|
-
|
|
56434
|
-
json2text(jsondata);
|
|
56435
|
-
return paragraphText;
|
|
56436
|
-
}
|
|
56437
|
-
}]);
|
|
56438
|
-
|
|
56439
|
-
return NodeConvert;
|
|
56440
|
-
}();
|
|
56441
|
-
/**
|
|
56442
|
-
* 结构化的节点范围记录
|
|
56443
|
-
*/
|
|
56444
|
-
|
|
56445
|
-
|
|
56446
|
-
var StructureRecord = /*#__PURE__*/function () {
|
|
56447
|
-
function StructureRecord(hoEditorFactoryID, startPath, Node, val) {
|
|
56448
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, StructureRecord);
|
|
56449
|
-
|
|
56450
|
-
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
56451
|
-
this._node = Node;
|
|
56452
|
-
this._path = startPath;
|
|
56453
|
-
this._range = val;
|
|
56454
|
-
}
|
|
56455
|
-
|
|
56456
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(StructureRecord, [{
|
|
56457
|
-
key: "node",
|
|
56458
|
-
get: function get() {
|
|
56459
|
-
return this._node;
|
|
56460
|
-
}
|
|
56461
|
-
}, {
|
|
56462
|
-
key: "range",
|
|
56463
|
-
get: function get() {
|
|
56464
|
-
return this._range;
|
|
56465
|
-
}
|
|
56466
|
-
}]);
|
|
56467
|
-
|
|
56468
|
-
return StructureRecord;
|
|
56469
|
-
}();
|
|
56470
|
-
var StructureNode = /*#__PURE__*/function () {
|
|
56471
|
-
function StructureNode(hoEditorFactoryID) {
|
|
56472
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, StructureNode);
|
|
56473
|
-
|
|
56474
|
-
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
56475
|
-
this._Convertor = new NodeConvert(this._hoEditorFactoryID);
|
|
56476
|
-
}
|
|
56477
|
-
/**
|
|
56478
|
-
* Getter Convertor
|
|
56479
|
-
* @return {NodeConvert}
|
|
56480
|
-
*/
|
|
56481
|
-
|
|
56482
|
-
|
|
56483
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(StructureNode, [{
|
|
56484
|
-
key: "Convertor",
|
|
56485
|
-
get: function get() {
|
|
56486
|
-
return this._Convertor;
|
|
56487
|
-
}
|
|
56488
|
-
}, {
|
|
56489
|
-
key: "jsondata",
|
|
56490
|
-
get: function get() {
|
|
56491
|
-
return this._json;
|
|
56492
|
-
}
|
|
56493
|
-
}, {
|
|
56494
|
-
key: "htmldata",
|
|
56495
|
-
get: function get() {
|
|
56496
|
-
return this._html;
|
|
56497
|
-
}
|
|
56498
|
-
}, {
|
|
56499
|
-
key: "textdata",
|
|
56500
|
-
get: function get() {
|
|
56501
|
-
return this._text;
|
|
56502
|
-
}
|
|
56503
|
-
/**
|
|
56504
|
-
* 返回节点开始路径,即前一个节点的最后路径
|
|
56505
|
-
* @param node 节点
|
|
56506
|
-
*/
|
|
56507
|
-
|
|
56508
|
-
}, {
|
|
56509
|
-
key: "getPrevLastPath",
|
|
56510
|
-
value: function getPrevLastPath(node) {
|
|
56511
|
-
var prev = node.range();
|
|
56512
|
-
return prev.from;
|
|
56513
|
-
}
|
|
56514
|
-
/**
|
|
56515
|
-
* 复制时候结构化的存储,粘贴时候才能带结构的输出
|
|
56516
|
-
* @param dom
|
|
56517
|
-
* @param clipboard
|
|
56518
|
-
*/
|
|
56519
|
-
|
|
56520
|
-
}, {
|
|
56521
|
-
key: "Copy",
|
|
56522
|
-
value: function Copy(dom, clipboard, isClearValue, type) {
|
|
56523
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56524
|
-
var currDom;
|
|
56525
|
-
|
|
56526
|
-
if (dom instanceof _dom_DomRange__WEBPACK_IMPORTED_MODULE_10__[/* DomRange */ "a"]) {
|
|
56527
|
-
currDom = dom.normalize();
|
|
56528
|
-
} else {
|
|
56529
|
-
var tmp = dom[0].range();
|
|
56530
|
-
currDom = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_10__[/* DomRange */ "a"](this._hoEditorFactoryID, tmp.from, hoEditorFactory.docTree.getNodeLastPath(dom[dom.length - 1]));
|
|
56531
|
-
}
|
|
56532
|
-
|
|
56533
|
-
var info = this.getAncestorsChild(currDom.startPath, currDom.endPath);
|
|
56534
|
-
var sstart = currDom.startPath.split("/").slice(0, info.level + 1).join("/");
|
|
56535
|
-
var send = currDom.endPath.split("/").slice(0, info.level + 1).join("/");
|
|
56536
|
-
var nstart = hoEditorFactory.docTree.findNodePositionByPath(sstart).node;
|
|
56537
|
-
var nend = hoEditorFactory.docTree.findNodePositionByPath(send).node;
|
|
56538
|
-
|
|
56539
|
-
if (!this._structoredNode) {
|
|
56540
|
-
this._structoredNode = new Array();
|
|
56541
|
-
}
|
|
56542
|
-
|
|
56543
|
-
this._structoredNode = []; //记录下路径结构
|
|
56544
|
-
|
|
56545
|
-
if (nstart == nend) {
|
|
56546
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
56547
|
-
from: currDom.startPath,
|
|
56548
|
-
to: currDom.endPath
|
|
56549
|
-
}));
|
|
56550
|
-
} else if (nstart instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_16__[/* CellNode */ "a"] && nend instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_16__[/* CellNode */ "a"] && nstart.table == nend.table) {
|
|
56551
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart.table), nstart.table, {
|
|
56552
|
-
from: nstart.range().from,
|
|
56553
|
-
to: nend.range().to
|
|
56554
|
-
}));
|
|
56555
|
-
} else {
|
|
56556
|
-
//开始结束不是同一个cellnode时候 cellnode一定是被全选的, 所以下面的节点from,to需要单独设置下
|
|
56557
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
56558
|
-
from: nstart instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_17__[/* TableNode */ "c"] ? nstart.range().from : currDom.startPath
|
|
56559
|
-
}));
|
|
56560
|
-
|
|
56561
|
-
var node = nstart.nextSibling();
|
|
56562
|
-
|
|
56563
|
-
for (;;) {
|
|
56564
|
-
if (!node) {
|
|
56565
|
-
break;
|
|
56566
|
-
}
|
|
56567
|
-
|
|
56568
|
-
if (node == nend) {
|
|
56569
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nend), nend, {
|
|
56570
|
-
to: nend instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_17__[/* TableNode */ "c"] ? nend.range().to : currDom.endPath
|
|
56571
|
-
}));
|
|
56572
|
-
|
|
56573
|
-
break;
|
|
56574
|
-
} else {
|
|
56575
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(node), node));
|
|
56576
|
-
|
|
56577
|
-
node = node.nextSibling();
|
|
56578
|
-
}
|
|
56579
|
-
}
|
|
56580
|
-
}
|
|
56581
|
-
|
|
56582
|
-
this._json = this._Convertor.toJSON(this._structoredNode, isClearValue, type);
|
|
56583
|
-
this._html = this._Convertor.toTHML();
|
|
56584
|
-
this._text = this._Convertor.toText();
|
|
56585
|
-
|
|
56586
|
-
if (clipboard) {
|
|
56587
|
-
clipboard.setData(ClipboardType.ctJSON, this._json);
|
|
56588
|
-
clipboard.setData(ClipboardType.ctHTML, this._html);
|
|
56589
|
-
clipboard.setData(ClipboardType.ctText, this._text);
|
|
56590
|
-
} else {
|
|
56591
|
-
return this._json;
|
|
56592
|
-
}
|
|
56593
|
-
}
|
|
56594
|
-
}, {
|
|
56595
|
-
key: "Parse",
|
|
56596
|
-
value: function Parse(ctype, data, rootPath) {
|
|
56597
|
-
if (ctype == ClipboardType.ctJSON) return this._Convertor.FromJSON(data, rootPath);
|
|
56598
|
-
if (ctype == ClipboardType.ctHTML) return this._Convertor.FromHTML(data);
|
|
56599
|
-
return this._Convertor.FromText(data);
|
|
56600
|
-
}
|
|
56601
|
-
/**
|
|
56602
|
-
* @description DocTree返回节点在树形结构中共同的父节点
|
|
56603
|
-
*/
|
|
56604
|
-
|
|
56605
|
-
}, {
|
|
56606
|
-
key: "getAncestorsChild",
|
|
56607
|
-
value: function getAncestorsChild(Spath1, Spath2) {
|
|
56608
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56609
|
-
var path1 = Spath1.split("/");
|
|
56610
|
-
var path2 = Spath2.split("/");
|
|
56611
|
-
var nodes;
|
|
56612
|
-
|
|
56613
|
-
if (!_dom_NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].pathCanCompare(Spath1, Spath2)) {
|
|
56614
|
-
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].PathNotAtSameRoot();
|
|
56615
|
-
} //比对路径
|
|
56616
|
-
|
|
56617
|
-
|
|
56618
|
-
var index = 0;
|
|
56619
|
-
|
|
56620
|
-
while (path1[index] == path2[index]) {
|
|
56621
|
-
index += 1;
|
|
56622
|
-
|
|
56623
|
-
if (index > path1.length || index > path2.length) {
|
|
56624
|
-
break;
|
|
56625
|
-
}
|
|
56626
|
-
} //取节点的兄弟节点
|
|
56627
|
-
|
|
56628
|
-
|
|
56629
|
-
if (index === 1 || index === 2 && path1[0] !== "main") {
|
|
56630
|
-
//只有第一个符合 在根节点当中main heaer footer
|
|
56631
|
-
var tmp = hoEditorFactory.docTree.findNodePositionByPath(path1.slice(0, index + 1).join("/")).node;
|
|
56632
|
-
|
|
56633
|
-
if (!tmp) {
|
|
56634
|
-
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].NodeNotFound();
|
|
56635
|
-
}
|
|
56636
|
-
|
|
56637
|
-
if (tmp.parentNode) {
|
|
56638
|
-
nodes = tmp.parentNode.childNodes;
|
|
56639
|
-
} else {
|
|
56640
|
-
nodes = tmp.rootNodes;
|
|
56641
|
-
}
|
|
56642
|
-
} else {
|
|
56643
|
-
//在复合节点当中
|
|
56644
|
-
var ancestor = path1.slice(0, index).join("/");
|
|
56645
|
-
var _tmp = hoEditorFactory.docTree.findNodePositionByPath(ancestor).node;
|
|
56646
|
-
|
|
56647
|
-
if (!_tmp) {
|
|
56648
|
-
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].NodeNotFound();
|
|
56649
|
-
}
|
|
56650
|
-
|
|
56651
|
-
nodes = _tmp.childNodes;
|
|
56652
|
-
}
|
|
56653
|
-
|
|
56654
|
-
return {
|
|
56655
|
-
level: index,
|
|
56656
|
-
child: nodes
|
|
56657
|
-
};
|
|
56658
|
-
}
|
|
56659
|
-
}]);
|
|
56660
|
-
|
|
56661
|
-
return StructureNode;
|
|
56662
|
-
}();
|
|
56663
|
-
|
|
56664
56336
|
/***/ }),
|
|
56665
56337
|
|
|
56666
56338
|
/***/ "5b81":
|
|
@@ -63682,8 +63354,8 @@ var createPrintHTMLIframe = function createPrintHTMLIframe(printStyle) {
|
|
|
63682
63354
|
printIframe.style.width = "0px";
|
|
63683
63355
|
printIframe.style.height = "0px";
|
|
63684
63356
|
printIframe.style.visibility = 'hidden';
|
|
63685
|
-
printIframe === null || printIframe === void 0 ? void 0 : (_printIframe$contentW = printIframe.contentWindow) === null || _printIframe$contentW === void 0 ? void 0 : _printIframe$contentW.document.head.appendChild(printStyle);
|
|
63686
63357
|
document.body.appendChild(printIframe);
|
|
63358
|
+
printIframe === null || printIframe === void 0 ? void 0 : (_printIframe$contentW = printIframe.contentWindow) === null || _printIframe$contentW === void 0 ? void 0 : _printIframe$contentW.document.head.appendChild(printStyle);
|
|
63687
63359
|
return printIframe;
|
|
63688
63360
|
};
|
|
63689
63361
|
|
|
@@ -72939,27 +72611,9 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
72939
72611
|
// EXTERNAL MODULE: ./src/editor/events/NodeChangingEvent.ts
|
|
72940
72612
|
var NodeChangingEvent = __webpack_require__("c119");
|
|
72941
72613
|
|
|
72942
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
72943
|
-
var ParagraphNode = __webpack_require__("1551");
|
|
72944
|
-
|
|
72945
|
-
// EXTERNAL MODULE: ./src/editor/utils/StructureNode.ts
|
|
72946
|
-
var StructureNode = __webpack_require__("5b65");
|
|
72947
|
-
|
|
72948
72614
|
// EXTERNAL MODULE: ./src/editor/undoRedo/NodesDeleteUndoUnit.ts
|
|
72949
72615
|
var NodesDeleteUndoUnit = __webpack_require__("e3c0");
|
|
72950
72616
|
|
|
72951
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
72952
|
-
var TextInputFieldNode = __webpack_require__("4b89");
|
|
72953
|
-
|
|
72954
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
72955
|
-
var MarkNode = __webpack_require__("053b");
|
|
72956
|
-
|
|
72957
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextNode.ts
|
|
72958
|
-
var TextNode = __webpack_require__("110d");
|
|
72959
|
-
|
|
72960
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ControlNode.ts
|
|
72961
|
-
var ControlNode = __webpack_require__("8841");
|
|
72962
|
-
|
|
72963
72617
|
// CONCATENATED MODULE: ./src/editor/EditorController.ts
|
|
72964
72618
|
|
|
72965
72619
|
|
|
@@ -72968,12 +72622,6 @@ var ControlNode = __webpack_require__("8841");
|
|
|
72968
72622
|
|
|
72969
72623
|
|
|
72970
72624
|
|
|
72971
|
-
|
|
72972
|
-
|
|
72973
|
-
|
|
72974
|
-
|
|
72975
|
-
|
|
72976
|
-
|
|
72977
72625
|
var EditorController_EditorController = /*#__PURE__*/function () {
|
|
72978
72626
|
// private _timer1: number | undefined;
|
|
72979
72627
|
// private _pasteNodes!: Array<Array<BaseNode>>;
|
|
@@ -73075,94 +72723,16 @@ var EditorController_EditorController = /*#__PURE__*/function () {
|
|
|
73075
72723
|
|
|
73076
72724
|
if (!hoeditorfactory.docTree.curDomRange.isEmpty) {
|
|
73077
72725
|
hoeditorfactory.structureNode.Copy(hoeditorfactory.docTree.curDomRange, e.clipboardData, undefined, "copy");
|
|
73078
|
-
}
|
|
73079
|
-
// const range = hoeditorfactory.docTree.curDomRange.normalize();
|
|
73080
|
-
// const startPosition = hoeditorfactory.docTree.findNodePositionByPath(range.startPath);
|
|
73081
|
-
// const endPosition = hoeditorfactory.docTree.findNodePositionByPath(range.endPath);
|
|
73082
|
-
// const start = startPosition.node;
|
|
73083
|
-
// const end = endPosition.node;
|
|
73084
|
-
// const ps = hoeditorfactory.docTree.getNodeParaNode(start!);
|
|
73085
|
-
// nodes.push(ps);
|
|
73086
|
-
// if (start instanceof TextNode && start == end) {
|
|
73087
|
-
// const aret = new TextNode(start.rootNodes, start.parentNode, start.nodeType, start.text, start.styleIndex);
|
|
73088
|
-
// const text = aret.text;
|
|
73089
|
-
// aret.text = text.substring(startPosition.childIndex + 1, endPosition.childIndex + 1)
|
|
73090
|
-
// nodes.push(aret);
|
|
73091
|
-
// } else {
|
|
73092
|
-
// if (start && start instanceof TextNode) {
|
|
73093
|
-
// const aret = new TextNode(start.rootNodes, start.parentNode, start.nodeType, start.text, start.styleIndex);
|
|
73094
|
-
// aret.deleteByIndex(0, startPosition.childIndex);
|
|
73095
|
-
// nodes.push(aret);
|
|
73096
|
-
// }
|
|
73097
|
-
// let next;
|
|
73098
|
-
// for (; ;) {
|
|
73099
|
-
// if (!next) {
|
|
73100
|
-
// next = start?.nextLeaf();
|
|
73101
|
-
// } else {
|
|
73102
|
-
// next = next?.nextLeaf();
|
|
73103
|
-
// }
|
|
73104
|
-
// if (next != end) {
|
|
73105
|
-
// nodes.push(next!);
|
|
73106
|
-
// }
|
|
73107
|
-
// if (next == end) {
|
|
73108
|
-
// if (end && end instanceof TextNode) {
|
|
73109
|
-
// const aret = new TextNode(end.rootNodes, end.parentNode, end.nodeType, end.text, end.styleIndex);
|
|
73110
|
-
// aret.deleteByIndex(endPosition.childIndex + 1, aret.text.length);
|
|
73111
|
-
// nodes.push(aret);
|
|
73112
|
-
// } else {
|
|
73113
|
-
// nodes.push(next!);
|
|
73114
|
-
// }
|
|
73115
|
-
// break;
|
|
73116
|
-
// }
|
|
73117
|
-
// }
|
|
73118
|
-
// }
|
|
73119
|
-
// e.clipboardData.setData('text/plain', StructureConvert.instance.nodes2Text(nodes));
|
|
73120
|
-
// e.clipboardData.setData('text/html', StructureConvert.instance.nodes2Html(nodes));
|
|
73121
|
-
// e.clipboardData.setData('application/json', StructureConvert.instance.nodes2Json(nodes));
|
|
73122
|
-
|
|
72726
|
+
}
|
|
73123
72727
|
|
|
73124
72728
|
e.preventDefault();
|
|
73125
72729
|
});
|
|
73126
72730
|
this.editor.input.addEventListener("paste", function (e) {
|
|
73127
72731
|
if (!e || !e.clipboardData) {
|
|
73128
72732
|
return;
|
|
73129
|
-
} //console.log(hoeditorfactory.drawTree.paintStatus);
|
|
73130
|
-
|
|
73131
|
-
|
|
73132
|
-
if (hoeditorfactory.drawTree.paintStatus === PaintState.psReadOnly || hoeditorfactory.drawTree.paintStatus === PaintState.psPreview || hoeditorfactory.drawTree.paintStatus === PaintState.psPrint) {
|
|
73133
|
-
return;
|
|
73134
|
-
}
|
|
73135
|
-
|
|
73136
|
-
var startPath = hoeditorfactory.docTree.curDomRange.startPath;
|
|
73137
|
-
var parentNode = hoeditorfactory.docTree.getParentNode(startPath);
|
|
73138
|
-
|
|
73139
|
-
if (parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && !parentNode.canModifyContent) {
|
|
73140
|
-
return;
|
|
73141
|
-
}
|
|
73142
|
-
|
|
73143
|
-
var jsonData = e.clipboardData.getData("application/json");
|
|
73144
|
-
var htmlData = e.clipboardData.getData("text/html");
|
|
73145
|
-
var textData = e.clipboardData.getData("text/plain");
|
|
73146
|
-
var rtfData = e.clipboardData.getData("text/rtf");
|
|
73147
|
-
var nodes;
|
|
73148
|
-
|
|
73149
|
-
if (jsonData) {
|
|
73150
|
-
nodes = hoeditorfactory.structureNode.Parse(StructureNode["a" /* ClipboardType */].ctJSON, jsonData);
|
|
73151
|
-
} else if (htmlData) {
|
|
73152
|
-
//console.log(htmlData);
|
|
73153
|
-
nodes = hoeditorfactory.structureNode.Parse(StructureNode["a" /* ClipboardType */].ctHTML, htmlData);
|
|
73154
|
-
} else {
|
|
73155
|
-
nodes = hoeditorfactory.structureNode.Parse(StructureNode["a" /* ClipboardType */].ctText, textData);
|
|
73156
|
-
}
|
|
73157
|
-
|
|
73158
|
-
if (!hoeditorfactory.pasteBase) {
|
|
73159
|
-
for (var n = 0; n < nodes.length; n++) {
|
|
73160
|
-
var node = nodes[n];
|
|
73161
|
-
if (node instanceof ParagraphNode["a" /* ParagraphNode */] || node instanceof TextNode["a" /* TextNode */] || node instanceof MarkNode["a" /* MarkNode */] || node instanceof ControlNode["a" /* ControlNode */]) node.styleIndex = hoeditorfactory.docTree.curStyleIndex;
|
|
73162
|
-
}
|
|
73163
72733
|
}
|
|
73164
72734
|
|
|
73165
|
-
hoeditorfactory.
|
|
72735
|
+
hoeditorfactory.editController.editKeyPaste(e.clipboardData);
|
|
73166
72736
|
e.preventDefault();
|
|
73167
72737
|
});
|
|
73168
72738
|
}
|
|
@@ -73934,6 +73504,9 @@ var IDrawInfos = __webpack_require__("8bda");
|
|
|
73934
73504
|
// EXTERNAL MODULE: ./src/editor/dom/NodePosition.ts
|
|
73935
73505
|
var NodePosition = __webpack_require__("ca11");
|
|
73936
73506
|
|
|
73507
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
73508
|
+
var ParagraphNode = __webpack_require__("1551");
|
|
73509
|
+
|
|
73937
73510
|
// EXTERNAL MODULE: ./src/editor/dom/domNode/Paragraph.ts
|
|
73938
73511
|
var Paragraph = __webpack_require__("c7e5");
|
|
73939
73512
|
|
|
@@ -74082,6 +73655,9 @@ var DrawSelect_DrawSelect = /*#__PURE__*/function (_createjs$Shape) {
|
|
|
74082
73655
|
|
|
74083
73656
|
return DrawSelect;
|
|
74084
73657
|
}(createjs.Shape);
|
|
73658
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextNode.ts
|
|
73659
|
+
var TextNode = __webpack_require__("110d");
|
|
73660
|
+
|
|
74085
73661
|
// EXTERNAL MODULE: ./src/editor/events/SelectionChangeEvent.ts
|
|
74086
73662
|
var SelectionChangeEvent = __webpack_require__("d22d");
|
|
74087
73663
|
|
|
@@ -74097,6 +73673,9 @@ var TableNode = __webpack_require__("49d1");
|
|
|
74097
73673
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTable.ts
|
|
74098
73674
|
var DrawTable = __webpack_require__("7d22");
|
|
74099
73675
|
|
|
73676
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
73677
|
+
var TextInputFieldNode = __webpack_require__("4b89");
|
|
73678
|
+
|
|
74100
73679
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/RadioAndCheckBoxNode.ts
|
|
74101
73680
|
var RadioAndCheckBoxNode = __webpack_require__("4e47");
|
|
74102
73681
|
|
|
@@ -74118,6 +73697,9 @@ var DrawPageCell = __webpack_require__("5964");
|
|
|
74118
73697
|
// EXTERNAL MODULE: ./src/editor/PrintStatus.ts + 5 modules
|
|
74119
73698
|
var PrintStatus = __webpack_require__("2381");
|
|
74120
73699
|
|
|
73700
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
73701
|
+
var MarkNode = __webpack_require__("053b");
|
|
73702
|
+
|
|
74121
73703
|
// EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawPageMainDoc.ts
|
|
74122
73704
|
var DrawPageMainDoc = __webpack_require__("65aa");
|
|
74123
73705
|
|
|
@@ -74269,6 +73851,11 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
74269
73851
|
|
|
74270
73852
|
|
|
74271
73853
|
Object(createClass["a" /* default */])(DrawTree, [{
|
|
73854
|
+
key: "editor",
|
|
73855
|
+
get: function get() {
|
|
73856
|
+
return this._editor;
|
|
73857
|
+
}
|
|
73858
|
+
}, {
|
|
74272
73859
|
key: "drawPages",
|
|
74273
73860
|
get: function get() {
|
|
74274
73861
|
return this._drawPages;
|
|
@@ -111253,7 +110840,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
111253
110840
|
}
|
|
111254
110841
|
|
|
111255
110842
|
dline.y = dTop;
|
|
111256
|
-
|
|
110843
|
+
|
|
110844
|
+
if (!this._allowAcrossPage && nextDline === dlines.length - 1 && dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_12__[/* DrawLine */ "a"] && dline.drawItems.length == 0) {
|
|
110845
|
+
dTop += 0;
|
|
110846
|
+
} else {
|
|
110847
|
+
dTop += dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
|
|
110848
|
+
}
|
|
110849
|
+
|
|
111257
110850
|
if (this.allowAcrossPage) dRestHeight = this._maxHeight - dTop;
|
|
111258
110851
|
this._docHeight = dTop;
|
|
111259
110852
|
this._usedHeight = dTop;
|
|
@@ -111410,7 +111003,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
111410
111003
|
}
|
|
111411
111004
|
|
|
111412
111005
|
dline.y = dTop;
|
|
111413
|
-
|
|
111006
|
+
|
|
111007
|
+
if (nextDline === dlines.length - 1 && dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_12__[/* DrawLine */ "a"] && dline.drawItems.length == 0) {
|
|
111008
|
+
dTop += 0;
|
|
111009
|
+
} else {
|
|
111010
|
+
dTop += dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
|
|
111011
|
+
}
|
|
111012
|
+
|
|
111414
111013
|
this._docHeight = dTop;
|
|
111415
111014
|
this._usedHeight = dTop;
|
|
111416
111015
|
this._lastDrawLine = dline;
|
|
@@ -135010,6 +134609,12 @@ var DrawHeader = /*#__PURE__*/function (_DrawPageHeaderFooter) {
|
|
|
135010
134609
|
|
|
135011
134610
|
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(DrawHeader.prototype), "paintBackground", this).call(this);
|
|
135012
134611
|
}
|
|
134612
|
+
}, {
|
|
134613
|
+
key: "actualHeight",
|
|
134614
|
+
get: function get() {
|
|
134615
|
+
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
134616
|
+
return Math.max(Math.min(this.docHeight, this.maxHeight), hoeditfactory.pageProperty.topMarginPixes - hoeditfactory.pageProperty.headerYPixes);
|
|
134617
|
+
}
|
|
135013
134618
|
}, {
|
|
135014
134619
|
key: "paintArea",
|
|
135015
134620
|
value: function paintArea(dlines, startIndex, aTop //顶点
|
|
@@ -155843,6 +155448,12 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
155843
155448
|
throw new Error("错误的绘制表格");
|
|
155844
155449
|
}
|
|
155845
155450
|
}
|
|
155451
|
+
/**
|
|
155452
|
+
* @description 表格的移动重绘
|
|
155453
|
+
* @param prevdPageTable 前一个绘制表格
|
|
155454
|
+
* @param dRestHeight 页剩余高度
|
|
155455
|
+
*/
|
|
155456
|
+
|
|
155846
155457
|
}, {
|
|
155847
155458
|
key: "drawUpdate",
|
|
155848
155459
|
value: function drawUpdate(prevdPageTable, dRestHeight) {
|
|
@@ -162630,7 +162241,10 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
162630
162241
|
case 0:
|
|
162631
162242
|
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
162632
162243
|
changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_11__[/* NodeChangeEvent */ "a"](this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_10__[/* DocAction */ "a"].daInsert, path, this.strAfterPath);
|
|
162633
|
-
|
|
162244
|
+
_context2.next = 4;
|
|
162245
|
+
return hoEditorFactory.docTree.change(changeEvent);
|
|
162246
|
+
|
|
162247
|
+
case 4:
|
|
162634
162248
|
hoEditorFactory.docTree.curDomRange.setSamePath(this.strAfterPath);
|
|
162635
162249
|
strAfterPath = this.strAfterPath;
|
|
162636
162250
|
|
|
@@ -162648,7 +162262,7 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
162648
162262
|
hoEditorFactory.timeStamp.update();
|
|
162649
162263
|
}
|
|
162650
162264
|
|
|
162651
|
-
case
|
|
162265
|
+
case 9:
|
|
162652
162266
|
case "end":
|
|
162653
162267
|
return _context2.stop();
|
|
162654
162268
|
}
|
|
@@ -169813,12 +169427,12 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
169813
169427
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
169814
169428
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
169815
169429
|
|
|
169816
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
169817
|
-
var
|
|
169430
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=5a5781ca&
|
|
169431
|
+
var HoDocsvue_type_template_id_5a5781ca_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer'},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.controlStatus)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isListStyle":_vm.isListStyle},on:{"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoDateModal",fn:function(){return [_vm._t("hoDateField")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e(),_c('div',{attrs:{"id":"versionPoper"}},[_vm._v("编辑器内核版本: "),_c('span',{staticStyle:{"color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.defaultDocProperty.version))])]),_c('ViewContinuousXml',{attrs:{"hoEditorFactoryId":_vm.activeDocId}})],1):_vm._e()}
|
|
169818
169432
|
var staticRenderFns = []
|
|
169819
169433
|
|
|
169820
169434
|
|
|
169821
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
169435
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=5a5781ca&
|
|
169822
169436
|
|
|
169823
169437
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
169824
169438
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -170729,12 +170343,12 @@ function isPromise(obj) {
|
|
|
170729
170343
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
170730
170344
|
}
|
|
170731
170345
|
|
|
170732
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
170733
|
-
var
|
|
170734
|
-
var
|
|
170346
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=285668dd&
|
|
170347
|
+
var HoDocvue_type_template_id_285668dd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount - 1 && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount + 1)?_c('HoPage',{directives:[{name:"show",rawName:"v-show",value:(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount),expression:"pgIndex - 1 >= currentPageIndex * paginationCount && pgIndex - 1 < (currentPageIndex + 1) * paginationCount"}],key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)}):_vm._e()]})],2):_vm._e(),(_vm.currentPageList > 1)?_c('ul',{staticClass:"draw-pagination"},_vm._l((_vm.currentPageList),function(i){return _c('li',{key:i,class:_vm.currentPageIndex === i - 1 ? 'current-pagination' : '',on:{"click":function($event){return _vm.setCurrentPagination(i - 1)}}},[_vm._v(_vm._s(i))])}),0):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}})],1)}
|
|
170348
|
+
var HoDocvue_type_template_id_285668dd_staticRenderFns = []
|
|
170735
170349
|
|
|
170736
170350
|
|
|
170737
|
-
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=
|
|
170351
|
+
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=285668dd&
|
|
170738
170352
|
|
|
170739
170353
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
170740
170354
|
var toConsumableArray = __webpack_require__("2909");
|
|
@@ -170751,7 +170365,7 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
170751
170365
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
170752
170366
|
var es_string_replace = __webpack_require__("5319");
|
|
170753
170367
|
|
|
170754
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
170368
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoPage.vue?vue&type=template&id=35f1e03c&scoped=true&
|
|
170755
170369
|
var HoPagevue_type_template_id_35f1e03c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"hoPage",class:_vm.pageClassNames,style:({ height: _vm.canvasHeight + 'px', width: _vm.canvasWidth + 'px' })},[_c('canvas',{ref:"domcanvas",class:_vm.domCanvasName,style:(_vm.style),attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight}}),_c('canvas',{ref:"selectcanvas",staticClass:"selectcanvas",style:(_vm.style),attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight},on:{"contextmenu":function($event){return _vm.canvasRightClick.apply(null, arguments)}}}),(_vm.isPoperText)?_c('PoperTipText',{attrs:{"poperText":_vm.poperText,"poperPos":_vm.poperPos},on:{"poperTextClose":_vm.poperTextClose}}):_vm._e(),(_vm.isHeadFoot === 'header' || _vm.isHeadFoot === 'footer')?_c('ho-head-foot',{attrs:{"headerFooterPosition":_vm.canvasHeadFootPos,"isHeadFoot":_vm.isHeadFoot},scopedSlots:_vm._u([{key:"head",fn:function(){return [_vm._t("hoPageHead")]},proxy:true},{key:"foot",fn:function(){return [_vm._t("hoPageFoot")]},proxy:true}],null,true)}):_vm._e()],1)}
|
|
170756
170370
|
var HoPagevue_type_template_id_35f1e03c_scoped_true_staticRenderFns = []
|
|
170757
170371
|
|
|
@@ -171852,7 +171466,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
171852
171466
|
|
|
171853
171467
|
return DrawDomLevel;
|
|
171854
171468
|
}();
|
|
171855
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
171469
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoHeadFoot.vue?vue&type=template&id=5d96d796&scoped=true&
|
|
171856
171470
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ul',{staticClass:"ho-headfoot-list ho-head-list",style:(_vm.headTop)},[_c('li',{staticClass:"ho-headfoot-item"},[_vm._v("页眉")]),_c('span',{staticStyle:{"flex":"1"}}),_vm._t("head")],2),_c('ul',{staticClass:"ho-headfoot-list ho-head-list",style:(_vm.footerTop)},[_c('li',{staticClass:"ho-headfoot-item"},[_vm._v("页脚")]),_c('span',{staticStyle:{"flex":"1"}}),_vm._t("foot")],2)])}
|
|
171857
171471
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_staticRenderFns = []
|
|
171858
171472
|
|
|
@@ -172027,7 +171641,7 @@ var component = normalizeComponent(
|
|
|
172027
171641
|
)
|
|
172028
171642
|
|
|
172029
171643
|
/* harmony default export */ var components_HoHeadFoot = (component.exports);
|
|
172030
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
171644
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=06cc5327&scoped=true&
|
|
172031
171645
|
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],staticClass:"poper-text-modal animation-in",style:(_vm.posStyle)},[_c('div',{class:_vm.poperDirection === 'bottom' ? 'poper-arrow poper-arrow-bottom' : 'poper-arrow poper-arrow-top'}),_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])})],2)}
|
|
172032
171646
|
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_staticRenderFns = []
|
|
172033
171647
|
|
|
@@ -172439,7 +172053,7 @@ var HoPage_component = normalizeComponent(
|
|
|
172439
172053
|
)
|
|
172440
172054
|
|
|
172441
172055
|
/* harmony default export */ var components_HoPage = (HoPage_component.exports);
|
|
172442
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
172056
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/backToPage/HoToPage.vue?vue&type=template&id=2e02cb8f&
|
|
172443
172057
|
var HoToPagevue_type_template_id_2e02cb8f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('div',{staticClass:"ho-to-page",style:({
|
|
172444
172058
|
right: _vm.styleRight,
|
|
172445
172059
|
bottom: _vm.styleBottom,
|
|
@@ -172610,7 +172224,7 @@ var HoToPage_component = normalizeComponent(
|
|
|
172610
172224
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
172611
172225
|
|
|
172612
172226
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
172613
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
172227
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=c327325c&scoped=true&
|
|
172614
172228
|
var PoperSelectvue_type_template_id_c327325c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch)?_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}}):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length > 0)?_c('div',{staticClass:"select-poper"},[_c('ul',{ref:"selectPoperList",staticClass:"list"},_vm._l((_vm.currentList),function(item,index){return _c('li',{key:item.id,class:_vm.selected.filter(function (v) { return v.id === item.id; }).length === 1 ? 'selected' : '',on:{"click":function($event){return _vm.selectItems(item, index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.split("<元素>")[0]))]),_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#selected"}})])])}),0)]):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":function($event){_vm.selected = []}}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length === 0)?_c('div',[_vm._m(0)]):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()],1)}
|
|
172615
172229
|
var PoperSelectvue_type_template_id_c327325c_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])])}]
|
|
172616
172230
|
|
|
@@ -172692,7 +172306,7 @@ var textParams = {
|
|
|
172692
172306
|
readType: false,
|
|
172693
172307
|
keyValue: ''
|
|
172694
172308
|
};
|
|
172695
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
172309
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DatePanel.vue?vue&type=template&id=104516fd&
|
|
172696
172310
|
var DatePanelvue_type_template_id_104516fd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"component-date",class:_vm.customClass},[_c('div',{staticClass:"my-vue-date2 "},[_c('div',{staticClass:"date-header"},[_c('i',{staticClass:"el-icon-d-arrow-left last",on:{"click":_vm.last}}),_c('p',[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'year'),expression:"type === 'year'"}]},[_vm._v(_vm._s(_vm.yearTitle)+" 年")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type !== 'year'),expression:"type !== 'year'"}],on:{"click":_vm.showYear}},[_vm._v(_vm._s(_vm.year)+" 年")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'date'),expression:"type === 'date'"}],on:{"click":_vm.showMonth}},[_vm._v(_vm._s(_vm.month)+" 月")])]),_c('i',{staticClass:"el-icon-d-arrow-right next",on:{"click":_vm.next}})]),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'year'),expression:"type === 'year'"}],staticClass:"years"},_vm._l((_vm.yearList),function(val){return _c('li',{key:val + Math.random(0, 1),class:_vm.nowYear == val ? 'active' : '',on:{"click":function($event){$event.stopPropagation();return _vm.getYear(val)}}},[_vm._v(_vm._s(val))])}),0),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'month'),expression:"type === 'month'"}],staticClass:"years "},_vm._l((12),function(i){return _c('li',{key:i,class:_vm.month == i ? 'active' : '',on:{"click":function($event){$event.stopPropagation();return _vm.getMonth(i)}}},[_vm._v(_vm._s(i)+"月")])}),0),_c('table',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'date' && _vm.dateType === 'date'),expression:"type === 'date' && dateType === 'date'"}],attrs:{"colspan":"0","rowspan":"0"}},[_vm._m(0),_vm._l((_vm.rows),function(row,i){return _c('tr',{key:i},_vm._l((row),function(cell,n){return _c('td',{key:n,class:cell.date == _vm.nowDate ? 'today' : ''},[_c('span',{staticClass:"date-item",class:{ grey: cell.month == 'last' || cell.month == 'next', active: cell.date === _vm.date },attrs:{"title":cell.date},on:{"click":function($event){return _vm.getDate(cell, $event)}}},[_vm._v(_vm._s(cell.text))])])}),0)})],2)])])}
|
|
172697
172311
|
var DatePanelvue_type_template_id_104516fd_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('th',[_vm._v("日")]),_c('th',[_vm._v("一")]),_c('th',[_vm._v("二")]),_c('th',[_vm._v("三")]),_c('th',[_vm._v("四")]),_c('th',[_vm._v("五")]),_c('th',[_vm._v("六")])])}]
|
|
172698
172312
|
|
|
@@ -175519,7 +175133,7 @@ var PoperSelect_component = normalizeComponent(
|
|
|
175519
175133
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
175520
175134
|
|
|
175521
175135
|
/* harmony default export */ var poperSelect = (PoperSelect);
|
|
175522
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
175136
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=7a074a84&scoped=true&
|
|
175523
175137
|
var TableCellPopervue_type_template_id_7a074a84_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],staticClass:"cell-poper-selected-modal animation-in",style:(_vm.posStyle)},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch)?_c('el-input',{attrs:{"placeholder":"可搜索","size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}}):_vm._e(),(_vm.editorProperty === 1)?_c('div',{staticClass:"select-poper"},[_c('ul',{staticClass:"list"},[_vm._l((_vm.currentList),function(item,index){return _c('li',{key:item.id,class:_vm.selected.filter(function (v) { return v.id === item.id; }).length === 1 ? 'selected' : '',on:{"click":function($event){return _vm.selectItems(item, index)}}},[_c('span',[_vm._v(_vm._s(item.text.split("<元素>")[0]))]),_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#selected"}})])])}),(_vm.currentList.length === 0)?_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")]):_vm._e()],2),(_vm.isAllowMultiSelect)?_c('footer',{style:({ bottom: _vm.isAllowMultiSelect ? '-34px' : '0px' })},[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":function($event){_vm.selected = []}}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e()]):_vm._e(),(_vm.editorProperty === 2)?_c('div',{staticClass:"date-poper"},[(_vm.inputStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('MM') && !_vm.inputStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('yyyy') && !_vm.inputStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v(_vm._s(_vm.inputStyle.indexOf("HH") !== -1 ? "此刻" : "今天"))]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":function($event){return _vm.handleClose('cancel')}}},[_vm._v("取消")])],1)],1):_vm._e()],1)}
|
|
175524
175138
|
var TableCellPopervue_type_template_id_7a074a84_scoped_true_staticRenderFns = []
|
|
175525
175139
|
|
|
@@ -177753,10 +177367,17 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
177753
177367
|
};
|
|
177754
177368
|
|
|
177755
177369
|
if (node instanceof SignNode["a" /* SignNode */]) {
|
|
177756
|
-
|
|
177757
|
-
|
|
177758
|
-
|
|
177759
|
-
|
|
177370
|
+
if (node.signType && Number(node.signType) === 1) {
|
|
177371
|
+
this.$emit("dblNodeClick", {
|
|
177372
|
+
node: this.getCurrentSelectNode,
|
|
177373
|
+
type: "multi-sign"
|
|
177374
|
+
});
|
|
177375
|
+
} else {
|
|
177376
|
+
this.$emit("dblNodeClick", {
|
|
177377
|
+
node: this.getCurrentSelectNode,
|
|
177378
|
+
type: "sign"
|
|
177379
|
+
});
|
|
177380
|
+
}
|
|
177760
177381
|
} else if (node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
177761
177382
|
if (node.isReadOnly && node.text.replace(/\s*/g, "") !== "") {
|
|
177762
177383
|
return false;
|
|
@@ -178001,8 +177622,8 @@ HoDocvue_type_script_lang_ts_HoDoc = __decorate([vue_class_component_esm({
|
|
|
178001
177622
|
|
|
178002
177623
|
var HoDoc_component = normalizeComponent(
|
|
178003
177624
|
components_HoDocvue_type_script_lang_ts_,
|
|
178004
|
-
|
|
178005
|
-
|
|
177625
|
+
HoDocvue_type_template_id_285668dd_render,
|
|
177626
|
+
HoDocvue_type_template_id_285668dd_staticRenderFns,
|
|
178006
177627
|
false,
|
|
178007
177628
|
null,
|
|
178008
177629
|
null,
|
|
@@ -183066,9 +182687,503 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
183066
182687
|
|
|
183067
182688
|
return StructureConvert;
|
|
183068
182689
|
}();
|
|
183069
|
-
// EXTERNAL MODULE: ./
|
|
183070
|
-
var
|
|
182690
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.to-json.js
|
|
182691
|
+
var web_url_to_json = __webpack_require__("bf19");
|
|
183071
182692
|
|
|
182693
|
+
// EXTERNAL MODULE: ./src/editor/events/Exception.ts
|
|
182694
|
+
var Exception = __webpack_require__("ff91");
|
|
182695
|
+
|
|
182696
|
+
// EXTERNAL MODULE: ./src/editor/dom/NodePosition.ts
|
|
182697
|
+
var NodePosition = __webpack_require__("ca11");
|
|
182698
|
+
|
|
182699
|
+
// CONCATENATED MODULE: ./src/editor/utils/StructureNode.ts
|
|
182700
|
+
|
|
182701
|
+
|
|
182702
|
+
|
|
182703
|
+
|
|
182704
|
+
|
|
182705
|
+
|
|
182706
|
+
|
|
182707
|
+
|
|
182708
|
+
|
|
182709
|
+
|
|
182710
|
+
|
|
182711
|
+
|
|
182712
|
+
|
|
182713
|
+
|
|
182714
|
+
|
|
182715
|
+
// import { HTMLConverter2 } from "./HTMLConverter";
|
|
182716
|
+
|
|
182717
|
+
|
|
182718
|
+
|
|
182719
|
+
|
|
182720
|
+
|
|
182721
|
+
|
|
182722
|
+
|
|
182723
|
+
|
|
182724
|
+
|
|
182725
|
+
var ClipboardType;
|
|
182726
|
+
|
|
182727
|
+
(function (ClipboardType) {
|
|
182728
|
+
ClipboardType["ctText"] = "text/plain";
|
|
182729
|
+
ClipboardType["ctHTML"] = "text/html";
|
|
182730
|
+
ClipboardType["ctJSON"] = "application/json";
|
|
182731
|
+
})(ClipboardType || (ClipboardType = {}));
|
|
182732
|
+
|
|
182733
|
+
var StructureNode_NodeConvert = /*#__PURE__*/function () {
|
|
182734
|
+
function NodeConvert(hoEditorFactoryID) {
|
|
182735
|
+
Object(classCallCheck["a" /* default */])(this, NodeConvert);
|
|
182736
|
+
|
|
182737
|
+
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
182738
|
+
}
|
|
182739
|
+
|
|
182740
|
+
Object(createClass["a" /* default */])(NodeConvert, [{
|
|
182741
|
+
key: "FromJSON",
|
|
182742
|
+
value: function FromJSON(data, rootPath) {
|
|
182743
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182744
|
+
var nodes = new Array();
|
|
182745
|
+
var rootNodes = new Array();
|
|
182746
|
+
|
|
182747
|
+
if (rootPath === "main") {
|
|
182748
|
+
rootNodes = hoEditorFactory.docTree.mainNodes;
|
|
182749
|
+
}
|
|
182750
|
+
|
|
182751
|
+
var jsonArray = JSON.parse(data);
|
|
182752
|
+
var path = hoEditorFactory.docTree.curDomRange.normalize().startPath;
|
|
182753
|
+
var parentNode = hoEditorFactory.docTree.getParentNode(path);
|
|
182754
|
+
var aRootNodes = rootPath ? rootNodes : hoEditorFactory.docTree.curDomRange.normalize().npStart.roots;
|
|
182755
|
+
|
|
182756
|
+
for (var i = 0; i < jsonArray.length; i++) {
|
|
182757
|
+
var nodeJson = jsonArray[i];
|
|
182758
|
+
|
|
182759
|
+
if (nodeJson) {
|
|
182760
|
+
var node = hoEditorFactory.structureConvert.convertNode(nodeJson, aRootNodes, rootPath ? null : parentNode, undefined, true);
|
|
182761
|
+
|
|
182762
|
+
if (!node) {
|
|
182763
|
+
return [];
|
|
182764
|
+
}
|
|
182765
|
+
|
|
182766
|
+
if (node) {
|
|
182767
|
+
if (node instanceof TextNode["a" /* TextNode */] && node.text.length === 0) {
|
|
182768
|
+
continue;
|
|
182769
|
+
}
|
|
182770
|
+
|
|
182771
|
+
if (rootPath) {
|
|
182772
|
+
node.rootPath = rootPath;
|
|
182773
|
+
}
|
|
182774
|
+
|
|
182775
|
+
nodes.push(node);
|
|
182776
|
+
|
|
182777
|
+
if (rootPath && rootPath.split('/').length > 1) {
|
|
182778
|
+
rootNodes.push(node);
|
|
182779
|
+
node.rootNodes = rootNodes;
|
|
182780
|
+
}
|
|
182781
|
+
}
|
|
182782
|
+
}
|
|
182783
|
+
}
|
|
182784
|
+
|
|
182785
|
+
return nodes;
|
|
182786
|
+
}
|
|
182787
|
+
}, {
|
|
182788
|
+
key: "FromHTML",
|
|
182789
|
+
value: function FromHTML(data) {
|
|
182790
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182791
|
+
var rx = /<body[^>]*>([\s\S]+?)<\/body>/i;
|
|
182792
|
+
var r = rx.exec(data);
|
|
182793
|
+
var bodyHtml;
|
|
182794
|
+
|
|
182795
|
+
if (!r) {
|
|
182796
|
+
return [];
|
|
182797
|
+
} else {
|
|
182798
|
+
bodyHtml = "<div>" + r[1] + "</div>";
|
|
182799
|
+
} //console.log(bodyHtml);
|
|
182800
|
+
|
|
182801
|
+
|
|
182802
|
+
var nodes = hoEditorFactory.htmlConverter.Exec(jquery_default()(bodyHtml)[0], "");
|
|
182803
|
+
return nodes;
|
|
182804
|
+
}
|
|
182805
|
+
}, {
|
|
182806
|
+
key: "FromText",
|
|
182807
|
+
value: function FromText(data) {
|
|
182808
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182809
|
+
var nodes = new Array();
|
|
182810
|
+
var textData = data;
|
|
182811
|
+
|
|
182812
|
+
if (textData) {
|
|
182813
|
+
//根据换行符切割
|
|
182814
|
+
var uidArr = textData.split(/[\r\n]+/);
|
|
182815
|
+
|
|
182816
|
+
for (var i = 0; i < uidArr.length; i++) {
|
|
182817
|
+
if (!uidArr[i]) continue;
|
|
182818
|
+
|
|
182819
|
+
if (i > 0) {
|
|
182820
|
+
var paraNode = new ParagraphNode["a" /* ParagraphNode */](this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, 0);
|
|
182821
|
+
nodes.push(paraNode);
|
|
182822
|
+
}
|
|
182823
|
+
|
|
182824
|
+
var textNode = new TextNode["a" /* TextNode */](this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, BaseNode["b" /* NodeType */].ntText, uidArr[i], 0);
|
|
182825
|
+
nodes.push(textNode);
|
|
182826
|
+
}
|
|
182827
|
+
}
|
|
182828
|
+
|
|
182829
|
+
return nodes;
|
|
182830
|
+
}
|
|
182831
|
+
}, {
|
|
182832
|
+
key: "toJSON",
|
|
182833
|
+
value: function toJSON(recs, isClearValue, type) {
|
|
182834
|
+
var _this = this;
|
|
182835
|
+
|
|
182836
|
+
var jsons = new Array();
|
|
182837
|
+
|
|
182838
|
+
if (recs[0].node instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
182839
|
+
if (recs[0].node.paraNo === 0) {
|
|
182840
|
+
recs.splice(0, 1);
|
|
182841
|
+
}
|
|
182842
|
+
}
|
|
182843
|
+
|
|
182844
|
+
recs.forEach(function (value, index) {
|
|
182845
|
+
if (isClearValue) {
|
|
182846
|
+
if (value.node instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
182847
|
+
value.node.text = "";
|
|
182848
|
+
value.node.childNodes.splice(1, value.node.childNodes.length - 2);
|
|
182849
|
+
}
|
|
182850
|
+
|
|
182851
|
+
if (value.node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
182852
|
+
value.node.text = "";
|
|
182853
|
+
}
|
|
182854
|
+
|
|
182855
|
+
if (value.node instanceof DownListNode["a" /* DownListNode */]) {
|
|
182856
|
+
value.node.text = "";
|
|
182857
|
+
}
|
|
182858
|
+
}
|
|
182859
|
+
|
|
182860
|
+
if (value.node instanceof TextInputFieldNode["f" /* TextInputFieldNode */] || value.node instanceof RadioAndCheckBoxNode["a" /* RadioAndCheckBoxNode */] || value.node instanceof DownListNode["a" /* DownListNode */] || value.node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
182861
|
+
jsons.push(value.node.node2Json(value.range, true, type));
|
|
182862
|
+
} else {
|
|
182863
|
+
//选区有MarkNode时:如果是开始标记,判断对应的结束标记是否在选区内,如果在则复制该节点,反之不复制;
|
|
182864
|
+
//如果是结束标记,判断对应的开始标记是否在选区内,如果在则复制该节点,反之不复制
|
|
182865
|
+
if (value.node instanceof MarkNode["a" /* MarkNode */] && value.node.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
182866
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(_this._hoEditorFactoryID);
|
|
182867
|
+
var range = hoEditorFactory.docTree.curDomRange.normalize();
|
|
182868
|
+
|
|
182869
|
+
if (value.node.MarkNodeType === MarkNode["b" /* MarkNodeType */].mtStart) {
|
|
182870
|
+
var result = value.node.parentNode.childNodes[value.node.parentNode.childNodes.length - 1].isTotalSelected(range, true);
|
|
182871
|
+
|
|
182872
|
+
if (result) {
|
|
182873
|
+
jsons.push(value.node.node2Json(value.range, true));
|
|
182874
|
+
}
|
|
182875
|
+
}
|
|
182876
|
+
|
|
182877
|
+
if (value.node.MarkNodeType === MarkNode["b" /* MarkNodeType */].mtEnd) {
|
|
182878
|
+
var _result = value.node.parentNode.childNodes[0].isTotalSelected(range, true);
|
|
182879
|
+
|
|
182880
|
+
if (_result) {
|
|
182881
|
+
jsons.push(value.node.node2Json(value.range, true));
|
|
182882
|
+
}
|
|
182883
|
+
}
|
|
182884
|
+
} else {
|
|
182885
|
+
jsons.push(value.node.node2Json(value.range, true));
|
|
182886
|
+
}
|
|
182887
|
+
}
|
|
182888
|
+
});
|
|
182889
|
+
this._jsondata = JSON.stringify(jsons); //console.log(JSON.stringify(jsons));
|
|
182890
|
+
|
|
182891
|
+
return JSON.stringify(jsons);
|
|
182892
|
+
} // private dataURLtoFile(dataurl: string, filename = 'file') {
|
|
182893
|
+
// const arr = dataurl.split(',')
|
|
182894
|
+
// const mime = arr[0].match(/:(.*?);/)[1]
|
|
182895
|
+
// const suffix = mime.split('/')[1]
|
|
182896
|
+
// const bstr = atob(arr[1])
|
|
182897
|
+
// let n = bstr.length
|
|
182898
|
+
// const u8arr = new Uint8Array(n)
|
|
182899
|
+
// while (n--) {
|
|
182900
|
+
// u8arr[n] = bstr.charCodeAt(n)
|
|
182901
|
+
// }
|
|
182902
|
+
// return new File([u8arr], `${filename}.${suffix}`, {
|
|
182903
|
+
// type: mime
|
|
182904
|
+
// })
|
|
182905
|
+
// }
|
|
182906
|
+
|
|
182907
|
+
}, {
|
|
182908
|
+
key: "toTHML",
|
|
182909
|
+
value: function toTHML(recs) {
|
|
182910
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182911
|
+
if (recs) this.toJSON(recs);
|
|
182912
|
+
var jsondata = JSON.parse(this._jsondata);
|
|
182913
|
+
if (!jsondata) return "";
|
|
182914
|
+
return hoEditorFactory.toHtmlConverter.Exec(this._hoEditorFactoryID, jsondata);
|
|
182915
|
+
}
|
|
182916
|
+
}, {
|
|
182917
|
+
key: "toText",
|
|
182918
|
+
value: function toText(recs) {
|
|
182919
|
+
if (recs) this.toJSON(recs);
|
|
182920
|
+
var jsondata = JSON.parse(this._jsondata);
|
|
182921
|
+
if (!jsondata) return "";
|
|
182922
|
+
var paragraphText = "";
|
|
182923
|
+
|
|
182924
|
+
var json2text = function json2text(data) {
|
|
182925
|
+
for (var i = 0; i < data.length; i++) {
|
|
182926
|
+
var item = data[i];
|
|
182927
|
+
|
|
182928
|
+
if (item["nodeType"]) {
|
|
182929
|
+
if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntText]) {
|
|
182930
|
+
paragraphText += item.text;
|
|
182931
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntParagraph]) {
|
|
182932
|
+
if (i != 0) {
|
|
182933
|
+
paragraphText += "\n";
|
|
182934
|
+
}
|
|
182935
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntControl]) {
|
|
182936
|
+
paragraphText += item.text;
|
|
182937
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntField]) {
|
|
182938
|
+
json2text(item.childNodes.item);
|
|
182939
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntTable]) {
|
|
182940
|
+
if (Array.isArray(item.childNodes.item)) json2text(item.childNodes.item);
|
|
182941
|
+
} else if (item.nodeType == "ntRow") {
|
|
182942
|
+
if (i != 0) {
|
|
182943
|
+
paragraphText += "\n";
|
|
182944
|
+
}
|
|
182945
|
+
|
|
182946
|
+
json2text(item.childNodes.item);
|
|
182947
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntCell]) {
|
|
182948
|
+
if (i != 0) paragraphText += "\t";
|
|
182949
|
+
json2text(item.childNodes.item);
|
|
182950
|
+
}
|
|
182951
|
+
} // else if (item.childNode) {
|
|
182952
|
+
// json2text(item.childNode);
|
|
182953
|
+
// }
|
|
182954
|
+
|
|
182955
|
+
}
|
|
182956
|
+
};
|
|
182957
|
+
|
|
182958
|
+
json2text(jsondata);
|
|
182959
|
+
return paragraphText;
|
|
182960
|
+
}
|
|
182961
|
+
}]);
|
|
182962
|
+
|
|
182963
|
+
return NodeConvert;
|
|
182964
|
+
}();
|
|
182965
|
+
/**
|
|
182966
|
+
* 结构化的节点范围记录
|
|
182967
|
+
*/
|
|
182968
|
+
|
|
182969
|
+
|
|
182970
|
+
var StructureNode_StructureRecord = /*#__PURE__*/function () {
|
|
182971
|
+
function StructureRecord(hoEditorFactoryID, startPath, Node, val) {
|
|
182972
|
+
Object(classCallCheck["a" /* default */])(this, StructureRecord);
|
|
182973
|
+
|
|
182974
|
+
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
182975
|
+
this._node = Node;
|
|
182976
|
+
this._path = startPath;
|
|
182977
|
+
this._range = val;
|
|
182978
|
+
}
|
|
182979
|
+
|
|
182980
|
+
Object(createClass["a" /* default */])(StructureRecord, [{
|
|
182981
|
+
key: "node",
|
|
182982
|
+
get: function get() {
|
|
182983
|
+
return this._node;
|
|
182984
|
+
}
|
|
182985
|
+
}, {
|
|
182986
|
+
key: "range",
|
|
182987
|
+
get: function get() {
|
|
182988
|
+
return this._range;
|
|
182989
|
+
}
|
|
182990
|
+
}]);
|
|
182991
|
+
|
|
182992
|
+
return StructureRecord;
|
|
182993
|
+
}();
|
|
182994
|
+
var StructureNode_StructureNode = /*#__PURE__*/function () {
|
|
182995
|
+
function StructureNode(hoEditorFactoryID) {
|
|
182996
|
+
Object(classCallCheck["a" /* default */])(this, StructureNode);
|
|
182997
|
+
|
|
182998
|
+
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
182999
|
+
this._Convertor = new StructureNode_NodeConvert(this._hoEditorFactoryID);
|
|
183000
|
+
}
|
|
183001
|
+
/**
|
|
183002
|
+
* Getter Convertor
|
|
183003
|
+
* @return {NodeConvert}
|
|
183004
|
+
*/
|
|
183005
|
+
|
|
183006
|
+
|
|
183007
|
+
Object(createClass["a" /* default */])(StructureNode, [{
|
|
183008
|
+
key: "Convertor",
|
|
183009
|
+
get: function get() {
|
|
183010
|
+
return this._Convertor;
|
|
183011
|
+
}
|
|
183012
|
+
}, {
|
|
183013
|
+
key: "jsondata",
|
|
183014
|
+
get: function get() {
|
|
183015
|
+
return this._json;
|
|
183016
|
+
}
|
|
183017
|
+
}, {
|
|
183018
|
+
key: "htmldata",
|
|
183019
|
+
get: function get() {
|
|
183020
|
+
return this._html;
|
|
183021
|
+
}
|
|
183022
|
+
}, {
|
|
183023
|
+
key: "textdata",
|
|
183024
|
+
get: function get() {
|
|
183025
|
+
return this._text;
|
|
183026
|
+
}
|
|
183027
|
+
/**
|
|
183028
|
+
* 返回节点开始路径,即前一个节点的最后路径
|
|
183029
|
+
* @param node 节点
|
|
183030
|
+
*/
|
|
183031
|
+
|
|
183032
|
+
}, {
|
|
183033
|
+
key: "getPrevLastPath",
|
|
183034
|
+
value: function getPrevLastPath(node) {
|
|
183035
|
+
var prev = node.range();
|
|
183036
|
+
return prev.from;
|
|
183037
|
+
}
|
|
183038
|
+
/**
|
|
183039
|
+
* 复制时候结构化的存储,粘贴时候才能带结构的输出
|
|
183040
|
+
* @param dom
|
|
183041
|
+
* @param clipboard
|
|
183042
|
+
*/
|
|
183043
|
+
|
|
183044
|
+
}, {
|
|
183045
|
+
key: "Copy",
|
|
183046
|
+
value: function Copy(dom, clipboard, isClearValue, type) {
|
|
183047
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
183048
|
+
var currDom;
|
|
183049
|
+
|
|
183050
|
+
if (dom instanceof DomRange["a" /* DomRange */]) {
|
|
183051
|
+
currDom = dom.normalize();
|
|
183052
|
+
} else {
|
|
183053
|
+
var tmp = dom[0].range();
|
|
183054
|
+
currDom = new DomRange["a" /* DomRange */](this._hoEditorFactoryID, tmp.from, hoEditorFactory.docTree.getNodeLastPath(dom[dom.length - 1]));
|
|
183055
|
+
}
|
|
183056
|
+
|
|
183057
|
+
var info = this.getAncestorsChild(currDom.startPath, currDom.endPath);
|
|
183058
|
+
var sstart = currDom.startPath.split("/").slice(0, info.level + 1).join("/");
|
|
183059
|
+
var send = currDom.endPath.split("/").slice(0, info.level + 1).join("/");
|
|
183060
|
+
var nstart = hoEditorFactory.docTree.findNodePositionByPath(sstart).node;
|
|
183061
|
+
var nend = hoEditorFactory.docTree.findNodePositionByPath(send).node;
|
|
183062
|
+
|
|
183063
|
+
if (!this._structoredNode) {
|
|
183064
|
+
this._structoredNode = new Array();
|
|
183065
|
+
}
|
|
183066
|
+
|
|
183067
|
+
this._structoredNode = []; //记录下路径结构
|
|
183068
|
+
|
|
183069
|
+
if (nstart == nend) {
|
|
183070
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
183071
|
+
from: currDom.startPath,
|
|
183072
|
+
to: currDom.endPath
|
|
183073
|
+
}));
|
|
183074
|
+
} else if (nstart instanceof CellNode["a" /* CellNode */] && nend instanceof CellNode["a" /* CellNode */] && nstart.table == nend.table) {
|
|
183075
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart.table), nstart.table, {
|
|
183076
|
+
from: nstart.range().from,
|
|
183077
|
+
to: nend.range().to
|
|
183078
|
+
}));
|
|
183079
|
+
} else {
|
|
183080
|
+
//开始结束不是同一个cellnode时候 cellnode一定是被全选的, 所以下面的节点from,to需要单独设置下
|
|
183081
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
183082
|
+
from: nstart instanceof TableNode["c" /* TableNode */] ? nstart.range().from : currDom.startPath
|
|
183083
|
+
}));
|
|
183084
|
+
|
|
183085
|
+
var node = nstart.nextSibling();
|
|
183086
|
+
|
|
183087
|
+
for (;;) {
|
|
183088
|
+
if (!node) {
|
|
183089
|
+
break;
|
|
183090
|
+
}
|
|
183091
|
+
|
|
183092
|
+
if (node == nend) {
|
|
183093
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nend), nend, {
|
|
183094
|
+
to: nend instanceof TableNode["c" /* TableNode */] ? nend.range().to : currDom.endPath
|
|
183095
|
+
}));
|
|
183096
|
+
|
|
183097
|
+
break;
|
|
183098
|
+
} else {
|
|
183099
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(node), node));
|
|
183100
|
+
|
|
183101
|
+
node = node.nextSibling();
|
|
183102
|
+
}
|
|
183103
|
+
}
|
|
183104
|
+
}
|
|
183105
|
+
|
|
183106
|
+
this._json = this._Convertor.toJSON(this._structoredNode, isClearValue, type);
|
|
183107
|
+
this._html = this._Convertor.toTHML();
|
|
183108
|
+
this._text = this._Convertor.toText();
|
|
183109
|
+
|
|
183110
|
+
if (clipboard) {
|
|
183111
|
+
clipboard.setData(ClipboardType.ctJSON, this._json);
|
|
183112
|
+
clipboard.setData(ClipboardType.ctHTML, this._html);
|
|
183113
|
+
clipboard.setData(ClipboardType.ctText, this._text);
|
|
183114
|
+
} else {
|
|
183115
|
+
return this._json;
|
|
183116
|
+
}
|
|
183117
|
+
}
|
|
183118
|
+
}, {
|
|
183119
|
+
key: "Parse",
|
|
183120
|
+
value: function Parse(ctype, data, rootPath) {
|
|
183121
|
+
if (ctype == ClipboardType.ctJSON) return this._Convertor.FromJSON(data, rootPath);
|
|
183122
|
+
if (ctype == ClipboardType.ctHTML) return this._Convertor.FromHTML(data);
|
|
183123
|
+
return this._Convertor.FromText(data);
|
|
183124
|
+
}
|
|
183125
|
+
/**
|
|
183126
|
+
* @description DocTree返回节点在树形结构中共同的父节点
|
|
183127
|
+
*/
|
|
183128
|
+
|
|
183129
|
+
}, {
|
|
183130
|
+
key: "getAncestorsChild",
|
|
183131
|
+
value: function getAncestorsChild(Spath1, Spath2) {
|
|
183132
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
183133
|
+
var path1 = Spath1.split("/");
|
|
183134
|
+
var path2 = Spath2.split("/");
|
|
183135
|
+
var nodes;
|
|
183136
|
+
|
|
183137
|
+
if (!NodePosition["a" /* NodePosition */].pathCanCompare(Spath1, Spath2)) {
|
|
183138
|
+
throw Exception["a" /* Exception */].PathNotAtSameRoot();
|
|
183139
|
+
} //比对路径
|
|
183140
|
+
|
|
183141
|
+
|
|
183142
|
+
var index = 0;
|
|
183143
|
+
|
|
183144
|
+
while (path1[index] == path2[index]) {
|
|
183145
|
+
index += 1;
|
|
183146
|
+
|
|
183147
|
+
if (index > path1.length || index > path2.length) {
|
|
183148
|
+
break;
|
|
183149
|
+
}
|
|
183150
|
+
} //取节点的兄弟节点
|
|
183151
|
+
|
|
183152
|
+
|
|
183153
|
+
if (index === 1 || index === 2 && path1[0] !== "main") {
|
|
183154
|
+
//只有第一个符合 在根节点当中main heaer footer
|
|
183155
|
+
var tmp = hoEditorFactory.docTree.findNodePositionByPath(path1.slice(0, index + 1).join("/")).node;
|
|
183156
|
+
|
|
183157
|
+
if (!tmp) {
|
|
183158
|
+
throw Exception["a" /* Exception */].NodeNotFound();
|
|
183159
|
+
}
|
|
183160
|
+
|
|
183161
|
+
if (tmp.parentNode) {
|
|
183162
|
+
nodes = tmp.parentNode.childNodes;
|
|
183163
|
+
} else {
|
|
183164
|
+
nodes = tmp.rootNodes;
|
|
183165
|
+
}
|
|
183166
|
+
} else {
|
|
183167
|
+
//在复合节点当中
|
|
183168
|
+
var ancestor = path1.slice(0, index).join("/");
|
|
183169
|
+
var _tmp = hoEditorFactory.docTree.findNodePositionByPath(ancestor).node;
|
|
183170
|
+
|
|
183171
|
+
if (!_tmp) {
|
|
183172
|
+
throw Exception["a" /* Exception */].NodeNotFound();
|
|
183173
|
+
}
|
|
183174
|
+
|
|
183175
|
+
nodes = _tmp.childNodes;
|
|
183176
|
+
}
|
|
183177
|
+
|
|
183178
|
+
return {
|
|
183179
|
+
level: index,
|
|
183180
|
+
child: nodes
|
|
183181
|
+
};
|
|
183182
|
+
}
|
|
183183
|
+
}]);
|
|
183184
|
+
|
|
183185
|
+
return StructureNode;
|
|
183186
|
+
}();
|
|
183072
183187
|
// CONCATENATED MODULE: ./src/editor/utils/TestDataSet.ts
|
|
183073
183188
|
|
|
183074
183189
|
|
|
@@ -183764,7 +183879,6 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
183764
183879
|
function VueController(hoEditorFactoryID) {
|
|
183765
183880
|
Object(classCallCheck["a" /* default */])(this, VueController);
|
|
183766
183881
|
|
|
183767
|
-
this._openXmled = false;
|
|
183768
183882
|
this._hoEditorFactoryID = hoEditorFactoryID; // this.getCurTextStyle();
|
|
183769
183883
|
}
|
|
183770
183884
|
|
|
@@ -183778,16 +183892,6 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
183778
183892
|
this._combineStyle = value;
|
|
183779
183893
|
}
|
|
183780
183894
|
}
|
|
183781
|
-
}, {
|
|
183782
|
-
key: "openXmled",
|
|
183783
|
-
get: function get() {
|
|
183784
|
-
return this._openXmled;
|
|
183785
|
-
},
|
|
183786
|
-
set: function set(value) {
|
|
183787
|
-
if (value !== this._openXmled) {
|
|
183788
|
-
this._openXmled = value;
|
|
183789
|
-
}
|
|
183790
|
-
}
|
|
183791
183895
|
}, {
|
|
183792
183896
|
key: "hoEditorFactoryID",
|
|
183793
183897
|
get: function get() {
|
|
@@ -185440,7 +185544,8 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
185440
185544
|
}, {
|
|
185441
185545
|
key: "openLocalFiles",
|
|
185442
185546
|
value: function openLocalFiles(file, callback) {
|
|
185443
|
-
var
|
|
185547
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
185548
|
+
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
185444
185549
|
|
|
185445
185550
|
var startPath = _curDomRange.normalize().startPath;
|
|
185446
185551
|
|
|
@@ -185448,11 +185553,11 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
185448
185553
|
|
|
185449
185554
|
var changingEvent = new NodeChangingEvent["a" /* NodeChangingEvent */](DocTree["a" /* DocAction */].daInsert, startPath, endPath, NodeChangingEvent["b" /* OperType */].openLocalFiles);
|
|
185450
185555
|
|
|
185451
|
-
if (
|
|
185452
|
-
|
|
185453
|
-
|
|
185454
|
-
|
|
185455
|
-
|
|
185556
|
+
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
185557
|
+
hoEditorFactory.docController.initBlankDoc();
|
|
185558
|
+
hoEditorFactory.drawTree.inViewPages = [0];
|
|
185559
|
+
hoEditorFactory.openXmled = true;
|
|
185560
|
+
hoEditorFactory.structureConvert.openFile(file, callback);
|
|
185456
185561
|
}
|
|
185457
185562
|
}
|
|
185458
185563
|
}, {
|
|
@@ -186617,7 +186722,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186617
186722
|
rootPath = 'footer/' + pageCount.toString();
|
|
186618
186723
|
}
|
|
186619
186724
|
|
|
186620
|
-
var nodes = hoEditorFactory.structureNode.Parse(
|
|
186725
|
+
var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData, rootPath);
|
|
186621
186726
|
|
|
186622
186727
|
if (area !== "main") {
|
|
186623
186728
|
var arrNodes = new Array();
|
|
@@ -186788,7 +186893,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186788
186893
|
|
|
186789
186894
|
case 8:
|
|
186790
186895
|
hoEditorFactory.docTree.curDomRange.setSamePath(sPath);
|
|
186791
|
-
nodes = hoEditorFactory.structureNode.Parse(
|
|
186896
|
+
nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
186792
186897
|
|
|
186793
186898
|
if (nodes[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
186794
186899
|
headerNode[0].paraNo = nodes[0].paraNo;
|
|
@@ -186872,7 +186977,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186872
186977
|
|
|
186873
186978
|
case 6:
|
|
186874
186979
|
hoEditorFactory.docTree.curDomRange.setSamePath("footer/0/0");
|
|
186875
|
-
nodes = hoEditorFactory.structureNode.Parse(
|
|
186980
|
+
nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
186876
186981
|
|
|
186877
186982
|
if (nodes[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
186878
186983
|
footerNode[0].paraNo = nodes[0].paraNo;
|
|
@@ -186939,7 +187044,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186939
187044
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
186940
187045
|
|
|
186941
187046
|
if (Object(esm_typeof["a" /* default */])(JSON.parse(jsonData)) === "object") {
|
|
186942
|
-
var nodes = hoEditorFactory.structureNode.Parse(
|
|
187047
|
+
var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
186943
187048
|
hoEditorFactory.docController.parseNodeData(nodes);
|
|
186944
187049
|
} else {
|
|
186945
187050
|
hoEditorFactory.docController.keyBoardInput(jsonData);
|
|
@@ -186971,7 +187076,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186971
187076
|
startPath = _curDomRange.normalize().startPath;
|
|
186972
187077
|
endPath = _curDomRange.normalize().endPath;
|
|
186973
187078
|
changingEvent = new NodeChangingEvent["a" /* NodeChangingEvent */](DocTree["a" /* DocAction */].daInsert, startPath, endPath, NodeChangingEvent["b" /* OperType */].openXml);
|
|
186974
|
-
|
|
187079
|
+
hoEditorFactory.openXmled = true;
|
|
186975
187080
|
|
|
186976
187081
|
if (!hoEditorFactory.docTree.changing(changingEvent)) {
|
|
186977
187082
|
_context4.next = 13;
|
|
@@ -187130,7 +187235,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187130
187235
|
var nextNode = node.nextLeaf();
|
|
187131
187236
|
|
|
187132
187237
|
if (node.imgSrc !== "" && node.isTemplate && !(preNode instanceof SignNode["a" /* SignNode */]) && !(nextNode instanceof SignNode["a" /* SignNode */])) {
|
|
187133
|
-
var signNode = new SignNode["a" /* SignNode */](this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode["b" /* NodeType */].ntSign, 0, 0, node.name === "" ? "签名" : node.name, "", "", "", 0, 0, {}, true);
|
|
187238
|
+
var signNode = new SignNode["a" /* SignNode */](this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode["b" /* NodeType */].ntSign, 0, 0, node.name === "" ? "签名" : node.name, node.signType, node.signFormat, "", "", "", 0, 0, {}, true, node.connectMode, node.isFront, node.allowEditSignTime);
|
|
187134
187239
|
hoEditorFactory.undoService.begin();
|
|
187135
187240
|
hoEditorFactory.undoService.add(new NodeDeleteUndoUnit["a" /* NodeDeleteUndoUnit */](this._hoEditorFactoryID, node, ePath));
|
|
187136
187241
|
hoEditorFactory.undoService.add(new NodeInsertUndoUnit["a" /* NodeInsertUndoUnit */](this._hoEditorFactoryID, sPath, signNode));
|
|
@@ -187149,7 +187254,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187149
187254
|
|
|
187150
187255
|
var spath = hoEditorFactory.docTree.getNodeLastPath(preNode.previousLeaf()); //const epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
187151
187256
|
|
|
187152
|
-
var newSignNode = new SignNode["a" /* SignNode */](this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, BaseNode["b" /* NodeType */].ntSign, 1, preNode.type, preNode.name === "" ? "签名" : preNode.name, preNode.signor, preNode.signTime, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, true);
|
|
187257
|
+
var newSignNode = new SignNode["a" /* SignNode */](this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, BaseNode["b" /* NodeType */].ntSign, 1, preNode.type, preNode.name === "" ? "签名" : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, true, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime);
|
|
187153
187258
|
hoEditorFactory.undoService.begin();
|
|
187154
187259
|
hoEditorFactory.undoService.add(new NodesDeleteUndoUnit["a" /* NodesDeleteUndoUnit */](this._hoEditorFactoryID, spath, ePath));
|
|
187155
187260
|
hoEditorFactory.undoService.add(new NodeInsertUndoUnit["a" /* NodeInsertUndoUnit */](this._hoEditorFactoryID, spath, newSignNode));
|
|
@@ -187310,11 +187415,16 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187310
187415
|
/**
|
|
187311
187416
|
* 插入空签名
|
|
187312
187417
|
* @param name 签名名称(空签名的初始化显示)
|
|
187418
|
+
* @param signType 签名类型 0单人签名 1多人签名
|
|
187419
|
+
* @param signFormat 签名格式
|
|
187420
|
+
* @param connectMode 连接方式
|
|
187421
|
+
* @param isFront 新插入的签名是否前置 true:前置 false:后置
|
|
187422
|
+
* @param allowEditSignTime 允许修改签名时间 true:允许 false:不允许
|
|
187313
187423
|
*/
|
|
187314
187424
|
|
|
187315
187425
|
}, {
|
|
187316
187426
|
key: "insertEmptySignNode",
|
|
187317
|
-
value: function insertEmptySignNode(name) {
|
|
187427
|
+
value: function insertEmptySignNode(name, signType, signFormat, connectMode, isFront, allowEditSignTime) {
|
|
187318
187428
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
187319
187429
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
187320
187430
|
var startPath = curDomRange.normalize().startPath;
|
|
@@ -187322,7 +187432,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187322
187432
|
var changingEvent = new NodeChangingEvent["a" /* NodeChangingEvent */](DocTree["a" /* DocAction */].daInsert, startPath, endPath, NodeChangingEvent["b" /* OperType */].insertSign);
|
|
187323
187433
|
|
|
187324
187434
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
187325
|
-
hoEditorFactory.docController.insertEmptySignNode(curDomRange, name);
|
|
187435
|
+
hoEditorFactory.docController.insertEmptySignNode(curDomRange, name, signType, signFormat, connectMode, isFront, allowEditSignTime);
|
|
187326
187436
|
}
|
|
187327
187437
|
}
|
|
187328
187438
|
/**
|
|
@@ -188036,6 +188146,13 @@ var DomController_DomController = /*#__PURE__*/function () {
|
|
|
188036
188146
|
* @FilePath: \hoeditor-web\src\editor\externalCall\EditController.ts
|
|
188037
188147
|
*/
|
|
188038
188148
|
|
|
188149
|
+
|
|
188150
|
+
|
|
188151
|
+
|
|
188152
|
+
|
|
188153
|
+
|
|
188154
|
+
|
|
188155
|
+
|
|
188039
188156
|
var EditController_EditController = /*#__PURE__*/function () {
|
|
188040
188157
|
function EditController(hoEditorFactoryID) {
|
|
188041
188158
|
Object(classCallCheck["a" /* default */])(this, EditController);
|
|
@@ -188309,6 +188426,78 @@ var EditController_EditController = /*#__PURE__*/function () {
|
|
|
188309
188426
|
value: function clearUndos() {
|
|
188310
188427
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188311
188428
|
hoEditorFactory.undoService.clear();
|
|
188429
|
+
} // ctrl + v 复制
|
|
188430
|
+
|
|
188431
|
+
}, {
|
|
188432
|
+
key: "editKeyCopy",
|
|
188433
|
+
value: function editKeyCopy(e) {
|
|
188434
|
+
if (!e || !e.clipboardData) {
|
|
188435
|
+
return;
|
|
188436
|
+
}
|
|
188437
|
+
|
|
188438
|
+
var hoeditorfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188439
|
+
|
|
188440
|
+
if (!hoeditorfactory.docTree.curDomRange.isEmpty) {
|
|
188441
|
+
hoeditorfactory.structureNode.Copy(hoeditorfactory.docTree.curDomRange, e.clipboardData, undefined, "copy");
|
|
188442
|
+
}
|
|
188443
|
+
|
|
188444
|
+
e.preventDefault();
|
|
188445
|
+
}
|
|
188446
|
+
}, {
|
|
188447
|
+
key: "editKeyPaste",
|
|
188448
|
+
value: function editKeyPaste(clipboardData) {
|
|
188449
|
+
var hoeditorfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188450
|
+
|
|
188451
|
+
if (hoeditorfactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReadOnly || hoeditorfactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psPreview || hoeditorfactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psPrint) {
|
|
188452
|
+
return;
|
|
188453
|
+
}
|
|
188454
|
+
|
|
188455
|
+
var startPath = hoeditorfactory.docTree.curDomRange.startPath;
|
|
188456
|
+
var parentNode = hoeditorfactory.docTree.getParentNode(startPath);
|
|
188457
|
+
|
|
188458
|
+
if (parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && !parentNode.canModifyContent) {
|
|
188459
|
+
return;
|
|
188460
|
+
}
|
|
188461
|
+
|
|
188462
|
+
var jsonData = '';
|
|
188463
|
+
var htmlData = '';
|
|
188464
|
+
var textData = '';
|
|
188465
|
+
|
|
188466
|
+
if (clipboardData instanceof DataTransfer) {
|
|
188467
|
+
jsonData = clipboardData.getData("application/json");
|
|
188468
|
+
htmlData = clipboardData.getData("text/html");
|
|
188469
|
+
textData = clipboardData.getData("text/plain");
|
|
188470
|
+
} // else if (!clipboardData) {
|
|
188471
|
+
// navigator.permissions.query({ name: "clipboard-read" }).then(result => {
|
|
188472
|
+
// if (result.state == "granted" || result.state == "prompt") {
|
|
188473
|
+
// navigator.clipboard.read().then(data => {
|
|
188474
|
+
// console.log(data)
|
|
188475
|
+
// });
|
|
188476
|
+
// }
|
|
188477
|
+
// });
|
|
188478
|
+
// }
|
|
188479
|
+
// const rtfData = clipboardData.getData("text/rtf");
|
|
188480
|
+
|
|
188481
|
+
|
|
188482
|
+
var nodes;
|
|
188483
|
+
|
|
188484
|
+
if (jsonData) {
|
|
188485
|
+
nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
188486
|
+
} else if (htmlData) {
|
|
188487
|
+
//console.log(htmlData);
|
|
188488
|
+
nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
|
|
188489
|
+
} else {
|
|
188490
|
+
nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
|
|
188491
|
+
}
|
|
188492
|
+
|
|
188493
|
+
if (!hoeditorfactory.pasteBase) {
|
|
188494
|
+
for (var n = 0; n < nodes.length; n++) {
|
|
188495
|
+
var node = nodes[n];
|
|
188496
|
+
if (node instanceof ParagraphNode["a" /* ParagraphNode */] || node instanceof TextNode["a" /* TextNode */] || node instanceof MarkNode["a" /* MarkNode */] || node instanceof ControlNode["a" /* ControlNode */]) node.styleIndex = hoeditorfactory.docTree.curStyleIndex;
|
|
188497
|
+
}
|
|
188498
|
+
}
|
|
188499
|
+
|
|
188500
|
+
hoeditorfactory.docController.parseNodeData(nodes);
|
|
188312
188501
|
}
|
|
188313
188502
|
}]);
|
|
188314
188503
|
|
|
@@ -188327,7 +188516,7 @@ var EditController_EditController = /*#__PURE__*/function () {
|
|
|
188327
188516
|
/*
|
|
188328
188517
|
* @Author: your name
|
|
188329
188518
|
* @Date: 2021-07-31 09:27:53
|
|
188330
|
-
* @LastEditTime: 2021-10-
|
|
188519
|
+
* @LastEditTime: 2021-10-25 16:04:29
|
|
188331
188520
|
* @LastEditors: Please set LastEditors
|
|
188332
188521
|
* @Description: In User Settings Edit
|
|
188333
188522
|
* @FilePath: \hoeditor-web\src\editor\externalCall\ElementController.ts
|
|
@@ -189522,7 +189711,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189522
189711
|
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(xmlList) {
|
|
189523
189712
|
var _this3 = this;
|
|
189524
189713
|
|
|
189525
|
-
var hoEditorFactory, beforePrintStatus, xml, hPromise, orientation, printIframe;
|
|
189714
|
+
var hoEditorFactory, beforePrintStatus, xml, hPromise, orientation, style, printIframe;
|
|
189526
189715
|
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
189527
189716
|
while (1) {
|
|
189528
189717
|
switch (_context6.prev = _context6.next) {
|
|
@@ -189536,8 +189725,15 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189536
189725
|
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
189537
189726
|
hPromise = Promise.resolve();
|
|
189538
189727
|
orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
189539
|
-
|
|
189728
|
+
style = Object(util["c" /* createPrintHTMLStyle */])(hoEditorFactory.pageProperty.pageSize, orientation);
|
|
189729
|
+
printIframe = Object(util["b" /* createPrintHTMLIframe */])(style);
|
|
189540
189730
|
xmlList.forEach(function (file, fileIndex) {
|
|
189731
|
+
// hPromise = hPromise.then(res => {
|
|
189732
|
+
// return new Promise(async resolve => {
|
|
189733
|
+
// await hoEditorFactory.vueController.openXml(file);
|
|
189734
|
+
// setTimeout(() => resolve(), 0);
|
|
189735
|
+
// });
|
|
189736
|
+
// });
|
|
189541
189737
|
hPromise = hPromise.then(function (res) {
|
|
189542
189738
|
return new Promise( /*#__PURE__*/function () {
|
|
189543
189739
|
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(resolve) {
|
|
@@ -189550,7 +189746,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189550
189746
|
|
|
189551
189747
|
case 2:
|
|
189552
189748
|
setTimeout(function () {
|
|
189553
|
-
|
|
189749
|
+
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, undefined, undefined, resolve, undefined, printIframe);
|
|
189554
189750
|
}, 0);
|
|
189555
189751
|
|
|
189556
189752
|
case 3:
|
|
@@ -189565,12 +189761,12 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189565
189761
|
return _ref3.apply(this, arguments);
|
|
189566
189762
|
};
|
|
189567
189763
|
}());
|
|
189568
|
-
});
|
|
189569
|
-
|
|
189570
|
-
|
|
189571
|
-
|
|
189572
|
-
|
|
189573
|
-
});
|
|
189764
|
+
}); // hPromise = hPromise.then(() => {
|
|
189765
|
+
// return new Promise(resolve => {
|
|
189766
|
+
// hoEditorFactory.drawTree.paintStatus = PaintState.psPreview;
|
|
189767
|
+
// Print.printToPDF(this._hoEditorFactoryID, undefined, undefined, resolve, undefined, printIframe);
|
|
189768
|
+
// });
|
|
189769
|
+
// });
|
|
189574
189770
|
});
|
|
189575
189771
|
hPromise.then(function () {
|
|
189576
189772
|
var _printIframe, _printIframe$contentW;
|
|
@@ -189582,7 +189778,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189582
189778
|
printIframe = null;
|
|
189583
189779
|
});
|
|
189584
189780
|
|
|
189585
|
-
case
|
|
189781
|
+
case 11:
|
|
189586
189782
|
case "end":
|
|
189587
189783
|
return _context6.stop();
|
|
189588
189784
|
}
|
|
@@ -190262,6 +190458,7 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
190262
190458
|
this._signHeight = 20;
|
|
190263
190459
|
this._pasteBase = false;
|
|
190264
190460
|
this._isHideComments = true;
|
|
190461
|
+
this._openXmled = false;
|
|
190265
190462
|
this._hoEditorFactoryId = id;
|
|
190266
190463
|
}
|
|
190267
190464
|
/**
|
|
@@ -190684,7 +190881,7 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
190684
190881
|
key: "structureNode",
|
|
190685
190882
|
get: function get() {
|
|
190686
190883
|
if (!this._structureNode) {
|
|
190687
|
-
this._structureNode = new
|
|
190884
|
+
this._structureNode = new StructureNode_StructureNode(this._hoEditorFactoryId);
|
|
190688
190885
|
}
|
|
190689
190886
|
|
|
190690
190887
|
return this._structureNode;
|
|
@@ -190804,25 +191001,35 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
190804
191001
|
this._continuousView = value;
|
|
190805
191002
|
}
|
|
190806
191003
|
}
|
|
191004
|
+
}, {
|
|
191005
|
+
key: "openXmled",
|
|
191006
|
+
get: function get() {
|
|
191007
|
+
return this._openXmled;
|
|
191008
|
+
},
|
|
191009
|
+
set: function set(value) {
|
|
191010
|
+
if (this._openXmled !== value) {
|
|
191011
|
+
this._openXmled = value;
|
|
191012
|
+
}
|
|
191013
|
+
}
|
|
190807
191014
|
}]);
|
|
190808
191015
|
|
|
190809
191016
|
return HOEditorFactory;
|
|
190810
191017
|
}();
|
|
190811
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191018
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
190812
191019
|
var HoFootervue_type_template_id_fad373b2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-footer"},[_c('div',{staticClass:"footer-item"}),_c('div',{staticClass:"footer-item"},[_c('span',{staticClass:"text"},[_vm._v("第 "+_vm._s(_vm.currentActivePages + 1 === 0 ? 1 : _vm.currentActivePages + 1)+" 页 / 共 "+_vm._s(_vm.drawPages)+" 页")]),(!!_vm.docName)?_c('span',{staticClass:"text"},[_vm._v("名称:"+_vm._s(_vm.docName))]):_vm._e(),(!!_vm.userNames)?_c('span',{staticClass:"text"},[_vm._v("书写人:"+_vm._s(_vm.userNames))]):_vm._e(),(!!_vm.historyTime)?_c('span',{staticClass:"text"},[_vm._v("书写时间:"+_vm._s(_vm.historyTime))]):_vm._e()]),_c('p',{staticStyle:{"flex":"1"}}),_c('div',{staticClass:"footer-item"})])}
|
|
190813
191020
|
var HoFootervue_type_template_id_fad373b2_scoped_true_staticRenderFns = []
|
|
190814
191021
|
|
|
190815
191022
|
|
|
190816
191023
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
190817
191024
|
|
|
190818
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191025
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
190819
191026
|
var Popervue_type_template_id_0f8bfa37_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classSelected,style:(_vm.poperStyle),on:{"mouseenter":_vm.mouseenter,"mouseleave":_vm.mouseleave}},[_vm._t("default",function(){return [_c('span',{class:_vm.classNames})]}),(_vm.title && _vm.show)?_c('Title',{attrs:{"title":_vm.title,"styles":_vm.styles}}):_vm._e()],2)}
|
|
190820
191027
|
var Popervue_type_template_id_0f8bfa37_staticRenderFns = []
|
|
190821
191028
|
|
|
190822
191029
|
|
|
190823
191030
|
// CONCATENATED MODULE: ./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
190824
191031
|
|
|
190825
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191032
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Title.vue?vue&type=template&id=3d9d462b&scoped=true&
|
|
190826
191033
|
var Titlevue_type_template_id_3d9d462b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"fade"}},[_c('span',{staticClass:"poper-title",style:(_vm.styles)},[_vm._v(_vm._s(_vm.title))])])}
|
|
190827
191034
|
var Titlevue_type_template_id_3d9d462b_scoped_true_staticRenderFns = []
|
|
190828
191035
|
|
|
@@ -191111,14 +191318,14 @@ var HoFooter_component = normalizeComponent(
|
|
|
191111
191318
|
)
|
|
191112
191319
|
|
|
191113
191320
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
191114
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191115
|
-
var
|
|
191116
|
-
var
|
|
191321
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=72963b12&
|
|
191322
|
+
var ControlModalvue_type_template_id_72963b12_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"toolModals",staticClass:"control-modal",on:{"mousedown":_vm.toolModalDown}},[(_vm.controlType === 'barcode')?_c('Barcode',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'qrcode')?_c('QrCode',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'express')?_c('ExpressionForm',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"controlProperty":_vm.controlProperty},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'text')?_c('TextDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose},scopedSlots:_vm._u([{key:"hoTextFieldModal",fn:function(){return [_vm._t("hoTextModal")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlType === 'date')?_c('DateDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose},scopedSlots:_vm._u([{key:"hoDateFieldModal",fn:function(){return [_vm._t("hoDateModal")]},proxy:true},{key:"hoTextFieldModal",fn:function(){return [_vm._t("hoTextModal")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlType === 'select')?_c('SelectDialog',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table')?_c('TableProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-row')?_c('TableRowProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-cell')?_c('TableCellProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-col')?_c('TableColProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isCustoms)?_c('CustomAttributes',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isDataSource)?_c('DataSourceDialog',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isListStyle)?_c('ListSource',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'RadioBox' || _vm.controlType === 'CheckBox')?_c('RadioCheckbox',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId,"controlProperty":_vm.controlProperty},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'waterset')?_c('WaterSetDialog',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'comment')?_c('CommentDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'pageInfoes')?_c('PageInfoes',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'delimiter')?_c('Delimiter',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'sign')?_c('Sign',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e()],1)}
|
|
191323
|
+
var ControlModalvue_type_template_id_72963b12_staticRenderFns = []
|
|
191117
191324
|
|
|
191118
191325
|
|
|
191119
|
-
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=
|
|
191326
|
+
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=72963b12&
|
|
191120
191327
|
|
|
191121
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191328
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=6990863d&scoped=true&
|
|
191122
191329
|
var SelectDialogvue_type_template_id_6990863d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉框")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动替换")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消默认")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认值")]):_vm._e(),(scope.$index !== _vm.downListContent.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
191123
191330
|
var SelectDialogvue_type_template_id_6990863d_scoped_true_staticRenderFns = []
|
|
191124
191331
|
|
|
@@ -191487,14 +191694,14 @@ var SelectDialog_component = normalizeComponent(
|
|
|
191487
191694
|
// CONCATENATED MODULE: ./src/components/controls/selectDialog/index.ts
|
|
191488
191695
|
|
|
191489
191696
|
/* harmony default export */ var selectDialog = (selectDialog_SelectDialog);
|
|
191490
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191697
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=53ebee3d&
|
|
191491
191698
|
var DateDialogvue_type_template_id_53ebee3d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("日期时间")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("输入样式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.controlStyle),callback:function ($$v) {_vm.controlStyle=$$v},expression:"controlStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期时间")]),(_vm.controlStyle.includes('MM') && !_vm.controlStyle.includes('dd'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"month","placeholder":"选择月"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(_vm.controlStyle.includes('yyyy') && !_vm.controlStyle.includes('MM'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"year","placeholder":"选择年"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(_vm.controlStyle.includes('dd') && _vm.controlStyle.includes('mm'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"datetime","format":_vm.controlStyle,"placeholder":"日期时间"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(!_vm.controlStyle.includes('dd') && _vm.controlStyle.includes('mm'))?_c('el-time-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"time","format":_vm.controlStyle,"placeholder":"时间"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(!_vm.controlStyle.includes('mm') && _vm.controlStyle.includes('dd'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"date","format":_vm.controlStyle,"placeholder":"日期"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e()],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"margin":"0 0 0 20px"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"20px"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动替换")])],1)])])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
191492
191699
|
var DateDialogvue_type_template_id_53ebee3d_staticRenderFns = []
|
|
191493
191700
|
|
|
191494
191701
|
|
|
191495
191702
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=53ebee3d&
|
|
191496
191703
|
|
|
191497
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191704
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/Tab.vue?vue&type=template&id=5ccacc33&
|
|
191498
191705
|
var Tabvue_type_template_id_5ccacc33_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-toolbar"},[_c('ul',{staticClass:"main-bar"},[_vm._l((_vm.navList),function(item){return _c('li',{key:item.name,class:{ selected: item.name === _vm.currentValue },on:{"click":function($event){return _vm.handleChange(_vm.currentValue, item.name)}}},[_vm._v(" "+_vm._s(item.label)+" ")])}),_c('li',{staticClass:"tabs-active-bar",style:(_vm.activeBarStyle)})],2),_c('div',{staticClass:"sub-bar-box"},[_vm._t("default")],2)])}
|
|
191499
191706
|
var Tabvue_type_template_id_5ccacc33_staticRenderFns = []
|
|
191500
191707
|
|
|
@@ -191888,7 +192095,7 @@ var DateDialog_component = normalizeComponent(
|
|
|
191888
192095
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/index.ts
|
|
191889
192096
|
|
|
191890
192097
|
/* harmony default export */ var dateDialog = (dateDialog_DateDialog);
|
|
191891
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192098
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=template&id=b90e0398&
|
|
191892
192099
|
var BarCodesvue_type_template_id_b90e0398_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("条形码")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("条形码内容")]),_c('el-input',{attrs:{"size":"mini","placeholder":"条形码内容不能为空","maxlength":"20","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否显示文本")]),_c('el-checkbox',{on:{"change":_vm.codeChange},model:{value:(_vm.isDisplayText),callback:function ($$v) {_vm.isDisplayText=$$v},expression:"isDisplayText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{staticClass:"bar-code"},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.textContent && !_vm.textField),expression:"textContent && !textField"}],ref:"barcode",attrs:{"id":"barcode"}}),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.textContent && _vm.textField),expression:"textContent && textField"}]},[_vm._v(_vm._s(_vm.textField))])])])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
191893
192100
|
var BarCodesvue_type_template_id_b90e0398_staticRenderFns = []
|
|
191894
192101
|
|
|
@@ -192072,7 +192279,7 @@ var BarCodes_component = normalizeComponent(
|
|
|
192072
192279
|
// CONCATENATED MODULE: ./src/components/controls/barCode/index.ts
|
|
192073
192280
|
|
|
192074
192281
|
/* harmony default export */ var barCode = (BarCodes);
|
|
192075
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192282
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=bff70498&
|
|
192076
192283
|
var QrCodevue_type_template_id_bff70498_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("二维码")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","autosize":{ minRows: 4, maxRows: 8 },"clearable":"","placeholder":"文本内容","maxlength":"256","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("宽(高)")]),_c('el-input-number',{attrs:{"controls":false,"size":"mini","autocomplete":"off"},on:{"change":_vm.qrSizeChange},model:{value:(_vm.size),callback:function ($$v) {_vm.size=$$v},expression:"size"}}),_c('span',{staticStyle:{"padding":"0 20px 0 10px"}},[_vm._v("px")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("纠错能力")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.correctLevel),callback:function ($$v) {_vm.correctLevel=$$v},expression:"correctLevel"}},[_c('el-option',{attrs:{"label":"L: 7%的字码可被修正","value":"L"}}),_c('el-option',{attrs:{"label":"M: 15%的字码可被修正","value":"M"}}),_c('el-option',{attrs:{"label":"Q: 25%的字码可被修正","value":"Q"}}),_c('el-option',{attrs:{"label":"H: 30%的字码可被修正","value":"H"}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]),_c('div',{staticClass:"section-right"},[_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{ref:"hoQrcode",style:(_vm.qrCanvasBoxStyle),attrs:{"id":"qrcode"}})])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
192077
192284
|
var QrCodevue_type_template_id_bff70498_staticRenderFns = []
|
|
192078
192285
|
|
|
@@ -192258,7 +192465,7 @@ var QrCode_component = normalizeComponent(
|
|
|
192258
192465
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
192259
192466
|
|
|
192260
192467
|
/* harmony default export */ var qrCode = (QrCode);
|
|
192261
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192468
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=1102706e&
|
|
192262
192469
|
var TextDialogvue_type_template_id_1102706e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("文本域")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"30%"}},[_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlock),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlock", $$v)},expression:"textParam.alignWithBlock"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"43px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动替换")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
192263
192470
|
var TextDialogvue_type_template_id_1102706e_staticRenderFns = []
|
|
192264
192471
|
|
|
@@ -192546,7 +192753,7 @@ var TextDialog_component = normalizeComponent(
|
|
|
192546
192753
|
// CONCATENATED MODULE: ./src/components/controls/textDialog/index.ts
|
|
192547
192754
|
|
|
192548
192755
|
/* harmony default export */ var textDialog = (textDialog_TextDialog);
|
|
192549
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192756
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=template&id=4fcb0694&scoped=true&
|
|
192550
192757
|
var ExpressionFormvue_type_template_id_4fcb0694_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.names[_vm.expressStyle]))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.cancel}})]),_c('section',{staticClass:"expression-form"},[(_vm.expressStyle === 'style1')?[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style1-line"}),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1)]),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)]:_vm._e(),(_vm.expressStyle === 'style2')?[_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1)]),_c('div',{staticClass:"line style21-line"}),_c('div',{staticClass:"line style22-line"}),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)])]:_vm._e(),(_vm.expressStyle === 'style3')?[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"expression-item",staticStyle:{"margin-left":"73px"}},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)]),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1)]:_vm._e(),(_vm.expressStyle === 'style4')?_c('div',{staticClass:"style4"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style41-line"}),_c('div',{staticClass:"expression-style4"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"line style42-line"}),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)])]):_vm._e(),(_vm.expressStyle === 'style1' || _vm.expressStyle === 'style2' || _vm.expressStyle === 'style3')?[_c('div',{staticClass:"express-date-items"},[_c('el-checkbox',{on:{"change":_vm.useDateChange},model:{value:(_vm.isUseDate),callback:function ($$v) {_vm.isUseDate=$$v},expression:"isUseDate"}},[_vm._v("使用日期")])],1),(_vm.isUseDate)?_c('div',{staticClass:"express-date-items"},[_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},on:{"change":_vm.dateFormatChange},model:{value:(_vm.useDateFormat),callback:function ($$v) {_vm.useDateFormat=$$v},expression:"useDateFormat"}},[_c('el-option',{attrs:{"label":"yyyy-MM-dd","value":"yyyy-MM-dd"}}),_c('el-option',{attrs:{"label":"yyyy/MM/dd","value":"yyyy/MM/dd"}}),_c('el-option',{attrs:{"label":"yyyy年MM月dd日","value":"yyyy年MM月dd日"}})],1)],1):_vm._e()]:_vm._e(),(_vm.expressStyle === 'style5')?[_c('div',{staticClass:"expression-style5"},[_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('div',{staticStyle:{"width":"100px"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}}),_c('div',{staticStyle:{"width":"100px"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value7),callback:function ($$v) {_vm.$set(_vm.style567, "value7", $$v)},expression:"style567.value7"}})],1)]:_vm._e(),(_vm.expressStyle === 'style6')?[_c('div',{staticClass:"expression-style5"},[_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value7),callback:function ($$v) {_vm.$set(_vm.style567, "value7", $$v)},expression:"style567.value7"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value8),callback:function ($$v) {_vm.$set(_vm.style567, "value8", $$v)},expression:"style567.value8"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value9),callback:function ($$v) {_vm.$set(_vm.style567, "value9", $$v)},expression:"style567.value9"}})],1)]:_vm._e(),(_vm.expressStyle === 'style7')?[_c('div',{staticClass:"expression-style5 style7"},[_c('div',{staticClass:"line style71-line"}),_c('div',{staticClass:"line style72-line"}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}})],1)]:_vm._e(),(_vm.expressStyle === 'style8')?[_c('div',{staticClass:"style89"},[_c('span',{staticClass:"pos-top"},[_vm._v("上颌")]),_c('span',{staticClass:"pos-bottom"},[_vm._v("下颌")]),_c('span',{staticClass:"pos-left"},[_vm._v("左")]),_c('span',{staticClass:"pos-right"},[_vm._v("右")]),_vm._m(0),_c('ul',[_vm._l((['8', '7', '6', '5', '4', '3', '2', '1']),function(item){return _c('li',{key:item + 'a'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topLeft),callback:function ($$v) {_vm.$set(_vm.style89, "topLeft", $$v)},expression:"style89.topLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['1', '2', '3', '4', '5', '6', '7', '8']),function(item){return _c('li',{key:item + 'b'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topRight),callback:function ($$v) {_vm.$set(_vm.style89, "topRight", $$v)},expression:"style89.topRight"}},[_c('el-checkbox-button',{attrs:{"size":"mini","label":item}})],1)],1)})],2),_c('ul',[_vm._l((['8', '7', '6', '5', '4', '3', '2', '1']),function(item){return _c('li',{key:item + 'c'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomLeft),callback:function ($$v) {_vm.$set(_vm.style89, "bottomLeft", $$v)},expression:"style89.bottomLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['1', '2', '3', '4', '5', '6', '7', '8']),function(item){return _c('li',{key:item + 'd'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomRight),callback:function ($$v) {_vm.$set(_vm.style89, "bottomRight", $$v)},expression:"style89.bottomRight"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)})],2)])]:_vm._e(),(_vm.expressStyle === 'style9')?[_c('div',{staticClass:"style89 style9"},[_c('span',{staticClass:"pos-top"},[_vm._v("上颌")]),_c('span',{staticClass:"pos-bottom"},[_vm._v("下颌")]),_c('span',{staticClass:"pos-left"},[_vm._v("左")]),_c('span',{staticClass:"pos-right"},[_vm._v("右")]),_vm._m(1),_c('ul',[_vm._l((['V', 'IV', 'III', 'II', 'I']),function(item){return _c('li',{key:item + 'a'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topLeft),callback:function ($$v) {_vm.$set(_vm.style89, "topLeft", $$v)},expression:"style89.topLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['I', 'II', 'III', 'IV', 'V']),function(item){return _c('li',{key:item + 'b'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topRight),callback:function ($$v) {_vm.$set(_vm.style89, "topRight", $$v)},expression:"style89.topRight"}},[_c('el-checkbox-button',{attrs:{"size":"mini","label":item}})],1)],1)})],2),_c('ul',[_vm._l((['V', 'IV', 'III', 'II', 'I']),function(item){return _c('li',{key:item + 'c'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomLeft),callback:function ($$v) {_vm.$set(_vm.style89, "bottomLeft", $$v)},expression:"style89.bottomLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['I', 'II', 'III', 'IV', 'V']),function(item){return _c('li',{key:item + 'd'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomRight),callback:function ($$v) {_vm.$set(_vm.style89, "bottomRight", $$v)},expression:"style89.bottomRight"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)})],2)])]:_vm._e()],2),_c('footer',{staticClass:"dialog-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")]),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重 置")]):_vm._e(),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reverse}},[_vm._v("反 选")]):_vm._e(),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.all}},[_vm._v("全 选")]):_vm._e(),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.cancel}},[_vm._v("取 消")])],1)])}
|
|
192551
192758
|
var ExpressionFormvue_type_template_id_4fcb0694_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"titles"},[_c('li',[_vm._v("第三磨牙")]),_c('li',[_vm._v("第二磨牙")]),_c('li',[_vm._v("第一磨牙")]),_c('li',[_vm._v("第二前磨牙")]),_c('li',[_vm._v("第一前磨牙")]),_c('li',[_vm._v("尖牙")]),_c('li',[_vm._v("侧切牙")]),_c('li',[_vm._v("中切牙")]),_c('li',[_vm._v("中切牙")]),_c('li',[_vm._v("侧切牙")]),_c('li',[_vm._v("尖牙")]),_c('li',[_vm._v("第一前磨牙")]),_c('li',[_vm._v("第二前磨牙")]),_c('li',[_vm._v("第一磨牙")]),_c('li',[_vm._v("第二磨牙")]),_c('li',[_vm._v("第三磨牙")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"titles"},[_c('li',[_vm._v("第二乳磨牙")]),_c('li',[_vm._v("第一乳磨牙")]),_c('li',[_vm._v("乳尖牙")]),_c('li',[_vm._v("乳侧切牙")]),_c('li',[_vm._v("乳中切牙")]),_c('li',[_vm._v("乳中切牙")]),_c('li',[_vm._v("乳侧切牙")]),_c('li',[_vm._v("乳尖牙")]),_c('li',[_vm._v("第一乳磨牙")]),_c('li',[_vm._v("第二乳磨牙")])])}]
|
|
192552
192759
|
|
|
@@ -193043,7 +193250,7 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
193043
193250
|
// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
193044
193251
|
|
|
193045
193252
|
/* harmony default export */ var expressionForm = (expressionForm_ExpressionForm);
|
|
193046
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193253
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=08521aa8&
|
|
193047
193254
|
var RadioCheckboxvue_type_template_id_08521aa8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === "RadioBox" ? "单选框" : "复选框")+_vm._s(_vm.boxGroup === 1 ? "组" : ""))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,4204152597)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"58"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"58"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToTextNode),callback:function ($$v) {_vm.$set(scope.row, "isTransToTextNode", $$v)},expression:"scope.row.isTransToTextNode"}})]}}],null,false,614432202)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动替换","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动替换")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToTextNode),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToTextNode", $$v)},expression:"radioCheckbox.isTransToTextNode"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === "RadioBox" ? "单选项" : "复选项"))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
193048
193255
|
var RadioCheckboxvue_type_template_id_08521aa8_staticRenderFns = []
|
|
193049
193256
|
|
|
@@ -193271,7 +193478,7 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
193271
193478
|
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
193272
193479
|
|
|
193273
193480
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
193274
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193481
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=template&id=4642b8d7&
|
|
193275
193482
|
var CommentDialogvue_type_template_id_4642b8d7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents comment-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("批注")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":function($event){return _vm.$emit('closed')}}})]),_c('section',{staticClass:"modal-content"},[_c('el-input',{attrs:{"type":"textarea","size":"mini","autosize":{ minRows: 13, maxRows: 13 },"clearable":"","placeholder":"批注内容","maxlength":"256","show-word-limit":""},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":function($event){return _vm.$emit('closed')}}},[_vm._v("取消")])],1)])}
|
|
193276
193483
|
var CommentDialogvue_type_template_id_4642b8d7_staticRenderFns = []
|
|
193277
193484
|
|
|
@@ -193366,7 +193573,7 @@ var CommentDialog_component = normalizeComponent(
|
|
|
193366
193573
|
// CONCATENATED MODULE: ./src/components/controls/commentDialog/index.ts
|
|
193367
193574
|
|
|
193368
193575
|
/* harmony default export */ var commentDialog = (commentDialog_CommentDialog);
|
|
193369
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193576
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/watermark/WaterSet.vue?vue&type=template&id=468ee214&
|
|
193370
193577
|
var WaterSetvue_type_template_id_468ee214_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents water-set animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("水印")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("内容")]),_c('el-input',{attrs:{"type":"text","size":"mini","clearable":"","placeholder":"文本内容","maxlength":"20","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("角度")]),_c('el-radio-group',{attrs:{"size":"mini"},on:{"change":_vm.codeChange},model:{value:(_vm.rotate),callback:function ($$v) {_vm.rotate=$$v},expression:"rotate"}},[_c('el-radio-button',{attrs:{"label":0}},[_vm._v("水平")]),_c('el-radio-button',{attrs:{"label":1}},[_vm._v("倾斜")])],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("颜色")]),_c('el-color-picker',{attrs:{"show-alpha":""},on:{"change":_vm.codeChange},model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:"color"}})],1)]),_c('div',{staticClass:"section-right"},[_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{attrs:{"id":"water"}},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.waterUrl),expression:"waterUrl"}],attrs:{"src":_vm.waterUrl,"alt":"背景水印"}})])])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
193371
193578
|
var WaterSetvue_type_template_id_468ee214_staticRenderFns = []
|
|
193372
193579
|
|
|
@@ -193481,7 +193688,7 @@ var WaterSet_component = normalizeComponent(
|
|
|
193481
193688
|
// CONCATENATED MODULE: ./src/components/controls/watermark/index.ts
|
|
193482
193689
|
|
|
193483
193690
|
|
|
193484
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193691
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/customAttributes/CustomAttributes.vue?vue&type=template&id=caf6d86c&scoped=true&
|
|
193485
193692
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"customsFormModal",staticClass:"control-modal-contents customs-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("自定义属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.customsValue,"max-height":"360px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"名称","width":"210"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)}},model:{value:(scope.row.name),callback:function ($$v) {_vm.$set(scope.row, "name", $$v)},expression:"scope.row.name"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"210"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])})],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
193486
193693
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_staticRenderFns = []
|
|
193487
193694
|
|
|
@@ -193634,7 +193841,7 @@ var CustomAttributes_component = normalizeComponent(
|
|
|
193634
193841
|
// CONCATENATED MODULE: ./src/components/controls/customAttributes/index.ts
|
|
193635
193842
|
|
|
193636
193843
|
/* harmony default export */ var customAttributes = (customAttributes_CustomAttributes);
|
|
193637
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193844
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dataSource/DataSource.vue?vue&type=template&id=d0d17200&
|
|
193638
193845
|
var DataSourcevue_type_template_id_d0d17200_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"dataSourceModal",staticClass:"control-modal-contents data-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("绑定数据源")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"padding":"10px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{model:{value:(_vm.dataSource.dataSourceEnabled),callback:function ($$v) {_vm.$set(_vm.dataSource, "dataSourceEnabled", $$v)},expression:"dataSource.dataSourceEnabled"}},[_vm._v("数据源绑定设置有效")])],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"数据源"},model:{value:(_vm.dataSource.dataSource),callback:function ($$v) {_vm.$set(_vm.dataSource, "dataSource", $$v)},expression:"dataSource.dataSource"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("格式化")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"格式化"},model:{value:(_vm.dataSource.format),callback:function ($$v) {_vm.$set(_vm.dataSource, "format", $$v)},expression:"dataSource.format"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("访问路径")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"访问路径"},model:{value:(_vm.dataSource.visitPath),callback:function ($$v) {_vm.$set(_vm.dataSource, "visitPath", $$v)},expression:"dataSource.visitPath"}})],1),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{attrs:{"disabled":!_vm.dataSource.dataSourceEnabled},model:{value:(_vm.dataSource.isReadOnly),callback:function ($$v) {_vm.$set(_vm.dataSource, "isReadOnly", $$v)},expression:"dataSource.isReadOnly"}},[_vm._v("只读")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{attrs:{"disabled":!_vm.dataSource.dataSourceEnabled},model:{value:(_vm.dataSource.autoUpdate),callback:function ($$v) {_vm.$set(_vm.dataSource, "autoUpdate", $$v)},expression:"dataSource.autoUpdate"}},[_vm._v("自动更新,当加载文档或者数据源发生改变时自动更新数值")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("执行状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"请选择","size":"mini"},model:{value:(_vm.dataSource.executeStatus),callback:function ($$v) {_vm.$set(_vm.dataSource, "executeStatus", $$v)},expression:"dataSource.executeStatus"}},[_c('el-option',{attrs:{"label":"总是执行","value":0}}),_c('el-option',{attrs:{"label":"只执行一次","value":1}}),_c('el-option',{attrs:{"label":"不执行","value":2}})],1)],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
193639
193846
|
var DataSourcevue_type_template_id_d0d17200_staticRenderFns = []
|
|
193640
193847
|
|
|
@@ -193744,7 +193951,7 @@ var DataSource_component = normalizeComponent(
|
|
|
193744
193951
|
// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
193745
193952
|
|
|
193746
193953
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
193747
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193954
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=530d6908&
|
|
193748
193955
|
var ListSourcevue_type_template_id_530d6908_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"listSourceModal",staticClass:"control-modal-contents list-source-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉列表")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini","placeholder":"来源"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("列表")]),_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listValue,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消默认")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认值")]):_vm._e(),(scope.$index !== _vm.listValue.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
193749
193956
|
var ListSourcevue_type_template_id_530d6908_staticRenderFns = []
|
|
193750
193957
|
|
|
@@ -194024,7 +194231,7 @@ var ListSource_component = normalizeComponent(
|
|
|
194024
194231
|
// CONCATENATED MODULE: ./src/components/controls/listsource/index.ts
|
|
194025
194232
|
|
|
194026
194233
|
/* harmony default export */ var listsource = (listsource_ListSource);
|
|
194027
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194234
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableProperty.vue?vue&type=template&id=4d12c9fe&scoped=true&
|
|
194028
194235
|
var TablePropertyvue_type_template_id_4d12c9fe_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAdjustRowHeight),callback:function ($$v) {_vm.canAdjustRowHeight=$$v},expression:"canAdjustRowHeight"}},[_vm._v("用户可调整行高")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAdjustRowWidth),callback:function ($$v) {_vm.canAdjustRowWidth=$$v},expression:"canAdjustRowWidth"}},[_vm._v("用户可调整列宽")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAddRow),callback:function ($$v) {_vm.canAddRow=$$v},expression:"canAddRow"}},[_vm._v("用户可新增表格行列")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canDeleteRow),callback:function ($$v) {_vm.canDeleteRow=$$v},expression:"canDeleteRow"}},[_vm._v("用户可删除表格行列")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canDeleteTable),callback:function ($$v) {_vm.canDeleteTable=$$v},expression:"canDeleteTable"}},[_vm._v("用户可删除表格")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.continuePrintBorders),callback:function ($$v) {_vm.continuePrintBorders=$$v},expression:"continuePrintBorders"}},[_vm._v("续打时打印所有单元格边框")])],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
194029
194236
|
var TablePropertyvue_type_template_id_4d12c9fe_scoped_true_staticRenderFns = []
|
|
194030
194237
|
|
|
@@ -194198,7 +194405,7 @@ var TableProperty_component = normalizeComponent(
|
|
|
194198
194405
|
)
|
|
194199
194406
|
|
|
194200
194407
|
/* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
|
|
194201
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194408
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=561d76c0&scoped=true&
|
|
194202
194409
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格行属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyHeight),callback:function ($$v) {_vm.isSpecifyHeight=$$v},expression:"isSpecifyHeight"}},[_vm._v("指定高度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyHeight,"precision":2,"step":1,"min":0,"controls":false,"controls-position":"right"},model:{value:(_vm.rowHeight),callback:function ($$v) {_vm.rowHeight=$$v},expression:"rowHeight"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示高度 "+_vm._s(_vm.rowHeightMm)+" 厘米")])],1),_c('li',{staticClass:"control-item",staticStyle:{"padding":"0 0 0 10px"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.isSpecifyHeight},model:{value:(_vm.isAutoRaiseHeight),callback:function ($$v) {_vm.isAutoRaiseHeight=$$v},expression:"isAutoRaiseHeight"}},[_vm._v("内容过多时自动撑大行高以显示所有内容")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.repeatAsTitleAtPageTop),callback:function ($$v) {_vm.repeatAsTitleAtPageTop=$$v},expression:"repeatAsTitleAtPageTop"}},[_vm._v("在隔页顶端以标题行形式重复出现")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.sameLineCanAcrossPages),callback:function ($$v) {_vm.sameLineCanAcrossPages=$$v},expression:"sameLineCanAcrossPages"}},[_vm._v("同行内容能跨页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.forcedPageBreak),callback:function ($$v) {_vm.forcedPageBreak=$$v},expression:"forcedPageBreak"}},[_vm._v("强制分页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBorders),callback:function ($$v) {_vm.printCellBorders=$$v},expression:"printCellBorders"}},[_vm._v("打印单元格边框线")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBg),callback:function ($$v) {_vm.printCellBg=$$v},expression:"printCellBg"}},[_vm._v("打印单元格背景")])],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
194203
194410
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_staticRenderFns = []
|
|
194204
194411
|
|
|
@@ -194466,7 +194673,7 @@ var TableRowProperty_component = normalizeComponent(
|
|
|
194466
194673
|
)
|
|
194467
194674
|
|
|
194468
194675
|
/* harmony default export */ var TableRowProperty = (TableRowProperty_component.exports);
|
|
194469
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194676
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableColProperty.vue?vue&type=template&id=4ec6e040&
|
|
194470
194677
|
var TableColPropertyvue_type_template_id_4ec6e040_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格列属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyWidth),callback:function ($$v) {_vm.isSpecifyWidth=$$v},expression:"isSpecifyWidth"}},[_vm._v("指定宽度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyWidth,"step":1,"min":0,"precision":2,"controls":false},model:{value:(_vm.width),callback:function ($$v) {_vm.width=$$v},expression:"width"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示宽度 "+_vm._s(_vm.colWidth)+" 厘米")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("垂直对齐方式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"垂直对齐方式","size":"mini"},model:{value:(_vm.align),callback:function ($$v) {_vm.align=$$v},expression:"align"}},[_c('el-option',{attrs:{"label":"靠上","value":0}}),_c('el-option',{attrs:{"label":"居中","value":1}}),_c('el-option',{attrs:{"label":"靠下","value":2}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编辑器属性")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"编辑器属性","size":"mini"},on:{"change":_vm.editorPropertyChange},model:{value:(_vm.editorProperty),callback:function ($$v) {_vm.editorProperty=$$v},expression:"editorProperty"}},[_c('el-option',{attrs:{"label":"无","value":0}}),_c('el-option',{attrs:{"label":"下拉列表","value":1}}),_c('el-option',{attrs:{"label":"日期","value":2}}),_c('el-option',{attrs:{"label":"数值","value":3}})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.splitCharacter),callback:function ($$v) {_vm.splitCharacter=$$v},expression:"splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}})],1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.allowMultiSelected),callback:function ($$v) {_vm.allowMultiSelected=$$v},expression:"allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAllowDel),callback:function ($$v) {_vm.isAllowDel=$$v},expression:"isAllowDel"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.canModifyContent),callback:function ($$v) {_vm.canModifyContent=$$v},expression:"canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listItems,"max-height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return (scope.$index !== _vm.listItems.length - 1 && _vm.focusIndexs === scope.$index)?[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]:undefined}}],null,true)})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期格式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.inputStyle),callback:function ($$v) {_vm.inputStyle=$$v},expression:"inputStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 3),expression:"editorProperty === 3"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("最小值")]),_c('el-input-number',{attrs:{"size":"mini","max":Number(_vm.maxNumVal),"min":0,"step":10,"controls":false},model:{value:(_vm.minNumVal),callback:function ($$v) {_vm.minNumVal=$$v},expression:"minNumVal"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("最大值")]),_c('el-input-number',{attrs:{"size":"mini","min":Number(_vm.minNumVal),"step":10,"controls":false},model:{value:(_vm.maxNumVal),callback:function ($$v) {_vm.maxNumVal=$$v},expression:"maxNumVal"}})],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
194471
194678
|
var TableColPropertyvue_type_template_id_4ec6e040_staticRenderFns = []
|
|
194472
194679
|
|
|
@@ -194778,14 +194985,14 @@ var TableColProperty_component = normalizeComponent(
|
|
|
194778
194985
|
)
|
|
194779
194986
|
|
|
194780
194987
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
194781
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194988
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
194782
194989
|
var TableCellPropertyvue_type_template_id_f044d33c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-cell-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("单元格属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-tabs',{model:{value:(_vm.textActiveName),callback:function ($$v) {_vm.textActiveName=$$v},expression:"textActiveName"}},[_c('el-tab-pane',{attrs:{"label":"常规","name":"0"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("标题")]),_c('el-input',{attrs:{"size":"mini","placeholder":"标题"},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:"title"}})],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.lightCellBorders),callback:function ($$v) {_vm.lightCellBorders=$$v},expression:"lightCellBorders"}},[_vm._v("突出显示单元格边框")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("垂直对齐方式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"垂直对齐方式","size":"mini"},model:{value:(_vm.align),callback:function ($$v) {_vm.align=$$v},expression:"align"}},[_c('el-option',{attrs:{"label":"靠上","value":0}}),_c('el-option',{attrs:{"label":"垂直居中","value":1}}),_c('el-option',{attrs:{"label":"靠下","value":2}})],1)],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("单元格背景色")]),_c('ho-color-picker',{attrs:{"defaultColor":"#ffffff"},model:{value:(_vm.backColor),callback:function ($$v) {_vm.backColor=$$v},expression:"backColor"}})],1)]),_c('li',{staticClass:"control-item"},[_c('div',[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block"}},[_vm._v("单元格内边距")]),_c('span',{staticClass:"label"},[_vm._v("上")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellTop),callback:function ($$v) {_vm.cellTop=$$v},expression:"cellTop"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")]),_c('span',{staticClass:"label"},[_vm._v("下")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellBottom),callback:function ($$v) {_vm.cellBottom=$$v},expression:"cellBottom"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")])],1),_c('div',[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block","padding":"0 44px","margin-left":"-1px"}}),_c('span',{staticClass:"label"},[_vm._v("左")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellLeft),callback:function ($$v) {_vm.cellLeft=$$v},expression:"cellLeft"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")]),_c('span',{staticClass:"label"},[_vm._v("右")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellRight),callback:function ($$v) {_vm.cellRight=$$v},expression:"cellRight"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")])],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("边框设置")]),_c('div',[_c('el-checkbox',{model:{value:(_vm.isDrawGridlines),callback:function ($$v) {_vm.isDrawGridlines=$$v},expression:"isDrawGridlines"}},[_vm._v("绘制边框")])],1)]),_c('li',{staticClass:"control-item grid-lines-style",style:({ color: _vm.isDrawGridlines ? '#000000' : '#C0C4CC' })},[_c('span',{staticClass:"label"}),_c('div',[_c('div',{staticClass:"control-item"},[_c('div',{staticClass:"grid-lines-color-item"},[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block"}},[_vm._v("边框颜色")]),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("上")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[0]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 0, $$v)},expression:"gridLinesColor[0]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("下")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[1]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 1, $$v)},expression:"gridLinesColor[1]"}})],1),_c('div',{staticClass:"grid-lines-color-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("左")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[2]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 2, $$v)},expression:"gridLinesColor[2]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("右")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[3]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 3, $$v)},expression:"gridLinesColor[3]"}})],1)]),_c('PrintLineStyle',{attrs:{"isDrawGridlines":_vm.isDrawGridlines,"defaultStyle":_vm.gridLinesStyle,"placeholder":"边框样式"},on:{"change":_vm.printStyleChange}}),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{attrs:{"disabled":!_vm.isDrawGridlines},model:{value:(_vm.printGridLines),callback:function ($$v) {_vm.printGridLines=$$v},expression:"printGridLines"}},[_vm._v("打印边框")])],1)],1)])])]),_c('el-tab-pane',{attrs:{"label":"双击属性","name":"1"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编辑器属性")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"编辑器属性","size":"mini"},model:{value:(_vm.editorProperty),callback:function ($$v) {_vm.editorProperty=$$v},expression:"editorProperty"}},[_c('el-option',{attrs:{"label":"无","value":0}}),_c('el-option',{attrs:{"label":"下拉列表","value":1}}),_c('el-option',{attrs:{"label":"日期","value":2}})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.splitCharacter),callback:function ($$v) {_vm.splitCharacter=$$v},expression:"splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}})],1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.allowMultiSelected),callback:function ($$v) {_vm.allowMultiSelected=$$v},expression:"allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAllowDel),callback:function ($$v) {_vm.isAllowDel=$$v},expression:"isAllowDel"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.canModifyContent),callback:function ($$v) {_vm.canModifyContent=$$v},expression:"canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listItems,"max-height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return (scope.$index !== _vm.listItems.length - 1 && _vm.focusIndexs === scope.$index)?[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]:undefined}}],null,true)})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期格式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.inputStyle),callback:function ($$v) {_vm.inputStyle=$$v},expression:"inputStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAutoInputCurDate),callback:function ($$v) {_vm.isAutoInputCurDate=$$v},expression:"isAutoInputCurDate"}},[_vm._v("双击设置当前日期时间")])],1)])])]),_c('el-tab-pane',{attrs:{"label":"斜分割线","name":"2"}},[_c('ul',{staticClass:"diagonal-line"},[_c('li',{class:_vm.obliqueSplitLine === 0 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(0)}}},[_c('span',{staticClass:"line no-line"}),_c('span',[_vm._v("None")])]),_c('li',{class:_vm.obliqueSplitLine === 1 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(1)}}},[_c('span',{staticClass:"line left-line top-line top-left-one-line"}),_c('span',[_vm._v("TopLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 2 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(2)}}},[_c('span',{staticClass:"line left-line top-line top-left-two-line"}),_c('span',[_vm._v("TopLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 3 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(3)}}},[_c('span',{staticClass:"line right-line top-line top-right-one-line"}),_c('span',[_vm._v("TopRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 4 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(4)}}},[_c('span',{staticClass:"line right-line top-line top-right-two-line"}),_c('span',[_vm._v("TopRightTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 5 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(5)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-one-line"}),_c('span',[_vm._v("BottomLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 6 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(6)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-two-line"}),_c('span',[_vm._v("BottomLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 7 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(7)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-one-line"}),_c('span',[_vm._v("BottomRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 8 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(8)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-two-line"}),_c('span',[_vm._v("BottomRightTwoLine")])])])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
194783
194990
|
var TableCellPropertyvue_type_template_id_f044d33c_scoped_true_staticRenderFns = []
|
|
194784
194991
|
|
|
194785
194992
|
|
|
194786
194993
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
194787
194994
|
|
|
194788
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194995
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=3a0156b2&scoped=true&
|
|
194789
194996
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",style:({ width: _vm.labelWidth })},[_vm._v(_vm._s(_vm.placeholder))]),_c('el-select',{staticClass:"grid-lines-style",staticStyle:{"width":"144px"},attrs:{"disabled":_vm.isDrawGridlines,"placeholder":_vm.placeholder,"size":"mini"},on:{"change":_vm.linesStyleChange},model:{value:(_vm.linesStyle),callback:function ($$v) {_vm.linesStyle=$$v},expression:"linesStyle"}},[_c('el-option',{attrs:{"label":"solid","value":0}},[_c('svg',{attrs:{"viewBox":"0 0 18236 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"100","height":"34"}},[_c('path',{attrs:{"d":"M0 0h18236.952381v1024H0z","fill":"#333"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("solid")])]),_c('el-option',{attrs:{"label":"dash","value":1}},[_c('svg',{attrs:{"viewBox":"0 0 15360 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"100","height":"32","fill":"#333"}},[_c('path',{attrs:{"d":"M0 1024V0h3072v1024H0z m4096 0V0h3072v1024H4096z m8192 0V0h3072v1024h-3072z m-4096 0V0h3072v1024H8192z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dash")])]),_c('el-option',{attrs:{"label":"dashdot","value":2}},[_c('svg',{staticStyle:{"transform":"translateY(8px)"},attrs:{"viewBox":"0 0 7680 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"50","height":"20","fill":"#333"}},[_c('path',{attrs:{"d":"M0 0h2304v1024H0V0z m3328 0h1024v1024h-1024V0z m2048 0h2304v1024h-2304V0z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dashdot")])]),_c('el-option',{attrs:{"label":"dashdotdo","value":3}},[_c('svg',{attrs:{"viewBox":"0 0 12288 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"80","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M6912 0h1536v1024h-1536V0zM3840 0h1536v1024h-1536V0zM0 0h2304v1024H0V0z m9984 0h2304v1024h-2304V0z"}})]),_c('span',{staticStyle:{"flex":"1","padding":"0 33px"}}),_c('span',[_vm._v("dashdotdot")])]),_c('el-option',{attrs:{"label":"dot","value":4}},[_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dot")])])],1)],1)}
|
|
194790
194997
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_staticRenderFns = []
|
|
194791
194998
|
|
|
@@ -194879,7 +195086,7 @@ var PrintLineStyle_component = normalizeComponent(
|
|
|
194879
195086
|
// CONCATENATED MODULE: ./src/components/controls/printstyle/index.ts
|
|
194880
195087
|
|
|
194881
195088
|
|
|
194882
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195089
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/colorPicker/HoColorPicker.vue?vue&type=template&id=a4ad5878&scoped=true&
|
|
194883
195090
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.closed),expression:"closed"}],ref:"colorPicker",staticClass:"ho-color-picker"},[_c('div',{staticClass:"color-btn",class:{ disabled: _vm.disabled },style:({'background-color': _vm.showColor, 'border-color': _vm.showColor.toLowerCase() === '#ffffff' ? '#333' : 'transparent'}),on:{"click":_vm.openPanel}}),_c('div',{staticClass:"box",class:{ open: _vm.openStatus }},[_c('div',{staticClass:"hd"},[_c('div',{staticClass:"color-view",style:(("background-color: " + _vm.showPanelColor))}),_c('div',{staticClass:"default-color",on:{"click":_vm.handleDefaultColor,"mouseover":function($event){_vm.hoveColor = _vm.defaultColor},"mouseout":function($event){_vm.hoveColor = null}}},[_vm._v("默认颜色")])]),_c('div',{staticClass:"bd"},[_c('h3',[_vm._v("主题颜色")]),_c('ul',{staticClass:"t-color"},_vm._l((_vm.tColor),function(color,index){return _c('li',{key:index,style:({ backgroundColor: color }),on:{"mouseover":function($event){_vm.hoveColor = color},"mouseout":function($event){_vm.hoveColor = null},"click":function($event){return _vm.updataValue(color)}}})}),0),_c('h3',[_vm._v("标准颜色")]),_c('ul',{staticClass:"t-color"},_vm._l((_vm.bColor),function(color,index){return _c('li',{key:index,style:({ backgroundColor: color }),on:{"mouseover":function($event){_vm.hoveColor = color},"mouseout":function($event){_vm.hoveColor = null},"click":function($event){return _vm.updataValue(color)}}})}),0)])])])}
|
|
194884
195091
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_staticRenderFns = []
|
|
194885
195092
|
|
|
@@ -195492,7 +195699,7 @@ var TableCellProperty_component = normalizeComponent(
|
|
|
195492
195699
|
|
|
195493
195700
|
|
|
195494
195701
|
|
|
195495
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195702
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/pageInfoes/PageInfoes.vue?vue&type=template&id=4da72a3a&scoped=true&
|
|
195496
195703
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents pageinfoes-modal ' + _vm.animationClassName},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("页码页数信息")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容")]),_c('el-radio',{attrs:{"size":"small","label":0},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:"content"}},[_vm._v("页码")]),_c('el-radio',{attrs:{"size":"small","label":1},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:"content"}},[_vm._v("总页数")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数字显示格式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"数字显示格式","size":"mini"},model:{value:(_vm.format),callback:function ($$v) {_vm.format=$$v},expression:"format"}},[_c('el-option',{attrs:{"label":"1. 2. 3. 4. ···","value":0}}),_c('el-option',{attrs:{"label":"一. 二. 三. 四. ···","value":1}})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
195497
195704
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_staticRenderFns = []
|
|
195498
195705
|
|
|
@@ -195589,7 +195796,7 @@ var PageInfoes_component = normalizeComponent(
|
|
|
195589
195796
|
// CONCATENATED MODULE: ./src/components/controls/pageInfoes/index.ts
|
|
195590
195797
|
|
|
195591
195798
|
/* harmony default export */ var pageInfoes = (pageInfoes_PageInfoes);
|
|
195592
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195799
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/delimiter/Delimiter.vue?vue&type=template&id=0277f9ca&
|
|
195593
195800
|
var Delimitervue_type_template_id_0277f9ca_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("分割符")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"padding":"20px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.width),callback:function ($$v) {_vm.width=$$v},expression:"width"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("px")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("颜色")]),_c('ho-color-picker',{model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:"color"}})],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.insertDelimiter}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
195594
195801
|
var Delimitervue_type_template_id_0277f9ca_staticRenderFns = []
|
|
195595
195802
|
|
|
@@ -195681,12 +195888,12 @@ var Delimiter_component = normalizeComponent(
|
|
|
195681
195888
|
// CONCATENATED MODULE: ./src/components/controls/delimiter/index.ts
|
|
195682
195889
|
|
|
195683
195890
|
/* harmony default export */ var delimiter = (delimiter_Delimiter);
|
|
195684
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195685
|
-
var
|
|
195686
|
-
var
|
|
195891
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=template&id=71a9dc78&
|
|
195892
|
+
var Signvue_type_template_id_71a9dc78_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("签名")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"padding":"20px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名名称")]),_c('el-input',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名格式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.signFormat),callback:function ($$v) {_vm.signFormat=$$v},expression:"signFormat"}},[_c('el-option',{attrs:{"label":"<医师姓名>","value":"<医师姓名>"}}),_c('el-option',{attrs:{"label":"<医师姓名>(<医师职称>)","value":"<医师姓名>(<医师职称>)"}}),_c('el-option',{attrs:{"label":"<医师姓名>:<医师职称>","value":"<医师姓名>:<医师职称>"}}),_c('el-option',{attrs:{"label":"<医师姓名>:<医师职称>\\n<签名时间>","value":"<医师姓名>:<医师职称>\\n<签名时间>"}}),_vm._l((_vm.customSignFormatList),function(format){return _c('el-option',{key:format.label,attrs:{"label":format.label,"value":format.value}})})],2)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名时间格式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.signTimeFormat),callback:function ($$v) {_vm.signTimeFormat=$$v},expression:"signTimeFormat"}},[_c('el-option',{attrs:{"label":"yyyy-MM-dd HH:mm:ss","value":"yyyy-MM-dd HH:mm:ss"}}),_c('el-option',{attrs:{"label":"yyyy-MM-dd HH:mm","value":"yyyy-MM-dd HH:mm"}}),_c('el-option',{attrs:{"label":"yyyy/MM/dd HH:mm:ss","value":"yyyy/MM/dd HH:mm:ss"}}),_c('el-option',{attrs:{"label":"yyyy/MM/dd HH:mm","value":"yyyy/MM/dd HH:mm"}}),_c('el-option',{attrs:{"label":"yyyy年MM月dd日 HH时mm分ss秒","value":"yyyy年MM月dd日 HH时mm分ss秒"}}),_c('el-option',{attrs:{"label":"yyyy年MM月dd日 HH时mm分","value":"yyyy年MM月dd日 HH时mm分"}})],1)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名连接方式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.connectMode),callback:function ($$v) {_vm.connectMode=$$v},expression:"connectMode"}},[_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"换行","value":"换行"}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":",","value":","}})],1)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-checkbox',{model:{value:(_vm.isFront),callback:function ($$v) {_vm.isFront=$$v},expression:"isFront"}},[_vm._v("连接符前置")]),_c('el-tooltip',{attrs:{"placement":"right","effect":"dark"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("不勾选参数: 医师签名 / "),_c('br'),_vm._v(" 勾选参数: / 医师签名 ")]),_c('i',{staticClass:"el-icon-info",staticStyle:{"font-size":"18px","margin-left":"10px"}})])],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-checkbox',{model:{value:(_vm.allowEditSignTime),callback:function ($$v) {_vm.allowEditSignTime=$$v},expression:"allowEditSignTime"}},[_vm._v("允许修改签名时间")])],1):_vm._e()]),(_vm.signType === 1)?_c('div',{staticClass:"section-right"},[_c('div',{staticClass:"custom-format-tool-box"},[_c('ul',{staticClass:"custom-format-tool"},[_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师姓名>'}}},[_vm._v("医师姓名")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师工号>'}}},[_vm._v("医师工号")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师职称>'}}},[_vm._v("医师职称")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<签名时间>'}}},[_vm._v("签名时间")]),_c('i',{staticClass:"el-icon-circle-plus"})],1)]),_c('el-input',{attrs:{"type":"textarea","placeholder":"请输入内容"},model:{value:(_vm.customFormatContent),callback:function ($$v) {_vm.customFormatContent=$$v},expression:"customFormatContent"}})],1),_c('p',[_vm._v("提示:")]),_c('p',[_vm._v("1. 尖括号内的内容用来替换, 不能修改")]),_c('p',[_vm._v("2. 尖括号外的内容处理格式,可以编辑")]),_c('p',[_vm._v("2. 回车键可以自动换行,或者手动插入换行符\\n")]),_c('div',{staticClass:"custom-format-tool-btn"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.createSignFormat}},[_vm._v("添加自定义签名格式")])],1)]):_vm._e()]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.insertSign}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
195893
|
+
var Signvue_type_template_id_71a9dc78_staticRenderFns = []
|
|
195687
195894
|
|
|
195688
195895
|
|
|
195689
|
-
// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=
|
|
195896
|
+
// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=71a9dc78&
|
|
195690
195897
|
|
|
195691
195898
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=script&lang=ts&
|
|
195692
195899
|
|
|
@@ -195698,6 +195905,14 @@ var Signvue_type_template_id_11db87c6_staticRenderFns = [function () {var _vm=th
|
|
|
195698
195905
|
|
|
195699
195906
|
|
|
195700
195907
|
|
|
195908
|
+
|
|
195909
|
+
|
|
195910
|
+
|
|
195911
|
+
|
|
195912
|
+
|
|
195913
|
+
|
|
195914
|
+
|
|
195915
|
+
|
|
195701
195916
|
var Signvue_type_script_lang_ts_Sign = /*#__PURE__*/function (_Vue) {
|
|
195702
195917
|
Object(inherits["a" /* default */])(Sign, _Vue);
|
|
195703
195918
|
|
|
@@ -195708,30 +195923,81 @@ var Signvue_type_script_lang_ts_Sign = /*#__PURE__*/function (_Vue) {
|
|
|
195708
195923
|
|
|
195709
195924
|
Object(classCallCheck["a" /* default */])(this, Sign);
|
|
195710
195925
|
|
|
195711
|
-
_this = _super.apply(this, arguments);
|
|
195712
|
-
// @Prop() controlStatus!: any;
|
|
195713
|
-
|
|
195926
|
+
_this = _super.apply(this, arguments);
|
|
195714
195927
|
_this.height = 20;
|
|
195715
195928
|
_this.name = "";
|
|
195929
|
+
_this.signType = 0;
|
|
195930
|
+
_this.signFormat = '<医师姓名>';
|
|
195931
|
+
_this.connectMode = '换行';
|
|
195932
|
+
_this.isFront = false;
|
|
195933
|
+
_this.allowEditSignTime = false;
|
|
195934
|
+
_this.signTimeFormat = 'yyyy-MM-dd HH:mm';
|
|
195935
|
+
_this.customFormatContent = '';
|
|
195936
|
+
_this.customSignFormatList = [];
|
|
195716
195937
|
_this.animationClassNames = "control-modal-contents sign-modal animation-in";
|
|
195717
195938
|
return _this;
|
|
195718
|
-
} //
|
|
195719
|
-
// if(this.controlStatus === 'update' && this.updateNode !== null) {
|
|
195720
|
-
// this.name = this.updateNode.name;
|
|
195721
|
-
// this.height = this.updateNode.height;
|
|
195722
|
-
// }
|
|
195723
|
-
// }
|
|
195939
|
+
} // 创建自定义签名格式
|
|
195724
195940
|
|
|
195725
195941
|
|
|
195726
195942
|
Object(createClass["a" /* default */])(Sign, [{
|
|
195943
|
+
key: "createSignFormat",
|
|
195944
|
+
value: function createSignFormat() {
|
|
195945
|
+
var customFormat = JSON.stringify(this.customFormatContent).replace(/^\s+|\s+$/g, "");
|
|
195946
|
+
var customList = ['<医师姓名>', '<医师职称>', '<医师工号>', '<签名时间>'];
|
|
195947
|
+
this.$elMessage.closeAll();
|
|
195948
|
+
|
|
195949
|
+
if (customList.filter(function (v) {
|
|
195950
|
+
return customFormat.includes(v);
|
|
195951
|
+
}).length === 0) {
|
|
195952
|
+
this.$elMessage.warning({
|
|
195953
|
+
message: "至少需要插入'<医师姓名>', '<医师职称>', '<医师工号>', '<签名时间>'中的一种",
|
|
195954
|
+
duration: 3000,
|
|
195955
|
+
offset: 120
|
|
195956
|
+
});
|
|
195957
|
+
return;
|
|
195958
|
+
}
|
|
195959
|
+
|
|
195960
|
+
var format = ["<医师姓名>", "<医师姓名>(<医师职称>)", "<医师姓名>:<医师职称>", "<医师姓名>:<医师职称>\n<签名时间>"].concat();
|
|
195961
|
+
this.customSignFormatList.forEach(function (v) {
|
|
195962
|
+
return format.push(v.value);
|
|
195963
|
+
});
|
|
195964
|
+
|
|
195965
|
+
if (format.filter(function (v) {
|
|
195966
|
+
return v === customFormat.slice(1, customFormat.length - 1);
|
|
195967
|
+
}).length > 0) {
|
|
195968
|
+
this.$elMessage.warning({
|
|
195969
|
+
message: "签名格式已存在无需插入,已自动选中",
|
|
195970
|
+
duration: 3000,
|
|
195971
|
+
offset: 120
|
|
195972
|
+
});
|
|
195973
|
+
} else {
|
|
195974
|
+
this.customSignFormatList.push({
|
|
195975
|
+
label: customFormat.slice(1, customFormat.length - 1),
|
|
195976
|
+
value: customFormat.slice(1, customFormat.length - 1)
|
|
195977
|
+
});
|
|
195978
|
+
}
|
|
195979
|
+
|
|
195980
|
+
this.signFormat = customFormat.slice(1, customFormat.length - 1);
|
|
195981
|
+
}
|
|
195982
|
+
}, {
|
|
195727
195983
|
key: "insertSign",
|
|
195728
195984
|
value: function insertSign() {
|
|
195729
195985
|
// if(this.controlStatus === 'update') {
|
|
195730
195986
|
// this.vueController.insertEmptySignNode(this.name ? this.name : '签名', this.height);
|
|
195731
195987
|
// } else {
|
|
195732
|
-
|
|
195733
|
-
|
|
195734
|
-
|
|
195988
|
+
// }
|
|
195989
|
+
if (this.signType === 1) {
|
|
195990
|
+
// console.log(this.name ? this.name : "签名",
|
|
195991
|
+
// this.signType,
|
|
195992
|
+
// this.signFormat,
|
|
195993
|
+
// this.connectMode,
|
|
195994
|
+
// this.isFront,
|
|
195995
|
+
// this.allowEditSignTime)
|
|
195996
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : "签名", this.signType, this.signFormat, this.connectMode, this.isFront, this.allowEditSignTime);
|
|
195997
|
+
} else {
|
|
195998
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : "签名" //,
|
|
195999
|
+
);
|
|
196000
|
+
}
|
|
195735
196001
|
|
|
195736
196002
|
this.handleClose();
|
|
195737
196003
|
}
|
|
@@ -195748,6 +196014,8 @@ var Signvue_type_script_lang_ts_Sign = /*#__PURE__*/function (_Vue) {
|
|
|
195748
196014
|
|
|
195749
196015
|
__decorate([Prop()], Signvue_type_script_lang_ts_Sign.prototype, "vueController", void 0);
|
|
195750
196016
|
|
|
196017
|
+
__decorate([Prop()], Signvue_type_script_lang_ts_Sign.prototype, "controlStatus", void 0);
|
|
196018
|
+
|
|
195751
196019
|
Signvue_type_script_lang_ts_Sign = __decorate([vue_class_component_esm({
|
|
195752
196020
|
name: "Sign",
|
|
195753
196021
|
components: {
|
|
@@ -195771,8 +196039,8 @@ var Signvue_type_style_index_0_lang_scss_ = __webpack_require__("5ec2");
|
|
|
195771
196039
|
|
|
195772
196040
|
var Sign_component = normalizeComponent(
|
|
195773
196041
|
sign_Signvue_type_script_lang_ts_,
|
|
195774
|
-
|
|
195775
|
-
|
|
196042
|
+
Signvue_type_template_id_71a9dc78_render,
|
|
196043
|
+
Signvue_type_template_id_71a9dc78_staticRenderFns,
|
|
195776
196044
|
false,
|
|
195777
196045
|
null,
|
|
195778
196046
|
null,
|
|
@@ -195938,8 +196206,8 @@ ControlModalvue_type_script_lang_ts_ControlModal = __decorate([vue_class_compone
|
|
|
195938
196206
|
|
|
195939
196207
|
var ControlModal_component = normalizeComponent(
|
|
195940
196208
|
controls_ControlModalvue_type_script_lang_ts_,
|
|
195941
|
-
|
|
195942
|
-
|
|
196209
|
+
ControlModalvue_type_template_id_72963b12_render,
|
|
196210
|
+
ControlModalvue_type_template_id_72963b12_staticRenderFns,
|
|
195943
196211
|
false,
|
|
195944
196212
|
null,
|
|
195945
196213
|
null,
|
|
@@ -195948,7 +196216,7 @@ var ControlModal_component = normalizeComponent(
|
|
|
195948
196216
|
)
|
|
195949
196217
|
|
|
195950
196218
|
/* harmony default export */ var controls_ControlModal = (ControlModal_component.exports);
|
|
195951
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196219
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/findReplace/FindReplace.vue?vue&type=template&id=fd4f089c&
|
|
195952
196220
|
var FindReplacevue_type_template_id_fd4f089c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"findModal",class:_vm.animationClassNames,on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("查找替换")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("查找内容")]),_c('el-input',{attrs:{"type":"text","size":"mini"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.toFind.apply(null, arguments)}},model:{value:(_vm.findContent),callback:function ($$v) {_vm.findContent=$$v},expression:"findContent"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"label"},[_c('el-checkbox',{on:{"change":_vm.switchTypes},model:{value:(_vm.switchType),callback:function ($$v) {_vm.switchType=$$v},expression:"switchType"}},[_vm._v("替换内容")])],1),_c('el-input',{attrs:{"disabled":!_vm.switchType,"type":"text","size":"mini"},model:{value:(_vm.replaceCentent),callback:function ($$v) {_vm.replaceCentent=$$v},expression:"replaceCentent"}})],1),_c('li',{staticClass:"control-item"},[_c('el-radio',{attrs:{"label":0},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向下")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向上")]),_c('div',{staticStyle:{"margin-left":"30px"}},[_c('el-checkbox',{model:{value:(_vm.matchCase),callback:function ($$v) {_vm.matchCase=$$v},expression:"matchCase"}},[_vm._v("区分大小写")])],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"disabled":_vm.findContent === '',"size":"mini"},on:{"click":_vm.toFind}},[_vm._v("查找")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplace}},[_vm._v("替换")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplaceAll}},[_vm._v("全部替换")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1)])}
|
|
195953
196221
|
var FindReplacevue_type_template_id_fd4f089c_staticRenderFns = []
|
|
195954
196222
|
|
|
@@ -196098,7 +196366,7 @@ var FindReplace_component = normalizeComponent(
|
|
|
196098
196366
|
// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
196099
196367
|
|
|
196100
196368
|
/* harmony default export */ var findReplace = (FindReplace);
|
|
196101
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196369
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/viewContinuousXml/ViewContinuousXml.vue?vue&type=template&id=43dfdba6&
|
|
196102
196370
|
var ViewContinuousXmlvue_type_template_id_43dfdba6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.continuousView.status)?_c('div',{staticClass:"ho-continuous-viewbox"}):_vm._e()}
|
|
196103
196371
|
var ViewContinuousXmlvue_type_template_id_43dfdba6_staticRenderFns = []
|
|
196104
196372
|
|
|
@@ -196985,7 +197253,7 @@ var DeleteImageNodeList = __webpack_require__("f00c");
|
|
|
196985
197253
|
var font = __webpack_require__("2c6d");
|
|
196986
197254
|
|
|
196987
197255
|
// CONCATENATED MODULE: ./src/components/version.ts
|
|
196988
|
-
/* harmony default export */ var version = ('0.3.
|
|
197256
|
+
/* harmony default export */ var version = ('0.3.86');
|
|
196989
197257
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDocs.vue?vue&type=script&lang=ts&
|
|
196990
197258
|
|
|
196991
197259
|
|
|
@@ -197389,7 +197657,7 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
197389
197657
|
property.headerYMm = 0;
|
|
197390
197658
|
property.footerYMm = 0; // 打开xml前设置的页边距和顶部默认值
|
|
197391
197659
|
|
|
197392
|
-
if (!hoEditorFactory.
|
|
197660
|
+
if (!hoEditorFactory.openXmled) {
|
|
197393
197661
|
if (isNaN(Number(property.leftMarginMm))) {
|
|
197394
197662
|
property.leftMarginMm = 15;
|
|
197395
197663
|
} else {
|
|
@@ -197520,7 +197788,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
197520
197788
|
|
|
197521
197789
|
var HoDocs_component = normalizeComponent(
|
|
197522
197790
|
components_HoDocsvue_type_script_lang_ts_,
|
|
197523
|
-
|
|
197791
|
+
HoDocsvue_type_template_id_5a5781ca_render,
|
|
197524
197792
|
staticRenderFns,
|
|
197525
197793
|
false,
|
|
197526
197794
|
null,
|
|
@@ -197530,7 +197798,7 @@ var HoDocs_component = normalizeComponent(
|
|
|
197530
197798
|
)
|
|
197531
197799
|
|
|
197532
197800
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
197533
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197801
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=6b9fddde&
|
|
197534
197802
|
var ToolBarvue_type_template_id_6b9fddde_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tabs',{attrs:{"tabKey":_vm.tabKey},on:{"tabClick":_vm.mainBarClick,"updateTabKey":_vm.updateTabKey}},[_vm._t("beforeBrowse"),_c('tab-pane',{attrs:{"isShow":_vm.defaultBrowseJson.isBrowse,"label":"浏览模式","notHover":true,"name":"ho-browse"}},[(_vm.defaultBrowseJson.saveAsFile)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{attrs:{"trigger":"click"}},[_c('span',{staticClass:"el-dropdown-link"},[_vm._v("另存为")]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('xml')}}},[_vm._v("XML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('html')}}},[_vm._v("HTML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('plain')}}},[_vm._v("TXT")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('json')}}},[_vm._v("JSON")])],1)],1)],1):_vm._e(),(_vm.isPrinted)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{class:_vm.isPrintClass,on:{"click":_vm.outPrinted}},[_vm._v("退出打印预览状态")])]):_vm._e(),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printed)?_c('span',{class:_vm.printedClass,on:{"click":_vm.printed}},[_vm._v("打印")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printSelected)?_c('span',{class:_vm.printSelectedClass,on:{"click":_vm.printSelected}},[_vm._v("打印拖动鼠标选中区域")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border-right":"1px solid #e6e6e6"}},[(_vm.defaultBrowseJson.printCaret)?_c('span',{class:_vm.printCaretClass,on:{"click":_vm.printCaret}},[_vm._v("打印鼠标点击位置")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border":"0"}},[(_vm.defaultBrowseJson.printContinue)?_c('span',{class:_vm.printContinueClass,on:{"click":_vm.printContinue}},[_vm._v("续打")]):_vm._e()]),_c('HoPrintDialog',{attrs:{"vueController":_vm.vueController,"printBeforeStatus":5,"printModal":_vm.printModal},on:{"closed":_vm.closedHoPrintModal}})],1),_vm._t("beforeEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isEdit,"label":"编辑模式","notHover":true,"name":"ho-edit"}},[_c('ToolBarChild',{attrs:{"editJson":_vm.defaultEditJson,"vueController":_vm.vueController,"tabStatus":_vm.tabStatus,"textStyle":_vm.textStyle,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus}})],1),_vm._t("afterEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertElement,"label":"插入","name":"ho-insert"}},[_c('tool-control',{attrs:{"insert":_vm.defaultEditJson,"vueController":_vm.vueController,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus},scopedSlots:_vm._u([{key:"hoInsertItem",fn:function(){return [_vm._t("insideInsert")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertTable,"label":"表格","name":"ho-table"}},[_c('tool-table',{attrs:{"table":_vm.defaultEditJson,"vueController":_vm.vueController},scopedSlots:_vm._u([{key:"hoTableItem",fn:function(){return [_vm._t("insideTable")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultReviewJson.isReview,"label":"审阅模式","name":"ho-review"}},[_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.insertComment)?_c('span',{staticClass:"review",on:{"click":function($event){$event.stopPropagation();return _vm.createControlComment.apply(null, arguments)}}},[_vm._v("插入批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.editComment)?_c('span',{staticClass:"review",on:{"click":_vm.editComment}},[_vm._v("编辑批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteComment}},[_vm._v("删除批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteAllComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteAllComment}},[_vm._v("删除全部批注")]):_vm._e()]),(_vm.defaultReviewJson.qualityControl)?_c('li',{staticClass:"sub-bar-items sub-bar-paragraph sub-bar-print"},[_c('el-menu',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.closeToolMenusTest),expression:"closeToolMenusTest"}],ref:"controlMenus",staticStyle:{"width":"94px","height":"25px","justify-content":"left"},attrs:{"mode":"horizontal","menu-trigger":"click","popper-append-to-body":"","unique-opened":""},on:{"open":_vm.toolMenuSelectedTest}},[_c('el-submenu',{attrs:{"index":"file"}},[_c('template',{slot:"title"},[_c('span',{style:({ color: _vm.reviewLevel.color })},[_vm._v(" "+_vm._s(_vm.reviewLevel.text[_vm.reviewLevel.limit - 1])+" ")])]),_c('el-menu-item',{staticStyle:{"color":"#f19191","font-size":"14px"},attrs:{"index":"oneReview"},on:{"click":function($event){return _vm.setLogin(1, '#F19191')}}},[_vm._v("一级质控")]),_c('el-menu-item',{staticStyle:{"color":"#8198f7","font-size":"14px"},attrs:{"index":"twoReview"},on:{"click":function($event){return _vm.setLogin(2, '#8198F7')}}},[_vm._v("二级质控")]),_c('el-menu-item',{staticStyle:{"color":"#7fd27f","font-size":"14px"},attrs:{"index":"threeReview"},on:{"click":function($event){return _vm.setLogin(3, '#7FD27F')}}},[_vm._v("三级质控")])],2)],1)],1):_vm._e()]),_vm._t("afterReview")],2)}
|
|
197535
197803
|
var ToolBarvue_type_template_id_6b9fddde_staticRenderFns = []
|
|
197536
197804
|
|
|
@@ -197543,7 +197811,7 @@ var web_url = __webpack_require__("2b3d");
|
|
|
197543
197811
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.js
|
|
197544
197812
|
var web_url_search_params = __webpack_require__("9861");
|
|
197545
197813
|
|
|
197546
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197814
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=f3e9ff84&
|
|
197547
197815
|
var HoPrintDialogvue_type_template_id_f3e9ff84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"打印设置","top":"200px","visible":_vm.printDialog,"center":"","width":"40%","before-close":_vm.closedHoPrintModal,"append-to-body":"","destroy-on-close":"","close-on-click-modal":false},on:{"update:visible":function($event){_vm.printDialog=$event}}},[_c('section',{staticClass:"ho-print-content"},[_c('el-radio',{attrs:{"size":"medium","label":0},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("全部打印")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("奇数页")]),_c('el-radio',{attrs:{"label":2},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("偶数页")]),_c('div',{staticClass:"ho-print-more"},[_c('el-radio',{attrs:{"label":3},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("打印指定页:")]),_c('el-input',{attrs:{"disabled":_vm.printMode !== 3,"size":"mini","placeholder":"示例: 1, 2-4, 5, 7-10, 12"},model:{value:(_vm.printAppoint),callback:function ($$v) {_vm.printAppoint=$$v},expression:"printAppoint"}})],1),(_vm.errorText)?_c('div',{staticClass:"ho-print-error"},[_vm._v(_vm._s(_vm.errorText))]):_vm._e(),_c('div',{staticClass:"ho-print-title"},[_vm._v("指定页: 1, 2-4, 5, 7-10, 12")])],1),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.hoPrinted}},[_vm._v("确 定")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.closedHoPrintModal}},[_vm._v("取 消")])],1)])}
|
|
197548
197816
|
var HoPrintDialogvue_type_template_id_f3e9ff84_staticRenderFns = []
|
|
197549
197817
|
|
|
@@ -198613,7 +198881,7 @@ ToolParagraph_ToolParagraph = __decorate([vue_class_component_esm({
|
|
|
198613
198881
|
}
|
|
198614
198882
|
})], ToolParagraph_ToolParagraph);
|
|
198615
198883
|
/* harmony default export */ var toolbar_ToolParagraph = (ToolParagraph_ToolParagraph);
|
|
198616
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198884
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/MedicalExpressions.vue?vue&type=template&id=50152c2d&scoped=true&
|
|
198617
198885
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"overflow":"hidden","height":"640px"},attrs:{"native":false}},[_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style1"},on:{"click":function($event){return _vm.selectedSure('style1')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 40 30 L 80 30"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style2"},on:{"click":function($event){return _vm.selectedSure('style2')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"15","y":"20"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"15","y":"50"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 10 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style3"},on:{"click":function($event){return _vm.selectedSure('style3')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 15 5 L 110 55"}}),_c('path',{attrs:{"d":"M 15 55 L 110 5"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style4"},on:{"click":function($event){return _vm.selectedSure('style4')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value3")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 62 30 L 110 30"}}),_c('path',{attrs:{"d":"M 45 45 L 55 15"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style5"},on:{"click":function($event){return _vm.selectedSure('style5')}}},[_c('span',[_vm._v("瞳孔图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value7")])])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style6"},on:{"click":function($event){return _vm.selectedSure('style6')}}},[_c('span',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"40","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("Value8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value9")])])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style7"},on:{"click":function($event){return _vm.selectedSure('style7')}}},[_c('span',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"12","y":"15"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"12","y":"35"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"12","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"70","y":"15"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"35"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"70","y":"55"}},[_vm._v("Value8")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 0 30 L 10 30"}}),_c('path',{attrs:{"d":"M 52 30 L 67 30"}}),_c('path',{attrs:{"d":"M 110 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style8"},on:{"click":function($event){return _vm.selectedSure('style8')}}},[_c('span',[_vm._v("恒牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("12345678")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("12345678")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style9"},on:{"click":function($event){return _vm.selectedSure('style9')}}},[_c('span',[_vm._v("乳牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("I II III IV V")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("I II III IV V")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])])],1)}
|
|
198618
198886
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_staticRenderFns = []
|
|
198619
198887
|
|
|
@@ -198679,7 +198947,7 @@ var MedicalExpressions_component = normalizeComponent(
|
|
|
198679
198947
|
)
|
|
198680
198948
|
|
|
198681
198949
|
/* harmony default export */ var MedicalExpressions = (MedicalExpressions_component.exports);
|
|
198682
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198950
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadImage.vue?vue&type=template&id=208b2688&scoped=true&
|
|
198683
198951
|
var UploadImagevue_type_template_id_208b2688_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('el-menu-item',{attrs:{"slot":"trigger","index":"upload"},slot:"trigger"},[_c('svg',{attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1)}
|
|
198684
198952
|
var UploadImagevue_type_template_id_208b2688_scoped_true_staticRenderFns = []
|
|
198685
198953
|
|
|
@@ -198847,7 +199115,7 @@ var UploadImage_component = normalizeComponent(
|
|
|
198847
199115
|
)
|
|
198848
199116
|
|
|
198849
199117
|
/* harmony default export */ var toolbar_UploadImage = (UploadImage_component.exports);
|
|
198850
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199118
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/SpecialChars.vue?vue&type=template&id=517c34d3&scoped=true&
|
|
198851
199119
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-menu-item',{staticClass:"special-characters",attrs:{"disabled":"","index":"style1"}},[_c('section',[_c('ul',[_c('li',[_c('header',[_vm._v("特殊字符")]),_c('p',{staticClass:"chars-list special-chars-list"},_vm._l((_vm.specialChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("罗马字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.romanChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("数学字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.mathChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)])])])])}
|
|
198852
199120
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_staticRenderFns = []
|
|
198853
199121
|
|
|
@@ -199464,7 +199732,7 @@ ToolControl_ToolControls = __decorate([vue_class_component_esm({
|
|
|
199464
199732
|
}
|
|
199465
199733
|
})], ToolControl_ToolControls);
|
|
199466
199734
|
/* harmony default export */ var toolbar_ToolControl = (ToolControl_ToolControls);
|
|
199467
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199735
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UpdateDocument.vue?vue&type=template&id=11981739&scoped=true&
|
|
199468
199736
|
var UpdateDocumentvue_type_template_id_11981739_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(
|
|
199469
199737
|
function () {
|
|
199470
199738
|
_vm.isDocumentShow = false;
|
|
@@ -199538,14 +199806,14 @@ var UpdateDocument_component = normalizeComponent(
|
|
|
199538
199806
|
)
|
|
199539
199807
|
|
|
199540
199808
|
/* harmony default export */ var components_UpdateDocument = (UpdateDocument_component.exports);
|
|
199541
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199809
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
199542
199810
|
var ToolTablevue_type_template_id_7e9dd939_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-submenu',{attrs:{"popper-class":"insert-menus","index":"tables"}},[_c('template',{slot:"title"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16","viewBox":"0 0 16 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-4 -4)"}},[_c('path',{attrs:{"stroke":"none","d":"M4,7 C4,5.34314575 5.34314575,4 7,4 L17,4 C18.6568542,4 20,5.34314575 20,7 L20,17 C20,18.6568542 18.6568542,20 17,20 L7,20 C5.34314575,20 4,18.6568542 4,17 L4,7 Z M7,6 C6.44771525,6 6,6.44771525 6,7 L6,11 L11,11 L11,6 L7,6 Z M13,6 L13,11 L18,11 L18,7 C18,6.44771525 17.5522847,6 17,6 L13,6 Z M18,13 L13,13 L13,18 L17,18 C17.5522847,18 18,17.5522847 18,17 L18,13 Z M11,18 L11,13 L6,13 L6,17 C6,17.5522847 6.44771525,18 7,18 L11,18 Z"}})])]),_c('span',[_vm._v("表格")])]),_c('el-submenu',{attrs:{"index":"insertTable","popper-append-to-body":true}},[_c('template',{slot:"title"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16","viewBox":"0 0 16 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-4 -4)"}},[_c('path',{attrs:{"stroke":"none","d":"M4,7 C4,5.34314575 5.34314575,4 7,4 L17,4 C18.6568542,4 20,5.34314575 20,7 L20,17 C20,18.6568542 18.6568542,20 17,20 L7,20 C5.34314575,20 4,18.6568542 4,17 L4,7 Z M7,6 C6.44771525,6 6,6.44771525 6,7 L6,11 L11,11 L11,6 L7,6 Z M13,6 L13,11 L18,11 L18,7 C18,6.44771525 17.5522847,6 17,6 L13,6 Z M18,13 L13,13 L13,18 L17,18 C17.5522847,18 18,17.5522847 18,17 L18,13 Z M11,18 L11,13 L6,13 L6,17 C6,17.5522847 6.44771525,18 7,18 L11,18 Z"}})])]),_c('span',[_vm._v("插入表格")])]),_c('el-menu-item',{staticClass:"table-menus",attrs:{"index":"0"}},[_c('div',{staticClass:"columns",on:{"mouseleave":_vm.clearData}},[_c('p',{staticClass:"table-title"},[_vm._v(" "+_vm._s(_vm.rows ? _vm.rows + " x " + _vm.columns : "插入")+" 表格 ")]),_vm._l((10),function(row_index){return _c('div',{key:'row_' + row_index,staticClass:"rows",on:{"mousemove":_vm.mouse,"click":_vm.createdTables}},_vm._l((10),function(column_index){return _c('span',{key:'column_index' + column_index,class:row_index <= _vm.rows && column_index <= _vm.columns ? 'selected' : '',attrs:{"data-column":column_index,"data-row":row_index},on:{"touchstart":_vm.touch,"touchmove":_vm.touch,"touchend":_vm.touchend}})}),0)}),_c('p',{staticClass:"table-bottom-title",on:{"click":function($event){_vm.dialogFormVisible = true}}},[_vm._v(" 自定义行列数 ")])],2)])],2),(_vm.isOpen)?_c('TableFeatures',{attrs:{"className":"insert-rows-columns-menu","vueController":_vm.vueController,"table":_vm.table},on:{"closeMenu":_vm.closeMenu}}):_vm._e(),_c('el-dialog',{attrs:{"title":"自定义表格行列","width":"320px","visible":_vm.dialogFormVisible,"top":"200px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"label":"行数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.rows),callback:function ($$v) {_vm.$set(_vm.form, "rows", $$v)},expression:"form.rows"}})],1),_c('el-form-item',{attrs:{"label":"列数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.columns),callback:function ($$v) {_vm.$set(_vm.form, "columns", $$v)},expression:"form.columns"}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")]),_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")])],1)],1)],2)}
|
|
199543
199811
|
var ToolTablevue_type_template_id_7e9dd939_staticRenderFns = []
|
|
199544
199812
|
|
|
199545
199813
|
|
|
199546
199814
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
199547
199815
|
|
|
199548
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199816
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/TableFeatures.vue?vue&type=template&id=907964ce&
|
|
199549
199817
|
var TableFeaturesvue_type_template_id_907964ce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.className},[(_vm.table.insertRowAbove)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"disabled":"","index":"1"}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"insertTableRowsColumns"}},[_c('path',{attrs:{"d":"M1024 1024H0V384h1024v640zM171.2 127.8L0 256V0l171.2 127.8z m132.9 512.1V512H128l0.1 127.9h176z m0 256.1V767.9h-176L128 896h176.1zM1024 192H256V64h768v128zM592.1 639.9V512h-160v127.9h160z m0 256.1V767.9h-160V896h160z m304-256.1L896 512H720.1v127.9h176zM896 896l0.1-128.1h-176V896H896z"}})])]),_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("上方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-top",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.topRows),callback:function ($$v) {_vm.topRows=$$v},expression:"topRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertRowBelow)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"disabled":"","index":"2"}},[_c('svg',{staticStyle:{"transform":"rotateX(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("下方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-bottom",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.bottomRows),callback:function ($$v) {_vm.bottomRows=$$v},expression:"bottomRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertColLeft)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"3","disabled":""}},[_c('svg',{staticStyle:{"transform":"rotateZ(270deg) rotateY(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("左侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-left",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.leftRows),callback:function ($$v) {_vm.leftRows=$$v},expression:"leftRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.insertColRight)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"4","disabled":""}},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("右侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-right",attrs:{"size":"mini","precision":0,"controls":false,"min":1},model:{value:(_vm.rightRows),callback:function ($$v) {_vm.rightRows=$$v},expression:"rightRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.deleteRows)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"5"}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"27213","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除行")])]):_vm._e(),(_vm.table.deleteCols)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"6"}},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除列")])]):_vm._e(),(_vm.table.mergerCells)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"7"}},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('path',{attrs:{"fill":"#F0F0F0","d":"M0,0 L24,0 L24,24 L0,24 L0,0 Z","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952","transform":"matrix(-1 0 0 1 14 0)"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952"}}),_c('path',{attrs:{"stroke":"none","d":"M10.3652377,13.1421629 L8.12342591,13.1421629 L8.79597093,13.8610652 C9.03778436,14.1357021 9.02267185,14.5638117 8.76574414,14.8222945 C8.64483728,14.9353803 8.49370422,15 8.33501255,15 C8.17632235,15 8.01763215,14.9353796 7.8967247,14.8142158 L6.1889167,12.9886918 C6.06800984,12.859451 6,12.689822 6,12.5121164 C6,12.4232634 6.01511339,12.3344109 6.05289673,12.2455566 C6.08312352,12.1647811 6.12846356,12.0840053 6.18891699,12.0193853 L7.90427979,10.1938613 C8.02518665,10.0646205 8.18387744,10 8.3501239,10 C8.51637035,10 8.68261828,10.0726979 8.80352426,10.2019384 C8.92443112,10.3311791 8.9848847,10.5008082 8.9848847,10.6785137 C8.98488469,10.8562192 8.91687457,11.0258476 8.795968,11.155089 L8.19898995,11.7932157 L10.3652392,11.7932157 C10.7128461,11.7851381 11,12.0840068 11,12.4636523 C11,12.835216 10.7128446,13.1421629 10.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 17 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M17.3652377,13.1421629 L15.1234259,13.1421629 L15.7959709,13.8610652 C16.0377844,14.1357021 16.0226718,14.5638117 15.7657441,14.8222945 C15.6448373,14.9353803 15.4937042,15 15.3350126,15 C15.1763223,15 15.0176321,14.9353796 14.8967247,14.8142158 L13.1889167,12.9886918 C13.0680098,12.859451 13,12.689822 13,12.5121164 C13,12.4232634 13.0151134,12.3344109 13.0528967,12.2455566 C13.0831235,12.1647811 13.1284636,12.0840053 13.188917,12.0193853 L14.9042798,10.1938613 C15.0251866,10.0646205 15.1838774,10 15.3501239,10 C15.5163704,10 15.6826183,10.0726979 15.8035243,10.2019384 C15.9244311,10.3311791 15.9848847,10.5008082 15.9848847,10.6785137 C15.9848847,10.8562192 15.9168746,11.0258476 15.795968,11.155089 L15.19899,11.7932157 L17.3652392,11.7932157 C17.7128461,11.7851381 18,12.0840068 18,12.4636523 C18,12.835216 17.7128446,13.1421629 17.3652377,13.1421629 Z"}})])]),_c('span',[_vm._v("合并单元格")])]):_vm._e(),(_vm.table.unMergerCells)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"8"}},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952","transform":"matrix(-1 0 0 1 34 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M7.36523773,13.1421629 L5.12342591,13.1421629 L5.79597093,13.8610652 C6.03778436,14.1357021 6.02267185,14.5638117 5.76574414,14.8222945 C5.64483728,14.9353803 5.49370422,15 5.33501255,15 C5.17632235,15 5.01763215,14.9353796 4.8967247,14.8142158 L3.1889167,12.9886918 C3.06800984,12.859451 3,12.689822 3,12.5121164 C3,12.4232634 3.01511339,12.3344109 3.05289673,12.2455566 C3.08312352,12.1647811 3.12846356,12.0840053 3.18891699,12.0193853 L4.90427979,10.1938613 C5.02518665,10.0646205 5.18387744,10 5.3501239,10 C5.51637035,10 5.68261828,10.0726979 5.80352426,10.2019384 C5.92443112,10.3311791 5.9848847,10.5008082 5.9848847,10.6785137 C5.98488469,10.8562192 5.91687457,11.0258476 5.795968,11.155089 L5.19898995,11.7932157 L7.36523919,11.7932157 C7.71284609,11.7851381 8,12.0840068 8,12.4636523 C8,12.835216 7.71284463,13.1421629 7.36523773,13.1421629 Z"}}),_c('path',{attrs:{"stroke":"none","d":"M20.3652377,13.1421629 L18.1234259,13.1421629 L18.7959709,13.8610652 C19.0377844,14.1357021 19.0226718,14.5638117 18.7657441,14.8222945 C18.6448373,14.9353803 18.4937042,15 18.3350126,15 C18.1763223,15 18.0176321,14.9353796 17.8967247,14.8142158 L16.1889167,12.9886918 C16.0680098,12.859451 16,12.689822 16,12.5121164 C16,12.4232634 16.0151134,12.3344109 16.0528967,12.2455566 C16.0831235,12.1647811 16.1284636,12.0840053 16.188917,12.0193853 L17.9042798,10.1938613 C18.0251866,10.0646205 18.1838774,10 18.3501239,10 C18.5163704,10 18.6826183,10.0726979 18.8035243,10.2019384 C18.9244311,10.3311791 18.9848847,10.5008082 18.9848847,10.6785137 C18.9848847,10.8562192 18.9168746,11.0258476 18.795968,11.155089 L18.19899,11.7932157 L20.3652392,11.7932157 C20.7128461,11.7851381 21,12.0840068 21,12.4636523 C21,12.835216 20.7128446,13.1421629 20.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 37 0)"}})])]),_c('span',[_vm._v("取消合并单元格")])]):_vm._e(),_c('el-dialog',{attrs:{"title":"表格计算公式","width":"520px","visible":_vm.dialogFormVisible,"top":"200px","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('section',[_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle === "a3:a10" ? "求和公式" : "四则运算公式")+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v("示例: "+_vm._s(_vm.dialogFormTitle))]),_c('el-input',{attrs:{"autocomplete":"off"},model:{value:(_vm.formula),callback:function ($$v) {_vm.formula=$$v},expression:"formula"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")])],1)])],1)}
|
|
199550
199818
|
var TableFeaturesvue_type_template_id_907964ce_staticRenderFns = []
|
|
199551
199819
|
|
|
@@ -199874,7 +200142,7 @@ var ToolTable_component = normalizeComponent(
|
|
|
199874
200142
|
)
|
|
199875
200143
|
|
|
199876
200144
|
/* harmony default export */ var toolbar_ToolTable = (ToolTable_component.exports);
|
|
199877
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200145
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=template&id=122070b6&scoped=true&
|
|
199878
200146
|
var PageSettingvue_type_template_id_122070b6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal"},[_c('div',{ref:"pageSettingModal",class:_vm.animationClassNames,on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("页面设置")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-tabs',{model:{value:(_vm.textActiveName),callback:function ($$v) {_vm.textActiveName=$$v},expression:"textActiveName"}},[_c('el-tab-pane',{attrs:{"label":"页面设置","name":"first"}},[_c('div',{staticClass:"control-list"},[_c('fieldset',{staticClass:"control-item fieldset",staticStyle:{"margin":"0 10px 10px 10px"}},[_c('legend',[_vm._v("页边距 毫米")]),_c('ul',{staticClass:"page-spacing"},[_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("上(T)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.topMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "topMarginMm", $$v)},expression:"property.topMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("左(L)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.leftMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "leftMarginMm", $$v)},expression:"property.leftMarginMm"}})],1)]),_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("下(B)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.bottomMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "bottomMarginMm", $$v)},expression:"property.bottomMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("右(R)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.rightMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "rightMarginMm", $$v)},expression:"property.rightMarginMm"}})],1)])])]),_c('div',{staticClass:"print-settings"},[_c('fieldset',{staticClass:"fieldset print-direction-item"},[_c('legend',[_vm._v("打印方向")]),_c('div',{class:_vm.property.printDirection === 0 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(0)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M850.56 297.984l-254.336-233.088s-6.314667-7.637333-14.464-7.637333H211.968c-24.064 0-43.776 19.584-43.776 43.776v825.557333c0 24.064 19.584 43.776 43.776 43.776h600.021333c24.064 0 43.776-19.584 43.776-43.776V309.717333a16.213333 16.213333 0 0 0-5.205333-11.733333z m-252.757333-188.416l200.874666 184.149333-149.034666-0.085333a52.053333 52.053333 0 0 1-51.84-51.925333V109.568z m225.92 816.981333a11.733333 11.733333 0 0 1-11.733334 11.733334H211.882667a11.733333 11.733333 0 0 1-11.733334-11.733334V100.992c0-6.528 5.290667-11.733333 11.733334-11.733333h353.877333v152.405333c0 46.208 37.546667 83.84 83.754667 83.84l174.250666 0.213333v600.832z m0 0"}}),_c('path',{attrs:{"d":"M535.04 367.36h-46.08l-127.274667 334.037333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616L535.04 367.36z m-80.042667 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109334c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213334z"}})])]),_c('p',[_vm._v("纵向(P)")])]),_c('div',{class:_vm.property.printDirection === 1 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(1)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M296.192 175.189333l-233.088 254.336s-7.637333 6.314667-7.637333 14.464v369.792c0 24.064 19.584 43.776 43.776 43.776h825.557333c24.064 0 43.776-19.584 43.776-43.776V213.76c0-24.064-19.584-43.776-43.776-43.776H307.925333a16.384 16.384 0 0 0-11.733333 5.205333z m-188.416 252.8l184.149333-200.874666-0.128 149.034666a52.053333 52.053333 0 0 1-51.925333 51.84H107.776z m817.024-225.962666c6.528 0 11.733333 5.290667 11.733333 11.733333v600.149333a11.733333 11.733333 0 0 1-11.733333 11.733334H99.2a11.733333 11.733333 0 0 1-11.733333-11.733334v-353.877333h152.405333c46.208 0 83.84-37.546667 83.84-83.754667l0.213333-174.250666h600.874667z m0 0"}}),_c('path',{attrs:{"d":"M555.648 346.752h-46.08L382.293333 680.789333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616l-127.189333-334.037333z m-80.085333 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109333c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213333z"}})])]),_c('p',[_vm._v("横向(P)")])])]),_c('div',{staticClass:"control-item",staticStyle:{"padding":"0","margin-left":"10px"}},[_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px","margin":"0"}},[_c('legend',[_vm._v("纸张 毫米")]),_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("大小(Z)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择纸张大小"},on:{"change":function($event){return _vm.setPrintDirection(_vm.property.printDirection)}},model:{value:(_vm.property.pageSize),callback:function ($$v) {_vm.$set(_vm.property, "pageSize", $$v)},expression:"property.pageSize"}},_vm._l((_vm.paperStyle),function(style,index){return _c('el-option',{key:index,attrs:{"label":style[0],"value":style[0]}})}),1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("来源(S)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择来源"},model:{value:(_vm.property.source),callback:function ($$v) {_vm.$set(_vm.property, "source", $$v)},expression:"property.source"}},[_c('el-option',{attrs:{"label":"自动选择","value":"0"}})],1)],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("宽度(W)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":"","controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.widthMm),callback:function ($$v) {_vm.$set(_vm.property, "widthMm", $$v)},expression:"property.widthMm"}})],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("高度(H)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":"","controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.heightMm),callback:function ($$v) {_vm.$set(_vm.property, "heightMm", $$v)},expression:"property.heightMm"}})],1)])]),_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px 10px"}},[_c('legend',[_vm._v("边框")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("边框颜色")]),_c('el-color-picker',{attrs:{"size":"mini"},model:{value:(_vm.property.borderColor),callback:function ($$v) {_vm.$set(_vm.property, "borderColor", $$v)},expression:"property.borderColor"}})],1),_c('PrintLineStyle',{attrs:{"labelWidth":"64px","defaultStyle":_vm.property.paintRowLine,"placeholder":"绘制行线"},on:{"change":_vm.printStyleChange}})],1)])])])]),_c('el-tab-pane',{attrs:{"label":"页眉页脚","name":"second"}},[_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页眉 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页眉(H):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.headerYMm),callback:function ($$v) {_vm.$set(_vm.property, "headerYMm", $$v)},expression:"property.headerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageHead),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageHead", $$v)},expression:"property.showFirstPageHead"}},[_vm._v("显示-第一页的页眉(H)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页脚 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页脚(F):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.footerYMm),callback:function ($$v) {_vm.$set(_vm.property, "footerYMm", $$v)},expression:"property.footerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageFoot),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageFoot", $$v)},expression:"property.showFirstPageFoot"}},[_vm._v("显示-第一页的页脚(F)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页数")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}},[_vm._v("从第几页开始(S):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.pageNumber),callback:function ($$v) {_vm.$set(_vm.property, "pageNumber", $$v)},expression:"property.pageNumber"}})],1)])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.sureSetPageing}},[_vm._v("确定")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])])}
|
|
199879
200147
|
var PageSettingvue_type_template_id_122070b6_scoped_true_staticRenderFns = []
|
|
199880
200148
|
|
|
@@ -200139,7 +200407,7 @@ var PageSetting_component = normalizeComponent(
|
|
|
200139
200407
|
)
|
|
200140
200408
|
|
|
200141
200409
|
/* harmony default export */ var toolbar_PageSetting = (PageSetting_component.exports);
|
|
200142
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200410
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadFile.vue?vue&type=template&id=4361e817&
|
|
200143
200411
|
var UploadFilevue_type_template_id_4361e817_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{staticClass:"upload-image",attrs:{"action":"","accept":".xml","multiple":false,"show-file-list":false,"auto-upload":false,"file-list":_vm.fileList,"on-change":_vm.uploadFiles}},[_c('span',{attrs:{"size":"small"}},[_vm._v("打开文件")])])}
|
|
200144
200412
|
var UploadFilevue_type_template_id_4361e817_staticRenderFns = []
|
|
200145
200413
|
|
|
@@ -200911,14 +201179,14 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
200911
201179
|
}
|
|
200912
201180
|
})], ToolBarChild_ToolBarChild);
|
|
200913
201181
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
200914
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201182
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=7e6ad890&
|
|
200915
201183
|
var ToolControlvue_type_template_id_7e6ad890_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar"},[_vm._t("insertBefore"),(_vm.insert.delimiter)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('delimiter')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M535.630769 606.523077c55.138462 55.138462 106.338462 110.276923 161.476923 165.415385 23.630769 23.630769-11.815385 55.138462-35.446154 35.446154-47.261538-47.261538-94.523077-98.461538-141.784615-145.723077-47.261538 51.2-98.461538 98.461538-145.723077 149.661538-23.630769 23.630769-59.076923-11.815385-35.446154-35.446154 55.138462-55.138462 110.276923-110.276923 165.415385-165.415385C508.061538 598.646154 527.753846 598.646154 535.630769 606.523077z"}}),_c('path',{attrs:{"d":"M500.184615 417.476923c-55.138462-55.138462-110.276923-110.276923-165.415385-165.415385C311.138462 228.430769 346.584615 192.984615 370.215385 216.615385c47.261538 51.2 98.461538 98.461538 145.723077 149.661538 47.261538-47.261538 94.523077-98.461538 141.784615-145.723077 23.630769-23.630769 59.076923 11.815385 35.446154 35.446154-55.138462 55.138462-106.338462 110.276923-161.476923 165.415385C527.753846 425.353846 508.061538 425.353846 500.184615 417.476923z"}}),_c('path',{attrs:{"d":"M1024 515.938462c0 11.815385-27.569231 23.630769-63.015385 23.630769l-894.030769 0c-35.446154 0-63.015385-11.815385-63.015385-23.630769l0 0c0-11.815385 27.569231-23.630769 63.015385-23.630769l894.030769 0C996.430769 492.307692 1024 504.123077 1024 515.938462L1024 515.938462z"}})]),_c('span',[_vm._v("分割符")])]):_vm._e(),(_vm.insert.uploadImage)?_c('li',{staticClass:"sub-bar-items"},[_c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"show-file-list":false,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('svg',{staticStyle:{"transform":"translateY(3px)"},attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1):_vm._e(),(_vm.insert.barcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('barcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(5px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M65.7 158.7h134v703h-134zM703.3 158.7h134v703h-134zM263.4 158.7h57.4v703h-57.4zM901 158.7h57.4v703H901zM572.6 158.7h76.6v703h-76.6zM394.1 158.7H509v703H394.1z"}})]),_c('span',[_vm._v("条形码")])]):_vm._e(),(_vm.insert.qrcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('qrcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(6px)"},attrs:{"viewBox":"0 0 1041 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"13"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M948.906667 931.84h92.16V1024h-92.16zM948.906667 559.786667v184.32H853.333333v-184.32H576.853333V1024h92.16V651.946667h92.16v184.32h279.893334v-276.48z"}}),_c('path',{attrs:{"d":"M761.173333 931.84H853.333333V1024h-92.16zM187.733333 187.733333h92.16v92.16H187.733333z","p-id":"1209"}}),_c('path',{attrs:{"d":"M0 464.213333h464.213333V0H0v464.213333zM92.16 92.16h279.893333v279.893333H92.16V92.16zM187.733333 744.106667h92.16v92.16H187.733333z"}}),_c('path',{attrs:{"d":"M0 1024h464.213333V559.786667H0V1024z m92.16-372.053333h279.893333v279.893333H92.16v-279.893333zM761.173333 187.733333H853.333333v92.16h-92.16z"}}),_c('path',{attrs:{"d":"M1041.066667 0H576.853333v464.213333h464.213334V0z m-92.16 372.053333h-279.893334V92.16h279.893334v279.893333z"}})]),_c('span',[_vm._v("二维码")])]):_vm._e(),(_vm.insert.express)?_c('li',{staticClass:"sub-bar-items"},[_c('HoMedicalExpression',{on:{"openExpress":_vm.openExpress}})],1):_vm._e(),(_vm.insert.datetime)?_c('li',{staticClass:"sub-bar-items"},[_c('HoDateTime',{attrs:{"vueController":_vm.vueController},on:{"setModal":_vm.createControl}})],1):_vm._e(),(_vm.insert.select)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('select')}}},[_c('svg',{attrs:{"viewBox":"0 0 1573 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M890.432646 976.724088l649.322886-750.693969A136.987951 136.987951 0 0 0 1435.64469 0H136.998917a136.987951 136.987951 0 0 0-104.110842 226.030119l649.322886 749.32409a136.987951 136.987951 0 0 0 208.221685 1.369879z"}})]),_c('span',[_vm._v("下拉框")])]):_vm._e(),(_vm.insert.text)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('text')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M34.909091 474.763636c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818zM51.2 279.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 4.654545 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m921.6-316.509091c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m16.290909-300.218182c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 6.981818 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m-481.745455 165.236364H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727272 0h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m211.781818 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-9.309091-16.290909-16.290909-16.290909z m-318.836364 0H230.4c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727273-11.636364H109.381818V930.909091c0-9.309091-6.981818-18.618182-18.618182-18.618182H65.163636v-53.527273c0-9.309091-6.981818-18.618182-16.290909-18.618181-9.309091 0-16.290909 6.981818-16.290909 18.618181v53.527273H18.618182c-9.309091 0-18.618182 6.981818-18.618182 18.618182v74.472727c0 9.309091 6.981818 18.618182 18.618182 18.618182H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182v-16.290909h48.872727c9.309091-2.327273 18.618182-11.636364 18.618182-18.618182-2.327273-11.636364-20.945455-25.6-20.945455-25.6z m528.29091 11.636364h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m104.727272 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909zM442.181818 65.163636h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m-104.727273 0h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m209.454546 0H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909-2.327273 6.981818 6.981818 16.290909 13.963636 16.290909z m-316.509091 0h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H230.4c-9.309091 0-16.290909 6.981818-16.290909 18.618182 0 6.981818 6.981818 13.963636 16.290909 13.963636zM158.254545 32.581818H109.381818V18.618182c0-11.636364-9.309091-18.618182-18.618182-18.618182H18.618182C9.309091 0 0 6.981818 0 18.618182V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h16.290909v48.872727c2.327273 9.309091 11.636364 18.618182 18.618182 18.618182 9.309091 0 23.272727-18.618182 23.272727-18.618182V109.381818H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182V65.163636h48.872727c9.309091 0 16.290909-6.981818 16.290909-16.290909-2.327273-9.309091-9.309091-16.290909-18.618182-16.290909z m495.709091 32.581818h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m104.727273 0H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909zM1005.381818 0H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v16.290909h-48.872727c-9.309091 2.327273-18.618182 11.636364-18.618182 18.618182 0 9.309091 18.618182 23.272727 18.618182 23.272727h48.872727V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h25.6v53.527273c0 9.309091 6.981818 18.618182 16.290909 18.618181 9.309091 0 16.290909-6.981818 16.290909-18.618181V109.381818h16.290909c9.309091 0 18.618182-6.981818 18.618182-18.618182V18.618182c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 912.290909h-16.290909v-48.872727c-2.327273-9.309091-11.636364-18.618182-18.618182-18.618182-9.309091 0-23.272727 18.618182-23.272727 18.618182v48.872727H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v25.6h-48.872727c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h48.872727v16.290909c0 9.309091 6.981818 18.618182 18.618182 18.618182h74.472727c9.309091 0 18.618182-6.981818 18.618182-18.618182V930.909091c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 0"}}),_c('path',{attrs:{"d":"M781.963636 288.581818c0-11.636364 0-20.945455 2.327273-30.254545 0-9.309091 2.327273-16.290909 2.327273-25.6 0-11.636364-6.981818-20.945455-18.618182-23.272728-6.981818-2.327273-18.618182-2.327273-30.254545-2.327272H288.581818c-11.636364 0-20.945455 2.327273-30.254545 4.654545-18.618182 4.654545-20.945455 18.618182-20.945455 25.6 2.327273 20.945455 4.654545 41.890909 4.654546 62.836364 0 20.945455-2.327273 41.890909-4.654546 62.836363 0 4.654545 0 9.309091 9.309091 16.29091 4.654545 2.327273 9.309091 4.654545 13.963636 4.654545 4.654545 0 9.309091 0 13.963637-2.327273 6.981818-2.327273 11.636364-9.309091 13.963636-16.290909 4.654545-20.945455 9.309091-39.563636 13.963637-53.527273 4.654545-11.636364 11.636364-20.945455 18.618181-27.927272 6.981818-6.981818 16.290909-11.636364 27.927273-13.963637 11.636364-2.327273 27.927273-4.654545 48.872727-4.654545 27.927273 0 41.890909 4.654545 46.545455 6.981818 6.981818 4.654545 9.309091 18.618182 9.309091 27.927273v372.363636c0 18.618182 0 30.254545-2.327273 41.890909-2.327273 6.981818-4.654545 13.963636-9.309091 18.618182-4.654545 4.654545-11.636364 6.981818-18.618182 9.309091-9.309091 2.327273-23.272727 4.654545-39.563636 6.981818-6.981818 0-11.636364 4.654545-16.290909 11.636364-2.327273 4.654545-4.654545 9.309091-4.654546 16.290909 0 4.654545 2.327273 11.636364 4.654546 16.290909 4.654545 6.981818 9.309091 9.309091 18.618182 9.309091 18.618182 0 39.563636 0 62.836363-2.327273 44.218182-4.654545 83.781818-4.654545 123.345455 0 20.945455 2.327273 41.890909 2.327273 65.163636 2.327273 6.981818 0 13.963636-2.327273 18.618182-9.309091 2.327273-4.654545 4.654545-9.309091 4.654546-16.290909 0-4.654545-2.327273-11.636364-4.654546-16.290909-4.654545-11.636364-9.309091-16.290909-18.618182-16.290909-16.290909-2.327273-30.254545-4.654545-41.890909-6.981818-9.309091-2.327273-13.963636-4.654545-18.618182-9.309091-4.654545-4.654545-6.981818-9.309091-6.981818-16.290909-2.327273-9.309091-2.327273-23.272727-2.327273-41.89091v-372.363636c0-16.290909 2.327273-25.6 9.309091-27.927273 6.981818-2.327273 20.945455-6.981818 48.872728-6.981818 16.290909 0 32.581818 2.327273 44.218181 4.654546s20.945455 6.981818 27.927273 13.963636c6.981818 6.981818 13.963636 16.290909 18.618182 27.927273 4.654545 13.963636 9.309091 30.254545 11.636364 53.527272 2.327273 6.981818 6.981818 13.963636 13.963636 16.29091 4.654545 2.327273 9.309091 2.327273 13.963636 2.327272 4.654545 0 9.309091-2.327273 13.963637-4.654545 6.981818-4.654545 9.309091-11.636364 9.309091-16.290909 0-11.636364-2.327273-23.272727-2.327273-34.909091 4.654545-13.963636 4.654545-25.6 4.654545-37.236364z"}})]),_c('span',[_vm._v("文本域")])]):_vm._e(),(_vm.insert.radioBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('RadioBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M511.262 3.070c-282.949 0-507.681 227.919-507.681 509.095 0 281.143 227.919 509.092 509.063 509.092 281.175 0 509.095-227.948 509.095-509.092 0-281.175-227.527-509.095-510.477-509.095zM513.578 926.348c-230.265 0-416.953-186.688-416.953-416.951 0-230.292 186.688-416.98 416.953-416.98 230.293 0 416.951 186.689 416.951 416.98 0 230.265-186.658 416.951-416.951 416.951zM820.797 327.158c-17.682-18.585-46.313-18.585-63.99 0l-292.576 307.665-167.863-156.253c-17.683-18.553-46.311-18.553-63.995 0-17.653 18.587-17.653 48.719 0 67.303l195.65 182.058c16.923 17.817 43.956 18.539 61.716 2.196 8.935-1.589 17.508-5.991 24.41-13.234l306.649-322.463c17.653-18.583 17.653-48.685 0.002-67.27z"}})]),_c('span',[_vm._v("单选框")])]):_vm._e(),(_vm.insert.checkBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('CheckBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M877.714286 0H146.285714a146.285714 146.285714 0 0 0-146.285714 146.285714v731.428572a146.285714 146.285714 0 0 0 146.285714 146.285714h731.428572a146.285714 146.285714 0 0 0 146.285714-146.285714V146.285714a146.285714 146.285714 0 0 0-146.285714-146.285714z m73.142857 877.714286a73.142857 73.142857 0 0 1-73.142857 73.142857H146.285714a73.142857 73.142857 0 0 1-73.142857-73.142857V146.285714a73.142857 73.142857 0 0 1 73.142857-73.142857h731.428572a73.142857 73.142857 0 0 1 73.142857 73.142857z"}}),_c('path',{attrs:{"d":"M761.417143 282.331429L416.182857 628.297143 223.817143 438.857143A58.514286 58.514286 0 0 0 146.285714 438.857143a58.514286 58.514286 0 0 0 0 73.142857l230.4 230.4a90.697143 90.697143 0 0 0 38.765715 13.165714 67.291429 67.291429 0 0 0 38.034285-13.165714l384-384a47.542857 47.542857 0 0 0 0-76.8 58.514286 58.514286 0 0 0-76.068571 0.731429z"}})]),_c('span',[_vm._v("复选框")])]):_vm._e(),(_vm.insert.mathFormula)?_c('li',{staticClass:"sub-bar-items"},[_c('HoFormula',{attrs:{"vueController":_vm.vueController}})],1):_vm._e(),(_vm.insert.sign)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('sign')}}},[_c('span',[_vm._v("签名")])]):_vm._e(),(_vm.insert.pageInfoes)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('pageInfoes')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M732.258937 608.38132H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237038h283.372625a32.237037 32.237037 0 0 0 0-64.474075zM793.929791 0h-439.446055a132.41095 132.41095 0 0 0-126.144928 127.793881l-36.689211 1.071819A127.1343 127.1343 0 0 0 70.533977 256.082448v640.041223a131.916264 131.916264 0 0 0 126.144928 127.793881h472.837359a132.41095 132.41095 0 0 0 126.144928-127.793881h31.659903a132.41095 132.41095 0 0 0 126.144928-127.79388V214.446377zM669.516264 959.525926H196.349114a65.958132 65.958132 0 0 1-62.742673-63.89694V256.164895a62.907568 62.907568 0 0 1 60.0219-62.742673l34.463124-1.071819v575.567149a131.916264 131.916264 0 0 0 126.144928 127.793881h378.022544a67.277295 67.277295 0 0 1-62.990016 63.814493z m220.547504-191.690821a66.37037 66.37037 0 0 1-62.742673 63.89694H353.98905a65.958132 65.958132 0 0 1-62.742673-63.89694V127.793881A66.37037 66.37037 0 0 1 353.98905 63.89694h376.703382c-0.577134 74.202899 0 25.558776 0 25.558777 0 66.700161 34.463124 127.216747 101.657971 127.216747h57.713365zM732.258937 448.350403H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237037h283.372625a32.237037 32.237037 0 0 0 0-64.474074z"}})]),_c('span',[_vm._v("页码页数信息")])]):_vm._e(),_vm._t("hoInsertItem"),(_vm.insert.specialChars)?_c('li',{staticClass:"sub-bar-items"},[_c('HoSpecialChars',{attrs:{"vueController":_vm.vueController}})],1):_vm._e()],2)}
|
|
200916
201184
|
var ToolControlvue_type_template_id_7e6ad890_staticRenderFns = []
|
|
200917
201185
|
|
|
200918
201186
|
|
|
200919
201187
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=7e6ad890&
|
|
200920
201188
|
|
|
200921
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201189
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=2fc6d397&scoped=true&
|
|
200922
201190
|
var HoMedicalExpressionvue_type_template_id_2fc6d397_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange,"command":_vm.selectedSure}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M921.6 448.884364h89.6c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8h-102.4c-6.423273 0-19.176727 6.423273-19.176727 12.8l-108.823273 115.060364c-6.376727 6.330182-12.8 6.330182-12.8 0l-57.576727-115.060364c-6.423273-6.376727-12.8-12.8-19.223273-12.8h-166.4a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.423273 12.753455 12.8 12.753455h102.4c6.423273 0 12.8 6.376727 19.176727 12.8l38.4 83.083636v19.130182l-115.2 134.190545c-6.376727 0-12.753455 6.423273-19.176727 6.423273H460.8c-6.376727 0-12.8 6.376727-12.8 12.753455v102.260363c0 6.376727 6.423273 12.8 12.8 12.8h102.4c6.376727 0 19.176727-6.423273 19.176727-12.8l147.223273-166.167273c6.423273-6.376727 12.8-6.376727 12.8 0l83.176727 166.167273c0 6.376727 12.8 12.8 19.223273 12.8h102.4a13.777455 13.777455 0 0 0 12.8-12.8V717.265455a13.777455 13.777455 0 0 0-12.8-12.753455h-38.4c-6.423273 0-12.8-6.423273-19.176727-12.8l-64.046546-127.813818v-19.130182l76.8-83.083636c6.423273-6.423273 12.846545-12.8 19.223273-12.8zM377.623273 65.489455c-32.023273 25.6-64.046545 63.906909-83.223273 127.813818l-31.976727 127.767272H76.8a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.376727 12.753455 12.8 12.753455h153.6l-96.023273 383.441454c-19.176727 76.660364-70.376727 63.860364-70.376727 63.860364H0V1024h64c51.2 0 102.4-6.376727 128-38.353455 32.023273-31.930182 51.2-89.460364 64-153.320727l96.023273-383.441454h147.176727c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8H384l32.023273-121.390545c6.376727-19.130182 38.4-51.106909 57.576727-63.906909 70.376727-51.106909 166.4-19.176727 230.4-6.376727V20.759273c-64-12.753455-204.8-57.483636-326.376727 44.683636v0.046546z"}})]),_c('span',[_vm._v("医学表达式")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{attrs:{"command":"style1"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 40 30 L 80 30"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style2"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"15","y":"20"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"15","y":"50"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 10 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style3"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 15 5 L 110 55"}}),_c('path',{attrs:{"d":"M 15 55 L 110 5"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style4"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value3")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 62 30 L 110 30"}}),_c('path',{attrs:{"d":"M 45 45 L 55 15"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style5"}},[_c('p',[_vm._v("瞳孔图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value7")])])])]),_c('el-dropdown-item',{attrs:{"command":"style6"}},[_c('p',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"40","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("Value8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value9")])])])]),_c('el-dropdown-item',{attrs:{"command":"style7"}},[_c('p',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"12","y":"15"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"12","y":"35"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"12","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"70","y":"15"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"35"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"70","y":"55"}},[_vm._v("Value8")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 0 30 L 10 30"}}),_c('path',{attrs:{"d":"M 52 30 L 67 30"}}),_c('path',{attrs:{"d":"M 110 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style8"}},[_c('p',[_vm._v("恒牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("12345678")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("12345678")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style9"}},[_c('p',[_vm._v("乳牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("I II III IV V")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("I II III IV V")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])])],1)],1)}
|
|
200923
201191
|
var HoMedicalExpressionvue_type_template_id_2fc6d397_scoped_true_staticRenderFns = []
|
|
200924
201192
|
|
|
@@ -201023,7 +201291,7 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
201023
201291
|
)
|
|
201024
201292
|
|
|
201025
201293
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
201026
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201294
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=template&id=18ad3397&scoped=true&
|
|
201027
201295
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M825.163595 883.651765H416.226184v-10.842353c62.162824-39.996235 99.629176-117.157647 99.629176-211.727059 0-32.768-4.999529-64.813176-12.047059-95.232H727.642654a18.432 18.432 0 0 0 18.130824-18.672941V477.605647a18.432 18.432 0 0 0-18.130824-18.612706h-254.192941c-16.263529-52.525176-30.358588-106.194824-30.358588-163.84 0-101.074824 77.101176-163.117176 198.053647-163.117176 48.790588 0 96.496941 9.517176 137.095529 24.395294 11.806118 4.457412 24.094118-4.638118 24.094118-17.648941V46.983529a18.853647 18.853647 0 0 0-11.866353-17.468235A448.752941 448.752941 0 0 0 630.904772 0c-210.823529 0-343.762824 103.424-343.762824 279.491765 0 61.138824 15.661176 120.892235 33.129412 179.2H198.776772A18.432 18.432 0 0 0 180.706184 477.304471V546.936471c0 10.24 8.192 18.612706 18.130823 18.612705H351.172066c7.710118 34.153412 13.372235 68.306824 13.372235 102.701177 0 105.050353-65.355294 193.536-165.165176 218.895059a18.552471 18.552471 0 0 0-13.854118 18.070588v89.509647c0 10.24 8.192 18.612706 18.130824 18.612706H825.223831a18.432 18.432 0 0 0 18.130823-18.672941V902.324706a18.432 18.432 0 0 0-18.130823-18.672941z"}})]),_c('span',[_vm._v("特殊字符")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{staticClass:"special-characters",attrs:{"disabled":""}},[_c('section',[_c('ul',[_c('li',[_c('header',[_vm._v("特殊字符")]),_c('p',{staticClass:"chars-list special-chars-list"},_vm._l((_vm.specialChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("罗马字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.romanChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("数学字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.mathChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)])])])])],1)],1)}
|
|
201028
201296
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_staticRenderFns = []
|
|
201029
201297
|
|
|
@@ -201128,7 +201396,7 @@ var HoSpecialChars_component = normalizeComponent(
|
|
|
201128
201396
|
)
|
|
201129
201397
|
|
|
201130
201398
|
/* harmony default export */ var insert_HoSpecialChars = (HoSpecialChars_component.exports);
|
|
201131
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201399
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=template&id=07b294c6&
|
|
201132
201400
|
var HoDateTimevue_type_template_id_07b294c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M3.323286 405.074141v577.095823c0 23.005753 18.822889 41.828641 41.828641 41.828642h933.696146c23.005753 0 41.828641-18.822889 41.828641-41.828642v-577.095823H3.323286z m295.734072 386.159229h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.487244 27.885761-27.885761 27.885761m0-145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.487244 27.885761-27.885761 27.885761m283.110188 145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.485849 27.885761-27.885761 27.885761m0-145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.485849 27.885761-27.885761 27.885761m249.973539 145.005957h-107.197049c-15.399911 0-27.885761-12.484455-27.88576-27.885761s12.485849-27.885761 27.88576-27.885761h107.197049c15.4027 0 27.885761 12.484455 27.88576 27.885761s-12.484455 27.885761-27.88576 27.885761m0-145.005957h-107.197049c-15.399911 0-27.885761-12.484455-27.88576-27.885761s12.485849-27.885761 27.88576-27.885761h107.197049c15.4027 0 27.885761 12.484455 27.88576 27.885761s-12.484455 27.885761-27.88576 27.885761M293.55968 230.408889c-23.486782 0-42.525785-19.039003-42.525785-42.525786V42.525785c0-23.486782 19.039003-42.525785 42.525785-42.525785s42.525785 19.039003 42.525786 42.525785v145.357318c0 23.486782-19.039003 42.525785-42.525786 42.525786M719.447753 230.408889c-23.486782 0-42.525785-19.039003-42.525785-42.525786V42.525785c0-23.486782 19.039003-42.525785 42.525785-42.525785s42.525785 19.039003 42.525785 42.525785v145.357318c0 23.486782-19.039003 42.525785-42.525785 42.525786","p-id":"2003"}}),_c('path',{attrs:{"d":"M978.848073 101.085884H787.767867v86.797219c0 37.730829-30.587891 68.320114-68.320114 68.320114s-68.320114-30.589285-68.320114-68.320114V101.085884H361.879794v86.797219c0 37.730829-30.589285 68.320114-68.320114 68.320114-37.732223 0-68.320114-30.589285-68.320114-68.320114V101.085884H45.151927c-23.005753 0-41.828641 18.822889-41.828641 41.828641v206.388094h1017.353428V142.914525c0-23.005753-18.822889-41.828641-41.828641-41.828641"}})]),_c('span',[_vm._v("日期时间")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.dateFormatValue),function(value,index){return _c('el-dropdown-item',{key:value + index,staticClass:"date-time-item",attrs:{"index":_vm.dateFormatList[index]},nativeOn:{"click":function($event){return _vm.selectedDate(_vm.dateFormatList[index], value)}}},[_vm._v(_vm._s(value))])}),_c('el-dropdown-item',{staticClass:"date-time-item",nativeOn:{"click":function($event){return _vm.selectedDate('more', '')}}},[_vm._v("更多日期属性")])],2)],1)}
|
|
201133
201401
|
var HoDateTimevue_type_template_id_07b294c6_staticRenderFns = []
|
|
201134
201402
|
|
|
@@ -201232,7 +201500,7 @@ var HoDateTime_component = normalizeComponent(
|
|
|
201232
201500
|
)
|
|
201233
201501
|
|
|
201234
201502
|
/* harmony default export */ var insert_HoDateTime = (HoDateTime_component.exports);
|
|
201235
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201503
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/hoformula/HoFormula.vue?vue&type=template&id=88e6be42&
|
|
201236
201504
|
var HoFormulavue_type_template_id_88e6be42_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',{on:{"click":_vm.insertFormula}},[_vm._v("插入公式")]),_c('el-dialog',{staticClass:"ho-formula-iframe",attrs:{"title":"公式编辑","width":"868px","visible":_vm.createFormula,"close-on-click-modal":false,"top":"150px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.createFormula=$event},"before-close":_vm.closeFormula}},[_c('section',[_c('div',{staticClass:"kf-editor",attrs:{"id":"HoKfEditorContainer"}}),(_vm.kityformulaError)?_c('p',[_vm._v(_vm._s(_vm.kityformulaError))]):_vm._e()]),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{staticClass:"right",attrs:{"id":"kityformula-btn"},on:{"click":_vm.sureInsertKityFormula}},[_vm._v("确认插入")]),_c('el-button',{staticClass:"right",attrs:{"id":"kityformula-btn"},on:{"click":_vm.closeFormula}},[_vm._v("取消")])],1)])],1)}
|
|
201237
201505
|
var HoFormulavue_type_template_id_88e6be42_staticRenderFns = []
|
|
201238
201506
|
|
|
@@ -201590,14 +201858,14 @@ var ToolControl_component = normalizeComponent(
|
|
|
201590
201858
|
)
|
|
201591
201859
|
|
|
201592
201860
|
/* harmony default export */ var insert_ToolControl = (ToolControl_component.exports);
|
|
201593
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201861
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
201594
201862
|
var ToolTablevue_type_template_id_3c999b04_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar table-bar"},[_c('el-dialog',{attrs:{"title":"自定义表格行列","width":"320px","visible":_vm.dialogFormVisible,"top":"200px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"label":"行数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.rows),callback:function ($$v) {_vm.$set(_vm.form, "rows", $$v)},expression:"form.rows"}})],1),_c('el-form-item',{attrs:{"label":"列数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.columns),callback:function ($$v) {_vm.$set(_vm.form, "columns", $$v)},expression:"form.columns"}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")]),_c('el-button',{on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")])],1)],1),_vm._t("insertBefore"),(_vm.table.insertTable)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('span',[_vm._v("插入表格")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{staticClass:"ho-insert-table-item",attrs:{"disabled":""}},[_c('div',{staticClass:"columns",on:{"mouseleave":_vm.clearData}},[_c('p',{staticClass:"table-title"},[_vm._v(_vm._s(_vm.rows ? _vm.rows + " x " + _vm.columns : "插入")+" 表格")]),_vm._l((10),function(row_index){return _c('div',{key:'row_' + row_index,staticClass:"rows",on:{"mousemove":_vm.mouse,"click":_vm.createdTables}},_vm._l((10),function(column_index){return _c('span',{key:'column_index' + column_index,class:row_index <= _vm.rows && column_index <= _vm.columns ? 'selected' : '',attrs:{"data-column":column_index,"data-row":row_index},on:{"touchstart":_vm.touch,"touchmove":_vm.touch,"touchend":_vm.touchend}})}),0)})],2),_c('p',{staticClass:"table-bottom-title",on:{"click":function($event){_vm.dialogFormVisible = true}}},[_vm._v("自定义行列数")])])],1)],1)],1):_vm._e(),_c('HoTableFeatures',{attrs:{"vueController":_vm.vueController,"dropdownClassName":_vm.dropdownClassName,"table":_vm.table}}),_vm._t("hoTableItem")],2)}
|
|
201595
201863
|
var ToolTablevue_type_template_id_3c999b04_staticRenderFns = []
|
|
201596
201864
|
|
|
201597
201865
|
|
|
201598
201866
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
201599
201867
|
|
|
201600
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201868
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=0a4bc7ae&
|
|
201601
201869
|
var HoTableFeaturesvue_type_template_id_0a4bc7ae_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{ref:"hoTableFeatures",staticClass:"ho-table-features"},[_c('el-dialog',{attrs:{"title":"表格计算公式","width":"520px","top":"20%","center":"","append-to-body":"","close-on-click-modal":false,"visible":_vm.dialogFormVisible},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('section',[_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle === "sum(a3:a10)" ? "求和公式" : "四则运算公式")+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v(" 示例: "+_vm._s(_vm.dialogFormTitle)+" ")]),_c('el-checkbox',{model:{value:(_vm.isHideZero),callback:function ($$v) {_vm.isHideZero=$$v},expression:"isHideZero"}},[_vm._v("结果为 0 不显示")]),_c('p',{staticStyle:{"height":"10px"}}),_c('el-input',{attrs:{"autocomplete":"off"},model:{value:(_vm.formula),callback:function ($$v) {_vm.formula=$$v},expression:"formula"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")]),_c('el-button',{on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")])],1)]),(_vm.table.tableFormula)?_c('div',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('span',[_vm._v("表格计算公式")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[(_vm.table.isTableCode)?_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{directives:[{name:"debounce",rawName:"v-debounce:30.click",value:(_vm.setCellCode),expression:"setCellCode",arg:"30",modifiers:{"click":true}}]},[_c('span',[_vm._v(_vm._s(_vm.tableCellCode ? "隐藏" : "显示")+"单元格编号")])])]):_vm._e(),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{directives:[{name:"debounce",rawName:"v-debounce:30.click",value:(_vm.selectedFormula1),expression:"selectedFormula1",arg:"30",modifiers:{"click":true}}],attrs:{"index":"tableFormula1"}},[_vm._v(" a1:a3 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{directives:[{name:"debounce",rawName:"v-debounce:30.click",value:(_vm.selectedFormula2),expression:"selectedFormula2",arg:"30",modifiers:{"click":true}}],attrs:{"index":"tableFormula2"}},[_vm._v(" (a1 + a20) * 2 ")])])],1)],1)],1):_vm._e(),(_vm.table.insertRowAbove)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("上方插入 ")]),_c('el-input-number',{staticClass:"insert-top",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.topRows),callback:function ($$v) {_vm.topRows=$$v},expression:"topRows"}}),_c('span',[_vm._v(" 行")])],1):_vm._e(),(_vm.table.insertRowBelow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("下方插入 ")]),_c('el-input-number',{staticClass:"insert-bottom",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.bottomRows),callback:function ($$v) {_vm.bottomRows=$$v},expression:"bottomRows"}}),_c('span',[_vm._v(" 行")])],1):_vm._e(),(_vm.table.insertColLeft)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("左侧插入 ")]),_c('el-input-number',{staticClass:"insert-left",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.leftRows),callback:function ($$v) {_vm.leftRows=$$v},expression:"leftRows"}}),_c('span',[_vm._v(" 列")])],1):_vm._e(),(_vm.table.insertColRight)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("右侧插入 ")]),_c('el-input-number',{staticClass:"insert-right",attrs:{"size":"mini","precision":0,"controls":false,"min":1},model:{value:(_vm.rightRows),callback:function ($$v) {_vm.rightRows=$$v},expression:"rightRows"}}),_c('span',[_vm._v(" 列")])],1):_vm._e(),(_vm.table.deleteRows)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("删除行")])]):_vm._e(),(_vm.table.deleteCols)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("删除列")])]):_vm._e(),(_vm.table.mergerCells)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("合并单元格")])]):_vm._e(),(_vm.table.unMergerCells)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("取消合并单元格")])]):_vm._e()],1)}
|
|
201602
201870
|
var HoTableFeaturesvue_type_template_id_0a4bc7ae_staticRenderFns = []
|
|
201603
201871
|
|
|
@@ -202508,7 +202776,7 @@ var ToolBar_component = normalizeComponent(
|
|
|
202508
202776
|
)
|
|
202509
202777
|
|
|
202510
202778
|
/* harmony default export */ var toolbar_ToolBar = (ToolBar_component.exports);
|
|
202511
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202779
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6462aae9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/TabPane.vue?vue&type=template&id=71cdc485&
|
|
202512
202780
|
var TabPanevue_type_template_id_71cdc485_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],class:_vm.className},[_vm._t("default")],2)}
|
|
202513
202781
|
var TabPanevue_type_template_id_71cdc485_staticRenderFns = []
|
|
202514
202782
|
|
|
@@ -202739,6 +203007,16 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
202739
203007
|
this.vueController.textToLabel();
|
|
202740
203008
|
this.handleClose();
|
|
202741
203009
|
}
|
|
203010
|
+
}, {
|
|
203011
|
+
key: "hoCopy",
|
|
203012
|
+
value: function hoCopy() {
|
|
203013
|
+
document.execCommand('Copy'); // this.editController.editKeyCopy(event);
|
|
203014
|
+
}
|
|
203015
|
+
}, {
|
|
203016
|
+
key: "hoPaste",
|
|
203017
|
+
value: function hoPaste() {
|
|
203018
|
+
this.editController.editKeyPaste();
|
|
203019
|
+
}
|
|
202742
203020
|
}, {
|
|
202743
203021
|
key: "render",
|
|
202744
203022
|
value: function render() {
|
|
@@ -202920,6 +203198,8 @@ __decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "rightPos", void 0);
|
|
|
202920
203198
|
|
|
202921
203199
|
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "vueController", void 0);
|
|
202922
203200
|
|
|
203201
|
+
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "editController", void 0);
|
|
203202
|
+
|
|
202923
203203
|
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "editJson", void 0);
|
|
202924
203204
|
|
|
202925
203205
|
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "rightNode", void 0);
|
|
@@ -202962,6 +203242,13 @@ var message = __webpack_require__("0fb7");
|
|
|
202962
203242
|
var lib_message = __webpack_require__("f529");
|
|
202963
203243
|
var lib_message_default = /*#__PURE__*/__webpack_require__.n(lib_message);
|
|
202964
203244
|
|
|
203245
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/tooltip.css
|
|
203246
|
+
var tooltip = __webpack_require__("0c67");
|
|
203247
|
+
|
|
203248
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/tooltip.js
|
|
203249
|
+
var lib_tooltip = __webpack_require__("299c");
|
|
203250
|
+
var lib_tooltip_default = /*#__PURE__*/__webpack_require__.n(lib_tooltip);
|
|
203251
|
+
|
|
202965
203252
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/table-column.css
|
|
202966
203253
|
var table_column = __webpack_require__("5466");
|
|
202967
203254
|
|
|
@@ -203256,6 +203543,9 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
203256
203543
|
|
|
203257
203544
|
|
|
203258
203545
|
|
|
203546
|
+
|
|
203547
|
+
|
|
203548
|
+
|
|
203259
203549
|
|
|
203260
203550
|
|
|
203261
203551
|
|
|
@@ -203296,7 +203586,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_tabs_default.a);
|
|
|
203296
203586
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_tab_pane_default.a);
|
|
203297
203587
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_color_picker_default.a);
|
|
203298
203588
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_table_default.a);
|
|
203299
|
-
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_table_column_default.a);
|
|
203589
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_table_column_default.a);
|
|
203590
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_tooltip_default.a); // Vue.use(Message)
|
|
203300
203591
|
|
|
203301
203592
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.prototype.$elMessage = lib_message_default.a;
|
|
203302
203593
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.prototype.$elConfirm = lib_message_box_default.a.confirm;
|