hoeditor-web 3.0.84 → 3.0.85
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 +232 -216
- 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);
|
|
@@ -65116,7 +65125,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65116
65125
|
/* harmony export */ });
|
|
65117
65126
|
/* unused harmony exports SpecialFormat, BandDataSource */
|
|
65118
65127
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(94310);
|
|
65119
|
-
/* harmony import */ var
|
|
65128
|
+
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(40735);
|
|
65120
65129
|
/* 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
65130
|
/* 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
65131
|
/* 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 +65136,8 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65127
65136
|
/* 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
65137
|
/* 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
65138
|
/* 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
|
|
65139
|
+
/* 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);
|
|
65140
|
+
/* 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
65141
|
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(68309);
|
|
65133
65142
|
/* 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
65143
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(41539);
|
|
@@ -65149,49 +65158,55 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65149
65158
|
/* 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
65159
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(57658);
|
|
65151
65160
|
/* 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
|
|
65161
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(74916);
|
|
65162
|
+
/* 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__);
|
|
65163
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(15306);
|
|
65164
|
+
/* 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__);
|
|
65165
|
+
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(69600);
|
|
65166
|
+
/* 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__);
|
|
65167
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(40561);
|
|
65168
|
+
/* 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__);
|
|
65169
|
+
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(19601);
|
|
65170
|
+
/* 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__);
|
|
65171
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(92222);
|
|
65172
|
+
/* 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__);
|
|
65173
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(9653);
|
|
65174
|
+
/* 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__);
|
|
65175
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(21703);
|
|
65176
|
+
/* 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__);
|
|
65177
|
+
/* harmony import */ var _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(96635);
|
|
65178
|
+
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(51760);
|
|
65179
|
+
/* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(53901);
|
|
65180
|
+
/* harmony import */ var _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(48541);
|
|
65181
|
+
/* harmony import */ var _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(8277);
|
|
65182
|
+
/* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(2613);
|
|
65183
|
+
/* harmony import */ var _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(64465);
|
|
65184
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(74089);
|
|
65185
|
+
/* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(32629);
|
|
65186
|
+
/* harmony import */ var _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(29899);
|
|
65187
|
+
/* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(94639);
|
|
65188
|
+
/* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(42921);
|
|
65189
|
+
/* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(4938);
|
|
65190
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(62358);
|
|
65191
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(91105);
|
|
65192
|
+
/* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(92501);
|
|
65193
|
+
/* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(47088);
|
|
65194
|
+
/* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(59621);
|
|
65195
|
+
/* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(57727);
|
|
65196
|
+
/* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(80177);
|
|
65197
|
+
/* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(45836);
|
|
65198
|
+
/* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(67945);
|
|
65199
|
+
/* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(13307);
|
|
65200
|
+
/* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(11429);
|
|
65201
|
+
/* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(19995);
|
|
65202
|
+
/* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(24701);
|
|
65203
|
+
/* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(90832);
|
|
65204
|
+
/* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(5010);
|
|
65205
|
+
/* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(27198);
|
|
65206
|
+
/* harmony import */ var _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(12659);
|
|
65207
|
+
/* harmony import */ var _RareCharNode__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(34910);
|
|
65208
|
+
|
|
65209
|
+
|
|
65195
65210
|
|
|
65196
65211
|
|
|
65197
65212
|
|
|
@@ -65225,7 +65240,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
65225
65240
|
/*
|
|
65226
65241
|
* @Author: your name
|
|
65227
65242
|
* @Date: 2020-11-03 15:17:54
|
|
65228
|
-
* @LastEditTime: 2023-07-
|
|
65243
|
+
* @LastEditTime: 2023-07-14 09:49:07
|
|
65229
65244
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
65230
65245
|
* @Description: In User Settings Edit
|
|
65231
65246
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -65308,14 +65323,14 @@ var DownListProperty = /*#__PURE__*/function () {
|
|
|
65308
65323
|
//private _specialFormat!: SpecialFormat;//特殊格式
|
|
65309
65324
|
function DownListProperty() {
|
|
65310
65325
|
(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,
|
|
65326
|
+
(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);
|
|
65327
|
+
(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);
|
|
65328
|
+
(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);
|
|
65329
|
+
(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);
|
|
65330
|
+
(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
65331
|
DownListProperty.setDefaultImportStyle(this);
|
|
65317
65332
|
}
|
|
65318
|
-
(0,
|
|
65333
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_61__/* ["default"] */ .Z)(DownListProperty, [{
|
|
65319
65334
|
key: "allowMultiSelected",
|
|
65320
65335
|
get: function get() {
|
|
65321
65336
|
return this._allowMultiSelected;
|
|
@@ -65423,17 +65438,17 @@ var DataVerifyFormat = /*#__PURE__*/function () {
|
|
|
65423
65438
|
// private _noLaterTheTime!: string;//时间格式 不得晚于该时间
|
|
65424
65439
|
function DataVerifyFormat() {
|
|
65425
65440
|
(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,
|
|
65441
|
+
(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);
|
|
65442
|
+
(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);
|
|
65443
|
+
(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);
|
|
65444
|
+
(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);
|
|
65445
|
+
(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);
|
|
65446
|
+
(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);
|
|
65447
|
+
(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);
|
|
65448
|
+
(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
65449
|
DataVerifyFormat.setDefaultDataVerifyFormat(this);
|
|
65435
65450
|
}
|
|
65436
|
-
(0,
|
|
65451
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_61__/* ["default"] */ .Z)(DataVerifyFormat, [{
|
|
65437
65452
|
key: "mustInputValue",
|
|
65438
65453
|
get: function get() {
|
|
65439
65454
|
return this._mustInputValue;
|
|
@@ -65645,40 +65660,40 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65645
65660
|
var _this;
|
|
65646
65661
|
(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
65662
|
_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,
|
|
65663
|
+
(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);
|
|
65664
|
+
(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);
|
|
65665
|
+
(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);
|
|
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), "_innerIdentifier", 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), "_dataMetaIdentifier", 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), "_identifierFormat", 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), "_isSynchro", false);
|
|
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), "_labelText", '请输入');
|
|
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), "_text", '');
|
|
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), "_name", '');
|
|
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), "_tipText", '');
|
|
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), "_fixedWidth", 0);
|
|
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), "_isCentered", false);
|
|
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), "_canModifyContent", true);
|
|
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), "_isAllowDelete", true);
|
|
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), "_enableGlobalColor", true);
|
|
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), "_defaultValue", '');
|
|
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), "_downListProperty", void 0);
|
|
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), "_dataVerifyFormat", void 0);
|
|
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), "_customProperty", void 0);
|
|
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), "_alignWithBlocked", false);
|
|
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), "_readType", -1);
|
|
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), "_keyValue", '');
|
|
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), "_value", '');
|
|
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), "_insCheckSyncUpdateList", false);
|
|
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), "_hideDuringPrint", false);
|
|
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), "_notReplaceElement", false);
|
|
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), "_isElementLink", 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), "_includesKeyword", '');
|
|
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), "_valueArea", '');
|
|
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), "_childNodes2", void 0);
|
|
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), "StartMarkNode", void 0);
|
|
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), "EndMarkNode", void 0);
|
|
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), "_backShape", void 0);
|
|
65682
65697
|
_this._childNodes2 = [];
|
|
65683
65698
|
//this._importStyle = new ImportStyle();
|
|
65684
65699
|
_this._downListProperty = new DownListProperty();
|
|
@@ -65700,7 +65715,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65700
65715
|
}
|
|
65701
65716
|
}
|
|
65702
65717
|
if (!_this._dataId) {
|
|
65703
|
-
_this._dataId =
|
|
65718
|
+
_this._dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID('Field');
|
|
65704
65719
|
}
|
|
65705
65720
|
_this.node2DrawNodeRange(0, _this.text.length - 1);
|
|
65706
65721
|
//FIXME:正式使用时下面事件触发要注释掉,这里会在节点被删除后被卡死
|
|
@@ -65716,7 +65731,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65716
65731
|
// })
|
|
65717
65732
|
return _this;
|
|
65718
65733
|
}
|
|
65719
|
-
(0,
|
|
65734
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_61__/* ["default"] */ .Z)(TextInputFieldNode, [{
|
|
65720
65735
|
key: "alignWithBlocked",
|
|
65721
65736
|
get:
|
|
65722
65737
|
//输入域类型
|
|
@@ -65807,8 +65822,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65807
65822
|
}, {
|
|
65808
65823
|
key: "mouseEvent",
|
|
65809
65824
|
value: function mouseEvent(event) {
|
|
65810
|
-
if (event.type ==
|
|
65811
|
-
if (event.type ==
|
|
65825
|
+
if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_32__/* .DmouseEventType.detOver */ .p.detOver) this.activity(true);
|
|
65826
|
+
if (event.type == _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_32__/* .DmouseEventType.detOut */ .p.detOut) this.activity(false);
|
|
65812
65827
|
}
|
|
65813
65828
|
// public activity(active: boolean) {
|
|
65814
65829
|
// if (active) {
|
|
@@ -66167,7 +66182,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66167
66182
|
} else {
|
|
66168
66183
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
66169
66184
|
var child = this.childNodes[i];
|
|
66170
|
-
if (child instanceof
|
|
66185
|
+
if (child instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && child.MarkNodeType == 1) {
|
|
66171
66186
|
return child;
|
|
66172
66187
|
}
|
|
66173
66188
|
}
|
|
@@ -66182,7 +66197,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66182
66197
|
key: "update",
|
|
66183
66198
|
value: function update(mode) {
|
|
66184
66199
|
var _this2 = this;
|
|
66185
|
-
var hoEditorFactory =
|
|
66200
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66186
66201
|
/**
|
|
66187
66202
|
* 内容为空,显示一个点位符
|
|
66188
66203
|
*/
|
|
@@ -66205,9 +66220,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66205
66220
|
case 0:
|
|
66206
66221
|
//由于在表格在放置输入域后会在绘制时触发输入域重绘,此时表格还未放置于舞台,造成报错,故暂时禁用此函数
|
|
66207
66222
|
//熊跃龙 2021-03-19
|
|
66208
|
-
changeEvent = new
|
|
66223
|
+
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
66224
|
changeEvent.oldEndPath = path2 || endPath;
|
|
66210
|
-
changeEvent.oldDrawLines = new
|
|
66225
|
+
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_31__/* .SelectRange */ .E(_this2.hoEditorFactoryID).getRangeDrawLines(path1 || startPath, path2 || endPath, true);
|
|
66211
66226
|
_context.next = 5;
|
|
66212
66227
|
return hoEditorFactory.docTree.change(changeEvent);
|
|
66213
66228
|
case 5:
|
|
@@ -66227,11 +66242,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66227
66242
|
}();
|
|
66228
66243
|
if (mode == 0) {
|
|
66229
66244
|
var prev = first.previousLeaf();
|
|
66230
|
-
if (!prev) throw
|
|
66245
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66231
66246
|
refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
|
|
66232
66247
|
setTimeout(function () {
|
|
66233
66248
|
prev = first.previousLeaf();
|
|
66234
|
-
if (!prev) throw
|
|
66249
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66235
66250
|
refresh(hoEditorFactory.docTree.getNodeLastPath(prev), hoEditorFactory.docTree.getNodeLastPath(last));
|
|
66236
66251
|
}, 200);
|
|
66237
66252
|
return;
|
|
@@ -66277,7 +66292,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66277
66292
|
// } else
|
|
66278
66293
|
if (this.StartMarkNode.drawNodes.length > 0 && this.EndMarkNode.drawNodes.length > 0) {
|
|
66279
66294
|
//不空,还原
|
|
66280
|
-
var bInSameLine =
|
|
66295
|
+
var bInSameLine = _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__/* .DrawLine.inSameLine */ .a.inSameLine(this.StartMarkNode.drawNodes[0], this.EndMarkNode.drawNodes[0]);
|
|
66281
66296
|
if (fixWidthPix == 0 || !bInSameLine || usedWidth >= maxEmptWidth) {
|
|
66282
66297
|
firthWidth = 0;
|
|
66283
66298
|
lastWidth = 0;
|
|
@@ -66297,7 +66312,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66297
66312
|
last.width = lastWidth;
|
|
66298
66313
|
var _prev = last.previousLeaf();
|
|
66299
66314
|
if (!_prev) {
|
|
66300
|
-
throw
|
|
66315
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66301
66316
|
}
|
|
66302
66317
|
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev);
|
|
66303
66318
|
endPath = last.getNodePath();
|
|
@@ -66309,7 +66324,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66309
66324
|
last.width = lastWidth;
|
|
66310
66325
|
var _prev2 = first.previousLeaf();
|
|
66311
66326
|
if (!_prev2) {
|
|
66312
|
-
throw
|
|
66327
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66313
66328
|
}
|
|
66314
66329
|
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev2);
|
|
66315
66330
|
endPath = last.getNodePath();
|
|
@@ -66334,8 +66349,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66334
66349
|
var loopChildNodes = function loopChildNodes(node) {
|
|
66335
66350
|
var nodes = node.childNodes.slice(1);
|
|
66336
66351
|
nodes.forEach(function (childNode) {
|
|
66337
|
-
if (childNode instanceof
|
|
66338
|
-
var hoEditorFactory =
|
|
66352
|
+
if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
66353
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3.hoEditorFactoryID);
|
|
66339
66354
|
var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
|
|
66340
66355
|
if (!textStyle) {
|
|
66341
66356
|
textStyle = hoEditorFactory.docTree.styles[0];
|
|
@@ -66350,36 +66365,36 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66350
66365
|
text += childNode.text;
|
|
66351
66366
|
}
|
|
66352
66367
|
}
|
|
66353
|
-
} else if (childNode instanceof
|
|
66354
|
-
if (childNode instanceof
|
|
66368
|
+
} else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_43__/* .ControlNode */ .w) {
|
|
66369
|
+
if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
|
|
66355
66370
|
text += '';
|
|
66356
66371
|
} else {
|
|
66357
66372
|
text += childNode.text;
|
|
66358
66373
|
}
|
|
66359
|
-
} else if (childNode instanceof
|
|
66374
|
+
} else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__/* .BaseCombineNode */ .V) {
|
|
66360
66375
|
loopChildNodes(childNode);
|
|
66361
|
-
} else if (childNode instanceof
|
|
66376
|
+
} else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C) {
|
|
66362
66377
|
text += '\n';
|
|
66363
|
-
} else if (childNode instanceof
|
|
66378
|
+
} else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_48__/* .MedicalExpressionNode */ .H) {
|
|
66364
66379
|
var expressJson = JSON.parse('{}');
|
|
66365
66380
|
text += '<MedicalExpress>';
|
|
66366
|
-
if (childNode instanceof
|
|
66381
|
+
if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__/* .MenstrualHistoryNode */ .n) {
|
|
66367
66382
|
expressJson.expressStyle = childNode.expressStyle;
|
|
66368
66383
|
expressJson.menseDays = childNode.menseDays;
|
|
66369
66384
|
expressJson.cycleDays = childNode.cycleDays;
|
|
66370
66385
|
expressJson.menarcheAge = childNode.menarcheAge;
|
|
66371
66386
|
expressJson.menoPauseAge = childNode.menoPauseAge;
|
|
66372
|
-
} else if (childNode instanceof
|
|
66387
|
+
} 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
66388
|
expressJson.value1 = childNode.value1;
|
|
66374
66389
|
expressJson.value2 = childNode.value2;
|
|
66375
66390
|
expressJson.value3 = childNode.value3;
|
|
66376
66391
|
expressJson.value4 = childNode.value4;
|
|
66377
66392
|
expressJson.value5 = childNode.value5;
|
|
66378
66393
|
expressJson.value6 = childNode.value6;
|
|
66379
|
-
if (childNode instanceof
|
|
66394
|
+
if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_53__/* .PupilMapNode */ .v) {
|
|
66380
66395
|
expressJson.expressStyle = 'PupilMapNode';
|
|
66381
66396
|
expressJson.value7 = childNode.value7;
|
|
66382
|
-
} else if (childNode instanceof
|
|
66397
|
+
} else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_46__/* .LightLocationMapNode */ .D) {
|
|
66383
66398
|
expressJson.expressStyle = 'LightLocationMapNode';
|
|
66384
66399
|
expressJson.value7 = childNode.value7;
|
|
66385
66400
|
expressJson.value8 = childNode.value8;
|
|
@@ -66387,11 +66402,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66387
66402
|
} else {
|
|
66388
66403
|
expressJson.expressStyle = 'FetalHeartMapNode';
|
|
66389
66404
|
}
|
|
66390
|
-
} else if (childNode instanceof
|
|
66391
|
-
if (childNode instanceof
|
|
66405
|
+
} else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_51__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_52__/* .PrimaryTeethMapNode */ .x) {
|
|
66406
|
+
if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_51__/* .PermanentTeethMapNode */ .f) {
|
|
66392
66407
|
expressJson.expressStyle = 'PermanentTeethMapNode';
|
|
66408
|
+
expressJson.remark = childNode.remark;
|
|
66393
66409
|
}
|
|
66394
|
-
if (childNode instanceof
|
|
66410
|
+
if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_52__/* .PrimaryTeethMapNode */ .x) {
|
|
66395
66411
|
expressJson.expressStyle = 'PrimaryTeethMapNode';
|
|
66396
66412
|
}
|
|
66397
66413
|
expressJson.topLeftSelected = childNode.topLeftSelected;
|
|
@@ -66432,7 +66448,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66432
66448
|
String(listItem.value) && value.push(listItem.value);
|
|
66433
66449
|
}
|
|
66434
66450
|
}
|
|
66435
|
-
text = text.substring(0, text.length - 1);
|
|
66451
|
+
text = text.substring(0, text.length - 1).replace('\r', '');
|
|
66436
66452
|
this.value = value.join(',');
|
|
66437
66453
|
}
|
|
66438
66454
|
}
|
|
@@ -66451,7 +66467,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66451
66467
|
while (1) {
|
|
66452
66468
|
switch (_context2.prev = _context2.next) {
|
|
66453
66469
|
case 0:
|
|
66454
|
-
if (!(text === '' && this.childNodes[1] instanceof
|
|
66470
|
+
if (!(text === '' && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j)) {
|
|
66455
66471
|
_context2.next = 2;
|
|
66456
66472
|
break;
|
|
66457
66473
|
}
|
|
@@ -66468,12 +66484,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66468
66484
|
}
|
|
66469
66485
|
oldValue = this._canModifyContent.valueOf();
|
|
66470
66486
|
this._canModifyContent = true;
|
|
66471
|
-
hoEditorFactory =
|
|
66487
|
+
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66472
66488
|
startPath = this.StartMarkNode.getNodePath();
|
|
66473
66489
|
endPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]);
|
|
66474
|
-
aRange = new
|
|
66475
|
-
if (!(this.childNodes[1] instanceof
|
|
66476
|
-
anodes =
|
|
66490
|
+
aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_39__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
|
|
66491
|
+
if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) && this.inputFieldType === 0) {
|
|
66492
|
+
anodes = _DomRange__WEBPACK_IMPORTED_MODULE_39__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
|
|
66477
66493
|
for (i = 0; i < anodes.length; i++) {
|
|
66478
66494
|
anode = anodes[i];
|
|
66479
66495
|
if (anode instanceof TextInputFieldNode && anode.parentNode === this && anode.isAllowDelete === false) {
|
|
@@ -66486,9 +66502,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66486
66502
|
_context2.next = 22;
|
|
66487
66503
|
break;
|
|
66488
66504
|
}
|
|
66489
|
-
markNode = new
|
|
66505
|
+
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
66506
|
hoEditorFactory.undoService.begin();
|
|
66491
|
-
hoEditorFactory.undoService.add(new
|
|
66507
|
+
hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_35__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
|
|
66492
66508
|
hoEditorFactory.undoService.commit();
|
|
66493
66509
|
if (this._childNodes2.length === 3) {
|
|
66494
66510
|
this._childNodes2.splice(1, 1);
|
|
@@ -66546,7 +66562,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66546
66562
|
value: function node2DrawNodeRange(startIndex, endIndex) {
|
|
66547
66563
|
this.childNodes.length = 0;
|
|
66548
66564
|
this._childNodes2.length = 0;
|
|
66549
|
-
var hoEditorFactory =
|
|
66565
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66550
66566
|
var curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
66551
66567
|
var cbStyle = hoEditorFactory.docTree.styles[curStyleIndex].combineStyle;
|
|
66552
66568
|
var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
|
|
@@ -66557,17 +66573,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66557
66573
|
// if (this.enableGlobalColor) {
|
|
66558
66574
|
// index = astyle.changeStyleString("fontBackColor", "transparent");
|
|
66559
66575
|
// }
|
|
66560
|
-
this.StartMarkNode = new
|
|
66576
|
+
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
66577
|
this.StartMarkNode.isReadOnly = true;
|
|
66562
|
-
this.StartMarkNode.MarkNodeType =
|
|
66563
|
-
this.EndMarkNode = new
|
|
66578
|
+
this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtStart */ .q.mtStart;
|
|
66579
|
+
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
66580
|
this.EndMarkNode.isReadOnly = true;
|
|
66565
|
-
this.EndMarkNode.MarkNodeType =
|
|
66581
|
+
this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd;
|
|
66566
66582
|
this.StartMarkNode.pair = this.EndMarkNode;
|
|
66567
66583
|
this.EndMarkNode.pair = this.StartMarkNode;
|
|
66568
66584
|
this._childNodes2.push(this.StartMarkNode);
|
|
66569
66585
|
if (this.labelText.length != 0) {
|
|
66570
|
-
this._childNodes2.push(new
|
|
66586
|
+
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
66587
|
// this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
|
|
66572
66588
|
// this._childNodes2.push(this._labelNode);
|
|
66573
66589
|
}
|
|
@@ -66578,7 +66594,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66578
66594
|
if (this._childNodes2.length == 3) {
|
|
66579
66595
|
this.childNodes.splice(1, 1);
|
|
66580
66596
|
}
|
|
66581
|
-
this._childNodes.splice(1, 0, new
|
|
66597
|
+
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
66598
|
}
|
|
66583
66599
|
}
|
|
66584
66600
|
}, {
|
|
@@ -66611,14 +66627,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66611
66627
|
if (startIndex >= this.getLength()) {
|
|
66612
66628
|
return dline;
|
|
66613
66629
|
}
|
|
66614
|
-
var hoEditorFactory =
|
|
66630
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
66615
66631
|
var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
|
|
66616
66632
|
var isEnd = false;
|
|
66617
66633
|
for (var index = 0; index < this.childNodes.length; index++) {
|
|
66618
66634
|
var value = this.childNodes[index];
|
|
66619
|
-
if (value instanceof
|
|
66635
|
+
if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C) {
|
|
66620
66636
|
if (aline.paragraphNode !== value) {
|
|
66621
|
-
if (aline instanceof
|
|
66637
|
+
if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__/* .DrawLine */ .a) {
|
|
66622
66638
|
aline.fitLines();
|
|
66623
66639
|
aline.updateLineStyle();
|
|
66624
66640
|
}
|
|
@@ -66631,7 +66647,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66631
66647
|
}
|
|
66632
66648
|
paraNode = value;
|
|
66633
66649
|
aline = paraNode.drawlines[0];
|
|
66634
|
-
} else if (value instanceof
|
|
66650
|
+
} else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_56__/* .TableNode */ .Fh) {
|
|
66635
66651
|
value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
|
|
66636
66652
|
aline = value.drawTable;
|
|
66637
66653
|
} else {
|
|
@@ -66642,14 +66658,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66642
66658
|
aline = value.placeDNode2DrawLine(droots, paraNode, aline, start, start + value.getLength() - 1, endPath);
|
|
66643
66659
|
}
|
|
66644
66660
|
var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
|
|
66645
|
-
var cresult =
|
|
66661
|
+
var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_40__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
|
|
66646
66662
|
if (cresult <= 0) {
|
|
66647
66663
|
break;
|
|
66648
66664
|
}
|
|
66649
66665
|
}
|
|
66650
66666
|
aline.fitLines();
|
|
66651
66667
|
aline.updateLineStyle();
|
|
66652
|
-
if (dline === aline && aline instanceof
|
|
66668
|
+
if (dline === aline && aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_29__/* .DrawLine */ .a) {
|
|
66653
66669
|
this._text = this.getFieldText();
|
|
66654
66670
|
var fixWidthPix = hoEditorFactory.unitConvert.mmConversionPx(this.fixedWidth * 10, true);
|
|
66655
66671
|
var restWidth = aline.dWidth - aline.paragraphNode.combineParagraph.leftMarginPixes - aline.paragraphNode.combineParagraph.rightMarginPixes - this.StartMarkNode.drawNodes[0].x;
|
|
@@ -66694,7 +66710,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66694
66710
|
//this.EndMarkNode.node2DrawNode();
|
|
66695
66711
|
aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
|
|
66696
66712
|
}
|
|
66697
|
-
if (this.hideDuringPrint && !this.isEmpty() && (hoEditorFactory.drawTree.paintStatus ==
|
|
66713
|
+
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
66714
|
var hidden = function hidden(childNodes) {
|
|
66699
66715
|
for (var h = 1; h < childNodes.length - 1; h++) {
|
|
66700
66716
|
var child = childNodes[h];
|
|
@@ -66727,15 +66743,15 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66727
66743
|
}, {
|
|
66728
66744
|
key: "getReadyToEdit",
|
|
66729
66745
|
value: function getReadyToEdit(callback) {
|
|
66730
|
-
var hoEditorFactory =
|
|
66731
|
-
if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !==
|
|
66746
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
66747
|
+
if (!this.canModifyContent && hoEditorFactory.drawTree.paintStatus !== _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState.psDesign */ .Dh.psDesign) {
|
|
66732
66748
|
return [false, ''];
|
|
66733
66749
|
}
|
|
66734
66750
|
var label = this.getLabel();
|
|
66735
66751
|
if (label) {
|
|
66736
66752
|
var prev = label.previousLeaf();
|
|
66737
|
-
if (!prev) throw
|
|
66738
|
-
var path =
|
|
66753
|
+
if (!prev) throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_33__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
66754
|
+
var path = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(prev);
|
|
66739
66755
|
if (callback) callback(label);
|
|
66740
66756
|
return [true, path];
|
|
66741
66757
|
}
|
|
@@ -66758,19 +66774,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66758
66774
|
value: function getActualWidth() {
|
|
66759
66775
|
var w = 0;
|
|
66760
66776
|
this.childNodes.forEach(function (value) {
|
|
66761
|
-
if (!(value instanceof
|
|
66777
|
+
if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C)) w += value.getActualWidth();
|
|
66762
66778
|
});
|
|
66763
66779
|
return w;
|
|
66764
66780
|
}
|
|
66765
66781
|
}, {
|
|
66766
66782
|
key: "delete",
|
|
66767
66783
|
value: function _delete(operType) {
|
|
66768
|
-
var hoEditorFactory =
|
|
66769
|
-
if (hoEditorFactory.drawTree.paintStatus ===
|
|
66784
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.hoEditorFactoryID);
|
|
66785
|
+
if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState.psDesign */ .Dh.psDesign || this.isAllowDelete) {
|
|
66770
66786
|
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
66787
|
} else {
|
|
66772
66788
|
if (operType !== 'update') {
|
|
66773
|
-
|
|
66789
|
+
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_62__/* ["default"].warn */ .Z.warn('文本域已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。');
|
|
66774
66790
|
} else {
|
|
66775
66791
|
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
66792
|
}
|
|
@@ -66795,7 +66811,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66795
66811
|
return false;
|
|
66796
66812
|
} else {
|
|
66797
66813
|
for (var i = 0; i++; i < this.childNodes.length) {
|
|
66798
|
-
if (this.childNodes[i] instanceof
|
|
66814
|
+
if (this.childNodes[i] instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__/* .BaseCombineNode */ .V) {
|
|
66799
66815
|
if (this.childNodes[i].removeChild(node)) return true;
|
|
66800
66816
|
}
|
|
66801
66817
|
}
|
|
@@ -66813,9 +66829,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66813
66829
|
if (this.childNodes.length == 2) {
|
|
66814
66830
|
return true;
|
|
66815
66831
|
}
|
|
66816
|
-
if (this.childNodes.length == 3 && this.childNodes[1] instanceof
|
|
66832
|
+
if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
66817
66833
|
var markNode = this.childNodes[1];
|
|
66818
|
-
if (markNode.MarkNodeType ===
|
|
66834
|
+
if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent) {
|
|
66819
66835
|
return true;
|
|
66820
66836
|
} else return false;
|
|
66821
66837
|
}
|
|
@@ -66846,7 +66862,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66846
66862
|
var ilen = arr.length;
|
|
66847
66863
|
for (var i = 1; i < ilen; i++) {
|
|
66848
66864
|
textInputFieldNode.insertText(arr[i].text, textInputFieldNode.text.length);
|
|
66849
|
-
|
|
66865
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.deleteNode(arr[i]);
|
|
66850
66866
|
}
|
|
66851
66867
|
return textInputFieldNode;
|
|
66852
66868
|
}
|
|
@@ -66864,10 +66880,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66864
66880
|
if (!range) {
|
|
66865
66881
|
for (var i = 0; i < this.childNodes.length; i++) {
|
|
66866
66882
|
var node = this.childNodes[i];
|
|
66867
|
-
if (!(node instanceof
|
|
66868
|
-
if (node instanceof
|
|
66883
|
+
if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && node.text.substr(0, 1) !== 'C')) {
|
|
66884
|
+
if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_56__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
|
|
66869
66885
|
childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
|
|
66870
|
-
} else if (node instanceof
|
|
66886
|
+
} else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
66871
66887
|
if (clearSign) {
|
|
66872
66888
|
if (node.isTemplate) {
|
|
66873
66889
|
childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
@@ -66876,11 +66892,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66876
66892
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
66877
66893
|
}
|
|
66878
66894
|
} else {
|
|
66879
|
-
if (node instanceof
|
|
66895
|
+
if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
66880
66896
|
if (node.text !== '') {
|
|
66881
66897
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
66882
66898
|
}
|
|
66883
|
-
} else if (node instanceof
|
|
66899
|
+
} else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_44__/* .DateTimeNode */ .Z || node instanceof _QrcodeNode__WEBPACK_IMPORTED_MODULE_58__/* .QrcodeNode */ .d) {
|
|
66884
66900
|
childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
|
|
66885
66901
|
} else {
|
|
66886
66902
|
childArray.push(node.node2Json(undefined, isCopy));
|
|
@@ -66933,7 +66949,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66933
66949
|
canCopy = _node.checkPath(rec.from);
|
|
66934
66950
|
}
|
|
66935
66951
|
if (canCopy) {
|
|
66936
|
-
if (!(_node instanceof
|
|
66952
|
+
if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && _node.text.substr(0, 1) === 'C')) {
|
|
66937
66953
|
childArray.push(_node.node2Json(rec, isCopy));
|
|
66938
66954
|
}
|
|
66939
66955
|
}
|
|
@@ -67057,7 +67073,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67057
67073
|
}, {
|
|
67058
67074
|
key: "getLeftWidth",
|
|
67059
67075
|
value: function getLeftWidth() {
|
|
67060
|
-
var hoEditorFactory =
|
|
67076
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
67061
67077
|
if (this.alignWithBlocked && this.StartMarkNode && this.StartMarkNode.drawNodes.length > 0) {
|
|
67062
67078
|
var dNode = this.StartMarkNode.drawNodes[0];
|
|
67063
67079
|
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(dNode);
|
|
@@ -67113,7 +67129,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67113
67129
|
}], [{
|
|
67114
67130
|
key: "json2Node",
|
|
67115
67131
|
value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode, isPaste, isClearSign) {
|
|
67116
|
-
var hoEditorFactory =
|
|
67132
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
|
|
67117
67133
|
var eachCount = 0;
|
|
67118
67134
|
var isErrorValid = false;
|
|
67119
67135
|
delete json.nodeType;
|
|
@@ -67142,7 +67158,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67142
67158
|
json.includesKeyword = !json.includesKeyword ? false : json.includesKeyword;
|
|
67143
67159
|
json.valueArea = !json.valueArea ? false : json.valueArea;
|
|
67144
67160
|
json.isElementLink = !json.isElementLink ? false : json.isElementLink;
|
|
67145
|
-
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null,
|
|
67161
|
+
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntField */ .Jq.ntField, json);
|
|
67146
67162
|
// this.insertChild
|
|
67147
67163
|
if (json.childNodes) {
|
|
67148
67164
|
var nodes = new Array();
|
|
@@ -67162,10 +67178,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67162
67178
|
// console.timeEnd(`----${i}----1-1----${item[i].name}`);
|
|
67163
67179
|
// };
|
|
67164
67180
|
if (node) {
|
|
67165
|
-
if (node instanceof
|
|
67181
|
+
if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
67166
67182
|
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
67183
|
//特殊处理生僻字
|
|
67168
|
-
var rareCharNode = new
|
|
67184
|
+
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
67185
|
nodes.push(rareCharNode);
|
|
67170
67186
|
} else {
|
|
67171
67187
|
if (node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '' && node.text !== '') {
|
|
@@ -67178,7 +67194,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67178
67194
|
}
|
|
67179
67195
|
} else {
|
|
67180
67196
|
if (isClearSign) {
|
|
67181
|
-
if (node instanceof
|
|
67197
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67182
67198
|
if (node.isTemplate && !(node.number == 0 && node.type == 0 && node.name == '')) {
|
|
67183
67199
|
nodes.push(node);
|
|
67184
67200
|
}
|
|
@@ -67186,7 +67202,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67186
67202
|
nodes.push(node);
|
|
67187
67203
|
}
|
|
67188
67204
|
} else {
|
|
67189
|
-
if (node instanceof
|
|
67205
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67190
67206
|
if (!(node.number == 0 && node.type == 0 && node.name == '')) {
|
|
67191
67207
|
nodes.push(node);
|
|
67192
67208
|
}
|
|
@@ -67196,10 +67212,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67196
67212
|
}
|
|
67197
67213
|
}
|
|
67198
67214
|
}
|
|
67199
|
-
if (node instanceof
|
|
67215
|
+
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
67216
|
hoEditorFactory.structureConvert._markNodes.push(node);
|
|
67201
67217
|
}
|
|
67202
|
-
if (node instanceof
|
|
67218
|
+
if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
|
|
67203
67219
|
hoEditorFactory.structureConvert._superiorSign[0] = node;
|
|
67204
67220
|
}
|
|
67205
67221
|
}
|
|
@@ -67207,10 +67223,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67207
67223
|
//单个对象
|
|
67208
67224
|
var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
|
|
67209
67225
|
if (_node2) {
|
|
67210
|
-
if (_node2 instanceof
|
|
67226
|
+
if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_57__/* .TextNode */ .R) {
|
|
67211
67227
|
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
67228
|
//特殊处理生僻字
|
|
67213
|
-
var _rareCharNode = new
|
|
67229
|
+
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
67230
|
nodes.push(_rareCharNode);
|
|
67215
67231
|
} else {
|
|
67216
67232
|
if (_node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '' && _node2.text !== '') {
|
|
@@ -67224,7 +67240,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67224
67240
|
} else {
|
|
67225
67241
|
//nodes.push(node);
|
|
67226
67242
|
if (isClearSign) {
|
|
67227
|
-
if (_node2 instanceof
|
|
67243
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67228
67244
|
if (_node2.isTemplate && !(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
67229
67245
|
nodes.push(_node2);
|
|
67230
67246
|
}
|
|
@@ -67232,7 +67248,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67232
67248
|
nodes.push(_node2);
|
|
67233
67249
|
}
|
|
67234
67250
|
} else {
|
|
67235
|
-
if (_node2 instanceof
|
|
67251
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N) {
|
|
67236
67252
|
if (!(_node2.number == 0 && _node2.type == 0 && _node2.name == '')) {
|
|
67237
67253
|
nodes.push(_node2);
|
|
67238
67254
|
}
|
|
@@ -67242,10 +67258,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67242
67258
|
}
|
|
67243
67259
|
}
|
|
67244
67260
|
}
|
|
67245
|
-
if (_node2 instanceof
|
|
67261
|
+
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
67262
|
hoEditorFactory.structureConvert._markNodes.push(_node2);
|
|
67247
67263
|
}
|
|
67248
|
-
if (_node2 instanceof
|
|
67264
|
+
if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_54__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
|
|
67249
67265
|
hoEditorFactory.structureConvert._superiorSign[0] = _node2;
|
|
67250
67266
|
}
|
|
67251
67267
|
}
|
|
@@ -67263,11 +67279,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67263
67279
|
}
|
|
67264
67280
|
// if(json.name === '1-1') console.timeEnd("1-1--0");
|
|
67265
67281
|
if (nodes.length > 0) {
|
|
67266
|
-
if (nodes[0] instanceof
|
|
67282
|
+
if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
67267
67283
|
var _temp$childNodes;
|
|
67268
67284
|
temp.childNodes.length = 0;
|
|
67269
67285
|
(_temp$childNodes = temp.childNodes).splice.apply(_temp$childNodes, [0, 0].concat(nodes));
|
|
67270
|
-
if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof
|
|
67286
|
+
if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
67271
67287
|
temp._childNodes2.splice(1, 1);
|
|
67272
67288
|
temp._childNodes2.splice(1, 0, temp.childNodes[1]);
|
|
67273
67289
|
}
|
|
@@ -67282,17 +67298,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67282
67298
|
//if (hoEditorFactory.drawTree.paintStatus === PaintState.psDesign) {
|
|
67283
67299
|
var sChildNode = temp.childNodes[0];
|
|
67284
67300
|
var eChildNode = temp.childNodes[temp.childNodes.length - 1];
|
|
67285
|
-
if (!(sChildNode instanceof
|
|
67301
|
+
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
67302
|
throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
|
|
67287
67303
|
}
|
|
67288
|
-
if (!(eChildNode instanceof
|
|
67304
|
+
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
67305
|
throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
|
|
67290
67306
|
}
|
|
67291
|
-
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof
|
|
67307
|
+
if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
|
|
67292
67308
|
temp.childNodes.splice(1, 1);
|
|
67293
67309
|
}
|
|
67294
67310
|
//}
|
|
67295
|
-
if (temp.childNodes[1] instanceof
|
|
67311
|
+
if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_55__/* .TableFormula */ .N) {
|
|
67296
67312
|
return temp;
|
|
67297
67313
|
}
|
|
67298
67314
|
if (!isPaste) {
|
|
@@ -67319,10 +67335,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67319
67335
|
}
|
|
67320
67336
|
for (var i = 0; i < lineArr.length; i++) {
|
|
67321
67337
|
var lineText = lineArr[i];
|
|
67322
|
-
var textNode = new
|
|
67338
|
+
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
67339
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
|
|
67324
67340
|
if (i < lineArr.length - 1) {
|
|
67325
|
-
var paraNode = new
|
|
67341
|
+
var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
|
|
67326
67342
|
paraNode.styleIndex = styleIndex;
|
|
67327
67343
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, paraNode);
|
|
67328
67344
|
}
|
|
@@ -67408,35 +67424,35 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67408
67424
|
if (resultArr[k].text != '') {
|
|
67409
67425
|
var newStyleIndex = styleIndex;
|
|
67410
67426
|
if (resultArr[k].mark == 1) {
|
|
67411
|
-
var textStyle = new
|
|
67427
|
+
var textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67412
67428
|
textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], textStyle);
|
|
67413
67429
|
textStyle.script = 2;
|
|
67414
67430
|
newStyleIndex = hoEditorFactory.docTree.styleCompare(textStyle);
|
|
67415
67431
|
}
|
|
67416
67432
|
if (resultArr[k].mark == 2) {
|
|
67417
|
-
var _textStyle = new
|
|
67433
|
+
var _textStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67418
67434
|
_textStyle.copyProperty(hoEditorFactory.docTree.styles[styleIndex], _textStyle);
|
|
67419
67435
|
_textStyle.script = 1;
|
|
67420
67436
|
newStyleIndex = hoEditorFactory.docTree.styleCompare(_textStyle);
|
|
67421
67437
|
}
|
|
67422
|
-
var textNode0 = new
|
|
67438
|
+
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
67439
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode0);
|
|
67424
67440
|
}
|
|
67425
67441
|
}
|
|
67426
67442
|
} else {
|
|
67427
67443
|
if (textArr[0] != "") {
|
|
67428
67444
|
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
|
|
67445
|
+
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
67446
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, rareCharNode);
|
|
67431
67447
|
} else {
|
|
67432
|
-
var textNode1 = new
|
|
67448
|
+
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
67449
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
|
|
67434
67450
|
}
|
|
67435
67451
|
}
|
|
67436
67452
|
}
|
|
67437
67453
|
if (textArr.length > 1) {
|
|
67438
67454
|
for (var _i2 = 1; _i2 < textArr.length; _i2++) {
|
|
67439
|
-
var paragraNode = new
|
|
67455
|
+
var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_50__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
|
|
67440
67456
|
paragraNode.styleIndex = styleIndex;
|
|
67441
67457
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
|
|
67442
67458
|
if (textArr[_i2] !== '') {
|
|
@@ -67447,17 +67463,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67447
67463
|
if (resultArr1[_k].text != '') {
|
|
67448
67464
|
var _newStyleIndex = styleIndex;
|
|
67449
67465
|
if (resultArr1[_k].mark == 1) {
|
|
67450
|
-
var _textStyle2 = new
|
|
67466
|
+
var _textStyle2 = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_38__/* .TextStyle */ .pn(hoEditorFactoryID);
|
|
67451
67467
|
_textStyle2.copyProperty(hoEditorFactory.docTree.styles[styleIndex], _textStyle2);
|
|
67452
67468
|
_textStyle2.script = 2;
|
|
67453
67469
|
_newStyleIndex = hoEditorFactory.docTree.styleCompare(_textStyle2);
|
|
67454
67470
|
}
|
|
67455
|
-
var _textNode = new
|
|
67471
|
+
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
67472
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode);
|
|
67457
67473
|
}
|
|
67458
67474
|
}
|
|
67459
67475
|
} else {
|
|
67460
|
-
var _textNode2 = new
|
|
67476
|
+
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
67477
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode2);
|
|
67462
67478
|
}
|
|
67463
67479
|
}
|
|
@@ -67474,25 +67490,25 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67474
67490
|
var eIndex = expressArr[_i3].eIndex;
|
|
67475
67491
|
var expressJson = temp.text.substring(sIndex + 16, eIndex);
|
|
67476
67492
|
var expressObj = JSON.parse(expressJson);
|
|
67477
|
-
var expressStyle =
|
|
67493
|
+
var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_49__/* .ExpressStyle */ .e[expressObj.expressStyle];
|
|
67478
67494
|
if (!expressStyle) {
|
|
67479
67495
|
expressStyle = expressObj.expressStyle;
|
|
67480
67496
|
}
|
|
67481
67497
|
var medicalExpressNode = void 0;
|
|
67482
67498
|
if (expressStyle.includes('style')) {
|
|
67483
67499
|
//经期史
|
|
67484
|
-
medicalExpressNode = new
|
|
67500
|
+
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
67501
|
} else {
|
|
67486
67502
|
if (expressStyle === 'PupilMapNode') {
|
|
67487
|
-
medicalExpressNode = new
|
|
67503
|
+
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
67504
|
} else if (expressStyle === 'LightLocationMapNode') {
|
|
67489
|
-
medicalExpressNode = new
|
|
67505
|
+
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
67506
|
} else if (expressStyle === 'FetalHeartMapNode') {
|
|
67491
|
-
medicalExpressNode = new
|
|
67507
|
+
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
67508
|
} else if (expressStyle === 'PermanentTeethMapNode') {
|
|
67493
|
-
medicalExpressNode = new
|
|
67509
|
+
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
67510
|
} else {
|
|
67495
|
-
medicalExpressNode = new
|
|
67511
|
+
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
67512
|
}
|
|
67497
67513
|
}
|
|
67498
67514
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, medicalExpressNode);
|
|
@@ -67517,9 +67533,9 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67517
67533
|
}
|
|
67518
67534
|
} else {
|
|
67519
67535
|
temp._childNodes2.splice(1, temp._childNodes2.length - 2);
|
|
67520
|
-
var markNode = new
|
|
67536
|
+
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
67537
|
//hoEditorFactory.docTree.curStyleIndex,
|
|
67522
|
-
styleIndex,
|
|
67538
|
+
styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent);
|
|
67523
67539
|
temp._childNodes.splice(1, 0, markNode);
|
|
67524
67540
|
temp._childNodes2.splice(1, 0, markNode);
|
|
67525
67541
|
}
|
|
@@ -67542,18 +67558,18 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67542
67558
|
}, {
|
|
67543
67559
|
key: "textInpubNodeRedraw",
|
|
67544
67560
|
value: function textInpubNodeRedraw(hoEditorFactoryID, node) {
|
|
67545
|
-
var hoEditorFactory =
|
|
67561
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_36__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
|
|
67546
67562
|
var startPath = node.StartMarkNode.getNodePath();
|
|
67547
67563
|
var paragraphNode = hoEditorFactory.docTree.getNodeParaNode(node.EndMarkNode);
|
|
67548
67564
|
var endPath = hoEditorFactory.docTree.getNodeLastPath(paragraphNode);
|
|
67549
|
-
var changeEvent = new
|
|
67565
|
+
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
67566
|
changeEvent.oldEndPath = endPath;
|
|
67551
|
-
changeEvent.oldDrawLines = new
|
|
67567
|
+
changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_31__/* .SelectRange */ .E(hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true);
|
|
67552
67568
|
hoEditorFactory.docTree.change(changeEvent);
|
|
67553
67569
|
}
|
|
67554
67570
|
}]);
|
|
67555
67571
|
return TextInputFieldNode;
|
|
67556
|
-
}(
|
|
67572
|
+
}(_BaseCombineNode__WEBPACK_IMPORTED_MODULE_41__/* .BaseCombineNode */ .V);
|
|
67557
67573
|
|
|
67558
67574
|
/***/ }),
|
|
67559
67575
|
|
|
@@ -199585,7 +199601,7 @@ var map = {
|
|
|
199585
199601
|
"./table/TableFormula.vue": 66591,
|
|
199586
199602
|
"./table/TableProperty.vue": 47130,
|
|
199587
199603
|
"./table/TableRowProperty.vue": 56819,
|
|
199588
|
-
"./textDialog/TextDialog.vue":
|
|
199604
|
+
"./textDialog/TextDialog.vue": 26401,
|
|
199589
199605
|
"./textDialog/TextToLabelDialog.vue": 35791,
|
|
199590
199606
|
"./textDialog/VerifyTip.vue": 63210,
|
|
199591
199607
|
"./upload/CanvasImageDialog.vue": 94116,
|
|
@@ -238940,7 +238956,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
238940
238956
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
238941
238957
|
var MarkNode = __webpack_require__(57727);
|
|
238942
238958
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
238943
|
-
/* harmony default export */ var version = ('3.0.
|
|
238959
|
+
/* harmony default export */ var version = ('3.0.85');
|
|
238944
238960
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
238945
238961
|
var PoperTipText = __webpack_require__(36081);
|
|
238946
238962
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|