hoeditor-web 3.1.129 → 3.1.130
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 +4296 -1
- package/lib/hoeditor.umd.js +177 -187
- package/lib/hoeditor.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -12982,7 +12982,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
12982
12982
|
|
|
12983
12983
|
/***/ }),
|
|
12984
12984
|
|
|
12985
|
-
/***/
|
|
12985
|
+
/***/ 84531:
|
|
12986
12986
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
12987
12987
|
|
|
12988
12988
|
"use strict";
|
|
@@ -12994,7 +12994,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12994
12994
|
"default": function() { return /* binding */ PoperTipText; }
|
|
12995
12995
|
});
|
|
12996
12996
|
|
|
12997
|
-
;// 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/poperTipText/PoperTipText.vue?vue&type=template&id=
|
|
12997
|
+
;// 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/poperTipText/PoperTipText.vue?vue&type=template&id=404c662a&
|
|
12998
12998
|
var render = function render() {
|
|
12999
12999
|
var _vm = this,
|
|
13000
13000
|
_c = _vm._self._c;
|
|
@@ -13166,10 +13166,10 @@ var popper = __webpack_require__(95551);
|
|
|
13166
13166
|
});
|
|
13167
13167
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=script&lang=js&
|
|
13168
13168
|
/* harmony default export */ var poperTipText_PoperTipTextvue_type_script_lang_js_ = (PoperTipTextvue_type_script_lang_js_);
|
|
13169
|
-
;// 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/controls/poperTipText/PoperTipText.vue?vue&type=style&index=0&id=
|
|
13169
|
+
;// 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/controls/poperTipText/PoperTipText.vue?vue&type=style&index=0&id=404c662a&prod&lang=less&
|
|
13170
13170
|
// extracted by mini-css-extract-plugin
|
|
13171
13171
|
|
|
13172
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=style&index=0&id=
|
|
13172
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/PoperTipText.vue?vue&type=style&index=0&id=404c662a&prod&lang=less&
|
|
13173
13173
|
|
|
13174
13174
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
13175
13175
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -19741,7 +19741,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
19741
19741
|
|
|
19742
19742
|
/***/ }),
|
|
19743
19743
|
|
|
19744
|
-
/***/
|
|
19744
|
+
/***/ 16154:
|
|
19745
19745
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19746
19746
|
|
|
19747
19747
|
"use strict";
|
|
@@ -19761,7 +19761,7 @@ var es_array_includes = __webpack_require__(26699);
|
|
|
19761
19761
|
var es_string_includes = __webpack_require__(32023);
|
|
19762
19762
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
19763
19763
|
var es_number_constructor = __webpack_require__(9653);
|
|
19764
|
-
;// 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/table/TableColProperty.vue?vue&type=template&id=
|
|
19764
|
+
;// 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/table/TableColProperty.vue?vue&type=template&id=0e76e24b&
|
|
19765
19765
|
|
|
19766
19766
|
|
|
19767
19767
|
|
|
@@ -19847,6 +19847,20 @@ var render = function render() {
|
|
|
19847
19847
|
}
|
|
19848
19848
|
}, [_vm._v("签名完成后锁定列")])], 1)]), _c('li', {
|
|
19849
19849
|
staticClass: "control-item"
|
|
19850
|
+
}, [_c('div', {
|
|
19851
|
+
staticStyle: {
|
|
19852
|
+
"padding-right": "20px"
|
|
19853
|
+
}
|
|
19854
|
+
}, [_c('a-checkbox', {
|
|
19855
|
+
model: {
|
|
19856
|
+
value: _vm.addWithDefaultValue,
|
|
19857
|
+
callback: function callback($$v) {
|
|
19858
|
+
_vm.addWithDefaultValue = $$v;
|
|
19859
|
+
},
|
|
19860
|
+
expression: "addWithDefaultValue"
|
|
19861
|
+
}
|
|
19862
|
+
}, [_vm._v("新增时自动带出第一行默认值")])], 1)]), _c('li', {
|
|
19863
|
+
staticClass: "control-item"
|
|
19850
19864
|
}, [_c('span', {
|
|
19851
19865
|
staticClass: "label"
|
|
19852
19866
|
}, [_vm._v("编辑器属性")]), _c('a-select', {
|
|
@@ -19897,13 +19911,7 @@ var render = function render() {
|
|
|
19897
19911
|
attrs: {
|
|
19898
19912
|
"value": 6
|
|
19899
19913
|
}
|
|
19900
|
-
}, [_vm._v("序号")])], 1)], 1), _c('li', {
|
|
19901
|
-
directives: [{
|
|
19902
|
-
name: "show",
|
|
19903
|
-
rawName: "v-show",
|
|
19904
|
-
value: _vm.editorProperty === 4,
|
|
19905
|
-
expression: "editorProperty === 4"
|
|
19906
|
-
}],
|
|
19914
|
+
}, [_vm._v("序号")])], 1)], 1), _vm.editorProperty === 4 ? _c('li', {
|
|
19907
19915
|
staticClass: "control-item"
|
|
19908
19916
|
}, [_c('div', {
|
|
19909
19917
|
staticClass: "control-item"
|
|
@@ -19920,13 +19928,7 @@ var render = function render() {
|
|
|
19920
19928
|
},
|
|
19921
19929
|
expression: "name"
|
|
19922
19930
|
}
|
|
19923
|
-
})], 1)])
|
|
19924
|
-
directives: [{
|
|
19925
|
-
name: "show",
|
|
19926
|
-
rawName: "v-show",
|
|
19927
|
-
value: _vm.editorProperty === 1,
|
|
19928
|
-
expression: "editorProperty === 1"
|
|
19929
|
-
}],
|
|
19931
|
+
})], 1)]) : _vm.editorProperty === 1 ? [_c('li', {
|
|
19930
19932
|
staticClass: "control-item"
|
|
19931
19933
|
}, [_c('div', {
|
|
19932
19934
|
staticClass: "control-item"
|
|
@@ -19968,12 +19970,6 @@ var render = function render() {
|
|
|
19968
19970
|
"value": "-"
|
|
19969
19971
|
}
|
|
19970
19972
|
}, [_vm._v("-")])], 1)], 1)]), _c('li', {
|
|
19971
|
-
directives: [{
|
|
19972
|
-
name: "show",
|
|
19973
|
-
rawName: "v-show",
|
|
19974
|
-
value: _vm.editorProperty === 1,
|
|
19975
|
-
expression: "editorProperty === 1"
|
|
19976
|
-
}],
|
|
19977
19973
|
staticClass: "control-item"
|
|
19978
19974
|
}, [_c('a-checkbox', {
|
|
19979
19975
|
model: {
|
|
@@ -20000,12 +19996,6 @@ var render = function render() {
|
|
|
20000
19996
|
expression: "canModifyContent"
|
|
20001
19997
|
}
|
|
20002
19998
|
}, [_vm._v("用户可以直接编辑修改内容")])], 1), _c('li', {
|
|
20003
|
-
directives: [{
|
|
20004
|
-
name: "show",
|
|
20005
|
-
rawName: "v-show",
|
|
20006
|
-
value: _vm.editorProperty === 1,
|
|
20007
|
-
expression: "editorProperty === 1"
|
|
20008
|
-
}],
|
|
20009
19999
|
staticClass: "control-item"
|
|
20010
20000
|
}, [_c('a-table', {
|
|
20011
20001
|
staticStyle: {
|
|
@@ -20126,13 +20116,7 @@ var render = function render() {
|
|
|
20126
20116
|
}, [_vm._v("删除")]) : _vm._e()];
|
|
20127
20117
|
}
|
|
20128
20118
|
}])
|
|
20129
|
-
})], 1)], 1)
|
|
20130
|
-
directives: [{
|
|
20131
|
-
name: "show",
|
|
20132
|
-
rawName: "v-show",
|
|
20133
|
-
value: _vm.editorProperty === 2,
|
|
20134
|
-
expression: "editorProperty === 2"
|
|
20135
|
-
}],
|
|
20119
|
+
})], 1)], 1)] : _vm.editorProperty === 2 ? [_c('li', {
|
|
20136
20120
|
staticClass: "control-item"
|
|
20137
20121
|
}, [_c('div', {
|
|
20138
20122
|
staticClass: "control-item"
|
|
@@ -20161,12 +20145,6 @@ var render = function render() {
|
|
|
20161
20145
|
}
|
|
20162
20146
|
}, [_vm._v(_vm._s(item))]);
|
|
20163
20147
|
}), 1)], 1)]), _c('div', {
|
|
20164
|
-
directives: [{
|
|
20165
|
-
name: "show",
|
|
20166
|
-
rawName: "v-show",
|
|
20167
|
-
value: _vm.editorProperty === 2,
|
|
20168
|
-
expression: "editorProperty === 2"
|
|
20169
|
-
}],
|
|
20170
20148
|
staticClass: "control-item"
|
|
20171
20149
|
}, [_c('a-checkbox', {
|
|
20172
20150
|
model: {
|
|
@@ -20176,13 +20154,7 @@ var render = function render() {
|
|
|
20176
20154
|
},
|
|
20177
20155
|
expression: "isAutoInputCurDate"
|
|
20178
20156
|
}
|
|
20179
|
-
}, [_vm._v("新增行自动填入当前日期时间")])], 1)
|
|
20180
|
-
directives: [{
|
|
20181
|
-
name: "show",
|
|
20182
|
-
rawName: "v-show",
|
|
20183
|
-
value: _vm.editorProperty === 3,
|
|
20184
|
-
expression: "editorProperty === 3"
|
|
20185
|
-
}],
|
|
20157
|
+
}, [_vm._v("新增行自动填入当前日期时间")])], 1)] : _vm.editorProperty === 3 ? _c('li', {
|
|
20186
20158
|
staticClass: "control-item"
|
|
20187
20159
|
}, [_c('div', {
|
|
20188
20160
|
staticClass: "control-item"
|
|
@@ -20219,7 +20191,7 @@ var render = function render() {
|
|
|
20219
20191
|
},
|
|
20220
20192
|
expression: "maxNumVal"
|
|
20221
20193
|
}
|
|
20222
|
-
})], 1)])])]), _c('footer', {
|
|
20194
|
+
})], 1)]) : _vm._e()], 2)]), _c('footer', {
|
|
20223
20195
|
staticClass: "ho-modal-footer"
|
|
20224
20196
|
}, [_c('a-button', {
|
|
20225
20197
|
attrs: {
|
|
@@ -20239,7 +20211,7 @@ var render = function render() {
|
|
|
20239
20211
|
};
|
|
20240
20212
|
var staticRenderFns = [];
|
|
20241
20213
|
|
|
20242
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=template&id=
|
|
20214
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=template&id=0e76e24b&
|
|
20243
20215
|
|
|
20244
20216
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
20245
20217
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -20321,6 +20293,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
20321
20293
|
isAutoInputCurDate: false,
|
|
20322
20294
|
allowMultiSelected: false,
|
|
20323
20295
|
splitCharacter: ',',
|
|
20296
|
+
addWithDefaultValue: false,
|
|
20324
20297
|
errorArr: [],
|
|
20325
20298
|
errorIndex: [],
|
|
20326
20299
|
focusIndexs: -1,
|
|
@@ -20383,6 +20356,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
20383
20356
|
this.width = colProperty.width ? colProperty.width : 0;
|
|
20384
20357
|
this.isSpecifyWidth = colProperty.isSpecifyWidth ? true : false;
|
|
20385
20358
|
this.isSignLock = colProperty.isSignLock ? true : false;
|
|
20359
|
+
this.addWithDefaultValue = colProperty.addWithDefaultValue ? true : false;
|
|
20386
20360
|
if (colProperty.downListProperty) {
|
|
20387
20361
|
var listKeyId = this.getKeyId(0);
|
|
20388
20362
|
var list = [{
|
|
@@ -20529,7 +20503,8 @@ var getCellNode = __webpack_require__(5986);
|
|
|
20529
20503
|
width: this.width,
|
|
20530
20504
|
isSpecifyWidth: this.isSpecifyWidth,
|
|
20531
20505
|
customProperties: this.customProperties,
|
|
20532
|
-
isSignLock: this.isSignLock
|
|
20506
|
+
isSignLock: this.isSignLock,
|
|
20507
|
+
addWithDefaultValue: this.addWithDefaultValue
|
|
20533
20508
|
};
|
|
20534
20509
|
Object.keys(params).forEach(function (key) {
|
|
20535
20510
|
if (JSON.stringify(_this2[key]) !== JSON.stringify(_this2.defaultColProperty[key])) {
|
|
@@ -20539,7 +20514,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
20539
20514
|
var cellNode = this.getCellNodes();
|
|
20540
20515
|
var currentCols = cellNode.row.indexOf(cellNode);
|
|
20541
20516
|
var colInfoes = cellNode.table.colInfos[currentCols];
|
|
20542
|
-
this.vueController.colProperty(
|
|
20517
|
+
this.vueController.colProperty(param, colInfoes);
|
|
20543
20518
|
this.$nextTick(function () {
|
|
20544
20519
|
return _this2.handleClose();
|
|
20545
20520
|
});
|
|
@@ -20551,10 +20526,10 @@ var getCellNode = __webpack_require__(5986);
|
|
|
20551
20526
|
});
|
|
20552
20527
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=script&lang=js&
|
|
20553
20528
|
/* harmony default export */ var table_TableColPropertyvue_type_script_lang_js_ = (TableColPropertyvue_type_script_lang_js_);
|
|
20554
|
-
;// 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/controls/table/TableColProperty.vue?vue&type=style&index=0&id=
|
|
20529
|
+
;// 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/controls/table/TableColProperty.vue?vue&type=style&index=0&id=0e76e24b&prod&lang=less&
|
|
20555
20530
|
// extracted by mini-css-extract-plugin
|
|
20556
20531
|
|
|
20557
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=style&index=0&id=
|
|
20532
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=style&index=0&id=0e76e24b&prod&lang=less&
|
|
20558
20533
|
|
|
20559
20534
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20560
20535
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -39276,10 +39251,6 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39276
39251
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
39277
39252
|
var np = hoEditorFactory.docTree.findNodePositionByPath(arange.startPath);
|
|
39278
39253
|
if (np && np.node) {
|
|
39279
|
-
// const index = np.childIndex;
|
|
39280
|
-
// if(index===-1){
|
|
39281
|
-
// }else{
|
|
39282
|
-
// }
|
|
39283
39254
|
var cell = hoEditorFactory.docTree.getParentRectNode(np.node);
|
|
39284
39255
|
if (cell && cell instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_64__/* .CellNode */ .D) {
|
|
39285
39256
|
if (hoEditorFactory.drawTree.paintStatus == _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psDesign || cell.table.tableProperty.canAddRow) {
|
|
@@ -39368,8 +39339,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39368
39339
|
var text = (0,_plugins_util__WEBPACK_IMPORTED_MODULE_99__/* .dateFormat */ .vc)(date, colProperty.dateTimeProperty.inputStyle);
|
|
39369
39340
|
newTextNode(text, k);
|
|
39370
39341
|
mark = true;
|
|
39371
|
-
}
|
|
39372
|
-
if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_65__/* .EditorProperty */ .YS.OrderNumber) {
|
|
39342
|
+
} else if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_65__/* .EditorProperty */ .YS.OrderNumber) {
|
|
39373
39343
|
var acell = cell.table.rows[index + 2][k];
|
|
39374
39344
|
if (acell) {
|
|
39375
39345
|
var ctext = acell.getCellText();
|
|
@@ -39380,6 +39350,15 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39380
39350
|
mark = true;
|
|
39381
39351
|
}
|
|
39382
39352
|
}
|
|
39353
|
+
} else if (colProperty.addWithDefaultValue) {
|
|
39354
|
+
var _acell = cell.table.rows[index + 2][k];
|
|
39355
|
+
if (_acell) {
|
|
39356
|
+
var _ctext = _acell.getCellText();
|
|
39357
|
+
if (_ctext) {
|
|
39358
|
+
newTextNode(_ctext, k);
|
|
39359
|
+
mark = true;
|
|
39360
|
+
}
|
|
39361
|
+
}
|
|
39383
39362
|
}
|
|
39384
39363
|
}
|
|
39385
39364
|
if (mark) {
|
|
@@ -39413,23 +39392,6 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39413
39392
|
hoEditorFactory.docTree.selectChange(cgEvent);
|
|
39414
39393
|
hoEditorFactory.docTree.curDomRange = newRange;
|
|
39415
39394
|
}
|
|
39416
|
-
//hoEditorFactory.drawTree.moveCaretToPath(sPath);
|
|
39417
|
-
// (cell as CellNode).table.insertRows(r, count, r);
|
|
39418
|
-
// const endPath = (cell as CellNode).table.getNodePath();
|
|
39419
|
-
// const [
|
|
39420
|
-
// dcell,
|
|
39421
|
-
// dRoots,
|
|
39422
|
-
// ] = hoEditorFactory.drawTree.getDrawRootsByPath(endPath);
|
|
39423
|
-
// const startDline = dRoots.indexOf((cell as CellNode).table.drawTable);
|
|
39424
|
-
// if (startDline >= 0) {
|
|
39425
|
-
// hoEditorFactory.redrawManger.addRedrawRange(
|
|
39426
|
-
// null,
|
|
39427
|
-
// dRoots,
|
|
39428
|
-
// startDline,
|
|
39429
|
-
// dRoots.length - 1,
|
|
39430
|
-
// endPath
|
|
39431
|
-
// );
|
|
39432
|
-
// }
|
|
39433
39395
|
} else {
|
|
39434
39396
|
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('表格已设置不允许新增行');
|
|
39435
39397
|
return;
|
|
@@ -46325,9 +46287,8 @@ var EditorProperty;
|
|
|
46325
46287
|
EditorProperty[EditorProperty["Formula"] = 7] = "Formula";
|
|
46326
46288
|
})(EditorProperty || (EditorProperty = {})); //编辑器属性 {无,下拉列表,日期,数值,签名,输入域,次数,计算公式}
|
|
46327
46289
|
var ColProperty = /*#__PURE__*/function () {
|
|
46328
|
-
|
|
46329
|
-
function ColProperty(objectValues
|
|
46330
|
-
) {
|
|
46290
|
+
//新增行时是否使用默认值
|
|
46291
|
+
function ColProperty(objectValues) {
|
|
46331
46292
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, ColProperty);
|
|
46332
46293
|
//private _id!: string;//编号
|
|
46333
46294
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_editorProperty", EditorProperty.None);
|
|
@@ -46348,8 +46309,10 @@ var ColProperty = /*#__PURE__*/function () {
|
|
|
46348
46309
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isSignLock", false);
|
|
46349
46310
|
//签名后是否锁定
|
|
46350
46311
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isLock", false);
|
|
46351
|
-
|
|
46352
|
-
|
|
46312
|
+
//是否锁定
|
|
46313
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "addWithDefaultValue", false);
|
|
46314
|
+
if (typeof objectValues != 'string') {
|
|
46315
|
+
// const valuesObj = eval('(' + objectValues + ')');
|
|
46353
46316
|
var assignvalue = function assignvalue(target, source) {
|
|
46354
46317
|
Object.keys(source).forEach(function (value) {
|
|
46355
46318
|
if (value !== "downListProperty" && value !== "dateTimeProperty" && value !== "numberProperty" && value !== "signProperty") {
|
|
@@ -46365,18 +46328,18 @@ var ColProperty = /*#__PURE__*/function () {
|
|
|
46365
46328
|
}
|
|
46366
46329
|
});
|
|
46367
46330
|
};
|
|
46368
|
-
assignvalue(this,
|
|
46369
|
-
if (
|
|
46370
|
-
this._downListProperty = new ColDownListProperty(
|
|
46331
|
+
assignvalue(this, objectValues);
|
|
46332
|
+
if (objectValues["editorProperty"] === EditorProperty.DownList) {
|
|
46333
|
+
this._downListProperty = new ColDownListProperty(objectValues["downListProperty"]);
|
|
46371
46334
|
}
|
|
46372
|
-
if (
|
|
46373
|
-
this._dateTimeProperty = new DateTimeProperty(
|
|
46335
|
+
if (objectValues["editorProperty"] === EditorProperty.DateTime) {
|
|
46336
|
+
this._dateTimeProperty = new DateTimeProperty(objectValues["dateTimeProperty"]);
|
|
46374
46337
|
}
|
|
46375
|
-
if (
|
|
46376
|
-
this._numberProperty = new NumberProperty(
|
|
46338
|
+
if (objectValues["editorProperty"] === EditorProperty.Number) {
|
|
46339
|
+
this._numberProperty = new NumberProperty(objectValues["numberProperty"]);
|
|
46377
46340
|
}
|
|
46378
|
-
if (
|
|
46379
|
-
this._signProperty = new SignProperty(
|
|
46341
|
+
if (objectValues["editorProperty"] === EditorProperty.Sign) {
|
|
46342
|
+
this._signProperty = new SignProperty(objectValues["signProperty"]);
|
|
46380
46343
|
}
|
|
46381
46344
|
}
|
|
46382
46345
|
}
|
|
@@ -63468,7 +63431,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63468
63431
|
signProperty: "",
|
|
63469
63432
|
customProperties: "",
|
|
63470
63433
|
isSignLock: false,
|
|
63471
|
-
isLock: false
|
|
63434
|
+
isLock: false,
|
|
63435
|
+
addWithDefaultValue: false
|
|
63472
63436
|
};
|
|
63473
63437
|
var defaultColPropJson = JSON.parse(JSON.stringify(defaultColProp));
|
|
63474
63438
|
//处理列宽
|
|
@@ -63491,6 +63455,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63491
63455
|
//customProperties: colInfo.colProperty.customProperties
|
|
63492
63456
|
isSignLock: colInfo.colProperty.isSignLock,
|
|
63493
63457
|
isLock: colInfo.colProperty.isLock,
|
|
63458
|
+
addWithDefaultValue: colInfo.colProperty.addWithDefaultValue,
|
|
63494
63459
|
customProperties: _customProperties2
|
|
63495
63460
|
};
|
|
63496
63461
|
var colPropertyJson = JSON.parse(JSON.stringify(colProperty));
|
|
@@ -64491,6 +64456,9 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
64491
64456
|
if (colProperty.signProperty) {
|
|
64492
64457
|
tableNode.colInfos[_i6].colProperty.signProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_35__/* .SignProperty */ .q5(colProperty.signProperty);
|
|
64493
64458
|
}
|
|
64459
|
+
if (colProperty.addWithDefaultValue) {
|
|
64460
|
+
tableNode.colInfos[_i6].colProperty.addWithDefaultValue = colProperty.addWithDefaultValue;
|
|
64461
|
+
}
|
|
64494
64462
|
if (colProperty.customProperties) {
|
|
64495
64463
|
tableNode.colInfos[_i6].colProperty.customProperties = Array.isArray(colProperty.customProperties.customProperty) ? colProperty.customProperties.customProperty : Array(colProperty.customProperties.customProperty);
|
|
64496
64464
|
}
|
|
@@ -74126,10 +74094,11 @@ var DrawCombineNode = /*#__PURE__*/function (_DrawContainer) {
|
|
|
74126
74094
|
value: function bindEvent() {
|
|
74127
74095
|
var _this2 = this;
|
|
74128
74096
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
74129
|
-
|
|
74097
|
+
var paintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
74098
|
+
if (paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psPreview || paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psPrint) {
|
|
74130
74099
|
if (this._event) this._event.alpha = 0;
|
|
74131
74100
|
} else {
|
|
74132
|
-
if (
|
|
74101
|
+
if (paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psReview || paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState */ .Dh.psTrace || !hoEditorFactory.isHideComments) {
|
|
74133
74102
|
this.on('added', function (e1) {
|
|
74134
74103
|
if (!_this2._event) {
|
|
74135
74104
|
var r = _this2.getBounds();
|
|
@@ -86781,7 +86750,11 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
86781
86750
|
selectStart = dLine.paragraphNode.getNodePath();
|
|
86782
86751
|
} else {
|
|
86783
86752
|
//取上一行的最后一个绘制点
|
|
86784
|
-
|
|
86753
|
+
// console.log("line", lineIndex);
|
|
86754
|
+
// console.log(
|
|
86755
|
+
// "length",
|
|
86756
|
+
// dLine.paragraphNode.drawlines[lineIndex - 1].drawItems.length
|
|
86757
|
+
// );
|
|
86785
86758
|
var dNode = dLine.paragraphNode.drawlines[lineIndex - 1].drawItems[dLine.paragraphNode.drawlines[lineIndex - 1].drawItems.length - 1];
|
|
86786
86759
|
if ((0,IDrawInfos/* instanceOfIDrawInfos */.r)(dNode)) {
|
|
86787
86760
|
var node = dNode.node;
|
|
@@ -169657,7 +169630,7 @@ var map = {
|
|
|
169657
169630
|
"./paragraph/ParagraphDialog.vue": 58874,
|
|
169658
169631
|
"./poperSelect/PoperMark.vue": 20734,
|
|
169659
169632
|
"./poperSelect/PoperSelect.vue": 31973,
|
|
169660
|
-
"./poperTipText/PoperTipText.vue":
|
|
169633
|
+
"./poperTipText/PoperTipText.vue": 84531,
|
|
169661
169634
|
"./popers/Poper.vue": 57937,
|
|
169662
169635
|
"./popers/Title.vue": 31276,
|
|
169663
169636
|
"./printstyle/PrintLineStyle.vue": 51484,
|
|
@@ -169669,7 +169642,7 @@ var map = {
|
|
|
169669
169642
|
"./table/TableCellPoper.vue": 97628,
|
|
169670
169643
|
"./table/TableCellPoper1.vue": 44645,
|
|
169671
169644
|
"./table/TableCellProperty.vue": 90546,
|
|
169672
|
-
"./table/TableColProperty.vue":
|
|
169645
|
+
"./table/TableColProperty.vue": 16154,
|
|
169673
169646
|
"./table/TableForm.vue": 79036,
|
|
169674
169647
|
"./table/TableFormTree.vue": 84804,
|
|
169675
169648
|
"./table/TableFormula.vue": 80199,
|
|
@@ -207113,8 +207086,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
207113
207086
|
var es_number_constructor = __webpack_require__(9653);
|
|
207114
207087
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
207115
207088
|
var es_json_stringify = __webpack_require__(38862);
|
|
207116
|
-
;// 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/HoDoc.vue?vue&type=template&id=
|
|
207117
|
-
var
|
|
207089
|
+
;// 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/HoDoc.vue?vue&type=template&id=2dfaf4c7&
|
|
207090
|
+
var HoDocvue_type_template_id_2dfaf4c7_render = function render() {
|
|
207118
207091
|
var _vm = this,
|
|
207119
207092
|
_c = _vm._self._c;
|
|
207120
207093
|
return _c('div', {
|
|
@@ -207315,7 +207288,7 @@ var HoDocvue_type_template_id_fe8a53a0_render = function render() {
|
|
|
207315
207288
|
}
|
|
207316
207289
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
207317
207290
|
};
|
|
207318
|
-
var
|
|
207291
|
+
var HoDocvue_type_template_id_2dfaf4c7_staticRenderFns = [];
|
|
207319
207292
|
|
|
207320
207293
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
207321
207294
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -210306,9 +210279,9 @@ var TextNode = __webpack_require__(27198);
|
|
|
210306
210279
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
210307
210280
|
var ParagraphNode = __webpack_require__(67945);
|
|
210308
210281
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
210309
|
-
/* harmony default export */ var version = ('3.1.
|
|
210282
|
+
/* harmony default export */ var version = ('3.1.130');
|
|
210310
210283
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
210311
|
-
var PoperTipText = __webpack_require__(
|
|
210284
|
+
var PoperTipText = __webpack_require__(84531);
|
|
210312
210285
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
210313
210286
|
|
|
210314
210287
|
/* harmony default export */ var poperTipText = (PoperTipText["default"]);
|
|
@@ -211079,11 +211052,15 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
211079
211052
|
}
|
|
211080
211053
|
},
|
|
211081
211054
|
createAddNextCellButton: function createAddNextCellButton(node, pageIndex) {
|
|
211055
|
+
var _node$parentNode;
|
|
211082
211056
|
var cell = null;
|
|
211083
211057
|
if (node instanceof CellNode/* CellNode */.D) {
|
|
211084
211058
|
cell = node;
|
|
211085
211059
|
} else if (node.parentNode instanceof CellNode/* CellNode */.D) {
|
|
211086
211060
|
cell = node.parentNode;
|
|
211061
|
+
} else if (((_node$parentNode = node.parentNode) === null || _node$parentNode === void 0 ? void 0 : _node$parentNode.parentNode) instanceof CellNode/* CellNode */.D) {
|
|
211062
|
+
var _node$parentNode2;
|
|
211063
|
+
cell = (_node$parentNode2 = node.parentNode) === null || _node$parentNode2 === void 0 ? void 0 : _node$parentNode2.parentNode;
|
|
211087
211064
|
}
|
|
211088
211065
|
if (cell && cell.table.tableProperty.addRowByOrder) {
|
|
211089
211066
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this.hoEditorProvider.activeDocId);
|
|
@@ -211333,10 +211310,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
211333
211310
|
});
|
|
211334
211311
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
211335
211312
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
211336
|
-
;// 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/HoDoc.vue?vue&type=style&index=0&id=
|
|
211313
|
+
;// 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/HoDoc.vue?vue&type=style&index=0&id=2dfaf4c7&prod&lang=less&
|
|
211337
211314
|
// extracted by mini-css-extract-plugin
|
|
211338
211315
|
|
|
211339
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
211316
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=2dfaf4c7&prod&lang=less&
|
|
211340
211317
|
|
|
211341
211318
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
211342
211319
|
|
|
@@ -211349,8 +211326,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
211349
211326
|
|
|
211350
211327
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
211351
211328
|
components_HoDocvue_type_script_lang_js_,
|
|
211352
|
-
|
|
211353
|
-
|
|
211329
|
+
HoDocvue_type_template_id_2dfaf4c7_render,
|
|
211330
|
+
HoDocvue_type_template_id_2dfaf4c7_staticRenderFns,
|
|
211354
211331
|
false,
|
|
211355
211332
|
null,
|
|
211356
211333
|
null,
|
|
@@ -212712,7 +212689,13 @@ var NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
212712
212689
|
(0,esm_defineProperty/* default */.Z)(this, "_id", void 0);
|
|
212713
212690
|
(0,esm_defineProperty/* default */.Z)(this, "_deleterIndex", void 0);
|
|
212714
212691
|
(0,esm_defineProperty/* default */.Z)(this, "_creatorIndex", void 0);
|
|
212692
|
+
(0,esm_defineProperty/* default */.Z)(this, "_modifierIndex", void 0);
|
|
212715
212693
|
(0,esm_defineProperty/* default */.Z)(this, "_isUseTipText", void 0);
|
|
212694
|
+
(0,esm_defineProperty/* default */.Z)(this, "historyText", {
|
|
212695
|
+
0: '创建',
|
|
212696
|
+
1: '删除',
|
|
212697
|
+
2: '修改'
|
|
212698
|
+
});
|
|
212716
212699
|
this._pageIndex = 0;
|
|
212717
212700
|
this._moveType = DmouseEventType.detOut;
|
|
212718
212701
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
@@ -212749,6 +212732,11 @@ var NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
212749
212732
|
get: function get() {
|
|
212750
212733
|
return this._deleterIndex;
|
|
212751
212734
|
}
|
|
212735
|
+
}, {
|
|
212736
|
+
key: "modifierIndex",
|
|
212737
|
+
get: function get() {
|
|
212738
|
+
return this._modifierIndex;
|
|
212739
|
+
}
|
|
212752
212740
|
}, {
|
|
212753
212741
|
key: "poperTipPos",
|
|
212754
212742
|
get: function get() {
|
|
@@ -212778,79 +212766,95 @@ var NodeMouseMoveEvent = /*#__PURE__*/function () {
|
|
|
212778
212766
|
value: function setNode(node, moveType) {
|
|
212779
212767
|
this._creatorIndex = -1;
|
|
212780
212768
|
this._deleterIndex = -1;
|
|
212769
|
+
this._modifierIndex = -1;
|
|
212781
212770
|
this._tipText = [];
|
|
212782
212771
|
this._id = [];
|
|
212783
|
-
// if(moveType === DmouseEventType.detOut) {
|
|
212784
|
-
// return;
|
|
212785
|
-
// }
|
|
212786
212772
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
212787
|
-
|
|
212788
|
-
|
|
212789
|
-
|
|
212790
|
-
|
|
212791
|
-
|
|
212792
|
-
|
|
212793
|
-
|
|
212794
|
-
|
|
212795
|
-
|
|
212796
|
-
|
|
212797
|
-
|
|
212798
|
-
|
|
212799
|
-
|
|
212800
|
-
|
|
212801
|
-
|
|
212802
|
-
|
|
212803
|
-
|
|
212773
|
+
var paintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
212774
|
+
if (paintStatus === DrawTree/* PaintState */.Dh.psTrace) {
|
|
212775
|
+
var styleIndex = node === null || node === void 0 ? void 0 : node.styleIndex;
|
|
212776
|
+
if (!styleIndex) return;
|
|
212777
|
+
var style = hoEditorFactory.docTree.styles[styleIndex];
|
|
212778
|
+
this._creatorIndex = style.creatorIndex;
|
|
212779
|
+
this._deleterIndex = style.deleterIndex;
|
|
212780
|
+
this._modifierIndex = style.modifierIndex;
|
|
212781
|
+
var historyStyleIndex = this._creatorIndex || this.deleterIndex || this.modifierIndex;
|
|
212782
|
+
if (historyStyleIndex !== undefined && historyStyleIndex >= 0) {
|
|
212783
|
+
var userHistories = hoEditorFactory.docTree.userHistories[historyStyleIndex];
|
|
212784
|
+
this._moveType = moveType;
|
|
212785
|
+
this._tipText.push("".concat(userHistories.editDate, " ").concat(userHistories.name).concat(this.historyText[userHistories.historyEditType]));
|
|
212786
|
+
this._id.push(userHistories.id);
|
|
212787
|
+
this.computedPosition(node.drawNodes[0]);
|
|
212788
|
+
}
|
|
212789
|
+
} else {
|
|
212790
|
+
if (node instanceof TextNode/* TextNode */.R) {
|
|
212791
|
+
if (paintStatus === DrawTree/* PaintState */.Dh.psReview || !hoEditorFactory.isHideComments) {
|
|
212792
|
+
this._creatorIndex = hoEditorFactory.docTree.styles[node.styleIndex].creatorIndex;
|
|
212793
|
+
this._deleterIndex = hoEditorFactory.docTree.styles[node.styleIndex].deleterIndex;
|
|
212794
|
+
if (this._creatorIndex !== undefined && this._creatorIndex >= 0) {
|
|
212795
|
+
var _userHistories = hoEditorFactory.docTree.userHistories[this._creatorIndex];
|
|
212796
|
+
this._moveType = moveType;
|
|
212797
|
+
this._tipText.push("".concat(_userHistories.editDate, " ").concat(_userHistories.name, "\u521B\u5EFA"));
|
|
212798
|
+
this._id.push(_userHistories.id);
|
|
212799
|
+
this.computedPosition(node.drawNodes[0]);
|
|
212800
|
+
}
|
|
212801
|
+
if (this._deleterIndex !== undefined && this._deleterIndex >= 0) {
|
|
212802
|
+
var _userHistories2 = hoEditorFactory.docTree.userHistories[this._deleterIndex];
|
|
212803
|
+
this._moveType = moveType;
|
|
212804
|
+
this._tipText.push("".concat(_userHistories2.editDate, " ").concat(_userHistories2.name, "\u5220\u9664"));
|
|
212805
|
+
this._id.push(_userHistories2.id);
|
|
212806
|
+
this.computedPosition(node.drawNodes[0]);
|
|
212807
|
+
}
|
|
212808
|
+
} else {
|
|
212809
|
+
if (this._isUseTipText && this._deleterIndex !== 0 && node.parentNode && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.parentNode.tipText !== node.parentNode.name && (paintStatus === 0 || paintStatus === 1)) {
|
|
212810
|
+
this._moveType = moveType;
|
|
212811
|
+
if (node.parentNode.tipText) {
|
|
212812
|
+
var text = JSON.stringify(node.parentNode.tipText);
|
|
212813
|
+
text = text.slice(1, text.length - 1);
|
|
212814
|
+
var arr = text.split('\\n').filter(function (v) {
|
|
212815
|
+
return v;
|
|
212816
|
+
});
|
|
212817
|
+
this._tipText = arr;
|
|
212818
|
+
} else {
|
|
212819
|
+
this._tipText.push('');
|
|
212820
|
+
}
|
|
212821
|
+
this._id.push(node.parentNode.id);
|
|
212822
|
+
this.computedPosition(node.drawNodes[0]);
|
|
212823
|
+
}
|
|
212804
212824
|
}
|
|
212805
|
-
} else {
|
|
212806
|
-
if (this._isUseTipText && this._deleterIndex !== 0 && node.parentNode && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.parentNode.tipText !== node.parentNode.name && (
|
|
212825
|
+
} else if (node instanceof MarkNode/* MarkNode */.j) {
|
|
212826
|
+
if (this._isUseTipText && this._deleterIndex !== 0 && node.parentNode && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.parentNode.tipText !== node.parentNode.name && (paintStatus === 0 || paintStatus === 1)) {
|
|
212807
212827
|
this._moveType = moveType;
|
|
212808
212828
|
if (node.parentNode.tipText) {
|
|
212809
|
-
var
|
|
212810
|
-
|
|
212811
|
-
var
|
|
212829
|
+
var _text = JSON.stringify(node.parentNode.tipText);
|
|
212830
|
+
_text = _text.slice(1, _text.length - 1);
|
|
212831
|
+
var _arr = _text.split('\\n').filter(function (v) {
|
|
212812
212832
|
return v;
|
|
212813
212833
|
});
|
|
212814
|
-
this._tipText =
|
|
212834
|
+
this._tipText = _arr;
|
|
212815
212835
|
} else {
|
|
212816
212836
|
this._tipText.push('');
|
|
212817
212837
|
}
|
|
212818
212838
|
this._id.push(node.parentNode.id);
|
|
212819
212839
|
this.computedPosition(node.drawNodes[0]);
|
|
212820
212840
|
}
|
|
212821
|
-
}
|
|
212822
|
-
|
|
212823
|
-
|
|
212824
|
-
|
|
212825
|
-
|
|
212826
|
-
|
|
212827
|
-
|
|
212828
|
-
|
|
212829
|
-
|
|
212830
|
-
|
|
212831
|
-
|
|
212832
|
-
|
|
212833
|
-
|
|
212834
|
-
|
|
212835
|
-
|
|
212836
|
-
|
|
212837
|
-
}
|
|
212838
|
-
} else {
|
|
212839
|
-
if (this._isUseTipText && (hoEditorFactory.drawTree.paintStatus === 0 || hoEditorFactory.drawTree.paintStatus === 1 || hoEditorFactory.drawTree.paintStatus === 4)) {
|
|
212840
|
-
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.name !== node.tipText) {
|
|
212841
|
-
this._moveType = moveType;
|
|
212842
|
-
if (node.tipText) {
|
|
212843
|
-
var _text2 = JSON.stringify(node.tipText);
|
|
212844
|
-
_text2 = _text2.slice(1, _text2.length - 1);
|
|
212845
|
-
var _arr2 = _text2.split('\\n').filter(function (v) {
|
|
212846
|
-
return v;
|
|
212847
|
-
});
|
|
212848
|
-
this._tipText = _arr2;
|
|
212849
|
-
} else {
|
|
212850
|
-
this._tipText.push('');
|
|
212841
|
+
} else {
|
|
212842
|
+
if (this._isUseTipText && (paintStatus === 0 || paintStatus === 1 || paintStatus === 4)) {
|
|
212843
|
+
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.name !== node.tipText) {
|
|
212844
|
+
this._moveType = moveType;
|
|
212845
|
+
if (node.tipText) {
|
|
212846
|
+
var _text2 = JSON.stringify(node.tipText);
|
|
212847
|
+
_text2 = _text2.slice(1, _text2.length - 1);
|
|
212848
|
+
var _arr2 = _text2.split('\\n').filter(function (v) {
|
|
212849
|
+
return v;
|
|
212850
|
+
});
|
|
212851
|
+
this._tipText = _arr2;
|
|
212852
|
+
} else {
|
|
212853
|
+
this._tipText.push('');
|
|
212854
|
+
}
|
|
212855
|
+
this._id.push(node.id);
|
|
212856
|
+
this.computedPosition(node.drawNodes[0]);
|
|
212851
212857
|
}
|
|
212852
|
-
this._id.push(node.id);
|
|
212853
|
-
this.computedPosition(node.drawNodes[0]);
|
|
212854
212858
|
}
|
|
212855
212859
|
}
|
|
212856
212860
|
}
|
|
@@ -239025,12 +239029,10 @@ var TableController = /*#__PURE__*/function () {
|
|
|
239025
239029
|
* @params `signProperty 签名 默认值 undefined`
|
|
239026
239030
|
* @signPropertyParam ` name -string 签名名称`
|
|
239027
239031
|
*/
|
|
239028
|
-
|
|
239029
|
-
|
|
239030
|
-
|
|
239031
|
-
|
|
239032
|
-
hoEditorFactory.vueController.colProperty(objectValues, colInfo);
|
|
239033
|
-
}
|
|
239032
|
+
// public colProperty(objectValues: string, colInfo: ColInfos) {
|
|
239033
|
+
// const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
239034
|
+
// hoEditorFactory.vueController.colProperty(objectValues, colInfo);
|
|
239035
|
+
// }
|
|
239034
239036
|
/**
|
|
239035
239037
|
* 设置单元格属性
|
|
239036
239038
|
* @params `id string 编号`
|
|
@@ -239690,8 +239692,6 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
239690
239692
|
// 是否启用绘制优化 默认不启用
|
|
239691
239693
|
(0,esm_defineProperty/* default */.Z)(this, "_defaultIsAllowDelete", false);
|
|
239692
239694
|
// 元素是否默认可以被删除
|
|
239693
|
-
(0,esm_defineProperty/* default */.Z)(this, "_continuousView", void 0);
|
|
239694
|
-
// 预览
|
|
239695
239695
|
(0,esm_defineProperty/* default */.Z)(this, "_loadImageCount", 0);
|
|
239696
239696
|
// 待加载的图片数量
|
|
239697
239697
|
(0,esm_defineProperty/* default */.Z)(this, "_loadImageCallback", null);
|
|
@@ -239757,7 +239757,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
239757
239757
|
(0,esm_defineProperty/* default */.Z)(this, "_lockContent", false);
|
|
239758
239758
|
//是否锁定病历内容(未签名)
|
|
239759
239759
|
(0,esm_defineProperty/* default */.Z)(this, "_notAllowCrossPatiPaste", false);
|
|
239760
|
-
|
|
239760
|
+
//不允许跨病人复制粘贴
|
|
239761
239761
|
(0,esm_defineProperty/* default */.Z)(this, "_forbidPaste", false);
|
|
239762
239762
|
//禁止复制粘贴
|
|
239763
239763
|
(0,esm_defineProperty/* default */.Z)(this, "_fontSizeMap", new Map());
|
|
@@ -240377,16 +240377,6 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
240377
240377
|
this._isHideComments = value;
|
|
240378
240378
|
}
|
|
240379
240379
|
}
|
|
240380
|
-
}, {
|
|
240381
|
-
key: "continuousView",
|
|
240382
|
-
get: function get() {
|
|
240383
|
-
return this._continuousView;
|
|
240384
|
-
},
|
|
240385
|
-
set: function set(value) {
|
|
240386
|
-
if (this._continuousView !== value) {
|
|
240387
|
-
this._continuousView = value;
|
|
240388
|
-
}
|
|
240389
|
-
}
|
|
240390
240380
|
}, {
|
|
240391
240381
|
key: "openXmled",
|
|
240392
240382
|
get: function get() {
|