hoeditor-web 3.0.49 → 3.0.51
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.css +13054 -2
- package/lib/hoeditor.umd.js +159 -91
- 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);
|
|
@@ -54968,6 +54968,7 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
54968
54968
|
//病历id
|
|
54969
54969
|
//文本样式
|
|
54970
54970
|
//自定义属性
|
|
54971
|
+
//强制换页眉(不新起一页换页眉)
|
|
54971
54972
|
function ParagraphNode(hoEditorFactoryID, rootNodes, parentNode, paraNo, customProperty) {
|
|
54972
54973
|
var _this;
|
|
54973
54974
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, ParagraphNode);
|
|
@@ -54983,6 +54984,7 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
54983
54984
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_21__/* ["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), "_docId", void 0);
|
|
54984
54985
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_21__/* ["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), "_styleIndex", void 0);
|
|
54985
54986
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_21__/* ["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), "_customProperty", void 0);
|
|
54987
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_21__/* ["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), "_forceChangeHeader", void 0);
|
|
54986
54988
|
_this._parentNode = parentNode;
|
|
54987
54989
|
_this._drawLines = new Array();
|
|
54988
54990
|
_this._drawNodes = _this._drawLines;
|
|
@@ -54992,6 +54994,7 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
54992
54994
|
_this._dHeight = 0;
|
|
54993
54995
|
_this._pagePaintStart = null;
|
|
54994
54996
|
_this._printAsSinglePage = false;
|
|
54997
|
+
_this._forceChangeHeader = false;
|
|
54995
54998
|
_this._docId = "";
|
|
54996
54999
|
_this._customProperty = new Object();
|
|
54997
55000
|
if (customProperty) {
|
|
@@ -55002,7 +55005,7 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55002
55005
|
}
|
|
55003
55006
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(ParagraphNode, [{
|
|
55004
55007
|
key: "setCustomProperty",
|
|
55005
|
-
value: function setCustomProperty(customProperty, printAsSinglePage) {
|
|
55008
|
+
value: function setCustomProperty(customProperty, printAsSinglePage, forceChangeHeader) {
|
|
55006
55009
|
var assignvalue = function assignvalue(target, source) {
|
|
55007
55010
|
Object.keys(source).forEach(function (value) {
|
|
55008
55011
|
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(target[value]) == "object") {
|
|
@@ -55020,7 +55023,10 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55020
55023
|
};
|
|
55021
55024
|
assignvalue(this._customProperty, customProperty);
|
|
55022
55025
|
if (printAsSinglePage == true) {
|
|
55023
|
-
this.
|
|
55026
|
+
this._printAsSinglePage = printAsSinglePage;
|
|
55027
|
+
}
|
|
55028
|
+
if (forceChangeHeader == true) {
|
|
55029
|
+
this._forceChangeHeader = forceChangeHeader;
|
|
55024
55030
|
}
|
|
55025
55031
|
}
|
|
55026
55032
|
}, {
|
|
@@ -55384,6 +55390,14 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55384
55390
|
set: function set(value) {
|
|
55385
55391
|
this._printAsSinglePage = value;
|
|
55386
55392
|
}
|
|
55393
|
+
}, {
|
|
55394
|
+
key: "forceChangeHeader",
|
|
55395
|
+
get: function get() {
|
|
55396
|
+
return this._forceChangeHeader;
|
|
55397
|
+
},
|
|
55398
|
+
set: function set(value) {
|
|
55399
|
+
this._forceChangeHeader = value;
|
|
55400
|
+
}
|
|
55387
55401
|
}, {
|
|
55388
55402
|
key: "docId",
|
|
55389
55403
|
get: function get() {
|
|
@@ -55512,7 +55526,8 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55512
55526
|
textStyleNo: this.styleIndex,
|
|
55513
55527
|
printAsSinglePage: this.printAsSinglePage,
|
|
55514
55528
|
docId: this.docId,
|
|
55515
|
-
customProperty: this.customProperty
|
|
55529
|
+
customProperty: this.customProperty,
|
|
55530
|
+
forceChangeHeader: this.forceChangeHeader
|
|
55516
55531
|
};
|
|
55517
55532
|
return paga;
|
|
55518
55533
|
}
|
|
@@ -55523,7 +55538,8 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55523
55538
|
textStyleNo: this.styleIndex,
|
|
55524
55539
|
printAsSinglePage: this.printAsSinglePage,
|
|
55525
55540
|
docId: this.docId,
|
|
55526
|
-
customProperty: this.customProperty
|
|
55541
|
+
customProperty: this.customProperty,
|
|
55542
|
+
forceChangeHeader: this.forceChangeHeader
|
|
55527
55543
|
}
|
|
55528
55544
|
};
|
|
55529
55545
|
}
|
|
@@ -55581,6 +55597,7 @@ var ParagraphNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
55581
55597
|
var paragraphNode = new ParagraphNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, paraNo, json.customProperty);
|
|
55582
55598
|
paragraphNode.docId = json.docId && json.docId !== "" ? json.docId : "";
|
|
55583
55599
|
paragraphNode.printAsSinglePage = json.printAsSinglePage ? json.printAsSinglePage === "true" ? true : false : false;
|
|
55600
|
+
paragraphNode.forceChangeHeader = json.forceChangeHeader ? json.forceChangeHeader === "true" ? true : false : false;
|
|
55584
55601
|
paragraphNode.styleIndex = json.textStyleNo ? Number(json.textStyleNo) : 0;
|
|
55585
55602
|
// paragraphNode._dHeight = Number(json.height);
|
|
55586
55603
|
// paragraphNode._dTop = Number(json.top);
|
|
@@ -63056,7 +63073,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63056
63073
|
/*
|
|
63057
63074
|
* @Author: your name
|
|
63058
63075
|
* @Date: 2020-11-03 15:17:54
|
|
63059
|
-
* @LastEditTime: 2023-
|
|
63076
|
+
* @LastEditTime: 2023-04-17 14:18:00
|
|
63060
63077
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
63061
63078
|
* @Description: In User Settings Edit
|
|
63062
63079
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -64984,7 +65001,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64984
65001
|
json.isCentered = !json.isCentered ? false : json.isCentered;
|
|
64985
65002
|
json.inputFieldType = InputFieldType[json.inputFieldType];
|
|
64986
65003
|
json.downListProperty._allowMultiSelected = json.downListProperty.allowMultiSelected ? json.downListProperty.allowMultiSelected : json.downListProperty._allowMultiSelected;
|
|
64987
|
-
json.downListProperty._isMultiLinesDisplay = json.downListProperty._isMultiLinesDisplay;
|
|
65004
|
+
json.downListProperty._isMultiLinesDisplay = json.downListProperty.isMultiLinesDisplay ? json.downListProperty.isMultiLinesDisplay : json.downListProperty._isMultiLinesDisplay == "true" || json.downListProperty._isMultiLinesDisplay == true ? true : false;
|
|
64988
65005
|
json.alignWithBlocked = !json.alignWithBlocked ? false : json.alignWithBlocked;
|
|
64989
65006
|
json.isSynchro = !json.isSynchro ? false : json.isSynchro;
|
|
64990
65007
|
json.readType = json.readType ? Number(json.readType) : -1;
|
|
@@ -83404,9 +83421,10 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
83404
83421
|
right = _ditem4.x + _ditem4.dWidth + dnextDline.charSpace;
|
|
83405
83422
|
}
|
|
83406
83423
|
}
|
|
83424
|
+
var color = hoeditorfacotry.option.getColorByLevel(15);
|
|
83407
83425
|
if (dPage && dPage.selectContainer) {
|
|
83408
|
-
var shape = new DrawSelect(this._hoEditorFactoryID, dPage.pageIndex, dnextDline, left, right, bInSameRect, aRange.spStart.dline.paragraphNode.parentNode, aRange.spEnd.dline.paragraphNode.parentNode,
|
|
83409
|
-
shape.alpha = 0.3;
|
|
83426
|
+
var shape = new DrawSelect(this._hoEditorFactoryID, dPage.pageIndex, dnextDline, left, right, bInSameRect, aRange.spStart.dline.paragraphNode.parentNode, aRange.spEnd.dline.paragraphNode.parentNode, color);
|
|
83427
|
+
//shape.alpha = 0.3;
|
|
83410
83428
|
dPage.selectContainer.addChild(shape);
|
|
83411
83429
|
if (dPages.indexOf(dPage) < 0) {
|
|
83412
83430
|
dPages.push(dPage);
|
|
@@ -85170,24 +85188,31 @@ var LineStyleUndoUnit = /*#__PURE__*/function () {
|
|
|
85170
85188
|
/* 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);
|
|
85171
85189
|
/* 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);
|
|
85172
85190
|
/* 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);
|
|
85173
|
-
/* harmony import */ var
|
|
85191
|
+
/* 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);
|
|
85174
85192
|
/* 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);
|
|
85175
85193
|
/* 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);
|
|
85176
85194
|
/* 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);
|
|
85177
|
-
/* harmony import */ var
|
|
85195
|
+
/* 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);
|
|
85178
85196
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21703);
|
|
85179
85197
|
/* 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__);
|
|
85180
85198
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41539);
|
|
85181
85199
|
/* 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__);
|
|
85182
85200
|
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(39714);
|
|
85183
85201
|
/* 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__);
|
|
85184
|
-
/* harmony import */ var
|
|
85185
|
-
/* harmony import */ var
|
|
85186
|
-
/* harmony import */ var
|
|
85187
|
-
/* harmony import */ var
|
|
85188
|
-
/* harmony import */ var
|
|
85189
|
-
/* harmony import */ var
|
|
85190
|
-
/* harmony import */ var
|
|
85202
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
|
|
85203
|
+
/* 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__);
|
|
85204
|
+
/* harmony import */ var _IUndoUnit__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(51406);
|
|
85205
|
+
/* harmony import */ var _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32629);
|
|
85206
|
+
/* harmony import */ var _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2613);
|
|
85207
|
+
/* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90161);
|
|
85208
|
+
/* harmony import */ var _events_Exception__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(8277);
|
|
85209
|
+
/* harmony import */ var _draw_SelectRange__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(53901);
|
|
85210
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(74089);
|
|
85211
|
+
/* harmony import */ var _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(24701);
|
|
85212
|
+
/* harmony import */ var _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(48970);
|
|
85213
|
+
|
|
85214
|
+
|
|
85215
|
+
|
|
85191
85216
|
|
|
85192
85217
|
|
|
85193
85218
|
|
|
@@ -85213,7 +85238,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85213
85238
|
function NodeDeleteUndoUnit(hoEditorFactoryID, node, path, operType) {
|
|
85214
85239
|
var _this;
|
|
85215
85240
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, NodeDeleteUndoUnit);
|
|
85216
|
-
var hoEditorFactory =
|
|
85241
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
|
|
85217
85242
|
var prev = node.previousLeaf();
|
|
85218
85243
|
var spath = prev ? hoEditorFactory.docTree.getNodeLastPath(prev) : undefined;
|
|
85219
85244
|
spath = path ? path : spath;
|
|
@@ -85221,11 +85246,11 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85221
85246
|
throw new Error("前面没有节点了");
|
|
85222
85247
|
}
|
|
85223
85248
|
_this = _super.call(this, spath, node);
|
|
85224
|
-
(0,
|
|
85225
|
-
(0,
|
|
85226
|
-
(0,
|
|
85227
|
-
(0,
|
|
85228
|
-
(0,
|
|
85249
|
+
(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);
|
|
85250
|
+
(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);
|
|
85251
|
+
(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);
|
|
85252
|
+
(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);
|
|
85253
|
+
(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);
|
|
85229
85254
|
_this._hoEditorFactoryID = hoEditorFactoryID;
|
|
85230
85255
|
_this._pnode = node.parentNode;
|
|
85231
85256
|
_this._operType = operType;
|
|
@@ -85233,7 +85258,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85233
85258
|
_this._affectText = "类型" + node.getTagNameCn() + '内容:' + node.toString();
|
|
85234
85259
|
return _this;
|
|
85235
85260
|
}
|
|
85236
|
-
(0,
|
|
85261
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z)(NodeDeleteUndoUnit, [{
|
|
85237
85262
|
key: "undo",
|
|
85238
85263
|
value: function undo() {
|
|
85239
85264
|
// switch (this._action){
|
|
@@ -85249,10 +85274,10 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85249
85274
|
while (1) {
|
|
85250
85275
|
switch (_context.prev = _context.next) {
|
|
85251
85276
|
case 0:
|
|
85252
|
-
hoEditorFactory =
|
|
85277
|
+
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
85253
85278
|
hoEditorFactory.docTree.insertNodeAfterPath(this.strBeforePath, this.node);
|
|
85254
85279
|
path = hoEditorFactory.docTree.getNodeLastPath(this.node);
|
|
85255
|
-
changeEvent = new
|
|
85280
|
+
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);
|
|
85256
85281
|
_context.next = 6;
|
|
85257
85282
|
return hoEditorFactory.docTree.change(changeEvent);
|
|
85258
85283
|
case 6:
|
|
@@ -85276,7 +85301,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85276
85301
|
key: "ParentRepaint",
|
|
85277
85302
|
value: function ParentRepaint() {
|
|
85278
85303
|
var Anode = this._pnode;
|
|
85279
|
-
while (Anode && Anode instanceof
|
|
85304
|
+
while (Anode && Anode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_13__/* .TextInputFieldNode */ .re) {
|
|
85280
85305
|
//const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
85281
85306
|
// if (Anode.childNodes.length === 2) {
|
|
85282
85307
|
// const contentMarkNode = Anode.childNodes2[1];
|
|
@@ -85309,7 +85334,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85309
85334
|
switch (_context2.prev = _context2.next) {
|
|
85310
85335
|
case 0:
|
|
85311
85336
|
strPath = this.node.getNodePath();
|
|
85312
|
-
hoeditorFactory =
|
|
85337
|
+
hoeditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
85313
85338
|
np = hoeditorFactory.docTree.findNodePositionByPath(strPath);
|
|
85314
85339
|
siblings = []; // const rootPath = hoeditorFactory.docTree.getRootPathByNodes(
|
|
85315
85340
|
// this.node.rootNodes
|
|
@@ -85319,13 +85344,13 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85319
85344
|
_context2.next = 7;
|
|
85320
85345
|
break;
|
|
85321
85346
|
}
|
|
85322
|
-
throw
|
|
85347
|
+
throw _events_Exception__WEBPACK_IMPORTED_MODULE_14__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
85323
85348
|
case 7:
|
|
85324
85349
|
parentPath = np.node.rootNodes[0].rootPath + '/0';
|
|
85325
85350
|
/**获取兄弟节点 */
|
|
85326
85351
|
getSlibs = function getSlibs(Anode) {
|
|
85327
85352
|
if (Anode.parentNode && Anode.parentNode.childNodes.indexOf(Anode) >= 0) {
|
|
85328
|
-
if (Anode.parentNode instanceof
|
|
85353
|
+
if (Anode.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_13__/* .TextInputFieldNode */ .re) {
|
|
85329
85354
|
var pTINode = Anode.parentNode;
|
|
85330
85355
|
if (pTINode.childNodes.length === 2) {
|
|
85331
85356
|
getSlibs(pTINode);
|
|
@@ -85371,9 +85396,9 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85371
85396
|
index = siblings.indexOf(currNode);
|
|
85372
85397
|
pre = index == 0 ? null : siblings[index - 1];
|
|
85373
85398
|
startPath = pre ? hoeditorFactory.docTree.getNodeLastPath(pre) : currNode.rootPath + '/0';
|
|
85374
|
-
changeEvent = new
|
|
85399
|
+
changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_12__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_11__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, startPath, "");
|
|
85375
85400
|
changeEvent.oldEndPath = hoeditorFactory.docTree.getNodeLastPath(currNode);
|
|
85376
|
-
changeEvent.oldDrawTreeLines = new
|
|
85401
|
+
changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_15__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, changeEvent.oldEndPath);
|
|
85377
85402
|
//siblings.splice(siblings.indexOf(currNode), 1);
|
|
85378
85403
|
result = hoeditorFactory.docTree.deleteNode(currNode, this._operType);
|
|
85379
85404
|
toPath = changeEvent.beforeChangePath;
|
|
@@ -85398,6 +85423,10 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85398
85423
|
_context2.next = 38;
|
|
85399
85424
|
return this.ParentRepaint();
|
|
85400
85425
|
case 38:
|
|
85426
|
+
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)) {
|
|
85427
|
+
hoeditorFactory.undoService.stack.splice(hoeditorFactory.undoService.stack.length - 1, 1);
|
|
85428
|
+
}
|
|
85429
|
+
case 39:
|
|
85401
85430
|
case "end":
|
|
85402
85431
|
return _context2.stop();
|
|
85403
85432
|
}
|
|
@@ -85451,7 +85480,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
85451
85480
|
}
|
|
85452
85481
|
}]);
|
|
85453
85482
|
return NodeDeleteUndoUnit;
|
|
85454
|
-
}(
|
|
85483
|
+
}(_IUndoUnit__WEBPACK_IMPORTED_MODULE_10__/* .UndoInfo */ .e);
|
|
85455
85484
|
|
|
85456
85485
|
/***/ }),
|
|
85457
85486
|
|
|
@@ -195814,7 +195843,7 @@ var map = {
|
|
|
195814
195843
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
195815
195844
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
195816
195845
|
"./poperSelect/PoperMark.vue": 71472,
|
|
195817
|
-
"./poperSelect/PoperSelect.vue":
|
|
195846
|
+
"./poperSelect/PoperSelect.vue": 78773,
|
|
195818
195847
|
"./poperTipText/PoperTipText.vue": 15845,
|
|
195819
195848
|
"./popers/Poper.vue": 57937,
|
|
195820
195849
|
"./popers/Title.vue": 89987,
|
|
@@ -232069,8 +232098,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
232069
232098
|
var es_number_constructor = __webpack_require__(9653);
|
|
232070
232099
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
232071
232100
|
var es_json_stringify = __webpack_require__(38862);
|
|
232072
|
-
;// 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/HoDoc.vue?vue&type=template&id=
|
|
232073
|
-
var
|
|
232101
|
+
;// 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/HoDoc.vue?vue&type=template&id=bc55c54a&
|
|
232102
|
+
var HoDocvue_type_template_id_bc55c54a_render = function render() {
|
|
232074
232103
|
var _vm = this,
|
|
232075
232104
|
_c = _vm._self._c;
|
|
232076
232105
|
return _c('div', {
|
|
@@ -232215,7 +232244,7 @@ var HoDocvue_type_template_id_0fdfe624_render = function render() {
|
|
|
232215
232244
|
}
|
|
232216
232245
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
232217
232246
|
};
|
|
232218
|
-
var
|
|
232247
|
+
var HoDocvue_type_template_id_bc55c54a_staticRenderFns = [];
|
|
232219
232248
|
|
|
232220
232249
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
232221
232250
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -233734,7 +233763,7 @@ var DrawPage = __webpack_require__(72722);
|
|
|
233734
233763
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
233735
233764
|
var plugins_util = __webpack_require__(62783);
|
|
233736
233765
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
233737
|
-
var PoperSelect = __webpack_require__(
|
|
233766
|
+
var PoperSelect = __webpack_require__(78773);
|
|
233738
233767
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
233739
233768
|
var PoperMark = __webpack_require__(71472);
|
|
233740
233769
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -235433,7 +235462,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
235433
235462
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
235434
235463
|
var MarkNode = __webpack_require__(57727);
|
|
235435
235464
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
235436
|
-
/* harmony default export */ var version = ('3.0.
|
|
235465
|
+
/* harmony default export */ var version = ('3.0.51');
|
|
235437
235466
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
235438
235467
|
var PoperTipText = __webpack_require__(15845);
|
|
235439
235468
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -236081,16 +236110,6 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236081
236110
|
};
|
|
236082
236111
|
var startPos = hoEditorFactory.drawTree.selectRange.spStart;
|
|
236083
236112
|
var node = (_hoEditorFactory$docT = hoEditorFactory.docTree.findNodePositionByPath(startPos.path)) === null || _hoEditorFactory$docT === void 0 ? void 0 : _hoEditorFactory$docT.node;
|
|
236084
|
-
// const path = hoEditorFactory.vueController.getCaretPosition();
|
|
236085
|
-
// let node = hoEditorFactory.vueController.findNodebyPath(path)?.node;
|
|
236086
|
-
|
|
236087
|
-
// if (startPos) {
|
|
236088
|
-
// const npNode = hoEditorFactory.docTree.findNodePositionByPath(startPos.path)?.node;
|
|
236089
|
-
// if (npNode instanceof SignNode) {
|
|
236090
|
-
// node = npNode;
|
|
236091
|
-
// }
|
|
236092
|
-
// }
|
|
236093
|
-
|
|
236094
236113
|
// psDesign, // 设计状态
|
|
236095
236114
|
// psEdit, // 编辑状态
|
|
236096
236115
|
// psPreview, // 打印预览
|
|
@@ -236099,13 +236118,12 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236099
236118
|
// psReadOnly, // 预览
|
|
236100
236119
|
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psEdit */.Dh.psEdit) {
|
|
236101
236120
|
_this6.isCreateRightMenuModal = true;
|
|
236102
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
|
|
236103
|
-
|
|
236104
|
-
|
|
236105
|
-
|
|
236106
|
-
|
|
236107
|
-
|
|
236108
|
-
}
|
|
236121
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview && node instanceof SignNode/* SignNode */.N) {
|
|
236122
|
+
_this6.isCreateRightMenuModal = false;
|
|
236123
|
+
_this6.hoEditorProvider.setRightClickNodeValue(node);
|
|
236124
|
+
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
236125
|
+
_this6.$emit('rightClickEventIn', rightPosition);
|
|
236126
|
+
return;
|
|
236109
236127
|
} else {
|
|
236110
236128
|
_this6.isHideComments = hoEditorFactory.isHideComments;
|
|
236111
236129
|
_this6.showCommentsBtn = true;
|
|
@@ -236152,10 +236170,10 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236152
236170
|
});
|
|
236153
236171
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
236154
236172
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
236155
|
-
;// 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/HoDoc.vue?vue&type=style&index=0&id=
|
|
236173
|
+
;// 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/HoDoc.vue?vue&type=style&index=0&id=bc55c54a&prod&lang=scss&
|
|
236156
236174
|
// extracted by mini-css-extract-plugin
|
|
236157
236175
|
|
|
236158
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
236176
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=bc55c54a&prod&lang=scss&
|
|
236159
236177
|
|
|
236160
236178
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
236161
236179
|
|
|
@@ -236168,8 +236186,8 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236168
236186
|
|
|
236169
236187
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
236170
236188
|
components_HoDocvue_type_script_lang_js_,
|
|
236171
|
-
|
|
236172
|
-
|
|
236189
|
+
HoDocvue_type_template_id_bc55c54a_render,
|
|
236190
|
+
HoDocvue_type_template_id_bc55c54a_staticRenderFns,
|
|
236173
236191
|
false,
|
|
236174
236192
|
null,
|
|
236175
236193
|
null,
|
|
@@ -236527,6 +236545,14 @@ var DrawPageTree = /*#__PURE__*/function () {
|
|
|
236527
236545
|
dTop = 0;
|
|
236528
236546
|
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
236529
236547
|
}
|
|
236548
|
+
if (dline.paragraphNode.forceChangeHeader && dline.paragraphNode.drawlines[0] === dline && dTop > 0 && drawArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$) {
|
|
236549
|
+
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
236550
|
+
this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
|
|
236551
|
+
if (dline.paragraphNode.docId != '') {
|
|
236552
|
+
hoEditorFactory.subDocManger.updateSubDocPageIndexByPath(drawArea.pageIndex, dline.paragraphNode.docId);
|
|
236553
|
+
}
|
|
236554
|
+
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
236555
|
+
}
|
|
236530
236556
|
// 判断是否已经满页
|
|
236531
236557
|
if (dline instanceof DrawTable/* DrawTable */.t && restHeight < hoEditorFactory.defaultLineHeight || dline instanceof DrawLine/* DrawLine */.a && restHeight < dline.dHeight && dTop > 0) {
|
|
236532
236558
|
if (dline instanceof DrawLine/* DrawLine */.a && restHeight >= hoEditorFactory.defaultLineHeight) {
|
|
@@ -237725,7 +237751,7 @@ var UserInfo = __webpack_require__(14871);
|
|
|
237725
237751
|
/*
|
|
237726
237752
|
* @Author: your name
|
|
237727
237753
|
* @Date: 2021-06-21 17:47:51
|
|
237728
|
-
* @LastEditTime: 2023-04-
|
|
237754
|
+
* @LastEditTime: 2023-04-17 09:54:15
|
|
237729
237755
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
237730
237756
|
* @Description: In User Settings Edit
|
|
237731
237757
|
* @FilePath: \hoeditor-web\src\editor\runTimeInfo\Option.ts
|
|
@@ -237743,6 +237769,7 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237743
237769
|
(0,esm_defineProperty/* default */.Z)(this, "_downListColor2", "#D2ACB1");
|
|
237744
237770
|
(0,esm_defineProperty/* default */.Z)(this, "_signColor", "#D2ACB1");
|
|
237745
237771
|
(0,esm_defineProperty/* default */.Z)(this, "_labelColor", "#C9CCCD");
|
|
237772
|
+
(0,esm_defineProperty/* default */.Z)(this, "_warnColor", "#E087F4");
|
|
237746
237773
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
237747
237774
|
}
|
|
237748
237775
|
(0,esm_createClass/* default */.Z)(Option, [{
|
|
@@ -237757,6 +237784,7 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237757
237784
|
//下拉列表默认元素颜色
|
|
237758
237785
|
//签名元素颜色
|
|
237759
237786
|
//标签颜色
|
|
237787
|
+
//提醒颜色
|
|
237760
237788
|
function get() {
|
|
237761
237789
|
return this._hoEditorFactoryID;
|
|
237762
237790
|
},
|
|
@@ -237835,9 +237863,17 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237835
237863
|
set: function set(value) {
|
|
237836
237864
|
this._labelColor = value;
|
|
237837
237865
|
}
|
|
237866
|
+
}, {
|
|
237867
|
+
key: "warnColor",
|
|
237868
|
+
get: function get() {
|
|
237869
|
+
return this._warnColor;
|
|
237870
|
+
},
|
|
237871
|
+
set: function set(value) {
|
|
237872
|
+
this._warnColor = value;
|
|
237873
|
+
}
|
|
237838
237874
|
}, {
|
|
237839
237875
|
key: "setReviewLevelColor",
|
|
237840
|
-
value: function setReviewLevelColor(Lev1Color, Lev2Color, Lev3Color, fieldColor, dateTimeColor, downListColor, downListColor2, signColor, labelColor) {
|
|
237876
|
+
value: function setReviewLevelColor(Lev1Color, Lev2Color, Lev3Color, fieldColor, dateTimeColor, downListColor, downListColor2, signColor, labelColor, warnColor) {
|
|
237841
237877
|
Lev1Color && (this._reviewLev1Color = Lev1Color);
|
|
237842
237878
|
Lev2Color && (this._reviewLev2Color = Lev2Color);
|
|
237843
237879
|
Lev3Color && (this._reviewLev3Color = Lev3Color);
|
|
@@ -237847,6 +237883,7 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237847
237883
|
downListColor2 && (this._downListColor2 = downListColor2);
|
|
237848
237884
|
signColor && (this._signColor = signColor);
|
|
237849
237885
|
labelColor && (this._labelColor = labelColor);
|
|
237886
|
+
warnColor && (this._warnColor = warnColor);
|
|
237850
237887
|
}
|
|
237851
237888
|
}, {
|
|
237852
237889
|
key: "getColorByLevel",
|
|
@@ -237869,6 +237906,8 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
237869
237906
|
return this._signColor;
|
|
237870
237907
|
} else if (level === 14) {
|
|
237871
237908
|
return this._labelColor;
|
|
237909
|
+
} else if (level === 15) {
|
|
237910
|
+
return this._warnColor;
|
|
237872
237911
|
} else {
|
|
237873
237912
|
return "transparent";
|
|
237874
237913
|
}
|
|
@@ -246244,6 +246283,22 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246244
246283
|
pageSize: xmlobj.pageSettings.pageSize,
|
|
246245
246284
|
printDirection: Number(xmlobj.pageSettings.printDirection)
|
|
246246
246285
|
});
|
|
246286
|
+
} else {
|
|
246287
|
+
if (list[i][2]) {
|
|
246288
|
+
updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
|
|
246289
|
+
//生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
|
|
246290
|
+
var _strID = hoEditorFactory.gernerateCode.generateID('cb');
|
|
246291
|
+
xmlobj.header[0].beginPath = _strID;
|
|
246292
|
+
xmlobj.header[0].pageIndex = -1;
|
|
246293
|
+
mergeObject.header.push(xmlobj.header[0]);
|
|
246294
|
+
if (Array.isArray(xmlobj.main)) {
|
|
246295
|
+
xmlobj.main[0].forceChangeHeader = 'true';
|
|
246296
|
+
xmlobj.main[0].docId = _strID;
|
|
246297
|
+
} else {
|
|
246298
|
+
Array(xmlobj.main)[0].forceChangeHeader = 'true';
|
|
246299
|
+
Array(xmlobj.main)[0].docId = _strID;
|
|
246300
|
+
}
|
|
246301
|
+
}
|
|
246247
246302
|
}
|
|
246248
246303
|
if (Array.isArray(xmlobj.main)) {
|
|
246249
246304
|
var _mergeObject$main;
|
|
@@ -249512,6 +249567,17 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249512
249567
|
}
|
|
249513
249568
|
}
|
|
249514
249569
|
}
|
|
249570
|
+
}, {
|
|
249571
|
+
key: "cancelSelect",
|
|
249572
|
+
value: function cancelSelect(node) {
|
|
249573
|
+
if (node.controlStyle == "CheckBox" || !node.isSelected) return;
|
|
249574
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
249575
|
+
var nodePathCur = node.getNodePath();
|
|
249576
|
+
node.isSelected = false;
|
|
249577
|
+
var nodeObjectStr = JSON.stringify(node.radioAndCheckBoxInstance);
|
|
249578
|
+
var newDomRangeCur = new DomRange/* DomRange */.a(this._hoEditorFactoryID, nodePathCur, nodePathCur);
|
|
249579
|
+
hoEditorFactory.docController.insertRadioAndCheckBox("update", newDomRangeCur, nodeObjectStr, node.styleIndex);
|
|
249580
|
+
}
|
|
249515
249581
|
}]);
|
|
249516
249582
|
return VueController;
|
|
249517
249583
|
}();
|
|
@@ -253266,7 +253332,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253266
253332
|
console.time('连续打印总用时');
|
|
253267
253333
|
list = [];
|
|
253268
253334
|
xmlInfoes.xmlList.forEach(function (v) {
|
|
253269
|
-
list.push([v.isMerge, v.xml]);
|
|
253335
|
+
list.push([v.isMerge, v.xml, v.isUpdateHeader ? v.isUpdateHeader : false]);
|
|
253270
253336
|
});
|
|
253271
253337
|
positionY = xmlInfoes.positionY;
|
|
253272
253338
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -253487,7 +253553,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253487
253553
|
mergeList = [];
|
|
253488
253554
|
}
|
|
253489
253555
|
continuousid = xmlList[xmlIndex][2];
|
|
253490
|
-
mergeList.push([xmlList[xmlIndex][1], xmlList[xmlIndex][0]]);
|
|
253556
|
+
mergeList.push([xmlList[xmlIndex][1], xmlList[xmlIndex][0], xmlList[xmlIndex][4] === undefined ? false : xmlList[xmlIndex][4]]);
|
|
253491
253557
|
if (xmlList[xmlIndex][3]) {
|
|
253492
253558
|
Promise.all([hoEditorFactory.vueController.openDocsForPrint(mergeList)]).then(function () {
|
|
253493
253559
|
if (hoEditorFactory.loadImageCount === 0) {
|
|
@@ -263054,14 +263120,14 @@ var popper = __webpack_require__(95551);
|
|
|
263054
263120
|
}
|
|
263055
263121
|
},
|
|
263056
263122
|
render: function render() {
|
|
263057
|
-
var _this
|
|
263058
|
-
_this$
|
|
263123
|
+
var _this$hoEditorProvide3,
|
|
263124
|
+
_this$$slots$hoRightS,
|
|
263059
263125
|
_this$hoEditorProvide4,
|
|
263060
263126
|
_this$hoEditorProvide5,
|
|
263061
263127
|
_this$hoEditorProvide6,
|
|
263062
|
-
_this5 = this,
|
|
263063
263128
|
_this$hoEditorProvide7,
|
|
263064
263129
|
_this$hoEditorProvide8,
|
|
263130
|
+
_this5 = this,
|
|
263065
263131
|
_this$hoEditorProvide9,
|
|
263066
263132
|
_this$hoEditorProvide10,
|
|
263067
263133
|
_this$hoEditorProvide11,
|
|
@@ -263082,7 +263148,9 @@ var popper = __webpack_require__(95551);
|
|
|
263082
263148
|
_this$hoEditorProvide26,
|
|
263083
263149
|
_this$hoEditorProvide27,
|
|
263084
263150
|
_this$hoEditorProvide28,
|
|
263085
|
-
_this$hoEditorProvide29
|
|
263151
|
+
_this$hoEditorProvide29,
|
|
263152
|
+
_this$hoEditorProvide30,
|
|
263153
|
+
_this$hoEditorProvide31;
|
|
263086
263154
|
var h = arguments[0];
|
|
263087
263155
|
return h("div", {
|
|
263088
263156
|
"directives": [{
|
|
@@ -263091,7 +263159,7 @@ var popper = __webpack_require__(95551);
|
|
|
263091
263159
|
}],
|
|
263092
263160
|
"ref": "mouseRightMenuPopup",
|
|
263093
263161
|
"class": "mouse-right-menu-popup animation-in"
|
|
263094
|
-
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && h("ul", {
|
|
263162
|
+
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$hoEditorProvide3 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide3 === void 0 ? void 0 : _this$hoEditorProvide3.paintStatus) !== 4 && h("ul", {
|
|
263095
263163
|
"class": "mouse-right-menu"
|
|
263096
263164
|
}, [h("li", {
|
|
263097
263165
|
"class": "mouse-menu-item",
|
|
@@ -263115,7 +263183,7 @@ var popper = __webpack_require__(95551);
|
|
|
263115
263183
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
263116
263184
|
})]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
|
|
263117
263185
|
return v;
|
|
263118
|
-
}), h("p", [this.isIncludes === 'toLabel' && h("ul", {
|
|
263186
|
+
}), ((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
|
|
263119
263187
|
"class": "mouse-right-menu"
|
|
263120
263188
|
}, [h("li", {
|
|
263121
263189
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263133,12 +263201,12 @@ var popper = __webpack_require__(95551);
|
|
|
263133
263201
|
"on": {
|
|
263134
263202
|
"click": this.labelToText.bind(this)
|
|
263135
263203
|
}
|
|
263136
|
-
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$
|
|
263204
|
+
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.paintStatus) == 0 && h("li", {
|
|
263137
263205
|
"class": "mouse-menu-item",
|
|
263138
263206
|
"on": {
|
|
263139
263207
|
"click": this.editLabel.bind(this)
|
|
263140
263208
|
}
|
|
263141
|
-
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$
|
|
263209
|
+
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.type) === 'express' && ((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.paintStatus) === 0 && ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.paintStatus) === 0 && h("ul", {
|
|
263142
263210
|
"class": "mouse-right-menu"
|
|
263143
263211
|
}, [h("li", {
|
|
263144
263212
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263149,7 +263217,7 @@ var popper = __webpack_require__(95551);
|
|
|
263149
263217
|
return _this5.toUpdateNodes('express', event);
|
|
263150
263218
|
}
|
|
263151
263219
|
}
|
|
263152
|
-
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$
|
|
263220
|
+
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.type) === 'RadioBox' || ((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.type) === 'CheckBox') && ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.paintStatus) === 0 && h("ul", {
|
|
263153
263221
|
"class": "mouse-right-menu"
|
|
263154
263222
|
}, [h("li", {
|
|
263155
263223
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263161,7 +263229,7 @@ var popper = __webpack_require__(95551);
|
|
|
263161
263229
|
return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
|
|
263162
263230
|
}
|
|
263163
263231
|
}
|
|
263164
|
-
}, [((_this$
|
|
263232
|
+
}, [((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), ((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.type) === 'date' && ((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.paintStatus) === 0 && h("ul", {
|
|
263165
263233
|
"class": "mouse-right-menu"
|
|
263166
263234
|
}, [h("li", {
|
|
263167
263235
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263172,7 +263240,7 @@ var popper = __webpack_require__(95551);
|
|
|
263172
263240
|
return _this5.toUpdateNodes('date', event);
|
|
263173
263241
|
}
|
|
263174
263242
|
}
|
|
263175
|
-
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$
|
|
263243
|
+
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.type) === 'select' && ((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.paintStatus) === 0 && h("ul", {
|
|
263176
263244
|
"class": "mouse-right-menu"
|
|
263177
263245
|
}, [h("li", {
|
|
263178
263246
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263183,7 +263251,7 @@ var popper = __webpack_require__(95551);
|
|
|
263183
263251
|
return _this5.toUpdateNodes('select', event);
|
|
263184
263252
|
}
|
|
263185
263253
|
}
|
|
263186
|
-
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$
|
|
263254
|
+
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.type) === 'barcode' && ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.paintStatus) === 0 && h("ul", {
|
|
263187
263255
|
"class": "mouse-right-menu"
|
|
263188
263256
|
}, [h("li", {
|
|
263189
263257
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263194,7 +263262,7 @@ var popper = __webpack_require__(95551);
|
|
|
263194
263262
|
return _this5.toUpdateNodes('barcode', event);
|
|
263195
263263
|
}
|
|
263196
263264
|
}
|
|
263197
|
-
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$
|
|
263265
|
+
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.type) === 'qrcode' && ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.paintStatus) === 0 && h("ul", {
|
|
263198
263266
|
"class": "mouse-right-menu"
|
|
263199
263267
|
}, [h("li", {
|
|
263200
263268
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263205,7 +263273,7 @@ var popper = __webpack_require__(95551);
|
|
|
263205
263273
|
return _this5.toUpdateNodes('qrcode', event);
|
|
263206
263274
|
}
|
|
263207
263275
|
}
|
|
263208
|
-
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$
|
|
263276
|
+
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.type) === 'edit-image' && ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.paintStatus) === 0 && h("ul", {
|
|
263209
263277
|
"class": "mouse-right-menu"
|
|
263210
263278
|
}, [h("li", {
|
|
263211
263279
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263216,7 +263284,7 @@ var popper = __webpack_require__(95551);
|
|
|
263216
263284
|
return _this5.toUpdateNodes('edit-image', event);
|
|
263217
263285
|
}
|
|
263218
263286
|
}
|
|
263219
|
-
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$
|
|
263287
|
+
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.type) === 'text' && ((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.paintStatus) === 0 && h("ul", {
|
|
263220
263288
|
"class": "mouse-right-menu"
|
|
263221
263289
|
}, [h("li", {
|
|
263222
263290
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263227,7 +263295,7 @@ var popper = __webpack_require__(95551);
|
|
|
263227
263295
|
return _this5.toUpdateNodes('text', event);
|
|
263228
263296
|
}
|
|
263229
263297
|
}
|
|
263230
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$
|
|
263298
|
+
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.paintStatus) === 0 || ((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
|
|
263231
263299
|
"class": "mouse-right-menu"
|
|
263232
263300
|
}, [h("li", {
|
|
263233
263301
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263266,7 +263334,7 @@ var popper = __webpack_require__(95551);
|
|
|
263266
263334
|
return _this5.toUpdateNodes('table-formula', event);
|
|
263267
263335
|
}
|
|
263268
263336
|
}
|
|
263269
|
-
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$
|
|
263337
|
+
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
263270
263338
|
"class": "mouse-right-menu"
|
|
263271
263339
|
}, [h("li", {
|
|
263272
263340
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263322,7 +263390,7 @@ var popper = __webpack_require__(95551);
|
|
|
263322
263390
|
"type": "delete"
|
|
263323
263391
|
},
|
|
263324
263392
|
"style": "font-size: 20px;"
|
|
263325
|
-
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$
|
|
263393
|
+
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide29 === void 0 ? void 0 : _this$hoEditorProvide29.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
263326
263394
|
"class": "mouse-right-menu"
|
|
263327
263395
|
}, [h("li", {
|
|
263328
263396
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263336,7 +263404,7 @@ var popper = __webpack_require__(95551);
|
|
|
263336
263404
|
table: this.defaultTable,
|
|
263337
263405
|
tableProperty: this.hoEditorProvider.rightNode.tableProperty
|
|
263338
263406
|
})
|
|
263339
|
-
})]), ((_this$
|
|
263407
|
+
})]), ((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.canShowComment) && h("ul", {
|
|
263340
263408
|
"class": "mouse-right-menu"
|
|
263341
263409
|
}, [h("li", {
|
|
263342
263410
|
"class": "mouse-menu-item",
|
|
@@ -263345,13 +263413,13 @@ var popper = __webpack_require__(95551);
|
|
|
263345
263413
|
return _this5.hideComments();
|
|
263346
263414
|
}
|
|
263347
263415
|
}
|
|
263348
|
-
}, [(_this$
|
|
263416
|
+
}, [(_this$hoEditorProvide31 = this.hoEditorProvider.rightNode) !== null && _this$hoEditorProvide31 !== void 0 && _this$hoEditorProvide31.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])])]), h("ul", {
|
|
263349
263417
|
"class": "mouse-right-menu"
|
|
263350
263418
|
}, [h("li", {
|
|
263351
263419
|
"class": "mouse-menu-item"
|
|
263352
263420
|
}, ["\u7F16\u8F91\u5668\u5185\u6838\u7248\u672C\uFF1A\xA0\xA0", h("span", {
|
|
263353
263421
|
"style": "font-size: 14px;color: #0a77e3;"
|
|
263354
|
-
}, ["v ", this.versions])])])])
|
|
263422
|
+
}, ["v ", this.versions])])])]);
|
|
263355
263423
|
}
|
|
263356
263424
|
});
|
|
263357
263425
|
;// CONCATENATED MODULE: ./src/components/toolbar/HoRightMenu.vue?vue&type=script&lang=js&
|