hoeditor-web 3.0.18 → 3.0.20
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 +505 -330
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -5054,7 +5054,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
5054
5054
|
|
|
5055
5055
|
/***/ }),
|
|
5056
5056
|
|
|
5057
|
-
/***/
|
|
5057
|
+
/***/ 12144:
|
|
5058
5058
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5059
5059
|
|
|
5060
5060
|
"use strict";
|
|
@@ -5076,7 +5076,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
5076
5076
|
var es_regexp_exec = __webpack_require__(74916);
|
|
5077
5077
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
5078
5078
|
var es_string_replace = __webpack_require__(15306);
|
|
5079
|
-
;// 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=
|
|
5079
|
+
;// 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=0568cb08&
|
|
5080
5080
|
|
|
5081
5081
|
|
|
5082
5082
|
|
|
@@ -5332,7 +5332,7 @@ var render = function render() {
|
|
|
5332
5332
|
};
|
|
5333
5333
|
var staticRenderFns = [];
|
|
5334
5334
|
|
|
5335
|
-
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=
|
|
5335
|
+
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=0568cb08&
|
|
5336
5336
|
|
|
5337
5337
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
5338
5338
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -5419,11 +5419,6 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5419
5419
|
}
|
|
5420
5420
|
},
|
|
5421
5421
|
inject: ['getCustomProperty'],
|
|
5422
|
-
computed: {
|
|
5423
|
-
customProperty: function customProperty() {
|
|
5424
|
-
return this.getCustomProperty();
|
|
5425
|
-
}
|
|
5426
|
-
},
|
|
5427
5422
|
created: function created() {
|
|
5428
5423
|
var _this = this;
|
|
5429
5424
|
if (this.controlStatus === 'update') {
|
|
@@ -5501,6 +5496,7 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5501
5496
|
},
|
|
5502
5497
|
sure: function sure() {
|
|
5503
5498
|
var _this2 = this;
|
|
5499
|
+
var customProperty = this.getCustomProperty();
|
|
5504
5500
|
var params = {
|
|
5505
5501
|
id: this.id,
|
|
5506
5502
|
name: this.name ? this.name : this.controlStyle,
|
|
@@ -5515,7 +5511,7 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5515
5511
|
identifierFormat: this.identifierFormat,
|
|
5516
5512
|
readType: this.readType,
|
|
5517
5513
|
labelText: this.name,
|
|
5518
|
-
customProperty: (0,objectSpread2/* default */.Z)({},
|
|
5514
|
+
customProperty: (0,objectSpread2/* default */.Z)({}, customProperty)
|
|
5519
5515
|
};
|
|
5520
5516
|
params.readType ? params.readType = 1 : params.readType = 0;
|
|
5521
5517
|
if (this.controlStatus === 'add') {
|
|
@@ -5535,10 +5531,10 @@ var zh_cn = __webpack_require__(83839);
|
|
|
5535
5531
|
});
|
|
5536
5532
|
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=script&lang=js&
|
|
5537
5533
|
/* harmony default export */ var dateDialog_DateDialogvue_type_script_lang_js_ = (DateDialogvue_type_script_lang_js_);
|
|
5538
|
-
;// 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=
|
|
5534
|
+
;// 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=0568cb08&prod&lang=scss&
|
|
5539
5535
|
// extracted by mini-css-extract-plugin
|
|
5540
5536
|
|
|
5541
|
-
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=style&index=0&id=
|
|
5537
|
+
;// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=style&index=0&id=0568cb08&prod&lang=scss&
|
|
5542
5538
|
|
|
5543
5539
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
5544
5540
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -9024,7 +9020,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
9024
9020
|
|
|
9025
9021
|
/***/ }),
|
|
9026
9022
|
|
|
9027
|
-
/***/
|
|
9023
|
+
/***/ 84823:
|
|
9028
9024
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9029
9025
|
|
|
9030
9026
|
"use strict";
|
|
@@ -9044,7 +9040,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
9044
9040
|
var es_regexp_exec = __webpack_require__(74916);
|
|
9045
9041
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
9046
9042
|
var es_string_replace = __webpack_require__(15306);
|
|
9047
|
-
;// 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=
|
|
9043
|
+
;// 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=03e5d602&
|
|
9048
9044
|
|
|
9049
9045
|
|
|
9050
9046
|
|
|
@@ -9077,7 +9073,7 @@ var render = function render() {
|
|
|
9077
9073
|
"d": "M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636",
|
|
9078
9074
|
"fill": "#2175FF"
|
|
9079
9075
|
}
|
|
9080
|
-
})])])])]), _vm.isCanSearch && !_vm.mutexSelect ? _c('div', {
|
|
9076
|
+
})])])])]), _vm.isCanSearch && !_vm.mutexSelect && !_vm.insCheckSyncUpdateList ? _c('div', {
|
|
9081
9077
|
staticStyle: {
|
|
9082
9078
|
"padding": "5px"
|
|
9083
9079
|
}
|
|
@@ -9106,7 +9102,7 @@ var render = function render() {
|
|
|
9106
9102
|
staticStyle: {
|
|
9107
9103
|
"text-align": "center"
|
|
9108
9104
|
}
|
|
9109
|
-
}, [_vm._v("无选项")])]) : _vm._e(), _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0 ? _c('div', {
|
|
9105
|
+
}, [_vm._v("无选项")])]) : _vm._e(), !_vm.insCheckSyncUpdateList && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0 ? _c('div', {
|
|
9110
9106
|
staticClass: "ant-checkbox-group"
|
|
9111
9107
|
}, [_c('RecycleScroller', {
|
|
9112
9108
|
staticClass: "scroller",
|
|
@@ -9135,7 +9131,7 @@ var render = function render() {
|
|
|
9135
9131
|
}, [_vm._v(_vm._s(item.text && item.text.indexOf("<\u5143\u7D20>") !== -1 ? item.text.split("<\u5143\u7D20>")[0] : item.text.split("<\u641C\u7D22>")[0]))])]) : _vm._e()];
|
|
9136
9132
|
}
|
|
9137
9133
|
}], null, false, 1521239773)
|
|
9138
|
-
})], 1) : _vm._e(), _vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0 ? [_c('a-checkbox-group', {
|
|
9134
|
+
})], 1) : _vm._e(), !_vm.insCheckSyncUpdateList && _vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0 ? [_c('a-checkbox-group', {
|
|
9139
9135
|
on: {
|
|
9140
9136
|
"change": _vm.mutexSelectItemsChange
|
|
9141
9137
|
},
|
|
@@ -9159,7 +9155,7 @@ var render = function render() {
|
|
|
9159
9155
|
}, [_c('span', {
|
|
9160
9156
|
staticClass: "ant-checkbox-texts"
|
|
9161
9157
|
}, [_vm._v(_vm._s(item.text && item.text.indexOf("<\u5143\u7D20>") !== -1 ? item.text.split("<\u5143\u7D20>")[0] : item.text.split("<\u641C\u7D22>")[0]))])])];
|
|
9162
|
-
})], 2)] : _vm._e(), !_vm.isAllowMultiSelect && _vm.currentList.length > 0 ? _c('a-radio-group', {
|
|
9158
|
+
})], 2)] : _vm._e(), !_vm.insCheckSyncUpdateList && !_vm.isAllowMultiSelect && _vm.currentList.length > 0 ? _c('a-radio-group', {
|
|
9163
9159
|
model: {
|
|
9164
9160
|
value: _vm.selectedId,
|
|
9165
9161
|
callback: function callback($$v) {
|
|
@@ -9182,7 +9178,7 @@ var render = function render() {
|
|
|
9182
9178
|
}
|
|
9183
9179
|
}
|
|
9184
9180
|
}, [_vm._v(" " + _vm._s(item.text && item.text.indexOf("<\u5143\u7D20>") !== -1 ? item.text.split("<\u5143\u7D20>")[0] : item.text.split("<\u641C\u7D22>")[0]) + " ")]);
|
|
9185
|
-
}), 1) : _vm._e(), _vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch ? _c('transition-group', {
|
|
9181
|
+
}), 1) : _vm._e(), _vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.insCheckSyncUpdateList && !_vm.mutexSelect && _vm.isCanSearch ? _c('transition-group', {
|
|
9186
9182
|
staticClass: "list",
|
|
9187
9183
|
attrs: {
|
|
9188
9184
|
"name": "drag",
|
|
@@ -9225,6 +9221,30 @@ var render = function render() {
|
|
|
9225
9221
|
}
|
|
9226
9222
|
}
|
|
9227
9223
|
})], 1)];
|
|
9224
|
+
})], 2) : _vm._e(), _vm.insCheckSyncUpdateList && _vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect ? _c('transition-group', {
|
|
9225
|
+
staticClass: "list",
|
|
9226
|
+
attrs: {
|
|
9227
|
+
"name": "drag",
|
|
9228
|
+
"tag": "ul"
|
|
9229
|
+
}
|
|
9230
|
+
}, [_vm._l(_vm.selectedList, function (item, index) {
|
|
9231
|
+
return [_c('li', {
|
|
9232
|
+
key: item.id + Math.random(),
|
|
9233
|
+
staticClass: "check-drag-item"
|
|
9234
|
+
}, [_c('p', {
|
|
9235
|
+
domProps: {
|
|
9236
|
+
"innerHTML": _vm._s(item.text)
|
|
9237
|
+
}
|
|
9238
|
+
}), _c('a-icon', {
|
|
9239
|
+
attrs: {
|
|
9240
|
+
"type": "delete"
|
|
9241
|
+
},
|
|
9242
|
+
on: {
|
|
9243
|
+
"click": function click($event) {
|
|
9244
|
+
return _vm.deleteItems(item, index);
|
|
9245
|
+
}
|
|
9246
|
+
}
|
|
9247
|
+
})], 1)];
|
|
9228
9248
|
})], 2) : _vm._e()], 2)]) : _vm._e(), _vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect ? _c('footer', [_c('a-button', {
|
|
9229
9249
|
staticStyle: {
|
|
9230
9250
|
"padding": "5px 13px"
|
|
@@ -9401,7 +9421,7 @@ var render = function render() {
|
|
|
9401
9421
|
};
|
|
9402
9422
|
var staticRenderFns = [];
|
|
9403
9423
|
|
|
9404
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9424
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=03e5d602&
|
|
9405
9425
|
|
|
9406
9426
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9407
9427
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -9427,6 +9447,8 @@ var es_array_splice = __webpack_require__(40561);
|
|
|
9427
9447
|
var es_array_map = __webpack_require__(21249);
|
|
9428
9448
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
9429
9449
|
var es_object_keys = __webpack_require__(47941);
|
|
9450
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js
|
|
9451
|
+
var es_array_join = __webpack_require__(69600);
|
|
9430
9452
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
9431
9453
|
var es_number_constructor = __webpack_require__(9653);
|
|
9432
9454
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
@@ -11408,6 +11430,7 @@ var type = __webpack_require__(41542);
|
|
|
11408
11430
|
|
|
11409
11431
|
|
|
11410
11432
|
|
|
11433
|
+
|
|
11411
11434
|
|
|
11412
11435
|
|
|
11413
11436
|
/* harmony default export */ var PoperSelectvue_type_script_lang_js_ = ({
|
|
@@ -11440,7 +11463,13 @@ var type = __webpack_require__(41542);
|
|
|
11440
11463
|
poppernIstance: null,
|
|
11441
11464
|
textParam: Object.assign({}, controlParams/* textParams */.EM),
|
|
11442
11465
|
isCanSearch: false,
|
|
11466
|
+
// 搜索
|
|
11443
11467
|
mutexSelect: false,
|
|
11468
|
+
// 互斥参数
|
|
11469
|
+
isAllowMultiSelect: false,
|
|
11470
|
+
// 多选参数
|
|
11471
|
+
insCheckSyncUpdateList: false,
|
|
11472
|
+
// 检验检查参数
|
|
11444
11473
|
input: '',
|
|
11445
11474
|
currentListNameText: '',
|
|
11446
11475
|
currentList: [],
|
|
@@ -11469,16 +11498,16 @@ var type = __webpack_require__(41542);
|
|
|
11469
11498
|
};
|
|
11470
11499
|
},
|
|
11471
11500
|
computed: {
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
},
|
|
11501
|
+
// isAllowMultiSelect() {
|
|
11502
|
+
// const currentPoperNode = this.getCurrentPoperNode();
|
|
11503
|
+
// if (currentPoperNode instanceof DownListNode) {
|
|
11504
|
+
// return currentPoperNode.allowMultiSelect;
|
|
11505
|
+
// } else if (currentPoperNode instanceof TextInputFieldNode) {
|
|
11506
|
+
// return currentPoperNode.downListProperty.allowMultiSelected;
|
|
11507
|
+
// } else {
|
|
11508
|
+
// return false;
|
|
11509
|
+
// }
|
|
11510
|
+
// },
|
|
11482
11511
|
datePoperStyle: function datePoperStyle() {
|
|
11483
11512
|
if (this.dateTimeStyle.includes('yyyy') || this.dateTimeStyle.includes('MM') || this.dateTimeStyle.includes('dd')) {
|
|
11484
11513
|
return {
|
|
@@ -11532,9 +11561,13 @@ var type = __webpack_require__(41542);
|
|
|
11532
11561
|
if (currentPoperNode instanceof DownListNode/* DownListNode */.yF) {
|
|
11533
11562
|
selectedString = currentPoperNode.keyValue ? currentPoperNode.keyValue.split(',') : [];
|
|
11534
11563
|
this.mutexSelect = currentPoperNode.mutexSelect;
|
|
11564
|
+
this.isAllowMultiSelect = currentPoperNode.isAllowMultiSelect;
|
|
11535
11565
|
} else if (currentPoperNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
11536
11566
|
selectedString = currentPoperNode.keyValue ? currentPoperNode.keyValue.split(',') : [];
|
|
11537
11567
|
this.mutexSelect = currentPoperNode.downListProperty.mutexSelect ? true : false;
|
|
11568
|
+
this.isAllowMultiSelect = currentPoperNode.downListProperty.allowMultiSelected;
|
|
11569
|
+
;
|
|
11570
|
+
this.insCheckSyncUpdateList = currentPoperNode.insCheckSyncUpdateList;
|
|
11538
11571
|
}
|
|
11539
11572
|
(_this$poperSelectList = this.poperSelectList) === null || _this$poperSelectList === void 0 ? void 0 : _this$poperSelectList.forEach(function (v, index) {
|
|
11540
11573
|
v.id = String(v.id);
|
|
@@ -11864,6 +11897,7 @@ var type = __webpack_require__(41542);
|
|
|
11864
11897
|
var text = '';
|
|
11865
11898
|
var keyValue = '';
|
|
11866
11899
|
var value = '';
|
|
11900
|
+
var textArr = [];
|
|
11867
11901
|
var currentPoperNode = this.getCurrentPoperNode();
|
|
11868
11902
|
var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
|
|
11869
11903
|
return v.selected;
|
|
@@ -11874,22 +11908,27 @@ var type = __webpack_require__(41542);
|
|
|
11874
11908
|
text = currentPoperNode.name ? currentPoperNode.name : ' ';
|
|
11875
11909
|
} else if (currentPoperNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
11876
11910
|
text = currentPoperNode.name ? currentPoperNode.name : ' ';
|
|
11911
|
+
textArr.push(text);
|
|
11877
11912
|
}
|
|
11878
11913
|
} else {
|
|
11879
11914
|
selected.forEach(function (v, index) {
|
|
11880
11915
|
if (index < selected.length - 1) {
|
|
11881
11916
|
if (currentPoperNode.customProperty && currentPoperNode.customProperty.hasThirdData && v.value) {
|
|
11882
11917
|
text += v.value + ',';
|
|
11918
|
+
textArr.push(v.value);
|
|
11883
11919
|
} else {
|
|
11884
11920
|
text += v.text + ',';
|
|
11921
|
+
textArr.push(v.text);
|
|
11885
11922
|
}
|
|
11886
11923
|
keyValue += v.id + ',';
|
|
11887
11924
|
String(v.value) && (value += v.value + ',');
|
|
11888
11925
|
} else {
|
|
11889
11926
|
if (currentPoperNode.customProperty && currentPoperNode.customProperty.hasThirdData && v.value) {
|
|
11890
11927
|
text += v.value;
|
|
11928
|
+
textArr.push(v.value);
|
|
11891
11929
|
} else {
|
|
11892
11930
|
text += v.text;
|
|
11931
|
+
textArr.push(v.text);
|
|
11893
11932
|
}
|
|
11894
11933
|
keyValue += v.id;
|
|
11895
11934
|
String(v.value) && (value += v.value);
|
|
@@ -11925,8 +11964,14 @@ var type = __webpack_require__(41542);
|
|
|
11925
11964
|
this.textParam.text = text;
|
|
11926
11965
|
this.textParam.keyValue = keyValue;
|
|
11927
11966
|
this.textParam.value = value;
|
|
11928
|
-
if (this.textParam.downListProperty.allowMultiSelected) {
|
|
11967
|
+
if (this.textParam.downListProperty.allowMultiSelected && !this.textParam.insCheckSyncUpdateList) {
|
|
11929
11968
|
hoEditorFactory.vueController.updateTextInputField(this.textParam);
|
|
11969
|
+
} else if (this.textParam.downListProperty.allowMultiSelected && this.textParam.insCheckSyncUpdateList) {
|
|
11970
|
+
// hoEditorFactory.vueController.updateTextInputField(this.textParam);
|
|
11971
|
+
// console.log(text, value, keyValue, this.selectedList);
|
|
11972
|
+
// hoEditorFactory.vueController.updateTextInputField(this.textParam);
|
|
11973
|
+
var checkText = "<span>" + textArr.join("") + "</span>";
|
|
11974
|
+
hoEditorFactory.vueController.insertHtmlText(checkText, checkText, keyValue, this.selectedList, true);
|
|
11930
11975
|
} else {
|
|
11931
11976
|
var customProperty = this.getCustomProperty ? this.getCustomProperty() : {};
|
|
11932
11977
|
hoEditorFactory.elementController.updateTextInputFieldValue(currentPoperNode, text, customProperty, keyValue, value);
|
|
@@ -11981,10 +12026,10 @@ var type = __webpack_require__(41542);
|
|
|
11981
12026
|
});
|
|
11982
12027
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
11983
12028
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
11984
|
-
;// 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=
|
|
12029
|
+
;// 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=03e5d602&prod&lang=scss&
|
|
11985
12030
|
// extracted by mini-css-extract-plugin
|
|
11986
12031
|
|
|
11987
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12032
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=03e5d602&prod&lang=scss&
|
|
11988
12033
|
|
|
11989
12034
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
11990
12035
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -18041,7 +18086,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
18041
18086
|
// EXTERNAL MODULE: ./src/components/controls/table/getCellNode.ts
|
|
18042
18087
|
var getCellNode = __webpack_require__(5986);
|
|
18043
18088
|
// EXTERNAL MODULE: ./src/components/controls/table/TableFormTree.vue + 6 modules
|
|
18044
|
-
var TableFormTree = __webpack_require__(
|
|
18089
|
+
var TableFormTree = __webpack_require__(39703);
|
|
18045
18090
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableForm.vue?vue&type=script&lang=js&
|
|
18046
18091
|
|
|
18047
18092
|
|
|
@@ -18287,7 +18332,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
18287
18332
|
|
|
18288
18333
|
/***/ }),
|
|
18289
18334
|
|
|
18290
|
-
/***/
|
|
18335
|
+
/***/ 39703:
|
|
18291
18336
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18292
18337
|
|
|
18293
18338
|
"use strict";
|
|
@@ -18309,7 +18354,7 @@ var es_regexp_exec = __webpack_require__(74916);
|
|
|
18309
18354
|
var es_string_replace = __webpack_require__(15306);
|
|
18310
18355
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
18311
18356
|
var es_number_constructor = __webpack_require__(9653);
|
|
18312
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormTree.vue?vue&type=template&id=
|
|
18357
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormTree.vue?vue&type=template&id=39753c60&
|
|
18313
18358
|
|
|
18314
18359
|
|
|
18315
18360
|
|
|
@@ -18360,6 +18405,7 @@ var render = function render() {
|
|
|
18360
18405
|
}
|
|
18361
18406
|
}, _vm._l(form.cell.listItems, function (selectItem) {
|
|
18362
18407
|
return _c('a-select-option', {
|
|
18408
|
+
key: selectItem.text,
|
|
18363
18409
|
attrs: {
|
|
18364
18410
|
"value": selectItem.text
|
|
18365
18411
|
}
|
|
@@ -18455,7 +18501,7 @@ var render = function render() {
|
|
|
18455
18501
|
};
|
|
18456
18502
|
var staticRenderFns = [];
|
|
18457
18503
|
|
|
18458
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormTree.vue?vue&type=template&id=
|
|
18504
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormTree.vue?vue&type=template&id=39753c60&
|
|
18459
18505
|
|
|
18460
18506
|
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js + 2 modules
|
|
18461
18507
|
var zh_CN = __webpack_require__(43372);
|
|
@@ -18486,10 +18532,10 @@ var zh_cn = __webpack_require__(83839);
|
|
|
18486
18532
|
});
|
|
18487
18533
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormTree.vue?vue&type=script&lang=js&
|
|
18488
18534
|
/* harmony default export */ var table_TableFormTreevue_type_script_lang_js_ = (TableFormTreevue_type_script_lang_js_);
|
|
18489
|
-
;// 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/table/TableFormTree.vue?vue&type=style&index=0&id=
|
|
18535
|
+
;// 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/table/TableFormTree.vue?vue&type=style&index=0&id=39753c60&prod&lang=scss&
|
|
18490
18536
|
// extracted by mini-css-extract-plugin
|
|
18491
18537
|
|
|
18492
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormTree.vue?vue&type=style&index=0&id=
|
|
18538
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormTree.vue?vue&type=style&index=0&id=39753c60&prod&lang=scss&
|
|
18493
18539
|
|
|
18494
18540
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
18495
18541
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -19966,7 +20012,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
19966
20012
|
|
|
19967
20013
|
/***/ }),
|
|
19968
20014
|
|
|
19969
|
-
/***/
|
|
20015
|
+
/***/ 71825:
|
|
19970
20016
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19971
20017
|
|
|
19972
20018
|
"use strict";
|
|
@@ -19980,7 +20026,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19980
20026
|
|
|
19981
20027
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
19982
20028
|
var es_function_name = __webpack_require__(68309);
|
|
19983
|
-
;// 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=
|
|
20029
|
+
;// 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=e1b099d8&
|
|
19984
20030
|
|
|
19985
20031
|
var render = function render() {
|
|
19986
20032
|
var _vm = this,
|
|
@@ -20374,7 +20420,20 @@ var render = function render() {
|
|
|
20374
20420
|
},
|
|
20375
20421
|
expression: "textParam.readType"
|
|
20376
20422
|
}
|
|
20377
|
-
}, [_vm._v("自动回填")])], 1)
|
|
20423
|
+
}, [_vm._v("自动回填")])], 1), _c('li', {
|
|
20424
|
+
staticClass: "control-item"
|
|
20425
|
+
}, [_c('a-checkbox', {
|
|
20426
|
+
attrs: {
|
|
20427
|
+
"size": "small"
|
|
20428
|
+
},
|
|
20429
|
+
model: {
|
|
20430
|
+
value: _vm.textParam.insCheckSyncUpdateList,
|
|
20431
|
+
callback: function callback($$v) {
|
|
20432
|
+
_vm.$set(_vm.textParam, "insCheckSyncUpdateList", $$v);
|
|
20433
|
+
},
|
|
20434
|
+
expression: "textParam.insCheckSyncUpdateList"
|
|
20435
|
+
}
|
|
20436
|
+
}, [_vm._v("插入检查检验同步更新列表项")])], 1)])]), _c('a-tab-pane', {
|
|
20378
20437
|
key: "third",
|
|
20379
20438
|
attrs: {
|
|
20380
20439
|
"tab": "其他属性"
|
|
@@ -20409,7 +20468,7 @@ var render = function render() {
|
|
|
20409
20468
|
};
|
|
20410
20469
|
var staticRenderFns = [];
|
|
20411
20470
|
|
|
20412
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
20471
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=e1b099d8&
|
|
20413
20472
|
|
|
20414
20473
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
20415
20474
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -20637,10 +20696,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
20637
20696
|
});
|
|
20638
20697
|
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
|
|
20639
20698
|
/* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
|
|
20640
|
-
;// 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=
|
|
20699
|
+
;// 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=e1b099d8&prod&lang=scss&
|
|
20641
20700
|
// extracted by mini-css-extract-plugin
|
|
20642
20701
|
|
|
20643
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
20702
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=e1b099d8&prod&lang=scss&
|
|
20644
20703
|
|
|
20645
20704
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20646
20705
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20668,7 +20727,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20668
20727
|
|
|
20669
20728
|
/***/ }),
|
|
20670
20729
|
|
|
20671
|
-
/***/
|
|
20730
|
+
/***/ 35791:
|
|
20672
20731
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20673
20732
|
|
|
20674
20733
|
"use strict";
|
|
@@ -20682,7 +20741,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20682
20741
|
|
|
20683
20742
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
20684
20743
|
var es_function_name = __webpack_require__(68309);
|
|
20685
|
-
;// 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/TextToLabelDialog.vue?vue&type=template&id=
|
|
20744
|
+
;// 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/TextToLabelDialog.vue?vue&type=template&id=56e2ce4a&
|
|
20686
20745
|
|
|
20687
20746
|
var render = function render() {
|
|
20688
20747
|
var _vm = this,
|
|
@@ -20728,6 +20787,7 @@ var render = function render() {
|
|
|
20728
20787
|
}
|
|
20729
20788
|
}, _vm._l(_vm.nodeList, function (node, index) {
|
|
20730
20789
|
return _c('a-select-option', {
|
|
20790
|
+
key: node.name + '___' + node.id + '___' + index,
|
|
20731
20791
|
attrs: {
|
|
20732
20792
|
"value": node.name + '___' + node.id + '___' + index
|
|
20733
20793
|
}
|
|
@@ -20764,7 +20824,7 @@ var render = function render() {
|
|
|
20764
20824
|
};
|
|
20765
20825
|
var staticRenderFns = [];
|
|
20766
20826
|
|
|
20767
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextToLabelDialog.vue?vue&type=template&id=
|
|
20827
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextToLabelDialog.vue?vue&type=template&id=56e2ce4a&
|
|
20768
20828
|
|
|
20769
20829
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
20770
20830
|
var es_object_to_string = __webpack_require__(41539);
|
|
@@ -20919,10 +20979,10 @@ var LabelNode = __webpack_require__(95089);
|
|
|
20919
20979
|
});
|
|
20920
20980
|
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextToLabelDialog.vue?vue&type=script&lang=js&
|
|
20921
20981
|
/* harmony default export */ var textDialog_TextToLabelDialogvue_type_script_lang_js_ = (TextToLabelDialogvue_type_script_lang_js_);
|
|
20922
|
-
;// 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/TextToLabelDialog.vue?vue&type=style&index=0&id=
|
|
20982
|
+
;// 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/TextToLabelDialog.vue?vue&type=style&index=0&id=56e2ce4a&prod&lang=scss&
|
|
20923
20983
|
// extracted by mini-css-extract-plugin
|
|
20924
20984
|
|
|
20925
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextToLabelDialog.vue?vue&type=style&index=0&id=
|
|
20985
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextToLabelDialog.vue?vue&type=style&index=0&id=56e2ce4a&prod&lang=scss&
|
|
20926
20986
|
|
|
20927
20987
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20928
20988
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -34857,12 +34917,22 @@ var Print = /*#__PURE__*/function () {
|
|
|
34857
34917
|
(0,createClass/* default */.Z)(Print, null, [{
|
|
34858
34918
|
key: "openDataUriInWindow",
|
|
34859
34919
|
value: function openDataUriInWindow(PDF, fileName, width) {
|
|
34920
|
+
var _window$top, _window$top$chrome;
|
|
34860
34921
|
if (navigator && navigator.userAgent.toLowerCase().indexOf('electron') !== -1) {
|
|
34861
34922
|
var htmlForNewWindow = '<html>' + '<title>' + fileName + '</title>' + '<style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style>' + '<body>' + '<iframe src="' + PDF.output('bloburl') + '"></iframe>' + '</body></html>';
|
|
34862
34923
|
var nW = window.open('', 'modal', 'width=' + (width + 400) + ',height=800');
|
|
34863
34924
|
if (nW) {
|
|
34864
34925
|
nW.document.write(htmlForNewWindow);
|
|
34865
34926
|
}
|
|
34927
|
+
} else if ((_window$top = window.top) !== null && _window$top !== void 0 && (_window$top$chrome = _window$top.chrome) !== null && _window$top$chrome !== void 0 && _window$top$chrome.webview) {
|
|
34928
|
+
var _window$top2, _window$top2$chrome;
|
|
34929
|
+
(_window$top2 = window.top) === null || _window$top2 === void 0 ? void 0 : (_window$top2$chrome = _window$top2.chrome) === null || _window$top2$chrome === void 0 ? void 0 : _window$top2$chrome.webview.postMessage({
|
|
34930
|
+
exec: 'slientprint',
|
|
34931
|
+
data: {
|
|
34932
|
+
printername: '',
|
|
34933
|
+
pdf: PDF.output('datauristring')
|
|
34934
|
+
}
|
|
34935
|
+
});
|
|
34866
34936
|
} else {
|
|
34867
34937
|
if (document.querySelector('#Ho_Editor_Print_Iframe')) {
|
|
34868
34938
|
document.body.removeChild(document.querySelector('#Ho_Editor_Print_Iframe'));
|
|
@@ -35014,7 +35084,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
35014
35084
|
}
|
|
35015
35085
|
if (mainHeight - positionY <= 10) {
|
|
35016
35086
|
// 判断续打时当前页已打完 下一份病历另起一页
|
|
35017
|
-
console.warn(
|
|
35087
|
+
console.warn('当前页已打印,下一份病历另起一页');
|
|
35018
35088
|
startPageNumOver = true;
|
|
35019
35089
|
}
|
|
35020
35090
|
dShape = new createjs.Shape();
|
|
@@ -36429,38 +36499,38 @@ var SubDocManger = /*#__PURE__*/function () {
|
|
|
36429
36499
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70280);
|
|
36430
36500
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(66298);
|
|
36431
36501
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(78255);
|
|
36432
|
-
/* harmony import */ var
|
|
36433
|
-
/* harmony import */ var
|
|
36434
|
-
/* harmony import */ var
|
|
36435
|
-
/* harmony import */ var
|
|
36436
|
-
/* harmony import */ var
|
|
36437
|
-
/* harmony import */ var
|
|
36438
|
-
/* harmony import */ var
|
|
36439
|
-
/* harmony import */ var
|
|
36440
|
-
/* harmony import */ var
|
|
36441
|
-
/* harmony import */ var
|
|
36442
|
-
/* harmony import */ var
|
|
36443
|
-
/* harmony import */ var
|
|
36444
|
-
/* harmony import */ var
|
|
36445
|
-
/* harmony import */ var
|
|
36446
|
-
/* harmony import */ var
|
|
36447
|
-
/* harmony import */ var
|
|
36448
|
-
/* harmony import */ var
|
|
36449
|
-
/* harmony import */ var
|
|
36450
|
-
/* harmony import */ var
|
|
36451
|
-
/* harmony import */ var
|
|
36452
|
-
/* harmony import */ var
|
|
36453
|
-
/* harmony import */ var
|
|
36454
|
-
/* harmony import */ var
|
|
36455
|
-
/* harmony import */ var
|
|
36456
|
-
/* harmony import */ var
|
|
36457
|
-
/* harmony import */ var
|
|
36458
|
-
/* harmony import */ var
|
|
36459
|
-
/* harmony import */ var
|
|
36460
|
-
/* harmony import */ var
|
|
36461
|
-
/* harmony import */ var
|
|
36462
|
-
/* harmony import */ var
|
|
36463
|
-
/* harmony import */ var
|
|
36502
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(57658);
|
|
36503
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
36504
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41539);
|
|
36505
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
36506
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(88674);
|
|
36507
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
36508
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54747);
|
|
36509
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
36510
|
+
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(69600);
|
|
36511
|
+
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
36512
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(68309);
|
|
36513
|
+
/* 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__);
|
|
36514
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(21703);
|
|
36515
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
36516
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(92222);
|
|
36517
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
36518
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(9653);
|
|
36519
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
36520
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(40561);
|
|
36521
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
36522
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(39714);
|
|
36523
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
36524
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(69826);
|
|
36525
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
36526
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(66992);
|
|
36527
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
36528
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(33948);
|
|
36529
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
36530
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(26699);
|
|
36531
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
36532
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(32023);
|
|
36533
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_21__);
|
|
36464
36534
|
/* harmony import */ var _events_NodeChangingEvent__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(10574);
|
|
36465
36535
|
/* harmony import */ var _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(62358);
|
|
36466
36536
|
/* harmony import */ var _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(64465);
|
|
@@ -36691,11 +36761,12 @@ var DocController = /*#__PURE__*/function () {
|
|
|
36691
36761
|
}, {
|
|
36692
36762
|
key: "insertNodeByPath",
|
|
36693
36763
|
value: function insertNodeByPath(path, node, isResetFieldText) {
|
|
36694
|
-
var _parentNode$downListP;
|
|
36695
36764
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
36696
36765
|
var curRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
36697
36766
|
var parentNode = node.parentNode;
|
|
36698
|
-
if (node instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R && parentNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && parentNode.inputFieldType == 1 && isResetFieldText
|
|
36767
|
+
if (node instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R && parentNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && parentNode.inputFieldType == 1 && isResetFieldText
|
|
36768
|
+
//&& !parentNode.downListProperty.listItems?.includes("<元素>")
|
|
36769
|
+
) {
|
|
36699
36770
|
var firstPath = parentNode.StartMarkNode.getNodePath();
|
|
36700
36771
|
var lastPath = parentNode.EndMarkNode.getNodePath();
|
|
36701
36772
|
var ePath = hoEditorFactory.docTree.getNodeLastPath(parentNode.EndMarkNode.previousLeaf());
|
|
@@ -48290,14 +48361,14 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
48290
48361
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(78255);
|
|
48291
48362
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(57658);
|
|
48292
48363
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
48293
|
-
/* harmony import */ var
|
|
48294
|
-
/* harmony import */ var
|
|
48295
|
-
/* harmony import */ var
|
|
48296
|
-
/* harmony import */ var
|
|
48297
|
-
/* harmony import */ var
|
|
48298
|
-
/* harmony import */ var
|
|
48299
|
-
/* harmony import */ var
|
|
48300
|
-
/* harmony import */ var
|
|
48364
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(9653);
|
|
48365
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
48366
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41539);
|
|
48367
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
48368
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(39714);
|
|
48369
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
48370
|
+
/* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(38862);
|
|
48371
|
+
/* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
48301
48372
|
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(47941);
|
|
48302
48373
|
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
48303
48374
|
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(40561);
|
|
@@ -48757,7 +48828,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
48757
48828
|
}
|
|
48758
48829
|
});
|
|
48759
48830
|
}
|
|
48760
|
-
|
|
48831
|
+
//const cellJson = JSON.parse(JSON.stringify(this.cellProperty));
|
|
48761
48832
|
// cellJson._align = VAlign[parseInt(cellJson._align)];
|
|
48762
48833
|
// cellJson._gridLinesStyle = GridLinesStyle[parseInt(cellJson._gridLinesStyle)];
|
|
48763
48834
|
// cellJson._obliqueSplitLine = ObliqueSplitLine[parseInt(cellJson._obliqueSplitLine)];
|
|
@@ -56953,6 +57024,11 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
56953
57024
|
if (isDisPlay) {
|
|
56954
57025
|
drawNode.alpha = 1;
|
|
56955
57026
|
if (this.imgSrc === "" && this.fingerPrintSrc === "") {
|
|
57027
|
+
for (var i = drawNode.children.length - 1; i >= 0; i--) {
|
|
57028
|
+
if (drawNode.children[i].name === "name") {
|
|
57029
|
+
drawNode.children[i].color = "#000";
|
|
57030
|
+
}
|
|
57031
|
+
}
|
|
56956
57032
|
var color = hoEditorFactory.option.getColorByLevel(13);
|
|
56957
57033
|
var backColor = new createjs.Shape();
|
|
56958
57034
|
backColor.graphics.clear().beginFill(color).drawRect(0, -drawNode.dHeight + 2, drawNode.dWidth, drawNode.dHeight);
|
|
@@ -56962,10 +57038,21 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
56962
57038
|
} else {
|
|
56963
57039
|
if (this.imgSrc === "" && this.fingerPrintSrc === "") {
|
|
56964
57040
|
drawNode.alpha = 0;
|
|
57041
|
+
// for (let i = drawNode.children.length - 1; i >= 0; i--) {
|
|
57042
|
+
// if (drawNode.children[i].name === "backColor") {
|
|
57043
|
+
// drawNode.children.splice(i, 1);
|
|
57044
|
+
// }
|
|
57045
|
+
// if (drawNode.children[i].name === "name") {
|
|
57046
|
+
// ((drawNode.children[i]) as createjs.Text).color = "#FFF"
|
|
57047
|
+
// }
|
|
57048
|
+
// }
|
|
56965
57049
|
} else {
|
|
56966
|
-
for (var
|
|
56967
|
-
if (drawNode.children[
|
|
56968
|
-
drawNode.children.splice(
|
|
57050
|
+
for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
|
|
57051
|
+
if (drawNode.children[_i].name === "backColor") {
|
|
57052
|
+
drawNode.children.splice(_i, 1);
|
|
57053
|
+
}
|
|
57054
|
+
if (drawNode.children[_i].name === "name") {
|
|
57055
|
+
drawNode.children[_i].color = "#000";
|
|
56969
57056
|
}
|
|
56970
57057
|
}
|
|
56971
57058
|
}
|
|
@@ -58851,10 +58938,11 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
58851
58938
|
for (var i = 0; i < count; i++) {
|
|
58852
58939
|
var row = new Array();
|
|
58853
58940
|
var rowProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_29__/* .RowProperty */ .Nr("");
|
|
58854
|
-
rowProperty.rowHeight =
|
|
58941
|
+
//rowProperty.rowHeight = this._rowInfos[copyIndex].rowHeight;
|
|
58855
58942
|
rowProperty.isSpecifyHeight = copyRowProperty.isSpecifyHeight;
|
|
58856
58943
|
rowProperty.isLockRowHeight = copyRowProperty.isLockRowHeight;
|
|
58857
58944
|
var rowsInfo = new RowInfos(this, rowProperty);
|
|
58945
|
+
rowsInfo.rowHeight = this._rowInfos[copyIndex].rowHeight;
|
|
58858
58946
|
this._rowInfos.splice(r + i, 0, rowsInfo);
|
|
58859
58947
|
c = 0;
|
|
58860
58948
|
while (c < this._colCount) {
|
|
@@ -58915,6 +59003,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
58915
59003
|
rowsSpanChangedCell.forEach(function (acell) {
|
|
58916
59004
|
acell.updateHeight(acell.getCellHeight());
|
|
58917
59005
|
});
|
|
59006
|
+
this.update();
|
|
58918
59007
|
}
|
|
58919
59008
|
/**
|
|
58920
59009
|
* @author xyl
|
|
@@ -61098,7 +61187,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61098
61187
|
/*
|
|
61099
61188
|
* @Author: your name
|
|
61100
61189
|
* @Date: 2020-11-03 15:17:54
|
|
61101
|
-
* @LastEditTime: 2023-01-
|
|
61190
|
+
* @LastEditTime: 2023-01-30 18:55:30
|
|
61102
61191
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
61103
61192
|
* @Description: In User Settings Edit
|
|
61104
61193
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -61169,6 +61258,7 @@ var DownListProperty = /*#__PURE__*/function () {
|
|
|
61169
61258
|
//列表属性
|
|
61170
61259
|
//private _inputFieldType!: InputFieldType;//输入内容
|
|
61171
61260
|
//允许多选
|
|
61261
|
+
//多选选项是否多行显示
|
|
61172
61262
|
//列表项目分隔字符
|
|
61173
61263
|
// 列表选项互斥
|
|
61174
61264
|
//private _dynamicLoadList!: boolean;//动态加载列表
|
|
@@ -61179,6 +61269,7 @@ var DownListProperty = /*#__PURE__*/function () {
|
|
|
61179
61269
|
function DownListProperty() {
|
|
61180
61270
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(this, DownListProperty);
|
|
61181
61271
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)(this, "_allowMultiSelected", void 0);
|
|
61272
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)(this, "_isMultiLinesDisplay", void 0);
|
|
61182
61273
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)(this, "_splitCharacter", void 0);
|
|
61183
61274
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)(this, "_mutexSelect", void 0);
|
|
61184
61275
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)(this, "_source", void 0);
|
|
@@ -61195,6 +61286,16 @@ var DownListProperty = /*#__PURE__*/function () {
|
|
|
61195
61286
|
this._allowMultiSelected = value;
|
|
61196
61287
|
}
|
|
61197
61288
|
}
|
|
61289
|
+
}, {
|
|
61290
|
+
key: "isMultiLinesDisplay",
|
|
61291
|
+
get: function get() {
|
|
61292
|
+
return this._isMultiLinesDisplay;
|
|
61293
|
+
},
|
|
61294
|
+
set: function set(val) {
|
|
61295
|
+
if (this._isMultiLinesDisplay !== val) {
|
|
61296
|
+
this._isMultiLinesDisplay = val;
|
|
61297
|
+
}
|
|
61298
|
+
}
|
|
61198
61299
|
}, {
|
|
61199
61300
|
key: "splitCharacter",
|
|
61200
61301
|
get: function get() {
|
|
@@ -61256,6 +61357,7 @@ var DownListProperty = /*#__PURE__*/function () {
|
|
|
61256
61357
|
value: function setDefaultImportStyle(ret) {
|
|
61257
61358
|
//ret._inputFieldType = InputFieldType.text;
|
|
61258
61359
|
ret._allowMultiSelected = false;
|
|
61360
|
+
ret._isMultiLinesDisplay = false;
|
|
61259
61361
|
ret._splitCharacter = '';
|
|
61260
61362
|
//ret._dynamicLoadList = false;
|
|
61261
61363
|
//ret._listContent = "";
|
|
@@ -61705,7 +61807,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
61705
61807
|
//选中项的key值
|
|
61706
61808
|
//选中项的value值
|
|
61707
61809
|
//插入检查检验同步更新列表项
|
|
61708
|
-
// private _isMultiLinesDisplay = false;//是否多行显示
|
|
61709
61810
|
/**
|
|
61710
61811
|
* Getter alignWithBlocked
|
|
61711
61812
|
* @return {boolean}
|
|
@@ -61955,14 +62056,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
61955
62056
|
this._defaultValue = value;
|
|
61956
62057
|
}
|
|
61957
62058
|
}
|
|
61958
|
-
// get isMultiLinesDisplay(): boolean {
|
|
61959
|
-
// return this._isMultiLinesDisplay;
|
|
61960
|
-
// }
|
|
61961
|
-
// set isMultiLinesDisplay(value: boolean) {
|
|
61962
|
-
// if (this._isMultiLinesDisplay !== value) {
|
|
61963
|
-
// this._isMultiLinesDisplay = value;
|
|
61964
|
-
// }
|
|
61965
|
-
// }
|
|
61966
62059
|
// get importStyle(): ImportStyle {
|
|
61967
62060
|
// return this._importStyle;
|
|
61968
62061
|
// }
|
|
@@ -62278,7 +62371,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62278
62371
|
var _this$downListPropert;
|
|
62279
62372
|
text = "";
|
|
62280
62373
|
loopChildNodes(this);
|
|
62281
|
-
if (text != this.text && !((_this$downListPropert = this.downListProperty.listItems) !== null && _this$downListPropert !== void 0 && _this$downListPropert.includes("<元素>")) && this.readType != 1) {
|
|
62374
|
+
if (text != this.text && !this.text.includes("<span>") && !((_this$downListPropert = this.downListProperty.listItems) !== null && _this$downListPropert !== void 0 && _this$downListPropert.includes("<元素>")) && this.readType != 1) {
|
|
62282
62375
|
this.value = "";
|
|
62283
62376
|
this.keyValue = "";
|
|
62284
62377
|
return text;
|
|
@@ -62965,7 +63058,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62965
63058
|
json.isSynchro = !json.isSynchro ? false : json.isSynchro;
|
|
62966
63059
|
json.readType = json.readType ? Number(json.readType) : -1;
|
|
62967
63060
|
json.insCheckSyncUpdateList = !json.insCheckSyncUpdateList ? false : json.insCheckSyncUpdateList;
|
|
62968
|
-
// json.isMultiLinesDisplay = !json.isMultiLinesDisplay ? false : json.isMultiLinesDisplay;
|
|
62969
63061
|
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_40__/* .NodeType.ntField */ .Jq.ntField, json);
|
|
62970
63062
|
// this.insertChild
|
|
62971
63063
|
if (json.childNodes) {
|
|
@@ -64927,6 +65019,8 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
|
|
|
64927
65019
|
return false;
|
|
64928
65020
|
}
|
|
64929
65021
|
}
|
|
65022
|
+
} else if (dItem instanceof DrawMarkNode/* DrawMarkNode */.I && dItem.node.MarkNodeType == 0) {
|
|
65023
|
+
continue;
|
|
64930
65024
|
} else {
|
|
64931
65025
|
return false;
|
|
64932
65026
|
}
|
|
@@ -64942,20 +65036,20 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
|
|
|
64942
65036
|
key: "inSameLine",
|
|
64943
65037
|
value: function inSameLine(dobj1, dobj2) {
|
|
64944
65038
|
var p1DNode = dobj1.parent;
|
|
64945
|
-
var
|
|
65039
|
+
var p2DNode = dobj2.parent;
|
|
64946
65040
|
while (p1DNode) {
|
|
64947
65041
|
if (p1DNode instanceof DrawLine) {
|
|
64948
65042
|
break;
|
|
64949
65043
|
}
|
|
64950
65044
|
p1DNode = p1DNode.parent;
|
|
64951
65045
|
}
|
|
64952
|
-
while (
|
|
64953
|
-
if (
|
|
65046
|
+
while (p2DNode) {
|
|
65047
|
+
if (p2DNode instanceof DrawLine) {
|
|
64954
65048
|
break;
|
|
64955
65049
|
}
|
|
64956
|
-
|
|
65050
|
+
p2DNode = p2DNode.parent;
|
|
64957
65051
|
}
|
|
64958
|
-
return p1DNode !== null &&
|
|
65052
|
+
return p1DNode !== null && p2DNode !== null && p1DNode instanceof DrawLine && p1DNode === p2DNode;
|
|
64959
65053
|
}
|
|
64960
65054
|
}]);
|
|
64961
65055
|
return DrawLine;
|
|
@@ -65934,6 +66028,7 @@ var StagePosition = /*#__PURE__*/function () {
|
|
|
65934
66028
|
|
|
65935
66029
|
|
|
65936
66030
|
|
|
66031
|
+
// import { $Comment } from "@/components/common/comment"
|
|
65937
66032
|
var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
65938
66033
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(DrawArea, _DrawRect);
|
|
65939
66034
|
var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(DrawArea);
|
|
@@ -66988,7 +67083,18 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
66988
67083
|
if (child.name === comment.id) {
|
|
66989
67084
|
child.alpha = 1;
|
|
66990
67085
|
}
|
|
67086
|
+
// if(child instanceof createjs.Container && comment.id === child.name) {
|
|
67087
|
+
// console.log(child);
|
|
67088
|
+
// $Comment.open({
|
|
67089
|
+
// x: child.x,
|
|
67090
|
+
// y: child.y + hoEditorFactory.pageProperty.topMarginPixes,
|
|
67091
|
+
// width: 0,
|
|
67092
|
+
// height: 0,
|
|
67093
|
+
// pageIndex: hoEditorFactory.drawTree.caret.pageIndex
|
|
67094
|
+
// })
|
|
67095
|
+
// }
|
|
66991
67096
|
}
|
|
67097
|
+
|
|
66992
67098
|
hoEditorFactory.drawPageTree.updateDrawPage(this.index);
|
|
66993
67099
|
}
|
|
66994
67100
|
}, {
|
|
@@ -70809,6 +70915,9 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
70809
70915
|
// this._cell.table.rowInfos[rowIndex + this._cell.rowSpan - 1].rowHeight -
|
|
70810
70916
|
// gLineHeight;
|
|
70811
70917
|
// }
|
|
70918
|
+
/**
|
|
70919
|
+
* 表格较多时此处占用内存较大 待优化
|
|
70920
|
+
*/
|
|
70812
70921
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(_this._hoEditorFactoryID);
|
|
70813
70922
|
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psEdit */.Dh.psEdit && (_this.cell.table.tableProperty.canAdjustRowHeight || _this.cell.table.tableProperty.canAdjustRowWidth) || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
|
|
70814
70923
|
_this._ResizeObj = new ResizeDrawTableObj(_this._hoEditorFactoryID, _this._cell, _this._touchArea, rowIndex, colIndex);
|
|
@@ -73113,7 +73222,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
73113
73222
|
}, {
|
|
73114
73223
|
key: "removeDrawCellAfterRow",
|
|
73115
73224
|
value: function removeDrawCellAfterRow(startRow) {
|
|
73116
|
-
var endRow = this._partRowHeights.getLastRow();
|
|
73225
|
+
var endRow = Math.max(this._partRowHeights.getLastRow(), startRow);
|
|
73117
73226
|
this._partRowHeights.delete(startRow, this._partRowHeights.getLength());
|
|
73118
73227
|
for (var r = endRow; r >= startRow; r--) {
|
|
73119
73228
|
for (var c = 0; c < this._table.colCount; c++) {
|
|
@@ -73807,20 +73916,23 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
73807
73916
|
/* harmony export */ "V": function() { return /* binding */ DrawSignNode; }
|
|
73808
73917
|
/* harmony export */ });
|
|
73809
73918
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70280);
|
|
73810
|
-
/* harmony import */ var
|
|
73919
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(66298);
|
|
73811
73920
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75808);
|
|
73812
73921
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11651);
|
|
73813
73922
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19593);
|
|
73814
|
-
/* harmony import */ var
|
|
73923
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(78255);
|
|
73815
73924
|
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26699);
|
|
73816
73925
|
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
73817
73926
|
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(32023);
|
|
73818
73927
|
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
73819
|
-
/* harmony import */ var
|
|
73820
|
-
/* harmony import */ var
|
|
73821
|
-
/* harmony import */ var
|
|
73822
|
-
/* harmony import */ var
|
|
73823
|
-
/* harmony import */ var
|
|
73928
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(68309);
|
|
73929
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
73930
|
+
/* harmony import */ var _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68598);
|
|
73931
|
+
/* harmony import */ var _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(24701);
|
|
73932
|
+
/* harmony import */ var _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(80556);
|
|
73933
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(74089);
|
|
73934
|
+
/* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(66114);
|
|
73935
|
+
|
|
73824
73936
|
|
|
73825
73937
|
|
|
73826
73938
|
|
|
@@ -73837,7 +73949,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
73837
73949
|
/*
|
|
73838
73950
|
* @Author: your name
|
|
73839
73951
|
* @Date: 2021-09-01 16:51:49
|
|
73840
|
-
* @LastEditTime: 2023-
|
|
73952
|
+
* @LastEditTime: 2023-02-06 18:01:09
|
|
73841
73953
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
73842
73954
|
* @Description: In User Settings Edit
|
|
73843
73955
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -73851,18 +73963,18 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
73851
73963
|
var _this;
|
|
73852
73964
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawSignNode);
|
|
73853
73965
|
_this = _super.call(this, hoeditfactoryID, rootPath, node, 0);
|
|
73854
|
-
(0,
|
|
73855
|
-
(0,
|
|
73856
|
-
(0,
|
|
73857
|
-
(0,
|
|
73858
|
-
(0,
|
|
73859
|
-
(0,
|
|
73860
|
-
(0,
|
|
73861
|
-
(0,
|
|
73862
|
-
(0,
|
|
73863
|
-
(0,
|
|
73864
|
-
(0,
|
|
73865
|
-
(0,
|
|
73966
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_number", 0);
|
|
73967
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_type", 0);
|
|
73968
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_signName", '');
|
|
73969
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_imgSrc", '');
|
|
73970
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_fingerPrintSrc", '');
|
|
73971
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_fingerPosition", 0);
|
|
73972
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
|
|
73973
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_drawText", void 0);
|
|
73974
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_attribute", 0);
|
|
73975
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_connectChar", ":");
|
|
73976
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_abi02", "");
|
|
73977
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_drawAbi02", void 0);
|
|
73866
73978
|
_this._number = number;
|
|
73867
73979
|
_this._imgSrc = imgSrc;
|
|
73868
73980
|
_this._type = type;
|
|
@@ -73873,7 +73985,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
73873
73985
|
_this._connectChar = connectChar;
|
|
73874
73986
|
_this._abi02 = customProperty && customProperty.abi02 ? customProperty.abi02 : "";
|
|
73875
73987
|
//this._textStyle = cbStyle.;
|
|
73876
|
-
_this.dHeight =
|
|
73988
|
+
_this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight;
|
|
73877
73989
|
//this.dHeight = 40;
|
|
73878
73990
|
_this._textStyle = cbStyle.getStyleKey();
|
|
73879
73991
|
// 处理混乱的类型
|
|
@@ -73890,7 +74002,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
73890
74002
|
if (_this.number > 0 && _this.type === 2) {
|
|
73891
74003
|
var signArr = imgSrc.split('\n');
|
|
73892
74004
|
if (signArr.length > 1) {
|
|
73893
|
-
_this.dHeight =
|
|
74005
|
+
_this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight * signArr.length;
|
|
73894
74006
|
// const textStyle = new TextStyle(hoeditfactoryID);
|
|
73895
74007
|
// let curHeight = cbStyle.getFontHeightByFontSize(cbStyle.size) * signArr.length;
|
|
73896
74008
|
// if (curHeight > this.dHeight) {
|
|
@@ -73958,7 +74070,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
73958
74070
|
}
|
|
73959
74071
|
return _this;
|
|
73960
74072
|
}
|
|
73961
|
-
(0,
|
|
74073
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z)(DrawSignNode, [{
|
|
73962
74074
|
key: "type",
|
|
73963
74075
|
get: function get() {
|
|
73964
74076
|
return this._type;
|
|
@@ -74054,13 +74166,13 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74054
74166
|
var _this2 = this;
|
|
74055
74167
|
this.clear();
|
|
74056
74168
|
var drawNode = this;
|
|
74057
|
-
var hoEditorFactory =
|
|
74169
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
|
|
74058
74170
|
var drawSign = function drawSign() {
|
|
74059
74171
|
if (_this2.type === 1 || _this2.type === 3) {
|
|
74060
74172
|
var currentLineHeight = hoEditorFactory.drawTree.caret.height;
|
|
74061
74173
|
node.type = 3;
|
|
74062
74174
|
if (_this2.imgSrc == '' && _this2.fingerPrintSrc) {
|
|
74063
|
-
var fingerscale = drawNode.fingerPosition ==
|
|
74175
|
+
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
|
|
74064
74176
|
var fingerWidth = 256;
|
|
74065
74177
|
_this2._dWidth = fingerWidth * fingerscale;
|
|
74066
74178
|
node.imgWidth = _this2._dWidth;
|
|
@@ -74121,7 +74233,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74121
74233
|
var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
|
|
74122
74234
|
var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
|
|
74123
74235
|
var scale = hoEditorFactory.signHeight / hitHeight < 0.4 ? 0.4 : hoEditorFactory.signHeight / hitHeight > 0.7 ? 1 : hoEditorFactory.signHeight / hitHeight;
|
|
74124
|
-
if (drawNode.fingerPosition ==
|
|
74236
|
+
if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
|
|
74125
74237
|
scale = hoEditorFactory.signHeight * 1.5 / hitHeight;
|
|
74126
74238
|
}
|
|
74127
74239
|
// 存在自定义签字图片高度时
|
|
@@ -74133,7 +74245,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74133
74245
|
_fingerImage.onload = function () {
|
|
74134
74246
|
var fingerWidth = _fingerImage.naturalWidth;
|
|
74135
74247
|
var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
|
|
74136
|
-
var fingerscale = drawNode.fingerPosition ==
|
|
74248
|
+
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
|
|
74137
74249
|
// 指纹图片尺寸固定 宽:256 高:360 宽度不等于256表示已经缩放过 不需要再次缩放
|
|
74138
74250
|
if (fingerWidth !== 256) {
|
|
74139
74251
|
fingerscale = 1;
|
|
@@ -74146,25 +74258,25 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74146
74258
|
_fingerBitmap.scaleY = fingerscale;
|
|
74147
74259
|
_fingerBitmap.y = -fingerHeight * fingerscale;
|
|
74148
74260
|
bitmap.y = -hitHeight * scale;
|
|
74149
|
-
if (drawNode.fingerPosition ==
|
|
74261
|
+
if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__/* .FingerPosition.left */ .d.left) {
|
|
74150
74262
|
bitmap.x = fingerWidth * fingerscale + 5;
|
|
74151
74263
|
_fingerBitmap.x = 0;
|
|
74152
74264
|
_this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
|
|
74153
74265
|
node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
|
|
74154
74266
|
_this2._dHeight = node.imgHeight;
|
|
74155
|
-
} else if (drawNode.fingerPosition ==
|
|
74267
|
+
} else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__/* .FingerPosition.center */ .d.center) {
|
|
74156
74268
|
_fingerBitmap.x = (hitWidth * scale - fingerWidth * fingerscale) / 2;
|
|
74157
74269
|
_fingerBitmap.y = -(fingerHeight * fingerscale + currentLineHeight) / 2;
|
|
74158
74270
|
bitmap.y = -(hitHeight * scale + currentLineHeight) / 2;
|
|
74159
74271
|
node.imgHeight = hoEditorFactory.signHeight;
|
|
74160
|
-
} else if (drawNode.fingerPosition ==
|
|
74272
|
+
} else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__/* .FingerPosition.right */ .d.right) {
|
|
74161
74273
|
_fingerBitmap.x = hitWidth * scale + 5;
|
|
74162
74274
|
_this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
|
|
74163
74275
|
node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
|
|
74164
74276
|
_this2._dHeight = node.imgHeight;
|
|
74165
74277
|
}
|
|
74166
74278
|
node.imgWidth = _this2._dWidth;
|
|
74167
|
-
if (drawNode.fingerPosition ==
|
|
74279
|
+
if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_8__/* .FingerPosition.center */ .d.center) {
|
|
74168
74280
|
_this2._dWidth = 0;
|
|
74169
74281
|
_this2._dHeight = 0;
|
|
74170
74282
|
}
|
|
@@ -74181,7 +74293,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74181
74293
|
_this2._dWidth = hitWidth * scale;
|
|
74182
74294
|
//签名图片随单元格大小自适应
|
|
74183
74295
|
var width = _this2._dWidth;
|
|
74184
|
-
if (node.parentNode instanceof
|
|
74296
|
+
if (node.parentNode instanceof _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_7__/* .CellNode */ .D) {
|
|
74185
74297
|
var cellWidth = node.parentNode.drawCell.dWidth;
|
|
74186
74298
|
if (width > cellWidth - 5) {
|
|
74187
74299
|
drawNode.dHeight = (cellWidth - 5) * drawNode.dHeight / width;
|
|
@@ -74207,10 +74319,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74207
74319
|
var dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
|
|
74208
74320
|
if (dArea) {
|
|
74209
74321
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(drawNode.node.getNodePath());
|
|
74210
|
-
if (atype ===
|
|
74322
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
74211
74323
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
74212
74324
|
} else {
|
|
74213
|
-
if (atype ===
|
|
74325
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
|
|
74214
74326
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
74215
74327
|
}
|
|
74216
74328
|
}
|
|
@@ -74258,7 +74370,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74258
74370
|
} else {
|
|
74259
74371
|
_this3.addChildAt(bitmap, 0);
|
|
74260
74372
|
}
|
|
74261
|
-
var hoEditorFactory =
|
|
74373
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
|
|
74262
74374
|
hoEditorFactory.loadImageCount++;
|
|
74263
74375
|
image.onload = function () {
|
|
74264
74376
|
var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
|
|
@@ -74272,7 +74384,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74272
74384
|
node.imgHeight = nodeImageWidth;
|
|
74273
74385
|
}
|
|
74274
74386
|
var width = hitWidth * hoEditorFactory.signHeight / image.naturalHeight; //+ this._drawText.getMeasuredWidth();
|
|
74275
|
-
if (node.parentNode instanceof
|
|
74387
|
+
if (node.parentNode instanceof _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_7__/* .CellNode */ .D) {
|
|
74276
74388
|
var cellWidth = node.parentNode.drawCell.dWidth;
|
|
74277
74389
|
if (width > cellWidth - 5) {
|
|
74278
74390
|
drawNode.dHeight = (cellWidth - 5) * hoEditorFactory.signHeight / width;
|
|
@@ -74308,10 +74420,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74308
74420
|
var dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
|
|
74309
74421
|
if (dArea) {
|
|
74310
74422
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this3.node.getNodePath());
|
|
74311
|
-
if (atype ===
|
|
74423
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
74312
74424
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
74313
74425
|
} else {
|
|
74314
|
-
if (atype ===
|
|
74426
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_9__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
|
|
74315
74427
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
74316
74428
|
}
|
|
74317
74429
|
}
|
|
@@ -74362,6 +74474,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74362
74474
|
var drawText1 = new createjs.Text(this.signName, this.textStyle, '#838586');
|
|
74363
74475
|
drawText1.textBaseline = 'alphabetic';
|
|
74364
74476
|
drawText1.textAlign = 'left';
|
|
74477
|
+
drawText1.name = "name";
|
|
74365
74478
|
var rect = drawText1.getBounds();
|
|
74366
74479
|
if (rect) {
|
|
74367
74480
|
drawText1.y = this.y;
|
|
@@ -74427,7 +74540,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
74427
74540
|
}
|
|
74428
74541
|
}]);
|
|
74429
74542
|
return DrawSignNode;
|
|
74430
|
-
}(
|
|
74543
|
+
}(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_11__/* .DrawCombineNode */ .o);
|
|
74431
74544
|
|
|
74432
74545
|
/***/ }),
|
|
74433
74546
|
|
|
@@ -77492,7 +77605,7 @@ var EditorController = /*#__PURE__*/function () {
|
|
|
77492
77605
|
if (Math.ceil(el.value.length / 37) > 0) {
|
|
77493
77606
|
el.style.height = Math.ceil(el.value.length / 37) * 24 + 'px';
|
|
77494
77607
|
}
|
|
77495
|
-
el.style.width = el.value.length *
|
|
77608
|
+
el.style.width = el.value.length * 11 + 'px';
|
|
77496
77609
|
el.style.maxWidth = '300px';
|
|
77497
77610
|
if (!e.isComposing) {
|
|
77498
77611
|
try {
|
|
@@ -77747,7 +77860,7 @@ var Editor = /*#__PURE__*/function () {
|
|
|
77747
77860
|
atextArea.style.left = "0";
|
|
77748
77861
|
atextArea.style.width = "0";
|
|
77749
77862
|
atextArea.style.height = "0";
|
|
77750
|
-
atextArea.style.zIndex = "
|
|
77863
|
+
atextArea.style.zIndex = "3";
|
|
77751
77864
|
atextArea.style.margin = "0";
|
|
77752
77865
|
atextArea.style.border = "0";
|
|
77753
77866
|
atextArea.style.padding = "0";
|
|
@@ -219538,7 +219651,7 @@ var map = {
|
|
|
219538
219651
|
"./commentDialog/CommentDialog.vue": 99956,
|
|
219539
219652
|
"./customAttributes/CustomAttributes.vue": 78869,
|
|
219540
219653
|
"./dataSource/DataSource.vue": 9238,
|
|
219541
|
-
"./dateDialog/DateDialog.vue":
|
|
219654
|
+
"./dateDialog/DateDialog.vue": 12144,
|
|
219542
219655
|
"./delimiter/Delimiter.vue": 31861,
|
|
219543
219656
|
"./expressionForm/ExpressionForm.vue": 7981,
|
|
219544
219657
|
"./findReplace/FindReplace.vue": 25918,
|
|
@@ -219550,7 +219663,7 @@ var map = {
|
|
|
219550
219663
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
219551
219664
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
219552
219665
|
"./poperSelect/PoperMark.vue": 71472,
|
|
219553
|
-
"./poperSelect/PoperSelect.vue":
|
|
219666
|
+
"./poperSelect/PoperSelect.vue": 84823,
|
|
219554
219667
|
"./poperTipText/PoperTipText.vue": 15845,
|
|
219555
219668
|
"./popers/Poper.vue": 57937,
|
|
219556
219669
|
"./popers/Title.vue": 89987,
|
|
@@ -219563,12 +219676,12 @@ var map = {
|
|
|
219563
219676
|
"./table/TableCellProperty.vue": 71176,
|
|
219564
219677
|
"./table/TableColProperty.vue": 2116,
|
|
219565
219678
|
"./table/TableForm.vue": 19064,
|
|
219566
|
-
"./table/TableFormTree.vue":
|
|
219679
|
+
"./table/TableFormTree.vue": 39703,
|
|
219567
219680
|
"./table/TableFormula.vue": 7789,
|
|
219568
219681
|
"./table/TableProperty.vue": 67472,
|
|
219569
219682
|
"./table/TableRowProperty.vue": 5218,
|
|
219570
|
-
"./textDialog/TextDialog.vue":
|
|
219571
|
-
"./textDialog/TextToLabelDialog.vue":
|
|
219683
|
+
"./textDialog/TextDialog.vue": 71825,
|
|
219684
|
+
"./textDialog/TextToLabelDialog.vue": 35791,
|
|
219572
219685
|
"./upload/CanvasImageDialog.vue": 94116,
|
|
219573
219686
|
"./upload/HoFabric.vue": 43008,
|
|
219574
219687
|
"./upload/UploadImageDialog.vue": 45580,
|
|
@@ -255685,7 +255798,7 @@ Input.install = function (Vue) {
|
|
|
255685
255798
|
|
|
255686
255799
|
|
|
255687
255800
|
/* harmony default export */ var antd = ([es_button, input, input_number, es_checkbox, date_picker, time_picker, es_radio, es_select, es_tabs, es_dropdown, es_menu, es_upload, tooltip, table, popover, es_icon/* default */.Z, config_provider]);
|
|
255688
|
-
;// 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/HoDocs.vue?vue&type=template&id=
|
|
255801
|
+
;// 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/HoDocs.vue?vue&type=template&id=077cbf1c&
|
|
255689
255802
|
var render = function render() {
|
|
255690
255803
|
var _vm = this,
|
|
255691
255804
|
_c = _vm._self._c;
|
|
@@ -255959,8 +256072,8 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
255959
256072
|
var es_array_sort = __webpack_require__(2707);
|
|
255960
256073
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
255961
256074
|
var es_string_replace = __webpack_require__(15306);
|
|
255962
|
-
;// 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/HoPage.vue?vue&type=template&id=
|
|
255963
|
-
var
|
|
256075
|
+
;// 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/HoPage.vue?vue&type=template&id=188fb5b4&scoped=true&
|
|
256076
|
+
var HoPagevue_type_template_id_188fb5b4_scoped_true_render = function render() {
|
|
255964
256077
|
var _vm = this,
|
|
255965
256078
|
_c = _vm._self._c;
|
|
255966
256079
|
return _c('div', {
|
|
@@ -256024,7 +256137,7 @@ var HoPagevue_type_template_id_4e0cd832_scoped_true_render = function render() {
|
|
|
256024
256137
|
}], null, true)
|
|
256025
256138
|
}) : _vm._e()], 2);
|
|
256026
256139
|
};
|
|
256027
|
-
var
|
|
256140
|
+
var HoPagevue_type_template_id_188fb5b4_scoped_true_staticRenderFns = [];
|
|
256028
256141
|
|
|
256029
256142
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
256030
256143
|
var regeneratorRuntime = __webpack_require__(80543);
|
|
@@ -257553,10 +257666,10 @@ var AiModels_component = (0,componentNormalizer/* default */.Z)(
|
|
|
257553
257666
|
});
|
|
257554
257667
|
;// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=script&lang=js&
|
|
257555
257668
|
/* harmony default export */ var components_HoPagevue_type_script_lang_js_ = (HoPagevue_type_script_lang_js_);
|
|
257556
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoPage.vue?vue&type=style&index=0&id=
|
|
257669
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoPage.vue?vue&type=style&index=0&id=188fb5b4&prod&scoped=true&lang=css&
|
|
257557
257670
|
// extracted by mini-css-extract-plugin
|
|
257558
257671
|
|
|
257559
|
-
;// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=style&index=0&id=
|
|
257672
|
+
;// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=style&index=0&id=188fb5b4&prod&scoped=true&lang=css&
|
|
257560
257673
|
|
|
257561
257674
|
;// CONCATENATED MODULE: ./src/components/HoPage.vue
|
|
257562
257675
|
|
|
@@ -257569,11 +257682,11 @@ var AiModels_component = (0,componentNormalizer/* default */.Z)(
|
|
|
257569
257682
|
|
|
257570
257683
|
var HoPage_component = (0,componentNormalizer/* default */.Z)(
|
|
257571
257684
|
components_HoPagevue_type_script_lang_js_,
|
|
257572
|
-
|
|
257573
|
-
|
|
257685
|
+
HoPagevue_type_template_id_188fb5b4_scoped_true_render,
|
|
257686
|
+
HoPagevue_type_template_id_188fb5b4_scoped_true_staticRenderFns,
|
|
257574
257687
|
false,
|
|
257575
257688
|
null,
|
|
257576
|
-
"
|
|
257689
|
+
"188fb5b4",
|
|
257577
257690
|
null
|
|
257578
257691
|
|
|
257579
257692
|
)
|
|
@@ -257760,7 +257873,7 @@ var DrawPage = __webpack_require__(72722);
|
|
|
257760
257873
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
257761
257874
|
var plugins_util = __webpack_require__(62783);
|
|
257762
257875
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
257763
|
-
var PoperSelect = __webpack_require__(
|
|
257876
|
+
var PoperSelect = __webpack_require__(84823);
|
|
257764
257877
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
257765
257878
|
var PoperMark = __webpack_require__(71472);
|
|
257766
257879
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -259455,7 +259568,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
259455
259568
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
259456
259569
|
var ParagraphNode = __webpack_require__(67945);
|
|
259457
259570
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
259458
|
-
/* harmony default export */ var version = ('3.0.
|
|
259571
|
+
/* harmony default export */ var version = ('3.0.20');
|
|
259459
259572
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
259460
259573
|
var PoperTipText = __webpack_require__(15845);
|
|
259461
259574
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -268648,41 +268761,92 @@ var VueController = /*#__PURE__*/function () {
|
|
|
268648
268761
|
*/
|
|
268649
268762
|
}, {
|
|
268650
268763
|
key: "insertHtmlText",
|
|
268651
|
-
value: function
|
|
268652
|
-
var
|
|
268653
|
-
|
|
268654
|
-
|
|
268655
|
-
|
|
268656
|
-
|
|
268657
|
-
|
|
268658
|
-
|
|
268659
|
-
|
|
268660
|
-
|
|
268661
|
-
|
|
268662
|
-
|
|
268663
|
-
|
|
268664
|
-
|
|
268665
|
-
|
|
268666
|
-
|
|
268667
|
-
|
|
268668
|
-
|
|
268669
|
-
|
|
268670
|
-
|
|
268671
|
-
|
|
268672
|
-
|
|
268673
|
-
|
|
268674
|
-
|
|
268675
|
-
|
|
268676
|
-
|
|
268677
|
-
|
|
268678
|
-
|
|
268679
|
-
|
|
268764
|
+
value: function () {
|
|
268765
|
+
var _insertHtmlText = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(strHtml, value, keyValue, listItems, clear) {
|
|
268766
|
+
var hoEditorFactory, result, nodes, i, node, textStyle, curTextStyle, newIndex, startPath, parentNode, downListProperty, arr, spath, epath, range, canModifyContent;
|
|
268767
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
|
|
268768
|
+
while (1) {
|
|
268769
|
+
switch (_context.prev = _context.next) {
|
|
268770
|
+
case 0:
|
|
268771
|
+
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
268772
|
+
strHtml = hoEditorFactory.unitConvert.replaceAll(strHtml, '</上标>', '<上标/>');
|
|
268773
|
+
strHtml = hoEditorFactory.unitConvert.replaceAll(strHtml, '</下标>', '<下标/>');
|
|
268774
|
+
result = hoEditorFactory.editController.canIsEdit(hoEditorFactory);
|
|
268775
|
+
if (!result) {
|
|
268776
|
+
_context.next = 35;
|
|
268777
|
+
break;
|
|
268778
|
+
}
|
|
268779
|
+
nodes = hoEditorFactory.htmlConverter.parseHtmlString(strHtml);
|
|
268780
|
+
for (i = 0; i < nodes.length; i++) {
|
|
268781
|
+
//插入检查检验等要求插入的文本样式和插入位置的文本样式保持一致
|
|
268782
|
+
node = nodes[i];
|
|
268783
|
+
if (node instanceof TextNode/* TextNode */.R || node instanceof ParagraphNode/* ParagraphNode */.C) {
|
|
268784
|
+
textStyle = hoEditorFactory.docTree.styles[node.styleIndex].clone();
|
|
268785
|
+
curTextStyle = hoEditorFactory.docTree.styles[hoEditorFactory.docTree.curStyleIndex];
|
|
268786
|
+
textStyle.size = curTextStyle.combineStyle.size;
|
|
268787
|
+
newIndex = hoEditorFactory.docTree.styleCompare(textStyle);
|
|
268788
|
+
node.styleIndex = newIndex;
|
|
268789
|
+
}
|
|
268790
|
+
}
|
|
268791
|
+
if (!(value && keyValue && listItems)) {
|
|
268792
|
+
_context.next = 34;
|
|
268793
|
+
break;
|
|
268794
|
+
}
|
|
268795
|
+
startPath = hoEditorFactory.docTree.curDomRange.normalize().startPath;
|
|
268796
|
+
parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
268797
|
+
if (!(parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && parentNode.inputFieldType == 1 && parentNode.insCheckSyncUpdateList)) {
|
|
268798
|
+
_context.next = 34;
|
|
268799
|
+
break;
|
|
268800
|
+
}
|
|
268801
|
+
downListProperty = parentNode.downListProperty;
|
|
268802
|
+
if (!downListProperty.allowMultiSelected) {
|
|
268803
|
+
_context.next = 34;
|
|
268804
|
+
break;
|
|
268805
|
+
}
|
|
268806
|
+
arr = downListProperty.listItems ? JSON.parse(downListProperty.listItems) : [];
|
|
268807
|
+
if (!clear) {
|
|
268808
|
+
_context.next = 28;
|
|
268809
|
+
break;
|
|
268810
|
+
}
|
|
268811
|
+
parentNode.value = '';
|
|
268812
|
+
parentNode.text = '';
|
|
268813
|
+
parentNode.keyValue = '';
|
|
268814
|
+
arr = [];
|
|
268815
|
+
spath = parentNode.StartMarkNode.getNodePath();
|
|
268816
|
+
epath = hoEditorFactory.docTree.getNodeLastPath(parentNode.childNodes[parentNode.childNodes.length - 2]);
|
|
268817
|
+
range = new DomRange/* DomRange */.a(this.hoEditorFactoryID, spath, epath);
|
|
268818
|
+
canModifyContent = parentNode.canModifyContent;
|
|
268819
|
+
if (!canModifyContent) {
|
|
268820
|
+
parentNode.canModifyContent = true;
|
|
268821
|
+
}
|
|
268822
|
+
_context.next = 26;
|
|
268823
|
+
return hoEditorFactory.docController.deleteRange(range, true, "update");
|
|
268824
|
+
case 26:
|
|
268825
|
+
parentNode.canModifyContent = canModifyContent;
|
|
268826
|
+
hoEditorFactory.docTree.curDomRange.setSamePath(spath);
|
|
268827
|
+
case 28:
|
|
268828
|
+
parentNode.text = strHtml;
|
|
268829
|
+
parentNode.value = parentNode.value ? parentNode.value + "," + value : value;
|
|
268830
|
+
parentNode.keyValue = parentNode.keyValue ? parentNode.keyValue + "," + keyValue : keyValue;
|
|
268831
|
+
arr = [].concat((0,esm_toConsumableArray/* default */.Z)(arr), (0,esm_toConsumableArray/* default */.Z)(listItems));
|
|
268832
|
+
parentNode.downListProperty.listItems = JSON.stringify(arr);
|
|
268833
|
+
if (nodes[nodes.length - 1] instanceof ParagraphNode/* ParagraphNode */.C) {
|
|
268834
|
+
nodes.splice(nodes.length - 1, 1);
|
|
268835
|
+
}
|
|
268836
|
+
case 34:
|
|
268837
|
+
hoEditorFactory.docController.parseNodeData(nodes);
|
|
268838
|
+
case 35:
|
|
268839
|
+
case "end":
|
|
268840
|
+
return _context.stop();
|
|
268680
268841
|
}
|
|
268681
268842
|
}
|
|
268682
|
-
}
|
|
268683
|
-
|
|
268843
|
+
}, _callee, this);
|
|
268844
|
+
}));
|
|
268845
|
+
function insertHtmlText(_x, _x2, _x3, _x4, _x5) {
|
|
268846
|
+
return _insertHtmlText.apply(this, arguments);
|
|
268684
268847
|
}
|
|
268685
|
-
|
|
268848
|
+
return insertHtmlText;
|
|
268849
|
+
}()
|
|
268686
268850
|
/**
|
|
268687
268851
|
* @description 获取修改前的绘制变更对象,用于重绘
|
|
268688
268852
|
* @param startPath 起始路径
|
|
@@ -268996,9 +269160,16 @@ var VueController = /*#__PURE__*/function () {
|
|
|
268996
269160
|
}
|
|
268997
269161
|
}
|
|
268998
269162
|
if (printAsSinglePage) {
|
|
268999
|
-
if (nodes.length > 1 && nodes[0] instanceof ParagraphNode/* ParagraphNode */.C && nodes[1] instanceof TableNode/* TableNode */.Fh
|
|
269000
|
-
nodes.
|
|
269001
|
-
|
|
269163
|
+
if (nodes.length > 1 && nodes[0] instanceof ParagraphNode/* ParagraphNode */.C && nodes[1] instanceof TableNode/* TableNode */.Fh) {
|
|
269164
|
+
if (nodes[1].tableProperty.fixedOnePage) {
|
|
269165
|
+
nodes.splice(0, 1);
|
|
269166
|
+
if (lastNode instanceof ParagraphNode/* ParagraphNode */.C) {
|
|
269167
|
+
lastNode.printAsSinglePage = printAsSinglePage;
|
|
269168
|
+
lastNode.docId = docId && docId !== '' ? docId : hoEditorFactory.gernerateCode.generateID('DocId');
|
|
269169
|
+
}
|
|
269170
|
+
}
|
|
269171
|
+
if (mainNodes.length > 1 && lastNode instanceof ParagraphNode/* ParagraphNode */.C) {
|
|
269172
|
+
nodes.splice(0, 1);
|
|
269002
269173
|
lastNode.printAsSinglePage = printAsSinglePage;
|
|
269003
269174
|
lastNode.docId = docId && docId !== '' ? docId : hoEditorFactory.gernerateCode.generateID('DocId');
|
|
269004
269175
|
}
|
|
@@ -269019,10 +269190,10 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269019
269190
|
}, {
|
|
269020
269191
|
key: "mergeDocs",
|
|
269021
269192
|
value: function () {
|
|
269022
|
-
var _mergeDocs = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
269023
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
269193
|
+
var _mergeDocs = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2(xml, printAsSinglePage, resolve, isDelBlockLine) {
|
|
269194
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context2) {
|
|
269024
269195
|
while (1) {
|
|
269025
|
-
switch (
|
|
269196
|
+
switch (_context2.prev = _context2.next) {
|
|
269026
269197
|
case 0:
|
|
269027
269198
|
if (!printAsSinglePage) {
|
|
269028
269199
|
this.insertXml(xml, 'main', undefined, isDelBlockLine);
|
|
@@ -269032,15 +269203,15 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269032
269203
|
this.insertXml(xml, 'main', printAsSinglePage, isDelBlockLine);
|
|
269033
269204
|
}
|
|
269034
269205
|
resolve && resolve();
|
|
269035
|
-
return
|
|
269206
|
+
return _context2.abrupt("return", true);
|
|
269036
269207
|
case 3:
|
|
269037
269208
|
case "end":
|
|
269038
|
-
return
|
|
269209
|
+
return _context2.stop();
|
|
269039
269210
|
}
|
|
269040
269211
|
}
|
|
269041
|
-
},
|
|
269212
|
+
}, _callee2, this);
|
|
269042
269213
|
}));
|
|
269043
|
-
function mergeDocs(
|
|
269214
|
+
function mergeDocs(_x6, _x7, _x8, _x9) {
|
|
269044
269215
|
return _mergeDocs.apply(this, arguments);
|
|
269045
269216
|
}
|
|
269046
269217
|
return mergeDocs;
|
|
@@ -269048,17 +269219,17 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269048
269219
|
}, {
|
|
269049
269220
|
key: "openDocsForPrint",
|
|
269050
269221
|
value: function () {
|
|
269051
|
-
var _openDocsForPrint = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
269222
|
+
var _openDocsForPrint = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee3(list) {
|
|
269052
269223
|
var hoEditorFactory, _curDomRange, startPath, endPath, changingEvent, arrFontString, arrParaString, getDetailStyle, mergeObject, tdefault, pdefault, si, style, sstyle, pi, _style, updateNodesStyle, _loop, i, nodes;
|
|
269053
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
269224
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee3$(_context3) {
|
|
269054
269225
|
while (1) {
|
|
269055
|
-
switch (
|
|
269226
|
+
switch (_context3.prev = _context3.next) {
|
|
269056
269227
|
case 0:
|
|
269057
269228
|
if (!(list.length == 0)) {
|
|
269058
|
-
|
|
269229
|
+
_context3.next = 2;
|
|
269059
269230
|
break;
|
|
269060
269231
|
}
|
|
269061
|
-
return
|
|
269232
|
+
return _context3.abrupt("return");
|
|
269062
269233
|
case 2:
|
|
269063
269234
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
269064
269235
|
_curDomRange = hoEditorFactory.docTree.curDomRange.normalize(); //获取当前选中区域
|
|
@@ -269067,10 +269238,10 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269067
269238
|
changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.openXml */.y.openXml);
|
|
269068
269239
|
hoEditorFactory.openXmled = true;
|
|
269069
269240
|
if (!hoEditorFactory.docTree.changing(changingEvent)) {
|
|
269070
|
-
|
|
269241
|
+
_context3.next = 12;
|
|
269071
269242
|
break;
|
|
269072
269243
|
}
|
|
269073
|
-
|
|
269244
|
+
_context3.next = 11;
|
|
269074
269245
|
return hoEditorFactory.docController.initBlankDoc();
|
|
269075
269246
|
case 11:
|
|
269076
269247
|
hoEditorFactory.drawTree.inViewPages = [0];
|
|
@@ -269172,10 +269343,10 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269172
269343
|
}
|
|
269173
269344
|
}
|
|
269174
269345
|
if (mergeObject) {
|
|
269175
|
-
|
|
269346
|
+
_context3.next = 43;
|
|
269176
269347
|
break;
|
|
269177
269348
|
}
|
|
269178
|
-
return
|
|
269349
|
+
return _context3.abrupt("return");
|
|
269179
269350
|
case 43:
|
|
269180
269351
|
//let arrFontStyle = new Array<number>();
|
|
269181
269352
|
//let arrParaStyle = new Array<number>();
|
|
@@ -269374,25 +269545,25 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269374
269545
|
for (i = 1; i < list.length; i++) {
|
|
269375
269546
|
_loop(i);
|
|
269376
269547
|
}
|
|
269377
|
-
|
|
269548
|
+
_context3.next = 48;
|
|
269378
269549
|
return hoEditorFactory.structureConvert.json2Doc(mergeObject);
|
|
269379
269550
|
case 48:
|
|
269380
|
-
nodes =
|
|
269381
|
-
|
|
269551
|
+
nodes = _context3.sent;
|
|
269552
|
+
_context3.next = 51;
|
|
269382
269553
|
return hoEditorFactory.drawTree.updateDrawTreeFirstLine();
|
|
269383
269554
|
case 51:
|
|
269384
|
-
|
|
269555
|
+
_context3.next = 53;
|
|
269385
269556
|
return hoEditorFactory.structureConvert.openJson2Doc(nodes);
|
|
269386
269557
|
case 53:
|
|
269387
|
-
return
|
|
269558
|
+
return _context3.abrupt("return");
|
|
269388
269559
|
case 54:
|
|
269389
269560
|
case "end":
|
|
269390
|
-
return
|
|
269561
|
+
return _context3.stop();
|
|
269391
269562
|
}
|
|
269392
269563
|
}
|
|
269393
|
-
},
|
|
269564
|
+
}, _callee3, this);
|
|
269394
269565
|
}));
|
|
269395
|
-
function openDocsForPrint(
|
|
269566
|
+
function openDocsForPrint(_x10) {
|
|
269396
269567
|
return _openDocsForPrint.apply(this, arguments);
|
|
269397
269568
|
}
|
|
269398
269569
|
return openDocsForPrint;
|
|
@@ -269418,11 +269589,11 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269418
269589
|
}, {
|
|
269419
269590
|
key: "insertHeaderJson",
|
|
269420
269591
|
value: function () {
|
|
269421
|
-
var _insertHeaderJson = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
269592
|
+
var _insertHeaderJson = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee4(jsonData) {
|
|
269422
269593
|
var hoEditorFactory, index, headerNode, epath, sPath, range, nodes, i, _nodes, dline, startPath, endPath, cgEvent;
|
|
269423
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
269594
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee4$(_context4) {
|
|
269424
269595
|
while (1) {
|
|
269425
|
-
switch (
|
|
269596
|
+
switch (_context4.prev = _context4.next) {
|
|
269426
269597
|
case 0:
|
|
269427
269598
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID); // const headerNodes=hoEditorFactory.subDocManger.getHeaderPageNodes();
|
|
269428
269599
|
index = 0;
|
|
@@ -269430,7 +269601,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269430
269601
|
epath = hoEditorFactory.docTree.getNodeLastPath(headerNode[headerNode.length - 1]);
|
|
269431
269602
|
sPath = 'header/' + index.toString() + '/0';
|
|
269432
269603
|
range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, sPath, epath);
|
|
269433
|
-
|
|
269604
|
+
_context4.next = 8;
|
|
269434
269605
|
return hoEditorFactory.docController.deleteRange(range, true);
|
|
269435
269606
|
case 8:
|
|
269436
269607
|
hoEditorFactory.docTree.curDomRange.setSamePath(sPath);
|
|
@@ -269460,12 +269631,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269460
269631
|
}
|
|
269461
269632
|
case 13:
|
|
269462
269633
|
case "end":
|
|
269463
|
-
return
|
|
269634
|
+
return _context4.stop();
|
|
269464
269635
|
}
|
|
269465
269636
|
}
|
|
269466
|
-
},
|
|
269637
|
+
}, _callee4, this);
|
|
269467
269638
|
}));
|
|
269468
|
-
function insertHeaderJson(
|
|
269639
|
+
function insertHeaderJson(_x11) {
|
|
269469
269640
|
return _insertHeaderJson.apply(this, arguments);
|
|
269470
269641
|
}
|
|
269471
269642
|
return insertHeaderJson;
|
|
@@ -269491,18 +269662,18 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269491
269662
|
}, {
|
|
269492
269663
|
key: "insertFooterJson",
|
|
269493
269664
|
value: function () {
|
|
269494
|
-
var _insertFooterJson = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
269665
|
+
var _insertFooterJson = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee5(jsonData) {
|
|
269495
269666
|
var hoEditorFactory, footerNodes, footerNode, epath, range, nodes, j, _nodes2, dline, startPath, endPath, cgEvent;
|
|
269496
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
269667
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee5$(_context5) {
|
|
269497
269668
|
while (1) {
|
|
269498
|
-
switch (
|
|
269669
|
+
switch (_context5.prev = _context5.next) {
|
|
269499
269670
|
case 0:
|
|
269500
269671
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
269501
269672
|
footerNodes = hoEditorFactory.subDocManger.getFooterPageNodes();
|
|
269502
269673
|
footerNode = footerNodes[0];
|
|
269503
269674
|
epath = hoEditorFactory.docTree.getNodeLastPath(footerNode[footerNode.length - 1]);
|
|
269504
269675
|
range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, 'footer/0/0', epath);
|
|
269505
|
-
|
|
269676
|
+
_context5.next = 7;
|
|
269506
269677
|
return hoEditorFactory.docController.deleteRange(range, true);
|
|
269507
269678
|
case 7:
|
|
269508
269679
|
hoEditorFactory.docTree.curDomRange.setSamePath('footer/0/0');
|
|
@@ -269532,12 +269703,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269532
269703
|
}
|
|
269533
269704
|
case 12:
|
|
269534
269705
|
case "end":
|
|
269535
|
-
return
|
|
269706
|
+
return _context5.stop();
|
|
269536
269707
|
}
|
|
269537
269708
|
}
|
|
269538
|
-
},
|
|
269709
|
+
}, _callee5, this);
|
|
269539
269710
|
}));
|
|
269540
|
-
function insertFooterJson(
|
|
269711
|
+
function insertFooterJson(_x12) {
|
|
269541
269712
|
return _insertFooterJson.apply(this, arguments);
|
|
269542
269713
|
}
|
|
269543
269714
|
return insertFooterJson;
|
|
@@ -269580,17 +269751,17 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269580
269751
|
}, {
|
|
269581
269752
|
key: "openXml",
|
|
269582
269753
|
value: function () {
|
|
269583
|
-
var _openXml = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
269754
|
+
var _openXml = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee6(xml, callback, isDelBlockLine, isRender, isClearSign) {
|
|
269584
269755
|
var hoEditorFactory, _curDomRange, startPath, endPath, changingEvent;
|
|
269585
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
269756
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee6$(_context6) {
|
|
269586
269757
|
while (1) {
|
|
269587
|
-
switch (
|
|
269758
|
+
switch (_context6.prev = _context6.next) {
|
|
269588
269759
|
case 0:
|
|
269589
269760
|
if (!(isRender === false)) {
|
|
269590
|
-
|
|
269761
|
+
_context6.next = 2;
|
|
269591
269762
|
break;
|
|
269592
269763
|
}
|
|
269593
|
-
return
|
|
269764
|
+
return _context6.abrupt("return");
|
|
269594
269765
|
case 2:
|
|
269595
269766
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID); // const fPage = hoEditorFactory.drawTree.drawPages[0];
|
|
269596
269767
|
// if (fPage.drawDomLevel && !fPage.drawDomLevel.stage) {
|
|
@@ -269603,27 +269774,27 @@ var VueController = /*#__PURE__*/function () {
|
|
|
269603
269774
|
changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.openXml */.y.openXml);
|
|
269604
269775
|
hoEditorFactory.openXmled = true;
|
|
269605
269776
|
if (!hoEditorFactory.docTree.changing(changingEvent)) {
|
|
269606
|
-
|
|
269777
|
+
_context6.next = 15;
|
|
269607
269778
|
break;
|
|
269608
269779
|
}
|
|
269609
|
-
|
|
269780
|
+
_context6.next = 11;
|
|
269610
269781
|
return hoEditorFactory.docController.initBlankDoc();
|
|
269611
269782
|
case 11:
|
|
269612
269783
|
hoEditorFactory.drawTree.inViewPages = [0];
|
|
269613
269784
|
if (!(xml > '')) {
|
|
269614
|
-
|
|
269785
|
+
_context6.next = 15;
|
|
269615
269786
|
break;
|
|
269616
269787
|
}
|
|
269617
|
-
|
|
269788
|
+
_context6.next = 15;
|
|
269618
269789
|
return hoEditorFactory.structureConvert.openXml(xml, callback, isDelBlockLine, isClearSign);
|
|
269619
269790
|
case 15:
|
|
269620
269791
|
case "end":
|
|
269621
|
-
return
|
|
269792
|
+
return _context6.stop();
|
|
269622
269793
|
}
|
|
269623
269794
|
}
|
|
269624
|
-
},
|
|
269795
|
+
}, _callee6, this);
|
|
269625
269796
|
}));
|
|
269626
|
-
function openXml(
|
|
269797
|
+
function openXml(_x13, _x14, _x15, _x16, _x17) {
|
|
269627
269798
|
return _openXml.apply(this, arguments);
|
|
269628
269799
|
}
|
|
269629
269800
|
return openXml;
|
|
@@ -270455,85 +270626,85 @@ var VueController = /*#__PURE__*/function () {
|
|
|
270455
270626
|
}, {
|
|
270456
270627
|
key: "updateElementText",
|
|
270457
270628
|
value: function () {
|
|
270458
|
-
var _updateElementText = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
270629
|
+
var _updateElementText = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee7(scope, name, text) {
|
|
270459
270630
|
var nodes, i, node;
|
|
270460
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
270631
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee7$(_context7) {
|
|
270461
270632
|
while (1) {
|
|
270462
|
-
switch (
|
|
270633
|
+
switch (_context7.prev = _context7.next) {
|
|
270463
270634
|
case 0:
|
|
270464
270635
|
if (!(name === '' || name === '请输入' || name === '请选择')) {
|
|
270465
|
-
|
|
270636
|
+
_context7.next = 2;
|
|
270466
270637
|
break;
|
|
270467
270638
|
}
|
|
270468
|
-
return
|
|
270639
|
+
return _context7.abrupt("return");
|
|
270469
270640
|
case 2:
|
|
270470
270641
|
nodes = this.getNodesByName(scope, true, name);
|
|
270471
270642
|
if (!(nodes.length > 0)) {
|
|
270472
|
-
|
|
270643
|
+
_context7.next = 29;
|
|
270473
270644
|
break;
|
|
270474
270645
|
}
|
|
270475
270646
|
i = nodes.length - 1;
|
|
270476
270647
|
case 5:
|
|
270477
270648
|
if (!(i >= 0)) {
|
|
270478
|
-
|
|
270649
|
+
_context7.next = 27;
|
|
270479
270650
|
break;
|
|
270480
270651
|
}
|
|
270481
270652
|
node = nodes[i];
|
|
270482
270653
|
if (!node) {
|
|
270483
|
-
|
|
270654
|
+
_context7.next = 23;
|
|
270484
270655
|
break;
|
|
270485
270656
|
}
|
|
270486
270657
|
if (!(node instanceof DateTimeNode/* DateTimeNode */.Z || node instanceof DownListNode/* DownListNode */.yF || node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
270487
|
-
|
|
270658
|
+
_context7.next = 20;
|
|
270488
270659
|
break;
|
|
270489
270660
|
}
|
|
270490
270661
|
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
270491
|
-
|
|
270662
|
+
_context7.next = 12;
|
|
270492
270663
|
break;
|
|
270493
270664
|
}
|
|
270494
|
-
|
|
270665
|
+
_context7.next = 12;
|
|
270495
270666
|
return node.setFieldText(text);
|
|
270496
270667
|
case 12:
|
|
270497
270668
|
if (!(node instanceof DateTimeNode/* DateTimeNode */.Z)) {
|
|
270498
|
-
|
|
270669
|
+
_context7.next = 15;
|
|
270499
270670
|
break;
|
|
270500
270671
|
}
|
|
270501
|
-
|
|
270672
|
+
_context7.next = 15;
|
|
270502
270673
|
return node.setDateTimeText(text);
|
|
270503
270674
|
case 15:
|
|
270504
270675
|
if (!(node instanceof DownListNode/* DownListNode */.yF)) {
|
|
270505
|
-
|
|
270676
|
+
_context7.next = 18;
|
|
270506
270677
|
break;
|
|
270507
270678
|
}
|
|
270508
|
-
|
|
270679
|
+
_context7.next = 18;
|
|
270509
270680
|
return node.setDownListText(text);
|
|
270510
270681
|
case 18:
|
|
270511
|
-
|
|
270682
|
+
_context7.next = 21;
|
|
270512
270683
|
break;
|
|
270513
270684
|
case 20:
|
|
270514
270685
|
throw new Error('根据元素name:' + name + '定位到的元素非可回填元素');
|
|
270515
270686
|
case 21:
|
|
270516
|
-
|
|
270687
|
+
_context7.next = 24;
|
|
270517
270688
|
break;
|
|
270518
270689
|
case 23:
|
|
270519
270690
|
throw new Error('根据元素name:' + name + '未找到对应的元素');
|
|
270520
270691
|
case 24:
|
|
270521
270692
|
i--;
|
|
270522
|
-
|
|
270693
|
+
_context7.next = 5;
|
|
270523
270694
|
break;
|
|
270524
270695
|
case 27:
|
|
270525
|
-
|
|
270696
|
+
_context7.next = 30;
|
|
270526
270697
|
break;
|
|
270527
270698
|
case 29:
|
|
270528
270699
|
throw new Error('根据元素name:' + name + '未找到对应的元素');
|
|
270529
270700
|
case 30:
|
|
270530
270701
|
case "end":
|
|
270531
|
-
return
|
|
270702
|
+
return _context7.stop();
|
|
270532
270703
|
}
|
|
270533
270704
|
}
|
|
270534
|
-
},
|
|
270705
|
+
}, _callee7, this);
|
|
270535
270706
|
}));
|
|
270536
|
-
function updateElementText(
|
|
270707
|
+
function updateElementText(_x18, _x19, _x20) {
|
|
270537
270708
|
return _updateElementText.apply(this, arguments);
|
|
270538
270709
|
}
|
|
270539
270710
|
return updateElementText;
|
|
@@ -270574,7 +270745,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
270574
270745
|
*/
|
|
270575
270746
|
}, {
|
|
270576
270747
|
key: "createPNG",
|
|
270577
|
-
value: function createPNG(quality, type) {
|
|
270748
|
+
value: function createPNG(quality, type, callback) {
|
|
270578
270749
|
var _this2 = this;
|
|
270579
270750
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
270580
270751
|
var createElementNodes = function createElementNodes() {
|
|
@@ -270614,6 +270785,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
270614
270785
|
btn.style.outline = 'none';
|
|
270615
270786
|
document.body.appendChild(btn);
|
|
270616
270787
|
document.body.appendChild(pngBox);
|
|
270788
|
+
callback && callback();
|
|
270617
270789
|
document.querySelector('#hoDownLoadImageBtn').onclick = function () {
|
|
270618
270790
|
_this2.downLoadPNGHTML();
|
|
270619
270791
|
};
|
|
@@ -270624,6 +270796,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
270624
270796
|
hoEditorFactory.loadImageCallback = createElementNodes;
|
|
270625
270797
|
}
|
|
270626
270798
|
}
|
|
270799
|
+
}, {
|
|
270800
|
+
key: "getDocPages",
|
|
270801
|
+
value: function getDocPages() {
|
|
270802
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
270803
|
+
return hoEditorFactory.drawTree.drawPages.length;
|
|
270804
|
+
}
|
|
270627
270805
|
/*
|
|
270628
270806
|
* 生成图片和下载菜单
|
|
270629
270807
|
*/
|
|
@@ -270748,14 +270926,14 @@ var VueController = /*#__PURE__*/function () {
|
|
|
270748
270926
|
}, {
|
|
270749
270927
|
key: "getBase64",
|
|
270750
270928
|
value: function () {
|
|
270751
|
-
var _getBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
270929
|
+
var _getBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(type) {
|
|
270752
270930
|
var _hoEditorFactory2$vue, _hoEditorFactory2, curDomRange, endPath, node, htmlText, _hoEditorFactory3$vue, _hoEditorFactory3, _curDomRange2, _endPath, _node, base64;
|
|
270753
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
270931
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee8$(_context8) {
|
|
270754
270932
|
while (1) {
|
|
270755
|
-
switch (
|
|
270933
|
+
switch (_context8.prev = _context8.next) {
|
|
270756
270934
|
case 0:
|
|
270757
270935
|
if (!(type === 'html')) {
|
|
270758
|
-
|
|
270936
|
+
_context8.next = 14;
|
|
270759
270937
|
break;
|
|
270760
270938
|
}
|
|
270761
270939
|
_hoEditorFactory2 = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -270763,42 +270941,42 @@ var VueController = /*#__PURE__*/function () {
|
|
|
270763
270941
|
endPath = curDomRange.normalize().endPath;
|
|
270764
270942
|
node = (_hoEditorFactory2$vue = _hoEditorFactory2.vueController.findNodebyPath(endPath)) === null || _hoEditorFactory2$vue === void 0 ? void 0 : _hoEditorFactory2$vue.node;
|
|
270765
270943
|
if (!(node instanceof SignNode/* SignNode */.N && !node.isTemplate && node.attribute == 1)) {
|
|
270766
|
-
|
|
270944
|
+
_context8.next = 8;
|
|
270767
270945
|
break;
|
|
270768
270946
|
}
|
|
270769
|
-
|
|
270947
|
+
_context8.next = 8;
|
|
270770
270948
|
return this.deleteNode(node);
|
|
270771
270949
|
case 8:
|
|
270772
|
-
|
|
270950
|
+
_context8.next = 10;
|
|
270773
270951
|
return _hoEditorFactory2.printController.createHtml();
|
|
270774
270952
|
case 10:
|
|
270775
|
-
htmlText =
|
|
270776
|
-
return
|
|
270953
|
+
htmlText = _context8.sent;
|
|
270954
|
+
return _context8.abrupt("return", htmlText);
|
|
270777
270955
|
case 14:
|
|
270778
270956
|
_hoEditorFactory3 = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
270779
270957
|
_curDomRange2 = _hoEditorFactory3.docTree.curDomRange.normalize();
|
|
270780
270958
|
_endPath = _curDomRange2.normalize().endPath;
|
|
270781
270959
|
_node = (_hoEditorFactory3$vue = _hoEditorFactory3.vueController.findNodebyPath(_endPath)) === null || _hoEditorFactory3$vue === void 0 ? void 0 : _hoEditorFactory3$vue.node;
|
|
270782
270960
|
if (!(_node instanceof SignNode/* SignNode */.N && !_node.isTemplate && _node.attribute == 1)) {
|
|
270783
|
-
|
|
270961
|
+
_context8.next = 21;
|
|
270784
270962
|
break;
|
|
270785
270963
|
}
|
|
270786
|
-
|
|
270964
|
+
_context8.next = 21;
|
|
270787
270965
|
return this.deleteNode(_node);
|
|
270788
270966
|
case 21:
|
|
270789
|
-
|
|
270967
|
+
_context8.next = 23;
|
|
270790
270968
|
return _hoEditorFactory3.printController.createBase64();
|
|
270791
270969
|
case 23:
|
|
270792
|
-
base64 =
|
|
270793
|
-
return
|
|
270970
|
+
base64 = _context8.sent;
|
|
270971
|
+
return _context8.abrupt("return", base64);
|
|
270794
270972
|
case 25:
|
|
270795
270973
|
case "end":
|
|
270796
|
-
return
|
|
270974
|
+
return _context8.stop();
|
|
270797
270975
|
}
|
|
270798
270976
|
}
|
|
270799
|
-
},
|
|
270977
|
+
}, _callee8, this);
|
|
270800
270978
|
}));
|
|
270801
|
-
function getBase64(
|
|
270979
|
+
function getBase64(_x21) {
|
|
270802
270980
|
return _getBase.apply(this, arguments);
|
|
270803
270981
|
}
|
|
270804
270982
|
return getBase64;
|
|
@@ -271260,8 +271438,10 @@ var VueController = /*#__PURE__*/function () {
|
|
|
271260
271438
|
if (!text) {
|
|
271261
271439
|
text = getText(node.previousLeaf());
|
|
271262
271440
|
}
|
|
271263
|
-
} else if (node instanceof SignNode/* SignNode */.N && node.type !== 3) {
|
|
271441
|
+
} else if (node instanceof SignNode/* SignNode */.N && node.type !== 3 || node instanceof ParagraphNode/* ParagraphNode */.C) {
|
|
271264
271442
|
text = getText(node.previousLeaf());
|
|
271443
|
+
} else if (node instanceof LabelNode/* LabelNode */.P) {
|
|
271444
|
+
text = node.text;
|
|
271265
271445
|
}
|
|
271266
271446
|
return text;
|
|
271267
271447
|
}
|
|
@@ -275595,7 +275775,19 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
275595
275775
|
// 恢复文档状态 和 内容;
|
|
275596
275776
|
hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
|
|
275597
275777
|
hoEditorFactory.vueController.openXml(xml);
|
|
275598
|
-
|
|
275778
|
+
// this.PDF.deletePage(1);
|
|
275779
|
+
var otherPageNumber = _this2.PDF.internal.getNumberOfPages() - hoEditorFactory.drawTree.drawPages.length;
|
|
275780
|
+
if (otherPageNumber >= 1) {
|
|
275781
|
+
for (var i = 0; i < otherPageNumber; i++) {
|
|
275782
|
+
var _this2$PDF;
|
|
275783
|
+
(_this2$PDF = _this2.PDF) === null || _this2$PDF === void 0 ? void 0 : _this2$PDF.deletePage(1);
|
|
275784
|
+
}
|
|
275785
|
+
console.warn("\u4ECE\u5F00\u59CB\u5220\u6389".concat(otherPageNumber, "\u9875\u7A7A\u767D\u9875"));
|
|
275786
|
+
} else if (otherPageNumber <= 0) {
|
|
275787
|
+
var _this2$PDF2;
|
|
275788
|
+
(_this2$PDF2 = _this2.PDF) === null || _this2$PDF2 === void 0 ? void 0 : _this2$PDF2.deletePage(1);
|
|
275789
|
+
console.warn("otherPageNumber <= 0 \u65F6\u4ECE\u5F00\u59CB\u5220\u63891\u9875\u7A7A\u767D\u9875");
|
|
275790
|
+
}
|
|
275599
275791
|
return new Promise(function (resolves) {
|
|
275600
275792
|
resolves(_this2.PDF.output('datauristring'));
|
|
275601
275793
|
});
|
|
@@ -278377,24 +278569,7 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
278377
278569
|
// 测试
|
|
278378
278570
|
|
|
278379
278571
|
isFooter: true
|
|
278380
|
-
}
|
|
278381
|
-
// textStyles: {
|
|
278382
|
-
// font: '宋体',
|
|
278383
|
-
// size: 14,
|
|
278384
|
-
// bold: false,
|
|
278385
|
-
// italic: false,
|
|
278386
|
-
// script: 0,
|
|
278387
|
-
// underline: false,
|
|
278388
|
-
// strikeout: false,
|
|
278389
|
-
// backColor: 'transparent',
|
|
278390
|
-
// color: '#000000',
|
|
278391
|
-
// aligned: 'both',
|
|
278392
|
-
// lineSpace: 1.25,
|
|
278393
|
-
// canAddRow: false,
|
|
278394
|
-
// canDeleteRow: false,
|
|
278395
|
-
// },
|
|
278396
|
-
textStyleChangeCount: 0,
|
|
278397
|
-
aligned: ['left', 'right', 'center', 'both']
|
|
278572
|
+
}
|
|
278398
278573
|
};
|
|
278399
278574
|
},
|
|
278400
278575
|
watch: {
|
|
@@ -278851,7 +279026,7 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
278851
279026
|
if (isNaN(Number(property.bottomMarginMm))) {
|
|
278852
279027
|
property.bottomMarginMm = 10;
|
|
278853
279028
|
} else {
|
|
278854
|
-
property.bottomMarginMm = Number(property.
|
|
279029
|
+
property.bottomMarginMm = Number(property.m);
|
|
278855
279030
|
}
|
|
278856
279031
|
if (isNaN(Number(property.headerYMm))) {
|
|
278857
279032
|
property.headerYMm = 3;
|
|
@@ -279005,10 +279180,10 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
279005
279180
|
});
|
|
279006
279181
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=script&lang=js&
|
|
279007
279182
|
/* harmony default export */ var components_HoDocsvue_type_script_lang_js_ = (HoDocsvue_type_script_lang_js_);
|
|
279008
|
-
;// 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/HoDocs.vue?vue&type=style&index=0&id=
|
|
279183
|
+
;// 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/HoDocs.vue?vue&type=style&index=0&id=077cbf1c&prod&lang=scss&media=print&
|
|
279009
279184
|
// extracted by mini-css-extract-plugin
|
|
279010
279185
|
|
|
279011
|
-
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
279186
|
+
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=077cbf1c&prod&lang=scss&media=print&
|
|
279012
279187
|
|
|
279013
279188
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue
|
|
279014
279189
|
|
|
@@ -282240,8 +282415,8 @@ var ToolControlvue_type_template_id_028bf828_render = function render() {
|
|
|
282240
282415
|
};
|
|
282241
282416
|
var ToolControlvue_type_template_id_028bf828_staticRenderFns = [];
|
|
282242
282417
|
|
|
282243
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=template&id=
|
|
282244
|
-
var
|
|
282418
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=template&id=4431c0bf&
|
|
282419
|
+
var HoSpecialCharsvue_type_template_id_4431c0bf_render = function render() {
|
|
282245
282420
|
var _vm = this,
|
|
282246
282421
|
_c = _vm._self._c;
|
|
282247
282422
|
return _c('a-dropdown', {
|
|
@@ -282284,7 +282459,7 @@ var HoSpecialCharsvue_type_template_id_79ce269a_render = function render() {
|
|
|
282284
282459
|
return _c('span', {
|
|
282285
282460
|
key: chars,
|
|
282286
282461
|
on: {
|
|
282287
|
-
"
|
|
282462
|
+
"click": function click($event) {
|
|
282288
282463
|
$event.stopPropagation();
|
|
282289
282464
|
return _vm.specialCharsClick(chars);
|
|
282290
282465
|
}
|
|
@@ -282296,7 +282471,7 @@ var HoSpecialCharsvue_type_template_id_79ce269a_render = function render() {
|
|
|
282296
282471
|
return _c('span', {
|
|
282297
282472
|
key: chars,
|
|
282298
282473
|
on: {
|
|
282299
|
-
"
|
|
282474
|
+
"click": function click($event) {
|
|
282300
282475
|
$event.stopPropagation();
|
|
282301
282476
|
return _vm.specialCharsClick(chars);
|
|
282302
282477
|
}
|
|
@@ -282308,7 +282483,7 @@ var HoSpecialCharsvue_type_template_id_79ce269a_render = function render() {
|
|
|
282308
282483
|
return _c('span', {
|
|
282309
282484
|
key: chars,
|
|
282310
282485
|
on: {
|
|
282311
|
-
"
|
|
282486
|
+
"click": function click($event) {
|
|
282312
282487
|
$event.stopPropagation();
|
|
282313
282488
|
return _vm.specialCharsClick(chars);
|
|
282314
282489
|
}
|
|
@@ -282316,7 +282491,7 @@ var HoSpecialCharsvue_type_template_id_79ce269a_render = function render() {
|
|
|
282316
282491
|
}, [_vm._v(_vm._s(chars))]);
|
|
282317
282492
|
}), 0)])])])])], 1)], 1)], 2);
|
|
282318
282493
|
};
|
|
282319
|
-
var
|
|
282494
|
+
var HoSpecialCharsvue_type_template_id_4431c0bf_staticRenderFns = [];
|
|
282320
282495
|
|
|
282321
282496
|
;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/vue-property-decorator.js
|
|
282322
282497
|
/** vue-property-decorator verson 8.5.1 MIT LICENSE copyright 2020 kaorun343 */
|
|
@@ -282645,10 +282820,10 @@ function isPromise(obj) {
|
|
|
282645
282820
|
});
|
|
282646
282821
|
;// CONCATENATED MODULE: ./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=script&lang=js&
|
|
282647
282822
|
/* harmony default export */ var insert_HoSpecialCharsvue_type_script_lang_js_ = (HoSpecialCharsvue_type_script_lang_js_);
|
|
282648
|
-
;// 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/toolbar/insert/HoSpecialChars.vue?vue&type=style&index=0&id=
|
|
282823
|
+
;// 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/toolbar/insert/HoSpecialChars.vue?vue&type=style&index=0&id=4431c0bf&prod&lang=scss&
|
|
282649
282824
|
// extracted by mini-css-extract-plugin
|
|
282650
282825
|
|
|
282651
|
-
;// CONCATENATED MODULE: ./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=style&index=0&id=
|
|
282826
|
+
;// CONCATENATED MODULE: ./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=style&index=0&id=4431c0bf&prod&lang=scss&
|
|
282652
282827
|
|
|
282653
282828
|
;// CONCATENATED MODULE: ./src/components/toolbar/insert/HoSpecialChars.vue
|
|
282654
282829
|
|
|
@@ -282661,8 +282836,8 @@ function isPromise(obj) {
|
|
|
282661
282836
|
|
|
282662
282837
|
var HoSpecialChars_component = (0,componentNormalizer/* default */.Z)(
|
|
282663
282838
|
insert_HoSpecialCharsvue_type_script_lang_js_,
|
|
282664
|
-
|
|
282665
|
-
|
|
282839
|
+
HoSpecialCharsvue_type_template_id_4431c0bf_render,
|
|
282840
|
+
HoSpecialCharsvue_type_template_id_4431c0bf_staticRenderFns,
|
|
282666
282841
|
false,
|
|
282667
282842
|
null,
|
|
282668
282843
|
null,
|