hoeditor-web 2.0.1 → 2.0.2
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 +571 -489
- package/lib/hoeditor.css +2 -2
- package/lib/hoeditor.umd.js +571 -489
- package/lib/hoeditor.umd.min.js +74 -74
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -2555,6 +2555,17 @@ module.exports = !__webpack_require__("4b8b")(function () {
|
|
|
2555
2555
|
});
|
|
2556
2556
|
|
|
2557
2557
|
|
|
2558
|
+
/***/ }),
|
|
2559
|
+
|
|
2560
|
+
/***/ "0c55":
|
|
2561
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2562
|
+
|
|
2563
|
+
"use strict";
|
|
2564
|
+
/* 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");
|
|
2565
|
+
/* 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__);
|
|
2566
|
+
/* unused harmony reexport * */
|
|
2567
|
+
|
|
2568
|
+
|
|
2558
2569
|
/***/ }),
|
|
2559
2570
|
|
|
2560
2571
|
/***/ "0c67":
|
|
@@ -22420,6 +22431,8 @@ _ctx.prototype.__createElement = function (elementName, properties, resetFill) {
|
|
|
22420
22431
|
// console.log(properties)
|
|
22421
22432
|
|
|
22422
22433
|
|
|
22434
|
+
element.setAttribute('font-style', 'normal');
|
|
22435
|
+
|
|
22423
22436
|
if ((properties['font-family'] === '宋体' || properties['font-family'] === 'SimSun' || properties['font-family'] === '宋体, SimSun') && properties['font-weight'] === 'bold') {
|
|
22424
22437
|
element.setAttribute('stroke', '#000');
|
|
22425
22438
|
element.setAttribute('stroke-width', '1');
|
|
@@ -22433,12 +22446,11 @@ _ctx.prototype.__createElement = function (elementName, properties, resetFill) {
|
|
|
22433
22446
|
element.setAttribute('stroke', '#000000');
|
|
22434
22447
|
element.setAttribute('stroke-width', '1');
|
|
22435
22448
|
element.setAttribute('font-weight', 'normal');
|
|
22436
|
-
} else {
|
|
22437
|
-
//
|
|
22449
|
+
} else if (properties['font-family'] !== 'Times New Roman') {
|
|
22450
|
+
// 非宋体黑体, Times New Roman默认转换成普通宋体
|
|
22438
22451
|
element.setAttribute('font-family', 'SimSun');
|
|
22439
22452
|
}
|
|
22440
22453
|
|
|
22441
|
-
element.setAttribute('font-style', 'normal');
|
|
22442
22454
|
return element;
|
|
22443
22455
|
};
|
|
22444
22456
|
/**
|
|
@@ -25607,13 +25619,6 @@ exports.UPCE = _UPCE2.default;
|
|
|
25607
25619
|
|
|
25608
25620
|
/***/ }),
|
|
25609
25621
|
|
|
25610
|
-
/***/ "243b":
|
|
25611
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
25612
|
-
|
|
25613
|
-
// extracted by mini-css-extract-plugin
|
|
25614
|
-
|
|
25615
|
-
/***/ }),
|
|
25616
|
-
|
|
25617
25622
|
/***/ "24e8":
|
|
25618
25623
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25619
25624
|
|
|
@@ -30443,7 +30448,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
30443
30448
|
/***/ "2c6d":
|
|
30444
30449
|
/***/ (function(module) {
|
|
30445
30450
|
|
|
30446
|
-
module.exports = JSON.parse("{\"a\":[{\"ch\":\"宋体\",\"en\":\"SimSun\",\"family\":\"宋体, SimSun\"}],\"b\":[{\"name\":\"初号\",\"value\":42},{\"name\":\"小初\",\"value\":36},{\"name\":\"一号\",\"value\":26},{\"name\":\"小一\",\"value\":24},{\"name\":\"二号\",\"value\":22},{\"name\":\"小二\",\"value\":18},{\"name\":\"三号\",\"value\":16},{\"name\":\"小三\",\"value\":15},{\"name\":\"四号\",\"value\":14},{\"name\":\"小四\",\"value\":12},{\"name\":\"五号\",\"value\":10.5},{\"name\":\"小五\",\"value\":9},{\"name\":\"六号\",\"value\":7.5},{\"name\":\"小六\",\"value\":6.5},{\"name\":\"七号\",\"value\":5.5},{\"name\":\"八号\",\"value\":5}]}");
|
|
30451
|
+
module.exports = JSON.parse("{\"a\":[{\"ch\":\"宋体\",\"en\":\"SimSun\",\"family\":\"宋体, SimSun\"},{\"ch\":\"Times New Roman\",\"en\":\"Times New Roman\",\"family\":\"Times New Roman\"}],\"b\":[{\"name\":\"初号\",\"value\":42},{\"name\":\"小初\",\"value\":36},{\"name\":\"一号\",\"value\":26},{\"name\":\"小一\",\"value\":24},{\"name\":\"二号\",\"value\":22},{\"name\":\"小二\",\"value\":18},{\"name\":\"三号\",\"value\":16},{\"name\":\"小三\",\"value\":15},{\"name\":\"四号\",\"value\":14},{\"name\":\"小四\",\"value\":12},{\"name\":\"五号\",\"value\":10.5},{\"name\":\"小五\",\"value\":9},{\"name\":\"六号\",\"value\":7.5},{\"name\":\"小六\",\"value\":6.5},{\"name\":\"七号\",\"value\":5.5},{\"name\":\"八号\",\"value\":5}]}");
|
|
30447
30452
|
|
|
30448
30453
|
/***/ }),
|
|
30449
30454
|
|
|
@@ -31782,17 +31787,6 @@ var TextStyle = /*#__PURE__*/function () {
|
|
|
31782
31787
|
return TextStyle;
|
|
31783
31788
|
}();
|
|
31784
31789
|
|
|
31785
|
-
/***/ }),
|
|
31786
|
-
|
|
31787
|
-
/***/ "3367":
|
|
31788
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31789
|
-
|
|
31790
|
-
"use strict";
|
|
31791
|
-
/* 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_TableCellProperty_vue_vue_type_style_index_0_id_58937242_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e8f8");
|
|
31792
|
-
/* 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_TableCellProperty_vue_vue_type_style_index_0_id_58937242_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_TableCellProperty_vue_vue_type_style_index_0_id_58937242_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
31793
|
-
/* unused harmony reexport * */
|
|
31794
|
-
|
|
31795
|
-
|
|
31796
31790
|
/***/ }),
|
|
31797
31791
|
|
|
31798
31792
|
/***/ "3384":
|
|
@@ -37525,6 +37519,17 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
37525
37519
|
|
|
37526
37520
|
// extracted by mini-css-extract-plugin
|
|
37527
37521
|
|
|
37522
|
+
/***/ }),
|
|
37523
|
+
|
|
37524
|
+
/***/ "3e07":
|
|
37525
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
37526
|
+
|
|
37527
|
+
"use strict";
|
|
37528
|
+
/* 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_TableCellProperty_vue_vue_type_style_index_0_id_134c4d55_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c29b");
|
|
37529
|
+
/* 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_TableCellProperty_vue_vue_type_style_index_0_id_134c4d55_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_TableCellProperty_vue_vue_type_style_index_0_id_134c4d55_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
37530
|
+
/* unused harmony reexport * */
|
|
37531
|
+
|
|
37532
|
+
|
|
37528
37533
|
/***/ }),
|
|
37529
37534
|
|
|
37530
37535
|
/***/ "3f6b":
|
|
@@ -43380,17 +43385,6 @@ var UndoService_UndoService = /*#__PURE__*/function () {
|
|
|
43380
43385
|
return UndoService;
|
|
43381
43386
|
}();
|
|
43382
43387
|
|
|
43383
|
-
/***/ }),
|
|
43384
|
-
|
|
43385
|
-
/***/ "4562":
|
|
43386
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43387
|
-
|
|
43388
|
-
"use strict";
|
|
43389
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("54a9");
|
|
43390
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
43391
|
-
/* unused harmony reexport * */
|
|
43392
|
-
|
|
43393
|
-
|
|
43394
43388
|
/***/ }),
|
|
43395
43389
|
|
|
43396
43390
|
/***/ "45eb":
|
|
@@ -46693,34 +46687,23 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
46693
46687
|
// droots.length - 1,
|
|
46694
46688
|
// this.getNodePath()
|
|
46695
46689
|
// );
|
|
46696
|
-
}
|
|
46697
|
-
|
|
46698
|
-
|
|
46699
|
-
|
|
46700
|
-
|
|
46701
|
-
|
|
46702
|
-
|
|
46703
|
-
|
|
46704
|
-
|
|
46705
|
-
|
|
46706
|
-
|
|
46707
|
-
|
|
46708
|
-
|
|
46709
|
-
|
|
46710
|
-
|
|
46711
|
-
|
|
46712
|
-
if (mr + mainCell.rowSpan - 1 > maxR) {
|
|
46713
|
-
maxR = mr + mainCell.rowSpan - 1;
|
|
46714
|
-
}
|
|
46715
|
-
}
|
|
46716
|
-
}
|
|
46717
|
-
|
|
46718
|
-
while (maxR > r) {
|
|
46719
|
-
maxR = this.getSelectMaxR(maxR);
|
|
46720
|
-
}
|
|
46690
|
+
} // public getSelectMaxR(r: number): number {
|
|
46691
|
+
// let maxR = r;
|
|
46692
|
+
// for (let j = 0; j < this._colCount; j++) {
|
|
46693
|
+
// const cell = this._rows[r][j];
|
|
46694
|
+
// if (!cell) {
|
|
46695
|
+
// const [mainCell, mr, mc] = this.getMainCell(r, j);
|
|
46696
|
+
// if (mr + mainCell.rowSpan - 1 > maxR) {
|
|
46697
|
+
// maxR = mr + mainCell.rowSpan - 1;
|
|
46698
|
+
// }
|
|
46699
|
+
// }
|
|
46700
|
+
// }
|
|
46701
|
+
// while (maxR > r) {
|
|
46702
|
+
// maxR = this.getSelectMaxR(maxR);
|
|
46703
|
+
// }
|
|
46704
|
+
// return maxR;
|
|
46705
|
+
// }
|
|
46721
46706
|
|
|
46722
|
-
return maxR;
|
|
46723
|
-
}
|
|
46724
46707
|
}, {
|
|
46725
46708
|
key: "getHeadRowCountHeight",
|
|
46726
46709
|
value: function getHeadRowCountHeight() {
|
|
@@ -46737,11 +46720,32 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
46737
46720
|
}
|
|
46738
46721
|
|
|
46739
46722
|
if (ret >= 0) {
|
|
46723
|
+
var newMaxR = -1;
|
|
46740
46724
|
maxR = ret;
|
|
46741
|
-
maxR = this.getSelectMaxR(maxR);
|
|
46742
46725
|
|
|
46743
|
-
|
|
46744
|
-
|
|
46726
|
+
while (newMaxR != maxR) {
|
|
46727
|
+
if (newMaxR > maxR) {
|
|
46728
|
+
maxR = newMaxR;
|
|
46729
|
+
} else {
|
|
46730
|
+
newMaxR = maxR;
|
|
46731
|
+
}
|
|
46732
|
+
|
|
46733
|
+
for (var j = 0; j < this._colCount; j++) {
|
|
46734
|
+
var _this$getMainCell13 = this.getMainCell(maxR, j),
|
|
46735
|
+
_this$getMainCell14 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this$getMainCell13, 3),
|
|
46736
|
+
cell = _this$getMainCell14[0],
|
|
46737
|
+
mr = _this$getMainCell14[1],
|
|
46738
|
+
mc = _this$getMainCell14[2];
|
|
46739
|
+
|
|
46740
|
+
if (cell && maxR + cell.rowSpan - 1 > newMaxR) {
|
|
46741
|
+
newMaxR = cell.rowSpan - 1;
|
|
46742
|
+
}
|
|
46743
|
+
}
|
|
46744
|
+
} // maxR = this.getSelectMaxR(maxR);
|
|
46745
|
+
|
|
46746
|
+
|
|
46747
|
+
for (var _j3 = 0; _j3 <= maxR; _j3++) {
|
|
46748
|
+
headerRowHeight += this.drawTable.drawPageTables[0].getPartRowHeight(_j3);
|
|
46745
46749
|
}
|
|
46746
46750
|
}
|
|
46747
46751
|
|
|
@@ -48305,17 +48309,6 @@ if (!_vue2.default.prototype.$isServer) {
|
|
|
48305
48309
|
|
|
48306
48310
|
exports.default = PopupManager;
|
|
48307
48311
|
|
|
48308
|
-
/***/ }),
|
|
48309
|
-
|
|
48310
|
-
/***/ "4b36":
|
|
48311
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
48312
|
-
|
|
48313
|
-
"use strict";
|
|
48314
|
-
/* 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_858143be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9373");
|
|
48315
|
-
/* 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_858143be_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_858143be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
48316
|
-
/* unused harmony reexport * */
|
|
48317
|
-
|
|
48318
|
-
|
|
48319
48312
|
/***/ }),
|
|
48320
48313
|
|
|
48321
48314
|
/***/ "4b89":
|
|
@@ -48431,7 +48424,7 @@ exports.default = PopupManager;
|
|
|
48431
48424
|
/*
|
|
48432
48425
|
* @Author: your name
|
|
48433
48426
|
* @Date: 2020-11-03 15:17:54
|
|
48434
|
-
* @LastEditTime: 2021-12-
|
|
48427
|
+
* @LastEditTime: 2021-12-22 20:03:10
|
|
48435
48428
|
* @LastEditors: Please set LastEditors
|
|
48436
48429
|
* @Description: In User Settings Edit
|
|
48437
48430
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -48988,7 +48981,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
48988
48981
|
|
|
48989
48982
|
|
|
48990
48983
|
return _this;
|
|
48991
|
-
}
|
|
48984
|
+
} // private _isMultiLinesDisplay = false;//是否多行显示
|
|
48985
|
+
|
|
48992
48986
|
/**
|
|
48993
48987
|
* Getter alignWithBlocked
|
|
48994
48988
|
* @return {boolean}
|
|
@@ -49234,7 +49228,15 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
49234
49228
|
if (this._defaultValue !== value) {
|
|
49235
49229
|
this._defaultValue = value;
|
|
49236
49230
|
}
|
|
49237
|
-
} //
|
|
49231
|
+
} // get isMultiLinesDisplay(): boolean {
|
|
49232
|
+
// return this._isMultiLinesDisplay;
|
|
49233
|
+
// }
|
|
49234
|
+
// set isMultiLinesDisplay(value: boolean) {
|
|
49235
|
+
// if (this._isMultiLinesDisplay !== value) {
|
|
49236
|
+
// this._isMultiLinesDisplay = value;
|
|
49237
|
+
// }
|
|
49238
|
+
// }
|
|
49239
|
+
// get importStyle(): ImportStyle {
|
|
49238
49240
|
// return this._importStyle;
|
|
49239
49241
|
// }
|
|
49240
49242
|
// set importStyle(value: ImportStyle) {
|
|
@@ -49472,13 +49474,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
49472
49474
|
}, {
|
|
49473
49475
|
key: "getFieldText",
|
|
49474
49476
|
value: function getFieldText() {
|
|
49477
|
+
var _this3 = this;
|
|
49478
|
+
|
|
49475
49479
|
var text = "";
|
|
49476
49480
|
|
|
49477
49481
|
var loopChildNodes = function loopChildNodes(node) {
|
|
49478
49482
|
var nodes = node.childNodes.slice(1);
|
|
49479
49483
|
nodes.forEach(function (childNode) {
|
|
49480
49484
|
if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__[/* TextNode */ "a"]) {
|
|
49481
|
-
|
|
49485
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__[/* HOEditorFactorys */ "a"].instance().getFactory(_this3.hoEditorFactoryID);
|
|
49486
|
+
var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
|
|
49487
|
+
|
|
49488
|
+
if (textStyle.deleterIndex === -1 || textStyle.deleterIndex === undefined) {
|
|
49489
|
+
text += childNode.text;
|
|
49490
|
+
}
|
|
49482
49491
|
} else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_39__[/* ControlNode */ "a"]) {
|
|
49483
49492
|
text += childNode.text;
|
|
49484
49493
|
} else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_37__[/* BaseCombineNode */ "a"]) {
|
|
@@ -50112,6 +50121,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50112
50121
|
customProperty: this.customProperty,
|
|
50113
50122
|
alignWithBlocked: this.alignWithBlocked,
|
|
50114
50123
|
readType: this.readType,
|
|
50124
|
+
// isMultiLinesDisplay: this.isMultiLinesDisplay,
|
|
50115
50125
|
// "childNodes": childNodes
|
|
50116
50126
|
childNodes: childNodes
|
|
50117
50127
|
};
|
|
@@ -50212,7 +50222,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50212
50222
|
json.downListProperty._allowMultiSelected = json.downListProperty.allowMultiSelected ? json.downListProperty.allowMultiSelected : json.downListProperty._allowMultiSelected;
|
|
50213
50223
|
json.alignWithBlocked = !json.alignWithBlocked ? false : json.alignWithBlocked;
|
|
50214
50224
|
json.isSynchro = !json.isSynchro ? false : json.isSynchro;
|
|
50215
|
-
json.readType = json.readType ? Number(json.readType) : -1;
|
|
50225
|
+
json.readType = json.readType ? Number(json.readType) : -1; // json.isMultiLinesDisplay = !json.isMultiLinesDisplay ? false : json.isMultiLinesDisplay;
|
|
50226
|
+
|
|
50216
50227
|
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_38__[/* NodeType */ "b"].ntField, json); // this.insertChild
|
|
50217
50228
|
|
|
50218
50229
|
if (json.childNodes) {
|
|
@@ -50229,7 +50240,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50229
50240
|
hoEditorFactory.structureConvert._markNodes.push(node);
|
|
50230
50241
|
}
|
|
50231
50242
|
|
|
50232
|
-
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"]) {
|
|
50243
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
|
|
50233
50244
|
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
50234
50245
|
}
|
|
50235
50246
|
}
|
|
@@ -50243,7 +50254,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50243
50254
|
hoEditorFactory.structureConvert._markNodes.push(_node2);
|
|
50244
50255
|
}
|
|
50245
50256
|
|
|
50246
|
-
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"]) {
|
|
50257
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
|
|
50247
50258
|
hoEditorFactory.structureConvert._superiorSign[0] = _node2;
|
|
50248
50259
|
}
|
|
50249
50260
|
}
|
|
@@ -56070,7 +56081,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56070
56081
|
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
56071
56082
|
// const isValidPath = hoEditorFactory.docTree.checkPath(value);
|
|
56072
56083
|
if (value.indexOf("-") >= 0) {
|
|
56073
|
-
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("
|
|
56084
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("当前路径s(" + value + ")异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。");
|
|
56074
56085
|
|
|
56075
56086
|
return;
|
|
56076
56087
|
} else {
|
|
@@ -56088,7 +56099,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56088
56099
|
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
56089
56100
|
// const isValidPath = hoEditorFactory.docTree.checkPath(value);
|
|
56090
56101
|
if (value.indexOf("-") >= 0) {
|
|
56091
|
-
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("
|
|
56102
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("当前路径e(" + value + ")异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。");
|
|
56092
56103
|
|
|
56093
56104
|
return;
|
|
56094
56105
|
} else {
|
|
@@ -56739,13 +56750,6 @@ exports.default = {
|
|
|
56739
56750
|
|
|
56740
56751
|
/***/ }),
|
|
56741
56752
|
|
|
56742
|
-
/***/ "54a9":
|
|
56743
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
56744
|
-
|
|
56745
|
-
// extracted by mini-css-extract-plugin
|
|
56746
|
-
|
|
56747
|
-
/***/ }),
|
|
56748
|
-
|
|
56749
56753
|
/***/ "5524":
|
|
56750
56754
|
/***/ (function(module, exports) {
|
|
56751
56755
|
|
|
@@ -58970,6 +58974,7 @@ var DrawPageCell_DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
58970
58974
|
aTop = _get$call2[1],
|
|
58971
58975
|
aRestHeight = _get$call2[2];
|
|
58972
58976
|
|
|
58977
|
+
this._docHeight -= dTop;
|
|
58973
58978
|
this.updateDHeight();
|
|
58974
58979
|
|
|
58975
58980
|
var _this$_cell$table$get = this._cell.table.getCellRowCol(this._cell),
|
|
@@ -59224,6 +59229,7 @@ var DrawPageCell_DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
59224
59229
|
|
|
59225
59230
|
var ret = Object(get["a" /* default */])(Object(getPrototypeOf["a" /* default */])(DrawPageCell.prototype), "update", this).call(this, prevDrawArea, dlines, startIndex, valignTop, restHeight);
|
|
59226
59231
|
|
|
59232
|
+
this._docHeight -= valignTop;
|
|
59227
59233
|
this.updateDHeight();
|
|
59228
59234
|
return ret; // this.updateTouchArea(this._dHeight);
|
|
59229
59235
|
// this.paintCellBackground(this._dHeight);
|
|
@@ -69606,6 +69612,17 @@ var DocTree = /*#__PURE__*/function () {
|
|
|
69606
69612
|
// this.pageProperty.rightMargin;
|
|
69607
69613
|
// }
|
|
69608
69614
|
|
|
69615
|
+
/***/ }),
|
|
69616
|
+
|
|
69617
|
+
/***/ "6d28":
|
|
69618
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
69619
|
+
|
|
69620
|
+
"use strict";
|
|
69621
|
+
/* 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_HoFooter_vue_vue_type_style_index_0_id_5908306a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e212");
|
|
69622
|
+
/* 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_HoFooter_vue_vue_type_style_index_0_id_5908306a_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_HoFooter_vue_vue_type_style_index_0_id_5908306a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
69623
|
+
/* unused harmony reexport * */
|
|
69624
|
+
|
|
69625
|
+
|
|
69609
69626
|
/***/ }),
|
|
69610
69627
|
|
|
69611
69628
|
/***/ "6d4d":
|
|
@@ -80347,7 +80364,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
80347
80364
|
if (dLine.drawItems.length > 0) {
|
|
80348
80365
|
dest.x = dLine.localToLocal(dLine.drawItems[0].x, dLine.drawItems[0].y, dPage.drawDocContainer).x;
|
|
80349
80366
|
} else {
|
|
80350
|
-
dest.x += dLine.dWidth;
|
|
80367
|
+
dest.x += dLine.dWidth / 2;
|
|
80351
80368
|
}
|
|
80352
80369
|
} //this._caret.dLine = dLine;
|
|
80353
80370
|
|
|
@@ -81801,8 +81818,14 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
81801
81818
|
key: "updatePageCountNodes",
|
|
81802
81819
|
value: function updatePageCountNodes() {
|
|
81803
81820
|
// const pageCount = this.drawPages.length;
|
|
81821
|
+
var hoeditfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
81804
81822
|
this.pageCountNodes.forEach(function (value, key) {
|
|
81805
|
-
value.drawNodes[0].updatePaint();
|
|
81823
|
+
value.drawNodes[0].updatePaint();
|
|
81824
|
+
var dArea = hoeditfactory.drawPageTree.getMainRootArea(value.drawNodes[0]);
|
|
81825
|
+
|
|
81826
|
+
if (dArea && value.rootPath.indexOf("main") < 0) {
|
|
81827
|
+
hoeditfactory.subDocManger.updateAllSameSubDoc(dArea.index, dArea.hftType, false, false);
|
|
81828
|
+
} // value.text = this.drawPages.length.toString();
|
|
81806
81829
|
// const strText = value.getPageNumText(pageCount, false);
|
|
81807
81830
|
// (value.drawNodes[0] as DrawPageCountNode).updatePageCount(strText);
|
|
81808
81831
|
// if (value.rootPath.startsWith("main")) {
|
|
@@ -81814,6 +81837,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
81814
81837
|
// } else {
|
|
81815
81838
|
// HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).subDocManger.updateAPageMark(value);
|
|
81816
81839
|
// }
|
|
81840
|
+
|
|
81817
81841
|
}); // this.pageNumNodes.forEach((value, key) => {
|
|
81818
81842
|
// const drawNode = value.drawNodes[0];
|
|
81819
81843
|
// const drawPage = this.getDrawPageByDomStage(drawNode.stage);
|
|
@@ -91129,17 +91153,6 @@ module.exports = function (string, tag, attribute, value) {
|
|
|
91129
91153
|
};
|
|
91130
91154
|
|
|
91131
91155
|
|
|
91132
|
-
/***/ }),
|
|
91133
|
-
|
|
91134
|
-
/***/ "85d8":
|
|
91135
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91136
|
-
|
|
91137
|
-
"use strict";
|
|
91138
|
-
/* 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_HoFooter_vue_vue_type_style_index_0_id_0f6cfe37_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("243b");
|
|
91139
|
-
/* 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_HoFooter_vue_vue_type_style_index_0_id_0f6cfe37_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_HoFooter_vue_vue_type_style_index_0_id_0f6cfe37_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
91140
|
-
/* unused harmony reexport * */
|
|
91141
|
-
|
|
91142
|
-
|
|
91143
91156
|
/***/ }),
|
|
91144
91157
|
|
|
91145
91158
|
/***/ "85e7":
|
|
@@ -98774,13 +98787,6 @@ var UndoInfo = function UndoInfo(path, node) {
|
|
|
98774
98787
|
|
|
98775
98788
|
/***/ }),
|
|
98776
98789
|
|
|
98777
|
-
/***/ "9373":
|
|
98778
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
98779
|
-
|
|
98780
|
-
// extracted by mini-css-extract-plugin
|
|
98781
|
-
|
|
98782
|
-
/***/ }),
|
|
98783
|
-
|
|
98784
98790
|
/***/ "93cb":
|
|
98785
98791
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
98786
98792
|
|
|
@@ -102287,7 +102293,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
102287
102293
|
isSynchro: this.isSynchro,
|
|
102288
102294
|
controlStyle: this.controlStyle.replace("hh", "HH"),
|
|
102289
102295
|
name: this.name,
|
|
102290
|
-
text: this.text,
|
|
102296
|
+
text: this.text === this.name ? "" : this.text,
|
|
102291
102297
|
labelText: this.labelText,
|
|
102292
102298
|
title: this.title,
|
|
102293
102299
|
styleIndex: this.styleIndex,
|
|
@@ -153274,6 +153280,13 @@ progress.install = function (Vue) {
|
|
|
153274
153280
|
|
|
153275
153281
|
/***/ }),
|
|
153276
153282
|
|
|
153283
|
+
/***/ "c29b":
|
|
153284
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
153285
|
+
|
|
153286
|
+
// extracted by mini-css-extract-plugin
|
|
153287
|
+
|
|
153288
|
+
/***/ }),
|
|
153289
|
+
|
|
153277
153290
|
/***/ "c416":
|
|
153278
153291
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
153279
153292
|
|
|
@@ -154751,6 +154764,17 @@ $({ target: 'Array', proto: true }, {
|
|
|
154751
154764
|
addToUnscopables('includes');
|
|
154752
154765
|
|
|
154753
154766
|
|
|
154767
|
+
/***/ }),
|
|
154768
|
+
|
|
154769
|
+
/***/ "cae5":
|
|
154770
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
154771
|
+
|
|
154772
|
+
"use strict";
|
|
154773
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_13465a06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e4dd");
|
|
154774
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_13465a06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_13465a06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
154775
|
+
/* unused harmony reexport * */
|
|
154776
|
+
|
|
154777
|
+
|
|
154754
154778
|
/***/ }),
|
|
154755
154779
|
|
|
154756
154780
|
/***/ "cb29":
|
|
@@ -155017,6 +155041,13 @@ module.exports = function (C, x) {
|
|
|
155017
155041
|
};
|
|
155018
155042
|
|
|
155019
155043
|
|
|
155044
|
+
/***/ }),
|
|
155045
|
+
|
|
155046
|
+
/***/ "cdfc":
|
|
155047
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
155048
|
+
|
|
155049
|
+
// extracted by mini-css-extract-plugin
|
|
155050
|
+
|
|
155020
155051
|
/***/ }),
|
|
155021
155052
|
|
|
155022
155053
|
/***/ "ce18":
|
|
@@ -163007,6 +163038,13 @@ Matrix.prototype.calc = function (x, y, isRelative) {
|
|
|
163007
163038
|
module.exports = Matrix;
|
|
163008
163039
|
|
|
163009
163040
|
|
|
163041
|
+
/***/ }),
|
|
163042
|
+
|
|
163043
|
+
/***/ "e212":
|
|
163044
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
163045
|
+
|
|
163046
|
+
// extracted by mini-css-extract-plugin
|
|
163047
|
+
|
|
163010
163048
|
/***/ }),
|
|
163011
163049
|
|
|
163012
163050
|
/***/ "e23b":
|
|
@@ -166494,6 +166532,13 @@ exports.default = aria.Utils;
|
|
|
166494
166532
|
|
|
166495
166533
|
/***/ }),
|
|
166496
166534
|
|
|
166535
|
+
/***/ "e4dd":
|
|
166536
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
166537
|
+
|
|
166538
|
+
// extracted by mini-css-extract-plugin
|
|
166539
|
+
|
|
166540
|
+
/***/ }),
|
|
166541
|
+
|
|
166497
166542
|
/***/ "e507":
|
|
166498
166543
|
/***/ (function(module, exports, __webpack_require__) {
|
|
166499
166544
|
|
|
@@ -169887,13 +169932,6 @@ exports.default = CODE128A;
|
|
|
169887
169932
|
/* unused harmony reexport * */
|
|
169888
169933
|
|
|
169889
169934
|
|
|
169890
|
-
/***/ }),
|
|
169891
|
-
|
|
169892
|
-
/***/ "e8f8":
|
|
169893
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
169894
|
-
|
|
169895
|
-
// extracted by mini-css-extract-plugin
|
|
169896
|
-
|
|
169897
169935
|
/***/ }),
|
|
169898
169936
|
|
|
169899
169937
|
/***/ "e908":
|
|
@@ -171295,24 +171333,30 @@ var TableDeleteRowUndoUnit = /*#__PURE__*/function () {
|
|
|
171295
171333
|
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
171296
171334
|
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("1276");
|
|
171297
171335
|
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
171298
|
-
/* harmony import */ var
|
|
171299
|
-
/* harmony import */ var
|
|
171300
|
-
/* harmony import */ var
|
|
171301
|
-
/* harmony import */ var
|
|
171302
|
-
/* harmony import */ var
|
|
171303
|
-
/* harmony import */ var
|
|
171304
|
-
/* harmony import */ var
|
|
171305
|
-
/* harmony import */ var
|
|
171306
|
-
/* harmony import */ var
|
|
171307
|
-
/* harmony import */ var
|
|
171308
|
-
/* harmony import */ var
|
|
171309
|
-
/* harmony import */ var
|
|
171310
|
-
/* harmony import */ var
|
|
171311
|
-
/* harmony import */ var
|
|
171312
|
-
/* harmony import */ var
|
|
171313
|
-
/* harmony import */ var
|
|
171314
|
-
/* harmony import */ var
|
|
171315
|
-
/* harmony import */ var
|
|
171336
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("caad");
|
|
171337
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
171338
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("2532");
|
|
171339
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
171340
|
+
/* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("ff80");
|
|
171341
|
+
/* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("8d79");
|
|
171342
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("8d1d");
|
|
171343
|
+
/* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("2026");
|
|
171344
|
+
/* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("6d0b");
|
|
171345
|
+
/* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("53b1");
|
|
171346
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("ca11");
|
|
171347
|
+
/* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__("26a9");
|
|
171348
|
+
/* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__("c1cd");
|
|
171349
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("91a4");
|
|
171350
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__("8841");
|
|
171351
|
+
/* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__("053b");
|
|
171352
|
+
/* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("1551");
|
|
171353
|
+
/* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__("a204");
|
|
171354
|
+
/* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__("2bc5");
|
|
171355
|
+
/* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__("49d1");
|
|
171356
|
+
/* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__("4b89");
|
|
171357
|
+
/* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__("110d");
|
|
171358
|
+
|
|
171359
|
+
|
|
171316
171360
|
|
|
171317
171361
|
|
|
171318
171362
|
|
|
@@ -171386,7 +171430,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171386
171430
|
|
|
171387
171431
|
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(this, CellNode);
|
|
171388
171432
|
|
|
171389
|
-
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode,
|
|
171433
|
+
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_30__[/* NodeType */ "b"].ntCell);
|
|
171390
171434
|
_this._hoEditorFactoryID = hoEditorFactoryID;
|
|
171391
171435
|
_this._borderVisible = [true, true, true, true];
|
|
171392
171436
|
_this._crossLineType = CrossLineType.ctNone;
|
|
@@ -171545,7 +171589,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171545
171589
|
}, {
|
|
171546
171590
|
key: "initBlankDoc",
|
|
171547
171591
|
value: function initBlankDoc() {
|
|
171548
|
-
var aparagraph = new
|
|
171592
|
+
var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__[/* ParagraphNode */ "a"](this._hoEditorFactoryID, this._rootNodes, this, 0);
|
|
171549
171593
|
aparagraph.node2DrawNode();
|
|
171550
171594
|
|
|
171551
171595
|
this._childNodes.push(aparagraph);
|
|
@@ -171565,7 +171609,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171565
171609
|
key: "placeDNodeAfterDTop",
|
|
171566
171610
|
value: function placeDNodeAfterDTop(droots, dTop) {
|
|
171567
171611
|
var paragraphNode = this.childNodes[0];
|
|
171568
|
-
var hoEditorFactory =
|
|
171612
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171569
171613
|
var aline = paragraphNode.drawlines[0];
|
|
171570
171614
|
hoEditorFactory.drawTree.drawDocInsert(paragraphNode, 0, paragraphNode, -1, hoEditorFactory.docTree.getNodeLastPath(this));
|
|
171571
171615
|
|
|
@@ -171605,7 +171649,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171605
171649
|
value: function updateWidth(awidth) {
|
|
171606
171650
|
this.drawCell.dWidth = awidth; // (this.childNodes[0] as ParagraphNode).drawlines[0].dWidth = awidth;
|
|
171607
171651
|
|
|
171608
|
-
|
|
171652
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
|
|
171609
171653
|
this._drawCell.drawLines.length = 0;
|
|
171610
171654
|
this.childNodes[0].node2DrawNode();
|
|
171611
171655
|
this.drawCell.drawLines.push(this.childNodes[0].drawlines[0]);
|
|
@@ -171623,15 +171667,15 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171623
171667
|
}, {
|
|
171624
171668
|
key: "redrawCell",
|
|
171625
171669
|
value: function redrawCell(repaintInmediate, action) {
|
|
171626
|
-
var hoEditorFactory =
|
|
171670
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171627
171671
|
|
|
171628
171672
|
if (repaintInmediate) {
|
|
171629
|
-
var dcChangeEvent = new
|
|
171673
|
+
var dcChangeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_22__[/* NodeChangeEvent */ "a"](this._hoEditorFactoryID, action, hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]), hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]));
|
|
171630
171674
|
|
|
171631
|
-
if (action ===
|
|
171675
|
+
if (action === _DocTree__WEBPACK_IMPORTED_MODULE_25__[/* DocAction */ "a"].daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_25__[/* DocAction */ "a"].daModifyStyle) {
|
|
171632
171676
|
dcChangeEvent.oldEndPath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
171633
171677
|
|
|
171634
|
-
if (action ===
|
|
171678
|
+
if (action === _DocTree__WEBPACK_IMPORTED_MODULE_25__[/* DocAction */ "a"].daDelete) {
|
|
171635
171679
|
dcChangeEvent.oldDrawTreeLines = this._table.drawTable.getCellsDrawTreeLines([this]);
|
|
171636
171680
|
} else {
|
|
171637
171681
|
dcChangeEvent.oldDrawLines = this._table.drawTable.getCellsDrawLines([this]);
|
|
@@ -171685,7 +171729,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171685
171729
|
}
|
|
171686
171730
|
|
|
171687
171731
|
aHeight += this._rowSpan;
|
|
171688
|
-
this._drawCell = new
|
|
171732
|
+
this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_21__[/* DrawCell */ "a"](this._hoEditorFactoryID, this, 0, aWidth, aHeight);
|
|
171689
171733
|
|
|
171690
171734
|
this._drawNodes.push(this._drawCell); // this._drawCell.drawLines.push(
|
|
171691
171735
|
// (this._childNodes[0] as ParagraphNode).drawlines[0]
|
|
@@ -171705,7 +171749,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171705
171749
|
}, {
|
|
171706
171750
|
key: "range",
|
|
171707
171751
|
value: function range() {
|
|
171708
|
-
var hoEditorFactory =
|
|
171752
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171709
171753
|
return {
|
|
171710
171754
|
from: hoEditorFactory.docTree.getNodeFirstPath(this),
|
|
171711
171755
|
to: hoEditorFactory.docTree.getNodeLastPath(this)
|
|
@@ -171723,7 +171767,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171723
171767
|
var node = this.childNodes[i];
|
|
171724
171768
|
var nodeJson = void 0;
|
|
171725
171769
|
|
|
171726
|
-
if (node instanceof
|
|
171770
|
+
if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__[/* TableNode */ "c"] || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__[/* TextInputFieldNode */ "f"]) {
|
|
171727
171771
|
nodeJson = node.node2Json(undefined, isCopy, type);
|
|
171728
171772
|
} else {
|
|
171729
171773
|
nodeJson = node.node2Json(undefined, isCopy);
|
|
@@ -171817,7 +171861,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171817
171861
|
}
|
|
171818
171862
|
|
|
171819
171863
|
return {
|
|
171820
|
-
nodeType:
|
|
171864
|
+
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_30__[/* NodeType */ "b"][this.nodeType],
|
|
171821
171865
|
borderVisible: this.borderVisible.toString(),
|
|
171822
171866
|
crossLineType: CrossLineType[this.crossLineType],
|
|
171823
171867
|
rowSpan: this.rowSpan,
|
|
@@ -171865,12 +171909,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171865
171909
|
newRange = arange.normalize();
|
|
171866
171910
|
}
|
|
171867
171911
|
|
|
171868
|
-
var hoEditorFactory =
|
|
171912
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171869
171913
|
var startPath = hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]);
|
|
171870
171914
|
var lastPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]);
|
|
171871
171915
|
|
|
171872
|
-
if (
|
|
171873
|
-
ret =
|
|
171916
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_27__[/* NodePosition */ "a"].pathCanCompare(newRange.startPath, startPath)) {
|
|
171917
|
+
ret = _NodePosition__WEBPACK_IMPORTED_MODULE_27__[/* NodePosition */ "a"].treePathCompare(startPath, newRange.startPath) >= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_27__[/* NodePosition */ "a"].treePathCompare(lastPath, arange.endPath) <= 0;
|
|
171874
171918
|
}
|
|
171875
171919
|
|
|
171876
171920
|
return ret;
|
|
@@ -171878,12 +171922,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171878
171922
|
}, {
|
|
171879
171923
|
key: "getNodesForUpdate",
|
|
171880
171924
|
value: function getNodesForUpdate() {
|
|
171881
|
-
var hoEditorFactory =
|
|
171925
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171882
171926
|
var ret = new Array();
|
|
171883
171927
|
|
|
171884
171928
|
for (var i = 0; i < this._childNodes.length; i++) {
|
|
171885
|
-
if (this._childNodes[i] instanceof
|
|
171886
|
-
var domRange = new
|
|
171929
|
+
if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__[/* TableNode */ "c"]) {
|
|
171930
|
+
var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_26__[/* DomRange */ "a"](this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
|
|
171887
171931
|
ret = ret.concat(this._childNodes[i].getSelectNodesForUpdate(domRange, true));
|
|
171888
171932
|
} else ret.push(this._childNodes[i]);
|
|
171889
171933
|
}
|
|
@@ -171893,16 +171937,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171893
171937
|
}, {
|
|
171894
171938
|
key: "getSelectNodes",
|
|
171895
171939
|
value: function getSelectNodes(bSplitTextInputNode) {
|
|
171896
|
-
var hoEditorFactory =
|
|
171940
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171897
171941
|
var ret = new Array();
|
|
171898
171942
|
|
|
171899
171943
|
for (var i = 0; i < this._childNodes.length; i++) {
|
|
171900
171944
|
var aNode = this._childNodes[i];
|
|
171901
171945
|
|
|
171902
|
-
if (aNode instanceof
|
|
171903
|
-
var domRange = new
|
|
171946
|
+
if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__[/* TableNode */ "c"]) {
|
|
171947
|
+
var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_26__[/* DomRange */ "a"](this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
|
|
171904
171948
|
ret = ret.concat(aNode.getSelectNodes(domRange, true, bSplitTextInputNode));
|
|
171905
|
-
} else if (bSplitTextInputNode && aNode instanceof
|
|
171949
|
+
} else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__[/* TextInputFieldNode */ "f"]) {
|
|
171906
171950
|
ret = ret.concat(aNode.getAllChildNodes());
|
|
171907
171951
|
} else ret.push(this._childNodes[i]);
|
|
171908
171952
|
}
|
|
@@ -171929,13 +171973,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171929
171973
|
var loopChildNodes = function loopChildNodes(node) {
|
|
171930
171974
|
var nodes = node.childNodes.slice(1);
|
|
171931
171975
|
nodes.forEach(function (childNode) {
|
|
171932
|
-
if (childNode instanceof
|
|
171976
|
+
if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__[/* TextNode */ "a"]) {
|
|
171933
171977
|
cellText += childNode.text;
|
|
171934
|
-
} else if (childNode instanceof
|
|
171978
|
+
} else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_31__[/* ControlNode */ "a"]) {
|
|
171935
171979
|
cellText += childNode.text;
|
|
171936
|
-
} else if (childNode instanceof
|
|
171980
|
+
} else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_29__[/* BaseCombineNode */ "a"]) {
|
|
171937
171981
|
loopChildNodes(childNode);
|
|
171938
|
-
} else if (childNode instanceof
|
|
171982
|
+
} else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__[/* ParagraphNode */ "a"]) {
|
|
171939
171983
|
cellText += '\n';
|
|
171940
171984
|
}
|
|
171941
171985
|
});
|
|
@@ -171948,11 +171992,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171948
171992
|
key: "setCellText",
|
|
171949
171993
|
value: function setCellText(value) {
|
|
171950
171994
|
var colIndex = this.row.indexOf(this);
|
|
171951
|
-
var hoEditorFactory =
|
|
171995
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171952
171996
|
var colProperty = this.table.colInfos[colIndex].colProperty;
|
|
171953
171997
|
|
|
171954
|
-
if (colProperty.editorProperty ===
|
|
171955
|
-
if (!Object(
|
|
171998
|
+
if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* EditorProperty */ "e"].Number) {
|
|
171999
|
+
if (!Object(_plugins_type__WEBPACK_IMPORTED_MODULE_24__[/* isNumber */ "a"])(value)) {
|
|
171956
172000
|
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3___default.a.alert("输入值非数值类型,请重输!", "提示");
|
|
171957
172001
|
|
|
171958
172002
|
return;
|
|
@@ -171983,7 +172027,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171983
172027
|
|
|
171984
172028
|
var startPath = "".concat(this.getNodePath(), "/0");
|
|
171985
172029
|
var endPath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
171986
|
-
var aRange = new
|
|
172030
|
+
var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_26__[/* DomRange */ "a"](this._hoEditorFactoryID, startPath, endPath);
|
|
171987
172031
|
hoEditorFactory.docController.deleteRange(aRange, true);
|
|
171988
172032
|
hoEditorFactory.docController.insertPlainTextAfterPath(startPath, value);
|
|
171989
172033
|
}
|
|
@@ -172029,23 +172073,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172029
172073
|
}, {
|
|
172030
172074
|
key: "needPaintLineGrid",
|
|
172031
172075
|
value: function needPaintLineGrid() {
|
|
172032
|
-
var hoEditorFactory =
|
|
172076
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
172033
172077
|
|
|
172034
172078
|
var _this$table$getCellIn = this.table.getCellInfos(this),
|
|
172035
172079
|
_this$table$getCellIn2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(_this$table$getCellIn, 2),
|
|
172036
172080
|
r = _this$table$getCellIn2[0],
|
|
172037
172081
|
c = _this$table$getCellIn2[1];
|
|
172038
172082
|
|
|
172039
|
-
return (hoEditorFactory.docTree.docProperty.type ===
|
|
172083
|
+
return (hoEditorFactory.docTree.docProperty.type === _DocTree__WEBPACK_IMPORTED_MODULE_25__[/* EmrType */ "d"].etForm || this.table.tableProperty.isAutoChangeLine) && !this.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && this.cellProperty.align !== _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* VAlign */ "k"].vacenter;
|
|
172040
172084
|
}
|
|
172041
172085
|
}], [{
|
|
172042
172086
|
key: "json2Node",
|
|
172043
172087
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, tableNode, aRow, rowsMap, rows, defaultCellProperty, isPaste) {
|
|
172044
|
-
var hoEditorFactory =
|
|
172088
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(hoEditorFactoryID);
|
|
172045
172089
|
var rowNo = parseInt(json.rowNo);
|
|
172046
172090
|
var colNo = parseInt(json.colNo);
|
|
172047
172091
|
aRow = rowsMap.get(rowNo);
|
|
172048
|
-
var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new
|
|
172092
|
+
var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* CellProperty */ "a"](""));
|
|
172049
172093
|
var cellProperty = json.cellProperty;
|
|
172050
172094
|
|
|
172051
172095
|
if (cellProperty === "") {
|
|
@@ -172069,9 +172113,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172069
172113
|
target[value] = Number(source[value]);
|
|
172070
172114
|
} else {
|
|
172071
172115
|
if (value === "dateTimeProperty") {
|
|
172072
|
-
cellNode.cellProperty.dateTimeProperty = new
|
|
172116
|
+
cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* DateTimeProperty */ "d"](source[value]);
|
|
172073
172117
|
} else if (value === "downListProperty") {
|
|
172074
|
-
cellNode.cellProperty.downListProperty = new
|
|
172118
|
+
cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* ColDownListProperty */ "b"](source[value]);
|
|
172075
172119
|
} else {
|
|
172076
172120
|
target[value] = source[value];
|
|
172077
172121
|
}
|
|
@@ -172113,11 +172157,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172113
172157
|
cellNode.addChild(convertNode);
|
|
172114
172158
|
}
|
|
172115
172159
|
|
|
172116
|
-
if (convertNode instanceof
|
|
172160
|
+
if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_32__[/* MarkNode */ "a"]) {
|
|
172117
172161
|
hoEditorFactory.structureConvert._markNodes.push(convertNode);
|
|
172118
172162
|
}
|
|
172119
172163
|
|
|
172120
|
-
if (convertNode instanceof
|
|
172164
|
+
if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__[/* SignNode */ "a"] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
|
|
172121
172165
|
hoEditorFactory.structureConvert._superiorSign[0] = convertNode;
|
|
172122
172166
|
}
|
|
172123
172167
|
}
|
|
@@ -172156,7 +172200,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172156
172200
|
}]);
|
|
172157
172201
|
|
|
172158
172202
|
return CellNode;
|
|
172159
|
-
}(
|
|
172203
|
+
}(_RectNode__WEBPACK_IMPORTED_MODULE_34__[/* RectNode */ "a"]);
|
|
172160
172204
|
|
|
172161
172205
|
/***/ }),
|
|
172162
172206
|
|
|
@@ -180264,12 +180308,15 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
180264
180308
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
180265
180309
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
180266
180310
|
|
|
180267
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
180268
|
-
var
|
|
180311
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=a11f7a34&
|
|
180312
|
+
var HoDocsvue_type_template_id_a11f7a34_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isListStyle":_vm.isListStyle},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true}],null,true)}),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e(),_c('ViewContinuousXml',{attrs:{"hoEditorFactoryId":_vm.activeDocId}})],1):_vm._e()}
|
|
180269
180313
|
var staticRenderFns = []
|
|
180270
180314
|
|
|
180271
180315
|
|
|
180272
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
180316
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=a11f7a34&
|
|
180317
|
+
|
|
180318
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
180319
|
+
var toConsumableArray = __webpack_require__("2909");
|
|
180273
180320
|
|
|
180274
180321
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
180275
180322
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -181187,9 +181234,6 @@ var HoDocvue_type_template_id_098ad338_staticRenderFns = []
|
|
|
181187
181234
|
|
|
181188
181235
|
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=098ad338&
|
|
181189
181236
|
|
|
181190
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
181191
|
-
var toConsumableArray = __webpack_require__("2909");
|
|
181192
|
-
|
|
181193
181237
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
181194
181238
|
var es_array_includes = __webpack_require__("caad");
|
|
181195
181239
|
|
|
@@ -181575,7 +181619,7 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
181575
181619
|
key: "mouseDblClick",
|
|
181576
181620
|
value: function () {
|
|
181577
181621
|
var _mouseDblClick = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(aevent) {
|
|
181578
|
-
var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2;
|
|
181622
|
+
var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2, dPageTable, dPageCell, pos, docHeight, dHeight, index, i, dLastObj, distance, aHeight, count, str, j, _oldRange, _endPath, _newRange;
|
|
181579
181623
|
|
|
181580
181624
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
181581
181625
|
while (1) {
|
|
@@ -181673,7 +181717,9 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
181673
181717
|
|
|
181674
181718
|
prevNode = np.node.prevSibling();
|
|
181675
181719
|
|
|
181676
|
-
if (prevNode
|
|
181720
|
+
if (prevNode //处理双击单元格不跳光标的情况,暂废弃
|
|
181721
|
+
//&&!(np.node.parentNode instanceof CellNode &&np.node.parentNode.table.tableProperty.isAutoChangeLine&& dPage!=oldDPage)
|
|
181722
|
+
) {
|
|
181677
181723
|
oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
181678
181724
|
startPath = hoEditorFactory.docTree.getNodeLastPath(prevNode);
|
|
181679
181725
|
endPath = hoEditorFactory.docTree.getNodeLastPath(np.node);
|
|
@@ -181722,6 +181768,47 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
181722
181768
|
} else if (cellNode.cellProperty.editorProperty === TableProperty["e" /* EditorProperty */].DateTime || cellNode.cellProperty.editorProperty === TableProperty["e" /* EditorProperty */].DownList) {
|
|
181723
181769
|
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent["a" /* NodeNeedModifyEvent */](np.node, "dblclick", this._pageIndex);
|
|
181724
181770
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent2);
|
|
181771
|
+
} else if (cellNode.table.tableProperty.isAutoChangeLine) {
|
|
181772
|
+
//处理自动换行表格,双击时光标跳到指定双击位置
|
|
181773
|
+
dPageTable = cellNode.table.drawTable.getDrawTableByPageIndex(dPage.pageIndex);
|
|
181774
|
+
|
|
181775
|
+
if (dPageTable) {
|
|
181776
|
+
dPageCell = cellNode.drawCell.getDrawPageCell(dPageTable);
|
|
181777
|
+
|
|
181778
|
+
if (dPageCell) {
|
|
181779
|
+
pos = dPageCell.globalToLocal(aevent.stageX, aevent.stageY);
|
|
181780
|
+
docHeight = 0;
|
|
181781
|
+
dHeight = 0;
|
|
181782
|
+
index = cellNode.drawCell.drawPageCells.indexOf(dPageCell);
|
|
181783
|
+
|
|
181784
|
+
for (i = 0; i < index; i++) {
|
|
181785
|
+
docHeight += cellNode.drawCell.drawPageCells[i].docHeight;
|
|
181786
|
+
dHeight += cellNode.drawCell.drawPageCells[i].dHeight;
|
|
181787
|
+
}
|
|
181788
|
+
|
|
181789
|
+
dLastObj = cellNode.drawCell.drawLines[cellNode.drawCell.drawLines.length - 1];
|
|
181790
|
+
|
|
181791
|
+
if (dLastObj.dTop + dLastObj.docHeight < dHeight + pos.y) {
|
|
181792
|
+
distance = pos.y + dHeight - (dLastObj.dTop + dLastObj.dHeight);
|
|
181793
|
+
aHeight = cellNode.table.tableProperty.autoLineHeightPx;
|
|
181794
|
+
count = Math.floor(distance / aHeight);
|
|
181795
|
+
str = "";
|
|
181796
|
+
|
|
181797
|
+
for (j = 0; j < count; j++) {
|
|
181798
|
+
str += "\n";
|
|
181799
|
+
}
|
|
181800
|
+
|
|
181801
|
+
if (str != "") {
|
|
181802
|
+
_oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
181803
|
+
_endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
181804
|
+
_newRange = new DomRange["a" /* DomRange */](hoEditorFactory.hoEditorFactoryId, _endPath, _endPath);
|
|
181805
|
+
hoEditorFactory.drawTree.moveCaretToPath(_endPath);
|
|
181806
|
+
hoEditorFactory.docTree.curDomRange = _newRange;
|
|
181807
|
+
hoEditorFactory.docController.insertPlainTextAfterPath(_endPath, str);
|
|
181808
|
+
}
|
|
181809
|
+
}
|
|
181810
|
+
}
|
|
181811
|
+
}
|
|
181725
181812
|
}
|
|
181726
181813
|
|
|
181727
181814
|
case 43:
|
|
@@ -183071,14 +183158,14 @@ var HoToPage_component = normalizeComponent(
|
|
|
183071
183158
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
183072
183159
|
|
|
183073
183160
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
183074
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
183075
|
-
var
|
|
183161
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=a0106e2e&scoped=true&
|
|
183162
|
+
var PoperSelectvue_type_template_id_a0106e2e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_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){
|
|
183076
183163
|
var item = ref.item;
|
|
183077
|
-
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,641533331)})],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"}},[_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()])}
|
|
183078
|
-
var
|
|
183164
|
+
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,641533331)})],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","width":"100%"}},[_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()])}
|
|
183165
|
+
var PoperSelectvue_type_template_id_a0106e2e_scoped_true_staticRenderFns = []
|
|
183079
183166
|
|
|
183080
183167
|
|
|
183081
|
-
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
183168
|
+
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=a0106e2e&scoped=true&
|
|
183082
183169
|
|
|
183083
183170
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
183084
183171
|
var es_object_assign = __webpack_require__("cca6");
|
|
@@ -184241,8 +184328,8 @@ PoperSelectvue_type_script_lang_ts_PoperSelectModal = __decorate([vue_class_comp
|
|
|
184241
184328
|
/* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_PoperSelectModal);
|
|
184242
184329
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
|
|
184243
184330
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
|
|
184244
|
-
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
184245
|
-
var
|
|
184331
|
+
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=a0106e2e&lang=scss&scoped=true&
|
|
184332
|
+
var PoperSelectvue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true_ = __webpack_require__("0c55");
|
|
184246
184333
|
|
|
184247
184334
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
|
|
184248
184335
|
|
|
@@ -184255,11 +184342,11 @@ var PoperSelectvue_type_style_index_0_id_858143be_lang_scss_scoped_true_ = __web
|
|
|
184255
184342
|
|
|
184256
184343
|
var PoperSelect_component = normalizeComponent(
|
|
184257
184344
|
poperSelect_PoperSelectvue_type_script_lang_ts_,
|
|
184258
|
-
|
|
184259
|
-
|
|
184345
|
+
PoperSelectvue_type_template_id_a0106e2e_scoped_true_render,
|
|
184346
|
+
PoperSelectvue_type_template_id_a0106e2e_scoped_true_staticRenderFns,
|
|
184260
184347
|
false,
|
|
184261
184348
|
null,
|
|
184262
|
-
"
|
|
184349
|
+
"a0106e2e",
|
|
184263
184350
|
null
|
|
184264
184351
|
|
|
184265
184352
|
)
|
|
@@ -186825,6 +186912,9 @@ var DrawPageTable = __webpack_require__("e2ed");
|
|
|
186825
186912
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTable.ts
|
|
186826
186913
|
var DrawTable = __webpack_require__("7d22");
|
|
186827
186914
|
|
|
186915
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableNode.ts
|
|
186916
|
+
var TableNode = __webpack_require__("49d1");
|
|
186917
|
+
|
|
186828
186918
|
// CONCATENATED MODULE: ./src/editor/draw/drawTree/DrawPageTree.ts
|
|
186829
186919
|
|
|
186830
186920
|
|
|
@@ -186848,6 +186938,7 @@ var DrawTable = __webpack_require__("7d22");
|
|
|
186848
186938
|
|
|
186849
186939
|
|
|
186850
186940
|
|
|
186941
|
+
|
|
186851
186942
|
|
|
186852
186943
|
|
|
186853
186944
|
var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
@@ -187145,6 +187236,21 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
187145
187236
|
|
|
187146
187237
|
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
187147
187238
|
|
|
187239
|
+
if (restHeight < TableNode["d" /* gDefaultRowHeight */] && drawArea instanceof DrawPageMainDoc["a" /* DrawPageMainDoc */]) {
|
|
187240
|
+
drawArea.endDline = nextLine - 1; // drawArea.stage.update();
|
|
187241
|
+
// this.updateDrawPage(drawArea.pageIndex);
|
|
187242
|
+
|
|
187243
|
+
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
187244
|
+
this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
|
|
187245
|
+
pageIsFull.set(drawArea.index, true);
|
|
187246
|
+
drawArea = this.getNextDrawArea(drawArea);
|
|
187247
|
+
dTop = 0;
|
|
187248
|
+
|
|
187249
|
+
if (drawArea.allowAcrossPage) {
|
|
187250
|
+
restHeight = drawArea.maxHeight - dTop;
|
|
187251
|
+
}
|
|
187252
|
+
}
|
|
187253
|
+
|
|
187148
187254
|
var dPageTable = _dobj.paintTable(drawArea, dTop, restHeight, startRow);
|
|
187149
187255
|
|
|
187150
187256
|
if (dPageTable) {
|
|
@@ -188548,9 +188654,6 @@ var Paragraph = __webpack_require__("c7e5");
|
|
|
188548
188654
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ImageNode.ts + 1 modules
|
|
188549
188655
|
var ImageNode = __webpack_require__("80c7");
|
|
188550
188656
|
|
|
188551
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableNode.ts
|
|
188552
|
-
var TableNode = __webpack_require__("49d1");
|
|
188553
|
-
|
|
188554
188657
|
// CONCATENATED MODULE: ./src/editor/utils/HTMLConverter.ts
|
|
188555
188658
|
|
|
188556
188659
|
|
|
@@ -188702,12 +188805,20 @@ var HTMLConverter_HTMLconverter2 = /*#__PURE__*/function () {
|
|
|
188702
188805
|
tmp.splice(tmp.length - 1, 1);
|
|
188703
188806
|
}
|
|
188704
188807
|
}
|
|
188808
|
+
|
|
188809
|
+
if (jnode.childNodes[i].nodeName.toLowerCase() === "p" && jnode.childNodes[i - 1] && jnode.childNodes[i - 1].nodeName.toLowerCase() !== "p") {
|
|
188810
|
+
var _childNode = Object(jnode.childNodes[i]);
|
|
188811
|
+
|
|
188812
|
+
if (_childNode.className && _childNode.className === "MsoNormal" && tmp[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
188813
|
+
tmp.splice(0, 1);
|
|
188814
|
+
}
|
|
188815
|
+
}
|
|
188705
188816
|
}
|
|
188706
188817
|
|
|
188707
188818
|
for (var _i = 0; _i < tmp.length; _i++) {
|
|
188708
|
-
var
|
|
188819
|
+
var _childNode2 = tmp[_i];
|
|
188709
188820
|
|
|
188710
|
-
if (
|
|
188821
|
+
if (_childNode2 instanceof TableNode["c" /* TableNode */] && _childNode2.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
188711
188822
|
lib_message_box_default.a.alert("不能在文本域中插入表格");
|
|
188712
188823
|
|
|
188713
188824
|
return [];
|
|
@@ -189483,6 +189594,8 @@ var LabelNode = __webpack_require__("d4b2");
|
|
|
189483
189594
|
|
|
189484
189595
|
|
|
189485
189596
|
|
|
189597
|
+
|
|
189598
|
+
|
|
189486
189599
|
|
|
189487
189600
|
|
|
189488
189601
|
|
|
@@ -191628,7 +191741,7 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
191628
191741
|
_this5._markNodes.push(aNode);
|
|
191629
191742
|
}
|
|
191630
191743
|
|
|
191631
|
-
if (aNode instanceof SignNode["a" /* SignNode */]) {
|
|
191744
|
+
if (aNode instanceof SignNode["a" /* SignNode */] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(aNode.customProperty.bce01)) {
|
|
191632
191745
|
_this5._superiorSign[0] = aNode;
|
|
191633
191746
|
}
|
|
191634
191747
|
}
|
|
@@ -191826,8 +191939,7 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
191826
191939
|
var range = new DomRange["a" /* DomRange */](this._hoEditorFactoryID, strFirstPath, strFirstPath);
|
|
191827
191940
|
hoEditorFactory.docTree.curDomRange = range;
|
|
191828
191941
|
var cgEvent = new SelectionChangeEvent["a" /* SelectionChangeEvent */](range, range);
|
|
191829
|
-
hoEditorFactory.docTree.selectChange(cgEvent);
|
|
191830
|
-
this._superiorSign.length = 0;
|
|
191942
|
+
hoEditorFactory.docTree.selectChange(cgEvent); //this._superiorSign.length = 0;
|
|
191831
191943
|
|
|
191832
191944
|
if (this._superiorSign.length > 0) {
|
|
191833
191945
|
//获取最后面的那个上级签名节点
|
|
@@ -192440,9 +192552,13 @@ var StructureNode_StructureNode = /*#__PURE__*/function () {
|
|
|
192440
192552
|
}));
|
|
192441
192553
|
} else {
|
|
192442
192554
|
//开始结束不是同一个cellnode时候 cellnode一定是被全选的, 所以下面的节点from,to需要单独设置下
|
|
192443
|
-
|
|
192444
|
-
|
|
192445
|
-
|
|
192555
|
+
var sNodeLastPath = hoEditorFactory.docTree.getNodeLastPath(nstart);
|
|
192556
|
+
|
|
192557
|
+
if (sNodeLastPath !== currDom.startPath) {
|
|
192558
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
192559
|
+
from: nstart instanceof TableNode["c" /* TableNode */] ? nstart.range().from : currDom.startPath
|
|
192560
|
+
}));
|
|
192561
|
+
}
|
|
192446
192562
|
|
|
192447
192563
|
var node = nstart.nextSibling();
|
|
192448
192564
|
|
|
@@ -193238,6 +193354,7 @@ var MedicalExpressionNode = __webpack_require__("b790");
|
|
|
193238
193354
|
|
|
193239
193355
|
|
|
193240
193356
|
|
|
193357
|
+
|
|
193241
193358
|
|
|
193242
193359
|
|
|
193243
193360
|
var VueController_VueController = /*#__PURE__*/function () {
|
|
@@ -195415,11 +195532,15 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
195415
195532
|
} //画当前页的遮罩层
|
|
195416
195533
|
|
|
195417
195534
|
|
|
195418
|
-
var
|
|
195535
|
+
var drawNode = signNode.drawNodes[0];
|
|
195536
|
+
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(drawNode);
|
|
195419
195537
|
var actualHeight = hoEditorFactory.drawPageTree.drawHeaders[0].actualHeight;
|
|
195420
|
-
superiorSign[1] = curPageIndex;
|
|
195421
|
-
|
|
195422
|
-
|
|
195538
|
+
superiorSign[1] = curPageIndex; //superiorSign[2] = dline.y;
|
|
195539
|
+
|
|
195540
|
+
var stagePt = dline.localToGlobal(drawNode.x, drawNode.y);
|
|
195541
|
+
var localPt = curArea.globalToLocal(stagePt.x, stagePt.y);
|
|
195542
|
+
superiorSign[2] = localPt.y;
|
|
195543
|
+
paintMask(curPageIndex, localPt.y + actualHeight + drawNode.y);
|
|
195423
195544
|
}
|
|
195424
195545
|
}
|
|
195425
195546
|
}
|
|
@@ -199497,6 +199618,9 @@ var jspdf_es_min = __webpack_require__("8baf");
|
|
|
199497
199618
|
|
|
199498
199619
|
|
|
199499
199620
|
|
|
199621
|
+
|
|
199622
|
+
|
|
199623
|
+
|
|
199500
199624
|
|
|
199501
199625
|
|
|
199502
199626
|
|
|
@@ -199519,6 +199643,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199519
199643
|
|
|
199520
199644
|
this._viewXmlList = [];
|
|
199521
199645
|
this._xmlIndex = 0;
|
|
199646
|
+
this._isSetFont = false;
|
|
199647
|
+
this._isFont = false;
|
|
199648
|
+
this._waitPrint = false;
|
|
199522
199649
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
199523
199650
|
}
|
|
199524
199651
|
/**
|
|
@@ -199530,10 +199657,17 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199530
199657
|
Object(createClass["a" /* default */])(PrintController, [{
|
|
199531
199658
|
key: "setjsPDFFonts",
|
|
199532
199659
|
value: function setjsPDFFonts(font) {
|
|
199660
|
+
this._isSetFont = true;
|
|
199533
199661
|
jspdf_es_min["d" /* default */].API.events.push(["addFonts", function () {
|
|
199534
199662
|
this.addFileToVFS("SimSun-normal.ttf", font);
|
|
199535
199663
|
this.addFont("SimSun-normal.ttf", "SimSun", "normal");
|
|
199536
199664
|
}]);
|
|
199665
|
+
|
|
199666
|
+
if (this._waitPrint) {
|
|
199667
|
+
lib_message_box_default.a.close();
|
|
199668
|
+
|
|
199669
|
+
this.printPromisePDF();
|
|
199670
|
+
}
|
|
199537
199671
|
}
|
|
199538
199672
|
/**
|
|
199539
199673
|
* 保存pdf
|
|
@@ -199593,12 +199727,29 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199593
199727
|
value: function printPromisePDF(beforePrintedStatus, printMode, printAppoint) {
|
|
199594
199728
|
var _this2 = this;
|
|
199595
199729
|
|
|
199730
|
+
if (!this._isSetFont) {
|
|
199731
|
+
this._waitPrint = true;
|
|
199732
|
+
|
|
199733
|
+
lib_message_box_default.a.alert("<p>\u6253\u5370\u6240\u9700\u6587\u4EF6\u6B63\u5728\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u5019</p><p>\u52A0\u8F7D\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u8FDB\u884C\u6253\u5370</p>", "提示", {
|
|
199734
|
+
iconClass: "el-icon-loading",
|
|
199735
|
+
center: true,
|
|
199736
|
+
showConfirmButton: false,
|
|
199737
|
+
dangerouslyUseHTMLString: true
|
|
199738
|
+
});
|
|
199739
|
+
|
|
199740
|
+
return;
|
|
199741
|
+
}
|
|
199742
|
+
|
|
199596
199743
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
199597
199744
|
|
|
199598
199745
|
if (!hoEditorFactory.isHideComments) {
|
|
199599
199746
|
hoEditorFactory.vueController.hideComments(true);
|
|
199600
199747
|
}
|
|
199601
199748
|
|
|
199749
|
+
if (beforePrintedStatus == undefined) {
|
|
199750
|
+
beforePrintedStatus = hoEditorFactory.drawTree.paintStatus;
|
|
199751
|
+
}
|
|
199752
|
+
|
|
199602
199753
|
if (printMode && printAppoint) {
|
|
199603
199754
|
var appoint = printAppoint.replace(/\s*/g, "").replace(/[^\d]/g, ",").split(",");
|
|
199604
199755
|
var maxLen = hoEditorFactory.drawTree.drawPages.length;
|
|
@@ -199703,13 +199854,13 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199703
199854
|
}, {
|
|
199704
199855
|
key: "mergeXmlToPrintPDF",
|
|
199705
199856
|
value: function () {
|
|
199706
|
-
var _mergeXmlToPrintPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
199857
|
+
var _mergeXmlToPrintPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(xmlInfoes) {
|
|
199707
199858
|
var _this3 = this;
|
|
199708
199859
|
|
|
199709
199860
|
var xmlList, positionY, pageNum, hoEditorFactory, beforePrintStatus, xml, hPromise, lastPrintPosition;
|
|
199710
|
-
return regeneratorRuntime.wrap(function
|
|
199861
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
199711
199862
|
while (1) {
|
|
199712
|
-
switch (
|
|
199863
|
+
switch (_context2.prev = _context2.next) {
|
|
199713
199864
|
case 0:
|
|
199714
199865
|
xmlList = xmlInfoes.xmlList;
|
|
199715
199866
|
positionY = xmlInfoes.positionY;
|
|
@@ -199753,20 +199904,39 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199753
199904
|
});
|
|
199754
199905
|
});
|
|
199755
199906
|
hPromise = hPromise.then(function () {
|
|
199756
|
-
return new Promise(function (
|
|
199757
|
-
var
|
|
199758
|
-
|
|
199759
|
-
|
|
199760
|
-
|
|
199761
|
-
|
|
199762
|
-
|
|
199907
|
+
return new Promise( /*#__PURE__*/function () {
|
|
199908
|
+
var _ref = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(resolve) {
|
|
199909
|
+
var orientation, options, PDF;
|
|
199910
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
199911
|
+
while (1) {
|
|
199912
|
+
switch (_context.prev = _context.next) {
|
|
199913
|
+
case 0:
|
|
199914
|
+
orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
199915
|
+
options = {
|
|
199916
|
+
orientation: orientation,
|
|
199917
|
+
unit: 'px',
|
|
199918
|
+
format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
|
|
199919
|
+
hotfixes: ["px_scaling"]
|
|
199920
|
+
};
|
|
199921
|
+
PDF = new jspdf_es_min["d" /* default */](options);
|
|
199922
|
+
PDF.setFont("SimSun"); // await hoEditorFactory.vueController.rebuildAll(false);
|
|
199923
|
+
|
|
199924
|
+
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, PDF, undefined, undefined, resolve, positionY);
|
|
199925
|
+
|
|
199926
|
+
case 5:
|
|
199927
|
+
case "end":
|
|
199928
|
+
return _context.stop();
|
|
199929
|
+
}
|
|
199930
|
+
}
|
|
199931
|
+
}, _callee);
|
|
199932
|
+
}));
|
|
199933
|
+
|
|
199934
|
+
return function (_x2) {
|
|
199935
|
+
return _ref.apply(this, arguments);
|
|
199763
199936
|
};
|
|
199764
|
-
|
|
199765
|
-
PDF.setFont("SimSun");
|
|
199766
|
-
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, PDF, undefined, undefined, resolve, positionY);
|
|
199767
|
-
});
|
|
199937
|
+
}());
|
|
199768
199938
|
});
|
|
199769
|
-
|
|
199939
|
+
_context2.next = 14;
|
|
199770
199940
|
return hPromise.then(function (resolve) {
|
|
199771
199941
|
return new Promise(function (resolve) {
|
|
199772
199942
|
var last = hoEditorFactory.printStatus.printRecord.last();
|
|
@@ -199802,28 +199972,28 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199802
199972
|
});
|
|
199803
199973
|
|
|
199804
199974
|
case 14:
|
|
199805
|
-
lastPrintPosition =
|
|
199975
|
+
lastPrintPosition = _context2.sent;
|
|
199806
199976
|
|
|
199807
199977
|
if (!lastPrintPosition) {
|
|
199808
|
-
|
|
199978
|
+
_context2.next = 17;
|
|
199809
199979
|
break;
|
|
199810
199980
|
}
|
|
199811
199981
|
|
|
199812
|
-
return
|
|
199982
|
+
return _context2.abrupt("return", {
|
|
199813
199983
|
startPageNum: lastPrintPosition[0],
|
|
199814
199984
|
pageNum: lastPrintPosition[1],
|
|
199815
199985
|
positionY: lastPrintPosition[2]
|
|
199816
199986
|
});
|
|
199817
199987
|
|
|
199818
199988
|
case 17:
|
|
199819
|
-
return
|
|
199989
|
+
return _context2.abrupt("return", null);
|
|
199820
199990
|
|
|
199821
199991
|
case 18:
|
|
199822
199992
|
case "end":
|
|
199823
|
-
return
|
|
199993
|
+
return _context2.stop();
|
|
199824
199994
|
}
|
|
199825
199995
|
}
|
|
199826
|
-
},
|
|
199996
|
+
}, _callee2, this);
|
|
199827
199997
|
}));
|
|
199828
199998
|
|
|
199829
199999
|
function mergeXmlToPrintPDF(_x) {
|
|
@@ -199832,69 +200002,6 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199832
200002
|
|
|
199833
200003
|
return mergeXmlToPrintPDF;
|
|
199834
200004
|
}()
|
|
199835
|
-
}, {
|
|
199836
|
-
key: "pintAllToPDFNew",
|
|
199837
|
-
value: function pintAllToPDFNew(xmlList) {
|
|
199838
|
-
var _this4 = this;
|
|
199839
|
-
|
|
199840
|
-
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
|
|
199841
|
-
|
|
199842
|
-
var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
199843
|
-
var xml = hoEditorFactory.vueController.getDocXml(); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
199844
|
-
|
|
199845
|
-
if (!hoEditorFactory.isHideComments) {
|
|
199846
|
-
hoEditorFactory.vueController.hideComments(true);
|
|
199847
|
-
}
|
|
199848
|
-
|
|
199849
|
-
hoEditorFactory.printStatus.printMode = 0;
|
|
199850
|
-
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
199851
|
-
var hPromise = Promise.resolve();
|
|
199852
|
-
xmlList.forEach(function (file, fileIndex) {
|
|
199853
|
-
hPromise = hPromise.then(function (res) {
|
|
199854
|
-
return new Promise(function (resolve) {
|
|
199855
|
-
if (fileIndex === 0) {
|
|
199856
|
-
Promise.all([hoEditorFactory.vueController.openXml(file, undefined, true)]).then(function () {
|
|
199857
|
-
if (hoEditorFactory.loadImageCount === 0) {
|
|
199858
|
-
resolve();
|
|
199859
|
-
hoEditorFactory.loadImageCallback = null;
|
|
199860
|
-
} else {
|
|
199861
|
-
hoEditorFactory.loadImageCallback = resolve;
|
|
199862
|
-
}
|
|
199863
|
-
});
|
|
199864
|
-
} else {
|
|
199865
|
-
Promise.all([hoEditorFactory.vueController.mergeDocs(file, true, undefined, true)]).then(function () {
|
|
199866
|
-
if (hoEditorFactory.loadImageCount === 0) {
|
|
199867
|
-
resolve();
|
|
199868
|
-
hoEditorFactory.loadImageCallback = null;
|
|
199869
|
-
} else {
|
|
199870
|
-
hoEditorFactory.loadImageCallback = resolve;
|
|
199871
|
-
}
|
|
199872
|
-
});
|
|
199873
|
-
}
|
|
199874
|
-
});
|
|
199875
|
-
});
|
|
199876
|
-
});
|
|
199877
|
-
hPromise = hPromise.then(function () {
|
|
199878
|
-
return new Promise(function (resolve) {
|
|
199879
|
-
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
199880
|
-
var options = {
|
|
199881
|
-
orientation: orientation,
|
|
199882
|
-
unit: 'px',
|
|
199883
|
-
format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
|
|
199884
|
-
hotfixes: ["px_scaling"]
|
|
199885
|
-
};
|
|
199886
|
-
var PDF = new jspdf_es_min["d" /* default */](options);
|
|
199887
|
-
PDF.setFont("SimSun");
|
|
199888
|
-
PrintStatus["a" /* Print */].printToPDF(_this4._hoEditorFactoryID, PDF, undefined, undefined, resolve, undefined);
|
|
199889
|
-
setTimeout(function () {
|
|
199890
|
-
// 恢复文档状态
|
|
199891
|
-
hoEditorFactory.drawTree.paintStatus = beforePrintStatus; // 恢复文档内容
|
|
199892
|
-
|
|
199893
|
-
hoEditorFactory.vueController.openXml(xml);
|
|
199894
|
-
}, 0);
|
|
199895
|
-
});
|
|
199896
|
-
});
|
|
199897
|
-
}
|
|
199898
200005
|
/**
|
|
199899
200006
|
* 批量打印病历 当前
|
|
199900
200007
|
* @param xmlList ['xml内容', 'xml内容']
|
|
@@ -199903,13 +200010,13 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199903
200010
|
}, {
|
|
199904
200011
|
key: "pintAllToPDF",
|
|
199905
200012
|
value: function () {
|
|
199906
|
-
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
199907
|
-
var
|
|
200013
|
+
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(xmlList) {
|
|
200014
|
+
var _this4 = this;
|
|
199908
200015
|
|
|
199909
200016
|
var hoEditorFactory, beforePrintStatus, xml, xmlIndex, PDF, loadingInstance, callback, toPrint, createSvg;
|
|
199910
|
-
return regeneratorRuntime.wrap(function
|
|
200017
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
199911
200018
|
while (1) {
|
|
199912
|
-
switch (
|
|
200019
|
+
switch (_context3.prev = _context3.next) {
|
|
199913
200020
|
case 0:
|
|
199914
200021
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
199915
200022
|
beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
@@ -199921,16 +200028,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199921
200028
|
|
|
199922
200029
|
hoEditorFactory.printStatus.printMode = 0;
|
|
199923
200030
|
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
199924
|
-
xmlIndex = -1;
|
|
199925
|
-
// const options: jsPDFOptions = {
|
|
199926
|
-
// orientation: orientation,
|
|
199927
|
-
// unit: 'px',
|
|
199928
|
-
// format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
|
|
199929
|
-
// hotfixes: ["px_scaling"]
|
|
199930
|
-
// }
|
|
199931
|
-
// console.log(options)
|
|
199932
|
-
|
|
199933
|
-
// PDF.setFont("SimSun");
|
|
200031
|
+
xmlIndex = -1;
|
|
199934
200032
|
loadingInstance = lib_loading_default.a.service({
|
|
199935
200033
|
target: "ho-docs",
|
|
199936
200034
|
spinner: "el-icon-loading",
|
|
@@ -199944,7 +200042,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199944
200042
|
};
|
|
199945
200043
|
|
|
199946
200044
|
toPrint = function toPrint(status) {
|
|
199947
|
-
PrintStatus["a" /* Print */].printAllXml(
|
|
200045
|
+
PrintStatus["a" /* Print */].printAllXml(_this4._hoEditorFactoryID, createSvg, PDF);
|
|
199948
200046
|
};
|
|
199949
200047
|
|
|
199950
200048
|
createSvg = function createSvg() {
|
|
@@ -199984,13 +200082,13 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199984
200082
|
|
|
199985
200083
|
case 12:
|
|
199986
200084
|
case "end":
|
|
199987
|
-
return
|
|
200085
|
+
return _context3.stop();
|
|
199988
200086
|
}
|
|
199989
200087
|
}
|
|
199990
|
-
},
|
|
200088
|
+
}, _callee3, this);
|
|
199991
200089
|
}));
|
|
199992
200090
|
|
|
199993
|
-
function pintAllToPDF(
|
|
200091
|
+
function pintAllToPDF(_x3) {
|
|
199994
200092
|
return _pintAllToPDF.apply(this, arguments);
|
|
199995
200093
|
}
|
|
199996
200094
|
|
|
@@ -200004,7 +200102,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200004
200102
|
}, {
|
|
200005
200103
|
key: "viewAll",
|
|
200006
200104
|
value: function viewAll(xmlList) {
|
|
200007
|
-
var
|
|
200105
|
+
var _this5 = this;
|
|
200008
200106
|
|
|
200009
200107
|
// 初始化文档状态 --- 打印预览
|
|
200010
200108
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -200024,16 +200122,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200024
200122
|
|
|
200025
200123
|
var toPrint = function toPrint() {
|
|
200026
200124
|
viewElementContent = document.createElement("div");
|
|
200027
|
-
PrintStatus["a" /* Print */].printToHtml(
|
|
200125
|
+
PrintStatus["a" /* Print */].printToHtml(_this5._hoEditorFactoryID, createSvg, viewElementContent);
|
|
200028
200126
|
};
|
|
200029
200127
|
|
|
200030
200128
|
var createSvg = function createSvg() {
|
|
200031
|
-
if (
|
|
200129
|
+
if (_this5._xmlIndex > 0 && viewElementContent) {
|
|
200032
200130
|
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
200033
200131
|
viewElementContent.dataset.size = hoEditorFactory.pageProperty.pageSize;
|
|
200034
200132
|
viewElementContent.dataset.orientation = orientation;
|
|
200035
200133
|
|
|
200036
|
-
if (
|
|
200134
|
+
if (_this5._xmlIndex < 3) {
|
|
200037
200135
|
hoEditorFactory.continuousView.currentList.push(viewElementContent);
|
|
200038
200136
|
hoEditorFactory.continuousView.allList.push(viewElementContent);
|
|
200039
200137
|
} else {
|
|
@@ -200041,9 +200139,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200041
200139
|
}
|
|
200042
200140
|
}
|
|
200043
200141
|
|
|
200044
|
-
if (
|
|
200045
|
-
if (
|
|
200046
|
-
Promise.all([hoEditorFactory.vueController.openXml(
|
|
200142
|
+
if (_this5._xmlIndex <= _this5._viewXmlList.length - 1) {
|
|
200143
|
+
if (_this5._viewXmlList[_this5._xmlIndex]) {
|
|
200144
|
+
Promise.all([hoEditorFactory.vueController.openXml(_this5._viewXmlList[_this5._xmlIndex])]).then(function () {
|
|
200047
200145
|
if (hoEditorFactory.loadImageCount === 0) {
|
|
200048
200146
|
toPrint();
|
|
200049
200147
|
hoEditorFactory.loadImageCallback = null;
|
|
@@ -200051,7 +200149,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200051
200149
|
hoEditorFactory.loadImageCallback = toPrint;
|
|
200052
200150
|
}
|
|
200053
200151
|
});
|
|
200054
|
-
|
|
200152
|
+
_this5._xmlIndex++;
|
|
200055
200153
|
}
|
|
200056
200154
|
}
|
|
200057
200155
|
};
|
|
@@ -200067,7 +200165,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200067
200165
|
}, {
|
|
200068
200166
|
key: "mergeViewAll",
|
|
200069
200167
|
value: function mergeViewAll(xmlList, mergeEnd) {
|
|
200070
|
-
var
|
|
200168
|
+
var _this6 = this;
|
|
200071
200169
|
|
|
200072
200170
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
200073
200171
|
|
|
@@ -200087,16 +200185,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200087
200185
|
}
|
|
200088
200186
|
|
|
200089
200187
|
var createSvg = function createSvg() {
|
|
200090
|
-
|
|
200188
|
+
_this6._xmlIndex++;
|
|
200091
200189
|
|
|
200092
|
-
if (
|
|
200093
|
-
var current = typeof
|
|
200190
|
+
if (_this6._xmlIndex <= _this6._viewXmlList.length - 1) {
|
|
200191
|
+
var current = typeof _this6._viewXmlList[_this6._xmlIndex] != "string";
|
|
200094
200192
|
|
|
200095
|
-
var _xml = current ?
|
|
200193
|
+
var _xml = current ? _this6._viewXmlList[_this6._xmlIndex].xml : _this6._viewXmlList[_this6._xmlIndex];
|
|
200096
200194
|
|
|
200097
|
-
var isMerge = current ?
|
|
200195
|
+
var isMerge = current ? _this6._viewXmlList[_this6._xmlIndex].isMerge : false;
|
|
200098
200196
|
|
|
200099
|
-
if (
|
|
200197
|
+
if (_this6._xmlIndex === 0) {
|
|
200100
200198
|
Promise.all([hoEditorFactory.vueController.openXml(_xml, undefined, true)]).then(function () {
|
|
200101
200199
|
if (hoEditorFactory.loadImageCount == 0) {
|
|
200102
200200
|
hoEditorFactory.loadImageCallback = null;
|
|
@@ -200116,11 +200214,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200116
200214
|
});
|
|
200117
200215
|
}
|
|
200118
200216
|
|
|
200119
|
-
if (
|
|
200217
|
+
if (_this6._xmlIndex === _this6._viewXmlList.length - 1) {}
|
|
200120
200218
|
|
|
200121
200219
|
if (mergeEnd) {
|
|
200122
|
-
|
|
200123
|
-
|
|
200220
|
+
_this6._xmlIndex = 0;
|
|
200221
|
+
_this6._viewXmlList = [];
|
|
200124
200222
|
}
|
|
200125
200223
|
}
|
|
200126
200224
|
};
|
|
@@ -200738,33 +200836,43 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
200738
200836
|
name: "_ho_web",
|
|
200739
200837
|
storeName: this._storeName
|
|
200740
200838
|
});
|
|
200839
|
+
this._print_font = localforage_default.a.createInstance({
|
|
200840
|
+
name: "_ho_web",
|
|
200841
|
+
storeName: "_print_font"
|
|
200842
|
+
});
|
|
200843
|
+
this._cache_clear_time = localforage_default.a.createInstance({
|
|
200844
|
+
name: "_ho_web",
|
|
200845
|
+
storeName: "_cache_clear_time"
|
|
200846
|
+
});
|
|
200741
200847
|
} // 获取key的数据 => { data, keyInfo }
|
|
200742
200848
|
|
|
200743
200849
|
}, {
|
|
200744
200850
|
key: "getLocalStorage",
|
|
200745
200851
|
value: function getLocalStorage() {
|
|
200746
|
-
// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200747
|
-
// this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
200748
200852
|
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
200749
200853
|
this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
200750
200854
|
return this._ho_web.getItem(this._key);
|
|
200751
200855
|
}
|
|
200752
200856
|
}, {
|
|
200753
200857
|
key: "removeLocalStorage",
|
|
200754
|
-
value: function removeLocalStorage() {
|
|
200858
|
+
value: function removeLocalStorage(lastClearTime) {
|
|
200755
200859
|
var _this = this;
|
|
200756
200860
|
|
|
200757
|
-
|
|
200758
|
-
|
|
200759
|
-
|
|
200760
|
-
|
|
200861
|
+
this._ho_web.keys().then(function (keys) {
|
|
200862
|
+
keys.forEach(function (key) {
|
|
200863
|
+
_this._ho_web.getItem(key).then(function (value) {
|
|
200864
|
+
if (Array.isArray(value)) {
|
|
200865
|
+
if (new Date().getTime() - new Date(value[0].saveTime).getTime()) {
|
|
200866
|
+
_this._ho_web.removeItem(key);
|
|
200867
|
+
}
|
|
200868
|
+
} else {
|
|
200761
200869
|
if (new Date().getTime() - new Date(value.saveTime).getTime()) {
|
|
200762
200870
|
_this._ho_web.removeItem(key);
|
|
200763
200871
|
}
|
|
200764
|
-
}
|
|
200872
|
+
}
|
|
200765
200873
|
});
|
|
200766
200874
|
});
|
|
200767
|
-
}
|
|
200875
|
+
});
|
|
200768
200876
|
}
|
|
200769
200877
|
}, {
|
|
200770
200878
|
key: "clearLocalStorage",
|
|
@@ -200773,68 +200881,11 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
200773
200881
|
|
|
200774
200882
|
this._ho_web.clear().then(function () {});
|
|
200775
200883
|
}
|
|
200776
|
-
}, {
|
|
200777
|
-
key: "cancelManualSaveLocalStorage",
|
|
200778
|
-
value: function cancelManualSaveLocalStorage() {// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200779
|
-
// const data = localStorage.getItem(this._key);
|
|
200780
|
-
// if (data) {
|
|
200781
|
-
// let historyLogs = JSON.parse(data);
|
|
200782
|
-
// hoEitfactory.vueController.openXml(historyLogs.manual_save[0].xml);
|
|
200783
|
-
// localStorage.setItem(
|
|
200784
|
-
// this._key,
|
|
200785
|
-
// JSON.stringify({
|
|
200786
|
-
// ...historyLogs,
|
|
200787
|
-
// manual_save: [],
|
|
200788
|
-
// })
|
|
200789
|
-
// );
|
|
200790
|
-
// }
|
|
200791
|
-
}
|
|
200792
|
-
}, {
|
|
200793
|
-
key: "manualSaveLocalStorage",
|
|
200794
|
-
value: function manualSaveLocalStorage(auto_save_index) {// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200795
|
-
// const saveTime = dateFormat(new Date());
|
|
200796
|
-
// const data = localStorage.getItem(this._key);
|
|
200797
|
-
// if (data) {
|
|
200798
|
-
// let historyLogs = JSON.parse(data);
|
|
200799
|
-
// let arr = historyLogs.manual_save;
|
|
200800
|
-
// if (arr.length > 0) {
|
|
200801
|
-
// localStorage.setItem(
|
|
200802
|
-
// this._key,
|
|
200803
|
-
// JSON.stringify({
|
|
200804
|
-
// ...historyLogs,
|
|
200805
|
-
// manual_save: [
|
|
200806
|
-
// {
|
|
200807
|
-
// xml: arr[0].xml,
|
|
200808
|
-
// saveTime: saveTime,
|
|
200809
|
-
// },
|
|
200810
|
-
// ],
|
|
200811
|
-
// })
|
|
200812
|
-
// );
|
|
200813
|
-
// hoEitfactory.vueController.openXml(historyLogs.auto_save[auto_save_index].xml);
|
|
200814
|
-
// } else {
|
|
200815
|
-
// localStorage.setItem(
|
|
200816
|
-
// this._key,
|
|
200817
|
-
// JSON.stringify({
|
|
200818
|
-
// ...historyLogs,
|
|
200819
|
-
// manual_save: [
|
|
200820
|
-
// {
|
|
200821
|
-
// xml: hoEitfactory.structureConvert.doc2Xml("xml", true),
|
|
200822
|
-
// saveTime: saveTime,
|
|
200823
|
-
// },
|
|
200824
|
-
// ],
|
|
200825
|
-
// })
|
|
200826
|
-
// );
|
|
200827
|
-
// hoEitfactory.vueController.openXml(historyLogs.auto_save[auto_save_index].xml);
|
|
200828
|
-
// }
|
|
200829
|
-
// }
|
|
200830
|
-
}
|
|
200831
200884
|
}, {
|
|
200832
200885
|
key: "autoSaveLocalStorage",
|
|
200833
200886
|
value: function autoSaveLocalStorage() {
|
|
200834
200887
|
var _this3 = this;
|
|
200835
200888
|
|
|
200836
|
-
// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200837
|
-
// this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
200838
200889
|
if (this._lastSaveTime && new Date().getTime() - this._lastSaveTime <= this._intervalsTime) {
|
|
200839
200890
|
return;
|
|
200840
200891
|
}
|
|
@@ -200892,24 +200943,39 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
200892
200943
|
});
|
|
200893
200944
|
|
|
200894
200945
|
_this3._ho_web.setItem(_this3._key, _arr);
|
|
200895
|
-
}
|
|
200896
|
-
// xml: hoEitfactory.structureConvert.doc2Xml("xml", true),
|
|
200897
|
-
// saveTime: saveTime,
|
|
200898
|
-
// logs: logs,
|
|
200899
|
-
// });
|
|
200946
|
+
}
|
|
200900
200947
|
|
|
200948
|
+
_this3._cache_clear_time.getItem("_cache_clear_time").then(function (lastClearTime) {
|
|
200949
|
+
var _lastClearTime = lastClearTime;
|
|
200901
200950
|
|
|
200902
|
-
|
|
200903
|
-
|
|
200951
|
+
if (!lastClearTime) {
|
|
200952
|
+
_lastClearTime = new Date().getTime();
|
|
200904
200953
|
|
|
200905
|
-
|
|
200906
|
-
} else {
|
|
200907
|
-
if (new Date().getTime() - _this3._lastClearTime >= _this3._expirationTime) {
|
|
200908
|
-
_this3.removeLocalStorage();
|
|
200954
|
+
_this3._cache_clear_time.setItem("_cache_clear_time", _lastClearTime);
|
|
200909
200955
|
}
|
|
200910
|
-
|
|
200956
|
+
|
|
200957
|
+
_this3._lastClearTime = _lastClearTime;
|
|
200958
|
+
|
|
200959
|
+
if (new Date().getTime() - lastClearTime >= _this3._expirationTime) {
|
|
200960
|
+
_this3.removeLocalStorage(lastClearTime);
|
|
200961
|
+
|
|
200962
|
+
setTimeout(function () {
|
|
200963
|
+
_this3._cache_clear_time.setItem("_cache_clear_time", new Date().getTime());
|
|
200964
|
+
}, 0);
|
|
200965
|
+
}
|
|
200966
|
+
});
|
|
200911
200967
|
});
|
|
200912
200968
|
}
|
|
200969
|
+
}, {
|
|
200970
|
+
key: "saveFontString",
|
|
200971
|
+
value: function saveFontString(font) {
|
|
200972
|
+
this._print_font.setItem('sunsim_font', font);
|
|
200973
|
+
}
|
|
200974
|
+
}, {
|
|
200975
|
+
key: "loadFontString",
|
|
200976
|
+
value: function loadFontString() {
|
|
200977
|
+
return this._print_font.getItem('sunsim_font');
|
|
200978
|
+
}
|
|
200913
200979
|
}]);
|
|
200914
200980
|
|
|
200915
200981
|
return HoLocalStorage;
|
|
@@ -200971,6 +201037,8 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
200971
201037
|
this._openXmled = false;
|
|
200972
201038
|
this._isThrowError = true;
|
|
200973
201039
|
this._lastSaveTime = new Date(Date.now());
|
|
201040
|
+
this._superiorSigns = []; //上级医生签名
|
|
201041
|
+
|
|
200974
201042
|
this._hoEditorFactoryId = id;
|
|
200975
201043
|
}
|
|
200976
201044
|
/**
|
|
@@ -201588,16 +201656,26 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
201588
201656
|
this._contentIsModify = value;
|
|
201589
201657
|
}
|
|
201590
201658
|
}
|
|
201659
|
+
}, {
|
|
201660
|
+
key: "superiorSigns",
|
|
201661
|
+
get: function get() {
|
|
201662
|
+
return this._superiorSigns;
|
|
201663
|
+
},
|
|
201664
|
+
set: function set(value) {
|
|
201665
|
+
if (this._superiorSigns !== value) {
|
|
201666
|
+
this._superiorSigns = value;
|
|
201667
|
+
}
|
|
201668
|
+
}
|
|
201591
201669
|
}]);
|
|
201592
201670
|
|
|
201593
201671
|
return HOEditorFactory;
|
|
201594
201672
|
}();
|
|
201595
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
201596
|
-
var
|
|
201597
|
-
var
|
|
201673
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
201674
|
+
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"})])}
|
|
201675
|
+
var HoFootervue_type_template_id_5908306a_scoped_true_staticRenderFns = []
|
|
201598
201676
|
|
|
201599
201677
|
|
|
201600
|
-
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=
|
|
201678
|
+
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=5908306a&scoped=true&
|
|
201601
201679
|
|
|
201602
201680
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
201603
201681
|
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)}
|
|
@@ -201871,8 +201949,8 @@ HoFootervue_type_script_lang_ts_HoFooter = __decorate([vue_class_component_esm({
|
|
|
201871
201949
|
/* harmony default export */ var HoFootervue_type_script_lang_ts_ = (HoFootervue_type_script_lang_ts_HoFooter);
|
|
201872
201950
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=script&lang=ts&
|
|
201873
201951
|
/* harmony default export */ var components_HoFootervue_type_script_lang_ts_ = (HoFootervue_type_script_lang_ts_);
|
|
201874
|
-
// EXTERNAL MODULE: ./src/components/HoFooter.vue?vue&type=style&index=0&id=
|
|
201875
|
-
var
|
|
201952
|
+
// EXTERNAL MODULE: ./src/components/HoFooter.vue?vue&type=style&index=0&id=5908306a&lang=scss&scoped=true&
|
|
201953
|
+
var HoFootervue_type_style_index_0_id_5908306a_lang_scss_scoped_true_ = __webpack_require__("6d28");
|
|
201876
201954
|
|
|
201877
201955
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue
|
|
201878
201956
|
|
|
@@ -201885,11 +201963,11 @@ var HoFootervue_type_style_index_0_id_0f6cfe37_lang_scss_scoped_true_ = __webpac
|
|
|
201885
201963
|
|
|
201886
201964
|
var HoFooter_component = normalizeComponent(
|
|
201887
201965
|
components_HoFootervue_type_script_lang_ts_,
|
|
201888
|
-
|
|
201889
|
-
|
|
201966
|
+
HoFootervue_type_template_id_5908306a_scoped_true_render,
|
|
201967
|
+
HoFootervue_type_template_id_5908306a_scoped_true_staticRenderFns,
|
|
201890
201968
|
false,
|
|
201891
201969
|
null,
|
|
201892
|
-
"
|
|
201970
|
+
"5908306a",
|
|
201893
201971
|
null
|
|
201894
201972
|
|
|
201895
201973
|
)
|
|
@@ -203046,12 +203124,12 @@ var QrCode_component = normalizeComponent(
|
|
|
203046
203124
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
203047
203125
|
|
|
203048
203126
|
/* harmony default export */ var qrCode = (QrCode);
|
|
203049
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
203050
|
-
var TextDialogvue_type_template_id_24d51468_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":"43px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
203051
|
-
var
|
|
203127
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=304762c7&
|
|
203128
|
+
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)])}
|
|
203129
|
+
var TextDialogvue_type_template_id_304762c7_staticRenderFns = []
|
|
203052
203130
|
|
|
203053
203131
|
|
|
203054
|
-
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
203132
|
+
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=304762c7&
|
|
203055
203133
|
|
|
203056
203134
|
// 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&
|
|
203057
203135
|
|
|
@@ -203330,8 +203408,8 @@ var TextDialogvue_type_style_index_0_lang_scss_ = __webpack_require__("e8ee");
|
|
|
203330
203408
|
|
|
203331
203409
|
var TextDialog_component = normalizeComponent(
|
|
203332
203410
|
textDialog_TextDialogvue_type_script_lang_ts_,
|
|
203333
|
-
|
|
203334
|
-
|
|
203411
|
+
TextDialogvue_type_template_id_304762c7_render,
|
|
203412
|
+
TextDialogvue_type_template_id_304762c7_staticRenderFns,
|
|
203335
203413
|
false,
|
|
203336
203414
|
null,
|
|
203337
203415
|
null,
|
|
@@ -205611,12 +205689,12 @@ var TableColProperty_component = normalizeComponent(
|
|
|
205611
205689
|
)
|
|
205612
205690
|
|
|
205613
205691
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
205614
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
205615
|
-
var TableCellPropertyvue_type_template_id_58937242_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('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("上")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[0]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 0, $$v)},expression:"gridLinesColor[0]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("下")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[1]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 1, $$v)},expression:"gridLinesColor[1]"}})],1),_c('div',{staticClass:"grid-lines-color-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("左")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[2]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 2, $$v)},expression:"gridLinesColor[2]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("右")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[3]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 3, $$v)},expression:"gridLinesColor[3]"}})],1)]),_c('PrintLineStyle',{attrs:{"isDrawGridlines":_vm.isDrawGridlines,"defaultStyle":_vm.gridLinesStyle,"placeholder":"边框样式"},on:{"change":_vm.printStyleChange}}),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{attrs:{"disabled":!_vm.isDrawGridlines},model:{value:(_vm.printGridLines),callback:function ($$v) {_vm.printGridLines=$$v},expression:"printGridLines"}},[_vm._v("打印边框")])],1)],1)])])]),_c('el-tab-pane',{attrs:{"label":"双击属性","name":"1"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编辑器属性")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"编辑器属性","size":"mini"},model:{value:(_vm.editorProperty),callback:function ($$v) {_vm.editorProperty=$$v},expression:"editorProperty"}},[_c('el-option',{attrs:{"label":"无","value":0}}),_c('el-option',{attrs:{"label":"下拉列表","value":1}}),_c('el-option',{attrs:{"label":"日期","value":2}})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.splitCharacter),callback:function ($$v) {_vm.splitCharacter=$$v},expression:"splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}})],1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.allowMultiSelected),callback:function ($$v) {_vm.allowMultiSelected=$$v},expression:"allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAllowDel),callback:function ($$v) {_vm.isAllowDel=$$v},expression:"isAllowDel"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.canModifyContent),callback:function ($$v) {_vm.canModifyContent=$$v},expression:"canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listItems,"max-height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return (scope.$index !== _vm.listItems.length - 1 && _vm.focusIndexs === scope.$index)?[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]:undefined}}],null,true)})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期格式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.inputStyle),callback:function ($$v) {_vm.inputStyle=$$v},expression:"inputStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAutoInputCurDate),callback:function ($$v) {_vm.isAutoInputCurDate=$$v},expression:"isAutoInputCurDate"}},[_vm._v("双击设置当前日期时间")])],1)])])]),_c('el-tab-pane',{attrs:{"label":"斜分割线","name":"2"}},[_c('ul',{staticClass:"diagonal-line"},[_c('li',{class:_vm.obliqueSplitLine === 0 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(0)}}},[_c('span',{staticClass:"line no-line"}),_c('span',[_vm._v("None")])]),_c('li',{class:_vm.obliqueSplitLine === 1 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(1)}}},[_c('span',{staticClass:"line left-line top-line top-left-one-line"}),_c('span',[_vm._v("TopLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 2 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(2)}}},[_c('span',{staticClass:"line left-line top-line top-left-two-line"}),_c('span',[_vm._v("TopLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 3 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(3)}}},[_c('span',{staticClass:"line right-line top-line top-right-one-line"}),_c('span',[_vm._v("TopRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 4 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(4)}}},[_c('span',{staticClass:"line right-line top-line top-right-two-line"}),_c('span',[_vm._v("TopRightTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 5 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(5)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-one-line"}),_c('span',[_vm._v("BottomLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 6 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(6)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-two-line"}),_c('span',[_vm._v("BottomLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 7 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(7)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-one-line"}),_c('span',[_vm._v("BottomRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 8 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(8)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-two-line"}),_c('span',[_vm._v("BottomRightTwoLine")])])])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
205616
|
-
var
|
|
205692
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
205693
|
+
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)])}
|
|
205694
|
+
var TableCellPropertyvue_type_template_id_134c4d55_scoped_true_staticRenderFns = []
|
|
205617
205695
|
|
|
205618
205696
|
|
|
205619
|
-
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
205697
|
+
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=134c4d55&scoped=true&
|
|
205620
205698
|
|
|
205621
205699
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
205622
205700
|
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)}
|
|
@@ -206202,6 +206280,7 @@ var TableCellPropertyvue_type_script_lang_ts_TableCellProperty = /*#__PURE__*/fu
|
|
|
206202
206280
|
value: function sure() {
|
|
206203
206281
|
var _this2 = this;
|
|
206204
206282
|
|
|
206283
|
+
this.gridLinesColor = [this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0]];
|
|
206205
206284
|
var params = {
|
|
206206
206285
|
id: this.id,
|
|
206207
206286
|
lightCellBorders: this.lightCellBorders,
|
|
@@ -206294,8 +206373,8 @@ TableCellPropertyvue_type_script_lang_ts_TableCellProperty = __decorate([vue_cla
|
|
|
206294
206373
|
/* harmony default export */ var TableCellPropertyvue_type_script_lang_ts_ = (TableCellPropertyvue_type_script_lang_ts_TableCellProperty);
|
|
206295
206374
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=ts&
|
|
206296
206375
|
/* harmony default export */ var table_TableCellPropertyvue_type_script_lang_ts_ = (TableCellPropertyvue_type_script_lang_ts_);
|
|
206297
|
-
// EXTERNAL MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
206298
|
-
var
|
|
206376
|
+
// EXTERNAL MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=134c4d55&lang=scss&scoped=true&
|
|
206377
|
+
var TableCellPropertyvue_type_style_index_0_id_134c4d55_lang_scss_scoped_true_ = __webpack_require__("3e07");
|
|
206299
206378
|
|
|
206300
206379
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue
|
|
206301
206380
|
|
|
@@ -206308,11 +206387,11 @@ var TableCellPropertyvue_type_style_index_0_id_58937242_lang_scss_scoped_true_ =
|
|
|
206308
206387
|
|
|
206309
206388
|
var TableCellProperty_component = normalizeComponent(
|
|
206310
206389
|
table_TableCellPropertyvue_type_script_lang_ts_,
|
|
206311
|
-
|
|
206312
|
-
|
|
206390
|
+
TableCellPropertyvue_type_template_id_134c4d55_scoped_true_render,
|
|
206391
|
+
TableCellPropertyvue_type_template_id_134c4d55_scoped_true_staticRenderFns,
|
|
206313
206392
|
false,
|
|
206314
206393
|
null,
|
|
206315
|
-
"
|
|
206394
|
+
"134c4d55",
|
|
206316
206395
|
null
|
|
206317
206396
|
|
|
206318
206397
|
)
|
|
@@ -207996,6 +208075,7 @@ var json_font = __webpack_require__("2c6d");
|
|
|
207996
208075
|
|
|
207997
208076
|
|
|
207998
208077
|
|
|
208078
|
+
|
|
207999
208079
|
|
|
208000
208080
|
|
|
208001
208081
|
var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
@@ -208203,6 +208283,10 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
208203
208283
|
|
|
208204
208284
|
_this3.hoEditorFactoryIdList.push(id);
|
|
208205
208285
|
|
|
208286
|
+
if (Array.isArray(_this3.superiorSigns) && _this3.superiorSigns.length > 0) {
|
|
208287
|
+
hoEditor.superiorSigns = Object(toConsumableArray["a" /* default */])(_this3.superiorSigns);
|
|
208288
|
+
}
|
|
208289
|
+
|
|
208206
208290
|
hoEditor.contentIsModify = _this3.contentIsModify;
|
|
208207
208291
|
hoEditor.docTree.docProperty = _this3.defaultDocProperty;
|
|
208208
208292
|
HOEditorFactorys["a" /* HOEditorFactorys */].instance().hoEditorFactoryMap.set(id, hoEditor);
|
|
@@ -208511,6 +208595,8 @@ __decorate([Prop()], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "deleteImag
|
|
|
208511
208595
|
|
|
208512
208596
|
__decorate([Prop()], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "pageProperty", void 0);
|
|
208513
208597
|
|
|
208598
|
+
__decorate([Prop()], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "superiorSigns", void 0);
|
|
208599
|
+
|
|
208514
208600
|
__decorate([Watch("contentIsModify", {
|
|
208515
208601
|
deep: true
|
|
208516
208602
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "contentIsModifyChange", null);
|
|
@@ -208566,7 +208652,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
208566
208652
|
|
|
208567
208653
|
var HoDocs_component = normalizeComponent(
|
|
208568
208654
|
components_HoDocsvue_type_script_lang_ts_,
|
|
208569
|
-
|
|
208655
|
+
HoDocsvue_type_template_id_a11f7a34_render,
|
|
208570
208656
|
staticRenderFns,
|
|
208571
208657
|
false,
|
|
208572
208658
|
null,
|
|
@@ -208576,12 +208662,12 @@ var HoDocs_component = normalizeComponent(
|
|
|
208576
208662
|
)
|
|
208577
208663
|
|
|
208578
208664
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
208579
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
208580
|
-
var
|
|
208581
|
-
var
|
|
208665
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
208666
|
+
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)}
|
|
208667
|
+
var ToolBarvue_type_template_id_1ad97ddc_staticRenderFns = []
|
|
208582
208668
|
|
|
208583
208669
|
|
|
208584
|
-
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=
|
|
208670
|
+
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=1ad97ddc&
|
|
208585
208671
|
|
|
208586
208672
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
208587
208673
|
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)}
|
|
@@ -208688,12 +208774,12 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
208688
208774
|
)
|
|
208689
208775
|
|
|
208690
208776
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
208691
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
208692
|
-
var
|
|
208693
|
-
var
|
|
208777
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
208778
|
+
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)])}
|
|
208779
|
+
var HoPrintDialogvue_type_template_id_79c29b08_staticRenderFns = []
|
|
208694
208780
|
|
|
208695
208781
|
|
|
208696
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=
|
|
208782
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=79c29b08&
|
|
208697
208783
|
|
|
208698
208784
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=script&lang=ts&
|
|
208699
208785
|
|
|
@@ -208787,8 +208873,8 @@ var HoPrintDialogvue_type_style_index_0_lang_scss_ = __webpack_require__("40da")
|
|
|
208787
208873
|
|
|
208788
208874
|
var HoPrintDialog_component = normalizeComponent(
|
|
208789
208875
|
insert_HoPrintDialogvue_type_script_lang_ts_,
|
|
208790
|
-
|
|
208791
|
-
|
|
208876
|
+
HoPrintDialogvue_type_template_id_79c29b08_render,
|
|
208877
|
+
HoPrintDialogvue_type_template_id_79c29b08_staticRenderFns,
|
|
208792
208878
|
false,
|
|
208793
208879
|
null,
|
|
208794
208880
|
null,
|
|
@@ -209137,7 +209223,7 @@ var ToolFamily_ToolFamily = /*#__PURE__*/function (_Vue) {
|
|
|
209137
209223
|
"attrs": _objectSpread2({}, {
|
|
209138
209224
|
title: "字体",
|
|
209139
209225
|
poperStyle: {
|
|
209140
|
-
width: "
|
|
209226
|
+
width: "160px",
|
|
209141
209227
|
textAlign: "left"
|
|
209142
209228
|
}
|
|
209143
209229
|
})
|
|
@@ -211291,12 +211377,12 @@ var UploadFile_component = normalizeComponent(
|
|
|
211291
211377
|
)
|
|
211292
211378
|
|
|
211293
211379
|
/* harmony default export */ var toolbar_UploadFile = (UploadFile_component.exports);
|
|
211294
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
211295
|
-
var
|
|
211296
|
-
var
|
|
211380
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
211381
|
+
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()])}
|
|
211382
|
+
var HistoryLogsvue_type_template_id_13465a06_scoped_true_staticRenderFns = []
|
|
211297
211383
|
|
|
211298
211384
|
|
|
211299
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=
|
|
211385
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=13465a06&scoped=true&
|
|
211300
211386
|
|
|
211301
211387
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HistoryLogs.vue?vue&type=script&lang=ts&
|
|
211302
211388
|
|
|
@@ -211330,15 +211416,13 @@ var HistoryLogsvue_type_script_lang_ts_HistoryLogs = /*#__PURE__*/function (_Mix
|
|
|
211330
211416
|
// });
|
|
211331
211417
|
// }
|
|
211332
211418
|
// 撤销恢复
|
|
211419
|
+
// public cancelManualSaveLocalStorage(auto_save_index: number) {
|
|
211420
|
+
// this.vueController.hoLocalStorage().cancelManualSaveLocalStorage();
|
|
211421
|
+
// }
|
|
211422
|
+
// 恢复
|
|
211333
211423
|
|
|
211334
211424
|
|
|
211335
211425
|
Object(createClass["a" /* default */])(HistoryLogs, [{
|
|
211336
|
-
key: "cancelManualSaveLocalStorage",
|
|
211337
|
-
value: function cancelManualSaveLocalStorage(auto_save_index) {
|
|
211338
|
-
this.vueController.hoLocalStorage().cancelManualSaveLocalStorage();
|
|
211339
|
-
} // 恢复
|
|
211340
|
-
|
|
211341
|
-
}, {
|
|
211342
211426
|
key: "manualSaveLocalStorage",
|
|
211343
211427
|
value: function manualSaveLocalStorage(auto_save_index) {
|
|
211344
211428
|
var _this2 = this;
|
|
@@ -211388,8 +211472,8 @@ HistoryLogsvue_type_script_lang_ts_HistoryLogs = __decorate([vue_class_component
|
|
|
211388
211472
|
/* harmony default export */ var HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_HistoryLogs);
|
|
211389
211473
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=script&lang=ts&
|
|
211390
211474
|
/* harmony default export */ var insert_HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_);
|
|
211391
|
-
// EXTERNAL MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=style&index=0&id=
|
|
211392
|
-
var
|
|
211475
|
+
// EXTERNAL MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=style&index=0&id=13465a06&lang=scss&scoped=true&
|
|
211476
|
+
var HistoryLogsvue_type_style_index_0_id_13465a06_lang_scss_scoped_true_ = __webpack_require__("cae5");
|
|
211393
211477
|
|
|
211394
211478
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue
|
|
211395
211479
|
|
|
@@ -211402,11 +211486,11 @@ var HistoryLogsvue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true_ = __web
|
|
|
211402
211486
|
|
|
211403
211487
|
var HistoryLogs_component = normalizeComponent(
|
|
211404
211488
|
insert_HistoryLogsvue_type_script_lang_ts_,
|
|
211405
|
-
|
|
211406
|
-
|
|
211489
|
+
HistoryLogsvue_type_template_id_13465a06_scoped_true_render,
|
|
211490
|
+
HistoryLogsvue_type_template_id_13465a06_scoped_true_staticRenderFns,
|
|
211407
211491
|
false,
|
|
211408
211492
|
null,
|
|
211409
|
-
"
|
|
211493
|
+
"13465a06",
|
|
211410
211494
|
null
|
|
211411
211495
|
|
|
211412
211496
|
)
|
|
@@ -212104,12 +212188,12 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
212104
212188
|
}
|
|
212105
212189
|
})], ToolBarChild_ToolBarChild);
|
|
212106
212190
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
212107
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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=
|
|
212108
|
-
var ToolControlvue_type_template_id_46db29e5_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar"},[_vm._t("insertBefore"),(_vm.insert.delimiter)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('delimiter')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M535.630769 606.523077c55.138462 55.138462 106.338462 110.276923 161.476923 165.415385 23.630769 23.630769-11.815385 55.138462-35.446154 35.446154-47.261538-47.261538-94.523077-98.461538-141.784615-145.723077-47.261538 51.2-98.461538 98.461538-145.723077 149.661538-23.630769 23.630769-59.076923-11.815385-35.446154-35.446154 55.138462-55.138462 110.276923-110.276923 165.415385-165.415385C508.061538 598.646154 527.753846 598.646154 535.630769 606.523077z"}}),_c('path',{attrs:{"d":"M500.184615 417.476923c-55.138462-55.138462-110.276923-110.276923-165.415385-165.415385C311.138462 228.430769 346.584615 192.984615 370.215385 216.615385c47.261538 51.2 98.461538 98.461538 145.723077 149.661538 47.261538-47.261538 94.523077-98.461538 141.784615-145.723077 23.630769-23.630769 59.076923 11.815385 35.446154 35.446154-55.138462 55.138462-106.338462 110.276923-161.476923 165.415385C527.753846 425.353846 508.061538 425.353846 500.184615 417.476923z"}}),_c('path',{attrs:{"d":"M1024 515.938462c0 11.815385-27.569231 23.630769-63.015385 23.630769l-894.030769 0c-35.446154 0-63.015385-11.815385-63.015385-23.630769l0 0c0-11.815385 27.569231-23.630769 63.015385-23.630769l894.030769 0C996.430769 492.307692 1024 504.123077 1024 515.938462L1024 515.938462z"}})]),_c('span',[_vm._v("分割符")])]):_vm._e(),(_vm.insert.uploadImage)?_c('li',{staticClass:"sub-bar-items"},[_c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"show-file-list":false,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('svg',{staticStyle:{"transform":"translateY(3px)"},attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1):_vm._e(),(_vm.insert.barcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('barcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(5px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M65.7 158.7h134v703h-134zM703.3 158.7h134v703h-134zM263.4 158.7h57.4v703h-57.4zM901 158.7h57.4v703H901zM572.6 158.7h76.6v703h-76.6zM394.1 158.7H509v703H394.1z"}})]),_c('span',[_vm._v("条形码")])]):_vm._e(),(_vm.insert.qrcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('qrcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(6px)"},attrs:{"viewBox":"0 0 1041 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"13"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M948.906667 931.84h92.16V1024h-92.16zM948.906667 559.786667v184.32H853.333333v-184.32H576.853333V1024h92.16V651.946667h92.16v184.32h279.893334v-276.48z"}}),_c('path',{attrs:{"d":"M761.173333 931.84H853.333333V1024h-92.16zM187.733333 187.733333h92.16v92.16H187.733333z","p-id":"1209"}}),_c('path',{attrs:{"d":"M0 464.213333h464.213333V0H0v464.213333zM92.16 92.16h279.893333v279.893333H92.16V92.16zM187.733333 744.106667h92.16v92.16H187.733333z"}}),_c('path',{attrs:{"d":"M0 1024h464.213333V559.786667H0V1024z m92.16-372.053333h279.893333v279.893333H92.16v-279.893333zM761.173333 187.733333H853.333333v92.16h-92.16z"}}),_c('path',{attrs:{"d":"M1041.066667 0H576.853333v464.213333h464.213334V0z m-92.16 372.053333h-279.893334V92.16h279.893334v279.893333z"}})]),_c('span',[_vm._v("二维码")])]):_vm._e(),(_vm.insert.express)?_c('HoMedicalExpression',{on:{"openExpress":_vm.openExpress}}):_vm._e(),(_vm.insert.datetime)?_c('li',{staticClass:"sub-bar-items"},[_c('HoDateTime',{attrs:{"vueController":_vm.vueController},on:{"setModal":_vm.createControl}})],1):_vm._e(),(_vm.insert.select)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('select')}}},[_c('svg',{attrs:{"viewBox":"0 0 1573 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M890.432646 976.724088l649.322886-750.693969A136.987951 136.987951 0 0 0 1435.64469 0H136.998917a136.987951 136.987951 0 0 0-104.110842 226.030119l649.322886 749.32409a136.987951 136.987951 0 0 0 208.221685 1.369879z"}})]),_c('span',[_vm._v("下拉框")])]):_vm._e(),(_vm.insert.text)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('text')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M34.909091 474.763636c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818zM51.2 279.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 4.654545 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m921.6-316.509091c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m16.290909-300.218182c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 6.981818 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m-481.745455 165.236364H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727272 0h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m211.781818 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-9.309091-16.290909-16.290909-16.290909z m-318.836364 0H230.4c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727273-11.636364H109.381818V930.909091c0-9.309091-6.981818-18.618182-18.618182-18.618182H65.163636v-53.527273c0-9.309091-6.981818-18.618182-16.290909-18.618181-9.309091 0-16.290909 6.981818-16.290909 18.618181v53.527273H18.618182c-9.309091 0-18.618182 6.981818-18.618182 18.618182v74.472727c0 9.309091 6.981818 18.618182 18.618182 18.618182H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182v-16.290909h48.872727c9.309091-2.327273 18.618182-11.636364 18.618182-18.618182-2.327273-11.636364-20.945455-25.6-20.945455-25.6z m528.29091 11.636364h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m104.727272 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909zM442.181818 65.163636h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m-104.727273 0h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m209.454546 0H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909-2.327273 6.981818 6.981818 16.290909 13.963636 16.290909z m-316.509091 0h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H230.4c-9.309091 0-16.290909 6.981818-16.290909 18.618182 0 6.981818 6.981818 13.963636 16.290909 13.963636zM158.254545 32.581818H109.381818V18.618182c0-11.636364-9.309091-18.618182-18.618182-18.618182H18.618182C9.309091 0 0 6.981818 0 18.618182V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h16.290909v48.872727c2.327273 9.309091 11.636364 18.618182 18.618182 18.618182 9.309091 0 23.272727-18.618182 23.272727-18.618182V109.381818H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182V65.163636h48.872727c9.309091 0 16.290909-6.981818 16.290909-16.290909-2.327273-9.309091-9.309091-16.290909-18.618182-16.290909z m495.709091 32.581818h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m104.727273 0H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909zM1005.381818 0H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v16.290909h-48.872727c-9.309091 2.327273-18.618182 11.636364-18.618182 18.618182 0 9.309091 18.618182 23.272727 18.618182 23.272727h48.872727V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h25.6v53.527273c0 9.309091 6.981818 18.618182 16.290909 18.618181 9.309091 0 16.290909-6.981818 16.290909-18.618181V109.381818h16.290909c9.309091 0 18.618182-6.981818 18.618182-18.618182V18.618182c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 912.290909h-16.290909v-48.872727c-2.327273-9.309091-11.636364-18.618182-18.618182-18.618182-9.309091 0-23.272727 18.618182-23.272727 18.618182v48.872727H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v25.6h-48.872727c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h48.872727v16.290909c0 9.309091 6.981818 18.618182 18.618182 18.618182h74.472727c9.309091 0 18.618182-6.981818 18.618182-18.618182V930.909091c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 0"}}),_c('path',{attrs:{"d":"M781.963636 288.581818c0-11.636364 0-20.945455 2.327273-30.254545 0-9.309091 2.327273-16.290909 2.327273-25.6 0-11.636364-6.981818-20.945455-18.618182-23.272728-6.981818-2.327273-18.618182-2.327273-30.254545-2.327272H288.581818c-11.636364 0-20.945455 2.327273-30.254545 4.654545-18.618182 4.654545-20.945455 18.618182-20.945455 25.6 2.327273 20.945455 4.654545 41.890909 4.654546 62.836364 0 20.945455-2.327273 41.890909-4.654546 62.836363 0 4.654545 0 9.309091 9.309091 16.29091 4.654545 2.327273 9.309091 4.654545 13.963636 4.654545 4.654545 0 9.309091 0 13.963637-2.327273 6.981818-2.327273 11.636364-9.309091 13.963636-16.290909 4.654545-20.945455 9.309091-39.563636 13.963637-53.527273 4.654545-11.636364 11.636364-20.945455 18.618181-27.927272 6.981818-6.981818 16.290909-11.636364 27.927273-13.963637 11.636364-2.327273 27.927273-4.654545 48.872727-4.654545 27.927273 0 41.890909 4.654545 46.545455 6.981818 6.981818 4.654545 9.309091 18.618182 9.309091 27.927273v372.363636c0 18.618182 0 30.254545-2.327273 41.890909-2.327273 6.981818-4.654545 13.963636-9.309091 18.618182-4.654545 4.654545-11.636364 6.981818-18.618182 9.309091-9.309091 2.327273-23.272727 4.654545-39.563636 6.981818-6.981818 0-11.636364 4.654545-16.290909 11.636364-2.327273 4.654545-4.654545 9.309091-4.654546 16.290909 0 4.654545 2.327273 11.636364 4.654546 16.290909 4.654545 6.981818 9.309091 9.309091 18.618182 9.309091 18.618182 0 39.563636 0 62.836363-2.327273 44.218182-4.654545 83.781818-4.654545 123.345455 0 20.945455 2.327273 41.890909 2.327273 65.163636 2.327273 6.981818 0 13.963636-2.327273 18.618182-9.309091 2.327273-4.654545 4.654545-9.309091 4.654546-16.290909 0-4.654545-2.327273-11.636364-4.654546-16.290909-4.654545-11.636364-9.309091-16.290909-18.618182-16.290909-16.290909-2.327273-30.254545-4.654545-41.890909-6.981818-9.309091-2.327273-13.963636-4.654545-18.618182-9.309091-4.654545-4.654545-6.981818-9.309091-6.981818-16.290909-2.327273-9.309091-2.327273-23.272727-2.327273-41.89091v-372.363636c0-16.290909 2.327273-25.6 9.309091-27.927273 6.981818-2.327273 20.945455-6.981818 48.872728-6.981818 16.290909 0 32.581818 2.327273 44.218181 4.654546s20.945455 6.981818 27.927273 13.963636c6.981818 6.981818 13.963636 16.290909 18.618182 27.927273 4.654545 13.963636 9.309091 30.254545 11.636364 53.527272 2.327273 6.981818 6.981818 13.963636 13.963636 16.29091 4.654545 2.327273 9.309091 2.327273 13.963636 2.327272 4.654545 0 9.309091-2.327273 13.963637-4.654545 6.981818-4.654545 9.309091-11.636364 9.309091-16.290909 0-11.636364-2.327273-23.272727-2.327273-34.909091 4.654545-13.963636 4.654545-25.6 4.654545-37.236364z"}})]),_c('span',[_vm._v("文本域")])]):_vm._e(),(_vm.insert.radioBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('RadioBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M511.262 3.070c-282.949 0-507.681 227.919-507.681 509.095 0 281.143 227.919 509.092 509.063 509.092 281.175 0 509.095-227.948 509.095-509.092 0-281.175-227.527-509.095-510.477-509.095zM513.578 926.348c-230.265 0-416.953-186.688-416.953-416.951 0-230.292 186.688-416.98 416.953-416.98 230.293 0 416.951 186.689 416.951 416.98 0 230.265-186.658 416.951-416.951 416.951zM820.797 327.158c-17.682-18.585-46.313-18.585-63.99 0l-292.576 307.665-167.863-156.253c-17.683-18.553-46.311-18.553-63.995 0-17.653 18.587-17.653 48.719 0 67.303l195.65 182.058c16.923 17.817 43.956 18.539 61.716 2.196 8.935-1.589 17.508-5.991 24.41-13.234l306.649-322.463c17.653-18.583 17.653-48.685 0.002-67.27z"}})]),_c('span',[_vm._v("单选框")])]):_vm._e(),(_vm.insert.checkBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('CheckBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M877.714286 0H146.285714a146.285714 146.285714 0 0 0-146.285714 146.285714v731.428572a146.285714 146.285714 0 0 0 146.285714 146.285714h731.428572a146.285714 146.285714 0 0 0 146.285714-146.285714V146.285714a146.285714 146.285714 0 0 0-146.285714-146.285714z m73.142857 877.714286a73.142857 73.142857 0 0 1-73.142857 73.142857H146.285714a73.142857 73.142857 0 0 1-73.142857-73.142857V146.285714a73.142857 73.142857 0 0 1 73.142857-73.142857h731.428572a73.142857 73.142857 0 0 1 73.142857 73.142857z"}}),_c('path',{attrs:{"d":"M761.417143 282.331429L416.182857 628.297143 223.817143 438.857143A58.514286 58.514286 0 0 0 146.285714 438.857143a58.514286 58.514286 0 0 0 0 73.142857l230.4 230.4a90.697143 90.697143 0 0 0 38.765715 13.165714 67.291429 67.291429 0 0 0 38.034285-13.165714l384-384a47.542857 47.542857 0 0 0 0-76.8 58.514286 58.514286 0 0 0-76.068571 0.731429z"}})]),_c('span',[_vm._v("复选框")])]):_vm._e(),(_vm.insert.mathFormula)?_c('li',{staticClass:"sub-bar-items"},[_c('HoFormula',{attrs:{"vueController":_vm.vueController}})],1):_vm._e(),(_vm.insert.sign)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('sign')}}},[_c('span',[_vm._v("签名")])]):_vm._e(),(_vm.insert.pageInfoes)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('pageInfoes')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M732.258937 608.38132H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237038h283.372625a32.237037 32.237037 0 0 0 0-64.474075zM793.929791 0h-439.446055a132.41095 132.41095 0 0 0-126.144928 127.793881l-36.689211 1.071819A127.1343 127.1343 0 0 0 70.533977 256.082448v640.041223a131.916264 131.916264 0 0 0 126.144928 127.793881h472.837359a132.41095 132.41095 0 0 0 126.144928-127.793881h31.659903a132.41095 132.41095 0 0 0 126.144928-127.79388V214.446377zM669.516264 959.525926H196.349114a65.958132 65.958132 0 0 1-62.742673-63.89694V256.164895a62.907568 62.907568 0 0 1 60.0219-62.742673l34.463124-1.071819v575.567149a131.916264 131.916264 0 0 0 126.144928 127.793881h378.022544a67.277295 67.277295 0 0 1-62.990016 63.814493z m220.547504-191.690821a66.37037 66.37037 0 0 1-62.742673 63.89694H353.98905a65.958132 65.958132 0 0 1-62.742673-63.89694V127.793881A66.37037 66.37037 0 0 1 353.98905 63.89694h376.703382c-0.577134 74.202899 0 25.558776 0 25.558777 0 66.700161 34.463124 127.216747 101.657971 127.216747h57.713365zM732.258937 448.350403H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237037h283.372625a32.237037 32.237037 0 0 0 0-64.474074z"}})]),_c('span',[_vm._v("页码页数信息")])]):_vm._e(),_vm._t("hoInsertItem"),(_vm.insert.specialChars)?_c('li',{staticClass:"sub-bar-items"},[_c('HoSpecialChars',{attrs:{"vueController":_vm.vueController}})],1):_vm._e()],2)}
|
|
212109
|
-
var
|
|
212191
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
212192
|
+
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)}
|
|
212193
|
+
var ToolControlvue_type_template_id_0d21dc43_staticRenderFns = []
|
|
212110
212194
|
|
|
212111
212195
|
|
|
212112
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=
|
|
212196
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=0d21dc43&
|
|
212113
212197
|
|
|
212114
212198
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-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&
|
|
212115
212199
|
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)}
|
|
@@ -212485,7 +212569,7 @@ var HoFormula_component = normalizeComponent(
|
|
|
212485
212569
|
|
|
212486
212570
|
|
|
212487
212571
|
|
|
212488
|
-
|
|
212572
|
+
|
|
212489
212573
|
|
|
212490
212574
|
|
|
212491
212575
|
|
|
@@ -212648,7 +212732,7 @@ __decorate([Prop()], ToolControlvue_type_script_lang_ts_ToolControl.prototype, "
|
|
|
212648
212732
|
ToolControlvue_type_script_lang_ts_ToolControl = __decorate([vue_class_component_esm({
|
|
212649
212733
|
name: "ToolControl",
|
|
212650
212734
|
components: {
|
|
212651
|
-
|
|
212735
|
+
HoMedicalExpression: insert_HoMedicalExpression,
|
|
212652
212736
|
HoSpecialChars: insert_HoSpecialChars,
|
|
212653
212737
|
UploadImage: toolbar_UploadImage,
|
|
212654
212738
|
HoDateTime: insert_HoDateTime,
|
|
@@ -212669,8 +212753,8 @@ ToolControlvue_type_script_lang_ts_ToolControl = __decorate([vue_class_component
|
|
|
212669
212753
|
|
|
212670
212754
|
var ToolControl_component = normalizeComponent(
|
|
212671
212755
|
insert_ToolControlvue_type_script_lang_ts_,
|
|
212672
|
-
|
|
212673
|
-
|
|
212756
|
+
ToolControlvue_type_template_id_0d21dc43_render,
|
|
212757
|
+
ToolControlvue_type_template_id_0d21dc43_staticRenderFns,
|
|
212674
212758
|
false,
|
|
212675
212759
|
null,
|
|
212676
212760
|
null,
|
|
@@ -213676,8 +213760,8 @@ var ToolBarvue_type_style_index_0_lang_scss_ = __webpack_require__("e530");
|
|
|
213676
213760
|
|
|
213677
213761
|
var ToolBar_component = normalizeComponent(
|
|
213678
213762
|
toolbar_ToolBarvue_type_script_lang_ts_,
|
|
213679
|
-
|
|
213680
|
-
|
|
213763
|
+
ToolBarvue_type_template_id_1ad97ddc_render,
|
|
213764
|
+
ToolBarvue_type_template_id_1ad97ddc_staticRenderFns,
|
|
213681
213765
|
false,
|
|
213682
213766
|
null,
|
|
213683
213767
|
null,
|
|
@@ -213839,7 +213923,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213839
213923
|
tableFormula: true
|
|
213840
213924
|
};
|
|
213841
213925
|
_this.poppernIstance = null;
|
|
213842
|
-
_this.isIncludes =
|
|
213926
|
+
_this.isIncludes = "";
|
|
213843
213927
|
return _this;
|
|
213844
213928
|
} // get dialogStyle() {
|
|
213845
213929
|
// if (!this.rightNode) return "";
|
|
@@ -213874,19 +213958,13 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213874
213958
|
|
|
213875
213959
|
|
|
213876
213960
|
Object(createClass["a" /* default */])(HoRightMenu, [{
|
|
213877
|
-
key: "created",
|
|
213878
|
-
value: function created() {
|
|
213879
|
-
var _this$rightNode;
|
|
213880
|
-
|
|
213881
|
-
this.isIncludes = (_this$rightNode = this.rightNode) === null || _this$rightNode === void 0 ? void 0 : _this$rightNode.labelNode().isIncludes;
|
|
213882
|
-
this.patientID = this.vueController.getDocProperty().patientID;
|
|
213883
|
-
this.isDeisgn = this.rightNode.paintStatus;
|
|
213884
|
-
}
|
|
213885
|
-
}, {
|
|
213886
213961
|
key: "mounted",
|
|
213887
213962
|
value: function mounted() {
|
|
213888
|
-
var _this$rightNode2;
|
|
213963
|
+
var _this$rightNode, _this$rightNode2;
|
|
213964
|
+
|
|
213965
|
+
this.isIncludes = (_this$rightNode = this.rightNode) === null || _this$rightNode === void 0 ? void 0 : _this$rightNode.labelNode().isIncludes; // this.patientID = this.vueController?.getDocProperty().patientID;
|
|
213889
213966
|
|
|
213967
|
+
this.isDeisgn = this.rightNode.paintStatus;
|
|
213890
213968
|
var virtualElement = {
|
|
213891
213969
|
getBoundingClientRect: this.generateGetBoundingClientRect((_this$rightNode2 = this.rightNode) === null || _this$rightNode2 === void 0 ? void 0 : _this$rightNode2.rightPosition)
|
|
213892
213970
|
};
|
|
@@ -213960,7 +214038,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213960
214038
|
}, {
|
|
213961
214039
|
key: "hoCopy",
|
|
213962
214040
|
value: function hoCopy() {
|
|
213963
|
-
document.execCommand(
|
|
214041
|
+
document.execCommand("Copy"); // this.editController.editKeyCopy(event);
|
|
213964
214042
|
}
|
|
213965
214043
|
}, {
|
|
213966
214044
|
key: "hoPaste",
|
|
@@ -213989,7 +214067,9 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213989
214067
|
_this$rightNode11,
|
|
213990
214068
|
_this$rightNode12,
|
|
213991
214069
|
_this$rightNode13,
|
|
213992
|
-
_this$rightNode14
|
|
214070
|
+
_this$rightNode14,
|
|
214071
|
+
_this$rightNode15,
|
|
214072
|
+
_this$rightNode16;
|
|
213993
214073
|
|
|
213994
214074
|
var h = arguments[0];
|
|
213995
214075
|
return h("div", {
|
|
@@ -214098,39 +214178,41 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
214098
214178
|
return _this4.toUpdateNodes("text", event);
|
|
214099
214179
|
}
|
|
214100
214180
|
}
|
|
214101
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), ((_this$rightNode12 = this.rightNode) === null || _this$rightNode12 === void 0 ? void 0 : _this$rightNode12.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
214181
|
+
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), ((_this$rightNode12 = this.rightNode) === null || _this$rightNode12 === void 0 ? void 0 : _this$rightNode12.rightTypeIsTable) && this.defaultTable && ((_this$rightNode13 = this.rightNode) === null || _this$rightNode13 === void 0 ? void 0 : _this$rightNode13.paintStatus) === 0 && h("ul", {
|
|
214102
214182
|
"class": "mouse-right-menu"
|
|
214103
|
-
}, [
|
|
214183
|
+
}, [h("li", {
|
|
214104
214184
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
214105
|
-
}),
|
|
214185
|
+
}), h("li", {
|
|
214106
214186
|
"class": "mouse-menu-item",
|
|
214107
214187
|
"on": {
|
|
214108
214188
|
"click": function click() {
|
|
214109
214189
|
return _this4.toUpdateNodes("table", event);
|
|
214110
214190
|
}
|
|
214111
214191
|
}
|
|
214112
|
-
}, ["\u8868\u683C\u5C5E\u6027"]),
|
|
214192
|
+
}, ["\u8868\u683C\u5C5E\u6027"]), h("li", {
|
|
214113
214193
|
"class": "mouse-menu-item",
|
|
214114
214194
|
"on": {
|
|
214115
214195
|
"click": function click() {
|
|
214116
214196
|
return _this4.toUpdateNodes("table-col", event);
|
|
214117
214197
|
}
|
|
214118
214198
|
}
|
|
214119
|
-
}, ["\u8868\u683C\u5217\u5C5E\u6027"]),
|
|
214199
|
+
}, ["\u8868\u683C\u5217\u5C5E\u6027"]), h("li", {
|
|
214120
214200
|
"class": "mouse-menu-item",
|
|
214121
214201
|
"on": {
|
|
214122
214202
|
"click": function click() {
|
|
214123
214203
|
return _this4.toUpdateNodes("table-row", event);
|
|
214124
214204
|
}
|
|
214125
214205
|
}
|
|
214126
|
-
}, ["\u8868\u683C\u884C\u5C5E\u6027"]),
|
|
214206
|
+
}, ["\u8868\u683C\u884C\u5C5E\u6027"]), h("li", {
|
|
214127
214207
|
"class": "mouse-menu-item",
|
|
214128
214208
|
"on": {
|
|
214129
214209
|
"click": function click() {
|
|
214130
214210
|
return _this4.toUpdateNodes("table-cell", event);
|
|
214131
214211
|
}
|
|
214132
214212
|
}
|
|
214133
|
-
}, ["\u5355\u5143\u683C\u5C5E\u6027"]), h("
|
|
214213
|
+
}, ["\u5355\u5143\u683C\u5C5E\u6027"])]), ((_this$rightNode14 = this.rightNode) === null || _this$rightNode14 === void 0 ? void 0 : _this$rightNode14.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
214214
|
+
"class": "mouse-right-menu"
|
|
214215
|
+
}, [h("li", {
|
|
214134
214216
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
214135
214217
|
}), h("el-menu", {
|
|
214136
214218
|
"attrs": {
|
|
@@ -214145,7 +214227,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
214145
214227
|
className: "insert-rows-columns-right",
|
|
214146
214228
|
table: this.defaultTable
|
|
214147
214229
|
})
|
|
214148
|
-
})])]), ((_this$
|
|
214230
|
+
})])]), ((_this$rightNode15 = this.rightNode) === null || _this$rightNode15 === void 0 ? void 0 : _this$rightNode15.canShowComment) && h("ul", {
|
|
214149
214231
|
"class": "mouse-right-menu"
|
|
214150
214232
|
}, [h("li", {
|
|
214151
214233
|
"class": "mouse-menu-item",
|
|
@@ -214154,7 +214236,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
214154
214236
|
return _this4.hideComments();
|
|
214155
214237
|
}
|
|
214156
214238
|
}
|
|
214157
|
-
}, [(_this$
|
|
214239
|
+
}, [(_this$rightNode16 = this.rightNode) !== null && _this$rightNode16 !== void 0 && _this$rightNode16.isHideComments ? "显示" : "隐藏", "\u6279\u6CE8"])]), h("ul", {
|
|
214158
214240
|
"class": "mouse-right-menu"
|
|
214159
214241
|
}, [h("li", {
|
|
214160
214242
|
"class": "mouse-menu-item"
|