hoeditor-web 3.0.5 → 3.0.7
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 +3 -12665
- package/lib/hoeditor.umd.js +179 -97
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -8990,7 +8990,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
8990
8990
|
|
|
8991
8991
|
/***/ }),
|
|
8992
8992
|
|
|
8993
|
-
/***/
|
|
8993
|
+
/***/ 98174:
|
|
8994
8994
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8995
8995
|
|
|
8996
8996
|
"use strict";
|
|
@@ -9010,7 +9010,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
9010
9010
|
var es_regexp_exec = __webpack_require__(74916);
|
|
9011
9011
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
9012
9012
|
var es_string_replace = __webpack_require__(15306);
|
|
9013
|
-
;// 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=
|
|
9013
|
+
;// 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=24bc13bb&
|
|
9014
9014
|
|
|
9015
9015
|
|
|
9016
9016
|
|
|
@@ -9096,9 +9096,11 @@ var render = function render() {
|
|
|
9096
9096
|
on: {
|
|
9097
9097
|
"change": _vm.selectItemsChange
|
|
9098
9098
|
}
|
|
9099
|
-
}, [
|
|
9099
|
+
}, [_c('span', {
|
|
9100
|
+
staticClass: "ant-checkbox-texts"
|
|
9101
|
+
}, [_vm._v(_vm._s(item.text && item.text.indexOf("<\u5143\u7D20>") !== -1 ? item.text.split("<\u5143\u7D20>")[0] : item.text.split("<\u641C\u7D22>")[0]))])]) : _vm._e()];
|
|
9100
9102
|
}
|
|
9101
|
-
}], null, false,
|
|
9103
|
+
}], null, false, 1521239773)
|
|
9102
9104
|
})], 1) : _vm._e(), _vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0 ? [_c('a-checkbox-group', {
|
|
9103
9105
|
on: {
|
|
9104
9106
|
"change": _vm.mutexSelectItemsChange
|
|
@@ -9120,7 +9122,9 @@ var render = function render() {
|
|
|
9120
9122
|
"value": item.id,
|
|
9121
9123
|
"disabled": _vm.mutexType !== '' && _vm.mutexType != item.type
|
|
9122
9124
|
}
|
|
9123
|
-
}, [
|
|
9125
|
+
}, [_c('span', {
|
|
9126
|
+
staticClass: "ant-checkbox-texts"
|
|
9127
|
+
}, [_vm._v(_vm._s(item.text && item.text.indexOf("<\u5143\u7D20>") !== -1 ? item.text.split("<\u5143\u7D20>")[0] : item.text.split("<\u641C\u7D22>")[0]))])])];
|
|
9124
9128
|
})], 2)] : _vm._e(), !_vm.isAllowMultiSelect && _vm.currentList.length > 0 ? _c('a-radio-group', {
|
|
9125
9129
|
model: {
|
|
9126
9130
|
value: _vm.selectedId,
|
|
@@ -9363,7 +9367,7 @@ var render = function render() {
|
|
|
9363
9367
|
};
|
|
9364
9368
|
var staticRenderFns = [];
|
|
9365
9369
|
|
|
9366
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9370
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=24bc13bb&
|
|
9367
9371
|
|
|
9368
9372
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9369
9373
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -11612,7 +11616,13 @@ var type = __webpack_require__(41542);
|
|
|
11612
11616
|
tipText: node.tipText,
|
|
11613
11617
|
isAllowDelete: node.isAllowDelete,
|
|
11614
11618
|
isReadOnly: node.isReadOnly,
|
|
11615
|
-
controlStyle: node.controlStyle
|
|
11619
|
+
controlStyle: node.controlStyle,
|
|
11620
|
+
innerIdentifier: node.innerIdentifier,
|
|
11621
|
+
dataMetaIdentifier: node.dataMetaIdentifier,
|
|
11622
|
+
identifierFormat: node.identifierFormat,
|
|
11623
|
+
readType: node.readType,
|
|
11624
|
+
labelText: node.labelText,
|
|
11625
|
+
customProperty: node.customProperty
|
|
11616
11626
|
};
|
|
11617
11627
|
hoEditorFactory.vueController.updateDateTime(JSON.stringify(params));
|
|
11618
11628
|
this.$nextTick(function () {
|
|
@@ -11937,10 +11947,10 @@ var type = __webpack_require__(41542);
|
|
|
11937
11947
|
});
|
|
11938
11948
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
11939
11949
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
11940
|
-
;// 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=
|
|
11950
|
+
;// 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=24bc13bb&prod&lang=scss&
|
|
11941
11951
|
// extracted by mini-css-extract-plugin
|
|
11942
11952
|
|
|
11943
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
11953
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=24bc13bb&prod&lang=scss&
|
|
11944
11954
|
|
|
11945
11955
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
11946
11956
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -12970,7 +12980,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
12970
12980
|
|
|
12971
12981
|
/***/ }),
|
|
12972
12982
|
|
|
12973
|
-
/***/
|
|
12983
|
+
/***/ 92638:
|
|
12974
12984
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
12975
12985
|
|
|
12976
12986
|
"use strict";
|
|
@@ -12982,7 +12992,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12982
12992
|
"default": function() { return /* binding */ RadioCheckbox; }
|
|
12983
12993
|
});
|
|
12984
12994
|
|
|
12985
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
12995
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=483f0e4a&
|
|
12986
12996
|
var render = function render() {
|
|
12987
12997
|
var _vm = this,
|
|
12988
12998
|
_c = _vm._self._c;
|
|
@@ -13086,7 +13096,7 @@ var render = function render() {
|
|
|
13086
13096
|
},
|
|
13087
13097
|
scopedSlots: _vm._u([{
|
|
13088
13098
|
key: "default",
|
|
13089
|
-
fn: function fn(text, record
|
|
13099
|
+
fn: function fn(text, record) {
|
|
13090
13100
|
return [_c('a-input', {
|
|
13091
13101
|
attrs: {
|
|
13092
13102
|
"type": "text",
|
|
@@ -13105,7 +13115,7 @@ var render = function render() {
|
|
|
13105
13115
|
}
|
|
13106
13116
|
})];
|
|
13107
13117
|
}
|
|
13108
|
-
}], null, false,
|
|
13118
|
+
}], null, false, 2155258017)
|
|
13109
13119
|
}), _c('a-table-column', {
|
|
13110
13120
|
key: "tipText",
|
|
13111
13121
|
attrs: {
|
|
@@ -13114,7 +13124,7 @@ var render = function render() {
|
|
|
13114
13124
|
},
|
|
13115
13125
|
scopedSlots: _vm._u([{
|
|
13116
13126
|
key: "default",
|
|
13117
|
-
fn: function fn(text, record
|
|
13127
|
+
fn: function fn(text, record) {
|
|
13118
13128
|
return [_c('a-input', {
|
|
13119
13129
|
attrs: {
|
|
13120
13130
|
"type": "text",
|
|
@@ -13129,7 +13139,7 @@ var render = function render() {
|
|
|
13129
13139
|
}
|
|
13130
13140
|
})];
|
|
13131
13141
|
}
|
|
13132
|
-
}], null, false,
|
|
13142
|
+
}], null, false, 3869473503)
|
|
13133
13143
|
}), _c('a-table-column', {
|
|
13134
13144
|
key: "numericValue",
|
|
13135
13145
|
attrs: {
|
|
@@ -13138,7 +13148,7 @@ var render = function render() {
|
|
|
13138
13148
|
},
|
|
13139
13149
|
scopedSlots: _vm._u([{
|
|
13140
13150
|
key: "default",
|
|
13141
|
-
fn: function fn(text, record
|
|
13151
|
+
fn: function fn(text, record) {
|
|
13142
13152
|
return [_c('a-input', {
|
|
13143
13153
|
attrs: {
|
|
13144
13154
|
"type": "text",
|
|
@@ -13153,7 +13163,7 @@ var render = function render() {
|
|
|
13153
13163
|
}
|
|
13154
13164
|
})];
|
|
13155
13165
|
}
|
|
13156
|
-
}], null, false,
|
|
13166
|
+
}], null, false, 2496331234)
|
|
13157
13167
|
}), _c('a-table-column', {
|
|
13158
13168
|
key: "innerIdentifier",
|
|
13159
13169
|
attrs: {
|
|
@@ -13162,7 +13172,7 @@ var render = function render() {
|
|
|
13162
13172
|
},
|
|
13163
13173
|
scopedSlots: _vm._u([{
|
|
13164
13174
|
key: "default",
|
|
13165
|
-
fn: function fn(text, record
|
|
13175
|
+
fn: function fn(text, record) {
|
|
13166
13176
|
return [_c('a-input', {
|
|
13167
13177
|
attrs: {
|
|
13168
13178
|
"type": "text",
|
|
@@ -13177,7 +13187,7 @@ var render = function render() {
|
|
|
13177
13187
|
}
|
|
13178
13188
|
})];
|
|
13179
13189
|
}
|
|
13180
|
-
}], null, false,
|
|
13190
|
+
}], null, false, 1830385017)
|
|
13181
13191
|
}), _c('a-table-column', {
|
|
13182
13192
|
key: "dataMetaIdentifier",
|
|
13183
13193
|
attrs: {
|
|
@@ -13186,7 +13196,7 @@ var render = function render() {
|
|
|
13186
13196
|
},
|
|
13187
13197
|
scopedSlots: _vm._u([{
|
|
13188
13198
|
key: "default",
|
|
13189
|
-
fn: function fn(text, record
|
|
13199
|
+
fn: function fn(text, record) {
|
|
13190
13200
|
return [_c('a-input', {
|
|
13191
13201
|
attrs: {
|
|
13192
13202
|
"type": "text",
|
|
@@ -13201,7 +13211,7 @@ var render = function render() {
|
|
|
13201
13211
|
}
|
|
13202
13212
|
})];
|
|
13203
13213
|
}
|
|
13204
|
-
}], null, false,
|
|
13214
|
+
}], null, false, 1268779290)
|
|
13205
13215
|
}), _c('a-table-column', {
|
|
13206
13216
|
key: "identifierFormat",
|
|
13207
13217
|
attrs: {
|
|
@@ -13210,7 +13220,7 @@ var render = function render() {
|
|
|
13210
13220
|
},
|
|
13211
13221
|
scopedSlots: _vm._u([{
|
|
13212
13222
|
key: "default",
|
|
13213
|
-
fn: function fn(text, record
|
|
13223
|
+
fn: function fn(text, record) {
|
|
13214
13224
|
return [_c('a-input', {
|
|
13215
13225
|
attrs: {
|
|
13216
13226
|
"type": "text",
|
|
@@ -13225,7 +13235,7 @@ var render = function render() {
|
|
|
13225
13235
|
}
|
|
13226
13236
|
})];
|
|
13227
13237
|
}
|
|
13228
|
-
}], null, false,
|
|
13238
|
+
}], null, false, 1240485519)
|
|
13229
13239
|
}), _c('a-table-column', {
|
|
13230
13240
|
key: "isSelected",
|
|
13231
13241
|
attrs: {
|
|
@@ -13234,12 +13244,12 @@ var render = function render() {
|
|
|
13234
13244
|
},
|
|
13235
13245
|
scopedSlots: _vm._u([{
|
|
13236
13246
|
key: "default",
|
|
13237
|
-
fn: function fn(text, record
|
|
13247
|
+
fn: function fn(text, record) {
|
|
13238
13248
|
return [_c('a-checkbox', {
|
|
13239
13249
|
nativeOn: {
|
|
13240
13250
|
"click": function click($event) {
|
|
13241
13251
|
$event.stopPropagation();
|
|
13242
|
-
return _vm.defaultSelectChange(index);
|
|
13252
|
+
return _vm.defaultSelectChange(_vm.index);
|
|
13243
13253
|
}
|
|
13244
13254
|
},
|
|
13245
13255
|
model: {
|
|
@@ -13251,7 +13261,7 @@ var render = function render() {
|
|
|
13251
13261
|
}
|
|
13252
13262
|
})];
|
|
13253
13263
|
}
|
|
13254
|
-
}], null, false,
|
|
13264
|
+
}], null, false, 4116041465)
|
|
13255
13265
|
}), _c('a-table-column', {
|
|
13256
13266
|
key: "boxAlign",
|
|
13257
13267
|
attrs: {
|
|
@@ -13260,7 +13270,7 @@ var render = function render() {
|
|
|
13260
13270
|
},
|
|
13261
13271
|
scopedSlots: _vm._u([{
|
|
13262
13272
|
key: "default",
|
|
13263
|
-
fn: function fn(text, record
|
|
13273
|
+
fn: function fn(text, record) {
|
|
13264
13274
|
return [_c('a-checkbox', {
|
|
13265
13275
|
model: {
|
|
13266
13276
|
value: record.boxAlign,
|
|
@@ -13271,7 +13281,7 @@ var render = function render() {
|
|
|
13271
13281
|
}
|
|
13272
13282
|
})];
|
|
13273
13283
|
}
|
|
13274
|
-
}], null, false,
|
|
13284
|
+
}], null, false, 3910153417)
|
|
13275
13285
|
}), _c('a-table-column', {
|
|
13276
13286
|
key: "isTransToText",
|
|
13277
13287
|
attrs: {
|
|
@@ -13280,7 +13290,7 @@ var render = function render() {
|
|
|
13280
13290
|
},
|
|
13281
13291
|
scopedSlots: _vm._u([{
|
|
13282
13292
|
key: "default",
|
|
13283
|
-
fn: function fn(text, record
|
|
13293
|
+
fn: function fn(text, record) {
|
|
13284
13294
|
return [_c('a-checkbox', {
|
|
13285
13295
|
model: {
|
|
13286
13296
|
value: record.isTransToText,
|
|
@@ -13291,7 +13301,7 @@ var render = function render() {
|
|
|
13291
13301
|
}
|
|
13292
13302
|
})];
|
|
13293
13303
|
}
|
|
13294
|
-
}], null, false,
|
|
13304
|
+
}], null, false, 3598860599)
|
|
13295
13305
|
}), _c('a-table-column', {
|
|
13296
13306
|
key: "isEditText",
|
|
13297
13307
|
attrs: {
|
|
@@ -13300,7 +13310,7 @@ var render = function render() {
|
|
|
13300
13310
|
},
|
|
13301
13311
|
scopedSlots: _vm._u([{
|
|
13302
13312
|
key: "default",
|
|
13303
|
-
fn: function fn(text, record
|
|
13313
|
+
fn: function fn(text, record) {
|
|
13304
13314
|
return [_c('a-checkbox', {
|
|
13305
13315
|
model: {
|
|
13306
13316
|
value: record.isEditText,
|
|
@@ -13311,7 +13321,7 @@ var render = function render() {
|
|
|
13311
13321
|
}
|
|
13312
13322
|
})];
|
|
13313
13323
|
}
|
|
13314
|
-
}], null, false,
|
|
13324
|
+
}], null, false, 1829912746)
|
|
13315
13325
|
}), _c('a-table-column', {
|
|
13316
13326
|
key: "isAllowDelete",
|
|
13317
13327
|
attrs: {
|
|
@@ -13320,7 +13330,7 @@ var render = function render() {
|
|
|
13320
13330
|
},
|
|
13321
13331
|
scopedSlots: _vm._u([{
|
|
13322
13332
|
key: "default",
|
|
13323
|
-
fn: function fn(text, record
|
|
13333
|
+
fn: function fn(text, record) {
|
|
13324
13334
|
return [_c('a-checkbox', {
|
|
13325
13335
|
model: {
|
|
13326
13336
|
value: record.isAllowDelete,
|
|
@@ -13331,7 +13341,7 @@ var render = function render() {
|
|
|
13331
13341
|
}
|
|
13332
13342
|
})];
|
|
13333
13343
|
}
|
|
13334
|
-
}], null, false,
|
|
13344
|
+
}], null, false, 4245042539)
|
|
13335
13345
|
}), _c('a-table-column', {
|
|
13336
13346
|
key: "readType",
|
|
13337
13347
|
attrs: {
|
|
@@ -13340,7 +13350,7 @@ var render = function render() {
|
|
|
13340
13350
|
},
|
|
13341
13351
|
scopedSlots: _vm._u([{
|
|
13342
13352
|
key: "default",
|
|
13343
|
-
fn: function fn(text, record
|
|
13353
|
+
fn: function fn(text, record) {
|
|
13344
13354
|
return [_c('a-checkbox', {
|
|
13345
13355
|
model: {
|
|
13346
13356
|
value: record.readType,
|
|
@@ -13351,7 +13361,7 @@ var render = function render() {
|
|
|
13351
13361
|
}
|
|
13352
13362
|
})];
|
|
13353
13363
|
}
|
|
13354
|
-
}], null, false,
|
|
13364
|
+
}], null, false, 3493846107)
|
|
13355
13365
|
}), _c('a-table-column', {
|
|
13356
13366
|
key: "opt",
|
|
13357
13367
|
attrs: {
|
|
@@ -13359,7 +13369,7 @@ var render = function render() {
|
|
|
13359
13369
|
},
|
|
13360
13370
|
scopedSlots: _vm._u([{
|
|
13361
13371
|
key: "default",
|
|
13362
|
-
fn: function fn(text, record
|
|
13372
|
+
fn: function fn(text, record) {
|
|
13363
13373
|
return [_c('a-button', {
|
|
13364
13374
|
attrs: {
|
|
13365
13375
|
"size": "small"
|
|
@@ -13372,7 +13382,7 @@ var render = function render() {
|
|
|
13372
13382
|
}
|
|
13373
13383
|
}, [_vm._v("删除")])];
|
|
13374
13384
|
}
|
|
13375
|
-
}], null, false,
|
|
13385
|
+
}], null, false, 1532428652)
|
|
13376
13386
|
})], 1)], 1) : _vm._e(), _vm.boxGroup === 0 ? [_c('li', {
|
|
13377
13387
|
staticClass: "control-item"
|
|
13378
13388
|
}, [_c('span', {
|
|
@@ -13790,7 +13800,7 @@ var defaultBox = {
|
|
|
13790
13800
|
},
|
|
13791
13801
|
addBox: function addBox() {
|
|
13792
13802
|
var box = (0,objectSpread2/* default */.Z)({}, defaultBox);
|
|
13793
|
-
box.id = this.controlType === '
|
|
13803
|
+
box.id = this.controlType === 'radio-box' ? this.vueController.generateID('RB') : this.vueController.generateID('CB');
|
|
13794
13804
|
box.groupName = this.groupName;
|
|
13795
13805
|
this.radioCheckBoxGroup.push(box);
|
|
13796
13806
|
},
|
|
@@ -13814,7 +13824,7 @@ var defaultBox = {
|
|
|
13814
13824
|
} else if (this.boxGroup === 1 && this.controlStatus === 'add') {
|
|
13815
13825
|
this.radioCheckBoxGroup.forEach(function (v) {
|
|
13816
13826
|
v.groupName = _this2.groupName;
|
|
13817
|
-
v.controlStyle = _this2.controlType;
|
|
13827
|
+
v.controlStyle = _this2.controlType == "radio-box" ? 'RadioBox' : "CheckBox";
|
|
13818
13828
|
if (v.id === _this2.tableRadio) v.isSelected = true;
|
|
13819
13829
|
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
13820
13830
|
_this2.vueController.insertRadioAndCheckBox('add', JSON.stringify(v));
|
|
@@ -13833,10 +13843,10 @@ var defaultBox = {
|
|
|
13833
13843
|
});
|
|
13834
13844
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
13835
13845
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
13836
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
13846
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=483f0e4a&prod&lang=scss&
|
|
13837
13847
|
// extracted by mini-css-extract-plugin
|
|
13838
13848
|
|
|
13839
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
13849
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=483f0e4a&prod&lang=scss&
|
|
13840
13850
|
|
|
13841
13851
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
13842
13852
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20906,7 +20916,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20906
20916
|
|
|
20907
20917
|
/***/ }),
|
|
20908
20918
|
|
|
20909
|
-
/***/
|
|
20919
|
+
/***/ 94116:
|
|
20910
20920
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20911
20921
|
|
|
20912
20922
|
"use strict";
|
|
@@ -20918,7 +20928,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20918
20928
|
"default": function() { return /* binding */ CanvasImageDialog; }
|
|
20919
20929
|
});
|
|
20920
20930
|
|
|
20921
|
-
;// 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/upload/CanvasImageDialog.vue?vue&type=template&id=
|
|
20931
|
+
;// 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/upload/CanvasImageDialog.vue?vue&type=template&id=432e384c&
|
|
20922
20932
|
var render = function render() {
|
|
20923
20933
|
var _vm = this,
|
|
20924
20934
|
_c = _vm._self._c;
|
|
@@ -21076,7 +21086,7 @@ var HoColorPickers = __webpack_require__(84214);
|
|
|
21076
21086
|
animationClassNames: 'control-modal-contents image-modal animation-in',
|
|
21077
21087
|
uploadLoading: false,
|
|
21078
21088
|
lWidth: 2,
|
|
21079
|
-
strokeColor: '#
|
|
21089
|
+
strokeColor: '#1a9afe',
|
|
21080
21090
|
canvasHistory: [],
|
|
21081
21091
|
step: -1,
|
|
21082
21092
|
canvas: null,
|
|
@@ -21293,7 +21303,7 @@ var HoColorPickers = __webpack_require__(84214);
|
|
|
21293
21303
|
drawText: function drawText() {
|
|
21294
21304
|
if (this.$refs.textCanvas && this.$refs.textCanvas.value) {
|
|
21295
21305
|
this.context.font = '16px 宋体';
|
|
21296
|
-
this.context.fillStyle =
|
|
21306
|
+
this.context.fillStyle = this.strokeColor;
|
|
21297
21307
|
this.context.fillText(this.$refs.textCanvas.value, this.textAreaStyle.left.split('px')[0], Number(this.textAreaStyle.top.split('px')[0]) + 16);
|
|
21298
21308
|
this.$refs.textCanvas.value = '';
|
|
21299
21309
|
this.textAreaStyle = {};
|
|
@@ -21336,10 +21346,10 @@ var HoColorPickers = __webpack_require__(84214);
|
|
|
21336
21346
|
});
|
|
21337
21347
|
;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
|
|
21338
21348
|
/* harmony default export */ var upload_CanvasImageDialogvue_type_script_lang_js_ = (CanvasImageDialogvue_type_script_lang_js_);
|
|
21339
|
-
;// 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/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=
|
|
21349
|
+
;// 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/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=432e384c&prod&lang=scss&
|
|
21340
21350
|
// extracted by mini-css-extract-plugin
|
|
21341
21351
|
|
|
21342
|
-
;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=
|
|
21352
|
+
;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=432e384c&prod&lang=scss&
|
|
21343
21353
|
|
|
21344
21354
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21345
21355
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -33522,7 +33532,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
33522
33532
|
key: "printToPDF",
|
|
33523
33533
|
value: function () {
|
|
33524
33534
|
var _printToPDF = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2(hoEditorFactoryID, PDF, type, fileName, reslove, positionY, format) {
|
|
33525
|
-
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, width, height, last, startPageNumOver, _iterator, _step,
|
|
33535
|
+
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, width, height, last, startPageNumOver, _iterator, _step, index, cpage, mainHeight, lastDline, dShape, posIndex, posY, _dShape, svg2pdfOptions, _cpage$drawDomLevel, _cpage$drawDomLevel$s, ctx, _cpage$drawDomLevel2, _cpage$drawDomLevel2$, _ctx, _ctx2, _svgBox2, svgData, _ctx3, _cpage$drawDomLevel$s2, _last, printStyle, _svgBox, exportHtml, url, link, otherPageNumber, i, name;
|
|
33526
33536
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context3) {
|
|
33527
33537
|
while (1) {
|
|
33528
33538
|
switch (_context3.prev = _context3.next) {
|
|
@@ -33696,7 +33706,11 @@ var Print = /*#__PURE__*/function () {
|
|
|
33696
33706
|
case 58:
|
|
33697
33707
|
_ctx = null;
|
|
33698
33708
|
case 59:
|
|
33699
|
-
index > 0 &&
|
|
33709
|
+
if (index > 0 && cpage.drawDomLevel) {
|
|
33710
|
+
(_cpage$drawDomLevel$s2 = cpage.drawDomLevel.stage) === null || _cpage$drawDomLevel$s2 === void 0 ? void 0 : _cpage$drawDomLevel$s2.removeAllChildren();
|
|
33711
|
+
cpage.drawDomLevel.clearStage();
|
|
33712
|
+
}
|
|
33713
|
+
// index > 0 && cpage.drawDomLevel?.clearStage();
|
|
33700
33714
|
case 60:
|
|
33701
33715
|
_context3.next = 18;
|
|
33702
33716
|
break;
|
|
@@ -33796,7 +33810,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
33796
33810
|
key: "createPDFBase64",
|
|
33797
33811
|
value: function () {
|
|
33798
33812
|
var _createPDFBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee3(hoEditorFactoryID, reslove, PDF) {
|
|
33799
|
-
var hoEditorFactory, orientation, svgBox, last, _iterator2, _step2, _cpage$
|
|
33813
|
+
var hoEditorFactory, orientation, svgBox, last, _iterator2, _step2, _cpage$drawDomLevel5, index, cpage, _cpage$drawDomLevel3, _cpage$drawDomLevel3$, ctx, _cpage$drawDomLevel4, _cpage$drawDomLevel4$, _ctx5, _ctx4;
|
|
33800
33814
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee3$(_context4) {
|
|
33801
33815
|
while (1) {
|
|
33802
33816
|
switch (_context4.prev = _context4.next) {
|
|
@@ -33850,7 +33864,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
33850
33864
|
PDF === null || PDF === void 0 ? void 0 : PDF.addPage();
|
|
33851
33865
|
ctx = PDF === null || PDF === void 0 ? void 0 : PDF.context2d;
|
|
33852
33866
|
window.printBlack = hoEditorFactory.printBlack;
|
|
33853
|
-
ctx && ((_cpage$
|
|
33867
|
+
ctx && ((_cpage$drawDomLevel3 = cpage.drawDomLevel) === null || _cpage$drawDomLevel3 === void 0 ? void 0 : (_cpage$drawDomLevel3$ = _cpage$drawDomLevel3.stage) === null || _cpage$drawDomLevel3$ === void 0 ? void 0 : _cpage$drawDomLevel3$.draw(ctx));
|
|
33854
33868
|
ctx = null;
|
|
33855
33869
|
_context4.next = 36;
|
|
33856
33870
|
break;
|
|
@@ -33860,14 +33874,14 @@ var Print = /*#__PURE__*/function () {
|
|
|
33860
33874
|
height: orientation === 'l' ? hoEditorFactory.pageProperty.heightPixes - 1 : hoEditorFactory.pageProperty.heightPixes,
|
|
33861
33875
|
printBlack: hoEditorFactory.printBlack
|
|
33862
33876
|
});
|
|
33863
|
-
_ctx4 && ((_cpage$
|
|
33877
|
+
_ctx4 && ((_cpage$drawDomLevel4 = cpage.drawDomLevel) === null || _cpage$drawDomLevel4 === void 0 ? void 0 : (_cpage$drawDomLevel4$ = _cpage$drawDomLevel4.stage) === null || _cpage$drawDomLevel4$ === void 0 ? void 0 : _cpage$drawDomLevel4$.draw(_ctx4));
|
|
33864
33878
|
PDF.addPage();
|
|
33865
33879
|
_context4.next = 35;
|
|
33866
33880
|
return svg2pdf((_ctx5 = _ctx4) === null || _ctx5 === void 0 ? void 0 : _ctx5.getSvg(), PDF);
|
|
33867
33881
|
case 35:
|
|
33868
33882
|
_ctx4 = null;
|
|
33869
33883
|
case 36:
|
|
33870
|
-
index > 0 && ((_cpage$
|
|
33884
|
+
index > 0 && ((_cpage$drawDomLevel5 = cpage.drawDomLevel) === null || _cpage$drawDomLevel5 === void 0 ? void 0 : _cpage$drawDomLevel5.clearStage());
|
|
33871
33885
|
case 37:
|
|
33872
33886
|
_context4.next = 11;
|
|
33873
33887
|
break;
|
|
@@ -33904,7 +33918,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
33904
33918
|
key: "createHTML",
|
|
33905
33919
|
value: function () {
|
|
33906
33920
|
var _createHTML = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee4(hoEditorFactoryID, reslove, htmlText) {
|
|
33907
|
-
var hoEditorFactory, svgBox, orientation, width, height, last, _iterator3, _step3, _cpage$
|
|
33921
|
+
var hoEditorFactory, svgBox, orientation, width, height, last, _iterator3, _step3, _cpage$drawDomLevel6, _cpage$drawDomLevel6$, _cpage$drawDomLevel7, index, cpage, ctx, svgData, printStyle;
|
|
33908
33922
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee4$(_context5) {
|
|
33909
33923
|
while (1) {
|
|
33910
33924
|
switch (_context5.prev = _context5.next) {
|
|
@@ -33955,10 +33969,10 @@ var Print = /*#__PURE__*/function () {
|
|
|
33955
33969
|
height: height,
|
|
33956
33970
|
printBlack: hoEditorFactory.printBlack
|
|
33957
33971
|
});
|
|
33958
|
-
ctx && ((_cpage$
|
|
33972
|
+
ctx && ((_cpage$drawDomLevel6 = cpage.drawDomLevel) === null || _cpage$drawDomLevel6 === void 0 ? void 0 : (_cpage$drawDomLevel6$ = _cpage$drawDomLevel6.stage) === null || _cpage$drawDomLevel6$ === void 0 ? void 0 : _cpage$drawDomLevel6$.draw(ctx));
|
|
33959
33973
|
svgData = ctx === null || ctx === void 0 ? void 0 : ctx.getSvg();
|
|
33960
33974
|
svgBox === null || svgBox === void 0 ? void 0 : svgBox.appendChild(svgData);
|
|
33961
|
-
index > 0 && ((_cpage$
|
|
33975
|
+
index > 0 && ((_cpage$drawDomLevel7 = cpage.drawDomLevel) === null || _cpage$drawDomLevel7 === void 0 ? void 0 : _cpage$drawDomLevel7.clearStage());
|
|
33962
33976
|
case 28:
|
|
33963
33977
|
_context5.next = 12;
|
|
33964
33978
|
break;
|
|
@@ -33997,7 +34011,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
33997
34011
|
key: "printAllNew",
|
|
33998
34012
|
value: function () {
|
|
33999
34013
|
var _printAllNew = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee5(hoEditorFactoryID, reslove, PDF, position) {
|
|
34000
|
-
var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, _iterator4, _step4, _cpage$
|
|
34014
|
+
var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, _iterator4, _step4, _cpage$drawDomLevel10, index, cpage, _cpage$drawDomLevel8, _cpage$drawDomLevel8$, ctx, _cpage$drawDomLevel9, _cpage$drawDomLevel9$, _ctx7, _ctx6, lastPos;
|
|
34001
34015
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee5$(_context6) {
|
|
34002
34016
|
while (1) {
|
|
34003
34017
|
switch (_context6.prev = _context6.next) {
|
|
@@ -34091,7 +34105,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
34091
34105
|
}
|
|
34092
34106
|
ctx.posX = svg2pdfOptions.x;
|
|
34093
34107
|
ctx.posY = svg2pdfOptions.y;
|
|
34094
|
-
ctx && ((_cpage$
|
|
34108
|
+
ctx && ((_cpage$drawDomLevel8 = cpage.drawDomLevel) === null || _cpage$drawDomLevel8 === void 0 ? void 0 : (_cpage$drawDomLevel8$ = _cpage$drawDomLevel8.stage) === null || _cpage$drawDomLevel8$ === void 0 ? void 0 : _cpage$drawDomLevel8$.draw(ctx));
|
|
34095
34109
|
ctx = null;
|
|
34096
34110
|
_context6.next = 46;
|
|
34097
34111
|
break;
|
|
@@ -34101,7 +34115,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
34101
34115
|
height: orientation === 'l' ? heightPixes - 1 : heightPixes,
|
|
34102
34116
|
printBlack: hoEditorFactory.printBlack
|
|
34103
34117
|
});
|
|
34104
|
-
_ctx6 && ((_cpage$
|
|
34118
|
+
_ctx6 && ((_cpage$drawDomLevel9 = cpage.drawDomLevel) === null || _cpage$drawDomLevel9 === void 0 ? void 0 : (_cpage$drawDomLevel9$ = _cpage$drawDomLevel9.stage) === null || _cpage$drawDomLevel9$ === void 0 ? void 0 : _cpage$drawDomLevel9$.draw(_ctx6));
|
|
34105
34119
|
if (formats.length == 2 && !hoEditorFactory.isFixedPrintToA4) {
|
|
34106
34120
|
PDF === null || PDF === void 0 ? void 0 : PDF.addPage(formats, orientation);
|
|
34107
34121
|
} else {
|
|
@@ -34112,7 +34126,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
34112
34126
|
case 45:
|
|
34113
34127
|
_ctx6 = null;
|
|
34114
34128
|
case 46:
|
|
34115
|
-
index > 0 && ((_cpage$
|
|
34129
|
+
index > 0 && ((_cpage$drawDomLevel10 = cpage.drawDomLevel) === null || _cpage$drawDomLevel10 === void 0 ? void 0 : _cpage$drawDomLevel10.clearStage());
|
|
34116
34130
|
case 47:
|
|
34117
34131
|
_context6.next = 17;
|
|
34118
34132
|
break;
|
|
@@ -69052,11 +69066,11 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
69052
69066
|
if (rect) {
|
|
69053
69067
|
var dWidth = rect.width;
|
|
69054
69068
|
var dHeight = rect.height;
|
|
69055
|
-
if (0 < pos.x && pos.x < dWidth && (pos.y
|
|
69069
|
+
if (0 < pos.x && pos.x < dWidth && (pos.y >= 0 || pos.y <= dHeight)) {
|
|
69056
69070
|
inYrange = true;
|
|
69057
69071
|
// this._dObj.cursor = "s-resize";
|
|
69058
69072
|
// this.setBoundsYMoveable(e.stageY, dWidth);
|
|
69059
|
-
} else if (0
|
|
69073
|
+
} else if (0 <= pos.y && pos.y <= dHeight && (pos.x < 3 || Math.abs(pos.x - dWidth) < 3)) {
|
|
69060
69074
|
inXrange = true;
|
|
69061
69075
|
}
|
|
69062
69076
|
}
|
|
@@ -77710,7 +77724,11 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
77710
77724
|
inLineIndex = -1;
|
|
77711
77725
|
} else {
|
|
77712
77726
|
dline = this.getDrawLineByDNode(dnode);
|
|
77713
|
-
|
|
77727
|
+
if (dline && dline.drawItems) {
|
|
77728
|
+
inLineIndex = dline.drawItems.indexOf(dnode);
|
|
77729
|
+
} else {
|
|
77730
|
+
inLineIndex = -1;
|
|
77731
|
+
}
|
|
77714
77732
|
//dline.clearDrawNodes(index);
|
|
77715
77733
|
}
|
|
77716
77734
|
|
|
@@ -77788,7 +77806,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
77788
77806
|
// const dline = nextDrawLineInfos[1];
|
|
77789
77807
|
// const inLineIndex = nextDrawLineInfos[2];
|
|
77790
77808
|
var nextDrawNodeInfos = this.getNextDrawNode(e.beforeChangePath);
|
|
77791
|
-
var
|
|
77809
|
+
var _node = nextDrawNodeInfos[0];
|
|
77792
77810
|
var startChildIndex = nextDrawNodeInfos[1];
|
|
77793
77811
|
var dendDrawLine = dline;
|
|
77794
77812
|
var aPaintLine;
|
|
@@ -77818,7 +77836,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
77818
77836
|
paragraphNode = this.clearDrawParagraphAfterDline(dline.paragraphNode, dline, inLineIndex, e.beforeChangePath);
|
|
77819
77837
|
dendDrawLine = this.drawDocInsert(paragraphNode, lineIndex,
|
|
77820
77838
|
// inLineIndex,
|
|
77821
|
-
|
|
77839
|
+
_node, startChildIndex + 1, e.afterChangePath);
|
|
77822
77840
|
var endIndex = alines.indexOf(dendDrawLine);
|
|
77823
77841
|
if (hoEditorFactory.isUseDrawingOptimization) {
|
|
77824
77842
|
endIndex = alines.length - 1;
|
|
@@ -77944,10 +77962,10 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
77944
77962
|
// (node as ParagraphNode).updateDrawInfos();
|
|
77945
77963
|
// } else {
|
|
77946
77964
|
//后续行未删除部分,添加到当前行的尾部
|
|
77947
|
-
if (
|
|
77965
|
+
if (_node && !(_node instanceof ParagraphNode/* ParagraphNode */.C)) {
|
|
77948
77966
|
var endLine = this.drawDocInsert(paragraphNode, lineIndex,
|
|
77949
77967
|
// inLineIndex,
|
|
77950
|
-
|
|
77968
|
+
_node, startChildIndex + 1, e.afterChangePath);
|
|
77951
77969
|
if (endLine instanceof DrawLine/* DrawLine */.a) endLine.fitLines();
|
|
77952
77970
|
}
|
|
77953
77971
|
// }
|
|
@@ -78025,7 +78043,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
78025
78043
|
np.node.node2DrawNode();
|
|
78026
78044
|
np.node.placeDNodeAfterDline(beforeNode.drawlines[0]);
|
|
78027
78045
|
dTable.table.placeDNodeAfterDrawLine(np.node, np.node.drawlines[0], e.afterChangePath);
|
|
78028
|
-
dline =
|
|
78046
|
+
dline = _node.drawTable;
|
|
78029
78047
|
if (e.repaintImmediate) {
|
|
78030
78048
|
if (!dArea) {
|
|
78031
78049
|
return false;
|
|
@@ -78054,7 +78072,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
78054
78072
|
var _index2 = _beforeNode.drootNodes.indexOf(_beforeNode.drawlines[0]);
|
|
78055
78073
|
var dTop = _beforeNode.drawlines[0].y;
|
|
78056
78074
|
_np.node.placeDNodeAfterDrawLine(_beforeNode, _beforeNode.drawlines[0], e.afterChangePath);
|
|
78057
|
-
dline =
|
|
78075
|
+
dline = _node.drawTable;
|
|
78058
78076
|
if (e.repaintImmediate) {
|
|
78059
78077
|
if (!dArea) {
|
|
78060
78078
|
return false;
|
|
@@ -78205,6 +78223,14 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
78205
78223
|
if (hoEditorFactory.docTree.curOnDragNode) {
|
|
78206
78224
|
this._caret.visible = false;
|
|
78207
78225
|
}
|
|
78226
|
+
var node = hoEditorFactory.docTree.curDomRange.normalize().npEnd.node;
|
|
78227
|
+
if (node) {
|
|
78228
|
+
if (node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && !node.parentNode.canModifyContent) {
|
|
78229
|
+
if (!(node instanceof MarkNode/* MarkNode */.j && node.MarkNodeType == 2)) {
|
|
78230
|
+
this._caret.visible = false;
|
|
78231
|
+
}
|
|
78232
|
+
}
|
|
78233
|
+
}
|
|
78208
78234
|
//console.timeEnd("文档change事件");
|
|
78209
78235
|
return true;
|
|
78210
78236
|
}
|
|
@@ -78500,6 +78526,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
78500
78526
|
}, {
|
|
78501
78527
|
key: "onSelectChanged",
|
|
78502
78528
|
value: function onSelectChanged(e) {
|
|
78529
|
+
var _endNp$node;
|
|
78503
78530
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
78504
78531
|
if (e.newRange.startPath === "" || e.newRange.endPath === "") {
|
|
78505
78532
|
return false;
|
|
@@ -78535,6 +78562,12 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
78535
78562
|
if (hoEditorFactory.docTree.curOnDragNode) {
|
|
78536
78563
|
this._caret.visible = false;
|
|
78537
78564
|
}
|
|
78565
|
+
var pNode = (_endNp$node = endNp.node) === null || _endNp$node === void 0 ? void 0 : _endNp$node.parentNode;
|
|
78566
|
+
if (pNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && !pNode.canModifyContent) {
|
|
78567
|
+
if (!(endNp.node instanceof MarkNode/* MarkNode */.j && endNp.node.MarkNodeType == 2)) {
|
|
78568
|
+
this._caret.visible = false;
|
|
78569
|
+
}
|
|
78570
|
+
}
|
|
78538
78571
|
return true;
|
|
78539
78572
|
}
|
|
78540
78573
|
}, {
|
|
@@ -78713,12 +78746,12 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
78713
78746
|
selectStart = "".concat(_dNode.node.getNodePath(), "/").concat(childIndex);
|
|
78714
78747
|
}
|
|
78715
78748
|
} else if ((0,IDrawInfos/* instanceOfIDrawInfos */.r)(_dNode)) {
|
|
78716
|
-
var
|
|
78717
|
-
var _dindex =
|
|
78718
|
-
if (
|
|
78719
|
-
selectStart = "".concat(
|
|
78749
|
+
var _node2 = _dNode.node;
|
|
78750
|
+
var _dindex = _node2.drawNodes.indexOf(_dNode);
|
|
78751
|
+
if (_node2.hasChildPath()) {
|
|
78752
|
+
selectStart = "".concat(_node2.getNodePath(), "/").concat(_dindex);
|
|
78720
78753
|
} else {
|
|
78721
|
-
selectStart = "".concat(
|
|
78754
|
+
selectStart = "".concat(_node2.getNodePath());
|
|
78722
78755
|
}
|
|
78723
78756
|
}
|
|
78724
78757
|
}
|
|
@@ -78802,6 +78835,18 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
78802
78835
|
if (hoEditorFactory.docTree.curOnDragNode) {
|
|
78803
78836
|
this._caret.visible = false;
|
|
78804
78837
|
}
|
|
78838
|
+
if (dNode instanceof DrawTextNode/* DrawTextNode */.v && (dNode.node instanceof TextNode/* TextNode */.R || dNode.node instanceof MarkNode/* MarkNode */.j)) {
|
|
78839
|
+
var _np4 = hoEditorFactory.docTree.findNodePositionByPath(strPath);
|
|
78840
|
+
if (_np4) {
|
|
78841
|
+
var _np4$node;
|
|
78842
|
+
var pNode = (_np4$node = _np4.node) === null || _np4$node === void 0 ? void 0 : _np4$node.parentNode;
|
|
78843
|
+
if (pNode instanceof TextInputFieldNode/* TextInputFieldNode */.re && !pNode.canModifyContent) {
|
|
78844
|
+
if (!(_np4.node instanceof MarkNode/* MarkNode */.j && _np4.node.MarkNodeType == 2)) {
|
|
78845
|
+
this._caret.visible = false;
|
|
78846
|
+
}
|
|
78847
|
+
}
|
|
78848
|
+
}
|
|
78849
|
+
}
|
|
78805
78850
|
}
|
|
78806
78851
|
}, {
|
|
78807
78852
|
key: "moveEditTo",
|
|
@@ -80540,6 +80585,33 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
80540
80585
|
value: function setCaretVisible(bval) {
|
|
80541
80586
|
this._caret.visible = bval;
|
|
80542
80587
|
}
|
|
80588
|
+
}, {
|
|
80589
|
+
key: "getCurDlineDtop",
|
|
80590
|
+
value: function getCurDlineDtop(aline) {
|
|
80591
|
+
var dLine;
|
|
80592
|
+
var dTop = 0;
|
|
80593
|
+
if (aline instanceof DrawTable/* DrawTable */.t) {
|
|
80594
|
+
if (aline.drawPageTables.length > 0) {
|
|
80595
|
+
dLine = aline.drawPageTables[aline.drawPageTables.length - 1];
|
|
80596
|
+
} else {
|
|
80597
|
+
dLine = null;
|
|
80598
|
+
var startLine = this.mainDNodes.indexOf(aline);
|
|
80599
|
+
if (startLine > 0) {
|
|
80600
|
+
var prevLine = this.mainDNodes[startLine - 1];
|
|
80601
|
+
if (prevLine instanceof DrawTable/* DrawTable */.t) {
|
|
80602
|
+
var dPrevTable = prevLine.drawPageTables[prevLine.drawPageTables.length - 1];
|
|
80603
|
+
dTop = dPrevTable.y + dPrevTable.dHeight;
|
|
80604
|
+
} else {
|
|
80605
|
+
dTop = prevLine.y + prevLine.dHeight + prevLine.paragraphNode.combineParagraph.lineSpace;
|
|
80606
|
+
}
|
|
80607
|
+
}
|
|
80608
|
+
}
|
|
80609
|
+
} else {
|
|
80610
|
+
dLine = aline;
|
|
80611
|
+
dTop = aline.y;
|
|
80612
|
+
}
|
|
80613
|
+
return [dLine, dTop];
|
|
80614
|
+
}
|
|
80543
80615
|
}]);
|
|
80544
80616
|
return DrawTree;
|
|
80545
80617
|
}();
|
|
@@ -186773,13 +186845,13 @@ var map = {
|
|
|
186773
186845
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
186774
186846
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
186775
186847
|
"./poperSelect/PoperMark.vue": 71472,
|
|
186776
|
-
"./poperSelect/PoperSelect.vue":
|
|
186848
|
+
"./poperSelect/PoperSelect.vue": 98174,
|
|
186777
186849
|
"./poperTipText/PoperTipText.vue": 15845,
|
|
186778
186850
|
"./popers/Poper.vue": 57937,
|
|
186779
186851
|
"./popers/Title.vue": 89987,
|
|
186780
186852
|
"./printstyle/PrintLineStyle.vue": 41889,
|
|
186781
186853
|
"./qrCode/QrCode.vue": 67124,
|
|
186782
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
186854
|
+
"./radioCheckBox/RadioCheckbox.vue": 92638,
|
|
186783
186855
|
"./selectDialog/SelectDialog.vue": 26679,
|
|
186784
186856
|
"./sign/Sign.vue": 99163,
|
|
186785
186857
|
"./table/TableCellPoper.vue": 21277,
|
|
@@ -186792,7 +186864,7 @@ var map = {
|
|
|
186792
186864
|
"./table/TableRowProperty.vue": 5218,
|
|
186793
186865
|
"./textDialog/TextDialog.vue": 233,
|
|
186794
186866
|
"./textDialog/TextToLabelDialog.vue": 19722,
|
|
186795
|
-
"./upload/CanvasImageDialog.vue":
|
|
186867
|
+
"./upload/CanvasImageDialog.vue": 94116,
|
|
186796
186868
|
"./upload/UploadImageDialog.vue": 60369
|
|
186797
186869
|
};
|
|
186798
186870
|
|
|
@@ -225124,7 +225196,7 @@ var DrawPage = __webpack_require__(72722);
|
|
|
225124
225196
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
225125
225197
|
var plugins_util = __webpack_require__(62783);
|
|
225126
225198
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
225127
|
-
var PoperSelect = __webpack_require__(
|
|
225199
|
+
var PoperSelect = __webpack_require__(98174);
|
|
225128
225200
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
225129
225201
|
var PoperMark = __webpack_require__(71472);
|
|
225130
225202
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -226819,7 +226891,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
226819
226891
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
226820
226892
|
var ParagraphNode = __webpack_require__(67945);
|
|
226821
226893
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
226822
|
-
/* harmony default export */ var version = ('3.0.
|
|
226894
|
+
/* harmony default export */ var version = ('3.0.7');
|
|
226823
226895
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
226824
226896
|
var PoperTipText = __webpack_require__(15845);
|
|
226825
226897
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -252153,8 +252225,8 @@ var popper = __webpack_require__(95551);
|
|
|
252153
252225
|
// permissionStatus.state 的值是 'granted'、'denied'、'prompt':
|
|
252154
252226
|
if (permissionStatus.state === 'denied') {
|
|
252155
252227
|
var _chrome, _chrome$webview, _chrome2, _chrome2$webview;
|
|
252156
|
-
_this.postMessage();
|
|
252157
252228
|
(_chrome = chrome) === null || _chrome === void 0 ? void 0 : (_chrome$webview = _chrome.webview) === null || _chrome$webview === void 0 ? void 0 : _chrome$webview.addEventListener('message', _this.getMessage);
|
|
252229
|
+
_this.postMessage();
|
|
252158
252230
|
if ((_chrome2 = chrome) !== null && _chrome2 !== void 0 && (_chrome2$webview = _chrome2.webview) !== null && _chrome2$webview !== void 0 && _chrome2$webview.postMessage) {
|
|
252159
252231
|
_this.isWebview = true;
|
|
252160
252232
|
} else {
|
|
@@ -252195,7 +252267,6 @@ var popper = __webpack_require__(95551);
|
|
|
252195
252267
|
exec: 'clipboard',
|
|
252196
252268
|
data: ''
|
|
252197
252269
|
});
|
|
252198
|
-
this.getMessage();
|
|
252199
252270
|
},
|
|
252200
252271
|
getMessage: function getMessage(e) {
|
|
252201
252272
|
var reg = new RegExp('<html' + '(.*?)' + '</html>');
|
|
@@ -252208,6 +252279,8 @@ var popper = __webpack_require__(95551);
|
|
|
252208
252279
|
this.htmlText = res.res.replace(/\r\n/g, '').match(reg)[0];
|
|
252209
252280
|
}
|
|
252210
252281
|
console.warn(this.htmlText, ' --- ', this.txtText);
|
|
252282
|
+
} else {
|
|
252283
|
+
console.warn(e);
|
|
252211
252284
|
}
|
|
252212
252285
|
} catch (error) {
|
|
252213
252286
|
console.warn(error);
|
|
@@ -252426,9 +252499,9 @@ var popper = __webpack_require__(95551);
|
|
|
252426
252499
|
var _this$$slots$hoRightS,
|
|
252427
252500
|
_this$hoEditorProvide3,
|
|
252428
252501
|
_this$hoEditorProvide4,
|
|
252429
|
-
_this5 = this,
|
|
252430
252502
|
_this$hoEditorProvide5,
|
|
252431
252503
|
_this$hoEditorProvide6,
|
|
252504
|
+
_this5 = this,
|
|
252432
252505
|
_this$hoEditorProvide7,
|
|
252433
252506
|
_this$hoEditorProvide8,
|
|
252434
252507
|
_this$hoEditorProvide9,
|
|
@@ -252442,7 +252515,16 @@ var popper = __webpack_require__(95551);
|
|
|
252442
252515
|
_this$hoEditorProvide17,
|
|
252443
252516
|
_this$hoEditorProvide18,
|
|
252444
252517
|
_this$hoEditorProvide19,
|
|
252445
|
-
_this$hoEditorProvide20
|
|
252518
|
+
_this$hoEditorProvide20,
|
|
252519
|
+
_this$hoEditorProvide21,
|
|
252520
|
+
_this$hoEditorProvide22,
|
|
252521
|
+
_this$hoEditorProvide23,
|
|
252522
|
+
_this$hoEditorProvide24,
|
|
252523
|
+
_this$hoEditorProvide25,
|
|
252524
|
+
_this$hoEditorProvide26,
|
|
252525
|
+
_this$hoEditorProvide27,
|
|
252526
|
+
_this$hoEditorProvide28,
|
|
252527
|
+
_this$hoEditorProvide29;
|
|
252446
252528
|
var h = arguments[0];
|
|
252447
252529
|
return h("div", {
|
|
252448
252530
|
"directives": [{
|
|
@@ -252498,7 +252580,7 @@ var popper = __webpack_require__(95551);
|
|
|
252498
252580
|
"on": {
|
|
252499
252581
|
"click": this.editLabel.bind(this)
|
|
252500
252582
|
}
|
|
252501
|
-
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.type) === 'express' && h("ul", {
|
|
252583
|
+
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.type) === 'express' && ((_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.paintStatus) === 0 && ((_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.paintStatus) === 0 && h("ul", {
|
|
252502
252584
|
"class": "mouse-right-menu"
|
|
252503
252585
|
}, [h("li", {
|
|
252504
252586
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252509,7 +252591,7 @@ var popper = __webpack_require__(95551);
|
|
|
252509
252591
|
return _this5.toUpdateNodes('express', event);
|
|
252510
252592
|
}
|
|
252511
252593
|
}
|
|
252512
|
-
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), ((_this$
|
|
252594
|
+
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.type) === 'radio-box' || ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.type) === 'check-box') && ((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.paintStatus) === 0 ? h("ul", {
|
|
252513
252595
|
"class": "mouse-right-menu"
|
|
252514
252596
|
}, [h("li", {
|
|
252515
252597
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252521,7 +252603,7 @@ var popper = __webpack_require__(95551);
|
|
|
252521
252603
|
return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
|
|
252522
252604
|
}
|
|
252523
252605
|
}
|
|
252524
|
-
}, [((_this$
|
|
252606
|
+
}, [((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]) : null, ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.type) === 'date' && ((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.paintStatus) === 0 && h("ul", {
|
|
252525
252607
|
"class": "mouse-right-menu"
|
|
252526
252608
|
}, [h("li", {
|
|
252527
252609
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252532,7 +252614,7 @@ var popper = __webpack_require__(95551);
|
|
|
252532
252614
|
return _this5.toUpdateNodes('date', event);
|
|
252533
252615
|
}
|
|
252534
252616
|
}
|
|
252535
|
-
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$
|
|
252617
|
+
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.type) === 'select' && ((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.paintStatus) === 0 && h("ul", {
|
|
252536
252618
|
"class": "mouse-right-menu"
|
|
252537
252619
|
}, [h("li", {
|
|
252538
252620
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252543,7 +252625,7 @@ var popper = __webpack_require__(95551);
|
|
|
252543
252625
|
return _this5.toUpdateNodes('select', event);
|
|
252544
252626
|
}
|
|
252545
252627
|
}
|
|
252546
|
-
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$
|
|
252628
|
+
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.type) === 'barcode' && ((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.paintStatus) === 0 && h("ul", {
|
|
252547
252629
|
"class": "mouse-right-menu"
|
|
252548
252630
|
}, [h("li", {
|
|
252549
252631
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252554,7 +252636,7 @@ var popper = __webpack_require__(95551);
|
|
|
252554
252636
|
return _this5.toUpdateNodes('barcode', event);
|
|
252555
252637
|
}
|
|
252556
252638
|
}
|
|
252557
|
-
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$
|
|
252639
|
+
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.type) === 'qrcode' && ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.paintStatus) === 0 && h("ul", {
|
|
252558
252640
|
"class": "mouse-right-menu"
|
|
252559
252641
|
}, [h("li", {
|
|
252560
252642
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252565,7 +252647,7 @@ var popper = __webpack_require__(95551);
|
|
|
252565
252647
|
return _this5.toUpdateNodes('qrcode', event);
|
|
252566
252648
|
}
|
|
252567
252649
|
}
|
|
252568
|
-
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$
|
|
252650
|
+
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.type) === 'edit-image' && ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.paintStatus) === 0 && h("ul", {
|
|
252569
252651
|
"class": "mouse-right-menu"
|
|
252570
252652
|
}, [h("li", {
|
|
252571
252653
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252576,7 +252658,7 @@ var popper = __webpack_require__(95551);
|
|
|
252576
252658
|
return _this5.toUpdateNodes('edit-image', event);
|
|
252577
252659
|
}
|
|
252578
252660
|
}
|
|
252579
|
-
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((
|
|
252661
|
+
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.type) === 'text' && ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.paintStatus) === 0 && h("ul", {
|
|
252580
252662
|
"class": "mouse-right-menu"
|
|
252581
252663
|
}, [h("li", {
|
|
252582
252664
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252587,7 +252669,7 @@ var popper = __webpack_require__(95551);
|
|
|
252587
252669
|
return _this5.toUpdateNodes('text', event);
|
|
252588
252670
|
}
|
|
252589
252671
|
}
|
|
252590
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$
|
|
252672
|
+
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.paintStatus) === 0 || ((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
|
|
252591
252673
|
"class": "mouse-right-menu"
|
|
252592
252674
|
}, [h("li", {
|
|
252593
252675
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252626,7 +252708,7 @@ var popper = __webpack_require__(95551);
|
|
|
252626
252708
|
return _this5.toUpdateNodes('table-formula', event);
|
|
252627
252709
|
}
|
|
252628
252710
|
}
|
|
252629
|
-
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$
|
|
252711
|
+
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
252630
252712
|
"class": "mouse-right-menu"
|
|
252631
252713
|
}, [h("li", {
|
|
252632
252714
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252682,7 +252764,7 @@ var popper = __webpack_require__(95551);
|
|
|
252682
252764
|
"type": "delete"
|
|
252683
252765
|
},
|
|
252684
252766
|
"style": "font-size: 20px;"
|
|
252685
|
-
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$
|
|
252767
|
+
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
252686
252768
|
"class": "mouse-right-menu"
|
|
252687
252769
|
}, [h("li", {
|
|
252688
252770
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252696,7 +252778,7 @@ var popper = __webpack_require__(95551);
|
|
|
252696
252778
|
table: this.defaultTable,
|
|
252697
252779
|
tableProperty: this.hoEditorProvider.rightNode.tableProperty
|
|
252698
252780
|
})
|
|
252699
|
-
})]), ((_this$
|
|
252781
|
+
})]), ((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.canShowComment) && h("ul", {
|
|
252700
252782
|
"class": "mouse-right-menu"
|
|
252701
252783
|
}, [h("li", {
|
|
252702
252784
|
"class": "mouse-menu-item",
|
|
@@ -252705,7 +252787,7 @@ var popper = __webpack_require__(95551);
|
|
|
252705
252787
|
return _this5.hideComments();
|
|
252706
252788
|
}
|
|
252707
252789
|
}
|
|
252708
|
-
}, [(_this$
|
|
252790
|
+
}, [(_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) !== null && _this$hoEditorProvide29 !== void 0 && _this$hoEditorProvide29.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])]), h("ul", {
|
|
252709
252791
|
"class": "mouse-right-menu"
|
|
252710
252792
|
}, [h("li", {
|
|
252711
252793
|
"class": "mouse-menu-item"
|