hoeditor-web 3.1.183 → 3.1.184
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 +3 -37
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -140997,7 +140997,7 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
140997
140997
|
_this._formularType = formulaStr.indexOf(':') >= 0 ? FormularType.ftSum : FormularType.ftFormular;
|
|
140998
140998
|
}
|
|
140999
140999
|
_this.formulaStr = formulaStr;
|
|
141000
|
-
|
|
141000
|
+
// this.setCode();
|
|
141001
141001
|
if (hideZero !== undefined) _this._hideZero = hideZero;
|
|
141002
141002
|
if (customProperty && customProperty !== "") {
|
|
141003
141003
|
_this.setCustomProperty(customProperty);
|
|
@@ -141158,7 +141158,7 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
141158
141158
|
}
|
|
141159
141159
|
dline.addChild(this._drawNodes[0]);
|
|
141160
141160
|
dline.drawItems.push(this._drawNodes[0]);
|
|
141161
|
-
this.
|
|
141161
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_34__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID).drawTree.formularNodes.set(this.id, this);
|
|
141162
141162
|
dline.fitLines();
|
|
141163
141163
|
return dline.paragraphNode.getLastDrawline();
|
|
141164
141164
|
}
|
|
@@ -141167,40 +141167,6 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
141167
141167
|
value: function hasChildPath() {
|
|
141168
141168
|
return false;
|
|
141169
141169
|
}
|
|
141170
|
-
}, {
|
|
141171
|
-
key: "setCode",
|
|
141172
|
-
value: function setCode() {
|
|
141173
|
-
var cellNode = this.parentNode;
|
|
141174
|
-
if (cellNode) {
|
|
141175
|
-
var _cellNode$table$getCe = cellNode.table.getCellInfos(cellNode),
|
|
141176
|
-
_cellNode$table$getCe2 = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(_cellNode$table$getCe, 2),
|
|
141177
|
-
row = _cellNode$table$getCe2[0],
|
|
141178
|
-
col = _cellNode$table$getCe2[1];
|
|
141179
|
-
var strRow = cellNode.table.colToStr(col + 1);
|
|
141180
|
-
var irow = row + 1;
|
|
141181
|
-
this.code = strRow + irow;
|
|
141182
|
-
}
|
|
141183
|
-
}
|
|
141184
|
-
}, {
|
|
141185
|
-
key: "setFormulaNodes",
|
|
141186
|
-
value: function setFormulaNodes() {
|
|
141187
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_34__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
141188
|
-
// hoEditorFactory.drawTree.formularNodes.set(this.id, this)
|
|
141189
|
-
// const formulaNodes = hoEditorFactory.drawTree.formularNodes;
|
|
141190
|
-
// if(formulaNodes.has(this.id)) {
|
|
141191
|
-
hoEditorFactory.drawTree.formularNodes.set(this.id, this);
|
|
141192
|
-
// } else {
|
|
141193
|
-
// hoEditorFactory.drawTree.formularNodes.set(this.id, this)
|
|
141194
|
-
// const arr = Array.from(formulaNodes);
|
|
141195
|
-
// const fArr: any = [];
|
|
141196
|
-
// console.log(this.code, this.formulaStr);
|
|
141197
|
-
// arr.forEach(item => {
|
|
141198
|
-
// if(item[1].code) {
|
|
141199
|
-
// }
|
|
141200
|
-
// console.log(item[1].code, item[1].formulaStr)
|
|
141201
|
-
// })
|
|
141202
|
-
// }
|
|
141203
|
-
}
|
|
141204
141170
|
}, {
|
|
141205
141171
|
key: "node2Json",
|
|
141206
141172
|
value: function node2Json(range, isCopy) {
|
|
@@ -232359,7 +232325,7 @@ var TextNode = __webpack_require__(32083);
|
|
|
232359
232325
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
232360
232326
|
var ParagraphNode = __webpack_require__(40504);
|
|
232361
232327
|
;// ./src/components/version.ts
|
|
232362
|
-
/* harmony default export */ var version = ('3.1.
|
|
232328
|
+
/* harmony default export */ var version = ('3.1.184');
|
|
232363
232329
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
232364
232330
|
var PoperTipText = __webpack_require__(57221);
|
|
232365
232331
|
;// ./src/components/controls/poperTipText/index.ts
|