hoeditor-web 2.0.3 → 2.0.8
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 +1002 -623
- package/lib/hoeditor.css +2 -2
- package/lib/hoeditor.umd.js +1002 -623
- package/lib/hoeditor.umd.min.js +21 -21
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -556,6 +556,17 @@ test[TO_STRING_TAG] = 'z';
|
|
|
556
556
|
module.exports = String(test) === '[object z]';
|
|
557
557
|
|
|
558
558
|
|
|
559
|
+
/***/ }),
|
|
560
|
+
|
|
561
|
+
/***/ "01ea":
|
|
562
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
563
|
+
|
|
564
|
+
"use strict";
|
|
565
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_32825c78_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1aee");
|
|
566
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_32825c78_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_32825c78_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
567
|
+
/* unused harmony reexport * */
|
|
568
|
+
|
|
569
|
+
|
|
559
570
|
/***/ }),
|
|
560
571
|
|
|
561
572
|
/***/ "0366":
|
|
@@ -2128,6 +2139,13 @@ module.exports = function (it) {
|
|
|
2128
2139
|
};
|
|
2129
2140
|
|
|
2130
2141
|
|
|
2142
|
+
/***/ }),
|
|
2143
|
+
|
|
2144
|
+
/***/ "0a4e":
|
|
2145
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2146
|
+
|
|
2147
|
+
// extracted by mini-css-extract-plugin
|
|
2148
|
+
|
|
2131
2149
|
/***/ }),
|
|
2132
2150
|
|
|
2133
2151
|
/***/ "0a8d":
|
|
@@ -2546,17 +2564,6 @@ module.exports = !__webpack_require__("4b8b")(function () {
|
|
|
2546
2564
|
});
|
|
2547
2565
|
|
|
2548
2566
|
|
|
2549
|
-
/***/ }),
|
|
2550
|
-
|
|
2551
|
-
/***/ "0c55":
|
|
2552
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2553
|
-
|
|
2554
|
-
"use strict";
|
|
2555
|
-
/* 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_PoperSelect_vue_vue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cdfc");
|
|
2556
|
-
/* 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_PoperSelect_vue_vue_type_style_index_0_id_a0106e2e_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_PoperSelect_vue_vue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2557
|
-
/* unused harmony reexport * */
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
2567
|
/***/ }),
|
|
2561
2568
|
|
|
2562
2569
|
/***/ "0c67":
|
|
@@ -18858,6 +18865,13 @@ exports.f = __webpack_require__("0bad") ? Object.defineProperty : function defin
|
|
|
18858
18865
|
};
|
|
18859
18866
|
|
|
18860
18867
|
|
|
18868
|
+
/***/ }),
|
|
18869
|
+
|
|
18870
|
+
/***/ "1aee":
|
|
18871
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
18872
|
+
|
|
18873
|
+
// extracted by mini-css-extract-plugin
|
|
18874
|
+
|
|
18861
18875
|
/***/ }),
|
|
18862
18876
|
|
|
18863
18877
|
/***/ "1ba5":
|
|
@@ -22424,12 +22438,6 @@ _ctx.prototype.__createElement = function (elementName, properties, resetFill) {
|
|
|
22424
22438
|
|
|
22425
22439
|
element.setAttribute('font-style', 'normal');
|
|
22426
22440
|
|
|
22427
|
-
if ((properties['font-family'] === '宋体' || properties['font-family'] === 'SimSun' || properties['font-family'] === '宋体, SimSun') && properties['font-weight'] === 'bold') {
|
|
22428
|
-
element.setAttribute('stroke', '#000');
|
|
22429
|
-
element.setAttribute('stroke-width', '1');
|
|
22430
|
-
element.setAttribute('font-weight', 'normal');
|
|
22431
|
-
}
|
|
22432
|
-
|
|
22433
22441
|
if (properties['font-family'] === '宋体') {
|
|
22434
22442
|
element.setAttribute('font-family', 'SimSun');
|
|
22435
22443
|
} else if (properties['font-family'] === '黑体') {
|
|
@@ -22438,10 +22446,16 @@ _ctx.prototype.__createElement = function (elementName, properties, resetFill) {
|
|
|
22438
22446
|
element.setAttribute('stroke-width', '1');
|
|
22439
22447
|
element.setAttribute('font-weight', 'normal');
|
|
22440
22448
|
} else if (properties['font-family'] !== 'Times New Roman') {
|
|
22441
|
-
//
|
|
22449
|
+
// 非宋体 黑体, Times New Roman默认转换成普通宋体
|
|
22442
22450
|
element.setAttribute('font-family', 'SimSun');
|
|
22443
22451
|
}
|
|
22444
22452
|
|
|
22453
|
+
if ((properties['font-family'] === '宋体' || properties['font-family'] === 'SimSun' || properties['font-family'] === '宋体, SimSun') && properties['font-weight'] === 'bold') {
|
|
22454
|
+
element.setAttribute('stroke', '#000');
|
|
22455
|
+
element.setAttribute('stroke-width', '1');
|
|
22456
|
+
element.setAttribute('font-weight', 'normal');
|
|
22457
|
+
}
|
|
22458
|
+
|
|
22445
22459
|
return element;
|
|
22446
22460
|
};
|
|
22447
22461
|
/**
|
|
@@ -24599,7 +24613,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24599
24613
|
*/
|
|
24600
24614
|
function () {
|
|
24601
24615
|
var _printToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(hoEditorFactoryID, PDF, type, fileName, reslove, positionY) {
|
|
24602
|
-
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, last, _iterator, _step, _cpage$drawDomLevel, _cpage$drawDomLevel$s, _cpage$drawDomLevel2, index, cpage, dShape, ctx, svgData, _svgBox2, printStyle, _svgBox, exportHtml, url, link;
|
|
24616
|
+
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, last, _iterator, _step, _cpage$drawDomLevel, _cpage$drawDomLevel$s, _cpage$drawDomLevel2, index, cpage, dShape, ctx, svgData, _svgBox2, printStyle, _svgBox, exportHtml, url, link, name;
|
|
24603
24617
|
|
|
24604
24618
|
return regeneratorRuntime.wrap(function _callee$(_context2) {
|
|
24605
24619
|
while (1) {
|
|
@@ -24711,7 +24725,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24711
24725
|
svgData = ctx === null || ctx === void 0 ? void 0 : ctx.getSvg();
|
|
24712
24726
|
svgData.id = "PDFPRINTSVG";
|
|
24713
24727
|
|
|
24714
|
-
if (!(type ===
|
|
24728
|
+
if (!(type === "html")) {
|
|
24715
24729
|
_context2.next = 34;
|
|
24716
24730
|
break;
|
|
24717
24731
|
}
|
|
@@ -24809,7 +24823,8 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24809
24823
|
}, 100);
|
|
24810
24824
|
} else {
|
|
24811
24825
|
PDF === null || PDF === void 0 ? void 0 : PDF.deletePage(1);
|
|
24812
|
-
|
|
24826
|
+
name = hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : "电子病历文档";
|
|
24827
|
+
PDF && this.openDataUriInWindow(PDF, name, hoEditorFactory.pageProperty.widthPixes);
|
|
24813
24828
|
}
|
|
24814
24829
|
|
|
24815
24830
|
case 66:
|
|
@@ -24831,41 +24846,48 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24831
24846
|
}()
|
|
24832
24847
|
}, {
|
|
24833
24848
|
key: "openDataUriInWindow",
|
|
24834
|
-
value: function openDataUriInWindow(PDF) {
|
|
24835
|
-
if (
|
|
24836
|
-
|
|
24837
|
-
|
|
24838
|
-
|
|
24839
|
-
|
|
24840
|
-
|
|
24841
|
-
|
|
24842
|
-
|
|
24843
|
-
|
|
24844
|
-
|
|
24845
|
-
|
|
24846
|
-
|
|
24847
|
-
|
|
24848
|
-
|
|
24849
|
-
|
|
24850
|
-
|
|
24851
|
-
|
|
24852
|
-
|
|
24853
|
-
|
|
24854
|
-
|
|
24855
|
-
|
|
24856
|
-
|
|
24857
|
-
|
|
24858
|
-
|
|
24859
|
-
|
|
24860
|
-
|
|
24861
|
-
|
|
24849
|
+
value: function openDataUriInWindow(PDF, fileName, width) {
|
|
24850
|
+
if (navigator && navigator.userAgent.toLowerCase().indexOf("electron") !== -1) {
|
|
24851
|
+
var htmlForNewWindow = "<html>" + "<title>" + fileName + "</title>" + "<style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style>" + "<body>" + '<iframe src="' + PDF.output("bloburl") + '"></iframe>' + "</body></html>";
|
|
24852
|
+
var nW = window.open("", "modal", 'width=' + (width + 400) + ',height=800');
|
|
24853
|
+
|
|
24854
|
+
if (nW) {
|
|
24855
|
+
nW.document.write(htmlForNewWindow);
|
|
24856
|
+
}
|
|
24857
|
+
} else {
|
|
24858
|
+
if (document.querySelector("#Ho_Editor_Print_Iframe")) {
|
|
24859
|
+
document.body.removeChild(document.querySelector("#Ho_Editor_Print_Iframe"));
|
|
24860
|
+
}
|
|
24861
|
+
|
|
24862
|
+
if (document.querySelector("#PDFPRINTSVG")) {
|
|
24863
|
+
document.body.removeChild(document.querySelector("#PDFPRINTSVG"));
|
|
24864
|
+
} // PDF.autoPrint();
|
|
24865
|
+
// let hiddFrame!: HTMLIFrameElement;
|
|
24866
|
+
// hiddFrame = document.createElement("iframe") as HTMLIFrameElement;
|
|
24867
|
+
// hiddFrame.id = "Ho_Editor_Print_Iframe"
|
|
24868
|
+
// hiddFrame.style.position = "fixed";
|
|
24869
|
+
// hiddFrame.style.left = "-1111px";
|
|
24870
|
+
// hiddFrame.style.top = "-1111px";
|
|
24871
|
+
// hiddFrame.style.width = "1px";
|
|
24872
|
+
// hiddFrame.style.height = "1px";
|
|
24873
|
+
// hiddFrame.style.opacity = "0.01";
|
|
24874
|
+
// setTimeout(() => {
|
|
24875
|
+
// if(document.querySelector("#Ho_Editor_Print_Iframe")) {
|
|
24876
|
+
// document.body.removeChild(document.querySelector("#Ho_Editor_Print_Iframe") as Element);
|
|
24877
|
+
// }
|
|
24878
|
+
// }, 600000);
|
|
24879
|
+
// hiddFrame.src = PDF.output("bloburl") as any;
|
|
24880
|
+
// document.body.appendChild(hiddFrame);
|
|
24881
|
+
// setTimeout(() => {
|
|
24882
|
+
// (hiddFrame.contentWindow as Window).print();
|
|
24883
|
+
// }, 0);
|
|
24862
24884
|
|
|
24863
24885
|
|
|
24864
|
-
|
|
24865
|
-
|
|
24866
|
-
|
|
24867
|
-
|
|
24868
|
-
}
|
|
24886
|
+
this.printPage(PDF).catch(function (error) {
|
|
24887
|
+
PDF.autoPrint();
|
|
24888
|
+
PDF.output('dataurlnewwindow');
|
|
24889
|
+
});
|
|
24890
|
+
}
|
|
24869
24891
|
}
|
|
24870
24892
|
}, {
|
|
24871
24893
|
key: "printPage",
|
|
@@ -24885,7 +24907,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24885
24907
|
oHiddFrame === null || oHiddFrame === void 0 ? void 0 : (_oHiddFrame$contentWi = oHiddFrame.contentWindow) === null || _oHiddFrame$contentWi === void 0 ? void 0 : _oHiddFrame$contentWi.focus(); // Required for IE
|
|
24886
24908
|
|
|
24887
24909
|
oHiddFrame === null || oHiddFrame === void 0 ? void 0 : (_oHiddFrame$contentWi2 = oHiddFrame.contentWindow) === null || _oHiddFrame$contentWi2 === void 0 ? void 0 : _oHiddFrame$contentWi2.print();
|
|
24888
|
-
resolve(
|
|
24910
|
+
resolve("print");
|
|
24889
24911
|
} catch (error) {
|
|
24890
24912
|
reject(error);
|
|
24891
24913
|
}
|
|
@@ -24899,12 +24921,11 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24899
24921
|
oHiddFrame.style.height = "0";
|
|
24900
24922
|
oHiddFrame.style.border = "0";
|
|
24901
24923
|
oHiddFrame.src = PDF.output("bloburl");
|
|
24902
|
-
;
|
|
24903
24924
|
document.body.appendChild(oHiddFrame);
|
|
24904
|
-
_context3.next =
|
|
24925
|
+
_context3.next = 13;
|
|
24905
24926
|
return printPromise;
|
|
24906
24927
|
|
|
24907
|
-
case
|
|
24928
|
+
case 13:
|
|
24908
24929
|
case "end":
|
|
24909
24930
|
return _context3.stop();
|
|
24910
24931
|
}
|
|
@@ -25010,7 +25031,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25010
25031
|
svgData = ctx === null || ctx === void 0 ? void 0 : ctx.getSvg();
|
|
25011
25032
|
|
|
25012
25033
|
if (index === 0 && hoEditorFactory.firstPageStartTop !== 0) {
|
|
25013
|
-
svgData.style.top = -(hoEditorFactory.firstPageStartTop + cpage.drawMainDoc.y) +
|
|
25034
|
+
svgData.style.top = -(hoEditorFactory.firstPageStartTop + cpage.drawMainDoc.y) + "px";
|
|
25014
25035
|
}
|
|
25015
25036
|
|
|
25016
25037
|
svgBox.appendChild(svgData);
|
|
@@ -25051,14 +25072,13 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25051
25072
|
hoEditorFactory.printStatus.recordLastPosByPageIndex(last);
|
|
25052
25073
|
}
|
|
25053
25074
|
|
|
25054
|
-
;
|
|
25055
25075
|
hoEditorFactory.printStatus.DrawPrintRange().PrintOver();
|
|
25056
25076
|
printIframeHtml === null || printIframeHtml === void 0 ? void 0 : printIframeHtml.appendChild(svgList);
|
|
25057
25077
|
setTimeout(function () {
|
|
25058
25078
|
reslove && reslove("printend");
|
|
25059
25079
|
}, 0);
|
|
25060
25080
|
|
|
25061
|
-
case
|
|
25081
|
+
case 54:
|
|
25062
25082
|
case "end":
|
|
25063
25083
|
return _context4.stop();
|
|
25064
25084
|
}
|
|
@@ -25269,9 +25289,9 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25269
25289
|
});
|
|
25270
25290
|
ctx && ((_cpage$drawDomLevel6 = cpage.drawDomLevel) === null || _cpage$drawDomLevel6 === void 0 ? void 0 : (_cpage$drawDomLevel6$ = _cpage$drawDomLevel6.stage) === null || _cpage$drawDomLevel6$ === void 0 ? void 0 : _cpage$drawDomLevel6$.draw(ctx));
|
|
25271
25291
|
svgData = ctx === null || ctx === void 0 ? void 0 : ctx.getSvg();
|
|
25272
|
-
svgData.style.top = hoEditorFactory.pageProperty.heightPixes * index +
|
|
25292
|
+
svgData.style.top = hoEditorFactory.pageProperty.heightPixes * index + "px";
|
|
25273
25293
|
svgBox.style.width = hoEditorFactory.pageProperty.widthPixes + "px";
|
|
25274
|
-
svgBox.style.height = hoEditorFactory.drawTree.drawPages.length * hoEditorFactory.pageProperty.heightPixes +
|
|
25294
|
+
svgBox.style.height = hoEditorFactory.drawTree.drawPages.length * hoEditorFactory.pageProperty.heightPixes + "px";
|
|
25275
25295
|
svgBox.style.overflow = "hidden";
|
|
25276
25296
|
svgBox === null || svgBox === void 0 ? void 0 : svgBox.appendChild(svgData);
|
|
25277
25297
|
index > 0 && ((_cpage$drawDomLevel7 = cpage.drawDomLevel) === null || _cpage$drawDomLevel7 === void 0 ? void 0 : _cpage$drawDomLevel7.clearStage());
|
|
@@ -30786,6 +30806,17 @@ var DrawDownListNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
30786
30806
|
return DrawDownListNode;
|
|
30787
30807
|
}(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_4__[/* DrawCombineNode */ "a"]);
|
|
30788
30808
|
|
|
30809
|
+
/***/ }),
|
|
30810
|
+
|
|
30811
|
+
/***/ "2ed0":
|
|
30812
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
30813
|
+
|
|
30814
|
+
"use strict";
|
|
30815
|
+
/* 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_PoperMark_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a70");
|
|
30816
|
+
/* 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_PoperMark_vue_vue_type_style_index_0_lang_scss___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_PoperMark_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
30817
|
+
/* unused harmony reexport * */
|
|
30818
|
+
|
|
30819
|
+
|
|
30789
30820
|
/***/ }),
|
|
30790
30821
|
|
|
30791
30822
|
/***/ "2f9a":
|
|
@@ -30802,17 +30833,6 @@ module.exports = function () { /* empty */ };
|
|
|
30802
30833
|
__webpack_require__("e198")('asyncIterator');
|
|
30803
30834
|
|
|
30804
30835
|
|
|
30805
|
-
/***/ }),
|
|
30806
|
-
|
|
30807
|
-
/***/ "31fd":
|
|
30808
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
30809
|
-
|
|
30810
|
-
"use strict";
|
|
30811
|
-
/* 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_TableCellPoper_vue_vue_type_style_index_0_id_51088f79_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bcb5");
|
|
30812
|
-
/* 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_TableCellPoper_vue_vue_type_style_index_0_id_51088f79_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_TableCellPoper_vue_vue_type_style_index_0_id_51088f79_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
30813
|
-
/* unused harmony reexport * */
|
|
30814
|
-
|
|
30815
|
-
|
|
30816
30836
|
/***/ }),
|
|
30817
30837
|
|
|
30818
30838
|
/***/ "3280":
|
|
@@ -38314,6 +38334,18 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38314
38334
|
if (node.parentNode.childNodes[1] instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_49__[/* MarkNode */ "a"]) {
|
|
38315
38335
|
startPath = hoEditorFactory.docTree.getNodeLastPath(node.parentNode.previousLeaf());
|
|
38316
38336
|
endPath = hoEditorFactory.docTree.getNodeLastPath(node.parentNode);
|
|
38337
|
+
} else {
|
|
38338
|
+
if (node === node.parentNode.last()) {
|
|
38339
|
+
var _topath = hoEditorFactory.docTree.getNodeLastPath(node.previousLeaf());
|
|
38340
|
+
|
|
38341
|
+
hoEditorFactory.drawTree.moveCaretToPath(_topath);
|
|
38342
|
+
hoEditorFactory.docTree.curDomRange.setSamePath(_topath);
|
|
38343
|
+
return;
|
|
38344
|
+
}
|
|
38345
|
+
|
|
38346
|
+
if (node === node.parentNode.first()) {
|
|
38347
|
+
return;
|
|
38348
|
+
}
|
|
38317
38349
|
}
|
|
38318
38350
|
}
|
|
38319
38351
|
|
|
@@ -39899,12 +39931,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39899
39931
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
39900
39932
|
var valuesObj = eval("(" + valuesObject + ")");
|
|
39901
39933
|
var text = valuesObj["text"].toString();
|
|
39902
|
-
var
|
|
39903
|
-
|
|
39904
|
-
|
|
39905
|
-
|
|
39906
|
-
valuesObject = JSON.stringify(valuesObj);
|
|
39907
|
-
}
|
|
39934
|
+
var isTransToText = valuesObj["isTransToText"]; //if (isTransToTextNode) {
|
|
39935
|
+
//valuesObj["text"] = "";
|
|
39936
|
+
//valuesObject = JSON.stringify(valuesObj);
|
|
39937
|
+
//}
|
|
39908
39938
|
|
|
39909
39939
|
var radioAndCheckBoxNode = new _treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_55__[/* RadioAndCheckBoxNode */ "a"](this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntControl, valuesObject, styleIndex); //插入该表达式节点
|
|
39910
39940
|
|
|
@@ -39915,7 +39945,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39915
39945
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, startPath, radioAndCheckBoxNode));
|
|
39916
39946
|
hoEditorFactory.undoService.commit();
|
|
39917
39947
|
|
|
39918
|
-
if (
|
|
39948
|
+
if (isTransToText && operType === "add") {
|
|
39919
39949
|
var path = radioAndCheckBoxNode.getNodePath();
|
|
39920
39950
|
var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_29__[/* TextNode */ "a"](this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__[/* NodeType */ "b"].ntText, text, styleIndex);
|
|
39921
39951
|
hoEditorFactory.undoService.begin();
|
|
@@ -40441,22 +40471,23 @@ var DocController = /*#__PURE__*/function () {
|
|
|
40441
40471
|
return hoEditorFactory.drawPageTree.stopPageEvent();
|
|
40442
40472
|
|
|
40443
40473
|
case 3:
|
|
40474
|
+
hoEditorFactory.structureConvert._superiorSign = [];
|
|
40444
40475
|
hoEditorFactory.drawTree.clearDrawTree();
|
|
40445
40476
|
hoEditorFactory.docTree.clearDocTree();
|
|
40446
40477
|
hoEditorFactory.drawPageTree.clear();
|
|
40447
40478
|
hoEditorFactory.drawPageTree.initDoc();
|
|
40448
|
-
_context.next =
|
|
40479
|
+
_context.next = 10;
|
|
40449
40480
|
return hoEditorFactory.drawTree.buildDrawTree(hoEditorFactory.docTree.headerNodes[0], hoEditorFactory.drawTree.headerDNodes[0]);
|
|
40450
40481
|
|
|
40451
|
-
case
|
|
40452
|
-
_context.next =
|
|
40482
|
+
case 10:
|
|
40483
|
+
_context.next = 12;
|
|
40453
40484
|
return hoEditorFactory.drawTree.buildDrawTree(hoEditorFactory.docTree.footerNodes[0], hoEditorFactory.drawTree.footerDNodes[0]);
|
|
40454
40485
|
|
|
40455
|
-
case
|
|
40456
|
-
_context.next =
|
|
40486
|
+
case 12:
|
|
40487
|
+
_context.next = 14;
|
|
40457
40488
|
return hoEditorFactory.drawTree.buildDrawTree(hoEditorFactory.docTree.mainNodes, hoEditorFactory.drawTree.mainDNodes);
|
|
40458
40489
|
|
|
40459
|
-
case
|
|
40490
|
+
case 14:
|
|
40460
40491
|
if (hoEditorFactory.drawTree.drawPages.length == 0) hoEditorFactory.drawTree.addPage();
|
|
40461
40492
|
hoEditorFactory.drawTree.drawPageCount.count = hoEditorFactory.drawTree.drawPages.length;
|
|
40462
40493
|
hoEditorFactory.drawTree.activePage = hoEditorFactory.drawTree.drawPages[0];
|
|
@@ -40476,7 +40507,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
40476
40507
|
aPage = hoEditorFactory.drawTree.drawPages[0];
|
|
40477
40508
|
hoEditorFactory.undoService.clear();
|
|
40478
40509
|
|
|
40479
|
-
case
|
|
40510
|
+
case 24:
|
|
40480
40511
|
case "end":
|
|
40481
40512
|
return _context.stop();
|
|
40482
40513
|
}
|
|
@@ -47858,6 +47889,13 @@ SelectRange.shapes = [];
|
|
|
47858
47889
|
|
|
47859
47890
|
/***/ }),
|
|
47860
47891
|
|
|
47892
|
+
/***/ "4a70":
|
|
47893
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
47894
|
+
|
|
47895
|
+
// extracted by mini-css-extract-plugin
|
|
47896
|
+
|
|
47897
|
+
/***/ }),
|
|
47898
|
+
|
|
47861
47899
|
/***/ "4ae1":
|
|
47862
47900
|
/***/ (function(module, exports, __webpack_require__) {
|
|
47863
47901
|
|
|
@@ -51780,6 +51818,8 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
51780
51818
|
this.isEditText = false;
|
|
51781
51819
|
this.appendText = ""; //追加文本
|
|
51782
51820
|
|
|
51821
|
+
this.isTransToText = false; //内容是否转成文本节点
|
|
51822
|
+
|
|
51783
51823
|
RadioAndCheckBoxInstance.makeDefaultValue(this);
|
|
51784
51824
|
}
|
|
51785
51825
|
|
|
@@ -51983,6 +52023,16 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
51983
52023
|
this.bandDataSource = value;
|
|
51984
52024
|
}
|
|
51985
52025
|
}
|
|
52026
|
+
}, {
|
|
52027
|
+
key: "IsTransToText",
|
|
52028
|
+
get: function get() {
|
|
52029
|
+
return this.isTransToText;
|
|
52030
|
+
},
|
|
52031
|
+
set: function set(value) {
|
|
52032
|
+
if (this.isTransToText !== value) {
|
|
52033
|
+
this.isTransToText = value;
|
|
52034
|
+
}
|
|
52035
|
+
}
|
|
51986
52036
|
}], [{
|
|
51987
52037
|
key: "makeDefaultValue",
|
|
51988
52038
|
value: function makeDefaultValue(ret) {
|
|
@@ -52005,6 +52055,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
52005
52055
|
ret.readType = -1;
|
|
52006
52056
|
ret.isEditText = false;
|
|
52007
52057
|
ret.appendText = "";
|
|
52058
|
+
ret.isTransToText = false;
|
|
52008
52059
|
return ret;
|
|
52009
52060
|
}
|
|
52010
52061
|
}]);
|
|
@@ -52036,6 +52087,8 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
52036
52087
|
|
|
52037
52088
|
_this._appendText = ""; //追加文本
|
|
52038
52089
|
|
|
52090
|
+
_this._isTransToText = false; //内容是否转成文本
|
|
52091
|
+
|
|
52039
52092
|
_this._styleIndex = styleIndex; //const valuesObj = eval("(" + valuesObject + ")");
|
|
52040
52093
|
|
|
52041
52094
|
_this.setValuesObject(valuesObject);
|
|
@@ -52281,6 +52334,16 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
52281
52334
|
this._tipText = value;
|
|
52282
52335
|
}
|
|
52283
52336
|
}
|
|
52337
|
+
}, {
|
|
52338
|
+
key: "isTransToText",
|
|
52339
|
+
get: function get() {
|
|
52340
|
+
return this._isTransToText;
|
|
52341
|
+
},
|
|
52342
|
+
set: function set(value) {
|
|
52343
|
+
if (this._isTransToText !== value) {
|
|
52344
|
+
this._isTransToText = value;
|
|
52345
|
+
}
|
|
52346
|
+
}
|
|
52284
52347
|
}, {
|
|
52285
52348
|
key: "isEditText",
|
|
52286
52349
|
get: function get() {
|
|
@@ -52358,6 +52421,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
52358
52421
|
ret.ReadType = this.readType !== undefined ? this.readType : ret.ReadType;
|
|
52359
52422
|
ret.IsEditText = this.isEditText !== undefined ? this.isEditText : ret.IsEditText;
|
|
52360
52423
|
ret.AppendText = this.appendText !== undefined ? this.appendText : ret.AppendText;
|
|
52424
|
+
ret.IsTransToText = this.isTransToText != undefined ? this.isTransToText : ret.IsTransToText;
|
|
52361
52425
|
return ret;
|
|
52362
52426
|
}
|
|
52363
52427
|
/**
|
|
@@ -52483,6 +52547,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
52483
52547
|
boxAlign: this.boxAlign,
|
|
52484
52548
|
numericValue: this.numericValue,
|
|
52485
52549
|
additionalData: this.additionalData,
|
|
52550
|
+
isTransToText: this.isTransToText,
|
|
52486
52551
|
isEditText: this.isEditText,
|
|
52487
52552
|
appendText: this.appendText,
|
|
52488
52553
|
readType: this.readType,
|
|
@@ -52532,6 +52597,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
52532
52597
|
json.isSelected = !json.isSelected ? false : json.isSelected;
|
|
52533
52598
|
json.boxAlign = !json.boxAlign ? false : json.boxAlign;
|
|
52534
52599
|
json.isEditText = !json.isEditText ? false : json.isEditText;
|
|
52600
|
+
json.isTransToText = !json.isTransToText ? false : json.isTransToText;
|
|
52535
52601
|
json.numericValue = Number(json.numericValue);
|
|
52536
52602
|
var styleIndex = Number(json.styleIndex);
|
|
52537
52603
|
json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_15__[/* ControlType */ "b"][json.type]);
|
|
@@ -60231,7 +60297,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
60231
60297
|
/*
|
|
60232
60298
|
* @Author: your name
|
|
60233
60299
|
* @Date: 2020-11-16 11:55:54
|
|
60234
|
-
* @LastEditTime:
|
|
60300
|
+
* @LastEditTime: 2022-01-07 15:32:25
|
|
60235
60301
|
* @LastEditors: Please set LastEditors
|
|
60236
60302
|
* @Description: In User Settings Edit
|
|
60237
60303
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawRadioAndCheckBox.ts
|
|
@@ -60255,7 +60321,7 @@ var DrawRadioAndCheckBox = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
60255
60321
|
_this._boxAlign = boxAlign;
|
|
60256
60322
|
_this._numericValue = numericValue;
|
|
60257
60323
|
_this._text = node.text;
|
|
60258
|
-
_this._dText = new createjs.Text(_this._text, textStyle.getStyleKey(), textStyle.color);
|
|
60324
|
+
_this._dText = new createjs.Text(node.isTransToText ? "" : _this._text, textStyle.getStyleKey(), textStyle.color);
|
|
60259
60325
|
var style = new _editor_dom_domNode_TextStyle__WEBPACK_IMPORTED_MODULE_7__[/* TextStyle */ "c"](_this._hoEditorFactoryID);
|
|
60260
60326
|
var fontSize = style.getBiggerfontSize(style.getBiggerfontSize(textStyle.size));
|
|
60261
60327
|
|
|
@@ -60362,7 +60428,7 @@ var DrawRadioAndCheckBox = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
60362
60428
|
if (this.boxAlign) {
|
|
60363
60429
|
this.drawBox();
|
|
60364
60430
|
|
|
60365
|
-
if (this.text.length > 0) {
|
|
60431
|
+
if (!this.node.isTransToText && this.text.length > 0) {
|
|
60366
60432
|
this.drawText();
|
|
60367
60433
|
}
|
|
60368
60434
|
|
|
@@ -63228,13 +63294,6 @@ exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {
|
|
|
63228
63294
|
});
|
|
63229
63295
|
|
|
63230
63296
|
|
|
63231
|
-
/***/ }),
|
|
63232
|
-
|
|
63233
|
-
/***/ "653e":
|
|
63234
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
63235
|
-
|
|
63236
|
-
// extracted by mini-css-extract-plugin
|
|
63237
|
-
|
|
63238
63297
|
/***/ }),
|
|
63239
63298
|
|
|
63240
63299
|
/***/ "6547":
|
|
@@ -91498,6 +91557,17 @@ module.exports = function (it) {
|
|
|
91498
91557
|
|
|
91499
91558
|
// extracted by mini-css-extract-plugin
|
|
91500
91559
|
|
|
91560
|
+
/***/ }),
|
|
91561
|
+
|
|
91562
|
+
/***/ "87d2":
|
|
91563
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91564
|
+
|
|
91565
|
+
"use strict";
|
|
91566
|
+
/* 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_TableCellPoper_vue_vue_type_style_index_0_id_43382d6b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dfed");
|
|
91567
|
+
/* 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_TableCellPoper_vue_vue_type_style_index_0_id_43382d6b_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_TableCellPoper_vue_vue_type_style_index_0_id_43382d6b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
91568
|
+
/* unused harmony reexport * */
|
|
91569
|
+
|
|
91570
|
+
|
|
91501
91571
|
/***/ }),
|
|
91502
91572
|
|
|
91503
91573
|
/***/ "8841":
|
|
@@ -91907,17 +91977,6 @@ var MSI1010 = function (_MSI) {
|
|
|
91907
91977
|
|
|
91908
91978
|
exports.default = MSI1010;
|
|
91909
91979
|
|
|
91910
|
-
/***/ }),
|
|
91911
|
-
|
|
91912
|
-
/***/ "8870":
|
|
91913
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91914
|
-
|
|
91915
|
-
"use strict";
|
|
91916
|
-
/* 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_PoperTipText_vue_vue_type_style_index_0_id_06cc5327_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d45f");
|
|
91917
|
-
/* 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_PoperTipText_vue_vue_type_style_index_0_id_06cc5327_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_PoperTipText_vue_vue_type_style_index_0_id_06cc5327_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
91918
|
-
/* unused harmony reexport * */
|
|
91919
|
-
|
|
91920
|
-
|
|
91921
91980
|
/***/ }),
|
|
91922
91981
|
|
|
91923
91982
|
/***/ "8875":
|
|
@@ -104885,6 +104944,8 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
104885
104944
|
/* harmony import */ var _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("d268");
|
|
104886
104945
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("8d1d");
|
|
104887
104946
|
/* harmony import */ var _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("7450");
|
|
104947
|
+
/* harmony import */ var _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("4b89");
|
|
104948
|
+
|
|
104888
104949
|
|
|
104889
104950
|
|
|
104890
104951
|
|
|
@@ -105007,6 +105068,16 @@ var DrawCombineNode = /*#__PURE__*/function (_DrawContainer) {
|
|
|
105007
105068
|
|
|
105008
105069
|
_this2.addChild(_this2._event);
|
|
105009
105070
|
|
|
105071
|
+
if (_this2.node && _this2.node.parentNode instanceof _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_11__[/* TextInputFieldNode */ "f"] && _this2.node.parentNode.tipText) {
|
|
105072
|
+
_this2.on('mouseover', function (e) {
|
|
105073
|
+
hoEditorFactory.nodeMouseMove.setNode(_this2.node, _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_8__[/* DmouseEventType */ "a"].detOver);
|
|
105074
|
+
});
|
|
105075
|
+
|
|
105076
|
+
_this2.on('mouseout', function (e) {
|
|
105077
|
+
hoEditorFactory.nodeMouseMove.setNode(_this2.node, _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_8__[/* DmouseEventType */ "a"].detOut);
|
|
105078
|
+
});
|
|
105079
|
+
}
|
|
105080
|
+
|
|
105010
105081
|
_this2.on('click', function (e) {
|
|
105011
105082
|
if (e.nativeEvent.button === 0) {
|
|
105012
105083
|
hoEditorFactory.nodeMouseMove.NodeClick(_this2._node, _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_8__[/* DmouseEventType */ "a"].detClick);
|
|
@@ -105944,12 +106015,12 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
105944
106015
|
|
|
105945
106016
|
/***/ }),
|
|
105946
106017
|
|
|
105947
|
-
/***/ "
|
|
106018
|
+
/***/ "9e74":
|
|
105948
106019
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
105949
106020
|
|
|
105950
106021
|
"use strict";
|
|
105951
|
-
/* harmony import */ var
|
|
105952
|
-
/* harmony import */ var
|
|
106022
|
+
/* 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_PoperSelect_vue_vue_type_style_index_0_id_79fdead8_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0a4e");
|
|
106023
|
+
/* 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_PoperSelect_vue_vue_type_style_index_0_id_79fdead8_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_PoperSelect_vue_vue_type_style_index_0_id_79fdead8_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
105953
106024
|
/* unused harmony reexport * */
|
|
105954
106025
|
|
|
105955
106026
|
|
|
@@ -128865,6 +128936,13 @@ module.exports = function (METHOD_NAME) {
|
|
|
128865
128936
|
};
|
|
128866
128937
|
|
|
128867
128938
|
|
|
128939
|
+
/***/ }),
|
|
128940
|
+
|
|
128941
|
+
/***/ "af07":
|
|
128942
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
128943
|
+
|
|
128944
|
+
// extracted by mini-css-extract-plugin
|
|
128945
|
+
|
|
128868
128946
|
/***/ }),
|
|
128869
128947
|
|
|
128870
128948
|
/***/ "b041":
|
|
@@ -142625,13 +142703,6 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
142625
142703
|
|
|
142626
142704
|
/***/ }),
|
|
142627
142705
|
|
|
142628
|
-
/***/ "bcb5":
|
|
142629
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
142630
|
-
|
|
142631
|
-
// extracted by mini-css-extract-plugin
|
|
142632
|
-
|
|
142633
|
-
/***/ }),
|
|
142634
|
-
|
|
142635
142706
|
/***/ "bd01":
|
|
142636
142707
|
/***/ (function(module, exports, __webpack_require__) {
|
|
142637
142708
|
|
|
@@ -155036,13 +155107,6 @@ module.exports = function (C, x) {
|
|
|
155036
155107
|
};
|
|
155037
155108
|
|
|
155038
155109
|
|
|
155039
|
-
/***/ }),
|
|
155040
|
-
|
|
155041
|
-
/***/ "cdfc":
|
|
155042
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
155043
|
-
|
|
155044
|
-
// extracted by mini-css-extract-plugin
|
|
155045
|
-
|
|
155046
155110
|
/***/ }),
|
|
155047
155111
|
|
|
155048
155112
|
/***/ "ce18":
|
|
@@ -155580,13 +155644,6 @@ module.exports = function (it, TAG, STATIC) {
|
|
|
155580
155644
|
};
|
|
155581
155645
|
|
|
155582
155646
|
|
|
155583
|
-
/***/ }),
|
|
155584
|
-
|
|
155585
|
-
/***/ "d45f":
|
|
155586
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
155587
|
-
|
|
155588
|
-
// extracted by mini-css-extract-plugin
|
|
155589
|
-
|
|
155590
155647
|
/***/ }),
|
|
155591
155648
|
|
|
155592
155649
|
/***/ "d4af":
|
|
@@ -160462,6 +160519,13 @@ module.exports = function (Constructor, list) {
|
|
|
160462
160519
|
|
|
160463
160520
|
|
|
160464
160521
|
|
|
160522
|
+
/***/ }),
|
|
160523
|
+
|
|
160524
|
+
/***/ "dfed":
|
|
160525
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
160526
|
+
|
|
160527
|
+
// extracted by mini-css-extract-plugin
|
|
160528
|
+
|
|
160465
160529
|
/***/ }),
|
|
160466
160530
|
|
|
160467
160531
|
/***/ "e01a":
|
|
@@ -165368,11 +165432,6 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
165368
165432
|
|
|
165369
165433
|
Anode.update();
|
|
165370
165434
|
}
|
|
165371
|
-
|
|
165372
|
-
if (Anode instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_26__[/* CellNode */ "a"]) {
|
|
165373
|
-
Anode.drawCell.needUpdate = true;
|
|
165374
|
-
Anode.table.update();
|
|
165375
|
-
}
|
|
165376
165435
|
}
|
|
165377
165436
|
}, {
|
|
165378
165437
|
key: "redo",
|
|
@@ -165385,7 +165444,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
165385
165444
|
var _doRedo = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
165386
165445
|
var _currRange$npEnd$node;
|
|
165387
165446
|
|
|
165388
|
-
var currRange, hoEditorFactory, textStyle, nodes, n, node, tip, pnode, pTiNode, _res, changeEvent, startPath, endPath, res, cgEvent,
|
|
165447
|
+
var currRange, hoEditorFactory, textStyle, nodes, n, node, tip, pnode, pTiNode, _res, changeEvent, startPath, endPath, res, cgEvent, aNode;
|
|
165389
165448
|
|
|
165390
165449
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
165391
165450
|
while (1) {
|
|
@@ -165537,46 +165596,33 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
165537
165596
|
res = this.deleteRange(currRange.endPath, currRange.startPath);
|
|
165538
165597
|
|
|
165539
165598
|
if (!(res == 1)) {
|
|
165540
|
-
_context.next =
|
|
165599
|
+
_context.next = 51;
|
|
165541
165600
|
break;
|
|
165542
165601
|
}
|
|
165543
165602
|
|
|
165544
165603
|
changeEvent.beforeChangePath = startPath;
|
|
165545
|
-
changeEvent.afterChangePath = this._tmp.start;
|
|
165546
|
-
|
|
165547
|
-
|
|
165604
|
+
changeEvent.afterChangePath = this._tmp.start;
|
|
165605
|
+
_context.next = 49;
|
|
165606
|
+
return hoEditorFactory.docTree.change(changeEvent);
|
|
165548
165607
|
|
|
165608
|
+
case 49:
|
|
165549
165609
|
cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__[/* SelectionChangeEvent */ "a"](hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__[/* DomRange */ "a"](this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
|
|
165550
165610
|
hoEditorFactory.docTree.selectChange(cgEvent);
|
|
165551
|
-
hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
|
|
165552
|
-
_aNode = currRange.npStart.node;
|
|
165553
|
-
|
|
165554
|
-
if (!(_aNode && _aNode.parentNode)) {
|
|
165555
|
-
_context.next = 54;
|
|
165556
|
-
break;
|
|
165557
|
-
}
|
|
165558
165611
|
|
|
165559
|
-
|
|
165560
|
-
return this.ParentRepaint(_aNode.parentNode);
|
|
165561
|
-
|
|
165562
|
-
case 54:
|
|
165563
|
-
_context.next = 56;
|
|
165564
|
-
return hoEditorFactory.docTree.change(changeEvent);
|
|
165565
|
-
|
|
165566
|
-
case 56:
|
|
165612
|
+
case 51:
|
|
165567
165613
|
hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
|
|
165568
165614
|
hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
|
|
165569
165615
|
aNode = currRange.npStart.node;
|
|
165570
165616
|
|
|
165571
165617
|
if (!(aNode && aNode.parentNode)) {
|
|
165572
|
-
_context.next =
|
|
165618
|
+
_context.next = 57;
|
|
165573
165619
|
break;
|
|
165574
165620
|
}
|
|
165575
165621
|
|
|
165576
|
-
_context.next =
|
|
165622
|
+
_context.next = 57;
|
|
165577
165623
|
return this.ParentRepaint(aNode.parentNode);
|
|
165578
165624
|
|
|
165579
|
-
case
|
|
165625
|
+
case 57:
|
|
165580
165626
|
case "end":
|
|
165581
165627
|
return _context.stop();
|
|
165582
165628
|
}
|
|
@@ -172871,7 +172917,7 @@ module.exports = {
|
|
|
172871
172917
|
/*
|
|
172872
172918
|
* @Author: your name
|
|
172873
172919
|
* @Date: 2020-09-24 15:56:09
|
|
172874
|
-
* @LastEditTime: 2021-12-
|
|
172920
|
+
* @LastEditTime: 2021-12-31 14:07:38
|
|
172875
172921
|
* @LastEditors: Please set LastEditors
|
|
172876
172922
|
* @Description: In User Settings Edit
|
|
172877
172923
|
* @FilePath: \hoeditor-web\src\editor\undoRedo\NodeInsertUndoUnit.ts
|
|
@@ -173084,7 +173130,7 @@ var NodeInsertUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
173084
173130
|
pNode = pNode.parentNode;
|
|
173085
173131
|
}
|
|
173086
173132
|
|
|
173087
|
-
if (pNode instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_23__[/* CellNode */ "a"]) {
|
|
173133
|
+
if (pNode instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_23__[/* CellNode */ "a"] && pNode.drawCell.drawPageCells.length > 1) {
|
|
173088
173134
|
pNode.drawCell.needUpdate = true;
|
|
173089
173135
|
pNode.table.update();
|
|
173090
173136
|
}
|
|
@@ -180119,6 +180165,17 @@ module.exports = function (it) {
|
|
|
180119
180165
|
};
|
|
180120
180166
|
|
|
180121
180167
|
|
|
180168
|
+
/***/ }),
|
|
180169
|
+
|
|
180170
|
+
/***/ "f96b":
|
|
180171
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
180172
|
+
|
|
180173
|
+
"use strict";
|
|
180174
|
+
/* 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_PoperTipText_vue_vue_type_style_index_0_id_3fa4e4d3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("af07");
|
|
180175
|
+
/* 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_PoperTipText_vue_vue_type_style_index_0_id_3fa4e4d3_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_PoperTipText_vue_vue_type_style_index_0_id_3fa4e4d3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
180176
|
+
/* unused harmony reexport * */
|
|
180177
|
+
|
|
180178
|
+
|
|
180122
180179
|
/***/ }),
|
|
180123
180180
|
|
|
180124
180181
|
/***/ "f9e0":
|
|
@@ -180329,12 +180386,12 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
180329
180386
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
180330
180387
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
180331
180388
|
|
|
180332
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
180333
|
-
var
|
|
180389
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=303f61c7&
|
|
180390
|
+
var HoDocsvue_type_template_id_303f61c7_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,"isUseTipText":_vm.isUseTipText},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(!_vm.notUseModal)?_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._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e(),_c('ViewContinuousXml',{attrs:{"hoEditorFactoryId":_vm.activeDocId}})],1):_vm._e()}
|
|
180334
180391
|
var staticRenderFns = []
|
|
180335
180392
|
|
|
180336
180393
|
|
|
180337
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
180394
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=303f61c7&
|
|
180338
180395
|
|
|
180339
180396
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
180340
180397
|
var toConsumableArray = __webpack_require__("2909");
|
|
@@ -181248,12 +181305,12 @@ function isPromise(obj) {
|
|
|
181248
181305
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
181249
181306
|
}
|
|
181250
181307
|
|
|
181251
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
181252
|
-
var
|
|
181253
|
-
var
|
|
181308
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=f60e2e72&
|
|
181309
|
+
var HoDocvue_type_template_id_f60e2e72_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 [_c('HoPage',{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,"poperTipPos":_vm.poperTipPos},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)})]})],2):_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(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_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('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_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)}
|
|
181310
|
+
var HoDocvue_type_template_id_f60e2e72_staticRenderFns = []
|
|
181254
181311
|
|
|
181255
181312
|
|
|
181256
|
-
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=
|
|
181313
|
+
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=f60e2e72&
|
|
181257
181314
|
|
|
181258
181315
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
181259
181316
|
var es_array_includes = __webpack_require__("caad");
|
|
@@ -181267,12 +181324,12 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
181267
181324
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
181268
181325
|
var es_string_replace = __webpack_require__("5319");
|
|
181269
181326
|
|
|
181270
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
181271
|
-
var
|
|
181272
|
-
var
|
|
181327
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=32825c78&scoped=true&
|
|
181328
|
+
var HoPagevue_type_template_id_32825c78_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.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)}
|
|
181329
|
+
var HoPagevue_type_template_id_32825c78_scoped_true_staticRenderFns = []
|
|
181273
181330
|
|
|
181274
181331
|
|
|
181275
|
-
// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=template&id=
|
|
181332
|
+
// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=template&id=32825c78&scoped=true&
|
|
181276
181333
|
|
|
181277
181334
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
181278
181335
|
var es_string_split = __webpack_require__("1276");
|
|
@@ -181468,13 +181525,15 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
181468
181525
|
// } else {
|
|
181469
181526
|
|
|
181470
181527
|
|
|
181471
|
-
|
|
181528
|
+
if (hoEditorFactory.drawTree.paintStatus !== DrawTree["b" /* PaintState */].psPrint && hoEditorFactory.drawTree.paintStatus !== DrawTree["b" /* PaintState */].psPreview) {
|
|
181529
|
+
this._selectStage.addChild(dPage.headerLeftTag);
|
|
181472
181530
|
|
|
181473
|
-
|
|
181531
|
+
this._selectStage.addChild(dPage.headerRightTag);
|
|
181474
181532
|
|
|
181475
|
-
|
|
181533
|
+
this._selectStage.addChild(dPage.footerLeftTag);
|
|
181476
181534
|
|
|
181477
|
-
|
|
181535
|
+
this._selectStage.addChild(dPage.footerRightTag);
|
|
181536
|
+
} // }
|
|
181478
181537
|
|
|
181479
181538
|
|
|
181480
181539
|
this._selectStage.addEventListener("stagemousedown", function (aevent) {
|
|
@@ -182429,7 +182488,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
182429
182488
|
|
|
182430
182489
|
return DrawDomLevel;
|
|
182431
182490
|
}();
|
|
182432
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
182491
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
182433
182492
|
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)])}
|
|
182434
182493
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_staticRenderFns = []
|
|
182435
182494
|
|
|
@@ -182604,181 +182663,6 @@ var component = normalizeComponent(
|
|
|
182604
182663
|
)
|
|
182605
182664
|
|
|
182606
182665
|
/* harmony default export */ var components_HoHeadFoot = (component.exports);
|
|
182607
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0fdd1284-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&
|
|
182608
|
-
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)}
|
|
182609
|
-
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_staticRenderFns = []
|
|
182610
|
-
|
|
182611
|
-
|
|
182612
|
-
// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=06cc5327&scoped=true&
|
|
182613
|
-
|
|
182614
|
-
// CONCATENATED MODULE: ./src/components/mixins/appendToBody.ts
|
|
182615
|
-
|
|
182616
|
-
|
|
182617
|
-
|
|
182618
|
-
|
|
182619
|
-
|
|
182620
|
-
|
|
182621
|
-
/**
|
|
182622
|
-
* 节点添加到 body 上面
|
|
182623
|
-
*/
|
|
182624
|
-
|
|
182625
|
-
var appendToBody_AppendToBodyMixins = /*#__PURE__*/function (_Vue) {
|
|
182626
|
-
Object(inherits["a" /* default */])(AppendToBodyMixins, _Vue);
|
|
182627
|
-
|
|
182628
|
-
var _super = Object(createSuper["a" /* default */])(AppendToBodyMixins);
|
|
182629
|
-
|
|
182630
|
-
function AppendToBodyMixins() {
|
|
182631
|
-
Object(classCallCheck["a" /* default */])(this, AppendToBodyMixins);
|
|
182632
|
-
|
|
182633
|
-
return _super.apply(this, arguments);
|
|
182634
|
-
}
|
|
182635
|
-
|
|
182636
|
-
Object(createClass["a" /* default */])(AppendToBodyMixins, [{
|
|
182637
|
-
key: "mounted",
|
|
182638
|
-
value: function mounted() {
|
|
182639
|
-
var _this = this;
|
|
182640
|
-
|
|
182641
|
-
this.$nextTick(function () {
|
|
182642
|
-
var body = document.querySelector("body");
|
|
182643
|
-
|
|
182644
|
-
if (body.append) {
|
|
182645
|
-
body.append(_this.$el);
|
|
182646
|
-
} else {
|
|
182647
|
-
body.appendChild(_this.$el);
|
|
182648
|
-
}
|
|
182649
|
-
});
|
|
182650
|
-
}
|
|
182651
|
-
}]);
|
|
182652
|
-
|
|
182653
|
-
return AppendToBodyMixins;
|
|
182654
|
-
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
182655
|
-
|
|
182656
|
-
appendToBody_AppendToBodyMixins = __decorate([vue_class_component_esm], appendToBody_AppendToBodyMixins);
|
|
182657
|
-
|
|
182658
|
-
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
182659
|
-
var util = __webpack_require__("6ae4");
|
|
182660
|
-
|
|
182661
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=script&lang=ts&
|
|
182662
|
-
|
|
182663
|
-
|
|
182664
|
-
|
|
182665
|
-
|
|
182666
|
-
|
|
182667
|
-
|
|
182668
|
-
|
|
182669
|
-
|
|
182670
|
-
|
|
182671
|
-
var PoperTipTextvue_type_script_lang_ts_PoperTipText = /*#__PURE__*/function (_Mixins) {
|
|
182672
|
-
Object(inherits["a" /* default */])(PoperTipText, _Mixins);
|
|
182673
|
-
|
|
182674
|
-
var _super = Object(createSuper["a" /* default */])(PoperTipText);
|
|
182675
|
-
|
|
182676
|
-
function PoperTipText() {
|
|
182677
|
-
var _this;
|
|
182678
|
-
|
|
182679
|
-
Object(classCallCheck["a" /* default */])(this, PoperTipText);
|
|
182680
|
-
|
|
182681
|
-
_this = _super.apply(this, arguments);
|
|
182682
|
-
_this.posStyle = {
|
|
182683
|
-
left: "",
|
|
182684
|
-
right: "",
|
|
182685
|
-
top: "",
|
|
182686
|
-
bottom: ""
|
|
182687
|
-
};
|
|
182688
|
-
_this.poperDirection = "top";
|
|
182689
|
-
_this.computedPoperPosition = util["a" /* computedPoperPosition */];
|
|
182690
|
-
return _this;
|
|
182691
|
-
}
|
|
182692
|
-
|
|
182693
|
-
Object(createClass["a" /* default */])(PoperTipText, [{
|
|
182694
|
-
key: "positionChange",
|
|
182695
|
-
value: function positionChange(pos) {
|
|
182696
|
-
if (JSON.stringify(this.poperText) !== "[]") this.init();
|
|
182697
|
-
} // 初始化
|
|
182698
|
-
|
|
182699
|
-
}, {
|
|
182700
|
-
key: "created",
|
|
182701
|
-
value: function created() {
|
|
182702
|
-
if (JSON.stringify(this.poperText) !== "[]") this.init();
|
|
182703
|
-
}
|
|
182704
|
-
}, {
|
|
182705
|
-
key: "init",
|
|
182706
|
-
value: function init(pos) {
|
|
182707
|
-
var posStyle = this.computedPoperPosition(108, pos ? pos : this.poperPos, 10);
|
|
182708
|
-
this.posStyle = {
|
|
182709
|
-
left: posStyle.left,
|
|
182710
|
-
right: posStyle.right,
|
|
182711
|
-
top: posStyle.top,
|
|
182712
|
-
bottom: posStyle.bottom
|
|
182713
|
-
};
|
|
182714
|
-
|
|
182715
|
-
if (this.posStyle.top) {
|
|
182716
|
-
this.poperDirection = "top";
|
|
182717
|
-
} else {
|
|
182718
|
-
this.poperDirection = "bottom";
|
|
182719
|
-
}
|
|
182720
|
-
}
|
|
182721
|
-
}, {
|
|
182722
|
-
key: "mounted",
|
|
182723
|
-
value: function mounted() {
|
|
182724
|
-
window.addEventListener("scroll", this.handleClose, true);
|
|
182725
|
-
}
|
|
182726
|
-
}, {
|
|
182727
|
-
key: "handleClose",
|
|
182728
|
-
value: function handleClose() {
|
|
182729
|
-
this.$emit("poperTextClose");
|
|
182730
|
-
}
|
|
182731
|
-
}, {
|
|
182732
|
-
key: "beforeDestroy",
|
|
182733
|
-
value: function beforeDestroy() {
|
|
182734
|
-
document.removeEventListener("scroll", this.handleClose, true);
|
|
182735
|
-
}
|
|
182736
|
-
}]);
|
|
182737
|
-
|
|
182738
|
-
return PoperTipText;
|
|
182739
|
-
}(mixins(appendToBody_AppendToBodyMixins));
|
|
182740
|
-
|
|
182741
|
-
__decorate([Prop()], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "poperPos", void 0);
|
|
182742
|
-
|
|
182743
|
-
__decorate([Prop()], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "poperText", void 0);
|
|
182744
|
-
|
|
182745
|
-
__decorate([Watch("poperPos", {
|
|
182746
|
-
deep: true
|
|
182747
|
-
})], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "positionChange", null);
|
|
182748
|
-
|
|
182749
|
-
PoperTipTextvue_type_script_lang_ts_PoperTipText = __decorate([vue_class_component_esm({
|
|
182750
|
-
name: "PoperTipText"
|
|
182751
|
-
})], PoperTipTextvue_type_script_lang_ts_PoperTipText);
|
|
182752
|
-
/* harmony default export */ var PoperTipTextvue_type_script_lang_ts_ = (PoperTipTextvue_type_script_lang_ts_PoperTipText);
|
|
182753
|
-
// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=script&lang=ts&
|
|
182754
|
-
/* harmony default export */ var poperTipText_PoperTipTextvue_type_script_lang_ts_ = (PoperTipTextvue_type_script_lang_ts_);
|
|
182755
|
-
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=style&index=0&id=06cc5327&lang=scss&scoped=true&
|
|
182756
|
-
var PoperTipTextvue_type_style_index_0_id_06cc5327_lang_scss_scoped_true_ = __webpack_require__("8870");
|
|
182757
|
-
|
|
182758
|
-
// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue
|
|
182759
|
-
|
|
182760
|
-
|
|
182761
|
-
|
|
182762
|
-
|
|
182763
|
-
|
|
182764
|
-
|
|
182765
|
-
/* normalize component */
|
|
182766
|
-
|
|
182767
|
-
var PoperTipText_component = normalizeComponent(
|
|
182768
|
-
poperTipText_PoperTipTextvue_type_script_lang_ts_,
|
|
182769
|
-
PoperTipTextvue_type_template_id_06cc5327_scoped_true_render,
|
|
182770
|
-
PoperTipTextvue_type_template_id_06cc5327_scoped_true_staticRenderFns,
|
|
182771
|
-
false,
|
|
182772
|
-
null,
|
|
182773
|
-
"06cc5327",
|
|
182774
|
-
null
|
|
182775
|
-
|
|
182776
|
-
)
|
|
182777
|
-
|
|
182778
|
-
/* harmony default export */ var poperTipText_PoperTipText = (PoperTipText_component.exports);
|
|
182779
|
-
// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
182780
|
-
|
|
182781
|
-
/* harmony default export */ var poperTipText = (poperTipText_PoperTipText);
|
|
182782
182666
|
// 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/HoPage.vue?vue&type=script&lang=ts&
|
|
182783
182667
|
|
|
182784
182668
|
|
|
@@ -182793,8 +182677,6 @@ var PoperTipText_component = normalizeComponent(
|
|
|
182793
182677
|
|
|
182794
182678
|
|
|
182795
182679
|
|
|
182796
|
-
|
|
182797
|
-
|
|
182798
182680
|
var HoPagevue_type_script_lang_ts_HoPage = /*#__PURE__*/function (_Vue) {
|
|
182799
182681
|
Object(inherits["a" /* default */])(HoPage, _Vue);
|
|
182800
182682
|
|
|
@@ -182806,16 +182688,6 @@ var HoPagevue_type_script_lang_ts_HoPage = /*#__PURE__*/function (_Vue) {
|
|
|
182806
182688
|
Object(classCallCheck["a" /* default */])(this, HoPage);
|
|
182807
182689
|
|
|
182808
182690
|
_this = _super.apply(this, arguments);
|
|
182809
|
-
_this.poperPos = {
|
|
182810
|
-
x: 0,
|
|
182811
|
-
y: 0,
|
|
182812
|
-
height: 0,
|
|
182813
|
-
pageIndex: 0,
|
|
182814
|
-
docIndex: 0
|
|
182815
|
-
};
|
|
182816
|
-
_this.poperText = [];
|
|
182817
|
-
_this.isPoperText = false;
|
|
182818
|
-
_this.poperId = [];
|
|
182819
182691
|
_this.isHeadFoot = ""; // 页眉页脚是否应该出现
|
|
182820
182692
|
|
|
182821
182693
|
return _this;
|
|
@@ -182845,10 +182717,10 @@ var HoPagevue_type_script_lang_ts_HoPage = /*#__PURE__*/function (_Vue) {
|
|
|
182845
182717
|
key: "inViewPagesChange",
|
|
182846
182718
|
value: function inViewPagesChange(value) {
|
|
182847
182719
|
if (value.indexOf(this.index) === -1) {
|
|
182848
|
-
this.selectcanvas.removeEventListener("mousemove", this.requestAnimationFrameMouseMove, true);
|
|
182720
|
+
// this.selectcanvas.removeEventListener("mousemove", this.requestAnimationFrameMouseMove, true);
|
|
182849
182721
|
this.selectcanvas.removeEventListener("dblclick", this.addEventerDblClick, true);
|
|
182850
182722
|
} else {
|
|
182851
|
-
this.selectcanvas.addEventListener("mousemove", this.requestAnimationFrameMouseMove, true);
|
|
182723
|
+
// this.selectcanvas.addEventListener("mousemove", this.requestAnimationFrameMouseMove, true);
|
|
182852
182724
|
this.selectcanvas.addEventListener("dblclick", this.addEventerDblClick, true);
|
|
182853
182725
|
}
|
|
182854
182726
|
}
|
|
@@ -182869,20 +182741,6 @@ var HoPagevue_type_script_lang_ts_HoPage = /*#__PURE__*/function (_Vue) {
|
|
|
182869
182741
|
return (_this2$viewableAreaOb = _this2.viewableAreaObserver) === null || _this2$viewableAreaOb === void 0 ? void 0 : _this2$viewableAreaOb.observe(_this2.hoPage);
|
|
182870
182742
|
});
|
|
182871
182743
|
}
|
|
182872
|
-
}, {
|
|
182873
|
-
key: "poperTextClose",
|
|
182874
|
-
value: function poperTextClose() {
|
|
182875
|
-
this.poperText = [];
|
|
182876
|
-
this.isPoperText = false;
|
|
182877
|
-
this.poperId = [];
|
|
182878
|
-
this.poperPos = {
|
|
182879
|
-
x: 0,
|
|
182880
|
-
y: 0,
|
|
182881
|
-
height: 0,
|
|
182882
|
-
pageIndex: 0,
|
|
182883
|
-
docIndex: 0
|
|
182884
|
-
};
|
|
182885
|
-
}
|
|
182886
182744
|
/**
|
|
182887
182745
|
* 双击 页眉 页脚 正文事件监听
|
|
182888
182746
|
*/
|
|
@@ -182897,32 +182755,30 @@ var HoPagevue_type_script_lang_ts_HoPage = /*#__PURE__*/function (_Vue) {
|
|
|
182897
182755
|
this.isHeadFoot = dblType; // } else {
|
|
182898
182756
|
// this.isHeadFoot = dblType;
|
|
182899
182757
|
// }
|
|
182900
|
-
}
|
|
182901
|
-
|
|
182902
|
-
|
|
182903
|
-
|
|
182904
|
-
|
|
182905
|
-
|
|
182758
|
+
} // public requestAnimationFrameMouseMove(e: MouseEvent) {
|
|
182759
|
+
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this.hoEditorId);
|
|
182760
|
+
// if (hoEditorFactory.drawTree.paintStatus === 5) return;
|
|
182761
|
+
// // this.poperTextClose();
|
|
182762
|
+
// if (this.mouseMoveNodes.moveType === 1) return;
|
|
182763
|
+
// if (JSON.stringify(this.mouseMoveNodes.tipText) === '[""]') return;
|
|
182764
|
+
// if (this.mouseMoveNodes.tipText.length === 0) return;
|
|
182765
|
+
// window.requestAnimationFrame(this.mousemove);
|
|
182766
|
+
// }
|
|
182906
182767
|
|
|
182907
|
-
if (this.mouseMoveNodes.moveType === 1) return;
|
|
182908
|
-
if (JSON.stringify(this.mouseMoveNodes.tipText) === '[""]') return;
|
|
182909
|
-
if (this.mouseMoveNodes.tipText.length === 0) return;
|
|
182910
|
-
window.requestAnimationFrame(this.mousemove);
|
|
182911
|
-
}
|
|
182912
182768
|
/**
|
|
182913
182769
|
* mousemove 滑过提示
|
|
182914
182770
|
*/
|
|
182771
|
+
// public mousemove() {
|
|
182772
|
+
// this.poperTipPos = {
|
|
182773
|
+
// ...this.mouseMoveNodes.position,
|
|
182774
|
+
// docIndex: this.docIndex,
|
|
182775
|
+
// };
|
|
182776
|
+
// this.isPoperText = true;
|
|
182777
|
+
// this.poperText = this.mouseMoveNodes.tipText;
|
|
182778
|
+
// this.poperId = this.mouseMoveNodes.id;
|
|
182779
|
+
// console.log(this.poperText)
|
|
182780
|
+
// }
|
|
182915
182781
|
|
|
182916
|
-
}, {
|
|
182917
|
-
key: "mousemove",
|
|
182918
|
-
value: function mousemove() {
|
|
182919
|
-
this.poperPos = _objectSpread2(_objectSpread2({}, this.mouseMoveNodes.position), {}, {
|
|
182920
|
-
docIndex: this.docIndex
|
|
182921
|
-
});
|
|
182922
|
-
this.isPoperText = true;
|
|
182923
|
-
this.poperText = this.mouseMoveNodes.tipText;
|
|
182924
|
-
this.poperId = this.mouseMoveNodes.id;
|
|
182925
|
-
}
|
|
182926
182782
|
/**
|
|
182927
182783
|
* canvasRightClick
|
|
182928
182784
|
*/
|
|
@@ -182966,6 +182822,8 @@ __decorate([Prop()], HoPagevue_type_script_lang_ts_HoPage.prototype, "inViewPage
|
|
|
182966
182822
|
|
|
182967
182823
|
__decorate([Prop()], HoPagevue_type_script_lang_ts_HoPage.prototype, "canvasHeadFootPos", void 0);
|
|
182968
182824
|
|
|
182825
|
+
__decorate([Prop()], HoPagevue_type_script_lang_ts_HoPage.prototype, "poperTipPos", void 0);
|
|
182826
|
+
|
|
182969
182827
|
__decorate([Ref()], HoPagevue_type_script_lang_ts_HoPage.prototype, "hoPage", void 0);
|
|
182970
182828
|
|
|
182971
182829
|
__decorate([Ref()], HoPagevue_type_script_lang_ts_HoPage.prototype, "domcanvas", void 0);
|
|
@@ -182977,15 +182835,14 @@ __decorate([Watch("inViewPages")], HoPagevue_type_script_lang_ts_HoPage.prototyp
|
|
|
182977
182835
|
HoPagevue_type_script_lang_ts_HoPage = __decorate([vue_class_component_esm({
|
|
182978
182836
|
name: "HoPage",
|
|
182979
182837
|
components: {
|
|
182980
|
-
HoHeadFoot: components_HoHeadFoot
|
|
182981
|
-
PoperTipText: poperTipText
|
|
182838
|
+
HoHeadFoot: components_HoHeadFoot
|
|
182982
182839
|
}
|
|
182983
182840
|
})], HoPagevue_type_script_lang_ts_HoPage);
|
|
182984
182841
|
/* harmony default export */ var HoPagevue_type_script_lang_ts_ = (HoPagevue_type_script_lang_ts_HoPage);
|
|
182985
182842
|
// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=script&lang=ts&
|
|
182986
182843
|
/* harmony default export */ var components_HoPagevue_type_script_lang_ts_ = (HoPagevue_type_script_lang_ts_);
|
|
182987
|
-
// EXTERNAL MODULE: ./src/components/HoPage.vue?vue&type=style&index=0&id=
|
|
182988
|
-
var
|
|
182844
|
+
// EXTERNAL MODULE: ./src/components/HoPage.vue?vue&type=style&index=0&id=32825c78&scoped=true&lang=css&
|
|
182845
|
+
var HoPagevue_type_style_index_0_id_32825c78_scoped_true_lang_css_ = __webpack_require__("01ea");
|
|
182989
182846
|
|
|
182990
182847
|
// CONCATENATED MODULE: ./src/components/HoPage.vue
|
|
182991
182848
|
|
|
@@ -182998,17 +182855,17 @@ var HoPagevue_type_style_index_0_id_95ce8226_scoped_true_lang_css_ = __webpack_r
|
|
|
182998
182855
|
|
|
182999
182856
|
var HoPage_component = normalizeComponent(
|
|
183000
182857
|
components_HoPagevue_type_script_lang_ts_,
|
|
183001
|
-
|
|
183002
|
-
|
|
182858
|
+
HoPagevue_type_template_id_32825c78_scoped_true_render,
|
|
182859
|
+
HoPagevue_type_template_id_32825c78_scoped_true_staticRenderFns,
|
|
183003
182860
|
false,
|
|
183004
182861
|
null,
|
|
183005
|
-
"
|
|
182862
|
+
"32825c78",
|
|
183006
182863
|
null
|
|
183007
182864
|
|
|
183008
182865
|
)
|
|
183009
182866
|
|
|
183010
182867
|
/* harmony default export */ var components_HoPage = (HoPage_component.exports);
|
|
183011
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
182868
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
183012
182869
|
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:({
|
|
183013
182870
|
right: _vm.styleRight,
|
|
183014
182871
|
bottom: _vm.styleBottom,
|
|
@@ -183179,14 +183036,17 @@ var HoToPage_component = normalizeComponent(
|
|
|
183179
183036
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
183180
183037
|
|
|
183181
183038
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
183182
|
-
//
|
|
183183
|
-
var
|
|
183039
|
+
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
183040
|
+
var util = __webpack_require__("6ae4");
|
|
183041
|
+
|
|
183042
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=79fdead8&scoped=true&
|
|
183043
|
+
var PoperSelectvue_type_template_id_79fdead8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{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 && !_vm.mutexSelect)?_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"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
183184
183044
|
var item = ref.item;
|
|
183185
|
-
return [_c('el-checkbox',{key:item.id,attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]}}],null,false,
|
|
183186
|
-
var
|
|
183045
|
+
return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id,attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,1647146796)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id,attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id,attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_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.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_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 === '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()])}
|
|
183046
|
+
var PoperSelectvue_type_template_id_79fdead8_scoped_true_staticRenderFns = []
|
|
183187
183047
|
|
|
183188
183048
|
|
|
183189
|
-
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
183049
|
+
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=79fdead8&scoped=true&
|
|
183190
183050
|
|
|
183191
183051
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
183192
183052
|
var es_object_assign = __webpack_require__("cca6");
|
|
@@ -183200,6 +183060,50 @@ var DateTimeNode = __webpack_require__("9685");
|
|
|
183200
183060
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/DownListNode.ts
|
|
183201
183061
|
var DownListNode = __webpack_require__("f7fa");
|
|
183202
183062
|
|
|
183063
|
+
// CONCATENATED MODULE: ./src/components/mixins/appendToBody.ts
|
|
183064
|
+
|
|
183065
|
+
|
|
183066
|
+
|
|
183067
|
+
|
|
183068
|
+
|
|
183069
|
+
|
|
183070
|
+
/**
|
|
183071
|
+
* 节点添加到 body 上面
|
|
183072
|
+
*/
|
|
183073
|
+
|
|
183074
|
+
var appendToBody_AppendToBodyMixins = /*#__PURE__*/function (_Vue) {
|
|
183075
|
+
Object(inherits["a" /* default */])(AppendToBodyMixins, _Vue);
|
|
183076
|
+
|
|
183077
|
+
var _super = Object(createSuper["a" /* default */])(AppendToBodyMixins);
|
|
183078
|
+
|
|
183079
|
+
function AppendToBodyMixins() {
|
|
183080
|
+
Object(classCallCheck["a" /* default */])(this, AppendToBodyMixins);
|
|
183081
|
+
|
|
183082
|
+
return _super.apply(this, arguments);
|
|
183083
|
+
}
|
|
183084
|
+
|
|
183085
|
+
Object(createClass["a" /* default */])(AppendToBodyMixins, [{
|
|
183086
|
+
key: "mounted",
|
|
183087
|
+
value: function mounted() {
|
|
183088
|
+
var _this = this;
|
|
183089
|
+
|
|
183090
|
+
this.$nextTick(function () {
|
|
183091
|
+
var body = document.querySelector("body");
|
|
183092
|
+
|
|
183093
|
+
if (body.append) {
|
|
183094
|
+
body.append(_this.$el);
|
|
183095
|
+
} else {
|
|
183096
|
+
body.appendChild(_this.$el);
|
|
183097
|
+
}
|
|
183098
|
+
});
|
|
183099
|
+
}
|
|
183100
|
+
}]);
|
|
183101
|
+
|
|
183102
|
+
return AppendToBodyMixins;
|
|
183103
|
+
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
183104
|
+
|
|
183105
|
+
appendToBody_AppendToBodyMixins = __decorate([vue_class_component_esm], appendToBody_AppendToBodyMixins);
|
|
183106
|
+
|
|
183203
183107
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
183204
183108
|
var TextInputFieldNode = __webpack_require__("4b89");
|
|
183205
183109
|
|
|
@@ -183263,12 +183167,12 @@ var textParams = {
|
|
|
183263
183167
|
readType: false,
|
|
183264
183168
|
keyValue: ''
|
|
183265
183169
|
};
|
|
183266
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
183267
|
-
var
|
|
183268
|
-
var
|
|
183170
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=7e43cc0e&
|
|
183171
|
+
var DatePanelvue_type_template_id_7e43cc0e_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:{"dblclick":function($event){return _vm.getDate(cell, $event, 'dblclick')},"click":function($event){return _vm.getDate(cell, $event)}}},[_vm._v(_vm._s(cell.text))])])}),0)})],2)])])}
|
|
183172
|
+
var DatePanelvue_type_template_id_7e43cc0e_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("六")])])}]
|
|
183269
183173
|
|
|
183270
183174
|
|
|
183271
|
-
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DatePanel.vue?vue&type=template&id=
|
|
183175
|
+
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DatePanel.vue?vue&type=template&id=7e43cc0e&
|
|
183272
183176
|
|
|
183273
183177
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./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=script&lang=js&
|
|
183274
183178
|
|
|
@@ -183571,11 +183475,21 @@ var DatePanelvue_type_template_id_104516fd_staticRenderFns = [function () {var _
|
|
|
183571
183475
|
this.year += 1;
|
|
183572
183476
|
}
|
|
183573
183477
|
},
|
|
183574
|
-
getDate: function getDate(cell) {
|
|
183575
|
-
if (this.type === "date") {
|
|
183478
|
+
getDate: function getDate(cell, event, type) {
|
|
183479
|
+
if (this.type === "date" && !type) {
|
|
183480
|
+
this.date = cell.date;
|
|
183481
|
+
this.dateText = cell.text;
|
|
183482
|
+
this.$emit("getValue", {
|
|
183483
|
+
value: cell.date,
|
|
183484
|
+
type: type
|
|
183485
|
+
});
|
|
183486
|
+
} else {
|
|
183576
183487
|
this.date = cell.date;
|
|
183577
183488
|
this.dateText = cell.text;
|
|
183578
|
-
this.$emit("getValue",
|
|
183489
|
+
this.$emit("getValue", {
|
|
183490
|
+
value: cell.date,
|
|
183491
|
+
type: type
|
|
183492
|
+
});
|
|
183579
183493
|
}
|
|
183580
183494
|
},
|
|
183581
183495
|
getWeek: function getWeek(week) {
|
|
@@ -183633,8 +183547,8 @@ var DatePanelvue_type_style_index_0_lang_scss_ = __webpack_require__("a3ea");
|
|
|
183633
183547
|
|
|
183634
183548
|
var DatePanel_component = normalizeComponent(
|
|
183635
183549
|
dateDialog_DatePanelvue_type_script_lang_js_,
|
|
183636
|
-
|
|
183637
|
-
|
|
183550
|
+
DatePanelvue_type_template_id_7e43cc0e_render,
|
|
183551
|
+
DatePanelvue_type_template_id_7e43cc0e_staticRenderFns,
|
|
183638
183552
|
false,
|
|
183639
183553
|
null,
|
|
183640
183554
|
null,
|
|
@@ -183955,7 +183869,11 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
183955
183869
|
}, {
|
|
183956
183870
|
key: "getTime",
|
|
183957
183871
|
value: function getTime(val) {
|
|
183958
|
-
this.date = val;
|
|
183872
|
+
this.date = val.value;
|
|
183873
|
+
|
|
183874
|
+
if (val.type == 'dblclick') {
|
|
183875
|
+
this.sureDate();
|
|
183876
|
+
}
|
|
183959
183877
|
}
|
|
183960
183878
|
}, {
|
|
183961
183879
|
key: "currentDateTime",
|
|
@@ -184301,6 +184219,9 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
184301
184219
|
value: function dragover(e) {
|
|
184302
184220
|
e.preventDefault();
|
|
184303
184221
|
}
|
|
184222
|
+
}, {
|
|
184223
|
+
key: "listenScroller",
|
|
184224
|
+
value: function listenScroller(e) {}
|
|
184304
184225
|
}, {
|
|
184305
184226
|
key: "handleClose",
|
|
184306
184227
|
value: function handleClose() {
|
|
@@ -184349,8 +184270,8 @@ PoperSelectvue_type_script_lang_ts_PoperSelectModal = __decorate([vue_class_comp
|
|
|
184349
184270
|
/* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_PoperSelectModal);
|
|
184350
184271
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
|
|
184351
184272
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
|
|
184352
|
-
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
184353
|
-
var
|
|
184273
|
+
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=79fdead8&lang=scss&scoped=true&
|
|
184274
|
+
var PoperSelectvue_type_style_index_0_id_79fdead8_lang_scss_scoped_true_ = __webpack_require__("9e74");
|
|
184354
184275
|
|
|
184355
184276
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
|
|
184356
184277
|
|
|
@@ -184363,25 +184284,84 @@ var PoperSelectvue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true_ = __web
|
|
|
184363
184284
|
|
|
184364
184285
|
var PoperSelect_component = normalizeComponent(
|
|
184365
184286
|
poperSelect_PoperSelectvue_type_script_lang_ts_,
|
|
184366
|
-
|
|
184367
|
-
|
|
184287
|
+
PoperSelectvue_type_template_id_79fdead8_scoped_true_render,
|
|
184288
|
+
PoperSelectvue_type_template_id_79fdead8_scoped_true_staticRenderFns,
|
|
184368
184289
|
false,
|
|
184369
184290
|
null,
|
|
184370
|
-
"
|
|
184291
|
+
"79fdead8",
|
|
184371
184292
|
null
|
|
184372
184293
|
|
|
184373
184294
|
)
|
|
184374
184295
|
|
|
184375
184296
|
/* harmony default export */ var PoperSelect = (PoperSelect_component.exports);
|
|
184297
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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/PoperMark.vue?vue&type=template&id=12c8c810&
|
|
184298
|
+
var PoperMarkvue_type_template_id_12c8c810_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"poper-mark"})}
|
|
184299
|
+
var PoperMarkvue_type_template_id_12c8c810_staticRenderFns = []
|
|
184300
|
+
|
|
184301
|
+
|
|
184302
|
+
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperMark.vue?vue&type=template&id=12c8c810&
|
|
184303
|
+
|
|
184304
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperMark.vue?vue&type=script&lang=ts&
|
|
184305
|
+
|
|
184306
|
+
|
|
184307
|
+
|
|
184308
|
+
|
|
184309
|
+
|
|
184310
|
+
|
|
184311
|
+
var PoperMarkvue_type_script_lang_ts_PoperMark = /*#__PURE__*/function (_Vue) {
|
|
184312
|
+
Object(inherits["a" /* default */])(PoperMark, _Vue);
|
|
184313
|
+
|
|
184314
|
+
var _super = Object(createSuper["a" /* default */])(PoperMark);
|
|
184315
|
+
|
|
184316
|
+
function PoperMark() {
|
|
184317
|
+
Object(classCallCheck["a" /* default */])(this, PoperMark);
|
|
184318
|
+
|
|
184319
|
+
return _super.apply(this, arguments);
|
|
184320
|
+
}
|
|
184321
|
+
|
|
184322
|
+
return PoperMark;
|
|
184323
|
+
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
184324
|
+
|
|
184325
|
+
PoperMarkvue_type_script_lang_ts_PoperMark = __decorate([vue_class_component_esm({
|
|
184326
|
+
name: "PoperMark"
|
|
184327
|
+
})], PoperMarkvue_type_script_lang_ts_PoperMark);
|
|
184328
|
+
/* harmony default export */ var PoperMarkvue_type_script_lang_ts_ = (PoperMarkvue_type_script_lang_ts_PoperMark);
|
|
184329
|
+
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperMark.vue?vue&type=script&lang=ts&
|
|
184330
|
+
/* harmony default export */ var poperSelect_PoperMarkvue_type_script_lang_ts_ = (PoperMarkvue_type_script_lang_ts_);
|
|
184331
|
+
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue?vue&type=style&index=0&lang=scss&
|
|
184332
|
+
var PoperMarkvue_type_style_index_0_lang_scss_ = __webpack_require__("2ed0");
|
|
184333
|
+
|
|
184334
|
+
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperMark.vue
|
|
184335
|
+
|
|
184336
|
+
|
|
184337
|
+
|
|
184338
|
+
|
|
184339
|
+
|
|
184340
|
+
|
|
184341
|
+
/* normalize component */
|
|
184342
|
+
|
|
184343
|
+
var PoperMark_component = normalizeComponent(
|
|
184344
|
+
poperSelect_PoperMarkvue_type_script_lang_ts_,
|
|
184345
|
+
PoperMarkvue_type_template_id_12c8c810_render,
|
|
184346
|
+
PoperMarkvue_type_template_id_12c8c810_staticRenderFns,
|
|
184347
|
+
false,
|
|
184348
|
+
null,
|
|
184349
|
+
null,
|
|
184350
|
+
null
|
|
184351
|
+
|
|
184352
|
+
)
|
|
184353
|
+
|
|
184354
|
+
/* harmony default export */ var poperSelect_PoperMark = (PoperMark_component.exports);
|
|
184376
184355
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
184377
184356
|
|
|
184378
|
-
/* harmony default export */ var poperSelect = (PoperSelect);
|
|
184379
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0fdd1284-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&
|
|
184380
|
-
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)}
|
|
184381
|
-
var TableCellPopervue_type_template_id_51088f79_scoped_true_staticRenderFns = []
|
|
184382
184357
|
|
|
184383
184358
|
|
|
184384
|
-
// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=
|
|
184359
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=43382d6b&scoped=true&
|
|
184360
|
+
var TableCellPopervue_type_template_id_43382d6b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{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)}
|
|
184361
|
+
var TableCellPopervue_type_template_id_43382d6b_scoped_true_staticRenderFns = []
|
|
184362
|
+
|
|
184363
|
+
|
|
184364
|
+
// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=43382d6b&scoped=true&
|
|
184385
184365
|
|
|
184386
184366
|
// CONCATENATED MODULE: ./src/components/controls/table/getCellNode.ts
|
|
184387
184367
|
|
|
@@ -184678,7 +184658,11 @@ var TableCellPopervue_type_script_lang_ts_TableCellPoper = /*#__PURE__*/function
|
|
|
184678
184658
|
}, {
|
|
184679
184659
|
key: "getTime",
|
|
184680
184660
|
value: function getTime(val) {
|
|
184681
|
-
this.date = val;
|
|
184661
|
+
this.date = val.value;
|
|
184662
|
+
|
|
184663
|
+
if (val.type == 'dblclick') {
|
|
184664
|
+
this.sureDate();
|
|
184665
|
+
}
|
|
184682
184666
|
}
|
|
184683
184667
|
}, {
|
|
184684
184668
|
key: "currentDateTime",
|
|
@@ -184841,8 +184825,8 @@ TableCellPopervue_type_script_lang_ts_TableCellPoper = __decorate([vue_class_com
|
|
|
184841
184825
|
/* harmony default export */ var TableCellPopervue_type_script_lang_ts_ = (TableCellPopervue_type_script_lang_ts_TableCellPoper);
|
|
184842
184826
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=script&lang=ts&
|
|
184843
184827
|
/* harmony default export */ var table_TableCellPopervue_type_script_lang_ts_ = (TableCellPopervue_type_script_lang_ts_);
|
|
184844
|
-
// EXTERNAL MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=
|
|
184845
|
-
var
|
|
184828
|
+
// EXTERNAL MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=43382d6b&lang=scss&scoped=true&
|
|
184829
|
+
var TableCellPopervue_type_style_index_0_id_43382d6b_lang_scss_scoped_true_ = __webpack_require__("87d2");
|
|
184846
184830
|
|
|
184847
184831
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue
|
|
184848
184832
|
|
|
@@ -184855,11 +184839,11 @@ var TableCellPopervue_type_style_index_0_id_51088f79_lang_scss_scoped_true_ = __
|
|
|
184855
184839
|
|
|
184856
184840
|
var TableCellPoper_component = normalizeComponent(
|
|
184857
184841
|
table_TableCellPopervue_type_script_lang_ts_,
|
|
184858
|
-
|
|
184859
|
-
|
|
184842
|
+
TableCellPopervue_type_template_id_43382d6b_scoped_true_render,
|
|
184843
|
+
TableCellPopervue_type_template_id_43382d6b_scoped_true_staticRenderFns,
|
|
184860
184844
|
false,
|
|
184861
184845
|
null,
|
|
184862
|
-
"
|
|
184846
|
+
"43382d6b",
|
|
184863
184847
|
null
|
|
184864
184848
|
|
|
184865
184849
|
)
|
|
@@ -186257,7 +186241,211 @@ var SignNode = __webpack_require__("2bc5");
|
|
|
186257
186241
|
var ParagraphNode = __webpack_require__("1551");
|
|
186258
186242
|
|
|
186259
186243
|
// CONCATENATED MODULE: ./src/components/version.ts
|
|
186260
|
-
/* harmony default export */ var version = ('2.0.
|
|
186244
|
+
/* harmony default export */ var version = ('2.0.8');
|
|
186245
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=3fa4e4d3&scoped=true&
|
|
186246
|
+
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
|
|
186247
|
+
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
186248
|
+
|
|
186249
|
+
|
|
186250
|
+
// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
|
|
186251
|
+
|
|
186252
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
186253
|
+
var es_array_from = __webpack_require__("a630");
|
|
186254
|
+
|
|
186255
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=script&lang=ts&
|
|
186256
|
+
|
|
186257
|
+
|
|
186258
|
+
|
|
186259
|
+
|
|
186260
|
+
|
|
186261
|
+
|
|
186262
|
+
|
|
186263
|
+
|
|
186264
|
+
|
|
186265
|
+
|
|
186266
|
+
|
|
186267
|
+
var PoperTipTextvue_type_script_lang_ts_PoperTipText = /*#__PURE__*/function (_Mixins) {
|
|
186268
|
+
Object(inherits["a" /* default */])(PoperTipText, _Mixins);
|
|
186269
|
+
|
|
186270
|
+
var _super = Object(createSuper["a" /* default */])(PoperTipText);
|
|
186271
|
+
|
|
186272
|
+
function PoperTipText() {
|
|
186273
|
+
var _this;
|
|
186274
|
+
|
|
186275
|
+
Object(classCallCheck["a" /* default */])(this, PoperTipText);
|
|
186276
|
+
|
|
186277
|
+
_this = _super.apply(this, arguments);
|
|
186278
|
+
_this.posStyle = {
|
|
186279
|
+
left: "",
|
|
186280
|
+
right: "",
|
|
186281
|
+
top: "",
|
|
186282
|
+
bottom: ""
|
|
186283
|
+
};
|
|
186284
|
+
_this.poperDirection = "top";
|
|
186285
|
+
_this.isShow = false;
|
|
186286
|
+
_this.isEnter = false;
|
|
186287
|
+
_this.poperTimer = null;
|
|
186288
|
+
_this.poppernIstance = null;
|
|
186289
|
+
|
|
186290
|
+
_this.generateGetBoundingClientRect = function (poperPos, offsetHeight) {
|
|
186291
|
+
var doc = Array.from(document.querySelectorAll(".edit-area"))[poperPos.docIndex];
|
|
186292
|
+
var selectCanvas = Array.from(doc.querySelectorAll(".selectcanvas"))[poperPos.pageIndex];
|
|
186293
|
+
var selectCanvasSize = selectCanvas.getBoundingClientRect();
|
|
186294
|
+
var x = selectCanvasSize.left + poperPos.x;
|
|
186295
|
+
var y = selectCanvasSize.top + poperPos.y;
|
|
186296
|
+
return function () {
|
|
186297
|
+
return {
|
|
186298
|
+
width: poperPos.width,
|
|
186299
|
+
height: poperPos.height,
|
|
186300
|
+
top: y - poperPos.height,
|
|
186301
|
+
right: x,
|
|
186302
|
+
bottom: y + poperPos.height,
|
|
186303
|
+
left: x
|
|
186304
|
+
};
|
|
186305
|
+
};
|
|
186306
|
+
};
|
|
186307
|
+
|
|
186308
|
+
return _this;
|
|
186309
|
+
}
|
|
186310
|
+
|
|
186311
|
+
Object(createClass["a" /* default */])(PoperTipText, [{
|
|
186312
|
+
key: "isPoperTextChange",
|
|
186313
|
+
value: function isPoperTextChange() {
|
|
186314
|
+
var _this2 = this;
|
|
186315
|
+
|
|
186316
|
+
if (this.poperTimer != null) clearTimeout(this.poperTimer);
|
|
186317
|
+
|
|
186318
|
+
if (this.isPoperText) {
|
|
186319
|
+
this.poperTimer = setTimeout(function () {
|
|
186320
|
+
_this2.isShow = _this2.isPoperText;
|
|
186321
|
+
}, 600);
|
|
186322
|
+
} else {
|
|
186323
|
+
if (!this.isEnter) {
|
|
186324
|
+
this.poperTimer = setTimeout(function () {
|
|
186325
|
+
_this2.isShow = _this2.isPoperText;
|
|
186326
|
+
}, 300);
|
|
186327
|
+
}
|
|
186328
|
+
}
|
|
186329
|
+
}
|
|
186330
|
+
}, {
|
|
186331
|
+
key: "positionChange",
|
|
186332
|
+
value: function positionChange(pos) {
|
|
186333
|
+
if (JSON.stringify(this.poperText) !== "[]") {
|
|
186334
|
+
this.init();
|
|
186335
|
+
}
|
|
186336
|
+
}
|
|
186337
|
+
}, {
|
|
186338
|
+
key: "init",
|
|
186339
|
+
value: function init() {
|
|
186340
|
+
if (this.poperPos.docIndex != undefined) {
|
|
186341
|
+
// if (this.poppernIstance) {
|
|
186342
|
+
// this.poppernIstance.update();
|
|
186343
|
+
// } else {
|
|
186344
|
+
var virtualElement = {
|
|
186345
|
+
getBoundingClientRect: this.generateGetBoundingClientRect(this.poperPos)
|
|
186346
|
+
};
|
|
186347
|
+
this.poppernIstance = Object(popper["a" /* createPopper */])(virtualElement, this.poperTextNode, {
|
|
186348
|
+
placement: "bottom-start",
|
|
186349
|
+
modifiers: [{
|
|
186350
|
+
name: "flip",
|
|
186351
|
+
options: {
|
|
186352
|
+
fallbackPlacements: ["bottom-start", "top-start", "right-start", "left-start"],
|
|
186353
|
+
padding: 10
|
|
186354
|
+
}
|
|
186355
|
+
}]
|
|
186356
|
+
}); // }
|
|
186357
|
+
}
|
|
186358
|
+
}
|
|
186359
|
+
}, {
|
|
186360
|
+
key: "mounted",
|
|
186361
|
+
value: function mounted() {
|
|
186362
|
+
window.addEventListener("scroll", this.handleClose, true);
|
|
186363
|
+
|
|
186364
|
+
if (JSON.stringify(this.poperText) !== "[]" && this.poppernIstance == null) {
|
|
186365
|
+
this.init();
|
|
186366
|
+
}
|
|
186367
|
+
}
|
|
186368
|
+
}, {
|
|
186369
|
+
key: "mouseEnter",
|
|
186370
|
+
value: function mouseEnter() {
|
|
186371
|
+
this.isEnter = true;
|
|
186372
|
+
}
|
|
186373
|
+
}, {
|
|
186374
|
+
key: "mouseLeave",
|
|
186375
|
+
value: function mouseLeave() {
|
|
186376
|
+
var _this3 = this;
|
|
186377
|
+
|
|
186378
|
+
if (this.poperTimer != null) clearTimeout(this.poperTimer);
|
|
186379
|
+
this.poperTimer = setTimeout(function () {
|
|
186380
|
+
_this3.isEnter = false;
|
|
186381
|
+
_this3.isShow = false;
|
|
186382
|
+
|
|
186383
|
+
_this3.handleClose();
|
|
186384
|
+
}, 300);
|
|
186385
|
+
}
|
|
186386
|
+
}, {
|
|
186387
|
+
key: "handleClose",
|
|
186388
|
+
value: function handleClose() {
|
|
186389
|
+
this.$emit("poperTextClose");
|
|
186390
|
+
this.poppernIstance = null;
|
|
186391
|
+
}
|
|
186392
|
+
}, {
|
|
186393
|
+
key: "beforeDestroy",
|
|
186394
|
+
value: function beforeDestroy() {
|
|
186395
|
+
document.removeEventListener("scroll", this.handleClose, true);
|
|
186396
|
+
}
|
|
186397
|
+
}]);
|
|
186398
|
+
|
|
186399
|
+
return PoperTipText;
|
|
186400
|
+
}(mixins(appendToBody_AppendToBodyMixins));
|
|
186401
|
+
|
|
186402
|
+
__decorate([Prop()], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "poperPos", void 0);
|
|
186403
|
+
|
|
186404
|
+
__decorate([Prop()], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "poperText", void 0);
|
|
186405
|
+
|
|
186406
|
+
__decorate([Prop()], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "isPoperText", void 0);
|
|
186407
|
+
|
|
186408
|
+
__decorate([Ref()], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "poperTextNode", void 0);
|
|
186409
|
+
|
|
186410
|
+
__decorate([Watch("isPoperText")], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "isPoperTextChange", null);
|
|
186411
|
+
|
|
186412
|
+
__decorate([Watch("poperPos", {
|
|
186413
|
+
deep: true
|
|
186414
|
+
})], PoperTipTextvue_type_script_lang_ts_PoperTipText.prototype, "positionChange", null);
|
|
186415
|
+
|
|
186416
|
+
PoperTipTextvue_type_script_lang_ts_PoperTipText = __decorate([vue_class_component_esm({
|
|
186417
|
+
name: "PoperTipText"
|
|
186418
|
+
})], PoperTipTextvue_type_script_lang_ts_PoperTipText);
|
|
186419
|
+
/* harmony default export */ var PoperTipTextvue_type_script_lang_ts_ = (PoperTipTextvue_type_script_lang_ts_PoperTipText);
|
|
186420
|
+
// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=script&lang=ts&
|
|
186421
|
+
/* harmony default export */ var poperTipText_PoperTipTextvue_type_script_lang_ts_ = (PoperTipTextvue_type_script_lang_ts_);
|
|
186422
|
+
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=style&index=0&id=3fa4e4d3&lang=scss&scoped=true&
|
|
186423
|
+
var PoperTipTextvue_type_style_index_0_id_3fa4e4d3_lang_scss_scoped_true_ = __webpack_require__("f96b");
|
|
186424
|
+
|
|
186425
|
+
// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue
|
|
186426
|
+
|
|
186427
|
+
|
|
186428
|
+
|
|
186429
|
+
|
|
186430
|
+
|
|
186431
|
+
|
|
186432
|
+
/* normalize component */
|
|
186433
|
+
|
|
186434
|
+
var PoperTipText_component = normalizeComponent(
|
|
186435
|
+
poperTipText_PoperTipTextvue_type_script_lang_ts_,
|
|
186436
|
+
PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render,
|
|
186437
|
+
PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns,
|
|
186438
|
+
false,
|
|
186439
|
+
null,
|
|
186440
|
+
"3fa4e4d3",
|
|
186441
|
+
null
|
|
186442
|
+
|
|
186443
|
+
)
|
|
186444
|
+
|
|
186445
|
+
/* harmony default export */ var poperTipText_PoperTipText = (PoperTipText_component.exports);
|
|
186446
|
+
// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
186447
|
+
|
|
186448
|
+
/* harmony default export */ var poperTipText = (poperTipText_PoperTipText);
|
|
186261
186449
|
// 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&
|
|
186262
186450
|
|
|
186263
186451
|
|
|
@@ -186292,6 +186480,8 @@ var ParagraphNode = __webpack_require__("1551");
|
|
|
186292
186480
|
|
|
186293
186481
|
|
|
186294
186482
|
|
|
186483
|
+
|
|
186484
|
+
|
|
186295
186485
|
|
|
186296
186486
|
|
|
186297
186487
|
|
|
@@ -186314,19 +186504,36 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186314
186504
|
_this.canvasHeadFootPos = {
|
|
186315
186505
|
headerY: 48,
|
|
186316
186506
|
footerY: 48
|
|
186507
|
+
};
|
|
186508
|
+
_this.poperTipPos = {
|
|
186509
|
+
x: 0,
|
|
186510
|
+
y: 0,
|
|
186511
|
+
width: 0,
|
|
186512
|
+
height: 0,
|
|
186513
|
+
pageIndex: 0,
|
|
186514
|
+
moveType: 1
|
|
186317
186515
|
}; // 是否当前正在绘制
|
|
186318
186516
|
|
|
186319
186517
|
_this.drawing = false;
|
|
186320
|
-
_this.nodeValue =
|
|
186518
|
+
_this.nodeValue = "";
|
|
186321
186519
|
_this.poperType = "";
|
|
186520
|
+
_this.poperTextPos = {
|
|
186521
|
+
x: 0,
|
|
186522
|
+
y: 0,
|
|
186523
|
+
width: 0,
|
|
186524
|
+
height: 0,
|
|
186525
|
+
pageIndex: 0,
|
|
186526
|
+
moveType: 1
|
|
186527
|
+
};
|
|
186322
186528
|
_this.drawPageCount = {
|
|
186323
186529
|
count: -1
|
|
186324
186530
|
};
|
|
186325
|
-
_this.poperSelectList = [];
|
|
186326
|
-
|
|
186531
|
+
_this.poperSelectList = []; // public currentPageIndex = 0;
|
|
186532
|
+
|
|
186327
186533
|
_this.activePageIndex = {
|
|
186328
186534
|
index: -1
|
|
186329
|
-
};
|
|
186535
|
+
}; // public mutationObserver!: MutationObserver;
|
|
186536
|
+
|
|
186330
186537
|
_this.viewableAreaObserver = null;
|
|
186331
186538
|
_this.inViewPages = [0]; // public IntersectionObserver = IntersectionObserver;
|
|
186332
186539
|
|
|
@@ -186341,25 +186548,22 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186341
186548
|
startPath: "",
|
|
186342
186549
|
endPath: ""
|
|
186343
186550
|
};
|
|
186551
|
+
_this.poperText = [];
|
|
186552
|
+
_this.isPoperText = false;
|
|
186553
|
+
_this.poperId = [];
|
|
186344
186554
|
return _this;
|
|
186345
|
-
}
|
|
186346
|
-
|
|
186347
|
-
|
|
186348
|
-
|
|
186349
|
-
|
|
186350
|
-
|
|
186351
|
-
|
|
186352
|
-
|
|
186353
|
-
|
|
186354
|
-
} else {
|
|
186355
|
-
var _this$mutationObserve;
|
|
186555
|
+
} // get currentPageList(): number {
|
|
186556
|
+
// const index = Math.ceil(this.drawPageLength / this.paginationCount);
|
|
186557
|
+
// if (index > 1) {
|
|
186558
|
+
// this.mutationObservers();
|
|
186559
|
+
// } else {
|
|
186560
|
+
// this.mutationObserver?.disconnect();
|
|
186561
|
+
// }
|
|
186562
|
+
// return Math.ceil(this.drawPageLength / this.paginationCount);
|
|
186563
|
+
// }
|
|
186356
186564
|
|
|
186357
|
-
(_this$mutationObserve = this.mutationObserver) === null || _this$mutationObserve === void 0 ? void 0 : _this$mutationObserve.disconnect();
|
|
186358
|
-
}
|
|
186359
186565
|
|
|
186360
|
-
|
|
186361
|
-
}
|
|
186362
|
-
}, {
|
|
186566
|
+
Object(createClass["a" /* default */])(HoDoc, [{
|
|
186363
186567
|
key: "docClassNames",
|
|
186364
186568
|
get: function get() {
|
|
186365
186569
|
return this.hoEditorFactoryIdList.length === 1 ? "edit-area edit-area-padding" : "edit-area";
|
|
@@ -186376,15 +186580,40 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186376
186580
|
this.$emit("setActivePageIndex", this.activePageIndex.index);
|
|
186377
186581
|
}
|
|
186378
186582
|
}, {
|
|
186379
|
-
key: "
|
|
186380
|
-
value: function
|
|
186381
|
-
|
|
186382
|
-
|
|
186383
|
-
|
|
186384
|
-
|
|
186385
|
-
|
|
186386
|
-
|
|
186583
|
+
key: "poperTipPosChange",
|
|
186584
|
+
value: function poperTipPosChange(value) {
|
|
186585
|
+
if (value) {
|
|
186586
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
186587
|
+
if (hoEditorFactory.drawTree.paintStatus === 5) return;
|
|
186588
|
+
if (JSON.stringify(this.mouseMoveNodes.tipText) === '[""]') return;
|
|
186589
|
+
if (this.mouseMoveNodes.tipText.length === 0) return;
|
|
186590
|
+
|
|
186591
|
+
if (this.mouseMoveNodes.moveType === 0) {
|
|
186592
|
+
this.isPoperText = true;
|
|
186593
|
+
this.poperText = this.mouseMoveNodes.tipText;
|
|
186594
|
+
this.poperId = this.mouseMoveNodes.id;
|
|
186595
|
+
this.poperTextPos = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
186596
|
+
docIndex: this.docIndex
|
|
186597
|
+
});
|
|
186598
|
+
} else {
|
|
186599
|
+
this.isPoperText = false;
|
|
186600
|
+
}
|
|
186387
186601
|
}
|
|
186602
|
+
} // @Watch("currentPageIndex")
|
|
186603
|
+
// currentPageIndexChange(newValue: number, oldValue: number) {
|
|
186604
|
+
// const editorCanvasList = document.querySelectorAll(".edit-container");
|
|
186605
|
+
// if (newValue > oldValue) {
|
|
186606
|
+
// editorCanvasList[0].scrollIntoView();
|
|
186607
|
+
// } else {
|
|
186608
|
+
// editorCanvasList[editorCanvasList.length - 1].scrollIntoView();
|
|
186609
|
+
// }
|
|
186610
|
+
// }
|
|
186611
|
+
|
|
186612
|
+
}, {
|
|
186613
|
+
key: "isUseTipTextChange",
|
|
186614
|
+
value: function isUseTipTextChange() {
|
|
186615
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
186616
|
+
hoEditorFactory.nodeMouseMove.isUseTipText = this.isUseTipText;
|
|
186388
186617
|
}
|
|
186389
186618
|
}, {
|
|
186390
186619
|
key: "created",
|
|
@@ -186407,6 +186636,8 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186407
186636
|
|
|
186408
186637
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
186409
186638
|
hoEditorFactory.pageProperty.canvasParams = this.canvasParams;
|
|
186639
|
+
hoEditorFactory.nodeMouseMove.poperTipPos = this.poperTipPos;
|
|
186640
|
+
hoEditorFactory.nodeMouseMove.isUseTipText = this.isUseTipText;
|
|
186410
186641
|
hoEditorFactory.pageProperty.canvasHeadFootPos = this.canvasHeadFootPos;
|
|
186411
186642
|
hoEditorFactory.drawPageTree.initDoc();
|
|
186412
186643
|
hoEditorFactory.drawTree.drawPageCount = this.drawPageCount;
|
|
@@ -186433,12 +186664,11 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186433
186664
|
}, {
|
|
186434
186665
|
key: "beforeDestroy",
|
|
186435
186666
|
value: function beforeDestroy() {
|
|
186436
|
-
var _this$
|
|
186437
|
-
_this$viewableAreaObs,
|
|
186667
|
+
var _this$viewableAreaObs,
|
|
186438
186668
|
_this3 = this;
|
|
186439
186669
|
|
|
186440
|
-
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
186441
|
-
|
|
186670
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId); // this.mutationObserver?.disconnect();
|
|
186671
|
+
|
|
186442
186672
|
(_this$viewableAreaObs = this.viewableAreaObserver) === null || _this$viewableAreaObs === void 0 ? void 0 : _this$viewableAreaObs.disconnect();
|
|
186443
186673
|
hoEditorFactory.docTree.removeEventListener(NodeNeedModifyEvent["a" /* NodeNeedModifyEvent */].eventName, function (e) {
|
|
186444
186674
|
return _this3.mouseClickEvent(e);
|
|
@@ -186493,35 +186723,25 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186493
186723
|
/**
|
|
186494
186724
|
* 节点变动监听
|
|
186495
186725
|
*/
|
|
186726
|
+
// public mutationObservers() {
|
|
186727
|
+
// this.mutationObserver = new MutationObserver(mutations => {
|
|
186728
|
+
// mutations.forEach(mutation => {
|
|
186729
|
+
// if (mutation.addedNodes[0] instanceof HTMLTextAreaElement) {
|
|
186730
|
+
// const editor = mutation.addedNodes[0].parentNode as HTMLDivElement;
|
|
186731
|
+
// const index = parseInt(editor.dataset.id as string);
|
|
186732
|
+
// if (index >= (this.currentPageIndex + 1) * this.paginationCount || index < this.currentPageIndex * this.paginationCount) {
|
|
186733
|
+
// this.currentPageIndex = Math.floor(index / this.paginationCount);
|
|
186734
|
+
// }
|
|
186735
|
+
// }
|
|
186736
|
+
// });
|
|
186737
|
+
// });
|
|
186738
|
+
// const config = { childList: true, subtree: true };
|
|
186739
|
+
// this.mutationObserver.observe(this.editorArea, config);
|
|
186740
|
+
// }
|
|
186741
|
+
// public setCurrentPagination(index: number) {
|
|
186742
|
+
// this.currentPageIndex = index;
|
|
186743
|
+
// }
|
|
186496
186744
|
|
|
186497
|
-
}, {
|
|
186498
|
-
key: "mutationObservers",
|
|
186499
|
-
value: function mutationObservers() {
|
|
186500
|
-
var _this5 = this;
|
|
186501
|
-
|
|
186502
|
-
this.mutationObserver = new MutationObserver(function (mutations) {
|
|
186503
|
-
mutations.forEach(function (mutation) {
|
|
186504
|
-
if (mutation.addedNodes[0] instanceof HTMLTextAreaElement) {
|
|
186505
|
-
var editor = mutation.addedNodes[0].parentNode;
|
|
186506
|
-
var index = parseInt(editor.dataset.id);
|
|
186507
|
-
|
|
186508
|
-
if (index >= (_this5.currentPageIndex + 1) * _this5.paginationCount || index < _this5.currentPageIndex * _this5.paginationCount) {
|
|
186509
|
-
_this5.currentPageIndex = Math.floor(index / _this5.paginationCount);
|
|
186510
|
-
}
|
|
186511
|
-
}
|
|
186512
|
-
});
|
|
186513
|
-
});
|
|
186514
|
-
var config = {
|
|
186515
|
-
childList: true,
|
|
186516
|
-
subtree: true
|
|
186517
|
-
};
|
|
186518
|
-
this.mutationObserver.observe(this.editorArea, config);
|
|
186519
|
-
}
|
|
186520
|
-
}, {
|
|
186521
|
-
key: "setCurrentPagination",
|
|
186522
|
-
value: function setCurrentPagination(index) {
|
|
186523
|
-
this.currentPageIndex = index;
|
|
186524
|
-
}
|
|
186525
186745
|
}, {
|
|
186526
186746
|
key: "setActiveDocIndex",
|
|
186527
186747
|
value: function setActiveDocIndex(hoEditorId) {
|
|
@@ -186537,7 +186757,7 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186537
186757
|
key: "poperClose",
|
|
186538
186758
|
value: function poperClose() {
|
|
186539
186759
|
this.poperType = "";
|
|
186540
|
-
this.nodeValue =
|
|
186760
|
+
this.nodeValue = "";
|
|
186541
186761
|
}
|
|
186542
186762
|
/**
|
|
186543
186763
|
* 鼠标click事件
|
|
@@ -186546,10 +186766,9 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186546
186766
|
}, {
|
|
186547
186767
|
key: "mouseClickEvent",
|
|
186548
186768
|
value: function mouseClickEvent(e) {
|
|
186549
|
-
var
|
|
186769
|
+
var _this5 = this;
|
|
186550
186770
|
|
|
186551
186771
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
186552
|
-
this.poperClose();
|
|
186553
186772
|
|
|
186554
186773
|
if (hoEditorFactory.drawTree.paintStatus === 4 || hoEditorFactory.drawTree.paintStatus === 5) {
|
|
186555
186774
|
return false;
|
|
@@ -186557,13 +186776,14 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186557
186776
|
|
|
186558
186777
|
if (!e.clickType || e.clickType === "move") return false;
|
|
186559
186778
|
var node = e.node;
|
|
186779
|
+
this.poperClose();
|
|
186560
186780
|
|
|
186561
186781
|
if (node && node !== null && node instanceof BaseNode["a" /* BaseNode */]) {
|
|
186562
186782
|
var pageIndex = e.pageIndex;
|
|
186563
186783
|
|
|
186564
186784
|
if (e.clickType === "dblclick") {
|
|
186565
186785
|
setTimeout(function () {
|
|
186566
|
-
|
|
186786
|
+
_this5.dblclickModal(node, "dblclick", pageIndex);
|
|
186567
186787
|
}, 150);
|
|
186568
186788
|
} else if (e.clickType === "leftclick") {
|
|
186569
186789
|
this.$emit("setFontStyles");
|
|
@@ -186599,7 +186819,7 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186599
186819
|
}, {
|
|
186600
186820
|
key: "dblclickModal",
|
|
186601
186821
|
value: function dblclickModal(node, type, pageIndex) {
|
|
186602
|
-
var
|
|
186822
|
+
var _this6 = this;
|
|
186603
186823
|
|
|
186604
186824
|
if (this.poperType) return false;
|
|
186605
186825
|
if (type !== "dblclick") return false;
|
|
@@ -186607,8 +186827,7 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186607
186827
|
this.domRange = {
|
|
186608
186828
|
startPath: hoEditorFactory.docTree.curDomRange.normalize().startPath,
|
|
186609
186829
|
endPath: hoEditorFactory.docTree.curDomRange.normalize().endPath
|
|
186610
|
-
};
|
|
186611
|
-
// console.log(node);
|
|
186830
|
+
};
|
|
186612
186831
|
|
|
186613
186832
|
if (node instanceof SignNode["a" /* SignNode */]) {
|
|
186614
186833
|
this.$emit("dblNodeClick", {
|
|
@@ -186628,15 +186847,15 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186628
186847
|
}
|
|
186629
186848
|
|
|
186630
186849
|
var callback = function callback(list) {
|
|
186631
|
-
|
|
186850
|
+
_this6.computedPoperPosition(node, pageIndex);
|
|
186632
186851
|
|
|
186633
186852
|
if (Array.isArray(list) && list.length > 0) {
|
|
186634
|
-
|
|
186853
|
+
_this6.poperSelectList = list;
|
|
186635
186854
|
} else {
|
|
186636
|
-
|
|
186855
|
+
_this6.poperSelectList = node.downListContent ? node.downListContent : [];
|
|
186637
186856
|
}
|
|
186638
186857
|
|
|
186639
|
-
|
|
186858
|
+
_this6.poperType = "selectPoper";
|
|
186640
186859
|
};
|
|
186641
186860
|
|
|
186642
186861
|
if (node.customProperty && node.customProperty.hasThirdData == true) {
|
|
@@ -186663,23 +186882,21 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186663
186882
|
|
|
186664
186883
|
if (parentNode.readOnlyStatus === 0 && parentNode.text.replace(/\s*/g, "") !== "") {
|
|
186665
186884
|
return false;
|
|
186666
|
-
}
|
|
186667
|
-
|
|
186885
|
+
}
|
|
186668
186886
|
|
|
186669
186887
|
if (Number(parentNode.inputFieldType) === 2) {
|
|
186670
186888
|
this.poperType = "datePoper";
|
|
186671
186889
|
} else if (Number(parentNode.inputFieldType) === 1) {
|
|
186672
|
-
// console.log(parentNode)
|
|
186673
186890
|
var _callback = function _callback(list) {
|
|
186674
|
-
|
|
186891
|
+
_this6.computedPoperPosition(node, pageIndex);
|
|
186675
186892
|
|
|
186676
186893
|
if (Array.isArray(list) && list.length > 0) {
|
|
186677
|
-
|
|
186894
|
+
_this6.poperSelectList = list;
|
|
186678
186895
|
} else {
|
|
186679
|
-
|
|
186896
|
+
_this6.poperSelectList = JSON.parse(parentNode.downListProperty.listItems);
|
|
186680
186897
|
}
|
|
186681
186898
|
|
|
186682
|
-
|
|
186899
|
+
_this6.poperType = "selectPoper";
|
|
186683
186900
|
};
|
|
186684
186901
|
|
|
186685
186902
|
if (parentNode.customProperty && parentNode.customProperty.hasThirdData == true) {
|
|
@@ -186732,7 +186949,7 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186732
186949
|
if (node instanceof TextNode["a" /* TextNode */]) {
|
|
186733
186950
|
this.nodeValue = node.text;
|
|
186734
186951
|
} else if (node instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
186735
|
-
this.nodeValue =
|
|
186952
|
+
this.nodeValue = "";
|
|
186736
186953
|
}
|
|
186737
186954
|
|
|
186738
186955
|
this.poperType = "table-cell-poper";
|
|
@@ -186749,8 +186966,7 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186749
186966
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
186750
186967
|
var nodePos = node.drawNodes[0];
|
|
186751
186968
|
var drawLine = hoEditorFactory.drawTree.getDrawLineByDNode(nodePos);
|
|
186752
|
-
var docPos = drawLine.localToGlobal(nodePos.x, nodePos.y === 0 ? drawLine.dHeight : nodePos.y);
|
|
186753
|
-
|
|
186969
|
+
var docPos = drawLine.localToGlobal(nodePos.x, nodePos.y === 0 ? drawLine.dHeight : nodePos.y);
|
|
186754
186970
|
this.poperPos = {
|
|
186755
186971
|
x: docPos.x / DrawConfig["a" /* DrawConfig */].instance().scaleXY,
|
|
186756
186972
|
y: docPos.y / DrawConfig["a" /* DrawConfig */].instance().scaleXY + 5,
|
|
@@ -186790,14 +187006,12 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186790
187006
|
return;
|
|
186791
187007
|
}
|
|
186792
187008
|
|
|
186793
|
-
;
|
|
186794
187009
|
var path = hoEditorFactory.vueController.getCaretPosition();
|
|
186795
187010
|
var node = (_hoEditorFactory$vueC2 = hoEditorFactory.vueController.findNodebyPath(path)) === null || _hoEditorFactory$vueC2 === void 0 ? void 0 : _hoEditorFactory$vueC2.node;
|
|
186796
187011
|
|
|
186797
187012
|
if (node && node !== null && node instanceof BaseNode["a" /* BaseNode */]) {
|
|
186798
187013
|
this.setRightClickNodeValue(node);
|
|
186799
|
-
}
|
|
186800
|
-
|
|
187014
|
+
}
|
|
186801
187015
|
|
|
186802
187016
|
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
186803
187017
|
this.$emit("rightClickEvent", rightPosition);
|
|
@@ -186813,6 +187027,11 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
186813
187027
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
186814
187028
|
hoEditorFactory.vueController.hideComments(!hoEditorFactory.isHideComments);
|
|
186815
187029
|
}
|
|
187030
|
+
}, {
|
|
187031
|
+
key: "poperTextClose",
|
|
187032
|
+
value: function poperTextClose() {
|
|
187033
|
+
this.isPoperText = false; // this.poperPos = { x: 0, y: 0, height: 0, pageIndex: 0, docIndex: 0 };
|
|
187034
|
+
}
|
|
186816
187035
|
}, {
|
|
186817
187036
|
key: "pageReady",
|
|
186818
187037
|
value: function pageReady(page) {
|
|
@@ -186851,6 +187070,8 @@ __decorate([Ref()], HoDocvue_type_script_lang_ts_HoDoc.prototype, "editorArea",
|
|
|
186851
187070
|
|
|
186852
187071
|
__decorate([Ref()], HoDocvue_type_script_lang_ts_HoDoc.prototype, "rightMenuModal", void 0);
|
|
186853
187072
|
|
|
187073
|
+
__decorate([Prop()], HoDocvue_type_script_lang_ts_HoDoc.prototype, "isUseTipText", void 0);
|
|
187074
|
+
|
|
186854
187075
|
__decorate([Watch("drawPageCount", {
|
|
186855
187076
|
deep: true
|
|
186856
187077
|
})], HoDocvue_type_script_lang_ts_HoDoc.prototype, "drawPagesLengthChange", null);
|
|
@@ -186865,14 +187086,20 @@ __decorate([Watch("activePageIndex", {
|
|
|
186865
187086
|
deep: true
|
|
186866
187087
|
})], HoDocvue_type_script_lang_ts_HoDoc.prototype, "activePageIndexChange", null);
|
|
186867
187088
|
|
|
186868
|
-
__decorate([Watch("
|
|
187089
|
+
__decorate([Watch("poperTipPos", {
|
|
187090
|
+
deep: true
|
|
187091
|
+
})], HoDocvue_type_script_lang_ts_HoDoc.prototype, "poperTipPosChange", null);
|
|
187092
|
+
|
|
187093
|
+
__decorate([Watch("isUseTipText")], HoDocvue_type_script_lang_ts_HoDoc.prototype, "isUseTipTextChange", null);
|
|
186869
187094
|
|
|
186870
187095
|
HoDocvue_type_script_lang_ts_HoDoc = __decorate([vue_class_component_esm({
|
|
186871
187096
|
name: "HoDoc",
|
|
186872
187097
|
components: {
|
|
186873
187098
|
HoPage: components_HoPage,
|
|
186874
187099
|
HoToPage: backToPage,
|
|
186875
|
-
|
|
187100
|
+
PoperMark: poperSelect_PoperMark,
|
|
187101
|
+
PoperTipText: poperTipText,
|
|
187102
|
+
PoperSelectModal: PoperSelect,
|
|
186876
187103
|
TableCellPoper: table_TableCellPoper
|
|
186877
187104
|
}
|
|
186878
187105
|
})], HoDocvue_type_script_lang_ts_HoDoc);
|
|
@@ -186893,8 +187120,8 @@ var HoDocvue_type_style_index_0_lang_scss_ = __webpack_require__("560f");
|
|
|
186893
187120
|
|
|
186894
187121
|
var HoDoc_component = normalizeComponent(
|
|
186895
187122
|
components_HoDocvue_type_script_lang_ts_,
|
|
186896
|
-
|
|
186897
|
-
|
|
187123
|
+
HoDocvue_type_template_id_f60e2e72_render,
|
|
187124
|
+
HoDocvue_type_template_id_f60e2e72_staticRenderFns,
|
|
186898
187125
|
false,
|
|
186899
187126
|
null,
|
|
186900
187127
|
null,
|
|
@@ -188165,6 +188392,9 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
188165
188392
|
|
|
188166
188393
|
return DrawPageTree;
|
|
188167
188394
|
}();
|
|
188395
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
|
|
188396
|
+
var es_array_slice = __webpack_require__("fb6a");
|
|
188397
|
+
|
|
188168
188398
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/RadioAndCheckBoxNode.ts
|
|
188169
188399
|
var RadioAndCheckBoxNode = __webpack_require__("4e47");
|
|
188170
188400
|
|
|
@@ -188184,6 +188414,10 @@ var NodeClickEvent = __webpack_require__("b7de");
|
|
|
188184
188414
|
|
|
188185
188415
|
|
|
188186
188416
|
|
|
188417
|
+
|
|
188418
|
+
|
|
188419
|
+
|
|
188420
|
+
|
|
188187
188421
|
var DmouseEventType;
|
|
188188
188422
|
|
|
188189
188423
|
(function (DmouseEventType) {
|
|
@@ -188234,6 +188468,26 @@ var NodeMouseMoveEvent_NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
188234
188468
|
get: function get() {
|
|
188235
188469
|
return this._deleterIndex;
|
|
188236
188470
|
}
|
|
188471
|
+
}, {
|
|
188472
|
+
key: "poperTipPos",
|
|
188473
|
+
get: function get() {
|
|
188474
|
+
return this._poperTipPos;
|
|
188475
|
+
},
|
|
188476
|
+
set: function set(value) {
|
|
188477
|
+
if (this._poperTipPos !== value) {
|
|
188478
|
+
this._poperTipPos = value;
|
|
188479
|
+
}
|
|
188480
|
+
}
|
|
188481
|
+
}, {
|
|
188482
|
+
key: "isUseTipText",
|
|
188483
|
+
get: function get() {
|
|
188484
|
+
return this._isUseTipText;
|
|
188485
|
+
},
|
|
188486
|
+
set: function set(value) {
|
|
188487
|
+
if (this._isUseTipText !== value) {
|
|
188488
|
+
this._isUseTipText = value;
|
|
188489
|
+
}
|
|
188490
|
+
}
|
|
188237
188491
|
/**
|
|
188238
188492
|
* @param node moveNode
|
|
188239
188493
|
* @param moveType
|
|
@@ -188252,7 +188506,7 @@ var NodeMouseMoveEvent_NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
188252
188506
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188253
188507
|
|
|
188254
188508
|
if (node instanceof TextNode["a" /* TextNode */]) {
|
|
188255
|
-
if (HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).drawTree.paintStatus ===
|
|
188509
|
+
if (HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).drawTree.paintStatus === DrawTree["b" /* PaintState */].psReview) {
|
|
188256
188510
|
this._creatorIndex = hoEditorFactory.docTree.styles[node.styleIndex].creatorIndex;
|
|
188257
188511
|
this._deleterIndex = hoEditorFactory.docTree.styles[node.styleIndex].deleterIndex; // if(moveType === DmouseEventType.detOver) {
|
|
188258
188512
|
// console.log(this._creatorIndex, this._deleterIndex);
|
|
@@ -188280,14 +188534,17 @@ var NodeMouseMoveEvent_NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
188280
188534
|
|
|
188281
188535
|
this.computedPosition(node.drawNodes[0]);
|
|
188282
188536
|
}
|
|
188283
|
-
}
|
|
188284
|
-
|
|
188285
|
-
if (hoEditorFactory.drawTree.paintStatus === 1 || hoEditorFactory.drawTree.paintStatus === 4) {
|
|
188286
|
-
if (this._deleterIndex !== 0 && node.parentNode && node.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
188537
|
+
} else {
|
|
188538
|
+
if (this._isUseTipText && this._deleterIndex !== 0 && node.parentNode && node.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && (hoEditorFactory.drawTree.paintStatus === 0 || hoEditorFactory.drawTree.paintStatus === 1 || hoEditorFactory.drawTree.paintStatus === 4)) {
|
|
188287
188539
|
this._moveType = moveType;
|
|
188288
188540
|
|
|
188289
188541
|
if (node.parentNode.tipText) {
|
|
188290
|
-
|
|
188542
|
+
var text = JSON.stringify(node.parentNode.tipText);
|
|
188543
|
+
text = text.slice(1, text.length - 1);
|
|
188544
|
+
var arr = text.split("\\n").filter(function (v) {
|
|
188545
|
+
return v;
|
|
188546
|
+
});
|
|
188547
|
+
this._tipText = arr;
|
|
188291
188548
|
} else {
|
|
188292
188549
|
this._tipText.push('');
|
|
188293
188550
|
}
|
|
@@ -188297,13 +188554,43 @@ var NodeMouseMoveEvent_NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
188297
188554
|
this.computedPosition(node.drawNodes[0]);
|
|
188298
188555
|
}
|
|
188299
188556
|
}
|
|
188557
|
+
} else if (node instanceof MarkNode["a" /* MarkNode */]) {
|
|
188558
|
+
if (this._isUseTipText && this._deleterIndex !== 0 && node.parentNode && node.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && (hoEditorFactory.drawTree.paintStatus === 0 || hoEditorFactory.drawTree.paintStatus === 1 || hoEditorFactory.drawTree.paintStatus === 4)) {
|
|
188559
|
+
this._moveType = moveType;
|
|
188560
|
+
|
|
188561
|
+
if (node.parentNode.tipText) {
|
|
188562
|
+
var _text = JSON.stringify(node.parentNode.tipText);
|
|
188563
|
+
|
|
188564
|
+
_text = _text.slice(1, _text.length - 1);
|
|
188565
|
+
|
|
188566
|
+
var _arr = _text.split("\\n").filter(function (v) {
|
|
188567
|
+
return v;
|
|
188568
|
+
});
|
|
188569
|
+
|
|
188570
|
+
this._tipText = _arr;
|
|
188571
|
+
} else {
|
|
188572
|
+
this._tipText.push('');
|
|
188573
|
+
}
|
|
188574
|
+
|
|
188575
|
+
this._id.push(node.parentNode.id);
|
|
188576
|
+
|
|
188577
|
+
this.computedPosition(node.drawNodes[0]);
|
|
188578
|
+
}
|
|
188300
188579
|
} else {
|
|
188301
|
-
if (hoEditorFactory.drawTree.paintStatus === 1 || hoEditorFactory.drawTree.paintStatus === 4) {
|
|
188302
|
-
if (node instanceof
|
|
188580
|
+
if (this._isUseTipText && (hoEditorFactory.drawTree.paintStatus === 0 || hoEditorFactory.drawTree.paintStatus === 1 || hoEditorFactory.drawTree.paintStatus === 4)) {
|
|
188581
|
+
if (node instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
188303
188582
|
this._moveType = moveType;
|
|
188304
188583
|
|
|
188305
188584
|
if (node.tipText) {
|
|
188306
|
-
|
|
188585
|
+
var _text2 = JSON.stringify(node.tipText);
|
|
188586
|
+
|
|
188587
|
+
_text2 = _text2.slice(1, _text2.length - 1);
|
|
188588
|
+
|
|
188589
|
+
var _arr2 = _text2.split("\\n").filter(function (v) {
|
|
188590
|
+
return v;
|
|
188591
|
+
});
|
|
188592
|
+
|
|
188593
|
+
this._tipText = _arr2;
|
|
188307
188594
|
} else {
|
|
188308
188595
|
this._tipText.push('');
|
|
188309
188596
|
}
|
|
@@ -188338,15 +188625,18 @@ var NodeMouseMoveEvent_NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
188338
188625
|
var drawLine = hoEditorFactory.drawTree.getDrawLineByDNode(nodePos);
|
|
188339
188626
|
|
|
188340
188627
|
if (drawLine) {
|
|
188341
|
-
var docPos = drawLine.localToGlobal(nodePos.x, nodePos.y);
|
|
188628
|
+
var docPos = drawLine.localToGlobal(nodePos.x, nodePos.y === 0 ? drawLine.dHeight : nodePos.y);
|
|
188342
188629
|
this._pageIndex = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).drawTree.activePage.pageIndex;
|
|
188343
|
-
this.
|
|
188344
|
-
x: docPos.x / DrawConfig["a" /* DrawConfig */].instance().scaleXY,
|
|
188345
|
-
y: docPos.y / DrawConfig["a" /* DrawConfig */].instance().scaleXY,
|
|
188346
|
-
height: drawLine.dHeight,
|
|
188347
|
-
pageIndex: this._pageIndex // 目标元素所在页
|
|
188630
|
+
this._poperTipPos.width = nodePos.dWidth ? nodePos.dWidth : 0; // // 目标元素 width
|
|
188348
188631
|
|
|
188349
|
-
|
|
188632
|
+
this._poperTipPos.height = drawLine.dHeight; // 目标元素所在行的 height
|
|
188633
|
+
|
|
188634
|
+
this._poperTipPos.pageIndex = this._pageIndex; // 目标元素所在页
|
|
188635
|
+
|
|
188636
|
+
this._poperTipPos.moveType = this._moveType;
|
|
188637
|
+
this._poperTipPos.y = docPos.y / DrawConfig["a" /* DrawConfig */].instance().scaleXY + 5; // 目标元素所在行的 y
|
|
188638
|
+
|
|
188639
|
+
this._poperTipPos.x = docPos.x / DrawConfig["a" /* DrawConfig */].instance().scaleXY; // 目标元素所在行的 x
|
|
188350
188640
|
}
|
|
188351
188641
|
}
|
|
188352
188642
|
}]);
|
|
@@ -188647,9 +188937,6 @@ var lib_message_box_default = /*#__PURE__*/__webpack_require__.n(lib_message_box
|
|
|
188647
188937
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
188648
188938
|
var es_string_ends_with = __webpack_require__("8a79");
|
|
188649
188939
|
|
|
188650
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
|
|
188651
|
-
var es_array_slice = __webpack_require__("fb6a");
|
|
188652
|
-
|
|
188653
188940
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.bold.js
|
|
188654
188941
|
var es_string_bold = __webpack_require__("cc71");
|
|
188655
188942
|
|
|
@@ -191091,8 +191378,8 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
191091
191378
|
pageProperty.borderColor = pageSettings.borderColor;
|
|
191092
191379
|
pageProperty.paintRowLine = Number(pageSettings.paintRowLine);
|
|
191093
191380
|
pageProperty.pageSize = pageSettings.pageSize; // pageProperty.commentWidthMm = Number(pageSettings.commentWidthMm);
|
|
191381
|
+
// pageProperty.commentWidthMm = pageProperty.commentWidthMm;
|
|
191094
191382
|
|
|
191095
|
-
pageProperty.commentWidthMm = 0;
|
|
191096
191383
|
pageProperty.widthMm = Number(pageSettings.widthMm);
|
|
191097
191384
|
pageProperty.heightMm = Number(pageSettings.heightMm);
|
|
191098
191385
|
pageProperty.source = pageSettings.source;
|
|
@@ -195693,6 +195980,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
195693
195980
|
// hoEditorFactory.docTree.selectChange(selChangeEvent);
|
|
195694
195981
|
|
|
195695
195982
|
hoEditorFactory.drawTree.moveCaretToPath(path);
|
|
195983
|
+
hoEditorFactory.docTree.curDomRange.setSamePath(path);
|
|
195696
195984
|
}
|
|
195697
195985
|
/**
|
|
195698
195986
|
* 获取光标位置
|
|
@@ -197685,6 +197973,30 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197685
197973
|
};
|
|
197686
197974
|
}
|
|
197687
197975
|
/*
|
|
197976
|
+
* 生成图片和下载菜单
|
|
197977
|
+
*/
|
|
197978
|
+
|
|
197979
|
+
}, {
|
|
197980
|
+
key: "createPDF",
|
|
197981
|
+
value: function createPDF() {
|
|
197982
|
+
var _this2 = this;
|
|
197983
|
+
|
|
197984
|
+
var btn = document.createElement("button");
|
|
197985
|
+
btn.id = "hoDownLoadPDFBtn";
|
|
197986
|
+
btn.style.position = "fixed";
|
|
197987
|
+
btn.style.left = "20px";
|
|
197988
|
+
btn.style.top = "300px";
|
|
197989
|
+
btn.style.padding = "10px 20px";
|
|
197990
|
+
btn.style.background = "transparent";
|
|
197991
|
+
btn.style.border = "none";
|
|
197992
|
+
btn.style.outline = "none";
|
|
197993
|
+
document.body.appendChild(btn);
|
|
197994
|
+
|
|
197995
|
+
document.querySelector("#hoDownLoadPDFBtn").onclick = function () {
|
|
197996
|
+
_this2.saveAsPDF();
|
|
197997
|
+
};
|
|
197998
|
+
}
|
|
197999
|
+
/*
|
|
197688
198000
|
* 下载生成的图片
|
|
197689
198001
|
*/
|
|
197690
198002
|
|
|
@@ -197709,6 +198021,36 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197709
198021
|
document.body.removeChild(document.querySelector("#hoDownLoadImageBtn"));
|
|
197710
198022
|
}, 300);
|
|
197711
198023
|
}
|
|
198024
|
+
}, {
|
|
198025
|
+
key: "moveCaretToElement",
|
|
198026
|
+
value: function moveCaretToElement(scope, id) {
|
|
198027
|
+
var node = this.getNodeByID(scope, id);
|
|
198028
|
+
|
|
198029
|
+
if (node) {
|
|
198030
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
198031
|
+
var oldRange = hoEditorFactory.docTree.curDomRange;
|
|
198032
|
+
var spath = hoEditorFactory.docTree.getNodeLastPath(node.previousLeaf());
|
|
198033
|
+
var epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
198034
|
+
var topath = epath;
|
|
198035
|
+
|
|
198036
|
+
if (node instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
198037
|
+
spath = hoEditorFactory.docTree.getNodeLastPath(node.childNodes[0]);
|
|
198038
|
+
epath = hoEditorFactory.docTree.getNodeLastPath(node.childNodes[node.childNodes.length - 1].previousLeaf());
|
|
198039
|
+
|
|
198040
|
+
if (node.childNodes[1] instanceof MarkNode["a" /* MarkNode */]) {
|
|
198041
|
+
topath = spath;
|
|
198042
|
+
} else {
|
|
198043
|
+
topath = epath;
|
|
198044
|
+
}
|
|
198045
|
+
}
|
|
198046
|
+
|
|
198047
|
+
hoEditorFactory.drawTree.moveCaretToPath(topath);
|
|
198048
|
+
var newRange = new DomRange["a" /* DomRange */](this.hoEditorFactoryID, spath, epath);
|
|
198049
|
+
hoEditorFactory.docTree.curDomRange = newRange;
|
|
198050
|
+
var selectChangeEvent = new SelectionChangeEvent["a" /* SelectionChangeEvent */](oldRange, newRange);
|
|
198051
|
+
hoEditorFactory.docTree.selectChange(selectChangeEvent);
|
|
198052
|
+
}
|
|
198053
|
+
}
|
|
197712
198054
|
}]);
|
|
197713
198055
|
|
|
197714
198056
|
return VueController;
|
|
@@ -198733,7 +199075,7 @@ var EditController_EditController = /*#__PURE__*/function () {
|
|
|
198733
199075
|
/*
|
|
198734
199076
|
* @Author: your name
|
|
198735
199077
|
* @Date: 2021-07-31 09:27:53
|
|
198736
|
-
* @LastEditTime:
|
|
199078
|
+
* @LastEditTime: 2022-01-05 18:06:45
|
|
198737
199079
|
* @LastEditors: Please set LastEditors
|
|
198738
199080
|
* @Description: In User Settings Edit
|
|
198739
199081
|
* @FilePath: \hoeditor-web\src\editor\externalCall\ElementController.ts
|
|
@@ -199015,6 +199357,12 @@ var ElementController_ElementController = /*#__PURE__*/function () {
|
|
|
199015
199357
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
199016
199358
|
hoEditorFactory.vueController.updateElementById(id, eleJson);
|
|
199017
199359
|
}
|
|
199360
|
+
}, {
|
|
199361
|
+
key: "moveCaretToElement",
|
|
199362
|
+
value: function moveCaretToElement(scope, id) {
|
|
199363
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
199364
|
+
hoEditorFactory.vueController.moveCaretToElement(scope, id);
|
|
199365
|
+
}
|
|
199018
199366
|
}]);
|
|
199019
199367
|
|
|
199020
199368
|
return ElementController;
|
|
@@ -199666,7 +200014,10 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199666
200014
|
this._xmlIndex = 0;
|
|
199667
200015
|
this._isSetFont = false;
|
|
199668
200016
|
this._isFont = false;
|
|
199669
|
-
this._waitPrint = false;
|
|
200017
|
+
this._waitPrint = false; // 打印等待
|
|
200018
|
+
|
|
200019
|
+
this._waitSavepdf = false; // 生成pdf等待
|
|
200020
|
+
|
|
199670
200021
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
199671
200022
|
}
|
|
199672
200023
|
/**
|
|
@@ -199689,6 +200040,10 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199689
200040
|
|
|
199690
200041
|
this.printPromisePDF();
|
|
199691
200042
|
}
|
|
200043
|
+
|
|
200044
|
+
if (this._waitSavepdf) {
|
|
200045
|
+
this.saveAsPDF();
|
|
200046
|
+
}
|
|
199692
200047
|
}
|
|
199693
200048
|
/**
|
|
199694
200049
|
* 保存pdf
|
|
@@ -199700,6 +200055,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199700
200055
|
value: function saveAsPDF(pdfName, type) {
|
|
199701
200056
|
var _this = this;
|
|
199702
200057
|
|
|
200058
|
+
if (!this._isSetFont) {
|
|
200059
|
+
this._waitSavepdf = true;
|
|
200060
|
+
return;
|
|
200061
|
+
}
|
|
200062
|
+
|
|
199703
200063
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
199704
200064
|
var fileType = type ? type : "pdf";
|
|
199705
200065
|
var fileName = pdfName ? pdfName : hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : "电子病历文档"; // 保存打印前文档状态 和 内容
|
|
@@ -200095,7 +200455,8 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200095
200455
|
hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
|
|
200096
200456
|
hoEditorFactory.vueController.openXml(xml);
|
|
200097
200457
|
PDF.deletePage(1);
|
|
200098
|
-
|
|
200458
|
+
var name = hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : "电子病历文档";
|
|
200459
|
+
PrintStatus["a" /* Print */].openDataUriInWindow(PDF, name, hoEditorFactory.pageProperty.widthPixes);
|
|
200099
200460
|
}
|
|
200100
200461
|
};
|
|
200101
200462
|
|
|
@@ -201691,21 +202052,21 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
201691
202052
|
|
|
201692
202053
|
return HOEditorFactory;
|
|
201693
202054
|
}();
|
|
201694
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202055
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=5908306a&scoped=true&
|
|
201695
202056
|
var HoFootervue_type_template_id_5908306a_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"})])}
|
|
201696
202057
|
var HoFootervue_type_template_id_5908306a_scoped_true_staticRenderFns = []
|
|
201697
202058
|
|
|
201698
202059
|
|
|
201699
202060
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=5908306a&scoped=true&
|
|
201700
202061
|
|
|
201701
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202062
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
201702
202063
|
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)}
|
|
201703
202064
|
var Popervue_type_template_id_0f8bfa37_staticRenderFns = []
|
|
201704
202065
|
|
|
201705
202066
|
|
|
201706
202067
|
// CONCATENATED MODULE: ./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
201707
202068
|
|
|
201708
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202069
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
201709
202070
|
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))])])}
|
|
201710
202071
|
var Titlevue_type_template_id_3d9d462b_scoped_true_staticRenderFns = []
|
|
201711
202072
|
|
|
@@ -201994,14 +202355,14 @@ var HoFooter_component = normalizeComponent(
|
|
|
201994
202355
|
)
|
|
201995
202356
|
|
|
201996
202357
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
201997
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202358
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
201998
202359
|
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)}
|
|
201999
202360
|
var ControlModalvue_type_template_id_3be7d6ee_staticRenderFns = []
|
|
202000
202361
|
|
|
202001
202362
|
|
|
202002
202363
|
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
202003
202364
|
|
|
202004
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202365
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=3cb0320e&scoped=true&
|
|
202005
202366
|
var SelectDialogvue_type_template_id_3cb0320e_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":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_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":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_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":"mini"},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":"mini"},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',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},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.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_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)])}
|
|
202006
202367
|
var SelectDialogvue_type_template_id_3cb0320e_scoped_true_staticRenderFns = []
|
|
202007
202368
|
|
|
@@ -202371,23 +202732,20 @@ var SelectDialog_component = normalizeComponent(
|
|
|
202371
202732
|
// CONCATENATED MODULE: ./src/components/controls/selectDialog/index.ts
|
|
202372
202733
|
|
|
202373
202734
|
/* harmony default export */ var selectDialog = (selectDialog_SelectDialog);
|
|
202374
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202375
|
-
var
|
|
202376
|
-
var
|
|
202735
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=3f07b3fe&
|
|
202736
|
+
var DateDialogvue_type_template_id_3f07b3fe_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)])}
|
|
202737
|
+
var DateDialogvue_type_template_id_3f07b3fe_staticRenderFns = []
|
|
202377
202738
|
|
|
202378
202739
|
|
|
202379
|
-
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=
|
|
202740
|
+
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=3f07b3fe&
|
|
202380
202741
|
|
|
202381
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202742
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=7c6c4d81&
|
|
202382
202743
|
var Tabvue_type_template_id_7c6c4d81_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)])}
|
|
202383
202744
|
var Tabvue_type_template_id_7c6c4d81_staticRenderFns = []
|
|
202384
202745
|
|
|
202385
202746
|
|
|
202386
202747
|
// CONCATENATED MODULE: ./src/components/toolbar/tab/Tab.vue?vue&type=template&id=7c6c4d81&
|
|
202387
202748
|
|
|
202388
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
202389
|
-
var es_array_from = __webpack_require__("a630");
|
|
202390
|
-
|
|
202391
202749
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./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=script&lang=js&
|
|
202392
202750
|
|
|
202393
202751
|
|
|
@@ -202553,7 +202911,6 @@ var Tab_component = normalizeComponent(
|
|
|
202553
202911
|
|
|
202554
202912
|
|
|
202555
202913
|
|
|
202556
|
-
|
|
202557
202914
|
|
|
202558
202915
|
|
|
202559
202916
|
var DateDialogvue_type_script_lang_ts_DateDialog = /*#__PURE__*/function (_Vue) {
|
|
@@ -202741,7 +203098,6 @@ __decorate([Inject("getCustomProperty")], DateDialogvue_type_script_lang_ts_Date
|
|
|
202741
203098
|
DateDialogvue_type_script_lang_ts_DateDialog = __decorate([vue_class_component_esm({
|
|
202742
203099
|
name: "DateDialog",
|
|
202743
203100
|
components: {
|
|
202744
|
-
DatePanel: DatePanel,
|
|
202745
203101
|
Tabs: Tab
|
|
202746
203102
|
}
|
|
202747
203103
|
})], DateDialogvue_type_script_lang_ts_DateDialog);
|
|
@@ -202762,8 +203118,8 @@ var DateDialogvue_type_style_index_0_lang_scss_ = __webpack_require__("839e");
|
|
|
202762
203118
|
|
|
202763
203119
|
var DateDialog_component = normalizeComponent(
|
|
202764
203120
|
dateDialog_DateDialogvue_type_script_lang_ts_,
|
|
202765
|
-
|
|
202766
|
-
|
|
203121
|
+
DateDialogvue_type_template_id_3f07b3fe_render,
|
|
203122
|
+
DateDialogvue_type_template_id_3f07b3fe_staticRenderFns,
|
|
202767
203123
|
false,
|
|
202768
203124
|
null,
|
|
202769
203125
|
null,
|
|
@@ -202775,7 +203131,7 @@ var DateDialog_component = normalizeComponent(
|
|
|
202775
203131
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/index.ts
|
|
202776
203132
|
|
|
202777
203133
|
/* harmony default export */ var dateDialog = (dateDialog_DateDialog);
|
|
202778
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203134
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
202779
203135
|
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)])}
|
|
202780
203136
|
var BarCodesvue_type_template_id_b90e0398_staticRenderFns = []
|
|
202781
203137
|
|
|
@@ -202959,7 +203315,7 @@ var BarCodes_component = normalizeComponent(
|
|
|
202959
203315
|
// CONCATENATED MODULE: ./src/components/controls/barCode/index.ts
|
|
202960
203316
|
|
|
202961
203317
|
/* harmony default export */ var barCode = (BarCodes);
|
|
202962
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203318
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
202963
203319
|
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)])}
|
|
202964
203320
|
var QrCodevue_type_template_id_bff70498_staticRenderFns = []
|
|
202965
203321
|
|
|
@@ -203145,12 +203501,12 @@ var QrCode_component = normalizeComponent(
|
|
|
203145
203501
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
203146
203502
|
|
|
203147
203503
|
/* harmony default export */ var qrCode = (QrCode);
|
|
203148
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203149
|
-
var TextDialogvue_type_template_id_304762c7_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":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_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":"38px"}},[_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":"second"}},[(_vm.textParam.inputFieldType === 0)?_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.dataVerifyFormat.mustInputValue),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "mustInputValue", $$v)},expression:"textParam.dataVerifyFormat.mustInputValue"}},[_vm._v("必须输入,不能为空")])],1),_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_c('el-radio',{attrs:{"size":"small","label":0},model:{value:(_vm.textParam.dataVerifyFormat.dataFormat),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "dataFormat", $$v)},expression:"textParam.dataVerifyFormat.dataFormat"}},[_vm._v("文本格式")])],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{attrs:{"disabled":_vm.textParam.dataVerifyFormat.dataFormat !== 0},model:{value:(_vm.isMinLenth),callback:function ($$v) {_vm.isMinLenth=$$v},expression:"isMinLenth"}},[_vm._v("最小长度")]),_c('el-input-number',{attrs:{"size":"mini","step":10,"min":0,"controls":false,"max":Number(_vm.textParam.dataVerifyFormat.maxLength),"disabled":!_vm.isMinLenth || _vm.textParam.dataVerifyFormat.dataFormat !== 0},on:{"change":_vm.minLengthChange},model:{value:(_vm.textParam.dataVerifyFormat.minLength),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "minLength", $$v)},expression:"textParam.dataVerifyFormat.minLength"}}),_c('span',{staticStyle:{"flex":"1"}}),_c('el-checkbox',{attrs:{"disabled":_vm.textParam.dataVerifyFormat.dataFormat !== 0},model:{value:(_vm.isMaxLenth),callback:function ($$v) {_vm.isMaxLenth=$$v},expression:"isMaxLenth"}},[_vm._v("最大长度")]),_c('el-input-number',{attrs:{"size":"mini","step":10,"controls":false,"min":Number(_vm.textParam.dataVerifyFormat.minLength),"disabled":!_vm.isMaxLenth || _vm.textParam.dataVerifyFormat.dataFormat !== 0},on:{"change":_vm.maxLengthChange},model:{value:(_vm.textParam.dataVerifyFormat.maxLength),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "maxLength", $$v)},expression:"textParam.dataVerifyFormat.maxLength"}})],1)]),_c('fieldset',{staticClass:"fieldset",staticStyle:{"height":"120px"}},[_c('legend',[_c('el-radio',{attrs:{"size":"small","label":1},model:{value:(_vm.textParam.dataVerifyFormat.dataFormat),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "dataFormat", $$v)},expression:"textParam.dataVerifyFormat.dataFormat"}},[_vm._v("数值格式")])],1),_c('li',{staticClass:"control-item"},[_c('el-radio',{attrs:{"disabled":_vm.textParam.dataVerifyFormat.dataFormat !== 1,"size":"small","label":true},model:{value:(_vm.textParam.dataVerifyFormat.onlyInputInt),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "onlyInputInt", $$v)},expression:"textParam.dataVerifyFormat.onlyInputInt"}},[_vm._v("只能输入整数")]),_c('el-checkbox',{attrs:{"disabled":_vm.textParam.dataVerifyFormat.dataFormat !== 1},model:{value:(_vm.isMin),callback:function ($$v) {_vm.isMin=$$v},expression:"isMin"}},[_vm._v("最小值")]),_c('el-input-number',{attrs:{"size":"mini","step":10,"disabled":!_vm.isMin || _vm.textParam.dataVerifyFormat.dataFormat !== 1,"min":0,"max":Number(_vm.textParam.dataVerifyFormat.maxValue),"controls-position":"right"},model:{value:(_vm.textParam.dataVerifyFormat.minValue),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "minValue", $$v)},expression:"textParam.dataVerifyFormat.minValue"}}),_c('span',{staticStyle:{"flex":"1"}}),_c('el-checkbox',{attrs:{"disabled":_vm.textParam.dataVerifyFormat.dataFormat !== 1},model:{value:(_vm.isMax),callback:function ($$v) {_vm.isMax=$$v},expression:"isMax"}},[_vm._v("最大值")]),_c('el-input-number',{attrs:{"size":"mini","step":10,"disabled":!_vm.isMax || _vm.textParam.dataVerifyFormat.dataFormat !== 1,"min":Number(_vm.textParam.dataVerifyFormat.minValue),"controls-position":"right"},model:{value:(_vm.textParam.dataVerifyFormat.maxValue),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "maxValue", $$v)},expression:"textParam.dataVerifyFormat.maxValue"}})],1),_c('li',{staticClass:"control-item"},[_c('el-radio',{staticStyle:{"margin-right":"75px"},attrs:{"disabled":_vm.textParam.dataVerifyFormat.dataFormat !== 1,"size":"small","label":false},model:{value:(_vm.textParam.dataVerifyFormat.onlyInputInt),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "onlyInputInt", $$v)},expression:"textParam.dataVerifyFormat.onlyInputInt"}},[_vm._v("最大小数位数")]),_c('el-input-number',{attrs:{"size":"mini","disabled":_vm.textParam.dataVerifyFormat.onlyInputInt || _vm.textParam.dataVerifyFormat.dataFormat !== 1,"min":0,"controls-position":"right"},model:{value:(_vm.textParam.dataVerifyFormat.maxSmallBits),callback:function ($$v) {_vm.$set(_vm.textParam.dataVerifyFormat, "maxSmallBits", $$v)},expression:"textParam.dataVerifyFormat.maxSmallBits"}})],1)])]):_vm._e()]),_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)])}
|
|
203150
|
-
var
|
|
203504
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=8c37eab6&
|
|
203505
|
+
var TextDialogvue_type_template_id_8c37eab6_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":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_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:{"type":"textarea","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":"38px"}},[_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)])}
|
|
203506
|
+
var TextDialogvue_type_template_id_8c37eab6_staticRenderFns = []
|
|
203151
203507
|
|
|
203152
203508
|
|
|
203153
|
-
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
203509
|
+
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=8c37eab6&
|
|
203154
203510
|
|
|
203155
203511
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
|
|
203156
203512
|
|
|
@@ -203429,8 +203785,8 @@ var TextDialogvue_type_style_index_0_lang_scss_ = __webpack_require__("e8ee");
|
|
|
203429
203785
|
|
|
203430
203786
|
var TextDialog_component = normalizeComponent(
|
|
203431
203787
|
textDialog_TextDialogvue_type_script_lang_ts_,
|
|
203432
|
-
|
|
203433
|
-
|
|
203788
|
+
TextDialogvue_type_template_id_8c37eab6_render,
|
|
203789
|
+
TextDialogvue_type_template_id_8c37eab6_staticRenderFns,
|
|
203434
203790
|
false,
|
|
203435
203791
|
null,
|
|
203436
203792
|
null,
|
|
@@ -203442,7 +203798,7 @@ var TextDialog_component = normalizeComponent(
|
|
|
203442
203798
|
// CONCATENATED MODULE: ./src/components/controls/textDialog/index.ts
|
|
203443
203799
|
|
|
203444
203800
|
/* harmony default export */ var textDialog = (textDialog_TextDialog);
|
|
203445
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203801
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
203446
203802
|
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)])}
|
|
203447
203803
|
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("第二乳磨牙")])])}]
|
|
203448
203804
|
|
|
@@ -203939,12 +204295,12 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
203939
204295
|
// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
203940
204296
|
|
|
203941
204297
|
/* harmony default export */ var expressionForm = (expressionForm_ExpressionForm);
|
|
203942
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203943
|
-
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)])}
|
|
203944
|
-
var
|
|
204298
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=63a63a26&
|
|
204299
|
+
var RadioCheckboxvue_type_template_id_63a63a26_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.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_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.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_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)])}
|
|
204300
|
+
var RadioCheckboxvue_type_template_id_63a63a26_staticRenderFns = []
|
|
203945
204301
|
|
|
203946
204302
|
|
|
203947
|
-
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
204303
|
+
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=63a63a26&
|
|
203948
204304
|
|
|
203949
204305
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
203950
204306
|
|
|
@@ -203979,7 +204335,7 @@ var defaultBox = {
|
|
|
203979
204335
|
dataMetaIdentifier: "",
|
|
203980
204336
|
identifierFormat: "",
|
|
203981
204337
|
readType: false,
|
|
203982
|
-
|
|
204338
|
+
isTransToText: false,
|
|
203983
204339
|
isEditText: false
|
|
203984
204340
|
};
|
|
203985
204341
|
|
|
@@ -204157,8 +204513,8 @@ var RadioCheckboxvue_type_style_index_0_lang_scss_ = __webpack_require__("5bc0")
|
|
|
204157
204513
|
|
|
204158
204514
|
var RadioCheckbox_component = normalizeComponent(
|
|
204159
204515
|
radioCheckBox_RadioCheckboxvue_type_script_lang_ts_,
|
|
204160
|
-
|
|
204161
|
-
|
|
204516
|
+
RadioCheckboxvue_type_template_id_63a63a26_render,
|
|
204517
|
+
RadioCheckboxvue_type_template_id_63a63a26_staticRenderFns,
|
|
204162
204518
|
false,
|
|
204163
204519
|
null,
|
|
204164
204520
|
null,
|
|
@@ -204170,7 +204526,7 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
204170
204526
|
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
204171
204527
|
|
|
204172
204528
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
204173
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204529
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
204174
204530
|
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)])}
|
|
204175
204531
|
var CommentDialogvue_type_template_id_34f4e997_staticRenderFns = []
|
|
204176
204532
|
|
|
@@ -204266,7 +204622,7 @@ var CommentDialog_component = normalizeComponent(
|
|
|
204266
204622
|
// CONCATENATED MODULE: ./src/components/controls/commentDialog/index.ts
|
|
204267
204623
|
|
|
204268
204624
|
/* harmony default export */ var commentDialog = (commentDialog_CommentDialog);
|
|
204269
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204625
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
204270
204626
|
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)])}
|
|
204271
204627
|
var WaterSetvue_type_template_id_468ee214_staticRenderFns = []
|
|
204272
204628
|
|
|
@@ -204381,7 +204737,7 @@ var WaterSet_component = normalizeComponent(
|
|
|
204381
204737
|
// CONCATENATED MODULE: ./src/components/controls/watermark/index.ts
|
|
204382
204738
|
|
|
204383
204739
|
|
|
204384
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204740
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
204385
204741
|
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)])}
|
|
204386
204742
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_staticRenderFns = []
|
|
204387
204743
|
|
|
@@ -204534,7 +204890,7 @@ var CustomAttributes_component = normalizeComponent(
|
|
|
204534
204890
|
// CONCATENATED MODULE: ./src/components/controls/customAttributes/index.ts
|
|
204535
204891
|
|
|
204536
204892
|
/* harmony default export */ var customAttributes = (customAttributes_CustomAttributes);
|
|
204537
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204893
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
204538
204894
|
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)])}
|
|
204539
204895
|
var DataSourcevue_type_template_id_d0d17200_staticRenderFns = []
|
|
204540
204896
|
|
|
@@ -204644,7 +205000,7 @@ var DataSource_component = normalizeComponent(
|
|
|
204644
205000
|
// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
204645
205001
|
|
|
204646
205002
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
204647
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205003
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=433a8f7f&scoped=true&
|
|
204648
205004
|
var ListSourcevue_type_template_id_433a8f7f_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:"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',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},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.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_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)])}
|
|
204649
205005
|
var ListSourcevue_type_template_id_433a8f7f_scoped_true_staticRenderFns = []
|
|
204650
205006
|
|
|
@@ -204926,7 +205282,7 @@ var ListSource_component = normalizeComponent(
|
|
|
204926
205282
|
// CONCATENATED MODULE: ./src/components/controls/listsource/index.ts
|
|
204927
205283
|
|
|
204928
205284
|
/* harmony default export */ var listsource = (listsource_ListSource);
|
|
204929
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205285
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
204930
205286
|
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)])}
|
|
204931
205287
|
var TablePropertyvue_type_template_id_4b692cf7_scoped_true_staticRenderFns = []
|
|
204932
205288
|
|
|
@@ -205131,7 +205487,7 @@ var TableProperty_component = normalizeComponent(
|
|
|
205131
205487
|
)
|
|
205132
205488
|
|
|
205133
205489
|
/* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
|
|
205134
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205490
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
205135
205491
|
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)])}
|
|
205136
205492
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_staticRenderFns = []
|
|
205137
205493
|
|
|
@@ -205399,7 +205755,7 @@ var TableRowProperty_component = normalizeComponent(
|
|
|
205399
205755
|
)
|
|
205400
205756
|
|
|
205401
205757
|
/* harmony default export */ var TableRowProperty = (TableRowProperty_component.exports);
|
|
205402
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205758
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
205403
205759
|
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)])}
|
|
205404
205760
|
var TableColPropertyvue_type_template_id_d037fa9c_staticRenderFns = []
|
|
205405
205761
|
|
|
@@ -205710,14 +206066,14 @@ var TableColProperty_component = normalizeComponent(
|
|
|
205710
206066
|
)
|
|
205711
206067
|
|
|
205712
206068
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
205713
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206069
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=134c4d55&scoped=true&
|
|
205714
206070
|
var TableCellPropertyvue_type_template_id_134c4d55_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',{on:{"change":_vm.isDrawGridlinesChange},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('ho-color-picker',{model:{value:(_vm.gridLinesColor[0]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 0, $$v)},expression:"gridLinesColor[0]"}})],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)])}
|
|
205715
206071
|
var TableCellPropertyvue_type_template_id_134c4d55_scoped_true_staticRenderFns = []
|
|
205716
206072
|
|
|
205717
206073
|
|
|
205718
206074
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=134c4d55&scoped=true&
|
|
205719
206075
|
|
|
205720
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206076
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
205721
206077
|
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)}
|
|
205722
206078
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_staticRenderFns = []
|
|
205723
206079
|
|
|
@@ -205811,7 +206167,7 @@ var PrintLineStyle_component = normalizeComponent(
|
|
|
205811
206167
|
// CONCATENATED MODULE: ./src/components/controls/printstyle/index.ts
|
|
205812
206168
|
|
|
205813
206169
|
|
|
205814
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206170
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
205815
206171
|
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)])])])}
|
|
205816
206172
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_staticRenderFns = []
|
|
205817
206173
|
|
|
@@ -206432,7 +206788,7 @@ var TableCellProperty_component = normalizeComponent(
|
|
|
206432
206788
|
|
|
206433
206789
|
|
|
206434
206790
|
|
|
206435
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206791
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
206436
206792
|
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)])}
|
|
206437
206793
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_staticRenderFns = []
|
|
206438
206794
|
|
|
@@ -206529,7 +206885,7 @@ var PageInfoes_component = normalizeComponent(
|
|
|
206529
206885
|
// CONCATENATED MODULE: ./src/components/controls/pageInfoes/index.ts
|
|
206530
206886
|
|
|
206531
206887
|
/* harmony default export */ var pageInfoes = (pageInfoes_PageInfoes);
|
|
206532
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206888
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
206533
206889
|
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)])}
|
|
206534
206890
|
var Delimitervue_type_template_id_0277f9ca_staticRenderFns = []
|
|
206535
206891
|
|
|
@@ -206621,7 +206977,7 @@ var Delimiter_component = normalizeComponent(
|
|
|
206621
206977
|
// CONCATENATED MODULE: ./src/components/controls/delimiter/index.ts
|
|
206622
206978
|
|
|
206623
206979
|
/* harmony default export */ var delimiter = (delimiter_Delimiter);
|
|
206624
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206980
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
206625
206981
|
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)])}
|
|
206626
206982
|
var Signvue_type_template_id_f4860f7c_staticRenderFns = []
|
|
206627
206983
|
|
|
@@ -207008,7 +207364,7 @@ var ControlModal_component = normalizeComponent(
|
|
|
207008
207364
|
)
|
|
207009
207365
|
|
|
207010
207366
|
/* harmony default export */ var controls_ControlModal = (ControlModal_component.exports);
|
|
207011
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207367
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
207012
207368
|
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)])}
|
|
207013
207369
|
var FindReplacevue_type_template_id_fd4f089c_staticRenderFns = []
|
|
207014
207370
|
|
|
@@ -207158,7 +207514,7 @@ var FindReplace_component = normalizeComponent(
|
|
|
207158
207514
|
// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
207159
207515
|
|
|
207160
207516
|
/* harmony default export */ var findReplace = (FindReplace);
|
|
207161
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207517
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
207162
207518
|
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)}
|
|
207163
207519
|
var ViewContinuousXmlvue_type_template_id_db8cca98_staticRenderFns = []
|
|
207164
207520
|
|
|
@@ -208269,6 +208625,15 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
208269
208625
|
}
|
|
208270
208626
|
}
|
|
208271
208627
|
}
|
|
208628
|
+
}, {
|
|
208629
|
+
key: "superiorSignsChange",
|
|
208630
|
+
value: function superiorSignsChange() {
|
|
208631
|
+
if (Array.isArray(this.superiorSigns)) {
|
|
208632
|
+
var activeDocId = this.activeDocId ? this.activeDocId : this.hoEditorFactoryIdList[0];
|
|
208633
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().hoEditorFactoryMap.get(activeDocId);
|
|
208634
|
+
hoEditorFactory && (hoEditorFactory.superiorSigns = Object(toConsumableArray["a" /* default */])(this.superiorSigns));
|
|
208635
|
+
}
|
|
208636
|
+
}
|
|
208272
208637
|
}, {
|
|
208273
208638
|
key: "created",
|
|
208274
208639
|
value: function created() {
|
|
@@ -208622,6 +208987,10 @@ __decorate([Prop({
|
|
|
208622
208987
|
default: false
|
|
208623
208988
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "notUseModal", void 0);
|
|
208624
208989
|
|
|
208990
|
+
__decorate([Prop({
|
|
208991
|
+
default: false
|
|
208992
|
+
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "isUseTipText", void 0);
|
|
208993
|
+
|
|
208625
208994
|
__decorate([Watch("contentIsModify", {
|
|
208626
208995
|
deep: true
|
|
208627
208996
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "contentIsModifyChange", null);
|
|
@@ -208650,6 +209019,8 @@ __decorate([Watch("docProperty", {
|
|
|
208650
209019
|
deep: true
|
|
208651
209020
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "docPropertyChange", null);
|
|
208652
209021
|
|
|
209022
|
+
__decorate([Watch("superiorSigns")], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "superiorSignsChange", null);
|
|
209023
|
+
|
|
208653
209024
|
HoDocsvue_type_script_lang_ts_HoDocs = __decorate([vue_class_component_esm({
|
|
208654
209025
|
name: "HoDocs",
|
|
208655
209026
|
components: {
|
|
@@ -208677,7 +209048,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
208677
209048
|
|
|
208678
209049
|
var HoDocs_component = normalizeComponent(
|
|
208679
209050
|
components_HoDocsvue_type_script_lang_ts_,
|
|
208680
|
-
|
|
209051
|
+
HoDocsvue_type_template_id_303f61c7_render,
|
|
208681
209052
|
staticRenderFns,
|
|
208682
209053
|
false,
|
|
208683
209054
|
null,
|
|
@@ -208687,14 +209058,14 @@ var HoDocs_component = normalizeComponent(
|
|
|
208687
209058
|
)
|
|
208688
209059
|
|
|
208689
209060
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
208690
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209061
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=1ad97ddc&
|
|
208691
209062
|
var ToolBarvue_type_template_id_1ad97ddc_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)}
|
|
208692
209063
|
var ToolBarvue_type_template_id_1ad97ddc_staticRenderFns = []
|
|
208693
209064
|
|
|
208694
209065
|
|
|
208695
209066
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=1ad97ddc&
|
|
208696
209067
|
|
|
208697
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209068
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
208698
209069
|
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)}
|
|
208699
209070
|
var HoMedicalExpressionvue_type_template_id_71faca1e_scoped_true_staticRenderFns = []
|
|
208700
209071
|
|
|
@@ -208799,7 +209170,7 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
208799
209170
|
)
|
|
208800
209171
|
|
|
208801
209172
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
208802
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209173
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=79c29b08&
|
|
208803
209174
|
var HoPrintDialogvue_type_template_id_79c29b08_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)])}
|
|
208804
209175
|
var HoPrintDialogvue_type_template_id_79c29b08_staticRenderFns = []
|
|
208805
209176
|
|
|
@@ -209860,7 +210231,7 @@ ToolParagraph_ToolParagraph = __decorate([vue_class_component_esm({
|
|
|
209860
210231
|
}
|
|
209861
210232
|
})], ToolParagraph_ToolParagraph);
|
|
209862
210233
|
/* harmony default export */ var toolbar_ToolParagraph = (ToolParagraph_ToolParagraph);
|
|
209863
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
210234
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
209864
210235
|
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)}
|
|
209865
210236
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_staticRenderFns = []
|
|
209866
210237
|
|
|
@@ -209926,7 +210297,7 @@ var MedicalExpressions_component = normalizeComponent(
|
|
|
209926
210297
|
)
|
|
209927
210298
|
|
|
209928
210299
|
/* harmony default export */ var MedicalExpressions = (MedicalExpressions_component.exports);
|
|
209929
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
210300
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
209930
210301
|
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)}
|
|
209931
210302
|
var UploadImagevue_type_template_id_208b2688_scoped_true_staticRenderFns = []
|
|
209932
210303
|
|
|
@@ -210094,7 +210465,7 @@ var UploadImage_component = normalizeComponent(
|
|
|
210094
210465
|
)
|
|
210095
210466
|
|
|
210096
210467
|
/* harmony default export */ var toolbar_UploadImage = (UploadImage_component.exports);
|
|
210097
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
210468
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
210098
210469
|
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)])])])])}
|
|
210099
210470
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_staticRenderFns = []
|
|
210100
210471
|
|
|
@@ -210711,7 +211082,7 @@ ToolControl_ToolControls = __decorate([vue_class_component_esm({
|
|
|
210711
211082
|
}
|
|
210712
211083
|
})], ToolControl_ToolControls);
|
|
210713
211084
|
/* harmony default export */ var toolbar_ToolControl = (ToolControl_ToolControls);
|
|
210714
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211085
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
210715
211086
|
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:(
|
|
210716
211087
|
function () {
|
|
210717
211088
|
_vm.isDocumentShow = false;
|
|
@@ -210785,14 +211156,14 @@ var UpdateDocument_component = normalizeComponent(
|
|
|
210785
211156
|
)
|
|
210786
211157
|
|
|
210787
211158
|
/* harmony default export */ var components_UpdateDocument = (UpdateDocument_component.exports);
|
|
210788
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211159
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
210789
211160
|
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)}
|
|
210790
211161
|
var ToolTablevue_type_template_id_7e9dd939_staticRenderFns = []
|
|
210791
211162
|
|
|
210792
211163
|
|
|
210793
211164
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
210794
211165
|
|
|
210795
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211166
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=595addeb&
|
|
210796
211167
|
var TableFeaturesvue_type_template_id_595addeb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{class:_vm.className},[_c('ul',{staticClass:"mouse-right-menu"},[(_vm.table.insertRowAbove)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_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)}
|
|
210797
211168
|
var TableFeaturesvue_type_template_id_595addeb_staticRenderFns = []
|
|
210798
211169
|
|
|
@@ -211121,7 +211492,7 @@ var ToolTable_component = normalizeComponent(
|
|
|
211121
211492
|
)
|
|
211122
211493
|
|
|
211123
211494
|
/* harmony default export */ var toolbar_ToolTable = (ToolTable_component.exports);
|
|
211124
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211495
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
211125
211496
|
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)])])}
|
|
211126
211497
|
var PageSettingvue_type_template_id_187fdd38_scoped_true_staticRenderFns = []
|
|
211127
211498
|
|
|
@@ -211319,7 +211690,7 @@ var PageSetting_component = normalizeComponent(
|
|
|
211319
211690
|
)
|
|
211320
211691
|
|
|
211321
211692
|
/* harmony default export */ var toolbar_PageSetting = (PageSetting_component.exports);
|
|
211322
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211693
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
211323
211694
|
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("打开文件")])])}
|
|
211324
211695
|
var UploadFilevue_type_template_id_4361e817_staticRenderFns = []
|
|
211325
211696
|
|
|
@@ -211402,7 +211773,7 @@ var UploadFile_component = normalizeComponent(
|
|
|
211402
211773
|
)
|
|
211403
211774
|
|
|
211404
211775
|
/* harmony default export */ var toolbar_UploadFile = (UploadFile_component.exports);
|
|
211405
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211776
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=13465a06&scoped=true&
|
|
211406
211777
|
var HistoryLogsvue_type_template_id_13465a06_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()])}
|
|
211407
211778
|
var HistoryLogsvue_type_template_id_13465a06_scoped_true_staticRenderFns = []
|
|
211408
211779
|
|
|
@@ -212213,14 +212584,14 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
212213
212584
|
}
|
|
212214
212585
|
})], ToolBarChild_ToolBarChild);
|
|
212215
212586
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
212216
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
212587
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=0d21dc43&
|
|
212217
212588
|
var ToolControlvue_type_template_id_0d21dc43_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)}
|
|
212218
212589
|
var ToolControlvue_type_template_id_0d21dc43_staticRenderFns = []
|
|
212219
212590
|
|
|
212220
212591
|
|
|
212221
212592
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=0d21dc43&
|
|
212222
212593
|
|
|
212223
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
212594
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
212224
212595
|
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)}
|
|
212225
212596
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_staticRenderFns = []
|
|
212226
212597
|
|
|
@@ -212325,7 +212696,7 @@ var HoSpecialChars_component = normalizeComponent(
|
|
|
212325
212696
|
)
|
|
212326
212697
|
|
|
212327
212698
|
/* harmony default export */ var insert_HoSpecialChars = (HoSpecialChars_component.exports);
|
|
212328
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
212699
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
212329
212700
|
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)}
|
|
212330
212701
|
var HoDateTimevue_type_template_id_5e85d543_staticRenderFns = []
|
|
212331
212702
|
|
|
@@ -212430,7 +212801,7 @@ var HoDateTime_component = normalizeComponent(
|
|
|
212430
212801
|
)
|
|
212431
212802
|
|
|
212432
212803
|
/* harmony default export */ var insert_HoDateTime = (HoDateTime_component.exports);
|
|
212433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
212804
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
212434
212805
|
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)}
|
|
212435
212806
|
var HoFormulavue_type_template_id_88e6be42_staticRenderFns = []
|
|
212436
212807
|
|
|
@@ -212788,14 +213159,14 @@ var ToolControl_component = normalizeComponent(
|
|
|
212788
213159
|
)
|
|
212789
213160
|
|
|
212790
213161
|
/* harmony default export */ var insert_ToolControl = (ToolControl_component.exports);
|
|
212791
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213162
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
212792
213163
|
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)}
|
|
212793
213164
|
var ToolTablevue_type_template_id_3c999b04_staticRenderFns = []
|
|
212794
213165
|
|
|
212795
213166
|
|
|
212796
213167
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
212797
213168
|
|
|
212798
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213169
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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=384eb379&
|
|
212799
213170
|
var HoTableFeaturesvue_type_template_id_384eb379_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)}
|
|
212800
213171
|
var HoTableFeaturesvue_type_template_id_384eb379_staticRenderFns = []
|
|
212801
213172
|
|
|
@@ -213795,7 +214166,7 @@ var ToolBar_component = normalizeComponent(
|
|
|
213795
214166
|
)
|
|
213796
214167
|
|
|
213797
214168
|
/* harmony default export */ var toolbar_ToolBar = (ToolBar_component.exports);
|
|
213798
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
214169
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b0ef7892-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&
|
|
213799
214170
|
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)}
|
|
213800
214171
|
var TabPanevue_type_template_id_71cdc485_staticRenderFns = []
|
|
213801
214172
|
|
|
@@ -215455,6 +215826,8 @@ exports.f = Object.getOwnPropertySymbols;
|
|
|
215455
215826
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("8d1d");
|
|
215456
215827
|
/* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("4b89");
|
|
215457
215828
|
/* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("053b");
|
|
215829
|
+
/* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("eb7b");
|
|
215830
|
+
|
|
215458
215831
|
|
|
215459
215832
|
|
|
215460
215833
|
|
|
@@ -215751,6 +216124,12 @@ var ParseUndoUnit = /*#__PURE__*/function () {
|
|
|
215751
216124
|
var _startPosition$node2;
|
|
215752
216125
|
|
|
215753
216126
|
(_startPosition$node2 = startPosition.node) === null || _startPosition$node2 === void 0 ? void 0 : _startPosition$node2.parentNode.update();
|
|
216127
|
+
var ppNode = startPosition.node.parentNode.parentNode;
|
|
216128
|
+
|
|
216129
|
+
if (ppNode instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_18__[/* CellNode */ "a"] && ppNode.drawCell.drawPageCells.length > 1) {
|
|
216130
|
+
ppNode.drawCell.needUpdate = true;
|
|
216131
|
+
ppNode.table.update();
|
|
216132
|
+
}
|
|
215754
216133
|
}
|
|
215755
216134
|
|
|
215756
216135
|
this._tmp.start = curRange.startPath;
|