hoeditor-web 3.0.20 → 3.0.21
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 +639 -199
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -601,6 +601,34 @@ var DownOutline = {
|
|
|
601
601
|
exports.Z = DownOutline;
|
|
602
602
|
|
|
603
603
|
|
|
604
|
+
/***/ }),
|
|
605
|
+
|
|
606
|
+
/***/ 60139:
|
|
607
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
608
|
+
|
|
609
|
+
"use strict";
|
|
610
|
+
var __webpack_unused_export__;
|
|
611
|
+
|
|
612
|
+
__webpack_unused_export__ = ({ value: true });
|
|
613
|
+
var EditOutline = {
|
|
614
|
+
name: 'edit',
|
|
615
|
+
theme: 'outline',
|
|
616
|
+
icon: {
|
|
617
|
+
tag: 'svg',
|
|
618
|
+
attrs: { viewBox: '64 64 896 896', focusable: false },
|
|
619
|
+
children: [
|
|
620
|
+
{
|
|
621
|
+
tag: 'path',
|
|
622
|
+
attrs: {
|
|
623
|
+
d: 'M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z'
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
]
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
exports.Z = EditOutline;
|
|
630
|
+
|
|
631
|
+
|
|
604
632
|
/***/ }),
|
|
605
633
|
|
|
606
634
|
/***/ 17209:
|
|
@@ -893,6 +921,34 @@ var LoadingOutline = {
|
|
|
893
921
|
exports.Z = LoadingOutline;
|
|
894
922
|
|
|
895
923
|
|
|
924
|
+
/***/ }),
|
|
925
|
+
|
|
926
|
+
/***/ 9785:
|
|
927
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
928
|
+
|
|
929
|
+
"use strict";
|
|
930
|
+
var __webpack_unused_export__;
|
|
931
|
+
|
|
932
|
+
__webpack_unused_export__ = ({ value: true });
|
|
933
|
+
var MenuOutline = {
|
|
934
|
+
name: 'menu',
|
|
935
|
+
theme: 'outline',
|
|
936
|
+
icon: {
|
|
937
|
+
tag: 'svg',
|
|
938
|
+
attrs: { viewBox: '64 64 896 896', focusable: false },
|
|
939
|
+
children: [
|
|
940
|
+
{
|
|
941
|
+
tag: 'path',
|
|
942
|
+
attrs: {
|
|
943
|
+
d: 'M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z'
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
]
|
|
947
|
+
}
|
|
948
|
+
};
|
|
949
|
+
exports.Z = MenuOutline;
|
|
950
|
+
|
|
951
|
+
|
|
896
952
|
/***/ }),
|
|
897
953
|
|
|
898
954
|
/***/ 47659:
|
|
@@ -9020,7 +9076,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
9020
9076
|
|
|
9021
9077
|
/***/ }),
|
|
9022
9078
|
|
|
9023
|
-
/***/
|
|
9079
|
+
/***/ 1933:
|
|
9024
9080
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9025
9081
|
|
|
9026
9082
|
"use strict";
|
|
@@ -9040,7 +9096,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
9040
9096
|
var es_regexp_exec = __webpack_require__(74916);
|
|
9041
9097
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
9042
9098
|
var es_string_replace = __webpack_require__(15306);
|
|
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=
|
|
9099
|
+
;// 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=af700224&
|
|
9044
9100
|
|
|
9045
9101
|
|
|
9046
9102
|
|
|
@@ -9421,7 +9477,7 @@ var render = function render() {
|
|
|
9421
9477
|
};
|
|
9422
9478
|
var staticRenderFns = [];
|
|
9423
9479
|
|
|
9424
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9480
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=af700224&
|
|
9425
9481
|
|
|
9426
9482
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9427
9483
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -11468,6 +11524,8 @@ var type = __webpack_require__(41542);
|
|
|
11468
11524
|
// 互斥参数
|
|
11469
11525
|
isAllowMultiSelect: false,
|
|
11470
11526
|
// 多选参数
|
|
11527
|
+
isMultiLinesDisplay: false,
|
|
11528
|
+
// 多行显示
|
|
11471
11529
|
insCheckSyncUpdateList: false,
|
|
11472
11530
|
// 检验检查参数
|
|
11473
11531
|
input: '',
|
|
@@ -11561,12 +11619,12 @@ var type = __webpack_require__(41542);
|
|
|
11561
11619
|
if (currentPoperNode instanceof DownListNode/* DownListNode */.yF) {
|
|
11562
11620
|
selectedString = currentPoperNode.keyValue ? currentPoperNode.keyValue.split(',') : [];
|
|
11563
11621
|
this.mutexSelect = currentPoperNode.mutexSelect;
|
|
11564
|
-
this.isAllowMultiSelect = currentPoperNode.
|
|
11622
|
+
this.isAllowMultiSelect = currentPoperNode.allowMultiSelect;
|
|
11565
11623
|
} else if (currentPoperNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
11566
11624
|
selectedString = currentPoperNode.keyValue ? currentPoperNode.keyValue.split(',') : [];
|
|
11567
11625
|
this.mutexSelect = currentPoperNode.downListProperty.mutexSelect ? true : false;
|
|
11568
11626
|
this.isAllowMultiSelect = currentPoperNode.downListProperty.allowMultiSelected;
|
|
11569
|
-
;
|
|
11627
|
+
this.isMultiLinesDisplay = currentPoperNode.downListProperty.isMultiLinesDisplay;
|
|
11570
11628
|
this.insCheckSyncUpdateList = currentPoperNode.insCheckSyncUpdateList;
|
|
11571
11629
|
}
|
|
11572
11630
|
(_this$poperSelectList = this.poperSelectList) === null || _this$poperSelectList === void 0 ? void 0 : _this$poperSelectList.forEach(function (v, index) {
|
|
@@ -11576,7 +11634,9 @@ var type = __webpack_require__(41542);
|
|
|
11576
11634
|
return v.id == m;
|
|
11577
11635
|
}).length === 1) {
|
|
11578
11636
|
v.selected = true;
|
|
11579
|
-
if (_this.isAllowMultiSelect && _this.poperSelectList.length >= 20) {
|
|
11637
|
+
if (_this.isAllowMultiSelect && !_this.insCheckSyncUpdateList && _this.poperSelectList.length >= 20) {
|
|
11638
|
+
_this.selectedList[selectedString.indexOf(v.id)] = v;
|
|
11639
|
+
} else if (_this.isAllowMultiSelect && _this.insCheckSyncUpdateList) {
|
|
11580
11640
|
_this.selectedList[selectedString.indexOf(v.id)] = v;
|
|
11581
11641
|
}
|
|
11582
11642
|
_this.mutexType = String(v.type);
|
|
@@ -11920,6 +11980,9 @@ var type = __webpack_require__(41542);
|
|
|
11920
11980
|
text += v.text + ',';
|
|
11921
11981
|
textArr.push(v.text);
|
|
11922
11982
|
}
|
|
11983
|
+
if (_this8.isAllowMultiSelect && _this8.isMultiLinesDisplay && !_this8.mutexSelect) {
|
|
11984
|
+
text += '\n';
|
|
11985
|
+
}
|
|
11923
11986
|
keyValue += v.id + ',';
|
|
11924
11987
|
String(v.value) && (value += v.value + ',');
|
|
11925
11988
|
} else {
|
|
@@ -11970,7 +12033,7 @@ var type = __webpack_require__(41542);
|
|
|
11970
12033
|
// hoEditorFactory.vueController.updateTextInputField(this.textParam);
|
|
11971
12034
|
// console.log(text, value, keyValue, this.selectedList);
|
|
11972
12035
|
// hoEditorFactory.vueController.updateTextInputField(this.textParam);
|
|
11973
|
-
var checkText =
|
|
12036
|
+
var checkText = '<span>' + textArr.join('') + '</span>';
|
|
11974
12037
|
hoEditorFactory.vueController.insertHtmlText(checkText, checkText, keyValue, this.selectedList, true);
|
|
11975
12038
|
} else {
|
|
11976
12039
|
var customProperty = this.getCustomProperty ? this.getCustomProperty() : {};
|
|
@@ -12026,10 +12089,10 @@ var type = __webpack_require__(41542);
|
|
|
12026
12089
|
});
|
|
12027
12090
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
12028
12091
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
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=
|
|
12092
|
+
;// 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=af700224&prod&lang=scss&
|
|
12030
12093
|
// extracted by mini-css-extract-plugin
|
|
12031
12094
|
|
|
12032
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12095
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=af700224&prod&lang=scss&
|
|
12033
12096
|
|
|
12034
12097
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
12035
12098
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -13953,7 +14016,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13953
14016
|
|
|
13954
14017
|
/***/ }),
|
|
13955
14018
|
|
|
13956
|
-
/***/
|
|
14019
|
+
/***/ 59075:
|
|
13957
14020
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13958
14021
|
|
|
13959
14022
|
"use strict";
|
|
@@ -13971,7 +14034,7 @@ var es_function_name = __webpack_require__(68309);
|
|
|
13971
14034
|
var es_array_includes = __webpack_require__(26699);
|
|
13972
14035
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
13973
14036
|
var es_string_includes = __webpack_require__(32023);
|
|
13974
|
-
;// 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/selectDialog/SelectDialog.vue?vue&type=template&id=
|
|
14037
|
+
;// 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/selectDialog/SelectDialog.vue?vue&type=template&id=2f7f2042&
|
|
13975
14038
|
|
|
13976
14039
|
|
|
13977
14040
|
|
|
@@ -14079,7 +14142,7 @@ var render = function render() {
|
|
|
14079
14142
|
staticClass: "control-item"
|
|
14080
14143
|
}, [_c('div', {
|
|
14081
14144
|
staticStyle: {
|
|
14082
|
-
"
|
|
14145
|
+
"flex": "1"
|
|
14083
14146
|
}
|
|
14084
14147
|
}, [_c('a-checkbox', {
|
|
14085
14148
|
model: {
|
|
@@ -14091,7 +14154,7 @@ var render = function render() {
|
|
|
14091
14154
|
}
|
|
14092
14155
|
}, [_vm._v("内容只读")])], 1), _c('div', {
|
|
14093
14156
|
staticStyle: {
|
|
14094
|
-
"
|
|
14157
|
+
"flex": "1"
|
|
14095
14158
|
}
|
|
14096
14159
|
}, [_c('a-checkbox', {
|
|
14097
14160
|
model: {
|
|
@@ -14103,7 +14166,7 @@ var render = function render() {
|
|
|
14103
14166
|
}
|
|
14104
14167
|
}, [_vm._v("允许删除")])], 1), _c('div', {
|
|
14105
14168
|
staticStyle: {
|
|
14106
|
-
"
|
|
14169
|
+
"flex": "1"
|
|
14107
14170
|
}
|
|
14108
14171
|
}, [_c('a-checkbox', {
|
|
14109
14172
|
on: {
|
|
@@ -14118,32 +14181,32 @@ var render = function render() {
|
|
|
14118
14181
|
}
|
|
14119
14182
|
}, [_vm._v("允许多选")])], 1), _c('div', {
|
|
14120
14183
|
staticStyle: {
|
|
14121
|
-
"
|
|
14184
|
+
"flex": "1"
|
|
14122
14185
|
}
|
|
14123
14186
|
}, [_c('a-checkbox', {
|
|
14187
|
+
attrs: {
|
|
14188
|
+
"disabled": !_vm.allowMultiSelect
|
|
14189
|
+
},
|
|
14124
14190
|
model: {
|
|
14125
|
-
value: _vm.
|
|
14191
|
+
value: _vm.mutexSelect,
|
|
14126
14192
|
callback: function callback($$v) {
|
|
14127
|
-
_vm.
|
|
14193
|
+
_vm.mutexSelect = $$v;
|
|
14128
14194
|
},
|
|
14129
|
-
expression: "
|
|
14195
|
+
expression: "mutexSelect"
|
|
14130
14196
|
}
|
|
14131
|
-
}, [_vm._v("
|
|
14197
|
+
}, [_vm._v("选项互斥")])], 1), _c('div', {
|
|
14132
14198
|
staticStyle: {
|
|
14133
|
-
"
|
|
14199
|
+
"flex": "1"
|
|
14134
14200
|
}
|
|
14135
14201
|
}, [_c('a-checkbox', {
|
|
14136
|
-
attrs: {
|
|
14137
|
-
"disabled": !_vm.allowMultiSelect
|
|
14138
|
-
},
|
|
14139
14202
|
model: {
|
|
14140
|
-
value: _vm.
|
|
14203
|
+
value: _vm.readType,
|
|
14141
14204
|
callback: function callback($$v) {
|
|
14142
|
-
_vm.
|
|
14205
|
+
_vm.readType = $$v;
|
|
14143
14206
|
},
|
|
14144
|
-
expression: "
|
|
14207
|
+
expression: "readType"
|
|
14145
14208
|
}
|
|
14146
|
-
}, [_vm._v("
|
|
14209
|
+
}, [_vm._v("自动回填")])], 1)]), _c('li', {
|
|
14147
14210
|
staticClass: "control-item"
|
|
14148
14211
|
}, [_c('a-table', {
|
|
14149
14212
|
staticStyle: {
|
|
@@ -14347,7 +14410,7 @@ var render = function render() {
|
|
|
14347
14410
|
};
|
|
14348
14411
|
var staticRenderFns = [];
|
|
14349
14412
|
|
|
14350
|
-
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=
|
|
14413
|
+
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=2f7f2042&
|
|
14351
14414
|
|
|
14352
14415
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
14353
14416
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -14406,6 +14469,7 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
14406
14469
|
isReadOnly: false,
|
|
14407
14470
|
mutexSelect: false,
|
|
14408
14471
|
allowMultiSelect: false,
|
|
14472
|
+
isMultiLinesDisplay: false,
|
|
14409
14473
|
downListContent: [],
|
|
14410
14474
|
innerIdentifier: '',
|
|
14411
14475
|
dataMetaIdentifier: '',
|
|
@@ -14697,10 +14761,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
14697
14761
|
});
|
|
14698
14762
|
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=js&
|
|
14699
14763
|
/* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_js_ = (SelectDialogvue_type_script_lang_js_);
|
|
14700
|
-
;// 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/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
14764
|
+
;// 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/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=2f7f2042&prod&lang=scss&
|
|
14701
14765
|
// extracted by mini-css-extract-plugin
|
|
14702
14766
|
|
|
14703
|
-
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
14767
|
+
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=2f7f2042&prod&lang=scss&
|
|
14704
14768
|
|
|
14705
14769
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
14706
14770
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -14728,7 +14792,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
14728
14792
|
|
|
14729
14793
|
/***/ }),
|
|
14730
14794
|
|
|
14731
|
-
/***/
|
|
14795
|
+
/***/ 1887:
|
|
14732
14796
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14733
14797
|
|
|
14734
14798
|
"use strict";
|
|
@@ -14742,7 +14806,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14742
14806
|
|
|
14743
14807
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
14744
14808
|
var es_function_name = __webpack_require__(68309);
|
|
14745
|
-
;// 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/sign/Sign.vue?vue&type=template&id=
|
|
14809
|
+
;// 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/sign/Sign.vue?vue&type=template&id=9dadbbea&
|
|
14746
14810
|
|
|
14747
14811
|
var render = function render() {
|
|
14748
14812
|
var _vm = this,
|
|
@@ -15096,7 +15160,7 @@ var render = function render() {
|
|
|
15096
15160
|
};
|
|
15097
15161
|
var staticRenderFns = [];
|
|
15098
15162
|
|
|
15099
|
-
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=
|
|
15163
|
+
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=9dadbbea&
|
|
15100
15164
|
|
|
15101
15165
|
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/message/style/index.js + 1 modules
|
|
15102
15166
|
var style = __webpack_require__(94310);
|
|
@@ -15233,7 +15297,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
15233
15297
|
return customFormat.includes(v);
|
|
15234
15298
|
}).length === 0) {
|
|
15235
15299
|
message/* default.warning */.Z.warning({
|
|
15236
|
-
|
|
15300
|
+
content: "至少需要插入'<医师姓名>', '<医师职称>', '<医师工号>', '<签名时间>'中的一种",
|
|
15237
15301
|
duration: 3000,
|
|
15238
15302
|
offset: 120
|
|
15239
15303
|
});
|
|
@@ -15247,7 +15311,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
15247
15311
|
return v === customFormat.slice(1, customFormat.length - 1);
|
|
15248
15312
|
}).length > 0) {
|
|
15249
15313
|
message/* default.warning */.Z.warning({
|
|
15250
|
-
|
|
15314
|
+
content: '签名格式已存在无需插入,已自动选中',
|
|
15251
15315
|
duration: 3000,
|
|
15252
15316
|
offset: 120
|
|
15253
15317
|
});
|
|
@@ -15289,10 +15353,10 @@ var SignNode = __webpack_require__(24701);
|
|
|
15289
15353
|
});
|
|
15290
15354
|
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=script&lang=js&
|
|
15291
15355
|
/* harmony default export */ var sign_Signvue_type_script_lang_js_ = (Signvue_type_script_lang_js_);
|
|
15292
|
-
;// 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/sign/Sign.vue?vue&type=style&index=0&id=
|
|
15356
|
+
;// 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/sign/Sign.vue?vue&type=style&index=0&id=9dadbbea&prod&lang=scss&
|
|
15293
15357
|
// extracted by mini-css-extract-plugin
|
|
15294
15358
|
|
|
15295
|
-
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=
|
|
15359
|
+
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=9dadbbea&prod&lang=scss&
|
|
15296
15360
|
|
|
15297
15361
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
15298
15362
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20012,7 +20076,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20012
20076
|
|
|
20013
20077
|
/***/ }),
|
|
20014
20078
|
|
|
20015
|
-
/***/
|
|
20079
|
+
/***/ 94535:
|
|
20016
20080
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20017
20081
|
|
|
20018
20082
|
"use strict";
|
|
@@ -20026,7 +20090,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20026
20090
|
|
|
20027
20091
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
20028
20092
|
var es_function_name = __webpack_require__(68309);
|
|
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=
|
|
20093
|
+
;// 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=51bd6486&
|
|
20030
20094
|
|
|
20031
20095
|
var render = function render() {
|
|
20032
20096
|
var _vm = this,
|
|
@@ -20222,7 +20286,20 @@ var render = function render() {
|
|
|
20222
20286
|
}
|
|
20223
20287
|
}, [_vm._v("允许多选")]), _c('a-checkbox', {
|
|
20224
20288
|
attrs: {
|
|
20225
|
-
"size": "small"
|
|
20289
|
+
"size": "small",
|
|
20290
|
+
"disabled": !_vm.textParam.downListProperty.allowMultiSelected
|
|
20291
|
+
},
|
|
20292
|
+
model: {
|
|
20293
|
+
value: _vm.textParam.downListProperty.isMultiLinesDisplay,
|
|
20294
|
+
callback: function callback($$v) {
|
|
20295
|
+
_vm.$set(_vm.textParam.downListProperty, "isMultiLinesDisplay", $$v);
|
|
20296
|
+
},
|
|
20297
|
+
expression: "textParam.downListProperty.isMultiLinesDisplay"
|
|
20298
|
+
}
|
|
20299
|
+
}, [_vm._v("多行显示")]), _c('a-checkbox', {
|
|
20300
|
+
attrs: {
|
|
20301
|
+
"size": "small",
|
|
20302
|
+
"disabled": !_vm.textParam.downListProperty.allowMultiSelected
|
|
20226
20303
|
},
|
|
20227
20304
|
model: {
|
|
20228
20305
|
value: _vm.textParam.downListProperty.mutexSelect,
|
|
@@ -20357,9 +20434,20 @@ var render = function render() {
|
|
|
20357
20434
|
}
|
|
20358
20435
|
}), _c('span', {
|
|
20359
20436
|
staticStyle: {
|
|
20360
|
-
"padding
|
|
20437
|
+
"padding": "0 10px"
|
|
20438
|
+
}
|
|
20439
|
+
}, [_vm._v("厘米")]), _c('a-checkbox', {
|
|
20440
|
+
attrs: {
|
|
20441
|
+
"size": "small"
|
|
20442
|
+
},
|
|
20443
|
+
model: {
|
|
20444
|
+
value: _vm.textParam.isCentered,
|
|
20445
|
+
callback: function callback($$v) {
|
|
20446
|
+
_vm.$set(_vm.textParam, "isCentered", $$v);
|
|
20447
|
+
},
|
|
20448
|
+
expression: "textParam.isCentered"
|
|
20361
20449
|
}
|
|
20362
|
-
}, [_vm._v("
|
|
20450
|
+
}, [_vm._v("居中显示")])], 1), _c('li', {
|
|
20363
20451
|
staticClass: "line"
|
|
20364
20452
|
}), _c('li', {
|
|
20365
20453
|
staticClass: "control-item"
|
|
@@ -20468,7 +20556,7 @@ var render = function render() {
|
|
|
20468
20556
|
};
|
|
20469
20557
|
var staticRenderFns = [];
|
|
20470
20558
|
|
|
20471
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
20559
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=51bd6486&
|
|
20472
20560
|
|
|
20473
20561
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
20474
20562
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -20696,10 +20784,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
20696
20784
|
});
|
|
20697
20785
|
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
|
|
20698
20786
|
/* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
|
|
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=
|
|
20787
|
+
;// 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=51bd6486&prod&lang=scss&
|
|
20700
20788
|
// extracted by mini-css-extract-plugin
|
|
20701
20789
|
|
|
20702
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
20790
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=51bd6486&prod&lang=scss&
|
|
20703
20791
|
|
|
20704
20792
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20705
20793
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -25578,6 +25666,7 @@ __webpack_require__.d(icons_namespaceObject, {
|
|
|
25578
25666
|
"CloseOutline": function() { return CloseOutline/* default */.Z; },
|
|
25579
25667
|
"DeleteOutline": function() { return DeleteOutline/* default */.Z; },
|
|
25580
25668
|
"DownOutline": function() { return DownOutline/* default */.Z; },
|
|
25669
|
+
"EditOutline": function() { return EditOutline/* default */.Z; },
|
|
25581
25670
|
"ExclamationCircleFill": function() { return ExclamationCircleFill/* default */.Z; },
|
|
25582
25671
|
"ExclamationCircleOutline": function() { return ExclamationCircleOutline/* default */.Z; },
|
|
25583
25672
|
"EyeOutline": function() { return EyeOutline/* default */.Z; },
|
|
@@ -25590,6 +25679,7 @@ __webpack_require__.d(icons_namespaceObject, {
|
|
|
25590
25679
|
"InfoCircleOutline": function() { return InfoCircleOutline/* default */.Z; },
|
|
25591
25680
|
"LeftOutline": function() { return LeftOutline/* default */.Z; },
|
|
25592
25681
|
"LoadingOutline": function() { return LoadingOutline/* default */.Z; },
|
|
25682
|
+
"MenuOutline": function() { return MenuOutline/* default */.Z; },
|
|
25593
25683
|
"PaperClipOutline": function() { return PaperClipOutline/* default */.Z; },
|
|
25594
25684
|
"PictureOutline": function() { return PictureOutline/* default */.Z; },
|
|
25595
25685
|
"PlusCircleOutline": function() { return PlusCircleOutline/* default */.Z; },
|
|
@@ -25682,6 +25772,10 @@ var InfoCircleFill = __webpack_require__(67392);
|
|
|
25682
25772
|
var CloseCircleFill = __webpack_require__(44950);
|
|
25683
25773
|
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/lib/fill/ExclamationCircleFill.js
|
|
25684
25774
|
var ExclamationCircleFill = __webpack_require__(23454);
|
|
25775
|
+
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/lib/outline/MenuOutline.js
|
|
25776
|
+
var MenuOutline = __webpack_require__(9785);
|
|
25777
|
+
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/lib/outline/EditOutline.js
|
|
25778
|
+
var EditOutline = __webpack_require__(60139);
|
|
25685
25779
|
;// CONCATENATED MODULE: ./src/plugins/icons.js
|
|
25686
25780
|
|
|
25687
25781
|
|
|
@@ -25715,6 +25809,8 @@ var ExclamationCircleFill = __webpack_require__(23454);
|
|
|
25715
25809
|
|
|
25716
25810
|
|
|
25717
25811
|
|
|
25812
|
+
|
|
25813
|
+
|
|
25718
25814
|
|
|
25719
25815
|
|
|
25720
25816
|
|
|
@@ -27907,6 +28003,258 @@ var commonParamList = new Map();
|
|
|
27907
28003
|
});
|
|
27908
28004
|
|
|
27909
28005
|
|
|
28006
|
+
/***/ }),
|
|
28007
|
+
|
|
28008
|
+
/***/ 94995:
|
|
28009
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28010
|
+
|
|
28011
|
+
"use strict";
|
|
28012
|
+
|
|
28013
|
+
// EXPORTS
|
|
28014
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
28015
|
+
"D": function() { return /* binding */ $Comment; }
|
|
28016
|
+
});
|
|
28017
|
+
|
|
28018
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
28019
|
+
var objectSpread2 = __webpack_require__(63442);
|
|
28020
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
28021
|
+
var es_object_to_string = __webpack_require__(41539);
|
|
28022
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
28023
|
+
var web_dom_collections_for_each = __webpack_require__(54747);
|
|
28024
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
28025
|
+
var es_array_from = __webpack_require__(91038);
|
|
28026
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
28027
|
+
var es_string_iterator = __webpack_require__(78783);
|
|
28028
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
28029
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(77203);
|
|
28030
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
28031
|
+
;// 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/common/comment/index.vue?vue&type=template&id=05424df4&
|
|
28032
|
+
var render = function render() {
|
|
28033
|
+
var _vm = this,
|
|
28034
|
+
_c = _vm._self._c;
|
|
28035
|
+
return _c('div', {
|
|
28036
|
+
style: {
|
|
28037
|
+
top: _vm.y + 'px'
|
|
28038
|
+
},
|
|
28039
|
+
attrs: {
|
|
28040
|
+
"id": "hoCommentBox"
|
|
28041
|
+
}
|
|
28042
|
+
}, [_c('a-dropdown', {
|
|
28043
|
+
attrs: {
|
|
28044
|
+
"trigger": ['click'],
|
|
28045
|
+
"placement": "bottomRight"
|
|
28046
|
+
}
|
|
28047
|
+
}, [_c('a', {
|
|
28048
|
+
staticClass: "ant-dropdown-link",
|
|
28049
|
+
on: {
|
|
28050
|
+
"click": function click(e) {
|
|
28051
|
+
return e.preventDefault();
|
|
28052
|
+
}
|
|
28053
|
+
}
|
|
28054
|
+
}, [_c('a-icon', {
|
|
28055
|
+
staticStyle: {
|
|
28056
|
+
"font-size": "19px",
|
|
28057
|
+
"color": "#0d53b6"
|
|
28058
|
+
},
|
|
28059
|
+
attrs: {
|
|
28060
|
+
"type": "menu"
|
|
28061
|
+
}
|
|
28062
|
+
})], 1), _c('a-menu', {
|
|
28063
|
+
attrs: {
|
|
28064
|
+
"slot": "overlay"
|
|
28065
|
+
},
|
|
28066
|
+
slot: "overlay"
|
|
28067
|
+
}, [_c('a-menu-item', {
|
|
28068
|
+
key: "0",
|
|
28069
|
+
on: {
|
|
28070
|
+
"click": function click($event) {
|
|
28071
|
+
return _vm.commentMenuClick('update');
|
|
28072
|
+
}
|
|
28073
|
+
}
|
|
28074
|
+
}, [_c('a-icon', {
|
|
28075
|
+
staticStyle: {
|
|
28076
|
+
"font-size": "19px",
|
|
28077
|
+
"color": "#0d53b6",
|
|
28078
|
+
"transform": "translateY(2px)"
|
|
28079
|
+
},
|
|
28080
|
+
attrs: {
|
|
28081
|
+
"type": "edit"
|
|
28082
|
+
}
|
|
28083
|
+
}), _vm._v("编辑批注")], 1), _c('a-menu-item', {
|
|
28084
|
+
key: "1",
|
|
28085
|
+
on: {
|
|
28086
|
+
"click": function click($event) {
|
|
28087
|
+
return _vm.commentMenuClick('delete');
|
|
28088
|
+
}
|
|
28089
|
+
}
|
|
28090
|
+
}, [_c('a-icon', {
|
|
28091
|
+
staticStyle: {
|
|
28092
|
+
"font-size": "19px",
|
|
28093
|
+
"color": "#f00",
|
|
28094
|
+
"transform": "translateY(2px)"
|
|
28095
|
+
},
|
|
28096
|
+
attrs: {
|
|
28097
|
+
"type": "close"
|
|
28098
|
+
}
|
|
28099
|
+
}), _vm._v("删除批注")], 1)], 1)], 1)], 1);
|
|
28100
|
+
};
|
|
28101
|
+
var staticRenderFns = [];
|
|
28102
|
+
|
|
28103
|
+
// EXTERNAL MODULE: ./src/components/common/commondata/index.ts
|
|
28104
|
+
var commondata = __webpack_require__(76285);
|
|
28105
|
+
;// 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/common/comment/index.vue?vue&type=script&lang=js&
|
|
28106
|
+
|
|
28107
|
+
/* harmony default export */ var commentvue_type_script_lang_js_ = ({
|
|
28108
|
+
data: function data() {
|
|
28109
|
+
return {
|
|
28110
|
+
height: 0,
|
|
28111
|
+
pageIndex: 0,
|
|
28112
|
+
visible: false,
|
|
28113
|
+
width: 0,
|
|
28114
|
+
x: 0,
|
|
28115
|
+
y: 0
|
|
28116
|
+
};
|
|
28117
|
+
},
|
|
28118
|
+
mounted: function mounted() {},
|
|
28119
|
+
methods: {
|
|
28120
|
+
commentMenuClick: function commentMenuClick(type) {
|
|
28121
|
+
if (type == 'update') {
|
|
28122
|
+
commondata/* CommonData.instance */.G.instance().modalStatusObject.type = 'comment';
|
|
28123
|
+
commondata/* CommonData.instance */.G.instance().modalStatusObject.operate = 'update';
|
|
28124
|
+
} else if (type === 'delete') {
|
|
28125
|
+
commondata/* CommonData.instance */.G.instance().modalStatusObject.type = 'comment';
|
|
28126
|
+
commondata/* CommonData.instance */.G.instance().modalStatusObject.operate = 'delete';
|
|
28127
|
+
}
|
|
28128
|
+
}
|
|
28129
|
+
}
|
|
28130
|
+
});
|
|
28131
|
+
;// CONCATENATED MODULE: ./src/components/common/comment/index.vue?vue&type=script&lang=js&
|
|
28132
|
+
/* harmony default export */ var common_commentvue_type_script_lang_js_ = (commentvue_type_script_lang_js_);
|
|
28133
|
+
;// 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/common/comment/index.vue?vue&type=style&index=0&id=05424df4&prod&lang=css&
|
|
28134
|
+
// extracted by mini-css-extract-plugin
|
|
28135
|
+
|
|
28136
|
+
;// CONCATENATED MODULE: ./src/components/common/comment/index.vue?vue&type=style&index=0&id=05424df4&prod&lang=css&
|
|
28137
|
+
|
|
28138
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
28139
|
+
var componentNormalizer = __webpack_require__(70713);
|
|
28140
|
+
;// CONCATENATED MODULE: ./src/components/common/comment/index.vue
|
|
28141
|
+
|
|
28142
|
+
|
|
28143
|
+
|
|
28144
|
+
;
|
|
28145
|
+
|
|
28146
|
+
|
|
28147
|
+
/* normalize component */
|
|
28148
|
+
|
|
28149
|
+
var component = (0,componentNormalizer/* default */.Z)(
|
|
28150
|
+
common_commentvue_type_script_lang_js_,
|
|
28151
|
+
render,
|
|
28152
|
+
staticRenderFns,
|
|
28153
|
+
false,
|
|
28154
|
+
null,
|
|
28155
|
+
null,
|
|
28156
|
+
null
|
|
28157
|
+
|
|
28158
|
+
)
|
|
28159
|
+
|
|
28160
|
+
/* harmony default export */ var comment = (component.exports);
|
|
28161
|
+
;// CONCATENATED MODULE: ./src/components/common/comment/index.ts
|
|
28162
|
+
|
|
28163
|
+
|
|
28164
|
+
|
|
28165
|
+
|
|
28166
|
+
|
|
28167
|
+
|
|
28168
|
+
|
|
28169
|
+
var CommentConstructor = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend(comment); // 获取组件的构造函数
|
|
28170
|
+
// let $Comment: any = (options: CommentOptions) => {
|
|
28171
|
+
// // 组件的手动挂载:创建组件实例,挂载,添加在body上
|
|
28172
|
+
// let instance = new CommentConstructor({
|
|
28173
|
+
// data: {
|
|
28174
|
+
// ...options,
|
|
28175
|
+
// visible: true,
|
|
28176
|
+
// },
|
|
28177
|
+
// });
|
|
28178
|
+
// instance.$mount();
|
|
28179
|
+
// document.body.appendChild(instance.$el);
|
|
28180
|
+
// instance.visible = true;
|
|
28181
|
+
// };
|
|
28182
|
+
var createComment = function createComment(options) {
|
|
28183
|
+
// 组件的手动挂载:创建组件实例,挂载,添加在body上
|
|
28184
|
+
var instance = new CommentConstructor({
|
|
28185
|
+
data: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, options), {}, {
|
|
28186
|
+
visible: true
|
|
28187
|
+
})
|
|
28188
|
+
});
|
|
28189
|
+
instance.$mount();
|
|
28190
|
+
var editorBox = document.querySelectorAll(".edit-container")[options.pageIndex];
|
|
28191
|
+
if (editorBox) {
|
|
28192
|
+
editorBox.appendChild(instance.$el);
|
|
28193
|
+
} else {
|
|
28194
|
+
document.body.appendChild(instance.$el);
|
|
28195
|
+
}
|
|
28196
|
+
instance.visible = true;
|
|
28197
|
+
};
|
|
28198
|
+
var $Comment = {
|
|
28199
|
+
open: function open(options) {
|
|
28200
|
+
$Comment.close();
|
|
28201
|
+
return createComment(options);
|
|
28202
|
+
},
|
|
28203
|
+
close: function close() {
|
|
28204
|
+
var hoCommentBoxList = document.querySelectorAll('#hoCommentBox');
|
|
28205
|
+
if (hoCommentBoxList) {
|
|
28206
|
+
Array.from(hoCommentBoxList).forEach(function (hoCommentBox) {
|
|
28207
|
+
var _hoCommentBox$parentN;
|
|
28208
|
+
(_hoCommentBox$parentN = hoCommentBox.parentNode) === null || _hoCommentBox$parentN === void 0 ? void 0 : _hoCommentBox$parentN.removeChild(hoCommentBox);
|
|
28209
|
+
});
|
|
28210
|
+
}
|
|
28211
|
+
}
|
|
28212
|
+
};
|
|
28213
|
+
|
|
28214
|
+
|
|
28215
|
+
/***/ }),
|
|
28216
|
+
|
|
28217
|
+
/***/ 76285:
|
|
28218
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28219
|
+
|
|
28220
|
+
"use strict";
|
|
28221
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28222
|
+
/* harmony export */ "G": function() { return /* binding */ CommonData; }
|
|
28223
|
+
/* harmony export */ });
|
|
28224
|
+
/* 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);
|
|
28225
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(66298);
|
|
28226
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78255);
|
|
28227
|
+
|
|
28228
|
+
|
|
28229
|
+
|
|
28230
|
+
var CommonData = /*#__PURE__*/function () {
|
|
28231
|
+
function CommonData() {
|
|
28232
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, CommonData);
|
|
28233
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, "_modalStatusObject", void 0);
|
|
28234
|
+
}
|
|
28235
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(CommonData, [{
|
|
28236
|
+
key: "modalStatusObject",
|
|
28237
|
+
get: function get() {
|
|
28238
|
+
return this._modalStatusObject;
|
|
28239
|
+
},
|
|
28240
|
+
set: function set(value) {
|
|
28241
|
+
if (value !== this._modalStatusObject) {
|
|
28242
|
+
this._modalStatusObject = value;
|
|
28243
|
+
}
|
|
28244
|
+
}
|
|
28245
|
+
}], [{
|
|
28246
|
+
key: "instance",
|
|
28247
|
+
value: function instance() {
|
|
28248
|
+
if (!this._instance) {
|
|
28249
|
+
this._instance = new CommonData();
|
|
28250
|
+
}
|
|
28251
|
+
return this._instance;
|
|
28252
|
+
}
|
|
28253
|
+
}]);
|
|
28254
|
+
return CommonData;
|
|
28255
|
+
}();
|
|
28256
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(CommonData, "_instance", void 0);
|
|
28257
|
+
|
|
27910
28258
|
/***/ }),
|
|
27911
28259
|
|
|
27912
28260
|
/***/ 29247:
|
|
@@ -28035,6 +28383,7 @@ var textParams = {
|
|
|
28035
28383
|
tipText: "",
|
|
28036
28384
|
readOnlyStatus: _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__/* .ReadOnlyStatus["false"] */ .mK["false"],
|
|
28037
28385
|
fixedWidth: 0,
|
|
28386
|
+
isCentered: false,
|
|
28038
28387
|
canModifyContent: true,
|
|
28039
28388
|
isAllowDelete: false,
|
|
28040
28389
|
enableGlobalColor: false,
|
|
@@ -34927,10 +35276,9 @@ var Print = /*#__PURE__*/function () {
|
|
|
34927
35276
|
} 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
35277
|
var _window$top2, _window$top2$chrome;
|
|
34929
35278
|
(_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: '
|
|
35279
|
+
exec: 'printpdf',
|
|
34931
35280
|
data: {
|
|
34932
|
-
|
|
34933
|
-
pdf: PDF.output('datauristring')
|
|
35281
|
+
base64: PDF.output('datauristring').replace(/^data:application\/pdf;filename=generated.pdf;base64,/, '')
|
|
34934
35282
|
}
|
|
34935
35283
|
});
|
|
34936
35284
|
} else {
|
|
@@ -36885,9 +37233,6 @@ var DocController = /*#__PURE__*/function () {
|
|
|
36885
37233
|
// this.insertNodeByPath(textNode,this._curNodePosition.path);
|
|
36886
37234
|
hoEditorFactory.undoService.add(new _undoRedo_TextInsertUndoUnit__WEBPACK_IMPORTED_MODULE_28__/* .TextInsertUndoUnit */ .t(this._hoEditorFactoryID, node, path, text));
|
|
36887
37235
|
hoEditorFactory.undoService.commit();
|
|
36888
|
-
if (text) {
|
|
36889
|
-
hoEditorFactory.vueController.getCaretPreviousText();
|
|
36890
|
-
}
|
|
36891
37236
|
}
|
|
36892
37237
|
}, {
|
|
36893
37238
|
key: "procText",
|
|
@@ -37134,6 +37479,11 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37134
37479
|
});
|
|
37135
37480
|
});
|
|
37136
37481
|
});
|
|
37482
|
+
setTimeout(function () {
|
|
37483
|
+
if (text) {
|
|
37484
|
+
hoEditorFactory.vueController.getCaretPreviousText();
|
|
37485
|
+
}
|
|
37486
|
+
}, 0);
|
|
37137
37487
|
return;
|
|
37138
37488
|
}
|
|
37139
37489
|
}
|
|
@@ -37192,6 +37542,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37192
37542
|
if (keyValue === "Delete") {
|
|
37193
37543
|
this.deleteTextAfterPath(startPath);
|
|
37194
37544
|
}
|
|
37545
|
+
setTimeout(function () {
|
|
37546
|
+
hoEditorFactory.vueController.getCaretPreviousText();
|
|
37547
|
+
}, 0);
|
|
37195
37548
|
}
|
|
37196
37549
|
}
|
|
37197
37550
|
/**
|
|
@@ -38084,17 +38437,33 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38084
38437
|
if (Number(values["inputFieldType"]) === 1) {
|
|
38085
38438
|
if (node.keyValue !== "") {
|
|
38086
38439
|
node.childNodes.splice(1, node.childNodes.length - 2);
|
|
38087
|
-
var
|
|
38088
|
-
|
|
38089
|
-
|
|
38440
|
+
var text = values["text"];
|
|
38441
|
+
var textArr = text.split("\n");
|
|
38442
|
+
if (textArr.length == 1) {
|
|
38443
|
+
var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntText */ .Jq.ntText, text, hoEditorFactory.docTree.curStyleIndex);
|
|
38444
|
+
node.childNodes.splice(1, 0, textNode);
|
|
38445
|
+
} else {
|
|
38446
|
+
for (var i = 0; i < textArr.length; i++) {
|
|
38447
|
+
var atext = textArr[i];
|
|
38448
|
+
var atnode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntText */ .Jq.ntText, atext, hoEditorFactory.docTree.curStyleIndex);
|
|
38449
|
+
node.childNodes.splice(node.childNodes.length - 1, 0, atnode);
|
|
38450
|
+
if (i < textArr.length - 1) {
|
|
38451
|
+
var apnode = new _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_29__/* .ParagraphNode */ .C(this._hoEditorFactoryID, node.rootNodes, node, hoEditorFactory.docTree.curParaNo);
|
|
38452
|
+
node.childNodes.splice(node.childNodes.length - 1, 0, apnode);
|
|
38453
|
+
}
|
|
38454
|
+
}
|
|
38455
|
+
}
|
|
38456
|
+
changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node.childNodes[node.childNodes.length - 2]);
|
|
38090
38457
|
} else {
|
|
38091
38458
|
// ((node.childNodes2[1]) as MarkNode).text=node.name;
|
|
38092
38459
|
node.childNodes.splice(1, node.childNodes.length - 2);
|
|
38093
38460
|
node.childNodes.splice(1, 0, node.childNodes2[1]);
|
|
38461
|
+
ePath = node.childNodes[2].getNodePath();
|
|
38094
38462
|
changeEvent.afterChangePath = ePath;
|
|
38095
38463
|
}
|
|
38096
38464
|
} else {
|
|
38097
38465
|
//changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
38466
|
+
ePath = node.childNodes[node.childNodes.length - 1].getNodePath();
|
|
38098
38467
|
changeEvent.afterChangePath = ePath;
|
|
38099
38468
|
}
|
|
38100
38469
|
hoEditorFactory.docTree.change(changeEvent);
|
|
@@ -61187,7 +61556,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
61187
61556
|
/*
|
|
61188
61557
|
* @Author: your name
|
|
61189
61558
|
* @Date: 2020-11-03 15:17:54
|
|
61190
|
-
* @LastEditTime: 2023-
|
|
61559
|
+
* @LastEditTime: 2023-02-10 11:28:34
|
|
61191
61560
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
61192
61561
|
* @Description: In User Settings Edit
|
|
61193
61562
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -61621,6 +61990,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
61621
61990
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_tipText", '');
|
|
61622
61991
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_readOnlyStatus", ReadOnlyStatus.false);
|
|
61623
61992
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_fixedWidth", 0);
|
|
61993
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isCentered", false);
|
|
61624
61994
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_canModifyContent", true);
|
|
61625
61995
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isAllowDelete", true);
|
|
61626
61996
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_enableGlobalColor", true);
|
|
@@ -61793,6 +62163,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
61793
62163
|
//提示文本
|
|
61794
62164
|
//内容只读状态
|
|
61795
62165
|
//固定宽度(像素)
|
|
62166
|
+
//固定宽度时 文本是否居中显示
|
|
61796
62167
|
//用户可以直接编辑修改内容
|
|
61797
62168
|
//允许被删除
|
|
61798
62169
|
//启用全局文本颜色
|
|
@@ -62016,6 +62387,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62016
62387
|
this._fixedWidth = value;
|
|
62017
62388
|
}
|
|
62018
62389
|
}
|
|
62390
|
+
}, {
|
|
62391
|
+
key: "isCentered",
|
|
62392
|
+
get: function get() {
|
|
62393
|
+
return this._isCentered;
|
|
62394
|
+
},
|
|
62395
|
+
set: function set(value) {
|
|
62396
|
+
if (this._isCentered !== value) {
|
|
62397
|
+
this._isCentered = value;
|
|
62398
|
+
}
|
|
62399
|
+
}
|
|
62019
62400
|
}, {
|
|
62020
62401
|
key: "canModifyContent",
|
|
62021
62402
|
get: function get() {
|
|
@@ -62175,7 +62556,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62175
62556
|
* 内容为空,显示一个点位符
|
|
62176
62557
|
*/
|
|
62177
62558
|
var ph = 0;
|
|
62178
|
-
var needPaint = false;
|
|
62179
62559
|
var startPath = '';
|
|
62180
62560
|
var endPath = '';
|
|
62181
62561
|
var first = this.StartMarkNode;
|
|
@@ -62228,12 +62608,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62228
62608
|
}
|
|
62229
62609
|
|
|
62230
62610
|
var usedWidth = 0;
|
|
62611
|
+
var startMarkNode = this.StartMarkNode.drawNodes[0];
|
|
62612
|
+
var endMarkNode = this.EndMarkNode.drawNodes[0];
|
|
62231
62613
|
if (this.EndMarkNode.drawNodes.length > 0 && this.StartMarkNode.drawNodes.length > 0) {
|
|
62232
|
-
|
|
62614
|
+
if (!this.isCentered) {
|
|
62615
|
+
usedWidth = endMarkNode.x - startMarkNode.x;
|
|
62616
|
+
} else {
|
|
62617
|
+
usedWidth = endMarkNode.x - startMarkNode.x - startMarkNode.dWidth;
|
|
62618
|
+
}
|
|
62233
62619
|
}
|
|
62234
62620
|
var fixWidthPix = hoEditorFactory.unitConvert.mmConversionPx(this.fixedWidth * 10, true);
|
|
62235
62621
|
var maxEmptWidth = Math.min(this.getLeftWidth()[1], fixWidthPix);
|
|
62236
62622
|
var restWidth = maxEmptWidth - usedWidth;
|
|
62623
|
+
var firthWidth = 0;
|
|
62237
62624
|
var lastWidth = restWidth > 0 ? restWidth : 0;
|
|
62238
62625
|
this._text = this.getFieldText();
|
|
62239
62626
|
var pNode = this.parentNode;
|
|
@@ -62261,30 +62648,49 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62261
62648
|
//不空,还原
|
|
62262
62649
|
var bInSameLine = _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_27__/* .DrawLine.inSameLine */ .a.inSameLine(this.StartMarkNode.drawNodes[0], this.EndMarkNode.drawNodes[0]);
|
|
62263
62650
|
if (fixWidthPix == 0 || !bInSameLine || usedWidth >= maxEmptWidth) {
|
|
62264
|
-
|
|
62651
|
+
firthWidth = 0;
|
|
62652
|
+
lastWidth = 0;
|
|
62265
62653
|
} else {
|
|
62266
|
-
|
|
62654
|
+
if (!this.isCentered) {
|
|
62655
|
+
//文本靠左
|
|
62656
|
+
firthWidth = 0;
|
|
62657
|
+
lastWidth = maxEmptWidth - usedWidth;
|
|
62658
|
+
} else {
|
|
62659
|
+
//文本居中
|
|
62660
|
+
firthWidth = (maxEmptWidth - usedWidth) / 2;
|
|
62661
|
+
lastWidth = firthWidth;
|
|
62662
|
+
}
|
|
62267
62663
|
}
|
|
62268
|
-
if (
|
|
62269
|
-
last.width
|
|
62270
|
-
|
|
62271
|
-
|
|
62272
|
-
|
|
62664
|
+
if (!this.isCentered) {
|
|
62665
|
+
if (last.width != lastWidth) {
|
|
62666
|
+
last.width = lastWidth;
|
|
62667
|
+
var _prev = last.previousLeaf();
|
|
62668
|
+
if (!_prev) {
|
|
62669
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_31__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
62670
|
+
}
|
|
62671
|
+
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev);
|
|
62672
|
+
endPath = last.getNodePath();
|
|
62673
|
+
refresh(startPath, endPath);
|
|
62674
|
+
}
|
|
62675
|
+
} else {
|
|
62676
|
+
if (first.width != firthWidth || last.width != lastWidth) {
|
|
62677
|
+
first.width = firthWidth;
|
|
62678
|
+
last.width = lastWidth;
|
|
62679
|
+
var _prev2 = first.previousLeaf();
|
|
62680
|
+
if (!_prev2) {
|
|
62681
|
+
throw _editor_events_Exception__WEBPACK_IMPORTED_MODULE_31__/* .Exception.NodeNotFound */ .P.NodeNotFound();
|
|
62682
|
+
}
|
|
62683
|
+
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev2);
|
|
62684
|
+
endPath = last.getNodePath();
|
|
62685
|
+
refresh(startPath, endPath);
|
|
62686
|
+
hoEditorFactory.drawTree.moveCaretToPath(hoEditorFactory.docTree.curDomRange.startPath);
|
|
62273
62687
|
}
|
|
62274
|
-
startPath = hoEditorFactory.docTree.getNodeLastPath(_prev);
|
|
62275
|
-
endPath = hoEditorFactory.docTree.getNodeLastPath(last);
|
|
62276
|
-
needPaint = true;
|
|
62277
62688
|
}
|
|
62278
62689
|
}
|
|
62279
62690
|
if (this._text === '' && this.childNodes.length == 3) {
|
|
62280
62691
|
lastWidth -= this.childNodes[1].width;
|
|
62281
62692
|
lastWidth = lastWidth > 0 ? lastWidth : 0;
|
|
62282
62693
|
}
|
|
62283
|
-
if (needPaint) {
|
|
62284
|
-
// startPath = this.StartMarkNode.getNodePath();
|
|
62285
|
-
// endPath = this.EndMarkNode.getNodePath();
|
|
62286
|
-
refresh(startPath, endPath);
|
|
62287
|
-
}
|
|
62288
62694
|
// this.StartMarkNode.paintMark(true)
|
|
62289
62695
|
// this.EndMarkNode.paintMark(true)
|
|
62290
62696
|
}
|
|
@@ -62620,24 +63026,41 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62620
63026
|
var maxEmptWidth = Math.min(restWidth, fixWidthPix);
|
|
62621
63027
|
var usedWidth = 0;
|
|
62622
63028
|
if (aline.drawItems.length > 0) {
|
|
62623
|
-
|
|
63029
|
+
var sDrawMarkNode = this.StartMarkNode.drawNodes[0];
|
|
63030
|
+
if (!this.isCentered) {
|
|
63031
|
+
usedWidth = aline.drawItems[aline.drawItems.length - 1].x + aline.drawItems[aline.drawItems.length - 1].dWidth - sDrawMarkNode.x; //aline.drawItems[start].x;
|
|
63032
|
+
} else {
|
|
63033
|
+
usedWidth = aline.drawItems[aline.drawItems.length - 1].x + aline.drawItems[aline.drawItems.length - 1].dWidth - sDrawMarkNode.x - sDrawMarkNode.dWidth;
|
|
63034
|
+
}
|
|
62624
63035
|
}
|
|
62625
|
-
|
|
63036
|
+
var firthWidth = 0;
|
|
62626
63037
|
var lastWidth = 0;
|
|
62627
|
-
if (fixWidthPix == 0 || usedWidth >= maxEmptWidth)
|
|
62628
|
-
lastWidth =
|
|
62629
|
-
|
|
62630
|
-
|
|
62631
|
-
|
|
62632
|
-
|
|
63038
|
+
if (fixWidthPix == 0 || usedWidth >= maxEmptWidth) {
|
|
63039
|
+
lastWidth = 0;
|
|
63040
|
+
firthWidth = 0;
|
|
63041
|
+
} else {
|
|
63042
|
+
if (!this.isCentered) {
|
|
63043
|
+
//文本靠左
|
|
63044
|
+
firthWidth = 0;
|
|
63045
|
+
lastWidth = maxEmptWidth - usedWidth;
|
|
63046
|
+
} else {
|
|
63047
|
+
//文本靠左
|
|
63048
|
+
firthWidth = (maxEmptWidth - usedWidth) / 2;
|
|
63049
|
+
lastWidth = firthWidth;
|
|
63050
|
+
}
|
|
63051
|
+
}
|
|
63052
|
+
if (this.StartMarkNode.width != firthWidth) {
|
|
63053
|
+
var aindex = aline.drawItems.indexOf(this.StartMarkNode.drawNodes[0]);
|
|
63054
|
+
this.StartMarkNode.width = firthWidth;
|
|
63055
|
+
this.StartMarkNode.drawNodes[0].dWidth = firthWidth;
|
|
63056
|
+
aline.drawItems[aindex] = this.StartMarkNode.drawNodes[0];
|
|
62633
63057
|
}
|
|
62634
|
-
|
|
62635
63058
|
if (this.EndMarkNode.width != lastWidth) {
|
|
62636
63059
|
this.EndMarkNode.width = lastWidth;
|
|
62637
63060
|
}
|
|
62638
63061
|
}
|
|
62639
63062
|
if (isEnd) {
|
|
62640
|
-
this.EndMarkNode.node2DrawNode();
|
|
63063
|
+
//this.EndMarkNode.node2DrawNode();
|
|
62641
63064
|
aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
|
|
62642
63065
|
}
|
|
62643
63066
|
return aline.paragraphNode.getLastDrawline();
|
|
@@ -62927,6 +63350,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62927
63350
|
labelText: this.labelText,
|
|
62928
63351
|
readOnlyStatus: this.readOnlyStatus,
|
|
62929
63352
|
fixedWidth: this.fixedWidth,
|
|
63353
|
+
isCentered: this.isCentered,
|
|
62930
63354
|
canModifyContent: this.canModifyContent,
|
|
62931
63355
|
isAllowDelete: this.isAllowDelete,
|
|
62932
63356
|
enableGlobalColor: this.enableGlobalColor,
|
|
@@ -62962,6 +63386,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
62962
63386
|
labelText: this.labelText,
|
|
62963
63387
|
readOnlyStatus: this.readOnlyStatus,
|
|
62964
63388
|
fixedWidth: this.fixedWidth,
|
|
63389
|
+
isCentered: this.isCentered,
|
|
62965
63390
|
canModifyContent: this.canModifyContent,
|
|
62966
63391
|
isAllowDelete: this.isAllowDelete,
|
|
62967
63392
|
enableGlobalColor: this.enableGlobalColor,
|
|
@@ -63052,8 +63477,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
63052
63477
|
json.isAllowDelete = !json.isAllowDelete ? false : json.isAllowDelete;
|
|
63053
63478
|
json.enableGlobalColor = !json.enableGlobalColor ? false : json.enableGlobalColor;
|
|
63054
63479
|
json.fixedWidth = Number(json.fixedWidth);
|
|
63480
|
+
json.isCentered = !json.isCentered ? false : json.isCentered;
|
|
63055
63481
|
json.inputFieldType = InputFieldType[json.inputFieldType];
|
|
63056
63482
|
json.downListProperty._allowMultiSelected = json.downListProperty.allowMultiSelected ? json.downListProperty.allowMultiSelected : json.downListProperty._allowMultiSelected;
|
|
63483
|
+
json.downListProperty._isMultiLinesDisplay = json.downListProperty._isMultiLinesDisplay;
|
|
63057
63484
|
json.alignWithBlocked = !json.alignWithBlocked ? false : json.alignWithBlocked;
|
|
63058
63485
|
json.isSynchro = !json.isSynchro ? false : json.isSynchro;
|
|
63059
63486
|
json.readType = json.readType ? Number(json.readType) : -1;
|
|
@@ -65971,11 +66398,11 @@ var StagePosition = /*#__PURE__*/function () {
|
|
|
65971
66398
|
/* harmony export */ "l": function() { return /* binding */ DrawArea; }
|
|
65972
66399
|
/* harmony export */ });
|
|
65973
66400
|
/* 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);
|
|
65974
|
-
/* harmony import */ var
|
|
66401
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(66298);
|
|
65975
66402
|
/* 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);
|
|
65976
66403
|
/* 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);
|
|
65977
66404
|
/* 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);
|
|
65978
|
-
/* harmony import */ var
|
|
66405
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(78255);
|
|
65979
66406
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66992);
|
|
65980
66407
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
65981
66408
|
/* harmony import */ var core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(51532);
|
|
@@ -66004,6 +66431,8 @@ var StagePosition = /*#__PURE__*/function () {
|
|
|
66004
66431
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(74089);
|
|
66005
66432
|
/* harmony import */ var _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(5010);
|
|
66006
66433
|
/* harmony import */ var _drawNode_DrawPageCell__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(59105);
|
|
66434
|
+
/* harmony import */ var _components_common_comment__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(94995);
|
|
66435
|
+
|
|
66007
66436
|
|
|
66008
66437
|
|
|
66009
66438
|
|
|
@@ -66028,7 +66457,6 @@ var StagePosition = /*#__PURE__*/function () {
|
|
|
66028
66457
|
|
|
66029
66458
|
|
|
66030
66459
|
|
|
66031
|
-
// import { $Comment } from "@/components/common/comment"
|
|
66032
66460
|
var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
66033
66461
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(DrawArea, _DrawRect);
|
|
66034
66462
|
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);
|
|
@@ -66036,21 +66464,21 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
66036
66464
|
var _this;
|
|
66037
66465
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawArea);
|
|
66038
66466
|
_this = _super.call(this, rootPath, index);
|
|
66039
|
-
(0,
|
|
66040
|
-
(0,
|
|
66041
|
-
(0,
|
|
66042
|
-
(0,
|
|
66043
|
-
(0,
|
|
66044
|
-
(0,
|
|
66045
|
-
(0,
|
|
66046
|
-
(0,
|
|
66047
|
-
(0,
|
|
66048
|
-
(0,
|
|
66049
|
-
(0,
|
|
66050
|
-
(0,
|
|
66051
|
-
(0,
|
|
66052
|
-
(0,
|
|
66053
|
-
(0,
|
|
66467
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_dHeight", void 0);
|
|
66468
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_maxHeight", void 0);
|
|
66469
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_docWidth", void 0);
|
|
66470
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_docHeight", void 0);
|
|
66471
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_usedHeight", void 0);
|
|
66472
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_endDline", void 0);
|
|
66473
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_bottomDline", void 0);
|
|
66474
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_topDline", void 0);
|
|
66475
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_lastDrawLine", void 0);
|
|
66476
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_allowAcrossPage", true);
|
|
66477
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_changed", void 0);
|
|
66478
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_background", void 0);
|
|
66479
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_mask", void 0);
|
|
66480
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_areaComments", void 0);
|
|
66481
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_23__/* ["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), "_hoEditorFactoryID", void 0);
|
|
66054
66482
|
_this._hoEditorFactoryID = hoEditorFactoryID;
|
|
66055
66483
|
_this._dLeft = dLeft;
|
|
66056
66484
|
_this._dTop = dTop;
|
|
@@ -66065,7 +66493,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
66065
66493
|
_this._areaComments = new Map();
|
|
66066
66494
|
return _this;
|
|
66067
66495
|
}
|
|
66068
|
-
(0,
|
|
66496
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z)(DrawArea, [{
|
|
66069
66497
|
key: "hoEditorFactoryID",
|
|
66070
66498
|
get:
|
|
66071
66499
|
// 在父节点中的高度
|
|
@@ -67083,18 +67511,16 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
67083
67511
|
if (child.name === comment.id) {
|
|
67084
67512
|
child.alpha = 1;
|
|
67085
67513
|
}
|
|
67086
|
-
|
|
67087
|
-
|
|
67088
|
-
|
|
67089
|
-
|
|
67090
|
-
|
|
67091
|
-
|
|
67092
|
-
|
|
67093
|
-
|
|
67094
|
-
|
|
67095
|
-
// }
|
|
67514
|
+
if (child instanceof createjs.Container && comment.id === child.name) {
|
|
67515
|
+
_components_common_comment__WEBPACK_IMPORTED_MODULE_22__/* .$Comment.open */ .D.open({
|
|
67516
|
+
x: child.x,
|
|
67517
|
+
y: child.y + hoEditorFactory.pageProperty.topMarginPixes,
|
|
67518
|
+
width: 0,
|
|
67519
|
+
height: 0,
|
|
67520
|
+
pageIndex: hoEditorFactory.drawTree.caret.pageIndex
|
|
67521
|
+
});
|
|
67522
|
+
}
|
|
67096
67523
|
}
|
|
67097
|
-
|
|
67098
67524
|
hoEditorFactory.drawPageTree.updateDrawPage(this.index);
|
|
67099
67525
|
}
|
|
67100
67526
|
}, {
|
|
@@ -69833,7 +70259,7 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
69833
70259
|
var markcolor = this.MarkColor();
|
|
69834
70260
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
69835
70261
|
if (hoEditorFactory.drawTree.paintStatus !== _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState.psPreview */ .Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_11__/* .PaintState.psPrint */ .Dh.psPrint) {
|
|
69836
|
-
if (this.docNode.MarkNodeType
|
|
70262
|
+
if (this.docNode.MarkNodeType !== _editor_dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_8__/* .MarkNodeType.mtContent */ .q.mtContent) {
|
|
69837
70263
|
if (this.node.parentNode instanceof _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_9__/* .TextInputFieldNode */ .re) {
|
|
69838
70264
|
this._nstyle.backColor = hoEditorFactory.option.getColorByLevel(10);
|
|
69839
70265
|
}
|
|
@@ -69871,7 +70297,7 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
69871
70297
|
if (!this._bg) this._bg = new createjs.Shape();
|
|
69872
70298
|
this._bg.graphics.clear();
|
|
69873
70299
|
if (this._nstyle.backColor && this._nstyle.backColor != 'transparent') {
|
|
69874
|
-
this._bg.graphics.beginFill("".concat(this._nstyle.backColor)).drawRect(0,
|
|
70300
|
+
this._bg.graphics.beginFill("".concat(this._nstyle.backColor)).drawRect(this.docNode.MarkNodeType == 0 ? 1 : 0,
|
|
69875
70301
|
//x
|
|
69876
70302
|
this._baseY,
|
|
69877
70303
|
//y
|
|
@@ -219663,15 +220089,15 @@ var map = {
|
|
|
219663
220089
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
219664
220090
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
219665
220091
|
"./poperSelect/PoperMark.vue": 71472,
|
|
219666
|
-
"./poperSelect/PoperSelect.vue":
|
|
220092
|
+
"./poperSelect/PoperSelect.vue": 1933,
|
|
219667
220093
|
"./poperTipText/PoperTipText.vue": 15845,
|
|
219668
220094
|
"./popers/Poper.vue": 57937,
|
|
219669
220095
|
"./popers/Title.vue": 89987,
|
|
219670
220096
|
"./printstyle/PrintLineStyle.vue": 41889,
|
|
219671
220097
|
"./qrCode/QrCode.vue": 67124,
|
|
219672
220098
|
"./radioCheckBox/RadioCheckbox.vue": 91377,
|
|
219673
|
-
"./selectDialog/SelectDialog.vue":
|
|
219674
|
-
"./sign/Sign.vue":
|
|
220099
|
+
"./selectDialog/SelectDialog.vue": 59075,
|
|
220100
|
+
"./sign/Sign.vue": 1887,
|
|
219675
220101
|
"./table/TableCellPoper.vue": 21277,
|
|
219676
220102
|
"./table/TableCellProperty.vue": 71176,
|
|
219677
220103
|
"./table/TableColProperty.vue": 2116,
|
|
@@ -219680,7 +220106,7 @@ var map = {
|
|
|
219680
220106
|
"./table/TableFormula.vue": 7789,
|
|
219681
220107
|
"./table/TableProperty.vue": 67472,
|
|
219682
220108
|
"./table/TableRowProperty.vue": 5218,
|
|
219683
|
-
"./textDialog/TextDialog.vue":
|
|
220109
|
+
"./textDialog/TextDialog.vue": 94535,
|
|
219684
220110
|
"./textDialog/TextToLabelDialog.vue": 35791,
|
|
219685
220111
|
"./upload/CanvasImageDialog.vue": 94116,
|
|
219686
220112
|
"./upload/HoFabric.vue": 43008,
|
|
@@ -255798,7 +256224,7 @@ Input.install = function (Vue) {
|
|
|
255798
256224
|
|
|
255799
256225
|
|
|
255800
256226
|
/* 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]);
|
|
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=
|
|
256227
|
+
;// 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=61fb9bae&
|
|
255802
256228
|
var render = function render() {
|
|
255803
256229
|
var _vm = this,
|
|
255804
256230
|
_c = _vm._self._c;
|
|
@@ -256193,6 +256619,8 @@ var DrawConfig = __webpack_require__(37616);
|
|
|
256193
256619
|
var DrawHeader = __webpack_require__(5328);
|
|
256194
256620
|
// EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawFooter.ts
|
|
256195
256621
|
var DrawFooter = __webpack_require__(114);
|
|
256622
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
256623
|
+
var TextInputFieldNode = __webpack_require__(90161);
|
|
256196
256624
|
;// CONCATENATED MODULE: ./src/editor/draw/DrawSelectLevel.ts
|
|
256197
256625
|
|
|
256198
256626
|
|
|
@@ -256223,6 +256651,7 @@ var DrawFooter = __webpack_require__(114);
|
|
|
256223
256651
|
|
|
256224
256652
|
|
|
256225
256653
|
|
|
256654
|
+
|
|
256226
256655
|
|
|
256227
256656
|
|
|
256228
256657
|
var DrawSelectLevel = /*#__PURE__*/function () {
|
|
@@ -256650,9 +257079,17 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
256650
257079
|
// hoeditorfactory.docTree.curDomRange
|
|
256651
257080
|
// );
|
|
256652
257081
|
// hoeditorfactory.docTree.selectChange(selchange);
|
|
257082
|
+
setTimeout(function () {
|
|
257083
|
+
var curDomRange = hoeditorfactory.docTree.curDomRange.normalize();
|
|
257084
|
+
var node = curDomRange.npEnd.node;
|
|
257085
|
+
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.text === '') {
|
|
257086
|
+
hoeditorfactory.vueController.getCaretPreviousText();
|
|
257087
|
+
} else if ((node === null || node === void 0 ? void 0 : node.parentNode) instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.parentNode.text === '') {
|
|
257088
|
+
hoeditorfactory.vueController.getCaretPreviousText();
|
|
257089
|
+
}
|
|
257090
|
+
}, 0);
|
|
256653
257091
|
}
|
|
256654
257092
|
}
|
|
256655
|
-
|
|
256656
257093
|
return true;
|
|
256657
257094
|
}
|
|
256658
257095
|
}, {
|
|
@@ -257056,8 +257493,6 @@ var DrawDomLevel = /*#__PURE__*/function () {
|
|
|
257056
257493
|
var es_array_slice = __webpack_require__(47042);
|
|
257057
257494
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
257058
257495
|
var MarkNode = __webpack_require__(57727);
|
|
257059
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextInputFieldNode.ts
|
|
257060
|
-
var TextInputFieldNode = __webpack_require__(90161);
|
|
257061
257496
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TextNode.ts
|
|
257062
257497
|
var TextNode = __webpack_require__(27198);
|
|
257063
257498
|
// EXTERNAL MODULE: ./src/editor/events/NodeClickEvent.ts
|
|
@@ -257392,9 +257827,9 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
257392
257827
|
)
|
|
257393
257828
|
|
|
257394
257829
|
/* harmony default export */ var HoHeadFoot = (component.exports);
|
|
257395
|
-
;// 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/ai/AiModels.vue?vue&type=template&id=
|
|
257830
|
+
;// 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/ai/AiModels.vue?vue&type=template&id=31c99e6c&
|
|
257396
257831
|
|
|
257397
|
-
var
|
|
257832
|
+
var AiModelsvue_type_template_id_31c99e6c_render = function render() {
|
|
257398
257833
|
var _vm = this,
|
|
257399
257834
|
_c = _vm._self._c;
|
|
257400
257835
|
return _vm.aiInfo.aiText && _vm.aiInfo.pageIndex === _vm.aiInfo.lastPosition[0] && _vm.aiInfo.x === _vm.aiInfo.lastPosition[1] && _vm.aiInfo.y === _vm.aiInfo.lastPosition[2] ? _c('div', {
|
|
@@ -257402,9 +257837,11 @@ var AiModelsvue_type_template_id_62cbb527_render = function render() {
|
|
|
257402
257837
|
style: {
|
|
257403
257838
|
top: _vm.aiInfo.y + 'px',
|
|
257404
257839
|
width: _vm.scaleWidth + 'px',
|
|
257840
|
+
height: _vm.height ? _vm.height : _vm.aiInfo.height + 'px',
|
|
257841
|
+
lineHeight: _vm.height ? _vm.height : _vm.aiInfo.height + 'px',
|
|
257405
257842
|
padding: _vm.paddingPx,
|
|
257406
|
-
paddingTop:
|
|
257407
|
-
paddingBottom:
|
|
257843
|
+
paddingTop: '0px',
|
|
257844
|
+
paddingBottom: '0px'
|
|
257408
257845
|
}
|
|
257409
257846
|
}, [_c('span', {
|
|
257410
257847
|
staticClass: "model-placeholder",
|
|
@@ -257416,9 +257853,9 @@ var AiModelsvue_type_template_id_62cbb527_render = function render() {
|
|
|
257416
257853
|
style: (0,objectSpread2/* default */.Z)({}, _vm.fontStyle)
|
|
257417
257854
|
}, [_vm._v(" " + _vm._s(_vm.aiInfo.aiText) + " ")])]) : _vm._e();
|
|
257418
257855
|
};
|
|
257419
|
-
var
|
|
257856
|
+
var AiModelsvue_type_template_id_31c99e6c_staticRenderFns = [];
|
|
257420
257857
|
|
|
257421
|
-
;// CONCATENATED MODULE: ./src/components/ai/AiModels.vue?vue&type=template&id=
|
|
257858
|
+
;// CONCATENATED MODULE: ./src/components/ai/AiModels.vue?vue&type=template&id=31c99e6c&
|
|
257422
257859
|
|
|
257423
257860
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.bold.js
|
|
257424
257861
|
var es_string_bold = __webpack_require__(50915);
|
|
@@ -257468,7 +257905,8 @@ var TextStyle = __webpack_require__(29899);
|
|
|
257468
257905
|
strikeout: false,
|
|
257469
257906
|
backColor: 'transparent',
|
|
257470
257907
|
color: '#000000'
|
|
257471
|
-
}
|
|
257908
|
+
},
|
|
257909
|
+
height: ''
|
|
257472
257910
|
};
|
|
257473
257911
|
},
|
|
257474
257912
|
watch: {
|
|
@@ -257489,6 +257927,10 @@ var TextStyle = __webpack_require__(29899);
|
|
|
257489
257927
|
this.rightMarginPixes = hoEditorFactory.pageProperty.rightMarginPixes;
|
|
257490
257928
|
this.paddingPx = "0 ".concat(this.rightMarginPixes, "px 0 ").concat(this.leftMarginPxies, "px");
|
|
257491
257929
|
this.initStyle();
|
|
257930
|
+
var caret = document.querySelector("#ho_caret");
|
|
257931
|
+
if (caret) {
|
|
257932
|
+
this.height = caret.style.height;
|
|
257933
|
+
}
|
|
257492
257934
|
},
|
|
257493
257935
|
initStyle: function initStyle() {
|
|
257494
257936
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
|
|
@@ -257509,10 +257951,10 @@ var TextStyle = __webpack_require__(29899);
|
|
|
257509
257951
|
});
|
|
257510
257952
|
;// CONCATENATED MODULE: ./src/components/ai/AiModels.vue?vue&type=script&lang=js&
|
|
257511
257953
|
/* harmony default export */ var ai_AiModelsvue_type_script_lang_js_ = (AiModelsvue_type_script_lang_js_);
|
|
257512
|
-
;// 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/ai/AiModels.vue?vue&type=style&index=0&id=
|
|
257954
|
+
;// 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/ai/AiModels.vue?vue&type=style&index=0&id=31c99e6c&prod&lang=scss&
|
|
257513
257955
|
// extracted by mini-css-extract-plugin
|
|
257514
257956
|
|
|
257515
|
-
;// CONCATENATED MODULE: ./src/components/ai/AiModels.vue?vue&type=style&index=0&id=
|
|
257957
|
+
;// CONCATENATED MODULE: ./src/components/ai/AiModels.vue?vue&type=style&index=0&id=31c99e6c&prod&lang=scss&
|
|
257516
257958
|
|
|
257517
257959
|
;// CONCATENATED MODULE: ./src/components/ai/AiModels.vue
|
|
257518
257960
|
|
|
@@ -257525,8 +257967,8 @@ var TextStyle = __webpack_require__(29899);
|
|
|
257525
257967
|
|
|
257526
257968
|
var AiModels_component = (0,componentNormalizer/* default */.Z)(
|
|
257527
257969
|
ai_AiModelsvue_type_script_lang_js_,
|
|
257528
|
-
|
|
257529
|
-
|
|
257970
|
+
AiModelsvue_type_template_id_31c99e6c_render,
|
|
257971
|
+
AiModelsvue_type_template_id_31c99e6c_staticRenderFns,
|
|
257530
257972
|
false,
|
|
257531
257973
|
null,
|
|
257532
257974
|
null,
|
|
@@ -257873,7 +258315,7 @@ var DrawPage = __webpack_require__(72722);
|
|
|
257873
258315
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
257874
258316
|
var plugins_util = __webpack_require__(62783);
|
|
257875
258317
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
257876
|
-
var PoperSelect = __webpack_require__(
|
|
258318
|
+
var PoperSelect = __webpack_require__(1933);
|
|
257877
258319
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
257878
258320
|
var PoperMark = __webpack_require__(71472);
|
|
257879
258321
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -259568,7 +260010,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
259568
260010
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
259569
260011
|
var ParagraphNode = __webpack_require__(67945);
|
|
259570
260012
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
259571
|
-
/* harmony default export */ var version = ('3.0.
|
|
260013
|
+
/* harmony default export */ var version = ('3.0.21');
|
|
259572
260014
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
259573
260015
|
var PoperTipText = __webpack_require__(15845);
|
|
259574
260016
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -271338,12 +271780,20 @@ var VueController = /*#__PURE__*/function () {
|
|
|
271338
271780
|
value: function getCaretPreviousText() {
|
|
271339
271781
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
271340
271782
|
if (hoEditorFactory.aiTextFunc) {
|
|
271783
|
+
var _node$parentNode;
|
|
271341
271784
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
271342
271785
|
var node = curDomRange.npEnd.node;
|
|
271786
|
+
var textFieldName = '';
|
|
271343
271787
|
var text = '';
|
|
271344
271788
|
if (node instanceof TextNode/* TextNode */.R) {
|
|
271345
271789
|
text += node.text;
|
|
271346
271790
|
}
|
|
271791
|
+
if ((node === null || node === void 0 ? void 0 : node.parentNode) instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
271792
|
+
textFieldName = node.parentNode.name;
|
|
271793
|
+
} else if ((node === null || node === void 0 ? void 0 : (_node$parentNode = node.parentNode) === null || _node$parentNode === void 0 ? void 0 : _node$parentNode.parentNode) instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
271794
|
+
var _node$parentNode2;
|
|
271795
|
+
textFieldName = node === null || node === void 0 ? void 0 : (_node$parentNode2 = node.parentNode) === null || _node$parentNode2 === void 0 ? void 0 : _node$parentNode2.parentNode.name;
|
|
271796
|
+
}
|
|
271347
271797
|
var getText = function getText() {
|
|
271348
271798
|
var previousNode = node === null || node === void 0 ? void 0 : node.previousLeaf();
|
|
271349
271799
|
if (previousNode instanceof TextNode/* TextNode */.R) {
|
|
@@ -271361,11 +271811,16 @@ var VueController = /*#__PURE__*/function () {
|
|
|
271361
271811
|
if (text.length < 20) {
|
|
271362
271812
|
getText();
|
|
271363
271813
|
}
|
|
271814
|
+
if (textFieldName) {
|
|
271815
|
+
textFieldName += ":";
|
|
271816
|
+
}
|
|
271364
271817
|
if (text.length >= 20) {
|
|
271365
271818
|
text = text.slice(text.length - 20, text.length);
|
|
271366
|
-
hoEditorFactory.aiTextFunc(text, callback);
|
|
271819
|
+
hoEditorFactory.aiTextFunc(text.replace(/\s*/g, ""), callback);
|
|
271367
271820
|
} else if (text.length > 0) {
|
|
271368
|
-
hoEditorFactory.aiTextFunc(text, callback);
|
|
271821
|
+
hoEditorFactory.aiTextFunc(text.replace(/\s*/g, ""), callback);
|
|
271822
|
+
} else if (text.length === 0 && textFieldName) {
|
|
271823
|
+
hoEditorFactory.aiTextFunc(textFieldName.replace(/\s*/g, ""), callback);
|
|
271369
271824
|
}
|
|
271370
271825
|
}
|
|
271371
271826
|
}
|
|
@@ -278319,6 +278774,10 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
278319
278774
|
// 获取公式类型
|
|
278320
278775
|
return formularType[tableFormular.formularType];
|
|
278321
278776
|
};
|
|
278777
|
+
// EXTERNAL MODULE: ./src/components/common/commondata/index.ts
|
|
278778
|
+
var commondata = __webpack_require__(76285);
|
|
278779
|
+
// EXTERNAL MODULE: ./src/components/common/comment/index.ts + 6 modules
|
|
278780
|
+
var comment = __webpack_require__(94995);
|
|
278322
278781
|
;// 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/HoDocs.vue?vue&type=script&lang=js&
|
|
278323
278782
|
|
|
278324
278783
|
|
|
@@ -278354,6 +278813,8 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
278354
278813
|
|
|
278355
278814
|
|
|
278356
278815
|
|
|
278816
|
+
|
|
278817
|
+
|
|
278357
278818
|
/* harmony default export */ var HoDocsvue_type_script_lang_js_ = ({
|
|
278358
278819
|
name: 'HoDocs',
|
|
278359
278820
|
components: {
|
|
@@ -278436,6 +278897,11 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
278436
278897
|
contentIsModify: {
|
|
278437
278898
|
isModify: false
|
|
278438
278899
|
},
|
|
278900
|
+
modalStatusObject: {
|
|
278901
|
+
type: '',
|
|
278902
|
+
operate: '',
|
|
278903
|
+
other: ''
|
|
278904
|
+
},
|
|
278439
278905
|
hoEditorFactoryIdList: [],
|
|
278440
278906
|
docList: [0],
|
|
278441
278907
|
drawPageLength: 0,
|
|
@@ -278587,12 +279053,25 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
278587
279053
|
}
|
|
278588
279054
|
}
|
|
278589
279055
|
},
|
|
278590
|
-
|
|
278591
|
-
|
|
278592
|
-
|
|
278593
|
-
|
|
278594
|
-
|
|
278595
|
-
|
|
279056
|
+
modalStatusObject: {
|
|
279057
|
+
deep: true,
|
|
279058
|
+
handler: function handler(val) {
|
|
279059
|
+
if (val.type === 'comment') {
|
|
279060
|
+
if (val.operate === 'update') {
|
|
279061
|
+
this.hoEditorProvider.setControlProperty(val.type, val.operate, '');
|
|
279062
|
+
} else if (val.operate === 'delete') {
|
|
279063
|
+
var vueController = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorProvider.activeDocId).vueController;
|
|
279064
|
+
this.$emit('insertComments', {
|
|
279065
|
+
type: 'delete',
|
|
279066
|
+
selectedComment: vueController.getOnSelectedComment()
|
|
279067
|
+
});
|
|
279068
|
+
this.modalStatusObject.type = '';
|
|
279069
|
+
this.modalStatusObject.operate = '';
|
|
279070
|
+
comment/* $Comment.close */.D.close();
|
|
279071
|
+
}
|
|
279072
|
+
}
|
|
279073
|
+
}
|
|
279074
|
+
},
|
|
278596
279075
|
modalStatus: {
|
|
278597
279076
|
deep: true,
|
|
278598
279077
|
handler: function handler(newStr) {
|
|
@@ -278795,6 +279274,9 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
278795
279274
|
// 初始化 部分全局样式
|
|
278796
279275
|
this.setActiveDocIndex(this.hoEditorFactoryIdList[0]);
|
|
278797
279276
|
this.$nextTick(function () {
|
|
279277
|
+
if (!commondata/* CommonData.instance */.G.instance().modalStatusObject) {
|
|
279278
|
+
commondata/* CommonData.instance */.G.instance().modalStatusObject = _this3.modalStatusObject;
|
|
279279
|
+
}
|
|
278798
279280
|
if (_this3.pageProperty) _this3.initPageProperty((0,objectSpread2/* default */.Z)({}, _this3.pageProperty));
|
|
278799
279281
|
});
|
|
278800
279282
|
},
|
|
@@ -279059,6 +279541,8 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
279059
279541
|
*/
|
|
279060
279542
|
closeControlModal: function closeControlModal() {
|
|
279061
279543
|
this.hoEditorProvider.setControlProperty('', 'add', '');
|
|
279544
|
+
this.modalStatusObject.type = '';
|
|
279545
|
+
this.modalStatusObject.operate = '';
|
|
279062
279546
|
},
|
|
279063
279547
|
/**
|
|
279064
279548
|
* 非文档区域右键事件
|
|
@@ -279180,10 +279664,10 @@ var getFormula = function getFormula(tableFormular) {
|
|
|
279180
279664
|
});
|
|
279181
279665
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=script&lang=js&
|
|
279182
279666
|
/* harmony default export */ var components_HoDocsvue_type_script_lang_js_ = (HoDocsvue_type_script_lang_js_);
|
|
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=
|
|
279667
|
+
;// 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=61fb9bae&prod&lang=scss&media=print&
|
|
279184
279668
|
// extracted by mini-css-extract-plugin
|
|
279185
279669
|
|
|
279186
|
-
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
279670
|
+
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=61fb9bae&prod&lang=scss&media=print&
|
|
279187
279671
|
|
|
279188
279672
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue
|
|
279189
279673
|
|
|
@@ -279206,8 +279690,8 @@ var HoDocs_component = (0,componentNormalizer/* default */.Z)(
|
|
|
279206
279690
|
)
|
|
279207
279691
|
|
|
279208
279692
|
/* harmony default export */ var HoDocs = (HoDocs_component.exports);
|
|
279209
|
-
;// 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/ToolBar.vue?vue&type=template&id=
|
|
279210
|
-
var
|
|
279693
|
+
;// 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/ToolBar.vue?vue&type=template&id=0b1eb6a7&
|
|
279694
|
+
var ToolBarvue_type_template_id_0b1eb6a7_render = function render() {
|
|
279211
279695
|
var _vm = this,
|
|
279212
279696
|
_c = _vm._self._c;
|
|
279213
279697
|
return _c('div', {
|
|
@@ -279440,7 +279924,7 @@ var ToolBarvue_type_template_id_62d24632_render = function render() {
|
|
|
279440
279924
|
}, [_vm._v(_vm._s(item.title))]);
|
|
279441
279925
|
}), 1)], 1) : _vm._e()], 1);
|
|
279442
279926
|
};
|
|
279443
|
-
var
|
|
279927
|
+
var ToolBarvue_type_template_id_0b1eb6a7_staticRenderFns = [];
|
|
279444
279928
|
|
|
279445
279929
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
279446
279930
|
var es_array_map = __webpack_require__(21249);
|
|
@@ -284362,7 +284846,7 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
|
|
|
284362
284846
|
createControlComment: function createControlComment() {
|
|
284363
284847
|
if (this.vueController.getDomRange().isEmpty) {
|
|
284364
284848
|
message/* default.warn */.Z.warn({
|
|
284365
|
-
|
|
284849
|
+
content: '请选择需要添加批注的内容',
|
|
284366
284850
|
duration: 3000,
|
|
284367
284851
|
offset: 120
|
|
284368
284852
|
});
|
|
@@ -284380,7 +284864,7 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
|
|
|
284380
284864
|
this.$emit('setModalStatus', ['comment', 'update', '']);
|
|
284381
284865
|
} else {
|
|
284382
284866
|
message/* default.warn */.Z.warn({
|
|
284383
|
-
|
|
284867
|
+
content: '点击右侧批注区域内已添加的批注进行编辑操作',
|
|
284384
284868
|
duration: 3000,
|
|
284385
284869
|
offset: 120
|
|
284386
284870
|
});
|
|
@@ -284449,10 +284933,10 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
|
|
|
284449
284933
|
});
|
|
284450
284934
|
;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=script&lang=js&
|
|
284451
284935
|
/* harmony default export */ var toolbar_ToolBarvue_type_script_lang_js_ = (ToolBarvue_type_script_lang_js_);
|
|
284452
|
-
;// 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/ToolBar.vue?vue&type=style&index=0&id=
|
|
284936
|
+
;// 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/ToolBar.vue?vue&type=style&index=0&id=0b1eb6a7&prod&lang=scss&
|
|
284453
284937
|
// extracted by mini-css-extract-plugin
|
|
284454
284938
|
|
|
284455
|
-
;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=
|
|
284939
|
+
;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=0b1eb6a7&prod&lang=scss&
|
|
284456
284940
|
|
|
284457
284941
|
;// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue
|
|
284458
284942
|
|
|
@@ -284465,8 +284949,8 @@ var ToolTable_component = (0,componentNormalizer/* default */.Z)(
|
|
|
284465
284949
|
|
|
284466
284950
|
var ToolBar_component = (0,componentNormalizer/* default */.Z)(
|
|
284467
284951
|
toolbar_ToolBarvue_type_script_lang_js_,
|
|
284468
|
-
|
|
284469
|
-
|
|
284952
|
+
ToolBarvue_type_template_id_0b1eb6a7_render,
|
|
284953
|
+
ToolBarvue_type_template_id_0b1eb6a7_staticRenderFns,
|
|
284470
284954
|
false,
|
|
284471
284955
|
null,
|
|
284472
284956
|
null,
|
|
@@ -286114,51 +286598,7 @@ function HoEditorProvidevue_type_script_lang_js_getWatch() {
|
|
|
286114
286598
|
}
|
|
286115
286599
|
/* harmony default export */ var HoEditorProvidevue_type_script_lang_js_ = ({
|
|
286116
286600
|
name: 'HoEditorProvide',
|
|
286117
|
-
props: {
|
|
286118
|
-
// tabStatus: {
|
|
286119
|
-
// readonly: true,
|
|
286120
|
-
// default: '',
|
|
286121
|
-
// },
|
|
286122
|
-
// modalStatus: {
|
|
286123
|
-
// default: '',
|
|
286124
|
-
// },
|
|
286125
|
-
// editJson: {
|
|
286126
|
-
// readonly: true,
|
|
286127
|
-
// default: () => {
|
|
286128
|
-
// return {};
|
|
286129
|
-
// },
|
|
286130
|
-
// },
|
|
286131
|
-
// pageProperty: {
|
|
286132
|
-
// readonly: true,
|
|
286133
|
-
// default: () => {
|
|
286134
|
-
// return {};
|
|
286135
|
-
// },
|
|
286136
|
-
// },
|
|
286137
|
-
// customProperty: {
|
|
286138
|
-
// readonly: true,
|
|
286139
|
-
// default: () => {
|
|
286140
|
-
// return {};
|
|
286141
|
-
// },
|
|
286142
|
-
// },
|
|
286143
|
-
// paragraphCustomProperty: {
|
|
286144
|
-
// readonly: true,
|
|
286145
|
-
// default: () => {
|
|
286146
|
-
// return {};
|
|
286147
|
-
// },
|
|
286148
|
-
// },
|
|
286149
|
-
// docProperty: {
|
|
286150
|
-
// readonly: true,
|
|
286151
|
-
// default: () => {
|
|
286152
|
-
// return {};
|
|
286153
|
-
// },
|
|
286154
|
-
// },
|
|
286155
|
-
// toolbarParams: {
|
|
286156
|
-
// readonly: true,
|
|
286157
|
-
// default: () => {
|
|
286158
|
-
// return {}
|
|
286159
|
-
// }
|
|
286160
|
-
// }
|
|
286161
|
-
},
|
|
286601
|
+
props: {},
|
|
286162
286602
|
provide: function provide() {
|
|
286163
286603
|
var _self = this;
|
|
286164
286604
|
this._proxyVm = new (external_commonjs_vue_commonjs2_vue_root_Vue_default())({
|