hoeditor-web 0.3.117 → 1.0.0
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 +635 -335
- package/lib/hoeditor.css +1 -1
- package/lib/hoeditor.umd.js +635 -335
- package/lib/hoeditor.umd.min.js +10 -10
- package/package.json +3 -3
package/lib/hoeditor.common.js
CHANGED
|
@@ -859,6 +859,9 @@ module.exports = Function.bind || function bind(that /* , ...args */) {
|
|
|
859
859
|
/* harmony import */ var _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("3365");
|
|
860
860
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("8d1d");
|
|
861
861
|
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("7450");
|
|
862
|
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("1157");
|
|
863
|
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_15__);
|
|
864
|
+
|
|
862
865
|
|
|
863
866
|
|
|
864
867
|
|
|
@@ -1145,7 +1148,11 @@ var MarkNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
1145
1148
|
var disPlay = true;
|
|
1146
1149
|
|
|
1147
1150
|
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_14__[/* PaintState */ "b"].psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_14__[/* PaintState */ "b"].psPrint) {
|
|
1148
|
-
|
|
1151
|
+
if (this.MarkNodeType === MarkNodeType.mtContent && this.text.length > 0 && Object(jquery__WEBPACK_IMPORTED_MODULE_15__["trim"])(this.text) === "") {
|
|
1152
|
+
disPlay = true;
|
|
1153
|
+
} else {
|
|
1154
|
+
disPlay = false;
|
|
1155
|
+
}
|
|
1149
1156
|
}
|
|
1150
1157
|
|
|
1151
1158
|
var style = hoEditorFactory.docTree.styles[this.styleIndex];
|
|
@@ -22413,6 +22420,7 @@ _ctx.prototype.__createElement = function (elementName, properties, resetFill) {
|
|
|
22413
22420
|
element.setAttribute('font-family', 'SimSun');
|
|
22414
22421
|
}
|
|
22415
22422
|
|
|
22423
|
+
element.setAttribute('font-style', 'normal');
|
|
22416
22424
|
return element;
|
|
22417
22425
|
};
|
|
22418
22426
|
/**
|
|
@@ -40192,13 +40200,22 @@ var DocController = /*#__PURE__*/function () {
|
|
|
40192
40200
|
|
|
40193
40201
|
if (type === 0) {
|
|
40194
40202
|
hoEditorFactory.drawTree.commentsMap.forEach(function (value) {
|
|
40195
|
-
|
|
40203
|
+
if (value.userID === hoEditorFactory.userInfo.id) {
|
|
40204
|
+
del(value);
|
|
40205
|
+
}
|
|
40196
40206
|
});
|
|
40197
40207
|
} else {
|
|
40198
40208
|
if (hoEditorFactory.drawTree.curOnSelectedComment === null) {
|
|
40199
40209
|
return;
|
|
40200
40210
|
} else {
|
|
40201
40211
|
var comment = hoEditorFactory.drawTree.curOnSelectedComment;
|
|
40212
|
+
|
|
40213
|
+
if (comment.userID !== hoEditorFactory.userInfo.id) {
|
|
40214
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_5___default.a.alert("不允许删除其他用户创建的批注!");
|
|
40215
|
+
|
|
40216
|
+
return;
|
|
40217
|
+
}
|
|
40218
|
+
|
|
40202
40219
|
del(comment);
|
|
40203
40220
|
}
|
|
40204
40221
|
}
|
|
@@ -43245,6 +43262,17 @@ var UndoService_UndoService = /*#__PURE__*/function () {
|
|
|
43245
43262
|
return UndoService;
|
|
43246
43263
|
}();
|
|
43247
43264
|
|
|
43265
|
+
/***/ }),
|
|
43266
|
+
|
|
43267
|
+
/***/ "4562":
|
|
43268
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43269
|
+
|
|
43270
|
+
"use strict";
|
|
43271
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("54a9");
|
|
43272
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
43273
|
+
/* unused harmony reexport * */
|
|
43274
|
+
|
|
43275
|
+
|
|
43248
43276
|
/***/ }),
|
|
43249
43277
|
|
|
43250
43278
|
/***/ "45eb":
|
|
@@ -44624,8 +44652,11 @@ var DrawTextNode_DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
44624
44652
|
|
|
44625
44653
|
this._ul.graphics.clear();
|
|
44626
44654
|
|
|
44627
|
-
this._ul.graphics.
|
|
44628
|
-
|
|
44655
|
+
this._ul.graphics.beginStroke(this._textNode.dCombineStyle.color).moveTo(0, 0 + 2 * h).lineTo(this.dWidth + this._wspace + 1, 0 + 2 * h); // this._ul.graphics.clear();
|
|
44656
|
+
// this._ul.graphics
|
|
44657
|
+
// .beginFill(this._textNode.dCombineStyle.color) //"black")
|
|
44658
|
+
// .drawRect(0, 0 + 2 * h, this.dWidth + this._wspace + 1, h);
|
|
44659
|
+
|
|
44629
44660
|
|
|
44630
44661
|
this.addChild(this._ul);
|
|
44631
44662
|
this._ul.x = -1; // srec.y = 2;
|
|
@@ -49801,10 +49832,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
49801
49832
|
}
|
|
49802
49833
|
|
|
49803
49834
|
if (!(value === "")) {
|
|
49804
|
-
_context2.next =
|
|
49835
|
+
_context2.next = 20;
|
|
49805
49836
|
break;
|
|
49806
49837
|
}
|
|
49807
49838
|
|
|
49839
|
+
this._canModifyContent = oldValue;
|
|
49808
49840
|
markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__[/* MarkNode */ "a"](this._hoEditorFactoryID, this._rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_38__[/* NodeType */ "b"].ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_42__[/* MarkNodeType */ "b"].mtContent);
|
|
49809
49841
|
hoEditorFactory.undoService.begin();
|
|
49810
49842
|
hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_32__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, startPath, markNode));
|
|
@@ -49818,11 +49850,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
49818
49850
|
|
|
49819
49851
|
return _context2.abrupt("return");
|
|
49820
49852
|
|
|
49821
|
-
case
|
|
49853
|
+
case 20:
|
|
49822
49854
|
hoEditorFactory.docController.insertPlainTextAfterPath(startPath, value, oldValue); //this._canModifyContent = await oldValue;
|
|
49823
49855
|
//this.update(0);
|
|
49824
49856
|
|
|
49825
|
-
case
|
|
49857
|
+
case 21:
|
|
49826
49858
|
case "end":
|
|
49827
49859
|
return _context2.stop();
|
|
49828
49860
|
}
|
|
@@ -55990,25 +56022,34 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
55990
56022
|
|
|
55991
56023
|
"use strict";
|
|
55992
56024
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DomRange; });
|
|
55993
|
-
/* harmony import */ var
|
|
55994
|
-
/* harmony import */ var
|
|
55995
|
-
/* harmony import */ var
|
|
55996
|
-
/* harmony import */ var
|
|
55997
|
-
/* harmony import */ var
|
|
55998
|
-
/* harmony import */ var
|
|
55999
|
-
/* harmony import */ var
|
|
56000
|
-
/* harmony import */ var
|
|
56001
|
-
/* harmony import */ var
|
|
56002
|
-
/* harmony import */ var
|
|
56003
|
-
/* harmony import */ var
|
|
56004
|
-
/* harmony import */ var
|
|
56005
|
-
/* harmony import */ var
|
|
56006
|
-
/* harmony import */ var
|
|
56007
|
-
/* harmony import */ var
|
|
56008
|
-
/* harmony import */ var
|
|
56009
|
-
/* harmony import */ var
|
|
56010
|
-
/* harmony import */ var
|
|
56011
|
-
/* harmony import */ var
|
|
56025
|
+
/* harmony import */ var element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9e1f");
|
|
56026
|
+
/* harmony import */ var element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
56027
|
+
/* harmony import */ var element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("450d");
|
|
56028
|
+
/* harmony import */ var element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_1__);
|
|
56029
|
+
/* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("6ed5");
|
|
56030
|
+
/* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2__);
|
|
56031
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("3835");
|
|
56032
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d4ec");
|
|
56033
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("bee2");
|
|
56034
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("99af");
|
|
56035
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
56036
|
+
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("4de4");
|
|
56037
|
+
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
56038
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("ca11");
|
|
56039
|
+
/* harmony import */ var _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("110d");
|
|
56040
|
+
/* harmony import */ var _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("4b89");
|
|
56041
|
+
/* harmony import */ var _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("eb7b");
|
|
56042
|
+
/* harmony import */ var _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("49d1");
|
|
56043
|
+
/* harmony import */ var _events_Exception__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("ff91");
|
|
56044
|
+
/* harmony import */ var _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("1551");
|
|
56045
|
+
/* harmony import */ var _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("053b");
|
|
56046
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("8d1d");
|
|
56047
|
+
/* harmony import */ var _treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("9685");
|
|
56048
|
+
/* harmony import */ var _treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("f7fa");
|
|
56049
|
+
/* harmony import */ var _treeNode_BaseCombineNode__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("c1cd");
|
|
56050
|
+
|
|
56051
|
+
|
|
56052
|
+
|
|
56012
56053
|
|
|
56013
56054
|
|
|
56014
56055
|
|
|
@@ -56029,7 +56070,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
56029
56070
|
var DomRange = /*#__PURE__*/function () {
|
|
56030
56071
|
// private _beginRangeSelect: boolean;
|
|
56031
56072
|
function DomRange(hoEditorFactoryID, start, end) {
|
|
56032
|
-
Object(
|
|
56073
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, DomRange);
|
|
56033
56074
|
|
|
56034
56075
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
56035
56076
|
this._startPath = start;
|
|
@@ -56042,7 +56083,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56042
56083
|
// }
|
|
56043
56084
|
}
|
|
56044
56085
|
|
|
56045
|
-
Object(
|
|
56086
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(DomRange, [{
|
|
56046
56087
|
key: "isEmpty",
|
|
56047
56088
|
get: function get() {
|
|
56048
56089
|
return this._startPath === this._endPath;
|
|
@@ -56060,13 +56101,13 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56060
56101
|
}, {
|
|
56061
56102
|
key: "normalize",
|
|
56062
56103
|
value: function normalize() {
|
|
56063
|
-
if (!
|
|
56104
|
+
if (!_NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].pathCanCompare(this._startPath, this._endPath)) {
|
|
56064
56105
|
throw new Error("\u65E0\u6CD5\u8FDB\u884C\u4F4D\u7F6E\u6BD4\u8F83".concat(this._startPath, ",").concat(this._endPath));
|
|
56065
56106
|
}
|
|
56066
56107
|
|
|
56067
56108
|
var newRange;
|
|
56068
56109
|
|
|
56069
|
-
if (
|
|
56110
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].treePathCompare(this._startPath, this._endPath) > 0) {
|
|
56070
56111
|
newRange = new DomRange(this._hoEditorFactoryID, this._endPath, this._startPath);
|
|
56071
56112
|
} else {
|
|
56072
56113
|
newRange = this.clone();
|
|
@@ -56079,14 +56120,14 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56079
56120
|
key: "inSameTable",
|
|
56080
56121
|
value: function inSameTable() {
|
|
56081
56122
|
if (this.npStart.node && this.npEnd.node) {
|
|
56082
|
-
var hoEditorFactory =
|
|
56123
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56083
56124
|
var startRect = hoEditorFactory.docTree.getParentRectNode(this.npStart.node);
|
|
56084
56125
|
var endRect = hoEditorFactory.docTree.getParentRectNode(this.npEnd.node);
|
|
56085
56126
|
|
|
56086
|
-
if (startRect && startRect instanceof
|
|
56127
|
+
if (startRect && startRect instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__[/* CellNode */ "a"]) {
|
|
56087
56128
|
var startCell = startRect;
|
|
56088
56129
|
|
|
56089
|
-
if (endRect && endRect instanceof
|
|
56130
|
+
if (endRect && endRect instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__[/* CellNode */ "a"]) {
|
|
56090
56131
|
var endCell = endRect;
|
|
56091
56132
|
|
|
56092
56133
|
if (startCell.table === endCell.table) {
|
|
@@ -56110,21 +56151,21 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56110
56151
|
return;
|
|
56111
56152
|
}
|
|
56112
56153
|
|
|
56113
|
-
var hoEditorFactory =
|
|
56154
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56114
56155
|
var startRect = hoEditorFactory.docTree.getParentRectNode(arange.npStart.node);
|
|
56115
56156
|
var endRect = hoEditorFactory.docTree.getParentRectNode(arange.npEnd.node);
|
|
56116
56157
|
|
|
56117
56158
|
if (startRect !== endRect) {
|
|
56118
|
-
if (startRect && startRect instanceof
|
|
56159
|
+
if (startRect && startRect instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__[/* CellNode */ "a"]) {
|
|
56119
56160
|
var startCell = startRect;
|
|
56120
56161
|
|
|
56121
56162
|
var _startCell$table$getC = startCell.table.getCellInfos(startCell),
|
|
56122
|
-
_startCell$table$getC2 = Object(
|
|
56163
|
+
_startCell$table$getC2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_startCell$table$getC, 2),
|
|
56123
56164
|
r = _startCell$table$getC2[0],
|
|
56124
56165
|
c = _startCell$table$getC2[1];
|
|
56125
56166
|
|
|
56126
56167
|
var _startCell$table$getM = startCell.table.getMainCell(r, c),
|
|
56127
|
-
_startCell$table$getM2 = Object(
|
|
56168
|
+
_startCell$table$getM2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_startCell$table$getM, 3),
|
|
56128
56169
|
cell1 = _startCell$table$getM2[0],
|
|
56129
56170
|
mr = _startCell$table$getM2[1],
|
|
56130
56171
|
mc = _startCell$table$getM2[2];
|
|
@@ -56133,17 +56174,17 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56133
56174
|
var bInSameTable = true;
|
|
56134
56175
|
arange._startPath = hoEditorFactory.docTree.getNodeFirstPath(cell1);
|
|
56135
56176
|
|
|
56136
|
-
if (endRect && endRect instanceof
|
|
56177
|
+
if (endRect && endRect instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__[/* CellNode */ "a"]) {
|
|
56137
56178
|
var endCell = endRect;
|
|
56138
56179
|
|
|
56139
56180
|
if (startCell.table === endCell.table) {
|
|
56140
56181
|
var _startCell$table$getC3 = startCell.table.getCellInfos(startCell),
|
|
56141
|
-
_startCell$table$getC4 = Object(
|
|
56182
|
+
_startCell$table$getC4 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_startCell$table$getC3, 2),
|
|
56142
56183
|
r1 = _startCell$table$getC4[0],
|
|
56143
56184
|
c1 = _startCell$table$getC4[1];
|
|
56144
56185
|
|
|
56145
56186
|
var _endCell$table$getCel = endCell.table.getCellInfos(endCell),
|
|
56146
|
-
_endCell$table$getCel2 = Object(
|
|
56187
|
+
_endCell$table$getCel2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_endCell$table$getCel, 2),
|
|
56147
56188
|
r2 = _endCell$table$getCel2[0],
|
|
56148
56189
|
c2 = _endCell$table$getCel2[1];
|
|
56149
56190
|
|
|
@@ -56154,7 +56195,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56154
56195
|
|
|
56155
56196
|
var _startCell$table$grow = startCell.table.growSelection(startR, startC, endR, endC);
|
|
56156
56197
|
|
|
56157
|
-
var _startCell$table$grow2 = Object(
|
|
56198
|
+
var _startCell$table$grow2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_startCell$table$grow, 4);
|
|
56158
56199
|
|
|
56159
56200
|
startR = _startCell$table$grow2[0];
|
|
56160
56201
|
startC = _startCell$table$grow2[1];
|
|
@@ -56162,13 +56203,13 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56162
56203
|
endC = _startCell$table$grow2[3];
|
|
56163
56204
|
|
|
56164
56205
|
var _startCell$table$getM3 = startCell.table.getMainCell(startR, startC),
|
|
56165
|
-
_startCell$table$getM4 = Object(
|
|
56206
|
+
_startCell$table$getM4 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_startCell$table$getM3, 3),
|
|
56166
56207
|
_cell = _startCell$table$getM4[0],
|
|
56167
56208
|
mr1 = _startCell$table$getM4[1],
|
|
56168
56209
|
mc1 = _startCell$table$getM4[2];
|
|
56169
56210
|
|
|
56170
56211
|
var _startCell$table$getM5 = startCell.table.getMainCell(endR, endC),
|
|
56171
|
-
_startCell$table$getM6 = Object(
|
|
56212
|
+
_startCell$table$getM6 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_startCell$table$getM5, 3),
|
|
56172
56213
|
cell2 = _startCell$table$getM6[0],
|
|
56173
56214
|
mr2 = _startCell$table$getM6[1],
|
|
56174
56215
|
mc2 = _startCell$table$getM6[2];
|
|
@@ -56197,7 +56238,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56197
56238
|
}
|
|
56198
56239
|
}
|
|
56199
56240
|
|
|
56200
|
-
if (endRect && endRect instanceof
|
|
56241
|
+
if (endRect && endRect instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__[/* CellNode */ "a"]) {
|
|
56201
56242
|
var _endCell = endRect; // const [r, c] = endCell.table.getCellInfos(endCell);
|
|
56202
56243
|
// const [cell1, mr, mc] = endCell.table.getMainCell(r, c);
|
|
56203
56244
|
|
|
@@ -56228,7 +56269,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56228
56269
|
return false;
|
|
56229
56270
|
}
|
|
56230
56271
|
|
|
56231
|
-
return
|
|
56272
|
+
return _NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].pathCanCompare(strPath, this._startPath) && _NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].treePathCompare(strPath, this._startPath) >= 0 || _NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].treePathCompare(strPath, this._endPath) <= 0;
|
|
56232
56273
|
}
|
|
56233
56274
|
}, {
|
|
56234
56275
|
key: "startPath",
|
|
@@ -56237,7 +56278,15 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56237
56278
|
},
|
|
56238
56279
|
set: function set(value) {
|
|
56239
56280
|
if (value !== this._startPath) {
|
|
56240
|
-
|
|
56281
|
+
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
56282
|
+
// const isValidPath = hoEditorFactory.docTree.checkPath(value);
|
|
56283
|
+
if (value.indexOf("-") >= 0) {
|
|
56284
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("当前路径异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。");
|
|
56285
|
+
|
|
56286
|
+
return;
|
|
56287
|
+
} else {
|
|
56288
|
+
this._startPath = value;
|
|
56289
|
+
}
|
|
56241
56290
|
}
|
|
56242
56291
|
}
|
|
56243
56292
|
}, {
|
|
@@ -56247,14 +56296,22 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56247
56296
|
},
|
|
56248
56297
|
set: function set(value) {
|
|
56249
56298
|
if (value !== this._endPath) {
|
|
56250
|
-
|
|
56299
|
+
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
56300
|
+
// const isValidPath = hoEditorFactory.docTree.checkPath(value);
|
|
56301
|
+
if (value.indexOf("-") >= 0) {
|
|
56302
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("当前路径异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。");
|
|
56303
|
+
|
|
56304
|
+
return;
|
|
56305
|
+
} else {
|
|
56306
|
+
this._endPath = value;
|
|
56307
|
+
}
|
|
56251
56308
|
}
|
|
56252
56309
|
}
|
|
56253
56310
|
}, {
|
|
56254
56311
|
key: "npStart",
|
|
56255
56312
|
get: function get() {
|
|
56256
56313
|
if (!this._npStart || this._npStart.path !== this._startPath) {
|
|
56257
|
-
var hoEditorFactory =
|
|
56314
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56258
56315
|
this._npStart = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
|
|
56259
56316
|
}
|
|
56260
56317
|
|
|
@@ -56264,7 +56321,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56264
56321
|
key: "npEnd",
|
|
56265
56322
|
get: function get() {
|
|
56266
56323
|
if (!this._npEnd || this._npEnd.path !== this._endPath) {
|
|
56267
|
-
var hoEditorFactory =
|
|
56324
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
56268
56325
|
this._npEnd = hoEditorFactory.docTree.findNodePositionByPath(this._endPath);
|
|
56269
56326
|
}
|
|
56270
56327
|
|
|
@@ -56291,11 +56348,11 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56291
56348
|
var arrIndex = new Array();
|
|
56292
56349
|
var text = "";
|
|
56293
56350
|
|
|
56294
|
-
if (anode instanceof
|
|
56351
|
+
if (anode instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_9__[/* TextNode */ "a"]) {
|
|
56295
56352
|
text = anode.text;
|
|
56296
56353
|
}
|
|
56297
56354
|
|
|
56298
|
-
if (anode instanceof
|
|
56355
|
+
if (anode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__[/* TextInputFieldNode */ "f"]) {
|
|
56299
56356
|
text = anode.text;
|
|
56300
56357
|
}
|
|
56301
56358
|
|
|
@@ -56333,16 +56390,16 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56333
56390
|
var node = domRange.npStart.node.nextLeaf();
|
|
56334
56391
|
var parentNode = null;
|
|
56335
56392
|
var nextNode = null;
|
|
56336
|
-
var bInSameRect =
|
|
56393
|
+
var bInSameRect = _NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].pathInSameRect(hoEditorFactoryID, domRange.startPath, domRange.endPath);
|
|
56337
56394
|
|
|
56338
|
-
var _TableNode$isNodeInTa =
|
|
56339
|
-
_TableNode$isNodeInTa2 = Object(
|
|
56395
|
+
var _TableNode$isNodeInTa = _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"].isNodeInTable(domRange.npStart.node),
|
|
56396
|
+
_TableNode$isNodeInTa2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_TableNode$isNodeInTa, 3),
|
|
56340
56397
|
bstartInTable = _TableNode$isNodeInTa2[0],
|
|
56341
56398
|
astartTable = _TableNode$isNodeInTa2[1],
|
|
56342
56399
|
startCell = _TableNode$isNodeInTa2[2];
|
|
56343
56400
|
|
|
56344
|
-
var _TableNode$isNodeInTa3 =
|
|
56345
|
-
_TableNode$isNodeInTa4 = Object(
|
|
56401
|
+
var _TableNode$isNodeInTa3 = _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"].isNodeInTable(domRange.npEnd.node),
|
|
56402
|
+
_TableNode$isNodeInTa4 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_TableNode$isNodeInTa3, 3),
|
|
56346
56403
|
bEndInTable = _TableNode$isNodeInTa4[0],
|
|
56347
56404
|
aendTable = _TableNode$isNodeInTa4[1],
|
|
56348
56405
|
endCell = _TableNode$isNodeInTa4[2];
|
|
@@ -56377,7 +56434,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56377
56434
|
parentNode = node.parentNode;
|
|
56378
56435
|
if (!parentNode) break;
|
|
56379
56436
|
|
|
56380
|
-
if (parentNode instanceof
|
|
56437
|
+
if (parentNode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__[/* CellNode */ "a"]) {
|
|
56381
56438
|
break;
|
|
56382
56439
|
}
|
|
56383
56440
|
|
|
@@ -56385,21 +56442,21 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56385
56442
|
}
|
|
56386
56443
|
|
|
56387
56444
|
if (!node) {
|
|
56388
|
-
throw
|
|
56445
|
+
throw _events_Exception__WEBPACK_IMPORTED_MODULE_13__[/* Exception */ "a"].NodeNotFound();
|
|
56389
56446
|
}
|
|
56390
56447
|
|
|
56391
|
-
if (
|
|
56448
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].treePathCompare(node.getNodePath(), endPath) > 0) break;
|
|
56392
56449
|
|
|
56393
|
-
if (node instanceof
|
|
56450
|
+
if (node instanceof _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_14__[/* ParagraphNode */ "a"]) {
|
|
56394
56451
|
var nextTable = node.nextSibling();
|
|
56395
56452
|
|
|
56396
|
-
if (!(nextTable instanceof
|
|
56453
|
+
if (!(nextTable instanceof _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"])) {
|
|
56397
56454
|
ret.push(node);
|
|
56398
56455
|
}
|
|
56399
56456
|
} else {
|
|
56400
56457
|
ret.push(node);
|
|
56401
56458
|
|
|
56402
|
-
if (node instanceof
|
|
56459
|
+
if (node instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__[/* TextInputFieldNode */ "f"] && endNode instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNode */ "a"] && endNode.parentNode === node) {
|
|
56403
56460
|
break;
|
|
56404
56461
|
}
|
|
56405
56462
|
}
|
|
@@ -56436,7 +56493,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56436
56493
|
var sNode = domRange.npStart.node;
|
|
56437
56494
|
var node = null;
|
|
56438
56495
|
|
|
56439
|
-
if (sNode instanceof
|
|
56496
|
+
if (sNode instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNode */ "a"] && sNode.parentNode && sNode.parentNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__[/* TextInputFieldNode */ "f"]) {
|
|
56440
56497
|
if (sNode === sNode.parentNode.EndMarkNode && sNode.text.substr(0, 1) !== "C") {
|
|
56441
56498
|
node = sNode.parentNode.nextSibling();
|
|
56442
56499
|
} else {
|
|
@@ -56447,16 +56504,16 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56447
56504
|
}
|
|
56448
56505
|
|
|
56449
56506
|
var nextNode = null;
|
|
56450
|
-
var bInSameRect =
|
|
56507
|
+
var bInSameRect = _NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].pathInSameRect(hoEditorFactoryID, domRange.startPath, domRange.endPath);
|
|
56451
56508
|
|
|
56452
|
-
var _TableNode$isNodeInTa5 =
|
|
56453
|
-
_TableNode$isNodeInTa6 = Object(
|
|
56509
|
+
var _TableNode$isNodeInTa5 = _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"].isNodeInTable(domRange.npStart.node),
|
|
56510
|
+
_TableNode$isNodeInTa6 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_TableNode$isNodeInTa5, 3),
|
|
56454
56511
|
bstartInTable = _TableNode$isNodeInTa6[0],
|
|
56455
56512
|
astartTable = _TableNode$isNodeInTa6[1],
|
|
56456
56513
|
startCell = _TableNode$isNodeInTa6[2];
|
|
56457
56514
|
|
|
56458
|
-
var _TableNode$isNodeInTa7 =
|
|
56459
|
-
_TableNode$isNodeInTa8 = Object(
|
|
56515
|
+
var _TableNode$isNodeInTa7 = _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"].isNodeInTable(domRange.npEnd.node),
|
|
56516
|
+
_TableNode$isNodeInTa8 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_TableNode$isNodeInTa7, 3),
|
|
56460
56517
|
bEndInTable = _TableNode$isNodeInTa8[0],
|
|
56461
56518
|
aendTable = _TableNode$isNodeInTa8[1],
|
|
56462
56519
|
endCell = _TableNode$isNodeInTa8[2];
|
|
@@ -56485,24 +56542,24 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56485
56542
|
}
|
|
56486
56543
|
}
|
|
56487
56544
|
|
|
56488
|
-
if (endNode.parentNode && endNode.parentNode instanceof
|
|
56545
|
+
if (endNode.parentNode && endNode.parentNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__[/* TextInputFieldNode */ "f"] && endNode === endNode.parentNode.EndMarkNode) endNode = endNode.parentNode;
|
|
56489
56546
|
|
|
56490
56547
|
if (!node) {
|
|
56491
56548
|
return ret;
|
|
56492
56549
|
}
|
|
56493
56550
|
|
|
56494
56551
|
do {
|
|
56495
|
-
if (
|
|
56552
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].treePathCompare(node.getNodePath(), endPath) > 0) break;
|
|
56496
56553
|
|
|
56497
56554
|
if (bstartInTable && aendTable === astartTable && bStartFullSelected) {
|
|
56498
56555
|
break;
|
|
56499
56556
|
}
|
|
56500
56557
|
|
|
56501
56558
|
if (node.isTotalSelected(domRange, true)) ret.push(node);else {
|
|
56502
|
-
if (node instanceof
|
|
56559
|
+
if (node instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__[/* TextInputFieldNode */ "f"]) {
|
|
56503
56560
|
node = node.childNodes[0];
|
|
56504
56561
|
ret.push(node);
|
|
56505
|
-
} else if (node instanceof
|
|
56562
|
+
} else if (node instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_9__[/* TextNode */ "a"]) {
|
|
56506
56563
|
ret.push(node);
|
|
56507
56564
|
}
|
|
56508
56565
|
}
|
|
@@ -56547,10 +56604,10 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56547
56604
|
var getNodeNextSibling = function getNodeNextSibling(bnode) {
|
|
56548
56605
|
node = bnode.nextSibling();
|
|
56549
56606
|
|
|
56550
|
-
if (node instanceof
|
|
56607
|
+
if (node instanceof _treeNode_BaseCombineNode__WEBPACK_IMPORTED_MODULE_19__[/* BaseCombineNode */ "a"] && node.childNodes.length > 0) {
|
|
56551
56608
|
node = node.childNodes[0];
|
|
56552
56609
|
|
|
56553
|
-
if (node instanceof
|
|
56610
|
+
if (node instanceof _treeNode_BaseCombineNode__WEBPACK_IMPORTED_MODULE_19__[/* BaseCombineNode */ "a"]) {
|
|
56554
56611
|
getNodeNextSibling(node);
|
|
56555
56612
|
}
|
|
56556
56613
|
} else {
|
|
@@ -56575,16 +56632,16 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56575
56632
|
|
|
56576
56633
|
var parentNode = null;
|
|
56577
56634
|
var nextNode = null;
|
|
56578
|
-
var bInSameRect =
|
|
56635
|
+
var bInSameRect = _NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].pathInSameRect(hoEditorFactoryID, domRange.startPath, domRange.endPath);
|
|
56579
56636
|
|
|
56580
|
-
var _TableNode$isNodeInTa9 =
|
|
56581
|
-
_TableNode$isNodeInTa10 = Object(
|
|
56637
|
+
var _TableNode$isNodeInTa9 = _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"].isNodeInTable(node),
|
|
56638
|
+
_TableNode$isNodeInTa10 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_TableNode$isNodeInTa9, 3),
|
|
56582
56639
|
bstartInTable = _TableNode$isNodeInTa10[0],
|
|
56583
56640
|
astartTable = _TableNode$isNodeInTa10[1],
|
|
56584
56641
|
startCell = _TableNode$isNodeInTa10[2];
|
|
56585
56642
|
|
|
56586
|
-
var _TableNode$isNodeInTa11 =
|
|
56587
|
-
_TableNode$isNodeInTa12 = Object(
|
|
56643
|
+
var _TableNode$isNodeInTa11 = _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"].isNodeInTable(domRange.npEnd.node),
|
|
56644
|
+
_TableNode$isNodeInTa12 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_TableNode$isNodeInTa11, 3),
|
|
56588
56645
|
bEndInTable = _TableNode$isNodeInTa12[0],
|
|
56589
56646
|
aendTable = _TableNode$isNodeInTa12[1],
|
|
56590
56647
|
endCell = _TableNode$isNodeInTa12[2];
|
|
@@ -56619,7 +56676,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56619
56676
|
parentNode = node.parentNode;
|
|
56620
56677
|
if (!parentNode) break;
|
|
56621
56678
|
|
|
56622
|
-
if (parentNode instanceof
|
|
56679
|
+
if (parentNode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__[/* CellNode */ "a"]) {
|
|
56623
56680
|
break;
|
|
56624
56681
|
}
|
|
56625
56682
|
|
|
@@ -56627,36 +56684,36 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56627
56684
|
}
|
|
56628
56685
|
|
|
56629
56686
|
if (!node) {
|
|
56630
|
-
throw
|
|
56687
|
+
throw _events_Exception__WEBPACK_IMPORTED_MODULE_13__[/* Exception */ "a"].NodeNotFound();
|
|
56631
56688
|
}
|
|
56632
56689
|
|
|
56633
|
-
if (
|
|
56690
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_8__[/* NodePosition */ "a"].treePathCompare(node.getNodePath(), endPath) > 0) break;
|
|
56634
56691
|
|
|
56635
|
-
if (node instanceof
|
|
56692
|
+
if (node instanceof _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_14__[/* ParagraphNode */ "a"]) {
|
|
56636
56693
|
var nextTable = node.nextSibling();
|
|
56637
56694
|
|
|
56638
|
-
if (!(nextTable instanceof
|
|
56695
|
+
if (!(nextTable instanceof _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"])) {
|
|
56639
56696
|
ret.push(node);
|
|
56640
56697
|
}
|
|
56641
|
-
} else if (node instanceof
|
|
56698
|
+
} else if (node instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_10__[/* TextInputFieldNode */ "f"]) {
|
|
56642
56699
|
if (node.isTotalSelected(domRange, true)) {
|
|
56643
56700
|
ret = ret.concat(node.getAllChildNodes());
|
|
56644
56701
|
|
|
56645
|
-
if (endNode instanceof
|
|
56702
|
+
if (endNode instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNode */ "a"] && endNode.parentNode === node) {
|
|
56646
56703
|
break;
|
|
56647
56704
|
}
|
|
56648
56705
|
} else {
|
|
56649
56706
|
ret = ret.concat(node.getSelectChildNodes(domRange, true));
|
|
56650
56707
|
break;
|
|
56651
56708
|
}
|
|
56652
|
-
} else if (node instanceof
|
|
56709
|
+
} else if (node instanceof _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__[/* TableNode */ "c"] && bSplitIntoTable) {
|
|
56653
56710
|
ret = ret.concat(node.getSelectNodes(domRange, true, true));
|
|
56654
56711
|
} else {
|
|
56655
56712
|
ret.push(node);
|
|
56656
56713
|
}
|
|
56657
56714
|
|
|
56658
56715
|
if (!node) {
|
|
56659
|
-
throw
|
|
56716
|
+
throw _events_Exception__WEBPACK_IMPORTED_MODULE_13__[/* Exception */ "a"].NodeNotFound();
|
|
56660
56717
|
}
|
|
56661
56718
|
|
|
56662
56719
|
if (node === endNode) {
|
|
@@ -56684,13 +56741,13 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56684
56741
|
key: "getRangeTextInputField",
|
|
56685
56742
|
value: function getRangeTextInputField(hoEditorFactoryID, startPath, endPath, bSplitIntoTable) {
|
|
56686
56743
|
var _DomRange$getSelectDo = DomRange.getSelectDomNodes(hoEditorFactoryID, startPath, endPath, bSplitIntoTable),
|
|
56687
|
-
_DomRange$getSelectDo2 = Object(
|
|
56744
|
+
_DomRange$getSelectDo2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_DomRange$getSelectDo, 3),
|
|
56688
56745
|
nodes = _DomRange$getSelectDo2[0],
|
|
56689
56746
|
startChildIndex = _DomRange$getSelectDo2[1],
|
|
56690
56747
|
endChildIndex = _DomRange$getSelectDo2[2];
|
|
56691
56748
|
|
|
56692
56749
|
var filterFunc = function filterFunc(node) {
|
|
56693
|
-
return node instanceof
|
|
56750
|
+
return node instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNode */ "a"] && node.MarkNodeType === _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNodeType */ "b"].mtStart;
|
|
56694
56751
|
};
|
|
56695
56752
|
|
|
56696
56753
|
var markNodes = nodes.filter(filterFunc);
|
|
@@ -56715,20 +56772,20 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56715
56772
|
key: "getElementNode",
|
|
56716
56773
|
value: function getElementNode(hoEditorFactoryID, startPath, endPath, bSplitIntoTable) {
|
|
56717
56774
|
var _DomRange$getSelectDo3 = DomRange.getSelectDomNodes(hoEditorFactoryID, startPath, endPath, bSplitIntoTable),
|
|
56718
|
-
_DomRange$getSelectDo4 = Object(
|
|
56775
|
+
_DomRange$getSelectDo4 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_DomRange$getSelectDo3, 3),
|
|
56719
56776
|
nodes = _DomRange$getSelectDo4[0],
|
|
56720
56777
|
startChildIndex = _DomRange$getSelectDo4[1],
|
|
56721
56778
|
endChildIndex = _DomRange$getSelectDo4[2];
|
|
56722
56779
|
|
|
56723
56780
|
var filterFunc = function filterFunc(node) {
|
|
56724
|
-
return node instanceof
|
|
56781
|
+
return node instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNode */ "a"] && node.MarkNodeType === _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNodeType */ "b"].mtStart || node instanceof _treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_17__[/* DateTimeNode */ "a"] || node instanceof _treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_18__[/* DownListNode */ "a"];
|
|
56725
56782
|
};
|
|
56726
56783
|
|
|
56727
56784
|
var elements = nodes.filter(filterFunc);
|
|
56728
56785
|
var ret = new Array();
|
|
56729
56786
|
|
|
56730
56787
|
for (var i = 0; i < elements.length; i++) {
|
|
56731
|
-
if (elements[i] instanceof
|
|
56788
|
+
if (elements[i] instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_15__[/* MarkNode */ "a"] && elements[i].parentNode) {
|
|
56732
56789
|
ret.push(elements[i].parentNode);
|
|
56733
56790
|
} else if (elements[i]) {
|
|
56734
56791
|
ret.push(elements[i]);
|
|
@@ -56893,6 +56950,13 @@ exports.default = {
|
|
|
56893
56950
|
|
|
56894
56951
|
/***/ }),
|
|
56895
56952
|
|
|
56953
|
+
/***/ "54a9":
|
|
56954
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
56955
|
+
|
|
56956
|
+
// extracted by mini-css-extract-plugin
|
|
56957
|
+
|
|
56958
|
+
/***/ }),
|
|
56959
|
+
|
|
56896
56960
|
/***/ "5524":
|
|
56897
56961
|
/***/ (function(module, exports) {
|
|
56898
56962
|
|
|
@@ -60178,13 +60242,6 @@ module.exports = function (bitmap, value) {
|
|
|
60178
60242
|
};
|
|
60179
60243
|
|
|
60180
60244
|
|
|
60181
|
-
/***/ }),
|
|
60182
|
-
|
|
60183
|
-
/***/ "5d03":
|
|
60184
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
60185
|
-
|
|
60186
|
-
// extracted by mini-css-extract-plugin
|
|
60187
|
-
|
|
60188
60245
|
/***/ }),
|
|
60189
60246
|
|
|
60190
60247
|
/***/ "5d41":
|
|
@@ -69725,6 +69782,20 @@ var DocTree = /*#__PURE__*/function () {
|
|
|
69725
69782
|
}
|
|
69726
69783
|
|
|
69727
69784
|
return nodeText;
|
|
69785
|
+
} //验证路径是否是有效路径
|
|
69786
|
+
|
|
69787
|
+
}, {
|
|
69788
|
+
key: "checkPath",
|
|
69789
|
+
value: function checkPath(path) {
|
|
69790
|
+
var pathArr = path.split('/');
|
|
69791
|
+
|
|
69792
|
+
for (var i = 0; i < pathArr.length; i++) {
|
|
69793
|
+
if (pathArr[i] === "-1") {
|
|
69794
|
+
return false;
|
|
69795
|
+
}
|
|
69796
|
+
}
|
|
69797
|
+
|
|
69798
|
+
return true;
|
|
69728
69799
|
}
|
|
69729
69800
|
}]);
|
|
69730
69801
|
|
|
@@ -76887,9 +76958,13 @@ var DrawContainer = __webpack_require__("b8e2");
|
|
|
76887
76958
|
// EXTERNAL MODULE: ./src/HOEditorFactorys.ts
|
|
76888
76959
|
var HOEditorFactorys = __webpack_require__("8d1d");
|
|
76889
76960
|
|
|
76961
|
+
// EXTERNAL MODULE: ./src/editor/draw/DrawConfig.ts
|
|
76962
|
+
var DrawConfig = __webpack_require__("cf50");
|
|
76963
|
+
|
|
76890
76964
|
// CONCATENATED MODULE: ./src/editor/Caret.ts
|
|
76891
76965
|
|
|
76892
76966
|
|
|
76967
|
+
|
|
76893
76968
|
// import "@/yuki-createjs";
|
|
76894
76969
|
// import { DrawLine } from "./draw/DrawLine";
|
|
76895
76970
|
// import { DrawTable } from "./draw/drawNode/DrawTable";
|
|
@@ -76959,7 +77034,7 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
76959
77034
|
// const g = this.cursor.graphics;
|
|
76960
77035
|
// g.clear();
|
|
76961
77036
|
// g.beginFill("black").rect(0, 0, 1, this._height);
|
|
76962
|
-
this.div_cursor.style.height = Math.max(val, 12) + "px"; // this.updateCaret();
|
|
77037
|
+
this.div_cursor.style.height = Math.max(val, 12) * DrawConfig["a" /* DrawConfig */].instance().scaleXY + "px"; // this.updateCaret();
|
|
76963
77038
|
}
|
|
76964
77039
|
}
|
|
76965
77040
|
}, {
|
|
@@ -77867,9 +77942,17 @@ var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
|
77867
77942
|
|
|
77868
77943
|
this._background.graphics.clear();
|
|
77869
77944
|
|
|
77870
|
-
backColor = hoEditorFactory.drawTree.paintStatus === PaintState.psPreview ? "#FFFFFF" : "#FFFFFF";
|
|
77945
|
+
backColor = hoEditorFactory.drawTree.paintStatus === PaintState.psPreview ? "#FFFFFF" : "#FFFFFF"; // this._background.graphics
|
|
77946
|
+
// .beginFill(backColor)
|
|
77947
|
+
// .drawRect(
|
|
77948
|
+
// 0,
|
|
77949
|
+
// 0,
|
|
77950
|
+
// hoEditorFactory.pageProperty.widthPixes,
|
|
77951
|
+
// hoEditorFactory.pageProperty.heightPixes
|
|
77952
|
+
// )
|
|
77953
|
+
// .closePath();
|
|
77871
77954
|
|
|
77872
|
-
this._background.graphics.beginFill(backColor).drawRect(0, 0, hoEditorFactory.pageProperty.
|
|
77955
|
+
this._background.graphics.beginFill(backColor).drawRect(0, 0, hoEditorFactory.pageProperty.canvasParams.width, hoEditorFactory.pageProperty.canvasParams.height).closePath();
|
|
77873
77956
|
|
|
77874
77957
|
if (this._domLevel && this._domLevel.stage) {
|
|
77875
77958
|
this._domLevel.stage.addChildAt(this._background, 0);
|
|
@@ -78208,6 +78291,7 @@ var TableFormula = __webpack_require__("2273");
|
|
|
78208
78291
|
|
|
78209
78292
|
|
|
78210
78293
|
|
|
78294
|
+
|
|
78211
78295
|
|
|
78212
78296
|
|
|
78213
78297
|
//当前的显示状态,psDesign为设计状态,psEdit为正常编辑状态 psPreview为打印预览态态 psPrint 正在打印状态
|
|
@@ -80322,7 +80406,13 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
80322
80406
|
if (_dNode instanceof DrawTextNode["a" /* DrawTextNode */] && _dNode.node instanceof TextNode["a" /* TextNode */]) {
|
|
80323
80407
|
var childIndex = _dNode.dText.getChildIndex(x, y);
|
|
80324
80408
|
|
|
80325
|
-
|
|
80409
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
80410
|
+
|
|
80411
|
+
if (childIndex === -1) {
|
|
80412
|
+
selectStart = hoEditorFactory.docTree.getNodeLastPath(_dNode.node.previousLeaf());
|
|
80413
|
+
} else {
|
|
80414
|
+
selectStart = "".concat(_dNode.node.getNodePath(), "/").concat(childIndex);
|
|
80415
|
+
}
|
|
80326
80416
|
} else if (Object(IDrawInfos["b" /* instanceOfIDrawInfos */])(_dNode)) {
|
|
80327
80417
|
var _node = _dNode.node;
|
|
80328
80418
|
|
|
@@ -80390,10 +80480,10 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
80390
80480
|
|
|
80391
80481
|
if (dPage && dPage.drawSelectLevel) {
|
|
80392
80482
|
if (this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== "") {
|
|
80393
|
-
this._editor.moveTo(dPage.pageIndex, pos.x, pos.y);
|
|
80483
|
+
this._editor.moveTo(dPage.pageIndex, pos.x * DrawConfig["a" /* DrawConfig */].instance().scaleXY, pos.y * DrawConfig["a" /* DrawConfig */].instance().scaleXY);
|
|
80394
80484
|
}
|
|
80395
80485
|
|
|
80396
|
-
this._caret.moveTo(dPage.pageIndex, pos.x, pos.y);
|
|
80486
|
+
this._caret.moveTo(dPage.pageIndex, pos.x * DrawConfig["a" /* DrawConfig */].instance().scaleXY, pos.y * DrawConfig["a" /* DrawConfig */].instance().scaleXY);
|
|
80397
80487
|
}
|
|
80398
80488
|
|
|
80399
80489
|
return;
|
|
@@ -80428,7 +80518,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
80428
80518
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
80429
80519
|
|
|
80430
80520
|
if (this.selectRange.beginRangeSelect === undefined || this.selectRange.isEmpty || hoEditorFactory.docController.findContent !== "") {
|
|
80431
|
-
this._editor.moveTo(pageIndex, x, y);
|
|
80521
|
+
this._editor.moveTo(pageIndex, x * DrawConfig["a" /* DrawConfig */].instance().scaleXY, y * DrawConfig["a" /* DrawConfig */].instance().scaleXY);
|
|
80432
80522
|
}
|
|
80433
80523
|
}
|
|
80434
80524
|
}, {
|
|
@@ -80469,10 +80559,10 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
80469
80559
|
this._caret.height = dLine.dHeight + dLine.paragraphNode.combineParagraph.lineSpace; // 只读模式
|
|
80470
80560
|
|
|
80471
80561
|
if (this._paintStatus !== PaintState.psReadOnly) {
|
|
80472
|
-
this._caret.moveTo(dPage.pageIndex, dest.x, dest.y);
|
|
80562
|
+
this._caret.moveTo(dPage.pageIndex, dest.x * DrawConfig["a" /* DrawConfig */].instance().scaleXY, dest.y * DrawConfig["a" /* DrawConfig */].instance().scaleXY);
|
|
80473
80563
|
}
|
|
80474
80564
|
|
|
80475
|
-
this.moveEditTo(dPage.pageIndex, dest.x, dest.y);
|
|
80565
|
+
this.moveEditTo(dPage.pageIndex, dest.x * DrawConfig["a" /* DrawConfig */].instance().scaleXY, dest.y * DrawConfig["a" /* DrawConfig */].instance().scaleXY);
|
|
80476
80566
|
} else {
|
|
80477
80567
|
var dNode = dLine.drawItems[index];
|
|
80478
80568
|
var aCharSpace = dLine.charSpace;
|
|
@@ -80507,7 +80597,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
80507
80597
|
// }
|
|
80508
80598
|
|
|
80509
80599
|
if (this._paintStatus !== PaintState.psReadOnly) {
|
|
80510
|
-
this._caret.moveTo(dPage.pageIndex, _dest.x, _dest.y);
|
|
80600
|
+
this._caret.moveTo(dPage.pageIndex, _dest.x * DrawConfig["a" /* DrawConfig */].instance().scaleXY, _dest.y * DrawConfig["a" /* DrawConfig */].instance().scaleXY);
|
|
80511
80601
|
}
|
|
80512
80602
|
|
|
80513
80603
|
this.moveEditTo(dPage.pageIndex, _dest.x, _dest.y);
|
|
@@ -84459,17 +84549,6 @@ module.exports = {
|
|
|
84459
84549
|
|
|
84460
84550
|
// extracted by mini-css-extract-plugin
|
|
84461
84551
|
|
|
84462
|
-
/***/ }),
|
|
84463
|
-
|
|
84464
|
-
/***/ "77e6":
|
|
84465
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
84466
|
-
|
|
84467
|
-
"use strict";
|
|
84468
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_a3d130be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5d03");
|
|
84469
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_a3d130be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_a3d130be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
84470
|
-
/* unused harmony reexport * */
|
|
84471
|
-
|
|
84472
|
-
|
|
84473
84552
|
/***/ }),
|
|
84474
84553
|
|
|
84475
84554
|
/***/ "77e9":
|
|
@@ -96082,7 +96161,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
96082
96161
|
this._widthPixes = hoEditorFactory.unitConvert.mmConversionPx(this._widthMm + this._commentWidthMm, true);
|
|
96083
96162
|
this._commentWidthPixes = hoEditorFactory.unitConvert.mmConversionPx(this._commentWidthMm, true);
|
|
96084
96163
|
this._rightMarginPixes = hoEditorFactory.unitConvert.mmConversionPx(this._rightMarginMm + this._commentWidthMm, true);
|
|
96085
|
-
var width = this._widthPixes % 2
|
|
96164
|
+
var width = this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY % 2 >= 1 ? this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY + 1 : this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
|
|
96086
96165
|
this._canvasParams.width = width * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
|
|
96087
96166
|
}
|
|
96088
96167
|
}
|
|
@@ -96095,8 +96174,8 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
96095
96174
|
if (value !== this._widthMm) {
|
|
96096
96175
|
this._widthMm = value;
|
|
96097
96176
|
this._widthPixes = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(this._widthMm + this._commentWidthMm, true);
|
|
96098
|
-
var width = this._widthPixes % 2
|
|
96099
|
-
this._canvasParams.width =
|
|
96177
|
+
var width = this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY % 2 >= 1 ? this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY + 1 : this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
|
|
96178
|
+
this._canvasParams.width = this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
|
|
96100
96179
|
}
|
|
96101
96180
|
}
|
|
96102
96181
|
}, {
|
|
@@ -96108,7 +96187,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
96108
96187
|
if (value !== this._heightMm) {
|
|
96109
96188
|
this._heightMm = value;
|
|
96110
96189
|
this._heightPixes = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(this._heightMm, false);
|
|
96111
|
-
var height = this._heightPixes % 2
|
|
96190
|
+
var height = this._heightPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY % 2 >= 1 ? this._heightPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY + 1 : this._heightPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
|
|
96112
96191
|
this._canvasParams.height = height * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY; // this._canvasHeadFootPos.headerY = this._topMarginPixes - this._headerYPixes;
|
|
96113
96192
|
// this._canvasHeadFootPos.footerY = this._heightPixes - this._bottomMarginPixes;
|
|
96114
96193
|
}
|
|
@@ -97270,19 +97349,31 @@ var TableInsertUndoUnit = /*#__PURE__*/function (_NodeInsertUndoUnit) {
|
|
|
97270
97349
|
/* unused harmony export ChildIndexRange */
|
|
97271
97350
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BaseNode; });
|
|
97272
97351
|
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("53ca");
|
|
97273
|
-
/* harmony import */ var
|
|
97274
|
-
/* harmony import */ var
|
|
97275
|
-
/* harmony import */ var
|
|
97276
|
-
/* harmony import */ var
|
|
97277
|
-
/* harmony import */ var
|
|
97278
|
-
/* harmony import */ var
|
|
97279
|
-
/* harmony import */ var
|
|
97280
|
-
/* harmony import */ var
|
|
97281
|
-
/* harmony import */ var
|
|
97282
|
-
/* harmony import */ var
|
|
97283
|
-
/* harmony import */ var
|
|
97284
|
-
/* harmony import */ var
|
|
97285
|
-
/* harmony import */ var
|
|
97352
|
+
/* harmony import */ var element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9e1f");
|
|
97353
|
+
/* harmony import */ var element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_1__);
|
|
97354
|
+
/* harmony import */ var element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("450d");
|
|
97355
|
+
/* harmony import */ var element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_2__);
|
|
97356
|
+
/* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("6ed5");
|
|
97357
|
+
/* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3__);
|
|
97358
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d4ec");
|
|
97359
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("bee2");
|
|
97360
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("a434");
|
|
97361
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
97362
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("b0c0");
|
|
97363
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
97364
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("159b");
|
|
97365
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
97366
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("b64b");
|
|
97367
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
97368
|
+
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("120e");
|
|
97369
|
+
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_yuki_createjs__WEBPACK_IMPORTED_MODULE_10__);
|
|
97370
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("ca11");
|
|
97371
|
+
/* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("ff91");
|
|
97372
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("8d1d");
|
|
97373
|
+
|
|
97374
|
+
|
|
97375
|
+
|
|
97376
|
+
|
|
97286
97377
|
|
|
97287
97378
|
|
|
97288
97379
|
|
|
@@ -97317,13 +97408,13 @@ var NodeType;
|
|
|
97317
97408
|
|
|
97318
97409
|
var ChildIndexRange = /*#__PURE__*/function () {
|
|
97319
97410
|
function ChildIndexRange(start, end) {
|
|
97320
|
-
Object(
|
|
97411
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, ChildIndexRange);
|
|
97321
97412
|
|
|
97322
97413
|
this._start = start;
|
|
97323
97414
|
this._end = end;
|
|
97324
97415
|
}
|
|
97325
97416
|
|
|
97326
|
-
Object(
|
|
97417
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(ChildIndexRange, [{
|
|
97327
97418
|
key: "start",
|
|
97328
97419
|
get: function get() {
|
|
97329
97420
|
return this._start;
|
|
@@ -97347,18 +97438,18 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97347
97438
|
* @description rootPath未例 main\表示主文档节点 header\0 表示首页页眉 header\1 表示次页页眉 header\3 表示第三页页眉
|
|
97348
97439
|
*/
|
|
97349
97440
|
function BaseNode(hoEditorFactoryID, rootNodes, pNode, nodeType) {
|
|
97350
|
-
Object(
|
|
97441
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, BaseNode);
|
|
97351
97442
|
|
|
97352
97443
|
this._parentNode = pNode;
|
|
97353
97444
|
this._nodeType = nodeType;
|
|
97354
97445
|
this._drawNodes = new Array();
|
|
97355
97446
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
97356
|
-
this._rootPath =
|
|
97447
|
+
this._rootPath = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).docTree.getRootPathByNodes(rootNodes);
|
|
97357
97448
|
this._rootNodes = rootNodes;
|
|
97358
97449
|
this._that = this;
|
|
97359
97450
|
}
|
|
97360
97451
|
|
|
97361
|
-
Object(
|
|
97452
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(BaseNode, [{
|
|
97362
97453
|
key: "hoEditorFactoryID",
|
|
97363
97454
|
get: function get() {
|
|
97364
97455
|
return this._hoEditorFactoryID;
|
|
@@ -97530,11 +97621,14 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97530
97621
|
var _index = siblings.indexOf(node);
|
|
97531
97622
|
|
|
97532
97623
|
if (_index === 0 && (parentNode === null || parentNode === void 0 ? void 0 : parentNode.nodeType) === NodeType.ntField && node._nodeType !== NodeType.ntMark) {
|
|
97533
|
-
var hoEditorFactory =
|
|
97534
|
-
|
|
97624
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
97625
|
+
_editor_events_Exception__WEBPACK_IMPORTED_MODULE_12__[/* Exception */ "a"].printCallStack(); //fixme 此处返回-1时会造成死循环,需要查找原因
|
|
97535
97626
|
|
|
97536
97627
|
if (hoEditorFactory.isThrowError) {
|
|
97537
|
-
throw new Error("
|
|
97628
|
+
//throw new Error("此处返回0时会造成死循环,需要查找原因")
|
|
97629
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3___default.a.alert("经检测,病历元素“" + parentNode.name + "”的模板格式有问题,可能会导致死循环,请联系工程师进行处理(1)。");
|
|
97630
|
+
|
|
97631
|
+
return null;
|
|
97538
97632
|
}
|
|
97539
97633
|
}
|
|
97540
97634
|
|
|
@@ -97600,7 +97694,7 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97600
97694
|
}, {
|
|
97601
97695
|
key: "nextLeaf",
|
|
97602
97696
|
value: function nextLeaf() {
|
|
97603
|
-
var hoEditorFactory =
|
|
97697
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
97604
97698
|
var parentNode = this._parentNode;
|
|
97605
97699
|
var node = this._that;
|
|
97606
97700
|
|
|
@@ -97645,18 +97739,24 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97645
97739
|
}
|
|
97646
97740
|
|
|
97647
97741
|
if (_index3 === 0 && ((_parentNode = parentNode) === null || _parentNode === void 0 ? void 0 : _parentNode.nodeType) === NodeType.ntField && node._nodeType !== NodeType.ntMark) {
|
|
97648
|
-
|
|
97742
|
+
_editor_events_Exception__WEBPACK_IMPORTED_MODULE_12__[/* Exception */ "a"].printCallStack(); //fixme 此处返回-1时会造成死循环,需要查找原因
|
|
97649
97743
|
|
|
97650
97744
|
if (hoEditorFactory.isThrowError) {
|
|
97651
|
-
throw new Error("此处返回0时会造成死循环,需要查找原因")
|
|
97745
|
+
//throw new Error("此处返回0时会造成死循环,需要查找原因")
|
|
97746
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3___default.a.alert("经检测,病历元素“" + parentNode.name + "”的模板格式有问题,可能会导致死循环,请联系工程师进行处理(2)。");
|
|
97747
|
+
|
|
97748
|
+
return null;
|
|
97652
97749
|
}
|
|
97653
97750
|
}
|
|
97654
97751
|
|
|
97655
97752
|
if (_index3 === -1) {
|
|
97656
|
-
|
|
97753
|
+
_editor_events_Exception__WEBPACK_IMPORTED_MODULE_12__[/* Exception */ "a"].printCallStack(); //fixme 此处返回-1时会造成死循环,需要查找原因
|
|
97657
97754
|
|
|
97658
97755
|
if (hoEditorFactory.isThrowError) {
|
|
97659
|
-
throw new Error("此处返回-1时会造成死循环,需要查找原因(1)")
|
|
97756
|
+
//throw new Error("此处返回-1时会造成死循环,需要查找原因(1)")
|
|
97757
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3___default.a.alert("经检测,该病历的模板格式有问题,可能会导致死循环,请联系工程师进行处理(1)。");
|
|
97758
|
+
|
|
97759
|
+
return null;
|
|
97660
97760
|
}
|
|
97661
97761
|
}
|
|
97662
97762
|
|
|
@@ -97664,10 +97764,13 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97664
97764
|
_index3 = siblings.indexOf(node);
|
|
97665
97765
|
|
|
97666
97766
|
if (_index3 === -1) {
|
|
97667
|
-
|
|
97767
|
+
_editor_events_Exception__WEBPACK_IMPORTED_MODULE_12__[/* Exception */ "a"].printCallStack(); //fixme 此处返回-1时会造成死循环,需要查找原因
|
|
97668
97768
|
|
|
97669
97769
|
if (hoEditorFactory.isThrowError) {
|
|
97670
|
-
throw new Error("此处返回-1时会造成死循环,需要查找原因(2)")
|
|
97770
|
+
//throw new Error("此处返回-1时会造成死循环,需要查找原因(2)")
|
|
97771
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3___default.a.alert("经检测,该病历的模板格式有问题,可能会导致死循环,请联系工程师进行处理(2)。");
|
|
97772
|
+
|
|
97773
|
+
return null;
|
|
97671
97774
|
}
|
|
97672
97775
|
} // else {
|
|
97673
97776
|
|
|
@@ -97710,7 +97813,7 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97710
97813
|
key: "previousLeaf",
|
|
97711
97814
|
value: function previousLeaf() {
|
|
97712
97815
|
var parentNode = this._parentNode;
|
|
97713
|
-
var hoEditorFactory =
|
|
97816
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
97714
97817
|
var node = this._that; //this 直接在根节点上
|
|
97715
97818
|
|
|
97716
97819
|
for (;;) {
|
|
@@ -97962,11 +98065,11 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97962
98065
|
end = arange.npEnd.childIndex;
|
|
97963
98066
|
}
|
|
97964
98067
|
|
|
97965
|
-
if (
|
|
98068
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].nodePositionCompare(this, astartNode) > 0) {
|
|
97966
98069
|
start = 0;
|
|
97967
98070
|
}
|
|
97968
98071
|
|
|
97969
|
-
if (
|
|
98072
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].nodePositionCompare(this, aendNode) < 0) {
|
|
97970
98073
|
end = this.getLength() - 1;
|
|
97971
98074
|
}
|
|
97972
98075
|
|
|
@@ -97988,9 +98091,9 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
97988
98091
|
}
|
|
97989
98092
|
|
|
97990
98093
|
var startPath = this.getNodePath();
|
|
97991
|
-
var lastPath =
|
|
97992
|
-
if (!
|
|
97993
|
-
return
|
|
98094
|
+
var lastPath = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(this);
|
|
98095
|
+
if (!_NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].pathCanCompare(startPath, arange.startPath) || !_NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].pathCanCompare(lastPath, arange.endPath)) return false;
|
|
98096
|
+
return _NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].treePathCompare(startPath, arange.startPath) >= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].treePathCompare(lastPath, arange.endPath) <= 0; // const achildRange = this.getIndexsByRange(arange);
|
|
97994
98097
|
// if ((achildRange.start === 0) && (achildRange.end === this.getLength() - 1)) {
|
|
97995
98098
|
// return true;
|
|
97996
98099
|
// }
|
|
@@ -98062,7 +98165,7 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
98062
98165
|
}, {
|
|
98063
98166
|
key: "getParentWidth",
|
|
98064
98167
|
value: function getParentWidth() {
|
|
98065
|
-
var hoEditorFactory =
|
|
98168
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
98066
98169
|
var pNode = this._parentNode;
|
|
98067
98170
|
|
|
98068
98171
|
while (pNode) {
|
|
@@ -98088,7 +98191,7 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
98088
98191
|
}, {
|
|
98089
98192
|
key: "range",
|
|
98090
98193
|
value: function range() {
|
|
98091
|
-
var hoEditorFactory =
|
|
98194
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
98092
98195
|
return {
|
|
98093
98196
|
from: hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf()),
|
|
98094
98197
|
to: hoEditorFactory.docTree.getNodeLastPath(this)
|
|
@@ -98098,7 +98201,7 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
98098
98201
|
key: "checkPath",
|
|
98099
98202
|
value: function checkPath(spath) {
|
|
98100
98203
|
var info = this.range();
|
|
98101
|
-
return
|
|
98204
|
+
return _NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].treePathCompare(info.from, spath) <= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].treePathCompare(info.to, spath) >= 0;
|
|
98102
98205
|
}
|
|
98103
98206
|
/**
|
|
98104
98207
|
* 交集
|
|
@@ -98114,11 +98217,11 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
98114
98217
|
|
|
98115
98218
|
if (range) {
|
|
98116
98219
|
if (range['from']) {
|
|
98117
|
-
from =
|
|
98220
|
+
from = _NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].treePathCompare(info.from, range.from) <= 0 ? range.from : info.from;
|
|
98118
98221
|
}
|
|
98119
98222
|
|
|
98120
98223
|
if (range['to']) {
|
|
98121
|
-
to =
|
|
98224
|
+
to = _NodePosition__WEBPACK_IMPORTED_MODULE_11__[/* NodePosition */ "a"].treePathCompare(info.to, range.to) <= 0 ? info.to : range.to;
|
|
98122
98225
|
}
|
|
98123
98226
|
}
|
|
98124
98227
|
|
|
@@ -101771,12 +101874,19 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
101771
101874
|
key: "setDateTimeText",
|
|
101772
101875
|
value: function setDateTimeText(text) {
|
|
101773
101876
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
101774
|
-
this._text = text;
|
|
101775
|
-
this.node2DrawNode();
|
|
101776
101877
|
var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
|
|
101777
101878
|
var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
101778
101879
|
var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__[/* NodeChangeEvent */ "a"](this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_19__[/* DocAction */ "a"].daModifyStyle, sPath, ePath);
|
|
101880
|
+
changeEvent.oldEndPath = ePath;
|
|
101779
101881
|
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__[/* SelectRange */ "a"](this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
|
|
101882
|
+
this.text = text;
|
|
101883
|
+
|
|
101884
|
+
if (this.text === "") {
|
|
101885
|
+
this.text = this.labelText !== "" && this.labelText !== undefined && this.labelText != null ? this.labelText : " ";
|
|
101886
|
+
}
|
|
101887
|
+
|
|
101888
|
+
this.node2DrawNode();
|
|
101889
|
+
changeEvent.afterChangePath = ePath;
|
|
101780
101890
|
hoEditorFactory.docTree.change(changeEvent);
|
|
101781
101891
|
} //根据可放置的宽度,将普通组件转换成绘制组件
|
|
101782
101892
|
|
|
@@ -118443,7 +118553,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
118443
118553
|
}
|
|
118444
118554
|
}
|
|
118445
118555
|
|
|
118446
|
-
if (dPageTable && !dPageTable.isEndRowFinished()) {
|
|
118556
|
+
if (dPageTable && (dPageTable.endRow < dPageTable.table.rowCount - 1 || !dPageTable.isEndRowFinished())) {
|
|
118447
118557
|
this._endDline = nextDline;
|
|
118448
118558
|
if (dPageTable) this.lastDrawLine = dPageTable;
|
|
118449
118559
|
isFull = true;
|
|
@@ -177508,12 +177618,24 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
177508
177618
|
key: "setDownListText",
|
|
177509
177619
|
value: function setDownListText(text) {
|
|
177510
177620
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
177511
|
-
this._text = text;
|
|
177512
|
-
this.node2DrawNode();
|
|
177513
177621
|
var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
|
|
177514
177622
|
var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
177515
177623
|
var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__[/* NodeChangeEvent */ "a"](this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_16__[/* DocAction */ "a"].daModifyStyle, sPath, ePath);
|
|
177624
|
+
changeEvent.oldEndPath = ePath;
|
|
177516
177625
|
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__[/* SelectRange */ "a"](this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
|
|
177626
|
+
this._text = text;
|
|
177627
|
+
|
|
177628
|
+
if (this._text === "") {
|
|
177629
|
+
if (this.name !== "") {
|
|
177630
|
+
this._text = this.name;
|
|
177631
|
+
this._labelText = this.name;
|
|
177632
|
+
} else {
|
|
177633
|
+
this._text = this.labelText;
|
|
177634
|
+
}
|
|
177635
|
+
}
|
|
177636
|
+
|
|
177637
|
+
this.node2DrawNode();
|
|
177638
|
+
changeEvent.afterChangePath = ePath;
|
|
177517
177639
|
hoEditorFactory.docTree.change(changeEvent);
|
|
177518
177640
|
} //根据可放置的宽度,将普通组件转换成绘制组件
|
|
177519
177641
|
|
|
@@ -177933,12 +178055,12 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
177933
178055
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
177934
178056
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
177935
178057
|
|
|
177936
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
177937
|
-
var
|
|
178058
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=372eedda&
|
|
178059
|
+
var HoDocsvue_type_template_id_372eedda_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',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_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),_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isListStyle":_vm.isListStyle},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true}],null,true)}),(_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('ViewContinuousXml',{attrs:{"hoEditorFactoryId":_vm.activeDocId}})],1):_vm._e()}
|
|
177938
178060
|
var staticRenderFns = []
|
|
177939
178061
|
|
|
177940
178062
|
|
|
177941
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
178063
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=372eedda&
|
|
177942
178064
|
|
|
177943
178065
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
177944
178066
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -178849,12 +178971,12 @@ function isPromise(obj) {
|
|
|
178849
178971
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
178850
178972
|
}
|
|
178851
178973
|
|
|
178852
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
178853
|
-
var
|
|
178854
|
-
var
|
|
178974
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=136f210d&
|
|
178975
|
+
var HoDocvue_type_template_id_136f210d_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}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return _vm.isCreateRightMenuModal = false; }),expression:"() => isCreateRightMenuModal = false"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v("编辑器内核版本: "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
|
|
178976
|
+
var HoDocvue_type_template_id_136f210d_staticRenderFns = []
|
|
178855
178977
|
|
|
178856
178978
|
|
|
178857
|
-
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=
|
|
178979
|
+
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=136f210d&
|
|
178858
178980
|
|
|
178859
178981
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
178860
178982
|
var toConsumableArray = __webpack_require__("2909");
|
|
@@ -178871,7 +178993,7 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
178871
178993
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
178872
178994
|
var es_string_replace = __webpack_require__("5319");
|
|
178873
178995
|
|
|
178874
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
178996
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=876d1352&scoped=true&
|
|
178875
178997
|
var HoPagevue_type_template_id_876d1352_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,attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight}}),_c('canvas',{ref:"selectcanvas",staticClass:"selectcanvas",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)}
|
|
178876
178998
|
var HoPagevue_type_template_id_876d1352_scoped_true_staticRenderFns = []
|
|
178877
178999
|
|
|
@@ -179971,7 +180093,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
179971
180093
|
|
|
179972
180094
|
return DrawDomLevel;
|
|
179973
180095
|
}();
|
|
179974
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
180096
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
179975
180097
|
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)])}
|
|
179976
180098
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_staticRenderFns = []
|
|
179977
180099
|
|
|
@@ -180146,7 +180268,7 @@ var component = normalizeComponent(
|
|
|
180146
180268
|
)
|
|
180147
180269
|
|
|
180148
180270
|
/* harmony default export */ var components_HoHeadFoot = (component.exports);
|
|
180149
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
180271
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
180150
180272
|
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)}
|
|
180151
180273
|
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_staticRenderFns = []
|
|
180152
180274
|
|
|
@@ -180550,7 +180672,7 @@ var HoPage_component = normalizeComponent(
|
|
|
180550
180672
|
)
|
|
180551
180673
|
|
|
180552
180674
|
/* harmony default export */ var components_HoPage = (HoPage_component.exports);
|
|
180553
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
180675
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
180554
180676
|
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:({
|
|
180555
180677
|
right: _vm.styleRight,
|
|
180556
180678
|
bottom: _vm.styleBottom,
|
|
@@ -180721,7 +180843,7 @@ var HoToPage_component = normalizeComponent(
|
|
|
180721
180843
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
180722
180844
|
|
|
180723
180845
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
180724
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
180846
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=5c3ee6d6&scoped=true&
|
|
180725
180847
|
var PoperSelectvue_type_template_id_5c3ee6d6_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('div',{staticStyle:{"padding":"5px"}},[_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"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length > 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[_c('ul',{ref:"selectPoperList",staticClass:"list"},_vm._l((_vm.currentList),function(item,index){return _c('li',{key:item.id,class:item.default ? 'selected' : '',on:{"click":function($event){return _vm.selectItems(item, index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : 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.selectedList.length > 0 && _vm.isAllowMultiSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择"},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id,staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.selectItems(item, index)}}})])]})],2):_vm._e()],1)]):_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":_vm.cancelSelect}},[_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()])}
|
|
180726
180848
|
var PoperSelectvue_type_template_id_5c3ee6d6_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("无选项")])])}]
|
|
180727
180849
|
|
|
@@ -180803,7 +180925,7 @@ var textParams = {
|
|
|
180803
180925
|
readType: false,
|
|
180804
180926
|
keyValue: ''
|
|
180805
180927
|
};
|
|
180806
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
180928
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
180807
180929
|
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)])])}
|
|
180808
180930
|
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("六")])])}]
|
|
180809
180931
|
|
|
@@ -181790,7 +181912,7 @@ var PoperSelect_component = normalizeComponent(
|
|
|
181790
181912
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
181791
181913
|
|
|
181792
181914
|
/* harmony default export */ var poperSelect = (PoperSelect);
|
|
181793
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
181915
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=51088f79&scoped=true&
|
|
181794
181916
|
var TableCellPopervue_type_template_id_51088f79_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:item.default ? '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)}
|
|
181795
181917
|
var TableCellPopervue_type_template_id_51088f79_scoped_true_staticRenderFns = []
|
|
181796
181918
|
|
|
@@ -183671,7 +183793,7 @@ var SignNode = __webpack_require__("2bc5");
|
|
|
183671
183793
|
var ParagraphNode = __webpack_require__("1551");
|
|
183672
183794
|
|
|
183673
183795
|
// CONCATENATED MODULE: ./src/components/version.ts
|
|
183674
|
-
/* harmony default export */ var version = ('0.
|
|
183796
|
+
/* harmony default export */ var version = ('1.0.0');
|
|
183675
183797
|
// 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/HoDoc.vue?vue&type=script&lang=ts&
|
|
183676
183798
|
|
|
183677
183799
|
|
|
@@ -183722,8 +183844,8 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
183722
183844
|
_this = _super.apply(this, arguments);
|
|
183723
183845
|
_this.dateFormat = util["d" /* dateFormat */];
|
|
183724
183846
|
_this.canvasParams = {
|
|
183725
|
-
width: 794,
|
|
183726
|
-
height: 1122
|
|
183847
|
+
width: 794 * DrawConfig["a" /* DrawConfig */].instance().scaleXY % 2 >= 1 ? 794 * DrawConfig["a" /* DrawConfig */].instance().scaleXY + 1 : 794 * DrawConfig["a" /* DrawConfig */].instance().scaleXY,
|
|
183848
|
+
height: 1122 * DrawConfig["a" /* DrawConfig */].instance().scaleXY % 2 >= 1 ? 1122 * DrawConfig["a" /* DrawConfig */].instance().scaleXY + 1 : 1122 * DrawConfig["a" /* DrawConfig */].instance().scaleXY
|
|
183727
183849
|
};
|
|
183728
183850
|
_this.canvasHeadFootPos = {
|
|
183729
183851
|
headerY: 48,
|
|
@@ -184309,8 +184431,8 @@ var HoDocvue_type_style_index_0_lang_scss_ = __webpack_require__("560f");
|
|
|
184309
184431
|
|
|
184310
184432
|
var HoDoc_component = normalizeComponent(
|
|
184311
184433
|
components_HoDocvue_type_script_lang_ts_,
|
|
184312
|
-
|
|
184313
|
-
|
|
184434
|
+
HoDocvue_type_template_id_136f210d_render,
|
|
184435
|
+
HoDocvue_type_template_id_136f210d_staticRenderFns,
|
|
184314
184436
|
false,
|
|
184315
184437
|
null,
|
|
184316
184438
|
null,
|
|
@@ -186219,7 +186341,7 @@ var HTMLConverter_HTMLconverter2 = /*#__PURE__*/function () {
|
|
|
186219
186341
|
} // tmp.push(...HTMLProcess.instance.newLink().Exec(jnode.childNodes[i], JSON.stringify(styleobj)));
|
|
186220
186342
|
|
|
186221
186343
|
|
|
186222
|
-
if (jnode.childNodes[i].nodeName.toLowerCase() === "p" && jnode.childNodes[i + 1].nodeName.toLowerCase() !== "p") {
|
|
186344
|
+
if (jnode.childNodes[i].nodeName.toLowerCase() === "p" && jnode.childNodes[i + 1] && jnode.childNodes[i + 1].nodeName.toLowerCase() !== "p") {
|
|
186223
186345
|
var childNode = Object(jnode.childNodes[i]);
|
|
186224
186346
|
|
|
186225
186347
|
if (childNode.className && childNode.className === "MsoNormal" && tmp[tmp.length - 1] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
@@ -187949,8 +188071,10 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
187949
188071
|
key: "replaceNodesName",
|
|
187950
188072
|
value: function replaceNodesName(xml) {
|
|
187951
188073
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
187952
|
-
var reg = new RegExp(/\<\*([A-z]*)\>\/|TextNode|ParagraphNode|TableNode|PupilMapNode|LightLocationMapNode|MenstrualHistoryNode|FetalHeartMapNode|PermanentTeethMapNode|PrimaryTeethMapNode|ImageNode|BarcodeNode|QrcodeNode|DateTimeNode|DownListNode|RadioAndCheckBoxNode|TextInputFieldNode|SpecialCharsNode|MarkNode|PageCountNode|PageNumNode|
|
|
188074
|
+
var reg = new RegExp(/\<\*([A-z]*)\>\/|TextNode|ParagraphNode|TableNode|PupilMapNode|LightLocationMapNode|MenstrualHistoryNode|FetalHeartMapNode|PermanentTeethMapNode|PrimaryTeethMapNode|ImageNode|BarcodeNode|QrcodeNode|DateTimeNode|DownListNode|RadioAndCheckBoxNode|TextInputFieldNode|SpecialCharsNode|MarkNode|PageCountNode|PageNumNode|CellNode|SeparateCharNode|LabelNode|SignNode/g);
|
|
187953
188075
|
xml = xml.replace(reg, "node");
|
|
188076
|
+
xml = hoEditorFactory.unitConvert.replaceAll(xml, '<TableFormula>', "<node>");
|
|
188077
|
+
xml = hoEditorFactory.unitConvert.replaceAll(xml, '</TableFormula>', "</node>");
|
|
187954
188078
|
xml = hoEditorFactory.unitConvert.replaceAll(xml, '<End>', '<node>');
|
|
187955
188079
|
xml = hoEditorFactory.unitConvert.replaceAll(xml, '</End>', '</node>'); //const reg2 = new RegExp(/\<([\<A-z\>]*)\>\/|\<\/end\>|\<\/ParagraphNode\>/g)
|
|
187956
188080
|
//xml = hoEditorFactory.unitConvert.replaceAll(xml, '<TextNode>', "<node>");
|
|
@@ -189669,7 +189793,8 @@ var StructureNode_NodeConvert = /*#__PURE__*/function () {
|
|
|
189669
189793
|
|
|
189670
189794
|
if (textData) {
|
|
189671
189795
|
//根据换行符切割 处理大写情况 \R\N
|
|
189672
|
-
|
|
189796
|
+
//const uidArr = textData.split(/[(\r\n)|(\R\N)]+/);
|
|
189797
|
+
var uidArr = textData.split(/[(\n\r)|(\r\n)|\r|\n]+/);
|
|
189673
189798
|
|
|
189674
189799
|
for (var i = 0; i < uidArr.length; i++) {
|
|
189675
189800
|
if (!uidArr[i]) continue;
|
|
@@ -190645,6 +190770,9 @@ var TOHTMLConverter_TOHTMLConverter = /*#__PURE__*/function () {
|
|
|
190645
190770
|
// EXTERNAL MODULE: ./src/editor/utils/UnitConvert.ts
|
|
190646
190771
|
var UnitConvert = __webpack_require__("e802");
|
|
190647
190772
|
|
|
190773
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.js
|
|
190774
|
+
var web_url = __webpack_require__("2b3d");
|
|
190775
|
+
|
|
190648
190776
|
// EXTERNAL MODULE: ./src/editor/events/NodeChangingEvent.ts
|
|
190649
190777
|
var NodeChangingEvent = __webpack_require__("c119");
|
|
190650
190778
|
|
|
@@ -190725,6 +190853,11 @@ var MedicalExpressionNode = __webpack_require__("b790");
|
|
|
190725
190853
|
|
|
190726
190854
|
|
|
190727
190855
|
|
|
190856
|
+
|
|
190857
|
+
|
|
190858
|
+
|
|
190859
|
+
|
|
190860
|
+
|
|
190728
190861
|
|
|
190729
190862
|
|
|
190730
190863
|
|
|
@@ -192834,12 +192967,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
192834
192967
|
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
192835
192968
|
commentWidthMm: commentWidthMm
|
|
192836
192969
|
}));
|
|
192837
|
-
}
|
|
192838
|
-
// if(createjs.Ticker.paused) this.tickerPaused(false);
|
|
192839
|
-
// } else {
|
|
192840
|
-
// if(!createjs.Ticker.paused) this.tickerPaused(true);
|
|
192841
|
-
// }
|
|
192842
|
-
|
|
192970
|
+
}
|
|
192843
192971
|
}
|
|
192844
192972
|
}, {
|
|
192845
192973
|
key: "pageProperty",
|
|
@@ -193653,7 +193781,8 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
193653
193781
|
|
|
193654
193782
|
if (isDelBlockLine && area === "main" && nodes.length > 1 && nodes[nodes.length - 1] instanceof ParagraphNode["a" /* ParagraphNode */] && !(nodes[nodes.length - 2] instanceof TableNode["c" /* TableNode */])) {
|
|
193655
193783
|
nodes.splice(nodes.length - 1, 1);
|
|
193656
|
-
}
|
|
193784
|
+
} //console.log(nodes);
|
|
193785
|
+
|
|
193657
193786
|
|
|
193658
193787
|
if (area !== "main") {
|
|
193659
193788
|
var arrNodes = new Array();
|
|
@@ -194637,17 +194766,21 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
194637
194766
|
var node = nodes[i];
|
|
194638
194767
|
|
|
194639
194768
|
if (node instanceof TextInputFieldNode["f" /* TextInputFieldNode */] || node instanceof DownListNode["a" /* DownListNode */] || node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
194640
|
-
|
|
194641
|
-
|
|
194642
|
-
|
|
194643
|
-
|
|
194644
|
-
|
|
194645
|
-
|
|
194646
|
-
|
|
194647
|
-
|
|
194648
|
-
|
|
194649
|
-
|
|
194650
|
-
|
|
194769
|
+
if (node.readType === 1) {
|
|
194770
|
+
var elementObj = {
|
|
194771
|
+
id: "",
|
|
194772
|
+
name: "",
|
|
194773
|
+
text: "",
|
|
194774
|
+
json: "",
|
|
194775
|
+
innerIdentifier: ""
|
|
194776
|
+
};
|
|
194777
|
+
elementObj.id = node.id;
|
|
194778
|
+
elementObj.name = node.name;
|
|
194779
|
+
elementObj.text = node.text;
|
|
194780
|
+
elementObj.innerIdentifier = node.innerIdentifier;
|
|
194781
|
+
elementObj.json = JSON.stringify(node.node2Json(undefined, true));
|
|
194782
|
+
ret.push(elementObj);
|
|
194783
|
+
}
|
|
194651
194784
|
}
|
|
194652
194785
|
|
|
194653
194786
|
if (node instanceof BaseCombineNode["a" /* BaseCombineNode */]) {
|
|
@@ -194673,42 +194806,50 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
194673
194806
|
}
|
|
194674
194807
|
|
|
194675
194808
|
return ret;
|
|
194676
|
-
}
|
|
194677
|
-
|
|
194678
|
-
|
|
194679
|
-
|
|
194680
|
-
*/
|
|
194809
|
+
} // /**
|
|
194810
|
+
// * 获取当前病历中的只读元素
|
|
194811
|
+
// * @returns 返回元素是{id,name,text,json}的数据
|
|
194812
|
+
// */
|
|
194681
194813
|
|
|
194682
194814
|
}, {
|
|
194683
194815
|
key: "getSysElements",
|
|
194684
194816
|
value: function getSysElements() {
|
|
194685
194817
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
194686
|
-
var
|
|
194818
|
+
var header = [];
|
|
194819
|
+
var main = [];
|
|
194820
|
+
var footer = [];
|
|
194687
194821
|
|
|
194688
|
-
var getAllNodes = function getAllNodes(nodes) {
|
|
194822
|
+
var getAllNodes = function getAllNodes(nodes, arr) {
|
|
194689
194823
|
for (var i = 0; i < nodes.length; i++) {
|
|
194690
194824
|
var node = nodes[i];
|
|
194691
194825
|
|
|
194692
|
-
if (node instanceof
|
|
194693
|
-
|
|
194826
|
+
if (node instanceof DownListNode["a" /* DownListNode */] || node instanceof DateTimeNode["a" /* DateTimeNode */] || node instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && node.childNodes.filter(function (child) {
|
|
194827
|
+
return child instanceof TextInputFieldNode["f" /* TextInputFieldNode */];
|
|
194828
|
+
}).length === 0) {
|
|
194829
|
+
if (node.readType === 1) {
|
|
194694
194830
|
var elementObj = {
|
|
194695
194831
|
id: "",
|
|
194696
194832
|
name: "",
|
|
194697
194833
|
text: "",
|
|
194698
194834
|
json: "",
|
|
194699
|
-
innerIdentifier: ""
|
|
194835
|
+
innerIdentifier: "",
|
|
194836
|
+
controlStyle: ""
|
|
194700
194837
|
};
|
|
194701
194838
|
elementObj.id = node.id;
|
|
194702
194839
|
elementObj.name = node.name;
|
|
194703
194840
|
elementObj.text = node.text;
|
|
194704
194841
|
elementObj.innerIdentifier = node.innerIdentifier;
|
|
194705
|
-
elementObj.json = JSON.stringify(node.node2Json(undefined, true));
|
|
194706
|
-
|
|
194842
|
+
if (node instanceof DateTimeNode["a" /* DateTimeNode */]) elementObj.controlStyle = node.controlStyle; // elementObj.json = JSON.stringify(node.node2Json(undefined, true));
|
|
194843
|
+
|
|
194844
|
+
arr.push(elementObj);
|
|
194707
194845
|
}
|
|
194708
|
-
}
|
|
194846
|
+
} // if (node instanceof TextInputFieldNode && node.childNodes.filter(child => child instanceof TextInputFieldNode).length > 0) {
|
|
194847
|
+
// console.log(node)
|
|
194848
|
+
// }
|
|
194849
|
+
|
|
194709
194850
|
|
|
194710
194851
|
if (node instanceof BaseCombineNode["a" /* BaseCombineNode */]) {
|
|
194711
|
-
getAllNodes(node.childNodes);
|
|
194852
|
+
getAllNodes(node.childNodes, arr);
|
|
194712
194853
|
}
|
|
194713
194854
|
}
|
|
194714
194855
|
};
|
|
@@ -194717,22 +194858,26 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
194717
194858
|
|
|
194718
194859
|
for (var h = 0; h < headerNodes.length; h++) {
|
|
194719
194860
|
if (!headerNodes[h]) continue;
|
|
194720
|
-
getAllNodes(headerNodes[h]);
|
|
194861
|
+
getAllNodes(headerNodes[h], header);
|
|
194721
194862
|
}
|
|
194722
194863
|
|
|
194723
194864
|
var mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
194724
|
-
getAllNodes(mainNodes);
|
|
194865
|
+
getAllNodes(mainNodes, main);
|
|
194725
194866
|
var footerNodes = hoEditorFactory.docTree.footerNodes;
|
|
194726
194867
|
|
|
194727
194868
|
for (var f = 0; f < footerNodes.length; f++) {
|
|
194728
194869
|
if (!footerNodes[f]) continue;
|
|
194729
|
-
getAllNodes(footerNodes[f]);
|
|
194870
|
+
getAllNodes(footerNodes[f], footer);
|
|
194730
194871
|
}
|
|
194731
194872
|
|
|
194732
|
-
return
|
|
194873
|
+
return {
|
|
194874
|
+
header: header,
|
|
194875
|
+
main: main,
|
|
194876
|
+
footer: footer
|
|
194877
|
+
};
|
|
194733
194878
|
}
|
|
194734
194879
|
/**
|
|
194735
|
-
* 根据元素id更新元素
|
|
194880
|
+
* 根据元素id更新元素(引用元素用)
|
|
194736
194881
|
*/
|
|
194737
194882
|
|
|
194738
194883
|
}, {
|
|
@@ -194774,6 +194919,101 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
194774
194919
|
} else {
|
|
194775
194920
|
throw new Error("根据元素id:" + id + "未找到对应的元素");
|
|
194776
194921
|
}
|
|
194922
|
+
} //更新回填元素的文本内容
|
|
194923
|
+
|
|
194924
|
+
}, {
|
|
194925
|
+
key: "updateElementText",
|
|
194926
|
+
value: function () {
|
|
194927
|
+
var _updateElementText = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(scope, id, text) {
|
|
194928
|
+
var node;
|
|
194929
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
194930
|
+
while (1) {
|
|
194931
|
+
switch (_context5.prev = _context5.next) {
|
|
194932
|
+
case 0:
|
|
194933
|
+
node = this.getNodeByID(scope, id);
|
|
194934
|
+
|
|
194935
|
+
if (!node) {
|
|
194936
|
+
_context5.next = 21;
|
|
194937
|
+
break;
|
|
194938
|
+
}
|
|
194939
|
+
|
|
194940
|
+
if (!(node instanceof DateTimeNode["a" /* DateTimeNode */] || node instanceof DownListNode["a" /* DownListNode */] || node instanceof TextInputFieldNode["f" /* TextInputFieldNode */])) {
|
|
194941
|
+
_context5.next = 18;
|
|
194942
|
+
break;
|
|
194943
|
+
}
|
|
194944
|
+
|
|
194945
|
+
if (!(node.readType === 1)) {
|
|
194946
|
+
_context5.next = 15;
|
|
194947
|
+
break;
|
|
194948
|
+
}
|
|
194949
|
+
|
|
194950
|
+
if (!(node instanceof TextInputFieldNode["f" /* TextInputFieldNode */])) {
|
|
194951
|
+
_context5.next = 7;
|
|
194952
|
+
break;
|
|
194953
|
+
}
|
|
194954
|
+
|
|
194955
|
+
_context5.next = 7;
|
|
194956
|
+
return node.setFieldText(text);
|
|
194957
|
+
|
|
194958
|
+
case 7:
|
|
194959
|
+
if (!(node instanceof DateTimeNode["a" /* DateTimeNode */])) {
|
|
194960
|
+
_context5.next = 10;
|
|
194961
|
+
break;
|
|
194962
|
+
}
|
|
194963
|
+
|
|
194964
|
+
_context5.next = 10;
|
|
194965
|
+
return node.setDateTimeText(text);
|
|
194966
|
+
|
|
194967
|
+
case 10:
|
|
194968
|
+
if (!(node instanceof DownListNode["a" /* DownListNode */])) {
|
|
194969
|
+
_context5.next = 13;
|
|
194970
|
+
break;
|
|
194971
|
+
}
|
|
194972
|
+
|
|
194973
|
+
_context5.next = 13;
|
|
194974
|
+
return node.setDownListText(text);
|
|
194975
|
+
|
|
194976
|
+
case 13:
|
|
194977
|
+
_context5.next = 16;
|
|
194978
|
+
break;
|
|
194979
|
+
|
|
194980
|
+
case 15:
|
|
194981
|
+
throw new Error("根据元素id:" + id + "定位到的元素非可回填元素");
|
|
194982
|
+
|
|
194983
|
+
case 16:
|
|
194984
|
+
_context5.next = 19;
|
|
194985
|
+
break;
|
|
194986
|
+
|
|
194987
|
+
case 18:
|
|
194988
|
+
throw new Error("根据元素id:" + id + "定位到的元素非可回填元素");
|
|
194989
|
+
|
|
194990
|
+
case 19:
|
|
194991
|
+
_context5.next = 22;
|
|
194992
|
+
break;
|
|
194993
|
+
|
|
194994
|
+
case 21:
|
|
194995
|
+
throw new Error("根据元素id:" + id + "未找到对应的元素");
|
|
194996
|
+
|
|
194997
|
+
case 22:
|
|
194998
|
+
case "end":
|
|
194999
|
+
return _context5.stop();
|
|
195000
|
+
}
|
|
195001
|
+
}
|
|
195002
|
+
}, _callee5, this);
|
|
195003
|
+
}));
|
|
195004
|
+
|
|
195005
|
+
function updateElementText(_x11, _x12, _x13) {
|
|
195006
|
+
return _updateElementText.apply(this, arguments);
|
|
195007
|
+
}
|
|
195008
|
+
|
|
195009
|
+
return updateElementText;
|
|
195010
|
+
}()
|
|
195011
|
+
}, {
|
|
195012
|
+
key: "updateFirstPageHeader",
|
|
195013
|
+
value: function updateFirstPageHeader() {
|
|
195014
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
195015
|
+
var area = hoEditorFactory.drawPageTree.drawHeaders[0];
|
|
195016
|
+
hoEditorFactory.subDocManger.updateAllSameSubDoc(area.index, SubDocManger["a" /* HeaderFooterType */].hftHead, false, false);
|
|
194777
195017
|
}
|
|
194778
195018
|
}, {
|
|
194779
195019
|
key: "getUserInfoes",
|
|
@@ -194794,6 +195034,79 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
194794
195034
|
hoeditfactory.drawPageTree.updateDrawPage(index);
|
|
194795
195035
|
}
|
|
194796
195036
|
}
|
|
195037
|
+
/*
|
|
195038
|
+
* 生成图片和下载菜单
|
|
195039
|
+
*/
|
|
195040
|
+
|
|
195041
|
+
}, {
|
|
195042
|
+
key: "createPNG",
|
|
195043
|
+
value: function createPNG() {
|
|
195044
|
+
var _this = this;
|
|
195045
|
+
|
|
195046
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
195047
|
+
var drawpages = hoEditorFactory.drawTree.drawPages;
|
|
195048
|
+
var pngBox = document.createElement("div");
|
|
195049
|
+
pngBox.id = "hoImageFileBox";
|
|
195050
|
+
drawpages.forEach(function (drawpage) {
|
|
195051
|
+
var _drawpage$drawDomLeve;
|
|
195052
|
+
|
|
195053
|
+
if (drawpage.drawDomLevel && !drawpage.drawDomLevel.stage) {
|
|
195054
|
+
drawpage.drawDomLevel.bindStage();
|
|
195055
|
+
drawpage.needUpdateStage = true;
|
|
195056
|
+
}
|
|
195057
|
+
|
|
195058
|
+
if (drawpage.needUpdateStage && drawpage.drawDomLevel && drawpage.drawDomLevel.stage) {
|
|
195059
|
+
drawpage.drawDomLevel.stage.update();
|
|
195060
|
+
drawpage.needUpdateStage = false;
|
|
195061
|
+
}
|
|
195062
|
+
|
|
195063
|
+
var png = document.createElement("img");
|
|
195064
|
+
var canvas = (_drawpage$drawDomLeve = drawpage.drawDomLevel) === null || _drawpage$drawDomLeve === void 0 ? void 0 : _drawpage$drawDomLeve.domCanvas;
|
|
195065
|
+
png.src = canvas.toDataURL("image/jpeg", 1);
|
|
195066
|
+
pngBox.appendChild(png);
|
|
195067
|
+
});
|
|
195068
|
+
pngBox.id = "hoImageFileBox";
|
|
195069
|
+
var btn = document.createElement("button");
|
|
195070
|
+
btn.id = "hoDownLoadImageBtn";
|
|
195071
|
+
btn.style.position = "fixed";
|
|
195072
|
+
btn.style.left = "20px";
|
|
195073
|
+
btn.style.top = "200px";
|
|
195074
|
+
btn.style.padding = "10px 20px";
|
|
195075
|
+
btn.style.background = "#f2f4f7";
|
|
195076
|
+
btn.style.border = "none";
|
|
195077
|
+
btn.style.outline = "none";
|
|
195078
|
+
document.body.appendChild(btn);
|
|
195079
|
+
document.body.appendChild(pngBox);
|
|
195080
|
+
|
|
195081
|
+
document.querySelector("#hoDownLoadImageBtn").onclick = function () {
|
|
195082
|
+
_this.downLoadPNGHTML();
|
|
195083
|
+
};
|
|
195084
|
+
}
|
|
195085
|
+
/*
|
|
195086
|
+
* 下载生成的图片
|
|
195087
|
+
*/
|
|
195088
|
+
|
|
195089
|
+
}, {
|
|
195090
|
+
key: "downLoadPNGHTML",
|
|
195091
|
+
value: function downLoadPNGHTML() {
|
|
195092
|
+
var pngBox = document.querySelector("#hoImageFileBox");
|
|
195093
|
+
var fileName = this.getDocTitle() ? this.getDocTitle() : "电子病历文档";
|
|
195094
|
+
var exportHtml = "\n <!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <style>\n body, html {\n margin: 0;\n background: #f2f4f7;\n text-align: center;\n }\n img {\n margin: 10px auto;\n display: block;\n border: 0;\n box-shadow: rgb(158 161 165 / 40%) 0px 2px 12px 0px;\n }\n </style>\n </head>\n <body>".concat(pngBox === null || pngBox === void 0 ? void 0 : pngBox.innerHTML, "</body>\n </html>\n ");
|
|
195095
|
+
var url = window.URL.createObjectURL(new Blob([exportHtml], {
|
|
195096
|
+
type: "text/html"
|
|
195097
|
+
}));
|
|
195098
|
+
var link = document.createElement("a");
|
|
195099
|
+
link.style.display = "none";
|
|
195100
|
+
link.href = url;
|
|
195101
|
+
link.setAttribute("download", fileName + '.html');
|
|
195102
|
+
document.body.appendChild(link);
|
|
195103
|
+
link.click();
|
|
195104
|
+
setTimeout(function () {
|
|
195105
|
+
link.remove();
|
|
195106
|
+
document.body.removeChild(pngBox);
|
|
195107
|
+
document.body.removeChild(document.querySelector("#hoDownLoadImageBtn"));
|
|
195108
|
+
}, 300);
|
|
195109
|
+
}
|
|
194797
195110
|
}]);
|
|
194798
195111
|
|
|
194799
195112
|
return VueController;
|
|
@@ -197897,6 +198210,8 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
197897
198210
|
}, {
|
|
197898
198211
|
key: "getLocalStorage",
|
|
197899
198212
|
value: function getLocalStorage() {
|
|
198213
|
+
// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
198214
|
+
// this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
197900
198215
|
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
197901
198216
|
this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
197902
198217
|
return this._ho_web.getItem(this._key);
|
|
@@ -197985,14 +198300,16 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
197985
198300
|
value: function autoSaveLocalStorage() {
|
|
197986
198301
|
var _this3 = this;
|
|
197987
198302
|
|
|
198303
|
+
// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
198304
|
+
// this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
198305
|
+
if (this._lastSaveTime && new Date().getTime() - this._lastSaveTime <= this._intervalsTime) {
|
|
198306
|
+
return;
|
|
198307
|
+
}
|
|
198308
|
+
|
|
197988
198309
|
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
197989
198310
|
this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
197990
198311
|
|
|
197991
198312
|
this._ho_web.getItem(this._key).then(function (historyLogs) {
|
|
197992
|
-
if (_this3._lastSaveTime && new Date().getTime() - _this3._lastSaveTime <= _this3._intervalsTime) {
|
|
197993
|
-
return;
|
|
197994
|
-
}
|
|
197995
|
-
|
|
197996
198313
|
var saveTime = Object(util["d" /* dateFormat */])(new Date());
|
|
197997
198314
|
|
|
197998
198315
|
if (!historyLogs) {
|
|
@@ -198742,21 +199059,21 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
198742
199059
|
|
|
198743
199060
|
return HOEditorFactory;
|
|
198744
199061
|
}();
|
|
198745
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199062
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
198746
199063
|
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"})])}
|
|
198747
199064
|
var HoFootervue_type_template_id_fad373b2_scoped_true_staticRenderFns = []
|
|
198748
199065
|
|
|
198749
199066
|
|
|
198750
199067
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
198751
199068
|
|
|
198752
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199069
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
198753
199070
|
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)}
|
|
198754
199071
|
var Popervue_type_template_id_0f8bfa37_staticRenderFns = []
|
|
198755
199072
|
|
|
198756
199073
|
|
|
198757
199074
|
// CONCATENATED MODULE: ./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
198758
199075
|
|
|
198759
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199076
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
198760
199077
|
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))])])}
|
|
198761
199078
|
var Titlevue_type_template_id_3d9d462b_scoped_true_staticRenderFns = []
|
|
198762
199079
|
|
|
@@ -199045,14 +199362,14 @@ var HoFooter_component = normalizeComponent(
|
|
|
199045
199362
|
)
|
|
199046
199363
|
|
|
199047
199364
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
199048
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199365
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=3be7d6ee&
|
|
199049
199366
|
var ControlModalvue_type_template_id_3be7d6ee_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:{"insertComments":_vm.insertComments,"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)}
|
|
199050
199367
|
var ControlModalvue_type_template_id_3be7d6ee_staticRenderFns = []
|
|
199051
199368
|
|
|
199052
199369
|
|
|
199053
199370
|
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
199054
199371
|
|
|
199055
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199372
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=fb1c8b12&scoped=true&
|
|
199056
199373
|
var SelectDialogvue_type_template_id_fb1c8b12_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)])}
|
|
199057
199374
|
var SelectDialogvue_type_template_id_fb1c8b12_scoped_true_staticRenderFns = []
|
|
199058
199375
|
|
|
@@ -199422,14 +199739,14 @@ var SelectDialog_component = normalizeComponent(
|
|
|
199422
199739
|
// CONCATENATED MODULE: ./src/components/controls/selectDialog/index.ts
|
|
199423
199740
|
|
|
199424
199741
|
/* harmony default export */ var selectDialog = (selectDialog_SelectDialog);
|
|
199425
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199742
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=03f03576&
|
|
199426
199743
|
var DateDialogvue_type_template_id_03f03576_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)])}
|
|
199427
199744
|
var DateDialogvue_type_template_id_03f03576_staticRenderFns = []
|
|
199428
199745
|
|
|
199429
199746
|
|
|
199430
199747
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=03f03576&
|
|
199431
199748
|
|
|
199432
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199749
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
199433
199750
|
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)])}
|
|
199434
199751
|
var Tabvue_type_template_id_5ccacc33_staticRenderFns = []
|
|
199435
199752
|
|
|
@@ -199823,7 +200140,7 @@ var DateDialog_component = normalizeComponent(
|
|
|
199823
200140
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/index.ts
|
|
199824
200141
|
|
|
199825
200142
|
/* harmony default export */ var dateDialog = (dateDialog_DateDialog);
|
|
199826
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200143
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
199827
200144
|
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)])}
|
|
199828
200145
|
var BarCodesvue_type_template_id_b90e0398_staticRenderFns = []
|
|
199829
200146
|
|
|
@@ -200007,7 +200324,7 @@ var BarCodes_component = normalizeComponent(
|
|
|
200007
200324
|
// CONCATENATED MODULE: ./src/components/controls/barCode/index.ts
|
|
200008
200325
|
|
|
200009
200326
|
/* harmony default export */ var barCode = (BarCodes);
|
|
200010
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200327
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
200011
200328
|
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)])}
|
|
200012
200329
|
var QrCodevue_type_template_id_bff70498_staticRenderFns = []
|
|
200013
200330
|
|
|
@@ -200193,7 +200510,7 @@ var QrCode_component = normalizeComponent(
|
|
|
200193
200510
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
200194
200511
|
|
|
200195
200512
|
/* harmony default export */ var qrCode = (QrCode);
|
|
200196
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200513
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=0457ce60&
|
|
200197
200514
|
var TextDialogvue_type_template_id_0457ce60_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.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_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)])}
|
|
200198
200515
|
var TextDialogvue_type_template_id_0457ce60_staticRenderFns = []
|
|
200199
200516
|
|
|
@@ -200485,7 +200802,7 @@ var TextDialog_component = normalizeComponent(
|
|
|
200485
200802
|
// CONCATENATED MODULE: ./src/components/controls/textDialog/index.ts
|
|
200486
200803
|
|
|
200487
200804
|
/* harmony default export */ var textDialog = (textDialog_TextDialog);
|
|
200488
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200805
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=0fa85a23&scoped=true&
|
|
200489
200806
|
var ExpressionFormvue_type_template_id_0fa85a23_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:"line style31-line"}),_c('div',{staticClass:"line style32-line"}),_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)])}
|
|
200490
200807
|
var ExpressionFormvue_type_template_id_0fa85a23_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("第二乳磨牙")])])}]
|
|
200491
200808
|
|
|
@@ -200982,7 +201299,7 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
200982
201299
|
// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
200983
201300
|
|
|
200984
201301
|
/* harmony default export */ var expressionForm = (expressionForm_ExpressionForm);
|
|
200985
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201302
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=6d6aeec0&
|
|
200986
201303
|
var RadioCheckboxvue_type_template_id_6d6aeec0_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)])}
|
|
200987
201304
|
var RadioCheckboxvue_type_template_id_6d6aeec0_staticRenderFns = []
|
|
200988
201305
|
|
|
@@ -201213,7 +201530,7 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
201213
201530
|
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
201214
201531
|
|
|
201215
201532
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
201216
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201533
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=34f4e997&
|
|
201217
201534
|
var CommentDialogvue_type_template_id_34f4e997_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)])}
|
|
201218
201535
|
var CommentDialogvue_type_template_id_34f4e997_staticRenderFns = []
|
|
201219
201536
|
|
|
@@ -201309,7 +201626,7 @@ var CommentDialog_component = normalizeComponent(
|
|
|
201309
201626
|
// CONCATENATED MODULE: ./src/components/controls/commentDialog/index.ts
|
|
201310
201627
|
|
|
201311
201628
|
/* harmony default export */ var commentDialog = (commentDialog_CommentDialog);
|
|
201312
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201629
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
201313
201630
|
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)])}
|
|
201314
201631
|
var WaterSetvue_type_template_id_468ee214_staticRenderFns = []
|
|
201315
201632
|
|
|
@@ -201424,7 +201741,7 @@ var WaterSet_component = normalizeComponent(
|
|
|
201424
201741
|
// CONCATENATED MODULE: ./src/components/controls/watermark/index.ts
|
|
201425
201742
|
|
|
201426
201743
|
|
|
201427
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201744
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
201428
201745
|
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)])}
|
|
201429
201746
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_staticRenderFns = []
|
|
201430
201747
|
|
|
@@ -201577,7 +201894,7 @@ var CustomAttributes_component = normalizeComponent(
|
|
|
201577
201894
|
// CONCATENATED MODULE: ./src/components/controls/customAttributes/index.ts
|
|
201578
201895
|
|
|
201579
201896
|
/* harmony default export */ var customAttributes = (customAttributes_CustomAttributes);
|
|
201580
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201897
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
201581
201898
|
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)])}
|
|
201582
201899
|
var DataSourcevue_type_template_id_d0d17200_staticRenderFns = []
|
|
201583
201900
|
|
|
@@ -201687,7 +202004,7 @@ var DataSource_component = normalizeComponent(
|
|
|
201687
202004
|
// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
201688
202005
|
|
|
201689
202006
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
201690
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202007
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
201691
202008
|
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)])}
|
|
201692
202009
|
var ListSourcevue_type_template_id_530d6908_staticRenderFns = []
|
|
201693
202010
|
|
|
@@ -201967,7 +202284,7 @@ var ListSource_component = normalizeComponent(
|
|
|
201967
202284
|
// CONCATENATED MODULE: ./src/components/controls/listsource/index.ts
|
|
201968
202285
|
|
|
201969
202286
|
/* harmony default export */ var listsource = (listsource_ListSource);
|
|
201970
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202287
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=4b692cf7&scoped=true&
|
|
201971
202288
|
var TablePropertyvue_type_template_id_4b692cf7_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('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.isAutoChangeLine),callback:function ($$v) {_vm.isAutoChangeLine=$$v},expression:"isAutoChangeLine"}},[_vm._v("表格内自动换行")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('span',{staticStyle:{"padding":"0 10px 0 23px"}},[_vm._v("表格内自动换行行高")]),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isAutoChangeLine,"step":1,"min":0,"precision":2,"controls":false},model:{value:(_vm.autoLineHeight),callback:function ($$v) {_vm.autoLineHeight=$$v},expression:"autoLineHeight"}}),_c('span',{staticStyle:{"padding-left":"6px"}},[_vm._v(" 厘米")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('span',{staticStyle:{"padding":"0 10px 0 23px"}},[_vm._v("当前光标所在行行高 "+_vm._s(_vm.rowHeightMm)+" 厘米")])])])])]),_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)])}
|
|
201972
202289
|
var TablePropertyvue_type_template_id_4b692cf7_scoped_true_staticRenderFns = []
|
|
201973
202290
|
|
|
@@ -202172,7 +202489,7 @@ var TableProperty_component = normalizeComponent(
|
|
|
202172
202489
|
)
|
|
202173
202490
|
|
|
202174
202491
|
/* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
|
|
202175
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202492
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
202176
202493
|
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)])}
|
|
202177
202494
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_staticRenderFns = []
|
|
202178
202495
|
|
|
@@ -202440,7 +202757,7 @@ var TableRowProperty_component = normalizeComponent(
|
|
|
202440
202757
|
)
|
|
202441
202758
|
|
|
202442
202759
|
/* harmony default export */ var TableRowProperty = (TableRowProperty_component.exports);
|
|
202443
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202760
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=d037fa9c&
|
|
202444
202761
|
var TableColPropertyvue_type_template_id_d037fa9c_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)])}
|
|
202445
202762
|
var TableColPropertyvue_type_template_id_d037fa9c_staticRenderFns = []
|
|
202446
202763
|
|
|
@@ -202751,14 +203068,14 @@ var TableColProperty_component = normalizeComponent(
|
|
|
202751
203068
|
)
|
|
202752
203069
|
|
|
202753
203070
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
202754
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203071
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
202755
203072
|
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)])}
|
|
202756
203073
|
var TableCellPropertyvue_type_template_id_f044d33c_scoped_true_staticRenderFns = []
|
|
202757
203074
|
|
|
202758
203075
|
|
|
202759
203076
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
202760
203077
|
|
|
202761
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203078
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
202762
203079
|
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)}
|
|
202763
203080
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_staticRenderFns = []
|
|
202764
203081
|
|
|
@@ -202852,7 +203169,7 @@ var PrintLineStyle_component = normalizeComponent(
|
|
|
202852
203169
|
// CONCATENATED MODULE: ./src/components/controls/printstyle/index.ts
|
|
202853
203170
|
|
|
202854
203171
|
|
|
202855
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203172
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
202856
203173
|
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)])])])}
|
|
202857
203174
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_staticRenderFns = []
|
|
202858
203175
|
|
|
@@ -203465,7 +203782,7 @@ var TableCellProperty_component = normalizeComponent(
|
|
|
203465
203782
|
|
|
203466
203783
|
|
|
203467
203784
|
|
|
203468
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203785
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
203469
203786
|
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)])}
|
|
203470
203787
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_staticRenderFns = []
|
|
203471
203788
|
|
|
@@ -203562,7 +203879,7 @@ var PageInfoes_component = normalizeComponent(
|
|
|
203562
203879
|
// CONCATENATED MODULE: ./src/components/controls/pageInfoes/index.ts
|
|
203563
203880
|
|
|
203564
203881
|
/* harmony default export */ var pageInfoes = (pageInfoes_PageInfoes);
|
|
203565
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203882
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
203566
203883
|
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)])}
|
|
203567
203884
|
var Delimitervue_type_template_id_0277f9ca_staticRenderFns = []
|
|
203568
203885
|
|
|
@@ -203654,7 +203971,7 @@ var Delimiter_component = normalizeComponent(
|
|
|
203654
203971
|
// CONCATENATED MODULE: ./src/components/controls/delimiter/index.ts
|
|
203655
203972
|
|
|
203656
203973
|
/* harmony default export */ var delimiter = (delimiter_Delimiter);
|
|
203657
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203974
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=f4860f7c&
|
|
203658
203975
|
var Signvue_type_template_id_f4860f7c_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),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-radio',{attrs:{"label":0},model:{value:(_vm.signType),callback:function ($$v) {_vm.signType=$$v},expression:"signType"}},[_vm._v("单人签名")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.signType),callback:function ($$v) {_vm.signType=$$v},expression:"signType"}},[_vm._v("多人签名")])],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)])}
|
|
203659
203976
|
var Signvue_type_template_id_f4860f7c_staticRenderFns = []
|
|
203660
203977
|
|
|
@@ -204041,7 +204358,7 @@ var ControlModal_component = normalizeComponent(
|
|
|
204041
204358
|
)
|
|
204042
204359
|
|
|
204043
204360
|
/* harmony default export */ var controls_ControlModal = (ControlModal_component.exports);
|
|
204044
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204361
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
204045
204362
|
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)])}
|
|
204046
204363
|
var FindReplacevue_type_template_id_fd4f089c_staticRenderFns = []
|
|
204047
204364
|
|
|
@@ -204191,7 +204508,7 @@ var FindReplace_component = normalizeComponent(
|
|
|
204191
204508
|
// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
204192
204509
|
|
|
204193
204510
|
/* harmony default export */ var findReplace = (FindReplace);
|
|
204194
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204511
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=db8cca98&
|
|
204195
204512
|
var ViewContinuousXmlvue_type_template_id_db8cca98_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.loadMore),expression:"loadMore"}],staticClass:"ho-continuous-viewbox",staticStyle:{"overflow":"auto"}},_vm._l((_vm.continuousView.currentList),function(svgBox,index){return _c('div',{key:index,domProps:{"innerHTML":_vm._s(svgBox.innerHTML)}})}),0)}
|
|
204196
204513
|
var ViewContinuousXmlvue_type_template_id_db8cca98_staticRenderFns = []
|
|
204197
204514
|
|
|
@@ -205406,6 +205723,7 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
205406
205723
|
|
|
205407
205724
|
nodeInfoes.isHideComments = hoEditorFactory.isHideComments;
|
|
205408
205725
|
nodeInfoes.activePageIndex = this.activePageIndex;
|
|
205726
|
+
nodeInfoes.paintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
205409
205727
|
this.$emit("rightClickEvent", nodeInfoes);
|
|
205410
205728
|
}
|
|
205411
205729
|
/**
|
|
@@ -205445,22 +205763,7 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
205445
205763
|
value: function setActiveDocIndex(activeDocId) {
|
|
205446
205764
|
this.activeDocId = activeDocId;
|
|
205447
205765
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.activeDocId);
|
|
205448
|
-
hoEditorFactory.hoLocalStorage.initHoWebSql();
|
|
205449
|
-
// 刷新事件暂时完全移除 不在需要监听页签切换
|
|
205450
|
-
// if (document.hidden !== undefined) {
|
|
205451
|
-
// document.addEventListener("visibilitychange", () => {
|
|
205452
|
-
// if (document.hidden) {
|
|
205453
|
-
// if(hoEditorFactory.drawTree.paintStatus !== PaintState.psDesign && hoEditorFactory.drawTree.paintStatus !== PaintState.psEdit && hoEditorFactory.drawTree.paintStatus !== PaintState.psReview) {
|
|
205454
|
-
// hoEditorFactory.vueController.tickerPaused(true);
|
|
205455
|
-
// }
|
|
205456
|
-
// } else {
|
|
205457
|
-
// if(hoEditorFactory.drawTree.paintStatus === PaintState.psDesign || hoEditorFactory.drawTree.paintStatus === PaintState.psEdit || hoEditorFactory.drawTree.paintStatus === PaintState.psReview) {
|
|
205458
|
-
// hoEditorFactory.vueController.tickerPaused(false);
|
|
205459
|
-
// }
|
|
205460
|
-
// }
|
|
205461
|
-
// });
|
|
205462
|
-
// }
|
|
205463
|
-
|
|
205766
|
+
hoEditorFactory.hoLocalStorage.initHoWebSql();
|
|
205464
205767
|
this.$emit("docReady", {
|
|
205465
205768
|
vueController: hoEditorFactory.vueController,
|
|
205466
205769
|
baseController: hoEditorFactory.baseController,
|
|
@@ -205680,7 +205983,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
205680
205983
|
|
|
205681
205984
|
var HoDocs_component = normalizeComponent(
|
|
205682
205985
|
components_HoDocsvue_type_script_lang_ts_,
|
|
205683
|
-
|
|
205986
|
+
HoDocsvue_type_template_id_372eedda_render,
|
|
205684
205987
|
staticRenderFns,
|
|
205685
205988
|
false,
|
|
205686
205989
|
null,
|
|
@@ -205690,17 +205993,14 @@ var HoDocs_component = normalizeComponent(
|
|
|
205690
205993
|
)
|
|
205691
205994
|
|
|
205692
205995
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
205693
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205694
|
-
var
|
|
205695
|
-
var
|
|
205996
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=b74fa70c&
|
|
205997
|
+
var ToolBarvue_type_template_id_b74fa70c_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()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.cancelDelete)?_c('span',{staticClass:"review",on:{"click":_vm.cancelDelete}},[_vm._v("取消删除文本")]):_vm._e()]),(_vm.userInfoes && _vm.userInfoes.permissionLevel)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{style:({ color: _vm.reviewLevel.color[_vm.userInfoes.permissionLevel - 1] })},[_vm._v(_vm._s(_vm.reviewLevel.text[_vm.userInfoes.permissionLevel - 1]))])]):_vm._e(),_vm._t("insertReview"),(_vm.defaultReviewJson.printStatus)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{on:{"click":_vm.reviewPrintStatus}},[_vm._v(_vm._s(_vm.isPrinted ? "返回审阅模式" : "浏览模式"))])]):_vm._e()],2),_vm._t("afterReview")],2)}
|
|
205998
|
+
var ToolBarvue_type_template_id_b74fa70c_staticRenderFns = []
|
|
205696
205999
|
|
|
205697
206000
|
|
|
205698
|
-
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=
|
|
206001
|
+
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=b74fa70c&
|
|
205699
206002
|
|
|
205700
|
-
//
|
|
205701
|
-
var web_url = __webpack_require__("2b3d");
|
|
205702
|
-
|
|
205703
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23e02dc2-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=71faca1e&scoped=true&
|
|
206003
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=71faca1e&scoped=true&
|
|
205704
206004
|
var HoMedicalExpressionvue_type_template_id_71faca1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName + ' ho-medical-expression-list',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 130 60"}},[_c('g',{staticClass:"text",attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"48","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"48","y":"55"}},[_vm._v("周期")]),_c('text',{attrs:{"x":"75","y":"33"}},[_vm._v("末次月经")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 52 30 L 70 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"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"5","y":"20"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"5","y":"50"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 5 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"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"50","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("周期")])]),_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"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_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"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("3")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("7")])])])]),_c('el-dropdown-item',{attrs:{"command":"style6"}},[_c('p',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"45","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"45","y":"55"}},[_vm._v("8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("9")])])])]),_c('el-dropdown-item',{attrs:{"command":"style7"}},[_c('p',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"26","y":"15"}},[_vm._v("1")]),_c('text',{attrs:{"x":"26","y":"35"}},[_vm._v("4")]),_c('text',{attrs:{"x":"26","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"84","y":"15"}},[_vm._v("2")]),_c('text',{attrs:{"x":"84","y":"35"}},[_vm._v("5")]),_c('text',{attrs:{"x":"84","y":"55"}},[_vm._v("8")])]),_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"}},[_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"}},[_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)],1)}
|
|
205705
206005
|
var HoMedicalExpressionvue_type_template_id_71faca1e_scoped_true_staticRenderFns = []
|
|
205706
206006
|
|
|
@@ -205805,7 +206105,7 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
205805
206105
|
)
|
|
205806
206106
|
|
|
205807
206107
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
205808
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206108
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
205809
206109
|
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)])}
|
|
205810
206110
|
var HoPrintDialogvue_type_template_id_f3e9ff84_staticRenderFns = []
|
|
205811
206111
|
|
|
@@ -206356,15 +206656,6 @@ var ToolFamily_ToolFamily = /*#__PURE__*/function (_Vue) {
|
|
|
206356
206656
|
"nativeOn": {
|
|
206357
206657
|
"click": this.fontBoldClick.bind(this)
|
|
206358
206658
|
}
|
|
206359
|
-
}) : null, family.italic ? h(popers, {
|
|
206360
|
-
"attrs": _objectSpread2({}, {
|
|
206361
|
-
title: "倾斜",
|
|
206362
|
-
svg: "italic",
|
|
206363
|
-
selected: this.isItalic
|
|
206364
|
-
}),
|
|
206365
|
-
"nativeOn": {
|
|
206366
|
-
"click": this.fontItalicClick.bind(this)
|
|
206367
|
-
}
|
|
206368
206659
|
}) : null, family.underline ? h(popers, {
|
|
206369
206660
|
"attrs": _objectSpread2({}, {
|
|
206370
206661
|
title: "下划线",
|
|
@@ -206875,7 +207166,7 @@ ToolParagraph_ToolParagraph = __decorate([vue_class_component_esm({
|
|
|
206875
207166
|
}
|
|
206876
207167
|
})], ToolParagraph_ToolParagraph);
|
|
206877
207168
|
/* harmony default export */ var toolbar_ToolParagraph = (ToolParagraph_ToolParagraph);
|
|
206878
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207169
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
206879
207170
|
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)}
|
|
206880
207171
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_staticRenderFns = []
|
|
206881
207172
|
|
|
@@ -206941,7 +207232,7 @@ var MedicalExpressions_component = normalizeComponent(
|
|
|
206941
207232
|
)
|
|
206942
207233
|
|
|
206943
207234
|
/* harmony default export */ var MedicalExpressions = (MedicalExpressions_component.exports);
|
|
206944
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207235
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
206945
207236
|
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)}
|
|
206946
207237
|
var UploadImagevue_type_template_id_208b2688_scoped_true_staticRenderFns = []
|
|
206947
207238
|
|
|
@@ -207109,7 +207400,7 @@ var UploadImage_component = normalizeComponent(
|
|
|
207109
207400
|
)
|
|
207110
207401
|
|
|
207111
207402
|
/* harmony default export */ var toolbar_UploadImage = (UploadImage_component.exports);
|
|
207112
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207403
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
207113
207404
|
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)])])])])}
|
|
207114
207405
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_staticRenderFns = []
|
|
207115
207406
|
|
|
@@ -207726,7 +208017,7 @@ ToolControl_ToolControls = __decorate([vue_class_component_esm({
|
|
|
207726
208017
|
}
|
|
207727
208018
|
})], ToolControl_ToolControls);
|
|
207728
208019
|
/* harmony default export */ var toolbar_ToolControl = (ToolControl_ToolControls);
|
|
207729
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208020
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=01703d21&scoped=true&
|
|
207730
208021
|
var UpdateDocumentvue_type_template_id_01703d21_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:(
|
|
207731
208022
|
function () {
|
|
207732
208023
|
_vm.isDocumentShow = false;
|
|
@@ -207800,14 +208091,14 @@ var UpdateDocument_component = normalizeComponent(
|
|
|
207800
208091
|
)
|
|
207801
208092
|
|
|
207802
208093
|
/* harmony default export */ var components_UpdateDocument = (UpdateDocument_component.exports);
|
|
207803
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208094
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
207804
208095
|
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)}
|
|
207805
208096
|
var ToolTablevue_type_template_id_7e9dd939_staticRenderFns = []
|
|
207806
208097
|
|
|
207807
208098
|
|
|
207808
208099
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
207809
208100
|
|
|
207810
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208101
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
207811
208102
|
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)}
|
|
207812
208103
|
var TableFeaturesvue_type_template_id_907964ce_staticRenderFns = []
|
|
207813
208104
|
|
|
@@ -208136,7 +208427,7 @@ var ToolTable_component = normalizeComponent(
|
|
|
208136
208427
|
)
|
|
208137
208428
|
|
|
208138
208429
|
/* harmony default export */ var toolbar_ToolTable = (ToolTable_component.exports);
|
|
208139
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208430
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=187fdd38&scoped=true&
|
|
208140
208431
|
var PageSettingvue_type_template_id_187fdd38_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":_vm.property.pageSize !== '自定义',"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":_vm.property.pageSize !== '自定义',"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)])])}
|
|
208141
208432
|
var PageSettingvue_type_template_id_187fdd38_scoped_true_staticRenderFns = []
|
|
208142
208433
|
|
|
@@ -208334,7 +208625,7 @@ var PageSetting_component = normalizeComponent(
|
|
|
208334
208625
|
)
|
|
208335
208626
|
|
|
208336
208627
|
/* harmony default export */ var toolbar_PageSetting = (PageSetting_component.exports);
|
|
208337
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208628
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
208338
208629
|
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("打开文件")])])}
|
|
208339
208630
|
var UploadFilevue_type_template_id_4361e817_staticRenderFns = []
|
|
208340
208631
|
|
|
@@ -208417,12 +208708,12 @@ var UploadFile_component = normalizeComponent(
|
|
|
208417
208708
|
)
|
|
208418
208709
|
|
|
208419
208710
|
/* harmony default export */ var toolbar_UploadFile = (UploadFile_component.exports);
|
|
208420
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208421
|
-
var
|
|
208422
|
-
var
|
|
208711
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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/HistoryLogs.vue?vue&type=template&id=7661bd7b&scoped=true&
|
|
208712
|
+
var HistoryLogsvue_type_template_id_7661bd7b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"sub-bar-items item-history-logs"},[_c('span',{staticStyle:{"padding":"0 10px"},on:{"click":_vm.openHistoryLogs}},[_vm._v("历史记录")]),(_vm.showHistoryLogs && _vm.historyLog)?_c('div',{staticClass:"document-item animation-in"},[_c('p',{staticStyle:{"text-align":"left","border-bottom":"1px solid #ccc"}},[_c('i',{staticClass:"el-icon-circle-close"}),_c('span',{on:{"click":_vm.closeHistoryLogs}},[_vm._v("关闭历史记录")])]),(Array.isArray(_vm.historyLog))?_c('ul',_vm._l((_vm.historyLog),function(history,auto_save_index){return _c('li',{key:history.saveTime + Math.random(0, 1)},[_c('div',[_c('p',{staticClass:"flex-rows"},[_c('span',{staticStyle:{"padding-left":"4px"}},[_vm._v("缓存时间:"+_vm._s(history.saveTime))]),_c('span',{staticClass:"cover",on:{"click":function($event){return _vm.manualSaveLocalStorage(auto_save_index)}}},[_vm._v("恢复")])]),_vm._l((history.logs),function(logs){return [_c('p',{key:logs.operTime},[_c('span',[_vm._v("操作类型:"+_vm._s(logs._operType))]),_c('span',[_vm._v("操作时间:"+_vm._s(_vm.dateFormat(logs._operTime)))]),_c('span',[_vm._v("操作内容:"+_vm._s(logs._operText))])])]})],2)])}),0):_vm._e()]):_vm._e()])}
|
|
208713
|
+
var HistoryLogsvue_type_template_id_7661bd7b_scoped_true_staticRenderFns = []
|
|
208423
208714
|
|
|
208424
208715
|
|
|
208425
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=
|
|
208716
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=7661bd7b&scoped=true&
|
|
208426
208717
|
|
|
208427
208718
|
// 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/toolbar/insert/HistoryLogs.vue?vue&type=script&lang=ts&
|
|
208428
208719
|
|
|
@@ -208434,6 +208725,7 @@ var HistoryLogsvue_type_template_id_a3d130be_scoped_true_staticRenderFns = []
|
|
|
208434
208725
|
|
|
208435
208726
|
|
|
208436
208727
|
|
|
208728
|
+
|
|
208437
208729
|
var HistoryLogsvue_type_script_lang_ts_HistoryLogs = /*#__PURE__*/function (_Mixins) {
|
|
208438
208730
|
Object(inherits["a" /* default */])(HistoryLogs, _Mixins);
|
|
208439
208731
|
|
|
@@ -208470,7 +208762,7 @@ var HistoryLogsvue_type_script_lang_ts_HistoryLogs = /*#__PURE__*/function (_Mix
|
|
|
208470
208762
|
|
|
208471
208763
|
// this.vueController.hoLocalStorage().manualSaveLocalStorage(auto_save_index);
|
|
208472
208764
|
this.vueController.hoLocalStorage().getLocalStorage().then(function (historyLog) {
|
|
208473
|
-
_this2.vueController.openXml(historyLog.xml);
|
|
208765
|
+
_this2.vueController.openXml(historyLog[auto_save_index].xml);
|
|
208474
208766
|
});
|
|
208475
208767
|
}
|
|
208476
208768
|
}, {
|
|
@@ -208480,9 +208772,11 @@ var HistoryLogsvue_type_script_lang_ts_HistoryLogs = /*#__PURE__*/function (_Mix
|
|
|
208480
208772
|
|
|
208481
208773
|
this.historyLog = [];
|
|
208482
208774
|
this.vueController.hoLocalStorage().getLocalStorage().then(function (historyLog) {
|
|
208483
|
-
|
|
208484
|
-
|
|
208485
|
-
|
|
208775
|
+
historyLog.forEach(function (log) {
|
|
208776
|
+
_this3.historyLog.push({
|
|
208777
|
+
saveTime: log.saveTime,
|
|
208778
|
+
logs: log.logs
|
|
208779
|
+
});
|
|
208486
208780
|
});
|
|
208487
208781
|
});
|
|
208488
208782
|
}
|
|
@@ -208511,8 +208805,8 @@ HistoryLogsvue_type_script_lang_ts_HistoryLogs = __decorate([vue_class_component
|
|
|
208511
208805
|
/* harmony default export */ var HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_HistoryLogs);
|
|
208512
208806
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=script&lang=ts&
|
|
208513
208807
|
/* harmony default export */ var insert_HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_);
|
|
208514
|
-
// EXTERNAL MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=style&index=0&id=
|
|
208515
|
-
var
|
|
208808
|
+
// EXTERNAL MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=style&index=0&id=7661bd7b&lang=scss&scoped=true&
|
|
208809
|
+
var HistoryLogsvue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true_ = __webpack_require__("4562");
|
|
208516
208810
|
|
|
208517
208811
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue
|
|
208518
208812
|
|
|
@@ -208525,11 +208819,11 @@ var HistoryLogsvue_type_style_index_0_id_a3d130be_lang_scss_scoped_true_ = __web
|
|
|
208525
208819
|
|
|
208526
208820
|
var HistoryLogs_component = normalizeComponent(
|
|
208527
208821
|
insert_HistoryLogsvue_type_script_lang_ts_,
|
|
208528
|
-
|
|
208529
|
-
|
|
208822
|
+
HistoryLogsvue_type_template_id_7661bd7b_scoped_true_render,
|
|
208823
|
+
HistoryLogsvue_type_template_id_7661bd7b_scoped_true_staticRenderFns,
|
|
208530
208824
|
false,
|
|
208531
208825
|
null,
|
|
208532
|
-
"
|
|
208826
|
+
"7661bd7b",
|
|
208533
208827
|
null
|
|
208534
208828
|
|
|
208535
208829
|
)
|
|
@@ -209227,14 +209521,14 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
209227
209521
|
}
|
|
209228
209522
|
})], ToolBarChild_ToolBarChild);
|
|
209229
209523
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
209230
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209524
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=46db29e5&
|
|
209231
209525
|
var ToolControlvue_type_template_id_46db29e5_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('HoMedicalExpression',{on:{"openExpress":_vm.openExpress}}):_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)}
|
|
209232
209526
|
var ToolControlvue_type_template_id_46db29e5_staticRenderFns = []
|
|
209233
209527
|
|
|
209234
209528
|
|
|
209235
209529
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=46db29e5&
|
|
209236
209530
|
|
|
209237
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209531
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
209238
209532
|
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)}
|
|
209239
209533
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_staticRenderFns = []
|
|
209240
209534
|
|
|
@@ -209339,7 +209633,7 @@ var HoSpecialChars_component = normalizeComponent(
|
|
|
209339
209633
|
)
|
|
209340
209634
|
|
|
209341
209635
|
/* harmony default export */ var insert_HoSpecialChars = (HoSpecialChars_component.exports);
|
|
209342
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209636
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=5e85d543&
|
|
209343
209637
|
var HoDateTimevue_type_template_id_5e85d543_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)}
|
|
209344
209638
|
var HoDateTimevue_type_template_id_5e85d543_staticRenderFns = []
|
|
209345
209639
|
|
|
@@ -209444,7 +209738,7 @@ var HoDateTime_component = normalizeComponent(
|
|
|
209444
209738
|
)
|
|
209445
209739
|
|
|
209446
209740
|
/* harmony default export */ var insert_HoDateTime = (HoDateTime_component.exports);
|
|
209447
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209741
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
209448
209742
|
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)}
|
|
209449
209743
|
var HoFormulavue_type_template_id_88e6be42_staticRenderFns = []
|
|
209450
209744
|
|
|
@@ -209802,14 +210096,14 @@ var ToolControl_component = normalizeComponent(
|
|
|
209802
210096
|
)
|
|
209803
210097
|
|
|
209804
210098
|
/* harmony default export */ var insert_ToolControl = (ToolControl_component.exports);
|
|
209805
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
210099
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
209806
210100
|
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)}
|
|
209807
210101
|
var ToolTablevue_type_template_id_3c999b04_staticRenderFns = []
|
|
209808
210102
|
|
|
209809
210103
|
|
|
209810
210104
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
209811
210105
|
|
|
209812
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
210106
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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=57db8374&
|
|
209813
210107
|
var HoTableFeaturesvue_type_template_id_57db8374_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:{"width":"520px","top":"20%","center":"","append-to-body":"","close-on-click-modal":false,"title":_vm.dialogFormTitle,"visible":_vm.dialogFormVisible},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[(_vm.formula === 'a1: a2' || _vm.formula === '(a1 + a2) * 2')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle)+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v(" 示例: "+_vm._s(_vm.dialogFormTitle === "表格行列求和公式" ? 'a1 + a2' : '(a1 + a2) * 2')+" ")]),_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.simpleFormula),callback:function ($$v) {_vm.simpleFormula=$$v},expression:"simpleFormula"}})],1):_vm._e(),(_vm.formula === 'bmi')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("身高")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.height),callback:function ($$v) {_vm.height=$$v},expression:"height"}})],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("体重")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.weight),callback:function ($$v) {_vm.weight=$$v},expression:"weight"}})],1)]):_vm._e(),(_vm.formula === 'labor')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('el-checkbox',{model:{value:(_vm.isHideZero),callback:function ($$v) {_vm.isHideZero=$$v},expression:"isHideZero"}},[_vm._v("结果为 0 不显示")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("产程类型")]),_c('el-select',{attrs:{"size":"mini"},on:{"change":_vm.laborTypeChange},model:{value:(_vm.laborType),callback:function ($$v) {_vm.laborType=$$v},expression:"laborType"}},[_c('el-option',{attrs:{"value":1,"label":"第一产程"}}),_c('el-option',{attrs:{"value":2,"label":"第二产程"}}),_c('el-option',{attrs:{"value":3,"label":"第三产程"}}),_c('el-option',{attrs:{"value":0,"label":"总产程"}})],1)],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(['第一产程','宫缩开始','宫口全开','胎儿娩出'][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor1),callback:function ($$v) {_vm.labor1=$$v},expression:"labor1"}})],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(['第二产程','宫口全开','胎儿娩出','胎盘娩出'][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor2),callback:function ($$v) {_vm.labor2=$$v},expression:"labor2"}})],1),(_vm.laborType === 0)?_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(['第三产程','宫缩开始','宫口全开','胎儿娩出'][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor3),callback:function ($$v) {_vm.labor3=$$v},expression:"labor3"}})],1):_vm._e()],1):_vm._e(),(_vm.formula === 'expectedDate' || _vm.formula === 'pregnantDays' || _vm.formula === 'pregnantWeeks')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("末次月经")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.expectedDate),callback:function ($$v) {_vm.expectedDate=$$v},expression:"expectedDate"}})],1)]):_vm._e(),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.sure}},[_vm._v("确 定")]),_c('el-button',{attrs:{"size":"small"},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',{attrs:{"index":"sumFormula"},on:{"click":function($event){return _vm.openFormula(['表格行列求和公式', 'a1: a2'])}}},[_vm._v(" 表格行列求和 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"arithmeticFormula"},on:{"click":function($event){_vm.openFormula(['表格行列混合运算公式', '(a1 + a2) * 2'])}}},[_vm._v(" 表格行列混合运算 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"bmiFormula"},on:{"click":function($event){return _vm.openFormula(['BMI指数计算公式', 'bmi'])}}},[_vm._v(" BMI指数 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"laborFormula"},on:{"click":function($event){return _vm.openFormula(['产程计算公式', 'labor'])}}},[_vm._v(" 产程 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"expectedDateFormula"},on:{"click":function($event){return _vm.openFormula(['预产期计算公式', 'expectedDate'])}}},[_vm._v(" 预产期 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"expectedDateFormula"},on:{"click":function($event){return _vm.openFormula(['孕周计算公式', 'pregnantWeeks'])}}},[_vm._v(" 孕周 ")])])],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)}
|
|
209814
210108
|
var HoTableFeaturesvue_type_template_id_57db8374_staticRenderFns = []
|
|
209815
210109
|
|
|
@@ -210667,7 +210961,7 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
|
|
|
210667
210961
|
value: function deleteAllComment() {
|
|
210668
210962
|
var _this6 = this;
|
|
210669
210963
|
|
|
210670
|
-
this.$elConfirm("确定要删除文档内全部的批注吗", "删除确认", {
|
|
210964
|
+
this.$elConfirm("确定要删除文档内全部的批注吗(只能删除用户本人创建的批注)", "删除确认", {
|
|
210671
210965
|
cancelButtonText: "取消",
|
|
210672
210966
|
confirmButtonText: "确定",
|
|
210673
210967
|
type: "warning"
|
|
@@ -210793,8 +211087,8 @@ var ToolBarvue_type_style_index_0_lang_scss_ = __webpack_require__("e530");
|
|
|
210793
211087
|
|
|
210794
211088
|
var ToolBar_component = normalizeComponent(
|
|
210795
211089
|
toolbar_ToolBarvue_type_script_lang_ts_,
|
|
210796
|
-
|
|
210797
|
-
|
|
211090
|
+
ToolBarvue_type_template_id_b74fa70c_render,
|
|
211091
|
+
ToolBarvue_type_template_id_b74fa70c_staticRenderFns,
|
|
210798
211092
|
false,
|
|
210799
211093
|
null,
|
|
210800
211094
|
null,
|
|
@@ -210803,7 +211097,7 @@ var ToolBar_component = normalizeComponent(
|
|
|
210803
211097
|
)
|
|
210804
211098
|
|
|
210805
211099
|
/* harmony default export */ var toolbar_ToolBar = (ToolBar_component.exports);
|
|
210806
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211100
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34219db1-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&
|
|
210807
211101
|
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)}
|
|
210808
211102
|
var TabPanevue_type_template_id_71cdc485_staticRenderFns = []
|
|
210809
211103
|
|
|
@@ -211001,6 +211295,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
211001
211295
|
|
|
211002
211296
|
this.isIncludes = (_this$rightNode3 = this.rightNode) === null || _this$rightNode3 === void 0 ? void 0 : _this$rightNode3.labelNode().isIncludes;
|
|
211003
211297
|
this.patientID = this.vueController.getDocProperty().patientID;
|
|
211298
|
+
this.isDeisgn = this.rightNode.paintStatus;
|
|
211004
211299
|
}
|
|
211005
211300
|
}, {
|
|
211006
211301
|
key: "toUpdateNodes",
|
|
@@ -211180,34 +211475,34 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
211180
211475
|
}
|
|
211181
211476
|
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), ((_this$rightNode13 = this.rightNode) === null || _this$rightNode13 === void 0 ? void 0 : _this$rightNode13.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
211182
211477
|
"class": "mouse-right-menu"
|
|
211183
|
-
}, [this.
|
|
211478
|
+
}, [this.isDeisgn !== 0 ? null : h("li", {
|
|
211184
211479
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
211185
|
-
}), this.
|
|
211480
|
+
}), this.isDeisgn !== 0 ? null : h("li", {
|
|
211186
211481
|
"class": "mouse-menu-item",
|
|
211187
211482
|
"on": {
|
|
211188
211483
|
"click": function click() {
|
|
211189
211484
|
return _this4.toUpdateNodes("table", event);
|
|
211190
211485
|
}
|
|
211191
211486
|
}
|
|
211192
|
-
}, ["\u8868\u683C\u5C5E\u6027"]), this.
|
|
211487
|
+
}, ["\u8868\u683C\u5C5E\u6027"]), this.isDeisgn !== 0 ? null : h("li", {
|
|
211193
211488
|
"class": "mouse-menu-item",
|
|
211194
211489
|
"on": {
|
|
211195
211490
|
"click": function click() {
|
|
211196
|
-
return _this4.toUpdateNodes("table", event);
|
|
211491
|
+
return _this4.toUpdateNodes("table-col", event);
|
|
211197
211492
|
}
|
|
211198
211493
|
}
|
|
211199
|
-
}, ["\u8868\u683C\u5217\u5C5E\u6027"]), this.
|
|
211494
|
+
}, ["\u8868\u683C\u5217\u5C5E\u6027"]), this.isDeisgn !== 0 ? null : h("li", {
|
|
211200
211495
|
"class": "mouse-menu-item",
|
|
211201
211496
|
"on": {
|
|
211202
211497
|
"click": function click() {
|
|
211203
|
-
return _this4.toUpdateNodes("table", event);
|
|
211498
|
+
return _this4.toUpdateNodes("table-row", event);
|
|
211204
211499
|
}
|
|
211205
211500
|
}
|
|
211206
|
-
}, ["\u8868\u683C\u884C\u5C5E\u6027"]), this.
|
|
211501
|
+
}, ["\u8868\u683C\u884C\u5C5E\u6027"]), this.isDeisgn !== 0 ? null : h("li", {
|
|
211207
211502
|
"class": "mouse-menu-item",
|
|
211208
211503
|
"on": {
|
|
211209
211504
|
"click": function click() {
|
|
211210
|
-
return _this4.toUpdateNodes("table", event);
|
|
211505
|
+
return _this4.toUpdateNodes("table-cell", event);
|
|
211211
211506
|
}
|
|
211212
211507
|
}
|
|
211213
211508
|
}, ["\u5355\u5143\u683C\u5C5E\u6027"]), h("li", {
|
|
@@ -213116,11 +213411,16 @@ var DrawCell = /*#__PURE__*/function (_DrawRect) {
|
|
|
213116
213411
|
|
|
213117
213412
|
if (destArea) {
|
|
213118
213413
|
destSubDocArea = destArea;
|
|
213119
|
-
destArea.removeAllChildren();
|
|
213414
|
+
destArea.removeAllChildren();
|
|
213415
|
+
|
|
213416
|
+
if (!destParent.contains(destArea)) {
|
|
213417
|
+
destParent.addChild(destSubDocArea);
|
|
213418
|
+
} // // dPage.drawDomLevel.stage.removeChild(destSubDocArea);
|
|
213120
213419
|
// cc.x = subDocArea.x;
|
|
213121
213420
|
// cc.y = subDocArea.y;
|
|
213122
213421
|
// destSubDocArea.addChild(cc);
|
|
213123
213422
|
// this.updateAllDlineStage(destSubDocArea, destSubDocArea.children, dPage);
|
|
213423
|
+
|
|
213124
213424
|
} else {
|
|
213125
213425
|
destSubDocArea = new _DrawPageCell__WEBPACK_IMPORTED_MODULE_9__[/* DrawPageCell */ "a"](this._hoEditorFactoryID, destParent, this._cell, subDocArea.dLeft, subDocArea.dTop, subDocArea.dWidth, subDocArea.dHeight, subDocArea.index, subDocArea.startDline, subDocArea.maxHeight, false);
|
|
213126
213426
|
destParent.addChild(destSubDocArea);
|