hoeditor-web 3.0.50 → 3.0.52
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.umd.js +154 -81
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -8877,7 +8877,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
8877
8877
|
|
|
8878
8878
|
/***/ }),
|
|
8879
8879
|
|
|
8880
|
-
/***/
|
|
8880
|
+
/***/ 78773:
|
|
8881
8881
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8882
8882
|
|
|
8883
8883
|
"use strict";
|
|
@@ -8897,7 +8897,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
8897
8897
|
var es_regexp_exec = __webpack_require__(74916);
|
|
8898
8898
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8899
8899
|
var es_string_replace = __webpack_require__(15306);
|
|
8900
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
8900
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=63ef43d4&
|
|
8901
8901
|
|
|
8902
8902
|
|
|
8903
8903
|
|
|
@@ -9285,7 +9285,7 @@ var render = function render() {
|
|
|
9285
9285
|
};
|
|
9286
9286
|
var staticRenderFns = [];
|
|
9287
9287
|
|
|
9288
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9288
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=63ef43d4&
|
|
9289
9289
|
|
|
9290
9290
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9291
9291
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -11435,7 +11435,7 @@ var type = __webpack_require__(41542);
|
|
|
11435
11435
|
selectedString = currentPoperNode.keyValue ? currentPoperNode.keyValue.split(',') : [];
|
|
11436
11436
|
this.mutexSelect = currentPoperNode.downListProperty.mutexSelect ? true : false;
|
|
11437
11437
|
this.isAllowMultiSelect = currentPoperNode.downListProperty.allowMultiSelected;
|
|
11438
|
-
this.isMultiLinesDisplay = currentPoperNode.downListProperty.isMultiLinesDisplay;
|
|
11438
|
+
this.isMultiLinesDisplay = currentPoperNode.downListProperty.isMultiLinesDisplay == true || currentPoperNode.downListProperty.isMultiLinesDisplay == 'true' ? true : false;
|
|
11439
11439
|
this.insCheckSyncUpdateList = currentPoperNode.insCheckSyncUpdateList;
|
|
11440
11440
|
}
|
|
11441
11441
|
(_this$poperSelectList = this.poperSelectList) === null || _this$poperSelectList === void 0 ? void 0 : _this$poperSelectList.forEach(function (v, index) {
|
|
@@ -12038,10 +12038,10 @@ var type = __webpack_require__(41542);
|
|
|
12038
12038
|
});
|
|
12039
12039
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
12040
12040
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
12041
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12041
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=63ef43d4&prod&lang=scss&
|
|
12042
12042
|
// extracted by mini-css-extract-plugin
|
|
12043
12043
|
|
|
12044
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12044
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=63ef43d4&prod&lang=scss&
|
|
12045
12045
|
|
|
12046
12046
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
12047
12047
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -35272,6 +35272,10 @@ jspdf/* jsPDF.API.svg */.kH.API.svg = function (element, options) {
|
|
|
35272
35272
|
|
|
35273
35273
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawPageTable.ts
|
|
35274
35274
|
var DrawPageTable = __webpack_require__(15694);
|
|
35275
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
35276
|
+
var ParagraphNode = __webpack_require__(67945);
|
|
35277
|
+
// EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawPageMainDoc.ts
|
|
35278
|
+
var DrawPageMainDoc = __webpack_require__(77441);
|
|
35275
35279
|
;// CONCATENATED MODULE: ./src/editor/PrintStatus.ts
|
|
35276
35280
|
|
|
35277
35281
|
|
|
@@ -35310,6 +35314,8 @@ var DrawPageTable = __webpack_require__(15694);
|
|
|
35310
35314
|
|
|
35311
35315
|
|
|
35312
35316
|
|
|
35317
|
+
|
|
35318
|
+
|
|
35313
35319
|
|
|
35314
35320
|
|
|
35315
35321
|
|
|
@@ -36398,8 +36404,8 @@ var Print = /*#__PURE__*/function () {
|
|
|
36398
36404
|
}, {
|
|
36399
36405
|
key: "printAllNew",
|
|
36400
36406
|
value: function () {
|
|
36401
|
-
var _printAllNew = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee5(hoEditorFactoryID, reslove, PDF, position) {
|
|
36402
|
-
var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, _iterator4, _step4, _cpage$drawDomLevel10, index, cpage, _cpage$drawDomLevel8, _cpage$drawDomLevel8$, pageSize, ctx, _cpage$drawDomLevel9, _cpage$drawDomLevel9$, _ctx7, _ctx6, lastPos;
|
|
36407
|
+
var _printAllNew = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee5(hoEditorFactoryID, reslove, PDF, position, isPrintFirstDoc) {
|
|
36408
|
+
var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, firstPageIndex, _iterator4, _step4, _cpage$drawDomLevel10, index, cpage, _cpage$drawDomLevel8, _cpage$drawDomLevel8$, pageSize, ctx, _cpage$drawDomLevel9, _cpage$drawDomLevel9$, _ctx7, _ctx6, lastPos;
|
|
36403
36409
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee5$(_context6) {
|
|
36404
36410
|
while (1) {
|
|
36405
36411
|
switch (_context6.prev = _context6.next) {
|
|
@@ -36431,22 +36437,36 @@ var Print = /*#__PURE__*/function () {
|
|
|
36431
36437
|
svg2pdfOptions.x = (format[0] - widthPixes) / 2;
|
|
36432
36438
|
}
|
|
36433
36439
|
}
|
|
36440
|
+
firstPageIndex = -1; // 用来处理 批量打印----首次病程单独打印----未选择首次病程----只选择病程记录----合并时带上首次病程确保页数准确----打印时丢掉首次病程确保不重复打印首次病程
|
|
36441
|
+
if (isPrintFirstDoc) {
|
|
36442
|
+
hoEditorFactory.docTree.mainNodes.forEach(function (node) {
|
|
36443
|
+
if (node instanceof ParagraphNode/* ParagraphNode */.C && node.printAsSinglePage && node.drawlines[0].parent instanceof DrawPageMainDoc/* DrawPageMainDoc */.$ && firstPageIndex == -1) {
|
|
36444
|
+
firstPageIndex = node.drawlines[0].parent.pageIndex;
|
|
36445
|
+
}
|
|
36446
|
+
});
|
|
36447
|
+
}
|
|
36434
36448
|
_iterator4 = (0,createForOfIteratorHelper/* default */.Z)(hoEditorFactory.printStatus.printProcess());
|
|
36435
|
-
_context6.prev =
|
|
36449
|
+
_context6.prev = 17;
|
|
36436
36450
|
_iterator4.s();
|
|
36437
|
-
case
|
|
36451
|
+
case 19:
|
|
36438
36452
|
if ((_step4 = _iterator4.n()).done) {
|
|
36439
|
-
_context6.next =
|
|
36453
|
+
_context6.next = 54;
|
|
36440
36454
|
break;
|
|
36441
36455
|
}
|
|
36442
36456
|
index = _step4.value;
|
|
36443
36457
|
if (!(index == -1)) {
|
|
36444
|
-
_context6.next =
|
|
36458
|
+
_context6.next = 24;
|
|
36445
36459
|
break;
|
|
36446
36460
|
}
|
|
36447
36461
|
message/* default.info */.Z.info('请进行翻页');
|
|
36448
|
-
return _context6.abrupt("continue",
|
|
36449
|
-
case
|
|
36462
|
+
return _context6.abrupt("continue", 52);
|
|
36463
|
+
case 24:
|
|
36464
|
+
if (!(index < firstPageIndex)) {
|
|
36465
|
+
_context6.next = 26;
|
|
36466
|
+
break;
|
|
36467
|
+
}
|
|
36468
|
+
return _context6.abrupt("continue", 52);
|
|
36469
|
+
case 26:
|
|
36450
36470
|
last = index;
|
|
36451
36471
|
cpage = hoEditorFactory.drawTree.drawPages[index];
|
|
36452
36472
|
if (cpage.drawDomLevel && !cpage.drawDomLevel.stage) {
|
|
@@ -36458,13 +36478,13 @@ var Print = /*#__PURE__*/function () {
|
|
|
36458
36478
|
cpage.needUpdateStage = false;
|
|
36459
36479
|
}
|
|
36460
36480
|
if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && cpage.drawMainDoc.children.length === 2 && !(cpage.drawMainDoc.children[0] instanceof DrawPageTable/* DrawPageTable */.ox) && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0)) {
|
|
36461
|
-
_context6.next =
|
|
36481
|
+
_context6.next = 32;
|
|
36462
36482
|
break;
|
|
36463
36483
|
}
|
|
36464
|
-
return _context6.abrupt("break",
|
|
36465
|
-
case
|
|
36484
|
+
return _context6.abrupt("break", 54);
|
|
36485
|
+
case 32:
|
|
36466
36486
|
if (!hoEditorFactory.isUseImagePrint) {
|
|
36467
|
-
_context6.next =
|
|
36487
|
+
_context6.next = 45;
|
|
36468
36488
|
break;
|
|
36469
36489
|
}
|
|
36470
36490
|
pageSize = JSON.stringify([hoEditorFactory.pageProperty.widthMm, hoEditorFactory.pageProperty.heightMm]);
|
|
@@ -36496,9 +36516,9 @@ var Print = /*#__PURE__*/function () {
|
|
|
36496
36516
|
ctx.posY = svg2pdfOptions.y;
|
|
36497
36517
|
ctx && ((_cpage$drawDomLevel8 = cpage.drawDomLevel) === null || _cpage$drawDomLevel8 === void 0 ? void 0 : (_cpage$drawDomLevel8$ = _cpage$drawDomLevel8.stage) === null || _cpage$drawDomLevel8$ === void 0 ? void 0 : _cpage$drawDomLevel8$.draw(ctx));
|
|
36498
36518
|
ctx = null;
|
|
36499
|
-
_context6.next =
|
|
36519
|
+
_context6.next = 51;
|
|
36500
36520
|
break;
|
|
36501
|
-
case
|
|
36521
|
+
case 45:
|
|
36502
36522
|
_ctx6 = new canvas2svg({
|
|
36503
36523
|
width: widthPixes,
|
|
36504
36524
|
height: orientation === 'l' ? heightPixes - 1 : heightPixes,
|
|
@@ -36510,27 +36530,27 @@ var Print = /*#__PURE__*/function () {
|
|
|
36510
36530
|
} else {
|
|
36511
36531
|
PDF === null || PDF === void 0 ? void 0 : PDF.addPage(format, orientation);
|
|
36512
36532
|
}
|
|
36513
|
-
_context6.next =
|
|
36533
|
+
_context6.next = 50;
|
|
36514
36534
|
return svg2pdf((_ctx7 = _ctx6) === null || _ctx7 === void 0 ? void 0 : _ctx7.getSvg(), PDF, svg2pdfOptions);
|
|
36515
|
-
case
|
|
36535
|
+
case 50:
|
|
36516
36536
|
_ctx6 = null;
|
|
36517
|
-
case
|
|
36537
|
+
case 51:
|
|
36518
36538
|
index > 0 && ((_cpage$drawDomLevel10 = cpage.drawDomLevel) === null || _cpage$drawDomLevel10 === void 0 ? void 0 : _cpage$drawDomLevel10.clearStage());
|
|
36519
|
-
case
|
|
36520
|
-
_context6.next =
|
|
36539
|
+
case 52:
|
|
36540
|
+
_context6.next = 19;
|
|
36521
36541
|
break;
|
|
36522
|
-
case
|
|
36523
|
-
_context6.next =
|
|
36542
|
+
case 54:
|
|
36543
|
+
_context6.next = 59;
|
|
36524
36544
|
break;
|
|
36525
|
-
case
|
|
36526
|
-
_context6.prev =
|
|
36527
|
-
_context6.t0 = _context6["catch"](
|
|
36545
|
+
case 56:
|
|
36546
|
+
_context6.prev = 56;
|
|
36547
|
+
_context6.t0 = _context6["catch"](17);
|
|
36528
36548
|
_iterator4.e(_context6.t0);
|
|
36529
|
-
case
|
|
36530
|
-
_context6.prev =
|
|
36549
|
+
case 59:
|
|
36550
|
+
_context6.prev = 59;
|
|
36531
36551
|
_iterator4.f();
|
|
36532
|
-
return _context6.finish(
|
|
36533
|
-
case
|
|
36552
|
+
return _context6.finish(59);
|
|
36553
|
+
case 62:
|
|
36534
36554
|
if (hoEditorFactory.printStatus.printRange !== PrintRange.prSelected) {
|
|
36535
36555
|
hoEditorFactory.printStatus.recordLastPosByPageIndex(last);
|
|
36536
36556
|
}
|
|
@@ -36544,14 +36564,14 @@ var Print = /*#__PURE__*/function () {
|
|
|
36544
36564
|
}
|
|
36545
36565
|
hoEditorFactory.printStatus.DrawPrintRange().PrintOver();
|
|
36546
36566
|
reslove();
|
|
36547
|
-
case
|
|
36567
|
+
case 66:
|
|
36548
36568
|
case "end":
|
|
36549
36569
|
return _context6.stop();
|
|
36550
36570
|
}
|
|
36551
36571
|
}
|
|
36552
|
-
}, _callee5, null, [[
|
|
36572
|
+
}, _callee5, null, [[17, 56, 59, 62]]);
|
|
36553
36573
|
}));
|
|
36554
|
-
function printAllNew(_x15, _x16, _x17, _x18) {
|
|
36574
|
+
function printAllNew(_x15, _x16, _x17, _x18, _x19) {
|
|
36555
36575
|
return _printAllNew.apply(this, arguments);
|
|
36556
36576
|
}
|
|
36557
36577
|
return printAllNew;
|
|
@@ -37936,7 +37956,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37936
37956
|
}
|
|
37937
37957
|
} else {
|
|
37938
37958
|
var styleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
37939
|
-
if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && node === pNode.first()) {
|
|
37959
|
+
if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && node === pNode.first() && hoEditorFactory.drawTree.paintStatus != _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psReview */ .Dh.psReview) {
|
|
37940
37960
|
styleIndex = node.styleIndex;
|
|
37941
37961
|
}
|
|
37942
37962
|
if (aTextArray[0] > 1) {
|
|
@@ -38019,7 +38039,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38019
38039
|
curStyleIndex = hoEditorFactory.docTree.styleCompare(nodeStyle);
|
|
38020
38040
|
hoEditorFactory.docTree.curStyleIndex = curStyleIndex;
|
|
38021
38041
|
var pNode = node.parentNode;
|
|
38022
|
-
if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && pNode.childNodes.indexOf(node) === 0) {
|
|
38042
|
+
if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && pNode.childNodes.indexOf(node) === 0 && hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psReview */ .Dh.psReview) {
|
|
38023
38043
|
//const aNode = pNode.childNodes[0];
|
|
38024
38044
|
//if (aNode instanceof MarkNode) {
|
|
38025
38045
|
//curStyleIndex = aNode.styleIndex;
|
|
@@ -38054,6 +38074,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38054
38074
|
_this2.insertNodeByPath(aPath, paragraphNode);
|
|
38055
38075
|
return hoEditorFactory.docTree.curDomRange.startPath;
|
|
38056
38076
|
};
|
|
38077
|
+
curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
|
|
38057
38078
|
var aPromise = new Promise(function (resolve, reject) {
|
|
38058
38079
|
resolve(strPath);
|
|
38059
38080
|
});
|
|
@@ -63073,7 +63094,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63073
63094
|
/*
|
|
63074
63095
|
* @Author: your name
|
|
63075
63096
|
* @Date: 2020-11-03 15:17:54
|
|
63076
|
-
* @LastEditTime: 2023-
|
|
63097
|
+
* @LastEditTime: 2023-04-18 14:15:13
|
|
63077
63098
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
63078
63099
|
* @Description: In User Settings Edit
|
|
63079
63100
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -64056,11 +64077,22 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64056
64077
|
}, {
|
|
64057
64078
|
key: "getLabel",
|
|
64058
64079
|
value: function getLabel() {
|
|
64059
|
-
if (this._childNodes2.length == 3) {
|
|
64060
|
-
|
|
64080
|
+
//if (this._childNodes2.length == 3) {
|
|
64081
|
+
// if (this.childNodes.indexOf(this._childNodes2[1]) != -1) {
|
|
64082
|
+
// return this._childNodes2[1];
|
|
64083
|
+
// }
|
|
64084
|
+
// return null;
|
|
64085
|
+
if (this.childNodes.indexOf(this._childNodes2[1]) != -1) {
|
|
64086
|
+
return this._childNodes2[1];
|
|
64087
|
+
} else {
|
|
64088
|
+
for (var i = 0; i < this.childNodes.length; i++) {
|
|
64089
|
+
var child = this.childNodes[i];
|
|
64090
|
+
if (child instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j && child.MarkNodeType == 1) {
|
|
64091
|
+
return child;
|
|
64092
|
+
}
|
|
64093
|
+
}
|
|
64061
64094
|
return null;
|
|
64062
64095
|
}
|
|
64063
|
-
return null;
|
|
64064
64096
|
}
|
|
64065
64097
|
/**
|
|
64066
64098
|
* 文本域重绘
|
|
@@ -65001,7 +65033,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65001
65033
|
json.isCentered = !json.isCentered ? false : json.isCentered;
|
|
65002
65034
|
json.inputFieldType = InputFieldType[json.inputFieldType];
|
|
65003
65035
|
json.downListProperty._allowMultiSelected = json.downListProperty.allowMultiSelected ? json.downListProperty.allowMultiSelected : json.downListProperty._allowMultiSelected;
|
|
65004
|
-
json.downListProperty._isMultiLinesDisplay = json.downListProperty._isMultiLinesDisplay;
|
|
65036
|
+
json.downListProperty._isMultiLinesDisplay = json.downListProperty.isMultiLinesDisplay ? json.downListProperty.isMultiLinesDisplay : json.downListProperty._isMultiLinesDisplay == "true" || json.downListProperty._isMultiLinesDisplay == true ? true : false;
|
|
65005
65037
|
json.alignWithBlocked = !json.alignWithBlocked ? false : json.alignWithBlocked;
|
|
65006
65038
|
json.isSynchro = !json.isSynchro ? false : json.isSynchro;
|
|
65007
65039
|
json.readType = json.readType ? Number(json.readType) : -1;
|
|
@@ -83421,9 +83453,10 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
83421
83453
|
right = _ditem4.x + _ditem4.dWidth + dnextDline.charSpace;
|
|
83422
83454
|
}
|
|
83423
83455
|
}
|
|
83456
|
+
var color = hoeditorfacotry.option.getColorByLevel(15);
|
|
83424
83457
|
if (dPage && dPage.selectContainer) {
|
|
83425
|
-
var shape = new DrawSelect(this._hoEditorFactoryID, dPage.pageIndex, dnextDline, left, right, bInSameRect, aRange.spStart.dline.paragraphNode.parentNode, aRange.spEnd.dline.paragraphNode.parentNode,
|
|
83426
|
-
shape.alpha = 0.3;
|
|
83458
|
+
var shape = new DrawSelect(this._hoEditorFactoryID, dPage.pageIndex, dnextDline, left, right, bInSameRect, aRange.spStart.dline.paragraphNode.parentNode, aRange.spEnd.dline.paragraphNode.parentNode, color);
|
|
83459
|
+
//shape.alpha = 0.3;
|
|
83427
83460
|
dPage.selectContainer.addChild(shape);
|
|
83428
83461
|
if (dPages.indexOf(dPage) < 0) {
|
|
83429
83462
|
dPages.push(dPage);
|
|
@@ -85187,24 +85220,31 @@ var LineStyleUndoUnit = /*#__PURE__*/function () {
|
|
|
85187
85220
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80543);
|
|
85188
85221
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81448);
|
|
85189
85222
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70280);
|
|
85190
|
-
/* harmony import */ var
|
|
85223
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(66298);
|
|
85191
85224
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(75808);
|
|
85192
85225
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11651);
|
|
85193
85226
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(19593);
|
|
85194
|
-
/* harmony import */ var
|
|
85227
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(78255);
|
|
85195
85228
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21703);
|
|
85196
85229
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
85197
85230
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41539);
|
|
85198
85231
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
85199
85232
|
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(39714);
|
|
85200
85233
|
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
85201
|
-
/* harmony import */ var
|
|
85202
|
-
/* harmony import */ var
|
|
85203
|
-
/* harmony import */ var
|
|
85204
|
-
/* harmony import */ var
|
|
85205
|
-
/* harmony import */ var
|
|
85206
|
-
/* harmony import */ var
|
|
85207
|
-
/* harmony import */ var
|
|
85234
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
|
|
85235
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
85236
|
+
/* harmony import */ var _IUndoUnit__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(51406);
|
|
85237
|
+
/* harmony import */ var _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32629);
|
|
85238
|
+
/* harmony import */ var _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2613);
|
|
85239
|
+
/* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90161);
|
|
85240
|
+
/* harmony import */ var _events_Exception__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(8277);
|
|
85241
|
+
/* harmony import */ var _draw_SelectRange__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(53901);
|
|
85242
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(74089);
|
|
85243
|
+
/* harmony import */ var _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(24701);
|
|
85244
|
+
/* harmony import */ var _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(48970);
|
|
85245
|
+
|
|
85246
|
+
|
|
85247
|
+
|
|
85208
85248
|
|
|
85209
85249
|
|
|
85210
85250
|
|
|
@@ -85230,7 +85270,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85230
85270
|
function NodeDeleteUndoUnit(hoEditorFactoryID, node, path, operType) {
|
|
85231
85271
|
var _this;
|
|
85232
85272
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, NodeDeleteUndoUnit);
|
|
85233
|
-
var hoEditorFactory =
|
|
85273
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
|
|
85234
85274
|
var prev = node.previousLeaf();
|
|
85235
85275
|
var spath = prev ? hoEditorFactory.docTree.getNodeLastPath(prev) : undefined;
|
|
85236
85276
|
spath = path ? path : spath;
|
|
@@ -85238,11 +85278,11 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85238
85278
|
throw new Error("前面没有节点了");
|
|
85239
85279
|
}
|
|
85240
85280
|
_this = _super.call(this, spath, node);
|
|
85241
|
-
(0,
|
|
85242
|
-
(0,
|
|
85243
|
-
(0,
|
|
85244
|
-
(0,
|
|
85245
|
-
(0,
|
|
85281
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_pnode", void 0);
|
|
85282
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_operType", void 0);
|
|
85283
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_hoEditorFactoryID", void 0);
|
|
85284
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_opTime", void 0);
|
|
85285
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_affectText", void 0);
|
|
85246
85286
|
_this._hoEditorFactoryID = hoEditorFactoryID;
|
|
85247
85287
|
_this._pnode = node.parentNode;
|
|
85248
85288
|
_this._operType = operType;
|
|
@@ -85250,7 +85290,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85250
85290
|
_this._affectText = "类型" + node.getTagNameCn() + '内容:' + node.toString();
|
|
85251
85291
|
return _this;
|
|
85252
85292
|
}
|
|
85253
|
-
(0,
|
|
85293
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(NodeDeleteUndoUnit, [{
|
|
85254
85294
|
key: "undo",
|
|
85255
85295
|
value: function undo() {
|
|
85256
85296
|
// switch (this._action){
|
|
@@ -85266,10 +85306,10 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85266
85306
|
while (1) {
|
|
85267
85307
|
switch (_context.prev = _context.next) {
|
|
85268
85308
|
case 0:
|
|
85269
|
-
hoEditorFactory =
|
|
85309
|
+
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
85270
85310
|
hoEditorFactory.docTree.insertNodeAfterPath(this.strBeforePath, this.node);
|
|
85271
85311
|
path = hoEditorFactory.docTree.getNodeLastPath(this.node);
|
|
85272
|
-
changeEvent = new
|
|
85312
|
+
changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_12__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_11__/* .DocAction.daInsert */ .gk.daInsert, this.strBeforePath, path);
|
|
85273
85313
|
_context.next = 6;
|
|
85274
85314
|
return hoEditorFactory.docTree.change(changeEvent);
|
|
85275
85315
|
case 6:
|
|
@@ -85293,7 +85333,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85293
85333
|
key: "ParentRepaint",
|
|
85294
85334
|
value: function ParentRepaint() {
|
|
85295
85335
|
var Anode = this._pnode;
|
|
85296
|
-
while (Anode && Anode instanceof
|
|
85336
|
+
while (Anode && Anode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_13__/* .TextInputFieldNode */ .re) {
|
|
85297
85337
|
//const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
85298
85338
|
// if (Anode.childNodes.length === 2) {
|
|
85299
85339
|
// const contentMarkNode = Anode.childNodes2[1];
|
|
@@ -85326,7 +85366,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85326
85366
|
switch (_context2.prev = _context2.next) {
|
|
85327
85367
|
case 0:
|
|
85328
85368
|
strPath = this.node.getNodePath();
|
|
85329
|
-
hoeditorFactory =
|
|
85369
|
+
hoeditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
85330
85370
|
np = hoeditorFactory.docTree.findNodePositionByPath(strPath);
|
|
85331
85371
|
siblings = []; // const rootPath = hoeditorFactory.docTree.getRootPathByNodes(
|
|
85332
85372
|
// this.node.rootNodes
|
|
@@ -85336,13 +85376,13 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85336
85376
|
_context2.next = 7;
|
|
85337
85377
|
break;
|
|
85338
85378
|
}
|
|
85339
|
-
throw
|
|
85379
|
+
throw _events_Exception__WEBPACK_IMPORTED_MODULE_14__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
85340
85380
|
case 7:
|
|
85341
85381
|
parentPath = np.node.rootNodes[0].rootPath + '/0';
|
|
85342
85382
|
/**获取兄弟节点 */
|
|
85343
85383
|
getSlibs = function getSlibs(Anode) {
|
|
85344
85384
|
if (Anode.parentNode && Anode.parentNode.childNodes.indexOf(Anode) >= 0) {
|
|
85345
|
-
if (Anode.parentNode instanceof
|
|
85385
|
+
if (Anode.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_13__/* .TextInputFieldNode */ .re) {
|
|
85346
85386
|
var pTINode = Anode.parentNode;
|
|
85347
85387
|
if (pTINode.childNodes.length === 2) {
|
|
85348
85388
|
getSlibs(pTINode);
|
|
@@ -85388,9 +85428,9 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85388
85428
|
index = siblings.indexOf(currNode);
|
|
85389
85429
|
pre = index == 0 ? null : siblings[index - 1];
|
|
85390
85430
|
startPath = pre ? hoeditorFactory.docTree.getNodeLastPath(pre) : currNode.rootPath + '/0';
|
|
85391
|
-
changeEvent = new
|
|
85431
|
+
changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_12__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_11__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, startPath, "");
|
|
85392
85432
|
changeEvent.oldEndPath = hoeditorFactory.docTree.getNodeLastPath(currNode);
|
|
85393
|
-
changeEvent.oldDrawTreeLines = new
|
|
85433
|
+
changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_15__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, changeEvent.oldEndPath);
|
|
85394
85434
|
//siblings.splice(siblings.indexOf(currNode), 1);
|
|
85395
85435
|
result = hoeditorFactory.docTree.deleteNode(currNode, this._operType);
|
|
85396
85436
|
toPath = changeEvent.beforeChangePath;
|
|
@@ -85415,6 +85455,10 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85415
85455
|
_context2.next = 38;
|
|
85416
85456
|
return this.ParentRepaint();
|
|
85417
85457
|
case 38:
|
|
85458
|
+
if (currNode instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_17__/* .SignNode */ .N && (hoeditorFactory.drawTree.paintStatus == _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_18__/* .PaintState.psEdit */ .Dh.psEdit || hoeditorFactory.drawTree.paintStatus == _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_18__/* .PaintState.psReview */ .Dh.psReview)) {
|
|
85459
|
+
hoeditorFactory.undoService.stack.splice(hoeditorFactory.undoService.stack.length - 1, 1);
|
|
85460
|
+
}
|
|
85461
|
+
case 39:
|
|
85418
85462
|
case "end":
|
|
85419
85463
|
return _context2.stop();
|
|
85420
85464
|
}
|
|
@@ -85468,7 +85512,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85468
85512
|
}
|
|
85469
85513
|
}]);
|
|
85470
85514
|
return NodeDeleteUndoUnit;
|
|
85471
|
-
}(
|
|
85515
|
+
}(_IUndoUnit__WEBPACK_IMPORTED_MODULE_10__/* .UndoInfo */ .e);
|
|
85472
85516
|
|
|
85473
85517
|
/***/ }),
|
|
85474
85518
|
|
|
@@ -195831,7 +195875,7 @@ var map = {
|
|
|
195831
195875
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
195832
195876
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
195833
195877
|
"./poperSelect/PoperMark.vue": 71472,
|
|
195834
|
-
"./poperSelect/PoperSelect.vue":
|
|
195878
|
+
"./poperSelect/PoperSelect.vue": 78773,
|
|
195835
195879
|
"./poperTipText/PoperTipText.vue": 15845,
|
|
195836
195880
|
"./popers/Poper.vue": 57937,
|
|
195837
195881
|
"./popers/Title.vue": 89987,
|
|
@@ -233751,7 +233795,7 @@ var DrawPage = __webpack_require__(72722);
|
|
|
233751
233795
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
233752
233796
|
var plugins_util = __webpack_require__(62783);
|
|
233753
233797
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
233754
|
-
var PoperSelect = __webpack_require__(
|
|
233798
|
+
var PoperSelect = __webpack_require__(78773);
|
|
233755
233799
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
233756
233800
|
var PoperMark = __webpack_require__(71472);
|
|
233757
233801
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -235450,7 +235494,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
235450
235494
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
235451
235495
|
var MarkNode = __webpack_require__(57727);
|
|
235452
235496
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
235453
|
-
/* harmony default export */ var version = ('3.0.
|
|
235497
|
+
/* harmony default export */ var version = ('3.0.52');
|
|
235454
235498
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
235455
235499
|
var PoperTipText = __webpack_require__(15845);
|
|
235456
235500
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -237739,7 +237783,7 @@ var UserInfo = __webpack_require__(14871);
|
|
|
237739
237783
|
/*
|
|
237740
237784
|
* @Author: your name
|
|
237741
237785
|
* @Date: 2021-06-21 17:47:51
|
|
237742
|
-
* @LastEditTime: 2023-04-
|
|
237786
|
+
* @LastEditTime: 2023-04-17 09:54:15
|
|
237743
237787
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
237744
237788
|
* @Description: In User Settings Edit
|
|
237745
237789
|
* @FilePath: \hoeditor-web\src\editor\runTimeInfo\Option.ts
|
|
@@ -237757,6 +237801,7 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237757
237801
|
(0,esm_defineProperty/* default */.Z)(this, "_downListColor2", "#D2ACB1");
|
|
237758
237802
|
(0,esm_defineProperty/* default */.Z)(this, "_signColor", "#D2ACB1");
|
|
237759
237803
|
(0,esm_defineProperty/* default */.Z)(this, "_labelColor", "#C9CCCD");
|
|
237804
|
+
(0,esm_defineProperty/* default */.Z)(this, "_warnColor", "#E087F4");
|
|
237760
237805
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
237761
237806
|
}
|
|
237762
237807
|
(0,esm_createClass/* default */.Z)(Option, [{
|
|
@@ -237771,6 +237816,7 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237771
237816
|
//下拉列表默认元素颜色
|
|
237772
237817
|
//签名元素颜色
|
|
237773
237818
|
//标签颜色
|
|
237819
|
+
//提醒颜色
|
|
237774
237820
|
function get() {
|
|
237775
237821
|
return this._hoEditorFactoryID;
|
|
237776
237822
|
},
|
|
@@ -237849,9 +237895,17 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237849
237895
|
set: function set(value) {
|
|
237850
237896
|
this._labelColor = value;
|
|
237851
237897
|
}
|
|
237898
|
+
}, {
|
|
237899
|
+
key: "warnColor",
|
|
237900
|
+
get: function get() {
|
|
237901
|
+
return this._warnColor;
|
|
237902
|
+
},
|
|
237903
|
+
set: function set(value) {
|
|
237904
|
+
this._warnColor = value;
|
|
237905
|
+
}
|
|
237852
237906
|
}, {
|
|
237853
237907
|
key: "setReviewLevelColor",
|
|
237854
|
-
value: function setReviewLevelColor(Lev1Color, Lev2Color, Lev3Color, fieldColor, dateTimeColor, downListColor, downListColor2, signColor, labelColor) {
|
|
237908
|
+
value: function setReviewLevelColor(Lev1Color, Lev2Color, Lev3Color, fieldColor, dateTimeColor, downListColor, downListColor2, signColor, labelColor, warnColor) {
|
|
237855
237909
|
Lev1Color && (this._reviewLev1Color = Lev1Color);
|
|
237856
237910
|
Lev2Color && (this._reviewLev2Color = Lev2Color);
|
|
237857
237911
|
Lev3Color && (this._reviewLev3Color = Lev3Color);
|
|
@@ -237861,6 +237915,7 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237861
237915
|
downListColor2 && (this._downListColor2 = downListColor2);
|
|
237862
237916
|
signColor && (this._signColor = signColor);
|
|
237863
237917
|
labelColor && (this._labelColor = labelColor);
|
|
237918
|
+
warnColor && (this._warnColor = warnColor);
|
|
237864
237919
|
}
|
|
237865
237920
|
}, {
|
|
237866
237921
|
key: "getColorByLevel",
|
|
@@ -237883,6 +237938,8 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237883
237938
|
return this._signColor;
|
|
237884
237939
|
} else if (level === 14) {
|
|
237885
237940
|
return this._labelColor;
|
|
237941
|
+
} else if (level === 15) {
|
|
237942
|
+
return this._warnColor;
|
|
237886
237943
|
} else {
|
|
237887
237944
|
return "transparent";
|
|
237888
237945
|
}
|
|
@@ -249542,6 +249599,17 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249542
249599
|
}
|
|
249543
249600
|
}
|
|
249544
249601
|
}
|
|
249602
|
+
}, {
|
|
249603
|
+
key: "cancelSelect",
|
|
249604
|
+
value: function cancelSelect(node) {
|
|
249605
|
+
if (node.controlStyle == "CheckBox" || !node.isSelected) return;
|
|
249606
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
249607
|
+
var nodePathCur = node.getNodePath();
|
|
249608
|
+
node.isSelected = false;
|
|
249609
|
+
var nodeObjectStr = JSON.stringify(node.radioAndCheckBoxInstance);
|
|
249610
|
+
var newDomRangeCur = new DomRange/* DomRange */.a(this._hoEditorFactoryID, nodePathCur, nodePathCur);
|
|
249611
|
+
hoEditorFactory.docController.insertRadioAndCheckBox("update", newDomRangeCur, nodeObjectStr, node.styleIndex);
|
|
249612
|
+
}
|
|
249545
249613
|
}]);
|
|
249546
249614
|
return VueController;
|
|
249547
249615
|
}();
|
|
@@ -252825,6 +252893,7 @@ var jspdf = __webpack_require__(77937);
|
|
|
252825
252893
|
|
|
252826
252894
|
|
|
252827
252895
|
|
|
252896
|
+
|
|
252828
252897
|
|
|
252829
252898
|
|
|
252830
252899
|
/*
|
|
@@ -253296,7 +253365,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253296
253365
|
console.time('连续打印总用时');
|
|
253297
253366
|
list = [];
|
|
253298
253367
|
xmlInfoes.xmlList.forEach(function (v) {
|
|
253299
|
-
list.push([v.isMerge, v.xml, v.isUpdateHeader]);
|
|
253368
|
+
list.push([v.isMerge, v.xml, v.isUpdateHeader ? v.isUpdateHeader : false]);
|
|
253300
253369
|
});
|
|
253301
253370
|
positionY = xmlInfoes.positionY;
|
|
253302
253371
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -253452,7 +253521,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253452
253521
|
}, {
|
|
253453
253522
|
key: "pintAllToPDF",
|
|
253454
253523
|
value: function () {
|
|
253455
|
-
var _pintAllToPDF = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(xmlList, callback) {
|
|
253524
|
+
var _pintAllToPDF = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(xmlList, callback, params) {
|
|
253456
253525
|
var _this6 = this;
|
|
253457
253526
|
var hoEditorFactory, beforePrintStatus, xml, xmlIndex, mergeList, position, continuousid, options, toPrint, createSvg;
|
|
253458
253527
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee8$(_context8) {
|
|
@@ -253481,7 +253550,11 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253481
253550
|
while (1) {
|
|
253482
253551
|
switch (_context6.prev = _context6.next) {
|
|
253483
253552
|
case 0:
|
|
253484
|
-
|
|
253553
|
+
if (params && continuousid && Array.isArray(params.notPrintDocId) && params.notPrintDocId.length > 0 && params.notPrintDocId.includes(continuousid)) {
|
|
253554
|
+
PrintStatus/* Print.printAllNew */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position, true);
|
|
253555
|
+
} else {
|
|
253556
|
+
PrintStatus/* Print.printAllNew */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position);
|
|
253557
|
+
}
|
|
253485
253558
|
case 1:
|
|
253486
253559
|
case "end":
|
|
253487
253560
|
return _context6.stop();
|
|
@@ -253517,7 +253590,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253517
253590
|
mergeList = [];
|
|
253518
253591
|
}
|
|
253519
253592
|
continuousid = xmlList[xmlIndex][2];
|
|
253520
|
-
mergeList.push([xmlList[xmlIndex][1], xmlList[xmlIndex][0]]);
|
|
253593
|
+
mergeList.push([xmlList[xmlIndex][1], xmlList[xmlIndex][0], xmlList[xmlIndex][4] === undefined ? false : xmlList[xmlIndex][4]]);
|
|
253521
253594
|
if (xmlList[xmlIndex][3]) {
|
|
253522
253595
|
Promise.all([hoEditorFactory.vueController.openDocsForPrint(mergeList)]).then(function () {
|
|
253523
253596
|
if (hoEditorFactory.loadImageCount === 0) {
|
|
@@ -253571,7 +253644,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253571
253644
|
}
|
|
253572
253645
|
}, _callee8, this);
|
|
253573
253646
|
}));
|
|
253574
|
-
function pintAllToPDF(_x7, _x8) {
|
|
253647
|
+
function pintAllToPDF(_x7, _x8, _x9) {
|
|
253575
253648
|
return _pintAllToPDF.apply(this, arguments);
|
|
253576
253649
|
}
|
|
253577
253650
|
return pintAllToPDF;
|