hoeditor-web 3.0.70 → 3.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/hoeditor.css +1 -1
- package/lib/hoeditor.umd.js +158 -74
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -5141,7 +5141,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
5141
5141
|
|
|
5142
5142
|
/***/ }),
|
|
5143
5143
|
|
|
5144
|
-
/***/
|
|
5144
|
+
/***/ 48556:
|
|
5145
5145
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5146
5146
|
|
|
5147
5147
|
"use strict";
|
|
@@ -5163,7 +5163,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
5163
5163
|
var es_regexp_exec = __webpack_require__(74916);
|
|
5164
5164
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
5165
5165
|
var es_string_replace = __webpack_require__(15306);
|
|
5166
|
-
;// 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/dateDialog/DateDialog.vue?vue&type=template&id=
|
|
5166
|
+
;// 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/dateDialog/DateDialog.vue?vue&type=template&id=e6b87748&
|
|
5167
5167
|
|
|
5168
5168
|
|
|
5169
5169
|
|
|
@@ -5399,7 +5399,20 @@ var render = function render() {
|
|
|
5399
5399
|
},
|
|
5400
5400
|
expression: "readType"
|
|
5401
5401
|
}
|
|
5402
|
-
}, [_vm._v("自动回填")])], 1)])
|
|
5402
|
+
}, [_vm._v("自动回填")])], 1)]), _c('li', {
|
|
5403
|
+
staticClass: "control-item"
|
|
5404
|
+
}, [_c('div', [_c('a-checkbox', {
|
|
5405
|
+
attrs: {
|
|
5406
|
+
"size": "small"
|
|
5407
|
+
},
|
|
5408
|
+
model: {
|
|
5409
|
+
value: _vm.notReplaceElement,
|
|
5410
|
+
callback: function callback($$v) {
|
|
5411
|
+
_vm.notReplaceElement = $$v;
|
|
5412
|
+
},
|
|
5413
|
+
expression: "notReplaceElement"
|
|
5414
|
+
}
|
|
5415
|
+
}, [_vm._v("不启用元素引用")])], 1)])])]), _vm._t("hoTextFieldModal")], 2)], 1), _c('footer', {
|
|
5403
5416
|
staticClass: "ho-modal-footer"
|
|
5404
5417
|
}, [_c('a-button', {
|
|
5405
5418
|
attrs: {
|
|
@@ -5419,7 +5432,7 @@ var render = function render() {
|
|
|
5419
5432
|
};
|
|
5420
5433
|
var staticRenderFns = [];
|
|
5421
5434
|
|
|
5422
|
-
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=
|
|
5435
|
+
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=e6b87748&
|
|
5423
5436
|
|
|
5424
5437
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
5425
5438
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -5482,6 +5495,7 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5482
5495
|
title: '日期时间',
|
|
5483
5496
|
tipText: '',
|
|
5484
5497
|
isAllowDelete: false,
|
|
5498
|
+
notReplaceElement: false,
|
|
5485
5499
|
isReadOnly: false,
|
|
5486
5500
|
controlStyle: 'yyyy/MM/dd',
|
|
5487
5501
|
innerIdentifier: '',
|
|
@@ -5516,6 +5530,7 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5516
5530
|
this.title = updateNode.title;
|
|
5517
5531
|
this.tipText = updateNode.tipText;
|
|
5518
5532
|
this.isAllowDelete = updateNode.isAllowDelete;
|
|
5533
|
+
this.notReplaceElement = updateNode.notReplaceElement == 'undefined' || updateNode.notReplaceElement == undefined ? false : updateNode.notReplaceElement;
|
|
5519
5534
|
this.isReadOnly = updateNode.isReadOnly;
|
|
5520
5535
|
this.controlStyle = updateNode.controlStyle;
|
|
5521
5536
|
this.innerIdentifier = updateNode.innerIdentifier;
|
|
@@ -5598,6 +5613,7 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5598
5613
|
identifierFormat: this.identifierFormat,
|
|
5599
5614
|
readType: this.readType,
|
|
5600
5615
|
labelText: this.name,
|
|
5616
|
+
notReplaceElement: this.notReplaceElement,
|
|
5601
5617
|
customProperty: (0,objectSpread2/* default */.Z)({}, customProperty)
|
|
5602
5618
|
};
|
|
5603
5619
|
params.readType ? params.readType = 1 : params.readType = 0;
|
|
@@ -5618,10 +5634,10 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5618
5634
|
});
|
|
5619
5635
|
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=script&lang=js&
|
|
5620
5636
|
/* harmony default export */ var dateDialog_DateDialogvue_type_script_lang_js_ = (DateDialogvue_type_script_lang_js_);
|
|
5621
|
-
;// 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/dateDialog/DateDialog.vue?vue&type=style&index=0&id=
|
|
5637
|
+
;// 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/dateDialog/DateDialog.vue?vue&type=style&index=0&id=e6b87748&prod&lang=scss&
|
|
5622
5638
|
// extracted by mini-css-extract-plugin
|
|
5623
5639
|
|
|
5624
|
-
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=style&index=0&id=
|
|
5640
|
+
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=style&index=0&id=e6b87748&prod&lang=scss&
|
|
5625
5641
|
|
|
5626
5642
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
5627
5643
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -8964,7 +8980,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
8964
8980
|
|
|
8965
8981
|
/***/ }),
|
|
8966
8982
|
|
|
8967
|
-
/***/
|
|
8983
|
+
/***/ 64248:
|
|
8968
8984
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8969
8985
|
|
|
8970
8986
|
"use strict";
|
|
@@ -8984,7 +9000,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
8984
9000
|
var es_regexp_exec = __webpack_require__(74916);
|
|
8985
9001
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8986
9002
|
var es_string_replace = __webpack_require__(15306);
|
|
8987
|
-
;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9003
|
+
;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=5b6a3b35&
|
|
8988
9004
|
|
|
8989
9005
|
|
|
8990
9006
|
|
|
@@ -9372,7 +9388,7 @@ var render = function render() {
|
|
|
9372
9388
|
};
|
|
9373
9389
|
var staticRenderFns = [];
|
|
9374
9390
|
|
|
9375
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9391
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=5b6a3b35&
|
|
9376
9392
|
|
|
9377
9393
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9378
9394
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -11529,6 +11545,7 @@ var type = __webpack_require__(41542);
|
|
|
11529
11545
|
(_this$poperSelectList = this.poperSelectList) === null || _this$poperSelectList === void 0 ? void 0 : _this$poperSelectList.forEach(function (v, index) {
|
|
11530
11546
|
v.id = String(v.id);
|
|
11531
11547
|
v.selected = false;
|
|
11548
|
+
v.text = v.text.replace("\r", ""); // 处理掉下拉列表文本中的空格
|
|
11532
11549
|
if (v.text.includes("<\u5143\u7D20>")) {
|
|
11533
11550
|
v.showText = v.text.split("<元素>")[0];
|
|
11534
11551
|
} else if (v.text.includes("<\u641C\u7D22>")) {
|
|
@@ -12136,10 +12153,10 @@ var type = __webpack_require__(41542);
|
|
|
12136
12153
|
});
|
|
12137
12154
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
12138
12155
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
12139
|
-
;// 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/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12156
|
+
;// 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/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5b6a3b35&prod&lang=scss&
|
|
12140
12157
|
// extracted by mini-css-extract-plugin
|
|
12141
12158
|
|
|
12142
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12159
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5b6a3b35&prod&lang=scss&
|
|
12143
12160
|
|
|
12144
12161
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
12145
12162
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -13236,7 +13253,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13236
13253
|
|
|
13237
13254
|
/***/ }),
|
|
13238
13255
|
|
|
13239
|
-
/***/
|
|
13256
|
+
/***/ 82965:
|
|
13240
13257
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13241
13258
|
|
|
13242
13259
|
"use strict";
|
|
@@ -13248,7 +13265,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13248
13265
|
"default": function() { return /* binding */ RadioCheckbox; }
|
|
13249
13266
|
});
|
|
13250
13267
|
|
|
13251
|
-
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
13268
|
+
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=6264a4eb&
|
|
13252
13269
|
var render = function render() {
|
|
13253
13270
|
var _vm = this,
|
|
13254
13271
|
_c = _vm._self._c;
|
|
@@ -13323,7 +13340,7 @@ var render = function render() {
|
|
|
13323
13340
|
staticStyle: {
|
|
13324
13341
|
"width": "130px"
|
|
13325
13342
|
}
|
|
13326
|
-
}, [_vm._v("
|
|
13343
|
+
}, [_vm._v("保存时同组必选校验")]), _c('a-checkbox', {
|
|
13327
13344
|
model: {
|
|
13328
13345
|
value: _vm.groupHasOptions,
|
|
13329
13346
|
callback: function callback($$v) {
|
|
@@ -14111,7 +14128,7 @@ var defaultBox = {
|
|
|
14111
14128
|
} else if (this.boxGroup === 1 && this.controlStatus === 'add') {
|
|
14112
14129
|
this.radioCheckBoxGroup.forEach(function (v) {
|
|
14113
14130
|
v.groupName = _this2.groupName;
|
|
14114
|
-
v.controlStyle = _this2.controlType ==
|
|
14131
|
+
v.controlStyle = _this2.controlType == 'RadioBox' ? 'RadioBox' : 'CheckBox';
|
|
14115
14132
|
v.groupHasOptions = _this2.groupHasOptions;
|
|
14116
14133
|
if (v.id === _this2.tableRadio) v.isSelected = true;
|
|
14117
14134
|
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
@@ -14131,10 +14148,10 @@ var defaultBox = {
|
|
|
14131
14148
|
});
|
|
14132
14149
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
14133
14150
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
14134
|
-
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14151
|
+
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=6264a4eb&prod&lang=scss&
|
|
14135
14152
|
// extracted by mini-css-extract-plugin
|
|
14136
14153
|
|
|
14137
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14154
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=6264a4eb&prod&lang=scss&
|
|
14138
14155
|
|
|
14139
14156
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
14140
14157
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20427,7 +20444,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20427
20444
|
|
|
20428
20445
|
/***/ }),
|
|
20429
20446
|
|
|
20430
|
-
/***/
|
|
20447
|
+
/***/ 61532:
|
|
20431
20448
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20432
20449
|
|
|
20433
20450
|
"use strict";
|
|
@@ -20441,7 +20458,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20441
20458
|
|
|
20442
20459
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
20443
20460
|
var es_function_name = __webpack_require__(68309);
|
|
20444
|
-
;// 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=
|
|
20461
|
+
;// 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=5813c73a&
|
|
20445
20462
|
|
|
20446
20463
|
var render = function render() {
|
|
20447
20464
|
var _vm = this,
|
|
@@ -20883,7 +20900,18 @@ var render = function render() {
|
|
|
20883
20900
|
},
|
|
20884
20901
|
expression: "textParam.hideDuringPrint"
|
|
20885
20902
|
}
|
|
20886
|
-
}, [_vm._v("打印时隐藏")])
|
|
20903
|
+
}, [_vm._v("打印时隐藏")]), _c('a-checkbox', {
|
|
20904
|
+
attrs: {
|
|
20905
|
+
"size": "small"
|
|
20906
|
+
},
|
|
20907
|
+
model: {
|
|
20908
|
+
value: _vm.textParam.notReplaceElement,
|
|
20909
|
+
callback: function callback($$v) {
|
|
20910
|
+
_vm.$set(_vm.textParam, "notReplaceElement", $$v);
|
|
20911
|
+
},
|
|
20912
|
+
expression: "textParam.notReplaceElement"
|
|
20913
|
+
}
|
|
20914
|
+
}, [_vm._v("不启用元素引用")])], 1)])]), _c('a-tab-pane', {
|
|
20887
20915
|
key: "third",
|
|
20888
20916
|
attrs: {
|
|
20889
20917
|
"tab": "其他属性"
|
|
@@ -20918,7 +20946,7 @@ var render = function render() {
|
|
|
20918
20946
|
};
|
|
20919
20947
|
var staticRenderFns = [];
|
|
20920
20948
|
|
|
20921
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
20949
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=5813c73a&
|
|
20922
20950
|
|
|
20923
20951
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
20924
20952
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -21053,6 +21081,8 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21053
21081
|
_this.textParam.readTypeBool = updateNode.readType == 1 ? true : false;
|
|
21054
21082
|
} else if (key === 'hideDuringPrint') {
|
|
21055
21083
|
_this.textParam.hideDuringPrint = updateNode.hideDuringPrint == 'undefined' || updateNode.hideDuringPrint == undefined ? false : updateNode.hideDuringPrint;
|
|
21084
|
+
} else if (key === 'notReplaceElement') {
|
|
21085
|
+
_this.textParam.notReplaceElement = updateNode.notReplaceElement == 'undefined' || updateNode.notReplaceElement == undefined ? false : updateNode.notReplaceElement;
|
|
21056
21086
|
} else {
|
|
21057
21087
|
_this.textParam[key] = updateNode[key];
|
|
21058
21088
|
}
|
|
@@ -21169,10 +21199,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21169
21199
|
});
|
|
21170
21200
|
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
|
|
21171
21201
|
/* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
|
|
21172
|
-
;// 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=
|
|
21202
|
+
;// 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=5813c73a&prod&lang=scss&
|
|
21173
21203
|
// extracted by mini-css-extract-plugin
|
|
21174
21204
|
|
|
21175
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
21205
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=5813c73a&prod&lang=scss&
|
|
21176
21206
|
|
|
21177
21207
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21178
21208
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -29257,7 +29287,8 @@ var textParams = {
|
|
|
29257
29287
|
keyValue: '',
|
|
29258
29288
|
value: '',
|
|
29259
29289
|
insCheckSyncUpdateList: false,
|
|
29260
|
-
hideDuringPrint: false
|
|
29290
|
+
hideDuringPrint: false,
|
|
29291
|
+
notReplaceElement: false
|
|
29261
29292
|
// isMultiLinesDisplay: false
|
|
29262
29293
|
};
|
|
29263
29294
|
|
|
@@ -41492,18 +41523,19 @@ var DocController = /*#__PURE__*/function () {
|
|
|
41492
41523
|
node.imgHeight = imgHeight;
|
|
41493
41524
|
node.fingerPrintSrc = fingerPrintSrc ? fingerPrintSrc : "";
|
|
41494
41525
|
node.fingerPosition = fingerPosition ? fingerPosition : 0;
|
|
41495
|
-
node.otherProperties = otherProperties ? otherProperties :
|
|
41526
|
+
node.otherProperties = otherProperties ? otherProperties : node.otherProperties;
|
|
41496
41527
|
node.imgSrc = imgSrc;
|
|
41497
|
-
if (type == 1 && node.signType == 1) {
|
|
41498
|
-
|
|
41499
|
-
|
|
41500
|
-
|
|
41528
|
+
// if (type == 1 && node.signType == 1) {
|
|
41529
|
+
// node.isFront = true;
|
|
41530
|
+
// }
|
|
41531
|
+
//node.connectMode = "/";
|
|
41501
41532
|
hoEditorFactory.docTree.change(changeEvent);
|
|
41502
41533
|
} else {
|
|
41503
41534
|
//第二次更新签名
|
|
41504
41535
|
if (node.connectMode === "换行") {
|
|
41505
41536
|
sPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
41506
|
-
var
|
|
41537
|
+
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(node.drawNodes[0]);
|
|
41538
|
+
var curParaNode = dline.paragraphNode;
|
|
41507
41539
|
var newPara = new _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_29__/* .ParagraphNode */ .C(this._hoEditorFactoryID, node.rootNodes, node.parentNode, curParaNode.paraNo);
|
|
41508
41540
|
hoEditorFactory.undoService.begin();
|
|
41509
41541
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_24__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, sPath, newPara));
|
|
@@ -41514,7 +41546,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
41514
41546
|
sPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
41515
41547
|
}
|
|
41516
41548
|
}
|
|
41517
|
-
var newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntSign */ .Jq.ntSign, 2, type, name, node.signType, node.signFormat, signor, signTime, node.signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, false, node.styleIndex, node.connectMode, type == 1 && node.signType == 1 ? true : node.isFront, node.allowEditSignTime, fingerPrintSrc, fingerPosition, node.attribute, node.connectChar, otherProperties);
|
|
41549
|
+
var newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntSign */ .Jq.ntSign, 2, type, name, node.signType, node.signFormat, signor, signTime, node.signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, false, node.styleIndex, node.connectMode, type == 1 && node.signType == 1 ? true : node.isFront, node.allowEditSignTime, fingerPrintSrc, fingerPosition, node.attribute, node.connectChar, otherProperties ? otherProperties : node.otherProperties);
|
|
41518
41550
|
//插入该表达式节点
|
|
41519
41551
|
hoEditorFactory.undoService.begin();
|
|
41520
41552
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_24__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, sPath, newSignNode));
|
|
@@ -50899,6 +50931,7 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
50899
50931
|
|
|
50900
50932
|
//扩展字段
|
|
50901
50933
|
//自定义属性
|
|
50934
|
+
// 不启用元素引用替换
|
|
50902
50935
|
function ControlNode(hoEditorFactoryID, rootNodes, pNode, nodeType) {
|
|
50903
50936
|
var _this;
|
|
50904
50937
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, ControlNode);
|
|
@@ -50927,6 +50960,7 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
50927
50960
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_dCombineStyle", void 0);
|
|
50928
50961
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_remark", void 0);
|
|
50929
50962
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_customProperty", void 0);
|
|
50963
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_notReplaceElement", false);
|
|
50930
50964
|
_this._readType = -1;
|
|
50931
50965
|
_this._customProperty = new Object();
|
|
50932
50966
|
_this.isSynchro = false;
|
|
@@ -51117,6 +51151,16 @@ var ControlNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
51117
51151
|
this._customProperty = value;
|
|
51118
51152
|
}
|
|
51119
51153
|
}
|
|
51154
|
+
}, {
|
|
51155
|
+
key: "notReplaceElement",
|
|
51156
|
+
get: function get() {
|
|
51157
|
+
return this._notReplaceElement;
|
|
51158
|
+
},
|
|
51159
|
+
set: function set(value) {
|
|
51160
|
+
if (this._notReplaceElement !== value) {
|
|
51161
|
+
this._notReplaceElement = value;
|
|
51162
|
+
}
|
|
51163
|
+
}
|
|
51120
51164
|
}, {
|
|
51121
51165
|
key: "dStyleKey",
|
|
51122
51166
|
get: function get() {
|
|
@@ -51557,6 +51601,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
51557
51601
|
isReadOnly: this.isReadOnly,
|
|
51558
51602
|
readType: this.readType,
|
|
51559
51603
|
customProperty: this.customProperty,
|
|
51604
|
+
notReplaceElement: this.notReplaceElement,
|
|
51560
51605
|
remark: this.remark
|
|
51561
51606
|
};
|
|
51562
51607
|
}
|
|
@@ -51585,6 +51630,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
51585
51630
|
isReadOnly: this.isReadOnly,
|
|
51586
51631
|
readType: this.readType,
|
|
51587
51632
|
customProperty: this.customProperty,
|
|
51633
|
+
notReplaceElement: this.notReplaceElement,
|
|
51588
51634
|
remark: this.remark
|
|
51589
51635
|
};
|
|
51590
51636
|
var paga = {
|
|
@@ -58942,7 +58988,6 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
58942
58988
|
//指纹
|
|
58943
58989
|
//指纹
|
|
58944
58990
|
//样式
|
|
58945
|
-
// 当前签名图片是否已转成jpg 0代表未转换 1代表已转换
|
|
58946
58991
|
//签名属性 0:医生签名 1:患者签名 2:ca签名(职称+签名图片) 3:ca签名(职称+签名+日期)4.ca签名(职称、连接符可选)
|
|
58947
58992
|
//自定义CA签名连接符
|
|
58948
58993
|
//其它属性{"isDisplayTitle":true,"title":"职称","time":"签名日期"}
|
|
@@ -58969,7 +59014,6 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
58969
59014
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_fingerPrintSrc", "");
|
|
58970
59015
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_fingerPosition", FingerPosition.center);
|
|
58971
59016
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_styleIndex", 0);
|
|
58972
|
-
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_PNGToJPG", 0);
|
|
58973
59017
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_attribute", 0);
|
|
58974
59018
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_connectChar", ":");
|
|
58975
59019
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_otherProperties", void 0);
|
|
@@ -59196,16 +59240,6 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59196
59240
|
this._customProperty = value;
|
|
59197
59241
|
}
|
|
59198
59242
|
}
|
|
59199
|
-
}, {
|
|
59200
|
-
key: "PNGToJPG",
|
|
59201
|
-
get: function get() {
|
|
59202
|
-
return this._PNGToJPG;
|
|
59203
|
-
},
|
|
59204
|
-
set: function set(value) {
|
|
59205
|
-
if (this._PNGToJPG !== value) {
|
|
59206
|
-
this._PNGToJPG = value;
|
|
59207
|
-
}
|
|
59208
|
-
}
|
|
59209
59243
|
}, {
|
|
59210
59244
|
key: "isTemplate",
|
|
59211
59245
|
get: function get() {
|
|
@@ -59392,7 +59426,6 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59392
59426
|
imgWidth: clearSign ? 0 : this.imgWidth,
|
|
59393
59427
|
imgHeight: clearSign ? 0 : this.imgHeight,
|
|
59394
59428
|
customProperty: clearSign ? new Object() : this.customProperty,
|
|
59395
|
-
PNGToJPG: this.PNGToJPG,
|
|
59396
59429
|
isTemplate: this.isTemplate,
|
|
59397
59430
|
styleIndex: this.styleIndex,
|
|
59398
59431
|
connectMode: this.connectMode,
|
|
@@ -59434,7 +59467,6 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59434
59467
|
json.fingerPrintSrc = '';
|
|
59435
59468
|
}
|
|
59436
59469
|
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType.ntSign */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, json.isFront, json.allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties);
|
|
59437
|
-
signNode.PNGToJPG = json.PNGToJPG == 1 ? 1 : 0;
|
|
59438
59470
|
// if (json.id != "") {
|
|
59439
59471
|
// signNode.id = json.id;
|
|
59440
59472
|
// }
|
|
@@ -64183,6 +64215,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64183
64215
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_value", '');
|
|
64184
64216
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_insCheckSyncUpdateList", false);
|
|
64185
64217
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_hideDuringPrint", false);
|
|
64218
|
+
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_notReplaceElement", false);
|
|
64186
64219
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isElementLink", false);
|
|
64187
64220
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_childNodes2", void 0);
|
|
64188
64221
|
(0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "StartMarkNode", void 0);
|
|
@@ -64359,6 +64392,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64359
64392
|
//选中项的value值
|
|
64360
64393
|
//插入检查检验同步更新列表项
|
|
64361
64394
|
//打印时隐藏
|
|
64395
|
+
// 不启用元素引用替换
|
|
64362
64396
|
//是否进行元素联动
|
|
64363
64397
|
/**
|
|
64364
64398
|
* Getter alignWithBlocked
|
|
@@ -64717,6 +64751,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64717
64751
|
this._hideDuringPrint = val;
|
|
64718
64752
|
}
|
|
64719
64753
|
}
|
|
64754
|
+
}, {
|
|
64755
|
+
key: "notReplaceElement",
|
|
64756
|
+
get: function get() {
|
|
64757
|
+
return this._notReplaceElement;
|
|
64758
|
+
},
|
|
64759
|
+
set: function set(val) {
|
|
64760
|
+
if (this._notReplaceElement !== val) {
|
|
64761
|
+
this._notReplaceElement = val;
|
|
64762
|
+
}
|
|
64763
|
+
}
|
|
64720
64764
|
}, {
|
|
64721
64765
|
key: "isElementLink",
|
|
64722
64766
|
get: function get() {
|
|
@@ -65626,6 +65670,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65626
65670
|
readType: this.readType,
|
|
65627
65671
|
insCheckSyncUpdateList: this.insCheckSyncUpdateList,
|
|
65628
65672
|
hideDuringPrint: this.hideDuringPrint,
|
|
65673
|
+
notReplaceElement: this.notReplaceElement,
|
|
65629
65674
|
isElementLink: this.isElementLink,
|
|
65630
65675
|
childNodes: childNodes
|
|
65631
65676
|
};
|
|
@@ -65717,6 +65762,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65717
65762
|
json.readType = json.readType ? Number(json.readType) : -1;
|
|
65718
65763
|
json.insCheckSyncUpdateList = !json.insCheckSyncUpdateList ? false : json.insCheckSyncUpdateList;
|
|
65719
65764
|
json.hideDuringPrint = !json.hideDuringPrint ? false : json.hideDuringPrint;
|
|
65765
|
+
json.notReplaceElement = !json.notReplaceElement ? false : json.notReplaceElement;
|
|
65720
65766
|
json.isElementLink = !json.isElementLink ? false : json.isElementLink;
|
|
65721
65767
|
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_40__/* .NodeType.ntField */ .Jq.ntField, json);
|
|
65722
65768
|
// this.insertChild
|
|
@@ -76147,7 +76193,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
76147
76193
|
/*
|
|
76148
76194
|
* @Author: your name
|
|
76149
76195
|
* @Date: 2021-09-01 16:51:49
|
|
76150
|
-
* @LastEditTime: 2023-06-15
|
|
76196
|
+
* @LastEditTime: 2023-06-15 19:32:06
|
|
76151
76197
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
76152
76198
|
* @Description: In User Settings Edit
|
|
76153
76199
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -76193,8 +76239,15 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76193
76239
|
_this._textStyle = cbStyle.getStyleKey();
|
|
76194
76240
|
_this._abi02 = customProperty && customProperty.abi02 ? customProperty.abi02 : "";
|
|
76195
76241
|
_this._title = otherProperties && otherProperties.title ? otherProperties.title : "";
|
|
76196
|
-
|
|
76197
|
-
|
|
76242
|
+
var isDisplayTitle = otherProperties && otherProperties.isDisplayTitle == "true" ? true : false;
|
|
76243
|
+
if (_this.attribute === 4) {
|
|
76244
|
+
if (isDisplayTitle) {
|
|
76245
|
+
if (_this._title == "") {
|
|
76246
|
+
_this._title = _this._abi02;
|
|
76247
|
+
}
|
|
76248
|
+
} else {
|
|
76249
|
+
_this._title = "";
|
|
76250
|
+
}
|
|
76198
76251
|
}
|
|
76199
76252
|
_this._signTime = otherProperties && otherProperties.time ? otherProperties.time : "";
|
|
76200
76253
|
if (_this._title != "") {
|
|
@@ -76699,31 +76752,32 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76699
76752
|
drawNode.dWidth += drawNode._drawTitle.getMeasuredWidth();
|
|
76700
76753
|
}
|
|
76701
76754
|
if (_this3.number === 2) {
|
|
76702
|
-
drawNode.dWidth += _this3._drawText.getMeasuredWidth();
|
|
76755
|
+
drawNode.dWidth += _this3._drawText ? _this3._drawText.getMeasuredWidth() : 0;
|
|
76703
76756
|
}
|
|
76704
76757
|
if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
|
|
76705
76758
|
bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -drawNode.dHeight + 2, width / hitWidth, drawNode.dHeight / hitHeight);
|
|
76706
76759
|
} else if (drawNode.attribute === 3 && drawNode.title !== "") {
|
|
76707
76760
|
bitmap.setTransform(drawNode._drawTitle.getMeasuredWidth(), -drawNode.dHeight - 4, width / hitWidth, (drawNode.dHeight - drawNode._drawDate.getMeasuredHeight() - 2) / hitHeight);
|
|
76708
76761
|
} else if (drawNode.attribute === 4 && drawNode.title !== "") {
|
|
76709
|
-
bitmap.setTransform(drawNode._drawTitle.getMeasuredWidth(), -drawNode.dHeight
|
|
76762
|
+
bitmap.setTransform(drawNode._drawTitle.getMeasuredWidth(), -drawNode.dHeight + 5, width / hitWidth, drawNode.dHeight / hitHeight);
|
|
76710
76763
|
} else {
|
|
76711
76764
|
bitmap.setTransform(0, -drawNode.dHeight, width / hitWidth, drawNode.dHeight / hitHeight);
|
|
76712
76765
|
}
|
|
76713
76766
|
var hitArea = new createjs.Shape();
|
|
76714
76767
|
hitArea.graphics.beginFill('#000').drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
|
|
76715
76768
|
bitmap.hitArea = hitArea;
|
|
76716
|
-
if (
|
|
76717
|
-
|
|
76718
|
-
|
|
76719
|
-
|
|
76720
|
-
|
|
76721
|
-
|
|
76722
|
-
|
|
76723
|
-
|
|
76724
|
-
|
|
76725
|
-
|
|
76726
|
-
}
|
|
76769
|
+
// if (this.attribute !== 4) {
|
|
76770
|
+
// if (this.imgSrc.indexOf('data:image/') != -1 && this.imgSrc.indexOf('data:image/png') == -1) {
|
|
76771
|
+
// const canvas = document.createElement('canvas');
|
|
76772
|
+
// canvas.width = image.naturalWidth;
|
|
76773
|
+
// canvas.height = image.naturalHeight;
|
|
76774
|
+
// const ctx = canvas.getContext('2d') as CanvasRenderingContext2D;
|
|
76775
|
+
// ctx.fillStyle = '#FFFFFF';
|
|
76776
|
+
// ctx.fillRect(0, 0, image.naturalWidth, image.naturalHeight);
|
|
76777
|
+
// ctx.drawImage(image, 0, 0, image.naturalWidth, image.naturalHeight);
|
|
76778
|
+
// (this.node as SignNode).imgSrc = canvas.toDataURL('image/png');
|
|
76779
|
+
// }
|
|
76780
|
+
// }
|
|
76727
76781
|
var dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
|
|
76728
76782
|
if (dArea) {
|
|
76729
76783
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this3.node.getNodePath());
|
|
@@ -196693,7 +196747,7 @@ var map = {
|
|
|
196693
196747
|
"./commentDialog/CommentDialog.vue": 76926,
|
|
196694
196748
|
"./customAttributes/CustomAttributes.vue": 78869,
|
|
196695
196749
|
"./dataSource/DataSource.vue": 9238,
|
|
196696
|
-
"./dateDialog/DateDialog.vue":
|
|
196750
|
+
"./dateDialog/DateDialog.vue": 48556,
|
|
196697
196751
|
"./delimiter/Delimiter.vue": 31861,
|
|
196698
196752
|
"./expressionForm/ExpressionForm.vue": 99219,
|
|
196699
196753
|
"./findReplace/FindReplace.vue": 25918,
|
|
@@ -196704,13 +196758,13 @@ var map = {
|
|
|
196704
196758
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
196705
196759
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
196706
196760
|
"./poperSelect/PoperMark.vue": 71472,
|
|
196707
|
-
"./poperSelect/PoperSelect.vue":
|
|
196761
|
+
"./poperSelect/PoperSelect.vue": 64248,
|
|
196708
196762
|
"./poperTipText/PoperTipText.vue": 36081,
|
|
196709
196763
|
"./popers/Poper.vue": 57937,
|
|
196710
196764
|
"./popers/Title.vue": 89987,
|
|
196711
196765
|
"./printstyle/PrintLineStyle.vue": 41889,
|
|
196712
196766
|
"./qrCode/QrCode.vue": 86349,
|
|
196713
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
196767
|
+
"./radioCheckBox/RadioCheckbox.vue": 82965,
|
|
196714
196768
|
"./selectDialog/SelectDialog.vue": 59075,
|
|
196715
196769
|
"./sign/Sign.vue": 84240,
|
|
196716
196770
|
"./table/TableCellPoper.vue": 61917,
|
|
@@ -196721,7 +196775,7 @@ var map = {
|
|
|
196721
196775
|
"./table/TableFormula.vue": 66591,
|
|
196722
196776
|
"./table/TableProperty.vue": 47130,
|
|
196723
196777
|
"./table/TableRowProperty.vue": 5218,
|
|
196724
|
-
"./textDialog/TextDialog.vue":
|
|
196778
|
+
"./textDialog/TextDialog.vue": 61532,
|
|
196725
196779
|
"./textDialog/TextToLabelDialog.vue": 35791,
|
|
196726
196780
|
"./upload/CanvasImageDialog.vue": 94116,
|
|
196727
196781
|
"./upload/HoFabric.vue": 43008,
|
|
@@ -234826,7 +234880,7 @@ var HoToPage_component = (0,componentNormalizer/* default */.Z)(
|
|
|
234826
234880
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
234827
234881
|
var plugins_util = __webpack_require__(62783);
|
|
234828
234882
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
234829
|
-
var PoperSelect = __webpack_require__(
|
|
234883
|
+
var PoperSelect = __webpack_require__(64248);
|
|
234830
234884
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
234831
234885
|
var PoperMark = __webpack_require__(71472);
|
|
234832
234886
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -236233,7 +236287,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
236233
236287
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
236234
236288
|
var MarkNode = __webpack_require__(57727);
|
|
236235
236289
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
236236
|
-
/* harmony default export */ var version = ('3.0.
|
|
236290
|
+
/* harmony default export */ var version = ('3.0.72');
|
|
236237
236291
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
236238
236292
|
var PoperTipText = __webpack_require__(36081);
|
|
236239
236293
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -248255,6 +248309,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
248255
248309
|
dataVerify: undefined,
|
|
248256
248310
|
innerIdentifier: node.innerIdentifier,
|
|
248257
248311
|
identifierFormat: node.identifierFormat,
|
|
248312
|
+
dataMetaIdentifier: node.dataMetaIdentifier,
|
|
248258
248313
|
customProperty: node.customProperty
|
|
248259
248314
|
};
|
|
248260
248315
|
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
@@ -248384,6 +248439,10 @@ var VueController = /*#__PURE__*/function () {
|
|
|
248384
248439
|
if (node) {
|
|
248385
248440
|
//eleJson = JSON.parse(eleJson);
|
|
248386
248441
|
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re || node instanceof DateTimeNode/* DateTimeNode */.Z || node instanceof DownListNode/* DownListNode */.yF) {
|
|
248442
|
+
if (node.notReplaceElement === true) {
|
|
248443
|
+
console.warn("".concat(id, " ==> ").concat(node.notReplaceElement));
|
|
248444
|
+
return;
|
|
248445
|
+
}
|
|
248387
248446
|
var sPath = hoEditorFactory.docTree.getNodeLastPath(node.previousLeaf());
|
|
248388
248447
|
var newNode = node;
|
|
248389
248448
|
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
@@ -249702,12 +249761,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249702
249761
|
*/
|
|
249703
249762
|
}, {
|
|
249704
249763
|
key: "getAllSignNodeList",
|
|
249705
|
-
value: function getAllSignNodeList() {
|
|
249764
|
+
value: function getAllSignNodeList(bce01) {
|
|
249706
249765
|
var _this5 = this;
|
|
249707
249766
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
249708
249767
|
var signList = [];
|
|
249709
249768
|
var patientSignList = [];
|
|
249710
|
-
var
|
|
249769
|
+
var bce01List = [];
|
|
249711
249770
|
var getAllNodes = function getAllNodes(nodes) {
|
|
249712
249771
|
for (var i = 0; i < nodes.length; i++) {
|
|
249713
249772
|
var node = nodes[i];
|
|
@@ -249741,6 +249800,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249741
249800
|
sign.signed = false;
|
|
249742
249801
|
} else {
|
|
249743
249802
|
sign.signed = true;
|
|
249803
|
+
sign.customProperty = node.customProperty;
|
|
249804
|
+
if (bce01 && node.customProperty && node.customProperty.bce01 === bce01) {
|
|
249805
|
+
bce01List.push((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, sign), {}, {
|
|
249806
|
+
node: node
|
|
249807
|
+
}));
|
|
249808
|
+
}
|
|
249744
249809
|
}
|
|
249745
249810
|
signList.push(sign);
|
|
249746
249811
|
}
|
|
@@ -249772,6 +249837,11 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249772
249837
|
if (child.length > 0) {
|
|
249773
249838
|
_sign.customProperty = child[0].customProperty;
|
|
249774
249839
|
_sign.signed = child[0].imgSrc == '' ? false : true;
|
|
249840
|
+
if (bce01 && child[0].customProperty && child[0].customProperty.bce01 === bce01) {
|
|
249841
|
+
bce01List.push((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _sign), {}, {
|
|
249842
|
+
node: child[0]
|
|
249843
|
+
}));
|
|
249844
|
+
}
|
|
249775
249845
|
}
|
|
249776
249846
|
signList.push(_sign);
|
|
249777
249847
|
}
|
|
@@ -249791,7 +249861,8 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249791
249861
|
getAllNodes(mainNodes);
|
|
249792
249862
|
return {
|
|
249793
249863
|
sign: signList,
|
|
249794
|
-
patientSign: patientSignList
|
|
249864
|
+
patientSign: patientSignList,
|
|
249865
|
+
bce01List: bce01List
|
|
249795
249866
|
};
|
|
249796
249867
|
}
|
|
249797
249868
|
/**
|
|
@@ -250854,10 +250925,8 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250854
250925
|
var iteratesNodes = function iteratesNodes(pnodes) {
|
|
250855
250926
|
for (var i = 0; i < pnodes.length; i++) {
|
|
250856
250927
|
var anode = pnodes[i];
|
|
250857
|
-
if (anode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
250858
|
-
|
|
250859
|
-
nodes.push(anode);
|
|
250860
|
-
}
|
|
250928
|
+
if (anode instanceof TextInputFieldNode/* TextInputFieldNode */.re && anode.name === name) {
|
|
250929
|
+
nodes.push(anode);
|
|
250861
250930
|
}
|
|
250862
250931
|
if (anode instanceof BaseCombineNode/* BaseCombineNode */.V) {
|
|
250863
250932
|
iteratesNodes(anode.childNodes);
|
|
@@ -250876,6 +250945,21 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250876
250945
|
var _hoEditorFactory2 = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
250877
250946
|
var toPath = _hoEditorFactory2.docTree.getNodeLastPath(endNode);
|
|
250878
250947
|
_hoEditorFactory2.drawTree.moveCaretToPath(toPath);
|
|
250948
|
+
_hoEditorFactory2.docTree.curDomRange.setSamePath(toPath);
|
|
250949
|
+
}
|
|
250950
|
+
}
|
|
250951
|
+
}, {
|
|
250952
|
+
key: "updateCustomProperty",
|
|
250953
|
+
value: function updateCustomProperty(objs) {
|
|
250954
|
+
for (var i = 0; i < objs.length; i++) {
|
|
250955
|
+
var obj = objs[i];
|
|
250956
|
+
var elements = this.getNodesById("all", true, obj.id);
|
|
250957
|
+
for (var e = 0; e < elements.length; e++) {
|
|
250958
|
+
var element = elements[e];
|
|
250959
|
+
if (element instanceof TextInputFieldNode/* TextInputFieldNode */.re || element instanceof DateTimeNode/* DateTimeNode */.Z || element instanceof DownListNode/* DownListNode */.yF) {
|
|
250960
|
+
element.customProperty = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, element.customProperty), obj.customProperty);
|
|
250961
|
+
}
|
|
250962
|
+
}
|
|
250879
250963
|
}
|
|
250880
250964
|
}
|
|
250881
250965
|
}]);
|