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.common.js
CHANGED
|
@@ -2010,6 +2010,13 @@ module.exports = !__webpack_require__("4b8b")(function () {
|
|
|
2010
2010
|
|
|
2011
2011
|
/***/ }),
|
|
2012
2012
|
|
|
2013
|
+
/***/ "0c67":
|
|
2014
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2015
|
+
|
|
2016
|
+
// extracted by mini-css-extract-plugin
|
|
2017
|
+
|
|
2018
|
+
/***/ }),
|
|
2019
|
+
|
|
2013
2020
|
/***/ "0cb2":
|
|
2014
2021
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2015
2022
|
|
|
@@ -15074,34 +15081,40 @@ var DrawFooter = /*#__PURE__*/function (_DrawPageHeaderFooter) {
|
|
|
15074
15081
|
// }
|
|
15075
15082
|
|
|
15076
15083
|
return _this;
|
|
15077
|
-
}
|
|
15078
|
-
// if (this._pages.indexOf(aPage) == -1) {
|
|
15079
|
-
// this._pages.push(aPage);
|
|
15080
|
-
// const dlevel = aPage.drawDomLevel;
|
|
15081
|
-
// if (dlevel) {
|
|
15082
|
-
// dlevel.drawFooter = this;
|
|
15083
|
-
// aPage.repaint();
|
|
15084
|
-
// }
|
|
15085
|
-
// }
|
|
15086
|
-
// }
|
|
15087
|
-
// public DeletePage(aPage: DrawPage) {
|
|
15088
|
-
// const index = this._pages.indexOf(aPage);
|
|
15089
|
-
// if (index == -1) return;
|
|
15090
|
-
// this._pages[index]?.drawDomLevel?.stage.removeChild(this);
|
|
15091
|
-
// this._pages.splice(index, 1);
|
|
15092
|
-
// }
|
|
15093
|
-
// public nodify() {
|
|
15094
|
-
// if (this.rootPath != "") {
|
|
15095
|
-
// const arr = this.rootPath.split("/");
|
|
15096
|
-
// // this.drawLines = [...HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).drawTree.footerDNodes[parseInt(arr[1])]];
|
|
15097
|
-
// }
|
|
15098
|
-
// this._pages.forEach((value) => {
|
|
15099
|
-
// value.refresh();
|
|
15100
|
-
// });
|
|
15101
|
-
// }
|
|
15102
|
-
|
|
15084
|
+
}
|
|
15103
15085
|
|
|
15104
15086
|
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(DrawFooter, [{
|
|
15087
|
+
key: "actualHeight",
|
|
15088
|
+
get: function get() {
|
|
15089
|
+
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
15090
|
+
return Math.max(Math.min(this.docHeight, this.maxHeight), hoeditfactory.pageProperty.bottomMarginPixes - hoeditfactory.pageProperty.footerYPixes);
|
|
15091
|
+
} // public AddPage(aPage: DrawPage) {
|
|
15092
|
+
// if (this._pages.indexOf(aPage) == -1) {
|
|
15093
|
+
// this._pages.push(aPage);
|
|
15094
|
+
// const dlevel = aPage.drawDomLevel;
|
|
15095
|
+
// if (dlevel) {
|
|
15096
|
+
// dlevel.drawFooter = this;
|
|
15097
|
+
// aPage.repaint();
|
|
15098
|
+
// }
|
|
15099
|
+
// }
|
|
15100
|
+
// }
|
|
15101
|
+
// public DeletePage(aPage: DrawPage) {
|
|
15102
|
+
// const index = this._pages.indexOf(aPage);
|
|
15103
|
+
// if (index == -1) return;
|
|
15104
|
+
// this._pages[index]?.drawDomLevel?.stage.removeChild(this);
|
|
15105
|
+
// this._pages.splice(index, 1);
|
|
15106
|
+
// }
|
|
15107
|
+
// public nodify() {
|
|
15108
|
+
// if (this.rootPath != "") {
|
|
15109
|
+
// const arr = this.rootPath.split("/");
|
|
15110
|
+
// // this.drawLines = [...HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).drawTree.footerDNodes[parseInt(arr[1])]];
|
|
15111
|
+
// }
|
|
15112
|
+
// this._pages.forEach((value) => {
|
|
15113
|
+
// value.refresh();
|
|
15114
|
+
// });
|
|
15115
|
+
// }
|
|
15116
|
+
|
|
15117
|
+
}, {
|
|
15105
15118
|
key: "paintBackground",
|
|
15106
15119
|
value: function paintBackground() {
|
|
15107
15120
|
// if (this.rootPath != '') {
|
|
@@ -18611,9 +18624,23 @@ module.exports = function (METHOD_NAME) {
|
|
|
18611
18624
|
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
18612
18625
|
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("262e");
|
|
18613
18626
|
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2caf");
|
|
18614
|
-
/* harmony import */ var
|
|
18615
|
-
/* harmony import */ var
|
|
18616
|
-
/* harmony import */ var
|
|
18627
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("ac1f");
|
|
18628
|
+
/* 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__);
|
|
18629
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("1276");
|
|
18630
|
+
/* 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__);
|
|
18631
|
+
/* harmony import */ var core_js_modules_es_string_italics_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("c5d0");
|
|
18632
|
+
/* 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__);
|
|
18633
|
+
/* harmony import */ var core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("cc71");
|
|
18634
|
+
/* 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__);
|
|
18635
|
+
/* harmony import */ var _editor_dom_domNode_TextStyle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("3365");
|
|
18636
|
+
/* harmony import */ var _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("59dd");
|
|
18637
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("8d1d");
|
|
18638
|
+
/* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("99d0");
|
|
18639
|
+
|
|
18640
|
+
|
|
18641
|
+
|
|
18642
|
+
|
|
18643
|
+
|
|
18617
18644
|
|
|
18618
18645
|
|
|
18619
18646
|
|
|
@@ -18624,7 +18651,7 @@ module.exports = function (METHOD_NAME) {
|
|
|
18624
18651
|
/*
|
|
18625
18652
|
* @Author: your name
|
|
18626
18653
|
* @Date: 2021-09-01 16:51:49
|
|
18627
|
-
* @LastEditTime: 2021-
|
|
18654
|
+
* @LastEditTime: 2021-10-26 18:30:13
|
|
18628
18655
|
* @LastEditors: Please set LastEditors
|
|
18629
18656
|
* @Description: In User Settings Edit
|
|
18630
18657
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -18648,13 +18675,36 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18648
18675
|
_this._number = number;
|
|
18649
18676
|
_this._imgSrc = imgSrc;
|
|
18650
18677
|
_this._type = type;
|
|
18651
|
-
_this._signName = name;
|
|
18652
|
-
|
|
18653
|
-
_this.dHeight =
|
|
18654
|
-
_this.
|
|
18678
|
+
_this._signName = name; //this._textStyle = cbStyle.;
|
|
18679
|
+
|
|
18680
|
+
_this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__[/* HOEditorFactorys */ "a"].instance().getFactory(hoeditfactoryID).signHeight;
|
|
18681
|
+
_this._textStyle = cbStyle.getStyleKey();
|
|
18682
|
+
|
|
18683
|
+
if (_this.number > 0 && type === 2) {
|
|
18684
|
+
var signArr = imgSrc.split("\n");
|
|
18685
|
+
|
|
18686
|
+
if (signArr.length > 1) {
|
|
18687
|
+
var textStyle = new _editor_dom_domNode_TextStyle__WEBPACK_IMPORTED_MODULE_8__[/* TextStyle */ "c"](hoeditfactoryID);
|
|
18688
|
+
var curHeight = cbStyle.getFontHeightByFontSize(cbStyle.size) * signArr.length;
|
|
18689
|
+
|
|
18690
|
+
if (curHeight > _this.dHeight) {
|
|
18691
|
+
var fontSize = cbStyle.size;
|
|
18692
|
+
|
|
18693
|
+
do {
|
|
18694
|
+
fontSize = textStyle.getSmallerfontSize(fontSize);
|
|
18695
|
+
curHeight = cbStyle.getFontHeightByFontSize(fontSize) * signArr.length;
|
|
18696
|
+
} while (curHeight > _this.dHeight);
|
|
18697
|
+
|
|
18698
|
+
_this._textStyle = (cbStyle.italic ? "italic " : "") + (cbStyle.bold ? "bold " : "") + fontSize + "px " + cbStyle.font;
|
|
18699
|
+
}
|
|
18700
|
+
}
|
|
18701
|
+
} //this._drawText = new createjs.Text('/', cbStyle.getStyleKey(), "#000000");
|
|
18702
|
+
|
|
18703
|
+
|
|
18704
|
+
_this._drawText = new createjs.Text(node.connectMode, _this._textStyle, "#000000");
|
|
18655
18705
|
|
|
18656
18706
|
if (_this.number === 0) {
|
|
18657
|
-
var dText = new createjs.Text(_this.signName,
|
|
18707
|
+
var dText = new createjs.Text(_this.signName, _this._textStyle, "#000000");
|
|
18658
18708
|
_this.dWidth = dText.getMeasuredWidth();
|
|
18659
18709
|
} else {
|
|
18660
18710
|
if (type === 1) {
|
|
@@ -18668,12 +18718,29 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18668
18718
|
}
|
|
18669
18719
|
|
|
18670
18720
|
if (type === 2) {
|
|
18671
|
-
var
|
|
18721
|
+
var _signArr = imgSrc.split("\n");
|
|
18722
|
+
|
|
18723
|
+
var aText = new createjs.Text(_signArr[0], _this._textStyle, "#000000");
|
|
18724
|
+
var maxWidth = aText.getMeasuredWidth();
|
|
18725
|
+
|
|
18726
|
+
if (_signArr.length > 1) {
|
|
18727
|
+
for (var i = 1; i < _signArr.length; i++) {
|
|
18728
|
+
aText = new createjs.Text(_signArr[i], _this._textStyle, "#000000");
|
|
18729
|
+
var aWidth = aText.getMeasuredWidth();
|
|
18730
|
+
|
|
18731
|
+
if (aWidth > maxWidth) {
|
|
18732
|
+
maxWidth = aWidth;
|
|
18733
|
+
}
|
|
18734
|
+
}
|
|
18735
|
+
} //const dText = new createjs.Text(this.imgSrc, fontStyle, "#000000");
|
|
18736
|
+
|
|
18672
18737
|
|
|
18673
18738
|
if (number === 1) {
|
|
18674
|
-
|
|
18739
|
+
//this.dWidth = dText.getMeasuredWidth();
|
|
18740
|
+
_this.dWidth = maxWidth;
|
|
18675
18741
|
} else {
|
|
18676
|
-
|
|
18742
|
+
//this.dWidth = dText.getMeasuredWidth() + this._drawText.getMeasuredWidth();
|
|
18743
|
+
_this.dWidth = maxWidth + _this._drawText.getMeasuredWidth();
|
|
18677
18744
|
}
|
|
18678
18745
|
}
|
|
18679
18746
|
}
|
|
@@ -18741,18 +18808,27 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18741
18808
|
this.clear();
|
|
18742
18809
|
var drawNode = this;
|
|
18743
18810
|
|
|
18744
|
-
var drawSign = function drawSign() {
|
|
18811
|
+
var drawSign = function drawSign(isFront) {
|
|
18745
18812
|
if (_this2.type === 1) {
|
|
18746
18813
|
var image = new Image();
|
|
18747
18814
|
image.src = _this2.imgSrc;
|
|
18748
18815
|
var bitmap = new createjs.Bitmap(image);
|
|
18749
18816
|
bitmap.y = -_this2.dHeight;
|
|
18750
|
-
|
|
18817
|
+
|
|
18818
|
+
if (_this2.number === 1) {
|
|
18819
|
+
bitmap.x = 0;
|
|
18820
|
+
} else {
|
|
18821
|
+
if (isFront) {
|
|
18822
|
+
bitmap.x = 0;
|
|
18823
|
+
} else {
|
|
18824
|
+
bitmap.x = _this2._drawText.getMeasuredWidth();
|
|
18825
|
+
}
|
|
18826
|
+
}
|
|
18751
18827
|
|
|
18752
18828
|
_this2.addChildAt(bitmap, 0);
|
|
18753
18829
|
|
|
18754
18830
|
image.onload = function () {
|
|
18755
|
-
var hoEditorFactory =
|
|
18831
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__[/* HOEditorFactorys */ "a"].instance().getFactory(drawNode.node.hoEditorFactoryID);
|
|
18756
18832
|
var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
|
|
18757
18833
|
var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
|
|
18758
18834
|
var width = drawNode.dWidth;
|
|
@@ -18771,10 +18847,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18771
18847
|
if (dArea) {
|
|
18772
18848
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this2.node.getNodePath());
|
|
18773
18849
|
|
|
18774
|
-
if (atype ===
|
|
18850
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__[/* HeaderFooterType */ "a"].hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
18775
18851
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
18776
18852
|
} else {
|
|
18777
|
-
if (atype ===
|
|
18853
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__[/* HeaderFooterType */ "a"].hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
|
|
18778
18854
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
18779
18855
|
}
|
|
18780
18856
|
}
|
|
@@ -18783,21 +18859,39 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18783
18859
|
}
|
|
18784
18860
|
};
|
|
18785
18861
|
} else {
|
|
18786
|
-
var
|
|
18787
|
-
drawText2.textBaseline = "alphabetic";
|
|
18788
|
-
drawText2.textAlign = "left";
|
|
18789
|
-
var rect = drawText2.getBounds();
|
|
18862
|
+
var signArr = _this2.imgSrc.split('\n');
|
|
18790
18863
|
|
|
18791
|
-
if (
|
|
18792
|
-
drawText2
|
|
18793
|
-
|
|
18864
|
+
if (signArr.length === 1) {
|
|
18865
|
+
var drawText2 = new createjs.Text(_this2.imgSrc, _this2.textStyle, "#000000");
|
|
18866
|
+
drawText2.textBaseline = "alphabetic";
|
|
18867
|
+
drawText2.textAlign = "left";
|
|
18868
|
+
var rect = drawText2.getBounds();
|
|
18869
|
+
|
|
18870
|
+
if (rect) {
|
|
18871
|
+
drawText2.y = _this2.y;
|
|
18872
|
+
}
|
|
18873
|
+
|
|
18874
|
+
_this2.addChild(drawText2);
|
|
18875
|
+
} else {
|
|
18876
|
+
for (var i = 0; i < signArr.length; i++) {
|
|
18877
|
+
var aText = new createjs.Text(signArr[i], _this2.textStyle, "#000000");
|
|
18878
|
+
aText.textBaseline = "alphabetic";
|
|
18879
|
+
aText.textAlign = "left";
|
|
18880
|
+
|
|
18881
|
+
var _rect = aText.getBounds();
|
|
18882
|
+
|
|
18883
|
+
if (_rect) {
|
|
18884
|
+
aText.y = _this2.dHeight / signArr.length * (i + 1) - _this2.dHeight;
|
|
18885
|
+
}
|
|
18794
18886
|
|
|
18795
|
-
|
|
18887
|
+
_this2.addChild(aText);
|
|
18888
|
+
}
|
|
18889
|
+
}
|
|
18796
18890
|
}
|
|
18797
18891
|
};
|
|
18798
18892
|
|
|
18799
18893
|
if (this.number === 0) {
|
|
18800
|
-
var drawText1 = new createjs.Text(this.signName, this.textStyle
|
|
18894
|
+
var drawText1 = new createjs.Text(this.signName, this.textStyle, "#838586");
|
|
18801
18895
|
drawText1.textBaseline = "alphabetic";
|
|
18802
18896
|
drawText1.textAlign = "left";
|
|
18803
18897
|
var rect = drawText1.getBounds();
|
|
@@ -18810,38 +18904,51 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
18810
18904
|
} else if (this.number === 1) {
|
|
18811
18905
|
drawSign();
|
|
18812
18906
|
} else {
|
|
18813
|
-
|
|
18814
|
-
|
|
18815
|
-
|
|
18816
|
-
this.addChildAt(line, 1);
|
|
18907
|
+
var isFront = this.node.isFront;
|
|
18908
|
+
drawSign(isFront);
|
|
18909
|
+
this.drawConnectChar(this.node.isFront);
|
|
18817
18910
|
}
|
|
18818
18911
|
}
|
|
18819
18912
|
}, {
|
|
18820
|
-
key: "
|
|
18821
|
-
value: function
|
|
18822
|
-
var
|
|
18823
|
-
// const bitMap =this._bitmap.clone(this._image);
|
|
18824
|
-
// // bitMap.name = (this.node as ImageNode).id;
|
|
18825
|
-
// // bitMap.setTransform(
|
|
18826
|
-
// // 0,
|
|
18827
|
-
// // this._imageY,
|
|
18828
|
-
// // this.dWidth / this._imageWidth,
|
|
18829
|
-
// // this.dHeight / this._imageHeight
|
|
18830
|
-
// // );
|
|
18831
|
-
// // bitMap.setTransform(0, this._imageY, this._scaleX, this._scaleY);
|
|
18913
|
+
key: "drawConnectChar",
|
|
18914
|
+
value: function drawConnectChar(isFront) {
|
|
18915
|
+
var connectMode = this.node.connectMode;
|
|
18832
18916
|
|
|
18833
|
-
if (
|
|
18834
|
-
|
|
18835
|
-
} // aConTainer.removeAllChildren();
|
|
18836
|
-
// aConTainer.addChild(bitMap);}
|
|
18917
|
+
if (connectMode === "/") {
|
|
18918
|
+
var line = new createjs.Shape();
|
|
18837
18919
|
|
|
18920
|
+
if (isFront) {
|
|
18921
|
+
line.graphics.beginStroke("#000000").moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -this.dHeight + 4);
|
|
18922
|
+
} else {
|
|
18923
|
+
line.graphics.beginStroke("#000000").moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight + 4);
|
|
18924
|
+
}
|
|
18838
18925
|
|
|
18839
|
-
|
|
18926
|
+
this.addChildAt(line);
|
|
18927
|
+
} else if (connectMode === "换行") {
|
|
18928
|
+
return;
|
|
18929
|
+
} else {
|
|
18930
|
+
this._drawText.textBaseline = "alphabetic";
|
|
18931
|
+
this._drawText.textAlign = "left";
|
|
18932
|
+
|
|
18933
|
+
var rect = this._drawText.getBounds();
|
|
18934
|
+
|
|
18935
|
+
if (rect) {
|
|
18936
|
+
this._drawText.y = this.y;
|
|
18937
|
+
|
|
18938
|
+
if (isFront) {
|
|
18939
|
+
this._drawText.x = this.dWidth - this._drawText.getMeasuredWidth();
|
|
18940
|
+
} else {
|
|
18941
|
+
this._drawText.x = 0;
|
|
18942
|
+
}
|
|
18943
|
+
}
|
|
18944
|
+
|
|
18945
|
+
this.addChildAt(this._drawText);
|
|
18946
|
+
}
|
|
18840
18947
|
}
|
|
18841
18948
|
}]);
|
|
18842
18949
|
|
|
18843
18950
|
return DrawSignNode;
|
|
18844
|
-
}(
|
|
18951
|
+
}(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_11__[/* DrawCombineNode */ "a"]);
|
|
18845
18952
|
|
|
18846
18953
|
/***/ }),
|
|
18847
18954
|
|
|
@@ -20534,7 +20641,8 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20534
20641
|
|
|
20535
20642
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
20536
20643
|
_this._formulaStr = "";
|
|
20537
|
-
_this._hideZero = true;
|
|
20644
|
+
_this._hideZero = true; //计算结果为0时是否隐藏
|
|
20645
|
+
|
|
20538
20646
|
_this._id = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("TFS");
|
|
20539
20647
|
_this._styleIndex = styleIndex;
|
|
20540
20648
|
_this.isAllowDelete = true;
|
|
@@ -28138,7 +28246,7 @@ exports.default = {
|
|
|
28138
28246
|
/*
|
|
28139
28247
|
* @Author: your name
|
|
28140
28248
|
* @Date: 2021-09-01 15:55:48
|
|
28141
|
-
* @LastEditTime: 2021-10-
|
|
28249
|
+
* @LastEditTime: 2021-10-26 18:31:30
|
|
28142
28250
|
* @LastEditors: Please set LastEditors
|
|
28143
28251
|
* @Description: In User Settings Edit
|
|
28144
28252
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\SignNode.ts
|
|
@@ -28149,22 +28257,32 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28149
28257
|
|
|
28150
28258
|
var _super = Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(SignNode);
|
|
28151
28259
|
|
|
28152
|
-
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signor, signTime, imgSrc, imgWidth, imgHeight, customProperty, isTemplate) {
|
|
28260
|
+
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, connectMode, isFront, allowEditSignTime) {
|
|
28153
28261
|
var _this;
|
|
28154
28262
|
|
|
28155
28263
|
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(this, SignNode);
|
|
28156
28264
|
|
|
28157
28265
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
28266
|
+
_this._name = ""; //签名名称
|
|
28267
|
+
|
|
28268
|
+
_this._signType = 0; //0单人签名 1多人签名
|
|
28269
|
+
|
|
28270
|
+
_this._signFormat = "医师签名"; //签名格式
|
|
28271
|
+
|
|
28272
|
+
_this._connectMode = "/"; //连接方式
|
|
28273
|
+
|
|
28274
|
+
_this._isFront = true; //是否前置
|
|
28275
|
+
|
|
28158
28276
|
_this._number = 0; //次数 第几次 第一次是插入空签名 第二次是更新空签名 第三次是插入第二个签名
|
|
28159
28277
|
|
|
28160
28278
|
_this._type = 0; //类型 1图片 2字符串
|
|
28161
28279
|
|
|
28162
|
-
_this._name = ""; //签名名称
|
|
28163
|
-
|
|
28164
28280
|
_this._signor = ""; //签名人
|
|
28165
28281
|
|
|
28166
28282
|
_this._signTime = ""; //签名时间
|
|
28167
28283
|
|
|
28284
|
+
_this._allowEditSignTime = false; //允许修改签名时间
|
|
28285
|
+
|
|
28168
28286
|
_this._imgSrc = ""; //签名1路径
|
|
28169
28287
|
|
|
28170
28288
|
_this._imgWidth = 0; //图片宽度
|
|
@@ -28182,6 +28300,15 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28182
28300
|
_this._imgWidth = imgWidth;
|
|
28183
28301
|
_this._imgHeight = imgHeight;
|
|
28184
28302
|
_this._isTemplate = isTemplate;
|
|
28303
|
+
_this._signType = signType;
|
|
28304
|
+
_this._signFormat = signFormat;
|
|
28305
|
+
|
|
28306
|
+
if (signType === 1) {
|
|
28307
|
+
_this._connectMode = connectMode;
|
|
28308
|
+
_this._isFront = isFront;
|
|
28309
|
+
_this._allowEditSignTime = allowEditSignTime;
|
|
28310
|
+
}
|
|
28311
|
+
|
|
28185
28312
|
_this._customProperty = new Object();
|
|
28186
28313
|
|
|
28187
28314
|
var assignvalue = function assignvalue(target, source) {
|
|
@@ -28217,6 +28344,46 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28217
28344
|
this._name = value;
|
|
28218
28345
|
}
|
|
28219
28346
|
}
|
|
28347
|
+
}, {
|
|
28348
|
+
key: "signType",
|
|
28349
|
+
get: function get() {
|
|
28350
|
+
return this._signType;
|
|
28351
|
+
},
|
|
28352
|
+
set: function set(value) {
|
|
28353
|
+
if (this._signType !== value) {
|
|
28354
|
+
this._signType = value;
|
|
28355
|
+
}
|
|
28356
|
+
}
|
|
28357
|
+
}, {
|
|
28358
|
+
key: "signFormat",
|
|
28359
|
+
get: function get() {
|
|
28360
|
+
return this._signFormat;
|
|
28361
|
+
},
|
|
28362
|
+
set: function set(value) {
|
|
28363
|
+
if (this._signFormat !== value) {
|
|
28364
|
+
this._signFormat = value;
|
|
28365
|
+
}
|
|
28366
|
+
}
|
|
28367
|
+
}, {
|
|
28368
|
+
key: "connectMode",
|
|
28369
|
+
get: function get() {
|
|
28370
|
+
return this._connectMode;
|
|
28371
|
+
},
|
|
28372
|
+
set: function set(value) {
|
|
28373
|
+
if (this._connectMode !== value) {
|
|
28374
|
+
this._connectMode = value;
|
|
28375
|
+
}
|
|
28376
|
+
}
|
|
28377
|
+
}, {
|
|
28378
|
+
key: "isFront",
|
|
28379
|
+
get: function get() {
|
|
28380
|
+
return this._isFront;
|
|
28381
|
+
},
|
|
28382
|
+
set: function set(value) {
|
|
28383
|
+
if (this._isFront !== value) {
|
|
28384
|
+
this._isFront = value;
|
|
28385
|
+
}
|
|
28386
|
+
}
|
|
28220
28387
|
}, {
|
|
28221
28388
|
key: "number",
|
|
28222
28389
|
get: function get() {
|
|
@@ -28247,6 +28414,16 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28247
28414
|
this._signTime = value;
|
|
28248
28415
|
}
|
|
28249
28416
|
}
|
|
28417
|
+
}, {
|
|
28418
|
+
key: "allowEditSignTime",
|
|
28419
|
+
get: function get() {
|
|
28420
|
+
return this._allowEditSignTime;
|
|
28421
|
+
},
|
|
28422
|
+
set: function set(value) {
|
|
28423
|
+
if (this._allowEditSignTime !== value) {
|
|
28424
|
+
this._allowEditSignTime = value;
|
|
28425
|
+
}
|
|
28426
|
+
}
|
|
28250
28427
|
}, {
|
|
28251
28428
|
key: "type",
|
|
28252
28429
|
get: function get() {
|
|
@@ -28394,13 +28571,18 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28394
28571
|
number: this.number,
|
|
28395
28572
|
type: this.type,
|
|
28396
28573
|
name: this.name,
|
|
28574
|
+
signType: this.signType,
|
|
28575
|
+
signFormat: this.signFormat,
|
|
28397
28576
|
signor: this.signor,
|
|
28398
28577
|
signTime: this.signTime,
|
|
28399
28578
|
imgSrc: this.imgSrc,
|
|
28400
28579
|
imgWidth: this.imgWidth,
|
|
28401
28580
|
imgHeight: this.imgHeight,
|
|
28402
28581
|
customProperty: this.customProperty,
|
|
28403
|
-
isTemplate: this.isTemplate
|
|
28582
|
+
isTemplate: this.isTemplate,
|
|
28583
|
+
connectMode: this.connectMode,
|
|
28584
|
+
isFront: this.isFront,
|
|
28585
|
+
allowEditSignTime: this.allowEditSignTime
|
|
28404
28586
|
};
|
|
28405
28587
|
|
|
28406
28588
|
if (isCopy) {
|
|
@@ -28428,7 +28610,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
28428
28610
|
var imgWidth = Number(json.imgWidth);
|
|
28429
28611
|
var imgHeight = Number(json.imgHeight);
|
|
28430
28612
|
var isTemplate = json.isTemplate === "true" ? true : false;
|
|
28431
|
-
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;
|
|
28613
|
+
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;
|
|
28432
28614
|
//signNode.width = width;
|
|
28433
28615
|
|
|
28434
28616
|
return signNode;
|
|
@@ -34432,7 +34614,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
34432
34614
|
|
|
34433
34615
|
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"])) {
|
|
34434
34616
|
var path = hoEditorFactory.docTree.getNodeLastPath(preNode);
|
|
34435
|
-
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 === "" ? "
|
|
34617
|
+
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);
|
|
34436
34618
|
hoEditorFactory.undoService.begin();
|
|
34437
34619
|
hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_39__[/* NodeDeleteUndoUnit */ "a"](this._hoEditorFactoryID, node, startPath));
|
|
34438
34620
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, path, signNode));
|
|
@@ -34443,7 +34625,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
34443
34625
|
if (preNode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_86__[/* SignNode */ "a"]) {
|
|
34444
34626
|
var spath = hoEditorFactory.docTree.getNodeLastPath(preNode.previousLeaf());
|
|
34445
34627
|
var epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
34446
|
-
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);
|
|
34628
|
+
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);
|
|
34447
34629
|
hoEditorFactory.undoService.begin();
|
|
34448
34630
|
hoEditorFactory.undoService.add(new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_38__[/* NodesDeleteUndoUnit */ "a"](this._hoEditorFactoryID, spath, epath));
|
|
34449
34631
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, spath, newSignNode));
|
|
@@ -37049,15 +37231,20 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37049
37231
|
/**
|
|
37050
37232
|
* 插入空签名
|
|
37051
37233
|
* @param name 签名名称(空签名的初始化显示)
|
|
37234
|
+
* @param signType 签名类型 0单人签名 1多人签名
|
|
37235
|
+
* @param signFormat 签名格式
|
|
37236
|
+
* @param connectMode 连接方式
|
|
37237
|
+
* @param isFront 新插入的签名是否前置 true:前置 false:后置
|
|
37238
|
+
* @param allowEditSignTime 允许修改签名时间 true:允许 false:不允许
|
|
37052
37239
|
*/
|
|
37053
37240
|
|
|
37054
37241
|
}, {
|
|
37055
37242
|
key: "insertEmptySignNode",
|
|
37056
|
-
value: function insertEmptySignNode(domRange, name) {
|
|
37243
|
+
value: function insertEmptySignNode(domRange, name, signType, signFormat, connectMode, isFront, allowEditSignTime) {
|
|
37057
37244
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_80__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
37058
37245
|
var startPath = domRange.startPath;
|
|
37059
37246
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
37060
|
-
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); //插入该表达式节点
|
|
37247
|
+
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); //插入该表达式节点
|
|
37061
37248
|
|
|
37062
37249
|
hoEditorFactory.undoService.begin();
|
|
37063
37250
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, startPath, signNode));
|
|
@@ -37079,7 +37266,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37079
37266
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_80__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
37080
37267
|
var startPath = domRange.startPath;
|
|
37081
37268
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
37082
|
-
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); //插入该表达式节点
|
|
37269
|
+
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); //插入该表达式节点
|
|
37083
37270
|
|
|
37084
37271
|
hoEditorFactory.undoService.begin();
|
|
37085
37272
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, startPath, signNode));
|
|
@@ -37121,7 +37308,21 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37121
37308
|
hoEditorFactory.docTree.change(changeEvent);
|
|
37122
37309
|
} else {
|
|
37123
37310
|
//第二次更新签名
|
|
37124
|
-
|
|
37311
|
+
if (node.connectMode === "换行") {
|
|
37312
|
+
sPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
37313
|
+
var curParaNode = hoEditorFactory.drawTree.getDlineByPath(sPath).paragraphNode;
|
|
37314
|
+
var newPara = new _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_32__[/* ParagraphNode */ "a"](this._hoEditorFactoryID, node.rootNodes, node.parentNode, curParaNode.paraNo);
|
|
37315
|
+
hoEditorFactory.undoService.begin();
|
|
37316
|
+
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, sPath, newPara));
|
|
37317
|
+
hoEditorFactory.undoService.commit();
|
|
37318
|
+
sPath = newPara.getNodePath();
|
|
37319
|
+
} else {
|
|
37320
|
+
if (!node.isFront) {
|
|
37321
|
+
sPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
37322
|
+
}
|
|
37323
|
+
}
|
|
37324
|
+
|
|
37325
|
+
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); //插入该表达式节点
|
|
37125
37326
|
|
|
37126
37327
|
hoEditorFactory.undoService.begin();
|
|
37127
37328
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, sPath, newSignNode));
|
|
@@ -56123,535 +56324,6 @@ module.exports = function (key) {
|
|
|
56123
56324
|
};
|
|
56124
56325
|
|
|
56125
56326
|
|
|
56126
|
-
/***/ }),
|
|
56127
|
-
|
|
56128
|
-
/***/ "5b65":
|
|
56129
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
56130
|
-
|
|
56131
|
-
"use strict";
|
|
56132
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ClipboardType; });
|
|
56133
|
-
/* unused harmony export StructureRecord */
|
|
56134
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return StructureNode; });
|
|
56135
|
-
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
56136
|
-
/* harmony import */ var D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
56137
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ac1f");
|
|
56138
|
-
/* 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__);
|
|
56139
|
-
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1276");
|
|
56140
|
-
/* 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__);
|
|
56141
|
-
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("a434");
|
|
56142
|
-
/* 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__);
|
|
56143
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("159b");
|
|
56144
|
-
/* 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__);
|
|
56145
|
-
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("bf19");
|
|
56146
|
-
/* 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__);
|
|
56147
|
-
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("a15b");
|
|
56148
|
-
/* 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__);
|
|
56149
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("fb6a");
|
|
56150
|
-
/* 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__);
|
|
56151
|
-
/* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("ff91");
|
|
56152
|
-
/* harmony import */ var _dom_DomRange__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("53b1");
|
|
56153
|
-
/* harmony import */ var _dom_NodePosition__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("ca11");
|
|
56154
|
-
/* harmony import */ var _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("91a4");
|
|
56155
|
-
/* harmony import */ var _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("1551");
|
|
56156
|
-
/* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("110d");
|
|
56157
|
-
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("1157");
|
|
56158
|
-
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_15__);
|
|
56159
|
-
/* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("eb7b");
|
|
56160
|
-
/* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("49d1");
|
|
56161
|
-
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("8d1d");
|
|
56162
|
-
/* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("4b89");
|
|
56163
|
-
/* harmony import */ var _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("9685");
|
|
56164
|
-
/* harmony import */ var _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("f7fa");
|
|
56165
|
-
/* harmony import */ var _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("4e47");
|
|
56166
|
-
/* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("053b");
|
|
56167
|
-
|
|
56168
|
-
|
|
56169
|
-
|
|
56170
|
-
|
|
56171
|
-
|
|
56172
|
-
|
|
56173
|
-
|
|
56174
|
-
|
|
56175
|
-
|
|
56176
|
-
|
|
56177
|
-
|
|
56178
|
-
|
|
56179
|
-
|
|
56180
|
-
|
|
56181
|
-
|
|
56182
|
-
// import { HTMLConverter2 } from "./HTMLConverter";
|
|
56183
|
-
|
|
56184
|
-
|
|
56185
|
-
|
|
56186
|
-
|
|
56187
|
-
|
|
56188
|
-
|
|
56189
|
-
|
|
56190
|
-
|
|
56191
|
-
|
|
56192
|
-
var ClipboardType;
|
|
56193
|
-
|
|
56194
|
-
(function (ClipboardType) {
|
|
56195
|
-
ClipboardType["ctText"] = "text/plain";
|
|
56196
|
-
ClipboardType["ctHTML"] = "text/html";
|
|
56197
|
-
ClipboardType["ctJSON"] = "application/json";
|
|
56198
|
-
})(ClipboardType || (ClipboardType = {}));
|
|
56199
|
-
|
|
56200
|
-
var NodeConvert = /*#__PURE__*/function () {
|
|
56201
|
-
function NodeConvert(hoEditorFactoryID) {
|
|
56202
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, NodeConvert);
|
|
56203
|
-
|
|
56204
|
-
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
56205
|
-
}
|
|
56206
|
-
|
|
56207
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(NodeConvert, [{
|
|
56208
|
-
key: "FromJSON",
|
|
56209
|
-
value: function FromJSON(data, rootPath) {
|
|
56210
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56211
|
-
var nodes = new Array();
|
|
56212
|
-
var rootNodes = new Array();
|
|
56213
|
-
|
|
56214
|
-
if (rootPath === "main") {
|
|
56215
|
-
rootNodes = hoEditorFactory.docTree.mainNodes;
|
|
56216
|
-
}
|
|
56217
|
-
|
|
56218
|
-
var jsonArray = JSON.parse(data);
|
|
56219
|
-
var path = hoEditorFactory.docTree.curDomRange.normalize().startPath;
|
|
56220
|
-
var parentNode = hoEditorFactory.docTree.getParentNode(path);
|
|
56221
|
-
var aRootNodes = rootPath ? rootNodes : hoEditorFactory.docTree.curDomRange.normalize().npStart.roots;
|
|
56222
|
-
|
|
56223
|
-
for (var i = 0; i < jsonArray.length; i++) {
|
|
56224
|
-
var nodeJson = jsonArray[i];
|
|
56225
|
-
|
|
56226
|
-
if (nodeJson) {
|
|
56227
|
-
var node = hoEditorFactory.structureConvert.convertNode(nodeJson, aRootNodes, rootPath ? null : parentNode, undefined, true);
|
|
56228
|
-
|
|
56229
|
-
if (!node) {
|
|
56230
|
-
return [];
|
|
56231
|
-
}
|
|
56232
|
-
|
|
56233
|
-
if (node) {
|
|
56234
|
-
if (node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__[/* TextNode */ "a"] && node.text.length === 0) {
|
|
56235
|
-
continue;
|
|
56236
|
-
}
|
|
56237
|
-
|
|
56238
|
-
if (rootPath) {
|
|
56239
|
-
node.rootPath = rootPath;
|
|
56240
|
-
}
|
|
56241
|
-
|
|
56242
|
-
nodes.push(node);
|
|
56243
|
-
|
|
56244
|
-
if (rootPath && rootPath.split('/').length > 1) {
|
|
56245
|
-
rootNodes.push(node);
|
|
56246
|
-
node.rootNodes = rootNodes;
|
|
56247
|
-
}
|
|
56248
|
-
}
|
|
56249
|
-
}
|
|
56250
|
-
}
|
|
56251
|
-
|
|
56252
|
-
return nodes;
|
|
56253
|
-
}
|
|
56254
|
-
}, {
|
|
56255
|
-
key: "FromHTML",
|
|
56256
|
-
value: function FromHTML(data) {
|
|
56257
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56258
|
-
var rx = /<body[^>]*>([\s\S]+?)<\/body>/i;
|
|
56259
|
-
var r = rx.exec(data);
|
|
56260
|
-
var bodyHtml;
|
|
56261
|
-
|
|
56262
|
-
if (!r) {
|
|
56263
|
-
return [];
|
|
56264
|
-
} else {
|
|
56265
|
-
bodyHtml = "<div>" + r[1] + "</div>";
|
|
56266
|
-
} //console.log(bodyHtml);
|
|
56267
|
-
|
|
56268
|
-
|
|
56269
|
-
var nodes = hoEditorFactory.htmlConverter.Exec(jquery__WEBPACK_IMPORTED_MODULE_15___default()(bodyHtml)[0], "");
|
|
56270
|
-
return nodes;
|
|
56271
|
-
}
|
|
56272
|
-
}, {
|
|
56273
|
-
key: "FromText",
|
|
56274
|
-
value: function FromText(data) {
|
|
56275
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56276
|
-
var nodes = new Array();
|
|
56277
|
-
var textData = data;
|
|
56278
|
-
|
|
56279
|
-
if (textData) {
|
|
56280
|
-
//根据换行符切割
|
|
56281
|
-
var uidArr = textData.split(/[\r\n]+/);
|
|
56282
|
-
|
|
56283
|
-
for (var i = 0; i < uidArr.length; i++) {
|
|
56284
|
-
if (!uidArr[i]) continue;
|
|
56285
|
-
|
|
56286
|
-
if (i > 0) {
|
|
56287
|
-
var paraNode = new _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_13__[/* ParagraphNode */ "a"](this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, 0);
|
|
56288
|
-
nodes.push(paraNode);
|
|
56289
|
-
}
|
|
56290
|
-
|
|
56291
|
-
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);
|
|
56292
|
-
nodes.push(textNode);
|
|
56293
|
-
}
|
|
56294
|
-
}
|
|
56295
|
-
|
|
56296
|
-
return nodes;
|
|
56297
|
-
}
|
|
56298
|
-
}, {
|
|
56299
|
-
key: "toJSON",
|
|
56300
|
-
value: function toJSON(recs, isClearValue, type) {
|
|
56301
|
-
var _this = this;
|
|
56302
|
-
|
|
56303
|
-
var jsons = new Array();
|
|
56304
|
-
|
|
56305
|
-
if (recs[0].node instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_13__[/* ParagraphNode */ "a"]) {
|
|
56306
|
-
if (recs[0].node.paraNo === 0) {
|
|
56307
|
-
recs.splice(0, 1);
|
|
56308
|
-
}
|
|
56309
|
-
}
|
|
56310
|
-
|
|
56311
|
-
recs.forEach(function (value, index) {
|
|
56312
|
-
if (isClearValue) {
|
|
56313
|
-
if (value.node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_19__[/* TextInputFieldNode */ "f"]) {
|
|
56314
|
-
value.node.text = "";
|
|
56315
|
-
value.node.childNodes.splice(1, value.node.childNodes.length - 2);
|
|
56316
|
-
}
|
|
56317
|
-
|
|
56318
|
-
if (value.node instanceof _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_20__[/* DateTimeNode */ "a"]) {
|
|
56319
|
-
value.node.text = "";
|
|
56320
|
-
}
|
|
56321
|
-
|
|
56322
|
-
if (value.node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_21__[/* DownListNode */ "a"]) {
|
|
56323
|
-
value.node.text = "";
|
|
56324
|
-
}
|
|
56325
|
-
}
|
|
56326
|
-
|
|
56327
|
-
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"]) {
|
|
56328
|
-
jsons.push(value.node.node2Json(value.range, true, type));
|
|
56329
|
-
} else {
|
|
56330
|
-
//选区有MarkNode时:如果是开始标记,判断对应的结束标记是否在选区内,如果在则复制该节点,反之不复制;
|
|
56331
|
-
//如果是结束标记,判断对应的开始标记是否在选区内,如果在则复制该节点,反之不复制
|
|
56332
|
-
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"]) {
|
|
56333
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(_this._hoEditorFactoryID);
|
|
56334
|
-
var range = hoEditorFactory.docTree.curDomRange.normalize();
|
|
56335
|
-
|
|
56336
|
-
if (value.node.MarkNodeType === _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__[/* MarkNodeType */ "b"].mtStart) {
|
|
56337
|
-
var result = value.node.parentNode.childNodes[value.node.parentNode.childNodes.length - 1].isTotalSelected(range, true);
|
|
56338
|
-
|
|
56339
|
-
if (result) {
|
|
56340
|
-
jsons.push(value.node.node2Json(value.range, true));
|
|
56341
|
-
}
|
|
56342
|
-
}
|
|
56343
|
-
|
|
56344
|
-
if (value.node.MarkNodeType === _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__[/* MarkNodeType */ "b"].mtEnd) {
|
|
56345
|
-
var _result = value.node.parentNode.childNodes[0].isTotalSelected(range, true);
|
|
56346
|
-
|
|
56347
|
-
if (_result) {
|
|
56348
|
-
jsons.push(value.node.node2Json(value.range, true));
|
|
56349
|
-
}
|
|
56350
|
-
}
|
|
56351
|
-
} else {
|
|
56352
|
-
jsons.push(value.node.node2Json(value.range, true));
|
|
56353
|
-
}
|
|
56354
|
-
}
|
|
56355
|
-
});
|
|
56356
|
-
this._jsondata = JSON.stringify(jsons); //console.log(JSON.stringify(jsons));
|
|
56357
|
-
|
|
56358
|
-
return JSON.stringify(jsons);
|
|
56359
|
-
} // private dataURLtoFile(dataurl: string, filename = 'file') {
|
|
56360
|
-
// const arr = dataurl.split(',')
|
|
56361
|
-
// const mime = arr[0].match(/:(.*?);/)[1]
|
|
56362
|
-
// const suffix = mime.split('/')[1]
|
|
56363
|
-
// const bstr = atob(arr[1])
|
|
56364
|
-
// let n = bstr.length
|
|
56365
|
-
// const u8arr = new Uint8Array(n)
|
|
56366
|
-
// while (n--) {
|
|
56367
|
-
// u8arr[n] = bstr.charCodeAt(n)
|
|
56368
|
-
// }
|
|
56369
|
-
// return new File([u8arr], `${filename}.${suffix}`, {
|
|
56370
|
-
// type: mime
|
|
56371
|
-
// })
|
|
56372
|
-
// }
|
|
56373
|
-
|
|
56374
|
-
}, {
|
|
56375
|
-
key: "toTHML",
|
|
56376
|
-
value: function toTHML(recs) {
|
|
56377
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56378
|
-
if (recs) this.toJSON(recs);
|
|
56379
|
-
var jsondata = JSON.parse(this._jsondata);
|
|
56380
|
-
if (!jsondata) return "";
|
|
56381
|
-
return hoEditorFactory.toHtmlConverter.Exec(this._hoEditorFactoryID, jsondata);
|
|
56382
|
-
}
|
|
56383
|
-
}, {
|
|
56384
|
-
key: "toText",
|
|
56385
|
-
value: function toText(recs) {
|
|
56386
|
-
if (recs) this.toJSON(recs);
|
|
56387
|
-
var jsondata = JSON.parse(this._jsondata);
|
|
56388
|
-
if (!jsondata) return "";
|
|
56389
|
-
var paragraphText = "";
|
|
56390
|
-
|
|
56391
|
-
var json2text = function json2text(data) {
|
|
56392
|
-
for (var i = 0; i < data.length; i++) {
|
|
56393
|
-
var item = data[i];
|
|
56394
|
-
|
|
56395
|
-
if (item["nodeType"]) {
|
|
56396
|
-
if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntText]) {
|
|
56397
|
-
paragraphText += item.text;
|
|
56398
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntParagraph]) {
|
|
56399
|
-
if (i != 0) {
|
|
56400
|
-
paragraphText += "\n";
|
|
56401
|
-
}
|
|
56402
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntControl]) {
|
|
56403
|
-
paragraphText += item.text;
|
|
56404
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntField]) {
|
|
56405
|
-
json2text(item.childNodes.item);
|
|
56406
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntTable]) {
|
|
56407
|
-
if (Array.isArray(item.childNodes.item)) json2text(item.childNodes.item);
|
|
56408
|
-
} else if (item.nodeType == "ntRow") {
|
|
56409
|
-
if (i != 0) {
|
|
56410
|
-
paragraphText += "\n";
|
|
56411
|
-
}
|
|
56412
|
-
|
|
56413
|
-
json2text(item.childNodes.item);
|
|
56414
|
-
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"][_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__[/* NodeType */ "b"].ntCell]) {
|
|
56415
|
-
if (i != 0) paragraphText += "\t";
|
|
56416
|
-
json2text(item.childNodes.item);
|
|
56417
|
-
}
|
|
56418
|
-
} // else if (item.childNode) {
|
|
56419
|
-
// json2text(item.childNode);
|
|
56420
|
-
// }
|
|
56421
|
-
|
|
56422
|
-
}
|
|
56423
|
-
};
|
|
56424
|
-
|
|
56425
|
-
json2text(jsondata);
|
|
56426
|
-
return paragraphText;
|
|
56427
|
-
}
|
|
56428
|
-
}]);
|
|
56429
|
-
|
|
56430
|
-
return NodeConvert;
|
|
56431
|
-
}();
|
|
56432
|
-
/**
|
|
56433
|
-
* 结构化的节点范围记录
|
|
56434
|
-
*/
|
|
56435
|
-
|
|
56436
|
-
|
|
56437
|
-
var StructureRecord = /*#__PURE__*/function () {
|
|
56438
|
-
function StructureRecord(hoEditorFactoryID, startPath, Node, val) {
|
|
56439
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, StructureRecord);
|
|
56440
|
-
|
|
56441
|
-
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
56442
|
-
this._node = Node;
|
|
56443
|
-
this._path = startPath;
|
|
56444
|
-
this._range = val;
|
|
56445
|
-
}
|
|
56446
|
-
|
|
56447
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(StructureRecord, [{
|
|
56448
|
-
key: "node",
|
|
56449
|
-
get: function get() {
|
|
56450
|
-
return this._node;
|
|
56451
|
-
}
|
|
56452
|
-
}, {
|
|
56453
|
-
key: "range",
|
|
56454
|
-
get: function get() {
|
|
56455
|
-
return this._range;
|
|
56456
|
-
}
|
|
56457
|
-
}]);
|
|
56458
|
-
|
|
56459
|
-
return StructureRecord;
|
|
56460
|
-
}();
|
|
56461
|
-
var StructureNode = /*#__PURE__*/function () {
|
|
56462
|
-
function StructureNode(hoEditorFactoryID) {
|
|
56463
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, StructureNode);
|
|
56464
|
-
|
|
56465
|
-
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
56466
|
-
this._Convertor = new NodeConvert(this._hoEditorFactoryID);
|
|
56467
|
-
}
|
|
56468
|
-
/**
|
|
56469
|
-
* Getter Convertor
|
|
56470
|
-
* @return {NodeConvert}
|
|
56471
|
-
*/
|
|
56472
|
-
|
|
56473
|
-
|
|
56474
|
-
Object(D_project_zuobiao_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(StructureNode, [{
|
|
56475
|
-
key: "Convertor",
|
|
56476
|
-
get: function get() {
|
|
56477
|
-
return this._Convertor;
|
|
56478
|
-
}
|
|
56479
|
-
}, {
|
|
56480
|
-
key: "jsondata",
|
|
56481
|
-
get: function get() {
|
|
56482
|
-
return this._json;
|
|
56483
|
-
}
|
|
56484
|
-
}, {
|
|
56485
|
-
key: "htmldata",
|
|
56486
|
-
get: function get() {
|
|
56487
|
-
return this._html;
|
|
56488
|
-
}
|
|
56489
|
-
}, {
|
|
56490
|
-
key: "textdata",
|
|
56491
|
-
get: function get() {
|
|
56492
|
-
return this._text;
|
|
56493
|
-
}
|
|
56494
|
-
/**
|
|
56495
|
-
* 返回节点开始路径,即前一个节点的最后路径
|
|
56496
|
-
* @param node 节点
|
|
56497
|
-
*/
|
|
56498
|
-
|
|
56499
|
-
}, {
|
|
56500
|
-
key: "getPrevLastPath",
|
|
56501
|
-
value: function getPrevLastPath(node) {
|
|
56502
|
-
var prev = node.range();
|
|
56503
|
-
return prev.from;
|
|
56504
|
-
}
|
|
56505
|
-
/**
|
|
56506
|
-
* 复制时候结构化的存储,粘贴时候才能带结构的输出
|
|
56507
|
-
* @param dom
|
|
56508
|
-
* @param clipboard
|
|
56509
|
-
*/
|
|
56510
|
-
|
|
56511
|
-
}, {
|
|
56512
|
-
key: "Copy",
|
|
56513
|
-
value: function Copy(dom, clipboard, isClearValue, type) {
|
|
56514
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56515
|
-
var currDom;
|
|
56516
|
-
|
|
56517
|
-
if (dom instanceof _dom_DomRange__WEBPACK_IMPORTED_MODULE_10__[/* DomRange */ "a"]) {
|
|
56518
|
-
currDom = dom.normalize();
|
|
56519
|
-
} else {
|
|
56520
|
-
var tmp = dom[0].range();
|
|
56521
|
-
currDom = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_10__[/* DomRange */ "a"](this._hoEditorFactoryID, tmp.from, hoEditorFactory.docTree.getNodeLastPath(dom[dom.length - 1]));
|
|
56522
|
-
}
|
|
56523
|
-
|
|
56524
|
-
var info = this.getAncestorsChild(currDom.startPath, currDom.endPath);
|
|
56525
|
-
var sstart = currDom.startPath.split("/").slice(0, info.level + 1).join("/");
|
|
56526
|
-
var send = currDom.endPath.split("/").slice(0, info.level + 1).join("/");
|
|
56527
|
-
var nstart = hoEditorFactory.docTree.findNodePositionByPath(sstart).node;
|
|
56528
|
-
var nend = hoEditorFactory.docTree.findNodePositionByPath(send).node;
|
|
56529
|
-
|
|
56530
|
-
if (!this._structoredNode) {
|
|
56531
|
-
this._structoredNode = new Array();
|
|
56532
|
-
}
|
|
56533
|
-
|
|
56534
|
-
this._structoredNode = []; //记录下路径结构
|
|
56535
|
-
|
|
56536
|
-
if (nstart == nend) {
|
|
56537
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
56538
|
-
from: currDom.startPath,
|
|
56539
|
-
to: currDom.endPath
|
|
56540
|
-
}));
|
|
56541
|
-
} 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) {
|
|
56542
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart.table), nstart.table, {
|
|
56543
|
-
from: nstart.range().from,
|
|
56544
|
-
to: nend.range().to
|
|
56545
|
-
}));
|
|
56546
|
-
} else {
|
|
56547
|
-
//开始结束不是同一个cellnode时候 cellnode一定是被全选的, 所以下面的节点from,to需要单独设置下
|
|
56548
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
56549
|
-
from: nstart instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_17__[/* TableNode */ "c"] ? nstart.range().from : currDom.startPath
|
|
56550
|
-
}));
|
|
56551
|
-
|
|
56552
|
-
var node = nstart.nextSibling();
|
|
56553
|
-
|
|
56554
|
-
for (;;) {
|
|
56555
|
-
if (!node) {
|
|
56556
|
-
break;
|
|
56557
|
-
}
|
|
56558
|
-
|
|
56559
|
-
if (node == nend) {
|
|
56560
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nend), nend, {
|
|
56561
|
-
to: nend instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_17__[/* TableNode */ "c"] ? nend.range().to : currDom.endPath
|
|
56562
|
-
}));
|
|
56563
|
-
|
|
56564
|
-
break;
|
|
56565
|
-
} else {
|
|
56566
|
-
this._structoredNode.push(new StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(node), node));
|
|
56567
|
-
|
|
56568
|
-
node = node.nextSibling();
|
|
56569
|
-
}
|
|
56570
|
-
}
|
|
56571
|
-
}
|
|
56572
|
-
|
|
56573
|
-
this._json = this._Convertor.toJSON(this._structoredNode, isClearValue, type);
|
|
56574
|
-
this._html = this._Convertor.toTHML();
|
|
56575
|
-
this._text = this._Convertor.toText();
|
|
56576
|
-
|
|
56577
|
-
if (clipboard) {
|
|
56578
|
-
clipboard.setData(ClipboardType.ctJSON, this._json);
|
|
56579
|
-
clipboard.setData(ClipboardType.ctHTML, this._html);
|
|
56580
|
-
clipboard.setData(ClipboardType.ctText, this._text);
|
|
56581
|
-
} else {
|
|
56582
|
-
return this._json;
|
|
56583
|
-
}
|
|
56584
|
-
}
|
|
56585
|
-
}, {
|
|
56586
|
-
key: "Parse",
|
|
56587
|
-
value: function Parse(ctype, data, rootPath) {
|
|
56588
|
-
if (ctype == ClipboardType.ctJSON) return this._Convertor.FromJSON(data, rootPath);
|
|
56589
|
-
if (ctype == ClipboardType.ctHTML) return this._Convertor.FromHTML(data);
|
|
56590
|
-
return this._Convertor.FromText(data);
|
|
56591
|
-
}
|
|
56592
|
-
/**
|
|
56593
|
-
* @description DocTree返回节点在树形结构中共同的父节点
|
|
56594
|
-
*/
|
|
56595
|
-
|
|
56596
|
-
}, {
|
|
56597
|
-
key: "getAncestorsChild",
|
|
56598
|
-
value: function getAncestorsChild(Spath1, Spath2) {
|
|
56599
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56600
|
-
var path1 = Spath1.split("/");
|
|
56601
|
-
var path2 = Spath2.split("/");
|
|
56602
|
-
var nodes;
|
|
56603
|
-
|
|
56604
|
-
if (!_dom_NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].pathCanCompare(Spath1, Spath2)) {
|
|
56605
|
-
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].PathNotAtSameRoot();
|
|
56606
|
-
} //比对路径
|
|
56607
|
-
|
|
56608
|
-
|
|
56609
|
-
var index = 0;
|
|
56610
|
-
|
|
56611
|
-
while (path1[index] == path2[index]) {
|
|
56612
|
-
index += 1;
|
|
56613
|
-
|
|
56614
|
-
if (index > path1.length || index > path2.length) {
|
|
56615
|
-
break;
|
|
56616
|
-
}
|
|
56617
|
-
} //取节点的兄弟节点
|
|
56618
|
-
|
|
56619
|
-
|
|
56620
|
-
if (index === 1 || index === 2 && path1[0] !== "main") {
|
|
56621
|
-
//只有第一个符合 在根节点当中main heaer footer
|
|
56622
|
-
var tmp = hoEditorFactory.docTree.findNodePositionByPath(path1.slice(0, index + 1).join("/")).node;
|
|
56623
|
-
|
|
56624
|
-
if (!tmp) {
|
|
56625
|
-
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].NodeNotFound();
|
|
56626
|
-
}
|
|
56627
|
-
|
|
56628
|
-
if (tmp.parentNode) {
|
|
56629
|
-
nodes = tmp.parentNode.childNodes;
|
|
56630
|
-
} else {
|
|
56631
|
-
nodes = tmp.rootNodes;
|
|
56632
|
-
}
|
|
56633
|
-
} else {
|
|
56634
|
-
//在复合节点当中
|
|
56635
|
-
var ancestor = path1.slice(0, index).join("/");
|
|
56636
|
-
var _tmp = hoEditorFactory.docTree.findNodePositionByPath(ancestor).node;
|
|
56637
|
-
|
|
56638
|
-
if (!_tmp) {
|
|
56639
|
-
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].NodeNotFound();
|
|
56640
|
-
}
|
|
56641
|
-
|
|
56642
|
-
nodes = _tmp.childNodes;
|
|
56643
|
-
}
|
|
56644
|
-
|
|
56645
|
-
return {
|
|
56646
|
-
level: index,
|
|
56647
|
-
child: nodes
|
|
56648
|
-
};
|
|
56649
|
-
}
|
|
56650
|
-
}]);
|
|
56651
|
-
|
|
56652
|
-
return StructureNode;
|
|
56653
|
-
}();
|
|
56654
|
-
|
|
56655
56327
|
/***/ }),
|
|
56656
56328
|
|
|
56657
56329
|
/***/ "5b81":
|
|
@@ -63673,8 +63345,8 @@ var createPrintHTMLIframe = function createPrintHTMLIframe(printStyle) {
|
|
|
63673
63345
|
printIframe.style.width = "0px";
|
|
63674
63346
|
printIframe.style.height = "0px";
|
|
63675
63347
|
printIframe.style.visibility = 'hidden';
|
|
63676
|
-
printIframe === null || printIframe === void 0 ? void 0 : (_printIframe$contentW = printIframe.contentWindow) === null || _printIframe$contentW === void 0 ? void 0 : _printIframe$contentW.document.head.appendChild(printStyle);
|
|
63677
63348
|
document.body.appendChild(printIframe);
|
|
63349
|
+
printIframe === null || printIframe === void 0 ? void 0 : (_printIframe$contentW = printIframe.contentWindow) === null || _printIframe$contentW === void 0 ? void 0 : _printIframe$contentW.document.head.appendChild(printStyle);
|
|
63678
63350
|
return printIframe;
|
|
63679
63351
|
};
|
|
63680
63352
|
|
|
@@ -72930,27 +72602,9 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
72930
72602
|
// EXTERNAL MODULE: ./src/editor/events/NodeChangingEvent.ts
|
|
72931
72603
|
var NodeChangingEvent = __webpack_require__("c119");
|
|
72932
72604
|
|
|
72933
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
72934
|
-
var ParagraphNode = __webpack_require__("1551");
|
|
72935
|
-
|
|
72936
|
-
// EXTERNAL MODULE: ./src/editor/utils/StructureNode.ts
|
|
72937
|
-
var StructureNode = __webpack_require__("5b65");
|
|
72938
|
-
|
|
72939
72605
|
// EXTERNAL MODULE: ./src/editor/undoRedo/NodesDeleteUndoUnit.ts
|
|
72940
72606
|
var NodesDeleteUndoUnit = __webpack_require__("e3c0");
|
|
72941
72607
|
|
|
72942
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
72943
|
-
var TextInputFieldNode = __webpack_require__("4b89");
|
|
72944
|
-
|
|
72945
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
72946
|
-
var MarkNode = __webpack_require__("053b");
|
|
72947
|
-
|
|
72948
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextNode.ts
|
|
72949
|
-
var TextNode = __webpack_require__("110d");
|
|
72950
|
-
|
|
72951
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ControlNode.ts
|
|
72952
|
-
var ControlNode = __webpack_require__("8841");
|
|
72953
|
-
|
|
72954
72608
|
// CONCATENATED MODULE: ./src/editor/EditorController.ts
|
|
72955
72609
|
|
|
72956
72610
|
|
|
@@ -72959,12 +72613,6 @@ var ControlNode = __webpack_require__("8841");
|
|
|
72959
72613
|
|
|
72960
72614
|
|
|
72961
72615
|
|
|
72962
|
-
|
|
72963
|
-
|
|
72964
|
-
|
|
72965
|
-
|
|
72966
|
-
|
|
72967
|
-
|
|
72968
72616
|
var EditorController_EditorController = /*#__PURE__*/function () {
|
|
72969
72617
|
// private _timer1: number | undefined;
|
|
72970
72618
|
// private _pasteNodes!: Array<Array<BaseNode>>;
|
|
@@ -73066,94 +72714,16 @@ var EditorController_EditorController = /*#__PURE__*/function () {
|
|
|
73066
72714
|
|
|
73067
72715
|
if (!hoeditorfactory.docTree.curDomRange.isEmpty) {
|
|
73068
72716
|
hoeditorfactory.structureNode.Copy(hoeditorfactory.docTree.curDomRange, e.clipboardData, undefined, "copy");
|
|
73069
|
-
}
|
|
73070
|
-
// const range = hoeditorfactory.docTree.curDomRange.normalize();
|
|
73071
|
-
// const startPosition = hoeditorfactory.docTree.findNodePositionByPath(range.startPath);
|
|
73072
|
-
// const endPosition = hoeditorfactory.docTree.findNodePositionByPath(range.endPath);
|
|
73073
|
-
// const start = startPosition.node;
|
|
73074
|
-
// const end = endPosition.node;
|
|
73075
|
-
// const ps = hoeditorfactory.docTree.getNodeParaNode(start!);
|
|
73076
|
-
// nodes.push(ps);
|
|
73077
|
-
// if (start instanceof TextNode && start == end) {
|
|
73078
|
-
// const aret = new TextNode(start.rootNodes, start.parentNode, start.nodeType, start.text, start.styleIndex);
|
|
73079
|
-
// const text = aret.text;
|
|
73080
|
-
// aret.text = text.substring(startPosition.childIndex + 1, endPosition.childIndex + 1)
|
|
73081
|
-
// nodes.push(aret);
|
|
73082
|
-
// } else {
|
|
73083
|
-
// if (start && start instanceof TextNode) {
|
|
73084
|
-
// const aret = new TextNode(start.rootNodes, start.parentNode, start.nodeType, start.text, start.styleIndex);
|
|
73085
|
-
// aret.deleteByIndex(0, startPosition.childIndex);
|
|
73086
|
-
// nodes.push(aret);
|
|
73087
|
-
// }
|
|
73088
|
-
// let next;
|
|
73089
|
-
// for (; ;) {
|
|
73090
|
-
// if (!next) {
|
|
73091
|
-
// next = start?.nextLeaf();
|
|
73092
|
-
// } else {
|
|
73093
|
-
// next = next?.nextLeaf();
|
|
73094
|
-
// }
|
|
73095
|
-
// if (next != end) {
|
|
73096
|
-
// nodes.push(next!);
|
|
73097
|
-
// }
|
|
73098
|
-
// if (next == end) {
|
|
73099
|
-
// if (end && end instanceof TextNode) {
|
|
73100
|
-
// const aret = new TextNode(end.rootNodes, end.parentNode, end.nodeType, end.text, end.styleIndex);
|
|
73101
|
-
// aret.deleteByIndex(endPosition.childIndex + 1, aret.text.length);
|
|
73102
|
-
// nodes.push(aret);
|
|
73103
|
-
// } else {
|
|
73104
|
-
// nodes.push(next!);
|
|
73105
|
-
// }
|
|
73106
|
-
// break;
|
|
73107
|
-
// }
|
|
73108
|
-
// }
|
|
73109
|
-
// }
|
|
73110
|
-
// e.clipboardData.setData('text/plain', StructureConvert.instance.nodes2Text(nodes));
|
|
73111
|
-
// e.clipboardData.setData('text/html', StructureConvert.instance.nodes2Html(nodes));
|
|
73112
|
-
// e.clipboardData.setData('application/json', StructureConvert.instance.nodes2Json(nodes));
|
|
73113
|
-
|
|
72717
|
+
}
|
|
73114
72718
|
|
|
73115
72719
|
e.preventDefault();
|
|
73116
72720
|
});
|
|
73117
72721
|
this.editor.input.addEventListener("paste", function (e) {
|
|
73118
72722
|
if (!e || !e.clipboardData) {
|
|
73119
72723
|
return;
|
|
73120
|
-
} //console.log(hoeditorfactory.drawTree.paintStatus);
|
|
73121
|
-
|
|
73122
|
-
|
|
73123
|
-
if (hoeditorfactory.drawTree.paintStatus === PaintState.psReadOnly || hoeditorfactory.drawTree.paintStatus === PaintState.psPreview || hoeditorfactory.drawTree.paintStatus === PaintState.psPrint) {
|
|
73124
|
-
return;
|
|
73125
|
-
}
|
|
73126
|
-
|
|
73127
|
-
var startPath = hoeditorfactory.docTree.curDomRange.startPath;
|
|
73128
|
-
var parentNode = hoeditorfactory.docTree.getParentNode(startPath);
|
|
73129
|
-
|
|
73130
|
-
if (parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && !parentNode.canModifyContent) {
|
|
73131
|
-
return;
|
|
73132
|
-
}
|
|
73133
|
-
|
|
73134
|
-
var jsonData = e.clipboardData.getData("application/json");
|
|
73135
|
-
var htmlData = e.clipboardData.getData("text/html");
|
|
73136
|
-
var textData = e.clipboardData.getData("text/plain");
|
|
73137
|
-
var rtfData = e.clipboardData.getData("text/rtf");
|
|
73138
|
-
var nodes;
|
|
73139
|
-
|
|
73140
|
-
if (jsonData) {
|
|
73141
|
-
nodes = hoeditorfactory.structureNode.Parse(StructureNode["a" /* ClipboardType */].ctJSON, jsonData);
|
|
73142
|
-
} else if (htmlData) {
|
|
73143
|
-
//console.log(htmlData);
|
|
73144
|
-
nodes = hoeditorfactory.structureNode.Parse(StructureNode["a" /* ClipboardType */].ctHTML, htmlData);
|
|
73145
|
-
} else {
|
|
73146
|
-
nodes = hoeditorfactory.structureNode.Parse(StructureNode["a" /* ClipboardType */].ctText, textData);
|
|
73147
|
-
}
|
|
73148
|
-
|
|
73149
|
-
if (!hoeditorfactory.pasteBase) {
|
|
73150
|
-
for (var n = 0; n < nodes.length; n++) {
|
|
73151
|
-
var node = nodes[n];
|
|
73152
|
-
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;
|
|
73153
|
-
}
|
|
73154
72724
|
}
|
|
73155
72725
|
|
|
73156
|
-
hoeditorfactory.
|
|
72726
|
+
hoeditorfactory.editController.editKeyPaste(e.clipboardData);
|
|
73157
72727
|
e.preventDefault();
|
|
73158
72728
|
});
|
|
73159
72729
|
}
|
|
@@ -73925,6 +73495,9 @@ var IDrawInfos = __webpack_require__("8bda");
|
|
|
73925
73495
|
// EXTERNAL MODULE: ./src/editor/dom/NodePosition.ts
|
|
73926
73496
|
var NodePosition = __webpack_require__("ca11");
|
|
73927
73497
|
|
|
73498
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
73499
|
+
var ParagraphNode = __webpack_require__("1551");
|
|
73500
|
+
|
|
73928
73501
|
// EXTERNAL MODULE: ./src/editor/dom/domNode/Paragraph.ts
|
|
73929
73502
|
var Paragraph = __webpack_require__("c7e5");
|
|
73930
73503
|
|
|
@@ -74073,6 +73646,9 @@ var DrawSelect_DrawSelect = /*#__PURE__*/function (_createjs$Shape) {
|
|
|
74073
73646
|
|
|
74074
73647
|
return DrawSelect;
|
|
74075
73648
|
}(createjs.Shape);
|
|
73649
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextNode.ts
|
|
73650
|
+
var TextNode = __webpack_require__("110d");
|
|
73651
|
+
|
|
74076
73652
|
// EXTERNAL MODULE: ./src/editor/events/SelectionChangeEvent.ts
|
|
74077
73653
|
var SelectionChangeEvent = __webpack_require__("d22d");
|
|
74078
73654
|
|
|
@@ -74088,6 +73664,9 @@ var TableNode = __webpack_require__("49d1");
|
|
|
74088
73664
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTable.ts
|
|
74089
73665
|
var DrawTable = __webpack_require__("7d22");
|
|
74090
73666
|
|
|
73667
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
73668
|
+
var TextInputFieldNode = __webpack_require__("4b89");
|
|
73669
|
+
|
|
74091
73670
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/RadioAndCheckBoxNode.ts
|
|
74092
73671
|
var RadioAndCheckBoxNode = __webpack_require__("4e47");
|
|
74093
73672
|
|
|
@@ -74109,6 +73688,9 @@ var DrawPageCell = __webpack_require__("5964");
|
|
|
74109
73688
|
// EXTERNAL MODULE: ./src/editor/PrintStatus.ts + 5 modules
|
|
74110
73689
|
var PrintStatus = __webpack_require__("2381");
|
|
74111
73690
|
|
|
73691
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
73692
|
+
var MarkNode = __webpack_require__("053b");
|
|
73693
|
+
|
|
74112
73694
|
// EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawPageMainDoc.ts
|
|
74113
73695
|
var DrawPageMainDoc = __webpack_require__("65aa");
|
|
74114
73696
|
|
|
@@ -74260,6 +73842,11 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
74260
73842
|
|
|
74261
73843
|
|
|
74262
73844
|
Object(createClass["a" /* default */])(DrawTree, [{
|
|
73845
|
+
key: "editor",
|
|
73846
|
+
get: function get() {
|
|
73847
|
+
return this._editor;
|
|
73848
|
+
}
|
|
73849
|
+
}, {
|
|
74263
73850
|
key: "drawPages",
|
|
74264
73851
|
get: function get() {
|
|
74265
73852
|
return this._drawPages;
|
|
@@ -111244,7 +110831,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
111244
110831
|
}
|
|
111245
110832
|
|
|
111246
110833
|
dline.y = dTop;
|
|
111247
|
-
|
|
110834
|
+
|
|
110835
|
+
if (!this._allowAcrossPage && nextDline === dlines.length - 1 && dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_12__[/* DrawLine */ "a"] && dline.drawItems.length == 0) {
|
|
110836
|
+
dTop += 0;
|
|
110837
|
+
} else {
|
|
110838
|
+
dTop += dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
|
|
110839
|
+
}
|
|
110840
|
+
|
|
111248
110841
|
if (this.allowAcrossPage) dRestHeight = this._maxHeight - dTop;
|
|
111249
110842
|
this._docHeight = dTop;
|
|
111250
110843
|
this._usedHeight = dTop;
|
|
@@ -111401,7 +110994,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
111401
110994
|
}
|
|
111402
110995
|
|
|
111403
110996
|
dline.y = dTop;
|
|
111404
|
-
|
|
110997
|
+
|
|
110998
|
+
if (nextDline === dlines.length - 1 && dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_12__[/* DrawLine */ "a"] && dline.drawItems.length == 0) {
|
|
110999
|
+
dTop += 0;
|
|
111000
|
+
} else {
|
|
111001
|
+
dTop += dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
|
|
111002
|
+
}
|
|
111003
|
+
|
|
111405
111004
|
this._docHeight = dTop;
|
|
111406
111005
|
this._usedHeight = dTop;
|
|
111407
111006
|
this._lastDrawLine = dline;
|
|
@@ -135001,6 +134600,12 @@ var DrawHeader = /*#__PURE__*/function (_DrawPageHeaderFooter) {
|
|
|
135001
134600
|
|
|
135002
134601
|
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);
|
|
135003
134602
|
}
|
|
134603
|
+
}, {
|
|
134604
|
+
key: "actualHeight",
|
|
134605
|
+
get: function get() {
|
|
134606
|
+
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
134607
|
+
return Math.max(Math.min(this.docHeight, this.maxHeight), hoeditfactory.pageProperty.topMarginPixes - hoeditfactory.pageProperty.headerYPixes);
|
|
134608
|
+
}
|
|
135004
134609
|
}, {
|
|
135005
134610
|
key: "paintArea",
|
|
135006
134611
|
value: function paintArea(dlines, startIndex, aTop //顶点
|
|
@@ -155834,6 +155439,12 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
155834
155439
|
throw new Error("错误的绘制表格");
|
|
155835
155440
|
}
|
|
155836
155441
|
}
|
|
155442
|
+
/**
|
|
155443
|
+
* @description 表格的移动重绘
|
|
155444
|
+
* @param prevdPageTable 前一个绘制表格
|
|
155445
|
+
* @param dRestHeight 页剩余高度
|
|
155446
|
+
*/
|
|
155447
|
+
|
|
155837
155448
|
}, {
|
|
155838
155449
|
key: "drawUpdate",
|
|
155839
155450
|
value: function drawUpdate(prevdPageTable, dRestHeight) {
|
|
@@ -162621,7 +162232,10 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
162621
162232
|
case 0:
|
|
162622
162233
|
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
162623
162234
|
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);
|
|
162624
|
-
|
|
162235
|
+
_context2.next = 4;
|
|
162236
|
+
return hoEditorFactory.docTree.change(changeEvent);
|
|
162237
|
+
|
|
162238
|
+
case 4:
|
|
162625
162239
|
hoEditorFactory.docTree.curDomRange.setSamePath(this.strAfterPath);
|
|
162626
162240
|
strAfterPath = this.strAfterPath;
|
|
162627
162241
|
|
|
@@ -162639,7 +162253,7 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
162639
162253
|
hoEditorFactory.timeStamp.update();
|
|
162640
162254
|
}
|
|
162641
162255
|
|
|
162642
|
-
case
|
|
162256
|
+
case 9:
|
|
162643
162257
|
case "end":
|
|
162644
162258
|
return _context2.stop();
|
|
162645
162259
|
}
|
|
@@ -169804,12 +169418,12 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
169804
169418
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
169805
169419
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
169806
169420
|
|
|
169807
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
169808
|
-
var
|
|
169421
|
+
// 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&
|
|
169422
|
+
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()}
|
|
169809
169423
|
var staticRenderFns = []
|
|
169810
169424
|
|
|
169811
169425
|
|
|
169812
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
169426
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=5a5781ca&
|
|
169813
169427
|
|
|
169814
169428
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
169815
169429
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -170720,12 +170334,12 @@ function isPromise(obj) {
|
|
|
170720
170334
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
170721
170335
|
}
|
|
170722
170336
|
|
|
170723
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
170724
|
-
var
|
|
170725
|
-
var
|
|
170337
|
+
// 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&
|
|
170338
|
+
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)}
|
|
170339
|
+
var HoDocvue_type_template_id_285668dd_staticRenderFns = []
|
|
170726
170340
|
|
|
170727
170341
|
|
|
170728
|
-
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=
|
|
170342
|
+
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=285668dd&
|
|
170729
170343
|
|
|
170730
170344
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
170731
170345
|
var toConsumableArray = __webpack_require__("2909");
|
|
@@ -170742,7 +170356,7 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
170742
170356
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
170743
170357
|
var es_string_replace = __webpack_require__("5319");
|
|
170744
170358
|
|
|
170745
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
170359
|
+
// 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&
|
|
170746
170360
|
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)}
|
|
170747
170361
|
var HoPagevue_type_template_id_35f1e03c_scoped_true_staticRenderFns = []
|
|
170748
170362
|
|
|
@@ -171843,7 +171457,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
171843
171457
|
|
|
171844
171458
|
return DrawDomLevel;
|
|
171845
171459
|
}();
|
|
171846
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
171460
|
+
// 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&
|
|
171847
171461
|
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)])}
|
|
171848
171462
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_staticRenderFns = []
|
|
171849
171463
|
|
|
@@ -172018,7 +171632,7 @@ var component = normalizeComponent(
|
|
|
172018
171632
|
)
|
|
172019
171633
|
|
|
172020
171634
|
/* harmony default export */ var components_HoHeadFoot = (component.exports);
|
|
172021
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
171635
|
+
// 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&
|
|
172022
171636
|
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)}
|
|
172023
171637
|
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_staticRenderFns = []
|
|
172024
171638
|
|
|
@@ -172430,7 +172044,7 @@ var HoPage_component = normalizeComponent(
|
|
|
172430
172044
|
)
|
|
172431
172045
|
|
|
172432
172046
|
/* harmony default export */ var components_HoPage = (HoPage_component.exports);
|
|
172433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
172047
|
+
// 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&
|
|
172434
172048
|
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:({
|
|
172435
172049
|
right: _vm.styleRight,
|
|
172436
172050
|
bottom: _vm.styleBottom,
|
|
@@ -172601,7 +172215,7 @@ var HoToPage_component = normalizeComponent(
|
|
|
172601
172215
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
172602
172216
|
|
|
172603
172217
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
172604
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
172218
|
+
// 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&
|
|
172605
172219
|
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)}
|
|
172606
172220
|
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("无选项")])])}]
|
|
172607
172221
|
|
|
@@ -172683,7 +172297,7 @@ var textParams = {
|
|
|
172683
172297
|
readType: false,
|
|
172684
172298
|
keyValue: ''
|
|
172685
172299
|
};
|
|
172686
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
172300
|
+
// 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&
|
|
172687
172301
|
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)])])}
|
|
172688
172302
|
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("六")])])}]
|
|
172689
172303
|
|
|
@@ -175510,7 +175124,7 @@ var PoperSelect_component = normalizeComponent(
|
|
|
175510
175124
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
175511
175125
|
|
|
175512
175126
|
/* harmony default export */ var poperSelect = (PoperSelect);
|
|
175513
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
175127
|
+
// 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&
|
|
175514
175128
|
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)}
|
|
175515
175129
|
var TableCellPopervue_type_template_id_7a074a84_scoped_true_staticRenderFns = []
|
|
175516
175130
|
|
|
@@ -177744,10 +177358,17 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
177744
177358
|
};
|
|
177745
177359
|
|
|
177746
177360
|
if (node instanceof SignNode["a" /* SignNode */]) {
|
|
177747
|
-
|
|
177748
|
-
|
|
177749
|
-
|
|
177750
|
-
|
|
177361
|
+
if (node.signType && Number(node.signType) === 1) {
|
|
177362
|
+
this.$emit("dblNodeClick", {
|
|
177363
|
+
node: this.getCurrentSelectNode,
|
|
177364
|
+
type: "multi-sign"
|
|
177365
|
+
});
|
|
177366
|
+
} else {
|
|
177367
|
+
this.$emit("dblNodeClick", {
|
|
177368
|
+
node: this.getCurrentSelectNode,
|
|
177369
|
+
type: "sign"
|
|
177370
|
+
});
|
|
177371
|
+
}
|
|
177751
177372
|
} else if (node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
177752
177373
|
if (node.isReadOnly && node.text.replace(/\s*/g, "") !== "") {
|
|
177753
177374
|
return false;
|
|
@@ -177992,8 +177613,8 @@ HoDocvue_type_script_lang_ts_HoDoc = __decorate([vue_class_component_esm({
|
|
|
177992
177613
|
|
|
177993
177614
|
var HoDoc_component = normalizeComponent(
|
|
177994
177615
|
components_HoDocvue_type_script_lang_ts_,
|
|
177995
|
-
|
|
177996
|
-
|
|
177616
|
+
HoDocvue_type_template_id_285668dd_render,
|
|
177617
|
+
HoDocvue_type_template_id_285668dd_staticRenderFns,
|
|
177997
177618
|
false,
|
|
177998
177619
|
null,
|
|
177999
177620
|
null,
|
|
@@ -183057,9 +182678,503 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
183057
182678
|
|
|
183058
182679
|
return StructureConvert;
|
|
183059
182680
|
}();
|
|
183060
|
-
// EXTERNAL MODULE: ./
|
|
183061
|
-
var
|
|
182681
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.to-json.js
|
|
182682
|
+
var web_url_to_json = __webpack_require__("bf19");
|
|
183062
182683
|
|
|
182684
|
+
// EXTERNAL MODULE: ./src/editor/events/Exception.ts
|
|
182685
|
+
var Exception = __webpack_require__("ff91");
|
|
182686
|
+
|
|
182687
|
+
// EXTERNAL MODULE: ./src/editor/dom/NodePosition.ts
|
|
182688
|
+
var NodePosition = __webpack_require__("ca11");
|
|
182689
|
+
|
|
182690
|
+
// CONCATENATED MODULE: ./src/editor/utils/StructureNode.ts
|
|
182691
|
+
|
|
182692
|
+
|
|
182693
|
+
|
|
182694
|
+
|
|
182695
|
+
|
|
182696
|
+
|
|
182697
|
+
|
|
182698
|
+
|
|
182699
|
+
|
|
182700
|
+
|
|
182701
|
+
|
|
182702
|
+
|
|
182703
|
+
|
|
182704
|
+
|
|
182705
|
+
|
|
182706
|
+
// import { HTMLConverter2 } from "./HTMLConverter";
|
|
182707
|
+
|
|
182708
|
+
|
|
182709
|
+
|
|
182710
|
+
|
|
182711
|
+
|
|
182712
|
+
|
|
182713
|
+
|
|
182714
|
+
|
|
182715
|
+
|
|
182716
|
+
var ClipboardType;
|
|
182717
|
+
|
|
182718
|
+
(function (ClipboardType) {
|
|
182719
|
+
ClipboardType["ctText"] = "text/plain";
|
|
182720
|
+
ClipboardType["ctHTML"] = "text/html";
|
|
182721
|
+
ClipboardType["ctJSON"] = "application/json";
|
|
182722
|
+
})(ClipboardType || (ClipboardType = {}));
|
|
182723
|
+
|
|
182724
|
+
var StructureNode_NodeConvert = /*#__PURE__*/function () {
|
|
182725
|
+
function NodeConvert(hoEditorFactoryID) {
|
|
182726
|
+
Object(classCallCheck["a" /* default */])(this, NodeConvert);
|
|
182727
|
+
|
|
182728
|
+
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
182729
|
+
}
|
|
182730
|
+
|
|
182731
|
+
Object(createClass["a" /* default */])(NodeConvert, [{
|
|
182732
|
+
key: "FromJSON",
|
|
182733
|
+
value: function FromJSON(data, rootPath) {
|
|
182734
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182735
|
+
var nodes = new Array();
|
|
182736
|
+
var rootNodes = new Array();
|
|
182737
|
+
|
|
182738
|
+
if (rootPath === "main") {
|
|
182739
|
+
rootNodes = hoEditorFactory.docTree.mainNodes;
|
|
182740
|
+
}
|
|
182741
|
+
|
|
182742
|
+
var jsonArray = JSON.parse(data);
|
|
182743
|
+
var path = hoEditorFactory.docTree.curDomRange.normalize().startPath;
|
|
182744
|
+
var parentNode = hoEditorFactory.docTree.getParentNode(path);
|
|
182745
|
+
var aRootNodes = rootPath ? rootNodes : hoEditorFactory.docTree.curDomRange.normalize().npStart.roots;
|
|
182746
|
+
|
|
182747
|
+
for (var i = 0; i < jsonArray.length; i++) {
|
|
182748
|
+
var nodeJson = jsonArray[i];
|
|
182749
|
+
|
|
182750
|
+
if (nodeJson) {
|
|
182751
|
+
var node = hoEditorFactory.structureConvert.convertNode(nodeJson, aRootNodes, rootPath ? null : parentNode, undefined, true);
|
|
182752
|
+
|
|
182753
|
+
if (!node) {
|
|
182754
|
+
return [];
|
|
182755
|
+
}
|
|
182756
|
+
|
|
182757
|
+
if (node) {
|
|
182758
|
+
if (node instanceof TextNode["a" /* TextNode */] && node.text.length === 0) {
|
|
182759
|
+
continue;
|
|
182760
|
+
}
|
|
182761
|
+
|
|
182762
|
+
if (rootPath) {
|
|
182763
|
+
node.rootPath = rootPath;
|
|
182764
|
+
}
|
|
182765
|
+
|
|
182766
|
+
nodes.push(node);
|
|
182767
|
+
|
|
182768
|
+
if (rootPath && rootPath.split('/').length > 1) {
|
|
182769
|
+
rootNodes.push(node);
|
|
182770
|
+
node.rootNodes = rootNodes;
|
|
182771
|
+
}
|
|
182772
|
+
}
|
|
182773
|
+
}
|
|
182774
|
+
}
|
|
182775
|
+
|
|
182776
|
+
return nodes;
|
|
182777
|
+
}
|
|
182778
|
+
}, {
|
|
182779
|
+
key: "FromHTML",
|
|
182780
|
+
value: function FromHTML(data) {
|
|
182781
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182782
|
+
var rx = /<body[^>]*>([\s\S]+?)<\/body>/i;
|
|
182783
|
+
var r = rx.exec(data);
|
|
182784
|
+
var bodyHtml;
|
|
182785
|
+
|
|
182786
|
+
if (!r) {
|
|
182787
|
+
return [];
|
|
182788
|
+
} else {
|
|
182789
|
+
bodyHtml = "<div>" + r[1] + "</div>";
|
|
182790
|
+
} //console.log(bodyHtml);
|
|
182791
|
+
|
|
182792
|
+
|
|
182793
|
+
var nodes = hoEditorFactory.htmlConverter.Exec(jquery_default()(bodyHtml)[0], "");
|
|
182794
|
+
return nodes;
|
|
182795
|
+
}
|
|
182796
|
+
}, {
|
|
182797
|
+
key: "FromText",
|
|
182798
|
+
value: function FromText(data) {
|
|
182799
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182800
|
+
var nodes = new Array();
|
|
182801
|
+
var textData = data;
|
|
182802
|
+
|
|
182803
|
+
if (textData) {
|
|
182804
|
+
//根据换行符切割
|
|
182805
|
+
var uidArr = textData.split(/[\r\n]+/);
|
|
182806
|
+
|
|
182807
|
+
for (var i = 0; i < uidArr.length; i++) {
|
|
182808
|
+
if (!uidArr[i]) continue;
|
|
182809
|
+
|
|
182810
|
+
if (i > 0) {
|
|
182811
|
+
var paraNode = new ParagraphNode["a" /* ParagraphNode */](this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, 0);
|
|
182812
|
+
nodes.push(paraNode);
|
|
182813
|
+
}
|
|
182814
|
+
|
|
182815
|
+
var textNode = new TextNode["a" /* TextNode */](this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, BaseNode["b" /* NodeType */].ntText, uidArr[i], 0);
|
|
182816
|
+
nodes.push(textNode);
|
|
182817
|
+
}
|
|
182818
|
+
}
|
|
182819
|
+
|
|
182820
|
+
return nodes;
|
|
182821
|
+
}
|
|
182822
|
+
}, {
|
|
182823
|
+
key: "toJSON",
|
|
182824
|
+
value: function toJSON(recs, isClearValue, type) {
|
|
182825
|
+
var _this = this;
|
|
182826
|
+
|
|
182827
|
+
var jsons = new Array();
|
|
182828
|
+
|
|
182829
|
+
if (recs[0].node instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
182830
|
+
if (recs[0].node.paraNo === 0) {
|
|
182831
|
+
recs.splice(0, 1);
|
|
182832
|
+
}
|
|
182833
|
+
}
|
|
182834
|
+
|
|
182835
|
+
recs.forEach(function (value, index) {
|
|
182836
|
+
if (isClearValue) {
|
|
182837
|
+
if (value.node instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
182838
|
+
value.node.text = "";
|
|
182839
|
+
value.node.childNodes.splice(1, value.node.childNodes.length - 2);
|
|
182840
|
+
}
|
|
182841
|
+
|
|
182842
|
+
if (value.node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
182843
|
+
value.node.text = "";
|
|
182844
|
+
}
|
|
182845
|
+
|
|
182846
|
+
if (value.node instanceof DownListNode["a" /* DownListNode */]) {
|
|
182847
|
+
value.node.text = "";
|
|
182848
|
+
}
|
|
182849
|
+
}
|
|
182850
|
+
|
|
182851
|
+
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 */]) {
|
|
182852
|
+
jsons.push(value.node.node2Json(value.range, true, type));
|
|
182853
|
+
} else {
|
|
182854
|
+
//选区有MarkNode时:如果是开始标记,判断对应的结束标记是否在选区内,如果在则复制该节点,反之不复制;
|
|
182855
|
+
//如果是结束标记,判断对应的开始标记是否在选区内,如果在则复制该节点,反之不复制
|
|
182856
|
+
if (value.node instanceof MarkNode["a" /* MarkNode */] && value.node.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
182857
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(_this._hoEditorFactoryID);
|
|
182858
|
+
var range = hoEditorFactory.docTree.curDomRange.normalize();
|
|
182859
|
+
|
|
182860
|
+
if (value.node.MarkNodeType === MarkNode["b" /* MarkNodeType */].mtStart) {
|
|
182861
|
+
var result = value.node.parentNode.childNodes[value.node.parentNode.childNodes.length - 1].isTotalSelected(range, true);
|
|
182862
|
+
|
|
182863
|
+
if (result) {
|
|
182864
|
+
jsons.push(value.node.node2Json(value.range, true));
|
|
182865
|
+
}
|
|
182866
|
+
}
|
|
182867
|
+
|
|
182868
|
+
if (value.node.MarkNodeType === MarkNode["b" /* MarkNodeType */].mtEnd) {
|
|
182869
|
+
var _result = value.node.parentNode.childNodes[0].isTotalSelected(range, true);
|
|
182870
|
+
|
|
182871
|
+
if (_result) {
|
|
182872
|
+
jsons.push(value.node.node2Json(value.range, true));
|
|
182873
|
+
}
|
|
182874
|
+
}
|
|
182875
|
+
} else {
|
|
182876
|
+
jsons.push(value.node.node2Json(value.range, true));
|
|
182877
|
+
}
|
|
182878
|
+
}
|
|
182879
|
+
});
|
|
182880
|
+
this._jsondata = JSON.stringify(jsons); //console.log(JSON.stringify(jsons));
|
|
182881
|
+
|
|
182882
|
+
return JSON.stringify(jsons);
|
|
182883
|
+
} // private dataURLtoFile(dataurl: string, filename = 'file') {
|
|
182884
|
+
// const arr = dataurl.split(',')
|
|
182885
|
+
// const mime = arr[0].match(/:(.*?);/)[1]
|
|
182886
|
+
// const suffix = mime.split('/')[1]
|
|
182887
|
+
// const bstr = atob(arr[1])
|
|
182888
|
+
// let n = bstr.length
|
|
182889
|
+
// const u8arr = new Uint8Array(n)
|
|
182890
|
+
// while (n--) {
|
|
182891
|
+
// u8arr[n] = bstr.charCodeAt(n)
|
|
182892
|
+
// }
|
|
182893
|
+
// return new File([u8arr], `${filename}.${suffix}`, {
|
|
182894
|
+
// type: mime
|
|
182895
|
+
// })
|
|
182896
|
+
// }
|
|
182897
|
+
|
|
182898
|
+
}, {
|
|
182899
|
+
key: "toTHML",
|
|
182900
|
+
value: function toTHML(recs) {
|
|
182901
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
182902
|
+
if (recs) this.toJSON(recs);
|
|
182903
|
+
var jsondata = JSON.parse(this._jsondata);
|
|
182904
|
+
if (!jsondata) return "";
|
|
182905
|
+
return hoEditorFactory.toHtmlConverter.Exec(this._hoEditorFactoryID, jsondata);
|
|
182906
|
+
}
|
|
182907
|
+
}, {
|
|
182908
|
+
key: "toText",
|
|
182909
|
+
value: function toText(recs) {
|
|
182910
|
+
if (recs) this.toJSON(recs);
|
|
182911
|
+
var jsondata = JSON.parse(this._jsondata);
|
|
182912
|
+
if (!jsondata) return "";
|
|
182913
|
+
var paragraphText = "";
|
|
182914
|
+
|
|
182915
|
+
var json2text = function json2text(data) {
|
|
182916
|
+
for (var i = 0; i < data.length; i++) {
|
|
182917
|
+
var item = data[i];
|
|
182918
|
+
|
|
182919
|
+
if (item["nodeType"]) {
|
|
182920
|
+
if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntText]) {
|
|
182921
|
+
paragraphText += item.text;
|
|
182922
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntParagraph]) {
|
|
182923
|
+
if (i != 0) {
|
|
182924
|
+
paragraphText += "\n";
|
|
182925
|
+
}
|
|
182926
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntControl]) {
|
|
182927
|
+
paragraphText += item.text;
|
|
182928
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntField]) {
|
|
182929
|
+
json2text(item.childNodes.item);
|
|
182930
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntTable]) {
|
|
182931
|
+
if (Array.isArray(item.childNodes.item)) json2text(item.childNodes.item);
|
|
182932
|
+
} else if (item.nodeType == "ntRow") {
|
|
182933
|
+
if (i != 0) {
|
|
182934
|
+
paragraphText += "\n";
|
|
182935
|
+
}
|
|
182936
|
+
|
|
182937
|
+
json2text(item.childNodes.item);
|
|
182938
|
+
} else if (item.nodeType == BaseNode["b" /* NodeType */][BaseNode["b" /* NodeType */].ntCell]) {
|
|
182939
|
+
if (i != 0) paragraphText += "\t";
|
|
182940
|
+
json2text(item.childNodes.item);
|
|
182941
|
+
}
|
|
182942
|
+
} // else if (item.childNode) {
|
|
182943
|
+
// json2text(item.childNode);
|
|
182944
|
+
// }
|
|
182945
|
+
|
|
182946
|
+
}
|
|
182947
|
+
};
|
|
182948
|
+
|
|
182949
|
+
json2text(jsondata);
|
|
182950
|
+
return paragraphText;
|
|
182951
|
+
}
|
|
182952
|
+
}]);
|
|
182953
|
+
|
|
182954
|
+
return NodeConvert;
|
|
182955
|
+
}();
|
|
182956
|
+
/**
|
|
182957
|
+
* 结构化的节点范围记录
|
|
182958
|
+
*/
|
|
182959
|
+
|
|
182960
|
+
|
|
182961
|
+
var StructureNode_StructureRecord = /*#__PURE__*/function () {
|
|
182962
|
+
function StructureRecord(hoEditorFactoryID, startPath, Node, val) {
|
|
182963
|
+
Object(classCallCheck["a" /* default */])(this, StructureRecord);
|
|
182964
|
+
|
|
182965
|
+
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
182966
|
+
this._node = Node;
|
|
182967
|
+
this._path = startPath;
|
|
182968
|
+
this._range = val;
|
|
182969
|
+
}
|
|
182970
|
+
|
|
182971
|
+
Object(createClass["a" /* default */])(StructureRecord, [{
|
|
182972
|
+
key: "node",
|
|
182973
|
+
get: function get() {
|
|
182974
|
+
return this._node;
|
|
182975
|
+
}
|
|
182976
|
+
}, {
|
|
182977
|
+
key: "range",
|
|
182978
|
+
get: function get() {
|
|
182979
|
+
return this._range;
|
|
182980
|
+
}
|
|
182981
|
+
}]);
|
|
182982
|
+
|
|
182983
|
+
return StructureRecord;
|
|
182984
|
+
}();
|
|
182985
|
+
var StructureNode_StructureNode = /*#__PURE__*/function () {
|
|
182986
|
+
function StructureNode(hoEditorFactoryID) {
|
|
182987
|
+
Object(classCallCheck["a" /* default */])(this, StructureNode);
|
|
182988
|
+
|
|
182989
|
+
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
182990
|
+
this._Convertor = new StructureNode_NodeConvert(this._hoEditorFactoryID);
|
|
182991
|
+
}
|
|
182992
|
+
/**
|
|
182993
|
+
* Getter Convertor
|
|
182994
|
+
* @return {NodeConvert}
|
|
182995
|
+
*/
|
|
182996
|
+
|
|
182997
|
+
|
|
182998
|
+
Object(createClass["a" /* default */])(StructureNode, [{
|
|
182999
|
+
key: "Convertor",
|
|
183000
|
+
get: function get() {
|
|
183001
|
+
return this._Convertor;
|
|
183002
|
+
}
|
|
183003
|
+
}, {
|
|
183004
|
+
key: "jsondata",
|
|
183005
|
+
get: function get() {
|
|
183006
|
+
return this._json;
|
|
183007
|
+
}
|
|
183008
|
+
}, {
|
|
183009
|
+
key: "htmldata",
|
|
183010
|
+
get: function get() {
|
|
183011
|
+
return this._html;
|
|
183012
|
+
}
|
|
183013
|
+
}, {
|
|
183014
|
+
key: "textdata",
|
|
183015
|
+
get: function get() {
|
|
183016
|
+
return this._text;
|
|
183017
|
+
}
|
|
183018
|
+
/**
|
|
183019
|
+
* 返回节点开始路径,即前一个节点的最后路径
|
|
183020
|
+
* @param node 节点
|
|
183021
|
+
*/
|
|
183022
|
+
|
|
183023
|
+
}, {
|
|
183024
|
+
key: "getPrevLastPath",
|
|
183025
|
+
value: function getPrevLastPath(node) {
|
|
183026
|
+
var prev = node.range();
|
|
183027
|
+
return prev.from;
|
|
183028
|
+
}
|
|
183029
|
+
/**
|
|
183030
|
+
* 复制时候结构化的存储,粘贴时候才能带结构的输出
|
|
183031
|
+
* @param dom
|
|
183032
|
+
* @param clipboard
|
|
183033
|
+
*/
|
|
183034
|
+
|
|
183035
|
+
}, {
|
|
183036
|
+
key: "Copy",
|
|
183037
|
+
value: function Copy(dom, clipboard, isClearValue, type) {
|
|
183038
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
183039
|
+
var currDom;
|
|
183040
|
+
|
|
183041
|
+
if (dom instanceof DomRange["a" /* DomRange */]) {
|
|
183042
|
+
currDom = dom.normalize();
|
|
183043
|
+
} else {
|
|
183044
|
+
var tmp = dom[0].range();
|
|
183045
|
+
currDom = new DomRange["a" /* DomRange */](this._hoEditorFactoryID, tmp.from, hoEditorFactory.docTree.getNodeLastPath(dom[dom.length - 1]));
|
|
183046
|
+
}
|
|
183047
|
+
|
|
183048
|
+
var info = this.getAncestorsChild(currDom.startPath, currDom.endPath);
|
|
183049
|
+
var sstart = currDom.startPath.split("/").slice(0, info.level + 1).join("/");
|
|
183050
|
+
var send = currDom.endPath.split("/").slice(0, info.level + 1).join("/");
|
|
183051
|
+
var nstart = hoEditorFactory.docTree.findNodePositionByPath(sstart).node;
|
|
183052
|
+
var nend = hoEditorFactory.docTree.findNodePositionByPath(send).node;
|
|
183053
|
+
|
|
183054
|
+
if (!this._structoredNode) {
|
|
183055
|
+
this._structoredNode = new Array();
|
|
183056
|
+
}
|
|
183057
|
+
|
|
183058
|
+
this._structoredNode = []; //记录下路径结构
|
|
183059
|
+
|
|
183060
|
+
if (nstart == nend) {
|
|
183061
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
183062
|
+
from: currDom.startPath,
|
|
183063
|
+
to: currDom.endPath
|
|
183064
|
+
}));
|
|
183065
|
+
} else if (nstart instanceof CellNode["a" /* CellNode */] && nend instanceof CellNode["a" /* CellNode */] && nstart.table == nend.table) {
|
|
183066
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart.table), nstart.table, {
|
|
183067
|
+
from: nstart.range().from,
|
|
183068
|
+
to: nend.range().to
|
|
183069
|
+
}));
|
|
183070
|
+
} else {
|
|
183071
|
+
//开始结束不是同一个cellnode时候 cellnode一定是被全选的, 所以下面的节点from,to需要单独设置下
|
|
183072
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
183073
|
+
from: nstart instanceof TableNode["c" /* TableNode */] ? nstart.range().from : currDom.startPath
|
|
183074
|
+
}));
|
|
183075
|
+
|
|
183076
|
+
var node = nstart.nextSibling();
|
|
183077
|
+
|
|
183078
|
+
for (;;) {
|
|
183079
|
+
if (!node) {
|
|
183080
|
+
break;
|
|
183081
|
+
}
|
|
183082
|
+
|
|
183083
|
+
if (node == nend) {
|
|
183084
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nend), nend, {
|
|
183085
|
+
to: nend instanceof TableNode["c" /* TableNode */] ? nend.range().to : currDom.endPath
|
|
183086
|
+
}));
|
|
183087
|
+
|
|
183088
|
+
break;
|
|
183089
|
+
} else {
|
|
183090
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(node), node));
|
|
183091
|
+
|
|
183092
|
+
node = node.nextSibling();
|
|
183093
|
+
}
|
|
183094
|
+
}
|
|
183095
|
+
}
|
|
183096
|
+
|
|
183097
|
+
this._json = this._Convertor.toJSON(this._structoredNode, isClearValue, type);
|
|
183098
|
+
this._html = this._Convertor.toTHML();
|
|
183099
|
+
this._text = this._Convertor.toText();
|
|
183100
|
+
|
|
183101
|
+
if (clipboard) {
|
|
183102
|
+
clipboard.setData(ClipboardType.ctJSON, this._json);
|
|
183103
|
+
clipboard.setData(ClipboardType.ctHTML, this._html);
|
|
183104
|
+
clipboard.setData(ClipboardType.ctText, this._text);
|
|
183105
|
+
} else {
|
|
183106
|
+
return this._json;
|
|
183107
|
+
}
|
|
183108
|
+
}
|
|
183109
|
+
}, {
|
|
183110
|
+
key: "Parse",
|
|
183111
|
+
value: function Parse(ctype, data, rootPath) {
|
|
183112
|
+
if (ctype == ClipboardType.ctJSON) return this._Convertor.FromJSON(data, rootPath);
|
|
183113
|
+
if (ctype == ClipboardType.ctHTML) return this._Convertor.FromHTML(data);
|
|
183114
|
+
return this._Convertor.FromText(data);
|
|
183115
|
+
}
|
|
183116
|
+
/**
|
|
183117
|
+
* @description DocTree返回节点在树形结构中共同的父节点
|
|
183118
|
+
*/
|
|
183119
|
+
|
|
183120
|
+
}, {
|
|
183121
|
+
key: "getAncestorsChild",
|
|
183122
|
+
value: function getAncestorsChild(Spath1, Spath2) {
|
|
183123
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
183124
|
+
var path1 = Spath1.split("/");
|
|
183125
|
+
var path2 = Spath2.split("/");
|
|
183126
|
+
var nodes;
|
|
183127
|
+
|
|
183128
|
+
if (!NodePosition["a" /* NodePosition */].pathCanCompare(Spath1, Spath2)) {
|
|
183129
|
+
throw Exception["a" /* Exception */].PathNotAtSameRoot();
|
|
183130
|
+
} //比对路径
|
|
183131
|
+
|
|
183132
|
+
|
|
183133
|
+
var index = 0;
|
|
183134
|
+
|
|
183135
|
+
while (path1[index] == path2[index]) {
|
|
183136
|
+
index += 1;
|
|
183137
|
+
|
|
183138
|
+
if (index > path1.length || index > path2.length) {
|
|
183139
|
+
break;
|
|
183140
|
+
}
|
|
183141
|
+
} //取节点的兄弟节点
|
|
183142
|
+
|
|
183143
|
+
|
|
183144
|
+
if (index === 1 || index === 2 && path1[0] !== "main") {
|
|
183145
|
+
//只有第一个符合 在根节点当中main heaer footer
|
|
183146
|
+
var tmp = hoEditorFactory.docTree.findNodePositionByPath(path1.slice(0, index + 1).join("/")).node;
|
|
183147
|
+
|
|
183148
|
+
if (!tmp) {
|
|
183149
|
+
throw Exception["a" /* Exception */].NodeNotFound();
|
|
183150
|
+
}
|
|
183151
|
+
|
|
183152
|
+
if (tmp.parentNode) {
|
|
183153
|
+
nodes = tmp.parentNode.childNodes;
|
|
183154
|
+
} else {
|
|
183155
|
+
nodes = tmp.rootNodes;
|
|
183156
|
+
}
|
|
183157
|
+
} else {
|
|
183158
|
+
//在复合节点当中
|
|
183159
|
+
var ancestor = path1.slice(0, index).join("/");
|
|
183160
|
+
var _tmp = hoEditorFactory.docTree.findNodePositionByPath(ancestor).node;
|
|
183161
|
+
|
|
183162
|
+
if (!_tmp) {
|
|
183163
|
+
throw Exception["a" /* Exception */].NodeNotFound();
|
|
183164
|
+
}
|
|
183165
|
+
|
|
183166
|
+
nodes = _tmp.childNodes;
|
|
183167
|
+
}
|
|
183168
|
+
|
|
183169
|
+
return {
|
|
183170
|
+
level: index,
|
|
183171
|
+
child: nodes
|
|
183172
|
+
};
|
|
183173
|
+
}
|
|
183174
|
+
}]);
|
|
183175
|
+
|
|
183176
|
+
return StructureNode;
|
|
183177
|
+
}();
|
|
183063
183178
|
// CONCATENATED MODULE: ./src/editor/utils/TestDataSet.ts
|
|
183064
183179
|
|
|
183065
183180
|
|
|
@@ -183755,7 +183870,6 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
183755
183870
|
function VueController(hoEditorFactoryID) {
|
|
183756
183871
|
Object(classCallCheck["a" /* default */])(this, VueController);
|
|
183757
183872
|
|
|
183758
|
-
this._openXmled = false;
|
|
183759
183873
|
this._hoEditorFactoryID = hoEditorFactoryID; // this.getCurTextStyle();
|
|
183760
183874
|
}
|
|
183761
183875
|
|
|
@@ -183769,16 +183883,6 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
183769
183883
|
this._combineStyle = value;
|
|
183770
183884
|
}
|
|
183771
183885
|
}
|
|
183772
|
-
}, {
|
|
183773
|
-
key: "openXmled",
|
|
183774
|
-
get: function get() {
|
|
183775
|
-
return this._openXmled;
|
|
183776
|
-
},
|
|
183777
|
-
set: function set(value) {
|
|
183778
|
-
if (value !== this._openXmled) {
|
|
183779
|
-
this._openXmled = value;
|
|
183780
|
-
}
|
|
183781
|
-
}
|
|
183782
183886
|
}, {
|
|
183783
183887
|
key: "hoEditorFactoryID",
|
|
183784
183888
|
get: function get() {
|
|
@@ -185431,7 +185535,8 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
185431
185535
|
}, {
|
|
185432
185536
|
key: "openLocalFiles",
|
|
185433
185537
|
value: function openLocalFiles(file, callback) {
|
|
185434
|
-
var
|
|
185538
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
185539
|
+
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
185435
185540
|
|
|
185436
185541
|
var startPath = _curDomRange.normalize().startPath;
|
|
185437
185542
|
|
|
@@ -185439,11 +185544,11 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
185439
185544
|
|
|
185440
185545
|
var changingEvent = new NodeChangingEvent["a" /* NodeChangingEvent */](DocTree["a" /* DocAction */].daInsert, startPath, endPath, NodeChangingEvent["b" /* OperType */].openLocalFiles);
|
|
185441
185546
|
|
|
185442
|
-
if (
|
|
185443
|
-
|
|
185444
|
-
|
|
185445
|
-
|
|
185446
|
-
|
|
185547
|
+
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
185548
|
+
hoEditorFactory.docController.initBlankDoc();
|
|
185549
|
+
hoEditorFactory.drawTree.inViewPages = [0];
|
|
185550
|
+
hoEditorFactory.openXmled = true;
|
|
185551
|
+
hoEditorFactory.structureConvert.openFile(file, callback);
|
|
185447
185552
|
}
|
|
185448
185553
|
}
|
|
185449
185554
|
}, {
|
|
@@ -186608,7 +186713,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186608
186713
|
rootPath = 'footer/' + pageCount.toString();
|
|
186609
186714
|
}
|
|
186610
186715
|
|
|
186611
|
-
var nodes = hoEditorFactory.structureNode.Parse(
|
|
186716
|
+
var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData, rootPath);
|
|
186612
186717
|
|
|
186613
186718
|
if (area !== "main") {
|
|
186614
186719
|
var arrNodes = new Array();
|
|
@@ -186779,7 +186884,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186779
186884
|
|
|
186780
186885
|
case 8:
|
|
186781
186886
|
hoEditorFactory.docTree.curDomRange.setSamePath(sPath);
|
|
186782
|
-
nodes = hoEditorFactory.structureNode.Parse(
|
|
186887
|
+
nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
186783
186888
|
|
|
186784
186889
|
if (nodes[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
186785
186890
|
headerNode[0].paraNo = nodes[0].paraNo;
|
|
@@ -186863,7 +186968,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186863
186968
|
|
|
186864
186969
|
case 6:
|
|
186865
186970
|
hoEditorFactory.docTree.curDomRange.setSamePath("footer/0/0");
|
|
186866
|
-
nodes = hoEditorFactory.structureNode.Parse(
|
|
186971
|
+
nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
186867
186972
|
|
|
186868
186973
|
if (nodes[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
186869
186974
|
footerNode[0].paraNo = nodes[0].paraNo;
|
|
@@ -186930,7 +187035,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186930
187035
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
186931
187036
|
|
|
186932
187037
|
if (Object(esm_typeof["a" /* default */])(JSON.parse(jsonData)) === "object") {
|
|
186933
|
-
var nodes = hoEditorFactory.structureNode.Parse(
|
|
187038
|
+
var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
186934
187039
|
hoEditorFactory.docController.parseNodeData(nodes);
|
|
186935
187040
|
} else {
|
|
186936
187041
|
hoEditorFactory.docController.keyBoardInput(jsonData);
|
|
@@ -186962,7 +187067,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
186962
187067
|
startPath = _curDomRange.normalize().startPath;
|
|
186963
187068
|
endPath = _curDomRange.normalize().endPath;
|
|
186964
187069
|
changingEvent = new NodeChangingEvent["a" /* NodeChangingEvent */](DocTree["a" /* DocAction */].daInsert, startPath, endPath, NodeChangingEvent["b" /* OperType */].openXml);
|
|
186965
|
-
|
|
187070
|
+
hoEditorFactory.openXmled = true;
|
|
186966
187071
|
|
|
186967
187072
|
if (!hoEditorFactory.docTree.changing(changingEvent)) {
|
|
186968
187073
|
_context4.next = 13;
|
|
@@ -187121,7 +187226,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187121
187226
|
var nextNode = node.nextLeaf();
|
|
187122
187227
|
|
|
187123
187228
|
if (node.imgSrc !== "" && node.isTemplate && !(preNode instanceof SignNode["a" /* SignNode */]) && !(nextNode instanceof SignNode["a" /* SignNode */])) {
|
|
187124
|
-
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);
|
|
187229
|
+
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);
|
|
187125
187230
|
hoEditorFactory.undoService.begin();
|
|
187126
187231
|
hoEditorFactory.undoService.add(new NodeDeleteUndoUnit["a" /* NodeDeleteUndoUnit */](this._hoEditorFactoryID, node, ePath));
|
|
187127
187232
|
hoEditorFactory.undoService.add(new NodeInsertUndoUnit["a" /* NodeInsertUndoUnit */](this._hoEditorFactoryID, sPath, signNode));
|
|
@@ -187140,7 +187245,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187140
187245
|
|
|
187141
187246
|
var spath = hoEditorFactory.docTree.getNodeLastPath(preNode.previousLeaf()); //const epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
187142
187247
|
|
|
187143
|
-
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);
|
|
187248
|
+
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);
|
|
187144
187249
|
hoEditorFactory.undoService.begin();
|
|
187145
187250
|
hoEditorFactory.undoService.add(new NodesDeleteUndoUnit["a" /* NodesDeleteUndoUnit */](this._hoEditorFactoryID, spath, ePath));
|
|
187146
187251
|
hoEditorFactory.undoService.add(new NodeInsertUndoUnit["a" /* NodeInsertUndoUnit */](this._hoEditorFactoryID, spath, newSignNode));
|
|
@@ -187301,11 +187406,16 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187301
187406
|
/**
|
|
187302
187407
|
* 插入空签名
|
|
187303
187408
|
* @param name 签名名称(空签名的初始化显示)
|
|
187409
|
+
* @param signType 签名类型 0单人签名 1多人签名
|
|
187410
|
+
* @param signFormat 签名格式
|
|
187411
|
+
* @param connectMode 连接方式
|
|
187412
|
+
* @param isFront 新插入的签名是否前置 true:前置 false:后置
|
|
187413
|
+
* @param allowEditSignTime 允许修改签名时间 true:允许 false:不允许
|
|
187304
187414
|
*/
|
|
187305
187415
|
|
|
187306
187416
|
}, {
|
|
187307
187417
|
key: "insertEmptySignNode",
|
|
187308
|
-
value: function insertEmptySignNode(name) {
|
|
187418
|
+
value: function insertEmptySignNode(name, signType, signFormat, connectMode, isFront, allowEditSignTime) {
|
|
187309
187419
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
187310
187420
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
187311
187421
|
var startPath = curDomRange.normalize().startPath;
|
|
@@ -187313,7 +187423,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
187313
187423
|
var changingEvent = new NodeChangingEvent["a" /* NodeChangingEvent */](DocTree["a" /* DocAction */].daInsert, startPath, endPath, NodeChangingEvent["b" /* OperType */].insertSign);
|
|
187314
187424
|
|
|
187315
187425
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
187316
|
-
hoEditorFactory.docController.insertEmptySignNode(curDomRange, name);
|
|
187426
|
+
hoEditorFactory.docController.insertEmptySignNode(curDomRange, name, signType, signFormat, connectMode, isFront, allowEditSignTime);
|
|
187317
187427
|
}
|
|
187318
187428
|
}
|
|
187319
187429
|
/**
|
|
@@ -188027,6 +188137,13 @@ var DomController_DomController = /*#__PURE__*/function () {
|
|
|
188027
188137
|
* @FilePath: \hoeditor-web\src\editor\externalCall\EditController.ts
|
|
188028
188138
|
*/
|
|
188029
188139
|
|
|
188140
|
+
|
|
188141
|
+
|
|
188142
|
+
|
|
188143
|
+
|
|
188144
|
+
|
|
188145
|
+
|
|
188146
|
+
|
|
188030
188147
|
var EditController_EditController = /*#__PURE__*/function () {
|
|
188031
188148
|
function EditController(hoEditorFactoryID) {
|
|
188032
188149
|
Object(classCallCheck["a" /* default */])(this, EditController);
|
|
@@ -188300,6 +188417,78 @@ var EditController_EditController = /*#__PURE__*/function () {
|
|
|
188300
188417
|
value: function clearUndos() {
|
|
188301
188418
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188302
188419
|
hoEditorFactory.undoService.clear();
|
|
188420
|
+
} // ctrl + v 复制
|
|
188421
|
+
|
|
188422
|
+
}, {
|
|
188423
|
+
key: "editKeyCopy",
|
|
188424
|
+
value: function editKeyCopy(e) {
|
|
188425
|
+
if (!e || !e.clipboardData) {
|
|
188426
|
+
return;
|
|
188427
|
+
}
|
|
188428
|
+
|
|
188429
|
+
var hoeditorfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188430
|
+
|
|
188431
|
+
if (!hoeditorfactory.docTree.curDomRange.isEmpty) {
|
|
188432
|
+
hoeditorfactory.structureNode.Copy(hoeditorfactory.docTree.curDomRange, e.clipboardData, undefined, "copy");
|
|
188433
|
+
}
|
|
188434
|
+
|
|
188435
|
+
e.preventDefault();
|
|
188436
|
+
}
|
|
188437
|
+
}, {
|
|
188438
|
+
key: "editKeyPaste",
|
|
188439
|
+
value: function editKeyPaste(clipboardData) {
|
|
188440
|
+
var hoeditorfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188441
|
+
|
|
188442
|
+
if (hoeditorfactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReadOnly || hoeditorfactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psPreview || hoeditorfactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psPrint) {
|
|
188443
|
+
return;
|
|
188444
|
+
}
|
|
188445
|
+
|
|
188446
|
+
var startPath = hoeditorfactory.docTree.curDomRange.startPath;
|
|
188447
|
+
var parentNode = hoeditorfactory.docTree.getParentNode(startPath);
|
|
188448
|
+
|
|
188449
|
+
if (parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && !parentNode.canModifyContent) {
|
|
188450
|
+
return;
|
|
188451
|
+
}
|
|
188452
|
+
|
|
188453
|
+
var jsonData = '';
|
|
188454
|
+
var htmlData = '';
|
|
188455
|
+
var textData = '';
|
|
188456
|
+
|
|
188457
|
+
if (clipboardData instanceof DataTransfer) {
|
|
188458
|
+
jsonData = clipboardData.getData("application/json");
|
|
188459
|
+
htmlData = clipboardData.getData("text/html");
|
|
188460
|
+
textData = clipboardData.getData("text/plain");
|
|
188461
|
+
} // else if (!clipboardData) {
|
|
188462
|
+
// navigator.permissions.query({ name: "clipboard-read" }).then(result => {
|
|
188463
|
+
// if (result.state == "granted" || result.state == "prompt") {
|
|
188464
|
+
// navigator.clipboard.read().then(data => {
|
|
188465
|
+
// console.log(data)
|
|
188466
|
+
// });
|
|
188467
|
+
// }
|
|
188468
|
+
// });
|
|
188469
|
+
// }
|
|
188470
|
+
// const rtfData = clipboardData.getData("text/rtf");
|
|
188471
|
+
|
|
188472
|
+
|
|
188473
|
+
var nodes;
|
|
188474
|
+
|
|
188475
|
+
if (jsonData) {
|
|
188476
|
+
nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
|
|
188477
|
+
} else if (htmlData) {
|
|
188478
|
+
//console.log(htmlData);
|
|
188479
|
+
nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
|
|
188480
|
+
} else {
|
|
188481
|
+
nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
|
|
188482
|
+
}
|
|
188483
|
+
|
|
188484
|
+
if (!hoeditorfactory.pasteBase) {
|
|
188485
|
+
for (var n = 0; n < nodes.length; n++) {
|
|
188486
|
+
var node = nodes[n];
|
|
188487
|
+
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;
|
|
188488
|
+
}
|
|
188489
|
+
}
|
|
188490
|
+
|
|
188491
|
+
hoeditorfactory.docController.parseNodeData(nodes);
|
|
188303
188492
|
}
|
|
188304
188493
|
}]);
|
|
188305
188494
|
|
|
@@ -188318,7 +188507,7 @@ var EditController_EditController = /*#__PURE__*/function () {
|
|
|
188318
188507
|
/*
|
|
188319
188508
|
* @Author: your name
|
|
188320
188509
|
* @Date: 2021-07-31 09:27:53
|
|
188321
|
-
* @LastEditTime: 2021-10-
|
|
188510
|
+
* @LastEditTime: 2021-10-25 16:04:29
|
|
188322
188511
|
* @LastEditors: Please set LastEditors
|
|
188323
188512
|
* @Description: In User Settings Edit
|
|
188324
188513
|
* @FilePath: \hoeditor-web\src\editor\externalCall\ElementController.ts
|
|
@@ -189513,7 +189702,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189513
189702
|
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(xmlList) {
|
|
189514
189703
|
var _this3 = this;
|
|
189515
189704
|
|
|
189516
|
-
var hoEditorFactory, beforePrintStatus, xml, hPromise, orientation, printIframe;
|
|
189705
|
+
var hoEditorFactory, beforePrintStatus, xml, hPromise, orientation, style, printIframe;
|
|
189517
189706
|
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
189518
189707
|
while (1) {
|
|
189519
189708
|
switch (_context6.prev = _context6.next) {
|
|
@@ -189527,8 +189716,15 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189527
189716
|
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
189528
189717
|
hPromise = Promise.resolve();
|
|
189529
189718
|
orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
189530
|
-
|
|
189719
|
+
style = Object(util["c" /* createPrintHTMLStyle */])(hoEditorFactory.pageProperty.pageSize, orientation);
|
|
189720
|
+
printIframe = Object(util["b" /* createPrintHTMLIframe */])(style);
|
|
189531
189721
|
xmlList.forEach(function (file, fileIndex) {
|
|
189722
|
+
// hPromise = hPromise.then(res => {
|
|
189723
|
+
// return new Promise(async resolve => {
|
|
189724
|
+
// await hoEditorFactory.vueController.openXml(file);
|
|
189725
|
+
// setTimeout(() => resolve(), 0);
|
|
189726
|
+
// });
|
|
189727
|
+
// });
|
|
189532
189728
|
hPromise = hPromise.then(function (res) {
|
|
189533
189729
|
return new Promise( /*#__PURE__*/function () {
|
|
189534
189730
|
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(resolve) {
|
|
@@ -189541,7 +189737,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189541
189737
|
|
|
189542
189738
|
case 2:
|
|
189543
189739
|
setTimeout(function () {
|
|
189544
|
-
|
|
189740
|
+
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, undefined, undefined, resolve, undefined, printIframe);
|
|
189545
189741
|
}, 0);
|
|
189546
189742
|
|
|
189547
189743
|
case 3:
|
|
@@ -189556,12 +189752,12 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189556
189752
|
return _ref3.apply(this, arguments);
|
|
189557
189753
|
};
|
|
189558
189754
|
}());
|
|
189559
|
-
});
|
|
189560
|
-
|
|
189561
|
-
|
|
189562
|
-
|
|
189563
|
-
|
|
189564
|
-
});
|
|
189755
|
+
}); // hPromise = hPromise.then(() => {
|
|
189756
|
+
// return new Promise(resolve => {
|
|
189757
|
+
// hoEditorFactory.drawTree.paintStatus = PaintState.psPreview;
|
|
189758
|
+
// Print.printToPDF(this._hoEditorFactoryID, undefined, undefined, resolve, undefined, printIframe);
|
|
189759
|
+
// });
|
|
189760
|
+
// });
|
|
189565
189761
|
});
|
|
189566
189762
|
hPromise.then(function () {
|
|
189567
189763
|
var _printIframe, _printIframe$contentW;
|
|
@@ -189573,7 +189769,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
189573
189769
|
printIframe = null;
|
|
189574
189770
|
});
|
|
189575
189771
|
|
|
189576
|
-
case
|
|
189772
|
+
case 11:
|
|
189577
189773
|
case "end":
|
|
189578
189774
|
return _context6.stop();
|
|
189579
189775
|
}
|
|
@@ -190253,6 +190449,7 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
190253
190449
|
this._signHeight = 20;
|
|
190254
190450
|
this._pasteBase = false;
|
|
190255
190451
|
this._isHideComments = true;
|
|
190452
|
+
this._openXmled = false;
|
|
190256
190453
|
this._hoEditorFactoryId = id;
|
|
190257
190454
|
}
|
|
190258
190455
|
/**
|
|
@@ -190675,7 +190872,7 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
190675
190872
|
key: "structureNode",
|
|
190676
190873
|
get: function get() {
|
|
190677
190874
|
if (!this._structureNode) {
|
|
190678
|
-
this._structureNode = new
|
|
190875
|
+
this._structureNode = new StructureNode_StructureNode(this._hoEditorFactoryId);
|
|
190679
190876
|
}
|
|
190680
190877
|
|
|
190681
190878
|
return this._structureNode;
|
|
@@ -190795,25 +190992,35 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
190795
190992
|
this._continuousView = value;
|
|
190796
190993
|
}
|
|
190797
190994
|
}
|
|
190995
|
+
}, {
|
|
190996
|
+
key: "openXmled",
|
|
190997
|
+
get: function get() {
|
|
190998
|
+
return this._openXmled;
|
|
190999
|
+
},
|
|
191000
|
+
set: function set(value) {
|
|
191001
|
+
if (this._openXmled !== value) {
|
|
191002
|
+
this._openXmled = value;
|
|
191003
|
+
}
|
|
191004
|
+
}
|
|
190798
191005
|
}]);
|
|
190799
191006
|
|
|
190800
191007
|
return HOEditorFactory;
|
|
190801
191008
|
}();
|
|
190802
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191009
|
+
// 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&
|
|
190803
191010
|
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"})])}
|
|
190804
191011
|
var HoFootervue_type_template_id_fad373b2_scoped_true_staticRenderFns = []
|
|
190805
191012
|
|
|
190806
191013
|
|
|
190807
191014
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
190808
191015
|
|
|
190809
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191016
|
+
// 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&
|
|
190810
191017
|
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)}
|
|
190811
191018
|
var Popervue_type_template_id_0f8bfa37_staticRenderFns = []
|
|
190812
191019
|
|
|
190813
191020
|
|
|
190814
191021
|
// CONCATENATED MODULE: ./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
190815
191022
|
|
|
190816
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191023
|
+
// 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&
|
|
190817
191024
|
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))])])}
|
|
190818
191025
|
var Titlevue_type_template_id_3d9d462b_scoped_true_staticRenderFns = []
|
|
190819
191026
|
|
|
@@ -191102,14 +191309,14 @@ var HoFooter_component = normalizeComponent(
|
|
|
191102
191309
|
)
|
|
191103
191310
|
|
|
191104
191311
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
191105
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191106
|
-
var
|
|
191107
|
-
var
|
|
191312
|
+
// 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&
|
|
191313
|
+
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)}
|
|
191314
|
+
var ControlModalvue_type_template_id_72963b12_staticRenderFns = []
|
|
191108
191315
|
|
|
191109
191316
|
|
|
191110
|
-
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=
|
|
191317
|
+
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=72963b12&
|
|
191111
191318
|
|
|
191112
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191319
|
+
// 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&
|
|
191113
191320
|
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)])}
|
|
191114
191321
|
var SelectDialogvue_type_template_id_6990863d_scoped_true_staticRenderFns = []
|
|
191115
191322
|
|
|
@@ -191478,14 +191685,14 @@ var SelectDialog_component = normalizeComponent(
|
|
|
191478
191685
|
// CONCATENATED MODULE: ./src/components/controls/selectDialog/index.ts
|
|
191479
191686
|
|
|
191480
191687
|
/* harmony default export */ var selectDialog = (selectDialog_SelectDialog);
|
|
191481
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191688
|
+
// 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&
|
|
191482
191689
|
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)])}
|
|
191483
191690
|
var DateDialogvue_type_template_id_53ebee3d_staticRenderFns = []
|
|
191484
191691
|
|
|
191485
191692
|
|
|
191486
191693
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=53ebee3d&
|
|
191487
191694
|
|
|
191488
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
191695
|
+
// 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&
|
|
191489
191696
|
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)])}
|
|
191490
191697
|
var Tabvue_type_template_id_5ccacc33_staticRenderFns = []
|
|
191491
191698
|
|
|
@@ -191879,7 +192086,7 @@ var DateDialog_component = normalizeComponent(
|
|
|
191879
192086
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/index.ts
|
|
191880
192087
|
|
|
191881
192088
|
/* harmony default export */ var dateDialog = (dateDialog_DateDialog);
|
|
191882
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192089
|
+
// 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&
|
|
191883
192090
|
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)])}
|
|
191884
192091
|
var BarCodesvue_type_template_id_b90e0398_staticRenderFns = []
|
|
191885
192092
|
|
|
@@ -192063,7 +192270,7 @@ var BarCodes_component = normalizeComponent(
|
|
|
192063
192270
|
// CONCATENATED MODULE: ./src/components/controls/barCode/index.ts
|
|
192064
192271
|
|
|
192065
192272
|
/* harmony default export */ var barCode = (BarCodes);
|
|
192066
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192273
|
+
// 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&
|
|
192067
192274
|
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)])}
|
|
192068
192275
|
var QrCodevue_type_template_id_bff70498_staticRenderFns = []
|
|
192069
192276
|
|
|
@@ -192249,7 +192456,7 @@ var QrCode_component = normalizeComponent(
|
|
|
192249
192456
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
192250
192457
|
|
|
192251
192458
|
/* harmony default export */ var qrCode = (QrCode);
|
|
192252
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192459
|
+
// 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&
|
|
192253
192460
|
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)])}
|
|
192254
192461
|
var TextDialogvue_type_template_id_1102706e_staticRenderFns = []
|
|
192255
192462
|
|
|
@@ -192537,7 +192744,7 @@ var TextDialog_component = normalizeComponent(
|
|
|
192537
192744
|
// CONCATENATED MODULE: ./src/components/controls/textDialog/index.ts
|
|
192538
192745
|
|
|
192539
192746
|
/* harmony default export */ var textDialog = (textDialog_TextDialog);
|
|
192540
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
192747
|
+
// 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&
|
|
192541
192748
|
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)])}
|
|
192542
192749
|
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("第二乳磨牙")])])}]
|
|
192543
192750
|
|
|
@@ -193034,7 +193241,7 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
193034
193241
|
// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
193035
193242
|
|
|
193036
193243
|
/* harmony default export */ var expressionForm = (expressionForm_ExpressionForm);
|
|
193037
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193244
|
+
// 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&
|
|
193038
193245
|
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)])}
|
|
193039
193246
|
var RadioCheckboxvue_type_template_id_08521aa8_staticRenderFns = []
|
|
193040
193247
|
|
|
@@ -193262,7 +193469,7 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
193262
193469
|
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
193263
193470
|
|
|
193264
193471
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
193265
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193472
|
+
// 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&
|
|
193266
193473
|
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)])}
|
|
193267
193474
|
var CommentDialogvue_type_template_id_4642b8d7_staticRenderFns = []
|
|
193268
193475
|
|
|
@@ -193357,7 +193564,7 @@ var CommentDialog_component = normalizeComponent(
|
|
|
193357
193564
|
// CONCATENATED MODULE: ./src/components/controls/commentDialog/index.ts
|
|
193358
193565
|
|
|
193359
193566
|
/* harmony default export */ var commentDialog = (commentDialog_CommentDialog);
|
|
193360
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193567
|
+
// 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&
|
|
193361
193568
|
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)])}
|
|
193362
193569
|
var WaterSetvue_type_template_id_468ee214_staticRenderFns = []
|
|
193363
193570
|
|
|
@@ -193472,7 +193679,7 @@ var WaterSet_component = normalizeComponent(
|
|
|
193472
193679
|
// CONCATENATED MODULE: ./src/components/controls/watermark/index.ts
|
|
193473
193680
|
|
|
193474
193681
|
|
|
193475
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193682
|
+
// 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&
|
|
193476
193683
|
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)])}
|
|
193477
193684
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_staticRenderFns = []
|
|
193478
193685
|
|
|
@@ -193625,7 +193832,7 @@ var CustomAttributes_component = normalizeComponent(
|
|
|
193625
193832
|
// CONCATENATED MODULE: ./src/components/controls/customAttributes/index.ts
|
|
193626
193833
|
|
|
193627
193834
|
/* harmony default export */ var customAttributes = (customAttributes_CustomAttributes);
|
|
193628
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193835
|
+
// 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&
|
|
193629
193836
|
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)])}
|
|
193630
193837
|
var DataSourcevue_type_template_id_d0d17200_staticRenderFns = []
|
|
193631
193838
|
|
|
@@ -193735,7 +193942,7 @@ var DataSource_component = normalizeComponent(
|
|
|
193735
193942
|
// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
193736
193943
|
|
|
193737
193944
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
193738
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
193945
|
+
// 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&
|
|
193739
193946
|
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)])}
|
|
193740
193947
|
var ListSourcevue_type_template_id_530d6908_staticRenderFns = []
|
|
193741
193948
|
|
|
@@ -194015,7 +194222,7 @@ var ListSource_component = normalizeComponent(
|
|
|
194015
194222
|
// CONCATENATED MODULE: ./src/components/controls/listsource/index.ts
|
|
194016
194223
|
|
|
194017
194224
|
/* harmony default export */ var listsource = (listsource_ListSource);
|
|
194018
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194225
|
+
// 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&
|
|
194019
194226
|
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)])}
|
|
194020
194227
|
var TablePropertyvue_type_template_id_4d12c9fe_scoped_true_staticRenderFns = []
|
|
194021
194228
|
|
|
@@ -194189,7 +194396,7 @@ var TableProperty_component = normalizeComponent(
|
|
|
194189
194396
|
)
|
|
194190
194397
|
|
|
194191
194398
|
/* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
|
|
194192
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194399
|
+
// 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&
|
|
194193
194400
|
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)])}
|
|
194194
194401
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_staticRenderFns = []
|
|
194195
194402
|
|
|
@@ -194457,7 +194664,7 @@ var TableRowProperty_component = normalizeComponent(
|
|
|
194457
194664
|
)
|
|
194458
194665
|
|
|
194459
194666
|
/* harmony default export */ var TableRowProperty = (TableRowProperty_component.exports);
|
|
194460
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194667
|
+
// 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&
|
|
194461
194668
|
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)])}
|
|
194462
194669
|
var TableColPropertyvue_type_template_id_4ec6e040_staticRenderFns = []
|
|
194463
194670
|
|
|
@@ -194769,14 +194976,14 @@ var TableColProperty_component = normalizeComponent(
|
|
|
194769
194976
|
)
|
|
194770
194977
|
|
|
194771
194978
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
194772
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194979
|
+
// 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&
|
|
194773
194980
|
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)])}
|
|
194774
194981
|
var TableCellPropertyvue_type_template_id_f044d33c_scoped_true_staticRenderFns = []
|
|
194775
194982
|
|
|
194776
194983
|
|
|
194777
194984
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
194778
194985
|
|
|
194779
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194986
|
+
// 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&
|
|
194780
194987
|
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)}
|
|
194781
194988
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_staticRenderFns = []
|
|
194782
194989
|
|
|
@@ -194870,7 +195077,7 @@ var PrintLineStyle_component = normalizeComponent(
|
|
|
194870
195077
|
// CONCATENATED MODULE: ./src/components/controls/printstyle/index.ts
|
|
194871
195078
|
|
|
194872
195079
|
|
|
194873
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195080
|
+
// 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&
|
|
194874
195081
|
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)])])])}
|
|
194875
195082
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_staticRenderFns = []
|
|
194876
195083
|
|
|
@@ -195483,7 +195690,7 @@ var TableCellProperty_component = normalizeComponent(
|
|
|
195483
195690
|
|
|
195484
195691
|
|
|
195485
195692
|
|
|
195486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195693
|
+
// 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&
|
|
195487
195694
|
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)])}
|
|
195488
195695
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_staticRenderFns = []
|
|
195489
195696
|
|
|
@@ -195580,7 +195787,7 @@ var PageInfoes_component = normalizeComponent(
|
|
|
195580
195787
|
// CONCATENATED MODULE: ./src/components/controls/pageInfoes/index.ts
|
|
195581
195788
|
|
|
195582
195789
|
/* harmony default export */ var pageInfoes = (pageInfoes_PageInfoes);
|
|
195583
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195790
|
+
// 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&
|
|
195584
195791
|
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)])}
|
|
195585
195792
|
var Delimitervue_type_template_id_0277f9ca_staticRenderFns = []
|
|
195586
195793
|
|
|
@@ -195672,12 +195879,12 @@ var Delimiter_component = normalizeComponent(
|
|
|
195672
195879
|
// CONCATENATED MODULE: ./src/components/controls/delimiter/index.ts
|
|
195673
195880
|
|
|
195674
195881
|
/* harmony default export */ var delimiter = (delimiter_Delimiter);
|
|
195675
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195676
|
-
var
|
|
195677
|
-
var
|
|
195882
|
+
// 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&
|
|
195883
|
+
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)])}
|
|
195884
|
+
var Signvue_type_template_id_71a9dc78_staticRenderFns = []
|
|
195678
195885
|
|
|
195679
195886
|
|
|
195680
|
-
// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=
|
|
195887
|
+
// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=71a9dc78&
|
|
195681
195888
|
|
|
195682
195889
|
// 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&
|
|
195683
195890
|
|
|
@@ -195689,6 +195896,14 @@ var Signvue_type_template_id_11db87c6_staticRenderFns = [function () {var _vm=th
|
|
|
195689
195896
|
|
|
195690
195897
|
|
|
195691
195898
|
|
|
195899
|
+
|
|
195900
|
+
|
|
195901
|
+
|
|
195902
|
+
|
|
195903
|
+
|
|
195904
|
+
|
|
195905
|
+
|
|
195906
|
+
|
|
195692
195907
|
var Signvue_type_script_lang_ts_Sign = /*#__PURE__*/function (_Vue) {
|
|
195693
195908
|
Object(inherits["a" /* default */])(Sign, _Vue);
|
|
195694
195909
|
|
|
@@ -195699,30 +195914,81 @@ var Signvue_type_script_lang_ts_Sign = /*#__PURE__*/function (_Vue) {
|
|
|
195699
195914
|
|
|
195700
195915
|
Object(classCallCheck["a" /* default */])(this, Sign);
|
|
195701
195916
|
|
|
195702
|
-
_this = _super.apply(this, arguments);
|
|
195703
|
-
// @Prop() controlStatus!: any;
|
|
195704
|
-
|
|
195917
|
+
_this = _super.apply(this, arguments);
|
|
195705
195918
|
_this.height = 20;
|
|
195706
195919
|
_this.name = "";
|
|
195920
|
+
_this.signType = 0;
|
|
195921
|
+
_this.signFormat = '<医师姓名>';
|
|
195922
|
+
_this.connectMode = '换行';
|
|
195923
|
+
_this.isFront = false;
|
|
195924
|
+
_this.allowEditSignTime = false;
|
|
195925
|
+
_this.signTimeFormat = 'yyyy-MM-dd HH:mm';
|
|
195926
|
+
_this.customFormatContent = '';
|
|
195927
|
+
_this.customSignFormatList = [];
|
|
195707
195928
|
_this.animationClassNames = "control-modal-contents sign-modal animation-in";
|
|
195708
195929
|
return _this;
|
|
195709
|
-
} //
|
|
195710
|
-
// if(this.controlStatus === 'update' && this.updateNode !== null) {
|
|
195711
|
-
// this.name = this.updateNode.name;
|
|
195712
|
-
// this.height = this.updateNode.height;
|
|
195713
|
-
// }
|
|
195714
|
-
// }
|
|
195930
|
+
} // 创建自定义签名格式
|
|
195715
195931
|
|
|
195716
195932
|
|
|
195717
195933
|
Object(createClass["a" /* default */])(Sign, [{
|
|
195934
|
+
key: "createSignFormat",
|
|
195935
|
+
value: function createSignFormat() {
|
|
195936
|
+
var customFormat = JSON.stringify(this.customFormatContent).replace(/^\s+|\s+$/g, "");
|
|
195937
|
+
var customList = ['<医师姓名>', '<医师职称>', '<医师工号>', '<签名时间>'];
|
|
195938
|
+
this.$elMessage.closeAll();
|
|
195939
|
+
|
|
195940
|
+
if (customList.filter(function (v) {
|
|
195941
|
+
return customFormat.includes(v);
|
|
195942
|
+
}).length === 0) {
|
|
195943
|
+
this.$elMessage.warning({
|
|
195944
|
+
message: "至少需要插入'<医师姓名>', '<医师职称>', '<医师工号>', '<签名时间>'中的一种",
|
|
195945
|
+
duration: 3000,
|
|
195946
|
+
offset: 120
|
|
195947
|
+
});
|
|
195948
|
+
return;
|
|
195949
|
+
}
|
|
195950
|
+
|
|
195951
|
+
var format = ["<医师姓名>", "<医师姓名>(<医师职称>)", "<医师姓名>:<医师职称>", "<医师姓名>:<医师职称>\n<签名时间>"].concat();
|
|
195952
|
+
this.customSignFormatList.forEach(function (v) {
|
|
195953
|
+
return format.push(v.value);
|
|
195954
|
+
});
|
|
195955
|
+
|
|
195956
|
+
if (format.filter(function (v) {
|
|
195957
|
+
return v === customFormat.slice(1, customFormat.length - 1);
|
|
195958
|
+
}).length > 0) {
|
|
195959
|
+
this.$elMessage.warning({
|
|
195960
|
+
message: "签名格式已存在无需插入,已自动选中",
|
|
195961
|
+
duration: 3000,
|
|
195962
|
+
offset: 120
|
|
195963
|
+
});
|
|
195964
|
+
} else {
|
|
195965
|
+
this.customSignFormatList.push({
|
|
195966
|
+
label: customFormat.slice(1, customFormat.length - 1),
|
|
195967
|
+
value: customFormat.slice(1, customFormat.length - 1)
|
|
195968
|
+
});
|
|
195969
|
+
}
|
|
195970
|
+
|
|
195971
|
+
this.signFormat = customFormat.slice(1, customFormat.length - 1);
|
|
195972
|
+
}
|
|
195973
|
+
}, {
|
|
195718
195974
|
key: "insertSign",
|
|
195719
195975
|
value: function insertSign() {
|
|
195720
195976
|
// if(this.controlStatus === 'update') {
|
|
195721
195977
|
// this.vueController.insertEmptySignNode(this.name ? this.name : '签名', this.height);
|
|
195722
195978
|
// } else {
|
|
195723
|
-
|
|
195724
|
-
|
|
195725
|
-
|
|
195979
|
+
// }
|
|
195980
|
+
if (this.signType === 1) {
|
|
195981
|
+
// console.log(this.name ? this.name : "签名",
|
|
195982
|
+
// this.signType,
|
|
195983
|
+
// this.signFormat,
|
|
195984
|
+
// this.connectMode,
|
|
195985
|
+
// this.isFront,
|
|
195986
|
+
// this.allowEditSignTime)
|
|
195987
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : "签名", this.signType, this.signFormat, this.connectMode, this.isFront, this.allowEditSignTime);
|
|
195988
|
+
} else {
|
|
195989
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : "签名" //,
|
|
195990
|
+
);
|
|
195991
|
+
}
|
|
195726
195992
|
|
|
195727
195993
|
this.handleClose();
|
|
195728
195994
|
}
|
|
@@ -195739,6 +196005,8 @@ var Signvue_type_script_lang_ts_Sign = /*#__PURE__*/function (_Vue) {
|
|
|
195739
196005
|
|
|
195740
196006
|
__decorate([Prop()], Signvue_type_script_lang_ts_Sign.prototype, "vueController", void 0);
|
|
195741
196007
|
|
|
196008
|
+
__decorate([Prop()], Signvue_type_script_lang_ts_Sign.prototype, "controlStatus", void 0);
|
|
196009
|
+
|
|
195742
196010
|
Signvue_type_script_lang_ts_Sign = __decorate([vue_class_component_esm({
|
|
195743
196011
|
name: "Sign",
|
|
195744
196012
|
components: {
|
|
@@ -195762,8 +196030,8 @@ var Signvue_type_style_index_0_lang_scss_ = __webpack_require__("5ec2");
|
|
|
195762
196030
|
|
|
195763
196031
|
var Sign_component = normalizeComponent(
|
|
195764
196032
|
sign_Signvue_type_script_lang_ts_,
|
|
195765
|
-
|
|
195766
|
-
|
|
196033
|
+
Signvue_type_template_id_71a9dc78_render,
|
|
196034
|
+
Signvue_type_template_id_71a9dc78_staticRenderFns,
|
|
195767
196035
|
false,
|
|
195768
196036
|
null,
|
|
195769
196037
|
null,
|
|
@@ -195929,8 +196197,8 @@ ControlModalvue_type_script_lang_ts_ControlModal = __decorate([vue_class_compone
|
|
|
195929
196197
|
|
|
195930
196198
|
var ControlModal_component = normalizeComponent(
|
|
195931
196199
|
controls_ControlModalvue_type_script_lang_ts_,
|
|
195932
|
-
|
|
195933
|
-
|
|
196200
|
+
ControlModalvue_type_template_id_72963b12_render,
|
|
196201
|
+
ControlModalvue_type_template_id_72963b12_staticRenderFns,
|
|
195934
196202
|
false,
|
|
195935
196203
|
null,
|
|
195936
196204
|
null,
|
|
@@ -195939,7 +196207,7 @@ var ControlModal_component = normalizeComponent(
|
|
|
195939
196207
|
)
|
|
195940
196208
|
|
|
195941
196209
|
/* harmony default export */ var controls_ControlModal = (ControlModal_component.exports);
|
|
195942
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196210
|
+
// 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&
|
|
195943
196211
|
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)])}
|
|
195944
196212
|
var FindReplacevue_type_template_id_fd4f089c_staticRenderFns = []
|
|
195945
196213
|
|
|
@@ -196089,7 +196357,7 @@ var FindReplace_component = normalizeComponent(
|
|
|
196089
196357
|
// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
196090
196358
|
|
|
196091
196359
|
/* harmony default export */ var findReplace = (FindReplace);
|
|
196092
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196360
|
+
// 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&
|
|
196093
196361
|
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()}
|
|
196094
196362
|
var ViewContinuousXmlvue_type_template_id_43dfdba6_staticRenderFns = []
|
|
196095
196363
|
|
|
@@ -196976,7 +197244,7 @@ var DeleteImageNodeList = __webpack_require__("f00c");
|
|
|
196976
197244
|
var font = __webpack_require__("2c6d");
|
|
196977
197245
|
|
|
196978
197246
|
// CONCATENATED MODULE: ./src/components/version.ts
|
|
196979
|
-
/* harmony default export */ var version = ('0.3.
|
|
197247
|
+
/* harmony default export */ var version = ('0.3.86');
|
|
196980
197248
|
// 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&
|
|
196981
197249
|
|
|
196982
197250
|
|
|
@@ -197380,7 +197648,7 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
197380
197648
|
property.headerYMm = 0;
|
|
197381
197649
|
property.footerYMm = 0; // 打开xml前设置的页边距和顶部默认值
|
|
197382
197650
|
|
|
197383
|
-
if (!hoEditorFactory.
|
|
197651
|
+
if (!hoEditorFactory.openXmled) {
|
|
197384
197652
|
if (isNaN(Number(property.leftMarginMm))) {
|
|
197385
197653
|
property.leftMarginMm = 15;
|
|
197386
197654
|
} else {
|
|
@@ -197511,7 +197779,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
197511
197779
|
|
|
197512
197780
|
var HoDocs_component = normalizeComponent(
|
|
197513
197781
|
components_HoDocsvue_type_script_lang_ts_,
|
|
197514
|
-
|
|
197782
|
+
HoDocsvue_type_template_id_5a5781ca_render,
|
|
197515
197783
|
staticRenderFns,
|
|
197516
197784
|
false,
|
|
197517
197785
|
null,
|
|
@@ -197521,7 +197789,7 @@ var HoDocs_component = normalizeComponent(
|
|
|
197521
197789
|
)
|
|
197522
197790
|
|
|
197523
197791
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
197524
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197792
|
+
// 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&
|
|
197525
197793
|
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)}
|
|
197526
197794
|
var ToolBarvue_type_template_id_6b9fddde_staticRenderFns = []
|
|
197527
197795
|
|
|
@@ -197534,7 +197802,7 @@ var web_url = __webpack_require__("2b3d");
|
|
|
197534
197802
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.js
|
|
197535
197803
|
var web_url_search_params = __webpack_require__("9861");
|
|
197536
197804
|
|
|
197537
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197805
|
+
// 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&
|
|
197538
197806
|
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)])}
|
|
197539
197807
|
var HoPrintDialogvue_type_template_id_f3e9ff84_staticRenderFns = []
|
|
197540
197808
|
|
|
@@ -198604,7 +198872,7 @@ ToolParagraph_ToolParagraph = __decorate([vue_class_component_esm({
|
|
|
198604
198872
|
}
|
|
198605
198873
|
})], ToolParagraph_ToolParagraph);
|
|
198606
198874
|
/* harmony default export */ var toolbar_ToolParagraph = (ToolParagraph_ToolParagraph);
|
|
198607
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198875
|
+
// 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&
|
|
198608
198876
|
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)}
|
|
198609
198877
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_staticRenderFns = []
|
|
198610
198878
|
|
|
@@ -198670,7 +198938,7 @@ var MedicalExpressions_component = normalizeComponent(
|
|
|
198670
198938
|
)
|
|
198671
198939
|
|
|
198672
198940
|
/* harmony default export */ var MedicalExpressions = (MedicalExpressions_component.exports);
|
|
198673
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198941
|
+
// 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&
|
|
198674
198942
|
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)}
|
|
198675
198943
|
var UploadImagevue_type_template_id_208b2688_scoped_true_staticRenderFns = []
|
|
198676
198944
|
|
|
@@ -198838,7 +199106,7 @@ var UploadImage_component = normalizeComponent(
|
|
|
198838
199106
|
)
|
|
198839
199107
|
|
|
198840
199108
|
/* harmony default export */ var toolbar_UploadImage = (UploadImage_component.exports);
|
|
198841
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199109
|
+
// 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&
|
|
198842
199110
|
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)])])])])}
|
|
198843
199111
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_staticRenderFns = []
|
|
198844
199112
|
|
|
@@ -199455,7 +199723,7 @@ ToolControl_ToolControls = __decorate([vue_class_component_esm({
|
|
|
199455
199723
|
}
|
|
199456
199724
|
})], ToolControl_ToolControls);
|
|
199457
199725
|
/* harmony default export */ var toolbar_ToolControl = (ToolControl_ToolControls);
|
|
199458
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199726
|
+
// 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&
|
|
199459
199727
|
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:(
|
|
199460
199728
|
function () {
|
|
199461
199729
|
_vm.isDocumentShow = false;
|
|
@@ -199529,14 +199797,14 @@ var UpdateDocument_component = normalizeComponent(
|
|
|
199529
199797
|
)
|
|
199530
199798
|
|
|
199531
199799
|
/* harmony default export */ var components_UpdateDocument = (UpdateDocument_component.exports);
|
|
199532
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199800
|
+
// 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&
|
|
199533
199801
|
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)}
|
|
199534
199802
|
var ToolTablevue_type_template_id_7e9dd939_staticRenderFns = []
|
|
199535
199803
|
|
|
199536
199804
|
|
|
199537
199805
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
199538
199806
|
|
|
199539
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199807
|
+
// 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&
|
|
199540
199808
|
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)}
|
|
199541
199809
|
var TableFeaturesvue_type_template_id_907964ce_staticRenderFns = []
|
|
199542
199810
|
|
|
@@ -199865,7 +200133,7 @@ var ToolTable_component = normalizeComponent(
|
|
|
199865
200133
|
)
|
|
199866
200134
|
|
|
199867
200135
|
/* harmony default export */ var toolbar_ToolTable = (ToolTable_component.exports);
|
|
199868
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200136
|
+
// 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&
|
|
199869
200137
|
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)])])}
|
|
199870
200138
|
var PageSettingvue_type_template_id_122070b6_scoped_true_staticRenderFns = []
|
|
199871
200139
|
|
|
@@ -200130,7 +200398,7 @@ var PageSetting_component = normalizeComponent(
|
|
|
200130
200398
|
)
|
|
200131
200399
|
|
|
200132
200400
|
/* harmony default export */ var toolbar_PageSetting = (PageSetting_component.exports);
|
|
200133
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200401
|
+
// 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&
|
|
200134
200402
|
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("打开文件")])])}
|
|
200135
200403
|
var UploadFilevue_type_template_id_4361e817_staticRenderFns = []
|
|
200136
200404
|
|
|
@@ -200902,14 +201170,14 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
200902
201170
|
}
|
|
200903
201171
|
})], ToolBarChild_ToolBarChild);
|
|
200904
201172
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
200905
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201173
|
+
// 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&
|
|
200906
201174
|
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)}
|
|
200907
201175
|
var ToolControlvue_type_template_id_7e6ad890_staticRenderFns = []
|
|
200908
201176
|
|
|
200909
201177
|
|
|
200910
201178
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=7e6ad890&
|
|
200911
201179
|
|
|
200912
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201180
|
+
// 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&
|
|
200913
201181
|
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)}
|
|
200914
201182
|
var HoMedicalExpressionvue_type_template_id_2fc6d397_scoped_true_staticRenderFns = []
|
|
200915
201183
|
|
|
@@ -201014,7 +201282,7 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
201014
201282
|
)
|
|
201015
201283
|
|
|
201016
201284
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
201017
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201285
|
+
// 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&
|
|
201018
201286
|
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)}
|
|
201019
201287
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_staticRenderFns = []
|
|
201020
201288
|
|
|
@@ -201119,7 +201387,7 @@ var HoSpecialChars_component = normalizeComponent(
|
|
|
201119
201387
|
)
|
|
201120
201388
|
|
|
201121
201389
|
/* harmony default export */ var insert_HoSpecialChars = (HoSpecialChars_component.exports);
|
|
201122
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201390
|
+
// 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&
|
|
201123
201391
|
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)}
|
|
201124
201392
|
var HoDateTimevue_type_template_id_07b294c6_staticRenderFns = []
|
|
201125
201393
|
|
|
@@ -201223,7 +201491,7 @@ var HoDateTime_component = normalizeComponent(
|
|
|
201223
201491
|
)
|
|
201224
201492
|
|
|
201225
201493
|
/* harmony default export */ var insert_HoDateTime = (HoDateTime_component.exports);
|
|
201226
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201494
|
+
// 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&
|
|
201227
201495
|
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)}
|
|
201228
201496
|
var HoFormulavue_type_template_id_88e6be42_staticRenderFns = []
|
|
201229
201497
|
|
|
@@ -201581,14 +201849,14 @@ var ToolControl_component = normalizeComponent(
|
|
|
201581
201849
|
)
|
|
201582
201850
|
|
|
201583
201851
|
/* harmony default export */ var insert_ToolControl = (ToolControl_component.exports);
|
|
201584
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201852
|
+
// 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&
|
|
201585
201853
|
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)}
|
|
201586
201854
|
var ToolTablevue_type_template_id_3c999b04_staticRenderFns = []
|
|
201587
201855
|
|
|
201588
201856
|
|
|
201589
201857
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
201590
201858
|
|
|
201591
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201859
|
+
// 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&
|
|
201592
201860
|
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)}
|
|
201593
201861
|
var HoTableFeaturesvue_type_template_id_0a4bc7ae_staticRenderFns = []
|
|
201594
201862
|
|
|
@@ -202499,7 +202767,7 @@ var ToolBar_component = normalizeComponent(
|
|
|
202499
202767
|
)
|
|
202500
202768
|
|
|
202501
202769
|
/* harmony default export */ var toolbar_ToolBar = (ToolBar_component.exports);
|
|
202502
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202770
|
+
// 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&
|
|
202503
202771
|
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)}
|
|
202504
202772
|
var TabPanevue_type_template_id_71cdc485_staticRenderFns = []
|
|
202505
202773
|
|
|
@@ -202730,6 +202998,16 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
202730
202998
|
this.vueController.textToLabel();
|
|
202731
202999
|
this.handleClose();
|
|
202732
203000
|
}
|
|
203001
|
+
}, {
|
|
203002
|
+
key: "hoCopy",
|
|
203003
|
+
value: function hoCopy() {
|
|
203004
|
+
document.execCommand('Copy'); // this.editController.editKeyCopy(event);
|
|
203005
|
+
}
|
|
203006
|
+
}, {
|
|
203007
|
+
key: "hoPaste",
|
|
203008
|
+
value: function hoPaste() {
|
|
203009
|
+
this.editController.editKeyPaste();
|
|
203010
|
+
}
|
|
202733
203011
|
}, {
|
|
202734
203012
|
key: "render",
|
|
202735
203013
|
value: function render() {
|
|
@@ -202911,6 +203189,8 @@ __decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "rightPos", void 0);
|
|
|
202911
203189
|
|
|
202912
203190
|
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "vueController", void 0);
|
|
202913
203191
|
|
|
203192
|
+
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "editController", void 0);
|
|
203193
|
+
|
|
202914
203194
|
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "editJson", void 0);
|
|
202915
203195
|
|
|
202916
203196
|
__decorate([Prop()], HoRightMenu_HoRightMenu.prototype, "rightNode", void 0);
|
|
@@ -202953,6 +203233,13 @@ var message = __webpack_require__("0fb7");
|
|
|
202953
203233
|
var lib_message = __webpack_require__("f529");
|
|
202954
203234
|
var lib_message_default = /*#__PURE__*/__webpack_require__.n(lib_message);
|
|
202955
203235
|
|
|
203236
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/tooltip.css
|
|
203237
|
+
var tooltip = __webpack_require__("0c67");
|
|
203238
|
+
|
|
203239
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/tooltip.js
|
|
203240
|
+
var lib_tooltip = __webpack_require__("299c");
|
|
203241
|
+
var lib_tooltip_default = /*#__PURE__*/__webpack_require__.n(lib_tooltip);
|
|
203242
|
+
|
|
202956
203243
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/table-column.css
|
|
202957
203244
|
var table_column = __webpack_require__("5466");
|
|
202958
203245
|
|
|
@@ -203247,6 +203534,9 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
203247
203534
|
|
|
203248
203535
|
|
|
203249
203536
|
|
|
203537
|
+
|
|
203538
|
+
|
|
203539
|
+
|
|
203250
203540
|
|
|
203251
203541
|
|
|
203252
203542
|
|
|
@@ -203287,7 +203577,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_tabs_default.a);
|
|
|
203287
203577
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_tab_pane_default.a);
|
|
203288
203578
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_color_picker_default.a);
|
|
203289
203579
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_table_default.a);
|
|
203290
|
-
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_table_column_default.a);
|
|
203580
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_table_column_default.a);
|
|
203581
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(lib_tooltip_default.a); // Vue.use(Message)
|
|
203291
203582
|
|
|
203292
203583
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.prototype.$elMessage = lib_message_default.a;
|
|
203293
203584
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.prototype.$elConfirm = lib_message_box_default.a.confirm;
|