hoeditor-web 3.1.112 → 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 +249 -314
- 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;
|
|
@@ -63093,7 +63066,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63093
63066
|
// canAdjustRowHeight: this.tableProperty.canAdjustRowHeight,
|
|
63094
63067
|
// canAdjustRowWidth: this.tableProperty.canAdjustRowWidth,
|
|
63095
63068
|
// canDeleteRow: this.tableProperty.canDeleteRow,
|
|
63096
|
-
//
|
|
63069
|
+
// canDelTable: this.tableProperty.canDelTable,
|
|
63097
63070
|
// continuePrintBorders: this.tableProperty.continuePrintBorders,
|
|
63098
63071
|
// customProperties,
|
|
63099
63072
|
// layoutFullLine: this.tableProperty.layoutFullLine,
|
|
@@ -63121,8 +63094,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63121
63094
|
if (!this.tableProperty.canDeleteRow) {
|
|
63122
63095
|
tableProperty.canDeleteRow = this.tableProperty.canDeleteRow;
|
|
63123
63096
|
}
|
|
63124
|
-
if (!this.tableProperty.
|
|
63125
|
-
tableProperty.
|
|
63097
|
+
if (!this.tableProperty.canDelTable) {
|
|
63098
|
+
tableProperty.canDelTable = this.tableProperty.canDelTable;
|
|
63126
63099
|
}
|
|
63127
63100
|
if (this.tableProperty.continuePrintBorders) {
|
|
63128
63101
|
tableProperty.continuePrintBorders = this.tableProperty.continuePrintBorders;
|
|
@@ -63397,7 +63370,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63397
63370
|
key: "delete",
|
|
63398
63371
|
value: function _delete(operType) {
|
|
63399
63372
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_41__/* .HOEditorFactorys */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
63400
|
-
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) {
|
|
63401
63374
|
var parentNodes = this.getParentNodes();
|
|
63402
63375
|
var nextParagraphNode = this.nextSibling();
|
|
63403
63376
|
var ret = false;
|
|
@@ -63826,7 +63799,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63826
63799
|
tableProperty.canAddRow = tp["canAddRow"] === false || tp["canAddRow"] === "false" ? false : true;
|
|
63827
63800
|
tableProperty.canAddCol = tp["canAddCol"] === false || tp["canAddCol"] === "false" ? false : true;
|
|
63828
63801
|
tableProperty.canDeleteRow = tp["canDeleteRow"] === false || tp["canDeleteRow"] === 'false' ? false : true;
|
|
63829
|
-
tableProperty.
|
|
63802
|
+
tableProperty.canDelTable = tp["canDelTable"] === false || tp["canDelTable"] === 'false' ? false : true;
|
|
63830
63803
|
tableProperty.continuePrintBorders = tp["continuePrintBorders"] === true || tp["continuePrintBorders"] === "true" ? true : false;
|
|
63831
63804
|
tableProperty.isAutoChangeLine = tp["isAutoChangeLine"] === true || tp["isAutoChangeLine"] === "true" ? true : false;
|
|
63832
63805
|
tableProperty.autoLineHeight = tp["autoLineHeight"] ? Number(tp["autoLineHeight"]) : 0.53;
|
|
@@ -75222,10 +75195,10 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75222
75195
|
this._node = cell.table;
|
|
75223
75196
|
this._rowIndex = rowIndex;
|
|
75224
75197
|
this._colIndex = colIndex;
|
|
75225
|
-
this._dObj.addEventListener(
|
|
75198
|
+
this._dObj.addEventListener('mouseover', function (e) {
|
|
75226
75199
|
return _this.onMouseEnter(e);
|
|
75227
75200
|
});
|
|
75228
|
-
this._dObj.addEventListener(
|
|
75201
|
+
this._dObj.addEventListener('mouseout', function (e) {
|
|
75229
75202
|
return _this.onMouseOut(e);
|
|
75230
75203
|
});
|
|
75231
75204
|
ResizeDrawTableObj._dashLine.visible = false;
|
|
@@ -75233,25 +75206,24 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75233
75206
|
}
|
|
75234
75207
|
(0,createClass/* default */.Z)(ResizeDrawTableObj, [{
|
|
75235
75208
|
key: "isMouseOnRange",
|
|
75236
|
-
value: function isMouseOnRange(stageX, stageY) {
|
|
75209
|
+
value: function isMouseOnRange(stageX, stageY, localX, localY) {
|
|
75237
75210
|
var pos = this._dObj.globalToLocal(stageX, stageY);
|
|
75238
|
-
//
|
|
75211
|
+
// const pos = {
|
|
75212
|
+
// x: localX,
|
|
75213
|
+
// y: localY
|
|
75214
|
+
// };
|
|
75239
75215
|
var inYrange = false;
|
|
75240
75216
|
var inXrange = false;
|
|
75241
75217
|
var rect = this._dObj.getBounds();
|
|
75242
|
-
// console.log("rect", rect.width, rect.height);
|
|
75243
75218
|
if (rect) {
|
|
75244
75219
|
var dWidth = rect.width;
|
|
75245
75220
|
var dHeight = rect.height;
|
|
75246
|
-
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) {
|
|
75247
75222
|
inYrange = true;
|
|
75248
|
-
|
|
75249
|
-
// this.setBoundsYMoveable(e.stageY, dWidth);
|
|
75250
|
-
} 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)) {
|
|
75251
75224
|
inXrange = true;
|
|
75252
75225
|
}
|
|
75253
75226
|
}
|
|
75254
|
-
// console.log("测试", inXrange, inYrange);
|
|
75255
75227
|
return [inXrange, inYrange];
|
|
75256
75228
|
}
|
|
75257
75229
|
}, {
|
|
@@ -75263,7 +75235,7 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75263
75235
|
return;
|
|
75264
75236
|
}
|
|
75265
75237
|
var rect = this._dObj.getBounds();
|
|
75266
|
-
var _this$isMouseOnRange = this.isMouseOnRange(e.stageX, e.stageY),
|
|
75238
|
+
var _this$isMouseOnRange = this.isMouseOnRange(e.stageX, e.stageY, e.localX, e.localY),
|
|
75267
75239
|
_this$isMouseOnRange2 = (0,slicedToArray/* default */.Z)(_this$isMouseOnRange, 2),
|
|
75268
75240
|
inXRange = _this$isMouseOnRange2[0],
|
|
75269
75241
|
inYrange = _this$isMouseOnRange2[1];
|
|
@@ -75274,13 +75246,15 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75274
75246
|
inXRange = false;
|
|
75275
75247
|
}
|
|
75276
75248
|
if (inYrange) {
|
|
75277
|
-
this._dObj.cursor =
|
|
75249
|
+
this._dObj.cursor = 's-resize';
|
|
75250
|
+
ResizeDrawTableObj._dashLine.graphics.clear().beginFill('#FFFFFF').drawRect(0, 0, hoEditorFactory.pageProperty.widthPixes, 6);
|
|
75278
75251
|
this.setBoundsYMoveable(e.stageY, rect ? rect.height : 0);
|
|
75279
75252
|
} else if (inXRange) {
|
|
75280
|
-
this._dObj.cursor =
|
|
75253
|
+
this._dObj.cursor = 'w-resize';
|
|
75254
|
+
ResizeDrawTableObj._dashLine.graphics.clear().beginFill('#FFFFFF').drawRect(0, 0, hoEditorFactory.pageProperty.heightPixes, 6);
|
|
75281
75255
|
this.setBoundsXMoveable(e.stageX);
|
|
75282
75256
|
} else {
|
|
75283
|
-
this._dObj.cursor =
|
|
75257
|
+
this._dObj.cursor = 'default';
|
|
75284
75258
|
ResizeDrawTableObj._dashLine.visible = false;
|
|
75285
75259
|
}
|
|
75286
75260
|
}
|
|
@@ -75292,58 +75266,43 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75292
75266
|
if (dPage) {
|
|
75293
75267
|
var selectContainer = dPage.selectContainer;
|
|
75294
75268
|
if (selectContainer) {
|
|
75295
|
-
ResizeDrawTableObj._dashLine.uncache();
|
|
75269
|
+
// ResizeDrawTableObj._dashLine.uncache();
|
|
75296
75270
|
ResizeDrawTableObj._dashLine.visible = true;
|
|
75297
|
-
ResizeDrawTableObj._dashLine.graphics.clear().beginFill(
|
|
75298
|
-
ResizeDrawTableObj._dashLine.graphics.setStrokeDash([
|
|
75299
|
-
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);
|
|
75300
75274
|
var pos = this._dObj.localToGlobal(0, 0);
|
|
75301
75275
|
ResizeDrawTableObj._dashLine.x = 0;
|
|
75302
75276
|
ResizeDrawTableObj._dashLine.y = pos.y / DrawConfig/* DrawConfig */.f.instance().scaleXY + (this._dObj.getBounds() ? this._dObj.getBounds().height : 0) - 3;
|
|
75303
|
-
// const hitArea = new createjs.Shape();
|
|
75304
|
-
// this._dashLine.hitArea = hitArea;
|
|
75305
|
-
// hitArea.graphics
|
|
75306
|
-
// .clear()
|
|
75307
|
-
// .beginFill("#000000")
|
|
75308
|
-
// .drawRect(0, 0, HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, 6);
|
|
75309
|
-
// hitArea.x = 0;
|
|
75310
|
-
// hitArea.y = this._dashLine.y - 3;
|
|
75311
|
-
// hitArea.alpha = 0.01;
|
|
75312
|
-
// stage.addChild(hitArea);
|
|
75313
75277
|
selectContainer.addChild(ResizeDrawTableObj._dashLine);
|
|
75314
75278
|
}
|
|
75315
75279
|
var oldY = ResizeDrawTableObj._dashLine.y;
|
|
75316
75280
|
var startY = ResizeDrawTableObj._dashLine.y;
|
|
75317
75281
|
var table = this._node;
|
|
75318
75282
|
var rowIndex = this._rowIndex;
|
|
75319
|
-
|
|
75320
|
-
|
|
75321
|
-
ResizeDrawTableObj._dashLine.removeAllEventListeners(
|
|
75322
|
-
ResizeDrawTableObj._dashLine
|
|
75323
|
-
|
|
75324
|
-
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) {
|
|
75325
75288
|
hoEditorFactory.drawTree.selectRange.clearAllSelectShape();
|
|
75326
75289
|
hoEditorFactory.drawTree.selectRange.beginRangeSelect = false;
|
|
75327
|
-
if (!dobj.stage) {
|
|
75328
|
-
|
|
75329
|
-
|
|
75330
|
-
}
|
|
75331
|
-
|
|
75332
|
-
dashLine.y += e.stageY / DrawConfig/* DrawConfig */.f.instance().scaleXY - oldY;
|
|
75333
|
-
//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;
|
|
75334
75295
|
oldY = e.stageY / DrawConfig/* DrawConfig */.f.instance().scaleXY;
|
|
75335
|
-
//oldY = e.stageY;
|
|
75336
75296
|
});
|
|
75337
|
-
|
|
75338
75297
|
var hoEditorFactoryID = this._hoEditorFactoryID;
|
|
75339
|
-
ResizeDrawTableObj._dashLine.
|
|
75340
|
-
if (!dobj.stage) {
|
|
75341
|
-
|
|
75342
|
-
|
|
75343
|
-
}
|
|
75344
|
-
|
|
75345
|
-
if (
|
|
75346
|
-
|
|
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);
|
|
75347
75306
|
}
|
|
75348
75307
|
var newHeight = table.rowInfos[rowIndex].rowHeight + (e.target.y - startY);
|
|
75349
75308
|
var minHeight = hoEditorFactory.defaultLineHeight;
|
|
@@ -75357,69 +75316,53 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75357
75316
|
hoEditorFactory.undoService.begin();
|
|
75358
75317
|
hoEditorFactory.undoService.add(new TableResizeRowUndoUnit/* TableResizeRowUndoUnit */.w(hoEditorFactoryID, table, rowIndex, table.rowInfos[rowIndex].rowHeight, newHeight));
|
|
75359
75318
|
hoEditorFactory.undoService.commit();
|
|
75360
|
-
|
|
75361
|
-
// table.updateRowHeight([rowIndex]);
|
|
75362
|
-
// table.update();
|
|
75363
|
-
});
|
|
75319
|
+
}, this, true);
|
|
75364
75320
|
}
|
|
75365
75321
|
}
|
|
75366
75322
|
}, {
|
|
75367
75323
|
key: "setBoundsXMoveable",
|
|
75368
75324
|
value: function setBoundsXMoveable(x) {
|
|
75369
|
-
var
|
|
75325
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
75326
|
+
var dPage = hoEditorFactory.drawPageTree.getDrawPageByDNode(this._dObj);
|
|
75370
75327
|
if (dPage) {
|
|
75371
75328
|
var selectContainer = dPage.selectContainer;
|
|
75372
75329
|
if (selectContainer) {
|
|
75373
|
-
ResizeDrawTableObj._dashLine.uncache();
|
|
75374
|
-
ResizeDrawTableObj._dashLine.
|
|
75375
|
-
ResizeDrawTableObj._dashLine.graphics.
|
|
75376
|
-
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);
|
|
75377
75335
|
ResizeDrawTableObj._dashLine.x = x / DrawConfig/* DrawConfig */.f.instance().scaleXY - 3;
|
|
75378
75336
|
ResizeDrawTableObj._dashLine.y = 0;
|
|
75379
|
-
ResizeDrawTableObj._dashLine.visible = true;
|
|
75380
|
-
// const hitArea = new createjs.Shape();
|
|
75381
|
-
// this._dashLine.hitArea = hitArea;
|
|
75382
|
-
// hitArea.graphics
|
|
75383
|
-
// .clear()
|
|
75384
|
-
// .beginFill("#000000")
|
|
75385
|
-
// .drawRect(0, 0, HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, 6);
|
|
75386
|
-
// hitArea.x = 0;
|
|
75387
|
-
// hitArea.y = this._dashLine.y - 3;
|
|
75388
|
-
// hitArea.alpha = 0.01;
|
|
75389
|
-
// stage.addChild(hitArea);
|
|
75390
75337
|
selectContainer.addChild(ResizeDrawTableObj._dashLine);
|
|
75391
75338
|
}
|
|
75392
75339
|
}
|
|
75393
75340
|
var oldX = ResizeDrawTableObj._dashLine.x;
|
|
75394
75341
|
var startX = ResizeDrawTableObj._dashLine.x;
|
|
75395
75342
|
var table = this._node;
|
|
75396
|
-
var rowIndex = this._rowIndex;
|
|
75397
75343
|
var colIndex = this._colIndex;
|
|
75398
|
-
|
|
75399
|
-
|
|
75400
|
-
ResizeDrawTableObj._dashLine.removeAllEventListeners(
|
|
75401
|
-
ResizeDrawTableObj._dashLine
|
|
75402
|
-
|
|
75403
|
-
|
|
75404
|
-
|
|
75405
|
-
|
|
75406
|
-
|
|
75407
|
-
|
|
75408
|
-
//
|
|
75409
|
-
|
|
75410
|
-
//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;
|
|
75411
75356
|
oldX = e.stageX / DrawConfig/* DrawConfig */.f.instance().scaleXY;
|
|
75412
|
-
//oldY = e.stageY;
|
|
75413
75357
|
});
|
|
75414
|
-
|
|
75415
|
-
|
|
75416
|
-
|
|
75417
|
-
|
|
75418
|
-
|
|
75419
|
-
|
|
75420
|
-
|
|
75421
|
-
|
|
75422
|
-
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);
|
|
75423
75366
|
}
|
|
75424
75367
|
var deltaWidth = e.target.x - startX;
|
|
75425
75368
|
var oldWidth = table.colInfos[colIndex].colWidth;
|
|
@@ -75427,28 +75370,13 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75427
75370
|
hoEditorFactory.undoService.begin();
|
|
75428
75371
|
hoEditorFactory.undoService.add(new TableResizeColUndoUnit/* TableResizeColUndoUnit */.D(hoEditorFactory.hoEditorFactoryId, table, colIndex, newWidth));
|
|
75429
75372
|
hoEditorFactory.undoService.commit();
|
|
75430
|
-
|
|
75431
|
-
// if (table.colInfos[colIndex].colWidth < 20) {
|
|
75432
|
-
// table.colInfos[colIndex].colWidth = 20;
|
|
75433
|
-
// }
|
|
75434
|
-
// colindexs.push(colIndex);
|
|
75435
|
-
// if (colIndex < table.colInfos.length - 1) {
|
|
75436
|
-
// table.colInfos[colIndex + 1].colWidth +=
|
|
75437
|
-
// oldWidth - table.colInfos[colIndex].colWidth;
|
|
75438
|
-
// colindexs.push(colIndex + 1);
|
|
75439
|
-
// if (table.colInfos[colIndex + 1].colWidth < 20) {
|
|
75440
|
-
// table.colInfos[colIndex + 1].colWidth = 20;
|
|
75441
|
-
// }
|
|
75442
|
-
// }
|
|
75443
|
-
// table.updateColWidth(colindexs);
|
|
75444
|
-
// table.update();
|
|
75445
|
-
});
|
|
75373
|
+
}, this, true);
|
|
75446
75374
|
}
|
|
75447
75375
|
}, {
|
|
75448
75376
|
key: "onMouseOut",
|
|
75449
75377
|
value: function onMouseOut(e) {
|
|
75450
75378
|
if (ResizeDrawTableObj._dashLine && e.nativeEvent.buttons === 0) {
|
|
75451
|
-
var _this$isMouseOnRange3 = this.isMouseOnRange(e.stageX, e.stageY),
|
|
75379
|
+
var _this$isMouseOnRange3 = this.isMouseOnRange(e.stageX, e.stageY, e.localX, e.localY),
|
|
75452
75380
|
_this$isMouseOnRange4 = (0,slicedToArray/* default */.Z)(_this$isMouseOnRange3, 2),
|
|
75453
75381
|
inXrange = _this$isMouseOnRange4[0],
|
|
75454
75382
|
inYrange = _this$isMouseOnRange4[1];
|
|
@@ -75457,7 +75385,8 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
75457
75385
|
ResizeDrawTableObj._dashLine.stage.removeChild(ResizeDrawTableObj._dashLine);
|
|
75458
75386
|
}
|
|
75459
75387
|
ResizeDrawTableObj._dashLine.visible = false;
|
|
75460
|
-
|
|
75388
|
+
// ResizeDrawTableObj._dashLine.removeAllEventListeners('pressmove');
|
|
75389
|
+
this._dObj.cursor = 'default';
|
|
75461
75390
|
}
|
|
75462
75391
|
}
|
|
75463
75392
|
}
|
|
@@ -75928,9 +75857,9 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
75928
75857
|
this._touchArea.y = 0;
|
|
75929
75858
|
this._touchArea.graphics.clear().beginFill("#000000")
|
|
75930
75859
|
//右竖线
|
|
75931
|
-
.drawRect(this._dWidth -
|
|
75860
|
+
.drawRect(this._dWidth - 5, 0, 10, rowHeight)
|
|
75932
75861
|
//下横线
|
|
75933
|
-
.drawRect(0, rowHeight -
|
|
75862
|
+
.drawRect(0, rowHeight - 5, this._dWidth, 10);
|
|
75934
75863
|
this._touchArea.alpha = 0.01;
|
|
75935
75864
|
this._touchArea.setBounds(0, 0, this._dWidth, rowHeight);
|
|
75936
75865
|
if (!this.contains(this._touchArea)) {
|
|
@@ -90862,11 +90791,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
90862
90791
|
_context3.next = 73;
|
|
90863
90792
|
break;
|
|
90864
90793
|
}
|
|
90865
|
-
node = nodes[n];
|
|
90866
|
-
// message.warn("元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。");
|
|
90867
|
-
// this._isError = true;
|
|
90868
|
-
// return;
|
|
90869
|
-
// }
|
|
90794
|
+
node = nodes[n];
|
|
90870
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)) {
|
|
90871
90796
|
_context3.next = 44;
|
|
90872
90797
|
break;
|
|
@@ -90924,7 +90849,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
90924
90849
|
this._isError = true;
|
|
90925
90850
|
return _context3.abrupt("return");
|
|
90926
90851
|
case 60:
|
|
90927
|
-
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)) {
|
|
90928
90853
|
_context3.next = 65;
|
|
90929
90854
|
break;
|
|
90930
90855
|
}
|
|
@@ -169035,7 +168960,7 @@ var map = {
|
|
|
169035
168960
|
"./table/TableForm.vue": 79036,
|
|
169036
168961
|
"./table/TableFormTree.vue": 84804,
|
|
169037
168962
|
"./table/TableFormula.vue": 80199,
|
|
169038
|
-
"./table/TableProperty.vue":
|
|
168963
|
+
"./table/TableProperty.vue": 72196,
|
|
169039
168964
|
"./table/TableRowProperty.vue": 55631,
|
|
169040
168965
|
"./textDialog/TextDialog.vue": 49594,
|
|
169041
168966
|
"./textDialog/TextToLabelDialog.vue": 2355,
|
|
@@ -209666,7 +209591,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
209666
209591
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
209667
209592
|
var ParagraphNode = __webpack_require__(67945);
|
|
209668
209593
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
209669
|
-
/* harmony default export */ var version = ('3.1.
|
|
209594
|
+
/* harmony default export */ var version = ('3.1.113');
|
|
209670
209595
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
209671
209596
|
var PoperTipText = __webpack_require__(50987);
|
|
209672
209597
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -213097,7 +213022,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
|
|
|
213097
213022
|
jquery_default()(jnode).attr;
|
|
213098
213023
|
var tableProperty = new TableProperty/* TableProperty */.vE('');
|
|
213099
213024
|
tableProperty.continuePrintBorders = tableProperty['continuePrintBorders'] || false;
|
|
213100
|
-
tableProperty.
|
|
213025
|
+
tableProperty.canDelTable = tableProperty['canDelTable'] || false;
|
|
213101
213026
|
tableProperty.canDeleteRow = tableProperty['canDeleteRow'] || false;
|
|
213102
213027
|
tableProperty.canAddRow = tableProperty['canAddRow'] || false;
|
|
213103
213028
|
tableProperty.canAddCol = tableProperty['canAddCol'] || false;
|
|
@@ -218165,14 +218090,14 @@ var VueController = /*#__PURE__*/function () {
|
|
|
218165
218090
|
*/
|
|
218166
218091
|
}, {
|
|
218167
218092
|
key: "insertTable",
|
|
218168
|
-
value: function insertTable(irow, icol) {
|
|
218093
|
+
value: function insertTable(irow, icol, property) {
|
|
218169
218094
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
218170
218095
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
218171
218096
|
var startPath = _curDomRange.normalize().startPath;
|
|
218172
218097
|
var endPath = _curDomRange.normalize().endPath;
|
|
218173
218098
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType */.y.insertTable);
|
|
218174
218099
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
218175
|
-
hoEditorFactory.docController.insertTable(_curDomRange, irow, icol);
|
|
218100
|
+
hoEditorFactory.docController.insertTable(_curDomRange, irow, icol, property);
|
|
218176
218101
|
}
|
|
218177
218102
|
}
|
|
218178
218103
|
/**
|
|
@@ -218320,7 +218245,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
218320
218245
|
* @params `canAdjustRowHeight bool 用户可调整行高(默认true)`
|
|
218321
218246
|
* @params `canAdjustRowWidth bool 用户可调整行宽(默认true)`
|
|
218322
218247
|
* @params `canDeleteRow bool 用户可删除表格行(默认true)`
|
|
218323
|
-
* @params `
|
|
218248
|
+
* @params `canDelTable bool 用户可删除表格(默认true)`
|
|
218324
218249
|
* @params `continuePrintBorders bool 续打时打印所有单元格边框(默认false)`
|
|
218325
218250
|
* @params `customProperties object[] 自定义属性(默认空) [{text: '', value: ''}]`
|
|
218326
218251
|
*/
|
|
@@ -221149,6 +221074,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221149
221074
|
key: "insertXml",
|
|
221150
221075
|
value: function insertXml(xml, area, printAsSinglePage, isDelBlockLine, isNewPage) {
|
|
221151
221076
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221077
|
+
if (xml && !xml.includes("<?xml version")) {
|
|
221078
|
+
xml = gBase64.decode(xml);
|
|
221079
|
+
}
|
|
221152
221080
|
var areaNodes = this.updateStyles(area, xml);
|
|
221153
221081
|
var jsonData = JSON.stringify(areaNodes[0]);
|
|
221154
221082
|
var docId = areaNodes[1];
|
|
@@ -224975,7 +224903,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
224975
224903
|
canAdjustRowHeight: node.tableProperty.canAdjustRowHeight,
|
|
224976
224904
|
canAdjustRowWidth: node.tableProperty.canAdjustRowWidth,
|
|
224977
224905
|
canDeleteRow: node.tableProperty.canDeleteRow,
|
|
224978
|
-
|
|
224906
|
+
canDelTable: node.tableProperty.canDelTable,
|
|
224979
224907
|
continuePrintBorders: node.tableProperty.continuePrintBorders,
|
|
224980
224908
|
customProperties: customProperties,
|
|
224981
224909
|
isAutoChangeLine: node.tableProperty.isAutoChangeLine,
|
|
@@ -238214,7 +238142,7 @@ var TableController = /*#__PURE__*/function () {
|
|
|
238214
238142
|
* @params `canAdjustRowHeight bool 用户可调整行高(默认true)`
|
|
238215
238143
|
* @params `canAdjustRowWidth bool 用户可调整行宽(默认true)`
|
|
238216
238144
|
* @params `canDeleteRow bool 用户可删除表格行(默认true)`
|
|
238217
|
-
* @params `
|
|
238145
|
+
* @params `canDelTable bool 用户可删除表格(默认true)`
|
|
238218
238146
|
* @params `continuePrintBorders bool 续打时打印所有单元格边框(默认false)`
|
|
238219
238147
|
* @params `customProperties object[] 自定义属性(默认空) [{text: '', value: ''}]`
|
|
238220
238148
|
*/
|
|
@@ -244885,8 +244813,8 @@ var ToolControl_component = (0,componentNormalizer/* default */.Z)(
|
|
|
244885
244813
|
)
|
|
244886
244814
|
|
|
244887
244815
|
/* harmony default export */ var ToolControl = (ToolControl_component.exports);
|
|
244888
|
-
;// 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=
|
|
244889
|
-
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() {
|
|
244890
244818
|
var _vm = this,
|
|
244891
244819
|
_c = _vm._self._c;
|
|
244892
244820
|
return _c('div', {
|
|
@@ -244958,7 +244886,7 @@ var ToolTablevue_type_template_id_53a348a0_render = function render() {
|
|
|
244958
244886
|
}
|
|
244959
244887
|
}), _vm._t("hoTableItem")], 2);
|
|
244960
244888
|
};
|
|
244961
|
-
var
|
|
244889
|
+
var ToolTablevue_type_template_id_9179c9bc_staticRenderFns = [];
|
|
244962
244890
|
|
|
244963
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&
|
|
244964
244892
|
var HoTableFeaturesvue_type_template_id_18b19744_render = function render() {
|
|
@@ -245486,7 +245414,14 @@ var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245486
245414
|
});
|
|
245487
245415
|
return;
|
|
245488
245416
|
}
|
|
245489
|
-
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
|
+
});
|
|
245490
245425
|
},
|
|
245491
245426
|
clearData: function clearData() {
|
|
245492
245427
|
this.rows = 0;
|
|
@@ -245533,10 +245468,10 @@ var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245533
245468
|
});
|
|
245534
245469
|
;// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=script&lang=js&
|
|
245535
245470
|
/* harmony default export */ var insert_ToolTablevue_type_script_lang_js_ = (ToolTablevue_type_script_lang_js_);
|
|
245536
|
-
;// 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&
|
|
245537
245472
|
// extracted by mini-css-extract-plugin
|
|
245538
245473
|
|
|
245539
|
-
;// 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&
|
|
245540
245475
|
|
|
245541
245476
|
;// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue
|
|
245542
245477
|
|
|
@@ -245549,8 +245484,8 @@ var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245549
245484
|
|
|
245550
245485
|
var ToolTable_component = (0,componentNormalizer/* default */.Z)(
|
|
245551
245486
|
insert_ToolTablevue_type_script_lang_js_,
|
|
245552
|
-
|
|
245553
|
-
|
|
245487
|
+
ToolTablevue_type_template_id_9179c9bc_render,
|
|
245488
|
+
ToolTablevue_type_template_id_9179c9bc_staticRenderFns,
|
|
245554
245489
|
false,
|
|
245555
245490
|
null,
|
|
245556
245491
|
null,
|
|
@@ -248063,7 +247998,7 @@ var rarewords = __webpack_require__(73126);
|
|
|
248063
247998
|
|
|
248064
247999
|
|
|
248065
248000
|
|
|
248066
|
-
var CLICK = '
|
|
248001
|
+
var CLICK = 'click';
|
|
248067
248002
|
var captureInstances = Object.create(null);
|
|
248068
248003
|
var nonCaptureInstances = Object.create(null);
|
|
248069
248004
|
var captureEventHandlers = Object.create(null);
|