hoeditor-web 3.1.121 → 3.1.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.css +1 -18016
- package/lib/hoeditor.umd.js +12 -10
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -56940,7 +56940,7 @@ var PopQScoreNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
56940
56940
|
// cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
|
|
56941
56941
|
// }
|
|
56942
56942
|
var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
|
|
56943
|
-
var lineHight = dHeight
|
|
56943
|
+
var lineHight = dHeight + 50;
|
|
56944
56944
|
/* 注意绘制顺序 */
|
|
56945
56945
|
var arrValues = ['Ap=' + this.ap, 'Bp=' + this.bp, 'D=' + this.d, 'gh=' + this.gh, 'pb=' + this.pb, 'TVL=' + this.tVL, 'Aa=' + this.aa, 'Ba=' + this.ba, 'C=' + this.c];
|
|
56946
56946
|
var bIsInsert = startIndex < 0;
|
|
@@ -67046,18 +67046,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67046
67046
|
}, {
|
|
67047
67047
|
key: "setValuesObject",
|
|
67048
67048
|
value: function setValuesObject(valuesObject) {
|
|
67049
|
-
// const valuesObj = eval("(" + valuesObject + ")");
|
|
67050
|
-
//console.time(`${valuesObject.name}--setValuesObject`)
|
|
67051
67049
|
var valuesObj = valuesObject;
|
|
67052
67050
|
var assignvalue = function assignvalue(target, source) {
|
|
67053
67051
|
Object.keys(source).forEach(function (value) {
|
|
67054
67052
|
if (value != "childNodes" && value != "bandDataSource") {
|
|
67055
|
-
if (
|
|
67053
|
+
if (value == 'customProperty') {
|
|
67054
|
+
target[value] = source[value];
|
|
67055
|
+
} else if ((0,esm_typeof/* default */.Z)(target[value]) == 'object') {
|
|
67056
67056
|
if (Object.prototype.toString.call(source[value]) === '[object Object]') {
|
|
67057
67057
|
assignvalue(target[value], source[value]);
|
|
67058
67058
|
} else {
|
|
67059
|
-
if (source[value] !== '' && source[value] !== null
|
|
67060
|
-
// assignvalue(target[value], eval('(' + + ')'));
|
|
67059
|
+
if (source[value] !== '' && source[value] !== null) {
|
|
67061
67060
|
assignvalue(target[value], JSON.parse(source[value]));
|
|
67062
67061
|
}
|
|
67063
67062
|
}
|
|
@@ -85196,7 +85195,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85196
85195
|
if (dline instanceof DrawTable/* DrawTable */.t) {
|
|
85197
85196
|
throw new Error("错误的文档结构,表格后面需要放置一个段落节点");
|
|
85198
85197
|
} else {
|
|
85199
|
-
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85198
|
+
if (!(hoeditorFactory.drawTree.paintStatus != PaintState.psDesign && node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85200
85199
|
dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, startChildIndex, node.getLength() - 1, aEndPath);
|
|
85201
85200
|
if (dline.paragraphNode !== paraNode) {
|
|
85202
85201
|
paraNode = dline.paragraphNode;
|
|
@@ -85360,7 +85359,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85360
85359
|
if (dline instanceof DrawTable/* DrawTable */.t) {
|
|
85361
85360
|
throw new Error("错误的文档结构,表格前面需要放置一个段落节点");
|
|
85362
85361
|
} else {
|
|
85363
|
-
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85362
|
+
if (!(hoEditorFactory.drawTree.paintStatus != PaintState.psDesign && node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85364
85363
|
dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, 0, node.getLength() - 1, aEndPath);
|
|
85365
85364
|
if (dline.paragraphNode !== paraNode) {
|
|
85366
85365
|
paraNode = dline.paragraphNode;
|
|
@@ -210238,7 +210237,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
210238
210237
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
210239
210238
|
var ParagraphNode = __webpack_require__(67945);
|
|
210240
210239
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
210241
|
-
/* harmony default export */ var version = ('3.1.
|
|
210240
|
+
/* harmony default export */ var version = ('3.1.123');
|
|
210242
210241
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
210243
210242
|
var PoperTipText = __webpack_require__(50987);
|
|
210244
210243
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -228169,7 +228168,10 @@ var EditController = /*#__PURE__*/function () {
|
|
|
228169
228168
|
var drawPage = hoEditorFactory.drawTree.activePage;
|
|
228170
228169
|
if (drawPage) {
|
|
228171
228170
|
var dNode = hoEditorFactory.drawTree.getDNodeByPath(curDomRange.endPath);
|
|
228172
|
-
|
|
228171
|
+
var _curDomRange$inSameTa = curDomRange.inSameTable(),
|
|
228172
|
+
_curDomRange$inSameTa2 = (0,esm_slicedToArray/* default */.Z)(_curDomRange$inSameTa, 1),
|
|
228173
|
+
isInTable = _curDomRange$inSameTa2[0];
|
|
228174
|
+
if (!isInTable && dNode instanceof DrawLine/* DrawLine */.a && dNode.drawItems.length == 0) {
|
|
228173
228175
|
var headerHeight = hoEditorFactory.drawPageTree.drawHeaders[0].displayHeight;
|
|
228174
228176
|
var y = headerHeight + dNode.y + dNode.dHeight;
|
|
228175
228177
|
result = hoEditorFactory.vueController.isCanEdit(drawPage.pageIndex, y);
|