hoeditor-web 3.1.84 → 3.1.85
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 +164 -167
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -72188,7 +72188,8 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
72188
72188
|
}, {
|
|
72189
72189
|
key: "drawUnderline",
|
|
72190
72190
|
value: function drawUnderline() {
|
|
72191
|
-
|
|
72191
|
+
//const h = 0.5;
|
|
72192
|
+
var h = 1.6;
|
|
72192
72193
|
if (this._nstyle.underline) {
|
|
72193
72194
|
if (!this._ul) this._ul = new createjs.Shape();
|
|
72194
72195
|
this._ul.graphics.clear();
|
|
@@ -204035,8 +204036,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
204035
204036
|
var es_number_constructor = __webpack_require__(9653);
|
|
204036
204037
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
204037
204038
|
var es_json_stringify = __webpack_require__(38862);
|
|
204038
|
-
;// 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=
|
|
204039
|
-
var
|
|
204039
|
+
;// 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=28aecebc&
|
|
204040
|
+
var HoDocvue_type_template_id_28aecebc_render = function render() {
|
|
204040
204041
|
var _vm = this,
|
|
204041
204042
|
_c = _vm._self._c;
|
|
204042
204043
|
return _c('div', {
|
|
@@ -204237,7 +204238,7 @@ var HoDocvue_type_template_id_436915e3_render = function render() {
|
|
|
204237
204238
|
}
|
|
204238
204239
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
204239
204240
|
};
|
|
204240
|
-
var
|
|
204241
|
+
var HoDocvue_type_template_id_28aecebc_staticRenderFns = [];
|
|
204241
204242
|
|
|
204242
204243
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
204243
204244
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -207228,7 +207229,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
207228
207229
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207229
207230
|
var ParagraphNode = __webpack_require__(67945);
|
|
207230
207231
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207231
|
-
/* harmony default export */ var version = ('3.1.
|
|
207232
|
+
/* harmony default export */ var version = ('3.1.85');
|
|
207232
207233
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
207233
207234
|
var PoperTipText = __webpack_require__(50987);
|
|
207234
207235
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -208132,6 +208133,26 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208132
208133
|
// psPrint, // 打印
|
|
208133
208134
|
// psReview, // 审阅
|
|
208134
208135
|
// psReadOnly, // 预览
|
|
208136
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState */.Dh.psReadOnly) {
|
|
208137
|
+
if (node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
208138
|
+
var parentNode = node.parentNode;
|
|
208139
|
+
var customProperty = (parentNode === null || parentNode === void 0 ? void 0 : parentNode.customProperty) || {};
|
|
208140
|
+
if (Number(parentNode.inputFieldType) === 0 && (customProperty.additionsEditor == 'true' || customProperty.additionsEditor == true)) {
|
|
208141
|
+
_this8.hoEditorProvider.setRightClickNodeValue(node);
|
|
208142
|
+
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
208143
|
+
_this8.$emit('rightClickEventIn', rightPosition);
|
|
208144
|
+
return;
|
|
208145
|
+
}
|
|
208146
|
+
} else if (node instanceof SignNode/* SignNode */.N) {
|
|
208147
|
+
var otherProperties = (node === null || node === void 0 ? void 0 : node.otherProperties) || {};
|
|
208148
|
+
if (otherProperties.additionsEditor == 'true' || otherProperties.additionsEditor == true) {
|
|
208149
|
+
_this8.hoEditorProvider.setRightClickNodeValue(node);
|
|
208150
|
+
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
208151
|
+
_this8.$emit('rightClickEventIn', rightPosition);
|
|
208152
|
+
return;
|
|
208153
|
+
}
|
|
208154
|
+
}
|
|
208155
|
+
}
|
|
208135
208156
|
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState */.Dh.psDesign && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState */.Dh.psEdit) {
|
|
208136
208157
|
_this8.isCreateRightMenuModal = true;
|
|
208137
208158
|
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState */.Dh.psReview && node instanceof SignNode/* SignNode */.N) {
|
|
@@ -208205,10 +208226,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208205
208226
|
});
|
|
208206
208227
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
208207
208228
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
208208
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
208229
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=28aecebc&prod&lang=less&
|
|
208209
208230
|
// extracted by mini-css-extract-plugin
|
|
208210
208231
|
|
|
208211
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
208232
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=28aecebc&prod&lang=less&
|
|
208212
208233
|
|
|
208213
208234
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
208214
208235
|
|
|
@@ -208221,8 +208242,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
208221
208242
|
|
|
208222
208243
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
208223
208244
|
components_HoDocvue_type_script_lang_js_,
|
|
208224
|
-
|
|
208225
|
-
|
|
208245
|
+
HoDocvue_type_template_id_28aecebc_render,
|
|
208246
|
+
HoDocvue_type_template_id_28aecebc_staticRenderFns,
|
|
208226
208247
|
false,
|
|
208227
208248
|
null,
|
|
208228
208249
|
null,
|
|
@@ -216947,8 +216968,8 @@ var VueController = /*#__PURE__*/function () {
|
|
|
216947
216968
|
var paintMask = function paintMask(index, height, start) {
|
|
216948
216969
|
var drawPage = hoEditorFactory.drawTree.drawPages[index];
|
|
216949
216970
|
var selectContainer = drawPage.selectContainer;
|
|
216950
|
-
for (var k =
|
|
216951
|
-
if (selectContainer.children[k].name && selectContainer.children[k].name.indexOf('mask') >= 0) {
|
|
216971
|
+
for (var k = selectContainer.children.length - 1; k >= 0; k--) {
|
|
216972
|
+
if (selectContainer.children[k].name && selectContainer.children[k].name.indexOf('mask') >= 0 && !start) {
|
|
216952
216973
|
selectContainer.children.splice(k, 1);
|
|
216953
216974
|
}
|
|
216954
216975
|
}
|
|
@@ -216993,6 +217014,10 @@ var VueController = /*#__PURE__*/function () {
|
|
|
216993
217014
|
var stagePt1 = pline.localToGlobal(pDrawNode.x, pDrawNode.y);
|
|
216994
217015
|
var localPt1 = curArea.globalToLocal(stagePt1.x, stagePt1.y);
|
|
216995
217016
|
var start = localPt1.y;
|
|
217017
|
+
for (var h = 0; h < pageIndex; h++) {
|
|
217018
|
+
paintMask(h, pageHeight);
|
|
217019
|
+
}
|
|
217020
|
+
paintMask(pageIndex, localPt1.y + actualHeight - hoEditorFactory.signHeight);
|
|
216996
217021
|
if (pageIndex === curPageIndex) {
|
|
216997
217022
|
paintMask(pageIndex, localPt.y + actualHeight - hoEditorFactory.signHeight, start);
|
|
216998
217023
|
} else if (pageIndex + 1 <= curPageIndex) {
|
|
@@ -217026,7 +217051,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
217026
217051
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
217027
217052
|
for (var i = 0; i < nodes.length; i++) {
|
|
217028
217053
|
var anode = nodes[i];
|
|
217029
|
-
if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "") {
|
|
217054
|
+
if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "" && anode.attribute === 1) {
|
|
217030
217055
|
var path2 = anode.getNodePath();
|
|
217031
217056
|
var result = NodePosition/* NodePosition */.F.treePathCompare(path1, path2);
|
|
217032
217057
|
if (result > 0) {
|
|
@@ -222913,7 +222938,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222913
222938
|
var radioAndCheckBoxs = hoEditorFactory.docTree.radioAndCheckBoxsMap;
|
|
222914
222939
|
var names = [];
|
|
222915
222940
|
var elements = [];
|
|
222916
|
-
var result =
|
|
222941
|
+
var result = [];
|
|
222917
222942
|
radioAndCheckBoxs.forEach(function (value) {
|
|
222918
222943
|
if (value.groupHasOptions && !value.isSelected && value.groupName !== "") {
|
|
222919
222944
|
var isOk = false;
|
|
@@ -222956,9 +222981,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222956
222981
|
var groupNames = names.filter(function (item, index, array) {
|
|
222957
222982
|
return array.indexOf(item) === index;
|
|
222958
222983
|
});
|
|
222959
|
-
|
|
222960
|
-
message
|
|
222961
|
-
result =
|
|
222984
|
+
// const tip = groupNames.join(",") + "未勾选";
|
|
222985
|
+
// message.warn(tip);
|
|
222986
|
+
result = groupNames;
|
|
222962
222987
|
}
|
|
222963
222988
|
hoEditorFactory.drawTree.selectRange.clearAllCustomSelectShape();
|
|
222964
222989
|
if (elements.length > 0) {
|
|
@@ -244188,9 +244213,9 @@ var popper = __webpack_require__(95551);
|
|
|
244188
244213
|
ftScoreMapping: '分值映射公式',
|
|
244189
244214
|
bodySurfaceArea: '体表面积公式',
|
|
244190
244215
|
ftCalcDays: '计算住院天数公式',
|
|
244191
|
-
ftCalcTime:
|
|
244192
|
-
idealWeight:
|
|
244193
|
-
iss:
|
|
244216
|
+
ftCalcTime: '时间计算公式',
|
|
244217
|
+
idealWeight: '理想体重公式',
|
|
244218
|
+
iss: '损伤严重程度评分(ISS)'
|
|
244194
244219
|
},
|
|
244195
244220
|
isPasted: false,
|
|
244196
244221
|
isWebview: false,
|
|
@@ -244221,18 +244246,18 @@ var popper = __webpack_require__(95551);
|
|
|
244221
244246
|
});
|
|
244222
244247
|
},
|
|
244223
244248
|
mounted: function mounted() {
|
|
244224
|
-
var
|
|
244225
|
-
this.isIncludes =
|
|
244249
|
+
var rightNode = this.hoEditorProvider.rightNode;
|
|
244250
|
+
this.isIncludes = rightNode === null || rightNode === void 0 ? void 0 : rightNode.labelNode().isIncludes;
|
|
244226
244251
|
// this.patientID = this.vueController?.getDocProperty().patientID;
|
|
244227
|
-
this.isDeisgn =
|
|
244228
|
-
this.forbidPaste =
|
|
244229
|
-
if ((
|
|
244252
|
+
this.isDeisgn = rightNode.paintStatus;
|
|
244253
|
+
this.forbidPaste = rightNode.forbidPaste;
|
|
244254
|
+
if ((rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) !== 0 && this.forbidPaste) {
|
|
244230
244255
|
this.forbidPaste = true;
|
|
244231
244256
|
} else {
|
|
244232
244257
|
this.forbidPaste = false;
|
|
244233
244258
|
}
|
|
244234
244259
|
var virtualElement = {
|
|
244235
|
-
getBoundingClientRect: this.generateGetBoundingClientRect(
|
|
244260
|
+
getBoundingClientRect: this.generateGetBoundingClientRect(rightNode === null || rightNode === void 0 ? void 0 : rightNode.rightPosition)
|
|
244236
244261
|
};
|
|
244237
244262
|
var mouseRightMenuPopup = this.$refs.mouseRightMenuPopup;
|
|
244238
244263
|
if (mouseRightMenuPopup) {
|
|
@@ -244247,11 +244272,10 @@ var popper = __webpack_require__(95551);
|
|
|
244247
244272
|
}]
|
|
244248
244273
|
});
|
|
244249
244274
|
}
|
|
244250
|
-
if ((
|
|
244251
|
-
|
|
244252
|
-
this.radioBoxSelected = (_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.node().isSelected;
|
|
244275
|
+
if ((rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'RadioBox' || (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'CheckBox') {
|
|
244276
|
+
this.radioBoxSelected = rightNode === null || rightNode === void 0 ? void 0 : rightNode.node().isSelected;
|
|
244253
244277
|
}
|
|
244254
|
-
this.showTableOnRightMenu =
|
|
244278
|
+
this.showTableOnRightMenu = rightNode === null || rightNode === void 0 ? void 0 : rightNode.isCanUseTableProperty;
|
|
244255
244279
|
if (window && window.showTableOnRightMenu) {
|
|
244256
244280
|
this.showTableOnRightMenu = window && window.showTableOnRightMenu ? true : false;
|
|
244257
244281
|
}
|
|
@@ -244314,12 +244338,13 @@ var popper = __webpack_require__(95551);
|
|
|
244314
244338
|
},
|
|
244315
244339
|
toUpdateNodes: function toUpdateNodes(type, event) {
|
|
244316
244340
|
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
244341
|
+
var rightNode = this.hoEditorProvider.rightNode;
|
|
244317
244342
|
if (type === 'table-formula') {
|
|
244318
|
-
this.hoEditorProvider.setControlProperty(type, 'update', [this.formularType[
|
|
244343
|
+
this.hoEditorProvider.setControlProperty(type, 'update', [this.formularType[rightNode.tableFormulaType], rightNode.tableFormulaType]);
|
|
244319
244344
|
// this.$emit('setModalStatus', []);
|
|
244320
244345
|
} else {
|
|
244321
|
-
this.hoEditorProvider.setControlProperty(type, 'update',
|
|
244322
|
-
// this.$emit('setModalStatus', [type, 'update',
|
|
244346
|
+
this.hoEditorProvider.setControlProperty(type, 'update', rightNode.style);
|
|
244347
|
+
// this.$emit('setModalStatus', [type, 'update', rightNode.style]);
|
|
244323
244348
|
}
|
|
244324
244349
|
|
|
244325
244350
|
this.handleClose();
|
|
@@ -244500,236 +244525,208 @@ var popper = __webpack_require__(95551);
|
|
|
244500
244525
|
}
|
|
244501
244526
|
},
|
|
244502
244527
|
render: function render() {
|
|
244503
|
-
var _this$
|
|
244504
|
-
|
|
244505
|
-
_this$hoEditorProvide9,
|
|
244506
|
-
_this$hoEditorProvide10,
|
|
244507
|
-
_this$hoEditorProvide11,
|
|
244508
|
-
_this$hoEditorProvide12,
|
|
244509
|
-
_this$hoEditorProvide13,
|
|
244510
|
-
_this5 = this,
|
|
244511
|
-
_this$hoEditorProvide14,
|
|
244512
|
-
_this$hoEditorProvide15,
|
|
244513
|
-
_this$hoEditorProvide16,
|
|
244514
|
-
_this$hoEditorProvide17,
|
|
244515
|
-
_this$hoEditorProvide18,
|
|
244516
|
-
_this$hoEditorProvide19,
|
|
244517
|
-
_this$hoEditorProvide20,
|
|
244518
|
-
_this$hoEditorProvide21,
|
|
244519
|
-
_this$hoEditorProvide22,
|
|
244520
|
-
_this$hoEditorProvide23,
|
|
244521
|
-
_this$hoEditorProvide24,
|
|
244522
|
-
_this$hoEditorProvide25,
|
|
244523
|
-
_this$hoEditorProvide26,
|
|
244524
|
-
_this$hoEditorProvide27,
|
|
244525
|
-
_this$hoEditorProvide28,
|
|
244526
|
-
_this$hoEditorProvide29,
|
|
244527
|
-
_this$hoEditorProvide30,
|
|
244528
|
-
_this$hoEditorProvide31,
|
|
244529
|
-
_this$hoEditorProvide32,
|
|
244530
|
-
_this$hoEditorProvide33,
|
|
244531
|
-
_this$hoEditorProvide34,
|
|
244532
|
-
_this$hoEditorProvide35;
|
|
244528
|
+
var _this$$slots$hoRightS,
|
|
244529
|
+
_this5 = this;
|
|
244533
244530
|
var h = arguments[0];
|
|
244531
|
+
var rightNode = this.hoEditorProvider.rightNode;
|
|
244534
244532
|
return h("div", {
|
|
244535
244533
|
"directives": [{
|
|
244536
244534
|
name: "click-outside",
|
|
244537
244535
|
value: this.handleClose.bind(this)
|
|
244538
244536
|
}],
|
|
244539
|
-
"ref":
|
|
244540
|
-
"class":
|
|
244541
|
-
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && (
|
|
244542
|
-
"class":
|
|
244537
|
+
"ref": 'mouseRightMenuPopup',
|
|
244538
|
+
"class": 'mouse-right-menu-popup animation-in'
|
|
244539
|
+
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) !== 4 && !this.forbidPaste && h("ul", {
|
|
244540
|
+
"class": 'mouse-right-menu'
|
|
244543
244541
|
}, [h("li", {
|
|
244544
|
-
"class":
|
|
244545
|
-
"style":
|
|
244542
|
+
"class": 'mouse-menu-item',
|
|
244543
|
+
"style": 'justify-content: space-between;',
|
|
244546
244544
|
"on": {
|
|
244547
244545
|
"click": this.hoCopy.bind(this)
|
|
244548
244546
|
}
|
|
244549
|
-
}, [h("span", ["\u590D\u5236"]), h("span", ["Ctrl + C"])]), h("li", {
|
|
244550
|
-
"class":
|
|
244551
|
-
"style":
|
|
244547
|
+
}, [h("span", ["\u590D\u5236"]), h("span", ["Ctrl + C"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) != 5 && h("li", {
|
|
244548
|
+
"class": 'mouse-menu-item',
|
|
244549
|
+
"style": 'justify-content: space-between;',
|
|
244552
244550
|
"on": {
|
|
244553
244551
|
"click": this.hoCut.bind(this)
|
|
244554
244552
|
}
|
|
244555
|
-
}, [h("span", ["\u526A\u5207"]), h("span", ["Ctrl + X"])]), h("li", {
|
|
244556
|
-
"class":
|
|
244557
|
-
"style":
|
|
244553
|
+
}, [h("span", ["\u526A\u5207"]), h("span", ["Ctrl + X"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) != 5 && h("li", {
|
|
244554
|
+
"class": 'mouse-menu-item',
|
|
244555
|
+
"style": 'justify-content: space-between;',
|
|
244558
244556
|
"on": {
|
|
244559
|
-
"click": this.
|
|
244557
|
+
"click": this.getClipboardContents.bind(this)
|
|
244560
244558
|
}
|
|
244561
244559
|
}, [h("span", ["\u7C98\u8D34"]), h("span", ["Ctrl + V"])]), h("li", {
|
|
244562
|
-
"class":
|
|
244560
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244563
244561
|
})]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
|
|
244564
244562
|
return v;
|
|
244565
|
-
}), (
|
|
244566
|
-
"class":
|
|
244563
|
+
}), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
|
|
244564
|
+
"class": 'mouse-right-menu'
|
|
244567
244565
|
}, [h("li", {
|
|
244568
|
-
"class":
|
|
244566
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244569
244567
|
}), h("li", {
|
|
244570
|
-
"class":
|
|
244568
|
+
"class": 'mouse-menu-item',
|
|
244571
244569
|
"on": {
|
|
244572
244570
|
"click": this.textToLabel.bind(this)
|
|
244573
244571
|
}
|
|
244574
244572
|
}, ["\u6587\u672C\u8F6C\u6807\u7B7E"])]), this.isIncludes === 'toText' && h("ul", {
|
|
244575
|
-
"class":
|
|
244573
|
+
"class": 'mouse-right-menu'
|
|
244576
244574
|
}, [h("li", {
|
|
244577
|
-
"class":
|
|
244575
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244578
244576
|
}), h("li", {
|
|
244579
|
-
"class":
|
|
244577
|
+
"class": 'mouse-menu-item',
|
|
244580
244578
|
"on": {
|
|
244581
244579
|
"click": this.labelToText.bind(this)
|
|
244582
244580
|
}
|
|
244583
|
-
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), (
|
|
244584
|
-
"class":
|
|
244581
|
+
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) == 0 && h("li", {
|
|
244582
|
+
"class": 'mouse-menu-item',
|
|
244585
244583
|
"on": {
|
|
244586
244584
|
"click": this.editLabel.bind(this)
|
|
244587
244585
|
}
|
|
244588
|
-
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), (
|
|
244589
|
-
"class":
|
|
244586
|
+
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'express' && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244587
|
+
"class": 'mouse-right-menu'
|
|
244590
244588
|
}, [h("li", {
|
|
244591
|
-
"class":
|
|
244589
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244592
244590
|
}), h("li", {
|
|
244593
|
-
"class":
|
|
244591
|
+
"class": 'mouse-menu-item',
|
|
244594
244592
|
"on": {
|
|
244595
244593
|
"click": function click() {
|
|
244596
244594
|
return _this5.toUpdateNodes('express', event);
|
|
244597
244595
|
}
|
|
244598
244596
|
}
|
|
244599
|
-
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), ((
|
|
244600
|
-
"class":
|
|
244597
|
+
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), ((rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'RadioBox' || (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'CheckBox') && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244598
|
+
"class": 'mouse-right-menu'
|
|
244601
244599
|
}, [h("li", {
|
|
244602
|
-
"class":
|
|
244600
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244603
244601
|
}), h("li", {
|
|
244604
|
-
"class":
|
|
244602
|
+
"class": 'mouse-menu-item',
|
|
244605
244603
|
"on": {
|
|
244606
244604
|
"click": function click() {
|
|
244607
|
-
|
|
244608
|
-
return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
|
|
244605
|
+
return _this5.toUpdateNodes(rightNode === null || rightNode === void 0 ? void 0 : rightNode.type, event);
|
|
244609
244606
|
}
|
|
244610
244607
|
}
|
|
244611
|
-
}, [(
|
|
244612
|
-
"class":
|
|
244608
|
+
}, [(rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), this.radioBoxSelected && h("ul", {
|
|
244609
|
+
"class": 'mouse-right-menu'
|
|
244613
244610
|
}, [h("li", {
|
|
244614
|
-
"class":
|
|
244611
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244615
244612
|
}), h("li", {
|
|
244616
|
-
"class":
|
|
244613
|
+
"class": 'mouse-menu-item',
|
|
244617
244614
|
"on": {
|
|
244618
244615
|
"click": function click() {
|
|
244619
244616
|
return _this5.cancelRadioSelect();
|
|
244620
244617
|
}
|
|
244621
244618
|
}
|
|
244622
|
-
}, ["\u53D6\u6D88\u9009\u4E2D"])]), (
|
|
244623
|
-
"class":
|
|
244619
|
+
}, ["\u53D6\u6D88\u9009\u4E2D"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'date' && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244620
|
+
"class": 'mouse-right-menu'
|
|
244624
244621
|
}, [h("li", {
|
|
244625
|
-
"class":
|
|
244622
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244626
244623
|
}), h("li", {
|
|
244627
|
-
"class":
|
|
244624
|
+
"class": 'mouse-menu-item',
|
|
244628
244625
|
"on": {
|
|
244629
244626
|
"click": function click() {
|
|
244630
244627
|
return _this5.toUpdateNodes('date', event);
|
|
244631
244628
|
}
|
|
244632
244629
|
}
|
|
244633
|
-
}, ["\u65E5\u671F\u5C5E\u6027"])]), (
|
|
244634
|
-
"class":
|
|
244630
|
+
}, ["\u65E5\u671F\u5C5E\u6027"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'select' && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244631
|
+
"class": 'mouse-right-menu'
|
|
244635
244632
|
}, [h("li", {
|
|
244636
|
-
"class":
|
|
244633
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244637
244634
|
}), h("li", {
|
|
244638
|
-
"class":
|
|
244635
|
+
"class": 'mouse-menu-item',
|
|
244639
244636
|
"on": {
|
|
244640
244637
|
"click": function click() {
|
|
244641
244638
|
return _this5.toUpdateNodes('select', event);
|
|
244642
244639
|
}
|
|
244643
244640
|
}
|
|
244644
|
-
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), (
|
|
244645
|
-
"class":
|
|
244641
|
+
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'barcode' && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244642
|
+
"class": 'mouse-right-menu'
|
|
244646
244643
|
}, [h("li", {
|
|
244647
|
-
"class":
|
|
244644
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244648
244645
|
}), h("li", {
|
|
244649
|
-
"class":
|
|
244646
|
+
"class": 'mouse-menu-item',
|
|
244650
244647
|
"on": {
|
|
244651
244648
|
"click": function click() {
|
|
244652
244649
|
return _this5.toUpdateNodes('barcode', event);
|
|
244653
244650
|
}
|
|
244654
244651
|
}
|
|
244655
|
-
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), (
|
|
244656
|
-
"class":
|
|
244652
|
+
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'qrcode' && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244653
|
+
"class": 'mouse-right-menu'
|
|
244657
244654
|
}, [h("li", {
|
|
244658
|
-
"class":
|
|
244655
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244659
244656
|
}), h("li", {
|
|
244660
|
-
"class":
|
|
244657
|
+
"class": 'mouse-menu-item',
|
|
244661
244658
|
"on": {
|
|
244662
244659
|
"click": function click() {
|
|
244663
244660
|
return _this5.toUpdateNodes('qrcode', event);
|
|
244664
244661
|
}
|
|
244665
244662
|
}
|
|
244666
|
-
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), (
|
|
244667
|
-
"class":
|
|
244663
|
+
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'edit-image' && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244664
|
+
"class": 'mouse-right-menu'
|
|
244668
244665
|
}, [h("li", {
|
|
244669
|
-
"class":
|
|
244666
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244670
244667
|
}), h("li", {
|
|
244671
|
-
"class":
|
|
244668
|
+
"class": 'mouse-menu-item',
|
|
244672
244669
|
"on": {
|
|
244673
244670
|
"click": function click() {
|
|
244674
244671
|
return _this5.toUpdateNodes('edit-image', event);
|
|
244675
244672
|
}
|
|
244676
244673
|
}
|
|
244677
|
-
}, ["\u7F16\u8F91\u56FE\u7247"])]), (
|
|
244678
|
-
"class":
|
|
244674
|
+
}, ["\u7F16\u8F91\u56FE\u7247"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.type) === 'text' && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 && h("ul", {
|
|
244675
|
+
"class": 'mouse-right-menu'
|
|
244679
244676
|
}, [h("li", {
|
|
244680
|
-
"class":
|
|
244677
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244681
244678
|
}), h("li", {
|
|
244682
|
-
"class":
|
|
244679
|
+
"class": 'mouse-menu-item',
|
|
244683
244680
|
"on": {
|
|
244684
244681
|
"click": function click() {
|
|
244685
244682
|
return _this5.toUpdateNodes('text', event);
|
|
244686
244683
|
}
|
|
244687
244684
|
}
|
|
244688
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (
|
|
244689
|
-
"class":
|
|
244685
|
+
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.rightTypeIsTable) && this.defaultTable && ((rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) === 0 || this.showTableOnRightMenu) && h("ul", {
|
|
244686
|
+
"class": 'mouse-right-menu'
|
|
244690
244687
|
}, [h("li", {
|
|
244691
|
-
"class":
|
|
244688
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244692
244689
|
}), h("li", {
|
|
244693
|
-
"class":
|
|
244690
|
+
"class": 'mouse-menu-item',
|
|
244694
244691
|
"on": {
|
|
244695
244692
|
"click": function click() {
|
|
244696
244693
|
return _this5.toUpdateNodes('table', event);
|
|
244697
244694
|
}
|
|
244698
244695
|
}
|
|
244699
244696
|
}, ["\u8868\u683C\u5C5E\u6027"]), h("li", {
|
|
244700
|
-
"class":
|
|
244697
|
+
"class": 'mouse-menu-item',
|
|
244701
244698
|
"on": {
|
|
244702
244699
|
"click": function click() {
|
|
244703
244700
|
return _this5.toUpdateNodes('table-col', event);
|
|
244704
244701
|
}
|
|
244705
244702
|
}
|
|
244706
244703
|
}, ["\u8868\u683C\u5217\u5C5E\u6027"]), h("li", {
|
|
244707
|
-
"class":
|
|
244704
|
+
"class": 'mouse-menu-item',
|
|
244708
244705
|
"on": {
|
|
244709
244706
|
"click": function click() {
|
|
244710
244707
|
return _this5.toUpdateNodes('table-row', event);
|
|
244711
244708
|
}
|
|
244712
244709
|
}
|
|
244713
244710
|
}, ["\u8868\u683C\u884C\u5C5E\u6027"]), h("li", {
|
|
244714
|
-
"class":
|
|
244711
|
+
"class": 'mouse-menu-item',
|
|
244715
244712
|
"on": {
|
|
244716
244713
|
"click": function click() {
|
|
244717
244714
|
return _this5.toUpdateNodes('table-cell', event);
|
|
244718
244715
|
}
|
|
244719
244716
|
}
|
|
244720
|
-
}, ["\u5355\u5143\u683C\u5C5E\u6027"]),
|
|
244721
|
-
"class":
|
|
244717
|
+
}, ["\u5355\u5143\u683C\u5C5E\u6027"]), rightNode.tableFormulaType && h("li", {
|
|
244718
|
+
"class": 'mouse-menu-item',
|
|
244722
244719
|
"on": {
|
|
244723
244720
|
"click": function click() {
|
|
244724
244721
|
return _this5.toUpdateNodes('table-formula', event);
|
|
244725
244722
|
}
|
|
244726
244723
|
}
|
|
244727
|
-
}, [this.formularType[
|
|
244728
|
-
"class":
|
|
244724
|
+
}, [this.formularType[rightNode.tableFormulaType]])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) != 5 && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
244725
|
+
"class": 'mouse-right-menu'
|
|
244729
244726
|
}, [h("li", {
|
|
244730
|
-
"class":
|
|
244727
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244731
244728
|
}), h("li", {
|
|
244732
|
-
"class":
|
|
244729
|
+
"class": 'mouse-menu-item',
|
|
244733
244730
|
"on": {
|
|
244734
244731
|
"click": function click() {
|
|
244735
244732
|
return _this5.addDiagonal(1, event);
|
|
@@ -244737,19 +244734,19 @@ var popper = __webpack_require__(95551);
|
|
|
244737
244734
|
}
|
|
244738
244735
|
}, [h("svg", {
|
|
244739
244736
|
"attrs": {
|
|
244740
|
-
"viewBox":
|
|
244741
|
-
"version":
|
|
244742
|
-
"xmlns":
|
|
244743
|
-
"width":
|
|
244744
|
-
"height":
|
|
244737
|
+
"viewBox": '0 0 1024 1024',
|
|
244738
|
+
"version": '1.1',
|
|
244739
|
+
"xmlns": 'http://www.w3.org/2000/svg',
|
|
244740
|
+
"width": '20',
|
|
244741
|
+
"height": '20'
|
|
244745
244742
|
},
|
|
244746
|
-
"style":
|
|
244743
|
+
"style": 'transform: translateX(-1px);'
|
|
244747
244744
|
}, [h("path", {
|
|
244748
244745
|
"attrs": {
|
|
244749
|
-
"d":
|
|
244746
|
+
"d": 'M160 64l640 0C852.928 64 896 107.072 896 160l0 640c0 52.928-43.072 96-96 96l-640 0C107.072 896 64 852.928 64 800l0-640C64 107.072 107.072 64 160 64zM800 128 173.248 128 832 786.752 832 160C832 142.4 817.6 128 800 128zM160 832l626.752 0L128 173.248 128 800C128 817.6 142.4 832 160 832z'
|
|
244750
244747
|
}
|
|
244751
244748
|
})]), h("span", ["\u5DE6\u5BF9\u89D2\u7EBF"])]), h("li", {
|
|
244752
|
-
"class":
|
|
244749
|
+
"class": 'mouse-menu-item',
|
|
244753
244750
|
"on": {
|
|
244754
244751
|
"click": function click() {
|
|
244755
244752
|
return _this5.addDiagonal(2, event);
|
|
@@ -244757,19 +244754,19 @@ var popper = __webpack_require__(95551);
|
|
|
244757
244754
|
}
|
|
244758
244755
|
}, [h("svg", {
|
|
244759
244756
|
"attrs": {
|
|
244760
|
-
"viewBox":
|
|
244761
|
-
"version":
|
|
244762
|
-
"xmlns":
|
|
244763
|
-
"width":
|
|
244764
|
-
"height":
|
|
244757
|
+
"viewBox": '0 0 1024 1024',
|
|
244758
|
+
"version": '1.1',
|
|
244759
|
+
"xmlns": 'http://www.w3.org/2000/svg',
|
|
244760
|
+
"width": '20',
|
|
244761
|
+
"height": '20'
|
|
244765
244762
|
},
|
|
244766
|
-
"style":
|
|
244763
|
+
"style": 'transform: rotate(90deg) translateY(2px);'
|
|
244767
244764
|
}, [h("path", {
|
|
244768
244765
|
"attrs": {
|
|
244769
|
-
"d":
|
|
244766
|
+
"d": 'M160 64l640 0C852.928 64 896 107.072 896 160l0 640c0 52.928-43.072 96-96 96l-640 0C107.072 896 64 852.928 64 800l0-640C64 107.072 107.072 64 160 64zM800 128 173.248 128 832 786.752 832 160C832 142.4 817.6 128 800 128zM160 832l626.752 0L128 173.248 128 800C128 817.6 142.4 832 160 832z'
|
|
244770
244767
|
}
|
|
244771
|
-
})]), h("span", ["\u53F3\u5BF9\u89D2\u7EBF"])]),
|
|
244772
|
-
"class":
|
|
244768
|
+
})]), h("span", ["\u53F3\u5BF9\u89D2\u7EBF"])]), rightNode.diagonalType != 0 && h("li", {
|
|
244769
|
+
"class": 'mouse-menu-item',
|
|
244773
244770
|
"on": {
|
|
244774
244771
|
"click": function click() {
|
|
244775
244772
|
return _this5.delDiagonal();
|
|
@@ -244777,13 +244774,13 @@ var popper = __webpack_require__(95551);
|
|
|
244777
244774
|
}
|
|
244778
244775
|
}, [h("a-icon", {
|
|
244779
244776
|
"attrs": {
|
|
244780
|
-
"type":
|
|
244777
|
+
"type": 'delete'
|
|
244781
244778
|
},
|
|
244782
|
-
"style":
|
|
244783
|
-
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), (
|
|
244784
|
-
"class":
|
|
244779
|
+
"style": 'font-size: 20px;'
|
|
244780
|
+
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.paintStatus) != 5 && (rightNode === null || rightNode === void 0 ? void 0 : rightNode.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
244781
|
+
"class": 'mouse-right-menu'
|
|
244785
244782
|
}, [h("li", {
|
|
244786
|
-
"class":
|
|
244783
|
+
"class": 'mouse-menu-item mouse-right-menu-line'
|
|
244787
244784
|
}), h(TableFeatures, {
|
|
244788
244785
|
"on": {
|
|
244789
244786
|
"closeMenu": this.handleClose.bind(this)
|
|
@@ -244792,24 +244789,24 @@ var popper = __webpack_require__(95551);
|
|
|
244792
244789
|
vueController: this.vueController,
|
|
244793
244790
|
className: 'insert-rows-columns-right',
|
|
244794
244791
|
table: this.defaultTable,
|
|
244795
|
-
paintStatus:
|
|
244796
|
-
tableProperty:
|
|
244792
|
+
paintStatus: rightNode.paintStatus,
|
|
244793
|
+
tableProperty: rightNode.tableProperty
|
|
244797
244794
|
})
|
|
244798
|
-
})]), (
|
|
244799
|
-
"class":
|
|
244795
|
+
})]), (rightNode === null || rightNode === void 0 ? void 0 : rightNode.canShowComment) && h("ul", {
|
|
244796
|
+
"class": 'mouse-right-menu'
|
|
244800
244797
|
}, [h("li", {
|
|
244801
|
-
"class":
|
|
244798
|
+
"class": 'mouse-menu-item',
|
|
244802
244799
|
"on": {
|
|
244803
244800
|
"click": function click() {
|
|
244804
244801
|
return _this5.hideComments();
|
|
244805
244802
|
}
|
|
244806
244803
|
}
|
|
244807
|
-
}, [
|
|
244808
|
-
"class":
|
|
244804
|
+
}, [rightNode !== null && rightNode !== void 0 && rightNode.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])])]), h("ul", {
|
|
244805
|
+
"class": 'mouse-right-menu'
|
|
244809
244806
|
}, [h("li", {
|
|
244810
|
-
"class":
|
|
244807
|
+
"class": 'mouse-menu-item'
|
|
244811
244808
|
}, ["\u7F16\u8F91\u5668\u5185\u6838\u7248\u672C\uFF1A\xA0\xA0", h("span", {
|
|
244812
|
-
"style":
|
|
244809
|
+
"style": 'font-size: 14px;color: #0a77e3;'
|
|
244813
244810
|
}, ["v ", this.versions])])])]);
|
|
244814
244811
|
}
|
|
244815
244812
|
});
|