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.common.js
CHANGED
|
@@ -2546,6 +2546,17 @@ module.exports = !__webpack_require__("4b8b")(function () {
|
|
|
2546
2546
|
});
|
|
2547
2547
|
|
|
2548
2548
|
|
|
2549
|
+
/***/ }),
|
|
2550
|
+
|
|
2551
|
+
/***/ "0c55":
|
|
2552
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2553
|
+
|
|
2554
|
+
"use strict";
|
|
2555
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cdfc");
|
|
2556
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2557
|
+
/* unused harmony reexport * */
|
|
2558
|
+
|
|
2559
|
+
|
|
2549
2560
|
/***/ }),
|
|
2550
2561
|
|
|
2551
2562
|
/***/ "0c67":
|
|
@@ -22411,6 +22422,8 @@ _ctx.prototype.__createElement = function (elementName, properties, resetFill) {
|
|
|
22411
22422
|
// console.log(properties)
|
|
22412
22423
|
|
|
22413
22424
|
|
|
22425
|
+
element.setAttribute('font-style', 'normal');
|
|
22426
|
+
|
|
22414
22427
|
if ((properties['font-family'] === '宋体' || properties['font-family'] === 'SimSun' || properties['font-family'] === '宋体, SimSun') && properties['font-weight'] === 'bold') {
|
|
22415
22428
|
element.setAttribute('stroke', '#000');
|
|
22416
22429
|
element.setAttribute('stroke-width', '1');
|
|
@@ -22424,12 +22437,11 @@ _ctx.prototype.__createElement = function (elementName, properties, resetFill) {
|
|
|
22424
22437
|
element.setAttribute('stroke', '#000000');
|
|
22425
22438
|
element.setAttribute('stroke-width', '1');
|
|
22426
22439
|
element.setAttribute('font-weight', 'normal');
|
|
22427
|
-
} else {
|
|
22428
|
-
//
|
|
22440
|
+
} else if (properties['font-family'] !== 'Times New Roman') {
|
|
22441
|
+
// 非宋体黑体, Times New Roman默认转换成普通宋体
|
|
22429
22442
|
element.setAttribute('font-family', 'SimSun');
|
|
22430
22443
|
}
|
|
22431
22444
|
|
|
22432
|
-
element.setAttribute('font-style', 'normal');
|
|
22433
22445
|
return element;
|
|
22434
22446
|
};
|
|
22435
22447
|
/**
|
|
@@ -25598,13 +25610,6 @@ exports.UPCE = _UPCE2.default;
|
|
|
25598
25610
|
|
|
25599
25611
|
/***/ }),
|
|
25600
25612
|
|
|
25601
|
-
/***/ "243b":
|
|
25602
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
25603
|
-
|
|
25604
|
-
// extracted by mini-css-extract-plugin
|
|
25605
|
-
|
|
25606
|
-
/***/ }),
|
|
25607
|
-
|
|
25608
25613
|
/***/ "24e8":
|
|
25609
25614
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25610
25615
|
|
|
@@ -30434,7 +30439,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
30434
30439
|
/***/ "2c6d":
|
|
30435
30440
|
/***/ (function(module) {
|
|
30436
30441
|
|
|
30437
|
-
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}]}");
|
|
30442
|
+
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}]}");
|
|
30438
30443
|
|
|
30439
30444
|
/***/ }),
|
|
30440
30445
|
|
|
@@ -31773,17 +31778,6 @@ var TextStyle = /*#__PURE__*/function () {
|
|
|
31773
31778
|
return TextStyle;
|
|
31774
31779
|
}();
|
|
31775
31780
|
|
|
31776
|
-
/***/ }),
|
|
31777
|
-
|
|
31778
|
-
/***/ "3367":
|
|
31779
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31780
|
-
|
|
31781
|
-
"use strict";
|
|
31782
|
-
/* 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");
|
|
31783
|
-
/* 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__);
|
|
31784
|
-
/* unused harmony reexport * */
|
|
31785
|
-
|
|
31786
|
-
|
|
31787
31781
|
/***/ }),
|
|
31788
31782
|
|
|
31789
31783
|
/***/ "3384":
|
|
@@ -37516,6 +37510,17 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
37516
37510
|
|
|
37517
37511
|
// extracted by mini-css-extract-plugin
|
|
37518
37512
|
|
|
37513
|
+
/***/ }),
|
|
37514
|
+
|
|
37515
|
+
/***/ "3e07":
|
|
37516
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
37517
|
+
|
|
37518
|
+
"use strict";
|
|
37519
|
+
/* 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");
|
|
37520
|
+
/* 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__);
|
|
37521
|
+
/* unused harmony reexport * */
|
|
37522
|
+
|
|
37523
|
+
|
|
37519
37524
|
/***/ }),
|
|
37520
37525
|
|
|
37521
37526
|
/***/ "3f6b":
|
|
@@ -43371,17 +43376,6 @@ var UndoService_UndoService = /*#__PURE__*/function () {
|
|
|
43371
43376
|
return UndoService;
|
|
43372
43377
|
}();
|
|
43373
43378
|
|
|
43374
|
-
/***/ }),
|
|
43375
|
-
|
|
43376
|
-
/***/ "4562":
|
|
43377
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43378
|
-
|
|
43379
|
-
"use strict";
|
|
43380
|
-
/* 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");
|
|
43381
|
-
/* 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__);
|
|
43382
|
-
/* unused harmony reexport * */
|
|
43383
|
-
|
|
43384
|
-
|
|
43385
43379
|
/***/ }),
|
|
43386
43380
|
|
|
43387
43381
|
/***/ "45eb":
|
|
@@ -46684,34 +46678,23 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
46684
46678
|
// droots.length - 1,
|
|
46685
46679
|
// this.getNodePath()
|
|
46686
46680
|
// );
|
|
46687
|
-
}
|
|
46688
|
-
|
|
46689
|
-
|
|
46690
|
-
|
|
46691
|
-
|
|
46692
|
-
|
|
46693
|
-
|
|
46694
|
-
|
|
46695
|
-
|
|
46696
|
-
|
|
46697
|
-
|
|
46698
|
-
|
|
46699
|
-
|
|
46700
|
-
|
|
46701
|
-
|
|
46702
|
-
|
|
46703
|
-
if (mr + mainCell.rowSpan - 1 > maxR) {
|
|
46704
|
-
maxR = mr + mainCell.rowSpan - 1;
|
|
46705
|
-
}
|
|
46706
|
-
}
|
|
46707
|
-
}
|
|
46708
|
-
|
|
46709
|
-
while (maxR > r) {
|
|
46710
|
-
maxR = this.getSelectMaxR(maxR);
|
|
46711
|
-
}
|
|
46681
|
+
} // public getSelectMaxR(r: number): number {
|
|
46682
|
+
// let maxR = r;
|
|
46683
|
+
// for (let j = 0; j < this._colCount; j++) {
|
|
46684
|
+
// const cell = this._rows[r][j];
|
|
46685
|
+
// if (!cell) {
|
|
46686
|
+
// const [mainCell, mr, mc] = this.getMainCell(r, j);
|
|
46687
|
+
// if (mr + mainCell.rowSpan - 1 > maxR) {
|
|
46688
|
+
// maxR = mr + mainCell.rowSpan - 1;
|
|
46689
|
+
// }
|
|
46690
|
+
// }
|
|
46691
|
+
// }
|
|
46692
|
+
// while (maxR > r) {
|
|
46693
|
+
// maxR = this.getSelectMaxR(maxR);
|
|
46694
|
+
// }
|
|
46695
|
+
// return maxR;
|
|
46696
|
+
// }
|
|
46712
46697
|
|
|
46713
|
-
return maxR;
|
|
46714
|
-
}
|
|
46715
46698
|
}, {
|
|
46716
46699
|
key: "getHeadRowCountHeight",
|
|
46717
46700
|
value: function getHeadRowCountHeight() {
|
|
@@ -46728,11 +46711,32 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
46728
46711
|
}
|
|
46729
46712
|
|
|
46730
46713
|
if (ret >= 0) {
|
|
46714
|
+
var newMaxR = -1;
|
|
46731
46715
|
maxR = ret;
|
|
46732
|
-
maxR = this.getSelectMaxR(maxR);
|
|
46733
46716
|
|
|
46734
|
-
|
|
46735
|
-
|
|
46717
|
+
while (newMaxR != maxR) {
|
|
46718
|
+
if (newMaxR > maxR) {
|
|
46719
|
+
maxR = newMaxR;
|
|
46720
|
+
} else {
|
|
46721
|
+
newMaxR = maxR;
|
|
46722
|
+
}
|
|
46723
|
+
|
|
46724
|
+
for (var j = 0; j < this._colCount; j++) {
|
|
46725
|
+
var _this$getMainCell13 = this.getMainCell(maxR, j),
|
|
46726
|
+
_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),
|
|
46727
|
+
cell = _this$getMainCell14[0],
|
|
46728
|
+
mr = _this$getMainCell14[1],
|
|
46729
|
+
mc = _this$getMainCell14[2];
|
|
46730
|
+
|
|
46731
|
+
if (cell && maxR + cell.rowSpan - 1 > newMaxR) {
|
|
46732
|
+
newMaxR = cell.rowSpan - 1;
|
|
46733
|
+
}
|
|
46734
|
+
}
|
|
46735
|
+
} // maxR = this.getSelectMaxR(maxR);
|
|
46736
|
+
|
|
46737
|
+
|
|
46738
|
+
for (var _j3 = 0; _j3 <= maxR; _j3++) {
|
|
46739
|
+
headerRowHeight += this.drawTable.drawPageTables[0].getPartRowHeight(_j3);
|
|
46736
46740
|
}
|
|
46737
46741
|
}
|
|
46738
46742
|
|
|
@@ -48296,17 +48300,6 @@ if (!_vue2.default.prototype.$isServer) {
|
|
|
48296
48300
|
|
|
48297
48301
|
exports.default = PopupManager;
|
|
48298
48302
|
|
|
48299
|
-
/***/ }),
|
|
48300
|
-
|
|
48301
|
-
/***/ "4b36":
|
|
48302
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
48303
|
-
|
|
48304
|
-
"use strict";
|
|
48305
|
-
/* 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");
|
|
48306
|
-
/* 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__);
|
|
48307
|
-
/* unused harmony reexport * */
|
|
48308
|
-
|
|
48309
|
-
|
|
48310
48303
|
/***/ }),
|
|
48311
48304
|
|
|
48312
48305
|
/***/ "4b89":
|
|
@@ -48422,7 +48415,7 @@ exports.default = PopupManager;
|
|
|
48422
48415
|
/*
|
|
48423
48416
|
* @Author: your name
|
|
48424
48417
|
* @Date: 2020-11-03 15:17:54
|
|
48425
|
-
* @LastEditTime: 2021-12-
|
|
48418
|
+
* @LastEditTime: 2021-12-22 20:03:10
|
|
48426
48419
|
* @LastEditors: Please set LastEditors
|
|
48427
48420
|
* @Description: In User Settings Edit
|
|
48428
48421
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -48979,7 +48972,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
48979
48972
|
|
|
48980
48973
|
|
|
48981
48974
|
return _this;
|
|
48982
|
-
}
|
|
48975
|
+
} // private _isMultiLinesDisplay = false;//是否多行显示
|
|
48976
|
+
|
|
48983
48977
|
/**
|
|
48984
48978
|
* Getter alignWithBlocked
|
|
48985
48979
|
* @return {boolean}
|
|
@@ -49225,7 +49219,15 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
49225
49219
|
if (this._defaultValue !== value) {
|
|
49226
49220
|
this._defaultValue = value;
|
|
49227
49221
|
}
|
|
49228
|
-
} //
|
|
49222
|
+
} // get isMultiLinesDisplay(): boolean {
|
|
49223
|
+
// return this._isMultiLinesDisplay;
|
|
49224
|
+
// }
|
|
49225
|
+
// set isMultiLinesDisplay(value: boolean) {
|
|
49226
|
+
// if (this._isMultiLinesDisplay !== value) {
|
|
49227
|
+
// this._isMultiLinesDisplay = value;
|
|
49228
|
+
// }
|
|
49229
|
+
// }
|
|
49230
|
+
// get importStyle(): ImportStyle {
|
|
49229
49231
|
// return this._importStyle;
|
|
49230
49232
|
// }
|
|
49231
49233
|
// set importStyle(value: ImportStyle) {
|
|
@@ -49463,13 +49465,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
49463
49465
|
}, {
|
|
49464
49466
|
key: "getFieldText",
|
|
49465
49467
|
value: function getFieldText() {
|
|
49468
|
+
var _this3 = this;
|
|
49469
|
+
|
|
49466
49470
|
var text = "";
|
|
49467
49471
|
|
|
49468
49472
|
var loopChildNodes = function loopChildNodes(node) {
|
|
49469
49473
|
var nodes = node.childNodes.slice(1);
|
|
49470
49474
|
nodes.forEach(function (childNode) {
|
|
49471
49475
|
if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__[/* TextNode */ "a"]) {
|
|
49472
|
-
|
|
49476
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__[/* HOEditorFactorys */ "a"].instance().getFactory(_this3.hoEditorFactoryID);
|
|
49477
|
+
var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
|
|
49478
|
+
|
|
49479
|
+
if (textStyle.deleterIndex === -1 || textStyle.deleterIndex === undefined) {
|
|
49480
|
+
text += childNode.text;
|
|
49481
|
+
}
|
|
49473
49482
|
} else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_39__[/* ControlNode */ "a"]) {
|
|
49474
49483
|
text += childNode.text;
|
|
49475
49484
|
} else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_37__[/* BaseCombineNode */ "a"]) {
|
|
@@ -50103,6 +50112,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50103
50112
|
customProperty: this.customProperty,
|
|
50104
50113
|
alignWithBlocked: this.alignWithBlocked,
|
|
50105
50114
|
readType: this.readType,
|
|
50115
|
+
// isMultiLinesDisplay: this.isMultiLinesDisplay,
|
|
50106
50116
|
// "childNodes": childNodes
|
|
50107
50117
|
childNodes: childNodes
|
|
50108
50118
|
};
|
|
@@ -50203,7 +50213,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50203
50213
|
json.downListProperty._allowMultiSelected = json.downListProperty.allowMultiSelected ? json.downListProperty.allowMultiSelected : json.downListProperty._allowMultiSelected;
|
|
50204
50214
|
json.alignWithBlocked = !json.alignWithBlocked ? false : json.alignWithBlocked;
|
|
50205
50215
|
json.isSynchro = !json.isSynchro ? false : json.isSynchro;
|
|
50206
|
-
json.readType = json.readType ? Number(json.readType) : -1;
|
|
50216
|
+
json.readType = json.readType ? Number(json.readType) : -1; // json.isMultiLinesDisplay = !json.isMultiLinesDisplay ? false : json.isMultiLinesDisplay;
|
|
50217
|
+
|
|
50207
50218
|
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_38__[/* NodeType */ "b"].ntField, json); // this.insertChild
|
|
50208
50219
|
|
|
50209
50220
|
if (json.childNodes) {
|
|
@@ -50220,7 +50231,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50220
50231
|
hoEditorFactory.structureConvert._markNodes.push(node);
|
|
50221
50232
|
}
|
|
50222
50233
|
|
|
50223
|
-
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"]) {
|
|
50234
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
|
|
50224
50235
|
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
50225
50236
|
}
|
|
50226
50237
|
}
|
|
@@ -50234,7 +50245,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50234
50245
|
hoEditorFactory.structureConvert._markNodes.push(_node2);
|
|
50235
50246
|
}
|
|
50236
50247
|
|
|
50237
|
-
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"]) {
|
|
50248
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__[/* SignNode */ "a"] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
|
|
50238
50249
|
hoEditorFactory.structureConvert._superiorSign[0] = _node2;
|
|
50239
50250
|
}
|
|
50240
50251
|
}
|
|
@@ -56061,7 +56072,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56061
56072
|
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
56062
56073
|
// const isValidPath = hoEditorFactory.docTree.checkPath(value);
|
|
56063
56074
|
if (value.indexOf("-") >= 0) {
|
|
56064
|
-
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("
|
|
56075
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("当前路径s(" + value + ")异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。");
|
|
56065
56076
|
|
|
56066
56077
|
return;
|
|
56067
56078
|
} else {
|
|
@@ -56079,7 +56090,7 @@ var DomRange = /*#__PURE__*/function () {
|
|
|
56079
56090
|
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
56080
56091
|
// const isValidPath = hoEditorFactory.docTree.checkPath(value);
|
|
56081
56092
|
if (value.indexOf("-") >= 0) {
|
|
56082
|
-
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("
|
|
56093
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("当前路径e(" + value + ")异常,请用鼠标点击一下页面(重获路径)再进行之后的操作。");
|
|
56083
56094
|
|
|
56084
56095
|
return;
|
|
56085
56096
|
} else {
|
|
@@ -56730,13 +56741,6 @@ exports.default = {
|
|
|
56730
56741
|
|
|
56731
56742
|
/***/ }),
|
|
56732
56743
|
|
|
56733
|
-
/***/ "54a9":
|
|
56734
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
56735
|
-
|
|
56736
|
-
// extracted by mini-css-extract-plugin
|
|
56737
|
-
|
|
56738
|
-
/***/ }),
|
|
56739
|
-
|
|
56740
56744
|
/***/ "5524":
|
|
56741
56745
|
/***/ (function(module, exports) {
|
|
56742
56746
|
|
|
@@ -58961,6 +58965,7 @@ var DrawPageCell_DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
58961
58965
|
aTop = _get$call2[1],
|
|
58962
58966
|
aRestHeight = _get$call2[2];
|
|
58963
58967
|
|
|
58968
|
+
this._docHeight -= dTop;
|
|
58964
58969
|
this.updateDHeight();
|
|
58965
58970
|
|
|
58966
58971
|
var _this$_cell$table$get = this._cell.table.getCellRowCol(this._cell),
|
|
@@ -59215,6 +59220,7 @@ var DrawPageCell_DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
59215
59220
|
|
|
59216
59221
|
var ret = Object(get["a" /* default */])(Object(getPrototypeOf["a" /* default */])(DrawPageCell.prototype), "update", this).call(this, prevDrawArea, dlines, startIndex, valignTop, restHeight);
|
|
59217
59222
|
|
|
59223
|
+
this._docHeight -= valignTop;
|
|
59218
59224
|
this.updateDHeight();
|
|
59219
59225
|
return ret; // this.updateTouchArea(this._dHeight);
|
|
59220
59226
|
// this.paintCellBackground(this._dHeight);
|
|
@@ -69597,6 +69603,17 @@ var DocTree = /*#__PURE__*/function () {
|
|
|
69597
69603
|
// this.pageProperty.rightMargin;
|
|
69598
69604
|
// }
|
|
69599
69605
|
|
|
69606
|
+
/***/ }),
|
|
69607
|
+
|
|
69608
|
+
/***/ "6d28":
|
|
69609
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
69610
|
+
|
|
69611
|
+
"use strict";
|
|
69612
|
+
/* 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");
|
|
69613
|
+
/* 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__);
|
|
69614
|
+
/* unused harmony reexport * */
|
|
69615
|
+
|
|
69616
|
+
|
|
69600
69617
|
/***/ }),
|
|
69601
69618
|
|
|
69602
69619
|
/***/ "6d4d":
|
|
@@ -80338,7 +80355,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
80338
80355
|
if (dLine.drawItems.length > 0) {
|
|
80339
80356
|
dest.x = dLine.localToLocal(dLine.drawItems[0].x, dLine.drawItems[0].y, dPage.drawDocContainer).x;
|
|
80340
80357
|
} else {
|
|
80341
|
-
dest.x += dLine.dWidth;
|
|
80358
|
+
dest.x += dLine.dWidth / 2;
|
|
80342
80359
|
}
|
|
80343
80360
|
} //this._caret.dLine = dLine;
|
|
80344
80361
|
|
|
@@ -81792,8 +81809,14 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
81792
81809
|
key: "updatePageCountNodes",
|
|
81793
81810
|
value: function updatePageCountNodes() {
|
|
81794
81811
|
// const pageCount = this.drawPages.length;
|
|
81812
|
+
var hoeditfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
81795
81813
|
this.pageCountNodes.forEach(function (value, key) {
|
|
81796
|
-
value.drawNodes[0].updatePaint();
|
|
81814
|
+
value.drawNodes[0].updatePaint();
|
|
81815
|
+
var dArea = hoeditfactory.drawPageTree.getMainRootArea(value.drawNodes[0]);
|
|
81816
|
+
|
|
81817
|
+
if (dArea && value.rootPath.indexOf("main") < 0) {
|
|
81818
|
+
hoeditfactory.subDocManger.updateAllSameSubDoc(dArea.index, dArea.hftType, false, false);
|
|
81819
|
+
} // value.text = this.drawPages.length.toString();
|
|
81797
81820
|
// const strText = value.getPageNumText(pageCount, false);
|
|
81798
81821
|
// (value.drawNodes[0] as DrawPageCountNode).updatePageCount(strText);
|
|
81799
81822
|
// if (value.rootPath.startsWith("main")) {
|
|
@@ -81805,6 +81828,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
81805
81828
|
// } else {
|
|
81806
81829
|
// HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).subDocManger.updateAPageMark(value);
|
|
81807
81830
|
// }
|
|
81831
|
+
|
|
81808
81832
|
}); // this.pageNumNodes.forEach((value, key) => {
|
|
81809
81833
|
// const drawNode = value.drawNodes[0];
|
|
81810
81834
|
// const drawPage = this.getDrawPageByDomStage(drawNode.stage);
|
|
@@ -91120,17 +91144,6 @@ module.exports = function (string, tag, attribute, value) {
|
|
|
91120
91144
|
};
|
|
91121
91145
|
|
|
91122
91146
|
|
|
91123
|
-
/***/ }),
|
|
91124
|
-
|
|
91125
|
-
/***/ "85d8":
|
|
91126
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91127
|
-
|
|
91128
|
-
"use strict";
|
|
91129
|
-
/* 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");
|
|
91130
|
-
/* 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__);
|
|
91131
|
-
/* unused harmony reexport * */
|
|
91132
|
-
|
|
91133
|
-
|
|
91134
91147
|
/***/ }),
|
|
91135
91148
|
|
|
91136
91149
|
/***/ "85e7":
|
|
@@ -98765,13 +98778,6 @@ var UndoInfo = function UndoInfo(path, node) {
|
|
|
98765
98778
|
|
|
98766
98779
|
/***/ }),
|
|
98767
98780
|
|
|
98768
|
-
/***/ "9373":
|
|
98769
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
98770
|
-
|
|
98771
|
-
// extracted by mini-css-extract-plugin
|
|
98772
|
-
|
|
98773
|
-
/***/ }),
|
|
98774
|
-
|
|
98775
98781
|
/***/ "93cb":
|
|
98776
98782
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
98777
98783
|
|
|
@@ -102278,7 +102284,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
102278
102284
|
isSynchro: this.isSynchro,
|
|
102279
102285
|
controlStyle: this.controlStyle.replace("hh", "HH"),
|
|
102280
102286
|
name: this.name,
|
|
102281
|
-
text: this.text,
|
|
102287
|
+
text: this.text === this.name ? "" : this.text,
|
|
102282
102288
|
labelText: this.labelText,
|
|
102283
102289
|
title: this.title,
|
|
102284
102290
|
styleIndex: this.styleIndex,
|
|
@@ -153265,6 +153271,13 @@ progress.install = function (Vue) {
|
|
|
153265
153271
|
|
|
153266
153272
|
/***/ }),
|
|
153267
153273
|
|
|
153274
|
+
/***/ "c29b":
|
|
153275
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
153276
|
+
|
|
153277
|
+
// extracted by mini-css-extract-plugin
|
|
153278
|
+
|
|
153279
|
+
/***/ }),
|
|
153280
|
+
|
|
153268
153281
|
/***/ "c416":
|
|
153269
153282
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
153270
153283
|
|
|
@@ -154742,6 +154755,17 @@ $({ target: 'Array', proto: true }, {
|
|
|
154742
154755
|
addToUnscopables('includes');
|
|
154743
154756
|
|
|
154744
154757
|
|
|
154758
|
+
/***/ }),
|
|
154759
|
+
|
|
154760
|
+
/***/ "cae5":
|
|
154761
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
154762
|
+
|
|
154763
|
+
"use strict";
|
|
154764
|
+
/* 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");
|
|
154765
|
+
/* 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__);
|
|
154766
|
+
/* unused harmony reexport * */
|
|
154767
|
+
|
|
154768
|
+
|
|
154745
154769
|
/***/ }),
|
|
154746
154770
|
|
|
154747
154771
|
/***/ "cb29":
|
|
@@ -155008,6 +155032,13 @@ module.exports = function (C, x) {
|
|
|
155008
155032
|
};
|
|
155009
155033
|
|
|
155010
155034
|
|
|
155035
|
+
/***/ }),
|
|
155036
|
+
|
|
155037
|
+
/***/ "cdfc":
|
|
155038
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
155039
|
+
|
|
155040
|
+
// extracted by mini-css-extract-plugin
|
|
155041
|
+
|
|
155011
155042
|
/***/ }),
|
|
155012
155043
|
|
|
155013
155044
|
/***/ "ce18":
|
|
@@ -162998,6 +163029,13 @@ Matrix.prototype.calc = function (x, y, isRelative) {
|
|
|
162998
163029
|
module.exports = Matrix;
|
|
162999
163030
|
|
|
163000
163031
|
|
|
163032
|
+
/***/ }),
|
|
163033
|
+
|
|
163034
|
+
/***/ "e212":
|
|
163035
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
163036
|
+
|
|
163037
|
+
// extracted by mini-css-extract-plugin
|
|
163038
|
+
|
|
163001
163039
|
/***/ }),
|
|
163002
163040
|
|
|
163003
163041
|
/***/ "e23b":
|
|
@@ -166485,6 +166523,13 @@ exports.default = aria.Utils;
|
|
|
166485
166523
|
|
|
166486
166524
|
/***/ }),
|
|
166487
166525
|
|
|
166526
|
+
/***/ "e4dd":
|
|
166527
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
166528
|
+
|
|
166529
|
+
// extracted by mini-css-extract-plugin
|
|
166530
|
+
|
|
166531
|
+
/***/ }),
|
|
166532
|
+
|
|
166488
166533
|
/***/ "e507":
|
|
166489
166534
|
/***/ (function(module, exports, __webpack_require__) {
|
|
166490
166535
|
|
|
@@ -169878,13 +169923,6 @@ exports.default = CODE128A;
|
|
|
169878
169923
|
/* unused harmony reexport * */
|
|
169879
169924
|
|
|
169880
169925
|
|
|
169881
|
-
/***/ }),
|
|
169882
|
-
|
|
169883
|
-
/***/ "e8f8":
|
|
169884
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
169885
|
-
|
|
169886
|
-
// extracted by mini-css-extract-plugin
|
|
169887
|
-
|
|
169888
169926
|
/***/ }),
|
|
169889
169927
|
|
|
169890
169928
|
/***/ "e908":
|
|
@@ -171286,24 +171324,30 @@ var TableDeleteRowUndoUnit = /*#__PURE__*/function () {
|
|
|
171286
171324
|
/* 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__);
|
|
171287
171325
|
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("1276");
|
|
171288
171326
|
/* 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__);
|
|
171289
|
-
/* harmony import */ var
|
|
171290
|
-
/* harmony import */ var
|
|
171291
|
-
/* harmony import */ var
|
|
171292
|
-
/* harmony import */ var
|
|
171293
|
-
/* harmony import */ var
|
|
171294
|
-
/* harmony import */ var
|
|
171295
|
-
/* harmony import */ var
|
|
171296
|
-
/* harmony import */ var
|
|
171297
|
-
/* harmony import */ var
|
|
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
|
|
171327
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("caad");
|
|
171328
|
+
/* 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__);
|
|
171329
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("2532");
|
|
171330
|
+
/* 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__);
|
|
171331
|
+
/* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("ff80");
|
|
171332
|
+
/* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("8d79");
|
|
171333
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("8d1d");
|
|
171334
|
+
/* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("2026");
|
|
171335
|
+
/* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("6d0b");
|
|
171336
|
+
/* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("53b1");
|
|
171337
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("ca11");
|
|
171338
|
+
/* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__("26a9");
|
|
171339
|
+
/* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__("c1cd");
|
|
171340
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("91a4");
|
|
171341
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__("8841");
|
|
171342
|
+
/* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__("053b");
|
|
171343
|
+
/* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("1551");
|
|
171344
|
+
/* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__("a204");
|
|
171345
|
+
/* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__("2bc5");
|
|
171346
|
+
/* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__("49d1");
|
|
171347
|
+
/* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__("4b89");
|
|
171348
|
+
/* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__("110d");
|
|
171349
|
+
|
|
171350
|
+
|
|
171307
171351
|
|
|
171308
171352
|
|
|
171309
171353
|
|
|
@@ -171377,7 +171421,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171377
171421
|
|
|
171378
171422
|
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(this, CellNode);
|
|
171379
171423
|
|
|
171380
|
-
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode,
|
|
171424
|
+
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_30__[/* NodeType */ "b"].ntCell);
|
|
171381
171425
|
_this._hoEditorFactoryID = hoEditorFactoryID;
|
|
171382
171426
|
_this._borderVisible = [true, true, true, true];
|
|
171383
171427
|
_this._crossLineType = CrossLineType.ctNone;
|
|
@@ -171536,7 +171580,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171536
171580
|
}, {
|
|
171537
171581
|
key: "initBlankDoc",
|
|
171538
171582
|
value: function initBlankDoc() {
|
|
171539
|
-
var aparagraph = new
|
|
171583
|
+
var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__[/* ParagraphNode */ "a"](this._hoEditorFactoryID, this._rootNodes, this, 0);
|
|
171540
171584
|
aparagraph.node2DrawNode();
|
|
171541
171585
|
|
|
171542
171586
|
this._childNodes.push(aparagraph);
|
|
@@ -171556,7 +171600,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171556
171600
|
key: "placeDNodeAfterDTop",
|
|
171557
171601
|
value: function placeDNodeAfterDTop(droots, dTop) {
|
|
171558
171602
|
var paragraphNode = this.childNodes[0];
|
|
171559
|
-
var hoEditorFactory =
|
|
171603
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171560
171604
|
var aline = paragraphNode.drawlines[0];
|
|
171561
171605
|
hoEditorFactory.drawTree.drawDocInsert(paragraphNode, 0, paragraphNode, -1, hoEditorFactory.docTree.getNodeLastPath(this));
|
|
171562
171606
|
|
|
@@ -171596,7 +171640,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171596
171640
|
value: function updateWidth(awidth) {
|
|
171597
171641
|
this.drawCell.dWidth = awidth; // (this.childNodes[0] as ParagraphNode).drawlines[0].dWidth = awidth;
|
|
171598
171642
|
|
|
171599
|
-
|
|
171643
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
|
|
171600
171644
|
this._drawCell.drawLines.length = 0;
|
|
171601
171645
|
this.childNodes[0].node2DrawNode();
|
|
171602
171646
|
this.drawCell.drawLines.push(this.childNodes[0].drawlines[0]);
|
|
@@ -171614,15 +171658,15 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171614
171658
|
}, {
|
|
171615
171659
|
key: "redrawCell",
|
|
171616
171660
|
value: function redrawCell(repaintInmediate, action) {
|
|
171617
|
-
var hoEditorFactory =
|
|
171661
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171618
171662
|
|
|
171619
171663
|
if (repaintInmediate) {
|
|
171620
|
-
var dcChangeEvent = new
|
|
171664
|
+
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]));
|
|
171621
171665
|
|
|
171622
|
-
if (action ===
|
|
171666
|
+
if (action === _DocTree__WEBPACK_IMPORTED_MODULE_25__[/* DocAction */ "a"].daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_25__[/* DocAction */ "a"].daModifyStyle) {
|
|
171623
171667
|
dcChangeEvent.oldEndPath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
171624
171668
|
|
|
171625
|
-
if (action ===
|
|
171669
|
+
if (action === _DocTree__WEBPACK_IMPORTED_MODULE_25__[/* DocAction */ "a"].daDelete) {
|
|
171626
171670
|
dcChangeEvent.oldDrawTreeLines = this._table.drawTable.getCellsDrawTreeLines([this]);
|
|
171627
171671
|
} else {
|
|
171628
171672
|
dcChangeEvent.oldDrawLines = this._table.drawTable.getCellsDrawLines([this]);
|
|
@@ -171676,7 +171720,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171676
171720
|
}
|
|
171677
171721
|
|
|
171678
171722
|
aHeight += this._rowSpan;
|
|
171679
|
-
this._drawCell = new
|
|
171723
|
+
this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_21__[/* DrawCell */ "a"](this._hoEditorFactoryID, this, 0, aWidth, aHeight);
|
|
171680
171724
|
|
|
171681
171725
|
this._drawNodes.push(this._drawCell); // this._drawCell.drawLines.push(
|
|
171682
171726
|
// (this._childNodes[0] as ParagraphNode).drawlines[0]
|
|
@@ -171696,7 +171740,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171696
171740
|
}, {
|
|
171697
171741
|
key: "range",
|
|
171698
171742
|
value: function range() {
|
|
171699
|
-
var hoEditorFactory =
|
|
171743
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171700
171744
|
return {
|
|
171701
171745
|
from: hoEditorFactory.docTree.getNodeFirstPath(this),
|
|
171702
171746
|
to: hoEditorFactory.docTree.getNodeLastPath(this)
|
|
@@ -171714,7 +171758,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171714
171758
|
var node = this.childNodes[i];
|
|
171715
171759
|
var nodeJson = void 0;
|
|
171716
171760
|
|
|
171717
|
-
if (node instanceof
|
|
171761
|
+
if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__[/* TableNode */ "c"] || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__[/* TextInputFieldNode */ "f"]) {
|
|
171718
171762
|
nodeJson = node.node2Json(undefined, isCopy, type);
|
|
171719
171763
|
} else {
|
|
171720
171764
|
nodeJson = node.node2Json(undefined, isCopy);
|
|
@@ -171808,7 +171852,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171808
171852
|
}
|
|
171809
171853
|
|
|
171810
171854
|
return {
|
|
171811
|
-
nodeType:
|
|
171855
|
+
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_30__[/* NodeType */ "b"][this.nodeType],
|
|
171812
171856
|
borderVisible: this.borderVisible.toString(),
|
|
171813
171857
|
crossLineType: CrossLineType[this.crossLineType],
|
|
171814
171858
|
rowSpan: this.rowSpan,
|
|
@@ -171856,12 +171900,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171856
171900
|
newRange = arange.normalize();
|
|
171857
171901
|
}
|
|
171858
171902
|
|
|
171859
|
-
var hoEditorFactory =
|
|
171903
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171860
171904
|
var startPath = hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]);
|
|
171861
171905
|
var lastPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]);
|
|
171862
171906
|
|
|
171863
|
-
if (
|
|
171864
|
-
ret =
|
|
171907
|
+
if (_NodePosition__WEBPACK_IMPORTED_MODULE_27__[/* NodePosition */ "a"].pathCanCompare(newRange.startPath, startPath)) {
|
|
171908
|
+
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;
|
|
171865
171909
|
}
|
|
171866
171910
|
|
|
171867
171911
|
return ret;
|
|
@@ -171869,12 +171913,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171869
171913
|
}, {
|
|
171870
171914
|
key: "getNodesForUpdate",
|
|
171871
171915
|
value: function getNodesForUpdate() {
|
|
171872
|
-
var hoEditorFactory =
|
|
171916
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171873
171917
|
var ret = new Array();
|
|
171874
171918
|
|
|
171875
171919
|
for (var i = 0; i < this._childNodes.length; i++) {
|
|
171876
|
-
if (this._childNodes[i] instanceof
|
|
171877
|
-
var domRange = new
|
|
171920
|
+
if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__[/* TableNode */ "c"]) {
|
|
171921
|
+
var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_26__[/* DomRange */ "a"](this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
|
|
171878
171922
|
ret = ret.concat(this._childNodes[i].getSelectNodesForUpdate(domRange, true));
|
|
171879
171923
|
} else ret.push(this._childNodes[i]);
|
|
171880
171924
|
}
|
|
@@ -171884,16 +171928,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171884
171928
|
}, {
|
|
171885
171929
|
key: "getSelectNodes",
|
|
171886
171930
|
value: function getSelectNodes(bSplitTextInputNode) {
|
|
171887
|
-
var hoEditorFactory =
|
|
171931
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171888
171932
|
var ret = new Array();
|
|
171889
171933
|
|
|
171890
171934
|
for (var i = 0; i < this._childNodes.length; i++) {
|
|
171891
171935
|
var aNode = this._childNodes[i];
|
|
171892
171936
|
|
|
171893
|
-
if (aNode instanceof
|
|
171894
|
-
var domRange = new
|
|
171937
|
+
if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__[/* TableNode */ "c"]) {
|
|
171938
|
+
var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_26__[/* DomRange */ "a"](this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
|
|
171895
171939
|
ret = ret.concat(aNode.getSelectNodes(domRange, true, bSplitTextInputNode));
|
|
171896
|
-
} else if (bSplitTextInputNode && aNode instanceof
|
|
171940
|
+
} else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__[/* TextInputFieldNode */ "f"]) {
|
|
171897
171941
|
ret = ret.concat(aNode.getAllChildNodes());
|
|
171898
171942
|
} else ret.push(this._childNodes[i]);
|
|
171899
171943
|
}
|
|
@@ -171920,13 +171964,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171920
171964
|
var loopChildNodes = function loopChildNodes(node) {
|
|
171921
171965
|
var nodes = node.childNodes.slice(1);
|
|
171922
171966
|
nodes.forEach(function (childNode) {
|
|
171923
|
-
if (childNode instanceof
|
|
171967
|
+
if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__[/* TextNode */ "a"]) {
|
|
171924
171968
|
cellText += childNode.text;
|
|
171925
|
-
} else if (childNode instanceof
|
|
171969
|
+
} else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_31__[/* ControlNode */ "a"]) {
|
|
171926
171970
|
cellText += childNode.text;
|
|
171927
|
-
} else if (childNode instanceof
|
|
171971
|
+
} else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_29__[/* BaseCombineNode */ "a"]) {
|
|
171928
171972
|
loopChildNodes(childNode);
|
|
171929
|
-
} else if (childNode instanceof
|
|
171973
|
+
} else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__[/* ParagraphNode */ "a"]) {
|
|
171930
171974
|
cellText += '\n';
|
|
171931
171975
|
}
|
|
171932
171976
|
});
|
|
@@ -171939,11 +171983,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171939
171983
|
key: "setCellText",
|
|
171940
171984
|
value: function setCellText(value) {
|
|
171941
171985
|
var colIndex = this.row.indexOf(this);
|
|
171942
|
-
var hoEditorFactory =
|
|
171986
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
171943
171987
|
var colProperty = this.table.colInfos[colIndex].colProperty;
|
|
171944
171988
|
|
|
171945
|
-
if (colProperty.editorProperty ===
|
|
171946
|
-
if (!Object(
|
|
171989
|
+
if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* EditorProperty */ "e"].Number) {
|
|
171990
|
+
if (!Object(_plugins_type__WEBPACK_IMPORTED_MODULE_24__[/* isNumber */ "a"])(value)) {
|
|
171947
171991
|
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_3___default.a.alert("输入值非数值类型,请重输!", "提示");
|
|
171948
171992
|
|
|
171949
171993
|
return;
|
|
@@ -171974,7 +172018,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
171974
172018
|
|
|
171975
172019
|
var startPath = "".concat(this.getNodePath(), "/0");
|
|
171976
172020
|
var endPath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
171977
|
-
var aRange = new
|
|
172021
|
+
var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_26__[/* DomRange */ "a"](this._hoEditorFactoryID, startPath, endPath);
|
|
171978
172022
|
hoEditorFactory.docController.deleteRange(aRange, true);
|
|
171979
172023
|
hoEditorFactory.docController.insertPlainTextAfterPath(startPath, value);
|
|
171980
172024
|
}
|
|
@@ -172020,23 +172064,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172020
172064
|
}, {
|
|
172021
172065
|
key: "needPaintLineGrid",
|
|
172022
172066
|
value: function needPaintLineGrid() {
|
|
172023
|
-
var hoEditorFactory =
|
|
172067
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
172024
172068
|
|
|
172025
172069
|
var _this$table$getCellIn = this.table.getCellInfos(this),
|
|
172026
172070
|
_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),
|
|
172027
172071
|
r = _this$table$getCellIn2[0],
|
|
172028
172072
|
c = _this$table$getCellIn2[1];
|
|
172029
172073
|
|
|
172030
|
-
return (hoEditorFactory.docTree.docProperty.type ===
|
|
172074
|
+
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;
|
|
172031
172075
|
}
|
|
172032
172076
|
}], [{
|
|
172033
172077
|
key: "json2Node",
|
|
172034
172078
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, tableNode, aRow, rowsMap, rows, defaultCellProperty, isPaste) {
|
|
172035
|
-
var hoEditorFactory =
|
|
172079
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_23__[/* HOEditorFactorys */ "a"].instance().getFactory(hoEditorFactoryID);
|
|
172036
172080
|
var rowNo = parseInt(json.rowNo);
|
|
172037
172081
|
var colNo = parseInt(json.colNo);
|
|
172038
172082
|
aRow = rowsMap.get(rowNo);
|
|
172039
|
-
var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new
|
|
172083
|
+
var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* CellProperty */ "a"](""));
|
|
172040
172084
|
var cellProperty = json.cellProperty;
|
|
172041
172085
|
|
|
172042
172086
|
if (cellProperty === "") {
|
|
@@ -172060,9 +172104,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172060
172104
|
target[value] = Number(source[value]);
|
|
172061
172105
|
} else {
|
|
172062
172106
|
if (value === "dateTimeProperty") {
|
|
172063
|
-
cellNode.cellProperty.dateTimeProperty = new
|
|
172107
|
+
cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* DateTimeProperty */ "d"](source[value]);
|
|
172064
172108
|
} else if (value === "downListProperty") {
|
|
172065
|
-
cellNode.cellProperty.downListProperty = new
|
|
172109
|
+
cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_28__[/* ColDownListProperty */ "b"](source[value]);
|
|
172066
172110
|
} else {
|
|
172067
172111
|
target[value] = source[value];
|
|
172068
172112
|
}
|
|
@@ -172104,11 +172148,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172104
172148
|
cellNode.addChild(convertNode);
|
|
172105
172149
|
}
|
|
172106
172150
|
|
|
172107
|
-
if (convertNode instanceof
|
|
172151
|
+
if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_32__[/* MarkNode */ "a"]) {
|
|
172108
172152
|
hoEditorFactory.structureConvert._markNodes.push(convertNode);
|
|
172109
172153
|
}
|
|
172110
172154
|
|
|
172111
|
-
if (convertNode instanceof
|
|
172155
|
+
if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__[/* SignNode */ "a"] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
|
|
172112
172156
|
hoEditorFactory.structureConvert._superiorSign[0] = convertNode;
|
|
172113
172157
|
}
|
|
172114
172158
|
}
|
|
@@ -172147,7 +172191,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
172147
172191
|
}]);
|
|
172148
172192
|
|
|
172149
172193
|
return CellNode;
|
|
172150
|
-
}(
|
|
172194
|
+
}(_RectNode__WEBPACK_IMPORTED_MODULE_34__[/* RectNode */ "a"]);
|
|
172151
172195
|
|
|
172152
172196
|
/***/ }),
|
|
172153
172197
|
|
|
@@ -180255,12 +180299,15 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
180255
180299
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
180256
180300
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
180257
180301
|
|
|
180258
|
-
// 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=
|
|
180259
|
-
var
|
|
180302
|
+
// 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&
|
|
180303
|
+
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()}
|
|
180260
180304
|
var staticRenderFns = []
|
|
180261
180305
|
|
|
180262
180306
|
|
|
180263
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
180307
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=a11f7a34&
|
|
180308
|
+
|
|
180309
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
180310
|
+
var toConsumableArray = __webpack_require__("2909");
|
|
180264
180311
|
|
|
180265
180312
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
180266
180313
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -181178,9 +181225,6 @@ var HoDocvue_type_template_id_098ad338_staticRenderFns = []
|
|
|
181178
181225
|
|
|
181179
181226
|
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=098ad338&
|
|
181180
181227
|
|
|
181181
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
181182
|
-
var toConsumableArray = __webpack_require__("2909");
|
|
181183
|
-
|
|
181184
181228
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
181185
181229
|
var es_array_includes = __webpack_require__("caad");
|
|
181186
181230
|
|
|
@@ -181566,7 +181610,7 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
181566
181610
|
key: "mouseDblClick",
|
|
181567
181611
|
value: function () {
|
|
181568
181612
|
var _mouseDblClick = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(aevent) {
|
|
181569
|
-
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;
|
|
181613
|
+
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;
|
|
181570
181614
|
|
|
181571
181615
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
181572
181616
|
while (1) {
|
|
@@ -181664,7 +181708,9 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
181664
181708
|
|
|
181665
181709
|
prevNode = np.node.prevSibling();
|
|
181666
181710
|
|
|
181667
|
-
if (prevNode
|
|
181711
|
+
if (prevNode //处理双击单元格不跳光标的情况,暂废弃
|
|
181712
|
+
//&&!(np.node.parentNode instanceof CellNode &&np.node.parentNode.table.tableProperty.isAutoChangeLine&& dPage!=oldDPage)
|
|
181713
|
+
) {
|
|
181668
181714
|
oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
181669
181715
|
startPath = hoEditorFactory.docTree.getNodeLastPath(prevNode);
|
|
181670
181716
|
endPath = hoEditorFactory.docTree.getNodeLastPath(np.node);
|
|
@@ -181713,6 +181759,47 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
181713
181759
|
} else if (cellNode.cellProperty.editorProperty === TableProperty["e" /* EditorProperty */].DateTime || cellNode.cellProperty.editorProperty === TableProperty["e" /* EditorProperty */].DownList) {
|
|
181714
181760
|
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent["a" /* NodeNeedModifyEvent */](np.node, "dblclick", this._pageIndex);
|
|
181715
181761
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent2);
|
|
181762
|
+
} else if (cellNode.table.tableProperty.isAutoChangeLine) {
|
|
181763
|
+
//处理自动换行表格,双击时光标跳到指定双击位置
|
|
181764
|
+
dPageTable = cellNode.table.drawTable.getDrawTableByPageIndex(dPage.pageIndex);
|
|
181765
|
+
|
|
181766
|
+
if (dPageTable) {
|
|
181767
|
+
dPageCell = cellNode.drawCell.getDrawPageCell(dPageTable);
|
|
181768
|
+
|
|
181769
|
+
if (dPageCell) {
|
|
181770
|
+
pos = dPageCell.globalToLocal(aevent.stageX, aevent.stageY);
|
|
181771
|
+
docHeight = 0;
|
|
181772
|
+
dHeight = 0;
|
|
181773
|
+
index = cellNode.drawCell.drawPageCells.indexOf(dPageCell);
|
|
181774
|
+
|
|
181775
|
+
for (i = 0; i < index; i++) {
|
|
181776
|
+
docHeight += cellNode.drawCell.drawPageCells[i].docHeight;
|
|
181777
|
+
dHeight += cellNode.drawCell.drawPageCells[i].dHeight;
|
|
181778
|
+
}
|
|
181779
|
+
|
|
181780
|
+
dLastObj = cellNode.drawCell.drawLines[cellNode.drawCell.drawLines.length - 1];
|
|
181781
|
+
|
|
181782
|
+
if (dLastObj.dTop + dLastObj.docHeight < dHeight + pos.y) {
|
|
181783
|
+
distance = pos.y + dHeight - (dLastObj.dTop + dLastObj.dHeight);
|
|
181784
|
+
aHeight = cellNode.table.tableProperty.autoLineHeightPx;
|
|
181785
|
+
count = Math.floor(distance / aHeight);
|
|
181786
|
+
str = "";
|
|
181787
|
+
|
|
181788
|
+
for (j = 0; j < count; j++) {
|
|
181789
|
+
str += "\n";
|
|
181790
|
+
}
|
|
181791
|
+
|
|
181792
|
+
if (str != "") {
|
|
181793
|
+
_oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
181794
|
+
_endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
181795
|
+
_newRange = new DomRange["a" /* DomRange */](hoEditorFactory.hoEditorFactoryId, _endPath, _endPath);
|
|
181796
|
+
hoEditorFactory.drawTree.moveCaretToPath(_endPath);
|
|
181797
|
+
hoEditorFactory.docTree.curDomRange = _newRange;
|
|
181798
|
+
hoEditorFactory.docController.insertPlainTextAfterPath(_endPath, str);
|
|
181799
|
+
}
|
|
181800
|
+
}
|
|
181801
|
+
}
|
|
181802
|
+
}
|
|
181716
181803
|
}
|
|
181717
181804
|
|
|
181718
181805
|
case 43:
|
|
@@ -183062,14 +183149,14 @@ var HoToPage_component = normalizeComponent(
|
|
|
183062
183149
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
183063
183150
|
|
|
183064
183151
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
183065
|
-
// 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=
|
|
183066
|
-
var
|
|
183152
|
+
// 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&
|
|
183153
|
+
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){
|
|
183067
183154
|
var item = ref.item;
|
|
183068
|
-
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()])}
|
|
183069
|
-
var
|
|
183155
|
+
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()])}
|
|
183156
|
+
var PoperSelectvue_type_template_id_a0106e2e_scoped_true_staticRenderFns = []
|
|
183070
183157
|
|
|
183071
183158
|
|
|
183072
|
-
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
183159
|
+
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=a0106e2e&scoped=true&
|
|
183073
183160
|
|
|
183074
183161
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
183075
183162
|
var es_object_assign = __webpack_require__("cca6");
|
|
@@ -184232,8 +184319,8 @@ PoperSelectvue_type_script_lang_ts_PoperSelectModal = __decorate([vue_class_comp
|
|
|
184232
184319
|
/* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_PoperSelectModal);
|
|
184233
184320
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
|
|
184234
184321
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
|
|
184235
|
-
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
184236
|
-
var
|
|
184322
|
+
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=a0106e2e&lang=scss&scoped=true&
|
|
184323
|
+
var PoperSelectvue_type_style_index_0_id_a0106e2e_lang_scss_scoped_true_ = __webpack_require__("0c55");
|
|
184237
184324
|
|
|
184238
184325
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
|
|
184239
184326
|
|
|
@@ -184246,11 +184333,11 @@ var PoperSelectvue_type_style_index_0_id_858143be_lang_scss_scoped_true_ = __web
|
|
|
184246
184333
|
|
|
184247
184334
|
var PoperSelect_component = normalizeComponent(
|
|
184248
184335
|
poperSelect_PoperSelectvue_type_script_lang_ts_,
|
|
184249
|
-
|
|
184250
|
-
|
|
184336
|
+
PoperSelectvue_type_template_id_a0106e2e_scoped_true_render,
|
|
184337
|
+
PoperSelectvue_type_template_id_a0106e2e_scoped_true_staticRenderFns,
|
|
184251
184338
|
false,
|
|
184252
184339
|
null,
|
|
184253
|
-
"
|
|
184340
|
+
"a0106e2e",
|
|
184254
184341
|
null
|
|
184255
184342
|
|
|
184256
184343
|
)
|
|
@@ -186816,6 +186903,9 @@ var DrawPageTable = __webpack_require__("e2ed");
|
|
|
186816
186903
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTable.ts
|
|
186817
186904
|
var DrawTable = __webpack_require__("7d22");
|
|
186818
186905
|
|
|
186906
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableNode.ts
|
|
186907
|
+
var TableNode = __webpack_require__("49d1");
|
|
186908
|
+
|
|
186819
186909
|
// CONCATENATED MODULE: ./src/editor/draw/drawTree/DrawPageTree.ts
|
|
186820
186910
|
|
|
186821
186911
|
|
|
@@ -186839,6 +186929,7 @@ var DrawTable = __webpack_require__("7d22");
|
|
|
186839
186929
|
|
|
186840
186930
|
|
|
186841
186931
|
|
|
186932
|
+
|
|
186842
186933
|
|
|
186843
186934
|
|
|
186844
186935
|
var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
@@ -187136,6 +187227,21 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
187136
187227
|
|
|
187137
187228
|
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
187138
187229
|
|
|
187230
|
+
if (restHeight < TableNode["d" /* gDefaultRowHeight */] && drawArea instanceof DrawPageMainDoc["a" /* DrawPageMainDoc */]) {
|
|
187231
|
+
drawArea.endDline = nextLine - 1; // drawArea.stage.update();
|
|
187232
|
+
// this.updateDrawPage(drawArea.pageIndex);
|
|
187233
|
+
|
|
187234
|
+
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
187235
|
+
this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
|
|
187236
|
+
pageIsFull.set(drawArea.index, true);
|
|
187237
|
+
drawArea = this.getNextDrawArea(drawArea);
|
|
187238
|
+
dTop = 0;
|
|
187239
|
+
|
|
187240
|
+
if (drawArea.allowAcrossPage) {
|
|
187241
|
+
restHeight = drawArea.maxHeight - dTop;
|
|
187242
|
+
}
|
|
187243
|
+
}
|
|
187244
|
+
|
|
187139
187245
|
var dPageTable = _dobj.paintTable(drawArea, dTop, restHeight, startRow);
|
|
187140
187246
|
|
|
187141
187247
|
if (dPageTable) {
|
|
@@ -188539,9 +188645,6 @@ var Paragraph = __webpack_require__("c7e5");
|
|
|
188539
188645
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ImageNode.ts + 1 modules
|
|
188540
188646
|
var ImageNode = __webpack_require__("80c7");
|
|
188541
188647
|
|
|
188542
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableNode.ts
|
|
188543
|
-
var TableNode = __webpack_require__("49d1");
|
|
188544
|
-
|
|
188545
188648
|
// CONCATENATED MODULE: ./src/editor/utils/HTMLConverter.ts
|
|
188546
188649
|
|
|
188547
188650
|
|
|
@@ -188693,12 +188796,20 @@ var HTMLConverter_HTMLconverter2 = /*#__PURE__*/function () {
|
|
|
188693
188796
|
tmp.splice(tmp.length - 1, 1);
|
|
188694
188797
|
}
|
|
188695
188798
|
}
|
|
188799
|
+
|
|
188800
|
+
if (jnode.childNodes[i].nodeName.toLowerCase() === "p" && jnode.childNodes[i - 1] && jnode.childNodes[i - 1].nodeName.toLowerCase() !== "p") {
|
|
188801
|
+
var _childNode = Object(jnode.childNodes[i]);
|
|
188802
|
+
|
|
188803
|
+
if (_childNode.className && _childNode.className === "MsoNormal" && tmp[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
188804
|
+
tmp.splice(0, 1);
|
|
188805
|
+
}
|
|
188806
|
+
}
|
|
188696
188807
|
}
|
|
188697
188808
|
|
|
188698
188809
|
for (var _i = 0; _i < tmp.length; _i++) {
|
|
188699
|
-
var
|
|
188810
|
+
var _childNode2 = tmp[_i];
|
|
188700
188811
|
|
|
188701
|
-
if (
|
|
188812
|
+
if (_childNode2 instanceof TableNode["c" /* TableNode */] && _childNode2.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
188702
188813
|
lib_message_box_default.a.alert("不能在文本域中插入表格");
|
|
188703
188814
|
|
|
188704
188815
|
return [];
|
|
@@ -189474,6 +189585,8 @@ var LabelNode = __webpack_require__("d4b2");
|
|
|
189474
189585
|
|
|
189475
189586
|
|
|
189476
189587
|
|
|
189588
|
+
|
|
189589
|
+
|
|
189477
189590
|
|
|
189478
189591
|
|
|
189479
189592
|
|
|
@@ -191619,7 +191732,7 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
191619
191732
|
_this5._markNodes.push(aNode);
|
|
191620
191733
|
}
|
|
191621
191734
|
|
|
191622
|
-
if (aNode instanceof SignNode["a" /* SignNode */]) {
|
|
191735
|
+
if (aNode instanceof SignNode["a" /* SignNode */] && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(aNode.customProperty.bce01)) {
|
|
191623
191736
|
_this5._superiorSign[0] = aNode;
|
|
191624
191737
|
}
|
|
191625
191738
|
}
|
|
@@ -191817,8 +191930,7 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
191817
191930
|
var range = new DomRange["a" /* DomRange */](this._hoEditorFactoryID, strFirstPath, strFirstPath);
|
|
191818
191931
|
hoEditorFactory.docTree.curDomRange = range;
|
|
191819
191932
|
var cgEvent = new SelectionChangeEvent["a" /* SelectionChangeEvent */](range, range);
|
|
191820
|
-
hoEditorFactory.docTree.selectChange(cgEvent);
|
|
191821
|
-
this._superiorSign.length = 0;
|
|
191933
|
+
hoEditorFactory.docTree.selectChange(cgEvent); //this._superiorSign.length = 0;
|
|
191822
191934
|
|
|
191823
191935
|
if (this._superiorSign.length > 0) {
|
|
191824
191936
|
//获取最后面的那个上级签名节点
|
|
@@ -192431,9 +192543,13 @@ var StructureNode_StructureNode = /*#__PURE__*/function () {
|
|
|
192431
192543
|
}));
|
|
192432
192544
|
} else {
|
|
192433
192545
|
//开始结束不是同一个cellnode时候 cellnode一定是被全选的, 所以下面的节点from,to需要单独设置下
|
|
192434
|
-
|
|
192435
|
-
|
|
192436
|
-
|
|
192546
|
+
var sNodeLastPath = hoEditorFactory.docTree.getNodeLastPath(nstart);
|
|
192547
|
+
|
|
192548
|
+
if (sNodeLastPath !== currDom.startPath) {
|
|
192549
|
+
this._structoredNode.push(new StructureNode_StructureRecord(this._hoEditorFactoryID, this.getPrevLastPath(nstart), nstart, {
|
|
192550
|
+
from: nstart instanceof TableNode["c" /* TableNode */] ? nstart.range().from : currDom.startPath
|
|
192551
|
+
}));
|
|
192552
|
+
}
|
|
192437
192553
|
|
|
192438
192554
|
var node = nstart.nextSibling();
|
|
192439
192555
|
|
|
@@ -193229,6 +193345,7 @@ var MedicalExpressionNode = __webpack_require__("b790");
|
|
|
193229
193345
|
|
|
193230
193346
|
|
|
193231
193347
|
|
|
193348
|
+
|
|
193232
193349
|
|
|
193233
193350
|
|
|
193234
193351
|
var VueController_VueController = /*#__PURE__*/function () {
|
|
@@ -195406,11 +195523,15 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
195406
195523
|
} //画当前页的遮罩层
|
|
195407
195524
|
|
|
195408
195525
|
|
|
195409
|
-
var
|
|
195526
|
+
var drawNode = signNode.drawNodes[0];
|
|
195527
|
+
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(drawNode);
|
|
195410
195528
|
var actualHeight = hoEditorFactory.drawPageTree.drawHeaders[0].actualHeight;
|
|
195411
|
-
superiorSign[1] = curPageIndex;
|
|
195412
|
-
|
|
195413
|
-
|
|
195529
|
+
superiorSign[1] = curPageIndex; //superiorSign[2] = dline.y;
|
|
195530
|
+
|
|
195531
|
+
var stagePt = dline.localToGlobal(drawNode.x, drawNode.y);
|
|
195532
|
+
var localPt = curArea.globalToLocal(stagePt.x, stagePt.y);
|
|
195533
|
+
superiorSign[2] = localPt.y;
|
|
195534
|
+
paintMask(curPageIndex, localPt.y + actualHeight + drawNode.y);
|
|
195414
195535
|
}
|
|
195415
195536
|
}
|
|
195416
195537
|
}
|
|
@@ -199488,6 +199609,9 @@ var jspdf_es_min = __webpack_require__("8baf");
|
|
|
199488
199609
|
|
|
199489
199610
|
|
|
199490
199611
|
|
|
199612
|
+
|
|
199613
|
+
|
|
199614
|
+
|
|
199491
199615
|
|
|
199492
199616
|
|
|
199493
199617
|
|
|
@@ -199510,6 +199634,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199510
199634
|
|
|
199511
199635
|
this._viewXmlList = [];
|
|
199512
199636
|
this._xmlIndex = 0;
|
|
199637
|
+
this._isSetFont = false;
|
|
199638
|
+
this._isFont = false;
|
|
199639
|
+
this._waitPrint = false;
|
|
199513
199640
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
199514
199641
|
}
|
|
199515
199642
|
/**
|
|
@@ -199521,10 +199648,17 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199521
199648
|
Object(createClass["a" /* default */])(PrintController, [{
|
|
199522
199649
|
key: "setjsPDFFonts",
|
|
199523
199650
|
value: function setjsPDFFonts(font) {
|
|
199651
|
+
this._isSetFont = true;
|
|
199524
199652
|
jspdf_es_min["d" /* default */].API.events.push(["addFonts", function () {
|
|
199525
199653
|
this.addFileToVFS("SimSun-normal.ttf", font);
|
|
199526
199654
|
this.addFont("SimSun-normal.ttf", "SimSun", "normal");
|
|
199527
199655
|
}]);
|
|
199656
|
+
|
|
199657
|
+
if (this._waitPrint) {
|
|
199658
|
+
lib_message_box_default.a.close();
|
|
199659
|
+
|
|
199660
|
+
this.printPromisePDF();
|
|
199661
|
+
}
|
|
199528
199662
|
}
|
|
199529
199663
|
/**
|
|
199530
199664
|
* 保存pdf
|
|
@@ -199584,12 +199718,29 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199584
199718
|
value: function printPromisePDF(beforePrintedStatus, printMode, printAppoint) {
|
|
199585
199719
|
var _this2 = this;
|
|
199586
199720
|
|
|
199721
|
+
if (!this._isSetFont) {
|
|
199722
|
+
this._waitPrint = true;
|
|
199723
|
+
|
|
199724
|
+
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>", "提示", {
|
|
199725
|
+
iconClass: "el-icon-loading",
|
|
199726
|
+
center: true,
|
|
199727
|
+
showConfirmButton: false,
|
|
199728
|
+
dangerouslyUseHTMLString: true
|
|
199729
|
+
});
|
|
199730
|
+
|
|
199731
|
+
return;
|
|
199732
|
+
}
|
|
199733
|
+
|
|
199587
199734
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
199588
199735
|
|
|
199589
199736
|
if (!hoEditorFactory.isHideComments) {
|
|
199590
199737
|
hoEditorFactory.vueController.hideComments(true);
|
|
199591
199738
|
}
|
|
199592
199739
|
|
|
199740
|
+
if (beforePrintedStatus == undefined) {
|
|
199741
|
+
beforePrintedStatus = hoEditorFactory.drawTree.paintStatus;
|
|
199742
|
+
}
|
|
199743
|
+
|
|
199593
199744
|
if (printMode && printAppoint) {
|
|
199594
199745
|
var appoint = printAppoint.replace(/\s*/g, "").replace(/[^\d]/g, ",").split(",");
|
|
199595
199746
|
var maxLen = hoEditorFactory.drawTree.drawPages.length;
|
|
@@ -199694,13 +199845,13 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199694
199845
|
}, {
|
|
199695
199846
|
key: "mergeXmlToPrintPDF",
|
|
199696
199847
|
value: function () {
|
|
199697
|
-
var _mergeXmlToPrintPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
199848
|
+
var _mergeXmlToPrintPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(xmlInfoes) {
|
|
199698
199849
|
var _this3 = this;
|
|
199699
199850
|
|
|
199700
199851
|
var xmlList, positionY, pageNum, hoEditorFactory, beforePrintStatus, xml, hPromise, lastPrintPosition;
|
|
199701
|
-
return regeneratorRuntime.wrap(function
|
|
199852
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
199702
199853
|
while (1) {
|
|
199703
|
-
switch (
|
|
199854
|
+
switch (_context2.prev = _context2.next) {
|
|
199704
199855
|
case 0:
|
|
199705
199856
|
xmlList = xmlInfoes.xmlList;
|
|
199706
199857
|
positionY = xmlInfoes.positionY;
|
|
@@ -199744,20 +199895,39 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199744
199895
|
});
|
|
199745
199896
|
});
|
|
199746
199897
|
hPromise = hPromise.then(function () {
|
|
199747
|
-
return new Promise(function (
|
|
199748
|
-
var
|
|
199749
|
-
|
|
199750
|
-
|
|
199751
|
-
|
|
199752
|
-
|
|
199753
|
-
|
|
199898
|
+
return new Promise( /*#__PURE__*/function () {
|
|
199899
|
+
var _ref = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(resolve) {
|
|
199900
|
+
var orientation, options, PDF;
|
|
199901
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
199902
|
+
while (1) {
|
|
199903
|
+
switch (_context.prev = _context.next) {
|
|
199904
|
+
case 0:
|
|
199905
|
+
orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
199906
|
+
options = {
|
|
199907
|
+
orientation: orientation,
|
|
199908
|
+
unit: 'px',
|
|
199909
|
+
format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
|
|
199910
|
+
hotfixes: ["px_scaling"]
|
|
199911
|
+
};
|
|
199912
|
+
PDF = new jspdf_es_min["d" /* default */](options);
|
|
199913
|
+
PDF.setFont("SimSun"); // await hoEditorFactory.vueController.rebuildAll(false);
|
|
199914
|
+
|
|
199915
|
+
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, PDF, undefined, undefined, resolve, positionY);
|
|
199916
|
+
|
|
199917
|
+
case 5:
|
|
199918
|
+
case "end":
|
|
199919
|
+
return _context.stop();
|
|
199920
|
+
}
|
|
199921
|
+
}
|
|
199922
|
+
}, _callee);
|
|
199923
|
+
}));
|
|
199924
|
+
|
|
199925
|
+
return function (_x2) {
|
|
199926
|
+
return _ref.apply(this, arguments);
|
|
199754
199927
|
};
|
|
199755
|
-
|
|
199756
|
-
PDF.setFont("SimSun");
|
|
199757
|
-
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, PDF, undefined, undefined, resolve, positionY);
|
|
199758
|
-
});
|
|
199928
|
+
}());
|
|
199759
199929
|
});
|
|
199760
|
-
|
|
199930
|
+
_context2.next = 14;
|
|
199761
199931
|
return hPromise.then(function (resolve) {
|
|
199762
199932
|
return new Promise(function (resolve) {
|
|
199763
199933
|
var last = hoEditorFactory.printStatus.printRecord.last();
|
|
@@ -199793,28 +199963,28 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199793
199963
|
});
|
|
199794
199964
|
|
|
199795
199965
|
case 14:
|
|
199796
|
-
lastPrintPosition =
|
|
199966
|
+
lastPrintPosition = _context2.sent;
|
|
199797
199967
|
|
|
199798
199968
|
if (!lastPrintPosition) {
|
|
199799
|
-
|
|
199969
|
+
_context2.next = 17;
|
|
199800
199970
|
break;
|
|
199801
199971
|
}
|
|
199802
199972
|
|
|
199803
|
-
return
|
|
199973
|
+
return _context2.abrupt("return", {
|
|
199804
199974
|
startPageNum: lastPrintPosition[0],
|
|
199805
199975
|
pageNum: lastPrintPosition[1],
|
|
199806
199976
|
positionY: lastPrintPosition[2]
|
|
199807
199977
|
});
|
|
199808
199978
|
|
|
199809
199979
|
case 17:
|
|
199810
|
-
return
|
|
199980
|
+
return _context2.abrupt("return", null);
|
|
199811
199981
|
|
|
199812
199982
|
case 18:
|
|
199813
199983
|
case "end":
|
|
199814
|
-
return
|
|
199984
|
+
return _context2.stop();
|
|
199815
199985
|
}
|
|
199816
199986
|
}
|
|
199817
|
-
},
|
|
199987
|
+
}, _callee2, this);
|
|
199818
199988
|
}));
|
|
199819
199989
|
|
|
199820
199990
|
function mergeXmlToPrintPDF(_x) {
|
|
@@ -199823,69 +199993,6 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199823
199993
|
|
|
199824
199994
|
return mergeXmlToPrintPDF;
|
|
199825
199995
|
}()
|
|
199826
|
-
}, {
|
|
199827
|
-
key: "pintAllToPDFNew",
|
|
199828
|
-
value: function pintAllToPDFNew(xmlList) {
|
|
199829
|
-
var _this4 = this;
|
|
199830
|
-
|
|
199831
|
-
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
|
|
199832
|
-
|
|
199833
|
-
var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
199834
|
-
var xml = hoEditorFactory.vueController.getDocXml(); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
199835
|
-
|
|
199836
|
-
if (!hoEditorFactory.isHideComments) {
|
|
199837
|
-
hoEditorFactory.vueController.hideComments(true);
|
|
199838
|
-
}
|
|
199839
|
-
|
|
199840
|
-
hoEditorFactory.printStatus.printMode = 0;
|
|
199841
|
-
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
199842
|
-
var hPromise = Promise.resolve();
|
|
199843
|
-
xmlList.forEach(function (file, fileIndex) {
|
|
199844
|
-
hPromise = hPromise.then(function (res) {
|
|
199845
|
-
return new Promise(function (resolve) {
|
|
199846
|
-
if (fileIndex === 0) {
|
|
199847
|
-
Promise.all([hoEditorFactory.vueController.openXml(file, undefined, true)]).then(function () {
|
|
199848
|
-
if (hoEditorFactory.loadImageCount === 0) {
|
|
199849
|
-
resolve();
|
|
199850
|
-
hoEditorFactory.loadImageCallback = null;
|
|
199851
|
-
} else {
|
|
199852
|
-
hoEditorFactory.loadImageCallback = resolve;
|
|
199853
|
-
}
|
|
199854
|
-
});
|
|
199855
|
-
} else {
|
|
199856
|
-
Promise.all([hoEditorFactory.vueController.mergeDocs(file, true, undefined, true)]).then(function () {
|
|
199857
|
-
if (hoEditorFactory.loadImageCount === 0) {
|
|
199858
|
-
resolve();
|
|
199859
|
-
hoEditorFactory.loadImageCallback = null;
|
|
199860
|
-
} else {
|
|
199861
|
-
hoEditorFactory.loadImageCallback = resolve;
|
|
199862
|
-
}
|
|
199863
|
-
});
|
|
199864
|
-
}
|
|
199865
|
-
});
|
|
199866
|
-
});
|
|
199867
|
-
});
|
|
199868
|
-
hPromise = hPromise.then(function () {
|
|
199869
|
-
return new Promise(function (resolve) {
|
|
199870
|
-
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
199871
|
-
var options = {
|
|
199872
|
-
orientation: orientation,
|
|
199873
|
-
unit: 'px',
|
|
199874
|
-
format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
|
|
199875
|
-
hotfixes: ["px_scaling"]
|
|
199876
|
-
};
|
|
199877
|
-
var PDF = new jspdf_es_min["d" /* default */](options);
|
|
199878
|
-
PDF.setFont("SimSun");
|
|
199879
|
-
PrintStatus["a" /* Print */].printToPDF(_this4._hoEditorFactoryID, PDF, undefined, undefined, resolve, undefined);
|
|
199880
|
-
setTimeout(function () {
|
|
199881
|
-
// 恢复文档状态
|
|
199882
|
-
hoEditorFactory.drawTree.paintStatus = beforePrintStatus; // 恢复文档内容
|
|
199883
|
-
|
|
199884
|
-
hoEditorFactory.vueController.openXml(xml);
|
|
199885
|
-
}, 0);
|
|
199886
|
-
});
|
|
199887
|
-
});
|
|
199888
|
-
}
|
|
199889
199996
|
/**
|
|
199890
199997
|
* 批量打印病历 当前
|
|
199891
199998
|
* @param xmlList ['xml内容', 'xml内容']
|
|
@@ -199894,13 +200001,13 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199894
200001
|
}, {
|
|
199895
200002
|
key: "pintAllToPDF",
|
|
199896
200003
|
value: function () {
|
|
199897
|
-
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
199898
|
-
var
|
|
200004
|
+
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(xmlList) {
|
|
200005
|
+
var _this4 = this;
|
|
199899
200006
|
|
|
199900
200007
|
var hoEditorFactory, beforePrintStatus, xml, xmlIndex, PDF, loadingInstance, callback, toPrint, createSvg;
|
|
199901
|
-
return regeneratorRuntime.wrap(function
|
|
200008
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
199902
200009
|
while (1) {
|
|
199903
|
-
switch (
|
|
200010
|
+
switch (_context3.prev = _context3.next) {
|
|
199904
200011
|
case 0:
|
|
199905
200012
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
199906
200013
|
beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
@@ -199912,16 +200019,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199912
200019
|
|
|
199913
200020
|
hoEditorFactory.printStatus.printMode = 0;
|
|
199914
200021
|
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
199915
|
-
xmlIndex = -1;
|
|
199916
|
-
// const options: jsPDFOptions = {
|
|
199917
|
-
// orientation: orientation,
|
|
199918
|
-
// unit: 'px',
|
|
199919
|
-
// format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
|
|
199920
|
-
// hotfixes: ["px_scaling"]
|
|
199921
|
-
// }
|
|
199922
|
-
// console.log(options)
|
|
199923
|
-
|
|
199924
|
-
// PDF.setFont("SimSun");
|
|
200022
|
+
xmlIndex = -1;
|
|
199925
200023
|
loadingInstance = lib_loading_default.a.service({
|
|
199926
200024
|
target: "ho-docs",
|
|
199927
200025
|
spinner: "el-icon-loading",
|
|
@@ -199935,7 +200033,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199935
200033
|
};
|
|
199936
200034
|
|
|
199937
200035
|
toPrint = function toPrint(status) {
|
|
199938
|
-
PrintStatus["a" /* Print */].printAllXml(
|
|
200036
|
+
PrintStatus["a" /* Print */].printAllXml(_this4._hoEditorFactoryID, createSvg, PDF);
|
|
199939
200037
|
};
|
|
199940
200038
|
|
|
199941
200039
|
createSvg = function createSvg() {
|
|
@@ -199975,13 +200073,13 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199975
200073
|
|
|
199976
200074
|
case 12:
|
|
199977
200075
|
case "end":
|
|
199978
|
-
return
|
|
200076
|
+
return _context3.stop();
|
|
199979
200077
|
}
|
|
199980
200078
|
}
|
|
199981
|
-
},
|
|
200079
|
+
}, _callee3, this);
|
|
199982
200080
|
}));
|
|
199983
200081
|
|
|
199984
|
-
function pintAllToPDF(
|
|
200082
|
+
function pintAllToPDF(_x3) {
|
|
199985
200083
|
return _pintAllToPDF.apply(this, arguments);
|
|
199986
200084
|
}
|
|
199987
200085
|
|
|
@@ -199995,7 +200093,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
199995
200093
|
}, {
|
|
199996
200094
|
key: "viewAll",
|
|
199997
200095
|
value: function viewAll(xmlList) {
|
|
199998
|
-
var
|
|
200096
|
+
var _this5 = this;
|
|
199999
200097
|
|
|
200000
200098
|
// 初始化文档状态 --- 打印预览
|
|
200001
200099
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -200015,16 +200113,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200015
200113
|
|
|
200016
200114
|
var toPrint = function toPrint() {
|
|
200017
200115
|
viewElementContent = document.createElement("div");
|
|
200018
|
-
PrintStatus["a" /* Print */].printToHtml(
|
|
200116
|
+
PrintStatus["a" /* Print */].printToHtml(_this5._hoEditorFactoryID, createSvg, viewElementContent);
|
|
200019
200117
|
};
|
|
200020
200118
|
|
|
200021
200119
|
var createSvg = function createSvg() {
|
|
200022
|
-
if (
|
|
200120
|
+
if (_this5._xmlIndex > 0 && viewElementContent) {
|
|
200023
200121
|
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
200024
200122
|
viewElementContent.dataset.size = hoEditorFactory.pageProperty.pageSize;
|
|
200025
200123
|
viewElementContent.dataset.orientation = orientation;
|
|
200026
200124
|
|
|
200027
|
-
if (
|
|
200125
|
+
if (_this5._xmlIndex < 3) {
|
|
200028
200126
|
hoEditorFactory.continuousView.currentList.push(viewElementContent);
|
|
200029
200127
|
hoEditorFactory.continuousView.allList.push(viewElementContent);
|
|
200030
200128
|
} else {
|
|
@@ -200032,9 +200130,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200032
200130
|
}
|
|
200033
200131
|
}
|
|
200034
200132
|
|
|
200035
|
-
if (
|
|
200036
|
-
if (
|
|
200037
|
-
Promise.all([hoEditorFactory.vueController.openXml(
|
|
200133
|
+
if (_this5._xmlIndex <= _this5._viewXmlList.length - 1) {
|
|
200134
|
+
if (_this5._viewXmlList[_this5._xmlIndex]) {
|
|
200135
|
+
Promise.all([hoEditorFactory.vueController.openXml(_this5._viewXmlList[_this5._xmlIndex])]).then(function () {
|
|
200038
200136
|
if (hoEditorFactory.loadImageCount === 0) {
|
|
200039
200137
|
toPrint();
|
|
200040
200138
|
hoEditorFactory.loadImageCallback = null;
|
|
@@ -200042,7 +200140,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200042
200140
|
hoEditorFactory.loadImageCallback = toPrint;
|
|
200043
200141
|
}
|
|
200044
200142
|
});
|
|
200045
|
-
|
|
200143
|
+
_this5._xmlIndex++;
|
|
200046
200144
|
}
|
|
200047
200145
|
}
|
|
200048
200146
|
};
|
|
@@ -200058,7 +200156,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200058
200156
|
}, {
|
|
200059
200157
|
key: "mergeViewAll",
|
|
200060
200158
|
value: function mergeViewAll(xmlList, mergeEnd) {
|
|
200061
|
-
var
|
|
200159
|
+
var _this6 = this;
|
|
200062
200160
|
|
|
200063
200161
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
200064
200162
|
|
|
@@ -200078,16 +200176,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200078
200176
|
}
|
|
200079
200177
|
|
|
200080
200178
|
var createSvg = function createSvg() {
|
|
200081
|
-
|
|
200179
|
+
_this6._xmlIndex++;
|
|
200082
200180
|
|
|
200083
|
-
if (
|
|
200084
|
-
var current = typeof
|
|
200181
|
+
if (_this6._xmlIndex <= _this6._viewXmlList.length - 1) {
|
|
200182
|
+
var current = typeof _this6._viewXmlList[_this6._xmlIndex] != "string";
|
|
200085
200183
|
|
|
200086
|
-
var _xml = current ?
|
|
200184
|
+
var _xml = current ? _this6._viewXmlList[_this6._xmlIndex].xml : _this6._viewXmlList[_this6._xmlIndex];
|
|
200087
200185
|
|
|
200088
|
-
var isMerge = current ?
|
|
200186
|
+
var isMerge = current ? _this6._viewXmlList[_this6._xmlIndex].isMerge : false;
|
|
200089
200187
|
|
|
200090
|
-
if (
|
|
200188
|
+
if (_this6._xmlIndex === 0) {
|
|
200091
200189
|
Promise.all([hoEditorFactory.vueController.openXml(_xml, undefined, true)]).then(function () {
|
|
200092
200190
|
if (hoEditorFactory.loadImageCount == 0) {
|
|
200093
200191
|
hoEditorFactory.loadImageCallback = null;
|
|
@@ -200107,11 +200205,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200107
200205
|
});
|
|
200108
200206
|
}
|
|
200109
200207
|
|
|
200110
|
-
if (
|
|
200208
|
+
if (_this6._xmlIndex === _this6._viewXmlList.length - 1) {}
|
|
200111
200209
|
|
|
200112
200210
|
if (mergeEnd) {
|
|
200113
|
-
|
|
200114
|
-
|
|
200211
|
+
_this6._xmlIndex = 0;
|
|
200212
|
+
_this6._viewXmlList = [];
|
|
200115
200213
|
}
|
|
200116
200214
|
}
|
|
200117
200215
|
};
|
|
@@ -200729,33 +200827,43 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
200729
200827
|
name: "_ho_web",
|
|
200730
200828
|
storeName: this._storeName
|
|
200731
200829
|
});
|
|
200830
|
+
this._print_font = localforage_default.a.createInstance({
|
|
200831
|
+
name: "_ho_web",
|
|
200832
|
+
storeName: "_print_font"
|
|
200833
|
+
});
|
|
200834
|
+
this._cache_clear_time = localforage_default.a.createInstance({
|
|
200835
|
+
name: "_ho_web",
|
|
200836
|
+
storeName: "_cache_clear_time"
|
|
200837
|
+
});
|
|
200732
200838
|
} // 获取key的数据 => { data, keyInfo }
|
|
200733
200839
|
|
|
200734
200840
|
}, {
|
|
200735
200841
|
key: "getLocalStorage",
|
|
200736
200842
|
value: function getLocalStorage() {
|
|
200737
|
-
// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200738
|
-
// this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
200739
200843
|
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
200740
200844
|
this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
200741
200845
|
return this._ho_web.getItem(this._key);
|
|
200742
200846
|
}
|
|
200743
200847
|
}, {
|
|
200744
200848
|
key: "removeLocalStorage",
|
|
200745
|
-
value: function removeLocalStorage() {
|
|
200849
|
+
value: function removeLocalStorage(lastClearTime) {
|
|
200746
200850
|
var _this = this;
|
|
200747
200851
|
|
|
200748
|
-
|
|
200749
|
-
|
|
200750
|
-
|
|
200751
|
-
|
|
200852
|
+
this._ho_web.keys().then(function (keys) {
|
|
200853
|
+
keys.forEach(function (key) {
|
|
200854
|
+
_this._ho_web.getItem(key).then(function (value) {
|
|
200855
|
+
if (Array.isArray(value)) {
|
|
200856
|
+
if (new Date().getTime() - new Date(value[0].saveTime).getTime()) {
|
|
200857
|
+
_this._ho_web.removeItem(key);
|
|
200858
|
+
}
|
|
200859
|
+
} else {
|
|
200752
200860
|
if (new Date().getTime() - new Date(value.saveTime).getTime()) {
|
|
200753
200861
|
_this._ho_web.removeItem(key);
|
|
200754
200862
|
}
|
|
200755
|
-
}
|
|
200863
|
+
}
|
|
200756
200864
|
});
|
|
200757
200865
|
});
|
|
200758
|
-
}
|
|
200866
|
+
});
|
|
200759
200867
|
}
|
|
200760
200868
|
}, {
|
|
200761
200869
|
key: "clearLocalStorage",
|
|
@@ -200764,68 +200872,11 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
200764
200872
|
|
|
200765
200873
|
this._ho_web.clear().then(function () {});
|
|
200766
200874
|
}
|
|
200767
|
-
}, {
|
|
200768
|
-
key: "cancelManualSaveLocalStorage",
|
|
200769
|
-
value: function cancelManualSaveLocalStorage() {// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200770
|
-
// const data = localStorage.getItem(this._key);
|
|
200771
|
-
// if (data) {
|
|
200772
|
-
// let historyLogs = JSON.parse(data);
|
|
200773
|
-
// hoEitfactory.vueController.openXml(historyLogs.manual_save[0].xml);
|
|
200774
|
-
// localStorage.setItem(
|
|
200775
|
-
// this._key,
|
|
200776
|
-
// JSON.stringify({
|
|
200777
|
-
// ...historyLogs,
|
|
200778
|
-
// manual_save: [],
|
|
200779
|
-
// })
|
|
200780
|
-
// );
|
|
200781
|
-
// }
|
|
200782
|
-
}
|
|
200783
|
-
}, {
|
|
200784
|
-
key: "manualSaveLocalStorage",
|
|
200785
|
-
value: function manualSaveLocalStorage(auto_save_index) {// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200786
|
-
// const saveTime = dateFormat(new Date());
|
|
200787
|
-
// const data = localStorage.getItem(this._key);
|
|
200788
|
-
// if (data) {
|
|
200789
|
-
// let historyLogs = JSON.parse(data);
|
|
200790
|
-
// let arr = historyLogs.manual_save;
|
|
200791
|
-
// if (arr.length > 0) {
|
|
200792
|
-
// localStorage.setItem(
|
|
200793
|
-
// this._key,
|
|
200794
|
-
// JSON.stringify({
|
|
200795
|
-
// ...historyLogs,
|
|
200796
|
-
// manual_save: [
|
|
200797
|
-
// {
|
|
200798
|
-
// xml: arr[0].xml,
|
|
200799
|
-
// saveTime: saveTime,
|
|
200800
|
-
// },
|
|
200801
|
-
// ],
|
|
200802
|
-
// })
|
|
200803
|
-
// );
|
|
200804
|
-
// hoEitfactory.vueController.openXml(historyLogs.auto_save[auto_save_index].xml);
|
|
200805
|
-
// } else {
|
|
200806
|
-
// localStorage.setItem(
|
|
200807
|
-
// this._key,
|
|
200808
|
-
// JSON.stringify({
|
|
200809
|
-
// ...historyLogs,
|
|
200810
|
-
// manual_save: [
|
|
200811
|
-
// {
|
|
200812
|
-
// xml: hoEitfactory.structureConvert.doc2Xml("xml", true),
|
|
200813
|
-
// saveTime: saveTime,
|
|
200814
|
-
// },
|
|
200815
|
-
// ],
|
|
200816
|
-
// })
|
|
200817
|
-
// );
|
|
200818
|
-
// hoEitfactory.vueController.openXml(historyLogs.auto_save[auto_save_index].xml);
|
|
200819
|
-
// }
|
|
200820
|
-
// }
|
|
200821
|
-
}
|
|
200822
200875
|
}, {
|
|
200823
200876
|
key: "autoSaveLocalStorage",
|
|
200824
200877
|
value: function autoSaveLocalStorage() {
|
|
200825
200878
|
var _this3 = this;
|
|
200826
200879
|
|
|
200827
|
-
// const hoEitfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
200828
|
-
// this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
200829
200880
|
if (this._lastSaveTime && new Date().getTime() - this._lastSaveTime <= this._intervalsTime) {
|
|
200830
200881
|
return;
|
|
200831
200882
|
}
|
|
@@ -200883,24 +200934,39 @@ var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
|
200883
200934
|
});
|
|
200884
200935
|
|
|
200885
200936
|
_this3._ho_web.setItem(_this3._key, _arr);
|
|
200886
|
-
}
|
|
200887
|
-
// xml: hoEitfactory.structureConvert.doc2Xml("xml", true),
|
|
200888
|
-
// saveTime: saveTime,
|
|
200889
|
-
// logs: logs,
|
|
200890
|
-
// });
|
|
200937
|
+
}
|
|
200891
200938
|
|
|
200939
|
+
_this3._cache_clear_time.getItem("_cache_clear_time").then(function (lastClearTime) {
|
|
200940
|
+
var _lastClearTime = lastClearTime;
|
|
200892
200941
|
|
|
200893
|
-
|
|
200894
|
-
|
|
200942
|
+
if (!lastClearTime) {
|
|
200943
|
+
_lastClearTime = new Date().getTime();
|
|
200895
200944
|
|
|
200896
|
-
|
|
200897
|
-
} else {
|
|
200898
|
-
if (new Date().getTime() - _this3._lastClearTime >= _this3._expirationTime) {
|
|
200899
|
-
_this3.removeLocalStorage();
|
|
200945
|
+
_this3._cache_clear_time.setItem("_cache_clear_time", _lastClearTime);
|
|
200900
200946
|
}
|
|
200901
|
-
|
|
200947
|
+
|
|
200948
|
+
_this3._lastClearTime = _lastClearTime;
|
|
200949
|
+
|
|
200950
|
+
if (new Date().getTime() - lastClearTime >= _this3._expirationTime) {
|
|
200951
|
+
_this3.removeLocalStorage(lastClearTime);
|
|
200952
|
+
|
|
200953
|
+
setTimeout(function () {
|
|
200954
|
+
_this3._cache_clear_time.setItem("_cache_clear_time", new Date().getTime());
|
|
200955
|
+
}, 0);
|
|
200956
|
+
}
|
|
200957
|
+
});
|
|
200902
200958
|
});
|
|
200903
200959
|
}
|
|
200960
|
+
}, {
|
|
200961
|
+
key: "saveFontString",
|
|
200962
|
+
value: function saveFontString(font) {
|
|
200963
|
+
this._print_font.setItem('sunsim_font', font);
|
|
200964
|
+
}
|
|
200965
|
+
}, {
|
|
200966
|
+
key: "loadFontString",
|
|
200967
|
+
value: function loadFontString() {
|
|
200968
|
+
return this._print_font.getItem('sunsim_font');
|
|
200969
|
+
}
|
|
200904
200970
|
}]);
|
|
200905
200971
|
|
|
200906
200972
|
return HoLocalStorage;
|
|
@@ -200962,6 +201028,8 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
200962
201028
|
this._openXmled = false;
|
|
200963
201029
|
this._isThrowError = true;
|
|
200964
201030
|
this._lastSaveTime = new Date(Date.now());
|
|
201031
|
+
this._superiorSigns = []; //上级医生签名
|
|
201032
|
+
|
|
200965
201033
|
this._hoEditorFactoryId = id;
|
|
200966
201034
|
}
|
|
200967
201035
|
/**
|
|
@@ -201579,16 +201647,26 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
201579
201647
|
this._contentIsModify = value;
|
|
201580
201648
|
}
|
|
201581
201649
|
}
|
|
201650
|
+
}, {
|
|
201651
|
+
key: "superiorSigns",
|
|
201652
|
+
get: function get() {
|
|
201653
|
+
return this._superiorSigns;
|
|
201654
|
+
},
|
|
201655
|
+
set: function set(value) {
|
|
201656
|
+
if (this._superiorSigns !== value) {
|
|
201657
|
+
this._superiorSigns = value;
|
|
201658
|
+
}
|
|
201659
|
+
}
|
|
201582
201660
|
}]);
|
|
201583
201661
|
|
|
201584
201662
|
return HOEditorFactory;
|
|
201585
201663
|
}();
|
|
201586
|
-
// 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=
|
|
201587
|
-
var
|
|
201588
|
-
var
|
|
201664
|
+
// 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&
|
|
201665
|
+
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"})])}
|
|
201666
|
+
var HoFootervue_type_template_id_5908306a_scoped_true_staticRenderFns = []
|
|
201589
201667
|
|
|
201590
201668
|
|
|
201591
|
-
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=
|
|
201669
|
+
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=5908306a&scoped=true&
|
|
201592
201670
|
|
|
201593
201671
|
// 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&
|
|
201594
201672
|
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)}
|
|
@@ -201862,8 +201940,8 @@ HoFootervue_type_script_lang_ts_HoFooter = __decorate([vue_class_component_esm({
|
|
|
201862
201940
|
/* harmony default export */ var HoFootervue_type_script_lang_ts_ = (HoFootervue_type_script_lang_ts_HoFooter);
|
|
201863
201941
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=script&lang=ts&
|
|
201864
201942
|
/* harmony default export */ var components_HoFootervue_type_script_lang_ts_ = (HoFootervue_type_script_lang_ts_);
|
|
201865
|
-
// EXTERNAL MODULE: ./src/components/HoFooter.vue?vue&type=style&index=0&id=
|
|
201866
|
-
var
|
|
201943
|
+
// EXTERNAL MODULE: ./src/components/HoFooter.vue?vue&type=style&index=0&id=5908306a&lang=scss&scoped=true&
|
|
201944
|
+
var HoFootervue_type_style_index_0_id_5908306a_lang_scss_scoped_true_ = __webpack_require__("6d28");
|
|
201867
201945
|
|
|
201868
201946
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue
|
|
201869
201947
|
|
|
@@ -201876,11 +201954,11 @@ var HoFootervue_type_style_index_0_id_0f6cfe37_lang_scss_scoped_true_ = __webpac
|
|
|
201876
201954
|
|
|
201877
201955
|
var HoFooter_component = normalizeComponent(
|
|
201878
201956
|
components_HoFootervue_type_script_lang_ts_,
|
|
201879
|
-
|
|
201880
|
-
|
|
201957
|
+
HoFootervue_type_template_id_5908306a_scoped_true_render,
|
|
201958
|
+
HoFootervue_type_template_id_5908306a_scoped_true_staticRenderFns,
|
|
201881
201959
|
false,
|
|
201882
201960
|
null,
|
|
201883
|
-
"
|
|
201961
|
+
"5908306a",
|
|
201884
201962
|
null
|
|
201885
201963
|
|
|
201886
201964
|
)
|
|
@@ -203037,12 +203115,12 @@ var QrCode_component = normalizeComponent(
|
|
|
203037
203115
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
203038
203116
|
|
|
203039
203117
|
/* harmony default export */ var qrCode = (QrCode);
|
|
203040
|
-
// 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=
|
|
203041
|
-
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)])}
|
|
203042
|
-
var
|
|
203118
|
+
// 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&
|
|
203119
|
+
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)])}
|
|
203120
|
+
var TextDialogvue_type_template_id_304762c7_staticRenderFns = []
|
|
203043
203121
|
|
|
203044
203122
|
|
|
203045
|
-
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
203123
|
+
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=304762c7&
|
|
203046
203124
|
|
|
203047
203125
|
// 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&
|
|
203048
203126
|
|
|
@@ -203321,8 +203399,8 @@ var TextDialogvue_type_style_index_0_lang_scss_ = __webpack_require__("e8ee");
|
|
|
203321
203399
|
|
|
203322
203400
|
var TextDialog_component = normalizeComponent(
|
|
203323
203401
|
textDialog_TextDialogvue_type_script_lang_ts_,
|
|
203324
|
-
|
|
203325
|
-
|
|
203402
|
+
TextDialogvue_type_template_id_304762c7_render,
|
|
203403
|
+
TextDialogvue_type_template_id_304762c7_staticRenderFns,
|
|
203326
203404
|
false,
|
|
203327
203405
|
null,
|
|
203328
203406
|
null,
|
|
@@ -205602,12 +205680,12 @@ var TableColProperty_component = normalizeComponent(
|
|
|
205602
205680
|
)
|
|
205603
205681
|
|
|
205604
205682
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
205605
|
-
// 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=
|
|
205606
|
-
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)])}
|
|
205607
|
-
var
|
|
205683
|
+
// 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&
|
|
205684
|
+
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)])}
|
|
205685
|
+
var TableCellPropertyvue_type_template_id_134c4d55_scoped_true_staticRenderFns = []
|
|
205608
205686
|
|
|
205609
205687
|
|
|
205610
|
-
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
205688
|
+
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=134c4d55&scoped=true&
|
|
205611
205689
|
|
|
205612
205690
|
// 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&
|
|
205613
205691
|
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)}
|
|
@@ -206193,6 +206271,7 @@ var TableCellPropertyvue_type_script_lang_ts_TableCellProperty = /*#__PURE__*/fu
|
|
|
206193
206271
|
value: function sure() {
|
|
206194
206272
|
var _this2 = this;
|
|
206195
206273
|
|
|
206274
|
+
this.gridLinesColor = [this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0], this.gridLinesColor[0]];
|
|
206196
206275
|
var params = {
|
|
206197
206276
|
id: this.id,
|
|
206198
206277
|
lightCellBorders: this.lightCellBorders,
|
|
@@ -206285,8 +206364,8 @@ TableCellPropertyvue_type_script_lang_ts_TableCellProperty = __decorate([vue_cla
|
|
|
206285
206364
|
/* harmony default export */ var TableCellPropertyvue_type_script_lang_ts_ = (TableCellPropertyvue_type_script_lang_ts_TableCellProperty);
|
|
206286
206365
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=ts&
|
|
206287
206366
|
/* harmony default export */ var table_TableCellPropertyvue_type_script_lang_ts_ = (TableCellPropertyvue_type_script_lang_ts_);
|
|
206288
|
-
// EXTERNAL MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
206289
|
-
var
|
|
206367
|
+
// EXTERNAL MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=134c4d55&lang=scss&scoped=true&
|
|
206368
|
+
var TableCellPropertyvue_type_style_index_0_id_134c4d55_lang_scss_scoped_true_ = __webpack_require__("3e07");
|
|
206290
206369
|
|
|
206291
206370
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue
|
|
206292
206371
|
|
|
@@ -206299,11 +206378,11 @@ var TableCellPropertyvue_type_style_index_0_id_58937242_lang_scss_scoped_true_ =
|
|
|
206299
206378
|
|
|
206300
206379
|
var TableCellProperty_component = normalizeComponent(
|
|
206301
206380
|
table_TableCellPropertyvue_type_script_lang_ts_,
|
|
206302
|
-
|
|
206303
|
-
|
|
206381
|
+
TableCellPropertyvue_type_template_id_134c4d55_scoped_true_render,
|
|
206382
|
+
TableCellPropertyvue_type_template_id_134c4d55_scoped_true_staticRenderFns,
|
|
206304
206383
|
false,
|
|
206305
206384
|
null,
|
|
206306
|
-
"
|
|
206385
|
+
"134c4d55",
|
|
206307
206386
|
null
|
|
206308
206387
|
|
|
206309
206388
|
)
|
|
@@ -207987,6 +208066,7 @@ var json_font = __webpack_require__("2c6d");
|
|
|
207987
208066
|
|
|
207988
208067
|
|
|
207989
208068
|
|
|
208069
|
+
|
|
207990
208070
|
|
|
207991
208071
|
|
|
207992
208072
|
var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
@@ -208194,6 +208274,10 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
208194
208274
|
|
|
208195
208275
|
_this3.hoEditorFactoryIdList.push(id);
|
|
208196
208276
|
|
|
208277
|
+
if (Array.isArray(_this3.superiorSigns) && _this3.superiorSigns.length > 0) {
|
|
208278
|
+
hoEditor.superiorSigns = Object(toConsumableArray["a" /* default */])(_this3.superiorSigns);
|
|
208279
|
+
}
|
|
208280
|
+
|
|
208197
208281
|
hoEditor.contentIsModify = _this3.contentIsModify;
|
|
208198
208282
|
hoEditor.docTree.docProperty = _this3.defaultDocProperty;
|
|
208199
208283
|
HOEditorFactorys["a" /* HOEditorFactorys */].instance().hoEditorFactoryMap.set(id, hoEditor);
|
|
@@ -208502,6 +208586,8 @@ __decorate([Prop()], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "deleteImag
|
|
|
208502
208586
|
|
|
208503
208587
|
__decorate([Prop()], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "pageProperty", void 0);
|
|
208504
208588
|
|
|
208589
|
+
__decorate([Prop()], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "superiorSigns", void 0);
|
|
208590
|
+
|
|
208505
208591
|
__decorate([Watch("contentIsModify", {
|
|
208506
208592
|
deep: true
|
|
208507
208593
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "contentIsModifyChange", null);
|
|
@@ -208557,7 +208643,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
208557
208643
|
|
|
208558
208644
|
var HoDocs_component = normalizeComponent(
|
|
208559
208645
|
components_HoDocsvue_type_script_lang_ts_,
|
|
208560
|
-
|
|
208646
|
+
HoDocsvue_type_template_id_a11f7a34_render,
|
|
208561
208647
|
staticRenderFns,
|
|
208562
208648
|
false,
|
|
208563
208649
|
null,
|
|
@@ -208567,12 +208653,12 @@ var HoDocs_component = normalizeComponent(
|
|
|
208567
208653
|
)
|
|
208568
208654
|
|
|
208569
208655
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
208570
|
-
// 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=
|
|
208571
|
-
var
|
|
208572
|
-
var
|
|
208656
|
+
// 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&
|
|
208657
|
+
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)}
|
|
208658
|
+
var ToolBarvue_type_template_id_1ad97ddc_staticRenderFns = []
|
|
208573
208659
|
|
|
208574
208660
|
|
|
208575
|
-
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=
|
|
208661
|
+
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=1ad97ddc&
|
|
208576
208662
|
|
|
208577
208663
|
// 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&
|
|
208578
208664
|
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)}
|
|
@@ -208679,12 +208765,12 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
208679
208765
|
)
|
|
208680
208766
|
|
|
208681
208767
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
208682
|
-
// 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=
|
|
208683
|
-
var
|
|
208684
|
-
var
|
|
208768
|
+
// 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&
|
|
208769
|
+
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)])}
|
|
208770
|
+
var HoPrintDialogvue_type_template_id_79c29b08_staticRenderFns = []
|
|
208685
208771
|
|
|
208686
208772
|
|
|
208687
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=
|
|
208773
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=79c29b08&
|
|
208688
208774
|
|
|
208689
208775
|
// 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&
|
|
208690
208776
|
|
|
@@ -208778,8 +208864,8 @@ var HoPrintDialogvue_type_style_index_0_lang_scss_ = __webpack_require__("40da")
|
|
|
208778
208864
|
|
|
208779
208865
|
var HoPrintDialog_component = normalizeComponent(
|
|
208780
208866
|
insert_HoPrintDialogvue_type_script_lang_ts_,
|
|
208781
|
-
|
|
208782
|
-
|
|
208867
|
+
HoPrintDialogvue_type_template_id_79c29b08_render,
|
|
208868
|
+
HoPrintDialogvue_type_template_id_79c29b08_staticRenderFns,
|
|
208783
208869
|
false,
|
|
208784
208870
|
null,
|
|
208785
208871
|
null,
|
|
@@ -209128,7 +209214,7 @@ var ToolFamily_ToolFamily = /*#__PURE__*/function (_Vue) {
|
|
|
209128
209214
|
"attrs": _objectSpread2({}, {
|
|
209129
209215
|
title: "字体",
|
|
209130
209216
|
poperStyle: {
|
|
209131
|
-
width: "
|
|
209217
|
+
width: "160px",
|
|
209132
209218
|
textAlign: "left"
|
|
209133
209219
|
}
|
|
209134
209220
|
})
|
|
@@ -211282,12 +211368,12 @@ var UploadFile_component = normalizeComponent(
|
|
|
211282
211368
|
)
|
|
211283
211369
|
|
|
211284
211370
|
/* harmony default export */ var toolbar_UploadFile = (UploadFile_component.exports);
|
|
211285
|
-
// 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=
|
|
211286
|
-
var
|
|
211287
|
-
var
|
|
211371
|
+
// 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&
|
|
211372
|
+
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()])}
|
|
211373
|
+
var HistoryLogsvue_type_template_id_13465a06_scoped_true_staticRenderFns = []
|
|
211288
211374
|
|
|
211289
211375
|
|
|
211290
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=
|
|
211376
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=13465a06&scoped=true&
|
|
211291
211377
|
|
|
211292
211378
|
// 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&
|
|
211293
211379
|
|
|
@@ -211321,15 +211407,13 @@ var HistoryLogsvue_type_script_lang_ts_HistoryLogs = /*#__PURE__*/function (_Mix
|
|
|
211321
211407
|
// });
|
|
211322
211408
|
// }
|
|
211323
211409
|
// 撤销恢复
|
|
211410
|
+
// public cancelManualSaveLocalStorage(auto_save_index: number) {
|
|
211411
|
+
// this.vueController.hoLocalStorage().cancelManualSaveLocalStorage();
|
|
211412
|
+
// }
|
|
211413
|
+
// 恢复
|
|
211324
211414
|
|
|
211325
211415
|
|
|
211326
211416
|
Object(createClass["a" /* default */])(HistoryLogs, [{
|
|
211327
|
-
key: "cancelManualSaveLocalStorage",
|
|
211328
|
-
value: function cancelManualSaveLocalStorage(auto_save_index) {
|
|
211329
|
-
this.vueController.hoLocalStorage().cancelManualSaveLocalStorage();
|
|
211330
|
-
} // 恢复
|
|
211331
|
-
|
|
211332
|
-
}, {
|
|
211333
211417
|
key: "manualSaveLocalStorage",
|
|
211334
211418
|
value: function manualSaveLocalStorage(auto_save_index) {
|
|
211335
211419
|
var _this2 = this;
|
|
@@ -211379,8 +211463,8 @@ HistoryLogsvue_type_script_lang_ts_HistoryLogs = __decorate([vue_class_component
|
|
|
211379
211463
|
/* harmony default export */ var HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_HistoryLogs);
|
|
211380
211464
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=script&lang=ts&
|
|
211381
211465
|
/* harmony default export */ var insert_HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_);
|
|
211382
|
-
// EXTERNAL MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=style&index=0&id=
|
|
211383
|
-
var
|
|
211466
|
+
// EXTERNAL MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=style&index=0&id=13465a06&lang=scss&scoped=true&
|
|
211467
|
+
var HistoryLogsvue_type_style_index_0_id_13465a06_lang_scss_scoped_true_ = __webpack_require__("cae5");
|
|
211384
211468
|
|
|
211385
211469
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue
|
|
211386
211470
|
|
|
@@ -211393,11 +211477,11 @@ var HistoryLogsvue_type_style_index_0_id_7661bd7b_lang_scss_scoped_true_ = __web
|
|
|
211393
211477
|
|
|
211394
211478
|
var HistoryLogs_component = normalizeComponent(
|
|
211395
211479
|
insert_HistoryLogsvue_type_script_lang_ts_,
|
|
211396
|
-
|
|
211397
|
-
|
|
211480
|
+
HistoryLogsvue_type_template_id_13465a06_scoped_true_render,
|
|
211481
|
+
HistoryLogsvue_type_template_id_13465a06_scoped_true_staticRenderFns,
|
|
211398
211482
|
false,
|
|
211399
211483
|
null,
|
|
211400
|
-
"
|
|
211484
|
+
"13465a06",
|
|
211401
211485
|
null
|
|
211402
211486
|
|
|
211403
211487
|
)
|
|
@@ -212095,12 +212179,12 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
212095
212179
|
}
|
|
212096
212180
|
})], ToolBarChild_ToolBarChild);
|
|
212097
212181
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
212098
|
-
// 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=
|
|
212099
|
-
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)}
|
|
212100
|
-
var
|
|
212182
|
+
// 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&
|
|
212183
|
+
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)}
|
|
212184
|
+
var ToolControlvue_type_template_id_0d21dc43_staticRenderFns = []
|
|
212101
212185
|
|
|
212102
212186
|
|
|
212103
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=
|
|
212187
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=0d21dc43&
|
|
212104
212188
|
|
|
212105
212189
|
// 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&
|
|
212106
212190
|
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)}
|
|
@@ -212476,7 +212560,7 @@ var HoFormula_component = normalizeComponent(
|
|
|
212476
212560
|
|
|
212477
212561
|
|
|
212478
212562
|
|
|
212479
|
-
|
|
212563
|
+
|
|
212480
212564
|
|
|
212481
212565
|
|
|
212482
212566
|
|
|
@@ -212639,7 +212723,7 @@ __decorate([Prop()], ToolControlvue_type_script_lang_ts_ToolControl.prototype, "
|
|
|
212639
212723
|
ToolControlvue_type_script_lang_ts_ToolControl = __decorate([vue_class_component_esm({
|
|
212640
212724
|
name: "ToolControl",
|
|
212641
212725
|
components: {
|
|
212642
|
-
|
|
212726
|
+
HoMedicalExpression: insert_HoMedicalExpression,
|
|
212643
212727
|
HoSpecialChars: insert_HoSpecialChars,
|
|
212644
212728
|
UploadImage: toolbar_UploadImage,
|
|
212645
212729
|
HoDateTime: insert_HoDateTime,
|
|
@@ -212660,8 +212744,8 @@ ToolControlvue_type_script_lang_ts_ToolControl = __decorate([vue_class_component
|
|
|
212660
212744
|
|
|
212661
212745
|
var ToolControl_component = normalizeComponent(
|
|
212662
212746
|
insert_ToolControlvue_type_script_lang_ts_,
|
|
212663
|
-
|
|
212664
|
-
|
|
212747
|
+
ToolControlvue_type_template_id_0d21dc43_render,
|
|
212748
|
+
ToolControlvue_type_template_id_0d21dc43_staticRenderFns,
|
|
212665
212749
|
false,
|
|
212666
212750
|
null,
|
|
212667
212751
|
null,
|
|
@@ -213667,8 +213751,8 @@ var ToolBarvue_type_style_index_0_lang_scss_ = __webpack_require__("e530");
|
|
|
213667
213751
|
|
|
213668
213752
|
var ToolBar_component = normalizeComponent(
|
|
213669
213753
|
toolbar_ToolBarvue_type_script_lang_ts_,
|
|
213670
|
-
|
|
213671
|
-
|
|
213754
|
+
ToolBarvue_type_template_id_1ad97ddc_render,
|
|
213755
|
+
ToolBarvue_type_template_id_1ad97ddc_staticRenderFns,
|
|
213672
213756
|
false,
|
|
213673
213757
|
null,
|
|
213674
213758
|
null,
|
|
@@ -213830,7 +213914,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213830
213914
|
tableFormula: true
|
|
213831
213915
|
};
|
|
213832
213916
|
_this.poppernIstance = null;
|
|
213833
|
-
_this.isIncludes =
|
|
213917
|
+
_this.isIncludes = "";
|
|
213834
213918
|
return _this;
|
|
213835
213919
|
} // get dialogStyle() {
|
|
213836
213920
|
// if (!this.rightNode) return "";
|
|
@@ -213865,19 +213949,13 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213865
213949
|
|
|
213866
213950
|
|
|
213867
213951
|
Object(createClass["a" /* default */])(HoRightMenu, [{
|
|
213868
|
-
key: "created",
|
|
213869
|
-
value: function created() {
|
|
213870
|
-
var _this$rightNode;
|
|
213871
|
-
|
|
213872
|
-
this.isIncludes = (_this$rightNode = this.rightNode) === null || _this$rightNode === void 0 ? void 0 : _this$rightNode.labelNode().isIncludes;
|
|
213873
|
-
this.patientID = this.vueController.getDocProperty().patientID;
|
|
213874
|
-
this.isDeisgn = this.rightNode.paintStatus;
|
|
213875
|
-
}
|
|
213876
|
-
}, {
|
|
213877
213952
|
key: "mounted",
|
|
213878
213953
|
value: function mounted() {
|
|
213879
|
-
var _this$rightNode2;
|
|
213954
|
+
var _this$rightNode, _this$rightNode2;
|
|
213955
|
+
|
|
213956
|
+
this.isIncludes = (_this$rightNode = this.rightNode) === null || _this$rightNode === void 0 ? void 0 : _this$rightNode.labelNode().isIncludes; // this.patientID = this.vueController?.getDocProperty().patientID;
|
|
213880
213957
|
|
|
213958
|
+
this.isDeisgn = this.rightNode.paintStatus;
|
|
213881
213959
|
var virtualElement = {
|
|
213882
213960
|
getBoundingClientRect: this.generateGetBoundingClientRect((_this$rightNode2 = this.rightNode) === null || _this$rightNode2 === void 0 ? void 0 : _this$rightNode2.rightPosition)
|
|
213883
213961
|
};
|
|
@@ -213951,7 +214029,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213951
214029
|
}, {
|
|
213952
214030
|
key: "hoCopy",
|
|
213953
214031
|
value: function hoCopy() {
|
|
213954
|
-
document.execCommand(
|
|
214032
|
+
document.execCommand("Copy"); // this.editController.editKeyCopy(event);
|
|
213955
214033
|
}
|
|
213956
214034
|
}, {
|
|
213957
214035
|
key: "hoPaste",
|
|
@@ -213980,7 +214058,9 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
213980
214058
|
_this$rightNode11,
|
|
213981
214059
|
_this$rightNode12,
|
|
213982
214060
|
_this$rightNode13,
|
|
213983
|
-
_this$rightNode14
|
|
214061
|
+
_this$rightNode14,
|
|
214062
|
+
_this$rightNode15,
|
|
214063
|
+
_this$rightNode16;
|
|
213984
214064
|
|
|
213985
214065
|
var h = arguments[0];
|
|
213986
214066
|
return h("div", {
|
|
@@ -214089,39 +214169,41 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
214089
214169
|
return _this4.toUpdateNodes("text", event);
|
|
214090
214170
|
}
|
|
214091
214171
|
}
|
|
214092
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), ((_this$rightNode12 = this.rightNode) === null || _this$rightNode12 === void 0 ? void 0 : _this$rightNode12.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
214172
|
+
}, ["\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", {
|
|
214093
214173
|
"class": "mouse-right-menu"
|
|
214094
|
-
}, [
|
|
214174
|
+
}, [h("li", {
|
|
214095
214175
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
214096
|
-
}),
|
|
214176
|
+
}), h("li", {
|
|
214097
214177
|
"class": "mouse-menu-item",
|
|
214098
214178
|
"on": {
|
|
214099
214179
|
"click": function click() {
|
|
214100
214180
|
return _this4.toUpdateNodes("table", event);
|
|
214101
214181
|
}
|
|
214102
214182
|
}
|
|
214103
|
-
}, ["\u8868\u683C\u5C5E\u6027"]),
|
|
214183
|
+
}, ["\u8868\u683C\u5C5E\u6027"]), h("li", {
|
|
214104
214184
|
"class": "mouse-menu-item",
|
|
214105
214185
|
"on": {
|
|
214106
214186
|
"click": function click() {
|
|
214107
214187
|
return _this4.toUpdateNodes("table-col", event);
|
|
214108
214188
|
}
|
|
214109
214189
|
}
|
|
214110
|
-
}, ["\u8868\u683C\u5217\u5C5E\u6027"]),
|
|
214190
|
+
}, ["\u8868\u683C\u5217\u5C5E\u6027"]), h("li", {
|
|
214111
214191
|
"class": "mouse-menu-item",
|
|
214112
214192
|
"on": {
|
|
214113
214193
|
"click": function click() {
|
|
214114
214194
|
return _this4.toUpdateNodes("table-row", event);
|
|
214115
214195
|
}
|
|
214116
214196
|
}
|
|
214117
|
-
}, ["\u8868\u683C\u884C\u5C5E\u6027"]),
|
|
214197
|
+
}, ["\u8868\u683C\u884C\u5C5E\u6027"]), h("li", {
|
|
214118
214198
|
"class": "mouse-menu-item",
|
|
214119
214199
|
"on": {
|
|
214120
214200
|
"click": function click() {
|
|
214121
214201
|
return _this4.toUpdateNodes("table-cell", event);
|
|
214122
214202
|
}
|
|
214123
214203
|
}
|
|
214124
|
-
}, ["\u5355\u5143\u683C\u5C5E\u6027"]), h("
|
|
214204
|
+
}, ["\u5355\u5143\u683C\u5C5E\u6027"])]), ((_this$rightNode14 = this.rightNode) === null || _this$rightNode14 === void 0 ? void 0 : _this$rightNode14.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
214205
|
+
"class": "mouse-right-menu"
|
|
214206
|
+
}, [h("li", {
|
|
214125
214207
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
214126
214208
|
}), h("el-menu", {
|
|
214127
214209
|
"attrs": {
|
|
@@ -214136,7 +214218,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
214136
214218
|
className: "insert-rows-columns-right",
|
|
214137
214219
|
table: this.defaultTable
|
|
214138
214220
|
})
|
|
214139
|
-
})])]), ((_this$
|
|
214221
|
+
})])]), ((_this$rightNode15 = this.rightNode) === null || _this$rightNode15 === void 0 ? void 0 : _this$rightNode15.canShowComment) && h("ul", {
|
|
214140
214222
|
"class": "mouse-right-menu"
|
|
214141
214223
|
}, [h("li", {
|
|
214142
214224
|
"class": "mouse-menu-item",
|
|
@@ -214145,7 +214227,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
214145
214227
|
return _this4.hideComments();
|
|
214146
214228
|
}
|
|
214147
214229
|
}
|
|
214148
|
-
}, [(_this$
|
|
214230
|
+
}, [(_this$rightNode16 = this.rightNode) !== null && _this$rightNode16 !== void 0 && _this$rightNode16.isHideComments ? "显示" : "隐藏", "\u6279\u6CE8"])]), h("ul", {
|
|
214149
214231
|
"class": "mouse-right-menu"
|
|
214150
214232
|
}, [h("li", {
|
|
214151
214233
|
"class": "mouse-menu-item"
|