hoeditor-web 3.1.111 → 3.1.113
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 +406 -495
- package/lib/hoeditor.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -21862,7 +21862,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
21862
21862
|
|
|
21863
21863
|
/***/ }),
|
|
21864
21864
|
|
|
21865
|
-
/***/
|
|
21865
|
+
/***/ 72196:
|
|
21866
21866
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
21867
21867
|
|
|
21868
21868
|
"use strict";
|
|
@@ -21874,7 +21874,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
21874
21874
|
"default": function() { return /* binding */ TableProperty; }
|
|
21875
21875
|
});
|
|
21876
21876
|
|
|
21877
|
-
;// 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/TableProperty.vue?vue&type=template&id=
|
|
21877
|
+
;// 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/TableProperty.vue?vue&type=template&id=7c5b97be&
|
|
21878
21878
|
var render = function render() {
|
|
21879
21879
|
var _vm = this,
|
|
21880
21880
|
_c = _vm._self._c;
|
|
@@ -21970,11 +21970,11 @@ var render = function render() {
|
|
|
21970
21970
|
}
|
|
21971
21971
|
}, [_c('a-checkbox', {
|
|
21972
21972
|
model: {
|
|
21973
|
-
value: _vm.
|
|
21973
|
+
value: _vm.canDelTable,
|
|
21974
21974
|
callback: function callback($$v) {
|
|
21975
|
-
_vm.
|
|
21975
|
+
_vm.canDelTable = $$v;
|
|
21976
21976
|
},
|
|
21977
|
-
expression: "
|
|
21977
|
+
expression: "canDelTable"
|
|
21978
21978
|
}
|
|
21979
21979
|
}, [_vm._v("用户可删除表格")])], 1), _c('div', {
|
|
21980
21980
|
staticStyle: {
|
|
@@ -22163,7 +22163,7 @@ var CellNode = __webpack_require__(68598);
|
|
|
22163
22163
|
//用户可新增表格列
|
|
22164
22164
|
canDeleteRow: true,
|
|
22165
22165
|
//用户可删除表格行列
|
|
22166
|
-
|
|
22166
|
+
canDelTable: true,
|
|
22167
22167
|
//用户可删除表格
|
|
22168
22168
|
continuePrintBorders: false,
|
|
22169
22169
|
//续打时打印所有单元格边框
|
|
@@ -22206,7 +22206,7 @@ var CellNode = __webpack_require__(68598);
|
|
|
22206
22206
|
this.canAddRow = tableNode.tableProperty.canAddRow;
|
|
22207
22207
|
this.canAddCol = tableNode.tableProperty.canAddCol;
|
|
22208
22208
|
this.canDeleteRow = tableNode.tableProperty.canDeleteRow;
|
|
22209
|
-
this.
|
|
22209
|
+
this.canDelTable = tableNode.tableProperty.canDelTable;
|
|
22210
22210
|
this.continuePrintBorders = tableNode.tableProperty.continuePrintBorders;
|
|
22211
22211
|
this.layoutFullLine = tableNode.tableProperty.layoutFullLine;
|
|
22212
22212
|
this.tightLineSpace = tableNode.tableProperty.tightLineSpace;
|
|
@@ -22265,7 +22265,7 @@ var CellNode = __webpack_require__(68598);
|
|
|
22265
22265
|
canAddRow: this.canAddRow,
|
|
22266
22266
|
canAddCol: this.canAddCol,
|
|
22267
22267
|
canDeleteRow: this.canDeleteRow,
|
|
22268
|
-
|
|
22268
|
+
canDelTable: this.canDelTable,
|
|
22269
22269
|
continuePrintBorders: this.continuePrintBorders,
|
|
22270
22270
|
layoutFullLine: this.layoutFullLine,
|
|
22271
22271
|
tightLineSpace: this.tightLineSpace,
|
|
@@ -22289,10 +22289,10 @@ var CellNode = __webpack_require__(68598);
|
|
|
22289
22289
|
});
|
|
22290
22290
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableProperty.vue?vue&type=script&lang=js&
|
|
22291
22291
|
/* harmony default export */ var table_TablePropertyvue_type_script_lang_js_ = (TablePropertyvue_type_script_lang_js_);
|
|
22292
|
-
;// 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/TableProperty.vue?vue&type=style&index=0&id=
|
|
22292
|
+
;// 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/TableProperty.vue?vue&type=style&index=0&id=7c5b97be&prod&lang=less&
|
|
22293
22293
|
// extracted by mini-css-extract-plugin
|
|
22294
22294
|
|
|
22295
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableProperty.vue?vue&type=style&index=0&id=
|
|
22295
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableProperty.vue?vue&type=style&index=0&id=7c5b97be&prod&lang=less&
|
|
22296
22296
|
|
|
22297
22297
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
22298
22298
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -39034,7 +39034,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39034
39034
|
}
|
|
39035
39035
|
}, {
|
|
39036
39036
|
key: "insertTable",
|
|
39037
|
-
value: function insertTable(arange, row, col) {
|
|
39037
|
+
value: function insertTable(arange, row, col, property) {
|
|
39038
39038
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_81__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
39039
39039
|
var np = hoEditorFactory.docTree.findNodePositionByPath(arange.startPath);
|
|
39040
39040
|
var parentNode = hoEditorFactory.docTree.getParentNode(arange.startPath);
|
|
@@ -39046,46 +39046,11 @@ var DocController = /*#__PURE__*/function () {
|
|
|
39046
39046
|
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_97__/* ["default"] */ .Z.warn('不允许在表格内再插入表格');
|
|
39047
39047
|
return;
|
|
39048
39048
|
}
|
|
39049
|
-
|
|
39050
|
-
// this._hoEditorFactoryID,
|
|
39051
|
-
// np.roots,
|
|
39052
|
-
// parentNode,
|
|
39053
|
-
// hoEditorFactory.docTree.curParaNo
|
|
39054
|
-
// );
|
|
39055
|
-
// hoEditorFactory.docTree.insertNodeAfterPath(
|
|
39056
|
-
// arange.startPath,
|
|
39057
|
-
// nextParaNode
|
|
39058
|
-
// );
|
|
39059
|
-
// let tablePath = arange.startPath;
|
|
39060
|
-
// let paraNode;
|
|
39061
|
-
// if (np.node instanceof ParagraphNode) {
|
|
39062
|
-
// paraNode = np.node as ParagraphNode;
|
|
39063
|
-
// } else {
|
|
39064
|
-
// paraNode = new ParagraphNode(
|
|
39065
|
-
// this._hoEditorFactoryID,
|
|
39066
|
-
// np.roots,
|
|
39067
|
-
// parentNode,
|
|
39068
|
-
// hoEditorFactory.docTree.curParaNo
|
|
39069
|
-
// );
|
|
39070
|
-
// tablePath = hoEditorFactory.docTree.insertNodeAfterPath(
|
|
39071
|
-
// arange.startPath,
|
|
39072
|
-
// paraNode
|
|
39073
|
-
// );
|
|
39074
|
-
// }
|
|
39075
|
-
var tableProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_62__/* .TableProperty */ .vE('');
|
|
39049
|
+
var tableProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_62__/* .TableProperty */ .vE(property || "");
|
|
39076
39050
|
var tableNode = new _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_55__/* .TableNode */ .Fh(this._hoEditorFactoryID, np.roots, parentNode, row, col, tableProperty);
|
|
39077
39051
|
hoEditorFactory.undoService.begin();
|
|
39078
39052
|
hoEditorFactory.undoService.add(new _undoRedo_TableUndos_TableInsertUndoUnit__WEBPACK_IMPORTED_MODULE_65__/* .TableInsertUndoUnit */ .m(this._hoEditorFactoryID, arange.startPath, tableNode));
|
|
39079
39053
|
hoEditorFactory.undoService.commit();
|
|
39080
|
-
// hoEditorFactory.docTree.insertNodeAfterPath(tablePath, tableNode);
|
|
39081
|
-
// hoEditorFactory.docTree.curDomRange.endPath = nextParaNode.getNodePath();
|
|
39082
|
-
// const changeEvent = new NodeChangeEvent(
|
|
39083
|
-
// this._hoEditorFactoryID,
|
|
39084
|
-
// DocAction.daInsert,
|
|
39085
|
-
// arange.startPath,
|
|
39086
|
-
// hoEditorFactory.docTree.curDomRange.endPath
|
|
39087
|
-
// );
|
|
39088
|
-
// hoEditorFactory.docTree.change(changeEvent);
|
|
39089
39054
|
}
|
|
39090
39055
|
}, {
|
|
39091
39056
|
key: "insertTableRowAbove",
|
|
@@ -45458,20 +45423,22 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
45458
45423
|
/* harmony export */ vE: function() { return /* binding */ TableProperty; }
|
|
45459
45424
|
/* harmony export */ });
|
|
45460
45425
|
/* unused harmony export DataSource */
|
|
45461
|
-
/* harmony import */ var
|
|
45462
|
-
/* harmony import */ var
|
|
45463
|
-
/* harmony import */ var
|
|
45464
|
-
/* harmony import */ var
|
|
45465
|
-
/* harmony import */ var
|
|
45466
|
-
/* harmony import */ var
|
|
45467
|
-
/* harmony import */ var
|
|
45468
|
-
/* harmony import */ var
|
|
45469
|
-
/* harmony import */ var
|
|
45470
|
-
/* harmony import */ var
|
|
45471
|
-
/* harmony import */ var
|
|
45472
|
-
/* harmony import */ var
|
|
45473
|
-
/* harmony import */ var
|
|
45474
|
-
/* harmony import */ var
|
|
45426
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(63442);
|
|
45427
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8495);
|
|
45428
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70280);
|
|
45429
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66298);
|
|
45430
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78255);
|
|
45431
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
|
|
45432
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
45433
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(54747);
|
|
45434
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
45435
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(47941);
|
|
45436
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
45437
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68309);
|
|
45438
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
45439
|
+
/* harmony import */ var _utils_UnitConvert__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91404);
|
|
45440
|
+
/* harmony import */ var _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(5010);
|
|
45441
|
+
|
|
45475
45442
|
|
|
45476
45443
|
|
|
45477
45444
|
|
|
@@ -45493,45 +45460,51 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
45493
45460
|
var TableProperty = /*#__PURE__*/function () {
|
|
45494
45461
|
//按顺序新增行
|
|
45495
45462
|
function TableProperty(objectValues) {
|
|
45496
|
-
(0,
|
|
45463
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, TableProperty);
|
|
45497
45464
|
//private _id!: string; //编号
|
|
45498
|
-
(0,
|
|
45465
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
45499
45466
|
//自定义属性
|
|
45500
|
-
(0,
|
|
45467
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_canAdjustRowHeight", false);
|
|
45501
45468
|
//用户可调整行高
|
|
45502
|
-
(0,
|
|
45469
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_canAdjustRowWidth", false);
|
|
45503
45470
|
//用户可调整行宽
|
|
45504
|
-
(0,
|
|
45471
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_canAddRow", true);
|
|
45505
45472
|
//用户可新增表格行
|
|
45506
|
-
(0,
|
|
45473
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_canAddCol", true);
|
|
45507
45474
|
//用户可新增表格列
|
|
45508
|
-
(0,
|
|
45509
|
-
|
|
45510
|
-
|
|
45511
|
-
|
|
45512
|
-
|
|
45475
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_canDeleteRow", true);
|
|
45476
|
+
//用户可删除表格行列
|
|
45477
|
+
// private _canDeleteTable = false;//用户可删除表格 旧参数未使用废弃
|
|
45478
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_canDelTable", false);
|
|
45479
|
+
//用户可删除表格 新参数默认不可删除
|
|
45480
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_continuePrintBorders", false);
|
|
45513
45481
|
//续打时打印所有单元格边框
|
|
45514
45482
|
//private _layoutFullLine = true;//排版时占据整行
|
|
45515
45483
|
//private _tightLineSpace = false;//压缩表格上下行间距
|
|
45516
|
-
(0,
|
|
45484
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isAutoChangeLine", false);
|
|
45517
45485
|
//表格内是否自动换行
|
|
45518
|
-
(0,
|
|
45519
|
-
(0,
|
|
45520
|
-
(0,
|
|
45486
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_autoLineHeight", 0.53);
|
|
45487
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_autoLineHeightPx", _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_10__/* .gDefaultRowHeight */ .dT);
|
|
45488
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_fixedOnePage", false);
|
|
45521
45489
|
//表格固定在一页
|
|
45522
|
-
(0,
|
|
45490
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isUsePopEdit", false);
|
|
45523
45491
|
//是否启用表单弹框编辑
|
|
45524
|
-
(0,
|
|
45492
|
+
(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);
|
|
45525
45493
|
//签名后是否锁定
|
|
45526
|
-
(0,
|
|
45494
|
+
(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);
|
|
45527
45495
|
//是否锁定
|
|
45528
|
-
(0,
|
|
45496
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_addRowByOrder", false);
|
|
45529
45497
|
if (objectValues !== "") {
|
|
45530
|
-
var valuesObj
|
|
45498
|
+
var valuesObj;
|
|
45499
|
+
if (typeof objectValues === "string") {
|
|
45500
|
+
valuesObj = eval('(' + objectValues + ')');
|
|
45501
|
+
} else if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(objectValues) === "object") {
|
|
45502
|
+
valuesObj = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, objectValues);
|
|
45503
|
+
}
|
|
45531
45504
|
var assignvalue = function assignvalue(target, source) {
|
|
45532
45505
|
Object.keys(source).forEach(function (value) {
|
|
45533
|
-
if ((0,
|
|
45534
|
-
if ((0,
|
|
45506
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(target[value]) == 'object') {
|
|
45507
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(source[value]) == "object") {
|
|
45535
45508
|
assignvalue(target[value], source[value]);
|
|
45536
45509
|
} else {
|
|
45537
45510
|
if (source[value] !== "") {
|
|
@@ -45550,7 +45523,7 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
45550
45523
|
// set id(value: string) {
|
|
45551
45524
|
// this._id = value;
|
|
45552
45525
|
// }
|
|
45553
|
-
(0,
|
|
45526
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(TableProperty, [{
|
|
45554
45527
|
key: "customProperties",
|
|
45555
45528
|
get: function get() {
|
|
45556
45529
|
return this._customProperties;
|
|
@@ -45599,12 +45572,12 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
45599
45572
|
this._canDeleteRow = value;
|
|
45600
45573
|
}
|
|
45601
45574
|
}, {
|
|
45602
|
-
key: "
|
|
45575
|
+
key: "canDelTable",
|
|
45603
45576
|
get: function get() {
|
|
45604
|
-
return this.
|
|
45577
|
+
return this._canDelTable;
|
|
45605
45578
|
},
|
|
45606
45579
|
set: function set(value) {
|
|
45607
|
-
this.
|
|
45580
|
+
this._canDelTable = value;
|
|
45608
45581
|
}
|
|
45609
45582
|
}, {
|
|
45610
45583
|
key: "continuePrintBorders",
|
|
@@ -45630,7 +45603,7 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
45630
45603
|
set: function set(value) {
|
|
45631
45604
|
if (value !== this._autoLineHeight) {
|
|
45632
45605
|
this._autoLineHeight = value;
|
|
45633
|
-
this._autoLineHeightPx =
|
|
45606
|
+
this._autoLineHeightPx = _utils_UnitConvert__WEBPACK_IMPORTED_MODULE_9__/* .UnitConvert */ .P.instance.mmConversionPx(value * 10, false);
|
|
45634
45607
|
}
|
|
45635
45608
|
}
|
|
45636
45609
|
}, {
|
|
@@ -45684,22 +45657,22 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
45684
45657
|
var DataSource = /*#__PURE__*/function () {
|
|
45685
45658
|
//执行状态 //执行状态:AlwaysExec 总是执行,OnlyOneTime 只执行一次,NoExec 不执行
|
|
45686
45659
|
function DataSource() {
|
|
45687
|
-
(0,
|
|
45688
|
-
(0,
|
|
45660
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, DataSource);
|
|
45661
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_dataSourceEnabled", true);
|
|
45689
45662
|
//数据源绑定设置有效
|
|
45690
|
-
(0,
|
|
45663
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_dataSource", "");
|
|
45691
45664
|
//数据源
|
|
45692
|
-
(0,
|
|
45665
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_format", "");
|
|
45693
45666
|
//格式化
|
|
45694
|
-
(0,
|
|
45667
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_visitPath", "");
|
|
45695
45668
|
//访问路径
|
|
45696
|
-
(0,
|
|
45669
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isReadOnly", false);
|
|
45697
45670
|
//只读 不能回填
|
|
45698
|
-
(0,
|
|
45671
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_autoUpdate", false);
|
|
45699
45672
|
//自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
45700
|
-
(0,
|
|
45673
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_executeStatus", "AlwaysExec");
|
|
45701
45674
|
}
|
|
45702
|
-
(0,
|
|
45675
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(DataSource, [{
|
|
45703
45676
|
key: "dataSourceEnabled",
|
|
45704
45677
|
get: function get() {
|
|
45705
45678
|
return this._dataSourceEnabled;
|
|
@@ -45776,40 +45749,40 @@ var RowProperty = /*#__PURE__*/function () {
|
|
|
45776
45749
|
//新增行是否带着计算公式
|
|
45777
45750
|
function RowProperty(objectValues //, table: TableNode
|
|
45778
45751
|
) {
|
|
45779
|
-
(0,
|
|
45780
|
-
(0,
|
|
45752
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, RowProperty);
|
|
45753
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_id", "");
|
|
45781
45754
|
//编号
|
|
45782
|
-
(0,
|
|
45755
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
45783
45756
|
//自定义属性
|
|
45784
45757
|
//private _dataSource !: DataSource;//数据源
|
|
45785
|
-
(0,
|
|
45758
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isSpecifyHeight", false);
|
|
45786
45759
|
//是否指定高度
|
|
45787
|
-
(0,
|
|
45760
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_rowHeight", 0);
|
|
45788
45761
|
//指定的高度
|
|
45789
45762
|
//private _isAutoRaiseHeight = false;//锁定行高
|
|
45790
|
-
(0,
|
|
45763
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_repeatAsTitleAtPageTop", false);
|
|
45791
45764
|
//在各页顶端以标题形式重复出现
|
|
45792
|
-
(0,
|
|
45765
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_sameLineCanAcrossPages", true);
|
|
45793
45766
|
//同行内容能跨页
|
|
45794
|
-
(0,
|
|
45767
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_forcedPageBreak", false);
|
|
45795
45768
|
//强制分页
|
|
45796
|
-
(0,
|
|
45769
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_printCellBorders", true);
|
|
45797
45770
|
//打印单元格边框线
|
|
45798
|
-
(0,
|
|
45771
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_printCellBg", true);
|
|
45799
45772
|
//打印单元格背景
|
|
45800
|
-
(0,
|
|
45773
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_tabKeyInsNewLine", false);
|
|
45801
45774
|
//按下Tab键强制插入新行(即使不是最后一行)
|
|
45802
|
-
(0,
|
|
45775
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isLockRowHeight", false);
|
|
45803
45776
|
//是否锁定行高
|
|
45804
|
-
(0,
|
|
45777
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_newLineWithCellContent", false);
|
|
45805
45778
|
//新增行带着单元格元素
|
|
45806
|
-
(0,
|
|
45779
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_withFormula", false);
|
|
45807
45780
|
if (objectValues !== "") {
|
|
45808
45781
|
var valuesObj = eval('(' + objectValues + ')');
|
|
45809
45782
|
var assignvalue = function assignvalue(target, source) {
|
|
45810
45783
|
Object.keys(source).forEach(function (value) {
|
|
45811
|
-
if ((0,
|
|
45812
|
-
if ((0,
|
|
45784
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(target[value]) == 'object') {
|
|
45785
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(source[value]) == "object") {
|
|
45813
45786
|
assignvalue(target[value], source[value]);
|
|
45814
45787
|
} else {
|
|
45815
45788
|
if (source[value] !== "") {
|
|
@@ -45822,7 +45795,7 @@ var RowProperty = /*#__PURE__*/function () {
|
|
|
45822
45795
|
assignvalue(this, valuesObj);
|
|
45823
45796
|
}
|
|
45824
45797
|
}
|
|
45825
|
-
(0,
|
|
45798
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(RowProperty, [{
|
|
45826
45799
|
key: "id",
|
|
45827
45800
|
get: function get() {
|
|
45828
45801
|
return this._id;
|
|
@@ -45953,17 +45926,17 @@ var ColDownListProperty = /*#__PURE__*/function () {
|
|
|
45953
45926
|
//允许被删除 编辑器属性是DownList类型的情况
|
|
45954
45927
|
//private _
|
|
45955
45928
|
function ColDownListProperty(objectValues) {
|
|
45956
|
-
(0,
|
|
45957
|
-
(0,
|
|
45929
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, ColDownListProperty);
|
|
45930
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_allowMultiSelected", true);
|
|
45958
45931
|
//允许多选 编辑器属性是DownList类型的情况
|
|
45959
|
-
(0,
|
|
45932
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_splitCharacter", ",");
|
|
45960
45933
|
//列表项目分隔字符 编辑器属性是DownList类型的情况
|
|
45961
45934
|
//private _source = ""; //来源 编辑器属性是DownList类型的情况
|
|
45962
|
-
(0,
|
|
45935
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_listItems", "");
|
|
45963
45936
|
//列表项目 编辑器属性是DownList类型的情况
|
|
45964
|
-
(0,
|
|
45937
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_canModifyContent", true);
|
|
45965
45938
|
//用户可以直接编辑修改内容 编辑器属性是DownList类型的情况
|
|
45966
|
-
(0,
|
|
45939
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isAllowDel", true);
|
|
45967
45940
|
this._allowMultiSelected = objectValues["allowMultiSelected"] !== undefined ? objectValues["allowMultiSelected"] : objectValues["_allowMultiSelected"];
|
|
45968
45941
|
this._splitCharacter = objectValues["splitCharacter"] ? objectValues["splitCharacter"] : objectValues["_splitCharacter"];
|
|
45969
45942
|
//this._source = objectValues["source"] ? objectValues["source"] : objectValues["_source"];
|
|
@@ -45971,7 +45944,7 @@ var ColDownListProperty = /*#__PURE__*/function () {
|
|
|
45971
45944
|
this._canModifyContent = objectValues["canModifyContent"] !== undefined ? objectValues["canModifyContent"] : objectValues["_canModifyContent"];
|
|
45972
45945
|
this._isAllowDel = objectValues["isAllowDel"] !== undefined ? objectValues["isAllowDel"] : objectValues["_isAllowDel"];
|
|
45973
45946
|
}
|
|
45974
|
-
(0,
|
|
45947
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(ColDownListProperty, [{
|
|
45975
45948
|
key: "allowMultiSelected",
|
|
45976
45949
|
get: function get() {
|
|
45977
45950
|
return this._allowMultiSelected;
|
|
@@ -46023,14 +45996,14 @@ var ColDownListProperty = /*#__PURE__*/function () {
|
|
|
46023
45996
|
var DateTimeProperty = /*#__PURE__*/function () {
|
|
46024
45997
|
//是否自动填入当前日期时间
|
|
46025
45998
|
function DateTimeProperty(objectValues) {
|
|
46026
|
-
(0,
|
|
46027
|
-
(0,
|
|
45999
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, DateTimeProperty);
|
|
46000
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_inputStyle", "yyyy-MM-dd HH:mm:ss");
|
|
46028
46001
|
//日期时间输入样式 编辑器属性是DateTime类型的情况
|
|
46029
|
-
(0,
|
|
46002
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isAutoInputCurDate", false);
|
|
46030
46003
|
this._inputStyle = objectValues["inputStyle"] ? objectValues["inputStyle"] : objectValues["_inputStyle"];
|
|
46031
46004
|
this._isAutoInputCurDate = objectValues["isAutoInputCurDate"] === undefined ? objectValues["_isAutoInputCurDate"] === undefined ? false : objectValues["_isAutoInputCurDate"] : objectValues["isAutoInputCurDate"];
|
|
46032
46005
|
}
|
|
46033
|
-
(0,
|
|
46006
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(DateTimeProperty, [{
|
|
46034
46007
|
key: "inputStyle",
|
|
46035
46008
|
get: function get() {
|
|
46036
46009
|
return this._inputStyle;
|
|
@@ -46052,14 +46025,14 @@ var DateTimeProperty = /*#__PURE__*/function () {
|
|
|
46052
46025
|
var NumberProperty = /*#__PURE__*/function () {
|
|
46053
46026
|
//最小数值 编辑器属性是Number类型的情况
|
|
46054
46027
|
function NumberProperty(objectValues) {
|
|
46055
|
-
(0,
|
|
46056
|
-
(0,
|
|
46028
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, NumberProperty);
|
|
46029
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_maxNumVal", 0);
|
|
46057
46030
|
//最大数值 编辑器属性是Number类型的情况
|
|
46058
|
-
(0,
|
|
46031
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_minNumVal", 0);
|
|
46059
46032
|
this._maxNumVal = objectValues["maxNumVal"] ? objectValues["maxNumVal"] : objectValues["_maxNumVal"];
|
|
46060
46033
|
this._minNumVal = objectValues["minNumVal"] ? objectValues["minNumVal"] : objectValues["_minNumVal"];
|
|
46061
46034
|
}
|
|
46062
|
-
(0,
|
|
46035
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(NumberProperty, [{
|
|
46063
46036
|
key: "maxNumVal",
|
|
46064
46037
|
get: function get() {
|
|
46065
46038
|
return this._maxNumVal;
|
|
@@ -46081,11 +46054,11 @@ var NumberProperty = /*#__PURE__*/function () {
|
|
|
46081
46054
|
var SignProperty = /*#__PURE__*/function () {
|
|
46082
46055
|
//签名名称
|
|
46083
46056
|
function SignProperty(objectValues) {
|
|
46084
|
-
(0,
|
|
46085
|
-
(0,
|
|
46057
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, SignProperty);
|
|
46058
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_name", "签名");
|
|
46086
46059
|
this._name = objectValues["name"] ? objectValues["name"] : objectValues["_name"];
|
|
46087
46060
|
}
|
|
46088
|
-
(0,
|
|
46061
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(SignProperty, [{
|
|
46089
46062
|
key: "name",
|
|
46090
46063
|
get: function get() {
|
|
46091
46064
|
return this._name;
|
|
@@ -46111,33 +46084,33 @@ var ColProperty = /*#__PURE__*/function () {
|
|
|
46111
46084
|
//是否锁定
|
|
46112
46085
|
function ColProperty(objectValues //, table: TableNode
|
|
46113
46086
|
) {
|
|
46114
|
-
(0,
|
|
46087
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, ColProperty);
|
|
46115
46088
|
//private _id!: string;//编号
|
|
46116
|
-
(0,
|
|
46089
|
+
(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);
|
|
46117
46090
|
//编辑器属性
|
|
46118
|
-
(0,
|
|
46091
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_align", VAlign.vatop);
|
|
46119
46092
|
//垂直对齐方式,
|
|
46120
|
-
(0,
|
|
46093
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_width", 0);
|
|
46121
46094
|
//宽度
|
|
46122
|
-
(0,
|
|
46095
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isSpecifyWidth", false);
|
|
46123
46096
|
//指定宽度
|
|
46124
|
-
(0,
|
|
46125
|
-
(0,
|
|
46126
|
-
(0,
|
|
46127
|
-
(0,
|
|
46097
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_downListProperty", void 0);
|
|
46098
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_dateTimeProperty", void 0);
|
|
46099
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_numberProperty", void 0);
|
|
46100
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_signProperty", void 0);
|
|
46128
46101
|
//签名属性
|
|
46129
|
-
(0,
|
|
46102
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
46130
46103
|
//自定义属性
|
|
46131
|
-
(0,
|
|
46104
|
+
(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);
|
|
46132
46105
|
//签名后是否锁定
|
|
46133
|
-
(0,
|
|
46106
|
+
(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);
|
|
46134
46107
|
if (objectValues !== "") {
|
|
46135
46108
|
var valuesObj = eval('(' + objectValues + ')');
|
|
46136
46109
|
var assignvalue = function assignvalue(target, source) {
|
|
46137
46110
|
Object.keys(source).forEach(function (value) {
|
|
46138
46111
|
if (value !== "downListProperty" && value !== "dateTimeProperty" && value !== "numberProperty" && value !== "signProperty") {
|
|
46139
|
-
if ((0,
|
|
46140
|
-
if ((0,
|
|
46112
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(target[value]) == 'object') {
|
|
46113
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(source[value]) == "object") {
|
|
46141
46114
|
assignvalue(target[value], source[value]);
|
|
46142
46115
|
} else {
|
|
46143
46116
|
if (source[value] !== "") {
|
|
@@ -46169,7 +46142,7 @@ var ColProperty = /*#__PURE__*/function () {
|
|
|
46169
46142
|
// set id(value: string) {
|
|
46170
46143
|
// this._id = value;
|
|
46171
46144
|
// }
|
|
46172
|
-
(0,
|
|
46145
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(ColProperty, [{
|
|
46173
46146
|
key: "editorProperty",
|
|
46174
46147
|
get: function get() {
|
|
46175
46148
|
return this._editorProperty;
|
|
@@ -46316,54 +46289,54 @@ var DiagonalType;
|
|
|
46316
46289
|
var CellProperty = /*#__PURE__*/function () {
|
|
46317
46290
|
function CellProperty(objectValues //, table: TableNode
|
|
46318
46291
|
) {
|
|
46319
|
-
(0,
|
|
46292
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(this, CellProperty);
|
|
46320
46293
|
//private _id!: string;//编号
|
|
46321
46294
|
//private _lightCellBorders = false;//突出显示单元格边框
|
|
46322
46295
|
//private _title = "";//标题
|
|
46323
|
-
(0,
|
|
46296
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
46324
46297
|
//自定义属性
|
|
46325
46298
|
//private _dataSource!: DataSource;//数据源
|
|
46326
|
-
(0,
|
|
46299
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_align", VAlign.vatop);
|
|
46327
46300
|
//垂直对齐方式
|
|
46328
|
-
(0,
|
|
46301
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_cellInnerMargin", [0, 0, 0.1, 0.1]);
|
|
46329
46302
|
//单元格内边距 上、下、左、右
|
|
46330
|
-
(0,
|
|
46303
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_isDrawGridlines", true);
|
|
46331
46304
|
//是否绘制网格线
|
|
46332
|
-
(0,
|
|
46305
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_gridLineDisplay", [true, true, true, true]);
|
|
46333
46306
|
//网格线显示 上、下、左、右
|
|
46334
|
-
(0,
|
|
46307
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_gridLinesColor", ["#000000", "#000000", "#000000", "#000000"]);
|
|
46335
46308
|
//网格线颜色
|
|
46336
|
-
(0,
|
|
46309
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_gridLinesStyle", GridLinesStyle.solid);
|
|
46337
46310
|
//网格线样式
|
|
46338
|
-
(0,
|
|
46311
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_span", 0);
|
|
46339
46312
|
//跨度
|
|
46340
|
-
(0,
|
|
46313
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_alignTextToGridline", true);
|
|
46341
46314
|
//文本行对齐到网格线
|
|
46342
|
-
(0,
|
|
46315
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_printGridLines", true);
|
|
46343
46316
|
//打印网格线
|
|
46344
|
-
(0,
|
|
46317
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_obliqueSplitLine", ObliqueSplitLine.None);
|
|
46345
46318
|
//斜分割线
|
|
46346
|
-
(0,
|
|
46347
|
-
(0,
|
|
46319
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_backColor", "#FFFFFF");
|
|
46320
|
+
(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
46321
|
//编辑器属性
|
|
46349
|
-
(0,
|
|
46350
|
-
(0,
|
|
46351
|
-
(0,
|
|
46352
|
-
(0,
|
|
46353
|
-
(0,
|
|
46322
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_downListProperty", void 0);
|
|
46323
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_dateTimeProperty", void 0);
|
|
46324
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_diagonalType", DiagonalType.None);
|
|
46325
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_formula", "");
|
|
46326
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, "_oldValue", "");
|
|
46354
46327
|
//this._dataSource = new DataSource();
|
|
46355
46328
|
if (objectValues !== "") {
|
|
46356
46329
|
var valuesObj = eval('(' + objectValues + ')');
|
|
46357
46330
|
var assignvalue = function assignvalue(target, source) {
|
|
46358
46331
|
Object.keys(source).forEach(function (value) {
|
|
46359
|
-
if ((0,
|
|
46332
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(target[value]) == 'object') {
|
|
46360
46333
|
if (value !== "downListProperty" && value !== "dateTimeProperty" && value !== "numberProperty" && value !== "formula") {
|
|
46361
|
-
if ((0,
|
|
46334
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(target[value]) == "object") {
|
|
46362
46335
|
if (value === "gridLinesColor" || value === "cellInnerMargin" || value === "gridLineDisplay") {
|
|
46363
46336
|
target[value] = source[value];
|
|
46364
46337
|
} else {
|
|
46365
|
-
if ((0,
|
|
46366
|
-
if ((0,
|
|
46338
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(target[value]) == 'object') {
|
|
46339
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(source[value]) == "object") {
|
|
46367
46340
|
assignvalue(target[value], source[value]);
|
|
46368
46341
|
} else {
|
|
46369
46342
|
if (source[value] !== "") {
|
|
@@ -46411,7 +46384,7 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46411
46384
|
// set title(value: string) {
|
|
46412
46385
|
// this._title = value;
|
|
46413
46386
|
// }
|
|
46414
|
-
(0,
|
|
46387
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(CellProperty, [{
|
|
46415
46388
|
key: "customProperties",
|
|
46416
46389
|
get: function get() {
|
|
46417
46390
|
return this._customProperties;
|
|
@@ -59693,19 +59666,28 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59693
59666
|
}
|
|
59694
59667
|
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, isFront, allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties, json.dataId, json.associatedElement);
|
|
59695
59668
|
// 旧的上级医生签名锁定判断方式 上级医生签名位置 存bec01数组 病历加载时根据签名元素内的bec01处理
|
|
59696
|
-
var superLuck = hoEditorFactory.superiorSigns
|
|
59669
|
+
var superLuck = Array.isArray(hoEditorFactory.superiorSigns) && hoEditorFactory.superiorSigns.includes(signNode.customProperty.bce01);
|
|
59697
59670
|
// hoEditorFactory.forbidEditBeforeSign 锁定已签名元素前内容
|
|
59698
59671
|
// hoEditorFactory.lockContent 锁定非患者签名所在行内容
|
|
59699
|
-
if (signNode.imgSrc) {
|
|
59700
|
-
|
|
59701
|
-
|
|
59702
|
-
hoEditorFactory.structureConvert._superiorSign[0] = signNode;
|
|
59703
|
-
}
|
|
59672
|
+
if (superLuck && signNode.imgSrc) {
|
|
59673
|
+
// 旧的上级签名锁定方式 云his个别医院使用中 与iho锁定判断分开
|
|
59674
|
+
hoEditorFactory.structureConvert._superiorSign[0] = signNode;
|
|
59704
59675
|
} else {
|
|
59705
|
-
|
|
59706
|
-
hoEditorFactory.structureConvert._superiorSign[0] = signNode;
|
|
59707
|
-
}
|
|
59676
|
+
hoEditorFactory.vueController.setLastSignNode(signNode);
|
|
59708
59677
|
}
|
|
59678
|
+
// if(signNode.attribute != 1) {
|
|
59679
|
+
// if ((signNode.imgSrc && (superLuck || hoEditorFactory.forbidEditBeforeSign)) || hoEditorFactory.lockContent) {
|
|
59680
|
+
// hoEditorFactory.structureConvert._superiorSign[0] = signNode;
|
|
59681
|
+
// }
|
|
59682
|
+
// } else if(signNode.attribute == 1 && signNode.imgSrc && (hoEditorFactory.forbidEditBeforeSign || hoEditorFactory.lockContent)) {
|
|
59683
|
+
// hoEditorFactory.structureConvert._superiorSign[0] = signNode;
|
|
59684
|
+
// }
|
|
59685
|
+
// else {
|
|
59686
|
+
// if(hoEditorFactory.reviewMode && (signNode.imgSrc || signNode.fingerPrintSrc)) {
|
|
59687
|
+
// console.log("??????????",signNode)
|
|
59688
|
+
// hoEditorFactory.structureConvert._superiorSign[0] = signNode;
|
|
59689
|
+
// }
|
|
59690
|
+
// }
|
|
59709
59691
|
// if (json.id != "") {
|
|
59710
59692
|
// signNode.id = json.id;
|
|
59711
59693
|
// }
|
|
@@ -63084,7 +63066,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63084
63066
|
// canAdjustRowHeight: this.tableProperty.canAdjustRowHeight,
|
|
63085
63067
|
// canAdjustRowWidth: this.tableProperty.canAdjustRowWidth,
|
|
63086
63068
|
// canDeleteRow: this.tableProperty.canDeleteRow,
|
|
63087
|
-
//
|
|
63069
|
+
// canDelTable: this.tableProperty.canDelTable,
|
|
63088
63070
|
// continuePrintBorders: this.tableProperty.continuePrintBorders,
|
|
63089
63071
|
// customProperties,
|
|
63090
63072
|
// layoutFullLine: this.tableProperty.layoutFullLine,
|
|
@@ -63112,8 +63094,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63112
63094
|
if (!this.tableProperty.canDeleteRow) {
|
|
63113
63095
|
tableProperty.canDeleteRow = this.tableProperty.canDeleteRow;
|
|
63114
63096
|
}
|
|
63115
|
-
if (!this.tableProperty.
|
|
63116
|
-
tableProperty.
|
|
63097
|
+
if (!this.tableProperty.canDelTable) {
|
|
63098
|
+
tableProperty.canDelTable = this.tableProperty.canDelTable;
|
|
63117
63099
|
}
|
|
63118
63100
|
if (this.tableProperty.continuePrintBorders) {
|
|
63119
63101
|
tableProperty.continuePrintBorders = this.tableProperty.continuePrintBorders;
|
|
@@ -63388,7 +63370,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63388
63370
|
key: "delete",
|
|
63389
63371
|
value: function _delete(operType) {
|
|
63390
63372
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_41__/* .HOEditorFactorys */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
63391
|
-
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_42__/* .PaintState */ .Dh.psDesign || this.tableProperty.
|
|
63373
|
+
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_42__/* .PaintState */ .Dh.psDesign || this.tableProperty.canDelTable) {
|
|
63392
63374
|
var parentNodes = this.getParentNodes();
|
|
63393
63375
|
var nextParagraphNode = this.nextSibling();
|
|
63394
63376
|
var ret = false;
|
|
@@ -63817,7 +63799,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63817
63799
|
tableProperty.canAddRow = tp["canAddRow"] === false || tp["canAddRow"] === "false" ? false : true;
|
|
63818
63800
|
tableProperty.canAddCol = tp["canAddCol"] === false || tp["canAddCol"] === "false" ? false : true;
|
|
63819
63801
|
tableProperty.canDeleteRow = tp["canDeleteRow"] === false || tp["canDeleteRow"] === 'false' ? false : true;
|
|
63820
|
-
tableProperty.
|
|
63802
|
+
tableProperty.canDelTable = tp["canDelTable"] === false || tp["canDelTable"] === 'false' ? false : true;
|
|
63821
63803
|
tableProperty.continuePrintBorders = tp["continuePrintBorders"] === true || tp["continuePrintBorders"] === "true" ? true : false;
|
|
63822
63804
|
tableProperty.isAutoChangeLine = tp["isAutoChangeLine"] === true || tp["isAutoChangeLine"] === "true" ? true : false;
|
|
63823
63805
|
tableProperty.autoLineHeight = tp["autoLineHeight"] ? Number(tp["autoLineHeight"]) : 0.53;
|
|
@@ -75213,10 +75195,10 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75213
75195
|
this._node = cell.table;
|
|
75214
75196
|
this._rowIndex = rowIndex;
|
|
75215
75197
|
this._colIndex = colIndex;
|
|
75216
|
-
this._dObj.addEventListener(
|
|
75198
|
+
this._dObj.addEventListener('mouseover', function (e) {
|
|
75217
75199
|
return _this.onMouseEnter(e);
|
|
75218
75200
|
});
|
|
75219
|
-
this._dObj.addEventListener(
|
|
75201
|
+
this._dObj.addEventListener('mouseout', function (e) {
|
|
75220
75202
|
return _this.onMouseOut(e);
|
|
75221
75203
|
});
|
|
75222
75204
|
ResizeDrawTableObj._dashLine.visible = false;
|
|
@@ -75224,25 +75206,24 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75224
75206
|
}
|
|
75225
75207
|
(0,createClass/* default */.Z)(ResizeDrawTableObj, [{
|
|
75226
75208
|
key: "isMouseOnRange",
|
|
75227
|
-
value: function isMouseOnRange(stageX, stageY) {
|
|
75209
|
+
value: function isMouseOnRange(stageX, stageY, localX, localY) {
|
|
75228
75210
|
var pos = this._dObj.globalToLocal(stageX, stageY);
|
|
75229
|
-
//
|
|
75211
|
+
// const pos = {
|
|
75212
|
+
// x: localX,
|
|
75213
|
+
// y: localY
|
|
75214
|
+
// };
|
|
75230
75215
|
var inYrange = false;
|
|
75231
75216
|
var inXrange = false;
|
|
75232
75217
|
var rect = this._dObj.getBounds();
|
|
75233
|
-
// console.log("rect", rect.width, rect.height);
|
|
75234
75218
|
if (rect) {
|
|
75235
75219
|
var dWidth = rect.width;
|
|
75236
75220
|
var dHeight = rect.height;
|
|
75237
|
-
if (0 < pos.x && pos.x < dWidth && pos.y >= 0 && Math.abs(pos.y - dHeight) <
|
|
75221
|
+
if (0 < pos.x && pos.x < dWidth && pos.y >= 0 && Math.abs(pos.y - dHeight) < 5) {
|
|
75238
75222
|
inYrange = true;
|
|
75239
|
-
|
|
75240
|
-
// this.setBoundsYMoveable(e.stageY, dWidth);
|
|
75241
|
-
} else if (0 <= pos.y && pos.y <= dHeight && (pos.x < 3 || Math.abs(pos.x - dWidth) < 3)) {
|
|
75223
|
+
} else if (0 <= pos.y && pos.y <= dHeight && (pos.x < 5 || Math.abs(pos.x - dWidth) < 5)) {
|
|
75242
75224
|
inXrange = true;
|
|
75243
75225
|
}
|
|
75244
75226
|
}
|
|
75245
|
-
// console.log("测试", inXrange, inYrange);
|
|
75246
75227
|
return [inXrange, inYrange];
|
|
75247
75228
|
}
|
|
75248
75229
|
}, {
|
|
@@ -75254,7 +75235,7 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75254
75235
|
return;
|
|
75255
75236
|
}
|
|
75256
75237
|
var rect = this._dObj.getBounds();
|
|
75257
|
-
var _this$isMouseOnRange = this.isMouseOnRange(e.stageX, e.stageY),
|
|
75238
|
+
var _this$isMouseOnRange = this.isMouseOnRange(e.stageX, e.stageY, e.localX, e.localY),
|
|
75258
75239
|
_this$isMouseOnRange2 = (0,slicedToArray/* default */.Z)(_this$isMouseOnRange, 2),
|
|
75259
75240
|
inXRange = _this$isMouseOnRange2[0],
|
|
75260
75241
|
inYrange = _this$isMouseOnRange2[1];
|
|
@@ -75265,13 +75246,15 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75265
75246
|
inXRange = false;
|
|
75266
75247
|
}
|
|
75267
75248
|
if (inYrange) {
|
|
75268
|
-
this._dObj.cursor =
|
|
75249
|
+
this._dObj.cursor = 's-resize';
|
|
75250
|
+
ResizeDrawTableObj._dashLine.graphics.clear().beginFill('#FFFFFF').drawRect(0, 0, hoEditorFactory.pageProperty.widthPixes, 6);
|
|
75269
75251
|
this.setBoundsYMoveable(e.stageY, rect ? rect.height : 0);
|
|
75270
75252
|
} else if (inXRange) {
|
|
75271
|
-
this._dObj.cursor =
|
|
75253
|
+
this._dObj.cursor = 'w-resize';
|
|
75254
|
+
ResizeDrawTableObj._dashLine.graphics.clear().beginFill('#FFFFFF').drawRect(0, 0, hoEditorFactory.pageProperty.heightPixes, 6);
|
|
75272
75255
|
this.setBoundsXMoveable(e.stageX);
|
|
75273
75256
|
} else {
|
|
75274
|
-
this._dObj.cursor =
|
|
75257
|
+
this._dObj.cursor = 'default';
|
|
75275
75258
|
ResizeDrawTableObj._dashLine.visible = false;
|
|
75276
75259
|
}
|
|
75277
75260
|
}
|
|
@@ -75283,58 +75266,43 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75283
75266
|
if (dPage) {
|
|
75284
75267
|
var selectContainer = dPage.selectContainer;
|
|
75285
75268
|
if (selectContainer) {
|
|
75286
|
-
ResizeDrawTableObj._dashLine.uncache();
|
|
75269
|
+
// ResizeDrawTableObj._dashLine.uncache();
|
|
75287
75270
|
ResizeDrawTableObj._dashLine.visible = true;
|
|
75288
|
-
ResizeDrawTableObj._dashLine.graphics.clear().beginFill(
|
|
75289
|
-
ResizeDrawTableObj._dashLine.graphics.setStrokeDash([
|
|
75290
|
-
ResizeDrawTableObj._dashLine.cache(0, 0, hoEditorFactory.pageProperty.widthPixes, 6);
|
|
75271
|
+
// ResizeDrawTableObj._dashLine.graphics.clear().beginFill('#FFFFFF').drawRect(0, 0, hoEditorFactory.pageProperty.widthPixes, 6);
|
|
75272
|
+
ResizeDrawTableObj._dashLine.graphics.setStrokeDash([7, 3], 0).setStrokeStyle(1).beginStroke('#3684e4').drawRect(0, 3, hoEditorFactory.pageProperty.widthPixes, 1);
|
|
75273
|
+
// ResizeDrawTableObj._dashLine.cache(0, 0, hoEditorFactory.pageProperty.widthPixes, 6);
|
|
75291
75274
|
var pos = this._dObj.localToGlobal(0, 0);
|
|
75292
75275
|
ResizeDrawTableObj._dashLine.x = 0;
|
|
75293
75276
|
ResizeDrawTableObj._dashLine.y = pos.y / DrawConfig/* DrawConfig */.f.instance().scaleXY + (this._dObj.getBounds() ? this._dObj.getBounds().height : 0) - 3;
|
|
75294
|
-
// const hitArea = new createjs.Shape();
|
|
75295
|
-
// this._dashLine.hitArea = hitArea;
|
|
75296
|
-
// hitArea.graphics
|
|
75297
|
-
// .clear()
|
|
75298
|
-
// .beginFill("#000000")
|
|
75299
|
-
// .drawRect(0, 0, HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, 6);
|
|
75300
|
-
// hitArea.x = 0;
|
|
75301
|
-
// hitArea.y = this._dashLine.y - 3;
|
|
75302
|
-
// hitArea.alpha = 0.01;
|
|
75303
|
-
// stage.addChild(hitArea);
|
|
75304
75277
|
selectContainer.addChild(ResizeDrawTableObj._dashLine);
|
|
75305
75278
|
}
|
|
75306
75279
|
var oldY = ResizeDrawTableObj._dashLine.y;
|
|
75307
75280
|
var startY = ResizeDrawTableObj._dashLine.y;
|
|
75308
75281
|
var table = this._node;
|
|
75309
75282
|
var rowIndex = this._rowIndex;
|
|
75310
|
-
|
|
75311
|
-
|
|
75312
|
-
ResizeDrawTableObj._dashLine.removeAllEventListeners(
|
|
75313
|
-
ResizeDrawTableObj._dashLine
|
|
75314
|
-
|
|
75315
|
-
ResizeDrawTableObj._dashLine.addEventListener("pressmove", function (e) {
|
|
75283
|
+
// const dobj = this._dObj;
|
|
75284
|
+
ResizeDrawTableObj._dashLine.removeAllEventListeners('pressmove');
|
|
75285
|
+
// ResizeDrawTableObj._dashLine.removeAllEventListeners('pressup');
|
|
75286
|
+
// const dashLine = ResizeDrawTableObj._dashLine;
|
|
75287
|
+
ResizeDrawTableObj._dashLine.addEventListener('pressmove', function (e) {
|
|
75316
75288
|
hoEditorFactory.drawTree.selectRange.clearAllSelectShape();
|
|
75317
75289
|
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
75318
|
-
if (!dobj.stage) {
|
|
75319
|
-
|
|
75320
|
-
|
|
75321
|
-
}
|
|
75322
|
-
|
|
75323
|
-
dashLine.y += e.stageY / DrawConfig/* DrawConfig */.f.instance().scaleXY - oldY;
|
|
75324
|
-
//e.target.y += e.stageY - oldY;
|
|
75290
|
+
// if (!dobj.stage) {
|
|
75291
|
+
// ResizeDrawTableObj._dashLine.visible = false;
|
|
75292
|
+
// return;
|
|
75293
|
+
// }
|
|
75294
|
+
ResizeDrawTableObj._dashLine.y += e.stageY / DrawConfig/* DrawConfig */.f.instance().scaleXY - oldY;
|
|
75325
75295
|
oldY = e.stageY / DrawConfig/* DrawConfig */.f.instance().scaleXY;
|
|
75326
|
-
//oldY = e.stageY;
|
|
75327
75296
|
});
|
|
75328
|
-
|
|
75329
75297
|
var hoEditorFactoryID = this._hoEditorFactoryID;
|
|
75330
|
-
ResizeDrawTableObj._dashLine.
|
|
75331
|
-
if (!dobj.stage) {
|
|
75332
|
-
|
|
75333
|
-
|
|
75334
|
-
}
|
|
75335
|
-
|
|
75336
|
-
if (
|
|
75337
|
-
|
|
75298
|
+
ResizeDrawTableObj._dashLine.on('pressup', function (e) {
|
|
75299
|
+
// if (!dobj.stage) {
|
|
75300
|
+
// ResizeDrawTableObj._dashLine.visible = false;
|
|
75301
|
+
// return;
|
|
75302
|
+
// }
|
|
75303
|
+
ResizeDrawTableObj._dashLine.visible = false;
|
|
75304
|
+
if (ResizeDrawTableObj._dashLine.stage) {
|
|
75305
|
+
ResizeDrawTableObj._dashLine.stage.removeChild(ResizeDrawTableObj._dashLine);
|
|
75338
75306
|
}
|
|
75339
75307
|
var newHeight = table.rowInfos[rowIndex].rowHeight + (e.target.y - startY);
|
|
75340
75308
|
var minHeight = hoEditorFactory.defaultLineHeight;
|
|
@@ -75348,69 +75316,53 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75348
75316
|
hoEditorFactory.undoService.begin();
|
|
75349
75317
|
hoEditorFactory.undoService.add(new TableResizeRowUndoUnit/* TableResizeRowUndoUnit */.w(hoEditorFactoryID, table, rowIndex, table.rowInfos[rowIndex].rowHeight, newHeight));
|
|
75350
75318
|
hoEditorFactory.undoService.commit();
|
|
75351
|
-
|
|
75352
|
-
// table.updateRowHeight([rowIndex]);
|
|
75353
|
-
// table.update();
|
|
75354
|
-
});
|
|
75319
|
+
}, this, true);
|
|
75355
75320
|
}
|
|
75356
75321
|
}
|
|
75357
75322
|
}, {
|
|
75358
75323
|
key: "setBoundsXMoveable",
|
|
75359
75324
|
value: function setBoundsXMoveable(x) {
|
|
75360
|
-
var
|
|
75325
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
75326
|
+
var dPage = hoEditorFactory.drawPageTree.getDrawPageByDNode(this._dObj);
|
|
75361
75327
|
if (dPage) {
|
|
75362
75328
|
var selectContainer = dPage.selectContainer;
|
|
75363
75329
|
if (selectContainer) {
|
|
75364
|
-
ResizeDrawTableObj._dashLine.uncache();
|
|
75365
|
-
ResizeDrawTableObj._dashLine.
|
|
75366
|
-
ResizeDrawTableObj._dashLine.graphics.
|
|
75367
|
-
ResizeDrawTableObj._dashLine.
|
|
75330
|
+
// ResizeDrawTableObj._dashLine.uncache();
|
|
75331
|
+
ResizeDrawTableObj._dashLine.visible = true;
|
|
75332
|
+
// ResizeDrawTableObj._dashLine.graphics.clear().beginFill('#FFFFFF').drawRect(0, 0, 6, hoEditorFactory.pageProperty.heightPixes);
|
|
75333
|
+
ResizeDrawTableObj._dashLine.graphics.setStrokeDash([7, 3], 0).setStrokeStyle(1).beginStroke('#3684e4').drawRect(3, 0, 1, hoEditorFactory.pageProperty.heightPixes);
|
|
75334
|
+
// ResizeDrawTableObj._dashLine.cache(0, 0, 6, hoEditorFactory.pageProperty.heightPixes);
|
|
75368
75335
|
ResizeDrawTableObj._dashLine.x = x / DrawConfig/* DrawConfig */.f.instance().scaleXY - 3;
|
|
75369
75336
|
ResizeDrawTableObj._dashLine.y = 0;
|
|
75370
|
-
ResizeDrawTableObj._dashLine.visible = true;
|
|
75371
|
-
// const hitArea = new createjs.Shape();
|
|
75372
|
-
// this._dashLine.hitArea = hitArea;
|
|
75373
|
-
// hitArea.graphics
|
|
75374
|
-
// .clear()
|
|
75375
|
-
// .beginFill("#000000")
|
|
75376
|
-
// .drawRect(0, 0, HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, 6);
|
|
75377
|
-
// hitArea.x = 0;
|
|
75378
|
-
// hitArea.y = this._dashLine.y - 3;
|
|
75379
|
-
// hitArea.alpha = 0.01;
|
|
75380
|
-
// stage.addChild(hitArea);
|
|
75381
75337
|
selectContainer.addChild(ResizeDrawTableObj._dashLine);
|
|
75382
75338
|
}
|
|
75383
75339
|
}
|
|
75384
75340
|
var oldX = ResizeDrawTableObj._dashLine.x;
|
|
75385
75341
|
var startX = ResizeDrawTableObj._dashLine.x;
|
|
75386
75342
|
var table = this._node;
|
|
75387
|
-
var rowIndex = this._rowIndex;
|
|
75388
75343
|
var colIndex = this._colIndex;
|
|
75389
|
-
|
|
75390
|
-
|
|
75391
|
-
ResizeDrawTableObj._dashLine.removeAllEventListeners(
|
|
75392
|
-
ResizeDrawTableObj._dashLine
|
|
75393
|
-
|
|
75394
|
-
|
|
75395
|
-
|
|
75396
|
-
|
|
75397
|
-
|
|
75398
|
-
|
|
75399
|
-
//
|
|
75400
|
-
|
|
75401
|
-
//e.target.y += e.stageY - oldY;
|
|
75344
|
+
// const dobj = this._dObj;
|
|
75345
|
+
ResizeDrawTableObj._dashLine.removeAllEventListeners('pressmove');
|
|
75346
|
+
// ResizeDrawTableObj._dashLine.removeAllEventListeners('pressup');
|
|
75347
|
+
// const dashLine = ResizeDrawTableObj._dashLine;
|
|
75348
|
+
ResizeDrawTableObj._dashLine.addEventListener('pressmove', function (e) {
|
|
75349
|
+
hoEditorFactory.drawTree.selectRange.clearAllSelectShape();
|
|
75350
|
+
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
75351
|
+
// if (!dobj.stage) {
|
|
75352
|
+
// ResizeDrawTableObj._dashLine.visible = false;
|
|
75353
|
+
// return;
|
|
75354
|
+
// }
|
|
75355
|
+
ResizeDrawTableObj._dashLine.x += e.stageX / DrawConfig/* DrawConfig */.f.instance().scaleXY - oldX;
|
|
75402
75356
|
oldX = e.stageX / DrawConfig/* DrawConfig */.f.instance().scaleXY;
|
|
75403
|
-
//oldY = e.stageY;
|
|
75404
75357
|
});
|
|
75405
|
-
|
|
75406
|
-
|
|
75407
|
-
|
|
75408
|
-
|
|
75409
|
-
|
|
75410
|
-
|
|
75411
|
-
|
|
75412
|
-
|
|
75413
|
-
dashLine.stage.removeChild(dashLine);
|
|
75358
|
+
ResizeDrawTableObj._dashLine.on('pressup', function (e) {
|
|
75359
|
+
// if (!dobj.stage) {
|
|
75360
|
+
// ResizeDrawTableObj._dashLine.visible = false;
|
|
75361
|
+
// return;
|
|
75362
|
+
// }
|
|
75363
|
+
ResizeDrawTableObj._dashLine.visible = false;
|
|
75364
|
+
if (ResizeDrawTableObj._dashLine.stage) {
|
|
75365
|
+
ResizeDrawTableObj._dashLine.stage.removeChild(ResizeDrawTableObj._dashLine);
|
|
75414
75366
|
}
|
|
75415
75367
|
var deltaWidth = e.target.x - startX;
|
|
75416
75368
|
var oldWidth = table.colInfos[colIndex].colWidth;
|
|
@@ -75418,28 +75370,13 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75418
75370
|
hoEditorFactory.undoService.begin();
|
|
75419
75371
|
hoEditorFactory.undoService.add(new TableResizeColUndoUnit/* TableResizeColUndoUnit */.D(hoEditorFactory.hoEditorFactoryId, table, colIndex, newWidth));
|
|
75420
75372
|
hoEditorFactory.undoService.commit();
|
|
75421
|
-
|
|
75422
|
-
// if (table.colInfos[colIndex].colWidth < 20) {
|
|
75423
|
-
// table.colInfos[colIndex].colWidth = 20;
|
|
75424
|
-
// }
|
|
75425
|
-
// colindexs.push(colIndex);
|
|
75426
|
-
// if (colIndex < table.colInfos.length - 1) {
|
|
75427
|
-
// table.colInfos[colIndex + 1].colWidth +=
|
|
75428
|
-
// oldWidth - table.colInfos[colIndex].colWidth;
|
|
75429
|
-
// colindexs.push(colIndex + 1);
|
|
75430
|
-
// if (table.colInfos[colIndex + 1].colWidth < 20) {
|
|
75431
|
-
// table.colInfos[colIndex + 1].colWidth = 20;
|
|
75432
|
-
// }
|
|
75433
|
-
// }
|
|
75434
|
-
// table.updateColWidth(colindexs);
|
|
75435
|
-
// table.update();
|
|
75436
|
-
});
|
|
75373
|
+
}, this, true);
|
|
75437
75374
|
}
|
|
75438
75375
|
}, {
|
|
75439
75376
|
key: "onMouseOut",
|
|
75440
75377
|
value: function onMouseOut(e) {
|
|
75441
75378
|
if (ResizeDrawTableObj._dashLine && e.nativeEvent.buttons === 0) {
|
|
75442
|
-
var _this$isMouseOnRange3 = this.isMouseOnRange(e.stageX, e.stageY),
|
|
75379
|
+
var _this$isMouseOnRange3 = this.isMouseOnRange(e.stageX, e.stageY, e.localX, e.localY),
|
|
75443
75380
|
_this$isMouseOnRange4 = (0,slicedToArray/* default */.Z)(_this$isMouseOnRange3, 2),
|
|
75444
75381
|
inXrange = _this$isMouseOnRange4[0],
|
|
75445
75382
|
inYrange = _this$isMouseOnRange4[1];
|
|
@@ -75448,7 +75385,8 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75448
75385
|
ResizeDrawTableObj._dashLine.stage.removeChild(ResizeDrawTableObj._dashLine);
|
|
75449
75386
|
}
|
|
75450
75387
|
ResizeDrawTableObj._dashLine.visible = false;
|
|
75451
|
-
|
|
75388
|
+
// ResizeDrawTableObj._dashLine.removeAllEventListeners('pressmove');
|
|
75389
|
+
this._dObj.cursor = 'default';
|
|
75452
75390
|
}
|
|
75453
75391
|
}
|
|
75454
75392
|
}
|
|
@@ -75919,9 +75857,9 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
75919
75857
|
this._touchArea.y = 0;
|
|
75920
75858
|
this._touchArea.graphics.clear().beginFill("#000000")
|
|
75921
75859
|
//右竖线
|
|
75922
|
-
.drawRect(this._dWidth -
|
|
75860
|
+
.drawRect(this._dWidth - 5, 0, 10, rowHeight)
|
|
75923
75861
|
//下横线
|
|
75924
|
-
.drawRect(0, rowHeight -
|
|
75862
|
+
.drawRect(0, rowHeight - 5, this._dWidth, 10);
|
|
75925
75863
|
this._touchArea.alpha = 0.01;
|
|
75926
75864
|
this._touchArea.setBounds(0, 0, this._dWidth, rowHeight);
|
|
75927
75865
|
if (!this.contains(this._touchArea)) {
|
|
@@ -90853,11 +90791,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
90853
90791
|
_context3.next = 73;
|
|
90854
90792
|
break;
|
|
90855
90793
|
}
|
|
90856
|
-
node = nodes[n];
|
|
90857
|
-
// message.warn("元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。");
|
|
90858
|
-
// this._isError = true;
|
|
90859
|
-
// return;
|
|
90860
|
-
// }
|
|
90794
|
+
node = nodes[n];
|
|
90861
90795
|
if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_33__/* .ControlNode */ .w && !(node instanceof _dom_treeNode_RareCharNode__WEBPACK_IMPORTED_MODULE_41__/* .RareCharNode */ .Q) || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_25__/* .TextInputFieldNode */ .re)) {
|
|
90862
90796
|
_context3.next = 44;
|
|
90863
90797
|
break;
|
|
@@ -90915,7 +90849,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
90915
90849
|
this._isError = true;
|
|
90916
90850
|
return _context3.abrupt("return");
|
|
90917
90851
|
case 60:
|
|
90918
|
-
if (!(node instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_31__/* .TableNode */ .Fh)) {
|
|
90852
|
+
if (!(node instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_31__/* .TableNode */ .Fh && !node.tableProperty.canDelTable)) {
|
|
90919
90853
|
_context3.next = 65;
|
|
90920
90854
|
break;
|
|
90921
90855
|
}
|
|
@@ -169026,7 +168960,7 @@ var map = {
|
|
|
169026
168960
|
"./table/TableForm.vue": 79036,
|
|
169027
168961
|
"./table/TableFormTree.vue": 84804,
|
|
169028
168962
|
"./table/TableFormula.vue": 80199,
|
|
169029
|
-
"./table/TableProperty.vue":
|
|
168963
|
+
"./table/TableProperty.vue": 72196,
|
|
169030
168964
|
"./table/TableRowProperty.vue": 55631,
|
|
169031
168965
|
"./textDialog/TextDialog.vue": 49594,
|
|
169032
168966
|
"./textDialog/TextToLabelDialog.vue": 2355,
|
|
@@ -209657,7 +209591,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
209657
209591
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
209658
209592
|
var ParagraphNode = __webpack_require__(67945);
|
|
209659
209593
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
209660
|
-
/* harmony default export */ var version = ('3.1.
|
|
209594
|
+
/* harmony default export */ var version = ('3.1.113');
|
|
209661
209595
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
209662
209596
|
var PoperTipText = __webpack_require__(50987);
|
|
209663
209597
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -213088,7 +213022,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
|
|
|
213088
213022
|
jquery_default()(jnode).attr;
|
|
213089
213023
|
var tableProperty = new TableProperty/* TableProperty */.vE('');
|
|
213090
213024
|
tableProperty.continuePrintBorders = tableProperty['continuePrintBorders'] || false;
|
|
213091
|
-
tableProperty.
|
|
213025
|
+
tableProperty.canDelTable = tableProperty['canDelTable'] || false;
|
|
213092
213026
|
tableProperty.canDeleteRow = tableProperty['canDeleteRow'] || false;
|
|
213093
213027
|
tableProperty.canAddRow = tableProperty['canAddRow'] || false;
|
|
213094
213028
|
tableProperty.canAddCol = tableProperty['canAddCol'] || false;
|
|
@@ -216871,10 +216805,6 @@ var TOHTMLConverter = /*#__PURE__*/function () {
|
|
|
216871
216805
|
var UnitConvert = __webpack_require__(91404);
|
|
216872
216806
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
|
|
216873
216807
|
var createForOfIteratorHelper = __webpack_require__(17519);
|
|
216874
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
|
|
216875
|
-
var es_array_flat = __webpack_require__(84944);
|
|
216876
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js
|
|
216877
|
-
var es_array_unscopables_flat = __webpack_require__(33792);
|
|
216878
216808
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.js
|
|
216879
216809
|
var web_url = __webpack_require__(60285);
|
|
216880
216810
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.js
|
|
@@ -216885,6 +216815,10 @@ var web_url_search_params_delete = __webpack_require__(46229);
|
|
|
216885
216815
|
var web_url_search_params_has = __webpack_require__(17330);
|
|
216886
216816
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
|
|
216887
216817
|
var web_url_search_params_size = __webpack_require__(62062);
|
|
216818
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
|
|
216819
|
+
var es_array_flat = __webpack_require__(84944);
|
|
216820
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js
|
|
216821
|
+
var es_array_unscopables_flat = __webpack_require__(33792);
|
|
216888
216822
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match-all.js
|
|
216889
216823
|
var es_string_match_all = __webpack_require__(76373);
|
|
216890
216824
|
// EXTERNAL MODULE: ./src/editor/events/NodeChangingEvent.ts
|
|
@@ -218156,14 +218090,14 @@ var VueController = /*#__PURE__*/function () {
|
|
|
218156
218090
|
*/
|
|
218157
218091
|
}, {
|
|
218158
218092
|
key: "insertTable",
|
|
218159
|
-
value: function insertTable(irow, icol) {
|
|
218093
|
+
value: function insertTable(irow, icol, property) {
|
|
218160
218094
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
218161
218095
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
218162
218096
|
var startPath = _curDomRange.normalize().startPath;
|
|
218163
218097
|
var endPath = _curDomRange.normalize().endPath;
|
|
218164
218098
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType */.y.insertTable);
|
|
218165
218099
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
218166
|
-
hoEditorFactory.docController.insertTable(_curDomRange, irow, icol);
|
|
218100
|
+
hoEditorFactory.docController.insertTable(_curDomRange, irow, icol, property);
|
|
218167
218101
|
}
|
|
218168
218102
|
}
|
|
218169
218103
|
/**
|
|
@@ -218311,7 +218245,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
218311
218245
|
* @params `canAdjustRowHeight bool 用户可调整行高(默认true)`
|
|
218312
218246
|
* @params `canAdjustRowWidth bool 用户可调整行宽(默认true)`
|
|
218313
218247
|
* @params `canDeleteRow bool 用户可删除表格行(默认true)`
|
|
218314
|
-
* @params `
|
|
218248
|
+
* @params `canDelTable bool 用户可删除表格(默认true)`
|
|
218315
218249
|
* @params `continuePrintBorders bool 续打时打印所有单元格边框(默认false)`
|
|
218316
218250
|
* @params `customProperties object[] 自定义属性(默认空) [{text: '', value: ''}]`
|
|
218317
218251
|
*/
|
|
@@ -219720,7 +219654,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219720
219654
|
key: "hiddenMask",
|
|
219721
219655
|
value: function () {
|
|
219722
219656
|
var _hiddenMask = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(isHidden) {
|
|
219723
|
-
var hoEditorFactory, i, drawPage, children, j, superiorSign, signNode,
|
|
219657
|
+
var hoEditorFactory, i, drawPage, children, j, superiorSign, signNode, curArea, actualHeight, pageWidth, pageHeight, curPageIndex, pageCount, paintMask, _yield$this$getPreEmp, _yield$this$getPreEmp2, isExist, pSignArr, drawNode, dline, stagePt, localPt, arrs, g, pSign, pDrawNode, pArea, pageIndex, pline, stagePt1, localPt1, start, h, n, k, _k, t, arr, _h, parr, _k2, sarr, _n, _k3, _k4, _i, _i2;
|
|
219724
219658
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
|
|
219725
219659
|
while (1) switch (_context.prev = _context.next) {
|
|
219726
219660
|
case 0:
|
|
@@ -219739,30 +219673,15 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219739
219673
|
}
|
|
219740
219674
|
hoEditorFactory.drawPageTree.updateDrawPage(i);
|
|
219741
219675
|
}
|
|
219742
|
-
_context.next =
|
|
219676
|
+
_context.next = 55;
|
|
219743
219677
|
break;
|
|
219744
219678
|
case 5:
|
|
219745
219679
|
superiorSign = hoEditorFactory.structureConvert._superiorSign;
|
|
219746
219680
|
signNode = superiorSign[0];
|
|
219747
|
-
if (!(hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.reviewMode)) {
|
|
219748
|
-
_context.next = 13;
|
|
219749
|
-
break;
|
|
219750
|
-
}
|
|
219751
|
-
_this$getAllSignNodeL = this.getAllSignNodeList(hoEditorFactory.userInfo.id), bce01List = _this$getAllSignNodeL.bce01List, patientSign = _this$getAllSignNodeL.patientSign;
|
|
219752
|
-
hasPatientSign = patientSign.filter(function (v) {
|
|
219753
|
-
return v.signed;
|
|
219754
|
-
}).length > 0;
|
|
219755
|
-
if (!(!bce01List.length && !hasPatientSign)) {
|
|
219756
|
-
_context.next = 13;
|
|
219757
|
-
break;
|
|
219758
|
-
}
|
|
219759
|
-
this.hiddenMask(true);
|
|
219760
|
-
return _context.abrupt("return");
|
|
219761
|
-
case 13:
|
|
219762
219681
|
curArea = hoEditorFactory.drawPageTree.getMainRootArea(signNode.drawNodes[0]);
|
|
219763
219682
|
actualHeight = hoEditorFactory.drawPageTree.drawHeaders[0].displayHeight;
|
|
219764
219683
|
if (!(curArea && curArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$)) {
|
|
219765
|
-
_context.next =
|
|
219684
|
+
_context.next = 55;
|
|
219766
219685
|
break;
|
|
219767
219686
|
}
|
|
219768
219687
|
pageWidth = hoEditorFactory.pageProperty.widthPixes + 1;
|
|
@@ -219770,7 +219689,6 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219770
219689
|
curPageIndex = curArea.pageIndex;
|
|
219771
219690
|
pageCount = hoEditorFactory.drawPageTree.drawMainDocs.length;
|
|
219772
219691
|
paintMask = function paintMask(index, height, start) {
|
|
219773
|
-
if (height < 6) return;
|
|
219774
219692
|
var drawPage = hoEditorFactory.drawTree.drawPages[index];
|
|
219775
219693
|
var selectContainer = drawPage.selectContainer;
|
|
219776
219694
|
for (var k = selectContainer.children.length - 1; k >= 0; k--) {
|
|
@@ -219784,6 +219702,11 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219784
219702
|
yVal = start + actualHeight;
|
|
219785
219703
|
heightVal = height - start - actualHeight;
|
|
219786
219704
|
}
|
|
219705
|
+
// heightVal 为负数时 遮罩层不绘制。。。审阅测试出现此情况
|
|
219706
|
+
if (heightVal < 0) {
|
|
219707
|
+
hoEditorFactory.drawPageTree.updateDrawPage(index);
|
|
219708
|
+
return;
|
|
219709
|
+
}
|
|
219787
219710
|
var mask = new createjs.Shape();
|
|
219788
219711
|
mask.setBounds(0, yVal, pageWidth, heightVal);
|
|
219789
219712
|
mask.graphics.clear().beginFill('#000000').drawRect(0, yVal, pageWidth, heightVal).endFill();
|
|
@@ -219798,9 +219721,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219798
219721
|
selectContainer.addChild(mask);
|
|
219799
219722
|
hoEditorFactory.drawPageTree.updateDrawPage(index);
|
|
219800
219723
|
};
|
|
219801
|
-
_context.next =
|
|
219724
|
+
_context.next = 17;
|
|
219802
219725
|
return this.getPreEmptySign(signNode);
|
|
219803
|
-
case
|
|
219726
|
+
case 17:
|
|
219804
219727
|
_yield$this$getPreEmp = _context.sent;
|
|
219805
219728
|
_yield$this$getPreEmp2 = (0,esm_slicedToArray/* default */.Z)(_yield$this$getPreEmp, 2);
|
|
219806
219729
|
isExist = _yield$this$getPreEmp2[0];
|
|
@@ -219808,26 +219731,25 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219808
219731
|
drawNode = signNode.drawNodes[0];
|
|
219809
219732
|
dline = hoEditorFactory.drawTree.getDrawLineByDNode(drawNode);
|
|
219810
219733
|
superiorSign[1] = curPageIndex;
|
|
219811
|
-
//superiorSign[2] = dline.y;
|
|
219812
219734
|
stagePt = dline.localToGlobal(drawNode.x, drawNode.y);
|
|
219813
219735
|
localPt = curArea.globalToLocal(stagePt.x, stagePt.y);
|
|
219814
219736
|
superiorSign[2] = localPt.y - hoEditorFactory.signHeight;
|
|
219815
219737
|
if (!isExist) {
|
|
219816
|
-
_context.next =
|
|
219738
|
+
_context.next = 54;
|
|
219817
219739
|
break;
|
|
219818
219740
|
}
|
|
219819
219741
|
arrs = [];
|
|
219820
219742
|
g = 0;
|
|
219821
|
-
case
|
|
219743
|
+
case 30:
|
|
219822
219744
|
if (!(g < pSignArr.length)) {
|
|
219823
|
-
_context.next =
|
|
219745
|
+
_context.next = 49;
|
|
219824
219746
|
break;
|
|
219825
219747
|
}
|
|
219826
219748
|
pSign = pSignArr[g];
|
|
219827
219749
|
pDrawNode = pSign.drawNodes[0];
|
|
219828
219750
|
pArea = hoEditorFactory.drawPageTree.getMainRootArea(pDrawNode);
|
|
219829
219751
|
if (!(pArea && pArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$)) {
|
|
219830
|
-
_context.next =
|
|
219752
|
+
_context.next = 46;
|
|
219831
219753
|
break;
|
|
219832
219754
|
}
|
|
219833
219755
|
pageIndex = pArea.pageIndex;
|
|
@@ -219836,7 +219758,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219836
219758
|
localPt1 = pArea.globalToLocal(stagePt1.x, stagePt1.y);
|
|
219837
219759
|
start = localPt1.y;
|
|
219838
219760
|
if (!(pSignArr.length === 1)) {
|
|
219839
|
-
_context.next =
|
|
219761
|
+
_context.next = 45;
|
|
219840
219762
|
break;
|
|
219841
219763
|
}
|
|
219842
219764
|
for (h = 0; h < pageIndex; h++) {
|
|
@@ -219866,13 +219788,13 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219866
219788
|
}
|
|
219867
219789
|
}
|
|
219868
219790
|
return _context.abrupt("return");
|
|
219869
|
-
case
|
|
219791
|
+
case 45:
|
|
219870
219792
|
arrs.push([pageIndex, start]);
|
|
219871
|
-
case
|
|
219793
|
+
case 46:
|
|
219872
219794
|
g++;
|
|
219873
|
-
_context.next =
|
|
219795
|
+
_context.next = 30;
|
|
219874
219796
|
break;
|
|
219875
|
-
case
|
|
219797
|
+
case 49:
|
|
219876
219798
|
for (t = 0; t < arrs.length; t++) {
|
|
219877
219799
|
arr = arrs[t];
|
|
219878
219800
|
if (t === 0) {
|
|
@@ -219916,9 +219838,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219916
219838
|
paintMask(curPageIndex, localPt.y + actualHeight - hoEditorFactory.signHeight);
|
|
219917
219839
|
}
|
|
219918
219840
|
}
|
|
219919
|
-
_context.next =
|
|
219841
|
+
_context.next = 55;
|
|
219920
219842
|
break;
|
|
219921
|
-
case
|
|
219843
|
+
case 54:
|
|
219922
219844
|
if (hoEditorFactory.lockContent) {
|
|
219923
219845
|
for (_i = 0; _i < pageCount; _i++) {
|
|
219924
219846
|
//给前面的页画遮罩层
|
|
@@ -219934,7 +219856,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219934
219856
|
//画当前页的遮罩层
|
|
219935
219857
|
paintMask(curPageIndex, localPt.y + actualHeight - hoEditorFactory.signHeight);
|
|
219936
219858
|
}
|
|
219937
|
-
case
|
|
219859
|
+
case 55:
|
|
219938
219860
|
case "end":
|
|
219939
219861
|
return _context.stop();
|
|
219940
219862
|
}
|
|
@@ -219955,17 +219877,36 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219955
219877
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
219956
219878
|
for (var i = 0; i < nodes.length; i++) {
|
|
219957
219879
|
var anode = nodes[i];
|
|
219958
|
-
if (anode instanceof SignNode/* SignNode */.N
|
|
219959
|
-
if (hoEditorFactory.lockContent &&
|
|
219960
|
-
|
|
219961
|
-
signArr.push(anode);
|
|
219962
|
-
} else if (!hoEditorFactory.lockContent) {
|
|
219880
|
+
if (anode instanceof SignNode/* SignNode */.N) {
|
|
219881
|
+
if (!hoEditorFactory.lockContent && !hoEditorFactory.reviewMode) {
|
|
219882
|
+
// 普通锁定 判断已签名的签名元素位置在锁定
|
|
219963
219883
|
var path2 = anode.getNodePath();
|
|
219964
219884
|
var result = NodePosition/* NodePosition */.F.treePathCompare(path1, path2);
|
|
219965
219885
|
if (result > 0) {
|
|
219966
219886
|
mark = true;
|
|
219967
219887
|
signArr.push(anode);
|
|
219968
219888
|
}
|
|
219889
|
+
} else if (hoEditorFactory.lockContent && !hoEditorFactory.reviewMode) {
|
|
219890
|
+
// 预览界面 签名行放开 其他全锁定
|
|
219891
|
+
// if(anode.attribute == 1) {
|
|
219892
|
+
mark = true;
|
|
219893
|
+
signArr.push(anode);
|
|
219894
|
+
// }
|
|
219895
|
+
} else if (!hoEditorFactory.lockContent && hoEditorFactory.reviewMode) {
|
|
219896
|
+
var _anode$customProperty, _anode$customProperty2;
|
|
219897
|
+
if (anode.attribute == 1 || ((_anode$customProperty = anode.customProperty) === null || _anode$customProperty === void 0 ? void 0 : _anode$customProperty.bce01) != hoEditorFactory.userInfo.id) {
|
|
219898
|
+
// 审阅 患者签名和非审阅医生签名 判断位置是否锁定
|
|
219899
|
+
var _path = anode.getNodePath();
|
|
219900
|
+
var _result = NodePosition/* NodePosition */.F.treePathCompare(path1, _path);
|
|
219901
|
+
if (_result > 0) {
|
|
219902
|
+
mark = true;
|
|
219903
|
+
signArr.push(anode);
|
|
219904
|
+
}
|
|
219905
|
+
} else if (((_anode$customProperty2 = anode.customProperty) === null || _anode$customProperty2 === void 0 ? void 0 : _anode$customProperty2.bce01) == hoEditorFactory.userInfo.id) {
|
|
219906
|
+
// 审阅上级医生签名位置不用判断 直接返回
|
|
219907
|
+
mark = true;
|
|
219908
|
+
signArr.push(anode);
|
|
219909
|
+
}
|
|
219969
219910
|
}
|
|
219970
219911
|
}
|
|
219971
219912
|
if (anode instanceof BaseCombineNode/* BaseCombineNode */.V) {
|
|
@@ -219979,6 +219920,60 @@ var VueController = /*#__PURE__*/function () {
|
|
|
219979
219920
|
}
|
|
219980
219921
|
return [false, []];
|
|
219981
219922
|
}
|
|
219923
|
+
}, {
|
|
219924
|
+
key: "clearSuperiorSign",
|
|
219925
|
+
value: function clearSuperiorSign() {
|
|
219926
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
219927
|
+
hoEditorFactory.structureConvert._superiorSign = [];
|
|
219928
|
+
this.hiddenMask(true);
|
|
219929
|
+
}
|
|
219930
|
+
}, {
|
|
219931
|
+
key: "updateHiddenMask",
|
|
219932
|
+
value: function updateHiddenMask() {
|
|
219933
|
+
var _this2 = this;
|
|
219934
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
219935
|
+
this.hiddenMask(true);
|
|
219936
|
+
// 处理前缀签名删除后,签名前无签名元素,签名有签名元素情况
|
|
219937
|
+
var iteratesNodes = function iteratesNodes(nodes) {
|
|
219938
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
219939
|
+
var anode = nodes[i];
|
|
219940
|
+
if (anode instanceof SignNode/* SignNode */.N) {
|
|
219941
|
+
_this2.setLastSignNode(anode);
|
|
219942
|
+
}
|
|
219943
|
+
if (anode instanceof BaseCombineNode/* BaseCombineNode */.V) {
|
|
219944
|
+
iteratesNodes(anode.childNodes);
|
|
219945
|
+
}
|
|
219946
|
+
}
|
|
219947
|
+
};
|
|
219948
|
+
iteratesNodes(hoEditorFactory.docTree.mainNodes);
|
|
219949
|
+
if (hoEditorFactory.structureConvert._superiorSign[0]) {
|
|
219950
|
+
this.hiddenMask(false);
|
|
219951
|
+
}
|
|
219952
|
+
}
|
|
219953
|
+
}, {
|
|
219954
|
+
key: "setLastSignNode",
|
|
219955
|
+
value: function setLastSignNode(node) {
|
|
219956
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
219957
|
+
if (node.attribute != 1) {
|
|
219958
|
+
if (hoEditorFactory.lockContent) {
|
|
219959
|
+
// 全锁定参数锁定 除了患者签名所在行外全锁定 无法修改 可以复制
|
|
219960
|
+
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
219961
|
+
} else if (hoEditorFactory.forbidEditBeforeSign) {
|
|
219962
|
+
if (hoEditorFactory.reviewMode) {
|
|
219963
|
+
var _node$customProperty;
|
|
219964
|
+
// 审阅 锁定当前审阅医生已签名位置前的内容 无法修改 可以复制
|
|
219965
|
+
if (node.imgSrc && ((_node$customProperty = node.customProperty) === null || _node$customProperty === void 0 ? void 0 : _node$customProperty.bce01) == hoEditorFactory.userInfo.id) {
|
|
219966
|
+
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
219967
|
+
}
|
|
219968
|
+
} else if (node.imgSrc) {
|
|
219969
|
+
// 非审阅即正常书写 锁定已签名的医生签名元素前内容 无法修改 可以复制
|
|
219970
|
+
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
219971
|
+
}
|
|
219972
|
+
}
|
|
219973
|
+
} else if ((node.imgSrc || node.fingerPrintSrc) && (hoEditorFactory.forbidEditBeforeSign || hoEditorFactory.lockContent)) {
|
|
219974
|
+
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
219975
|
+
}
|
|
219976
|
+
}
|
|
219982
219977
|
}, {
|
|
219983
219978
|
key: "isCanEdit",
|
|
219984
219979
|
value: function isCanEdit(pageIndex, stageY) {
|
|
@@ -221079,6 +221074,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221079
221074
|
key: "insertXml",
|
|
221080
221075
|
value: function insertXml(xml, area, printAsSinglePage, isDelBlockLine, isNewPage) {
|
|
221081
221076
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221077
|
+
if (xml && !xml.includes("<?xml version")) {
|
|
221078
|
+
xml = gBase64.decode(xml);
|
|
221079
|
+
}
|
|
221082
221080
|
var areaNodes = this.updateStyles(area, xml);
|
|
221083
221081
|
var jsonData = JSON.stringify(areaNodes[0]);
|
|
221084
221082
|
var docId = areaNodes[1];
|
|
@@ -221936,13 +221934,6 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221936
221934
|
value: function getSelectText() {
|
|
221937
221935
|
return this.getRangeText(this.getDomRange());
|
|
221938
221936
|
}
|
|
221939
|
-
}, {
|
|
221940
|
-
key: "clearSuperiorSign",
|
|
221941
|
-
value: function clearSuperiorSign() {
|
|
221942
|
-
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221943
|
-
hoEditorFactory.structureConvert._superiorSign = [];
|
|
221944
|
-
this.hiddenMask(true);
|
|
221945
|
-
}
|
|
221946
221937
|
}, {
|
|
221947
221938
|
key: "deleteNode",
|
|
221948
221939
|
value: function deleteNode(node) {
|
|
@@ -222004,37 +221995,8 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222004
221995
|
}
|
|
222005
221996
|
}
|
|
222006
221997
|
var superiorSign = hoEditorFactory.structureConvert._superiorSign;
|
|
222007
|
-
if (superiorSign.length > 0
|
|
222008
|
-
this.
|
|
222009
|
-
// 处理前缀签名删除后,签名前无签名元素,签名有签名元素情况
|
|
222010
|
-
if (hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.reviewMode) {
|
|
222011
|
-
var list = this.getSignNodeList();
|
|
222012
|
-
superiorSign.length = 0;
|
|
222013
|
-
list = list.flat();
|
|
222014
|
-
list.map(function (v) {
|
|
222015
|
-
if (v.node.imgSrc) {
|
|
222016
|
-
superiorSign[0] = v.node;
|
|
222017
|
-
}
|
|
222018
|
-
});
|
|
222019
|
-
if (superiorSign[0]) {
|
|
222020
|
-
this.hiddenMask(false);
|
|
222021
|
-
}
|
|
222022
|
-
} else {
|
|
222023
|
-
var prenode = signNode.previousLeaf();
|
|
222024
|
-
do {
|
|
222025
|
-
if (prenode) {
|
|
222026
|
-
if (prenode instanceof SignNode/* SignNode */.N && prenode.imgSrc != "") {
|
|
222027
|
-
superiorSign[0] = prenode;
|
|
222028
|
-
this.hiddenMask(false);
|
|
222029
|
-
return;
|
|
222030
|
-
}
|
|
222031
|
-
prenode = prenode.previousLeaf();
|
|
222032
|
-
}
|
|
222033
|
-
} while (prenode);
|
|
222034
|
-
if (!prenode) {
|
|
222035
|
-
superiorSign.length = 0;
|
|
222036
|
-
}
|
|
222037
|
-
}
|
|
221998
|
+
if (superiorSign.length > 0) {
|
|
221999
|
+
this.updateHiddenMask();
|
|
222038
222000
|
}
|
|
222039
222001
|
return;
|
|
222040
222002
|
} else {
|
|
@@ -222046,81 +222008,11 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222046
222008
|
hoEditorFactory.undoService.commit();
|
|
222047
222009
|
var _superiorSign = hoEditorFactory.structureConvert._superiorSign;
|
|
222048
222010
|
if (_superiorSign.length > 0) {
|
|
222049
|
-
|
|
222050
|
-
if (hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.reviewMode) {
|
|
222051
|
-
this.hiddenMask(true);
|
|
222052
|
-
var _list = this.getSignNodeList();
|
|
222053
|
-
_superiorSign.length = 0;
|
|
222054
|
-
_list = _list.flat();
|
|
222055
|
-
_list.map(function (v) {
|
|
222056
|
-
if (v.node.imgSrc) {
|
|
222057
|
-
_superiorSign[0] = v.node;
|
|
222058
|
-
}
|
|
222059
|
-
});
|
|
222060
|
-
if (_superiorSign[0]) {
|
|
222061
|
-
this.hiddenMask(false);
|
|
222062
|
-
}
|
|
222063
|
-
}
|
|
222011
|
+
this.updateHiddenMask();
|
|
222064
222012
|
}
|
|
222065
222013
|
return;
|
|
222066
222014
|
}
|
|
222067
|
-
/*
|
|
222068
|
-
if (preNode instanceof SignNode) {
|
|
222069
|
-
if (hoEditorFactory.drawTree.paintStatus !== PaintState.psDesign) {
|
|
222070
|
-
if (node.isTemplate && node.number === 0) {
|
|
222071
|
-
message.warn('该签名元素不允许删除!');
|
|
222072
|
-
return;
|
|
222073
|
-
}
|
|
222074
|
-
}
|
|
222075
|
-
let spath = '';
|
|
222076
|
-
if (node.number === 2 || (node.number === 1 && node.isTemplate)) {
|
|
222077
|
-
spath = hoEditorFactory.docTree.getNodeLastPath(preNode.previousLeaf() as BaseNode);
|
|
222078
|
-
} else {
|
|
222079
|
-
spath = hoEditorFactory.docTree.getNodeLastPath(preNode);
|
|
222080
|
-
}
|
|
222081
|
-
//const spath = hoEditorFactory.docTree.getNodeLastPath(preNode as BaseNode);
|
|
222082
|
-
//const epath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
222083
|
-
const newSignNode = new SignNode(
|
|
222084
|
-
this._hoEditorFactoryID,
|
|
222085
|
-
preNode.rootNodes,
|
|
222086
|
-
preNode.parentNode,
|
|
222087
|
-
NodeType.ntSign,
|
|
222088
|
-
preNode.number,
|
|
222089
|
-
preNode.type,
|
|
222090
|
-
preNode.name === '' ? '签名' : preNode.name,
|
|
222091
|
-
preNode.signType,
|
|
222092
|
-
preNode.signFormat,
|
|
222093
|
-
preNode.signor,
|
|
222094
|
-
preNode.signTime,
|
|
222095
|
-
preNode.signTimeFormat,
|
|
222096
|
-
preNode.imgSrc,
|
|
222097
|
-
preNode.imgWidth,
|
|
222098
|
-
preNode.imgHeight,
|
|
222099
|
-
preNode.customProperty,
|
|
222100
|
-
preNode.isTemplate ? preNode.isTemplate : node.isTemplate,
|
|
222101
|
-
//node.isTemplate,
|
|
222102
|
-
node.styleIndex,
|
|
222103
|
-
preNode.connectMode,
|
|
222104
|
-
preNode.isFront,
|
|
222105
|
-
preNode.allowEditSignTime,
|
|
222106
|
-
preNode.fingerPrintSrc,
|
|
222107
|
-
preNode.fingerPosition,
|
|
222108
|
-
preNode.attribute,
|
|
222109
|
-
preNode.connectChar,
|
|
222110
|
-
preNode.otherProperties
|
|
222111
|
-
);
|
|
222112
|
-
hoEditorFactory.undoService.begin();
|
|
222113
|
-
const nodesDeleteUndoUnit = new NodesDeleteUndoUnit(this._hoEditorFactoryID, spath, ePath, true);
|
|
222114
|
-
hoEditorFactory.undoService.add(nodesDeleteUndoUnit);
|
|
222115
|
-
if (!nodesDeleteUndoUnit.isError && (node.number === 2 || (node.number === 1 && node.isTemplate))) {
|
|
222116
|
-
hoEditorFactory.undoService.add(new NodeInsertUndoUnit(this._hoEditorFactoryID, spath, newSignNode));
|
|
222117
|
-
}
|
|
222118
|
-
hoEditorFactory.undoService.commit();
|
|
222119
|
-
return;
|
|
222120
|
-
}
|
|
222121
|
-
*/
|
|
222122
222015
|
}
|
|
222123
|
-
|
|
222124
222016
|
hoEditorFactory.undoService.begin();
|
|
222125
222017
|
hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node));
|
|
222126
222018
|
hoEditorFactory.undoService.commit();
|
|
@@ -222951,7 +222843,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222951
222843
|
key: "updateElementTextById",
|
|
222952
222844
|
value: function () {
|
|
222953
222845
|
var _updateElementTextById = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee9(id, text) {
|
|
222954
|
-
var
|
|
222846
|
+
var _this3 = this;
|
|
222955
222847
|
var nodes, _loop4, _ret2, i;
|
|
222956
222848
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee9$(_context11) {
|
|
222957
222849
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -222981,7 +222873,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222981
222873
|
}
|
|
222982
222874
|
return _context10.abrupt("return", 0);
|
|
222983
222875
|
case 5:
|
|
222984
|
-
_hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(
|
|
222876
|
+
_hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(_this3._hoEditorFactoryID);
|
|
222985
222877
|
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
222986
222878
|
_context10.next = 33;
|
|
222987
222879
|
break;
|
|
@@ -223041,7 +222933,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223041
222933
|
getChildNodes(json.node.childNodes.node);
|
|
223042
222934
|
spath = node.StartMarkNode.getNodePath();
|
|
223043
222935
|
epath = node.EndMarkNode.getNodePath();
|
|
223044
|
-
range = new DomRange/* DomRange */.a(
|
|
222936
|
+
range = new DomRange/* DomRange */.a(_this3._hoEditorFactoryID, spath, epath);
|
|
223045
222937
|
_hoEditorFactory.docController.deleteRange(range, true, "update");
|
|
223046
222938
|
(_node$childNodes = node.childNodes).splice.apply(_node$childNodes, [1, 0].concat(childNodes));
|
|
223047
222939
|
node.update(0);
|
|
@@ -223053,7 +222945,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223053
222945
|
break;
|
|
223054
222946
|
}
|
|
223055
222947
|
node.childNodes.splice(1, node.childNodes.length - 2);
|
|
223056
|
-
_nodes4 =
|
|
222948
|
+
_nodes4 = _this3.text2MedicalExpress(text, node.StartMarkNode, node.StartMarkNode.styleIndex);
|
|
223057
222949
|
for (k = 0; k < _nodes4.length; k++) {
|
|
223058
222950
|
node.childNodes.splice(1 + k, 0, _nodes4[k]);
|
|
223059
222951
|
}
|
|
@@ -223191,7 +223083,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223191
223083
|
}, {
|
|
223192
223084
|
key: "createPNG",
|
|
223193
223085
|
value: function createPNG(quality, type, callback) {
|
|
223194
|
-
var
|
|
223086
|
+
var _this4 = this;
|
|
223195
223087
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
223196
223088
|
var createElementNodes = function createElementNodes() {
|
|
223197
223089
|
var drawpages = hoEditorFactory.drawTree.drawPages;
|
|
@@ -223232,7 +223124,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223232
223124
|
document.body.appendChild(pngBox);
|
|
223233
223125
|
callback && callback();
|
|
223234
223126
|
document.querySelector('#hoDownLoadImageBtn').onclick = function () {
|
|
223235
|
-
|
|
223127
|
+
_this4.downLoadPNGHTML();
|
|
223236
223128
|
};
|
|
223237
223129
|
};
|
|
223238
223130
|
if (hoEditorFactory.loadImageCount <= 0) {
|
|
@@ -223278,7 +223170,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223278
223170
|
}, {
|
|
223279
223171
|
key: "createPDF",
|
|
223280
223172
|
value: function createPDF() {
|
|
223281
|
-
var
|
|
223173
|
+
var _this5 = this;
|
|
223282
223174
|
var btn = document.createElement('button');
|
|
223283
223175
|
btn.id = 'hoDownLoadPDFBtn';
|
|
223284
223176
|
btn.style.position = 'fixed';
|
|
@@ -223290,7 +223182,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223290
223182
|
btn.style.outline = 'none';
|
|
223291
223183
|
document.body.appendChild(btn);
|
|
223292
223184
|
document.querySelector('#hoDownLoadPDFBtn').onclick = function () {
|
|
223293
|
-
|
|
223185
|
+
_this5.saveAsPDF();
|
|
223294
223186
|
};
|
|
223295
223187
|
}
|
|
223296
223188
|
/*
|
|
@@ -223656,7 +223548,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223656
223548
|
}, {
|
|
223657
223549
|
key: "setBackgroundByName",
|
|
223658
223550
|
value: function setBackgroundByName(items) {
|
|
223659
|
-
var
|
|
223551
|
+
var _this6 = this;
|
|
223660
223552
|
var selectRangeArr = [];
|
|
223661
223553
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
223662
223554
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
@@ -223666,12 +223558,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
223666
223558
|
for (var m = 0, len = items.length - 1; m <= len; m++) {
|
|
223667
223559
|
var item = items[m];
|
|
223668
223560
|
if (item.text !== '' && (item.name === anode.name || item.id === anode.id || item.dataId === anode.dataId) && anode.text.includes(item.text)) {
|
|
223669
|
-
var range =
|
|
223561
|
+
var range = _this6.search(anode, item.text);
|
|
223670
223562
|
if (range.length > 0) {
|
|
223671
223563
|
selectRangeArr = selectRangeArr.concat(range);
|
|
223672
223564
|
}
|
|
223673
223565
|
} else if (item.text === '' && (item.name === anode.name || item.id === anode.id || item.dataId === anode.dataId)) {
|
|
223674
|
-
var _range =
|
|
223566
|
+
var _range = _this6.search(anode, anode.text);
|
|
223675
223567
|
if (_range.length > 0) {
|
|
223676
223568
|
selectRangeArr = selectRangeArr.concat(_range);
|
|
223677
223569
|
}
|
|
@@ -224378,7 +224270,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224378
224270
|
}, {
|
|
224379
224271
|
key: "showElementsEditRecord",
|
|
224380
224272
|
value: function showElementsEditRecord(objects, id) {
|
|
224381
|
-
var
|
|
224273
|
+
var _this7 = this;
|
|
224382
224274
|
var comments = [];
|
|
224383
224275
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(id ? id : this._hoEditorFactoryID);
|
|
224384
224276
|
if (hoEditorFactory.pageProperty.commentWidthMm == 0) {
|
|
@@ -224417,7 +224309,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224417
224309
|
arr[pos[0]] = [];
|
|
224418
224310
|
}
|
|
224419
224311
|
var obj = {
|
|
224420
|
-
editorId: id ? id :
|
|
224312
|
+
editorId: id ? id : _this7._hoEditorFactoryID,
|
|
224421
224313
|
id: comment.id,
|
|
224422
224314
|
lineHeight: comment.lineHeight,
|
|
224423
224315
|
permissionLevel: comment.permissionLevel,
|
|
@@ -224547,7 +224439,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224547
224439
|
}, {
|
|
224548
224440
|
key: "getAllSignNodeList",
|
|
224549
224441
|
value: function getAllSignNodeList(bce01, showNode) {
|
|
224550
|
-
var
|
|
224442
|
+
var _this8 = this;
|
|
224551
224443
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
224552
224444
|
var signList = [];
|
|
224553
224445
|
var patientSignList = [];
|
|
@@ -224614,7 +224506,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224614
224506
|
}
|
|
224615
224507
|
});
|
|
224616
224508
|
if (signColList.length > 0) {
|
|
224617
|
-
var firstDataRowIndex =
|
|
224509
|
+
var firstDataRowIndex = _this8.getTableTitleMaxRowIndex(node) + 1;
|
|
224618
224510
|
node.rows.forEach(function (rows, rowIndex) {
|
|
224619
224511
|
if (rowIndex >= firstDataRowIndex) {
|
|
224620
224512
|
rows.forEach(function (cellNode, colIndex) {
|
|
@@ -224736,7 +224628,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224736
224628
|
}, {
|
|
224737
224629
|
key: "getSignNodeAndText",
|
|
224738
224630
|
value: function getSignNodeAndText() {
|
|
224739
|
-
var
|
|
224631
|
+
var _this9 = this;
|
|
224740
224632
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
224741
224633
|
var signList = [];
|
|
224742
224634
|
var getAllNodes = function getAllNodes(nodes) {
|
|
@@ -224756,7 +224648,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224756
224648
|
dataId: _node8.dataId,
|
|
224757
224649
|
name: _node8.name
|
|
224758
224650
|
};
|
|
224759
|
-
sign.previousText =
|
|
224651
|
+
sign.previousText = _this9.getPreviousText(_node8);
|
|
224760
224652
|
signList.push(sign);
|
|
224761
224653
|
}
|
|
224762
224654
|
}
|
|
@@ -224773,7 +224665,6 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224773
224665
|
}, {
|
|
224774
224666
|
key: "getSignNodeList",
|
|
224775
224667
|
value: function getSignNodeList(nodeDataId, bce01) {
|
|
224776
|
-
var _this9 = this;
|
|
224777
224668
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
224778
224669
|
var signList = [];
|
|
224779
224670
|
var count = 0;
|
|
@@ -224791,14 +224682,14 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224791
224682
|
number: _node9.number,
|
|
224792
224683
|
isVerify: _node9.otherProperties && _node9.otherProperties.isVerify ? true : false,
|
|
224793
224684
|
customProperty: _node9.customProperty,
|
|
224794
|
-
previousText: '',
|
|
224685
|
+
// previousText: '',
|
|
224795
224686
|
dataId: _node9.dataId,
|
|
224796
224687
|
name: _node9.name,
|
|
224797
224688
|
node: _node9,
|
|
224798
224689
|
attribute: _node9.attribute,
|
|
224799
224690
|
connectMode: _node9.connectMode
|
|
224800
224691
|
};
|
|
224801
|
-
sign.previousText =
|
|
224692
|
+
// sign.previousText = this.getPreviousText(node);
|
|
224802
224693
|
if (_node9.imgSrc || _node9.fingerPrintSrc) {
|
|
224803
224694
|
sign.signed = true;
|
|
224804
224695
|
}
|
|
@@ -225012,7 +224903,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
225012
224903
|
canAdjustRowHeight: node.tableProperty.canAdjustRowHeight,
|
|
225013
224904
|
canAdjustRowWidth: node.tableProperty.canAdjustRowWidth,
|
|
225014
224905
|
canDeleteRow: node.tableProperty.canDeleteRow,
|
|
225015
|
-
|
|
224906
|
+
canDelTable: node.tableProperty.canDelTable,
|
|
225016
224907
|
continuePrintBorders: node.tableProperty.continuePrintBorders,
|
|
225017
224908
|
customProperties: customProperties,
|
|
225018
224909
|
isAutoChangeLine: node.tableProperty.isAutoChangeLine,
|
|
@@ -226453,6 +226344,11 @@ var VueController = /*#__PURE__*/function () {
|
|
|
226453
226344
|
var isHeightValid = Math.abs(heightMm - A5_HEIGHT) <= TOLERANCE || Math.abs(heightMm - A5_WIDTH) <= TOLERANCE;
|
|
226454
226345
|
return isWidthValid && isHeightValid;
|
|
226455
226346
|
}
|
|
226347
|
+
}, {
|
|
226348
|
+
key: "getHoEditorFactory",
|
|
226349
|
+
value: function getHoEditorFactory() {
|
|
226350
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
226351
|
+
}
|
|
226456
226352
|
}]);
|
|
226457
226353
|
return VueController;
|
|
226458
226354
|
}();
|
|
@@ -227557,6 +227453,14 @@ var EditController = /*#__PURE__*/function () {
|
|
|
227557
227453
|
var drawPage = hoEditorFactory.drawTree.activePage;
|
|
227558
227454
|
if (drawPage) {
|
|
227559
227455
|
var dNode = hoEditorFactory.drawTree.getDNodeByPath(curDomRange.endPath);
|
|
227456
|
+
if (dNode instanceof DrawLine/* DrawLine */.a && dNode.drawItems.length == 0) {
|
|
227457
|
+
var headerHeight = hoEditorFactory.drawPageTree.drawHeaders[0].displayHeight;
|
|
227458
|
+
var y = headerHeight + dNode.y + dNode.dHeight;
|
|
227459
|
+
result = hoEditorFactory.vueController.isCanEdit(drawPage.pageIndex, y);
|
|
227460
|
+
if (!result) {
|
|
227461
|
+
return false;
|
|
227462
|
+
}
|
|
227463
|
+
}
|
|
227560
227464
|
if (dNode instanceof DrawLine/* DrawLine */.a && dNode.drawItems.length > 0) {
|
|
227561
227465
|
dNode = dNode.drawItems[0];
|
|
227562
227466
|
}
|
|
@@ -238238,7 +238142,7 @@ var TableController = /*#__PURE__*/function () {
|
|
|
238238
238142
|
* @params `canAdjustRowHeight bool 用户可调整行高(默认true)`
|
|
238239
238143
|
* @params `canAdjustRowWidth bool 用户可调整行宽(默认true)`
|
|
238240
238144
|
* @params `canDeleteRow bool 用户可删除表格行(默认true)`
|
|
238241
|
-
* @params `
|
|
238145
|
+
* @params `canDelTable bool 用户可删除表格(默认true)`
|
|
238242
238146
|
* @params `continuePrintBorders bool 续打时打印所有单元格边框(默认false)`
|
|
238243
238147
|
* @params `customProperties object[] 自定义属性(默认空) [{text: '', value: ''}]`
|
|
238244
238148
|
*/
|
|
@@ -244909,8 +244813,8 @@ var ToolControl_component = (0,componentNormalizer/* default */.Z)(
|
|
|
244909
244813
|
)
|
|
244910
244814
|
|
|
244911
244815
|
/* harmony default export */ var ToolControl = (ToolControl_component.exports);
|
|
244912
|
-
;// 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/toolbar/insert/ToolTable.vue?vue&type=template&id=
|
|
244913
|
-
var
|
|
244816
|
+
;// 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/toolbar/insert/ToolTable.vue?vue&type=template&id=9179c9bc&
|
|
244817
|
+
var ToolTablevue_type_template_id_9179c9bc_render = function render() {
|
|
244914
244818
|
var _vm = this,
|
|
244915
244819
|
_c = _vm._self._c;
|
|
244916
244820
|
return _c('div', {
|
|
@@ -244982,7 +244886,7 @@ var ToolTablevue_type_template_id_53a348a0_render = function render() {
|
|
|
244982
244886
|
}
|
|
244983
244887
|
}), _vm._t("hoTableItem")], 2);
|
|
244984
244888
|
};
|
|
244985
|
-
var
|
|
244889
|
+
var ToolTablevue_type_template_id_9179c9bc_staticRenderFns = [];
|
|
244986
244890
|
|
|
244987
244891
|
;// 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/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=18b19744&
|
|
244988
244892
|
var HoTableFeaturesvue_type_template_id_18b19744_render = function render() {
|
|
@@ -245510,7 +245414,14 @@ var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245510
245414
|
});
|
|
245511
245415
|
return;
|
|
245512
245416
|
}
|
|
245513
|
-
this.vueController.insertTable(this.rows, this.columns
|
|
245417
|
+
this.vueController.insertTable(this.rows, this.columns, {
|
|
245418
|
+
// canAdjustRowHeight: true, // 用户可调整行高
|
|
245419
|
+
// canAdjustRowWidth: true, // 用户可调整行宽
|
|
245420
|
+
// canAddRow: true, // 用户可新增表格行
|
|
245421
|
+
// canAddCol: true, // 用户可新增表格列
|
|
245422
|
+
// canDeleteRow: true, // 用户可删除表格行列
|
|
245423
|
+
// canDelTable: true, // 用户可删除表格
|
|
245424
|
+
});
|
|
245514
245425
|
},
|
|
245515
245426
|
clearData: function clearData() {
|
|
245516
245427
|
this.rows = 0;
|
|
@@ -245557,10 +245468,10 @@ var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245557
245468
|
});
|
|
245558
245469
|
;// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=script&lang=js&
|
|
245559
245470
|
/* harmony default export */ var insert_ToolTablevue_type_script_lang_js_ = (ToolTablevue_type_script_lang_js_);
|
|
245560
|
-
;// 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/toolbar/insert/ToolTable.vue?vue&type=style&index=0&id=
|
|
245471
|
+
;// 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/toolbar/insert/ToolTable.vue?vue&type=style&index=0&id=9179c9bc&prod&lang=less&
|
|
245561
245472
|
// extracted by mini-css-extract-plugin
|
|
245562
245473
|
|
|
245563
|
-
;// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=style&index=0&id=
|
|
245474
|
+
;// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=style&index=0&id=9179c9bc&prod&lang=less&
|
|
245564
245475
|
|
|
245565
245476
|
;// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue
|
|
245566
245477
|
|
|
@@ -245573,8 +245484,8 @@ var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245573
245484
|
|
|
245574
245485
|
var ToolTable_component = (0,componentNormalizer/* default */.Z)(
|
|
245575
245486
|
insert_ToolTablevue_type_script_lang_js_,
|
|
245576
|
-
|
|
245577
|
-
|
|
245487
|
+
ToolTablevue_type_template_id_9179c9bc_render,
|
|
245488
|
+
ToolTablevue_type_template_id_9179c9bc_staticRenderFns,
|
|
245578
245489
|
false,
|
|
245579
245490
|
null,
|
|
245580
245491
|
null,
|
|
@@ -248087,7 +247998,7 @@ var rarewords = __webpack_require__(73126);
|
|
|
248087
247998
|
|
|
248088
247999
|
|
|
248089
248000
|
|
|
248090
|
-
var CLICK = '
|
|
248001
|
+
var CLICK = 'click';
|
|
248091
248002
|
var captureInstances = Object.create(null);
|
|
248092
248003
|
var nonCaptureInstances = Object.create(null);
|
|
248093
248004
|
var captureEventHandlers = Object.create(null);
|