hoeditor-web 3.1.23 → 3.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/hoeditor.umd.js +250 -130
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -9371,7 +9371,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
9371
9371
|
|
|
9372
9372
|
/***/ }),
|
|
9373
9373
|
|
|
9374
|
-
/***/
|
|
9374
|
+
/***/ 51282:
|
|
9375
9375
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9376
9376
|
|
|
9377
9377
|
"use strict";
|
|
@@ -9391,7 +9391,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
9391
9391
|
var es_regexp_exec = __webpack_require__(74916);
|
|
9392
9392
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
9393
9393
|
var es_string_replace = __webpack_require__(15306);
|
|
9394
|
-
;// 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=
|
|
9394
|
+
;// 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=73cf442f&
|
|
9395
9395
|
|
|
9396
9396
|
|
|
9397
9397
|
|
|
@@ -9541,8 +9541,7 @@ var render = function render() {
|
|
|
9541
9541
|
"position": "absolute",
|
|
9542
9542
|
"top": "0px",
|
|
9543
9543
|
"z-index": "111",
|
|
9544
|
-
"background": "#fff"
|
|
9545
|
-
"width": "100%"
|
|
9544
|
+
"background": "#fff"
|
|
9546
9545
|
}
|
|
9547
9546
|
}, [_vm._v("已选择" + _vm._s(_vm.currentListNameText))]), _vm._l(_vm.selectedList, function (item, index) {
|
|
9548
9547
|
return [_c('li', {
|
|
@@ -9780,7 +9779,7 @@ var render = function render() {
|
|
|
9780
9779
|
};
|
|
9781
9780
|
var staticRenderFns = [];
|
|
9782
9781
|
|
|
9783
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9782
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=73cf442f&
|
|
9784
9783
|
|
|
9785
9784
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9786
9785
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -12257,7 +12256,7 @@ var type = __webpack_require__(41542);
|
|
|
12257
12256
|
var str = this.input;
|
|
12258
12257
|
var arr = [];
|
|
12259
12258
|
this.poperSelectList.forEach(function (v) {
|
|
12260
|
-
if (str && v.text.
|
|
12259
|
+
if (str && (v.text.includes(str) || v.abbrp.includes(str))) {
|
|
12261
12260
|
arr.push(v);
|
|
12262
12261
|
} else if (!str) {
|
|
12263
12262
|
arr.push(v);
|
|
@@ -12559,10 +12558,10 @@ var type = __webpack_require__(41542);
|
|
|
12559
12558
|
});
|
|
12560
12559
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
12561
12560
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
12562
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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=
|
|
12561
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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=73cf442f&prod&lang=less&
|
|
12563
12562
|
// extracted by mini-css-extract-plugin
|
|
12564
12563
|
|
|
12565
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12564
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=73cf442f&prod&lang=less&
|
|
12566
12565
|
|
|
12567
12566
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
12568
12567
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -13531,7 +13530,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13531
13530
|
|
|
13532
13531
|
/***/ }),
|
|
13533
13532
|
|
|
13534
|
-
/***/
|
|
13533
|
+
/***/ 75493:
|
|
13535
13534
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13536
13535
|
|
|
13537
13536
|
"use strict";
|
|
@@ -13545,7 +13544,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13545
13544
|
|
|
13546
13545
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
13547
13546
|
var es_function_name = __webpack_require__(68309);
|
|
13548
|
-
;// 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=
|
|
13547
|
+
;// 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=363e86e2&
|
|
13549
13548
|
|
|
13550
13549
|
var render = function render() {
|
|
13551
13550
|
var _vm = this,
|
|
@@ -13629,7 +13628,21 @@ var render = function render() {
|
|
|
13629
13628
|
},
|
|
13630
13629
|
expression: "groupHasOptions"
|
|
13631
13630
|
}
|
|
13632
|
-
})
|
|
13631
|
+
}), _vm.controlType === 'CheckBox' ? _c('span', {
|
|
13632
|
+
staticClass: "label",
|
|
13633
|
+
staticStyle: {
|
|
13634
|
+
"width": "100px",
|
|
13635
|
+
"margin": "0 0 0 20px"
|
|
13636
|
+
}
|
|
13637
|
+
}, [_vm._v("同组时选项互斥")]) : _vm._e(), _vm.controlType === 'CheckBox' ? _c('a-checkbox', {
|
|
13638
|
+
model: {
|
|
13639
|
+
value: _vm.isMutualExclusion,
|
|
13640
|
+
callback: function callback($$v) {
|
|
13641
|
+
_vm.isMutualExclusion = $$v;
|
|
13642
|
+
},
|
|
13643
|
+
expression: "isMutualExclusion"
|
|
13644
|
+
}
|
|
13645
|
+
}) : _vm._e()], 1) : _vm._e(), _vm.boxGroup === 1 ? _c('li', {
|
|
13633
13646
|
staticClass: "control-item",
|
|
13634
13647
|
staticStyle: {
|
|
13635
13648
|
"padding": "0"
|
|
@@ -14157,7 +14170,15 @@ var render = function render() {
|
|
|
14157
14170
|
},
|
|
14158
14171
|
expression: "radioCheckBox.groupHasOptions"
|
|
14159
14172
|
}
|
|
14160
|
-
}, [_vm._v("同组时选项不能为空")]) : _vm._e()
|
|
14173
|
+
}, [_vm._v("同组时选项不能为空")]) : _vm._e(), _vm.controlType !== 'RadioBox' ? _c('a-checkbox', {
|
|
14174
|
+
model: {
|
|
14175
|
+
value: _vm.radioCheckBox.isMutualExclusion,
|
|
14176
|
+
callback: function callback($$v) {
|
|
14177
|
+
_vm.$set(_vm.radioCheckBox, "isMutualExclusion", $$v);
|
|
14178
|
+
},
|
|
14179
|
+
expression: "radioCheckBox.isMutualExclusion"
|
|
14180
|
+
}
|
|
14181
|
+
}, [_vm._v("同组时选项互斥")]) : _vm._e()], 1), _c('li', {
|
|
14161
14182
|
staticClass: "control-item"
|
|
14162
14183
|
}, [_c('span', {
|
|
14163
14184
|
staticClass: "label"
|
|
@@ -14254,7 +14275,7 @@ var render = function render() {
|
|
|
14254
14275
|
};
|
|
14255
14276
|
var staticRenderFns = [];
|
|
14256
14277
|
|
|
14257
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
14278
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=363e86e2&
|
|
14258
14279
|
|
|
14259
14280
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
14260
14281
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -14325,6 +14346,7 @@ var defaultBox = {
|
|
|
14325
14346
|
isTransToText: false,
|
|
14326
14347
|
isEditText: false,
|
|
14327
14348
|
groupHasOptions: false,
|
|
14349
|
+
isMutualExclusion: false,
|
|
14328
14350
|
associatedElement: ''
|
|
14329
14351
|
};
|
|
14330
14352
|
/* harmony default export */ var RadioCheckboxvue_type_script_lang_js_ = ({
|
|
@@ -14335,6 +14357,7 @@ var defaultBox = {
|
|
|
14335
14357
|
groupName: '',
|
|
14336
14358
|
tableRadio: false,
|
|
14337
14359
|
groupHasOptions: false,
|
|
14360
|
+
isMutualExclusion: false,
|
|
14338
14361
|
radioCheckBoxGroup: [],
|
|
14339
14362
|
animationClassName: 'animation-in',
|
|
14340
14363
|
radioCheckBox: JSON.parse(JSON.stringify(defaultBox)),
|
|
@@ -14384,10 +14407,12 @@ var defaultBox = {
|
|
|
14384
14407
|
id: v.id,
|
|
14385
14408
|
groupName: v.groupName,
|
|
14386
14409
|
groupHasOptions: v.groupHasOptions,
|
|
14410
|
+
isMutualExclusion: v.isMutualExclusion,
|
|
14387
14411
|
tableType: 'update'
|
|
14388
14412
|
};
|
|
14389
14413
|
_this.groupName = v.groupName;
|
|
14390
14414
|
_this.groupHasOptions = v.groupHasOptions;
|
|
14415
|
+
_this.isMutualExclusion = v.isMutualExclusion;
|
|
14391
14416
|
Object.keys(_this.radioCheckBox).forEach(function (key) {
|
|
14392
14417
|
if (key === 'readType') {
|
|
14393
14418
|
value.readType = v.readType == 1 ? true : false;
|
|
@@ -14520,6 +14545,7 @@ var defaultBox = {
|
|
|
14520
14545
|
v.groupName = _this2.groupName;
|
|
14521
14546
|
v.controlStyle = _this2.controlType == 'RadioBox' ? 'RadioBox' : 'CheckBox';
|
|
14522
14547
|
v.groupHasOptions = _this2.groupHasOptions;
|
|
14548
|
+
v.isMutualExclusion = _this2.isMutualExclusion;
|
|
14523
14549
|
v.readType = v.readType ? 1 : 0;
|
|
14524
14550
|
if (v.id === _this2.tableRadio) v.isSelected = true;
|
|
14525
14551
|
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
@@ -14531,6 +14557,7 @@ var defaultBox = {
|
|
|
14531
14557
|
v.groupName = _this2.groupName;
|
|
14532
14558
|
v.controlStyle = _this2.controlType == 'RadioBox' ? 'RadioBox' : 'CheckBox';
|
|
14533
14559
|
v.groupHasOptions = _this2.groupHasOptions;
|
|
14560
|
+
v.isMutualExclusion = _this2.isMutualExclusion;
|
|
14534
14561
|
v.readType = v.readType ? 1 : 0;
|
|
14535
14562
|
if (v.id === _this2.tableRadio) v.isSelected = true;
|
|
14536
14563
|
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
@@ -14559,10 +14586,10 @@ var defaultBox = {
|
|
|
14559
14586
|
});
|
|
14560
14587
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
14561
14588
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
14562
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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=
|
|
14589
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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=363e86e2&prod&lang=less&
|
|
14563
14590
|
// extracted by mini-css-extract-plugin
|
|
14564
14591
|
|
|
14565
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14592
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=363e86e2&prod&lang=less&
|
|
14566
14593
|
|
|
14567
14594
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
14568
14595
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -43716,16 +43743,16 @@ var DocController = /*#__PURE__*/function () {
|
|
|
43716
43743
|
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
43717
43744
|
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(40561);
|
|
43718
43745
|
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
43719
|
-
/* harmony import */ var
|
|
43720
|
-
/* harmony import */ var
|
|
43721
|
-
/* harmony import */ var
|
|
43722
|
-
/* harmony import */ var
|
|
43723
|
-
/* harmony import */ var
|
|
43724
|
-
/* harmony import */ var
|
|
43725
|
-
/* harmony import */ var
|
|
43726
|
-
/* harmony import */ var
|
|
43727
|
-
/* harmony import */ var
|
|
43728
|
-
/* harmony import */ var
|
|
43746
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(39714);
|
|
43747
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
43748
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(21703);
|
|
43749
|
+
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
43750
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(92222);
|
|
43751
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
43752
|
+
/* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(38862);
|
|
43753
|
+
/* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
43754
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(54747);
|
|
43755
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
43729
43756
|
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(69600);
|
|
43730
43757
|
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
43731
43758
|
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(38205);
|
|
@@ -44649,7 +44676,13 @@ var DocTree = /*#__PURE__*/function () {
|
|
|
44649
44676
|
var prevNode = paraNode.prevSibling();
|
|
44650
44677
|
while (prevNode) {
|
|
44651
44678
|
if (prevNode instanceof _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_28__/* .ParagraphNode */ .C) {
|
|
44652
|
-
|
|
44679
|
+
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_45__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
44680
|
+
var hidden = prevNode.customProperty.hidden;
|
|
44681
|
+
if (hoeditfactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_49__/* .PaintState */ .Dh.psDesign && hidden && hidden.toString() === "true") {
|
|
44682
|
+
return this.getSameRectPrevParanode(prevNode);
|
|
44683
|
+
} else {
|
|
44684
|
+
return prevNode;
|
|
44685
|
+
}
|
|
44653
44686
|
} else if (prevNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_36__/* .TextInputFieldNode */ .re) {
|
|
44654
44687
|
prevNode = prevNode.childNodes[prevNode.getLength() - 1];
|
|
44655
44688
|
} else if (prevNode instanceof _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_37__/* .MarkNode */ .j && prevNode.parentNode && prevNode.parentNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_36__/* .TextInputFieldNode */ .re) {
|
|
@@ -44714,7 +44747,13 @@ var DocTree = /*#__PURE__*/function () {
|
|
|
44714
44747
|
textInputFieldNodeStack.reverse();
|
|
44715
44748
|
while (nextNode || textInputFieldNodeStack.length > 0) {
|
|
44716
44749
|
if (nextNode instanceof _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_28__/* .ParagraphNode */ .C) {
|
|
44717
|
-
|
|
44750
|
+
var hoeditfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_45__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
44751
|
+
var hidden = nextNode.customProperty.hidden;
|
|
44752
|
+
if (hoeditfactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_49__/* .PaintState */ .Dh.psDesign && hidden && hidden.toString() === "true") {
|
|
44753
|
+
return this.getSameRectNextParanode(nextNode);
|
|
44754
|
+
} else {
|
|
44755
|
+
return nextNode;
|
|
44756
|
+
}
|
|
44718
44757
|
} else if (nextNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_36__/* .TextInputFieldNode */ .re) {
|
|
44719
44758
|
textInputFieldNodeStack.push(nextNode);
|
|
44720
44759
|
nextNode = nextNode.childNodes[0];
|
|
@@ -59560,7 +59599,7 @@ var BandDataSource = /*#__PURE__*/function () {
|
|
|
59560
59599
|
return BandDataSource;
|
|
59561
59600
|
}();
|
|
59562
59601
|
var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
59563
|
-
|
|
59602
|
+
//是否选项互斥
|
|
59564
59603
|
function RadioAndCheckBoxInstance() {
|
|
59565
59604
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, RadioAndCheckBoxInstance);
|
|
59566
59605
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "id", void 0);
|
|
@@ -59598,6 +59637,8 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59598
59637
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "associatedElement", "");
|
|
59599
59638
|
//关联元素必填标识
|
|
59600
59639
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "associatedId", "");
|
|
59640
|
+
//关联元素
|
|
59641
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "isMutualExclusion", false);
|
|
59601
59642
|
RadioAndCheckBoxInstance.makeDefaultValue(this);
|
|
59602
59643
|
}
|
|
59603
59644
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(RadioAndCheckBoxInstance, [{
|
|
@@ -59812,6 +59853,16 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59812
59853
|
this.associatedId = value;
|
|
59813
59854
|
}
|
|
59814
59855
|
}
|
|
59856
|
+
}, {
|
|
59857
|
+
key: "IsMutualExclusion",
|
|
59858
|
+
get: function get() {
|
|
59859
|
+
return this.isMutualExclusion;
|
|
59860
|
+
},
|
|
59861
|
+
set: function set(value) {
|
|
59862
|
+
if (this.isMutualExclusion !== value) {
|
|
59863
|
+
this.isMutualExclusion = value;
|
|
59864
|
+
}
|
|
59865
|
+
}
|
|
59815
59866
|
// get BandDataSource(): BandDataSource {
|
|
59816
59867
|
// return this.bandDataSource;
|
|
59817
59868
|
// }
|
|
@@ -59856,6 +59907,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59856
59907
|
ret.groupHasOptions = false;
|
|
59857
59908
|
ret.associatedElement = "";
|
|
59858
59909
|
ret.associatedId = "";
|
|
59910
|
+
ret.isMutualExclusion = false;
|
|
59859
59911
|
return ret;
|
|
59860
59912
|
}
|
|
59861
59913
|
}]);
|
|
@@ -59864,7 +59916,7 @@ var RadioAndCheckBoxInstance = /*#__PURE__*/function () {
|
|
|
59864
59916
|
var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
59865
59917
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(RadioAndCheckBoxNode, _ControlNode);
|
|
59866
59918
|
var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(RadioAndCheckBoxNode);
|
|
59867
|
-
|
|
59919
|
+
//是否选项互斥
|
|
59868
59920
|
function RadioAndCheckBoxNode(hoEditorFactoryID, rootNodes, pNode, nodeType, valuesObject, styleIndex //, backColor: string
|
|
59869
59921
|
) {
|
|
59870
59922
|
var _this;
|
|
@@ -59893,6 +59945,8 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
59893
59945
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["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), "_associatedElement", "");
|
|
59894
59946
|
//关联元素id
|
|
59895
59947
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["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), "_associatedId", "");
|
|
59948
|
+
//关联带出元素
|
|
59949
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["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), "_isMutualExclusion", false);
|
|
59896
59950
|
_this._styleIndex = styleIndex;
|
|
59897
59951
|
//const valuesObj = eval("(" + valuesObject + ")");
|
|
59898
59952
|
_this.setValuesObject(valuesObject);
|
|
@@ -60108,6 +60162,16 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60108
60162
|
this._associatedId = value;
|
|
60109
60163
|
}
|
|
60110
60164
|
}
|
|
60165
|
+
}, {
|
|
60166
|
+
key: "isMutualExclusion",
|
|
60167
|
+
get: function get() {
|
|
60168
|
+
return this._isMutualExclusion;
|
|
60169
|
+
},
|
|
60170
|
+
set: function set(value) {
|
|
60171
|
+
if (this._isMutualExclusion !== value) {
|
|
60172
|
+
this._isMutualExclusion = value;
|
|
60173
|
+
}
|
|
60174
|
+
}
|
|
60111
60175
|
// get bandDataSource(): BandDataSource {
|
|
60112
60176
|
// return this._bandDataSource;
|
|
60113
60177
|
// }
|
|
@@ -60175,6 +60239,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60175
60239
|
ret.GroupHasOptions = this.groupHasOptions != undefined ? this.groupHasOptions : ret.GroupHasOptions;
|
|
60176
60240
|
ret.AssociatedElement = this.associatedElement != undefined ? this.associatedElement : ret.AssociatedElement;
|
|
60177
60241
|
ret.AssociatedId = this.associatedId != undefined ? this.associatedId : ret.AssociatedId;
|
|
60242
|
+
ret.IsMutualExclusion = this.isMutualExclusion != undefined ? this.isMutualExclusion : ret.IsMutualExclusion;
|
|
60178
60243
|
return ret;
|
|
60179
60244
|
}
|
|
60180
60245
|
/**
|
|
@@ -60304,6 +60369,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60304
60369
|
//bandDataSource: this.bandDataSource,
|
|
60305
60370
|
associatedElement: this.associatedElement,
|
|
60306
60371
|
associatedId: this.associatedId,
|
|
60372
|
+
isMutualExclusion: this.isMutualExclusion,
|
|
60307
60373
|
remark: this.remark
|
|
60308
60374
|
};
|
|
60309
60375
|
}
|
|
@@ -60374,6 +60440,9 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60374
60440
|
if (this.associatedId) {
|
|
60375
60441
|
retObj.associatedId = this.associatedId;
|
|
60376
60442
|
}
|
|
60443
|
+
if (this.isMutualExclusion) {
|
|
60444
|
+
retObj.isMutualExclusion = this.isMutualExclusion;
|
|
60445
|
+
}
|
|
60377
60446
|
if (this.remark) {
|
|
60378
60447
|
retObj.remark = this.remark;
|
|
60379
60448
|
}
|
|
@@ -60420,6 +60489,7 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
60420
60489
|
var styleIndex = Number(json.styleIndex);
|
|
60421
60490
|
json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType */ .C[json.type]);
|
|
60422
60491
|
json.readType = json.readType ? Number(json.readType) : -1;
|
|
60492
|
+
json.isMutualExclusion = !json.isMutualExclusion ? false : json.isMutualExclusion;
|
|
60423
60493
|
return new RadioAndCheckBoxNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq.ntControl, JSON.stringify(json), styleIndex);
|
|
60424
60494
|
}
|
|
60425
60495
|
}]);
|
|
@@ -67199,9 +67269,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67199
67269
|
if (customProperty) {
|
|
67200
67270
|
this.customProperty = customProperty;
|
|
67201
67271
|
}
|
|
67202
|
-
|
|
67203
|
-
this.keyValue = keyValue;
|
|
67204
|
-
}
|
|
67272
|
+
this.keyValue = keyValue || '';
|
|
67205
67273
|
if (value) {
|
|
67206
67274
|
this.value = value;
|
|
67207
67275
|
}
|
|
@@ -70546,6 +70614,8 @@ var PagePaintPosition = /*#__PURE__*/function () {
|
|
|
70546
70614
|
/* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(68598);
|
|
70547
70615
|
/* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5010);
|
|
70548
70616
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(74089);
|
|
70617
|
+
/* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(27198);
|
|
70618
|
+
|
|
70549
70619
|
|
|
70550
70620
|
|
|
70551
70621
|
|
|
@@ -70683,6 +70753,9 @@ var SelectRange = /*#__PURE__*/function () {
|
|
|
70683
70753
|
if (!aline) {
|
|
70684
70754
|
return ret;
|
|
70685
70755
|
}
|
|
70756
|
+
if (endNode instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__/* .TextNode */ .R && hoEditorFactory.docTree.styles[endNode.styleIndex].combineStyle.deleterIndex >= 0) {
|
|
70757
|
+
return [aline];
|
|
70758
|
+
}
|
|
70686
70759
|
var aendLine = hoEditorFactory.drawTree.getDlineDTableByPath(hoEditorFactory.docTree.getNodeLastPath(endNode));
|
|
70687
70760
|
if (!aendLine) {
|
|
70688
70761
|
return ret;
|
|
@@ -70956,25 +71029,30 @@ var StagePosition = /*#__PURE__*/function () {
|
|
|
70956
71029
|
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
70957
71030
|
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(33948);
|
|
70958
71031
|
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
70959
|
-
/* harmony import */ var
|
|
70960
|
-
/* harmony import */ var
|
|
70961
|
-
/* harmony import */ var
|
|
70962
|
-
/* harmony import */ var
|
|
70963
|
-
/* harmony import */ var
|
|
70964
|
-
/* harmony import */ var
|
|
70965
|
-
/* harmony import */ var
|
|
70966
|
-
/* harmony import */ var
|
|
70967
|
-
/* harmony import */ var
|
|
70968
|
-
/* harmony import */ var
|
|
70969
|
-
/* harmony import */ var
|
|
70970
|
-
/* harmony import */ var
|
|
70971
|
-
/* harmony import */ var
|
|
70972
|
-
/* harmony import */ var
|
|
70973
|
-
/* harmony import */ var
|
|
70974
|
-
/* harmony import */ var
|
|
70975
|
-
/* harmony import */ var
|
|
70976
|
-
/* harmony import */ var
|
|
70977
|
-
/* harmony import */ var
|
|
71032
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(39714);
|
|
71033
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
71034
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(40561);
|
|
71035
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
71036
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(54747);
|
|
71037
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
71038
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(68309);
|
|
71039
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
71040
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(57658);
|
|
71041
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
71042
|
+
/* harmony import */ var _DrawLine__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(96635);
|
|
71043
|
+
/* harmony import */ var _drawNode_DrawRect__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(34311);
|
|
71044
|
+
/* harmony import */ var _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(74298);
|
|
71045
|
+
/* harmony import */ var _drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(15694);
|
|
71046
|
+
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(38205);
|
|
71047
|
+
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_yuki_createjs__WEBPACK_IMPORTED_MODULE_20__);
|
|
71048
|
+
/* harmony import */ var _editor_dom_NodePosition__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(42921);
|
|
71049
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(74089);
|
|
71050
|
+
/* harmony import */ var _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(5010);
|
|
71051
|
+
/* harmony import */ var _drawNode_DrawPageCell__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(59105);
|
|
71052
|
+
/* harmony import */ var _components_common_comment__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(56320);
|
|
71053
|
+
/* harmony import */ var _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(51760);
|
|
71054
|
+
|
|
71055
|
+
|
|
70978
71056
|
|
|
70979
71057
|
|
|
70980
71058
|
|
|
@@ -71153,12 +71231,12 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71153
71231
|
key: "bottomDline",
|
|
71154
71232
|
get: function get() {
|
|
71155
71233
|
if (!this._bottomDline) {
|
|
71156
|
-
var dRoots =
|
|
71234
|
+
var dRoots = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.getDrawRootsByPath(this._rootPath)[1];
|
|
71157
71235
|
var dline = dRoots[this._endDline];
|
|
71158
|
-
if (dline instanceof
|
|
71236
|
+
if (dline instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t) {
|
|
71159
71237
|
var dPageTable = dline.getDrawTableByPageIndex(this._index);
|
|
71160
71238
|
if (dPageTable) this._bottomDline = dPageTable;
|
|
71161
|
-
} else if (dline instanceof
|
|
71239
|
+
} else if (dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a) {
|
|
71162
71240
|
this._bottomDline = dline;
|
|
71163
71241
|
}
|
|
71164
71242
|
}
|
|
@@ -71207,7 +71285,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71207
71285
|
// if (this._startDline >= this.drawR) {
|
|
71208
71286
|
// return true;
|
|
71209
71287
|
// }
|
|
71210
|
-
if (this._lastDrawLine instanceof
|
|
71288
|
+
if (this._lastDrawLine instanceof _drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_19__/* .DrawPageTable */ .ox) {
|
|
71211
71289
|
ret = this._lastDrawLine.endRow === this._lastDrawLine.table.rowCount - 1 && this._lastDrawLine.isEndRowFinished();
|
|
71212
71290
|
} else {
|
|
71213
71291
|
ret = true;
|
|
@@ -71243,8 +71321,8 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71243
71321
|
var bottom = 0;
|
|
71244
71322
|
var top = 99999;
|
|
71245
71323
|
for (var i = 0; i < ditems.length; i++) {
|
|
71246
|
-
if (ditems[i] instanceof
|
|
71247
|
-
if (ditems[i] instanceof
|
|
71324
|
+
if (ditems[i] instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a || ditems[i] instanceof _drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_19__/* .DrawPageTable */ .ox || ditems[i] instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t) {
|
|
71325
|
+
if (ditems[i] instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t) {
|
|
71248
71326
|
dLine = ditems[i].drawPageTables.values().next().value;
|
|
71249
71327
|
} else {
|
|
71250
71328
|
dLine = ditems[i];
|
|
@@ -71295,7 +71373,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71295
71373
|
value: function paintBackground() {
|
|
71296
71374
|
if (!this._background) this._background = new createjs.Shape();
|
|
71297
71375
|
this._background.graphics.clear();
|
|
71298
|
-
this._background.graphics.drawRect(-this.x, 0,
|
|
71376
|
+
this._background.graphics.drawRect(-this.x, 0, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, Math.max(this.docHeight, this._dHeight)).closePath();
|
|
71299
71377
|
this.addChildAt(this._background, 0);
|
|
71300
71378
|
this.setChildIndex(this._background, 0);
|
|
71301
71379
|
}
|
|
@@ -71314,7 +71392,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71314
71392
|
if (this._allowAcrossPage) return;
|
|
71315
71393
|
if (!this._mask) this._mask = new createjs.Shape();
|
|
71316
71394
|
this._mask.graphics.clear();
|
|
71317
|
-
this._mask.graphics.drawRect(-this.x, 0,
|
|
71395
|
+
this._mask.graphics.drawRect(-this.x, 0, _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).pageProperty.widthPixes, aheight + 1).closePath();
|
|
71318
71396
|
//遮罩不是当前容器的Child
|
|
71319
71397
|
this._mask.x = this.x;
|
|
71320
71398
|
this._mask.y = this.y;
|
|
@@ -71331,13 +71409,18 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71331
71409
|
var bFinishedPaint = true;
|
|
71332
71410
|
var isFull = false;
|
|
71333
71411
|
var ret = startIndex;
|
|
71334
|
-
var hoEditorFactory =
|
|
71412
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
71335
71413
|
var nextDline = startIndex;
|
|
71336
71414
|
var dRestHeight = Infinity;
|
|
71337
71415
|
if (this.allowAcrossPage) dRestHeight = this._maxHeight - dTop;
|
|
71338
71416
|
this._endDline = startIndex;
|
|
71339
71417
|
while (nextDline < dlines.length) {
|
|
71340
71418
|
var dline = dlines[nextDline];
|
|
71419
|
+
var hidden = dline.paragraphNode.customProperty.hidden;
|
|
71420
|
+
if (hoEditorFactory.drawTree.paintStatus !== _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__/* .PaintState */ .Dh.psDesign && hidden && hidden.toString() === "true") {
|
|
71421
|
+
nextDline += 1;
|
|
71422
|
+
continue;
|
|
71423
|
+
}
|
|
71341
71424
|
if (dline.paragraphNode.printAsSinglePage && dline.paragraphNode.drawlines[0] === dline && dTop > 0) {
|
|
71342
71425
|
this._endDline = nextDline - 1;
|
|
71343
71426
|
this.clearOverDitem(dlines, nextDline);
|
|
@@ -71345,13 +71428,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71345
71428
|
bFinishedPaint = false;
|
|
71346
71429
|
break;
|
|
71347
71430
|
}
|
|
71348
|
-
if (dline instanceof
|
|
71349
|
-
if (dline instanceof
|
|
71431
|
+
if (dline instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t && dRestHeight < hoEditorFactory.defaultLineHeight || dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a && dRestHeight < dline.dHeight && dTop > 0) {
|
|
71432
|
+
if (dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a && dRestHeight >= hoEditorFactory.defaultLineHeight) {
|
|
71350
71433
|
if (this.contains(dline)) {
|
|
71351
71434
|
this.removeChild(dline);
|
|
71352
71435
|
}
|
|
71353
71436
|
}
|
|
71354
|
-
if (dline instanceof
|
|
71437
|
+
if (dline instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t) {
|
|
71355
71438
|
var index = -1;
|
|
71356
71439
|
for (var i = dline.drawPageTables.length - 1; i >= 0; i--) {
|
|
71357
71440
|
if (this.contains(dline.drawPageTables[i])) {
|
|
@@ -71374,13 +71457,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71374
71457
|
break;
|
|
71375
71458
|
}
|
|
71376
71459
|
// const pagePos = hoEditorFactory.drawTree.getDrawLinePagePos(dline);
|
|
71377
|
-
if (dline instanceof
|
|
71460
|
+
if (dline instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t) {
|
|
71378
71461
|
var dTable = dline;
|
|
71379
71462
|
var dPrevTable = null;
|
|
71380
71463
|
var startChildIndex = 0;
|
|
71381
71464
|
var dHeadHeight = dTable.getHeadHeight();
|
|
71382
71465
|
var dPageTable = dTable.getDrawTableByParentArea(this);
|
|
71383
|
-
if (dHeadHeight +
|
|
71466
|
+
if (dHeadHeight + _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_23__/* .gDefaultRowHeight */ .dT > dRestHeight) {
|
|
71384
71467
|
if (dPageTable) {
|
|
71385
71468
|
dPageTable.parent.removeChild(dPageTable);
|
|
71386
71469
|
}
|
|
@@ -71402,7 +71485,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71402
71485
|
3: 当前表格不是表格的最后绘制表格,且剩余高度大于一行
|
|
71403
71486
|
*/
|
|
71404
71487
|
if (dPageTable) {
|
|
71405
|
-
if (dTable.needUpdate || dPageTable.dHeight - dRestHeight >
|
|
71488
|
+
if (dTable.needUpdate || dPageTable.dHeight - dRestHeight > _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_23__/* .gDefaultRowHeight */ .dT || dTable.drawPageTables.indexOf(dPageTable) < dTable.drawPageTables.length - 1 && restHeight > dPageTable.dHeight + hoEditorFactory.defaultLineHeight) {
|
|
71406
71489
|
var newTop = dTable.drawUpdate(this, dPrevTable, dTop, dRestHeight);
|
|
71407
71490
|
dTop = newTop;
|
|
71408
71491
|
} else {
|
|
@@ -71482,7 +71565,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71482
71565
|
dTop += cbParagraph.topMarginPixes;
|
|
71483
71566
|
}
|
|
71484
71567
|
dline.y = dTop;
|
|
71485
|
-
if (!this._allowAcrossPage && nextDline === dlines.length - 1 && dline instanceof
|
|
71568
|
+
if (!this._allowAcrossPage && nextDline === dlines.length - 1 && dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a && dline.drawItems.length == 0) {
|
|
71486
71569
|
dTop += 0;
|
|
71487
71570
|
} else {
|
|
71488
71571
|
dTop += dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
|
|
@@ -71515,7 +71598,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71515
71598
|
key: "paintArea",
|
|
71516
71599
|
value: function paintArea(dlines, startIndex, aTop //顶点
|
|
71517
71600
|
) {
|
|
71518
|
-
var hoEditorFactory =
|
|
71601
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
71519
71602
|
// if (this.rootPath.startsWith("header")) {
|
|
71520
71603
|
// console.log("drawheader.paintArea");
|
|
71521
71604
|
// } else if (this.rootPath.startsWith("footer")) {
|
|
@@ -71549,10 +71632,15 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71549
71632
|
if (this.allowAcrossPage) restHeight = this.maxHeight - dTop;
|
|
71550
71633
|
while (nextDline < dlines.length) {
|
|
71551
71634
|
var dline = dlines[nextDline];
|
|
71635
|
+
var hidden = dline.paragraphNode.customProperty.hidden;
|
|
71636
|
+
if (hoEditorFactory.drawTree.paintStatus !== _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_26__/* .PaintState */ .Dh.psDesign && hidden && hidden.toString() === "true") {
|
|
71637
|
+
nextDline += 1;
|
|
71638
|
+
continue;
|
|
71639
|
+
}
|
|
71552
71640
|
// const pagePos = hoEditorFactory.drawTree.getDrawLinePagePos(dline);
|
|
71553
|
-
if (dline instanceof
|
|
71641
|
+
if (dline instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t) {
|
|
71554
71642
|
var dTable = dline;
|
|
71555
|
-
if (dTable.getHeadHeight() +
|
|
71643
|
+
if (dTable.getHeadHeight() + _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_23__/* .gDefaultRowHeight */ .dT > restHeight) {
|
|
71556
71644
|
isFull = true;
|
|
71557
71645
|
this.clearOverDitem(dlines, nextDline);
|
|
71558
71646
|
return [isFull, dTop, restHeight];
|
|
@@ -71618,7 +71706,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71618
71706
|
// dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
|
|
71619
71707
|
// console.log(lheight)
|
|
71620
71708
|
var canfit = this.canFit(dTop, dline.dHeight);
|
|
71621
|
-
if (!canfit && (dTop > 0 || this instanceof
|
|
71709
|
+
if (!canfit && (dTop > 0 || this instanceof _drawNode_DrawPageCell__WEBPACK_IMPORTED_MODULE_24__/* .DrawPageCell */ .k) && this._allowAcrossPage) {
|
|
71622
71710
|
var nextArea = this.getNextDrawArea();
|
|
71623
71711
|
this._endDline = nextDline - 1;
|
|
71624
71712
|
if (this._endDline == -1) {
|
|
@@ -71641,7 +71729,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71641
71729
|
dTop += cbParagraph.topMarginPixes;
|
|
71642
71730
|
}
|
|
71643
71731
|
dline.y = dTop;
|
|
71644
|
-
if (nextDline === dlines.length - 1 && dline instanceof
|
|
71732
|
+
if (nextDline === dlines.length - 1 && dline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a && dline.drawItems.length == 0) {
|
|
71645
71733
|
dTop += 0;
|
|
71646
71734
|
} else {
|
|
71647
71735
|
dTop += dline.dHeight + dline.paragraphNode.combineParagraph.lineSpace;
|
|
@@ -71682,14 +71770,14 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71682
71770
|
key: "getFirstDline",
|
|
71683
71771
|
value: function getFirstDline() {
|
|
71684
71772
|
var mainStartRedrawline = 0;
|
|
71685
|
-
var hoEditorFactory =
|
|
71773
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
71686
71774
|
while (mainStartRedrawline < this.children.length) {
|
|
71687
|
-
if (this.children[mainStartRedrawline] instanceof
|
|
71775
|
+
if (this.children[mainStartRedrawline] instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a || this.children[mainStartRedrawline] instanceof _drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_19__/* .DrawPageTable */ .ox) break;else mainStartRedrawline += 1;
|
|
71688
71776
|
}
|
|
71689
71777
|
var dStartDline = this.children[mainStartRedrawline];
|
|
71690
|
-
if (dStartDline instanceof
|
|
71778
|
+
if (dStartDline instanceof _drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_19__/* .DrawPageTable */ .ox) {
|
|
71691
71779
|
mainStartRedrawline = hoEditorFactory.drawTree.mainDNodes.indexOf(dStartDline.table.drawTable);
|
|
71692
|
-
} else if (dStartDline instanceof
|
|
71780
|
+
} else if (dStartDline instanceof _DrawLine__WEBPACK_IMPORTED_MODULE_16__/* .DrawLine */ .a) {
|
|
71693
71781
|
mainStartRedrawline = hoEditorFactory.drawTree.mainDNodes.indexOf(dStartDline);
|
|
71694
71782
|
}
|
|
71695
71783
|
return mainStartRedrawline;
|
|
@@ -71699,7 +71787,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71699
71787
|
value: function clearOverDitem(dRoots, start) {
|
|
71700
71788
|
for (var i = start; i < dRoots.length; i++) {
|
|
71701
71789
|
var dFirstItem = dRoots[i];
|
|
71702
|
-
if (dFirstItem instanceof
|
|
71790
|
+
if (dFirstItem instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_18__/* .DrawTable */ .t) {
|
|
71703
71791
|
var dPageTable = dFirstItem.drawPageTables[0];
|
|
71704
71792
|
if (this.contains(dPageTable)) {
|
|
71705
71793
|
this.removeChild(dPageTable);
|
|
@@ -71719,7 +71807,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71719
71807
|
key: "drawComments",
|
|
71720
71808
|
value: function drawComments() {
|
|
71721
71809
|
var _this2 = this;
|
|
71722
|
-
var hoEditorFactory =
|
|
71810
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
71723
71811
|
hoEditorFactory.commentParams.repaint++;
|
|
71724
71812
|
return;
|
|
71725
71813
|
var comments = new Map();
|
|
@@ -71757,7 +71845,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71757
71845
|
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
|
|
71758
71846
|
var stagePos = dline.localToGlobal(endDrawNode.x, endDrawNode.y); // 末尾标记节点的stage坐标
|
|
71759
71847
|
var localPos = _this2.globalToLocal(stagePos.x, stagePos.y); // 末尾标记节点的stage坐标
|
|
71760
|
-
var spX = dline.parent instanceof
|
|
71848
|
+
var spX = dline.parent instanceof _drawNode_DrawPageCell__WEBPACK_IMPORTED_MODULE_24__/* .DrawPageCell */ .k ? localPos.x : endDrawNode.x;
|
|
71761
71849
|
var spY = localPos.y;
|
|
71762
71850
|
_this2.removeComment(value);
|
|
71763
71851
|
var path = value.eNode.getNodePath();
|
|
@@ -71787,13 +71875,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71787
71875
|
}
|
|
71788
71876
|
}
|
|
71789
71877
|
}
|
|
71790
|
-
|
|
71878
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).drawPageTree.updateDrawPage(this.index);
|
|
71791
71879
|
}
|
|
71792
71880
|
}, {
|
|
71793
71881
|
key: "repaint",
|
|
71794
71882
|
value: function repaint(comment, nPath, spX, spY) {
|
|
71795
71883
|
var _this3 = this;
|
|
71796
|
-
var hoEditorFactory =
|
|
71884
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
71797
71885
|
var comments = this.areaComments;
|
|
71798
71886
|
var topComments = new Array();
|
|
71799
71887
|
var bottomComments = new Array();
|
|
@@ -71816,7 +71904,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71816
71904
|
});
|
|
71817
71905
|
tempArr.forEach(function (value) {
|
|
71818
71906
|
var aPath = value.eNode.getNodePath();
|
|
71819
|
-
var result =
|
|
71907
|
+
var result = _editor_dom_NodePosition__WEBPACK_IMPORTED_MODULE_21__/* .NodePosition */ .F.treePathCompare(nPath, aPath);
|
|
71820
71908
|
if (result > 0) {
|
|
71821
71909
|
topComments.push(value);
|
|
71822
71910
|
} else {
|
|
@@ -71890,7 +71978,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71890
71978
|
key: "drawComment",
|
|
71891
71979
|
value: function drawComment(comment, nodeX, nodeY, commentY) {
|
|
71892
71980
|
var _this4 = this;
|
|
71893
|
-
var hoEditorFactory =
|
|
71981
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
71894
71982
|
var docWidth = this.docWidth;
|
|
71895
71983
|
var commentWidth = hoEditorFactory.pageProperty.rightMarginPixes - 15;
|
|
71896
71984
|
var container = new createjs.Container();
|
|
@@ -71969,7 +72057,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71969
72057
|
key: "onMouseDown",
|
|
71970
72058
|
value: function onMouseDown(e, comment) {
|
|
71971
72059
|
var _this5 = this;
|
|
71972
|
-
var hoEditorFactory =
|
|
72060
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
71973
72061
|
hoEditorFactory.drawTree.curOnSelectedComment = comment;
|
|
71974
72062
|
e.target.alpha = 1;
|
|
71975
72063
|
var _loop = function _loop() {
|
|
@@ -71981,7 +72069,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
71981
72069
|
if (hoEditorFactory.reviewJson.editComment !== false || hoEditorFactory.reviewJson.deleteComment !== false) {
|
|
71982
72070
|
setTimeout(function () {
|
|
71983
72071
|
if (hoEditorFactory.drawTree.activePage) {
|
|
71984
|
-
|
|
72072
|
+
_components_common_comment__WEBPACK_IMPORTED_MODULE_25__/* .hoCreateComment */ .$.open({
|
|
71985
72073
|
x: child.x,
|
|
71986
72074
|
y: child.y + hoEditorFactory.drawTree.activePage.drawMainDoc.y,
|
|
71987
72075
|
width: 0,
|
|
@@ -72007,7 +72095,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
72007
72095
|
}, {
|
|
72008
72096
|
key: "drawEditRecords",
|
|
72009
72097
|
value: function drawEditRecords(comment, nodeX, nodeY, commentY) {
|
|
72010
|
-
var hoEditorFactory =
|
|
72098
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
72011
72099
|
var commentWidth = hoEditorFactory.pageProperty.rightMarginPixes - 15;
|
|
72012
72100
|
var docWidth = this.docWidth;
|
|
72013
72101
|
var container = new createjs.Container();
|
|
@@ -72056,7 +72144,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
72056
72144
|
key: "repaintRecored",
|
|
72057
72145
|
value: function repaintRecored(comments, comment, nPath, spX, spY) {
|
|
72058
72146
|
var _this6 = this;
|
|
72059
|
-
var hoEditorFactory =
|
|
72147
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
72060
72148
|
var topComments = new Array();
|
|
72061
72149
|
var bottomComments = new Array();
|
|
72062
72150
|
var tempArr = new Array();
|
|
@@ -72078,7 +72166,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
72078
72166
|
});
|
|
72079
72167
|
tempArr.forEach(function (value) {
|
|
72080
72168
|
var aPath = value.eNode.getNodePath();
|
|
72081
|
-
var result =
|
|
72169
|
+
var result = _editor_dom_NodePosition__WEBPACK_IMPORTED_MODULE_21__/* .NodePosition */ .F.treePathCompare(nPath, aPath);
|
|
72082
72170
|
if (result > 0) {
|
|
72083
72171
|
topComments.push(value);
|
|
72084
72172
|
} else {
|
|
@@ -72150,7 +72238,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
72150
72238
|
}
|
|
72151
72239
|
}]);
|
|
72152
72240
|
return DrawArea;
|
|
72153
|
-
}(
|
|
72241
|
+
}(_drawNode_DrawRect__WEBPACK_IMPORTED_MODULE_17__/* .DrawRect */ .t);
|
|
72154
72242
|
|
|
72155
72243
|
/***/ }),
|
|
72156
72244
|
|
|
@@ -85644,14 +85732,14 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85644
85732
|
}
|
|
85645
85733
|
}
|
|
85646
85734
|
var groupName = aNode.groupName;
|
|
85647
|
-
if (aNode.controlStyle === "CheckBox") {
|
|
85735
|
+
if (aNode.controlStyle === "CheckBox" && !aNode.isMutualExclusion) {
|
|
85648
85736
|
if (aNode.isSelected) {
|
|
85649
85737
|
aNode.isSelected = false;
|
|
85650
85738
|
} else {
|
|
85651
85739
|
aNode.isSelected = true;
|
|
85652
85740
|
}
|
|
85653
85741
|
}
|
|
85654
|
-
if (aNode.controlStyle === "RadioBox") {
|
|
85742
|
+
if (aNode.controlStyle === "RadioBox" || aNode.controlStyle === "CheckBox" && aNode.isMutualExclusion) {
|
|
85655
85743
|
if (groupName.length > 0) {
|
|
85656
85744
|
if (aNode.isSelected) {
|
|
85657
85745
|
//aNode.isSelected = false;
|
|
@@ -85659,7 +85747,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85659
85747
|
} else {
|
|
85660
85748
|
var radioAndCheckBoxs = hoEditorFactory.docTree.radioAndCheckBoxsMap;
|
|
85661
85749
|
radioAndCheckBoxs.forEach(function (value, key) {
|
|
85662
|
-
if (value.controlStyle ===
|
|
85750
|
+
if (value.controlStyle === aNode.controlStyle && value.groupName === groupName && value.isSelected) {
|
|
85663
85751
|
var nodePath = value.getNodePath();
|
|
85664
85752
|
value.isSelected = false;
|
|
85665
85753
|
var newDomRange = new DomRange/* DomRange */.a(_this2._hoEditorFactoryID, nodePath, nodePath);
|
|
@@ -85699,13 +85787,13 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85699
85787
|
}
|
|
85700
85788
|
}
|
|
85701
85789
|
} else {
|
|
85702
|
-
if (e.node.controlStyle === "RadioBox" && e.node.isSelected) {
|
|
85790
|
+
if ((e.node.controlStyle === "RadioBox" || e.node.controlStyle === "CheckBox" && e.node.isMutualExclusion) && e.node.isSelected) {
|
|
85703
85791
|
var _iterator2 = (0,createForOfIteratorHelper/* default */.Z)(hoEditorFactory.docTree.radioAndCheckBoxsMap.values()),
|
|
85704
85792
|
_step2;
|
|
85705
85793
|
try {
|
|
85706
85794
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
85707
85795
|
var value = _step2.value;
|
|
85708
|
-
if (value.associatedElement && value.controlStyle ===
|
|
85796
|
+
if (value.associatedElement && value.controlStyle === e.node.controlStyle && value.groupName === groupName && groupName !== "") {
|
|
85709
85797
|
var _node = hoEditorFactory.vueController.getNodeByDataID("main", value.associatedElement);
|
|
85710
85798
|
if (_node && _node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
85711
85799
|
_node.customProperty.must = false;
|
|
@@ -85746,13 +85834,13 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85746
85834
|
}
|
|
85747
85835
|
}
|
|
85748
85836
|
} else {
|
|
85749
|
-
if (e.node.controlStyle === "RadioBox" && e.node.isSelected) {
|
|
85837
|
+
if ((e.node.controlStyle === "RadioBox" || e.node.controlStyle === "CheckBox" && e.node.isMutualExclusion) && e.node.isSelected) {
|
|
85750
85838
|
var _iterator3 = (0,createForOfIteratorHelper/* default */.Z)(hoEditorFactory.docTree.radioAndCheckBoxsMap.values()),
|
|
85751
85839
|
_step3;
|
|
85752
85840
|
try {
|
|
85753
85841
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
85754
85842
|
var val = _step3.value;
|
|
85755
|
-
if (val.associatedId && val.controlStyle ===
|
|
85843
|
+
if (val.associatedId && val.controlStyle === e.node.controlStyle && val.groupName === groupName && groupName !== "") {
|
|
85756
85844
|
var _node3 = hoEditorFactory.vueController.getNodeByID("main", val.associatedId);
|
|
85757
85845
|
if (_node3) {
|
|
85758
85846
|
var bpath = val.getNodePath();
|
|
@@ -86399,7 +86487,8 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
86399
86487
|
}, {
|
|
86400
86488
|
key: "getDNodeByPath",
|
|
86401
86489
|
value: function getDNodeByPath(strPath) {
|
|
86402
|
-
var
|
|
86490
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
86491
|
+
var np = hoEditorFactory.docTree.findNodePositionByPath(strPath);
|
|
86403
86492
|
// const roots= this.getDrawRootsByPath(dPath);
|
|
86404
86493
|
// const darr = dPath.split("/");
|
|
86405
86494
|
// let istart=1;
|
|
@@ -177310,13 +177399,13 @@ var map = {
|
|
|
177310
177399
|
"./pageInfoes/PageInfoes.vue": 99749,
|
|
177311
177400
|
"./paragraph/ParagraphDialog.vue": 58874,
|
|
177312
177401
|
"./poperSelect/PoperMark.vue": 20734,
|
|
177313
|
-
"./poperSelect/PoperSelect.vue":
|
|
177402
|
+
"./poperSelect/PoperSelect.vue": 51282,
|
|
177314
177403
|
"./poperTipText/PoperTipText.vue": 50987,
|
|
177315
177404
|
"./popers/Poper.vue": 57937,
|
|
177316
177405
|
"./popers/Title.vue": 85516,
|
|
177317
177406
|
"./printstyle/PrintLineStyle.vue": 51484,
|
|
177318
177407
|
"./qrCode/QrCode.vue": 93973,
|
|
177319
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
177408
|
+
"./radioCheckBox/RadioCheckbox.vue": 75493,
|
|
177320
177409
|
"./selectDialog/SelectDialog.vue": 75524,
|
|
177321
177410
|
"./sign/Sign.vue": 64207,
|
|
177322
177411
|
"./table/TableCellPoper.vue": 2043,
|
|
@@ -216522,7 +216611,7 @@ var HoToPage_component = (0,componentNormalizer/* default */.Z)(
|
|
|
216522
216611
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
216523
216612
|
var plugins_util = __webpack_require__(62783);
|
|
216524
216613
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
216525
|
-
var PoperSelect = __webpack_require__(
|
|
216614
|
+
var PoperSelect = __webpack_require__(51282);
|
|
216526
216615
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
216527
216616
|
var PoperMark = __webpack_require__(20734);
|
|
216528
216617
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -217927,7 +218016,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
217927
218016
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
217928
218017
|
var ParagraphNode = __webpack_require__(67945);
|
|
217929
218018
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
217930
|
-
/* harmony default export */ var version = ('3.1.
|
|
218019
|
+
/* harmony default export */ var version = ('3.1.25');
|
|
217931
218020
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
217932
218021
|
var PoperTipText = __webpack_require__(50987);
|
|
217933
218022
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -218727,6 +218816,8 @@ var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
|
218727
218816
|
var PageProperty = __webpack_require__(65847);
|
|
218728
218817
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
218729
218818
|
var es_error_cause = __webpack_require__(21703);
|
|
218819
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
218820
|
+
var es_regexp_to_string = __webpack_require__(39714);
|
|
218730
218821
|
// EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawPageMainDoc.ts
|
|
218731
218822
|
var DrawPageMainDoc = __webpack_require__(77441);
|
|
218732
218823
|
// EXTERNAL MODULE: ./src/editor/draw/DrawLine.ts + 1 modules
|
|
@@ -218762,6 +218853,7 @@ var TableNode = __webpack_require__(5010);
|
|
|
218762
218853
|
|
|
218763
218854
|
|
|
218764
218855
|
|
|
218856
|
+
|
|
218765
218857
|
|
|
218766
218858
|
|
|
218767
218859
|
var NeedDrawPageInfo = /*#__PURE__*/function () {
|
|
@@ -219057,6 +219149,11 @@ var DrawPageTree = /*#__PURE__*/function () {
|
|
|
219057
219149
|
//------------开始将不分页绘制树中的绘制行,按页进行摆放--------------------------
|
|
219058
219150
|
while (nextLine <= endLine) {
|
|
219059
219151
|
var dline = dRoots[nextLine];
|
|
219152
|
+
var hidden = dline.paragraphNode.customProperty.hidden;
|
|
219153
|
+
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState */.Dh.psDesign && hidden && hidden.toString() === "true") {
|
|
219154
|
+
nextLine += 1;
|
|
219155
|
+
continue;
|
|
219156
|
+
}
|
|
219060
219157
|
//如果需要新起一页,则新起一页
|
|
219061
219158
|
if (dline.paragraphNode.printAsSinglePage && dline.paragraphNode.drawlines[0] === dline && dTop > 0 && drawArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$) {
|
|
219062
219159
|
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
@@ -219369,6 +219466,11 @@ var DrawPageTree = /*#__PURE__*/function () {
|
|
|
219369
219466
|
var nextLine = startLine;
|
|
219370
219467
|
while (nextLine <= endLine) {
|
|
219371
219468
|
var dline = dRoots[nextLine];
|
|
219469
|
+
var hidden = dline.paragraphNode.customProperty.hidden;
|
|
219470
|
+
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState */.Dh.psDesign && hidden && hidden.toString() === "true") {
|
|
219471
|
+
nextLine += 1;
|
|
219472
|
+
continue;
|
|
219473
|
+
}
|
|
219372
219474
|
if (dline instanceof DrawTable/* DrawTable */.t && restHeight < hoEditorFactory.defaultLineHeight || dline instanceof DrawLine/* DrawLine */.a && restHeight < dline.dHeight) {
|
|
219373
219475
|
if (dline instanceof DrawLine/* DrawLine */.a && restHeight >= hoEditorFactory.defaultLineHeight) {
|
|
219374
219476
|
if (drawArea.contains(dline)) {
|
|
@@ -220510,8 +220612,6 @@ var TimeStamp = /*#__PURE__*/function () {
|
|
|
220510
220612
|
}();
|
|
220511
220613
|
// EXTERNAL MODULE: ./src/editor/undoRedo/UndoService.ts + 1 modules
|
|
220512
220614
|
var UndoService = __webpack_require__(19229);
|
|
220513
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
220514
|
-
var es_regexp_to_string = __webpack_require__(39714);
|
|
220515
220615
|
;// CONCATENATED MODULE: ./src/editor/utils/GenerateCode.ts
|
|
220516
220616
|
|
|
220517
220617
|
|
|
@@ -232534,7 +232634,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
232534
232634
|
}, {
|
|
232535
232635
|
key: "cancelSelect",
|
|
232536
232636
|
value: function cancelSelect(node) {
|
|
232537
|
-
if (
|
|
232637
|
+
if (!node.isSelected) return;
|
|
232538
232638
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
232539
232639
|
var nodePathCur = node.getNodePath();
|
|
232540
232640
|
node.isSelected = false;
|
|
@@ -232881,6 +232981,26 @@ var VueController = /*#__PURE__*/function () {
|
|
|
232881
232981
|
});
|
|
232882
232982
|
return recordArr;
|
|
232883
232983
|
}
|
|
232984
|
+
//获取前一个有效单元格
|
|
232985
|
+
}, {
|
|
232986
|
+
key: "getPreCell",
|
|
232987
|
+
value: function getPreCell(cell) {
|
|
232988
|
+
var colNo = cell.row.indexOf(cell);
|
|
232989
|
+
if (colNo == 0) {
|
|
232990
|
+
return null;
|
|
232991
|
+
} else {
|
|
232992
|
+
var row = cell.row;
|
|
232993
|
+
var iCell = null;
|
|
232994
|
+
for (var i = colNo - 1; i >= 0; i--) {
|
|
232995
|
+
var aCell = row[i];
|
|
232996
|
+
if (aCell) {
|
|
232997
|
+
iCell = aCell;
|
|
232998
|
+
break;
|
|
232999
|
+
}
|
|
233000
|
+
}
|
|
233001
|
+
return iCell;
|
|
233002
|
+
}
|
|
233003
|
+
}
|
|
232884
233004
|
}]);
|
|
232885
233005
|
return VueController;
|
|
232886
233006
|
}();
|
|
@@ -246801,7 +246921,7 @@ var popper = __webpack_require__(95551);
|
|
|
246801
246921
|
});
|
|
246802
246922
|
},
|
|
246803
246923
|
mounted: function mounted() {
|
|
246804
|
-
var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3, _this$hoEditorProvide4, _this$
|
|
246924
|
+
var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3, _this$hoEditorProvide4, _this$hoEditorProvide5, _this$hoEditorProvide7;
|
|
246805
246925
|
this.isIncludes = (_this$hoEditorProvide = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide === void 0 ? void 0 : _this$hoEditorProvide.labelNode().isIncludes;
|
|
246806
246926
|
// this.patientID = this.vueController?.getDocProperty().patientID;
|
|
246807
246927
|
this.isDeisgn = this.hoEditorProvider.rightNode.paintStatus;
|
|
@@ -246827,11 +246947,11 @@ var popper = __webpack_require__(95551);
|
|
|
246827
246947
|
}]
|
|
246828
246948
|
});
|
|
246829
246949
|
}
|
|
246830
|
-
if (((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.type) === 'RadioBox') {
|
|
246831
|
-
var _this$
|
|
246832
|
-
this.radioBoxSelected = (_this$
|
|
246950
|
+
if (((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.type) === 'RadioBox' || ((_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.type) === 'CheckBox') {
|
|
246951
|
+
var _this$hoEditorProvide6;
|
|
246952
|
+
this.radioBoxSelected = (_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.node().isSelected;
|
|
246833
246953
|
}
|
|
246834
|
-
this.showTableOnRightMenu = (_this$
|
|
246954
|
+
this.showTableOnRightMenu = (_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.isCanUseTableProperty;
|
|
246835
246955
|
if (window && window.showTableOnRightMenu) {
|
|
246836
246956
|
this.showTableOnRightMenu = window && window.showTableOnRightMenu ? true : false;
|
|
246837
246957
|
}
|
|
@@ -247080,15 +247200,14 @@ var popper = __webpack_require__(95551);
|
|
|
247080
247200
|
}
|
|
247081
247201
|
},
|
|
247082
247202
|
render: function render() {
|
|
247083
|
-
var _this$
|
|
247203
|
+
var _this$hoEditorProvide8,
|
|
247084
247204
|
_this$$slots$hoRightS,
|
|
247085
|
-
_this$hoEditorProvide8,
|
|
247086
247205
|
_this$hoEditorProvide9,
|
|
247087
247206
|
_this$hoEditorProvide10,
|
|
247088
247207
|
_this$hoEditorProvide11,
|
|
247089
247208
|
_this$hoEditorProvide12,
|
|
247090
|
-
_this5 = this,
|
|
247091
247209
|
_this$hoEditorProvide13,
|
|
247210
|
+
_this5 = this,
|
|
247092
247211
|
_this$hoEditorProvide14,
|
|
247093
247212
|
_this$hoEditorProvide15,
|
|
247094
247213
|
_this$hoEditorProvide16,
|
|
@@ -247109,7 +247228,8 @@ var popper = __webpack_require__(95551);
|
|
|
247109
247228
|
_this$hoEditorProvide31,
|
|
247110
247229
|
_this$hoEditorProvide32,
|
|
247111
247230
|
_this$hoEditorProvide33,
|
|
247112
|
-
_this$hoEditorProvide34
|
|
247231
|
+
_this$hoEditorProvide34,
|
|
247232
|
+
_this$hoEditorProvide35;
|
|
247113
247233
|
var h = arguments[0];
|
|
247114
247234
|
return h("div", {
|
|
247115
247235
|
"directives": [{
|
|
@@ -247118,7 +247238,7 @@ var popper = __webpack_require__(95551);
|
|
|
247118
247238
|
}],
|
|
247119
247239
|
"ref": "mouseRightMenuPopup",
|
|
247120
247240
|
"class": "mouse-right-menu-popup animation-in"
|
|
247121
|
-
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$
|
|
247241
|
+
}, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.paintStatus) !== 4 && !this.forbidPaste && h("ul", {
|
|
247122
247242
|
"class": "mouse-right-menu"
|
|
247123
247243
|
}, [h("li", {
|
|
247124
247244
|
"class": "mouse-menu-item",
|
|
@@ -247142,7 +247262,7 @@ var popper = __webpack_require__(95551);
|
|
|
247142
247262
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
247143
247263
|
})]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
|
|
247144
247264
|
return v;
|
|
247145
|
-
}), ((_this$
|
|
247265
|
+
}), ((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
|
|
247146
247266
|
"class": "mouse-right-menu"
|
|
247147
247267
|
}, [h("li", {
|
|
247148
247268
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247160,12 +247280,12 @@ var popper = __webpack_require__(95551);
|
|
|
247160
247280
|
"on": {
|
|
247161
247281
|
"click": this.labelToText.bind(this)
|
|
247162
247282
|
}
|
|
247163
|
-
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$
|
|
247283
|
+
}, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.paintStatus) == 0 && h("li", {
|
|
247164
247284
|
"class": "mouse-menu-item",
|
|
247165
247285
|
"on": {
|
|
247166
247286
|
"click": this.editLabel.bind(this)
|
|
247167
247287
|
}
|
|
247168
|
-
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$
|
|
247288
|
+
}, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.type) === 'express' && ((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.paintStatus) === 0 && ((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.paintStatus) === 0 && h("ul", {
|
|
247169
247289
|
"class": "mouse-right-menu"
|
|
247170
247290
|
}, [h("li", {
|
|
247171
247291
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247176,7 +247296,7 @@ var popper = __webpack_require__(95551);
|
|
|
247176
247296
|
return _this5.toUpdateNodes('express', event);
|
|
247177
247297
|
}
|
|
247178
247298
|
}
|
|
247179
|
-
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$
|
|
247299
|
+
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.type) === 'RadioBox' || ((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.type) === 'CheckBox') && ((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.paintStatus) === 0 && h("ul", {
|
|
247180
247300
|
"class": "mouse-right-menu"
|
|
247181
247301
|
}, [h("li", {
|
|
247182
247302
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247188,7 +247308,7 @@ var popper = __webpack_require__(95551);
|
|
|
247188
247308
|
return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
|
|
247189
247309
|
}
|
|
247190
247310
|
}
|
|
247191
|
-
}, [((_this$
|
|
247311
|
+
}, [((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), this.radioBoxSelected && h("ul", {
|
|
247192
247312
|
"class": "mouse-right-menu"
|
|
247193
247313
|
}, [h("li", {
|
|
247194
247314
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247199,7 +247319,7 @@ var popper = __webpack_require__(95551);
|
|
|
247199
247319
|
return _this5.cancelRadioSelect();
|
|
247200
247320
|
}
|
|
247201
247321
|
}
|
|
247202
|
-
}, ["\u53D6\u6D88\u9009\u4E2D"])]), ((_this$
|
|
247322
|
+
}, ["\u53D6\u6D88\u9009\u4E2D"])]), ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.type) === 'date' && ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.paintStatus) === 0 && h("ul", {
|
|
247203
247323
|
"class": "mouse-right-menu"
|
|
247204
247324
|
}, [h("li", {
|
|
247205
247325
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247210,7 +247330,7 @@ var popper = __webpack_require__(95551);
|
|
|
247210
247330
|
return _this5.toUpdateNodes('date', event);
|
|
247211
247331
|
}
|
|
247212
247332
|
}
|
|
247213
|
-
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$
|
|
247333
|
+
}, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.type) === 'select' && ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.paintStatus) === 0 && h("ul", {
|
|
247214
247334
|
"class": "mouse-right-menu"
|
|
247215
247335
|
}, [h("li", {
|
|
247216
247336
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247221,7 +247341,7 @@ var popper = __webpack_require__(95551);
|
|
|
247221
247341
|
return _this5.toUpdateNodes('select', event);
|
|
247222
247342
|
}
|
|
247223
247343
|
}
|
|
247224
|
-
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$
|
|
247344
|
+
}, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.type) === 'barcode' && ((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.paintStatus) === 0 && h("ul", {
|
|
247225
247345
|
"class": "mouse-right-menu"
|
|
247226
247346
|
}, [h("li", {
|
|
247227
247347
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247232,7 +247352,7 @@ var popper = __webpack_require__(95551);
|
|
|
247232
247352
|
return _this5.toUpdateNodes('barcode', event);
|
|
247233
247353
|
}
|
|
247234
247354
|
}
|
|
247235
|
-
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$
|
|
247355
|
+
}, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.type) === 'qrcode' && ((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.paintStatus) === 0 && h("ul", {
|
|
247236
247356
|
"class": "mouse-right-menu"
|
|
247237
247357
|
}, [h("li", {
|
|
247238
247358
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247243,7 +247363,7 @@ var popper = __webpack_require__(95551);
|
|
|
247243
247363
|
return _this5.toUpdateNodes('qrcode', event);
|
|
247244
247364
|
}
|
|
247245
247365
|
}
|
|
247246
|
-
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$
|
|
247366
|
+
}, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.type) === 'edit-image' && ((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.paintStatus) === 0 && h("ul", {
|
|
247247
247367
|
"class": "mouse-right-menu"
|
|
247248
247368
|
}, [h("li", {
|
|
247249
247369
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247254,7 +247374,7 @@ var popper = __webpack_require__(95551);
|
|
|
247254
247374
|
return _this5.toUpdateNodes('edit-image', event);
|
|
247255
247375
|
}
|
|
247256
247376
|
}
|
|
247257
|
-
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$
|
|
247377
|
+
}, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.type) === 'text' && ((_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide29 === void 0 ? void 0 : _this$hoEditorProvide29.paintStatus) === 0 && h("ul", {
|
|
247258
247378
|
"class": "mouse-right-menu"
|
|
247259
247379
|
}, [h("li", {
|
|
247260
247380
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247265,7 +247385,7 @@ var popper = __webpack_require__(95551);
|
|
|
247265
247385
|
return _this5.toUpdateNodes('text', event);
|
|
247266
247386
|
}
|
|
247267
247387
|
}
|
|
247268
|
-
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), ((_this$
|
|
247388
|
+
}, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), ((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide31 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide31 === void 0 ? void 0 : _this$hoEditorProvide31.paintStatus) === 0 || this.showTableOnRightMenu) && h("ul", {
|
|
247269
247389
|
"class": "mouse-right-menu"
|
|
247270
247390
|
}, [h("li", {
|
|
247271
247391
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247304,7 +247424,7 @@ var popper = __webpack_require__(95551);
|
|
|
247304
247424
|
return _this5.toUpdateNodes('table-formula', event);
|
|
247305
247425
|
}
|
|
247306
247426
|
}
|
|
247307
|
-
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$
|
|
247427
|
+
}, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$hoEditorProvide32 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide32 === void 0 ? void 0 : _this$hoEditorProvide32.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
247308
247428
|
"class": "mouse-right-menu"
|
|
247309
247429
|
}, [h("li", {
|
|
247310
247430
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247360,7 +247480,7 @@ var popper = __webpack_require__(95551);
|
|
|
247360
247480
|
"type": "delete"
|
|
247361
247481
|
},
|
|
247362
247482
|
"style": "font-size: 20px;"
|
|
247363
|
-
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$
|
|
247483
|
+
}), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$hoEditorProvide33 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide33 === void 0 ? void 0 : _this$hoEditorProvide33.rightTypeIsTable) && this.defaultTable && h("ul", {
|
|
247364
247484
|
"class": "mouse-right-menu"
|
|
247365
247485
|
}, [h("li", {
|
|
247366
247486
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -247374,7 +247494,7 @@ var popper = __webpack_require__(95551);
|
|
|
247374
247494
|
table: this.defaultTable,
|
|
247375
247495
|
tableProperty: this.hoEditorProvider.rightNode.tableProperty
|
|
247376
247496
|
})
|
|
247377
|
-
})]), ((_this$
|
|
247497
|
+
})]), ((_this$hoEditorProvide34 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide34 === void 0 ? void 0 : _this$hoEditorProvide34.canShowComment) && h("ul", {
|
|
247378
247498
|
"class": "mouse-right-menu"
|
|
247379
247499
|
}, [h("li", {
|
|
247380
247500
|
"class": "mouse-menu-item",
|
|
@@ -247383,7 +247503,7 @@ var popper = __webpack_require__(95551);
|
|
|
247383
247503
|
return _this5.hideComments();
|
|
247384
247504
|
}
|
|
247385
247505
|
}
|
|
247386
|
-
}, [(_this$
|
|
247506
|
+
}, [(_this$hoEditorProvide35 = this.hoEditorProvider.rightNode) !== null && _this$hoEditorProvide35 !== void 0 && _this$hoEditorProvide35.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])])]), h("ul", {
|
|
247387
247507
|
"class": "mouse-right-menu"
|
|
247388
247508
|
}, [h("li", {
|
|
247389
247509
|
"class": "mouse-menu-item"
|