hoeditor-web 3.0.49 → 3.0.50
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 +83 -51
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -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);
|
|
@@ -232069,8 +232086,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
232069
232086
|
var es_number_constructor = __webpack_require__(9653);
|
|
232070
232087
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
232071
232088
|
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
|
|
232089
|
+
;// 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&
|
|
232090
|
+
var HoDocvue_type_template_id_bc55c54a_render = function render() {
|
|
232074
232091
|
var _vm = this,
|
|
232075
232092
|
_c = _vm._self._c;
|
|
232076
232093
|
return _c('div', {
|
|
@@ -232215,7 +232232,7 @@ var HoDocvue_type_template_id_0fdfe624_render = function render() {
|
|
|
232215
232232
|
}
|
|
232216
232233
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
232217
232234
|
};
|
|
232218
|
-
var
|
|
232235
|
+
var HoDocvue_type_template_id_bc55c54a_staticRenderFns = [];
|
|
232219
232236
|
|
|
232220
232237
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
232221
232238
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -235433,7 +235450,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
235433
235450
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
235434
235451
|
var MarkNode = __webpack_require__(57727);
|
|
235435
235452
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
235436
|
-
/* harmony default export */ var version = ('3.0.
|
|
235453
|
+
/* harmony default export */ var version = ('3.0.50');
|
|
235437
235454
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
235438
235455
|
var PoperTipText = __webpack_require__(15845);
|
|
235439
235456
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -236081,16 +236098,6 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236081
236098
|
};
|
|
236082
236099
|
var startPos = hoEditorFactory.drawTree.selectRange.spStart;
|
|
236083
236100
|
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
236101
|
// psDesign, // 设计状态
|
|
236095
236102
|
// psEdit, // 编辑状态
|
|
236096
236103
|
// psPreview, // 打印预览
|
|
@@ -236099,13 +236106,12 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236099
236106
|
// psReadOnly, // 预览
|
|
236100
236107
|
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psEdit */.Dh.psEdit) {
|
|
236101
236108
|
_this6.isCreateRightMenuModal = true;
|
|
236102
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
|
|
236103
|
-
|
|
236104
|
-
|
|
236105
|
-
|
|
236106
|
-
|
|
236107
|
-
|
|
236108
|
-
}
|
|
236109
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview && node instanceof SignNode/* SignNode */.N) {
|
|
236110
|
+
_this6.isCreateRightMenuModal = false;
|
|
236111
|
+
_this6.hoEditorProvider.setRightClickNodeValue(node);
|
|
236112
|
+
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
236113
|
+
_this6.$emit('rightClickEventIn', rightPosition);
|
|
236114
|
+
return;
|
|
236109
236115
|
} else {
|
|
236110
236116
|
_this6.isHideComments = hoEditorFactory.isHideComments;
|
|
236111
236117
|
_this6.showCommentsBtn = true;
|
|
@@ -236152,10 +236158,10 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236152
236158
|
});
|
|
236153
236159
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
236154
236160
|
/* 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=
|
|
236161
|
+
;// 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
236162
|
// extracted by mini-css-extract-plugin
|
|
236157
236163
|
|
|
236158
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
236164
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=bc55c54a&prod&lang=scss&
|
|
236159
236165
|
|
|
236160
236166
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
236161
236167
|
|
|
@@ -236168,8 +236174,8 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
236168
236174
|
|
|
236169
236175
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
236170
236176
|
components_HoDocvue_type_script_lang_js_,
|
|
236171
|
-
|
|
236172
|
-
|
|
236177
|
+
HoDocvue_type_template_id_bc55c54a_render,
|
|
236178
|
+
HoDocvue_type_template_id_bc55c54a_staticRenderFns,
|
|
236173
236179
|
false,
|
|
236174
236180
|
null,
|
|
236175
236181
|
null,
|
|
@@ -236527,6 +236533,14 @@ var DrawPageTree = /*#__PURE__*/function () {
|
|
|
236527
236533
|
dTop = 0;
|
|
236528
236534
|
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
236529
236535
|
}
|
|
236536
|
+
if (dline.paragraphNode.forceChangeHeader && dline.paragraphNode.drawlines[0] === dline && dTop > 0 && drawArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$) {
|
|
236537
|
+
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
236538
|
+
this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
|
|
236539
|
+
if (dline.paragraphNode.docId != '') {
|
|
236540
|
+
hoEditorFactory.subDocManger.updateSubDocPageIndexByPath(drawArea.pageIndex, dline.paragraphNode.docId);
|
|
236541
|
+
}
|
|
236542
|
+
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
236543
|
+
}
|
|
236530
236544
|
// 判断是否已经满页
|
|
236531
236545
|
if (dline instanceof DrawTable/* DrawTable */.t && restHeight < hoEditorFactory.defaultLineHeight || dline instanceof DrawLine/* DrawLine */.a && restHeight < dline.dHeight && dTop > 0) {
|
|
236532
236546
|
if (dline instanceof DrawLine/* DrawLine */.a && restHeight >= hoEditorFactory.defaultLineHeight) {
|
|
@@ -246244,6 +246258,22 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246244
246258
|
pageSize: xmlobj.pageSettings.pageSize,
|
|
246245
246259
|
printDirection: Number(xmlobj.pageSettings.printDirection)
|
|
246246
246260
|
});
|
|
246261
|
+
} else {
|
|
246262
|
+
if (list[i][2]) {
|
|
246263
|
+
updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
|
|
246264
|
+
//生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
|
|
246265
|
+
var _strID = hoEditorFactory.gernerateCode.generateID('cb');
|
|
246266
|
+
xmlobj.header[0].beginPath = _strID;
|
|
246267
|
+
xmlobj.header[0].pageIndex = -1;
|
|
246268
|
+
mergeObject.header.push(xmlobj.header[0]);
|
|
246269
|
+
if (Array.isArray(xmlobj.main)) {
|
|
246270
|
+
xmlobj.main[0].forceChangeHeader = 'true';
|
|
246271
|
+
xmlobj.main[0].docId = _strID;
|
|
246272
|
+
} else {
|
|
246273
|
+
Array(xmlobj.main)[0].forceChangeHeader = 'true';
|
|
246274
|
+
Array(xmlobj.main)[0].docId = _strID;
|
|
246275
|
+
}
|
|
246276
|
+
}
|
|
246247
246277
|
}
|
|
246248
246278
|
if (Array.isArray(xmlobj.main)) {
|
|
246249
246279
|
var _mergeObject$main;
|
|
@@ -253266,7 +253296,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
253266
253296
|
console.time('连续打印总用时');
|
|
253267
253297
|
list = [];
|
|
253268
253298
|
xmlInfoes.xmlList.forEach(function (v) {
|
|
253269
|
-
list.push([v.isMerge, v.xml]);
|
|
253299
|
+
list.push([v.isMerge, v.xml, v.isUpdateHeader]);
|
|
253270
253300
|
});
|
|
253271
253301
|
positionY = xmlInfoes.positionY;
|
|
253272
253302
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -263054,14 +263084,14 @@ var popper = __webpack_require__(95551);
|
|
|
263054
263084
|
}
|
|
263055
263085
|
},
|
|
263056
263086
|
render: function render() {
|
|
263057
|
-
var _this
|
|
263058
|
-
_this$
|
|
263087
|
+
var _this$hoEditorProvide3,
|
|
263088
|
+
_this$$slots$hoRightS,
|
|
263059
263089
|
_this$hoEditorProvide4,
|
|
263060
263090
|
_this$hoEditorProvide5,
|
|
263061
263091
|
_this$hoEditorProvide6,
|
|
263062
|
-
_this5 = this,
|
|
263063
263092
|
_this$hoEditorProvide7,
|
|
263064
263093
|
_this$hoEditorProvide8,
|
|
263094
|
+
_this5 = this,
|
|
263065
263095
|
_this$hoEditorProvide9,
|
|
263066
263096
|
_this$hoEditorProvide10,
|
|
263067
263097
|
_this$hoEditorProvide11,
|
|
@@ -263082,7 +263112,9 @@ var popper = __webpack_require__(95551);
|
|
|
263082
263112
|
_this$hoEditorProvide26,
|
|
263083
263113
|
_this$hoEditorProvide27,
|
|
263084
263114
|
_this$hoEditorProvide28,
|
|
263085
|
-
_this$hoEditorProvide29
|
|
263115
|
+
_this$hoEditorProvide29,
|
|
263116
|
+
_this$hoEditorProvide30,
|
|
263117
|
+
_this$hoEditorProvide31;
|
|
263086
263118
|
var h = arguments[0];
|
|
263087
263119
|
return h("div", {
|
|
263088
263120
|
"directives": [{
|
|
@@ -263091,7 +263123,7 @@ var popper = __webpack_require__(95551);
|
|
|
263091
263123
|
}],
|
|
263092
263124
|
"ref": "mouseRightMenuPopup",
|
|
263093
263125
|
"class": "mouse-right-menu-popup animation-in"
|
|
263094
|
-
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && h("ul", {
|
|
263126
|
+
}, [(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
263127
|
"class": "mouse-right-menu"
|
|
263096
263128
|
}, [h("li", {
|
|
263097
263129
|
"class": "mouse-menu-item",
|
|
@@ -263115,7 +263147,7 @@ var popper = __webpack_require__(95551);
|
|
|
263115
263147
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
263116
263148
|
})]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
|
|
263117
263149
|
return v;
|
|
263118
|
-
}), h("p", [this.isIncludes === 'toLabel' && h("ul", {
|
|
263150
|
+
}), ((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
|
|
263119
263151
|
"class": "mouse-right-menu"
|
|
263120
263152
|
}, [h("li", {
|
|
263121
263153
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263133,12 +263165,12 @@ var popper = __webpack_require__(95551);
|
|
|
263133
263165
|
"on": {
|
|
263134
263166
|
"click": this.labelToText.bind(this)
|
|
263135
263167
|
}
|
|
263136
|
-
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$
|
|
263168
|
+
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.paintStatus) == 0 && h("li", {
|
|
263137
263169
|
"class": "mouse-menu-item",
|
|
263138
263170
|
"on": {
|
|
263139
263171
|
"click": this.editLabel.bind(this)
|
|
263140
263172
|
}
|
|
263141
|
-
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$
|
|
263173
|
+
}, ["\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
263174
|
"class": "mouse-right-menu"
|
|
263143
263175
|
}, [h("li", {
|
|
263144
263176
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263149,7 +263181,7 @@ var popper = __webpack_require__(95551);
|
|
|
263149
263181
|
return _this5.toUpdateNodes('express', event);
|
|
263150
263182
|
}
|
|
263151
263183
|
}
|
|
263152
|
-
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$
|
|
263184
|
+
}, ["\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
263185
|
"class": "mouse-right-menu"
|
|
263154
263186
|
}, [h("li", {
|
|
263155
263187
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263161,7 +263193,7 @@ var popper = __webpack_require__(95551);
|
|
|
263161
263193
|
return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
|
|
263162
263194
|
}
|
|
263163
263195
|
}
|
|
263164
|
-
}, [((_this$
|
|
263196
|
+
}, [((_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
263197
|
"class": "mouse-right-menu"
|
|
263166
263198
|
}, [h("li", {
|
|
263167
263199
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263172,7 +263204,7 @@ var popper = __webpack_require__(95551);
|
|
|
263172
263204
|
return _this5.toUpdateNodes('date', event);
|
|
263173
263205
|
}
|
|
263174
263206
|
}
|
|
263175
|
-
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$
|
|
263207
|
+
}, ["\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
263208
|
"class": "mouse-right-menu"
|
|
263177
263209
|
}, [h("li", {
|
|
263178
263210
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263183,7 +263215,7 @@ var popper = __webpack_require__(95551);
|
|
|
263183
263215
|
return _this5.toUpdateNodes('select', event);
|
|
263184
263216
|
}
|
|
263185
263217
|
}
|
|
263186
|
-
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$
|
|
263218
|
+
}, ["\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
263219
|
"class": "mouse-right-menu"
|
|
263188
263220
|
}, [h("li", {
|
|
263189
263221
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263194,7 +263226,7 @@ var popper = __webpack_require__(95551);
|
|
|
263194
263226
|
return _this5.toUpdateNodes('barcode', event);
|
|
263195
263227
|
}
|
|
263196
263228
|
}
|
|
263197
|
-
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$
|
|
263229
|
+
}, ["\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
263230
|
"class": "mouse-right-menu"
|
|
263199
263231
|
}, [h("li", {
|
|
263200
263232
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263205,7 +263237,7 @@ var popper = __webpack_require__(95551);
|
|
|
263205
263237
|
return _this5.toUpdateNodes('qrcode', event);
|
|
263206
263238
|
}
|
|
263207
263239
|
}
|
|
263208
|
-
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$
|
|
263240
|
+
}, ["\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
263241
|
"class": "mouse-right-menu"
|
|
263210
263242
|
}, [h("li", {
|
|
263211
263243
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263216,7 +263248,7 @@ var popper = __webpack_require__(95551);
|
|
|
263216
263248
|
return _this5.toUpdateNodes('edit-image', event);
|
|
263217
263249
|
}
|
|
263218
263250
|
}
|
|
263219
|
-
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$
|
|
263251
|
+
}, ["\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
263252
|
"class": "mouse-right-menu"
|
|
263221
263253
|
}, [h("li", {
|
|
263222
263254
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263227,7 +263259,7 @@ var popper = __webpack_require__(95551);
|
|
|
263227
263259
|
return _this5.toUpdateNodes('text', event);
|
|
263228
263260
|
}
|
|
263229
263261
|
}
|
|
263230
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$
|
|
263262
|
+
}, ["\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
263263
|
"class": "mouse-right-menu"
|
|
263232
263264
|
}, [h("li", {
|
|
263233
263265
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263266,7 +263298,7 @@ var popper = __webpack_require__(95551);
|
|
|
263266
263298
|
return _this5.toUpdateNodes('table-formula', event);
|
|
263267
263299
|
}
|
|
263268
263300
|
}
|
|
263269
|
-
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$
|
|
263301
|
+
}, [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
263302
|
"class": "mouse-right-menu"
|
|
263271
263303
|
}, [h("li", {
|
|
263272
263304
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263322,7 +263354,7 @@ var popper = __webpack_require__(95551);
|
|
|
263322
263354
|
"type": "delete"
|
|
263323
263355
|
},
|
|
263324
263356
|
"style": "font-size: 20px;"
|
|
263325
|
-
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$
|
|
263357
|
+
}), 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
263358
|
"class": "mouse-right-menu"
|
|
263327
263359
|
}, [h("li", {
|
|
263328
263360
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -263336,7 +263368,7 @@ var popper = __webpack_require__(95551);
|
|
|
263336
263368
|
table: this.defaultTable,
|
|
263337
263369
|
tableProperty: this.hoEditorProvider.rightNode.tableProperty
|
|
263338
263370
|
})
|
|
263339
|
-
})]), ((_this$
|
|
263371
|
+
})]), ((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.canShowComment) && h("ul", {
|
|
263340
263372
|
"class": "mouse-right-menu"
|
|
263341
263373
|
}, [h("li", {
|
|
263342
263374
|
"class": "mouse-menu-item",
|
|
@@ -263345,13 +263377,13 @@ var popper = __webpack_require__(95551);
|
|
|
263345
263377
|
return _this5.hideComments();
|
|
263346
263378
|
}
|
|
263347
263379
|
}
|
|
263348
|
-
}, [(_this$
|
|
263380
|
+
}, [(_this$hoEditorProvide31 = this.hoEditorProvider.rightNode) !== null && _this$hoEditorProvide31 !== void 0 && _this$hoEditorProvide31.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])])]), h("ul", {
|
|
263349
263381
|
"class": "mouse-right-menu"
|
|
263350
263382
|
}, [h("li", {
|
|
263351
263383
|
"class": "mouse-menu-item"
|
|
263352
263384
|
}, ["\u7F16\u8F91\u5668\u5185\u6838\u7248\u672C\uFF1A\xA0\xA0", h("span", {
|
|
263353
263385
|
"style": "font-size: 14px;color: #0a77e3;"
|
|
263354
|
-
}, ["v ", this.versions])])])])
|
|
263386
|
+
}, ["v ", this.versions])])])]);
|
|
263355
263387
|
}
|
|
263356
263388
|
});
|
|
263357
263389
|
;// CONCATENATED MODULE: ./src/components/toolbar/HoRightMenu.vue?vue&type=script&lang=js&
|