hoeditor-web 2.0.121 → 2.0.123
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.common.js +32 -12
- package/lib/hoeditor.css +85 -2
- package/lib/hoeditor.umd.js +32 -12
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -19098,7 +19098,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
19098
19098
|
|
|
19099
19099
|
/***/ }),
|
|
19100
19100
|
|
|
19101
|
-
/***/
|
|
19101
|
+
/***/ 78259:
|
|
19102
19102
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19103
19103
|
|
|
19104
19104
|
"use strict";
|
|
@@ -19110,7 +19110,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19110
19110
|
"default": function() { return /* binding */ CanvasImageDialog; }
|
|
19111
19111
|
});
|
|
19112
19112
|
|
|
19113
|
-
;// 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/upload/CanvasImageDialog.vue?vue&type=template&id=
|
|
19113
|
+
;// 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/upload/CanvasImageDialog.vue?vue&type=template&id=52ddc202&scoped=true&
|
|
19114
19114
|
var render = function render() {
|
|
19115
19115
|
var _vm = this,
|
|
19116
19116
|
_c = _vm._self._c;
|
|
@@ -19403,7 +19403,7 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
19403
19403
|
x: e.offsetX,
|
|
19404
19404
|
y: e.offsetY
|
|
19405
19405
|
});
|
|
19406
|
-
if (this.quadraticCurvePoints.length > 3) {
|
|
19406
|
+
if (this.quadraticCurvePoints.length > 3 && this.tool === 1) {
|
|
19407
19407
|
var lastTwoPoints = this.quadraticCurvePoints.slice(-2);
|
|
19408
19408
|
var controlPoint = lastTwoPoints[0];
|
|
19409
19409
|
var endPoint = {
|
|
@@ -19528,10 +19528,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
19528
19528
|
});
|
|
19529
19529
|
;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
|
|
19530
19530
|
/* harmony default export */ var upload_CanvasImageDialogvue_type_script_lang_js_ = (CanvasImageDialogvue_type_script_lang_js_);
|
|
19531
|
-
;// 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/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=
|
|
19531
|
+
;// 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/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=52ddc202&prod&lang=scss&scoped=true&
|
|
19532
19532
|
// extracted by mini-css-extract-plugin
|
|
19533
19533
|
|
|
19534
|
-
;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=
|
|
19534
|
+
;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=52ddc202&prod&lang=scss&scoped=true&
|
|
19535
19535
|
|
|
19536
19536
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
19537
19537
|
var componentNormalizer = __webpack_require__(1001);
|
|
@@ -19550,7 +19550,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
19550
19550
|
staticRenderFns,
|
|
19551
19551
|
false,
|
|
19552
19552
|
null,
|
|
19553
|
-
"
|
|
19553
|
+
"52ddc202",
|
|
19554
19554
|
null
|
|
19555
19555
|
|
|
19556
19556
|
)
|
|
@@ -36814,7 +36814,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
36814
36814
|
/*
|
|
36815
36815
|
* @Author: your name
|
|
36816
36816
|
* @Date: 2020-12-24 16:01:16
|
|
36817
|
-
* @LastEditTime: 2022-
|
|
36817
|
+
* @LastEditTime: 2022-11-25 16:32:17
|
|
36818
36818
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
36819
36819
|
* @Description: In User Settings Edit
|
|
36820
36820
|
* @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
|
|
@@ -36833,6 +36833,7 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
36833
36833
|
//表格内是否自动换行
|
|
36834
36834
|
|
|
36835
36835
|
//表格固定在一页
|
|
36836
|
+
//是否启用表单弹框编辑
|
|
36836
36837
|
function TableProperty(objectValues) {
|
|
36837
36838
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, TableProperty);
|
|
36838
36839
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_id", void 0);
|
|
@@ -36849,6 +36850,7 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
36849
36850
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_autoLineHeight", 0.53);
|
|
36850
36851
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_autoLineHeightPx", _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_7__/* .gDefaultRowHeight */ .dT);
|
|
36851
36852
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_fixedOnePage", false);
|
|
36853
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_isUsePopEdit", false);
|
|
36852
36854
|
if (objectValues !== "") {
|
|
36853
36855
|
var valuesObj = eval('(' + objectValues + ')');
|
|
36854
36856
|
var assignvalue = function assignvalue(target, source) {
|
|
@@ -36979,6 +36981,14 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
36979
36981
|
set: function set(value) {
|
|
36980
36982
|
this._fixedOnePage = value;
|
|
36981
36983
|
}
|
|
36984
|
+
}, {
|
|
36985
|
+
key: "isUsePopEdit",
|
|
36986
|
+
get: function get() {
|
|
36987
|
+
return this._isUsePopEdit;
|
|
36988
|
+
},
|
|
36989
|
+
set: function set(value) {
|
|
36990
|
+
this._isUsePopEdit = value;
|
|
36991
|
+
}
|
|
36982
36992
|
}]);
|
|
36983
36993
|
return TableProperty;
|
|
36984
36994
|
}();
|
|
@@ -52389,7 +52399,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
52389
52399
|
tightLineSpace: this.tableProperty.tightLineSpace,
|
|
52390
52400
|
isAutoChangeLine: this.tableProperty.isAutoChangeLine,
|
|
52391
52401
|
autoLineHeight: this.tableProperty.autoLineHeight,
|
|
52392
|
-
fixedOnePage: this.tableProperty.fixedOnePage
|
|
52402
|
+
fixedOnePage: this.tableProperty.fixedOnePage,
|
|
52403
|
+
isUsePopEdit: this.tableProperty.isUsePopEdit
|
|
52393
52404
|
};
|
|
52394
52405
|
;
|
|
52395
52406
|
}
|
|
@@ -52628,7 +52639,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
52628
52639
|
tightLineSpace: this.tableProperty.tightLineSpace,
|
|
52629
52640
|
isAutoChangeLine: this.tableProperty.isAutoChangeLine,
|
|
52630
52641
|
autoLineHeight: this.tableProperty.autoLineHeight,
|
|
52631
|
-
fixedOnePage: this.tableProperty.fixedOnePage
|
|
52642
|
+
fixedOnePage: this.tableProperty.fixedOnePage,
|
|
52643
|
+
isUsePopEdit: this.tableProperty.isUsePopEdit
|
|
52632
52644
|
};
|
|
52633
52645
|
var retJson = {
|
|
52634
52646
|
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_26__/* .NodeType */ .Jq[this.nodeType],
|
|
@@ -53291,6 +53303,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
53291
53303
|
tableProperty.layoutFullLinisAutoChangeLineidth = tableProperty["canAdjustRowWidth"] || false;
|
|
53292
53304
|
tableProperty.canAdjustRowHeight = tableProperty["canAdjustRowHeight"] || false;
|
|
53293
53305
|
tableProperty.fixedOnePage = tableProperty["fixedOnePage"] || false;
|
|
53306
|
+
tableProperty.isUsePopEdit = tableProperty["isUsePopEdit"] || false;
|
|
53294
53307
|
tableProperty.isAutoChangeLine = tableProperty["isAutoChangeLine"] || false;
|
|
53295
53308
|
tableProperty.autoLineHeight = tableProperty["autoLineHeight"] || 0.53;
|
|
53296
53309
|
tableProperty.autoLineHeightPx = _editor_utils_UnitConvert__WEBPACK_IMPORTED_MODULE_37__/* .UnitConvert.instance.mmConversionPx */ .P.instance.mmConversionPx(parseFloat(tableProperty.autoLineHeight) * 10, false);
|
|
@@ -70162,6 +70175,11 @@ var EditorController = /*#__PURE__*/function () {
|
|
|
70162
70175
|
//return true;
|
|
70163
70176
|
} else if (keyCode === 46) {
|
|
70164
70177
|
var _result2 = hoeditorfactory.editController.canIsEdit(hoeditorfactory);
|
|
70178
|
+
//console.log("enter press1");
|
|
70179
|
+
if (hoeditorfactory.notAllowEditInReview && hoeditorfactory.drawTree.paintStatus === PaintState.psReview) {
|
|
70180
|
+
message_box_default().alert("质控医生站的病历只可进行批注不可编辑修改");
|
|
70181
|
+
return;
|
|
70182
|
+
}
|
|
70165
70183
|
if (_result2) {
|
|
70166
70184
|
hoeditorfactory.docController.keyBoardDelete("Delete");
|
|
70167
70185
|
}
|
|
@@ -205862,7 +205880,7 @@ var map = {
|
|
|
205862
205880
|
"./table/TableProperty.vue": 7993,
|
|
205863
205881
|
"./table/TableRowProperty.vue": 12662,
|
|
205864
205882
|
"./textDialog/TextDialog.vue": 16114,
|
|
205865
|
-
"./upload/CanvasImageDialog.vue":
|
|
205883
|
+
"./upload/CanvasImageDialog.vue": 78259,
|
|
205866
205884
|
"./upload/UploadImageDialog.vue": 39490
|
|
205867
205885
|
};
|
|
205868
205886
|
|
|
@@ -211269,7 +211287,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
211269
211287
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
211270
211288
|
var ParagraphNode = __webpack_require__(67945);
|
|
211271
211289
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
211272
|
-
/* harmony default export */ var version = ('2.0.
|
|
211290
|
+
/* harmony default export */ var version = ('2.0.123');
|
|
211273
211291
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
211274
211292
|
var PoperTipText = __webpack_require__(14954);
|
|
211275
211293
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -213869,6 +213887,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
|
|
|
213869
213887
|
tableProperty.canAdjustRowWidth = tableProperty["canAdjustRowWidth"] || false;
|
|
213870
213888
|
tableProperty.canAdjustRowHeight = tableProperty["canAdjustRowHeight"] || false;
|
|
213871
213889
|
tableProperty.fixedOnePage = tableProperty["fixedOnePage"] || false;
|
|
213890
|
+
tableProperty.isUsePopEdit = tableProperty["isUsePopEdit"] || false;
|
|
213872
213891
|
tableProperty.isAutoChangeLine = tableProperty["isAutoChangeLine"] || false;
|
|
213873
213892
|
tableProperty.autoLineHeight = tableProperty["autoLineHeight"] || 0.53;
|
|
213874
213893
|
return tableProperty;
|
|
@@ -223346,7 +223365,8 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223346
223365
|
tightLineSpace: node.tableProperty.tightLineSpace,
|
|
223347
223366
|
isAutoChangeLine: node.tableProperty.isAutoChangeLine,
|
|
223348
223367
|
autoLineHeight: node.tableProperty.autoLineHeight,
|
|
223349
|
-
fixedOnePage: node.tableProperty.fixedOnePage
|
|
223368
|
+
fixedOnePage: node.tableProperty.fixedOnePage,
|
|
223369
|
+
isUsePopEdit: node.tableProperty.isUsePopEdit
|
|
223350
223370
|
};
|
|
223351
223371
|
var defaultRowProp = {
|
|
223352
223372
|
customProperties: '',
|