hoeditor-web 3.1.72 → 3.1.73
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 +43 -27
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -63142,6 +63142,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63142
63142
|
}], [{
|
|
63143
63143
|
key: "json2Node",
|
|
63144
63144
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode, isPaste, isClearSign) {
|
|
63145
|
+
// console.log("加载表格", json.rowCount, json.colCount)
|
|
63145
63146
|
json = this.transType(json);
|
|
63146
63147
|
var tableProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_32__/* .TableProperty */ .vE("");
|
|
63147
63148
|
if (json.tableProperty) {
|
|
@@ -206941,7 +206942,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
206941
206942
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
206942
206943
|
var ParagraphNode = __webpack_require__(67945);
|
|
206943
206944
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
206944
|
-
/* harmony default export */ var version = ('3.1.
|
|
206945
|
+
/* harmony default export */ var version = ('3.1.73');
|
|
206945
206946
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
206946
206947
|
var PoperTipText = __webpack_require__(50987);
|
|
206947
206948
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -214019,8 +214020,8 @@ var commonParamList = new Map();
|
|
|
214019
214020
|
|
|
214020
214021
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
214021
214022
|
var es_array_from = __webpack_require__(91038);
|
|
214022
|
-
;// 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/common/history/index.vue?vue&type=template&id=
|
|
214023
|
-
var
|
|
214023
|
+
;// 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/common/history/index.vue?vue&type=template&id=1a14bdbf&
|
|
214024
|
+
var historyvue_type_template_id_1a14bdbf_render = function render() {
|
|
214024
214025
|
var _vm = this,
|
|
214025
214026
|
_c = _vm._self._c;
|
|
214026
214027
|
return _c('section', {
|
|
@@ -214061,7 +214062,7 @@ var historyvue_type_template_id_cbb3a73a_render = function render() {
|
|
|
214061
214062
|
}, [[_vm._v(" 修改后:" + _vm._s(item.afterContent) + " ")]], 2)])];
|
|
214062
214063
|
})], 2);
|
|
214063
214064
|
};
|
|
214064
|
-
var
|
|
214065
|
+
var historyvue_type_template_id_1a14bdbf_staticRenderFns = [];
|
|
214065
214066
|
|
|
214066
214067
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/common/history/index.vue?vue&type=script&lang=js&
|
|
214067
214068
|
|
|
@@ -214112,17 +214113,19 @@ var historyvue_type_template_id_cbb3a73a_staticRenderFns = [];
|
|
|
214112
214113
|
}
|
|
214113
214114
|
} else {
|
|
214114
214115
|
var boxNextSection = box.querySelector(".ho-history-box");
|
|
214115
|
-
|
|
214116
|
-
|
|
214117
|
-
|
|
214118
|
-
|
|
214119
|
-
|
|
214120
|
-
|
|
214121
|
-
|
|
214122
|
-
element.className
|
|
214123
|
-
|
|
214124
|
-
|
|
214125
|
-
|
|
214116
|
+
if (boxNextSection) {
|
|
214117
|
+
var list = Array.from(box.querySelectorAll('.ho-comment-item'));
|
|
214118
|
+
box.style.transform = "translate(0, 0)";
|
|
214119
|
+
boxNextSection.style.paddingLeft = '0';
|
|
214120
|
+
list.forEach(function (element, index) {
|
|
214121
|
+
element.style.transform = "translate(0, 0)";
|
|
214122
|
+
element.style.boxShadow = '';
|
|
214123
|
+
if (!element.className.includes('history-comment')) {
|
|
214124
|
+
element.className += ' history-comment';
|
|
214125
|
+
}
|
|
214126
|
+
});
|
|
214127
|
+
box.className = box.className.replace('ho-comment-history-selected', '');
|
|
214128
|
+
}
|
|
214126
214129
|
}
|
|
214127
214130
|
});
|
|
214128
214131
|
if (hoCommentBox) {
|
|
@@ -214203,10 +214206,10 @@ var historyvue_type_template_id_cbb3a73a_staticRenderFns = [];
|
|
|
214203
214206
|
});
|
|
214204
214207
|
;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=script&lang=js&
|
|
214205
214208
|
/* harmony default export */ var common_historyvue_type_script_lang_js_ = (historyvue_type_script_lang_js_);
|
|
214206
|
-
;// 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/common/history/index.vue?vue&type=style&index=0&id=
|
|
214209
|
+
;// 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/common/history/index.vue?vue&type=style&index=0&id=1a14bdbf&prod&lang=less&
|
|
214207
214210
|
// extracted by mini-css-extract-plugin
|
|
214208
214211
|
|
|
214209
|
-
;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=style&index=0&id=
|
|
214212
|
+
;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=style&index=0&id=1a14bdbf&prod&lang=less&
|
|
214210
214213
|
|
|
214211
214214
|
;// CONCATENATED MODULE: ./src/components/common/history/index.vue
|
|
214212
214215
|
|
|
@@ -214219,8 +214222,8 @@ var historyvue_type_template_id_cbb3a73a_staticRenderFns = [];
|
|
|
214219
214222
|
|
|
214220
214223
|
var history_component = (0,componentNormalizer/* default */.Z)(
|
|
214221
214224
|
common_historyvue_type_script_lang_js_,
|
|
214222
|
-
|
|
214223
|
-
|
|
214225
|
+
historyvue_type_template_id_1a14bdbf_render,
|
|
214226
|
+
historyvue_type_template_id_1a14bdbf_staticRenderFns,
|
|
214224
214227
|
false,
|
|
214225
214228
|
null,
|
|
214226
214229
|
null,
|
|
@@ -233821,12 +233824,19 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
233821
233824
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee7$(_context7) {
|
|
233822
233825
|
while (1) switch (_context7.prev = _context7.next) {
|
|
233823
233826
|
case 0:
|
|
233824
|
-
if (params && continuousid && Array.isArray(params.notPrintDocId) && params.notPrintDocId.length > 0 && params.notPrintDocId.includes(continuousid)) {
|
|
233825
|
-
|
|
233826
|
-
|
|
233827
|
-
PrintStatus/* Print */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position, false, pageNumber);
|
|
233827
|
+
if (!(params && continuousid && Array.isArray(params.notPrintDocId) && params.notPrintDocId.length > 0 && params.notPrintDocId.includes(continuousid))) {
|
|
233828
|
+
_context7.next = 5;
|
|
233829
|
+
break;
|
|
233828
233830
|
}
|
|
233829
|
-
|
|
233831
|
+
_context7.next = 3;
|
|
233832
|
+
return PrintStatus/* Print */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position, true, pageNumber);
|
|
233833
|
+
case 3:
|
|
233834
|
+
_context7.next = 7;
|
|
233835
|
+
break;
|
|
233836
|
+
case 5:
|
|
233837
|
+
_context7.next = 7;
|
|
233838
|
+
return PrintStatus/* Print */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position, false, pageNumber);
|
|
233839
|
+
case 7:
|
|
233830
233840
|
case "end":
|
|
233831
233841
|
return _context7.stop();
|
|
233832
233842
|
}
|
|
@@ -233849,6 +233859,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
233849
233859
|
if (position == undefined) {
|
|
233850
233860
|
position = {};
|
|
233851
233861
|
}
|
|
233862
|
+
// 多种连续病程时先提交前一类病程循环后重新开始下一类病程循环
|
|
233852
233863
|
if (position && Object.keys(position).length != 0) {
|
|
233853
233864
|
callback && callback((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, position), {}, {
|
|
233854
233865
|
continuousid: continuousid
|
|
@@ -233873,6 +233884,13 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
233873
233884
|
createSvg();
|
|
233874
233885
|
}
|
|
233875
233886
|
} else {
|
|
233887
|
+
// 只有一类病程记录时循环到非病程直接提交
|
|
233888
|
+
if (continuousid && position && Object.keys(position).length != 0) {
|
|
233889
|
+
callback && callback((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, position), {}, {
|
|
233890
|
+
continuousid: continuousid
|
|
233891
|
+
}));
|
|
233892
|
+
position = {};
|
|
233893
|
+
}
|
|
233876
233894
|
mergeList = [];
|
|
233877
233895
|
continuousid = '';
|
|
233878
233896
|
Promise.all([hoEditorFactory.vueController.openXml(xmlList[xmlIndex][0])]).then(function () {
|
|
@@ -233885,9 +233903,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
233885
233903
|
});
|
|
233886
233904
|
}
|
|
233887
233905
|
} else if (xmlIndex > xmlList.length - 1) {
|
|
233888
|
-
callback && callback(
|
|
233889
|
-
continuousid: continuousid
|
|
233890
|
-
}));
|
|
233906
|
+
callback && callback({});
|
|
233891
233907
|
hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
|
|
233892
233908
|
hoEditorFactory.vueController.openXml(xml);
|
|
233893
233909
|
if (hoEditorFactory.isUseImagePrint) {
|