hoeditor-web 3.1.217 → 3.1.219
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 +369 -109
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -73480,7 +73480,7 @@ module.exports = function shallowEqual(objA, objB, compare, compareContext) {
|
|
|
73480
73480
|
|
|
73481
73481
|
/***/ }),
|
|
73482
73482
|
|
|
73483
|
-
/***/
|
|
73483
|
+
/***/ 54584:
|
|
73484
73484
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
73485
73485
|
|
|
73486
73486
|
"use strict";
|
|
@@ -73492,7 +73492,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
73492
73492
|
"default": function() { return /* binding */ ControlModal; }
|
|
73493
73493
|
});
|
|
73494
73494
|
|
|
73495
|
-
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=
|
|
73495
|
+
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=f2268b16
|
|
73496
73496
|
var render = function render() {
|
|
73497
73497
|
var _vm = this,
|
|
73498
73498
|
_c = _vm._self._c;
|
|
@@ -73635,6 +73635,7 @@ var HOEditorFactorys = __webpack_require__(57703);
|
|
|
73635
73635
|
gestation: 'gestation/Gestation',
|
|
73636
73636
|
figure: 'figure/HoFigure',
|
|
73637
73637
|
'edit-ho-figure': 'figure/EditHoFigure',
|
|
73638
|
+
// 'ho-formula': 'hoformula/HoFormula',
|
|
73638
73639
|
'ho-print': 'hoprint/HoPrint',
|
|
73639
73640
|
'special-chars': 'specialChars/HoSpecialChars'
|
|
73640
73641
|
}
|
|
@@ -104402,7 +104403,7 @@ const textParams = {
|
|
|
104402
104403
|
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
104403
104404
|
|
|
104404
104405
|
"use strict";
|
|
104405
|
-
/* harmony default export */ __webpack_exports__.A = ('3.1.
|
|
104406
|
+
/* harmony default export */ __webpack_exports__.A = ('3.1.219');
|
|
104406
104407
|
|
|
104407
104408
|
/***/ }),
|
|
104408
104409
|
|
|
@@ -128540,6 +128541,8 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
128540
128541
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(57703);
|
|
128541
128542
|
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(58382);
|
|
128542
128543
|
/* harmony import */ var _editor_draw_drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(87523);
|
|
128544
|
+
/* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(32083);
|
|
128545
|
+
|
|
128543
128546
|
|
|
128544
128547
|
|
|
128545
128548
|
|
|
@@ -128940,7 +128943,7 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
|
|
|
128940
128943
|
* @param count 插入的行数
|
|
128941
128944
|
* @param copyIndex 插入时复制行的一些信息
|
|
128942
128945
|
*/
|
|
128943
|
-
insertRows(r, count, copyIndex) {
|
|
128946
|
+
insertRows(r, count, copyIndex, copyColIndex) {
|
|
128944
128947
|
if (r < 0 || r > this._rowCount || copyIndex < 0 || copyIndex > this._rowCount - 1) {
|
|
128945
128948
|
throw new Error(`错误的插入位置或者错误的拷贝行`);
|
|
128946
128949
|
}
|
|
@@ -129017,6 +129020,14 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
|
|
|
129017
129020
|
newCell.initBlankDoc();
|
|
129018
129021
|
newCell.childNodes[0].styleIndex = cell.childNodes[0].styleIndex;
|
|
129019
129022
|
newCell.childNodes[0].paraNo = cell.childNodes[0].paraNo;
|
|
129023
|
+
if (copyColIndex !== undefined && copyColIndex >= 0 && copyColIndex < this._rowCount && c <= copyColIndex) {
|
|
129024
|
+
const copyCellNode = this._rows[mr][mc];
|
|
129025
|
+
if (copyCellNode) {
|
|
129026
|
+
const newText = copyCellNode.getCellText();
|
|
129027
|
+
const textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_28__/* .TextNode */ .E(this._hoEditorFactoryID, this.rootNodes, newCell, _BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Z6.ntText, newText, copyCellNode.childNodes[0].styleIndex);
|
|
129028
|
+
newCell.childNodes.push(textNode);
|
|
129029
|
+
}
|
|
129030
|
+
}
|
|
129020
129031
|
newCell.drawCell.needUpdate = true;
|
|
129021
129032
|
} else {
|
|
129022
129033
|
const bcell = row[c];
|
|
@@ -130301,15 +130312,21 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
|
|
|
130301
130312
|
const cellNodes = transArr(json); //table.childNodes.childNodes
|
|
130302
130313
|
const existMap = new Map();
|
|
130303
130314
|
const rowsMap = new Map();
|
|
130304
|
-
|
|
130305
|
-
|
|
130315
|
+
let colSpanArr = new Array();
|
|
130316
|
+
let rowSpanArr = new Array();
|
|
130317
|
+
// console.clear();
|
|
130306
130318
|
for (let i = 0; i < cellNodes.length; i++) {
|
|
130307
130319
|
const node = cellNodes[i];
|
|
130308
130320
|
let rowNo = parseInt(node.rowNo);
|
|
130309
|
-
// if(isNaN(rowNo)) {
|
|
130310
|
-
// rowNo = Math.floor(i / Number(json.colCount));
|
|
130311
|
-
// }
|
|
130312
130321
|
const aRow = new Array();
|
|
130322
|
+
if (node && hoEditorFactory.useFixTableMerge) {
|
|
130323
|
+
if (node.rowSpan && Number(node.rowSpan) + Number(node.rowNo) - 1 > tableNode._rowCount) {
|
|
130324
|
+
node.rowSpan = tableNode._rowCount - Number(node.rowNo) - 1;
|
|
130325
|
+
}
|
|
130326
|
+
if (node.colSpan && Number(node.colSpan) + Number(node.colNo) - 1 > tableNode._colCount) {
|
|
130327
|
+
node.colSpan = tableNode._colCount - Number(node.colNo) - 1;
|
|
130328
|
+
}
|
|
130329
|
+
}
|
|
130313
130330
|
const nodeRowSpan = node.rowSpan ? parseInt(node.rowSpan) : 1;
|
|
130314
130331
|
const nodeColSpan = node.colSpan ? parseInt(node.colSpan) : 1;
|
|
130315
130332
|
if (nodeRowSpan > 1 && nodeColSpan > 1) {
|
|
@@ -130342,7 +130359,6 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
|
|
|
130342
130359
|
rowsMap.set(rowNo, aRow);
|
|
130343
130360
|
}
|
|
130344
130361
|
rowsMap.delete(NaN);
|
|
130345
|
-
//const defaultCellProperty = json.childNodes.defaultCellProperty;
|
|
130346
130362
|
let aRow;
|
|
130347
130363
|
let emptyCellNode = {
|
|
130348
130364
|
nodeType: "ntCell",
|
|
@@ -130363,13 +130379,13 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
|
|
|
130363
130379
|
const rowCount = Math.floor(s / Number(json.colCount));
|
|
130364
130380
|
const colCount = s % Number(json.colCount);
|
|
130365
130381
|
let isMerge = false;
|
|
130366
|
-
rowSpanArr.forEach(
|
|
130367
|
-
if (rowCount ==
|
|
130382
|
+
rowSpanArr.forEach(item => {
|
|
130383
|
+
if (rowCount == item.rowCount && colCount == item.colCount) {
|
|
130368
130384
|
isMerge = true;
|
|
130369
130385
|
}
|
|
130370
130386
|
});
|
|
130371
|
-
colSpanArr.forEach(
|
|
130372
|
-
if (rowCount ==
|
|
130387
|
+
colSpanArr.forEach(item => {
|
|
130388
|
+
if (rowCount == item.rowCount && colCount == item.colCount) {
|
|
130373
130389
|
isMerge = true;
|
|
130374
130390
|
}
|
|
130375
130391
|
});
|
|
@@ -134163,26 +134179,7 @@ class TextInputFieldNode extends BaseCombineNode/* BaseCombineNode */.h {
|
|
|
134163
134179
|
// await hoEditorFactory.docController.insertPlainTextAfterPath(startPath, text, oldValue);
|
|
134164
134180
|
}
|
|
134165
134181
|
if (/[\u0F00-\u0FFF]/.test(textStr)) {
|
|
134166
|
-
const nodes =
|
|
134167
|
-
const analysisText = (0,common/* analyzeTibetanText */.P)(textStr);
|
|
134168
|
-
let curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
134169
|
-
let curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
|
|
134170
|
-
analysisText.forEach(item => {
|
|
134171
|
-
if (item.iszw) {
|
|
134172
|
-
let styleIndex = curStyleIndex;
|
|
134173
|
-
let style = curTextStyle;
|
|
134174
|
-
if (curTextStyle.combineStyle.font != "himalaya") {
|
|
134175
|
-
styleIndex = curTextStyle.changeStyleString('fontFormat', "himalaya");
|
|
134176
|
-
style = hoEditorFactory.docTree.styles[styleIndex];
|
|
134177
|
-
}
|
|
134178
|
-
const styleindex = hoEditorFactory.docTree.styleCompare(style);
|
|
134179
|
-
const textNode = new TextNode/* TextNode */.E(this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, BaseNode/* NodeType */.Z6.ntText, item.text, styleindex, undefined, item.combination);
|
|
134180
|
-
nodes.push(textNode);
|
|
134181
|
-
} else {
|
|
134182
|
-
const textNode = new TextNode/* TextNode */.E(this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, BaseNode/* NodeType */.Z6.ntText, item.text, curStyleIndex, undefined, item.combination);
|
|
134183
|
-
nodes.push(textNode);
|
|
134184
|
-
}
|
|
134185
|
-
});
|
|
134182
|
+
const nodes = this.formatZwNode(textStr);
|
|
134186
134183
|
hoEditorFactory.docController.parseNodeData(nodes);
|
|
134187
134184
|
} else {
|
|
134188
134185
|
await hoEditorFactory.docController.insertPlainTextAfterPath(startPath, textStr, oldValue, isTrace);
|
|
@@ -134194,29 +134191,30 @@ class TextInputFieldNode extends BaseCombineNode/* BaseCombineNode */.h {
|
|
|
134194
134191
|
//this._canModifyContent = await oldValue;
|
|
134195
134192
|
//this.update(0);
|
|
134196
134193
|
}
|
|
134197
|
-
|
|
134198
|
-
|
|
134199
|
-
|
|
134200
|
-
|
|
134201
|
-
|
|
134202
|
-
|
|
134203
|
-
|
|
134204
|
-
|
|
134205
|
-
|
|
134206
|
-
|
|
134207
|
-
|
|
134208
|
-
|
|
134209
|
-
|
|
134210
|
-
|
|
134211
|
-
|
|
134212
|
-
|
|
134213
|
-
|
|
134214
|
-
|
|
134215
|
-
|
|
134216
|
-
|
|
134217
|
-
|
|
134218
|
-
|
|
134219
|
-
|
|
134194
|
+
formatZwNode(textStr, rootNodes, pNode) {
|
|
134195
|
+
const hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
134196
|
+
const nodes = [];
|
|
134197
|
+
const formatZwText = (0,common/* formatZwTextNode */.u)(textStr);
|
|
134198
|
+
let curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
134199
|
+
let curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
|
|
134200
|
+
formatZwText.forEach(item => {
|
|
134201
|
+
if (item.iszw) {
|
|
134202
|
+
let styleIndex = curStyleIndex;
|
|
134203
|
+
let style = curTextStyle;
|
|
134204
|
+
if (curTextStyle.combineStyle.font != "himalaya") {
|
|
134205
|
+
styleIndex = curTextStyle.changeStyleString('fontFormat', "himalaya");
|
|
134206
|
+
style = hoEditorFactory.docTree.styles[styleIndex];
|
|
134207
|
+
}
|
|
134208
|
+
const styleindex = hoEditorFactory.docTree.styleCompare(style);
|
|
134209
|
+
const textNode = new TextNode/* TextNode */.E(this._hoEditorFactoryID, rootNodes ? rootNodes : hoEditorFactory.docTree.mainNodes, pNode ? pNode : null, BaseNode/* NodeType */.Z6.ntText, item.text, styleindex, undefined, item.combination);
|
|
134210
|
+
nodes.push(textNode);
|
|
134211
|
+
} else {
|
|
134212
|
+
const textNode = new TextNode/* TextNode */.E(this._hoEditorFactoryID, rootNodes ? rootNodes : hoEditorFactory.docTree.mainNodes, pNode ? pNode : null, BaseNode/* NodeType */.Z6.ntText, item.text, curStyleIndex, undefined, item.combination);
|
|
134213
|
+
nodes.push(textNode);
|
|
134214
|
+
}
|
|
134215
|
+
});
|
|
134216
|
+
return nodes;
|
|
134217
|
+
}
|
|
134220
134218
|
/**
|
|
134221
134219
|
*
|
|
134222
134220
|
* @param drawTree 绘制树
|
|
@@ -134962,8 +134960,13 @@ class TextInputFieldNode extends BaseCombineNode/* BaseCombineNode */.h {
|
|
|
134962
134960
|
}
|
|
134963
134961
|
for (let i = 0; i < lineArr.length; i++) {
|
|
134964
134962
|
const lineText = lineArr[i];
|
|
134965
|
-
|
|
134966
|
-
|
|
134963
|
+
if (/[\u0F00-\u0FFF]/.test(lineText)) {
|
|
134964
|
+
const textNodes = temp.formatZwNode(lineText, rootNodes, temp);
|
|
134965
|
+
temp.childNodes.splice(temp.childNodes.length - 1, 0, ...textNodes);
|
|
134966
|
+
} else {
|
|
134967
|
+
const textNode = new TextNode/* TextNode */.E(hoEditorFactoryID, rootNodes, temp, BaseNode/* NodeType */.Z6.ntText, lineText, styleIndex);
|
|
134968
|
+
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
|
|
134969
|
+
}
|
|
134967
134970
|
if (i < lineArr.length - 1) {
|
|
134968
134971
|
const paraNode = new ParagraphNode/* ParagraphNode */.f(hoEditorFactoryID, rootNodes, temp, 0);
|
|
134969
134972
|
paraNode.styleIndex = styleIndex;
|
|
@@ -135076,8 +135079,15 @@ class TextInputFieldNode extends BaseCombineNode/* BaseCombineNode */.h {
|
|
|
135076
135079
|
const rareCharNode = new RareCharNode/* RareCharNode */.P(temp.hoEditorFactoryID, rootNodes, temp, BaseNode/* NodeType */.Z6.ntRareChar, textArr[0], styleIndex);
|
|
135077
135080
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, rareCharNode);
|
|
135078
135081
|
} else {
|
|
135079
|
-
|
|
135080
|
-
|
|
135082
|
+
if (/[\u0F00-\u0FFF]/.test(textArr[0])) {
|
|
135083
|
+
const textNodes = temp.formatZwNode(textArr[0], rootNodes, temp);
|
|
135084
|
+
temp.childNodes.splice(temp.childNodes.length - 1, 0, ...textNodes);
|
|
135085
|
+
} else {
|
|
135086
|
+
const textNode1 = new TextNode/* TextNode */.E(hoEditorFactoryID, rootNodes, temp, BaseNode/* NodeType */.Z6.ntText, textArr[0], styleIndex);
|
|
135087
|
+
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
|
|
135088
|
+
}
|
|
135089
|
+
// const textNode1 = new TextNode(hoEditorFactoryID, rootNodes, temp, NodeType.ntText, textArr[0], styleIndex);
|
|
135090
|
+
// temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
|
|
135081
135091
|
}
|
|
135082
135092
|
}
|
|
135083
135093
|
}
|
|
@@ -135104,8 +135114,15 @@ class TextInputFieldNode extends BaseCombineNode/* BaseCombineNode */.h {
|
|
|
135104
135114
|
}
|
|
135105
135115
|
}
|
|
135106
135116
|
} else {
|
|
135107
|
-
|
|
135108
|
-
|
|
135117
|
+
if (/[\u0F00-\u0FFF]/.test(textArr[i])) {
|
|
135118
|
+
const textNodes = temp.formatZwNode(textArr[i], rootNodes, temp);
|
|
135119
|
+
temp.childNodes.splice(temp.childNodes.length - 1, 0, ...textNodes);
|
|
135120
|
+
} else {
|
|
135121
|
+
const textNode = new TextNode/* TextNode */.E(hoEditorFactoryID, rootNodes, temp, BaseNode/* NodeType */.Z6.ntText, textArr[i], styleIndex);
|
|
135122
|
+
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
|
|
135123
|
+
}
|
|
135124
|
+
// const textNode = new TextNode(hoEditorFactoryID, rootNodes, temp, NodeType.ntText, textArr[i], styleIndex);
|
|
135125
|
+
// temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
|
|
135109
135126
|
}
|
|
135110
135127
|
}
|
|
135111
135128
|
}
|
|
@@ -144513,8 +144530,13 @@ class DrawTable extends _DrawRect__WEBPACK_IMPORTED_MODULE_10__/* .DrawRect */ .
|
|
|
144513
144530
|
updateRowHeight(r) {
|
|
144514
144531
|
let dHeight = _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_6__/* .gDefaultRowHeight */ .ip;
|
|
144515
144532
|
let bottonAlignCell = new Array();
|
|
144516
|
-
const
|
|
144517
|
-
|
|
144533
|
+
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
144534
|
+
const row = this._table.rowInfos[r];
|
|
144535
|
+
if (!row) {
|
|
144536
|
+
return dHeight;
|
|
144537
|
+
}
|
|
144538
|
+
const rowPorpertyHeight = hoEditorFactory.unitConvert.mmConversionPx(row.rowProperty.rowHeight * 10, false);
|
|
144539
|
+
if (row && row.rowProperty.isSpecifyHeight) {
|
|
144518
144540
|
dHeight = rowPorpertyHeight;
|
|
144519
144541
|
}
|
|
144520
144542
|
for (let c = 0; c < this._table.colCount; c++) {
|
|
@@ -144537,7 +144559,7 @@ class DrawTable extends _DrawRect__WEBPACK_IMPORTED_MODULE_10__/* .DrawRect */ .
|
|
|
144537
144559
|
}
|
|
144538
144560
|
}
|
|
144539
144561
|
}
|
|
144540
|
-
if (dHeight !==
|
|
144562
|
+
if (dHeight !== row.rowHeight) {
|
|
144541
144563
|
if (this._table.rowInfos[r].rowProperty.isSpecifyHeight) {
|
|
144542
144564
|
if (dHeight > rowPorpertyHeight) {
|
|
144543
144565
|
this._table.rowInfos[r].rowHeight = rowPorpertyHeight;
|
|
@@ -148963,8 +148985,8 @@ class DrawTree {
|
|
|
148963
148985
|
aCell.drawCell.updateHeight();
|
|
148964
148986
|
const [r, c] = aCell.table.getCellInfos(aCell);
|
|
148965
148987
|
if (r >= 0) {
|
|
148966
|
-
const
|
|
148967
|
-
if (
|
|
148988
|
+
const row = aCell.table.rowInfos[r + aCell.rowSpan - 1];
|
|
148989
|
+
if (row && row.rowProperty.rowHeight > 0 && row.rowProperty.isLockRowHeight) {
|
|
148968
148990
|
canChangeHeight = false;
|
|
148969
148991
|
}
|
|
148970
148992
|
}
|
|
@@ -156042,23 +156064,28 @@ class NodeConvert {
|
|
|
156042
156064
|
const paraNode = new _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_13__/* .ParagraphNode */ .f(this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, hoEditorFactory.docTree.curParaNo);
|
|
156043
156065
|
nodes.push(paraNode);
|
|
156044
156066
|
}
|
|
156045
|
-
|
|
156046
|
-
|
|
156047
|
-
|
|
156048
|
-
|
|
156049
|
-
|
|
156050
|
-
|
|
156051
|
-
|
|
156052
|
-
|
|
156053
|
-
|
|
156054
|
-
|
|
156055
|
-
|
|
156056
|
-
|
|
156057
|
-
|
|
156058
|
-
|
|
156059
|
-
|
|
156060
|
-
|
|
156061
|
-
|
|
156067
|
+
if (/[\u0F00-\u0FFF]/.test(uidArr[i])) {
|
|
156068
|
+
const formatZwText = (0,_common__WEBPACK_IMPORTED_MODULE_25__/* .formatZwTextNode */ .u)(uidArr[i]);
|
|
156069
|
+
formatZwText.forEach(item => {
|
|
156070
|
+
if (item.iszw) {
|
|
156071
|
+
let styleIndex = 0;
|
|
156072
|
+
let style = hoEditorFactory.docTree.styles[styleIndex];
|
|
156073
|
+
if (style.combineStyle.font != "himalaya") {
|
|
156074
|
+
styleIndex = style.changeStyleString('fontFormat', "himalaya");
|
|
156075
|
+
style = hoEditorFactory.docTree.styles[styleIndex];
|
|
156076
|
+
}
|
|
156077
|
+
const styleindex = hoEditorFactory.docTree.styleCompare(style);
|
|
156078
|
+
const textNode = new _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__/* .TextNode */ .E(this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6.ntText, item.text, styleindex, undefined, item.combination);
|
|
156079
|
+
nodes.push(textNode);
|
|
156080
|
+
} else {
|
|
156081
|
+
const textNode = new _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__/* .TextNode */ .E(this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6.ntText, item.text, 0);
|
|
156082
|
+
nodes.push(textNode);
|
|
156083
|
+
}
|
|
156084
|
+
});
|
|
156085
|
+
} else {
|
|
156086
|
+
const textNode = new _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__/* .TextNode */ .E(this._hoEditorFactoryID, hoEditorFactory.docTree.mainNodes, null, _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6.ntText, uidArr[i], 0);
|
|
156087
|
+
nodes.push(textNode);
|
|
156088
|
+
}
|
|
156062
156089
|
}
|
|
156063
156090
|
}
|
|
156064
156091
|
return nodes;
|
|
@@ -156637,8 +156664,8 @@ class UnitConvert {
|
|
|
156637
156664
|
|
|
156638
156665
|
"use strict";
|
|
156639
156666
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
156640
|
-
/* harmony export */
|
|
156641
|
-
/* harmony export */
|
|
156667
|
+
/* harmony export */ q: function() { return /* binding */ appendPrevTextResult; },
|
|
156668
|
+
/* harmony export */ u: function() { return /* binding */ formatZwTextNode; }
|
|
156642
156669
|
/* harmony export */ });
|
|
156643
156670
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44114);
|
|
156644
156671
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -156680,7 +156707,7 @@ const appendPrevTextResult = (prevText, prevCombination, nextText) => {
|
|
|
156680
156707
|
* @param text 要分析的字符串
|
|
156681
156708
|
* @returns 包含分类结果的对象
|
|
156682
156709
|
*/
|
|
156683
|
-
const
|
|
156710
|
+
const formatZwTextNode = text => {
|
|
156684
156711
|
const chars = Array.from(text);
|
|
156685
156712
|
const result = [];
|
|
156686
156713
|
let prev = true;
|
|
@@ -158362,7 +158389,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
158362
158389
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
158363
158390
|
|
|
158364
158391
|
var map = {
|
|
158365
|
-
"./ControlModal.vue":
|
|
158392
|
+
"./ControlModal.vue": 54584,
|
|
158366
158393
|
"./barCode/BarCodes.vue": 41685,
|
|
158367
158394
|
"./colorPicker/HoColorPicker.vue": 53071,
|
|
158368
158395
|
"./colorPicker/HoColorPickers.vue": 2637,
|
|
@@ -217329,8 +217356,8 @@ class entry_lib_HTMLconverter2 {
|
|
|
217329
217356
|
const node = this.generateTextNode(text, styleobj);
|
|
217330
217357
|
if (!combination && /[\u0F00-\u0FFF]/.test(text)) {
|
|
217331
217358
|
// 阿萨德发生ཅྕཻཅ༢༣ཻཆཻའཻasdfasdf12312
|
|
217332
|
-
const
|
|
217333
|
-
const nodes = this.generateTextNodeList(
|
|
217359
|
+
const formatZwText = (0,entry_lib_common/* formatZwTextNode */.u)(text);
|
|
217360
|
+
const nodes = this.generateTextNodeList(formatZwText, styleobj);
|
|
217334
217361
|
return nodes;
|
|
217335
217362
|
} else if (combination && ctext && node) {
|
|
217336
217363
|
node.combination = combination.split(",");
|
|
@@ -222236,6 +222263,7 @@ const entry_lib_initLanguage = async (lang, languageList) => {
|
|
|
222236
222263
|
|
|
222237
222264
|
|
|
222238
222265
|
|
|
222266
|
+
|
|
222239
222267
|
|
|
222240
222268
|
|
|
222241
222269
|
// import pd from '@/plugins/pretty-data';
|
|
@@ -224816,8 +224844,8 @@ class entry_lib_VueController {
|
|
|
224816
224844
|
const lines = text.split('\n');
|
|
224817
224845
|
for (let i = 0; i < lines.length; i++) {
|
|
224818
224846
|
if (lines[i] != '') {
|
|
224819
|
-
const
|
|
224820
|
-
|
|
224847
|
+
const formatZwText = (0,entry_lib_common/* formatZwTextNode */.u)(lines[i]);
|
|
224848
|
+
formatZwText.forEach(item => {
|
|
224821
224849
|
if (item.iszw) {
|
|
224822
224850
|
let styleIndex = curStyleIndex;
|
|
224823
224851
|
let style = curTextStyle;
|
|
@@ -227601,6 +227629,114 @@ class entry_lib_VueController {
|
|
|
227601
227629
|
console.warn('未找到对应的元素');
|
|
227602
227630
|
}
|
|
227603
227631
|
}
|
|
227632
|
+
async updateEelementTextByInnercode(innerIdentifier, text) {
|
|
227633
|
+
const nodes = this.getNodesByInnercode('all', true, innerIdentifier);
|
|
227634
|
+
await this.updateElementTextXml(nodes, text);
|
|
227635
|
+
}
|
|
227636
|
+
//元素替换
|
|
227637
|
+
async updateElementTextXml(nodes, text) {
|
|
227638
|
+
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
227639
|
+
const xml = hoEditorFactory.structureConvert.replaceNodesName(text);
|
|
227640
|
+
const x2js = new (entry_lib_x2js_default())({
|
|
227641
|
+
stripWhitespaces: false
|
|
227642
|
+
});
|
|
227643
|
+
if (nodes.length > 0) {
|
|
227644
|
+
for (let i = nodes.length - 1; i >= 0; i--) {
|
|
227645
|
+
const node = nodes[i];
|
|
227646
|
+
if (node) {
|
|
227647
|
+
if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y || node instanceof entry_lib_DownListNode/* DownListNode */.dS || node instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM) {
|
|
227648
|
+
if (node.notReplaceElement) {
|
|
227649
|
+
continue;
|
|
227650
|
+
}
|
|
227651
|
+
if (node instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM) {
|
|
227652
|
+
if (text.includes("<TextInputFieldNode>")) {
|
|
227653
|
+
const json = x2js.xml2js(xml);
|
|
227654
|
+
const childNodes = new Array();
|
|
227655
|
+
const getChildNodes = item => {
|
|
227656
|
+
if (Array.isArray(item)) {
|
|
227657
|
+
//数组
|
|
227658
|
+
for (let i = 1; i < item.length - 1; i++) {
|
|
227659
|
+
const anode = hoEditorFactory.structureConvert.convertNode(item[i], node.rootNodes, node);
|
|
227660
|
+
if (anode) {
|
|
227661
|
+
if (anode instanceof entry_lib_TextNode/* TextNode */.E) {
|
|
227662
|
+
if (anode.text.length > [...anode.text].length) {
|
|
227663
|
+
//特殊处理生僻字
|
|
227664
|
+
const rareCharNode = new entry_lib_RareCharNode/* RareCharNode */.P(node.hoEditorFactoryID, anode.rootNodes, node, entry_lib_BaseNode/* NodeType */.Z6.ntRareChar, anode.text, anode.styleIndex);
|
|
227665
|
+
childNodes.push(rareCharNode);
|
|
227666
|
+
} else {
|
|
227667
|
+
if (anode.text !== '' && anode.text !== '' && anode.text !== '' && anode.text !== '' && anode.text !== '' && anode.text !== '') {
|
|
227668
|
+
childNodes.push(anode);
|
|
227669
|
+
}
|
|
227670
|
+
}
|
|
227671
|
+
} else {
|
|
227672
|
+
childNodes.push(anode);
|
|
227673
|
+
}
|
|
227674
|
+
}
|
|
227675
|
+
}
|
|
227676
|
+
} else {
|
|
227677
|
+
//单个对象
|
|
227678
|
+
const bnode = hoEditorFactory.structureConvert.convertNode(item, node.rootNodes, node);
|
|
227679
|
+
if (bnode) {
|
|
227680
|
+
if (bnode instanceof entry_lib_TextNode/* TextNode */.E) {
|
|
227681
|
+
if (bnode.text.length > [...bnode.text].length) {
|
|
227682
|
+
//特殊处理生僻字
|
|
227683
|
+
const rareCharNode = new entry_lib_RareCharNode/* RareCharNode */.P(node.hoEditorFactoryID, bnode.rootNodes, node, entry_lib_BaseNode/* NodeType */.Z6.ntRareChar, bnode.text, bnode.styleIndex);
|
|
227684
|
+
childNodes.push(rareCharNode);
|
|
227685
|
+
} else {
|
|
227686
|
+
if (bnode.text !== '' && bnode.text !== '' && bnode.text !== '' && bnode.text !== '' && bnode.text !== '' && bnode.text !== '') {
|
|
227687
|
+
childNodes.push(bnode);
|
|
227688
|
+
}
|
|
227689
|
+
}
|
|
227690
|
+
} else {
|
|
227691
|
+
childNodes.push(bnode);
|
|
227692
|
+
}
|
|
227693
|
+
}
|
|
227694
|
+
}
|
|
227695
|
+
};
|
|
227696
|
+
getChildNodes(json.node.childNodes.node);
|
|
227697
|
+
const spath = node.StartMarkNode.getNodePath();
|
|
227698
|
+
const epath = node.EndMarkNode.getNodePath();
|
|
227699
|
+
const range = new entry_lib_DomRange/* DomRange */.g(this._hoEditorFactoryID, spath, epath);
|
|
227700
|
+
hoEditorFactory.docController.deleteRange(range, true, "update");
|
|
227701
|
+
node.childNodes.splice(1, 0, ...childNodes);
|
|
227702
|
+
node.update(0);
|
|
227703
|
+
} else {
|
|
227704
|
+
if (text.includes("<MedicalExpress>")) {
|
|
227705
|
+
node.childNodes.splice(1, node.childNodes.length - 2);
|
|
227706
|
+
const nodes = this.text2MedicalExpress(text, node.StartMarkNode, node.StartMarkNode.styleIndex);
|
|
227707
|
+
for (let k = 0; k < nodes.length; k++) {
|
|
227708
|
+
node.childNodes.splice(1 + k, 0, nodes[k]);
|
|
227709
|
+
}
|
|
227710
|
+
node.update(0);
|
|
227711
|
+
return;
|
|
227712
|
+
} else {
|
|
227713
|
+
await node.setFieldText(text);
|
|
227714
|
+
}
|
|
227715
|
+
}
|
|
227716
|
+
} else if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
|
|
227717
|
+
if (text.includes("<DateTimeNode>")) {
|
|
227718
|
+
const json = x2js.xml2js(xml);
|
|
227719
|
+
text = json.node.text;
|
|
227720
|
+
}
|
|
227721
|
+
await node.setDateTimeText(text);
|
|
227722
|
+
} else if (node instanceof entry_lib_DownListNode/* DownListNode */.dS) {
|
|
227723
|
+
if (text.includes("<DownListNode>")) {
|
|
227724
|
+
const json = x2js.xml2js(xml);
|
|
227725
|
+
text = json.node.text;
|
|
227726
|
+
}
|
|
227727
|
+
await node.setDownListText(text);
|
|
227728
|
+
}
|
|
227729
|
+
} else {
|
|
227730
|
+
console.warn(`非文本域和日期元素`);
|
|
227731
|
+
}
|
|
227732
|
+
} else {
|
|
227733
|
+
console.warn('未找到对应的元素');
|
|
227734
|
+
}
|
|
227735
|
+
}
|
|
227736
|
+
} else {
|
|
227737
|
+
console.warn('未找到对应的元素');
|
|
227738
|
+
}
|
|
227739
|
+
}
|
|
227604
227740
|
updateFirstPageHeader() {
|
|
227605
227741
|
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
227606
227742
|
const area = hoEditorFactory.drawPageTree.drawHeaders[0];
|
|
@@ -230543,21 +230679,38 @@ class entry_lib_VueController {
|
|
|
230543
230679
|
backFillTableData(index, data) {
|
|
230544
230680
|
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
230545
230681
|
let table = null;
|
|
230546
|
-
|
|
230547
|
-
|
|
230548
|
-
const
|
|
230549
|
-
|
|
230550
|
-
|
|
230551
|
-
|
|
230552
|
-
|
|
230553
|
-
|
|
230682
|
+
if (index === -1) {
|
|
230683
|
+
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
230684
|
+
const [isInTable, tableNode] = hoEditorFactory.vueController.getDomRange().inSameTable();
|
|
230685
|
+
table = tableNode;
|
|
230686
|
+
} else {
|
|
230687
|
+
let i = 0;
|
|
230688
|
+
for (let k = 0; k < hoEditorFactory.docTree.mainNodes.length; k++) {
|
|
230689
|
+
const node = hoEditorFactory.docTree.mainNodes[k];
|
|
230690
|
+
if (node instanceof entry_lib_TableNode/* TableNode */.HA) {
|
|
230691
|
+
i++;
|
|
230692
|
+
if (i === index) {
|
|
230693
|
+
table = node;
|
|
230694
|
+
break;
|
|
230695
|
+
}
|
|
230554
230696
|
}
|
|
230555
230697
|
}
|
|
230556
230698
|
}
|
|
230557
230699
|
if (table) {
|
|
230558
230700
|
let rowIndex = this.getTableTitleMaxRowIndex(table);
|
|
230701
|
+
const cellInfo = {
|
|
230702
|
+
rowNo: [],
|
|
230703
|
+
colNo: []
|
|
230704
|
+
};
|
|
230705
|
+
table.childNodes.forEach(cell => {
|
|
230706
|
+
if (table && cell && cell instanceof entry_lib_CellNode/* CellNode */.H && cell.cellProperty.notAllowEdit) {
|
|
230707
|
+
cellInfo.rowNo.push(table.rows.indexOf(cell.row));
|
|
230708
|
+
cellInfo.colNo.push(cell.row.indexOf(cell));
|
|
230709
|
+
}
|
|
230710
|
+
});
|
|
230711
|
+
const maxRowNo = Math.max(...cellInfo.rowNo);
|
|
230559
230712
|
if (rowIndex === -1) {
|
|
230560
|
-
rowIndex = 0;
|
|
230713
|
+
rowIndex = maxRowNo || 0;
|
|
230561
230714
|
}
|
|
230562
230715
|
let rowCellNum = 0;
|
|
230563
230716
|
for (let r = 0; r <= rowIndex; r++) {
|
|
@@ -230610,6 +230763,111 @@ class entry_lib_VueController {
|
|
|
230610
230763
|
table.update();
|
|
230611
230764
|
}
|
|
230612
230765
|
}
|
|
230766
|
+
/**
|
|
230767
|
+
* 回填表格数据
|
|
230768
|
+
* @param index 第几个表格
|
|
230769
|
+
* @param data 回填的数据
|
|
230770
|
+
*/
|
|
230771
|
+
backFillTableDataV2(data, direction) {
|
|
230772
|
+
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
230773
|
+
const [isInTable, tableNode] = hoEditorFactory.vueController.getDomRange().inSameTable();
|
|
230774
|
+
if (data.length == 0) return false;
|
|
230775
|
+
let maxCount = data[0].length; // 一组的最大数 行或者列
|
|
230776
|
+
if (isInTable && tableNode) {
|
|
230777
|
+
const cellInfo = {
|
|
230778
|
+
rowNo: [],
|
|
230779
|
+
colNo: []
|
|
230780
|
+
};
|
|
230781
|
+
tableNode.childNodes.forEach(cell => {
|
|
230782
|
+
if (cell && cell instanceof entry_lib_CellNode/* CellNode */.H && cell.cellProperty.notAllowEdit) {
|
|
230783
|
+
cellInfo.rowNo.push(tableNode.rows.indexOf(cell.row));
|
|
230784
|
+
cellInfo.colNo.push(cell.row.indexOf(cell));
|
|
230785
|
+
}
|
|
230786
|
+
});
|
|
230787
|
+
const maxRowNo = Math.max(...cellInfo.rowNo);
|
|
230788
|
+
const maxColNo = Math.max(...cellInfo.colNo);
|
|
230789
|
+
let hasTextColIndex = 0; // 找出最后一列不能回填的
|
|
230790
|
+
let hasTextRowIndex = 0;
|
|
230791
|
+
if (direction == "L") {
|
|
230792
|
+
// 横向显示 查找标题行或者不可编辑的单元格行
|
|
230793
|
+
let rowIndex = this.getTableTitleMaxRowIndex(tableNode);
|
|
230794
|
+
rowIndex = Math.max(maxRowNo, rowIndex) + 1; // 标题行和包含不可编辑的单元格行对比取出最大的行号当做标题行的结束行
|
|
230795
|
+
for (let r = rowIndex; r < tableNode.rowCount; r++) {
|
|
230796
|
+
for (let c = 0; c < tableNode.colCount; c++) {
|
|
230797
|
+
const cell = tableNode.rows[r][c];
|
|
230798
|
+
if (cell && cell.getCellText()) {
|
|
230799
|
+
hasTextColIndex = c;
|
|
230800
|
+
hasTextRowIndex = r;
|
|
230801
|
+
}
|
|
230802
|
+
}
|
|
230803
|
+
}
|
|
230804
|
+
hasTextRowIndex++;
|
|
230805
|
+
if (hasTextRowIndex != rowIndex) {
|
|
230806
|
+
// 类标题行行号 不等于 有内容行行号时候 差值补空方便从正文行正常回填
|
|
230807
|
+
for (let e = 0; e < hasTextRowIndex - rowIndex; e++) {
|
|
230808
|
+
data.unshift(' '.repeat(maxCount - 1).split(" "));
|
|
230809
|
+
if (e == hasTextRowIndex - rowIndex - 1 && hasTextColIndex > maxCount) {
|
|
230810
|
+
data.unshift(' '.repeat(maxCount - 1).split(" "));
|
|
230811
|
+
}
|
|
230812
|
+
}
|
|
230813
|
+
}
|
|
230814
|
+
// 处理
|
|
230815
|
+
this.backFillTableData(-1, data.flat());
|
|
230816
|
+
} else if (direction == "V") {
|
|
230817
|
+
// 纵向显示 查找不可编辑的单元格列
|
|
230818
|
+
for (let r = 0; r < tableNode.rowCount; r++) {
|
|
230819
|
+
for (let c = maxColNo + 1; c < tableNode.colCount; c++) {
|
|
230820
|
+
const cell = tableNode.rows[r][c];
|
|
230821
|
+
if (cell && cell.getCellText()) {
|
|
230822
|
+
hasTextColIndex = c;
|
|
230823
|
+
hasTextRowIndex = r;
|
|
230824
|
+
}
|
|
230825
|
+
}
|
|
230826
|
+
}
|
|
230827
|
+
hasTextColIndex++;
|
|
230828
|
+
let colIndex = maxColNo + 1; // 包含不可编辑的单元格列当做标题列的结束列 -- 由于不存在标题列属性设置,以不可编辑单元格所在列当作标题列处理
|
|
230829
|
+
if (hasTextColIndex != colIndex) {
|
|
230830
|
+
// 类标题列行号 不等于 有内容列行号时候 差值补空方便从正文行正常回填
|
|
230831
|
+
for (let e = 0; e < hasTextColIndex - colIndex; e++) {
|
|
230832
|
+
data.unshift(' '.repeat(maxCount - 1).split(" "));
|
|
230833
|
+
}
|
|
230834
|
+
}
|
|
230835
|
+
const diffCount = Math.ceil((data.length - (tableNode.colCount - colIndex) * tableNode.rowCount / maxCount) / (tableNode.colCount - colIndex));
|
|
230836
|
+
for (let d = 0; d < diffCount; d++) {
|
|
230837
|
+
for (let k = 0; k < maxCount; k++) {
|
|
230838
|
+
tableNode.insertRows(tableNode.rowCount, 1, k, maxColNo);
|
|
230839
|
+
}
|
|
230840
|
+
}
|
|
230841
|
+
// 判断起始行是否从第几组开始 回填内容多组
|
|
230842
|
+
let startRowIndex = Math.floor(hasTextRowIndex / maxCount) * maxCount;
|
|
230843
|
+
for (let k = 0; k < data.length; k++) {
|
|
230844
|
+
let group = Math.floor(k / (tableNode.colCount - colIndex));
|
|
230845
|
+
for (let y = 0; y < maxCount; y++) {
|
|
230846
|
+
let rowNo = 0;
|
|
230847
|
+
let colNo = 0;
|
|
230848
|
+
rowNo = startRowIndex + group * maxCount + y;
|
|
230849
|
+
colNo = colIndex + k % (tableNode.colCount - colIndex);
|
|
230850
|
+
const newText = data[k][y];
|
|
230851
|
+
if (newText && rowNo < tableNode.rowCount && colNo < tableNode.colCount) {
|
|
230852
|
+
const cell = tableNode.rows[rowNo][colNo];
|
|
230853
|
+
if (cell) {
|
|
230854
|
+
cell.childNodes.splice(1, cell.childNodes.length);
|
|
230855
|
+
const textNode = new entry_lib_TextNode/* TextNode */.E(this._hoEditorFactoryID, tableNode.rootNodes, cell, entry_lib_BaseNode/* NodeType */.Z6.ntText, newText, cell.childNodes[0].styleIndex);
|
|
230856
|
+
cell.drawCell.needUpdate = true;
|
|
230857
|
+
cell.childNodes.push(textNode);
|
|
230858
|
+
}
|
|
230859
|
+
} else {
|
|
230860
|
+
// console.log(rowNo, colNo);
|
|
230861
|
+
}
|
|
230862
|
+
}
|
|
230863
|
+
}
|
|
230864
|
+
tableNode.update();
|
|
230865
|
+
}
|
|
230866
|
+
return true;
|
|
230867
|
+
} else {
|
|
230868
|
+
return false;
|
|
230869
|
+
}
|
|
230870
|
+
}
|
|
230613
230871
|
clacFormula(cell, formulaStr) {
|
|
230614
230872
|
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
230615
230873
|
let strRet = '';
|
|
@@ -242179,7 +242437,7 @@ var entry_lib_HoFooter_component = (0,entry_lib_componentNormalizer/* default */
|
|
|
242179
242437
|
|
|
242180
242438
|
/* harmony default export */ var entry_lib_HoFooter = (entry_lib_HoFooter_component.exports);
|
|
242181
242439
|
// EXTERNAL MODULE: ./src/components/controls/ControlModal.vue + 3 modules
|
|
242182
|
-
var entry_lib_ControlModal = __webpack_require__(
|
|
242440
|
+
var entry_lib_ControlModal = __webpack_require__(54584);
|
|
242183
242441
|
// EXTERNAL MODULE: ./src/components/controls/findReplace/FindReplace.vue + 6 modules
|
|
242184
242442
|
var entry_lib_FindReplace = __webpack_require__(12004);
|
|
242185
242443
|
;// ./src/components/controls/findReplace/index.ts
|
|
@@ -245977,9 +246235,9 @@ var entry_lib_ToolBarChild_component = (0,entry_lib_componentNormalizer/* defaul
|
|
|
245977
246235
|
)
|
|
245978
246236
|
|
|
245979
246237
|
/* harmony default export */ var entry_lib_ToolBarChild = (entry_lib_ToolBarChild_component.exports);
|
|
245980
|
-
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=
|
|
246238
|
+
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=20b75142
|
|
245981
246239
|
|
|
245982
|
-
var
|
|
246240
|
+
var entry_lib_ToolControlvue_type_template_id_20b75142_render = function render() {
|
|
245983
246241
|
var _vm = this,
|
|
245984
246242
|
_c = _vm._self._c;
|
|
245985
246243
|
return _c('div', {
|
|
@@ -246320,9 +246578,9 @@ var entry_lib_ToolControlvue_type_template_id_0739e56c_render = function render(
|
|
|
246320
246578
|
}
|
|
246321
246579
|
}, [_c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.324", null, "特殊字符"))])]) : _vm._e()], 2);
|
|
246322
246580
|
};
|
|
246323
|
-
var
|
|
246581
|
+
var entry_lib_ToolControlvue_type_template_id_20b75142_staticRenderFns = [];
|
|
246324
246582
|
|
|
246325
|
-
;// ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=
|
|
246583
|
+
;// ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=20b75142
|
|
246326
246584
|
|
|
246327
246585
|
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=template&id=6b089050
|
|
246328
246586
|
|
|
@@ -246624,6 +246882,8 @@ var entry_lib_ajax = __webpack_require__(46887);
|
|
|
246624
246882
|
|
|
246625
246883
|
|
|
246626
246884
|
|
|
246885
|
+
// import { $HoFormula } from '@/components/common/hoformula';
|
|
246886
|
+
|
|
246627
246887
|
/* harmony default export */ var entry_lib_ToolControlvue_type_script_lang_js = ({
|
|
246628
246888
|
name: 'ToolControl',
|
|
246629
246889
|
components: {
|
|
@@ -246776,8 +247036,8 @@ var entry_lib_ajax = __webpack_require__(46887);
|
|
|
246776
247036
|
;
|
|
246777
247037
|
var entry_lib_ToolControl_component = (0,entry_lib_componentNormalizer/* default */.A)(
|
|
246778
247038
|
entry_lib_insert_ToolControlvue_type_script_lang_js,
|
|
246779
|
-
|
|
246780
|
-
|
|
247039
|
+
entry_lib_ToolControlvue_type_template_id_20b75142_render,
|
|
247040
|
+
entry_lib_ToolControlvue_type_template_id_20b75142_staticRenderFns,
|
|
246781
247041
|
false,
|
|
246782
247042
|
null,
|
|
246783
247043
|
null,
|