ecinc-cloud-wappaio 9.7.10 → 9.7.12
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/ecwappaio.common.js +833 -237
- package/lib/ecwappaio.umd.js +833 -237
- package/lib/ecwappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -33214,7 +33214,7 @@ var TextRecognition_PDFInjector = PDFInjector;
|
|
|
33214
33214
|
|
|
33215
33215
|
/***/ }),
|
|
33216
33216
|
|
|
33217
|
-
/***/
|
|
33217
|
+
/***/ 68860:
|
|
33218
33218
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
33219
33219
|
|
|
33220
33220
|
"use strict";
|
|
@@ -43875,8 +43875,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
43875
43875
|
)
|
|
43876
43876
|
|
|
43877
43877
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
43878
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=
|
|
43879
|
-
var
|
|
43878
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=e9f6976a&scoped=true
|
|
43879
|
+
var SubmitHandlevue_type_template_id_e9f6976a_scoped_true_render = function render() {
|
|
43880
43880
|
var _vm = this,
|
|
43881
43881
|
_c = _vm._self._c;
|
|
43882
43882
|
return _c('div', {
|
|
@@ -43914,7 +43914,7 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
43914
43914
|
expression: "'SubmitHandle.processSteps'"
|
|
43915
43915
|
}],
|
|
43916
43916
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
43917
|
-
}, [_vm._v("流程环节")]), _c('td', {
|
|
43917
|
+
}, [_vm._v("流程环节 ")]), _c('td', {
|
|
43918
43918
|
directives: [{
|
|
43919
43919
|
name: "text-lbl",
|
|
43920
43920
|
rawName: "v-text-lbl",
|
|
@@ -44021,7 +44021,7 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
44021
44021
|
expression: "'ModifyWfNodelog.submitPath'"
|
|
44022
44022
|
}],
|
|
44023
44023
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
44024
|
-
}, [_vm._v("提交路径")]), _c('td', {
|
|
44024
|
+
}, [_vm._v("提交路径 ")]), _c('td', {
|
|
44025
44025
|
staticClass: "el-table__cell tdcont tdw83 selectPath",
|
|
44026
44026
|
attrs: {
|
|
44027
44027
|
"colspan": "3"
|
|
@@ -44974,7 +44974,8 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
44974
44974
|
"append-to-body": true,
|
|
44975
44975
|
"toolbar-btns": _vm.busiformBtns,
|
|
44976
44976
|
"on-basic-form-before-open": _vm.onBasicFormBeforeOpen,
|
|
44977
|
-
"on-basic-form-submited": _vm.onBasicFormSubmited
|
|
44977
|
+
"on-basic-form-submited": _vm.onBasicFormSubmited,
|
|
44978
|
+
"on-basic-form-closed": _vm.onBasicFormClosed
|
|
44978
44979
|
},
|
|
44979
44980
|
scopedSlots: _vm._u([{
|
|
44980
44981
|
key: "default",
|
|
@@ -44996,7 +44997,7 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
44996
44997
|
}
|
|
44997
44998
|
}) : _vm._e()], 1);
|
|
44998
44999
|
};
|
|
44999
|
-
var
|
|
45000
|
+
var SubmitHandlevue_type_template_id_e9f6976a_scoped_true_staticRenderFns = [];
|
|
45000
45001
|
|
|
45001
45002
|
// EXTERNAL MODULE: ./packages/ecwapp/Wflowform/src/WfTaskNode.vue + 4 modules
|
|
45002
45003
|
var WfTaskNode = __webpack_require__(67704);
|
|
@@ -45424,6 +45425,10 @@ function SubmitHandlevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
45424
45425
|
this.submitTemplateList.unshift(template_copy);
|
|
45425
45426
|
}
|
|
45426
45427
|
},
|
|
45428
|
+
onBasicFormClosed: function onBasicFormClosed($scope, vo, action) {
|
|
45429
|
+
this.formTitle = '';
|
|
45430
|
+
this.formVo = null;
|
|
45431
|
+
},
|
|
45427
45432
|
saveSubmitTemplate: function saveSubmitTemplate() {
|
|
45428
45433
|
var _this5 = this;
|
|
45429
45434
|
if (this.curTN.tnIdeaLabelID && this.curTN.tnIdeaIsMust === 1) {
|
|
@@ -45565,9 +45570,9 @@ function SubmitHandlevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
45565
45570
|
});
|
|
45566
45571
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
45567
45572
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
45568
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
45569
|
-
var
|
|
45570
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
45573
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=e9f6976a&prod&scoped=true&lang=scss
|
|
45574
|
+
var SubmitHandlevue_type_style_index_0_id_e9f6976a_prod_scoped_true_lang_scss = __webpack_require__(5524);
|
|
45575
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=e9f6976a&prod&scoped=true&lang=scss
|
|
45571
45576
|
|
|
45572
45577
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue
|
|
45573
45578
|
|
|
@@ -45580,11 +45585,11 @@ var SubmitHandlevue_type_style_index_0_id_b65a08f8_prod_scoped_true_lang_scss =
|
|
|
45580
45585
|
|
|
45581
45586
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
45582
45587
|
src_SubmitHandlevue_type_script_lang_js,
|
|
45583
|
-
|
|
45584
|
-
|
|
45588
|
+
SubmitHandlevue_type_template_id_e9f6976a_scoped_true_render,
|
|
45589
|
+
SubmitHandlevue_type_template_id_e9f6976a_scoped_true_staticRenderFns,
|
|
45585
45590
|
false,
|
|
45586
45591
|
null,
|
|
45587
|
-
"
|
|
45592
|
+
"e9f6976a",
|
|
45588
45593
|
null
|
|
45589
45594
|
|
|
45590
45595
|
)
|
|
@@ -116372,7 +116377,7 @@ var UdmGenerator_UserModuleForm = UserModuleForm;
|
|
|
116372
116377
|
|
|
116373
116378
|
/***/ }),
|
|
116374
116379
|
|
|
116375
|
-
/***/
|
|
116380
|
+
/***/ 94714:
|
|
116376
116381
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
116377
116382
|
|
|
116378
116383
|
"use strict";
|
|
@@ -117039,8 +117044,8 @@ var SideBar_component = (0,componentNormalizer/* default */.A)(
|
|
|
117039
117044
|
)
|
|
117040
117045
|
|
|
117041
117046
|
/* harmony default export */ var SideBar = (SideBar_component.exports);
|
|
117042
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=template&id=
|
|
117043
|
-
var
|
|
117047
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=template&id=0ebbd5f8&scoped=true
|
|
117048
|
+
var Centervue_type_template_id_0ebbd5f8_scoped_true_render = function render() {
|
|
117044
117049
|
var _vm = this,
|
|
117045
117050
|
_c = _vm._self._c;
|
|
117046
117051
|
return _c('el-scrollbar', {
|
|
@@ -117159,7 +117164,7 @@ var Centervue_type_template_id_5c4008d4_scoped_true_render = function render() {
|
|
|
117159
117164
|
}
|
|
117160
117165
|
})], 1)], 1)]);
|
|
117161
117166
|
};
|
|
117162
|
-
var
|
|
117167
|
+
var Centervue_type_template_id_0ebbd5f8_scoped_true_staticRenderFns = [];
|
|
117163
117168
|
|
|
117164
117169
|
// EXTERNAL MODULE: ./node_modules/jquery/dist/jquery.js
|
|
117165
117170
|
var jquery = __webpack_require__(74692);
|
|
@@ -118084,6 +118089,12 @@ var _require22 = __webpack_require__(61289),
|
|
|
118084
118089
|
_this4._connectionDragging = false;
|
|
118085
118090
|
return;
|
|
118086
118091
|
}
|
|
118092
|
+
// 框选结束后的 mouseup 会触发 click,此时应保持框选节点的选中状态
|
|
118093
|
+
if (oRegionSelect._selectEndTime && Date.now() - oRegionSelect._selectEndTime < 200) {
|
|
118094
|
+
return;
|
|
118095
|
+
}
|
|
118096
|
+
// 点击右键菜单项时不取消选中(菜单在 #center 内,点击会冒泡)
|
|
118097
|
+
if (jquery_default()(e.target).closest('.dropdown-menu, #centextMenu').length > 0) return;
|
|
118087
118098
|
// 点击画布空白处:清除节点选中和连接选中
|
|
118088
118099
|
var prevSelNodes2 = jquery_default()('.process.seled');
|
|
118089
118100
|
jquery_default()('.process').removeClass('seled');
|
|
@@ -119260,7 +119271,8 @@ var _require22 = __webpack_require__(61289),
|
|
|
119260
119271
|
pathMaxX: xyData.pathMaxX,
|
|
119261
119272
|
pathMinY: xyData.pathMinY,
|
|
119262
119273
|
pathMaxY: xyData.pathMaxY,
|
|
119263
|
-
linesCount: xyData.linesCount
|
|
119274
|
+
linesCount: xyData.linesCount,
|
|
119275
|
+
midpoint: thisConnect ? thisConnect.midpoint : undefined
|
|
119264
119276
|
});
|
|
119265
119277
|
});
|
|
119266
119278
|
|
|
@@ -119278,8 +119290,16 @@ var _require22 = __webpack_require__(61289),
|
|
|
119278
119290
|
wflow.process.description = desc;
|
|
119279
119291
|
wflow.process.chartData.descDiv = {};
|
|
119280
119292
|
wflow.process.chartData.descDiv.height = descDiv.clientHeight;
|
|
119281
|
-
|
|
119282
|
-
|
|
119293
|
+
if (descDiv.style.display !== 'none') {
|
|
119294
|
+
wflow.process.chartData.descDiv.left = descDiv.offsetLeft;
|
|
119295
|
+
wflow.process.chartData.descDiv.top = descDiv.offsetTop;
|
|
119296
|
+
} else {
|
|
119297
|
+
// 元素隐藏时offsetLeft/offsetTop为0,从关闭时存储的data属性中读取位置
|
|
119298
|
+
var savedLeft = descDiv.dataset.left;
|
|
119299
|
+
var savedTop = descDiv.dataset.top;
|
|
119300
|
+
if (savedLeft !== undefined) wflow.process.chartData.descDiv.left = parseInt(savedLeft);
|
|
119301
|
+
if (savedTop !== undefined) wflow.process.chartData.descDiv.top = parseInt(savedTop);
|
|
119302
|
+
}
|
|
119283
119303
|
} else {
|
|
119284
119304
|
wflow.process.description = '';
|
|
119285
119305
|
delete wflow.process.chartData.descDiv;
|
|
@@ -119782,13 +119802,13 @@ var _require22 = __webpack_require__(61289),
|
|
|
119782
119802
|
});
|
|
119783
119803
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=script&lang=js
|
|
119784
119804
|
/* harmony default export */ var components_Centervue_type_script_lang_js = (Centervue_type_script_lang_js);
|
|
119785
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=
|
|
119786
|
-
var
|
|
119787
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=
|
|
119805
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=0ebbd5f8&prod&scoped=true&lang=scss
|
|
119806
|
+
var Centervue_type_style_index_0_id_0ebbd5f8_prod_scoped_true_lang_scss = __webpack_require__(42096);
|
|
119807
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=0ebbd5f8&prod&scoped=true&lang=scss
|
|
119788
119808
|
|
|
119789
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=
|
|
119790
|
-
var
|
|
119791
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=
|
|
119809
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=0ebbd5f8&prod&lang=scss
|
|
119810
|
+
var Centervue_type_style_index_1_id_0ebbd5f8_prod_lang_scss = __webpack_require__(93012);
|
|
119811
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=0ebbd5f8&prod&lang=scss
|
|
119792
119812
|
|
|
119793
119813
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue
|
|
119794
119814
|
|
|
@@ -119802,11 +119822,11 @@ var Centervue_type_style_index_1_id_5c4008d4_prod_lang_scss = __webpack_require_
|
|
|
119802
119822
|
|
|
119803
119823
|
var Center_component = (0,componentNormalizer/* default */.A)(
|
|
119804
119824
|
components_Centervue_type_script_lang_js,
|
|
119805
|
-
|
|
119806
|
-
|
|
119825
|
+
Centervue_type_template_id_0ebbd5f8_scoped_true_render,
|
|
119826
|
+
Centervue_type_template_id_0ebbd5f8_scoped_true_staticRenderFns,
|
|
119807
119827
|
false,
|
|
119808
119828
|
null,
|
|
119809
|
-
"
|
|
119829
|
+
"0ebbd5f8",
|
|
119810
119830
|
null
|
|
119811
119831
|
|
|
119812
119832
|
)
|
|
@@ -121087,8 +121107,8 @@ var Tab0_system_component = (0,componentNormalizer/* default */.A)(
|
|
|
121087
121107
|
)
|
|
121088
121108
|
|
|
121089
121109
|
/* harmony default export */ var Tab0_system = (Tab0_system_component.exports);
|
|
121090
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=template&id=
|
|
121091
|
-
var
|
|
121110
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=template&id=6502af06&scoped=true
|
|
121111
|
+
var Tab1vue_type_template_id_6502af06_scoped_true_render = function render() {
|
|
121092
121112
|
var _vm = this,
|
|
121093
121113
|
_c = _vm._self._c;
|
|
121094
121114
|
return _c('div', [_c('div', {
|
|
@@ -121327,7 +121347,7 @@ var Tab1vue_type_template_id_6fb1610c_scoped_true_render = function render() {
|
|
|
121327
121347
|
}
|
|
121328
121348
|
}, [_vm._v("确 定")])], 1)])], 1);
|
|
121329
121349
|
};
|
|
121330
|
-
var
|
|
121350
|
+
var Tab1vue_type_template_id_6502af06_scoped_true_staticRenderFns = [function () {
|
|
121331
121351
|
var _vm = this,
|
|
121332
121352
|
_c = _vm._self._c;
|
|
121333
121353
|
return _c('thead', [_c('tr', [_c('th', {
|
|
@@ -121355,7 +121375,7 @@ var Tab1vue_type_template_id_6fb1610c_scoped_true_staticRenderFns = [function ()
|
|
|
121355
121375
|
}, [_vm._v("操作")])])]);
|
|
121356
121376
|
}];
|
|
121357
121377
|
|
|
121358
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=template&id=
|
|
121378
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=template&id=6502af06&scoped=true
|
|
121359
121379
|
|
|
121360
121380
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/IdeaLabelForm.vue?vue&type=template&id=756bc2c5&scoped=true
|
|
121361
121381
|
var IdeaLabelFormvue_type_template_id_756bc2c5_scoped_true_render = function render() {
|
|
@@ -122756,6 +122776,8 @@ var IdeaLabelForm_component = (0,componentNormalizer/* default */.A)(
|
|
|
122756
122776
|
saveIdeaLabel: function saveIdeaLabel() {
|
|
122757
122777
|
var _this2 = this;
|
|
122758
122778
|
var _this = this;
|
|
122779
|
+
// 将表单校验范围限定到对话框内部,避免其他面板的 .invalid-field 干扰导致确定按钮无响应
|
|
122780
|
+
var dialogFormEl = this.$refs.son ? this.$refs.son.$el : undefined;
|
|
122759
122781
|
this.formValidate(function () {
|
|
122760
122782
|
// 保存意见标签
|
|
122761
122783
|
if (!_this2.curIdeaLabel.id) {
|
|
@@ -122805,7 +122827,7 @@ var IdeaLabelForm_component = (0,componentNormalizer/* default */.A)(
|
|
|
122805
122827
|
});
|
|
122806
122828
|
_this2.$bus.emit('saveIdeaLable', _this2.ideaLabelArr);
|
|
122807
122829
|
_this2.editLabelFormVisible = false;
|
|
122808
|
-
});
|
|
122830
|
+
}, undefined, undefined, dialogFormEl);
|
|
122809
122831
|
},
|
|
122810
122832
|
// 选择常用意见标签
|
|
122811
122833
|
selIdeaLabel: function selIdeaLabel() {
|
|
@@ -123012,9 +123034,9 @@ var IdeaLabelForm_component = (0,componentNormalizer/* default */.A)(
|
|
|
123012
123034
|
});
|
|
123013
123035
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=script&lang=js
|
|
123014
123036
|
/* harmony default export */ var PanelProcess_Tab1vue_type_script_lang_js = (Tab1vue_type_script_lang_js);
|
|
123015
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=style&index=0&id=
|
|
123016
|
-
var
|
|
123017
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=style&index=0&id=
|
|
123037
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=style&index=0&id=6502af06&prod&scoped=true&lang=scss
|
|
123038
|
+
var Tab1vue_type_style_index_0_id_6502af06_prod_scoped_true_lang_scss = __webpack_require__(38783);
|
|
123039
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=style&index=0&id=6502af06&prod&scoped=true&lang=scss
|
|
123018
123040
|
|
|
123019
123041
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue
|
|
123020
123042
|
|
|
@@ -123027,11 +123049,11 @@ var Tab1vue_type_style_index_0_id_6fb1610c_prod_scoped_true_lang_scss = __webpac
|
|
|
123027
123049
|
|
|
123028
123050
|
var Tab1_component = (0,componentNormalizer/* default */.A)(
|
|
123029
123051
|
PanelProcess_Tab1vue_type_script_lang_js,
|
|
123030
|
-
|
|
123031
|
-
|
|
123052
|
+
Tab1vue_type_template_id_6502af06_scoped_true_render,
|
|
123053
|
+
Tab1vue_type_template_id_6502af06_scoped_true_staticRenderFns,
|
|
123032
123054
|
false,
|
|
123033
123055
|
null,
|
|
123034
|
-
"
|
|
123056
|
+
"6502af06",
|
|
123035
123057
|
null
|
|
123036
123058
|
|
|
123037
123059
|
)
|
|
@@ -138413,38 +138435,125 @@ function getPathXyData(connection, thisConnect) {
|
|
|
138413
138435
|
var firstEndpoints = [parseFloat(connection.endpoints[0].anchor.x), parseFloat(connection.endpoints[0].anchor.y), connection.endpoints[0].anchor.orientation[0], connection.endpoints[0].anchor.orientation[1]];
|
|
138414
138436
|
var secondEndpoints = [parseFloat(connection.endpoints[1].anchor.x), parseFloat(connection.endpoints[1].anchor.y), connection.endpoints[1].anchor.orientation[0], connection.endpoints[1].anchor.orientation[1]];
|
|
138415
138437
|
if (linesCount === 3) {
|
|
138416
|
-
// 从svg path
|
|
138438
|
+
// 从svg path中获取同轴异向的两端stub,4种情况全处理
|
|
138417
138439
|
if (firstEndpoints[3] === 1 && secondEndpoints[3] === -1) {
|
|
138418
138440
|
// 下出上入
|
|
138419
|
-
|
|
138420
|
-
|
|
138441
|
+
if (!thisConnect || !thisConnect.pathMaxY) {
|
|
138442
|
+
var lineData = paths[0].split(' ');
|
|
138443
|
+
pathMaxY = parseInt(lineData[5]) - parseInt(lineData[2]);
|
|
138444
|
+
pathMinY = -pathMaxY; // 同轴异向,两端 stub 相等
|
|
138445
|
+
}
|
|
138446
|
+
} else if (firstEndpoints[3] === -1 && secondEndpoints[3] === 1) {
|
|
138447
|
+
// 上出下入
|
|
138448
|
+
if (!thisConnect || !thisConnect.pathMinY) {
|
|
138449
|
+
var _lineData = paths[0].split(' ');
|
|
138450
|
+
pathMinY = parseInt(_lineData[2]) - parseInt(_lineData[5]);
|
|
138451
|
+
pathMaxY = -pathMinY; // 同轴异向,两端 stub 相等
|
|
138452
|
+
}
|
|
138421
138453
|
} else if (firstEndpoints[2] === 1 && secondEndpoints[2] === -1) {
|
|
138422
138454
|
// 右出左入
|
|
138423
|
-
|
|
138424
|
-
|
|
138455
|
+
if (!thisConnect || !thisConnect.pathMaxX) {
|
|
138456
|
+
var _lineData2 = paths[0].split(' ');
|
|
138457
|
+
var arcIdx = _lineData2.indexOf('A');
|
|
138458
|
+
var lastPtX = arcIdx > 0 ? parseInt(_lineData2[arcIdx - 2]) : parseInt(_lineData2[4]);
|
|
138459
|
+
pathMaxX = Math.abs(lastPtX - parseInt(_lineData2[1]));
|
|
138460
|
+
pathMinX = -pathMaxX;
|
|
138461
|
+
}
|
|
138462
|
+
} else if (firstEndpoints[2] === -1 && secondEndpoints[2] === 1) {
|
|
138463
|
+
// 左出右入
|
|
138464
|
+
if (!thisConnect || !thisConnect.pathMinX) {
|
|
138465
|
+
var _lineData3 = paths[0].split(' ');
|
|
138466
|
+
var arcIdx = _lineData3.indexOf('A');
|
|
138467
|
+
var lastPtX = arcIdx > 0 ? parseInt(_lineData3[arcIdx - 2]) : parseInt(_lineData3[4]);
|
|
138468
|
+
pathMinX = -Math.abs(lastPtX - parseInt(_lineData3[1]));
|
|
138469
|
+
pathMaxX = -pathMinX;
|
|
138470
|
+
}
|
|
138425
138471
|
}
|
|
138426
138472
|
} else if (linesCount >= 4) {
|
|
138427
138473
|
if (firstEndpoints[2] === 1) {
|
|
138428
138474
|
// 右出
|
|
138429
|
-
var
|
|
138430
|
-
pathMaxX = Math.abs(parseInt(
|
|
138475
|
+
var _lineData4 = paths[0].split(' ');
|
|
138476
|
+
pathMaxX = Math.abs(parseInt(_lineData4[1]) - parseInt(_lineData4[4])) + 5;
|
|
138477
|
+
}
|
|
138478
|
+
if (firstEndpoints[2] === -1) {
|
|
138479
|
+
// 左出
|
|
138480
|
+
var _lineData5 = paths[0].split(' ');
|
|
138481
|
+
pathMinX = -(Math.abs(parseInt(_lineData5[1]) - parseInt(_lineData5[4])) + 5);
|
|
138431
138482
|
}
|
|
138432
138483
|
if (secondEndpoints[2] === 1) {
|
|
138433
138484
|
// 右入
|
|
138434
|
-
var
|
|
138435
|
-
|
|
138485
|
+
var _lineData6 = paths[paths.length - 1].split(' ');
|
|
138486
|
+
if (firstEndpoints[2] === 1) {
|
|
138487
|
+
// 右出右入(同侧):目标stub存入pathMinX,避免覆盖源的pathMaxX
|
|
138488
|
+
pathMinX = Math.abs(parseInt(_lineData6[1]) - parseInt(_lineData6[4])) + 5;
|
|
138489
|
+
} else {
|
|
138490
|
+
pathMaxX = Math.abs(parseInt(_lineData6[1]) - parseInt(_lineData6[4])) + 5;
|
|
138491
|
+
}
|
|
138492
|
+
}
|
|
138493
|
+
if (secondEndpoints[2] === -1) {
|
|
138494
|
+
// 左入
|
|
138495
|
+
var _lineData7 = paths[paths.length - 1].split(' ');
|
|
138496
|
+
if (firstEndpoints[2] === -1) {
|
|
138497
|
+
// 左出左入(同侧):目标stub存入pathMaxX,避免覆盖源的pathMinX
|
|
138498
|
+
pathMaxX = -(Math.abs(parseInt(_lineData7[1]) - parseInt(_lineData7[4])) + 5);
|
|
138499
|
+
} else {
|
|
138500
|
+
pathMinX = -(Math.abs(parseInt(_lineData7[1]) - parseInt(_lineData7[4])) + 5);
|
|
138501
|
+
}
|
|
138436
138502
|
}
|
|
138437
138503
|
|
|
138438
138504
|
// 从svg path中获取下射线maxY
|
|
138439
138505
|
if (firstEndpoints[3] === 1) {
|
|
138440
138506
|
// 下出
|
|
138441
|
-
var
|
|
138442
|
-
pathMaxY = Math.abs(parseInt(
|
|
138507
|
+
var _lineData8 = paths[0].split(' ');
|
|
138508
|
+
pathMaxY = Math.abs(parseInt(_lineData8[2]) - parseInt(_lineData8[5])) + 5;
|
|
138509
|
+
}
|
|
138510
|
+
if (firstEndpoints[3] === -1) {
|
|
138511
|
+
// 上出
|
|
138512
|
+
var _lineData9 = paths[0].split(' ');
|
|
138513
|
+
pathMinY = -(Math.abs(parseInt(_lineData9[2]) - parseInt(_lineData9[5])) + 5);
|
|
138443
138514
|
}
|
|
138444
138515
|
if (secondEndpoints[3] === 1) {
|
|
138445
138516
|
// 下入
|
|
138446
|
-
var
|
|
138447
|
-
|
|
138517
|
+
var _lineData10 = paths[paths.length - 1].split(' ');
|
|
138518
|
+
if (firstEndpoints[3] === 1) {
|
|
138519
|
+
// 下出下入(同侧):目标stub存入pathMinY,避免覆盖源的pathMaxY
|
|
138520
|
+
pathMinY = Math.abs(parseInt(_lineData10[2]) - parseInt(_lineData10[5])) + 5;
|
|
138521
|
+
} else {
|
|
138522
|
+
pathMaxY = Math.abs(parseInt(_lineData10[2]) - parseInt(_lineData10[5])) + 5;
|
|
138523
|
+
}
|
|
138524
|
+
}
|
|
138525
|
+
if (secondEndpoints[3] === -1) {
|
|
138526
|
+
// 上入
|
|
138527
|
+
var _lineData11 = paths[paths.length - 1].split(' ');
|
|
138528
|
+
if (firstEndpoints[3] === -1) {
|
|
138529
|
+
// 上出上入(同侧):目标stub存入pathMaxY,避免覆盖源的pathMinY
|
|
138530
|
+
pathMaxY = -(Math.abs(parseInt(_lineData11[2]) - parseInt(_lineData11[5])) + 5);
|
|
138531
|
+
} else {
|
|
138532
|
+
pathMinY = -(Math.abs(parseInt(_lineData11[2]) - parseInt(_lineData11[5])) + 5);
|
|
138533
|
+
}
|
|
138534
|
+
}
|
|
138535
|
+
}
|
|
138536
|
+
// 自环线已有thisConnect存储值时优先使用,避免SVG提取的+5偏移在session间累积
|
|
138537
|
+
var isSelfLoop = thisConnect && thisConnect.PageSourceId === thisConnect.PageTargetId;
|
|
138538
|
+
if (isSelfLoop) {
|
|
138539
|
+
// 同轴自环配对的path值相等,cross-axis则各自独立
|
|
138540
|
+
var crossAxis = firstEndpoints[2] !== 0 && secondEndpoints[3] !== 0 || firstEndpoints[3] !== 0 && secondEndpoints[2] !== 0;
|
|
138541
|
+
if (!crossAxis) {
|
|
138542
|
+
if (thisConnect.pathMinX || thisConnect.pathMaxX) {
|
|
138543
|
+
var storedX = thisConnect.pathMinX || thisConnect.pathMaxX;
|
|
138544
|
+
pathMinX = storedX;
|
|
138545
|
+
pathMaxX = storedX;
|
|
138546
|
+
}
|
|
138547
|
+
if (thisConnect.pathMinY || thisConnect.pathMaxY) {
|
|
138548
|
+
var storedY = thisConnect.pathMinY || thisConnect.pathMaxY;
|
|
138549
|
+
pathMinY = storedY;
|
|
138550
|
+
pathMaxY = storedY;
|
|
138551
|
+
}
|
|
138552
|
+
} else {
|
|
138553
|
+
if (thisConnect.pathMinX) pathMinX = thisConnect.pathMinX;
|
|
138554
|
+
if (thisConnect.pathMaxX) pathMaxX = thisConnect.pathMaxX;
|
|
138555
|
+
if (thisConnect.pathMinY) pathMinY = thisConnect.pathMinY;
|
|
138556
|
+
if (thisConnect.pathMaxY) pathMaxY = thisConnect.pathMaxY;
|
|
138448
138557
|
}
|
|
138449
138558
|
}
|
|
138450
138559
|
return {
|
|
@@ -138457,6 +138566,38 @@ function getPathXyData(connection, thisConnect) {
|
|
|
138457
138566
|
secondEndpoints: secondEndpoints
|
|
138458
138567
|
};
|
|
138459
138568
|
}
|
|
138569
|
+
|
|
138570
|
+
// ========== 三段线拖拽统一处理器 ==========
|
|
138571
|
+
// 处理同轴同向/同轴异向/自环三种子分支的stub和midpoint计算
|
|
138572
|
+
function handle3SegDrag(isNeg, absDist, minStub, isSameNode, isSameSide, totalDist, thisConnect, perpMin, perpMax) {
|
|
138573
|
+
var stub,
|
|
138574
|
+
dragMidpoint = 0.5,
|
|
138575
|
+
isOpposite = false,
|
|
138576
|
+
distance = isNeg ? -absDist : absDist;
|
|
138577
|
+
if (isSameNode) {
|
|
138578
|
+
var os = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
138579
|
+
if (!os) os = Math.max(Math.max(Math.abs(perpMin), Math.abs(perpMax)) - 5, minStub);
|
|
138580
|
+
stub = [absDist, Math.max(os, minStub)];
|
|
138581
|
+
} else if (!isSameSide) {
|
|
138582
|
+
// 同轴异向:alwaysRespectStubs=false + 小stub + 动态midpoint控制折线位置
|
|
138583
|
+
var actMin = 30;
|
|
138584
|
+
var td = totalDist || 21;
|
|
138585
|
+
absDist = Math.min(Math.max(absDist, actMin), td - actMin);
|
|
138586
|
+
distance = isNeg ? -absDist : absDist;
|
|
138587
|
+
isOpposite = true;
|
|
138588
|
+
stub = [10, 10];
|
|
138589
|
+
var effDist = td - 20;
|
|
138590
|
+
dragMidpoint = effDist > 0 ? (absDist - 10) / effDist : 0.5;
|
|
138591
|
+
} else {
|
|
138592
|
+
stub = [absDist, minStub];
|
|
138593
|
+
}
|
|
138594
|
+
return {
|
|
138595
|
+
stub: stub,
|
|
138596
|
+
dragMidpoint: dragMidpoint,
|
|
138597
|
+
isOpposite: isOpposite,
|
|
138598
|
+
distance: distance
|
|
138599
|
+
};
|
|
138600
|
+
}
|
|
138460
138601
|
function dragLine(_this, connection, thisConnect) {
|
|
138461
138602
|
var distance = 0;
|
|
138462
138603
|
|
|
@@ -138464,12 +138605,19 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138464
138605
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).bind('mousedown', function (ev) {
|
|
138465
138606
|
var paths = connection.connector.getPathData().split(',');
|
|
138466
138607
|
var lineCount = paths.length;
|
|
138467
|
-
|
|
138608
|
+
// 同轴异向检测(提前到lineCount检查之前,以便重定向lineCount=1的路径)
|
|
138609
|
+
var firstEndpoints = connection.endpoints[0].anchor.orientation;
|
|
138610
|
+
var secondEndpoints = connection.endpoints[1].anchor.orientation;
|
|
138611
|
+
var isSameNode = thisConnect.PageSourceId === thisConnect.PageTargetId;
|
|
138612
|
+
var isSameAxisDiffDir = !isSameNode && (firstEndpoints[0] !== 0 && secondEndpoints[0] !== 0 && firstEndpoints[0] !== secondEndpoints[0] || firstEndpoints[1] !== 0 && secondEndpoints[1] !== 0 && firstEndpoints[1] !== secondEndpoints[1]);
|
|
138613
|
+
if (lineCount < 2 && !isSameAxisDiffDir) {
|
|
138468
138614
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousedown');
|
|
138469
138615
|
return;
|
|
138470
138616
|
}
|
|
138471
138617
|
_this.dragLineObj.disX = ev.pageX;
|
|
138472
138618
|
_this.dragLineObj.disY = ev.pageY;
|
|
138619
|
+
_this.dragLineObj.initCW = undefined;
|
|
138620
|
+
_this.dragLineObj.initCH = undefined;
|
|
138473
138621
|
var xyData = getPathXyData(connection, thisConnect);
|
|
138474
138622
|
var initialMaxX = xyData.pathMaxX; // 获取路径的初始stub值
|
|
138475
138623
|
var initialMaxY = xyData.pathMaxY; // 获取路径的初始stub值
|
|
@@ -138479,8 +138627,10 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138479
138627
|
var canvasMarginLeft = 210; // 绘图区左边距
|
|
138480
138628
|
var canvasMarginTop = 112; // 绘图区右边距
|
|
138481
138629
|
|
|
138482
|
-
|
|
138483
|
-
|
|
138630
|
+
// 同轴异向3段线强制使用3段拖拽逻辑(不论逗号分隔后的段数)
|
|
138631
|
+
if (isSameAxisDiffDir) {
|
|
138632
|
+
lineCount = 3;
|
|
138633
|
+
}
|
|
138484
138634
|
|
|
138485
138635
|
// 检测是否可拖拉,仅位于路径canvas四边的路径可拖拉,射出、射入路径不可拖拉
|
|
138486
138636
|
if (firstEndpoints[0] !== 0) {
|
|
@@ -138541,64 +138691,148 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138541
138691
|
var x = ev.pageX;
|
|
138542
138692
|
var y = ev.pageY;
|
|
138543
138693
|
var stub = [0, 0];
|
|
138544
|
-
|
|
138694
|
+
var _dragMidpoint = 0.5;
|
|
138695
|
+
var handledIn4, hSameSide, vSameSide; // 显式声明,避免var提升的隐式行为
|
|
138696
|
+
|
|
138697
|
+
// 跨轴自环线独立拖拽处理器(完全绕过lineCount逻辑)
|
|
138698
|
+
var isCrossAxisSL = isSameNode && (firstEndpoints[0] !== 0 && secondEndpoints[1] !== 0 || firstEndpoints[1] !== 0 && secondEndpoints[0] !== 0);
|
|
138699
|
+
if (isCrossAxisSL) {
|
|
138700
|
+
var incDx = x - (_this.dragLineObj.prevX || _this.dragLineObj.disX);
|
|
138701
|
+
var incDy = y - (_this.dragLineObj.prevY || _this.dragLineObj.disY);
|
|
138702
|
+
_this.dragLineObj.prevX = x;
|
|
138703
|
+
_this.dragLineObj.prevY = y;
|
|
138704
|
+
var hDirSL = firstEndpoints[0] || secondEndpoints[0];
|
|
138705
|
+
var vDirSL = firstEndpoints[1] || secondEndpoints[1];
|
|
138706
|
+
var minSL = 30;
|
|
138707
|
+
var curHSL = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
|
|
138708
|
+
var curVSL = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
138709
|
+
if (!curHSL) {
|
|
138710
|
+
if (hDirSL === -1) curHSL = Math.max(Math.abs(initialMinX) - 5, minSL);else if (hDirSL === 1) curHSL = Math.max(Math.abs(initialMaxX) - 5, minSL);else curHSL = minSL;
|
|
138711
|
+
}
|
|
138712
|
+
if (!curVSL) {
|
|
138713
|
+
if (vDirSL === -1) curVSL = Math.max(Math.abs(initialMinY) - 5, minSL);else if (vDirSL === 1) curVSL = Math.max(Math.abs(initialMaxY) - 5, minSL);else curVSL = minSL;
|
|
138714
|
+
}
|
|
138715
|
+
var newHSL = curHSL,
|
|
138716
|
+
newVSL = curVSL;
|
|
138717
|
+
var hOutSL = hDirSL === 1 ? incDx > 0 : incDx < 0;
|
|
138718
|
+
var vOutSL = vDirSL === 1 ? incDy > 0 : incDy < 0;
|
|
138719
|
+
if (Math.abs(incDx) >= Math.abs(incDy)) {
|
|
138720
|
+
if (hOutSL) newHSL = curHSL + Math.abs(incDx);else newHSL = Math.max(curHSL - Math.abs(incDx), minSL);
|
|
138721
|
+
} else {
|
|
138722
|
+
if (vOutSL) newVSL = curVSL + Math.abs(incDy);else newVSL = Math.max(curVSL - Math.abs(incDy), minSL);
|
|
138723
|
+
}
|
|
138724
|
+
var srcVSL = firstEndpoints[0] === 0;
|
|
138725
|
+
stub = srcVSL ? [Math.max(newVSL, minSL), Math.max(newHSL, minSL)] : [Math.max(newHSL, minSL), Math.max(newVSL, minSL)];
|
|
138726
|
+
if (hDirSL === -1) {
|
|
138727
|
+
thisConnect.pathMinX = -Math.max(newHSL, minSL);
|
|
138728
|
+
thisConnect.pathMaxX = -Math.max(newHSL, minSL);
|
|
138729
|
+
} else if (hDirSL === 1) {
|
|
138730
|
+
thisConnect.pathMinX = Math.max(newHSL, minSL);
|
|
138731
|
+
thisConnect.pathMaxX = Math.max(newHSL, minSL);
|
|
138732
|
+
}
|
|
138733
|
+
if (vDirSL === -1) {
|
|
138734
|
+
thisConnect.pathMinY = -Math.max(newVSL, minSL);
|
|
138735
|
+
thisConnect.pathMaxY = -Math.max(newVSL, minSL);
|
|
138736
|
+
} else if (vDirSL === 1) {
|
|
138737
|
+
thisConnect.pathMinY = Math.max(newVSL, minSL);
|
|
138738
|
+
thisConnect.pathMaxY = Math.max(newVSL, minSL);
|
|
138739
|
+
}
|
|
138740
|
+
} else if (lineCount <= 3) {
|
|
138741
|
+
var isSameSide = firstEndpoints[0] !== 0 && firstEndpoints[0] === secondEndpoints[0] || firstEndpoints[1] !== 0 && firstEndpoints[1] === secondEndpoints[1];
|
|
138742
|
+
var minStub = isSameSide || isSameNode ? 50 : 10;
|
|
138743
|
+
// 同轴异向时,从节点CSS位置计算真实锚点间距(避免存储的等值stub导致totalDist锁死)
|
|
138744
|
+
if (isSameAxisDiffDir) {
|
|
138745
|
+
var srcEl = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + thisConnect.PageSourceId);
|
|
138746
|
+
var tgtEl = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + thisConnect.PageTargetId);
|
|
138747
|
+
if (firstEndpoints[0] !== 0) {
|
|
138748
|
+
// 水平方向:totalDist = 目标锚点X - 源锚点X
|
|
138749
|
+
var totalDistH = Math.abs(parseInt(tgtEl.css('left')) + tgtEl.outerWidth() * parseFloat(connection.endpoints[1].anchor.x) - (parseInt(srcEl.css('left')) + srcEl.outerWidth() * parseFloat(connection.endpoints[0].anchor.x)));
|
|
138750
|
+
}
|
|
138751
|
+
if (firstEndpoints[1] !== 0) {
|
|
138752
|
+
// 垂直方向:totalDist = 目标锚点Y - 源锚点Y
|
|
138753
|
+
var totalDistV = Math.abs(parseInt(tgtEl.css('top')) + tgtEl.outerHeight() * parseFloat(connection.endpoints[1].anchor.y) - (parseInt(srcEl.css('top')) + srcEl.outerHeight() * parseFloat(connection.endpoints[0].anchor.y)));
|
|
138754
|
+
}
|
|
138755
|
+
}
|
|
138545
138756
|
if (firstEndpoints[0] === -1) {
|
|
138546
|
-
//
|
|
138757
|
+
// 水平射线,左出
|
|
138547
138758
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138548
|
-
if (distance > -
|
|
138549
|
-
distance = -10;
|
|
138550
|
-
}
|
|
138759
|
+
if (distance > -minStub) distance = -minStub;
|
|
138551
138760
|
thisConnect.pathMinX = distance;
|
|
138552
|
-
|
|
138761
|
+
var r = handle3SegDrag(true, -distance, minStub, isSameNode, isSameSide, totalDistH, thisConnect, initialMinY, initialMaxY);
|
|
138762
|
+
stub = r.stub;
|
|
138763
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138764
|
+
if (r.isOpposite) {
|
|
138765
|
+
distance = r.distance;
|
|
138766
|
+
thisConnect.pathMinX = distance;
|
|
138767
|
+
thisConnect.pathMaxX = -distance;
|
|
138768
|
+
}
|
|
138553
138769
|
} else if (firstEndpoints[0] === 1) {
|
|
138554
|
-
//
|
|
138770
|
+
// 水平射线,右出
|
|
138555
138771
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138556
|
-
if (distance <
|
|
138557
|
-
distance = 10;
|
|
138558
|
-
}
|
|
138772
|
+
if (distance < minStub) distance = minStub;
|
|
138559
138773
|
thisConnect.pathMaxX = distance;
|
|
138560
|
-
|
|
138774
|
+
var r = handle3SegDrag(false, distance, minStub, isSameNode, isSameSide, totalDistH, thisConnect, initialMinY, initialMaxY);
|
|
138775
|
+
stub = r.stub;
|
|
138776
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138777
|
+
if (r.isOpposite) {
|
|
138778
|
+
distance = r.distance;
|
|
138779
|
+
thisConnect.pathMaxX = distance;
|
|
138780
|
+
thisConnect.pathMinX = -distance;
|
|
138781
|
+
}
|
|
138561
138782
|
} else if (firstEndpoints[1] === -1) {
|
|
138562
|
-
//
|
|
138783
|
+
// 垂直射线,上出
|
|
138563
138784
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
|
|
138564
|
-
if (distance > -
|
|
138565
|
-
distance = -10;
|
|
138566
|
-
}
|
|
138785
|
+
if (distance > -minStub) distance = -minStub;
|
|
138567
138786
|
thisConnect.pathMinY = distance;
|
|
138568
|
-
|
|
138787
|
+
var r = handle3SegDrag(true, -distance, minStub, isSameNode, isSameSide, totalDistV, thisConnect, initialMinX, initialMaxX);
|
|
138788
|
+
stub = r.stub;
|
|
138789
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138790
|
+
if (r.isOpposite) {
|
|
138791
|
+
distance = r.distance;
|
|
138792
|
+
thisConnect.pathMinY = distance;
|
|
138793
|
+
thisConnect.pathMaxY = -distance;
|
|
138794
|
+
}
|
|
138569
138795
|
} else if (firstEndpoints[1] === 1) {
|
|
138570
|
-
//
|
|
138796
|
+
// 垂直射线,下出
|
|
138571
138797
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138572
|
-
if (distance <
|
|
138573
|
-
distance = 10;
|
|
138574
|
-
}
|
|
138798
|
+
if (distance < minStub) distance = minStub;
|
|
138575
138799
|
thisConnect.pathMaxY = distance;
|
|
138576
|
-
|
|
138800
|
+
var r = handle3SegDrag(false, distance, minStub, isSameNode, isSameSide, totalDistV, thisConnect, initialMinX, initialMaxX);
|
|
138801
|
+
stub = r.stub;
|
|
138802
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138803
|
+
if (r.isOpposite) {
|
|
138804
|
+
distance = r.distance;
|
|
138805
|
+
thisConnect.pathMaxY = distance;
|
|
138806
|
+
thisConnect.pathMinY = -distance;
|
|
138807
|
+
}
|
|
138577
138808
|
}
|
|
138578
138809
|
} else if (lineCount === 4) {
|
|
138810
|
+
var minStub4 = isSameNode ? 30 : 10;
|
|
138811
|
+
var handledIn4 = false;
|
|
138579
138812
|
if (firstEndpoints[0] === -1) {
|
|
138580
138813
|
// 左出
|
|
138581
138814
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
|
|
138582
138815
|
// 顶部射入,靠近终点上下拖拉
|
|
138583
138816
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY - scrollTop));
|
|
138584
|
-
if (distance > -
|
|
138585
|
-
distance = -
|
|
138817
|
+
if (distance > -minStub4) {
|
|
138818
|
+
distance = -minStub4;
|
|
138586
138819
|
}
|
|
138587
138820
|
thisConnect.pathMinY = distance;
|
|
138821
|
+
handledIn4 = true;
|
|
138588
138822
|
stub = [Math.abs(initialMinX), -distance];
|
|
138589
138823
|
} else if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138590
138824
|
// 底部射入,靠近终点上下拖拉
|
|
138591
138825
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY - scrollTop);
|
|
138592
|
-
if (distance <
|
|
138593
|
-
distance =
|
|
138826
|
+
if (distance < minStub4) {
|
|
138827
|
+
distance = minStub4;
|
|
138594
138828
|
}
|
|
138595
138829
|
thisConnect.pathMaxY = distance;
|
|
138596
138830
|
stub = [Math.abs(initialMinX), distance];
|
|
138597
138831
|
} else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138598
138832
|
// 顶部射入或底部射入,靠近起点左侧左右拖拉
|
|
138599
138833
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138600
|
-
if (distance > -
|
|
138601
|
-
distance = -
|
|
138834
|
+
if (distance > -minStub4) {
|
|
138835
|
+
distance = -minStub4;
|
|
138602
138836
|
}
|
|
138603
138837
|
thisConnect.pathMinX = distance;
|
|
138604
138838
|
stub = [-distance, Math.abs(secondEndpoints[1] === -1 ? initialMinY : initialMaxY)];
|
|
@@ -138608,26 +138842,29 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138608
138842
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
|
|
138609
138843
|
// 顶部射入,靠近终点上下拖拉
|
|
138610
138844
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY - scrollTop));
|
|
138611
|
-
if (distance > -
|
|
138612
|
-
distance = -
|
|
138845
|
+
if (distance > -minStub4) {
|
|
138846
|
+
distance = -minStub4;
|
|
138613
138847
|
}
|
|
138614
138848
|
thisConnect.pathMinY = distance;
|
|
138849
|
+
handledIn4 = true;
|
|
138615
138850
|
stub = [Math.abs(initialMaxX), -distance];
|
|
138616
138851
|
} else if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138617
138852
|
// 底部射入,靠近终点上下拖拉
|
|
138618
138853
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY - scrollTop);
|
|
138619
|
-
if (distance <
|
|
138620
|
-
distance =
|
|
138854
|
+
if (distance < minStub4) {
|
|
138855
|
+
distance = minStub4;
|
|
138621
138856
|
}
|
|
138622
138857
|
thisConnect.pathMaxY = distance;
|
|
138858
|
+
handledIn4 = true;
|
|
138623
138859
|
stub = [Math.abs(initialMaxX), distance];
|
|
138624
138860
|
} else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
|
|
138625
138861
|
// 顶部射入或底部射入,靠近起点右侧左右拖拉
|
|
138626
138862
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138627
|
-
if (distance <
|
|
138628
|
-
distance =
|
|
138863
|
+
if (distance < minStub4) {
|
|
138864
|
+
distance = minStub4;
|
|
138629
138865
|
}
|
|
138630
138866
|
thisConnect.pathMaxX = distance;
|
|
138867
|
+
handledIn4 = true;
|
|
138631
138868
|
stub = [distance, Math.abs(secondEndpoints[1] === -1 ? initialMinY : initialMaxY)];
|
|
138632
138869
|
}
|
|
138633
138870
|
} else if (firstEndpoints[1] === 1) {
|
|
@@ -138635,26 +138872,29 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138635
138872
|
if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138636
138873
|
// 左侧射入或右侧射入,靠起点底部上下拖拉
|
|
138637
138874
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138638
|
-
if (distance <
|
|
138639
|
-
distance =
|
|
138875
|
+
if (distance < minStub4) {
|
|
138876
|
+
distance = minStub4;
|
|
138640
138877
|
}
|
|
138641
138878
|
thisConnect.pathMaxY = distance;
|
|
138879
|
+
handledIn4 = true;
|
|
138642
138880
|
stub = [distance, Math.abs(secondEndpoints[0] === -1 ? initialMinX : initialMaxX)];
|
|
138643
138881
|
} else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138644
138882
|
// 左侧射入,靠近终点左侧拖左右拉
|
|
138645
138883
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138646
|
-
if (distance > -
|
|
138647
|
-
distance = -
|
|
138884
|
+
if (distance > -minStub4) {
|
|
138885
|
+
distance = -minStub4;
|
|
138648
138886
|
}
|
|
138649
138887
|
thisConnect.pathMinX = distance;
|
|
138888
|
+
handledIn4 = true;
|
|
138650
138889
|
stub = [Math.abs(initialMaxY), -distance];
|
|
138651
138890
|
} else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
|
|
138652
138891
|
// 右侧射入,靠近终点右侧拖左右拉
|
|
138653
138892
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138654
|
-
if (distance <
|
|
138655
|
-
distance =
|
|
138893
|
+
if (distance < minStub4) {
|
|
138894
|
+
distance = minStub4;
|
|
138656
138895
|
}
|
|
138657
138896
|
thisConnect.pathMaxX = distance;
|
|
138897
|
+
handledIn4 = true;
|
|
138658
138898
|
stub = [Math.abs(initialMaxY), distance];
|
|
138659
138899
|
}
|
|
138660
138900
|
} else if (firstEndpoints[1] === -1) {
|
|
@@ -138662,51 +138902,99 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138662
138902
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
|
|
138663
138903
|
// 左侧射入或右侧射入,靠起点顶部上下拖拉
|
|
138664
138904
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
|
|
138665
|
-
if (distance > -
|
|
138666
|
-
distance = -
|
|
138905
|
+
if (distance > -minStub4) {
|
|
138906
|
+
distance = -minStub4;
|
|
138667
138907
|
}
|
|
138668
138908
|
thisConnect.pathMinY = distance;
|
|
138669
138909
|
stub = [-distance, Math.abs(secondEndpoints[0] === -1 ? initialMinX : initialMaxX)];
|
|
138670
138910
|
} else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138671
138911
|
// 左侧射入,靠近终点左侧拖左右拉
|
|
138672
138912
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138673
|
-
if (distance > -
|
|
138674
|
-
distance = -
|
|
138913
|
+
if (distance > -minStub4) {
|
|
138914
|
+
distance = -minStub4;
|
|
138675
138915
|
}
|
|
138676
138916
|
thisConnect.pathMinX = distance;
|
|
138917
|
+
handledIn4 = true;
|
|
138677
138918
|
stub = [Math.abs(initialMinY), -distance];
|
|
138678
138919
|
} else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
|
|
138679
138920
|
// 右侧射入,靠近终点右侧拖左右拉
|
|
138680
138921
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138681
|
-
if (distance <
|
|
138682
|
-
distance =
|
|
138922
|
+
if (distance < minStub4) {
|
|
138923
|
+
distance = minStub4;
|
|
138683
138924
|
}
|
|
138684
138925
|
thisConnect.pathMaxX = distance;
|
|
138926
|
+
handledIn4 = true;
|
|
138685
138927
|
stub = [Math.abs(initialMinY), distance];
|
|
138686
138928
|
}
|
|
138687
138929
|
}
|
|
138930
|
+
// 跨轴自环线边检测不匹配时,直接用鼠标delta计算两轴stub
|
|
138931
|
+
// 注:firstEndpoints为2元素orientation数组[dx,dy],仅索引[0]/[1]有效
|
|
138932
|
+
if (isSameNode && !handledIn4) {
|
|
138933
|
+
var dx2 = x - _this.dragLineObj.disX;
|
|
138934
|
+
var dy2 = y - _this.dragLineObj.disY;
|
|
138935
|
+
var curH = firstEndpoints[0] !== 0 ? Math.max(Math.abs(firstEndpoints[0] === -1 ? initialMinX : initialMaxX) - 5, minStub4) : minStub4;
|
|
138936
|
+
var curV = firstEndpoints[1] !== 0 ? Math.max(Math.abs(firstEndpoints[1] === -1 ? initialMinY : initialMaxY) - 5, minStub4) : minStub4;
|
|
138937
|
+
var newH = curH,
|
|
138938
|
+
newV = curV;
|
|
138939
|
+
if (Math.abs(dx2) >= Math.abs(dy2)) {
|
|
138940
|
+
newH = dx2 < 0 ? curH + Math.abs(dx2) : Math.max(curH - dx2, minStub4);
|
|
138941
|
+
} else {
|
|
138942
|
+
newV = dy2 < 0 ? curV + Math.abs(dy2) : Math.max(curV - dy2, minStub4);
|
|
138943
|
+
}
|
|
138944
|
+
var srcV = firstEndpoints[0] === 0;
|
|
138945
|
+
stub = srcV ? [Math.max(newV, minStub4), Math.max(newH, minStub4)] : [Math.max(newH, minStub4), Math.max(newV, minStub4)];
|
|
138946
|
+
// path存储使用有效索引[0]/[1]判断锚点方向
|
|
138947
|
+
if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
|
|
138948
|
+
thisConnect.pathMinX = -Math.max(newH, minStub4);
|
|
138949
|
+
thisConnect.pathMaxX = -Math.max(newH, minStub4);
|
|
138950
|
+
} else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
|
|
138951
|
+
thisConnect.pathMinX = Math.max(newH, minStub4);
|
|
138952
|
+
thisConnect.pathMaxX = Math.max(newH, minStub4);
|
|
138953
|
+
}
|
|
138954
|
+
if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
|
|
138955
|
+
thisConnect.pathMinY = -Math.max(newV, minStub4);
|
|
138956
|
+
thisConnect.pathMaxY = -Math.max(newV, minStub4);
|
|
138957
|
+
} else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
|
|
138958
|
+
thisConnect.pathMinY = Math.max(newV, minStub4);
|
|
138959
|
+
thisConnect.pathMaxY = Math.max(newV, minStub4);
|
|
138960
|
+
}
|
|
138961
|
+
}
|
|
138688
138962
|
} else if (lineCount === 5) {
|
|
138963
|
+
var minStub5 = isSameNode ? 30 : 10;
|
|
138689
138964
|
if (firstEndpoints[0] !== 0) {
|
|
138690
138965
|
// 水平射线,左右拖拉
|
|
138966
|
+
var hSameSide = firstEndpoints[0] === secondEndpoints[0];
|
|
138691
138967
|
if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138692
138968
|
// 左侧边拖拉
|
|
138693
138969
|
// console.log('left drap..')
|
|
138694
138970
|
if (firstEndpoints[0] === -1) {
|
|
138695
138971
|
// 水平射线,左出右入,靠近起点左侧拖拉
|
|
138696
138972
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138697
|
-
if (distance > -
|
|
138698
|
-
distance = -
|
|
138973
|
+
if (distance > -minStub5) {
|
|
138974
|
+
distance = -minStub5;
|
|
138699
138975
|
}
|
|
138700
138976
|
thisConnect.pathMinX = distance;
|
|
138701
|
-
|
|
138977
|
+
if (!hSameSide) {
|
|
138978
|
+
thisConnect.pathMaxX = -distance;
|
|
138979
|
+
stub = [-distance, -distance];
|
|
138980
|
+
} else {
|
|
138981
|
+
handledIn4 = true;
|
|
138982
|
+
stub = [-distance, Math.abs(initialMaxX)];
|
|
138983
|
+
}
|
|
138702
138984
|
} else if (firstEndpoints[0] === 1) {
|
|
138703
138985
|
// 水平射线,右出左入,靠近终点左侧拖拉
|
|
138704
138986
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138705
|
-
if (distance > -
|
|
138706
|
-
distance = -
|
|
138987
|
+
if (distance > -minStub5) {
|
|
138988
|
+
distance = -minStub5;
|
|
138707
138989
|
}
|
|
138708
138990
|
thisConnect.pathMinX = distance;
|
|
138709
|
-
|
|
138991
|
+
if (!hSameSide) {
|
|
138992
|
+
thisConnect.pathMaxX = -distance;
|
|
138993
|
+
stub = [-distance, -distance];
|
|
138994
|
+
} else {
|
|
138995
|
+
handledIn4 = true;
|
|
138996
|
+
stub = [Math.abs(initialMaxX), -distance];
|
|
138997
|
+
}
|
|
138710
138998
|
}
|
|
138711
138999
|
} else {
|
|
138712
139000
|
// 右侧边拖拉
|
|
@@ -138714,42 +139002,65 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138714
139002
|
if (firstEndpoints[0] === -1) {
|
|
138715
139003
|
// 水平射线,左出右入,靠近终点右侧拖拉
|
|
138716
139004
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138717
|
-
if (distance <
|
|
138718
|
-
distance =
|
|
139005
|
+
if (distance < minStub5) {
|
|
139006
|
+
distance = minStub5;
|
|
138719
139007
|
}
|
|
138720
139008
|
thisConnect.pathMaxX = distance;
|
|
138721
|
-
|
|
139009
|
+
if (!hSameSide) {
|
|
139010
|
+
thisConnect.pathMinX = -distance;
|
|
139011
|
+
stub = [distance, distance];
|
|
139012
|
+
} else {
|
|
139013
|
+
stub = [Math.abs(initialMinX), distance];
|
|
139014
|
+
}
|
|
138722
139015
|
} else if (firstEndpoints[0] === 1) {
|
|
138723
139016
|
// 水平射线,右出左入,靠近起点右侧拖拉
|
|
138724
139017
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138725
|
-
if (distance <
|
|
138726
|
-
distance =
|
|
139018
|
+
if (distance < minStub5) {
|
|
139019
|
+
distance = minStub5;
|
|
138727
139020
|
}
|
|
138728
139021
|
thisConnect.pathMaxX = distance;
|
|
138729
|
-
|
|
139022
|
+
if (!hSameSide) {
|
|
139023
|
+
thisConnect.pathMinX = -distance;
|
|
139024
|
+
stub = [distance, distance];
|
|
139025
|
+
} else {
|
|
139026
|
+
stub = [distance, Math.abs(initialMinX)];
|
|
139027
|
+
}
|
|
138730
139028
|
}
|
|
138731
139029
|
}
|
|
138732
139030
|
} else {
|
|
138733
139031
|
// 垂直射线,上下拖拉
|
|
139032
|
+
var vSameSide = firstEndpoints[1] === secondEndpoints[1];
|
|
138734
139033
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138735
139034
|
// 顶部侧边拖拉
|
|
138736
139035
|
// console.log('top drap..')
|
|
138737
139036
|
if (firstEndpoints[1] === -1) {
|
|
138738
139037
|
// 垂直射线,上出下入,靠近起点上下拖拉
|
|
138739
139038
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
|
|
138740
|
-
if (distance > -
|
|
138741
|
-
distance = -
|
|
139039
|
+
if (distance > -minStub5) {
|
|
139040
|
+
distance = -minStub5;
|
|
138742
139041
|
}
|
|
138743
139042
|
thisConnect.pathMinY = distance;
|
|
138744
|
-
|
|
139043
|
+
if (!vSameSide) {
|
|
139044
|
+
thisConnect.pathMaxY = -distance;
|
|
139045
|
+
stub = [-distance, -distance];
|
|
139046
|
+
} else {
|
|
139047
|
+
handledIn4 = true;
|
|
139048
|
+
stub = [-distance, Math.abs(initialMaxY)];
|
|
139049
|
+
}
|
|
138745
139050
|
} else if (firstEndpoints[1] === 1) {
|
|
138746
139051
|
// 垂直射线,下出上入,靠近终点上下拖拉
|
|
138747
139052
|
distance = -(Math.abs(initialMaxY) - (y - _this.dragLineObj.disY));
|
|
138748
|
-
if (distance > -
|
|
138749
|
-
distance = -
|
|
139053
|
+
if (distance > -minStub5) {
|
|
139054
|
+
distance = -minStub5;
|
|
138750
139055
|
}
|
|
138751
139056
|
thisConnect.pathMinY = distance;
|
|
138752
|
-
|
|
139057
|
+
if (!vSameSide) {
|
|
139058
|
+
thisConnect.pathMaxY = -distance;
|
|
139059
|
+
stub = [-distance, -distance];
|
|
139060
|
+
} else {
|
|
139061
|
+
handledIn4 = true;
|
|
139062
|
+
stub = [Math.abs(initialMaxY), -distance];
|
|
139063
|
+
}
|
|
138753
139064
|
}
|
|
138754
139065
|
} else {
|
|
138755
139066
|
// 底部侧边拖拉
|
|
@@ -138757,40 +139068,242 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138757
139068
|
if (firstEndpoints[1] === -1) {
|
|
138758
139069
|
// 垂直射线,上出下入,靠近终点上下拖拉
|
|
138759
139070
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138760
|
-
if (distance <
|
|
138761
|
-
distance =
|
|
139071
|
+
if (distance < minStub5) {
|
|
139072
|
+
distance = minStub5;
|
|
138762
139073
|
}
|
|
138763
139074
|
thisConnect.pathMaxY = distance;
|
|
138764
|
-
|
|
139075
|
+
if (!vSameSide) {
|
|
139076
|
+
thisConnect.pathMinY = -distance;
|
|
139077
|
+
stub = [distance, distance];
|
|
139078
|
+
} else {
|
|
139079
|
+
handledIn4 = true;
|
|
139080
|
+
stub = [Math.abs(initialMinY), distance];
|
|
139081
|
+
}
|
|
138765
139082
|
} else if (firstEndpoints[1] === 1) {
|
|
138766
139083
|
// 垂直射线,下出下入,靠起点上下拖拉
|
|
138767
139084
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138768
|
-
if (distance <
|
|
138769
|
-
distance =
|
|
139085
|
+
if (distance < minStub5) {
|
|
139086
|
+
distance = minStub5;
|
|
138770
139087
|
}
|
|
138771
139088
|
thisConnect.pathMaxY = distance;
|
|
138772
|
-
|
|
139089
|
+
if (!vSameSide) {
|
|
139090
|
+
thisConnect.pathMinY = -distance;
|
|
139091
|
+
stub = [distance, distance];
|
|
139092
|
+
} else {
|
|
139093
|
+
stub = [distance, Math.abs(initialMaxY)];
|
|
139094
|
+
}
|
|
139095
|
+
}
|
|
139096
|
+
}
|
|
139097
|
+
}
|
|
139098
|
+
} else {
|
|
139099
|
+
// lineCount >= 6(跨轴自环线等4段线以上),按轴独立拖拽,水平/垂直互不影响
|
|
139100
|
+
// 注:firstEndpoints为2元素orientation数组[dx,dy],仅索引[0]/[1]有效
|
|
139101
|
+
if (isSameNode) {
|
|
139102
|
+
var minStub6 = 30;
|
|
139103
|
+
var dx1 = x - _this.dragLineObj.disX;
|
|
139104
|
+
var dy1 = y - _this.dragLineObj.disY;
|
|
139105
|
+
// 从thisConnect取已存储的stub(无+5偏移);首次拖拽则按锚点方向选正确initial值扣除gap偏移
|
|
139106
|
+
var curHs = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
|
|
139107
|
+
var curVs = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
139108
|
+
if (!curHs) {
|
|
139109
|
+
curHs = firstEndpoints[0] !== 0 ? Math.max(Math.abs(firstEndpoints[0] === -1 ? initialMinX : initialMaxX) - 5, minStub6) : minStub6;
|
|
139110
|
+
}
|
|
139111
|
+
if (!curVs) {
|
|
139112
|
+
curVs = firstEndpoints[1] !== 0 ? Math.max(Math.abs(firstEndpoints[1] === -1 ? initialMinY : initialMaxY) - 5, minStub6) : minStub6;
|
|
139113
|
+
}
|
|
139114
|
+
if (Math.abs(dx1) >= Math.abs(dy1)) {
|
|
139115
|
+
// 水平拖拽:只更新水平stub,垂直保持curVs不变
|
|
139116
|
+
var s = curHs;
|
|
139117
|
+
if (dx1 < 0) {
|
|
139118
|
+
s = curHs + Math.abs(dx1);
|
|
139119
|
+
} else {
|
|
139120
|
+
s = Math.max(curHs - dx1, minStub6);
|
|
139121
|
+
}
|
|
139122
|
+
if (firstEndpoints[0] === -1) {
|
|
139123
|
+
thisConnect.pathMinX = -s;
|
|
139124
|
+
thisConnect.pathMaxX = -s;
|
|
139125
|
+
} else if (firstEndpoints[0] === 1) {
|
|
139126
|
+
thisConnect.pathMinX = s;
|
|
139127
|
+
thisConnect.pathMaxX = s;
|
|
139128
|
+
}
|
|
139129
|
+
// 首次拖拽时初始化垂直方向存储
|
|
139130
|
+
if (!thisConnect.pathMinY && !thisConnect.pathMaxY) {
|
|
139131
|
+
var vdir = secondEndpoints[1] || firstEndpoints[1];
|
|
139132
|
+
if (vdir === -1) {
|
|
139133
|
+
thisConnect.pathMinY = -curVs;
|
|
139134
|
+
thisConnect.pathMaxY = -curVs;
|
|
139135
|
+
} else {
|
|
139136
|
+
thisConnect.pathMinY = curVs;
|
|
139137
|
+
thisConnect.pathMaxY = curVs;
|
|
139138
|
+
}
|
|
139139
|
+
}
|
|
139140
|
+
stub = [Math.max(s, minStub6), Math.max(curVs, minStub6)];
|
|
139141
|
+
} else {
|
|
139142
|
+
// 垂直拖拽:只更新垂直stub,水平保持curHs不变
|
|
139143
|
+
var s = curVs;
|
|
139144
|
+
if (dy1 < 0) {
|
|
139145
|
+
s = curVs + Math.abs(dy1);
|
|
139146
|
+
} else {
|
|
139147
|
+
s = Math.max(curVs - dy1, minStub6);
|
|
139148
|
+
}
|
|
139149
|
+
if (firstEndpoints[1] === -1) {
|
|
139150
|
+
thisConnect.pathMinY = -s;
|
|
139151
|
+
thisConnect.pathMaxY = -s;
|
|
139152
|
+
} else if (firstEndpoints[1] === 1) {
|
|
139153
|
+
thisConnect.pathMinY = s;
|
|
139154
|
+
thisConnect.pathMaxY = s;
|
|
139155
|
+
}
|
|
139156
|
+
// 首次拖拽时初始化水平方向存储
|
|
139157
|
+
if (!thisConnect.pathMinX && !thisConnect.pathMaxX) {
|
|
139158
|
+
var hdir = secondEndpoints[0] || firstEndpoints[0];
|
|
139159
|
+
if (hdir === -1) {
|
|
139160
|
+
thisConnect.pathMinX = -curHs;
|
|
139161
|
+
thisConnect.pathMaxX = -curHs;
|
|
139162
|
+
} else {
|
|
139163
|
+
thisConnect.pathMinX = curHs;
|
|
139164
|
+
thisConnect.pathMaxX = curHs;
|
|
139165
|
+
}
|
|
139166
|
+
}
|
|
139167
|
+
stub = [Math.max(curHs, minStub6), Math.max(s, minStub6)];
|
|
139168
|
+
}
|
|
139169
|
+
}
|
|
139170
|
+
}
|
|
139171
|
+
// 跨轴自环线(lineCount === 4 或 >= 6):用thisConnect存储值修正非拖拽轴stub
|
|
139172
|
+
// 避免lineCount === 4块中Math.abs(initialMaxX)取到画布边界而非真实stub
|
|
139173
|
+
// 注:firstEndpoints为2元素orientation数组,仅索引[0]/[1]有效
|
|
139174
|
+
if (isSameNode && !(hSameSide || vSameSide)) {
|
|
139175
|
+
var hasHAnchor = firstEndpoints[0] !== 0 || secondEndpoints[0] !== 0;
|
|
139176
|
+
var hasVAnchor = firstEndpoints[1] !== 0 || secondEndpoints[1] !== 0;
|
|
139177
|
+
if (hasHAnchor && hasVAnchor) {
|
|
139178
|
+
// Determine which axis was dragged by checking which path value was updated
|
|
139179
|
+
var srcDragged = thisConnect.pathMinX !== undefined && thisConnect.pathMinX !== 0 || thisConnect.pathMaxX !== undefined && thisConnect.pathMaxX !== 0;
|
|
139180
|
+
var srcWasV = firstEndpoints[0] === 0;
|
|
139181
|
+
if (srcDragged) {
|
|
139182
|
+
// Horizontal was dragged → fix vertical stub
|
|
139183
|
+
var vs = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
139184
|
+
if (!vs) {
|
|
139185
|
+
if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
|
|
139186
|
+
vs = Math.max(Math.abs(initialMinY) - 5, minStub4 || minStub5 || 30);
|
|
139187
|
+
} else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
|
|
139188
|
+
vs = Math.max(Math.abs(initialMaxY) - 5, minStub4 || minStub5 || 30);
|
|
139189
|
+
} else {
|
|
139190
|
+
vs = minStub4 || minStub5 || 30;
|
|
139191
|
+
}
|
|
139192
|
+
}
|
|
139193
|
+
stub[srcWasV ? 0 : 1] = Math.max(vs, minStub4 || minStub5 || 30);
|
|
139194
|
+
// 存储修正后的值到thisConnect,防止下个session re-extract画布值
|
|
139195
|
+
var fixedVs = Math.max(vs, minStub4 || minStub5 || 30);
|
|
139196
|
+
if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
|
|
139197
|
+
thisConnect.pathMinY = -fixedVs;
|
|
139198
|
+
thisConnect.pathMaxY = -fixedVs;
|
|
139199
|
+
} else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
|
|
139200
|
+
thisConnect.pathMinY = fixedVs;
|
|
139201
|
+
thisConnect.pathMaxY = fixedVs;
|
|
139202
|
+
}
|
|
139203
|
+
} else {
|
|
139204
|
+
// Vertical was dragged → fix horizontal stub
|
|
139205
|
+
var hs = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
|
|
139206
|
+
if (!hs) {
|
|
139207
|
+
if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
|
|
139208
|
+
hs = Math.max(Math.abs(initialMinX) - 5, minStub4 || minStub5 || 30);
|
|
139209
|
+
} else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
|
|
139210
|
+
hs = Math.max(Math.abs(initialMaxX) - 5, minStub4 || minStub5 || 30);
|
|
139211
|
+
} else {
|
|
139212
|
+
hs = minStub4 || minStub5 || 30;
|
|
139213
|
+
}
|
|
139214
|
+
}
|
|
139215
|
+
stub[srcWasV ? 1 : 0] = Math.max(hs, minStub4 || minStub5 || 30);
|
|
139216
|
+
// 存储修正后的值到thisConnect
|
|
139217
|
+
var fixedHs = Math.max(hs, minStub4 || minStub5 || 30);
|
|
139218
|
+
if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
|
|
139219
|
+
thisConnect.pathMinX = -fixedHs;
|
|
139220
|
+
thisConnect.pathMaxX = -fixedHs;
|
|
139221
|
+
} else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
|
|
139222
|
+
thisConnect.pathMinX = fixedHs;
|
|
139223
|
+
thisConnect.pathMaxX = fixedHs;
|
|
138773
139224
|
}
|
|
138774
139225
|
}
|
|
138775
139226
|
}
|
|
138776
139227
|
}
|
|
139228
|
+
// 自环线同侧连接:用拖拽端的值同时赋给两端,保持stub对称
|
|
139229
|
+
if (isSameNode && (hSameSide || vSameSide)) {
|
|
139230
|
+
var activeStub;
|
|
139231
|
+
if (firstEndpoints[0] !== 0) {
|
|
139232
|
+
// 水平锚点
|
|
139233
|
+
if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
139234
|
+
activeStub = Math.abs(stub[0]); // 拖拽左侧边
|
|
139235
|
+
} else {
|
|
139236
|
+
activeStub = Math.abs(stub[1]); // 拖拽右侧边
|
|
139237
|
+
}
|
|
139238
|
+
stub = [activeStub, activeStub];
|
|
139239
|
+
if (firstEndpoints[0] === -1) {
|
|
139240
|
+
thisConnect.pathMinX = -activeStub;
|
|
139241
|
+
thisConnect.pathMaxX = -activeStub;
|
|
139242
|
+
} else {
|
|
139243
|
+
thisConnect.pathMinX = activeStub;
|
|
139244
|
+
thisConnect.pathMaxX = activeStub;
|
|
139245
|
+
}
|
|
139246
|
+
} else {
|
|
139247
|
+
// 垂直锚点
|
|
139248
|
+
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
139249
|
+
activeStub = Math.abs(stub[0]); // 拖拽顶部边
|
|
139250
|
+
} else {
|
|
139251
|
+
activeStub = Math.abs(stub[1]); // 拖拽底部边
|
|
139252
|
+
}
|
|
139253
|
+
stub = [activeStub, activeStub];
|
|
139254
|
+
if (firstEndpoints[1] === -1) {
|
|
139255
|
+
thisConnect.pathMinY = -activeStub;
|
|
139256
|
+
thisConnect.pathMaxY = -activeStub;
|
|
139257
|
+
} else {
|
|
139258
|
+
thisConnect.pathMinY = activeStub;
|
|
139259
|
+
thisConnect.pathMaxY = activeStub;
|
|
139260
|
+
}
|
|
139261
|
+
}
|
|
139262
|
+
}
|
|
139263
|
+
// 垂直锚点组合2段线:源端延伸全距离,目标端不延伸(自环连接除外)
|
|
139264
|
+
var respectStubs = false;
|
|
139265
|
+
if (isSameNode) {
|
|
139266
|
+
// 自环连接始终严格保持stub值,与createPathLine创建行为一致
|
|
139267
|
+
// 跨轴自环线(lineCount不匹配3/4/5分支时stub为[0,0]),使用初始路径值兜底
|
|
139268
|
+
if (stub[0] === 0 && stub[1] === 0) {
|
|
139269
|
+
var s0 = Math.abs(initialMinX) || Math.abs(initialMaxX) || 50;
|
|
139270
|
+
var s1 = Math.abs(initialMinY) || Math.abs(initialMaxY) || 50;
|
|
139271
|
+
stub = [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139272
|
+
}
|
|
139273
|
+
respectStubs = true;
|
|
139274
|
+
} else if (firstEndpoints[0] !== 0 && secondEndpoints[1] !== 0) {
|
|
139275
|
+
// 水平出 + 垂直入(如左出上入、右出下入)
|
|
139276
|
+
stub = [Math.abs(initialMaxX), 0];
|
|
139277
|
+
respectStubs = true;
|
|
139278
|
+
} else if (firstEndpoints[1] !== 0 && secondEndpoints[0] !== 0) {
|
|
139279
|
+
// 垂直出 + 水平入(如上出左入、下出右入)
|
|
139280
|
+
stub = [Math.abs(initialMaxY), 0];
|
|
139281
|
+
respectStubs = true;
|
|
139282
|
+
} else if (firstEndpoints[0] !== 0 && secondEndpoints[0] !== 0) {
|
|
139283
|
+
// 水平出 + 水平入(同轴异向,如右出左入):使用midpoint控制折线,不用alwaysRespectStubs
|
|
139284
|
+
respectStubs = false;
|
|
139285
|
+
} else if (firstEndpoints[1] !== 0 && secondEndpoints[1] !== 0) {
|
|
139286
|
+
// 垂直出 + 垂直入(同轴异向,如下出上入):使用midpoint控制折线,不用alwaysRespectStubs
|
|
139287
|
+
respectStubs = false;
|
|
139288
|
+
}
|
|
139289
|
+
var mp = isSameAxisDiffDir ? _dragMidpoint : respectStubs ? isSameNode ? 0.5 : 0 : 0.5;
|
|
138777
139290
|
connection.setConnector(['Flowchart', {
|
|
138778
139291
|
stub: stub,
|
|
138779
139292
|
gap: 5,
|
|
138780
139293
|
cornerRadius: 5,
|
|
138781
|
-
alwaysRespectStubs:
|
|
138782
|
-
midpoint:
|
|
138783
|
-
}]);
|
|
138784
|
-
connection.addOverlay(['Arrow', {
|
|
138785
|
-
width: 10,
|
|
138786
|
-
length: 10,
|
|
138787
|
-
location: 1
|
|
139294
|
+
alwaysRespectStubs: respectStubs,
|
|
139295
|
+
midpoint: mp
|
|
138788
139296
|
}]);
|
|
138789
139297
|
});
|
|
138790
139298
|
|
|
138791
139299
|
// 鼠标释放
|
|
138792
139300
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).bind('mouseup', function (ev) {
|
|
138793
139301
|
setMoveCursor(false);
|
|
139302
|
+
connection.addOverlay(['Arrow', {
|
|
139303
|
+
width: 10,
|
|
139304
|
+
length: 10,
|
|
139305
|
+
location: 1
|
|
139306
|
+
}]);
|
|
138794
139307
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousedown');
|
|
138795
139308
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousemove');
|
|
138796
139309
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mouseup');
|
|
@@ -139171,6 +139684,30 @@ function createConnect(conn, connector, anchors) {
|
|
|
139171
139684
|
}
|
|
139172
139685
|
return a;
|
|
139173
139686
|
}
|
|
139687
|
+
|
|
139688
|
+
// ========== 辅助函数:同侧stub提取 ==========
|
|
139689
|
+
// 处理4种同轴同向组合(左左、右右、上上、下下),返回stub数组或null
|
|
139690
|
+
function computeSameSideStub(anchors, pathMinX, pathMaxX, pathMinY, pathMaxY) {
|
|
139691
|
+
if (anchors[0][2] === -1 && anchors[1][2] === -1) {
|
|
139692
|
+
var s0 = Math.abs(pathMinX) || 50;
|
|
139693
|
+
var s1 = Math.abs(pathMaxX) || 50;
|
|
139694
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139695
|
+
} else if (anchors[0][2] === 1 && anchors[1][2] === 1) {
|
|
139696
|
+
var s0 = Math.abs(pathMaxX) || 50;
|
|
139697
|
+
var s1 = Math.abs(pathMinX) || 50;
|
|
139698
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139699
|
+
} else if (anchors[0][3] === -1 && anchors[1][3] === -1) {
|
|
139700
|
+
var s0 = Math.abs(pathMinY) || 50;
|
|
139701
|
+
var s1 = Math.abs(pathMaxY) || 50;
|
|
139702
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139703
|
+
} else if (anchors[0][3] === 1 && anchors[1][3] === 1) {
|
|
139704
|
+
// 下出上入:pathMinY=源端stub,pathMaxY=目标端stub
|
|
139705
|
+
var s0 = Math.abs(pathMinY) || 50;
|
|
139706
|
+
var s1 = Math.abs(pathMaxY) || 50;
|
|
139707
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139708
|
+
}
|
|
139709
|
+
return null;
|
|
139710
|
+
}
|
|
139174
139711
|
function createPathLine(connectsArr) {
|
|
139175
139712
|
for (var j = 0; j < connectsArr.length; j++) {
|
|
139176
139713
|
// console.log(connectsArr[j].label, JSON.stringify(connectsArr[j]), connectsArr[j])
|
|
@@ -139179,67 +139716,112 @@ function createPathLine(connectsArr) {
|
|
|
139179
139716
|
var lineDistance = 0;
|
|
139180
139717
|
var connector = void 0;
|
|
139181
139718
|
var stub = [0, 0]; // stub[0]:偏移量,stub[1]:最小偏移量
|
|
139182
|
-
|
|
139719
|
+
var alwaysRespectStubs = false;
|
|
139720
|
+
var midpoint = 0.5;
|
|
139183
139721
|
if (connectsArr[j].type === 'Straight') {
|
|
139184
139722
|
connector = ['Straight', {
|
|
139185
139723
|
stub: [0, 0]
|
|
139186
139724
|
}];
|
|
139187
139725
|
} else if (connectsArr[j].type === 'Flowchart') {
|
|
139188
|
-
|
|
139189
|
-
|
|
139190
|
-
|
|
139191
|
-
|
|
139192
|
-
|
|
139193
|
-
|
|
139194
|
-
|
|
139726
|
+
var isSameNode = connectsArr[j].PageSourceId === connectsArr[j].PageTargetId;
|
|
139727
|
+
var isSameAxisSameDir = anchors[0][2] !== 0 && anchors[0][2] === anchors[1][2] || anchors[0][3] !== 0 && anchors[0][3] === anchors[1][3];
|
|
139728
|
+
var isSameAxisDiffDir = anchors[0][2] !== 0 && anchors[1][2] !== 0 && anchors[0][2] !== anchors[1][2] || anchors[0][3] !== 0 && anchors[1][3] !== 0 && anchors[0][3] !== anchors[1][3];
|
|
139729
|
+
var isDiffAxis = anchors[0][2] !== 0 && anchors[1][3] !== 0 || anchors[0][3] !== 0 && anchors[1][2] !== 0;
|
|
139730
|
+
if (isSameNode) {
|
|
139731
|
+
// 自环连接:minStub=50,必须在isDiffAxis之前判断(自环可能跨轴)
|
|
139732
|
+
stub = [50, 50];
|
|
139733
|
+
if (connectsArr[j].linesCount && connectsArr[j].linesCount >= 3) {
|
|
139734
|
+
var sameStub = computeSameSideStub(anchors, connectsArr[j].pathMinX, connectsArr[j].pathMaxX, connectsArr[j].pathMinY, connectsArr[j].pathMaxY);
|
|
139735
|
+
if (sameStub) {
|
|
139736
|
+
stub = sameStub;
|
|
139737
|
+
} else {
|
|
139738
|
+
// 跨轴自环线(如左出上入):取各轴有效path值,minStub=50
|
|
139739
|
+
var absMinX = Math.abs(connectsArr[j].pathMinX) || 0;
|
|
139740
|
+
var absMaxX = Math.abs(connectsArr[j].pathMaxX) || 0;
|
|
139741
|
+
var absMinY = Math.abs(connectsArr[j].pathMinY) || 0;
|
|
139742
|
+
var absMaxY = Math.abs(connectsArr[j].pathMaxY) || 0;
|
|
139743
|
+
var hs = Math.max(absMinX, absMaxX, 30);
|
|
139744
|
+
var vs = Math.max(absMinY, absMaxY, 30);
|
|
139745
|
+
stub = [Math.max(hs, 30), Math.max(vs, 30)];
|
|
139746
|
+
}
|
|
139747
|
+
}
|
|
139748
|
+
alwaysRespectStubs = true;
|
|
139749
|
+
} else if (isDiffAxis) {
|
|
139750
|
+
// 不同轴(垂直锚点组合):stub使用固定默认值,不使用pathMaxX/pathMaxY
|
|
139751
|
+
stub = [50, 0];
|
|
139752
|
+
alwaysRespectStubs = true;
|
|
139753
|
+
midpoint = 0;
|
|
139754
|
+
} else if (connectsArr[j].linesCount === 1) {
|
|
139195
139755
|
stub = [0, 0];
|
|
139196
|
-
} else if (
|
|
139197
|
-
|
|
139198
|
-
|
|
139199
|
-
|
|
139200
|
-
|
|
139201
|
-
|
|
139202
|
-
|
|
139203
|
-
|
|
139204
|
-
|
|
139205
|
-
|
|
139206
|
-
|
|
139207
|
-
|
|
139208
|
-
|
|
139209
|
-
|
|
139210
|
-
|
|
139756
|
+
} else if (isSameAxisSameDir) {
|
|
139757
|
+
// 同侧锚点(不含自环):使用保存的path值,minStub=50保证U型结构
|
|
139758
|
+
stub = [50, 50];
|
|
139759
|
+
if (connectsArr[j].linesCount && connectsArr[j].linesCount >= 3) {
|
|
139760
|
+
var sameStub = computeSameSideStub(anchors, connectsArr[j].pathMinX, connectsArr[j].pathMaxX, connectsArr[j].pathMinY, connectsArr[j].pathMaxY);
|
|
139761
|
+
if (sameStub) stub = sameStub;
|
|
139762
|
+
}
|
|
139763
|
+
} else if (isSameAxisDiffDir) {
|
|
139764
|
+
// 同轴异向:小stub + alwaysRespectStubs=false + 动态midpoint控制折线位置
|
|
139765
|
+
stub = [10, 10];
|
|
139766
|
+
var _sourceNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageSourceId);
|
|
139767
|
+
var targetNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageTargetId);
|
|
139768
|
+
var srcTop = parseInt(_sourceNode.css('top')) || 0;
|
|
139769
|
+
var srcLeft = parseInt(_sourceNode.css('left')) || 0;
|
|
139770
|
+
var srcW = _sourceNode.outerWidth() || 0;
|
|
139771
|
+
var srcH = _sourceNode.outerHeight() || 0;
|
|
139772
|
+
var tgtTop = parseInt(targetNode.css('top')) || 0;
|
|
139773
|
+
var tgtLeft = parseInt(targetNode.css('left')) || 0;
|
|
139774
|
+
var tgtW = targetNode.outerWidth() || 0;
|
|
139775
|
+
var tgtH = targetNode.outerHeight() || 0;
|
|
139776
|
+
if (anchors[0][2] !== 0) {
|
|
139777
|
+
// 水平方向(左出右入、右出左入)
|
|
139778
|
+
var srcAnchorX = srcLeft + srcW * anchors[0][0];
|
|
139779
|
+
var tgtAnchorX = tgtLeft + tgtW * anchors[1][0];
|
|
139780
|
+
var totalDistX = Math.abs(tgtAnchorX - srcAnchorX);
|
|
139781
|
+
// 从存储的pathMaxX获取折线距离,无有效值时取中点
|
|
139782
|
+
var foldDist = Math.abs(connectsArr[j].pathMaxX) || Math.abs(connectsArr[j].pathMinX);
|
|
139783
|
+
if (!foldDist || isNaN(foldDist)) foldDist = totalDistX / 2;
|
|
139784
|
+
// stub=10时需扣除stub偏移:midpoint = (foldDist - stub) / (totalDist - 2*stub)
|
|
139785
|
+
var effDist = totalDistX - 20;
|
|
139786
|
+
midpoint = effDist > 0 ? (foldDist - 10) / effDist : 0.5;
|
|
139787
|
+
} else if (anchors[0][3] !== 0) {
|
|
139788
|
+
// 垂直方向(上出下入、下出上入)
|
|
139789
|
+
var srcAnchorY = srcTop + srcH * anchors[0][1];
|
|
139790
|
+
var tgtAnchorY = tgtTop + tgtH * anchors[1][1];
|
|
139791
|
+
var totalDistY = Math.abs(tgtAnchorY - srcAnchorY);
|
|
139792
|
+
var foldDist = Math.abs(connectsArr[j].pathMaxY) || Math.abs(connectsArr[j].pathMinY);
|
|
139793
|
+
if (!foldDist || isNaN(foldDist)) foldDist = totalDistY / 2;
|
|
139794
|
+
// stub=10时需扣除stub偏移:midpoint = (foldDist - stub) / (totalDist - 2*stub)
|
|
139795
|
+
var effDist = totalDistY - 20;
|
|
139796
|
+
midpoint = effDist > 0 ? (foldDist - 10) / effDist : 0.5;
|
|
139797
|
+
}
|
|
139798
|
+
midpoint = Math.max(0, Math.min(1, midpoint));
|
|
139799
|
+
// alwaysRespectStubs保持false(默认值),使opposite分支使用midpoint参数控制折线
|
|
139211
139800
|
} else if (connectsArr[j].linesCount >= 4) {
|
|
139801
|
+
// 其他4段线:使用保存的path值
|
|
139212
139802
|
stub = [10, 10];
|
|
139213
139803
|
if (anchors[0][2] === -1) {
|
|
139214
|
-
// 水平射线,左出
|
|
139215
139804
|
stub[0] = Math.abs(connectsArr[j].pathMinX);
|
|
139216
139805
|
} else if (anchors[0][2] === 1) {
|
|
139217
|
-
// 水平射线,右出
|
|
139218
139806
|
stub[0] = Math.abs(connectsArr[j].pathMaxX);
|
|
139219
139807
|
} else if (anchors[0][3] === -1) {
|
|
139220
|
-
// 垂直射线,上出
|
|
139221
139808
|
stub[0] = Math.abs(connectsArr[j].pathMinY);
|
|
139222
139809
|
} else if (anchors[0][3] === 1) {
|
|
139223
|
-
// 垂直射线,下出
|
|
139224
139810
|
stub[0] = Math.abs(connectsArr[j].pathMaxY);
|
|
139225
139811
|
}
|
|
139226
139812
|
if (anchors[1][2] === -1) {
|
|
139227
|
-
// 水平射线,左入
|
|
139228
139813
|
stub[1] = Math.abs(connectsArr[j].pathMinX);
|
|
139229
139814
|
} else if (anchors[1][2] === 1) {
|
|
139230
|
-
// 水平射线,右入
|
|
139231
139815
|
stub[1] = Math.abs(connectsArr[j].pathMaxX);
|
|
139232
139816
|
} else if (anchors[1][3] === -1) {
|
|
139233
|
-
// 垂直射线,上入
|
|
139234
139817
|
stub[1] = Math.abs(connectsArr[j].pathMinY);
|
|
139235
139818
|
} else if (anchors[1][3] === 1) {
|
|
139236
|
-
// 垂直射线,下入
|
|
139237
139819
|
stub[1] = Math.abs(connectsArr[j].pathMaxY);
|
|
139238
139820
|
}
|
|
139239
|
-
|
|
139240
|
-
|
|
139241
|
-
|
|
139242
|
-
|
|
139821
|
+
|
|
139822
|
+
// 旧代码默认值历史数据:stub值都是50时,使用[0,0]
|
|
139823
|
+
if ((stub[0] === 50 || stub[0] === 10) && (stub[1] === 50 || stub[1] === 10)) {
|
|
139824
|
+
stub = [0, 0];
|
|
139243
139825
|
}
|
|
139244
139826
|
} else if (Math.abs(connectsArr[j].pathMaxX) > 10 || Math.abs(connectsArr[j].pathMinX) > 10) {
|
|
139245
139827
|
// 兼容旧数据格式,旧数据格式没有lineCount属性
|
|
@@ -139283,8 +139865,8 @@ function createPathLine(connectsArr) {
|
|
|
139283
139865
|
stub: stub,
|
|
139284
139866
|
gap: 5,
|
|
139285
139867
|
cornerRadius: 5,
|
|
139286
|
-
alwaysRespectStubs:
|
|
139287
|
-
midpoint:
|
|
139868
|
+
alwaysRespectStubs: alwaysRespectStubs,
|
|
139869
|
+
midpoint: midpoint
|
|
139288
139870
|
}];
|
|
139289
139871
|
} else if (connectsArr[j].type === 'Bezier') {
|
|
139290
139872
|
connector = ['Bezier', {
|
|
@@ -139295,14 +139877,11 @@ function createPathLine(connectsArr) {
|
|
|
139295
139877
|
if (sourceNode.hasClass('dfzjd') || sourceNode.hasClass('zyjd')) {
|
|
139296
139878
|
connectsArr[j].label = '';
|
|
139297
139879
|
}
|
|
139880
|
+
var conn;
|
|
139298
139881
|
try {
|
|
139299
|
-
createConnect(connectsArr[j], connector, anchors);
|
|
139882
|
+
conn = createConnect(connectsArr[j], connector, anchors);
|
|
139300
139883
|
} catch (e) {
|
|
139301
|
-
|
|
139302
|
-
createConnect(connectsArr[j], connector, anchors);
|
|
139303
|
-
} catch (e2) {
|
|
139304
|
-
console.warn('createConnect failed after retry:', e2.message, connectsArr[j]);
|
|
139305
|
-
}
|
|
139884
|
+
conn = createConnect(connectsArr[j], connector, anchors);
|
|
139306
139885
|
}
|
|
139307
139886
|
}
|
|
139308
139887
|
}
|
|
@@ -140710,6 +141289,10 @@ RegionSelect.prototype.onSelect = function (evt, sDivId) {
|
|
|
140710
141289
|
};
|
|
140711
141290
|
RegionSelect.prototype.onEnd = function () {
|
|
140712
141291
|
var self = this;
|
|
141292
|
+
// 记录框选结束时间,用于区分框选后的 click 和普通点击
|
|
141293
|
+
if (self.isSelect && _selectedRegions.length > 0) {
|
|
141294
|
+
self._selectEndTime = Date.now();
|
|
141295
|
+
}
|
|
140713
141296
|
if (self.selectDiv) {
|
|
140714
141297
|
self.selectDiv.style.display = 'none';
|
|
140715
141298
|
}
|
|
@@ -141064,7 +141647,11 @@ var showProcessDesc = function showProcessDesc(desc, containerHeight, containerL
|
|
|
141064
141647
|
scope: 'desc'
|
|
141065
141648
|
});
|
|
141066
141649
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()('.process-desc-close').click(function () {
|
|
141067
|
-
document.querySelector('.process-desc-container')
|
|
141650
|
+
var descContainer = document.querySelector('.process-desc-container');
|
|
141651
|
+
// 隐藏前将当前位置存入data属性,以便保存时能读取到
|
|
141652
|
+
descContainer.dataset.left = descContainer.offsetLeft;
|
|
141653
|
+
descContainer.dataset.top = descContainer.offsetTop;
|
|
141654
|
+
descContainer.style.display = 'none';
|
|
141068
141655
|
});
|
|
141069
141656
|
};
|
|
141070
141657
|
var Transform = {
|
|
@@ -164854,7 +165441,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "span[data-v-26aedf1c]{white-space:pre-
|
|
|
164854
165441
|
|
|
164855
165442
|
/***/ }),
|
|
164856
165443
|
|
|
164857
|
-
/***/
|
|
165444
|
+
/***/ 59196:
|
|
164858
165445
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164859
165446
|
|
|
164860
165447
|
"use strict";
|
|
@@ -164868,14 +165455,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
164868
165455
|
|
|
164869
165456
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
164870
165457
|
// Module
|
|
164871
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
165458
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0e4abb10] .el-progress{margin:20px auto}[data-v-0e4abb10] .el-button--mini{padding:6px;font-size:12px;margin-right:6px}[data-v-0e4abb10] .invalid-field .el-input__inner{border:1px solid #c03639!important}[data-v-0e4abb10] .el-dialog__body{min-height:180px;overflow-y:auto}[data-v-0e4abb10] .el-dialog__body .basicform-panel{position:relative;overflow-x:hidden}[data-v-0e4abb10] .el-dialog__body .basicform-panel .el-scrollbar{height:100%;width:100%}[data-v-0e4abb10] .el-dialog__body .basicform-panel .el-scrollbar .el-scrollbar__wrap{overflow-x:hidden;margin-bottom:0!important}[data-v-0e4abb10] .el-dialog__body .basicform-panel .el-scrollbar__border{position:relative}[data-v-0e4abb10] .el-dialog__body .basicform-panel .el-scrollbar__border:before{content:\"\";position:absolute;border-right:1px solid #ebeef5;top:0;right:0;height:100%;z-index:2}[data-v-0e4abb10] .el-dialog__body .basicform-panel .el-scrollbar__border:after{content:\"\";position:absolute;border-bottom:1px solid #ebeef5;bottom:0;left:0;width:100%;z-index:2}[data-v-0e4abb10] .el-dialog__body .el-tabs--top{margin-top:-10px}[data-v-0e4abb10] .el-dialog__body .busi-form-container-border{position:relative}[data-v-0e4abb10] .el-dialog__body .busi-form-container-border:before{content:\"\";position:absolute;border-top:1px solid #ebeef5;top:0;left:0;width:100%;z-index:5}[data-v-0e4abb10] .el-dialog__body .busi-form-container-border:after{content:\"\";position:absolute;border-top:1px solid #ebeef5;bottom:0;left:0;width:100%;z-index:5}[data-v-0e4abb10] .el-dialog__body .inner-table-margin-top{margin-top:20px;border-top:1px solid #e2e7ed;border-left:1px solid #e2e7ed}[data-v-0e4abb10] .el-dialog__body .inner-table-margin-bottom{margin-bottom:20px}[data-v-0e4abb10] .el-dialog__body td{cursor:default!important}", ""]);
|
|
164872
165459
|
// Exports
|
|
164873
165460
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
164874
165461
|
|
|
164875
165462
|
|
|
164876
165463
|
/***/ }),
|
|
164877
165464
|
|
|
164878
|
-
/***/
|
|
165465
|
+
/***/ 9096:
|
|
164879
165466
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164880
165467
|
|
|
164881
165468
|
"use strict";
|
|
@@ -165783,7 +166370,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-76d3db75] .el-dialog__body .su
|
|
|
165783
166370
|
|
|
165784
166371
|
/***/ }),
|
|
165785
166372
|
|
|
165786
|
-
/***/
|
|
166373
|
+
/***/ 83363:
|
|
165787
166374
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165788
166375
|
|
|
165789
166376
|
"use strict";
|
|
@@ -165797,7 +166384,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165797
166384
|
|
|
165798
166385
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
165799
166386
|
// Module
|
|
165800
|
-
___CSS_LOADER_EXPORT___.push([module.id, "@media (max-width:1569px){.sidebar-area .users-container .el-button[data-v-
|
|
166387
|
+
___CSS_LOADER_EXPORT___.push([module.id, "@media (max-width:1569px){.sidebar-area .users-container .el-button[data-v-e9f6976a]{display:none}.sidebar-area .users-container[data-v-e9f6976a] :after{content:\"\\00A0\"}}.area-title[data-v-e9f6976a]{margin-bottom:10px;font-weight:600}.area-title .el-icon-check[data-v-e9f6976a],.area-title .el-icon-plus[data-v-e9f6976a]{margin-right:5px;font-size:14px;font-weight:600}.submit-handle-container[data-v-e9f6976a]{margin-top:20px}.submit-handle-container .tnLimit-container[data-v-e9f6976a]{border-bottom:1px solid #ebeef5;margin-left:-4px;margin-right:-4px;padding-left:4px;padding-bottom:5px;margin-bottom:5px}.submit-handle-container .tnLimit-container .el-input[data-v-e9f6976a]{width:45px}.submit-handle-container .tnLimit-container .el-input[data-v-e9f6976a] .el-input__inner{border-top:0;border-left:0;border-right:0;border-radius:0;text-align:center}.submit-handle-container .users-container[data-v-e9f6976a]{display:ruby}.submit-handle-container .users-container .el-button[data-v-e9f6976a]{padding:6px}.submit-handle-container .users-container span[data-v-e9f6976a]{display:contents;line-height:28px}.submit-handle-container .selectPath[data-v-e9f6976a] .el-radio{width:auto;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.submit-handle-container[data-v-e9f6976a] .el-upload--text{width:100%}.submit-handle-container[data-v-e9f6976a] .el-upload .el-input-group .el-input__inner{display:inline-block;vertical-align:baseline}.submit-handle-container .shortcut-button[data-v-e9f6976a]{text-align:right}.submit-handle-container .shortcut-button[data-v-e9f6976a] .el-button{width:100px;font-weight:600;font-size:16px}.submit-handle-container .shortcut-button[data-v-e9f6976a] .el-button .svg-icon{margin-right:5px}.submit-handle-container .sidebar-area[data-v-e9f6976a]{border-bottom:1px solid #eee}.submit-handle-container .sidebar-area .sidebar-area-title[data-v-e9f6976a]{font-weight:600;line-height:24px;padding:10px}.submit-handle-container .sidebar-area .sidebar-area-title .el-button--primary[data-v-e9f6976a]{width:6px;padding:0;margin-right:6px;margin-top:5px;border-radius:1px;height:14px;cursor:default;vertical-align:top;display:inline-block}.submit-handle-container .sidebar-area .sidebar-area-title .required[data-v-e9f6976a]{padding-left:5px;color:red}.submit-handle-container .sidebar-area .sidebar-area-title div[data-v-e9f6976a]{display:inline-block;vertical-align:top}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a]{padding-left:20px;padding-right:10px;padding-bottom:10px}.submit-handle-container .sidebar-area .sidebar-area-content .el-checkbox[data-v-e9f6976a]{line-height:30px}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .select-group-container{padding-top:8px!important}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-button--medium,.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-input__inner{line-height:30px!important;height:30px}.submit-handle-container .sidebar-area .sidebar-area-content .el-radio[data-v-e9f6976a]{display:block}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-timeline{padding-left:0}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-timeline .el-timeline-item{padding-bottom:15px}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-timeline .el-timeline-item .el-timeline-item__node{background-color:#fff}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-timeline .el-timeline-item .el-timeline-item__node .el-timeline-item__icon{color:#606266}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-timeline .el-timeline-item .el-timeline-item__content{text-align:right}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-timeline .el-timeline-item .el-timeline-item__content span{float:left}.submit-handle-container .sidebar-area .sidebar-area-content[data-v-e9f6976a] .el-timeline .el-timeline-item .el-timeline-item__timestamp{width:calc(100% - 50px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.submit-handle-container .sidebar-area[data-v-e9f6976a]:last-child{border-bottom:0!important}", ""]);
|
|
165801
166388
|
// Exports
|
|
165802
166389
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165803
166390
|
|
|
@@ -167694,7 +168281,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".setting .header[data-v-8cadfe0a]{widt
|
|
|
167694
168281
|
|
|
167695
168282
|
/***/ }),
|
|
167696
168283
|
|
|
167697
|
-
/***/
|
|
168284
|
+
/***/ 65213:
|
|
167698
168285
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167699
168286
|
|
|
167700
168287
|
"use strict";
|
|
@@ -167708,14 +168295,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
167708
168295
|
|
|
167709
168296
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
167710
168297
|
// Module
|
|
167711
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
168298
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0ebbd5f8] .el-scrollbar__wrap{overflow-x:auto}#center[data-v-0ebbd5f8]{background-image:-webkit-gradient(linear,left top,right top,color-stop(3%,rgba(50,0,0,.05)),color-stop(3%,transparent)),-webkit-gradient(linear,left bottom,left top,color-stop(3%,rgba(50,0,0,.05)),color-stop(3%,transparent));background-image:linear-gradient(90deg,rgba(50,0,0,.05) 3%,transparent 0),linear-gradient(1turn,rgba(50,0,0,.05) 3%,transparent 0);background-size:20px 20px;background-repeat:repeat;background-position:0 0}#center .add-node-btn[data-v-0ebbd5f8]{position:relative;margin:-15px -10px;z-index:4000;display:none}#center .insert-node-btn[data-v-0ebbd5f8]{position:fixed;margin:-15px -10px;z-index:4000;display:none}li[data-v-0ebbd5f8],ul[data-v-0ebbd5f8]{list-style:none}", ""]);
|
|
167712
168299
|
// Exports
|
|
167713
168300
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
167714
168301
|
|
|
167715
168302
|
|
|
167716
168303
|
/***/ }),
|
|
167717
168304
|
|
|
167718
|
-
/***/
|
|
168305
|
+
/***/ 87373:
|
|
167719
168306
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167720
168307
|
|
|
167721
168308
|
"use strict";
|
|
@@ -167729,7 +168316,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
167729
168316
|
|
|
167730
168317
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
167731
168318
|
// Module
|
|
167732
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".line_text{cursor:pointer;position:absolute;left:0;top:0;font-size:14px}.evt_line{color:orange}.dropdown-menu{width:160px;display:none;position:fixed;z-index:9999;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu li a{padding:5px 20px;line-height:2;white-space:nowrap;color:#333}.dropdown-menu li:hover{background:#f5f5f5}.process svg:hover path:last-child{fill:red}.process path{stroke-width:2;cursor:pointer}.process path:last-child{fill:#438eb9}.process circle{fill:#438eb9;stroke:none}.move,.move path{cursor:move}.process-desc-container{width:350px;border:1px solid #dadada;background-color:#f8f8ff;font-size:14px;z-index:1001}.process-desc-container .label{padding-left:5px;padding-right:5px;height:30px;line-height:30px;cursor:pointer}.process-desc-container .label span{float:left}.process-desc-container .label img{margin-top:3px;float:right}.process-desc-container .content{border-top:1px solid #dadada;background-color:#fff}.process-desc-container .content textarea{width:100%;min-height:120px;border:0}.jtk-endpoint{z-index:3}.seled .jtk-endpoint{z-index:5}.jtk-endpoint.wf-conn-ep{z-index:6}.jtk-connector.wf-conn-active{z-index:1999!important}.jtk-connector.wf-conn-active path{stroke:red!important;stroke-width:2px!important}.jtk-connector:not(.wf-conn-active){z-index:4}.jtk-endpoint.wf-ep-active{z-index:2001!important}.jtk-endpoint.jtk-drag-active{z-index:10!important}.jtk-endpoint circle{fill:#438eb9!important;stroke:none!important}.jtk-endpoint.wf-sel-ep circle{fill:red!important}", ""]);
|
|
168319
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".line_text{cursor:pointer;position:absolute;left:0;top:0;font-size:14px}.evt_line{color:orange}.dropdown-menu{width:160px;display:none;position:fixed;z-index:9999;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu li a{padding:5px 20px;line-height:2;white-space:nowrap;color:#333}.dropdown-menu li:hover{background:#f5f5f5}.process svg:hover path:last-child{fill:red}.process path{stroke-width:2;cursor:pointer}.process path:last-child{fill:#438eb9}.process circle{fill:#438eb9;stroke:none}.move{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.move,.move path{cursor:move}.process-desc-container{width:350px;border:1px solid #dadada;background-color:#f8f8ff;font-size:14px;z-index:1001}.process-desc-container .label{padding-left:5px;padding-right:5px;height:30px;line-height:30px;cursor:pointer}.process-desc-container .label span{float:left}.process-desc-container .label img{margin-top:3px;float:right}.process-desc-container .content{border-top:1px solid #dadada;background-color:#fff}.process-desc-container .content textarea{width:100%;min-height:120px;border:0}.jtk-endpoint{z-index:3}.seled .jtk-endpoint{z-index:5}.jtk-endpoint.wf-conn-ep{z-index:6}.jtk-connector.wf-conn-active{z-index:1999!important}.jtk-connector.wf-conn-active path{stroke:red!important;stroke-width:2px!important}.jtk-connector:not(.wf-conn-active){z-index:4}.jtk-endpoint.wf-ep-active{z-index:2001!important}.jtk-endpoint.jtk-drag-active{z-index:10!important}.jtk-endpoint circle{fill:#438eb9!important;stroke:none!important}.jtk-endpoint.wf-sel-ep circle{fill:red!important}", ""]);
|
|
167733
168320
|
// Exports
|
|
167734
168321
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
167735
168322
|
|
|
@@ -168259,7 +168846,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "table[data-v-202e7fb0]{border-collapse
|
|
|
168259
168846
|
|
|
168260
168847
|
/***/ }),
|
|
168261
168848
|
|
|
168262
|
-
/***/
|
|
168849
|
+
/***/ 67832:
|
|
168263
168850
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
168264
168851
|
|
|
168265
168852
|
"use strict";
|
|
@@ -168273,7 +168860,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
168273
168860
|
|
|
168274
168861
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
168275
168862
|
// Module
|
|
168276
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".buttonBox table[data-v-
|
|
168863
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".buttonBox table[data-v-6502af06]{border-collapse:collapse}.buttonBox table th[data-v-6502af06]{background:#f2f2f2;border-bottom:none;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#ececec));background-image:linear-gradient(180deg,#f8f8f8 0,#ececec);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#fff8f8f8\",endColorstr=\"#ffececec\",GradientType=0);font-size:12px;padding:8px;line-height:1.42857143;color:#555;border:1px solid #e2e2e2}.buttonBox table th .addbtn[data-v-6502af06],.buttonBox table th .addbtn i[data-v-6502af06]{color:#337ab7;font-weight:700}.buttonBox table tr[data-v-6502af06]:nth-of-type(odd){background:#f9f9f9}.buttonBox table tr[data-v-6502af06]{cursor:pointer;font-size:12px;border:1px solid #e2e2e2}.buttonBox table td[data-v-6502af06]{font-size:12px;line-height:35px;height:35px;color:#555;border:1px solid #e2e2e2}.buttonBox table td .deleteButton[data-v-6502af06]{color:#dd5a43;padding:2px 3px;border:1px solid transparent;border-radius:2px}.buttonBox table td .deleteButton[data-v-6502af06]:hover{border:1px solid #abbac3;text-decoration:none}.buttonBox table td .editButton[data-v-6502af06]{color:#478fca;padding:2px 3px;border:1px solid transparent;border-radius:2px}.buttonBox table td .editButton[data-v-6502af06]:hover{border:1px solid #abbac3;text-decoration:none}.buttonBox[data-v-6502af06] .el-radio{margin-right:0!important}.buttonBox .el-row[data-v-6502af06]{margin-top:10px;padding:10px}.buttonBox[data-v-6502af06] .el-checkbox__label{display:none}.buttonBox .el-button-group[data-v-6502af06]{float:right;margin-top:-10px;margin-bottom:10px}", ""]);
|
|
168277
168864
|
// Exports
|
|
168278
168865
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
168279
168866
|
|
|
@@ -261320,35 +261907,35 @@ var update = add("8f6335fa", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261320
261907
|
|
|
261321
261908
|
/***/ }),
|
|
261322
261909
|
|
|
261323
|
-
/***/
|
|
261910
|
+
/***/ 88789:
|
|
261324
261911
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261325
261912
|
|
|
261326
261913
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261327
261914
|
|
|
261328
261915
|
// load the styles
|
|
261329
|
-
var content = __webpack_require__(
|
|
261916
|
+
var content = __webpack_require__(59196);
|
|
261330
261917
|
if(content.__esModule) content = content.default;
|
|
261331
261918
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261332
261919
|
if(content.locals) module.exports = content.locals;
|
|
261333
261920
|
// add the styles to the DOM
|
|
261334
261921
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261335
|
-
var update = add("
|
|
261922
|
+
var update = add("43f60c81", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261336
261923
|
|
|
261337
261924
|
/***/ }),
|
|
261338
261925
|
|
|
261339
|
-
/***/
|
|
261926
|
+
/***/ 45981:
|
|
261340
261927
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261341
261928
|
|
|
261342
261929
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261343
261930
|
|
|
261344
261931
|
// load the styles
|
|
261345
|
-
var content = __webpack_require__(
|
|
261932
|
+
var content = __webpack_require__(9096);
|
|
261346
261933
|
if(content.__esModule) content = content.default;
|
|
261347
261934
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261348
261935
|
if(content.locals) module.exports = content.locals;
|
|
261349
261936
|
// add the styles to the DOM
|
|
261350
261937
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261351
|
-
var update = add("
|
|
261938
|
+
var update = add("38a3cb0b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261352
261939
|
|
|
261353
261940
|
/***/ }),
|
|
261354
261941
|
|
|
@@ -262024,19 +262611,19 @@ var update = add("1667cbce", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
262024
262611
|
|
|
262025
262612
|
/***/ }),
|
|
262026
262613
|
|
|
262027
|
-
/***/
|
|
262614
|
+
/***/ 5524:
|
|
262028
262615
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
262029
262616
|
|
|
262030
262617
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
262031
262618
|
|
|
262032
262619
|
// load the styles
|
|
262033
|
-
var content = __webpack_require__(
|
|
262620
|
+
var content = __webpack_require__(83363);
|
|
262034
262621
|
if(content.__esModule) content = content.default;
|
|
262035
262622
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
262036
262623
|
if(content.locals) module.exports = content.locals;
|
|
262037
262624
|
// add the styles to the DOM
|
|
262038
262625
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
262039
|
-
var update = add("
|
|
262626
|
+
var update = add("2b7c3c5c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
262040
262627
|
|
|
262041
262628
|
/***/ }),
|
|
262042
262629
|
|
|
@@ -263480,35 +264067,35 @@ var update = add("76ac6c2c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
263480
264067
|
|
|
263481
264068
|
/***/ }),
|
|
263482
264069
|
|
|
263483
|
-
/***/
|
|
264070
|
+
/***/ 42096:
|
|
263484
264071
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
263485
264072
|
|
|
263486
264073
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
263487
264074
|
|
|
263488
264075
|
// load the styles
|
|
263489
|
-
var content = __webpack_require__(
|
|
264076
|
+
var content = __webpack_require__(65213);
|
|
263490
264077
|
if(content.__esModule) content = content.default;
|
|
263491
264078
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
263492
264079
|
if(content.locals) module.exports = content.locals;
|
|
263493
264080
|
// add the styles to the DOM
|
|
263494
264081
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
263495
|
-
var update = add("
|
|
264082
|
+
var update = add("b3a6b4b8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
263496
264083
|
|
|
263497
264084
|
/***/ }),
|
|
263498
264085
|
|
|
263499
|
-
/***/
|
|
264086
|
+
/***/ 93012:
|
|
263500
264087
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
263501
264088
|
|
|
263502
264089
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
263503
264090
|
|
|
263504
264091
|
// load the styles
|
|
263505
|
-
var content = __webpack_require__(
|
|
264092
|
+
var content = __webpack_require__(87373);
|
|
263506
264093
|
if(content.__esModule) content = content.default;
|
|
263507
264094
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
263508
264095
|
if(content.locals) module.exports = content.locals;
|
|
263509
264096
|
// add the styles to the DOM
|
|
263510
264097
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
263511
|
-
var update = add("
|
|
264098
|
+
var update = add("0a71b9ee", content, true, {"sourceMap":false,"shadowMode":false});
|
|
263512
264099
|
|
|
263513
264100
|
/***/ }),
|
|
263514
264101
|
|
|
@@ -263896,19 +264483,19 @@ var update = add("fab70e06", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
263896
264483
|
|
|
263897
264484
|
/***/ }),
|
|
263898
264485
|
|
|
263899
|
-
/***/
|
|
264486
|
+
/***/ 38783:
|
|
263900
264487
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
263901
264488
|
|
|
263902
264489
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
263903
264490
|
|
|
263904
264491
|
// load the styles
|
|
263905
|
-
var content = __webpack_require__(
|
|
264492
|
+
var content = __webpack_require__(67832);
|
|
263906
264493
|
if(content.__esModule) content = content.default;
|
|
263907
264494
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
263908
264495
|
if(content.locals) module.exports = content.locals;
|
|
263909
264496
|
// add the styles to the DOM
|
|
263910
264497
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
263911
|
-
var update = add("
|
|
264498
|
+
var update = add("39c824ca", content, true, {"sourceMap":false,"shadowMode":false});
|
|
263912
264499
|
|
|
263913
264500
|
/***/ }),
|
|
263914
264501
|
|
|
@@ -270902,7 +271489,7 @@ var user_install = function install(Vue) {
|
|
|
270902
271489
|
/* harmony default export */ var user = (user_install);
|
|
270903
271490
|
// EXTERNAL MODULE: ./packages/common/websocket/index.js
|
|
270904
271491
|
var websocket = __webpack_require__(58748);
|
|
270905
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Basicform/src/index.vue?vue&type=template&id=
|
|
271492
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Basicform/src/index.vue?vue&type=template&id=0e4abb10&scoped=true
|
|
270906
271493
|
var render = function render() {
|
|
270907
271494
|
var _vm = this,
|
|
270908
271495
|
_c = _vm._self._c;
|
|
@@ -271236,6 +271823,10 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
271236
271823
|
type: Function,
|
|
271237
271824
|
default: function _default($scope, vo) {}
|
|
271238
271825
|
},
|
|
271826
|
+
onBasicFormClosed: {
|
|
271827
|
+
type: Function,
|
|
271828
|
+
default: function _default($scope, vo) {}
|
|
271829
|
+
},
|
|
271239
271830
|
winWidth: {
|
|
271240
271831
|
type: Number,
|
|
271241
271832
|
default: 800
|
|
@@ -271873,6 +272464,9 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
271873
272464
|
if (_this4.callback !== null) {
|
|
271874
272465
|
_this4.callback(res, _this.vo);
|
|
271875
272466
|
} else {
|
|
272467
|
+
if (_this.onBasicFormClosed) {
|
|
272468
|
+
_this.onBasicFormClosed(_this, _this4.vo, 'submited');
|
|
272469
|
+
}
|
|
271876
272470
|
_this.$message({
|
|
271877
272471
|
type: res.code,
|
|
271878
272472
|
message: res.message,
|
|
@@ -271983,6 +272577,8 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
271983
272577
|
code: 'cancel',
|
|
271984
272578
|
message: this.$tx('ecwapp.Common.cancelSave', '取消保存')
|
|
271985
272579
|
});
|
|
272580
|
+
} else if (this.onBasicFormClosed) {
|
|
272581
|
+
this.onBasicFormClosed(this, this.vo, 'closed');
|
|
271986
272582
|
}
|
|
271987
272583
|
this.dialogFormVisible = false;
|
|
271988
272584
|
this.moduleInfo = {};
|
|
@@ -272205,13 +272801,13 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
272205
272801
|
});
|
|
272206
272802
|
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=script&lang=js
|
|
272207
272803
|
/* harmony default export */ var Basicform_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
272208
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=0&id=
|
|
272209
|
-
var
|
|
272210
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=0&id=
|
|
272804
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=0&id=0e4abb10&prod&lang=scss&scoped=true
|
|
272805
|
+
var srcvue_type_style_index_0_id_0e4abb10_prod_lang_scss_scoped_true = __webpack_require__(88789);
|
|
272806
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=0&id=0e4abb10&prod&lang=scss&scoped=true
|
|
272211
272807
|
|
|
272212
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=1&id=
|
|
272213
|
-
var
|
|
272214
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=1&id=
|
|
272808
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=1&id=0e4abb10&prod&lang=scss
|
|
272809
|
+
var srcvue_type_style_index_1_id_0e4abb10_prod_lang_scss = __webpack_require__(45981);
|
|
272810
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=1&id=0e4abb10&prod&lang=scss
|
|
272215
272811
|
|
|
272216
272812
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
272217
272813
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -272231,7 +272827,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
272231
272827
|
staticRenderFns,
|
|
272232
272828
|
false,
|
|
272233
272829
|
null,
|
|
272234
|
-
"
|
|
272830
|
+
"0e4abb10",
|
|
272235
272831
|
null
|
|
272236
272832
|
|
|
272237
272833
|
)
|
|
@@ -285761,87 +286357,87 @@ var asyncComponents = [
|
|
|
285761
286357
|
}],
|
|
285762
286358
|
// ========== ecwapp/Wflowform 工作流表单子组件 → chunk: wflow-form ==========
|
|
285763
286359
|
['Attachment', function () {
|
|
285764
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286360
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285765
286361
|
return m.Attachment;
|
|
285766
286362
|
});
|
|
285767
286363
|
}], ['BodyFile', function () {
|
|
285768
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286364
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285769
286365
|
return m.BodyFile;
|
|
285770
286366
|
});
|
|
285771
286367
|
}], ['CommandBar', function () {
|
|
285772
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286368
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285773
286369
|
return m.CommandBar;
|
|
285774
286370
|
});
|
|
285775
286371
|
}], ['HandleIdea', function () {
|
|
285776
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286372
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285777
286373
|
return m.HandleIdea;
|
|
285778
286374
|
});
|
|
285779
286375
|
}], ['IdeaInputBox', function () {
|
|
285780
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286376
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285781
286377
|
return m.IdeaInputBox;
|
|
285782
286378
|
});
|
|
285783
286379
|
}], ['ModifyWflogAddUser', function () {
|
|
285784
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286380
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285785
286381
|
return m.ModifyWflogAddUser;
|
|
285786
286382
|
});
|
|
285787
286383
|
}], ['ModifyWflogIdea', function () {
|
|
285788
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286384
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285789
286385
|
return m.ModifyWflogIdea;
|
|
285790
286386
|
});
|
|
285791
286387
|
}], ['WriteToReadIdea', function () {
|
|
285792
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286388
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285793
286389
|
return m.WriteToReadIdea;
|
|
285794
286390
|
});
|
|
285795
286391
|
}], ['ModifyWflogSubmitFile', function () {
|
|
285796
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286392
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285797
286393
|
return m.ModifyWflogSubmitFile;
|
|
285798
286394
|
});
|
|
285799
286395
|
}], ['ModifyWfNodelog', function () {
|
|
285800
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286396
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285801
286397
|
return m.ModifyWfNodelog;
|
|
285802
286398
|
});
|
|
285803
286399
|
}], ['SelectOuterDeputy', function () {
|
|
285804
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286400
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285805
286401
|
return m.SelectOuterDeputy;
|
|
285806
286402
|
});
|
|
285807
286403
|
}], ['SubmitHandle', function () {
|
|
285808
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286404
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285809
286405
|
return m.SubmitHandle;
|
|
285810
286406
|
});
|
|
285811
286407
|
}], ['SubmitDialog', function () {
|
|
285812
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286408
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285813
286409
|
return m.SubmitDialog;
|
|
285814
286410
|
});
|
|
285815
286411
|
}], ['WfNodelogList', function () {
|
|
285816
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286412
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285817
286413
|
return m.WfNodelogList;
|
|
285818
286414
|
});
|
|
285819
286415
|
}], ['WflogAddReader', function () {
|
|
285820
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286416
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285821
286417
|
return m.WflogAddReader;
|
|
285822
286418
|
});
|
|
285823
286419
|
}], ['WflowView', function () {
|
|
285824
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286420
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285825
286421
|
return m.WflowView;
|
|
285826
286422
|
});
|
|
285827
286423
|
}], ['ImgView', function () {
|
|
285828
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286424
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285829
286425
|
return m.ImgView;
|
|
285830
286426
|
});
|
|
285831
286427
|
}], ['IdeaSignature', function () {
|
|
285832
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286428
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285833
286429
|
return m.IdeaSignature;
|
|
285834
286430
|
});
|
|
285835
286431
|
}], ['ReplaceFile', function () {
|
|
285836
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286432
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285837
286433
|
return m.ReplaceFile;
|
|
285838
286434
|
});
|
|
285839
286435
|
}], ['ViewBodyFile', function () {
|
|
285840
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286436
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285841
286437
|
return m.ViewBodyFile;
|
|
285842
286438
|
});
|
|
285843
286439
|
}], ['WformLayout', function () {
|
|
285844
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286440
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860)).then(function (m) {
|
|
285845
286441
|
return m.WformLayout;
|
|
285846
286442
|
});
|
|
285847
286443
|
}],
|
|
@@ -286053,7 +286649,7 @@ var asyncComponents = [
|
|
|
286053
286649
|
}],
|
|
286054
286650
|
// ========== 工作流设计器 + 系统设计器 ==========
|
|
286055
286651
|
['WflowDesigner', function () {
|
|
286056
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286652
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 94714));
|
|
286057
286653
|
}], ['ImportWf', function () {
|
|
286058
286654
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 76341));
|
|
286059
286655
|
}], ['WflowTrace', function () {
|
|
@@ -286126,10 +286722,10 @@ var WfengineModule = function WfengineModule() {
|
|
|
286126
286722
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 99932));
|
|
286127
286723
|
};
|
|
286128
286724
|
var WflowformModule = function WflowformModule() {
|
|
286129
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286725
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 68860));
|
|
286130
286726
|
};
|
|
286131
286727
|
var WflowDesignerModule = function WflowDesignerModule() {
|
|
286132
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286728
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 94714));
|
|
286133
286729
|
};
|
|
286134
286730
|
var WflowTraceModule = function WflowTraceModule() {
|
|
286135
286731
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 50106));
|