hoeditor-web 3.0.84 → 3.0.86
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 +377 -281
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -20865,7 +20865,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20865
20865
|
|
|
20866
20866
|
/***/ }),
|
|
20867
20867
|
|
|
20868
|
-
/***/
|
|
20868
|
+
/***/ 26401:
|
|
20869
20869
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20870
20870
|
|
|
20871
20871
|
"use strict";
|
|
@@ -20879,7 +20879,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20879
20879
|
|
|
20880
20880
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
20881
20881
|
var es_function_name = __webpack_require__(68309);
|
|
20882
|
-
;// 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/textDialog/TextDialog.vue?vue&type=template&id=
|
|
20882
|
+
;// 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/textDialog/TextDialog.vue?vue&type=template&id=1b766b2e&
|
|
20883
20883
|
|
|
20884
20884
|
var render = function render() {
|
|
20885
20885
|
var _vm = this,
|
|
@@ -21359,7 +21359,7 @@ var render = function render() {
|
|
|
21359
21359
|
};
|
|
21360
21360
|
var staticRenderFns = [];
|
|
21361
21361
|
|
|
21362
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
21362
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=1b766b2e&
|
|
21363
21363
|
|
|
21364
21364
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
21365
21365
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -21381,6 +21381,8 @@ var es_regexp_exec = __webpack_require__(74916);
|
|
|
21381
21381
|
var es_string_replace = __webpack_require__(15306);
|
|
21382
21382
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
21383
21383
|
var es_number_constructor = __webpack_require__(9653);
|
|
21384
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
21385
|
+
var es_array_map = __webpack_require__(21249);
|
|
21384
21386
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
21385
21387
|
var es_json_stringify = __webpack_require__(38862);
|
|
21386
21388
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
@@ -21427,6 +21429,7 @@ var VerifyTip = __webpack_require__(63210);
|
|
|
21427
21429
|
|
|
21428
21430
|
|
|
21429
21431
|
|
|
21432
|
+
|
|
21430
21433
|
|
|
21431
21434
|
|
|
21432
21435
|
/* harmony default export */ var TextDialogvue_type_script_lang_js_ = ({
|
|
@@ -21597,7 +21600,12 @@ var VerifyTip = __webpack_require__(63210);
|
|
|
21597
21600
|
var _this2 = this;
|
|
21598
21601
|
if (this.textParam.inputFieldType === 1) {
|
|
21599
21602
|
this.textParam.downListProperty.source = this.listArrSource;
|
|
21600
|
-
|
|
21603
|
+
var arr = this.hoEditorProvider.getListStyle();
|
|
21604
|
+
arr = arr.map(function (v) {
|
|
21605
|
+
v.text = v.text.replace('\r', '').replace('\n', '');
|
|
21606
|
+
return v;
|
|
21607
|
+
});
|
|
21608
|
+
this.textParam.downListProperty.listItems = JSON.stringify(arr);
|
|
21601
21609
|
var textArr = [];
|
|
21602
21610
|
this.hoEditorProvider.getListStyle().forEach(function (v) {
|
|
21603
21611
|
if (v.default) textArr.push(v.text);
|
|
@@ -21613,6 +21621,7 @@ var VerifyTip = __webpack_require__(63210);
|
|
|
21613
21621
|
} else {
|
|
21614
21622
|
this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
|
|
21615
21623
|
}
|
|
21624
|
+
|
|
21616
21625
|
// this.textParam.bandDataSource = this.dataSource;
|
|
21617
21626
|
if (this.textParam.inputFieldType === 0) {
|
|
21618
21627
|
this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
|
|
@@ -21653,10 +21662,10 @@ var VerifyTip = __webpack_require__(63210);
|
|
|
21653
21662
|
});
|
|
21654
21663
|
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
|
|
21655
21664
|
/* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
|
|
21656
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
21665
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=1b766b2e&prod&lang=scss&
|
|
21657
21666
|
// extracted by mini-css-extract-plugin
|
|
21658
21667
|
|
|
21659
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
21668
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=1b766b2e&prod&lang=scss&
|
|
21660
21669
|
|
|
21661
21670
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21662
21671
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -47158,13 +47167,13 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
47158
47167
|
/*
|
|
47159
47168
|
* @Author: your name
|
|
47160
47169
|
* @Date: 2020-12-24 16:01:16
|
|
47161
|
-
* @LastEditTime: 2023-07-
|
|
47170
|
+
* @LastEditTime: 2023-07-14 10:34:05
|
|
47162
47171
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
47163
47172
|
* @Description: In User Settings Edit
|
|
47164
47173
|
* @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
|
|
47165
47174
|
*/
|
|
47166
47175
|
var TableProperty = /*#__PURE__*/function () {
|
|
47167
|
-
//编号
|
|
47176
|
+
//private _id!: string; //编号
|
|
47168
47177
|
//自定义属性
|
|
47169
47178
|
//用户可调整行高
|
|
47170
47179
|
//用户可调整行宽
|
|
@@ -47181,7 +47190,6 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
47181
47190
|
//是否启用表单弹框编辑
|
|
47182
47191
|
function TableProperty(objectValues) {
|
|
47183
47192
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, TableProperty);
|
|
47184
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_id", void 0);
|
|
47185
47193
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
47186
47194
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_canAdjustRowHeight", false);
|
|
47187
47195
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_canAdjustRowWidth", false);
|
|
@@ -47215,15 +47223,13 @@ var TableProperty = /*#__PURE__*/function () {
|
|
|
47215
47223
|
assignvalue(this, valuesObj);
|
|
47216
47224
|
}
|
|
47217
47225
|
}
|
|
47226
|
+
// get id(): string {
|
|
47227
|
+
// return this._id;
|
|
47228
|
+
// }
|
|
47229
|
+
// set id(value: string) {
|
|
47230
|
+
// this._id = value;
|
|
47231
|
+
// }
|
|
47218
47232
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(TableProperty, [{
|
|
47219
|
-
key: "id",
|
|
47220
|
-
get: function get() {
|
|
47221
|
-
return this._id;
|
|
47222
|
-
},
|
|
47223
|
-
set: function set(value) {
|
|
47224
|
-
this._id = value;
|
|
47225
|
-
}
|
|
47226
|
-
}, {
|
|
47227
47233
|
key: "customProperties",
|
|
47228
47234
|
get: function get() {
|
|
47229
47235
|
return this._customProperties;
|
|
@@ -47917,9 +47923,9 @@ var DiagonalType;
|
|
|
47917
47923
|
DiagonalType[DiagonalType["Right"] = 2] = "Right";
|
|
47918
47924
|
})(DiagonalType || (DiagonalType = {}));
|
|
47919
47925
|
var CellProperty = /*#__PURE__*/function () {
|
|
47920
|
-
|
|
47926
|
+
//private _id!: string;//编号
|
|
47921
47927
|
//private _lightCellBorders = false;//突出显示单元格边框
|
|
47922
|
-
|
|
47928
|
+
//private _title = "";//标题
|
|
47923
47929
|
//自定义属性
|
|
47924
47930
|
//private _dataSource!: DataSource;//数据源
|
|
47925
47931
|
//垂直对齐方式
|
|
@@ -47938,8 +47944,6 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
47938
47944
|
function CellProperty(objectValues //, table: TableNode
|
|
47939
47945
|
) {
|
|
47940
47946
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, CellProperty);
|
|
47941
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_id", void 0);
|
|
47942
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_title", "");
|
|
47943
47947
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
|
|
47944
47948
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_align", VAlign.vatop);
|
|
47945
47949
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_cellInnerMargin", [0, 0, 0.1, 0.1]);
|
|
@@ -47995,29 +47999,25 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
47995
47999
|
}
|
|
47996
48000
|
}
|
|
47997
48001
|
}
|
|
48002
|
+
// get id(): string {
|
|
48003
|
+
// return this._id;
|
|
48004
|
+
// }
|
|
48005
|
+
// set id(value: string) {
|
|
48006
|
+
// this._id = value;
|
|
48007
|
+
// }
|
|
48008
|
+
// get lightCellBorders(): boolean {
|
|
48009
|
+
// return this._lightCellBorders;
|
|
48010
|
+
// }
|
|
48011
|
+
// set lightCellBorders(value: boolean) {
|
|
48012
|
+
// this._lightCellBorders = value;
|
|
48013
|
+
// }
|
|
48014
|
+
// get title(): string {
|
|
48015
|
+
// return this._title;
|
|
48016
|
+
// }
|
|
48017
|
+
// set title(value: string) {
|
|
48018
|
+
// this._title = value;
|
|
48019
|
+
// }
|
|
47998
48020
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(CellProperty, [{
|
|
47999
|
-
key: "id",
|
|
48000
|
-
get: function get() {
|
|
48001
|
-
return this._id;
|
|
48002
|
-
},
|
|
48003
|
-
set: function set(value) {
|
|
48004
|
-
this._id = value;
|
|
48005
|
-
}
|
|
48006
|
-
// get lightCellBorders(): boolean {
|
|
48007
|
-
// return this._lightCellBorders;
|
|
48008
|
-
// }
|
|
48009
|
-
// set lightCellBorders(value: boolean) {
|
|
48010
|
-
// this._lightCellBorders = value;
|
|
48011
|
-
// }
|
|
48012
|
-
}, {
|
|
48013
|
-
key: "title",
|
|
48014
|
-
get: function get() {
|
|
48015
|
-
return this._title;
|
|
48016
|
-
},
|
|
48017
|
-
set: function set(value) {
|
|
48018
|
-
this._title = value;
|
|
48019
|
-
}
|
|
48020
|
-
}, {
|
|
48021
48021
|
key: "customProperties",
|
|
48022
48022
|
get: function get() {
|
|
48023
48023
|
return this._customProperties;
|
|
@@ -48189,7 +48189,7 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
48189
48189
|
/*
|
|
48190
48190
|
* @Author: your name
|
|
48191
48191
|
* @Date: 2021-01-20 10:18:55
|
|
48192
|
-
* @LastEditTime: 2023-
|
|
48192
|
+
* @LastEditTime: 2023-07-18 16:01:49
|
|
48193
48193
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
48194
48194
|
* @Description: In User Settings Edit
|
|
48195
48195
|
* @FilePath: \hoeditor-web\src\editor\dom\domNode\Comment.ts
|
|
@@ -48204,6 +48204,7 @@ var Comment = /*#__PURE__*/function () {
|
|
|
48204
48204
|
|
|
48205
48205
|
// 自定义属性 处理插入批注时带上的评分内容和插入批注后下级医生是否确认处理批注内容
|
|
48206
48206
|
|
|
48207
|
+
//是否已处理(标记)
|
|
48207
48208
|
function Comment(hoEditorFactoryID, id, text, endNode, source) {
|
|
48208
48209
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, Comment);
|
|
48209
48210
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_id", '');
|
|
@@ -48216,6 +48217,7 @@ var Comment = /*#__PURE__*/function () {
|
|
|
48216
48217
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_hoEditorFactoryID", void 0);
|
|
48217
48218
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_customProperty", void 0);
|
|
48218
48219
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_permissionLevel", void 0);
|
|
48220
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_isProcessed", false);
|
|
48219
48221
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
48220
48222
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_5__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
48221
48223
|
this._id = id;
|
|
@@ -48253,6 +48255,16 @@ var Comment = /*#__PURE__*/function () {
|
|
|
48253
48255
|
this._customProperty = value;
|
|
48254
48256
|
}
|
|
48255
48257
|
}
|
|
48258
|
+
}, {
|
|
48259
|
+
key: "isProcessed",
|
|
48260
|
+
get: function get() {
|
|
48261
|
+
return this._isProcessed;
|
|
48262
|
+
},
|
|
48263
|
+
set: function set(value) {
|
|
48264
|
+
if (this._isProcessed !== value) {
|
|
48265
|
+
this._isProcessed = value;
|
|
48266
|
+
}
|
|
48267
|
+
}
|
|
48256
48268
|
}, {
|
|
48257
48269
|
key: "text",
|
|
48258
48270
|
get: function get() {
|
|
@@ -51934,7 +51946,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
51934
51946
|
customProperty: Array(this.cellProperty.customProperties)
|
|
51935
51947
|
};
|
|
51936
51948
|
var cellProperty = {
|
|
51937
|
-
title: this.cellProperty.title,
|
|
51949
|
+
//title: this.cellProperty.title,
|
|
51938
51950
|
align: Number(this.cellProperty.align || 0),
|
|
51939
51951
|
obliqueSplitLine: Number(this.cellProperty.obliqueSplitLine || 0),
|
|
51940
51952
|
//ObliqueSplitLine[Number(this.cellProperty.obliqueSplitLine || 0)],
|
|
@@ -64022,7 +64034,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
64022
64034
|
});
|
|
64023
64035
|
}
|
|
64024
64036
|
var defaultCellProp = {
|
|
64025
|
-
title: "",
|
|
64037
|
+
//title: "",
|
|
64026
64038
|
align: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign.vatop */ .TR.vatop,
|
|
64027
64039
|
obliqueSplitLine: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ObliqueSplitLine.None */ .lH.None,
|
|
64028
64040
|
printGridLines: true,
|
|
@@ -65116,7 +65128,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65116
65128
|
/* harmony export */ });
|
|
65117
65129
|
/* unused harmony exports SpecialFormat, BandDataSource */
|
|
65118
65130
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(94310);
|
|
65119
|
-
/* harmony import */ var
|
|
65131
|
+
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(40735);
|
|
65120
65132
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61748);
|
|
65121
65133
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80543);
|
|
65122
65134
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(81448);
|
|
@@ -65127,8 +65139,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65127
65139
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(11651);
|
|
65128
65140
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(19593);
|
|
65129
65141
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70280);
|
|
65130
|
-
/* harmony import */ var
|
|
65131
|
-
/* harmony import */ var
|
|
65142
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(66298);
|
|
65143
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(78255);
|
|
65132
65144
|
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(68309);
|
|
65133
65145
|
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
65134
65146
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(41539);
|
|
@@ -65149,49 +65161,55 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65149
65161
|
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
65150
65162
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(57658);
|
|
65151
65163
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
65152
|
-
/* harmony import */ var
|
|
65153
|
-
/* harmony import */ var
|
|
65154
|
-
/* harmony import */ var
|
|
65155
|
-
/* harmony import */ var
|
|
65156
|
-
/* harmony import */ var
|
|
65157
|
-
/* harmony import */ var
|
|
65158
|
-
/* harmony import */ var
|
|
65159
|
-
/* harmony import */ var
|
|
65160
|
-
/* harmony import */ var
|
|
65161
|
-
/* harmony import */ var
|
|
65162
|
-
/* harmony import */ var
|
|
65163
|
-
/* harmony import */ var
|
|
65164
|
-
/* harmony import */ var
|
|
65165
|
-
/* harmony import */ var
|
|
65166
|
-
/* harmony import */ var
|
|
65167
|
-
/* harmony import */ var
|
|
65168
|
-
/* harmony import */ var
|
|
65169
|
-
/* harmony import */ var
|
|
65170
|
-
/* harmony import */ var
|
|
65171
|
-
/* harmony import */ var
|
|
65172
|
-
/* harmony import */ var
|
|
65173
|
-
/* harmony import */ var
|
|
65174
|
-
/* harmony import */ var
|
|
65175
|
-
/* harmony import */ var
|
|
65176
|
-
/* harmony import */ var
|
|
65177
|
-
/* harmony import */ var
|
|
65178
|
-
/* harmony import */ var
|
|
65179
|
-
/* harmony import */ var
|
|
65180
|
-
/* harmony import */ var
|
|
65181
|
-
/* harmony import */ var
|
|
65182
|
-
/* harmony import */ var
|
|
65183
|
-
/* harmony import */ var
|
|
65184
|
-
/* harmony import */ var
|
|
65185
|
-
/* harmony import */ var
|
|
65186
|
-
/* harmony import */ var
|
|
65187
|
-
/* harmony import */ var
|
|
65188
|
-
/* harmony import */ var
|
|
65189
|
-
/* harmony import */ var
|
|
65190
|
-
/* harmony import */ var
|
|
65191
|
-
/* harmony import */ var
|
|
65192
|
-
/* harmony import */ var
|
|
65193
|
-
/* harmony import */ var
|
|
65194
|
-
/* harmony import */ var
|
|
65164
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(74916);
|
|
65165
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_21__);
|
|
65166
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(15306);
|
|
65167
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_22__);
|
|
65168
|
+
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(69600);
|
|
65169
|
+
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_23__);
|
|
65170
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(40561);
|
|
65171
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_24__);
|
|
65172
|
+
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(19601);
|
|
65173
|
+
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_25__);
|
|
65174
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(92222);
|
|
65175
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_26__);
|
|
65176
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(9653);
|
|
65177
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_27__);
|
|
65178
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(21703);
|
|
65179
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_28__);
|
|
65180
|
+
/* harmony import */ var _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(96635);
|
|
65181
|
+
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(51760);
|
|
65182
|
+
/* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(53901);
|
|
65183
|
+
/* harmony import */ var _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(48541);
|
|
65184
|
+
/* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(8277);
|
|
65185
|
+
/* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(2613);
|
|
65186
|
+
/* harmony import */ var _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(64465);
|
|
65187
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(74089);
|
|
65188
|
+
/* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(32629);
|
|
65189
|
+
/* harmony import */ var _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(29899);
|
|
65190
|
+
/* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(94639);
|
|
65191
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(42921);
|
|
65192
|
+
/* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(4938);
|
|
65193
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(62358);
|
|
65194
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(91105);
|
|
65195
|
+
/* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(92501);
|
|
65196
|
+
/* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(47088);
|
|
65197
|
+
/* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(59621);
|
|
65198
|
+
/* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(57727);
|
|
65199
|
+
/* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(80177);
|
|
65200
|
+
/* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(45836);
|
|
65201
|
+
/* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(67945);
|
|
65202
|
+
/* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(13307);
|
|
65203
|
+
/* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(11429);
|
|
65204
|
+
/* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(19995);
|
|
65205
|
+
/* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(24701);
|
|
65206
|
+
/* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(90832);
|
|
65207
|
+
/* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(5010);
|
|
65208
|
+
/* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(27198);
|
|
65209
|
+
/* harmony import */ var _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(12659);
|
|
65210
|
+
/* harmony import */ var _RareCharNode__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(34910);
|
|
65211
|
+
|
|
65212
|
+
|
|
65195
65213
|
|
|
65196
65214
|
|
|
65197
65215
|
|
|
@@ -65225,7 +65243,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65225
65243
|
/*
|
|
65226
65244
|
* @Author: your name
|
|
65227
65245
|
* @Date: 2020-11-03 15:17:54
|
|
65228
|
-
* @LastEditTime: 2023-07-
|
|
65246
|
+
* @LastEditTime: 2023-07-14 16:52:06
|
|
65229
65247
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
65230
65248
|
* @Description: In User Settings Edit
|
|
65231
65249
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -65308,14 +65326,14 @@ var DownListProperty = /*#__PURE__*/function () {
|
|
|
65308
65326
|
//private _specialFormat!: SpecialFormat;//特殊格式
|
|
65309
65327
|
function DownListProperty() {
|
|
65310
65328
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(this, DownListProperty);
|
|
65311
|
-
(0,
|
|
65312
|
-
(0,
|
|
65313
|
-
(0,
|
|
65314
|
-
(0,
|
|
65315
|
-
(0,
|
|
65329
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_allowMultiSelected", void 0);
|
|
65330
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_isMultiLinesDisplay", void 0);
|
|
65331
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_splitCharacter", void 0);
|
|
65332
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_mutexSelect", void 0);
|
|
65333
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_listItems", void 0);
|
|
65316
65334
|
DownListProperty.setDefaultImportStyle(this);
|
|
65317
65335
|
}
|
|
65318
|
-
(0,
|
|
65336
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_61__/* ["default"] */ .Z)(DownListProperty, [{
|
|
65319
65337
|
key: "allowMultiSelected",
|
|
65320
65338
|
get: function get() {
|
|
65321
65339
|
return this._allowMultiSelected;
|
|
@@ -65423,17 +65441,17 @@ var DataVerifyFormat = /*#__PURE__*/function () {
|
|
|
65423
65441
|
// private _noLaterTheTime!: string;//时间格式 不得晚于该时间
|
|
65424
65442
|
function DataVerifyFormat() {
|
|
65425
65443
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(this, DataVerifyFormat);
|
|
65426
|
-
(0,
|
|
65427
|
-
(0,
|
|
65428
|
-
(0,
|
|
65429
|
-
(0,
|
|
65430
|
-
(0,
|
|
65431
|
-
(0,
|
|
65432
|
-
(0,
|
|
65433
|
-
(0,
|
|
65444
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_mustInputValue", void 0);
|
|
65445
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_dataFormat", void 0);
|
|
65446
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_minLength", void 0);
|
|
65447
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_maxLength", void 0);
|
|
65448
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_onlyInputInt", void 0);
|
|
65449
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_minValue", void 0);
|
|
65450
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_maxValue", void 0);
|
|
65451
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)(this, "_maxSmallBits", void 0);
|
|
65434
65452
|
DataVerifyFormat.setDefaultDataVerifyFormat(this);
|
|
65435
65453
|
}
|
|
65436
|
-
(0,
|
|
65454
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_61__/* ["default"] */ .Z)(DataVerifyFormat, [{
|
|
65437
65455
|
key: "mustInputValue",
|
|
65438
65456
|
get: function get() {
|
|
65439
65457
|
return this._mustInputValue;
|
|
@@ -65645,40 +65663,40 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65645
65663
|
var _this;
|
|
65646
65664
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(this, TextInputFieldNode);
|
|
65647
65665
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
65648
|
-
(0,
|
|
65649
|
-
(0,
|
|
65650
|
-
(0,
|
|
65651
|
-
(0,
|
|
65652
|
-
(0,
|
|
65653
|
-
(0,
|
|
65654
|
-
(0,
|
|
65655
|
-
(0,
|
|
65656
|
-
(0,
|
|
65657
|
-
(0,
|
|
65658
|
-
(0,
|
|
65659
|
-
(0,
|
|
65660
|
-
(0,
|
|
65661
|
-
(0,
|
|
65662
|
-
(0,
|
|
65663
|
-
(0,
|
|
65664
|
-
(0,
|
|
65665
|
-
(0,
|
|
65666
|
-
(0,
|
|
65667
|
-
(0,
|
|
65668
|
-
(0,
|
|
65669
|
-
(0,
|
|
65670
|
-
(0,
|
|
65671
|
-
(0,
|
|
65672
|
-
(0,
|
|
65673
|
-
(0,
|
|
65674
|
-
(0,
|
|
65675
|
-
(0,
|
|
65676
|
-
(0,
|
|
65677
|
-
(0,
|
|
65678
|
-
(0,
|
|
65679
|
-
(0,
|
|
65680
|
-
(0,
|
|
65681
|
-
(0,
|
|
65666
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_inputFieldType", void 0);
|
|
65667
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_id", void 0);
|
|
65668
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_dataId", void 0);
|
|
65669
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_innerIdentifier", void 0);
|
|
65670
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_dataMetaIdentifier", void 0);
|
|
65671
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_identifierFormat", void 0);
|
|
65672
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isSynchro", false);
|
|
65673
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_labelText", '请输入');
|
|
65674
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_text", '');
|
|
65675
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_name", '');
|
|
65676
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_tipText", '');
|
|
65677
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_fixedWidth", 0);
|
|
65678
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isCentered", false);
|
|
65679
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_canModifyContent", true);
|
|
65680
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isAllowDelete", true);
|
|
65681
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_enableGlobalColor", true);
|
|
65682
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_defaultValue", '');
|
|
65683
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_downListProperty", void 0);
|
|
65684
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_dataVerifyFormat", void 0);
|
|
65685
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_customProperty", void 0);
|
|
65686
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_alignWithBlocked", false);
|
|
65687
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_readType", -1);
|
|
65688
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_keyValue", '');
|
|
65689
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_value", '');
|
|
65690
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_insCheckSyncUpdateList", false);
|
|
65691
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_hideDuringPrint", false);
|
|
65692
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_notReplaceElement", false);
|
|
65693
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isElementLink", false);
|
|
65694
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_includesKeyword", '');
|
|
65695
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_valueArea", '');
|
|
65696
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_childNodes2", void 0);
|
|
65697
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "StartMarkNode", void 0);
|
|
65698
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "EndMarkNode", void 0);
|
|
65699
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_backShape", void 0);
|
|
65682
65700
|
_this._childNodes2 = [];
|
|
65683
65701
|
//this._importStyle = new ImportStyle();
|
|
65684
65702
|
_this._downListProperty = new DownListProperty();
|
|
@@ -65700,7 +65718,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65700
65718
|
}
|
|
65701
65719
|
}
|
|
65702
65720
|
if (!_this._dataId) {
|
|
65703
|
-
_this._dataId =
|
|
65721
|
+
_this._dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID('Field');
|
|
65704
65722
|
}
|
|
65705
65723
|
_this.node2DrawNodeRange(0, _this.text.length - 1);
|
|
65706
65724
|
//FIXME:正式使用时下面事件触发要注释掉,这里会在节点被删除后被卡死
|
|
@@ -65716,7 +65734,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65716
65734
|
// })
|
|
65717
65735
|
return _this;
|
|
65718
65736
|
}
|
|
65719
|
-
(0,
|
|
65737
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_61__/* ["default"] */ .Z)(TextInputFieldNode, [{
|
|
65720
65738
|
key: "alignWithBlocked",
|
|
65721
65739
|
get:
|
|
65722
65740
|
//输入域类型
|
|
@@ -65807,8 +65825,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65807
65825
|
}, {
|
|
65808
65826
|
key: "mouseEvent",
|
|
65809
65827
|
value: function mouseEvent(event) {
|
|
65810
|
-
if (event.type ==
|
|
65811
|
-
if (event.type ==
|
|
65828
|
+
if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_32__/* .DmouseEventType.detOver */ .p.detOver) this.activity(true);
|
|
65829
|
+
if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_32__/* .DmouseEventType.detOut */ .p.detOut) this.activity(false);
|
|
65812
65830
|
}
|
|
65813
65831
|
// public activity(active: boolean) {
|
|
65814
65832
|
// if (active) {
|
|
@@ -66167,7 +66185,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66167
66185
|
} else {
|
|
66168
66186
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
66169
66187
|
var child = this.childNodes[i];
|
|
66170
|
-
if (child instanceof
|
|
66188
|
+
if (child instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && child.MarkNodeType == 1) {
|
|
66171
66189
|
return child;
|
|
66172
66190
|
}
|
|
66173
66191
|
}
|
|
@@ -66182,7 +66200,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66182
66200
|
key: "update",
|
|
66183
66201
|
value: function update(mode) {
|
|
66184
66202
|
var _this2 = this;
|
|
66185
|
-
var hoEditorFactory =
|
|
66203
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66186
66204
|
/**
|
|
66187
66205
|
* 内容为空,显示一个点位符
|
|
66188
66206
|
*/
|
|
@@ -66205,9 +66223,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66205
66223
|
case 0:
|
|
66206
66224
|
//由于在表格在放置输入域后会在绘制时触发输入域重绘,此时表格还未放置于舞台,造成报错,故暂时禁用此函数
|
|
66207
66225
|
//熊跃龙 2021-03-19
|
|
66208
|
-
changeEvent = new
|
|
66226
|
+
changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_34__/* .NodeChangeEvent */ .G(_this2.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_37__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, path1 || startPath, path2 || endPath);
|
|
66209
66227
|
changeEvent.oldEndPath = path2 || endPath;
|
|
66210
|
-
changeEvent.oldDrawLines = new
|
|
66228
|
+
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_31__/* .SelectRange */ .E(_this2.hoEditorFactoryID).getRangeDrawLines(path1 || startPath, path2 || endPath, true);
|
|
66211
66229
|
_context.next = 5;
|
|
66212
66230
|
return hoEditorFactory.docTree.change(changeEvent);
|
|
66213
66231
|
case 5:
|
|
@@ -66227,11 +66245,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66227
66245
|
}();
|
|
66228
66246
|
if (mode == 0) {
|
|
66229
66247
|
var prev = first.previousLeaf();
|
|
66230
|
-
if (!prev) throw
|
|
66248
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66231
66249
|
refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
|
|
66232
66250
|
setTimeout(function () {
|
|
66233
66251
|
prev = first.previousLeaf();
|
|
66234
|
-
if (!prev) throw
|
|
66252
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66235
66253
|
refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
|
|
66236
66254
|
}, 200);
|
|
66237
66255
|
return;
|
|
@@ -66277,7 +66295,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66277
66295
|
// } else
|
|
66278
66296
|
if (this.StartMarkNode.drawNodes.length > 0 && this.EndMarkNode.drawNodes.length > 0) {
|
|
66279
66297
|
//不空,还原
|
|
66280
|
-
var bInSameLine =
|
|
66298
|
+
var bInSameLine = _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__/* .DrawLine.inSameLine */ .a.inSameLine(this.StartMarkNode.drawNodes[0], this.EndMarkNode.drawNodes[0]);
|
|
66281
66299
|
if (fixWidthPix == 0 || !bInSameLine || usedWidth >= maxEmptWidth) {
|
|
66282
66300
|
firthWidth = 0;
|
|
66283
66301
|
lastWidth = 0;
|
|
@@ -66297,7 +66315,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66297
66315
|
last.width = lastWidth;
|
|
66298
66316
|
var _prev = last.previousLeaf();
|
|
66299
66317
|
if (!_prev) {
|
|
66300
|
-
throw
|
|
66318
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66301
66319
|
}
|
|
66302
66320
|
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev);
|
|
66303
66321
|
endPath = last.getNodePath();
|
|
@@ -66309,7 +66327,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66309
66327
|
last.width = lastWidth;
|
|
66310
66328
|
var _prev2 = first.previousLeaf();
|
|
66311
66329
|
if (!_prev2) {
|
|
66312
|
-
throw
|
|
66330
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66313
66331
|
}
|
|
66314
66332
|
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev2);
|
|
66315
66333
|
endPath = last.getNodePath();
|
|
@@ -66334,8 +66352,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66334
66352
|
var loopChildNodes = function loopChildNodes(node) {
|
|
66335
66353
|
var nodes = node.childNodes.slice(1);
|
|
66336
66354
|
nodes.forEach(function (childNode) {
|
|
66337
|
-
if (childNode instanceof
|
|
66338
|
-
var hoEditorFactory =
|
|
66355
|
+
if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
66356
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3.hoEditorFactoryID);
|
|
66339
66357
|
var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
|
|
66340
66358
|
if (!textStyle) {
|
|
66341
66359
|
textStyle = hoEditorFactory.docTree.styles[0];
|
|
@@ -66350,36 +66368,36 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66350
66368
|
text += childNode.text;
|
|
66351
66369
|
}
|
|
66352
66370
|
}
|
|
66353
|
-
} else if (childNode instanceof
|
|
66354
|
-
if (childNode instanceof
|
|
66371
|
+
} else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_43__/* .ControlNode */ .w) {
|
|
66372
|
+
if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
|
|
66355
66373
|
text += '';
|
|
66356
66374
|
} else {
|
|
66357
66375
|
text += childNode.text;
|
|
66358
66376
|
}
|
|
66359
|
-
} else if (childNode instanceof
|
|
66377
|
+
} else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__/* .BaseCombineNode */ .V) {
|
|
66360
66378
|
loopChildNodes(childNode);
|
|
66361
|
-
} else if (childNode instanceof
|
|
66379
|
+
} else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C) {
|
|
66362
66380
|
text += '\n';
|
|
66363
|
-
} else if (childNode instanceof
|
|
66381
|
+
} else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_48__/* .MedicalExpressionNode */ .H) {
|
|
66364
66382
|
var expressJson = JSON.parse('{}');
|
|
66365
66383
|
text += '<MedicalExpress>';
|
|
66366
|
-
if (childNode instanceof
|
|
66384
|
+
if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__/* .MenstrualHistoryNode */ .n) {
|
|
66367
66385
|
expressJson.expressStyle = childNode.expressStyle;
|
|
66368
66386
|
expressJson.menseDays = childNode.menseDays;
|
|
66369
66387
|
expressJson.cycleDays = childNode.cycleDays;
|
|
66370
66388
|
expressJson.menarcheAge = childNode.menarcheAge;
|
|
66371
66389
|
expressJson.menoPauseAge = childNode.menoPauseAge;
|
|
66372
|
-
} else if (childNode instanceof
|
|
66390
|
+
} else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_53__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_46__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_45__/* .FetalHeartMapNode */ .t) {
|
|
66373
66391
|
expressJson.value1 = childNode.value1;
|
|
66374
66392
|
expressJson.value2 = childNode.value2;
|
|
66375
66393
|
expressJson.value3 = childNode.value3;
|
|
66376
66394
|
expressJson.value4 = childNode.value4;
|
|
66377
66395
|
expressJson.value5 = childNode.value5;
|
|
66378
66396
|
expressJson.value6 = childNode.value6;
|
|
66379
|
-
if (childNode instanceof
|
|
66397
|
+
if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_53__/* .PupilMapNode */ .v) {
|
|
66380
66398
|
expressJson.expressStyle = 'PupilMapNode';
|
|
66381
66399
|
expressJson.value7 = childNode.value7;
|
|
66382
|
-
} else if (childNode instanceof
|
|
66400
|
+
} else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_46__/* .LightLocationMapNode */ .D) {
|
|
66383
66401
|
expressJson.expressStyle = 'LightLocationMapNode';
|
|
66384
66402
|
expressJson.value7 = childNode.value7;
|
|
66385
66403
|
expressJson.value8 = childNode.value8;
|
|
@@ -66387,11 +66405,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66387
66405
|
} else {
|
|
66388
66406
|
expressJson.expressStyle = 'FetalHeartMapNode';
|
|
66389
66407
|
}
|
|
66390
|
-
} else if (childNode instanceof
|
|
66391
|
-
if (childNode instanceof
|
|
66408
|
+
} else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_51__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_52__/* .PrimaryTeethMapNode */ .x) {
|
|
66409
|
+
if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_51__/* .PermanentTeethMapNode */ .f) {
|
|
66392
66410
|
expressJson.expressStyle = 'PermanentTeethMapNode';
|
|
66411
|
+
expressJson.remark = childNode.remark;
|
|
66393
66412
|
}
|
|
66394
|
-
if (childNode instanceof
|
|
66413
|
+
if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_52__/* .PrimaryTeethMapNode */ .x) {
|
|
66395
66414
|
expressJson.expressStyle = 'PrimaryTeethMapNode';
|
|
66396
66415
|
}
|
|
66397
66416
|
expressJson.topLeftSelected = childNode.topLeftSelected;
|
|
@@ -66432,7 +66451,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66432
66451
|
String(listItem.value) && value.push(listItem.value);
|
|
66433
66452
|
}
|
|
66434
66453
|
}
|
|
66435
|
-
text = text.substring(0, text.length - 1);
|
|
66454
|
+
text = text.substring(0, text.length - 1).replace('\r', '');
|
|
66436
66455
|
this.value = value.join(',');
|
|
66437
66456
|
}
|
|
66438
66457
|
}
|
|
@@ -66451,7 +66470,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66451
66470
|
while (1) {
|
|
66452
66471
|
switch (_context2.prev = _context2.next) {
|
|
66453
66472
|
case 0:
|
|
66454
|
-
if (!(text === '' && this.childNodes[1] instanceof
|
|
66473
|
+
if (!(text === '' && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j)) {
|
|
66455
66474
|
_context2.next = 2;
|
|
66456
66475
|
break;
|
|
66457
66476
|
}
|
|
@@ -66468,12 +66487,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66468
66487
|
}
|
|
66469
66488
|
oldValue = this._canModifyContent.valueOf();
|
|
66470
66489
|
this._canModifyContent = true;
|
|
66471
|
-
hoEditorFactory =
|
|
66490
|
+
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66472
66491
|
startPath = this.StartMarkNode.getNodePath();
|
|
66473
66492
|
endPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]);
|
|
66474
|
-
aRange = new
|
|
66475
|
-
if (!(this.childNodes[1] instanceof
|
|
66476
|
-
anodes =
|
|
66493
|
+
aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_39__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
|
|
66494
|
+
if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) && this.inputFieldType === 0) {
|
|
66495
|
+
anodes = _DomRange__WEBPACK_IMPORTED_MODULE_39__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
|
|
66477
66496
|
for (i = 0; i < anodes.length; i++) {
|
|
66478
66497
|
anode = anodes[i];
|
|
66479
66498
|
if (anode instanceof TextInputFieldNode && anode.parentNode === this && anode.isAllowDelete === false) {
|
|
@@ -66483,12 +66502,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66483
66502
|
hoEditorFactory.docController.deleteRange(aRange, true, 'update');
|
|
66484
66503
|
}
|
|
66485
66504
|
if (!(text === '')) {
|
|
66486
|
-
_context2.next =
|
|
66505
|
+
_context2.next = 23;
|
|
66487
66506
|
break;
|
|
66488
66507
|
}
|
|
66489
|
-
|
|
66508
|
+
this._childNodes.splice(1, this._childNodes.length - 2);
|
|
66509
|
+
markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent);
|
|
66490
66510
|
hoEditorFactory.undoService.begin();
|
|
66491
|
-
hoEditorFactory.undoService.add(new
|
|
66511
|
+
hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_35__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
|
|
66492
66512
|
hoEditorFactory.undoService.commit();
|
|
66493
66513
|
if (this._childNodes2.length === 3) {
|
|
66494
66514
|
this._childNodes2.splice(1, 1);
|
|
@@ -66497,11 +66517,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66497
66517
|
this._canModifyContent = oldValue;
|
|
66498
66518
|
this.update(0);
|
|
66499
66519
|
return _context2.abrupt("return");
|
|
66500
|
-
case
|
|
66520
|
+
case 23:
|
|
66501
66521
|
hoEditorFactory.docController.insertPlainTextAfterPath(startPath, text, oldValue);
|
|
66502
66522
|
//this._canModifyContent = await oldValue;
|
|
66503
66523
|
//this.update(0);
|
|
66504
|
-
case
|
|
66524
|
+
case 24:
|
|
66505
66525
|
case "end":
|
|
66506
66526
|
return _context2.stop();
|
|
66507
66527
|
}
|
|
@@ -66546,7 +66566,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66546
66566
|
value: function node2DrawNodeRange(startIndex, endIndex) {
|
|
66547
66567
|
this.childNodes.length = 0;
|
|
66548
66568
|
this._childNodes2.length = 0;
|
|
66549
|
-
var hoEditorFactory =
|
|
66569
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66550
66570
|
var curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
66551
66571
|
var cbStyle = hoEditorFactory.docTree.styles[curStyleIndex].combineStyle;
|
|
66552
66572
|
var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
|
|
@@ -66557,17 +66577,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66557
66577
|
// if (this.enableGlobalColor) {
|
|
66558
66578
|
// index = astyle.changeStyleString("fontBackColor", "transparent");
|
|
66559
66579
|
// }
|
|
66560
|
-
this.StartMarkNode = new
|
|
66580
|
+
this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMark */ .Jq.ntMark, '|', index, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtStart */ .q.mtStart);
|
|
66561
66581
|
this.StartMarkNode.isReadOnly = true;
|
|
66562
|
-
this.StartMarkNode.MarkNodeType =
|
|
66563
|
-
this.EndMarkNode = new
|
|
66582
|
+
this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtStart */ .q.mtStart;
|
|
66583
|
+
this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMark */ .Jq.ntMark, ']', index, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd);
|
|
66564
66584
|
this.EndMarkNode.isReadOnly = true;
|
|
66565
|
-
this.EndMarkNode.MarkNodeType =
|
|
66585
|
+
this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd;
|
|
66566
66586
|
this.StartMarkNode.pair = this.EndMarkNode;
|
|
66567
66587
|
this.EndMarkNode.pair = this.StartMarkNode;
|
|
66568
66588
|
this._childNodes2.push(this.StartMarkNode);
|
|
66569
66589
|
if (this.labelText.length != 0) {
|
|
66570
|
-
this._childNodes2.push(new
|
|
66590
|
+
this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent));
|
|
66571
66591
|
// this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
|
|
66572
66592
|
// this._childNodes2.push(this._labelNode);
|
|
66573
66593
|
}
|
|
@@ -66578,7 +66598,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66578
66598
|
if (this._childNodes2.length == 3) {
|
|
66579
66599
|
this.childNodes.splice(1, 1);
|
|
66580
66600
|
}
|
|
66581
|
-
this._childNodes.splice(1, 0, new
|
|
66601
|
+
this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, this.text, index));
|
|
66582
66602
|
}
|
|
66583
66603
|
}
|
|
66584
66604
|
}, {
|
|
@@ -66611,14 +66631,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66611
66631
|
if (startIndex >= this.getLength()) {
|
|
66612
66632
|
return dline;
|
|
66613
66633
|
}
|
|
66614
|
-
var hoEditorFactory =
|
|
66634
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66615
66635
|
var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
|
|
66616
66636
|
var isEnd = false;
|
|
66617
66637
|
for (var index = 0; index < this.childNodes.length; index++) {
|
|
66618
66638
|
var value = this.childNodes[index];
|
|
66619
|
-
if (value instanceof
|
|
66639
|
+
if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C) {
|
|
66620
66640
|
if (aline.paragraphNode !== value) {
|
|
66621
|
-
if (aline instanceof
|
|
66641
|
+
if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__/* .DrawLine */ .a) {
|
|
66622
66642
|
aline.fitLines();
|
|
66623
66643
|
aline.updateLineStyle();
|
|
66624
66644
|
}
|
|
@@ -66631,7 +66651,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66631
66651
|
}
|
|
66632
66652
|
paraNode = value;
|
|
66633
66653
|
aline = paraNode.drawlines[0];
|
|
66634
|
-
} else if (value instanceof
|
|
66654
|
+
} else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_56__/* .TableNode */ .Fh) {
|
|
66635
66655
|
value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
|
|
66636
66656
|
aline = value.drawTable;
|
|
66637
66657
|
} else {
|
|
@@ -66642,14 +66662,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66642
66662
|
aline = value.placeDNode2DrawLine(droots, paraNode, aline, start, start + value.getLength() - 1, endPath);
|
|
66643
66663
|
}
|
|
66644
66664
|
var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
|
|
66645
|
-
var cresult =
|
|
66665
|
+
var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_40__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
|
|
66646
66666
|
if (cresult <= 0) {
|
|
66647
66667
|
break;
|
|
66648
66668
|
}
|
|
66649
66669
|
}
|
|
66650
66670
|
aline.fitLines();
|
|
66651
66671
|
aline.updateLineStyle();
|
|
66652
|
-
if (dline === aline && aline instanceof
|
|
66672
|
+
if (dline === aline && aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__/* .DrawLine */ .a) {
|
|
66653
66673
|
this._text = this.getFieldText();
|
|
66654
66674
|
var fixWidthPix = hoEditorFactory.unitConvert.mmConversionPx(this.fixedWidth * 10, true);
|
|
66655
66675
|
var restWidth = aline.dWidth - aline.paragraphNode.combineParagraph.leftMarginPixes - aline.paragraphNode.combineParagraph.rightMarginPixes - this.StartMarkNode.drawNodes[0].x;
|
|
@@ -66694,7 +66714,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66694
66714
|
//this.EndMarkNode.node2DrawNode();
|
|
66695
66715
|
aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
|
|
66696
66716
|
}
|
|
66697
|
-
if (this.hideDuringPrint && !this.isEmpty() && (hoEditorFactory.drawTree.paintStatus ==
|
|
66717
|
+
if (this.hideDuringPrint && !this.isEmpty() && (hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState.psPrint */ .Dh.psPrint)) {
|
|
66698
66718
|
var hidden = function hidden(childNodes) {
|
|
66699
66719
|
for (var h = 1; h < childNodes.length - 1; h++) {
|
|
66700
66720
|
var child = childNodes[h];
|
|
@@ -66727,15 +66747,15 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66727
66747
|
}, {
|
|
66728
66748
|
key: "getReadyToEdit",
|
|
66729
66749
|
value: function getReadyToEdit(callback) {
|
|
66730
|
-
var hoEditorFactory =
|
|
66731
|
-
if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !==
|
|
66750
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
66751
|
+
if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState.psDesign */ .Dh.psDesign) {
|
|
66732
66752
|
return [false, ''];
|
|
66733
66753
|
}
|
|
66734
66754
|
var label = this.getLabel();
|
|
66735
66755
|
if (label) {
|
|
66736
66756
|
var prev = label.previousLeaf();
|
|
66737
|
-
if (!prev) throw
|
|
66738
|
-
var path =
|
|
66757
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66758
|
+
var path = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(prev);
|
|
66739
66759
|
if (callback) callback(label);
|
|
66740
66760
|
return [true, path];
|
|
66741
66761
|
}
|
|
@@ -66758,19 +66778,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66758
66778
|
value: function getActualWidth() {
|
|
66759
66779
|
var w = 0;
|
|
66760
66780
|
this.childNodes.forEach(function (value) {
|
|
66761
|
-
if (!(value instanceof
|
|
66781
|
+
if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C)) w += value.getActualWidth();
|
|
66762
66782
|
});
|
|
66763
66783
|
return w;
|
|
66764
66784
|
}
|
|
66765
66785
|
}, {
|
|
66766
66786
|
key: "delete",
|
|
66767
66787
|
value: function _delete(operType) {
|
|
66768
|
-
var hoEditorFactory =
|
|
66769
|
-
if (hoEditorFactory.drawTree.paintStatus ===
|
|
66788
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
66789
|
+
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState.psDesign */ .Dh.psDesign || this.isAllowDelete) {
|
|
66770
66790
|
return (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(TextInputFieldNode.prototype), "delete", this).call(this);
|
|
66771
66791
|
} else {
|
|
66772
66792
|
if (operType !== 'update') {
|
|
66773
|
-
|
|
66793
|
+
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_62__/* ["default"].warn */ .Z.warn('文本域已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。');
|
|
66774
66794
|
} else {
|
|
66775
66795
|
return (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(TextInputFieldNode.prototype), "delete", this).call(this);
|
|
66776
66796
|
}
|
|
@@ -66795,7 +66815,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66795
66815
|
return false;
|
|
66796
66816
|
} else {
|
|
66797
66817
|
for (var i = 0; i++; i < this.childNodes.length) {
|
|
66798
|
-
if (this.childNodes[i] instanceof
|
|
66818
|
+
if (this.childNodes[i] instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__/* .BaseCombineNode */ .V) {
|
|
66799
66819
|
if (this.childNodes[i].removeChild(node)) return true;
|
|
66800
66820
|
}
|
|
66801
66821
|
}
|
|
@@ -66813,9 +66833,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66813
66833
|
if (this.childNodes.length == 2) {
|
|
66814
66834
|
return true;
|
|
66815
66835
|
}
|
|
66816
|
-
if (this.childNodes.length == 3 && this.childNodes[1] instanceof
|
|
66836
|
+
if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
66817
66837
|
var markNode = this.childNodes[1];
|
|
66818
|
-
if (markNode.MarkNodeType ===
|
|
66838
|
+
if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent) {
|
|
66819
66839
|
return true;
|
|
66820
66840
|
} else return false;
|
|
66821
66841
|
}
|
|
@@ -66846,7 +66866,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66846
66866
|
var ilen = arr.length;
|
|
66847
66867
|
for (var i = 1; i < ilen; i++) {
|
|
66848
66868
|
textInputFieldNode.insertText(arr[i].text, textInputFieldNode.text.length);
|
|
66849
|
-
|
|
66869
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.deleteNode(arr[i]);
|
|
66850
66870
|
}
|
|
66851
66871
|
return textInputFieldNode;
|
|
66852
66872
|
}
|
|
@@ -66864,10 +66884,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66864
66884
|
if (!range) {
|
|
66865
66885
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
66866
66886
|
var node = this.childNodes[i];
|
|
66867
|
-
if (!(node instanceof
|
|
66868
|
-
if (node instanceof
|
|
66887
|
+
if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && node.text.substr(0, 1) !== 'C')) {
|
|
66888
|
+
if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_56__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
|
|
66869
66889
|
childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
|
|
66870
|
-
} else if (node instanceof
|
|
66890
|
+
} else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
66871
66891
|
if (clearSign) {
|
|
66872
66892
|
if (node.isTemplate) {
|
|
66873
66893
|
childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
@@ -66876,11 +66896,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66876
66896
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
66877
66897
|
}
|
|
66878
66898
|
} else {
|
|
66879
|
-
if (node instanceof
|
|
66899
|
+
if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
66880
66900
|
if (node.text !== '') {
|
|
66881
66901
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
66882
66902
|
}
|
|
66883
|
-
} else if (node instanceof
|
|
66903
|
+
} else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d) {
|
|
66884
66904
|
childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
66885
66905
|
} else {
|
|
66886
66906
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
@@ -66933,7 +66953,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66933
66953
|
canCopy = _node.checkPath(rec.from);
|
|
66934
66954
|
}
|
|
66935
66955
|
if (canCopy) {
|
|
66936
|
-
if (!(_node instanceof
|
|
66956
|
+
if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && _node.text.substr(0, 1) === 'C')) {
|
|
66937
66957
|
childArray.push(_node.node2Json(rec, isCopy));
|
|
66938
66958
|
}
|
|
66939
66959
|
}
|
|
@@ -67057,7 +67077,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67057
67077
|
}, {
|
|
67058
67078
|
key: "getLeftWidth",
|
|
67059
67079
|
value: function getLeftWidth() {
|
|
67060
|
-
var hoEditorFactory =
|
|
67080
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
67061
67081
|
if (this.alignWithBlocked && this.StartMarkNode && this.StartMarkNode.drawNodes.length > 0) {
|
|
67062
67082
|
var dNode = this.StartMarkNode.drawNodes[0];
|
|
67063
67083
|
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(dNode);
|
|
@@ -67113,7 +67133,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67113
67133
|
}], [{
|
|
67114
67134
|
key: "json2Node",
|
|
67115
67135
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode, isPaste, isClearSign) {
|
|
67116
|
-
var hoEditorFactory =
|
|
67136
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
|
|
67117
67137
|
var eachCount = 0;
|
|
67118
67138
|
var isErrorValid = false;
|
|
67119
67139
|
delete json.nodeType;
|
|
@@ -67142,7 +67162,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67142
67162
|
json.includesKeyword = !json.includesKeyword ? false : json.includesKeyword;
|
|
67143
67163
|
json.valueArea = !json.valueArea ? false : json.valueArea;
|
|
67144
67164
|
json.isElementLink = !json.isElementLink ? false : json.isElementLink;
|
|
67145
|
-
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null,
|
|
67165
|
+
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntField */ .Jq.ntField, json);
|
|
67146
67166
|
// this.insertChild
|
|
67147
67167
|
if (json.childNodes) {
|
|
67148
67168
|
var nodes = new Array();
|
|
@@ -67162,10 +67182,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67162
67182
|
// console.timeEnd(`----${i}----1-1----${item[i].name}`);
|
|
67163
67183
|
// };
|
|
67164
67184
|
if (node) {
|
|
67165
|
-
if (node instanceof
|
|
67185
|
+
if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
67166
67186
|
if (temp.innerIdentifier == "name" && node.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(node.text).length) {
|
|
67167
67187
|
//特殊处理生僻字
|
|
67168
|
-
var rareCharNode = new
|
|
67188
|
+
var rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_59__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, node.rootNodes, node.parentNode, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntRareChar */ .Jq.ntRareChar, node.text, node.styleIndex);
|
|
67169
67189
|
nodes.push(rareCharNode);
|
|
67170
67190
|
} else {
|
|
67171
67191
|
if (node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '') {
|
|
@@ -67178,7 +67198,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67178
67198
|
}
|
|
67179
67199
|
} else {
|
|
67180
67200
|
if (isClearSign) {
|
|
67181
|
-
if (node instanceof
|
|
67201
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67182
67202
|
if (node.isTemplate && !(node.number == 0 && node.type == 0 && node.name == '')) {
|
|
67183
67203
|
nodes.push(node);
|
|
67184
67204
|
}
|
|
@@ -67186,7 +67206,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67186
67206
|
nodes.push(node);
|
|
67187
67207
|
}
|
|
67188
67208
|
} else {
|
|
67189
|
-
if (node instanceof
|
|
67209
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67190
67210
|
if (!(node.number == 0 && node.type == 0 && node.name == '')) {
|
|
67191
67211
|
nodes.push(node);
|
|
67192
67212
|
}
|
|
@@ -67196,10 +67216,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67196
67216
|
}
|
|
67197
67217
|
}
|
|
67198
67218
|
}
|
|
67199
|
-
if (node instanceof
|
|
67219
|
+
if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd && node.text.substring(0, 1) === 'C') {
|
|
67200
67220
|
hoEditorFactory.structureConvert._markNodes.push(node);
|
|
67201
67221
|
}
|
|
67202
|
-
if (node instanceof
|
|
67222
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
|
|
67203
67223
|
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
67204
67224
|
}
|
|
67205
67225
|
}
|
|
@@ -67207,10 +67227,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67207
67227
|
//单个对象
|
|
67208
67228
|
var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
|
|
67209
67229
|
if (_node2) {
|
|
67210
|
-
if (_node2 instanceof
|
|
67230
|
+
if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
67211
67231
|
if (temp.innerIdentifier == "name" && _node2.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_node2.text).length) {
|
|
67212
67232
|
//特殊处理生僻字
|
|
67213
|
-
var _rareCharNode = new
|
|
67233
|
+
var _rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_59__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, _node2.rootNodes, _node2.parentNode, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntRareChar */ .Jq.ntRareChar, _node2.text, _node2.styleIndex);
|
|
67214
67234
|
nodes.push(_rareCharNode);
|
|
67215
67235
|
} else {
|
|
67216
67236
|
if (_node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '') {
|
|
@@ -67224,7 +67244,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67224
67244
|
} else {
|
|
67225
67245
|
//nodes.push(node);
|
|
67226
67246
|
if (isClearSign) {
|
|
67227
|
-
if (_node2 instanceof
|
|
67247
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67228
67248
|
if (_node2.isTemplate && !(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
67229
67249
|
nodes.push(_node2);
|
|
67230
67250
|
}
|
|
@@ -67232,7 +67252,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67232
67252
|
nodes.push(_node2);
|
|
67233
67253
|
}
|
|
67234
67254
|
} else {
|
|
67235
|
-
if (_node2 instanceof
|
|
67255
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67236
67256
|
if (!(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
67237
67257
|
nodes.push(_node2);
|
|
67238
67258
|
}
|
|
@@ -67242,10 +67262,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67242
67262
|
}
|
|
67243
67263
|
}
|
|
67244
67264
|
}
|
|
67245
|
-
if (_node2 instanceof
|
|
67265
|
+
if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd && _node2.text.substring(0, 1) === 'C') {
|
|
67246
67266
|
hoEditorFactory.structureConvert._markNodes.push(_node2);
|
|
67247
67267
|
}
|
|
67248
|
-
if (_node2 instanceof
|
|
67268
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
|
|
67249
67269
|
hoEditorFactory.structureConvert._superiorSign[0] = _node2;
|
|
67250
67270
|
}
|
|
67251
67271
|
}
|
|
@@ -67263,11 +67283,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67263
67283
|
}
|
|
67264
67284
|
// if(json.name === '1-1') console.timeEnd("1-1--0");
|
|
67265
67285
|
if (nodes.length > 0) {
|
|
67266
|
-
if (nodes[0] instanceof
|
|
67286
|
+
if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
67267
67287
|
var _temp$childNodes;
|
|
67268
67288
|
temp.childNodes.length = 0;
|
|
67269
67289
|
(_temp$childNodes = temp.childNodes).splice.apply(_temp$childNodes, [0, 0].concat(nodes));
|
|
67270
|
-
if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof
|
|
67290
|
+
if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
67271
67291
|
temp._childNodes2.splice(1, 1);
|
|
67272
67292
|
temp._childNodes2.splice(1, 0, temp.childNodes[1]);
|
|
67273
67293
|
}
|
|
@@ -67282,17 +67302,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67282
67302
|
//if (hoEditorFactory.drawTree.paintStatus === PaintState.psDesign) {
|
|
67283
67303
|
var sChildNode = temp.childNodes[0];
|
|
67284
67304
|
var eChildNode = temp.childNodes[temp.childNodes.length - 1];
|
|
67285
|
-
if (!(sChildNode instanceof
|
|
67305
|
+
if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtStart */ .q.mtStart) {
|
|
67286
67306
|
throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
|
|
67287
67307
|
}
|
|
67288
|
-
if (!(eChildNode instanceof
|
|
67308
|
+
if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
|
|
67289
67309
|
throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
|
|
67290
67310
|
}
|
|
67291
|
-
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof
|
|
67311
|
+
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && temp.childNodes[1].MarkNodeType == _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent) {
|
|
67292
67312
|
temp.childNodes.splice(1, 1);
|
|
67293
67313
|
}
|
|
67294
67314
|
//}
|
|
67295
|
-
if (temp.childNodes[1] instanceof
|
|
67315
|
+
if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_55__/* .TableFormula */ .N) {
|
|
67296
67316
|
return temp;
|
|
67297
67317
|
}
|
|
67298
67318
|
if (!isPaste) {
|
|
@@ -67319,10 +67339,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67319
67339
|
}
|
|
67320
67340
|
for (var i = 0; i < lineArr.length; i++) {
|
|
67321
67341
|
var lineText = lineArr[i];
|
|
67322
|
-
var textNode = new
|
|
67342
|
+
var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
|
|
67323
67343
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
|
|
67324
67344
|
if (i < lineArr.length - 1) {
|
|
67325
|
-
var paraNode = new
|
|
67345
|
+
var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
|
|
67326
67346
|
paraNode.styleIndex = styleIndex;
|
|
67327
67347
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, paraNode);
|
|
67328
67348
|
}
|
|
@@ -67408,35 +67428,35 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67408
67428
|
if (resultArr[k].text != '') {
|
|
67409
67429
|
var newStyleIndex = styleIndex;
|
|
67410
67430
|
if (resultArr[k].mark == 1) {
|
|
67411
|
-
var textStyle = new
|
|
67431
|
+
var textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67412
67432
|
textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], textStyle);
|
|
67413
67433
|
textStyle.script = 2;
|
|
67414
67434
|
newStyleIndex = hoEditorFactory.docTree.styleCompare(textStyle);
|
|
67415
67435
|
}
|
|
67416
67436
|
if (resultArr[k].mark == 2) {
|
|
67417
|
-
var _textStyle = new
|
|
67437
|
+
var _textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67418
67438
|
_textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], _textStyle);
|
|
67419
67439
|
_textStyle.script = 1;
|
|
67420
67440
|
newStyleIndex = hoEditorFactory.docTree.styleCompare(_textStyle);
|
|
67421
67441
|
}
|
|
67422
|
-
var textNode0 = new
|
|
67442
|
+
var textNode0 = new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, resultArr[k].text, newStyleIndex);
|
|
67423
67443
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode0);
|
|
67424
67444
|
}
|
|
67425
67445
|
}
|
|
67426
67446
|
} else {
|
|
67427
67447
|
if (textArr[0] != "") {
|
|
67428
67448
|
if (temp.innerIdentifier == "name" && temp.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(temp.text).length) {
|
|
67429
|
-
var rareCharNode = new
|
|
67449
|
+
var rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_59__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntRareChar */ .Jq.ntRareChar, textArr[0], styleIndex);
|
|
67430
67450
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, rareCharNode);
|
|
67431
67451
|
} else {
|
|
67432
|
-
var textNode1 = new
|
|
67452
|
+
var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, textArr[0], styleIndex);
|
|
67433
67453
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
|
|
67434
67454
|
}
|
|
67435
67455
|
}
|
|
67436
67456
|
}
|
|
67437
67457
|
if (textArr.length > 1) {
|
|
67438
67458
|
for (var _i2 = 1; _i2 < textArr.length; _i2++) {
|
|
67439
|
-
var paragraNode = new
|
|
67459
|
+
var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
|
|
67440
67460
|
paragraNode.styleIndex = styleIndex;
|
|
67441
67461
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
|
|
67442
67462
|
if (textArr[_i2] !== '') {
|
|
@@ -67447,17 +67467,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67447
67467
|
if (resultArr1[_k].text != '') {
|
|
67448
67468
|
var _newStyleIndex = styleIndex;
|
|
67449
67469
|
if (resultArr1[_k].mark == 1) {
|
|
67450
|
-
var _textStyle2 = new
|
|
67470
|
+
var _textStyle2 = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67451
67471
|
_textStyle2.copyProperty(hoEditorFactory.docTree.styles[styleIndex], _textStyle2);
|
|
67452
67472
|
_textStyle2.script = 2;
|
|
67453
67473
|
_newStyleIndex = hoEditorFactory.docTree.styleCompare(_textStyle2);
|
|
67454
67474
|
}
|
|
67455
|
-
var _textNode = new
|
|
67475
|
+
var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, resultArr1[_k].text, _newStyleIndex);
|
|
67456
67476
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode);
|
|
67457
67477
|
}
|
|
67458
67478
|
}
|
|
67459
67479
|
} else {
|
|
67460
|
-
var _textNode2 = new
|
|
67480
|
+
var _textNode2 = new _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, textArr[_i2], styleIndex);
|
|
67461
67481
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode2);
|
|
67462
67482
|
}
|
|
67463
67483
|
}
|
|
@@ -67474,25 +67494,25 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67474
67494
|
var eIndex = expressArr[_i3].eIndex;
|
|
67475
67495
|
var expressJson = temp.text.substring(sIndex + 16, eIndex);
|
|
67476
67496
|
var expressObj = JSON.parse(expressJson);
|
|
67477
|
-
var expressStyle =
|
|
67497
|
+
var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__/* .ExpressStyle */ .e[expressObj.expressStyle];
|
|
67478
67498
|
if (!expressStyle) {
|
|
67479
67499
|
expressStyle = expressObj.expressStyle;
|
|
67480
67500
|
}
|
|
67481
67501
|
var medicalExpressNode = void 0;
|
|
67482
67502
|
if (expressStyle.includes('style')) {
|
|
67483
67503
|
//经期史
|
|
67484
|
-
medicalExpressNode = new
|
|
67504
|
+
medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
|
|
67485
67505
|
} else {
|
|
67486
67506
|
if (expressStyle === 'PupilMapNode') {
|
|
67487
|
-
medicalExpressNode = new
|
|
67507
|
+
medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_53__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
|
|
67488
67508
|
} else if (expressStyle === 'LightLocationMapNode') {
|
|
67489
|
-
medicalExpressNode = new
|
|
67509
|
+
medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_46__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
|
|
67490
67510
|
} else if (expressStyle === 'FetalHeartMapNode') {
|
|
67491
|
-
medicalExpressNode = new
|
|
67511
|
+
medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_45__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
|
|
67492
67512
|
} else if (expressStyle === 'PermanentTeethMapNode') {
|
|
67493
|
-
medicalExpressNode = new
|
|
67513
|
+
medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_51__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected, expressObj.remark);
|
|
67494
67514
|
} else {
|
|
67495
|
-
medicalExpressNode = new
|
|
67515
|
+
medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_52__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
|
|
67496
67516
|
}
|
|
67497
67517
|
}
|
|
67498
67518
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, medicalExpressNode);
|
|
@@ -67517,9 +67537,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67517
67537
|
}
|
|
67518
67538
|
} else {
|
|
67519
67539
|
temp._childNodes2.splice(1, temp._childNodes2.length - 2);
|
|
67520
|
-
var markNode = new
|
|
67540
|
+
var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, temp.labelText,
|
|
67521
67541
|
//hoEditorFactory.docTree.curStyleIndex,
|
|
67522
|
-
styleIndex,
|
|
67542
|
+
styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent);
|
|
67523
67543
|
temp._childNodes.splice(1, 0, markNode);
|
|
67524
67544
|
temp._childNodes2.splice(1, 0, markNode);
|
|
67525
67545
|
}
|
|
@@ -67542,18 +67562,18 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67542
67562
|
}, {
|
|
67543
67563
|
key: "textInpubNodeRedraw",
|
|
67544
67564
|
value: function textInpubNodeRedraw(hoEditorFactoryID, node) {
|
|
67545
|
-
var hoEditorFactory =
|
|
67565
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
|
|
67546
67566
|
var startPath = node.StartMarkNode.getNodePath();
|
|
67547
67567
|
var paragraphNode = hoEditorFactory.docTree.getNodeParaNode(node.EndMarkNode);
|
|
67548
67568
|
var endPath = hoEditorFactory.docTree.getNodeLastPath(paragraphNode);
|
|
67549
|
-
var changeEvent = new
|
|
67569
|
+
var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_34__/* .NodeChangeEvent */ .G(hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_37__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, startPath, endPath);
|
|
67550
67570
|
changeEvent.oldEndPath = endPath;
|
|
67551
|
-
changeEvent.oldDrawLines = new
|
|
67571
|
+
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_31__/* .SelectRange */ .E(hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true);
|
|
67552
67572
|
hoEditorFactory.docTree.change(changeEvent);
|
|
67553
67573
|
}
|
|
67554
67574
|
}]);
|
|
67555
67575
|
return TextInputFieldNode;
|
|
67556
|
-
}(
|
|
67576
|
+
}(_BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__/* .BaseCombineNode */ .V);
|
|
67557
67577
|
|
|
67558
67578
|
/***/ }),
|
|
67559
67579
|
|
|
@@ -77469,10 +77489,10 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77469
77489
|
_this._dText = new createjs.Text(node.isTransToText ? "" : _this._text, textStyle.getStyleKey(), textStyle.color);
|
|
77470
77490
|
if (controlStyle === "CheckBox") {
|
|
77471
77491
|
_this._dBox = new createjs.Shape();
|
|
77472
|
-
_this._dBox.graphics.clear().beginStroke("#000").drawRect(0, -_this.dHeight + 2, _this.dHeight - 2, _this.dHeight - 2);
|
|
77492
|
+
_this._dBox.graphics.clear().beginStroke("#000").drawRect(0, -_this.dHeight + 2, _this.dHeight - 2, _this.dHeight - 2).endStroke();
|
|
77473
77493
|
} else {
|
|
77474
77494
|
_this._dBox = new createjs.Shape();
|
|
77475
|
-
_this._dBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke("#000").drawCircle((height - 2) / 2, -height / 2 + 2, (height - 2) / 2);
|
|
77495
|
+
_this._dBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke("#000").drawCircle((height - 2) / 2, -height / 2 + 2, (height - 2) / 2).endStroke();
|
|
77476
77496
|
}
|
|
77477
77497
|
var textWidth = _this._dText.getMeasuredWidth();
|
|
77478
77498
|
var boxwidth = height;
|
|
@@ -77488,7 +77508,7 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77488
77508
|
underLineLen = _this._dAppendText.getMeasuredWidth();
|
|
77489
77509
|
}
|
|
77490
77510
|
_this._dUnderLine = new createjs.Shape();
|
|
77491
|
-
_this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - blockWidth, 1).lineTo(_this.dWidth - blockWidth + underLineLen, 1);
|
|
77511
|
+
_this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - blockWidth, 1).lineTo(_this.dWidth - blockWidth + underLineLen, 1).endStroke();
|
|
77492
77512
|
_this.dWidth = _this.dWidth - blockWidth + underLineLen;
|
|
77493
77513
|
}
|
|
77494
77514
|
_this.dHeight = height;
|
|
@@ -77573,41 +77593,41 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77573
77593
|
if (this.controlStyle === "CheckBox") {
|
|
77574
77594
|
//复选框
|
|
77575
77595
|
if (this.isSelected) {
|
|
77576
|
-
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2);
|
|
77596
|
+
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2).endStroke();
|
|
77577
77597
|
this.addChild(drawBox);
|
|
77578
77598
|
var line1 = new createjs.Shape();
|
|
77579
77599
|
var line2 = new createjs.Shape();
|
|
77580
77600
|
if (this.boxAlign) {
|
|
77581
|
-
line1.graphics.beginStroke(this._textStyle.color).moveTo(3, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1, -2);
|
|
77601
|
+
line1.graphics.beginStroke(this._textStyle.color).moveTo(3, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1, -2).endStroke();
|
|
77582
77602
|
this.addChild(line1);
|
|
77583
|
-
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1, -2).lineTo(this.dHeight - 3, -this.dHeight + 4);
|
|
77603
|
+
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1, -2).lineTo(this.dHeight - 3, -this.dHeight + 4).endStroke();
|
|
77584
77604
|
this.addChild(line2);
|
|
77585
77605
|
} else {
|
|
77586
77606
|
var textWidth = this._dText.getMeasuredWidth();
|
|
77587
|
-
line1.graphics.beginStroke(this._textStyle.color).moveTo(3 + textWidth, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1 + textWidth, -2);
|
|
77607
|
+
line1.graphics.beginStroke(this._textStyle.color).moveTo(3 + textWidth, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1 + textWidth, -2).endStroke();
|
|
77588
77608
|
this.addChild(line1);
|
|
77589
|
-
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1 + textWidth, -2).lineTo(this.dHeight - 3 + textWidth, -this.dHeight + 4);
|
|
77609
|
+
line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1 + textWidth, -2).lineTo(this.dHeight - 3 + textWidth, -this.dHeight + 4).endStroke();
|
|
77590
77610
|
this.addChild(line2);
|
|
77591
77611
|
}
|
|
77592
77612
|
} else {
|
|
77593
|
-
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2);
|
|
77613
|
+
drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2).endStroke();
|
|
77594
77614
|
this.addChild(drawBox);
|
|
77595
77615
|
}
|
|
77596
77616
|
} else {
|
|
77597
77617
|
//单选框
|
|
77598
77618
|
if (this.isSelected) {
|
|
77599
|
-
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2);
|
|
77619
|
+
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2).endStroke();
|
|
77600
77620
|
this.addChild(drawBox);
|
|
77601
77621
|
var dot = new createjs.Shape();
|
|
77602
77622
|
if (this.boxAlign) {
|
|
77603
|
-
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + 1, -this.dHeight / 2 + 2, 1);
|
|
77623
|
+
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + 1, -this.dHeight / 2 + 2, 1).endStroke();
|
|
77604
77624
|
this.addChild(dot);
|
|
77605
77625
|
} else {
|
|
77606
|
-
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + this._dText.getMeasuredWidth(), -this.dHeight / 2 + 2, 1);
|
|
77626
|
+
dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + this._dText.getMeasuredWidth(), -this.dHeight / 2 + 2, 1).endStroke();
|
|
77607
77627
|
this.addChild(dot);
|
|
77608
77628
|
}
|
|
77609
77629
|
} else {
|
|
77610
|
-
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2);
|
|
77630
|
+
drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2).endStroke();
|
|
77611
77631
|
this.addChild(drawBox);
|
|
77612
77632
|
}
|
|
77613
77633
|
}
|
|
@@ -80415,6 +80435,9 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
80415
80435
|
var createHistory = hoEditorFactory.docTree.userHistories[createID];
|
|
80416
80436
|
var deleteHistory = hoEditorFactory.docTree.userHistories[deleteID];
|
|
80417
80437
|
var comLevel = comment ? comment.permissionLevel : -1;
|
|
80438
|
+
if (comment && comment.isProcessed) {
|
|
80439
|
+
comLevel = -1;
|
|
80440
|
+
}
|
|
80418
80441
|
var createLevel = createHistory ? createHistory.permissionLevel : -1;
|
|
80419
80442
|
var deleteLevel = deleteHistory ? deleteHistory.permissionLevel : -1;
|
|
80420
80443
|
var ilevel = Math.max(comLevel, createLevel, deleteLevel);
|
|
@@ -199585,7 +199608,7 @@ var map = {
|
|
|
199585
199608
|
"./table/TableFormula.vue": 66591,
|
|
199586
199609
|
"./table/TableProperty.vue": 47130,
|
|
199587
199610
|
"./table/TableRowProperty.vue": 56819,
|
|
199588
|
-
"./textDialog/TextDialog.vue":
|
|
199611
|
+
"./textDialog/TextDialog.vue": 26401,
|
|
199589
199612
|
"./textDialog/TextToLabelDialog.vue": 35791,
|
|
199590
199613
|
"./textDialog/VerifyTip.vue": 63210,
|
|
199591
199614
|
"./upload/CanvasImageDialog.vue": 94116,
|
|
@@ -235832,8 +235855,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
235832
235855
|
var es_number_constructor = __webpack_require__(9653);
|
|
235833
235856
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
235834
235857
|
var es_json_stringify = __webpack_require__(38862);
|
|
235835
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=
|
|
235836
|
-
var
|
|
235858
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=197ca538&
|
|
235859
|
+
var HoDocvue_type_template_id_197ca538_render = function render() {
|
|
235837
235860
|
var _vm = this,
|
|
235838
235861
|
_c = _vm._self._c;
|
|
235839
235862
|
return _c('div', {
|
|
@@ -235981,7 +236004,7 @@ var HoDocvue_type_template_id_91a4fbf4_render = function render() {
|
|
|
235981
236004
|
}
|
|
235982
236005
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
235983
236006
|
};
|
|
235984
|
-
var
|
|
236007
|
+
var HoDocvue_type_template_id_197ca538_staticRenderFns = [];
|
|
235985
236008
|
|
|
235986
236009
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
235987
236010
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -238940,7 +238963,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
238940
238963
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
238941
238964
|
var MarkNode = __webpack_require__(57727);
|
|
238942
238965
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
238943
|
-
/* harmony default export */ var version = ('3.0.
|
|
238966
|
+
/* harmony default export */ var version = ('3.0.86');
|
|
238944
238967
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
238945
238968
|
var PoperTipText = __webpack_require__(36081);
|
|
238946
238969
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -239468,6 +239491,16 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
239468
239491
|
this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
|
|
239469
239492
|
return;
|
|
239470
239493
|
}
|
|
239494
|
+
var text = node.text.replace(/ /g, '');
|
|
239495
|
+
if (text != node.parentNode.name && text !== '') {
|
|
239496
|
+
var _node$parentNode$down, _node$parentNode$down2;
|
|
239497
|
+
var list = (_node$parentNode$down = node.parentNode.downListProperty) !== null && _node$parentNode$down !== void 0 && _node$parentNode$down.listItems ? JSON.parse((_node$parentNode$down2 = node.parentNode.downListProperty) === null || _node$parentNode$down2 === void 0 ? void 0 : _node$parentNode$down2.listItems) : [];
|
|
239498
|
+
if (list.filter(function (v) {
|
|
239499
|
+
return v.text.split('<元素>')[0].includes(text);
|
|
239500
|
+
}).length === 0) {
|
|
239501
|
+
return;
|
|
239502
|
+
}
|
|
239503
|
+
}
|
|
239471
239504
|
var _callback = function _callback(list) {
|
|
239472
239505
|
_this5.computedPoperPosition(node, pageIndex);
|
|
239473
239506
|
if (Array.isArray(list) && list.length > 0) {
|
|
@@ -239675,10 +239708,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
239675
239708
|
});
|
|
239676
239709
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
239677
239710
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
239678
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
239711
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=197ca538&prod&lang=scss&
|
|
239679
239712
|
// extracted by mini-css-extract-plugin
|
|
239680
239713
|
|
|
239681
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
239714
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=197ca538&prod&lang=scss&
|
|
239682
239715
|
|
|
239683
239716
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
239684
239717
|
|
|
@@ -239691,8 +239724,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
239691
239724
|
|
|
239692
239725
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
239693
239726
|
components_HoDocvue_type_script_lang_js_,
|
|
239694
|
-
|
|
239695
|
-
|
|
239727
|
+
HoDocvue_type_template_id_197ca538_render,
|
|
239728
|
+
HoDocvue_type_template_id_197ca538_staticRenderFns,
|
|
239696
239729
|
false,
|
|
239697
239730
|
null,
|
|
239698
239731
|
null,
|
|
@@ -244150,6 +244183,11 @@ var StructureConvert = /*#__PURE__*/function () {
|
|
|
244150
244183
|
v.backColor = defaultTextStyle.combineStyle.backColor;
|
|
244151
244184
|
}
|
|
244152
244185
|
}
|
|
244186
|
+
if (v && typeof v.color === 'string') {
|
|
244187
|
+
if (v.color.replace(/^\s+|\s+$/g, '') === '') {
|
|
244188
|
+
v.color = defaultTextStyle.combineStyle.color;
|
|
244189
|
+
}
|
|
244190
|
+
}
|
|
244153
244191
|
});
|
|
244154
244192
|
}
|
|
244155
244193
|
if (fontStyles) {
|
|
@@ -246508,6 +246546,7 @@ var hoCreateHistory = {
|
|
|
246508
246546
|
|
|
246509
246547
|
|
|
246510
246548
|
|
|
246549
|
+
|
|
246511
246550
|
|
|
246512
246551
|
|
|
246513
246552
|
var VueController = /*#__PURE__*/function () {
|
|
@@ -253041,7 +253080,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
253041
253080
|
});
|
|
253042
253081
|
}
|
|
253043
253082
|
var defaultCellProp = {
|
|
253044
|
-
title: '',
|
|
253083
|
+
//title: '',
|
|
253045
253084
|
align: TableProperty/* VAlign.vatop */.TR.vatop,
|
|
253046
253085
|
obliqueSplitLine: 0,
|
|
253047
253086
|
printGridLines: true,
|
|
@@ -253158,7 +253197,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
253158
253197
|
customProperty: Array(node.cellProperty.customProperties)
|
|
253159
253198
|
};
|
|
253160
253199
|
var cellProperty = {
|
|
253161
|
-
title: node.cellProperty.title,
|
|
253200
|
+
//title: node.cellProperty.title,
|
|
253162
253201
|
align: Number(node.cellProperty.align || 0),
|
|
253163
253202
|
obliqueSplitLine: Number(node.cellProperty.obliqueSplitLine || 0),
|
|
253164
253203
|
printGridLines: node.cellProperty.printGridLines,
|
|
@@ -253896,6 +253935,63 @@ var VueController = /*#__PURE__*/function () {
|
|
|
253896
253935
|
}
|
|
253897
253936
|
}
|
|
253898
253937
|
}
|
|
253938
|
+
/**
|
|
253939
|
+
* 回填表格数据
|
|
253940
|
+
* @param index 第几个表格
|
|
253941
|
+
* @param data 回填的数据
|
|
253942
|
+
*/
|
|
253943
|
+
}, {
|
|
253944
|
+
key: "backFillTableData",
|
|
253945
|
+
value: function backFillTableData(index, data) {
|
|
253946
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253947
|
+
var table = null;
|
|
253948
|
+
var i = 0;
|
|
253949
|
+
for (var k = 0; k < hoEditorFactory.docTree.mainNodes.length; k++) {
|
|
253950
|
+
var node = hoEditorFactory.docTree.mainNodes[k];
|
|
253951
|
+
if (node instanceof TableNode/* TableNode */.Fh) {
|
|
253952
|
+
i++;
|
|
253953
|
+
if (i === index) {
|
|
253954
|
+
table = node;
|
|
253955
|
+
break;
|
|
253956
|
+
}
|
|
253957
|
+
}
|
|
253958
|
+
}
|
|
253959
|
+
if (table) {
|
|
253960
|
+
var rowCellNum = table.rows[0].length;
|
|
253961
|
+
if (table.childNodes.length - rowCellNum < data.length) {
|
|
253962
|
+
var needCellNum = data.length - (table.childNodes.length - rowCellNum);
|
|
253963
|
+
var needRows = Number((needCellNum / rowCellNum).toFixed());
|
|
253964
|
+
var remainder = needCellNum % rowCellNum;
|
|
253965
|
+
if (remainder > 0) {
|
|
253966
|
+
needRows++;
|
|
253967
|
+
}
|
|
253968
|
+
table.insertRows(table.rowCount, needRows, table.rowCount - 1);
|
|
253969
|
+
}
|
|
253970
|
+
for (var m = 0; m < data.length; m++) {
|
|
253971
|
+
var cell = table.childNodes[m + rowCellNum];
|
|
253972
|
+
if (cell) {
|
|
253973
|
+
var text = data[m] || ' ';
|
|
253974
|
+
cell.childNodes.splice(1, cell.childNodes.length);
|
|
253975
|
+
var textNode = new TextNode/* TextNode */.R(this._hoEditorFactoryID, table.rootNodes, cell, BaseNode/* NodeType.ntText */.Jq.ntText, text, cell.childNodes[0].styleIndex);
|
|
253976
|
+
cell.drawCell.needUpdate = true;
|
|
253977
|
+
cell.childNodes.push(textNode);
|
|
253978
|
+
}
|
|
253979
|
+
}
|
|
253980
|
+
table.update();
|
|
253981
|
+
}
|
|
253982
|
+
}
|
|
253983
|
+
}, {
|
|
253984
|
+
key: "clearCommentTextBackColor",
|
|
253985
|
+
value: function clearCommentTextBackColor(ids) {
|
|
253986
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253987
|
+
for (var i = 0; i < ids.length; i++) {
|
|
253988
|
+
var id = ids[i];
|
|
253989
|
+
var comment = hoEditorFactory.drawTree.commentsMap.get(id);
|
|
253990
|
+
if (comment) {
|
|
253991
|
+
comment.isProcessed = true;
|
|
253992
|
+
}
|
|
253993
|
+
}
|
|
253994
|
+
}
|
|
253899
253995
|
}]);
|
|
253900
253996
|
return VueController;
|
|
253901
253997
|
}();
|