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.common.js
CHANGED
|
@@ -33204,7 +33204,7 @@ var TextRecognition_PDFInjector = PDFInjector;
|
|
|
33204
33204
|
|
|
33205
33205
|
/***/ }),
|
|
33206
33206
|
|
|
33207
|
-
/***/
|
|
33207
|
+
/***/ 42826:
|
|
33208
33208
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
33209
33209
|
|
|
33210
33210
|
"use strict";
|
|
@@ -43865,8 +43865,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
43865
43865
|
)
|
|
43866
43866
|
|
|
43867
43867
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
43868
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=
|
|
43869
|
-
var
|
|
43868
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[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
|
|
43869
|
+
var SubmitHandlevue_type_template_id_e9f6976a_scoped_true_render = function render() {
|
|
43870
43870
|
var _vm = this,
|
|
43871
43871
|
_c = _vm._self._c;
|
|
43872
43872
|
return _c('div', {
|
|
@@ -43904,7 +43904,7 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
43904
43904
|
expression: "'SubmitHandle.processSteps'"
|
|
43905
43905
|
}],
|
|
43906
43906
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
43907
|
-
}, [_vm._v("流程环节")]), _c('td', {
|
|
43907
|
+
}, [_vm._v("流程环节 ")]), _c('td', {
|
|
43908
43908
|
directives: [{
|
|
43909
43909
|
name: "text-lbl",
|
|
43910
43910
|
rawName: "v-text-lbl",
|
|
@@ -44011,7 +44011,7 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
44011
44011
|
expression: "'ModifyWfNodelog.submitPath'"
|
|
44012
44012
|
}],
|
|
44013
44013
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
44014
|
-
}, [_vm._v("提交路径")]), _c('td', {
|
|
44014
|
+
}, [_vm._v("提交路径 ")]), _c('td', {
|
|
44015
44015
|
staticClass: "el-table__cell tdcont tdw83 selectPath",
|
|
44016
44016
|
attrs: {
|
|
44017
44017
|
"colspan": "3"
|
|
@@ -44964,7 +44964,8 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
44964
44964
|
"append-to-body": true,
|
|
44965
44965
|
"toolbar-btns": _vm.busiformBtns,
|
|
44966
44966
|
"on-basic-form-before-open": _vm.onBasicFormBeforeOpen,
|
|
44967
|
-
"on-basic-form-submited": _vm.onBasicFormSubmited
|
|
44967
|
+
"on-basic-form-submited": _vm.onBasicFormSubmited,
|
|
44968
|
+
"on-basic-form-closed": _vm.onBasicFormClosed
|
|
44968
44969
|
},
|
|
44969
44970
|
scopedSlots: _vm._u([{
|
|
44970
44971
|
key: "default",
|
|
@@ -44986,7 +44987,7 @@ var SubmitHandlevue_type_template_id_b65a08f8_scoped_true_render = function rend
|
|
|
44986
44987
|
}
|
|
44987
44988
|
}) : _vm._e()], 1);
|
|
44988
44989
|
};
|
|
44989
|
-
var
|
|
44990
|
+
var SubmitHandlevue_type_template_id_e9f6976a_scoped_true_staticRenderFns = [];
|
|
44990
44991
|
|
|
44991
44992
|
// EXTERNAL MODULE: ./packages/ecwapp/Wflowform/src/WfTaskNode.vue + 4 modules
|
|
44992
44993
|
var WfTaskNode = __webpack_require__(54264);
|
|
@@ -45414,6 +45415,10 @@ function SubmitHandlevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
45414
45415
|
this.submitTemplateList.unshift(template_copy);
|
|
45415
45416
|
}
|
|
45416
45417
|
},
|
|
45418
|
+
onBasicFormClosed: function onBasicFormClosed($scope, vo, action) {
|
|
45419
|
+
this.formTitle = '';
|
|
45420
|
+
this.formVo = null;
|
|
45421
|
+
},
|
|
45417
45422
|
saveSubmitTemplate: function saveSubmitTemplate() {
|
|
45418
45423
|
var _this5 = this;
|
|
45419
45424
|
if (this.curTN.tnIdeaLabelID && this.curTN.tnIdeaIsMust === 1) {
|
|
@@ -45555,9 +45560,9 @@ function SubmitHandlevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
45555
45560
|
});
|
|
45556
45561
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
45557
45562
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
45558
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
45559
|
-
var
|
|
45560
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
45563
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
45564
|
+
var SubmitHandlevue_type_style_index_0_id_e9f6976a_prod_scoped_true_lang_scss = __webpack_require__(17831);
|
|
45565
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=e9f6976a&prod&scoped=true&lang=scss
|
|
45561
45566
|
|
|
45562
45567
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/SubmitHandle.vue
|
|
45563
45568
|
|
|
@@ -45570,11 +45575,11 @@ var SubmitHandlevue_type_style_index_0_id_b65a08f8_prod_scoped_true_lang_scss =
|
|
|
45570
45575
|
|
|
45571
45576
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
45572
45577
|
src_SubmitHandlevue_type_script_lang_js,
|
|
45573
|
-
|
|
45574
|
-
|
|
45578
|
+
SubmitHandlevue_type_template_id_e9f6976a_scoped_true_render,
|
|
45579
|
+
SubmitHandlevue_type_template_id_e9f6976a_scoped_true_staticRenderFns,
|
|
45575
45580
|
false,
|
|
45576
45581
|
null,
|
|
45577
|
-
"
|
|
45582
|
+
"e9f6976a",
|
|
45578
45583
|
null
|
|
45579
45584
|
|
|
45580
45585
|
)
|
|
@@ -116362,7 +116367,7 @@ var UdmGenerator_UserModuleForm = UserModuleForm;
|
|
|
116362
116367
|
|
|
116363
116368
|
/***/ }),
|
|
116364
116369
|
|
|
116365
|
-
/***/
|
|
116370
|
+
/***/ 34660:
|
|
116366
116371
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
116367
116372
|
|
|
116368
116373
|
"use strict";
|
|
@@ -117029,8 +117034,8 @@ var SideBar_component = (0,componentNormalizer/* default */.A)(
|
|
|
117029
117034
|
)
|
|
117030
117035
|
|
|
117031
117036
|
/* harmony default export */ var SideBar = (SideBar_component.exports);
|
|
117032
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[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=
|
|
117033
|
-
var
|
|
117037
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[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
|
|
117038
|
+
var Centervue_type_template_id_0ebbd5f8_scoped_true_render = function render() {
|
|
117034
117039
|
var _vm = this,
|
|
117035
117040
|
_c = _vm._self._c;
|
|
117036
117041
|
return _c('el-scrollbar', {
|
|
@@ -117149,7 +117154,7 @@ var Centervue_type_template_id_5c4008d4_scoped_true_render = function render() {
|
|
|
117149
117154
|
}
|
|
117150
117155
|
})], 1)], 1)]);
|
|
117151
117156
|
};
|
|
117152
|
-
var
|
|
117157
|
+
var Centervue_type_template_id_0ebbd5f8_scoped_true_staticRenderFns = [];
|
|
117153
117158
|
|
|
117154
117159
|
// EXTERNAL MODULE: ./node_modules/jquery/dist/jquery.js
|
|
117155
117160
|
var jquery = __webpack_require__(74692);
|
|
@@ -118074,6 +118079,12 @@ var _require22 = __webpack_require__(53978),
|
|
|
118074
118079
|
_this4._connectionDragging = false;
|
|
118075
118080
|
return;
|
|
118076
118081
|
}
|
|
118082
|
+
// 框选结束后的 mouseup 会触发 click,此时应保持框选节点的选中状态
|
|
118083
|
+
if (oRegionSelect._selectEndTime && Date.now() - oRegionSelect._selectEndTime < 200) {
|
|
118084
|
+
return;
|
|
118085
|
+
}
|
|
118086
|
+
// 点击右键菜单项时不取消选中(菜单在 #center 内,点击会冒泡)
|
|
118087
|
+
if (jquery_default()(e.target).closest('.dropdown-menu, #centextMenu').length > 0) return;
|
|
118077
118088
|
// 点击画布空白处:清除节点选中和连接选中
|
|
118078
118089
|
var prevSelNodes2 = jquery_default()('.process.seled');
|
|
118079
118090
|
jquery_default()('.process').removeClass('seled');
|
|
@@ -119250,7 +119261,8 @@ var _require22 = __webpack_require__(53978),
|
|
|
119250
119261
|
pathMaxX: xyData.pathMaxX,
|
|
119251
119262
|
pathMinY: xyData.pathMinY,
|
|
119252
119263
|
pathMaxY: xyData.pathMaxY,
|
|
119253
|
-
linesCount: xyData.linesCount
|
|
119264
|
+
linesCount: xyData.linesCount,
|
|
119265
|
+
midpoint: thisConnect ? thisConnect.midpoint : undefined
|
|
119254
119266
|
});
|
|
119255
119267
|
});
|
|
119256
119268
|
|
|
@@ -119268,8 +119280,16 @@ var _require22 = __webpack_require__(53978),
|
|
|
119268
119280
|
wflow.process.description = desc;
|
|
119269
119281
|
wflow.process.chartData.descDiv = {};
|
|
119270
119282
|
wflow.process.chartData.descDiv.height = descDiv.clientHeight;
|
|
119271
|
-
|
|
119272
|
-
|
|
119283
|
+
if (descDiv.style.display !== 'none') {
|
|
119284
|
+
wflow.process.chartData.descDiv.left = descDiv.offsetLeft;
|
|
119285
|
+
wflow.process.chartData.descDiv.top = descDiv.offsetTop;
|
|
119286
|
+
} else {
|
|
119287
|
+
// 元素隐藏时offsetLeft/offsetTop为0,从关闭时存储的data属性中读取位置
|
|
119288
|
+
var savedLeft = descDiv.dataset.left;
|
|
119289
|
+
var savedTop = descDiv.dataset.top;
|
|
119290
|
+
if (savedLeft !== undefined) wflow.process.chartData.descDiv.left = parseInt(savedLeft);
|
|
119291
|
+
if (savedTop !== undefined) wflow.process.chartData.descDiv.top = parseInt(savedTop);
|
|
119292
|
+
}
|
|
119273
119293
|
} else {
|
|
119274
119294
|
wflow.process.description = '';
|
|
119275
119295
|
delete wflow.process.chartData.descDiv;
|
|
@@ -119772,13 +119792,13 @@ var _require22 = __webpack_require__(53978),
|
|
|
119772
119792
|
});
|
|
119773
119793
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=script&lang=js
|
|
119774
119794
|
/* harmony default export */ var components_Centervue_type_script_lang_js = (Centervue_type_script_lang_js);
|
|
119775
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
119776
|
-
var
|
|
119777
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=
|
|
119795
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
119796
|
+
var Centervue_type_style_index_0_id_0ebbd5f8_prod_scoped_true_lang_scss = __webpack_require__(73537);
|
|
119797
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=0ebbd5f8&prod&scoped=true&lang=scss
|
|
119778
119798
|
|
|
119779
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
119780
|
-
var
|
|
119781
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=
|
|
119799
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
119800
|
+
var Centervue_type_style_index_1_id_0ebbd5f8_prod_lang_scss = __webpack_require__(65089);
|
|
119801
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=0ebbd5f8&prod&lang=scss
|
|
119782
119802
|
|
|
119783
119803
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue
|
|
119784
119804
|
|
|
@@ -119792,11 +119812,11 @@ var Centervue_type_style_index_1_id_5c4008d4_prod_lang_scss = __webpack_require_
|
|
|
119792
119812
|
|
|
119793
119813
|
var Center_component = (0,componentNormalizer/* default */.A)(
|
|
119794
119814
|
components_Centervue_type_script_lang_js,
|
|
119795
|
-
|
|
119796
|
-
|
|
119815
|
+
Centervue_type_template_id_0ebbd5f8_scoped_true_render,
|
|
119816
|
+
Centervue_type_template_id_0ebbd5f8_scoped_true_staticRenderFns,
|
|
119797
119817
|
false,
|
|
119798
119818
|
null,
|
|
119799
|
-
"
|
|
119819
|
+
"0ebbd5f8",
|
|
119800
119820
|
null
|
|
119801
119821
|
|
|
119802
119822
|
)
|
|
@@ -121077,8 +121097,8 @@ var Tab0_system_component = (0,componentNormalizer/* default */.A)(
|
|
|
121077
121097
|
)
|
|
121078
121098
|
|
|
121079
121099
|
/* harmony default export */ var Tab0_system = (Tab0_system_component.exports);
|
|
121080
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[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=
|
|
121081
|
-
var
|
|
121100
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[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
|
|
121101
|
+
var Tab1vue_type_template_id_6502af06_scoped_true_render = function render() {
|
|
121082
121102
|
var _vm = this,
|
|
121083
121103
|
_c = _vm._self._c;
|
|
121084
121104
|
return _c('div', [_c('div', {
|
|
@@ -121317,7 +121337,7 @@ var Tab1vue_type_template_id_6fb1610c_scoped_true_render = function render() {
|
|
|
121317
121337
|
}
|
|
121318
121338
|
}, [_vm._v("确 定")])], 1)])], 1);
|
|
121319
121339
|
};
|
|
121320
|
-
var
|
|
121340
|
+
var Tab1vue_type_template_id_6502af06_scoped_true_staticRenderFns = [function () {
|
|
121321
121341
|
var _vm = this,
|
|
121322
121342
|
_c = _vm._self._c;
|
|
121323
121343
|
return _c('thead', [_c('tr', [_c('th', {
|
|
@@ -121345,7 +121365,7 @@ var Tab1vue_type_template_id_6fb1610c_scoped_true_staticRenderFns = [function ()
|
|
|
121345
121365
|
}, [_vm._v("操作")])])]);
|
|
121346
121366
|
}];
|
|
121347
121367
|
|
|
121348
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=template&id=
|
|
121368
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=template&id=6502af06&scoped=true
|
|
121349
121369
|
|
|
121350
121370
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[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
|
|
121351
121371
|
var IdeaLabelFormvue_type_template_id_756bc2c5_scoped_true_render = function render() {
|
|
@@ -122746,6 +122766,8 @@ var IdeaLabelForm_component = (0,componentNormalizer/* default */.A)(
|
|
|
122746
122766
|
saveIdeaLabel: function saveIdeaLabel() {
|
|
122747
122767
|
var _this2 = this;
|
|
122748
122768
|
var _this = this;
|
|
122769
|
+
// 将表单校验范围限定到对话框内部,避免其他面板的 .invalid-field 干扰导致确定按钮无响应
|
|
122770
|
+
var dialogFormEl = this.$refs.son ? this.$refs.son.$el : undefined;
|
|
122749
122771
|
this.formValidate(function () {
|
|
122750
122772
|
// 保存意见标签
|
|
122751
122773
|
if (!_this2.curIdeaLabel.id) {
|
|
@@ -122795,7 +122817,7 @@ var IdeaLabelForm_component = (0,componentNormalizer/* default */.A)(
|
|
|
122795
122817
|
});
|
|
122796
122818
|
_this2.$bus.emit('saveIdeaLable', _this2.ideaLabelArr);
|
|
122797
122819
|
_this2.editLabelFormVisible = false;
|
|
122798
|
-
});
|
|
122820
|
+
}, undefined, undefined, dialogFormEl);
|
|
122799
122821
|
},
|
|
122800
122822
|
// 选择常用意见标签
|
|
122801
122823
|
selIdeaLabel: function selIdeaLabel() {
|
|
@@ -123002,9 +123024,9 @@ var IdeaLabelForm_component = (0,componentNormalizer/* default */.A)(
|
|
|
123002
123024
|
});
|
|
123003
123025
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=script&lang=js
|
|
123004
123026
|
/* harmony default export */ var PanelProcess_Tab1vue_type_script_lang_js = (Tab1vue_type_script_lang_js);
|
|
123005
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
123006
|
-
var
|
|
123007
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=style&index=0&id=
|
|
123027
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
123028
|
+
var Tab1vue_type_style_index_0_id_6502af06_prod_scoped_true_lang_scss = __webpack_require__(81276);
|
|
123029
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue?vue&type=style&index=0&id=6502af06&prod&scoped=true&lang=scss
|
|
123008
123030
|
|
|
123009
123031
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab1.vue
|
|
123010
123032
|
|
|
@@ -123017,11 +123039,11 @@ var Tab1vue_type_style_index_0_id_6fb1610c_prod_scoped_true_lang_scss = __webpac
|
|
|
123017
123039
|
|
|
123018
123040
|
var Tab1_component = (0,componentNormalizer/* default */.A)(
|
|
123019
123041
|
PanelProcess_Tab1vue_type_script_lang_js,
|
|
123020
|
-
|
|
123021
|
-
|
|
123042
|
+
Tab1vue_type_template_id_6502af06_scoped_true_render,
|
|
123043
|
+
Tab1vue_type_template_id_6502af06_scoped_true_staticRenderFns,
|
|
123022
123044
|
false,
|
|
123023
123045
|
null,
|
|
123024
|
-
"
|
|
123046
|
+
"6502af06",
|
|
123025
123047
|
null
|
|
123026
123048
|
|
|
123027
123049
|
)
|
|
@@ -138403,38 +138425,125 @@ function getPathXyData(connection, thisConnect) {
|
|
|
138403
138425
|
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]];
|
|
138404
138426
|
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]];
|
|
138405
138427
|
if (linesCount === 3) {
|
|
138406
|
-
// 从svg path
|
|
138428
|
+
// 从svg path中获取同轴异向的两端stub,4种情况全处理
|
|
138407
138429
|
if (firstEndpoints[3] === 1 && secondEndpoints[3] === -1) {
|
|
138408
138430
|
// 下出上入
|
|
138409
|
-
|
|
138410
|
-
|
|
138431
|
+
if (!thisConnect || !thisConnect.pathMaxY) {
|
|
138432
|
+
var lineData = paths[0].split(' ');
|
|
138433
|
+
pathMaxY = parseInt(lineData[5]) - parseInt(lineData[2]);
|
|
138434
|
+
pathMinY = -pathMaxY; // 同轴异向,两端 stub 相等
|
|
138435
|
+
}
|
|
138436
|
+
} else if (firstEndpoints[3] === -1 && secondEndpoints[3] === 1) {
|
|
138437
|
+
// 上出下入
|
|
138438
|
+
if (!thisConnect || !thisConnect.pathMinY) {
|
|
138439
|
+
var _lineData = paths[0].split(' ');
|
|
138440
|
+
pathMinY = parseInt(_lineData[2]) - parseInt(_lineData[5]);
|
|
138441
|
+
pathMaxY = -pathMinY; // 同轴异向,两端 stub 相等
|
|
138442
|
+
}
|
|
138411
138443
|
} else if (firstEndpoints[2] === 1 && secondEndpoints[2] === -1) {
|
|
138412
138444
|
// 右出左入
|
|
138413
|
-
|
|
138414
|
-
|
|
138445
|
+
if (!thisConnect || !thisConnect.pathMaxX) {
|
|
138446
|
+
var _lineData2 = paths[0].split(' ');
|
|
138447
|
+
var arcIdx = _lineData2.indexOf('A');
|
|
138448
|
+
var lastPtX = arcIdx > 0 ? parseInt(_lineData2[arcIdx - 2]) : parseInt(_lineData2[4]);
|
|
138449
|
+
pathMaxX = Math.abs(lastPtX - parseInt(_lineData2[1]));
|
|
138450
|
+
pathMinX = -pathMaxX;
|
|
138451
|
+
}
|
|
138452
|
+
} else if (firstEndpoints[2] === -1 && secondEndpoints[2] === 1) {
|
|
138453
|
+
// 左出右入
|
|
138454
|
+
if (!thisConnect || !thisConnect.pathMinX) {
|
|
138455
|
+
var _lineData3 = paths[0].split(' ');
|
|
138456
|
+
var arcIdx = _lineData3.indexOf('A');
|
|
138457
|
+
var lastPtX = arcIdx > 0 ? parseInt(_lineData3[arcIdx - 2]) : parseInt(_lineData3[4]);
|
|
138458
|
+
pathMinX = -Math.abs(lastPtX - parseInt(_lineData3[1]));
|
|
138459
|
+
pathMaxX = -pathMinX;
|
|
138460
|
+
}
|
|
138415
138461
|
}
|
|
138416
138462
|
} else if (linesCount >= 4) {
|
|
138417
138463
|
if (firstEndpoints[2] === 1) {
|
|
138418
138464
|
// 右出
|
|
138419
|
-
var
|
|
138420
|
-
pathMaxX = Math.abs(parseInt(
|
|
138465
|
+
var _lineData4 = paths[0].split(' ');
|
|
138466
|
+
pathMaxX = Math.abs(parseInt(_lineData4[1]) - parseInt(_lineData4[4])) + 5;
|
|
138467
|
+
}
|
|
138468
|
+
if (firstEndpoints[2] === -1) {
|
|
138469
|
+
// 左出
|
|
138470
|
+
var _lineData5 = paths[0].split(' ');
|
|
138471
|
+
pathMinX = -(Math.abs(parseInt(_lineData5[1]) - parseInt(_lineData5[4])) + 5);
|
|
138421
138472
|
}
|
|
138422
138473
|
if (secondEndpoints[2] === 1) {
|
|
138423
138474
|
// 右入
|
|
138424
|
-
var
|
|
138425
|
-
|
|
138475
|
+
var _lineData6 = paths[paths.length - 1].split(' ');
|
|
138476
|
+
if (firstEndpoints[2] === 1) {
|
|
138477
|
+
// 右出右入(同侧):目标stub存入pathMinX,避免覆盖源的pathMaxX
|
|
138478
|
+
pathMinX = Math.abs(parseInt(_lineData6[1]) - parseInt(_lineData6[4])) + 5;
|
|
138479
|
+
} else {
|
|
138480
|
+
pathMaxX = Math.abs(parseInt(_lineData6[1]) - parseInt(_lineData6[4])) + 5;
|
|
138481
|
+
}
|
|
138482
|
+
}
|
|
138483
|
+
if (secondEndpoints[2] === -1) {
|
|
138484
|
+
// 左入
|
|
138485
|
+
var _lineData7 = paths[paths.length - 1].split(' ');
|
|
138486
|
+
if (firstEndpoints[2] === -1) {
|
|
138487
|
+
// 左出左入(同侧):目标stub存入pathMaxX,避免覆盖源的pathMinX
|
|
138488
|
+
pathMaxX = -(Math.abs(parseInt(_lineData7[1]) - parseInt(_lineData7[4])) + 5);
|
|
138489
|
+
} else {
|
|
138490
|
+
pathMinX = -(Math.abs(parseInt(_lineData7[1]) - parseInt(_lineData7[4])) + 5);
|
|
138491
|
+
}
|
|
138426
138492
|
}
|
|
138427
138493
|
|
|
138428
138494
|
// 从svg path中获取下射线maxY
|
|
138429
138495
|
if (firstEndpoints[3] === 1) {
|
|
138430
138496
|
// 下出
|
|
138431
|
-
var
|
|
138432
|
-
pathMaxY = Math.abs(parseInt(
|
|
138497
|
+
var _lineData8 = paths[0].split(' ');
|
|
138498
|
+
pathMaxY = Math.abs(parseInt(_lineData8[2]) - parseInt(_lineData8[5])) + 5;
|
|
138499
|
+
}
|
|
138500
|
+
if (firstEndpoints[3] === -1) {
|
|
138501
|
+
// 上出
|
|
138502
|
+
var _lineData9 = paths[0].split(' ');
|
|
138503
|
+
pathMinY = -(Math.abs(parseInt(_lineData9[2]) - parseInt(_lineData9[5])) + 5);
|
|
138433
138504
|
}
|
|
138434
138505
|
if (secondEndpoints[3] === 1) {
|
|
138435
138506
|
// 下入
|
|
138436
|
-
var
|
|
138437
|
-
|
|
138507
|
+
var _lineData10 = paths[paths.length - 1].split(' ');
|
|
138508
|
+
if (firstEndpoints[3] === 1) {
|
|
138509
|
+
// 下出下入(同侧):目标stub存入pathMinY,避免覆盖源的pathMaxY
|
|
138510
|
+
pathMinY = Math.abs(parseInt(_lineData10[2]) - parseInt(_lineData10[5])) + 5;
|
|
138511
|
+
} else {
|
|
138512
|
+
pathMaxY = Math.abs(parseInt(_lineData10[2]) - parseInt(_lineData10[5])) + 5;
|
|
138513
|
+
}
|
|
138514
|
+
}
|
|
138515
|
+
if (secondEndpoints[3] === -1) {
|
|
138516
|
+
// 上入
|
|
138517
|
+
var _lineData11 = paths[paths.length - 1].split(' ');
|
|
138518
|
+
if (firstEndpoints[3] === -1) {
|
|
138519
|
+
// 上出上入(同侧):目标stub存入pathMaxY,避免覆盖源的pathMinY
|
|
138520
|
+
pathMaxY = -(Math.abs(parseInt(_lineData11[2]) - parseInt(_lineData11[5])) + 5);
|
|
138521
|
+
} else {
|
|
138522
|
+
pathMinY = -(Math.abs(parseInt(_lineData11[2]) - parseInt(_lineData11[5])) + 5);
|
|
138523
|
+
}
|
|
138524
|
+
}
|
|
138525
|
+
}
|
|
138526
|
+
// 自环线已有thisConnect存储值时优先使用,避免SVG提取的+5偏移在session间累积
|
|
138527
|
+
var isSelfLoop = thisConnect && thisConnect.PageSourceId === thisConnect.PageTargetId;
|
|
138528
|
+
if (isSelfLoop) {
|
|
138529
|
+
// 同轴自环配对的path值相等,cross-axis则各自独立
|
|
138530
|
+
var crossAxis = firstEndpoints[2] !== 0 && secondEndpoints[3] !== 0 || firstEndpoints[3] !== 0 && secondEndpoints[2] !== 0;
|
|
138531
|
+
if (!crossAxis) {
|
|
138532
|
+
if (thisConnect.pathMinX || thisConnect.pathMaxX) {
|
|
138533
|
+
var storedX = thisConnect.pathMinX || thisConnect.pathMaxX;
|
|
138534
|
+
pathMinX = storedX;
|
|
138535
|
+
pathMaxX = storedX;
|
|
138536
|
+
}
|
|
138537
|
+
if (thisConnect.pathMinY || thisConnect.pathMaxY) {
|
|
138538
|
+
var storedY = thisConnect.pathMinY || thisConnect.pathMaxY;
|
|
138539
|
+
pathMinY = storedY;
|
|
138540
|
+
pathMaxY = storedY;
|
|
138541
|
+
}
|
|
138542
|
+
} else {
|
|
138543
|
+
if (thisConnect.pathMinX) pathMinX = thisConnect.pathMinX;
|
|
138544
|
+
if (thisConnect.pathMaxX) pathMaxX = thisConnect.pathMaxX;
|
|
138545
|
+
if (thisConnect.pathMinY) pathMinY = thisConnect.pathMinY;
|
|
138546
|
+
if (thisConnect.pathMaxY) pathMaxY = thisConnect.pathMaxY;
|
|
138438
138547
|
}
|
|
138439
138548
|
}
|
|
138440
138549
|
return {
|
|
@@ -138447,6 +138556,38 @@ function getPathXyData(connection, thisConnect) {
|
|
|
138447
138556
|
secondEndpoints: secondEndpoints
|
|
138448
138557
|
};
|
|
138449
138558
|
}
|
|
138559
|
+
|
|
138560
|
+
// ========== 三段线拖拽统一处理器 ==========
|
|
138561
|
+
// 处理同轴同向/同轴异向/自环三种子分支的stub和midpoint计算
|
|
138562
|
+
function handle3SegDrag(isNeg, absDist, minStub, isSameNode, isSameSide, totalDist, thisConnect, perpMin, perpMax) {
|
|
138563
|
+
var stub,
|
|
138564
|
+
dragMidpoint = 0.5,
|
|
138565
|
+
isOpposite = false,
|
|
138566
|
+
distance = isNeg ? -absDist : absDist;
|
|
138567
|
+
if (isSameNode) {
|
|
138568
|
+
var os = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
138569
|
+
if (!os) os = Math.max(Math.max(Math.abs(perpMin), Math.abs(perpMax)) - 5, minStub);
|
|
138570
|
+
stub = [absDist, Math.max(os, minStub)];
|
|
138571
|
+
} else if (!isSameSide) {
|
|
138572
|
+
// 同轴异向:alwaysRespectStubs=false + 小stub + 动态midpoint控制折线位置
|
|
138573
|
+
var actMin = 30;
|
|
138574
|
+
var td = totalDist || 21;
|
|
138575
|
+
absDist = Math.min(Math.max(absDist, actMin), td - actMin);
|
|
138576
|
+
distance = isNeg ? -absDist : absDist;
|
|
138577
|
+
isOpposite = true;
|
|
138578
|
+
stub = [10, 10];
|
|
138579
|
+
var effDist = td - 20;
|
|
138580
|
+
dragMidpoint = effDist > 0 ? (absDist - 10) / effDist : 0.5;
|
|
138581
|
+
} else {
|
|
138582
|
+
stub = [absDist, minStub];
|
|
138583
|
+
}
|
|
138584
|
+
return {
|
|
138585
|
+
stub: stub,
|
|
138586
|
+
dragMidpoint: dragMidpoint,
|
|
138587
|
+
isOpposite: isOpposite,
|
|
138588
|
+
distance: distance
|
|
138589
|
+
};
|
|
138590
|
+
}
|
|
138450
138591
|
function dragLine(_this, connection, thisConnect) {
|
|
138451
138592
|
var distance = 0;
|
|
138452
138593
|
|
|
@@ -138454,12 +138595,19 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138454
138595
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).bind('mousedown', function (ev) {
|
|
138455
138596
|
var paths = connection.connector.getPathData().split(',');
|
|
138456
138597
|
var lineCount = paths.length;
|
|
138457
|
-
|
|
138598
|
+
// 同轴异向检测(提前到lineCount检查之前,以便重定向lineCount=1的路径)
|
|
138599
|
+
var firstEndpoints = connection.endpoints[0].anchor.orientation;
|
|
138600
|
+
var secondEndpoints = connection.endpoints[1].anchor.orientation;
|
|
138601
|
+
var isSameNode = thisConnect.PageSourceId === thisConnect.PageTargetId;
|
|
138602
|
+
var isSameAxisDiffDir = !isSameNode && (firstEndpoints[0] !== 0 && secondEndpoints[0] !== 0 && firstEndpoints[0] !== secondEndpoints[0] || firstEndpoints[1] !== 0 && secondEndpoints[1] !== 0 && firstEndpoints[1] !== secondEndpoints[1]);
|
|
138603
|
+
if (lineCount < 2 && !isSameAxisDiffDir) {
|
|
138458
138604
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousedown');
|
|
138459
138605
|
return;
|
|
138460
138606
|
}
|
|
138461
138607
|
_this.dragLineObj.disX = ev.pageX;
|
|
138462
138608
|
_this.dragLineObj.disY = ev.pageY;
|
|
138609
|
+
_this.dragLineObj.initCW = undefined;
|
|
138610
|
+
_this.dragLineObj.initCH = undefined;
|
|
138463
138611
|
var xyData = getPathXyData(connection, thisConnect);
|
|
138464
138612
|
var initialMaxX = xyData.pathMaxX; // 获取路径的初始stub值
|
|
138465
138613
|
var initialMaxY = xyData.pathMaxY; // 获取路径的初始stub值
|
|
@@ -138469,8 +138617,10 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138469
138617
|
var canvasMarginLeft = 210; // 绘图区左边距
|
|
138470
138618
|
var canvasMarginTop = 112; // 绘图区右边距
|
|
138471
138619
|
|
|
138472
|
-
|
|
138473
|
-
|
|
138620
|
+
// 同轴异向3段线强制使用3段拖拽逻辑(不论逗号分隔后的段数)
|
|
138621
|
+
if (isSameAxisDiffDir) {
|
|
138622
|
+
lineCount = 3;
|
|
138623
|
+
}
|
|
138474
138624
|
|
|
138475
138625
|
// 检测是否可拖拉,仅位于路径canvas四边的路径可拖拉,射出、射入路径不可拖拉
|
|
138476
138626
|
if (firstEndpoints[0] !== 0) {
|
|
@@ -138531,64 +138681,148 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138531
138681
|
var x = ev.pageX;
|
|
138532
138682
|
var y = ev.pageY;
|
|
138533
138683
|
var stub = [0, 0];
|
|
138534
|
-
|
|
138684
|
+
var _dragMidpoint = 0.5;
|
|
138685
|
+
var handledIn4, hSameSide, vSameSide; // 显式声明,避免var提升的隐式行为
|
|
138686
|
+
|
|
138687
|
+
// 跨轴自环线独立拖拽处理器(完全绕过lineCount逻辑)
|
|
138688
|
+
var isCrossAxisSL = isSameNode && (firstEndpoints[0] !== 0 && secondEndpoints[1] !== 0 || firstEndpoints[1] !== 0 && secondEndpoints[0] !== 0);
|
|
138689
|
+
if (isCrossAxisSL) {
|
|
138690
|
+
var incDx = x - (_this.dragLineObj.prevX || _this.dragLineObj.disX);
|
|
138691
|
+
var incDy = y - (_this.dragLineObj.prevY || _this.dragLineObj.disY);
|
|
138692
|
+
_this.dragLineObj.prevX = x;
|
|
138693
|
+
_this.dragLineObj.prevY = y;
|
|
138694
|
+
var hDirSL = firstEndpoints[0] || secondEndpoints[0];
|
|
138695
|
+
var vDirSL = firstEndpoints[1] || secondEndpoints[1];
|
|
138696
|
+
var minSL = 30;
|
|
138697
|
+
var curHSL = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
|
|
138698
|
+
var curVSL = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
138699
|
+
if (!curHSL) {
|
|
138700
|
+
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;
|
|
138701
|
+
}
|
|
138702
|
+
if (!curVSL) {
|
|
138703
|
+
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;
|
|
138704
|
+
}
|
|
138705
|
+
var newHSL = curHSL,
|
|
138706
|
+
newVSL = curVSL;
|
|
138707
|
+
var hOutSL = hDirSL === 1 ? incDx > 0 : incDx < 0;
|
|
138708
|
+
var vOutSL = vDirSL === 1 ? incDy > 0 : incDy < 0;
|
|
138709
|
+
if (Math.abs(incDx) >= Math.abs(incDy)) {
|
|
138710
|
+
if (hOutSL) newHSL = curHSL + Math.abs(incDx);else newHSL = Math.max(curHSL - Math.abs(incDx), minSL);
|
|
138711
|
+
} else {
|
|
138712
|
+
if (vOutSL) newVSL = curVSL + Math.abs(incDy);else newVSL = Math.max(curVSL - Math.abs(incDy), minSL);
|
|
138713
|
+
}
|
|
138714
|
+
var srcVSL = firstEndpoints[0] === 0;
|
|
138715
|
+
stub = srcVSL ? [Math.max(newVSL, minSL), Math.max(newHSL, minSL)] : [Math.max(newHSL, minSL), Math.max(newVSL, minSL)];
|
|
138716
|
+
if (hDirSL === -1) {
|
|
138717
|
+
thisConnect.pathMinX = -Math.max(newHSL, minSL);
|
|
138718
|
+
thisConnect.pathMaxX = -Math.max(newHSL, minSL);
|
|
138719
|
+
} else if (hDirSL === 1) {
|
|
138720
|
+
thisConnect.pathMinX = Math.max(newHSL, minSL);
|
|
138721
|
+
thisConnect.pathMaxX = Math.max(newHSL, minSL);
|
|
138722
|
+
}
|
|
138723
|
+
if (vDirSL === -1) {
|
|
138724
|
+
thisConnect.pathMinY = -Math.max(newVSL, minSL);
|
|
138725
|
+
thisConnect.pathMaxY = -Math.max(newVSL, minSL);
|
|
138726
|
+
} else if (vDirSL === 1) {
|
|
138727
|
+
thisConnect.pathMinY = Math.max(newVSL, minSL);
|
|
138728
|
+
thisConnect.pathMaxY = Math.max(newVSL, minSL);
|
|
138729
|
+
}
|
|
138730
|
+
} else if (lineCount <= 3) {
|
|
138731
|
+
var isSameSide = firstEndpoints[0] !== 0 && firstEndpoints[0] === secondEndpoints[0] || firstEndpoints[1] !== 0 && firstEndpoints[1] === secondEndpoints[1];
|
|
138732
|
+
var minStub = isSameSide || isSameNode ? 50 : 10;
|
|
138733
|
+
// 同轴异向时,从节点CSS位置计算真实锚点间距(避免存储的等值stub导致totalDist锁死)
|
|
138734
|
+
if (isSameAxisDiffDir) {
|
|
138735
|
+
var srcEl = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + thisConnect.PageSourceId);
|
|
138736
|
+
var tgtEl = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + thisConnect.PageTargetId);
|
|
138737
|
+
if (firstEndpoints[0] !== 0) {
|
|
138738
|
+
// 水平方向:totalDist = 目标锚点X - 源锚点X
|
|
138739
|
+
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)));
|
|
138740
|
+
}
|
|
138741
|
+
if (firstEndpoints[1] !== 0) {
|
|
138742
|
+
// 垂直方向:totalDist = 目标锚点Y - 源锚点Y
|
|
138743
|
+
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)));
|
|
138744
|
+
}
|
|
138745
|
+
}
|
|
138535
138746
|
if (firstEndpoints[0] === -1) {
|
|
138536
|
-
//
|
|
138747
|
+
// 水平射线,左出
|
|
138537
138748
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138538
|
-
if (distance > -
|
|
138539
|
-
distance = -10;
|
|
138540
|
-
}
|
|
138749
|
+
if (distance > -minStub) distance = -minStub;
|
|
138541
138750
|
thisConnect.pathMinX = distance;
|
|
138542
|
-
|
|
138751
|
+
var r = handle3SegDrag(true, -distance, minStub, isSameNode, isSameSide, totalDistH, thisConnect, initialMinY, initialMaxY);
|
|
138752
|
+
stub = r.stub;
|
|
138753
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138754
|
+
if (r.isOpposite) {
|
|
138755
|
+
distance = r.distance;
|
|
138756
|
+
thisConnect.pathMinX = distance;
|
|
138757
|
+
thisConnect.pathMaxX = -distance;
|
|
138758
|
+
}
|
|
138543
138759
|
} else if (firstEndpoints[0] === 1) {
|
|
138544
|
-
//
|
|
138760
|
+
// 水平射线,右出
|
|
138545
138761
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138546
|
-
if (distance <
|
|
138547
|
-
distance = 10;
|
|
138548
|
-
}
|
|
138762
|
+
if (distance < minStub) distance = minStub;
|
|
138549
138763
|
thisConnect.pathMaxX = distance;
|
|
138550
|
-
|
|
138764
|
+
var r = handle3SegDrag(false, distance, minStub, isSameNode, isSameSide, totalDistH, thisConnect, initialMinY, initialMaxY);
|
|
138765
|
+
stub = r.stub;
|
|
138766
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138767
|
+
if (r.isOpposite) {
|
|
138768
|
+
distance = r.distance;
|
|
138769
|
+
thisConnect.pathMaxX = distance;
|
|
138770
|
+
thisConnect.pathMinX = -distance;
|
|
138771
|
+
}
|
|
138551
138772
|
} else if (firstEndpoints[1] === -1) {
|
|
138552
|
-
//
|
|
138773
|
+
// 垂直射线,上出
|
|
138553
138774
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
|
|
138554
|
-
if (distance > -
|
|
138555
|
-
distance = -10;
|
|
138556
|
-
}
|
|
138775
|
+
if (distance > -minStub) distance = -minStub;
|
|
138557
138776
|
thisConnect.pathMinY = distance;
|
|
138558
|
-
|
|
138777
|
+
var r = handle3SegDrag(true, -distance, minStub, isSameNode, isSameSide, totalDistV, thisConnect, initialMinX, initialMaxX);
|
|
138778
|
+
stub = r.stub;
|
|
138779
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138780
|
+
if (r.isOpposite) {
|
|
138781
|
+
distance = r.distance;
|
|
138782
|
+
thisConnect.pathMinY = distance;
|
|
138783
|
+
thisConnect.pathMaxY = -distance;
|
|
138784
|
+
}
|
|
138559
138785
|
} else if (firstEndpoints[1] === 1) {
|
|
138560
|
-
//
|
|
138786
|
+
// 垂直射线,下出
|
|
138561
138787
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138562
|
-
if (distance <
|
|
138563
|
-
distance = 10;
|
|
138564
|
-
}
|
|
138788
|
+
if (distance < minStub) distance = minStub;
|
|
138565
138789
|
thisConnect.pathMaxY = distance;
|
|
138566
|
-
|
|
138790
|
+
var r = handle3SegDrag(false, distance, minStub, isSameNode, isSameSide, totalDistV, thisConnect, initialMinX, initialMaxX);
|
|
138791
|
+
stub = r.stub;
|
|
138792
|
+
_dragMidpoint = r.dragMidpoint;
|
|
138793
|
+
if (r.isOpposite) {
|
|
138794
|
+
distance = r.distance;
|
|
138795
|
+
thisConnect.pathMaxY = distance;
|
|
138796
|
+
thisConnect.pathMinY = -distance;
|
|
138797
|
+
}
|
|
138567
138798
|
}
|
|
138568
138799
|
} else if (lineCount === 4) {
|
|
138800
|
+
var minStub4 = isSameNode ? 30 : 10;
|
|
138801
|
+
var handledIn4 = false;
|
|
138569
138802
|
if (firstEndpoints[0] === -1) {
|
|
138570
138803
|
// 左出
|
|
138571
138804
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
|
|
138572
138805
|
// 顶部射入,靠近终点上下拖拉
|
|
138573
138806
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY - scrollTop));
|
|
138574
|
-
if (distance > -
|
|
138575
|
-
distance = -
|
|
138807
|
+
if (distance > -minStub4) {
|
|
138808
|
+
distance = -minStub4;
|
|
138576
138809
|
}
|
|
138577
138810
|
thisConnect.pathMinY = distance;
|
|
138811
|
+
handledIn4 = true;
|
|
138578
138812
|
stub = [Math.abs(initialMinX), -distance];
|
|
138579
138813
|
} else if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138580
138814
|
// 底部射入,靠近终点上下拖拉
|
|
138581
138815
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY - scrollTop);
|
|
138582
|
-
if (distance <
|
|
138583
|
-
distance =
|
|
138816
|
+
if (distance < minStub4) {
|
|
138817
|
+
distance = minStub4;
|
|
138584
138818
|
}
|
|
138585
138819
|
thisConnect.pathMaxY = distance;
|
|
138586
138820
|
stub = [Math.abs(initialMinX), distance];
|
|
138587
138821
|
} else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138588
138822
|
// 顶部射入或底部射入,靠近起点左侧左右拖拉
|
|
138589
138823
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138590
|
-
if (distance > -
|
|
138591
|
-
distance = -
|
|
138824
|
+
if (distance > -minStub4) {
|
|
138825
|
+
distance = -minStub4;
|
|
138592
138826
|
}
|
|
138593
138827
|
thisConnect.pathMinX = distance;
|
|
138594
138828
|
stub = [-distance, Math.abs(secondEndpoints[1] === -1 ? initialMinY : initialMaxY)];
|
|
@@ -138598,26 +138832,29 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138598
138832
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
|
|
138599
138833
|
// 顶部射入,靠近终点上下拖拉
|
|
138600
138834
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY - scrollTop));
|
|
138601
|
-
if (distance > -
|
|
138602
|
-
distance = -
|
|
138835
|
+
if (distance > -minStub4) {
|
|
138836
|
+
distance = -minStub4;
|
|
138603
138837
|
}
|
|
138604
138838
|
thisConnect.pathMinY = distance;
|
|
138839
|
+
handledIn4 = true;
|
|
138605
138840
|
stub = [Math.abs(initialMaxX), -distance];
|
|
138606
138841
|
} else if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138607
138842
|
// 底部射入,靠近终点上下拖拉
|
|
138608
138843
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY - scrollTop);
|
|
138609
|
-
if (distance <
|
|
138610
|
-
distance =
|
|
138844
|
+
if (distance < minStub4) {
|
|
138845
|
+
distance = minStub4;
|
|
138611
138846
|
}
|
|
138612
138847
|
thisConnect.pathMaxY = distance;
|
|
138848
|
+
handledIn4 = true;
|
|
138613
138849
|
stub = [Math.abs(initialMaxX), distance];
|
|
138614
138850
|
} else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
|
|
138615
138851
|
// 顶部射入或底部射入,靠近起点右侧左右拖拉
|
|
138616
138852
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138617
|
-
if (distance <
|
|
138618
|
-
distance =
|
|
138853
|
+
if (distance < minStub4) {
|
|
138854
|
+
distance = minStub4;
|
|
138619
138855
|
}
|
|
138620
138856
|
thisConnect.pathMaxX = distance;
|
|
138857
|
+
handledIn4 = true;
|
|
138621
138858
|
stub = [distance, Math.abs(secondEndpoints[1] === -1 ? initialMinY : initialMaxY)];
|
|
138622
138859
|
}
|
|
138623
138860
|
} else if (firstEndpoints[1] === 1) {
|
|
@@ -138625,26 +138862,29 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138625
138862
|
if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138626
138863
|
// 左侧射入或右侧射入,靠起点底部上下拖拉
|
|
138627
138864
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138628
|
-
if (distance <
|
|
138629
|
-
distance =
|
|
138865
|
+
if (distance < minStub4) {
|
|
138866
|
+
distance = minStub4;
|
|
138630
138867
|
}
|
|
138631
138868
|
thisConnect.pathMaxY = distance;
|
|
138869
|
+
handledIn4 = true;
|
|
138632
138870
|
stub = [distance, Math.abs(secondEndpoints[0] === -1 ? initialMinX : initialMaxX)];
|
|
138633
138871
|
} else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138634
138872
|
// 左侧射入,靠近终点左侧拖左右拉
|
|
138635
138873
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138636
|
-
if (distance > -
|
|
138637
|
-
distance = -
|
|
138874
|
+
if (distance > -minStub4) {
|
|
138875
|
+
distance = -minStub4;
|
|
138638
138876
|
}
|
|
138639
138877
|
thisConnect.pathMinX = distance;
|
|
138878
|
+
handledIn4 = true;
|
|
138640
138879
|
stub = [Math.abs(initialMaxY), -distance];
|
|
138641
138880
|
} else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
|
|
138642
138881
|
// 右侧射入,靠近终点右侧拖左右拉
|
|
138643
138882
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138644
|
-
if (distance <
|
|
138645
|
-
distance =
|
|
138883
|
+
if (distance < minStub4) {
|
|
138884
|
+
distance = minStub4;
|
|
138646
138885
|
}
|
|
138647
138886
|
thisConnect.pathMaxX = distance;
|
|
138887
|
+
handledIn4 = true;
|
|
138648
138888
|
stub = [Math.abs(initialMaxY), distance];
|
|
138649
138889
|
}
|
|
138650
138890
|
} else if (firstEndpoints[1] === -1) {
|
|
@@ -138652,51 +138892,99 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138652
138892
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
|
|
138653
138893
|
// 左侧射入或右侧射入,靠起点顶部上下拖拉
|
|
138654
138894
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
|
|
138655
|
-
if (distance > -
|
|
138656
|
-
distance = -
|
|
138895
|
+
if (distance > -minStub4) {
|
|
138896
|
+
distance = -minStub4;
|
|
138657
138897
|
}
|
|
138658
138898
|
thisConnect.pathMinY = distance;
|
|
138659
138899
|
stub = [-distance, Math.abs(secondEndpoints[0] === -1 ? initialMinX : initialMaxX)];
|
|
138660
138900
|
} else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138661
138901
|
// 左侧射入,靠近终点左侧拖左右拉
|
|
138662
138902
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138663
|
-
if (distance > -
|
|
138664
|
-
distance = -
|
|
138903
|
+
if (distance > -minStub4) {
|
|
138904
|
+
distance = -minStub4;
|
|
138665
138905
|
}
|
|
138666
138906
|
thisConnect.pathMinX = distance;
|
|
138907
|
+
handledIn4 = true;
|
|
138667
138908
|
stub = [Math.abs(initialMinY), -distance];
|
|
138668
138909
|
} else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
|
|
138669
138910
|
// 右侧射入,靠近终点右侧拖左右拉
|
|
138670
138911
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138671
|
-
if (distance <
|
|
138672
|
-
distance =
|
|
138912
|
+
if (distance < minStub4) {
|
|
138913
|
+
distance = minStub4;
|
|
138673
138914
|
}
|
|
138674
138915
|
thisConnect.pathMaxX = distance;
|
|
138916
|
+
handledIn4 = true;
|
|
138675
138917
|
stub = [Math.abs(initialMinY), distance];
|
|
138676
138918
|
}
|
|
138677
138919
|
}
|
|
138920
|
+
// 跨轴自环线边检测不匹配时,直接用鼠标delta计算两轴stub
|
|
138921
|
+
// 注:firstEndpoints为2元素orientation数组[dx,dy],仅索引[0]/[1]有效
|
|
138922
|
+
if (isSameNode && !handledIn4) {
|
|
138923
|
+
var dx2 = x - _this.dragLineObj.disX;
|
|
138924
|
+
var dy2 = y - _this.dragLineObj.disY;
|
|
138925
|
+
var curH = firstEndpoints[0] !== 0 ? Math.max(Math.abs(firstEndpoints[0] === -1 ? initialMinX : initialMaxX) - 5, minStub4) : minStub4;
|
|
138926
|
+
var curV = firstEndpoints[1] !== 0 ? Math.max(Math.abs(firstEndpoints[1] === -1 ? initialMinY : initialMaxY) - 5, minStub4) : minStub4;
|
|
138927
|
+
var newH = curH,
|
|
138928
|
+
newV = curV;
|
|
138929
|
+
if (Math.abs(dx2) >= Math.abs(dy2)) {
|
|
138930
|
+
newH = dx2 < 0 ? curH + Math.abs(dx2) : Math.max(curH - dx2, minStub4);
|
|
138931
|
+
} else {
|
|
138932
|
+
newV = dy2 < 0 ? curV + Math.abs(dy2) : Math.max(curV - dy2, minStub4);
|
|
138933
|
+
}
|
|
138934
|
+
var srcV = firstEndpoints[0] === 0;
|
|
138935
|
+
stub = srcV ? [Math.max(newV, minStub4), Math.max(newH, minStub4)] : [Math.max(newH, minStub4), Math.max(newV, minStub4)];
|
|
138936
|
+
// path存储使用有效索引[0]/[1]判断锚点方向
|
|
138937
|
+
if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
|
|
138938
|
+
thisConnect.pathMinX = -Math.max(newH, minStub4);
|
|
138939
|
+
thisConnect.pathMaxX = -Math.max(newH, minStub4);
|
|
138940
|
+
} else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
|
|
138941
|
+
thisConnect.pathMinX = Math.max(newH, minStub4);
|
|
138942
|
+
thisConnect.pathMaxX = Math.max(newH, minStub4);
|
|
138943
|
+
}
|
|
138944
|
+
if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
|
|
138945
|
+
thisConnect.pathMinY = -Math.max(newV, minStub4);
|
|
138946
|
+
thisConnect.pathMaxY = -Math.max(newV, minStub4);
|
|
138947
|
+
} else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
|
|
138948
|
+
thisConnect.pathMinY = Math.max(newV, minStub4);
|
|
138949
|
+
thisConnect.pathMaxY = Math.max(newV, minStub4);
|
|
138950
|
+
}
|
|
138951
|
+
}
|
|
138678
138952
|
} else if (lineCount === 5) {
|
|
138953
|
+
var minStub5 = isSameNode ? 30 : 10;
|
|
138679
138954
|
if (firstEndpoints[0] !== 0) {
|
|
138680
138955
|
// 水平射线,左右拖拉
|
|
138956
|
+
var hSameSide = firstEndpoints[0] === secondEndpoints[0];
|
|
138681
138957
|
if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
138682
138958
|
// 左侧边拖拉
|
|
138683
138959
|
// console.log('left drap..')
|
|
138684
138960
|
if (firstEndpoints[0] === -1) {
|
|
138685
138961
|
// 水平射线,左出右入,靠近起点左侧拖拉
|
|
138686
138962
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138687
|
-
if (distance > -
|
|
138688
|
-
distance = -
|
|
138963
|
+
if (distance > -minStub5) {
|
|
138964
|
+
distance = -minStub5;
|
|
138689
138965
|
}
|
|
138690
138966
|
thisConnect.pathMinX = distance;
|
|
138691
|
-
|
|
138967
|
+
if (!hSameSide) {
|
|
138968
|
+
thisConnect.pathMaxX = -distance;
|
|
138969
|
+
stub = [-distance, -distance];
|
|
138970
|
+
} else {
|
|
138971
|
+
handledIn4 = true;
|
|
138972
|
+
stub = [-distance, Math.abs(initialMaxX)];
|
|
138973
|
+
}
|
|
138692
138974
|
} else if (firstEndpoints[0] === 1) {
|
|
138693
138975
|
// 水平射线,右出左入,靠近终点左侧拖拉
|
|
138694
138976
|
distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
|
|
138695
|
-
if (distance > -
|
|
138696
|
-
distance = -
|
|
138977
|
+
if (distance > -minStub5) {
|
|
138978
|
+
distance = -minStub5;
|
|
138697
138979
|
}
|
|
138698
138980
|
thisConnect.pathMinX = distance;
|
|
138699
|
-
|
|
138981
|
+
if (!hSameSide) {
|
|
138982
|
+
thisConnect.pathMaxX = -distance;
|
|
138983
|
+
stub = [-distance, -distance];
|
|
138984
|
+
} else {
|
|
138985
|
+
handledIn4 = true;
|
|
138986
|
+
stub = [Math.abs(initialMaxX), -distance];
|
|
138987
|
+
}
|
|
138700
138988
|
}
|
|
138701
138989
|
} else {
|
|
138702
138990
|
// 右侧边拖拉
|
|
@@ -138704,42 +138992,65 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138704
138992
|
if (firstEndpoints[0] === -1) {
|
|
138705
138993
|
// 水平射线,左出右入,靠近终点右侧拖拉
|
|
138706
138994
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138707
|
-
if (distance <
|
|
138708
|
-
distance =
|
|
138995
|
+
if (distance < minStub5) {
|
|
138996
|
+
distance = minStub5;
|
|
138709
138997
|
}
|
|
138710
138998
|
thisConnect.pathMaxX = distance;
|
|
138711
|
-
|
|
138999
|
+
if (!hSameSide) {
|
|
139000
|
+
thisConnect.pathMinX = -distance;
|
|
139001
|
+
stub = [distance, distance];
|
|
139002
|
+
} else {
|
|
139003
|
+
stub = [Math.abs(initialMinX), distance];
|
|
139004
|
+
}
|
|
138712
139005
|
} else if (firstEndpoints[0] === 1) {
|
|
138713
139006
|
// 水平射线,右出左入,靠近起点右侧拖拉
|
|
138714
139007
|
distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
|
|
138715
|
-
if (distance <
|
|
138716
|
-
distance =
|
|
139008
|
+
if (distance < minStub5) {
|
|
139009
|
+
distance = minStub5;
|
|
138717
139010
|
}
|
|
138718
139011
|
thisConnect.pathMaxX = distance;
|
|
138719
|
-
|
|
139012
|
+
if (!hSameSide) {
|
|
139013
|
+
thisConnect.pathMinX = -distance;
|
|
139014
|
+
stub = [distance, distance];
|
|
139015
|
+
} else {
|
|
139016
|
+
stub = [distance, Math.abs(initialMinX)];
|
|
139017
|
+
}
|
|
138720
139018
|
}
|
|
138721
139019
|
}
|
|
138722
139020
|
} else {
|
|
138723
139021
|
// 垂直射线,上下拖拉
|
|
139022
|
+
var vSameSide = firstEndpoints[1] === secondEndpoints[1];
|
|
138724
139023
|
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
138725
139024
|
// 顶部侧边拖拉
|
|
138726
139025
|
// console.log('top drap..')
|
|
138727
139026
|
if (firstEndpoints[1] === -1) {
|
|
138728
139027
|
// 垂直射线,上出下入,靠近起点上下拖拉
|
|
138729
139028
|
distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
|
|
138730
|
-
if (distance > -
|
|
138731
|
-
distance = -
|
|
139029
|
+
if (distance > -minStub5) {
|
|
139030
|
+
distance = -minStub5;
|
|
138732
139031
|
}
|
|
138733
139032
|
thisConnect.pathMinY = distance;
|
|
138734
|
-
|
|
139033
|
+
if (!vSameSide) {
|
|
139034
|
+
thisConnect.pathMaxY = -distance;
|
|
139035
|
+
stub = [-distance, -distance];
|
|
139036
|
+
} else {
|
|
139037
|
+
handledIn4 = true;
|
|
139038
|
+
stub = [-distance, Math.abs(initialMaxY)];
|
|
139039
|
+
}
|
|
138735
139040
|
} else if (firstEndpoints[1] === 1) {
|
|
138736
139041
|
// 垂直射线,下出上入,靠近终点上下拖拉
|
|
138737
139042
|
distance = -(Math.abs(initialMaxY) - (y - _this.dragLineObj.disY));
|
|
138738
|
-
if (distance > -
|
|
138739
|
-
distance = -
|
|
139043
|
+
if (distance > -minStub5) {
|
|
139044
|
+
distance = -minStub5;
|
|
138740
139045
|
}
|
|
138741
139046
|
thisConnect.pathMinY = distance;
|
|
138742
|
-
|
|
139047
|
+
if (!vSameSide) {
|
|
139048
|
+
thisConnect.pathMaxY = -distance;
|
|
139049
|
+
stub = [-distance, -distance];
|
|
139050
|
+
} else {
|
|
139051
|
+
handledIn4 = true;
|
|
139052
|
+
stub = [Math.abs(initialMaxY), -distance];
|
|
139053
|
+
}
|
|
138743
139054
|
}
|
|
138744
139055
|
} else {
|
|
138745
139056
|
// 底部侧边拖拉
|
|
@@ -138747,40 +139058,242 @@ function dragLine(_this, connection, thisConnect) {
|
|
|
138747
139058
|
if (firstEndpoints[1] === -1) {
|
|
138748
139059
|
// 垂直射线,上出下入,靠近终点上下拖拉
|
|
138749
139060
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138750
|
-
if (distance <
|
|
138751
|
-
distance =
|
|
139061
|
+
if (distance < minStub5) {
|
|
139062
|
+
distance = minStub5;
|
|
138752
139063
|
}
|
|
138753
139064
|
thisConnect.pathMaxY = distance;
|
|
138754
|
-
|
|
139065
|
+
if (!vSameSide) {
|
|
139066
|
+
thisConnect.pathMinY = -distance;
|
|
139067
|
+
stub = [distance, distance];
|
|
139068
|
+
} else {
|
|
139069
|
+
handledIn4 = true;
|
|
139070
|
+
stub = [Math.abs(initialMinY), distance];
|
|
139071
|
+
}
|
|
138755
139072
|
} else if (firstEndpoints[1] === 1) {
|
|
138756
139073
|
// 垂直射线,下出下入,靠起点上下拖拉
|
|
138757
139074
|
distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
|
|
138758
|
-
if (distance <
|
|
138759
|
-
distance =
|
|
139075
|
+
if (distance < minStub5) {
|
|
139076
|
+
distance = minStub5;
|
|
138760
139077
|
}
|
|
138761
139078
|
thisConnect.pathMaxY = distance;
|
|
138762
|
-
|
|
139079
|
+
if (!vSameSide) {
|
|
139080
|
+
thisConnect.pathMinY = -distance;
|
|
139081
|
+
stub = [distance, distance];
|
|
139082
|
+
} else {
|
|
139083
|
+
stub = [distance, Math.abs(initialMaxY)];
|
|
139084
|
+
}
|
|
139085
|
+
}
|
|
139086
|
+
}
|
|
139087
|
+
}
|
|
139088
|
+
} else {
|
|
139089
|
+
// lineCount >= 6(跨轴自环线等4段线以上),按轴独立拖拽,水平/垂直互不影响
|
|
139090
|
+
// 注:firstEndpoints为2元素orientation数组[dx,dy],仅索引[0]/[1]有效
|
|
139091
|
+
if (isSameNode) {
|
|
139092
|
+
var minStub6 = 30;
|
|
139093
|
+
var dx1 = x - _this.dragLineObj.disX;
|
|
139094
|
+
var dy1 = y - _this.dragLineObj.disY;
|
|
139095
|
+
// 从thisConnect取已存储的stub(无+5偏移);首次拖拽则按锚点方向选正确initial值扣除gap偏移
|
|
139096
|
+
var curHs = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
|
|
139097
|
+
var curVs = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
139098
|
+
if (!curHs) {
|
|
139099
|
+
curHs = firstEndpoints[0] !== 0 ? Math.max(Math.abs(firstEndpoints[0] === -1 ? initialMinX : initialMaxX) - 5, minStub6) : minStub6;
|
|
139100
|
+
}
|
|
139101
|
+
if (!curVs) {
|
|
139102
|
+
curVs = firstEndpoints[1] !== 0 ? Math.max(Math.abs(firstEndpoints[1] === -1 ? initialMinY : initialMaxY) - 5, minStub6) : minStub6;
|
|
139103
|
+
}
|
|
139104
|
+
if (Math.abs(dx1) >= Math.abs(dy1)) {
|
|
139105
|
+
// 水平拖拽:只更新水平stub,垂直保持curVs不变
|
|
139106
|
+
var s = curHs;
|
|
139107
|
+
if (dx1 < 0) {
|
|
139108
|
+
s = curHs + Math.abs(dx1);
|
|
139109
|
+
} else {
|
|
139110
|
+
s = Math.max(curHs - dx1, minStub6);
|
|
139111
|
+
}
|
|
139112
|
+
if (firstEndpoints[0] === -1) {
|
|
139113
|
+
thisConnect.pathMinX = -s;
|
|
139114
|
+
thisConnect.pathMaxX = -s;
|
|
139115
|
+
} else if (firstEndpoints[0] === 1) {
|
|
139116
|
+
thisConnect.pathMinX = s;
|
|
139117
|
+
thisConnect.pathMaxX = s;
|
|
139118
|
+
}
|
|
139119
|
+
// 首次拖拽时初始化垂直方向存储
|
|
139120
|
+
if (!thisConnect.pathMinY && !thisConnect.pathMaxY) {
|
|
139121
|
+
var vdir = secondEndpoints[1] || firstEndpoints[1];
|
|
139122
|
+
if (vdir === -1) {
|
|
139123
|
+
thisConnect.pathMinY = -curVs;
|
|
139124
|
+
thisConnect.pathMaxY = -curVs;
|
|
139125
|
+
} else {
|
|
139126
|
+
thisConnect.pathMinY = curVs;
|
|
139127
|
+
thisConnect.pathMaxY = curVs;
|
|
139128
|
+
}
|
|
139129
|
+
}
|
|
139130
|
+
stub = [Math.max(s, minStub6), Math.max(curVs, minStub6)];
|
|
139131
|
+
} else {
|
|
139132
|
+
// 垂直拖拽:只更新垂直stub,水平保持curHs不变
|
|
139133
|
+
var s = curVs;
|
|
139134
|
+
if (dy1 < 0) {
|
|
139135
|
+
s = curVs + Math.abs(dy1);
|
|
139136
|
+
} else {
|
|
139137
|
+
s = Math.max(curVs - dy1, minStub6);
|
|
139138
|
+
}
|
|
139139
|
+
if (firstEndpoints[1] === -1) {
|
|
139140
|
+
thisConnect.pathMinY = -s;
|
|
139141
|
+
thisConnect.pathMaxY = -s;
|
|
139142
|
+
} else if (firstEndpoints[1] === 1) {
|
|
139143
|
+
thisConnect.pathMinY = s;
|
|
139144
|
+
thisConnect.pathMaxY = s;
|
|
139145
|
+
}
|
|
139146
|
+
// 首次拖拽时初始化水平方向存储
|
|
139147
|
+
if (!thisConnect.pathMinX && !thisConnect.pathMaxX) {
|
|
139148
|
+
var hdir = secondEndpoints[0] || firstEndpoints[0];
|
|
139149
|
+
if (hdir === -1) {
|
|
139150
|
+
thisConnect.pathMinX = -curHs;
|
|
139151
|
+
thisConnect.pathMaxX = -curHs;
|
|
139152
|
+
} else {
|
|
139153
|
+
thisConnect.pathMinX = curHs;
|
|
139154
|
+
thisConnect.pathMaxX = curHs;
|
|
139155
|
+
}
|
|
139156
|
+
}
|
|
139157
|
+
stub = [Math.max(curHs, minStub6), Math.max(s, minStub6)];
|
|
139158
|
+
}
|
|
139159
|
+
}
|
|
139160
|
+
}
|
|
139161
|
+
// 跨轴自环线(lineCount === 4 或 >= 6):用thisConnect存储值修正非拖拽轴stub
|
|
139162
|
+
// 避免lineCount === 4块中Math.abs(initialMaxX)取到画布边界而非真实stub
|
|
139163
|
+
// 注:firstEndpoints为2元素orientation数组,仅索引[0]/[1]有效
|
|
139164
|
+
if (isSameNode && !(hSameSide || vSameSide)) {
|
|
139165
|
+
var hasHAnchor = firstEndpoints[0] !== 0 || secondEndpoints[0] !== 0;
|
|
139166
|
+
var hasVAnchor = firstEndpoints[1] !== 0 || secondEndpoints[1] !== 0;
|
|
139167
|
+
if (hasHAnchor && hasVAnchor) {
|
|
139168
|
+
// Determine which axis was dragged by checking which path value was updated
|
|
139169
|
+
var srcDragged = thisConnect.pathMinX !== undefined && thisConnect.pathMinX !== 0 || thisConnect.pathMaxX !== undefined && thisConnect.pathMaxX !== 0;
|
|
139170
|
+
var srcWasV = firstEndpoints[0] === 0;
|
|
139171
|
+
if (srcDragged) {
|
|
139172
|
+
// Horizontal was dragged → fix vertical stub
|
|
139173
|
+
var vs = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
|
|
139174
|
+
if (!vs) {
|
|
139175
|
+
if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
|
|
139176
|
+
vs = Math.max(Math.abs(initialMinY) - 5, minStub4 || minStub5 || 30);
|
|
139177
|
+
} else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
|
|
139178
|
+
vs = Math.max(Math.abs(initialMaxY) - 5, minStub4 || minStub5 || 30);
|
|
139179
|
+
} else {
|
|
139180
|
+
vs = minStub4 || minStub5 || 30;
|
|
139181
|
+
}
|
|
139182
|
+
}
|
|
139183
|
+
stub[srcWasV ? 0 : 1] = Math.max(vs, minStub4 || minStub5 || 30);
|
|
139184
|
+
// 存储修正后的值到thisConnect,防止下个session re-extract画布值
|
|
139185
|
+
var fixedVs = Math.max(vs, minStub4 || minStub5 || 30);
|
|
139186
|
+
if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
|
|
139187
|
+
thisConnect.pathMinY = -fixedVs;
|
|
139188
|
+
thisConnect.pathMaxY = -fixedVs;
|
|
139189
|
+
} else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
|
|
139190
|
+
thisConnect.pathMinY = fixedVs;
|
|
139191
|
+
thisConnect.pathMaxY = fixedVs;
|
|
139192
|
+
}
|
|
139193
|
+
} else {
|
|
139194
|
+
// Vertical was dragged → fix horizontal stub
|
|
139195
|
+
var hs = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
|
|
139196
|
+
if (!hs) {
|
|
139197
|
+
if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
|
|
139198
|
+
hs = Math.max(Math.abs(initialMinX) - 5, minStub4 || minStub5 || 30);
|
|
139199
|
+
} else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
|
|
139200
|
+
hs = Math.max(Math.abs(initialMaxX) - 5, minStub4 || minStub5 || 30);
|
|
139201
|
+
} else {
|
|
139202
|
+
hs = minStub4 || minStub5 || 30;
|
|
139203
|
+
}
|
|
139204
|
+
}
|
|
139205
|
+
stub[srcWasV ? 1 : 0] = Math.max(hs, minStub4 || minStub5 || 30);
|
|
139206
|
+
// 存储修正后的值到thisConnect
|
|
139207
|
+
var fixedHs = Math.max(hs, minStub4 || minStub5 || 30);
|
|
139208
|
+
if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
|
|
139209
|
+
thisConnect.pathMinX = -fixedHs;
|
|
139210
|
+
thisConnect.pathMaxX = -fixedHs;
|
|
139211
|
+
} else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
|
|
139212
|
+
thisConnect.pathMinX = fixedHs;
|
|
139213
|
+
thisConnect.pathMaxX = fixedHs;
|
|
138763
139214
|
}
|
|
138764
139215
|
}
|
|
138765
139216
|
}
|
|
138766
139217
|
}
|
|
139218
|
+
// 自环线同侧连接:用拖拽端的值同时赋给两端,保持stub对称
|
|
139219
|
+
if (isSameNode && (hSameSide || vSameSide)) {
|
|
139220
|
+
var activeStub;
|
|
139221
|
+
if (firstEndpoints[0] !== 0) {
|
|
139222
|
+
// 水平锚点
|
|
139223
|
+
if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
|
|
139224
|
+
activeStub = Math.abs(stub[0]); // 拖拽左侧边
|
|
139225
|
+
} else {
|
|
139226
|
+
activeStub = Math.abs(stub[1]); // 拖拽右侧边
|
|
139227
|
+
}
|
|
139228
|
+
stub = [activeStub, activeStub];
|
|
139229
|
+
if (firstEndpoints[0] === -1) {
|
|
139230
|
+
thisConnect.pathMinX = -activeStub;
|
|
139231
|
+
thisConnect.pathMaxX = -activeStub;
|
|
139232
|
+
} else {
|
|
139233
|
+
thisConnect.pathMinX = activeStub;
|
|
139234
|
+
thisConnect.pathMaxX = activeStub;
|
|
139235
|
+
}
|
|
139236
|
+
} else {
|
|
139237
|
+
// 垂直锚点
|
|
139238
|
+
if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY - scrollTop) <= 10) {
|
|
139239
|
+
activeStub = Math.abs(stub[0]); // 拖拽顶部边
|
|
139240
|
+
} else {
|
|
139241
|
+
activeStub = Math.abs(stub[1]); // 拖拽底部边
|
|
139242
|
+
}
|
|
139243
|
+
stub = [activeStub, activeStub];
|
|
139244
|
+
if (firstEndpoints[1] === -1) {
|
|
139245
|
+
thisConnect.pathMinY = -activeStub;
|
|
139246
|
+
thisConnect.pathMaxY = -activeStub;
|
|
139247
|
+
} else {
|
|
139248
|
+
thisConnect.pathMinY = activeStub;
|
|
139249
|
+
thisConnect.pathMaxY = activeStub;
|
|
139250
|
+
}
|
|
139251
|
+
}
|
|
139252
|
+
}
|
|
139253
|
+
// 垂直锚点组合2段线:源端延伸全距离,目标端不延伸(自环连接除外)
|
|
139254
|
+
var respectStubs = false;
|
|
139255
|
+
if (isSameNode) {
|
|
139256
|
+
// 自环连接始终严格保持stub值,与createPathLine创建行为一致
|
|
139257
|
+
// 跨轴自环线(lineCount不匹配3/4/5分支时stub为[0,0]),使用初始路径值兜底
|
|
139258
|
+
if (stub[0] === 0 && stub[1] === 0) {
|
|
139259
|
+
var s0 = Math.abs(initialMinX) || Math.abs(initialMaxX) || 50;
|
|
139260
|
+
var s1 = Math.abs(initialMinY) || Math.abs(initialMaxY) || 50;
|
|
139261
|
+
stub = [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139262
|
+
}
|
|
139263
|
+
respectStubs = true;
|
|
139264
|
+
} else if (firstEndpoints[0] !== 0 && secondEndpoints[1] !== 0) {
|
|
139265
|
+
// 水平出 + 垂直入(如左出上入、右出下入)
|
|
139266
|
+
stub = [Math.abs(initialMaxX), 0];
|
|
139267
|
+
respectStubs = true;
|
|
139268
|
+
} else if (firstEndpoints[1] !== 0 && secondEndpoints[0] !== 0) {
|
|
139269
|
+
// 垂直出 + 水平入(如上出左入、下出右入)
|
|
139270
|
+
stub = [Math.abs(initialMaxY), 0];
|
|
139271
|
+
respectStubs = true;
|
|
139272
|
+
} else if (firstEndpoints[0] !== 0 && secondEndpoints[0] !== 0) {
|
|
139273
|
+
// 水平出 + 水平入(同轴异向,如右出左入):使用midpoint控制折线,不用alwaysRespectStubs
|
|
139274
|
+
respectStubs = false;
|
|
139275
|
+
} else if (firstEndpoints[1] !== 0 && secondEndpoints[1] !== 0) {
|
|
139276
|
+
// 垂直出 + 垂直入(同轴异向,如下出上入):使用midpoint控制折线,不用alwaysRespectStubs
|
|
139277
|
+
respectStubs = false;
|
|
139278
|
+
}
|
|
139279
|
+
var mp = isSameAxisDiffDir ? _dragMidpoint : respectStubs ? isSameNode ? 0.5 : 0 : 0.5;
|
|
138767
139280
|
connection.setConnector(['Flowchart', {
|
|
138768
139281
|
stub: stub,
|
|
138769
139282
|
gap: 5,
|
|
138770
139283
|
cornerRadius: 5,
|
|
138771
|
-
alwaysRespectStubs:
|
|
138772
|
-
midpoint:
|
|
138773
|
-
}]);
|
|
138774
|
-
connection.addOverlay(['Arrow', {
|
|
138775
|
-
width: 10,
|
|
138776
|
-
length: 10,
|
|
138777
|
-
location: 1
|
|
139284
|
+
alwaysRespectStubs: respectStubs,
|
|
139285
|
+
midpoint: mp
|
|
138778
139286
|
}]);
|
|
138779
139287
|
});
|
|
138780
139288
|
|
|
138781
139289
|
// 鼠标释放
|
|
138782
139290
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).bind('mouseup', function (ev) {
|
|
138783
139291
|
setMoveCursor(false);
|
|
139292
|
+
connection.addOverlay(['Arrow', {
|
|
139293
|
+
width: 10,
|
|
139294
|
+
length: 10,
|
|
139295
|
+
location: 1
|
|
139296
|
+
}]);
|
|
138784
139297
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousedown');
|
|
138785
139298
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousemove');
|
|
138786
139299
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mouseup');
|
|
@@ -139161,6 +139674,30 @@ function createConnect(conn, connector, anchors) {
|
|
|
139161
139674
|
}
|
|
139162
139675
|
return a;
|
|
139163
139676
|
}
|
|
139677
|
+
|
|
139678
|
+
// ========== 辅助函数:同侧stub提取 ==========
|
|
139679
|
+
// 处理4种同轴同向组合(左左、右右、上上、下下),返回stub数组或null
|
|
139680
|
+
function computeSameSideStub(anchors, pathMinX, pathMaxX, pathMinY, pathMaxY) {
|
|
139681
|
+
if (anchors[0][2] === -1 && anchors[1][2] === -1) {
|
|
139682
|
+
var s0 = Math.abs(pathMinX) || 50;
|
|
139683
|
+
var s1 = Math.abs(pathMaxX) || 50;
|
|
139684
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139685
|
+
} else if (anchors[0][2] === 1 && anchors[1][2] === 1) {
|
|
139686
|
+
var s0 = Math.abs(pathMaxX) || 50;
|
|
139687
|
+
var s1 = Math.abs(pathMinX) || 50;
|
|
139688
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139689
|
+
} else if (anchors[0][3] === -1 && anchors[1][3] === -1) {
|
|
139690
|
+
var s0 = Math.abs(pathMinY) || 50;
|
|
139691
|
+
var s1 = Math.abs(pathMaxY) || 50;
|
|
139692
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139693
|
+
} else if (anchors[0][3] === 1 && anchors[1][3] === 1) {
|
|
139694
|
+
// 下出上入:pathMinY=源端stub,pathMaxY=目标端stub
|
|
139695
|
+
var s0 = Math.abs(pathMinY) || 50;
|
|
139696
|
+
var s1 = Math.abs(pathMaxY) || 50;
|
|
139697
|
+
return [Math.max(s0, 30), Math.max(s1, 30)];
|
|
139698
|
+
}
|
|
139699
|
+
return null;
|
|
139700
|
+
}
|
|
139164
139701
|
function createPathLine(connectsArr) {
|
|
139165
139702
|
for (var j = 0; j < connectsArr.length; j++) {
|
|
139166
139703
|
// console.log(connectsArr[j].label, JSON.stringify(connectsArr[j]), connectsArr[j])
|
|
@@ -139169,67 +139706,112 @@ function createPathLine(connectsArr) {
|
|
|
139169
139706
|
var lineDistance = 0;
|
|
139170
139707
|
var connector = void 0;
|
|
139171
139708
|
var stub = [0, 0]; // stub[0]:偏移量,stub[1]:最小偏移量
|
|
139172
|
-
|
|
139709
|
+
var alwaysRespectStubs = false;
|
|
139710
|
+
var midpoint = 0.5;
|
|
139173
139711
|
if (connectsArr[j].type === 'Straight') {
|
|
139174
139712
|
connector = ['Straight', {
|
|
139175
139713
|
stub: [0, 0]
|
|
139176
139714
|
}];
|
|
139177
139715
|
} else if (connectsArr[j].type === 'Flowchart') {
|
|
139178
|
-
|
|
139179
|
-
|
|
139180
|
-
|
|
139181
|
-
|
|
139182
|
-
|
|
139183
|
-
|
|
139184
|
-
|
|
139716
|
+
var isSameNode = connectsArr[j].PageSourceId === connectsArr[j].PageTargetId;
|
|
139717
|
+
var isSameAxisSameDir = anchors[0][2] !== 0 && anchors[0][2] === anchors[1][2] || anchors[0][3] !== 0 && anchors[0][3] === anchors[1][3];
|
|
139718
|
+
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];
|
|
139719
|
+
var isDiffAxis = anchors[0][2] !== 0 && anchors[1][3] !== 0 || anchors[0][3] !== 0 && anchors[1][2] !== 0;
|
|
139720
|
+
if (isSameNode) {
|
|
139721
|
+
// 自环连接:minStub=50,必须在isDiffAxis之前判断(自环可能跨轴)
|
|
139722
|
+
stub = [50, 50];
|
|
139723
|
+
if (connectsArr[j].linesCount && connectsArr[j].linesCount >= 3) {
|
|
139724
|
+
var sameStub = computeSameSideStub(anchors, connectsArr[j].pathMinX, connectsArr[j].pathMaxX, connectsArr[j].pathMinY, connectsArr[j].pathMaxY);
|
|
139725
|
+
if (sameStub) {
|
|
139726
|
+
stub = sameStub;
|
|
139727
|
+
} else {
|
|
139728
|
+
// 跨轴自环线(如左出上入):取各轴有效path值,minStub=50
|
|
139729
|
+
var absMinX = Math.abs(connectsArr[j].pathMinX) || 0;
|
|
139730
|
+
var absMaxX = Math.abs(connectsArr[j].pathMaxX) || 0;
|
|
139731
|
+
var absMinY = Math.abs(connectsArr[j].pathMinY) || 0;
|
|
139732
|
+
var absMaxY = Math.abs(connectsArr[j].pathMaxY) || 0;
|
|
139733
|
+
var hs = Math.max(absMinX, absMaxX, 30);
|
|
139734
|
+
var vs = Math.max(absMinY, absMaxY, 30);
|
|
139735
|
+
stub = [Math.max(hs, 30), Math.max(vs, 30)];
|
|
139736
|
+
}
|
|
139737
|
+
}
|
|
139738
|
+
alwaysRespectStubs = true;
|
|
139739
|
+
} else if (isDiffAxis) {
|
|
139740
|
+
// 不同轴(垂直锚点组合):stub使用固定默认值,不使用pathMaxX/pathMaxY
|
|
139741
|
+
stub = [50, 0];
|
|
139742
|
+
alwaysRespectStubs = true;
|
|
139743
|
+
midpoint = 0;
|
|
139744
|
+
} else if (connectsArr[j].linesCount === 1) {
|
|
139185
139745
|
stub = [0, 0];
|
|
139186
|
-
} else if (
|
|
139187
|
-
|
|
139188
|
-
|
|
139189
|
-
|
|
139190
|
-
|
|
139191
|
-
|
|
139192
|
-
|
|
139193
|
-
|
|
139194
|
-
|
|
139195
|
-
|
|
139196
|
-
|
|
139197
|
-
|
|
139198
|
-
|
|
139199
|
-
|
|
139200
|
-
|
|
139746
|
+
} else if (isSameAxisSameDir) {
|
|
139747
|
+
// 同侧锚点(不含自环):使用保存的path值,minStub=50保证U型结构
|
|
139748
|
+
stub = [50, 50];
|
|
139749
|
+
if (connectsArr[j].linesCount && connectsArr[j].linesCount >= 3) {
|
|
139750
|
+
var sameStub = computeSameSideStub(anchors, connectsArr[j].pathMinX, connectsArr[j].pathMaxX, connectsArr[j].pathMinY, connectsArr[j].pathMaxY);
|
|
139751
|
+
if (sameStub) stub = sameStub;
|
|
139752
|
+
}
|
|
139753
|
+
} else if (isSameAxisDiffDir) {
|
|
139754
|
+
// 同轴异向:小stub + alwaysRespectStubs=false + 动态midpoint控制折线位置
|
|
139755
|
+
stub = [10, 10];
|
|
139756
|
+
var _sourceNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageSourceId);
|
|
139757
|
+
var targetNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageTargetId);
|
|
139758
|
+
var srcTop = parseInt(_sourceNode.css('top')) || 0;
|
|
139759
|
+
var srcLeft = parseInt(_sourceNode.css('left')) || 0;
|
|
139760
|
+
var srcW = _sourceNode.outerWidth() || 0;
|
|
139761
|
+
var srcH = _sourceNode.outerHeight() || 0;
|
|
139762
|
+
var tgtTop = parseInt(targetNode.css('top')) || 0;
|
|
139763
|
+
var tgtLeft = parseInt(targetNode.css('left')) || 0;
|
|
139764
|
+
var tgtW = targetNode.outerWidth() || 0;
|
|
139765
|
+
var tgtH = targetNode.outerHeight() || 0;
|
|
139766
|
+
if (anchors[0][2] !== 0) {
|
|
139767
|
+
// 水平方向(左出右入、右出左入)
|
|
139768
|
+
var srcAnchorX = srcLeft + srcW * anchors[0][0];
|
|
139769
|
+
var tgtAnchorX = tgtLeft + tgtW * anchors[1][0];
|
|
139770
|
+
var totalDistX = Math.abs(tgtAnchorX - srcAnchorX);
|
|
139771
|
+
// 从存储的pathMaxX获取折线距离,无有效值时取中点
|
|
139772
|
+
var foldDist = Math.abs(connectsArr[j].pathMaxX) || Math.abs(connectsArr[j].pathMinX);
|
|
139773
|
+
if (!foldDist || isNaN(foldDist)) foldDist = totalDistX / 2;
|
|
139774
|
+
// stub=10时需扣除stub偏移:midpoint = (foldDist - stub) / (totalDist - 2*stub)
|
|
139775
|
+
var effDist = totalDistX - 20;
|
|
139776
|
+
midpoint = effDist > 0 ? (foldDist - 10) / effDist : 0.5;
|
|
139777
|
+
} else if (anchors[0][3] !== 0) {
|
|
139778
|
+
// 垂直方向(上出下入、下出上入)
|
|
139779
|
+
var srcAnchorY = srcTop + srcH * anchors[0][1];
|
|
139780
|
+
var tgtAnchorY = tgtTop + tgtH * anchors[1][1];
|
|
139781
|
+
var totalDistY = Math.abs(tgtAnchorY - srcAnchorY);
|
|
139782
|
+
var foldDist = Math.abs(connectsArr[j].pathMaxY) || Math.abs(connectsArr[j].pathMinY);
|
|
139783
|
+
if (!foldDist || isNaN(foldDist)) foldDist = totalDistY / 2;
|
|
139784
|
+
// stub=10时需扣除stub偏移:midpoint = (foldDist - stub) / (totalDist - 2*stub)
|
|
139785
|
+
var effDist = totalDistY - 20;
|
|
139786
|
+
midpoint = effDist > 0 ? (foldDist - 10) / effDist : 0.5;
|
|
139787
|
+
}
|
|
139788
|
+
midpoint = Math.max(0, Math.min(1, midpoint));
|
|
139789
|
+
// alwaysRespectStubs保持false(默认值),使opposite分支使用midpoint参数控制折线
|
|
139201
139790
|
} else if (connectsArr[j].linesCount >= 4) {
|
|
139791
|
+
// 其他4段线:使用保存的path值
|
|
139202
139792
|
stub = [10, 10];
|
|
139203
139793
|
if (anchors[0][2] === -1) {
|
|
139204
|
-
// 水平射线,左出
|
|
139205
139794
|
stub[0] = Math.abs(connectsArr[j].pathMinX);
|
|
139206
139795
|
} else if (anchors[0][2] === 1) {
|
|
139207
|
-
// 水平射线,右出
|
|
139208
139796
|
stub[0] = Math.abs(connectsArr[j].pathMaxX);
|
|
139209
139797
|
} else if (anchors[0][3] === -1) {
|
|
139210
|
-
// 垂直射线,上出
|
|
139211
139798
|
stub[0] = Math.abs(connectsArr[j].pathMinY);
|
|
139212
139799
|
} else if (anchors[0][3] === 1) {
|
|
139213
|
-
// 垂直射线,下出
|
|
139214
139800
|
stub[0] = Math.abs(connectsArr[j].pathMaxY);
|
|
139215
139801
|
}
|
|
139216
139802
|
if (anchors[1][2] === -1) {
|
|
139217
|
-
// 水平射线,左入
|
|
139218
139803
|
stub[1] = Math.abs(connectsArr[j].pathMinX);
|
|
139219
139804
|
} else if (anchors[1][2] === 1) {
|
|
139220
|
-
// 水平射线,右入
|
|
139221
139805
|
stub[1] = Math.abs(connectsArr[j].pathMaxX);
|
|
139222
139806
|
} else if (anchors[1][3] === -1) {
|
|
139223
|
-
// 垂直射线,上入
|
|
139224
139807
|
stub[1] = Math.abs(connectsArr[j].pathMinY);
|
|
139225
139808
|
} else if (anchors[1][3] === 1) {
|
|
139226
|
-
// 垂直射线,下入
|
|
139227
139809
|
stub[1] = Math.abs(connectsArr[j].pathMaxY);
|
|
139228
139810
|
}
|
|
139229
|
-
|
|
139230
|
-
|
|
139231
|
-
|
|
139232
|
-
|
|
139811
|
+
|
|
139812
|
+
// 旧代码默认值历史数据:stub值都是50时,使用[0,0]
|
|
139813
|
+
if ((stub[0] === 50 || stub[0] === 10) && (stub[1] === 50 || stub[1] === 10)) {
|
|
139814
|
+
stub = [0, 0];
|
|
139233
139815
|
}
|
|
139234
139816
|
} else if (Math.abs(connectsArr[j].pathMaxX) > 10 || Math.abs(connectsArr[j].pathMinX) > 10) {
|
|
139235
139817
|
// 兼容旧数据格式,旧数据格式没有lineCount属性
|
|
@@ -139273,8 +139855,8 @@ function createPathLine(connectsArr) {
|
|
|
139273
139855
|
stub: stub,
|
|
139274
139856
|
gap: 5,
|
|
139275
139857
|
cornerRadius: 5,
|
|
139276
|
-
alwaysRespectStubs:
|
|
139277
|
-
midpoint:
|
|
139858
|
+
alwaysRespectStubs: alwaysRespectStubs,
|
|
139859
|
+
midpoint: midpoint
|
|
139278
139860
|
}];
|
|
139279
139861
|
} else if (connectsArr[j].type === 'Bezier') {
|
|
139280
139862
|
connector = ['Bezier', {
|
|
@@ -139285,14 +139867,11 @@ function createPathLine(connectsArr) {
|
|
|
139285
139867
|
if (sourceNode.hasClass('dfzjd') || sourceNode.hasClass('zyjd')) {
|
|
139286
139868
|
connectsArr[j].label = '';
|
|
139287
139869
|
}
|
|
139870
|
+
var conn;
|
|
139288
139871
|
try {
|
|
139289
|
-
createConnect(connectsArr[j], connector, anchors);
|
|
139872
|
+
conn = createConnect(connectsArr[j], connector, anchors);
|
|
139290
139873
|
} catch (e) {
|
|
139291
|
-
|
|
139292
|
-
createConnect(connectsArr[j], connector, anchors);
|
|
139293
|
-
} catch (e2) {
|
|
139294
|
-
console.warn('createConnect failed after retry:', e2.message, connectsArr[j]);
|
|
139295
|
-
}
|
|
139874
|
+
conn = createConnect(connectsArr[j], connector, anchors);
|
|
139296
139875
|
}
|
|
139297
139876
|
}
|
|
139298
139877
|
}
|
|
@@ -140700,6 +141279,10 @@ RegionSelect.prototype.onSelect = function (evt, sDivId) {
|
|
|
140700
141279
|
};
|
|
140701
141280
|
RegionSelect.prototype.onEnd = function () {
|
|
140702
141281
|
var self = this;
|
|
141282
|
+
// 记录框选结束时间,用于区分框选后的 click 和普通点击
|
|
141283
|
+
if (self.isSelect && _selectedRegions.length > 0) {
|
|
141284
|
+
self._selectEndTime = Date.now();
|
|
141285
|
+
}
|
|
140703
141286
|
if (self.selectDiv) {
|
|
140704
141287
|
self.selectDiv.style.display = 'none';
|
|
140705
141288
|
}
|
|
@@ -141054,7 +141637,11 @@ var showProcessDesc = function showProcessDesc(desc, containerHeight, containerL
|
|
|
141054
141637
|
scope: 'desc'
|
|
141055
141638
|
});
|
|
141056
141639
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()('.process-desc-close').click(function () {
|
|
141057
|
-
document.querySelector('.process-desc-container')
|
|
141640
|
+
var descContainer = document.querySelector('.process-desc-container');
|
|
141641
|
+
// 隐藏前将当前位置存入data属性,以便保存时能读取到
|
|
141642
|
+
descContainer.dataset.left = descContainer.offsetLeft;
|
|
141643
|
+
descContainer.dataset.top = descContainer.offsetTop;
|
|
141644
|
+
descContainer.style.display = 'none';
|
|
141058
141645
|
});
|
|
141059
141646
|
};
|
|
141060
141647
|
var Transform = {
|
|
@@ -164844,7 +165431,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "span[data-v-26aedf1c]{white-space:pre-
|
|
|
164844
165431
|
|
|
164845
165432
|
/***/ }),
|
|
164846
165433
|
|
|
164847
|
-
/***/
|
|
165434
|
+
/***/ 78198:
|
|
164848
165435
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164849
165436
|
|
|
164850
165437
|
"use strict";
|
|
@@ -164858,14 +165445,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
164858
165445
|
|
|
164859
165446
|
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()));
|
|
164860
165447
|
// Module
|
|
164861
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
165448
|
+
___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}", ""]);
|
|
164862
165449
|
// Exports
|
|
164863
165450
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
164864
165451
|
|
|
164865
165452
|
|
|
164866
165453
|
/***/ }),
|
|
164867
165454
|
|
|
164868
|
-
/***/
|
|
165455
|
+
/***/ 99934:
|
|
164869
165456
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164870
165457
|
|
|
164871
165458
|
"use strict";
|
|
@@ -165773,7 +166360,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-76d3db75] .el-dialog__body .su
|
|
|
165773
166360
|
|
|
165774
166361
|
/***/ }),
|
|
165775
166362
|
|
|
165776
|
-
/***/
|
|
166363
|
+
/***/ 72421:
|
|
165777
166364
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165778
166365
|
|
|
165779
166366
|
"use strict";
|
|
@@ -165787,7 +166374,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165787
166374
|
|
|
165788
166375
|
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()));
|
|
165789
166376
|
// Module
|
|
165790
|
-
___CSS_LOADER_EXPORT___.push([module.id, "@media (max-width:1569px){.sidebar-area .users-container .el-button[data-v-
|
|
166377
|
+
___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}", ""]);
|
|
165791
166378
|
// Exports
|
|
165792
166379
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165793
166380
|
|
|
@@ -167684,7 +168271,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".setting .header[data-v-8cadfe0a]{widt
|
|
|
167684
168271
|
|
|
167685
168272
|
/***/ }),
|
|
167686
168273
|
|
|
167687
|
-
/***/
|
|
168274
|
+
/***/ 43879:
|
|
167688
168275
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167689
168276
|
|
|
167690
168277
|
"use strict";
|
|
@@ -167698,14 +168285,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
167698
168285
|
|
|
167699
168286
|
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()));
|
|
167700
168287
|
// Module
|
|
167701
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
168288
|
+
___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}", ""]);
|
|
167702
168289
|
// Exports
|
|
167703
168290
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
167704
168291
|
|
|
167705
168292
|
|
|
167706
168293
|
/***/ }),
|
|
167707
168294
|
|
|
167708
|
-
/***/
|
|
168295
|
+
/***/ 80803:
|
|
167709
168296
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167710
168297
|
|
|
167711
168298
|
"use strict";
|
|
@@ -167719,7 +168306,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
167719
168306
|
|
|
167720
168307
|
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()));
|
|
167721
168308
|
// Module
|
|
167722
|
-
___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}", ""]);
|
|
168309
|
+
___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}", ""]);
|
|
167723
168310
|
// Exports
|
|
167724
168311
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
167725
168312
|
|
|
@@ -168249,7 +168836,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "table[data-v-202e7fb0]{border-collapse
|
|
|
168249
168836
|
|
|
168250
168837
|
/***/ }),
|
|
168251
168838
|
|
|
168252
|
-
/***/
|
|
168839
|
+
/***/ 2566:
|
|
168253
168840
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
168254
168841
|
|
|
168255
168842
|
"use strict";
|
|
@@ -168263,7 +168850,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
168263
168850
|
|
|
168264
168851
|
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()));
|
|
168265
168852
|
// Module
|
|
168266
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".buttonBox table[data-v-
|
|
168853
|
+
___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}", ""]);
|
|
168267
168854
|
// Exports
|
|
168268
168855
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
168269
168856
|
|
|
@@ -261310,35 +261897,35 @@ var update = add("e5b2e9be", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261310
261897
|
|
|
261311
261898
|
/***/ }),
|
|
261312
261899
|
|
|
261313
|
-
/***/
|
|
261900
|
+
/***/ 29816:
|
|
261314
261901
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261315
261902
|
|
|
261316
261903
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261317
261904
|
|
|
261318
261905
|
// load the styles
|
|
261319
|
-
var content = __webpack_require__(
|
|
261906
|
+
var content = __webpack_require__(78198);
|
|
261320
261907
|
if(content.__esModule) content = content.default;
|
|
261321
261908
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261322
261909
|
if(content.locals) module.exports = content.locals;
|
|
261323
261910
|
// add the styles to the DOM
|
|
261324
261911
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261325
|
-
var update = add("
|
|
261912
|
+
var update = add("0ef4a11f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261326
261913
|
|
|
261327
261914
|
/***/ }),
|
|
261328
261915
|
|
|
261329
|
-
/***/
|
|
261916
|
+
/***/ 38436:
|
|
261330
261917
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261331
261918
|
|
|
261332
261919
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261333
261920
|
|
|
261334
261921
|
// load the styles
|
|
261335
|
-
var content = __webpack_require__(
|
|
261922
|
+
var content = __webpack_require__(99934);
|
|
261336
261923
|
if(content.__esModule) content = content.default;
|
|
261337
261924
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261338
261925
|
if(content.locals) module.exports = content.locals;
|
|
261339
261926
|
// add the styles to the DOM
|
|
261340
261927
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261341
|
-
var update = add("
|
|
261928
|
+
var update = add("1655dca9", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261342
261929
|
|
|
261343
261930
|
/***/ }),
|
|
261344
261931
|
|
|
@@ -262014,19 +262601,19 @@ var update = add("0bb97b92", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
262014
262601
|
|
|
262015
262602
|
/***/ }),
|
|
262016
262603
|
|
|
262017
|
-
/***/
|
|
262604
|
+
/***/ 17831:
|
|
262018
262605
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
262019
262606
|
|
|
262020
262607
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
262021
262608
|
|
|
262022
262609
|
// load the styles
|
|
262023
|
-
var content = __webpack_require__(
|
|
262610
|
+
var content = __webpack_require__(72421);
|
|
262024
262611
|
if(content.__esModule) content = content.default;
|
|
262025
262612
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
262026
262613
|
if(content.locals) module.exports = content.locals;
|
|
262027
262614
|
// add the styles to the DOM
|
|
262028
262615
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
262029
|
-
var update = add("
|
|
262616
|
+
var update = add("30d3647a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
262030
262617
|
|
|
262031
262618
|
/***/ }),
|
|
262032
262619
|
|
|
@@ -263470,35 +264057,35 @@ var update = add("0ef0df88", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
263470
264057
|
|
|
263471
264058
|
/***/ }),
|
|
263472
264059
|
|
|
263473
|
-
/***/
|
|
264060
|
+
/***/ 73537:
|
|
263474
264061
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
263475
264062
|
|
|
263476
264063
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
263477
264064
|
|
|
263478
264065
|
// load the styles
|
|
263479
|
-
var content = __webpack_require__(
|
|
264066
|
+
var content = __webpack_require__(43879);
|
|
263480
264067
|
if(content.__esModule) content = content.default;
|
|
263481
264068
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
263482
264069
|
if(content.locals) module.exports = content.locals;
|
|
263483
264070
|
// add the styles to the DOM
|
|
263484
264071
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
263485
|
-
var update = add("
|
|
264072
|
+
var update = add("5228d882", content, true, {"sourceMap":false,"shadowMode":false});
|
|
263486
264073
|
|
|
263487
264074
|
/***/ }),
|
|
263488
264075
|
|
|
263489
|
-
/***/
|
|
264076
|
+
/***/ 65089:
|
|
263490
264077
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
263491
264078
|
|
|
263492
264079
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
263493
264080
|
|
|
263494
264081
|
// load the styles
|
|
263495
|
-
var content = __webpack_require__(
|
|
264082
|
+
var content = __webpack_require__(80803);
|
|
263496
264083
|
if(content.__esModule) content = content.default;
|
|
263497
264084
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
263498
264085
|
if(content.locals) module.exports = content.locals;
|
|
263499
264086
|
// add the styles to the DOM
|
|
263500
264087
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
263501
|
-
var update = add("
|
|
264088
|
+
var update = add("d8266c68", content, true, {"sourceMap":false,"shadowMode":false});
|
|
263502
264089
|
|
|
263503
264090
|
/***/ }),
|
|
263504
264091
|
|
|
@@ -263886,19 +264473,19 @@ var update = add("664f2c06", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
263886
264473
|
|
|
263887
264474
|
/***/ }),
|
|
263888
264475
|
|
|
263889
|
-
/***/
|
|
264476
|
+
/***/ 81276:
|
|
263890
264477
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
263891
264478
|
|
|
263892
264479
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
263893
264480
|
|
|
263894
264481
|
// load the styles
|
|
263895
|
-
var content = __webpack_require__(
|
|
264482
|
+
var content = __webpack_require__(2566);
|
|
263896
264483
|
if(content.__esModule) content = content.default;
|
|
263897
264484
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
263898
264485
|
if(content.locals) module.exports = content.locals;
|
|
263899
264486
|
// add the styles to the DOM
|
|
263900
264487
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
263901
|
-
var update = add("
|
|
264488
|
+
var update = add("d0ccc2ca", content, true, {"sourceMap":false,"shadowMode":false});
|
|
263902
264489
|
|
|
263903
264490
|
/***/ }),
|
|
263904
264491
|
|
|
@@ -270892,7 +271479,7 @@ var user_install = function install(Vue) {
|
|
|
270892
271479
|
/* harmony default export */ var user = (user_install);
|
|
270893
271480
|
// EXTERNAL MODULE: ./packages/common/websocket/index.js
|
|
270894
271481
|
var websocket = __webpack_require__(31831);
|
|
270895
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Basicform/src/index.vue?vue&type=template&id=
|
|
271482
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[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
|
|
270896
271483
|
var render = function render() {
|
|
270897
271484
|
var _vm = this,
|
|
270898
271485
|
_c = _vm._self._c;
|
|
@@ -271226,6 +271813,10 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
271226
271813
|
type: Function,
|
|
271227
271814
|
default: function _default($scope, vo) {}
|
|
271228
271815
|
},
|
|
271816
|
+
onBasicFormClosed: {
|
|
271817
|
+
type: Function,
|
|
271818
|
+
default: function _default($scope, vo) {}
|
|
271819
|
+
},
|
|
271229
271820
|
winWidth: {
|
|
271230
271821
|
type: Number,
|
|
271231
271822
|
default: 800
|
|
@@ -271863,6 +272454,9 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
271863
272454
|
if (_this4.callback !== null) {
|
|
271864
272455
|
_this4.callback(res, _this.vo);
|
|
271865
272456
|
} else {
|
|
272457
|
+
if (_this.onBasicFormClosed) {
|
|
272458
|
+
_this.onBasicFormClosed(_this, _this4.vo, 'submited');
|
|
272459
|
+
}
|
|
271866
272460
|
_this.$message({
|
|
271867
272461
|
type: res.code,
|
|
271868
272462
|
message: res.message,
|
|
@@ -271973,6 +272567,8 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
271973
272567
|
code: 'cancel',
|
|
271974
272568
|
message: this.$tx('ecwapp.Common.cancelSave', '取消保存')
|
|
271975
272569
|
});
|
|
272570
|
+
} else if (this.onBasicFormClosed) {
|
|
272571
|
+
this.onBasicFormClosed(this, this.vo, 'closed');
|
|
271976
272572
|
}
|
|
271977
272573
|
this.dialogFormVisible = false;
|
|
271978
272574
|
this.moduleInfo = {};
|
|
@@ -272195,13 +272791,13 @@ function srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != srcvue_t
|
|
|
272195
272791
|
});
|
|
272196
272792
|
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=script&lang=js
|
|
272197
272793
|
/* harmony default export */ var Basicform_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
272198
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
272199
|
-
var
|
|
272200
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=0&id=
|
|
272794
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
272795
|
+
var srcvue_type_style_index_0_id_0e4abb10_prod_lang_scss_scoped_true = __webpack_require__(29816);
|
|
272796
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=0&id=0e4abb10&prod&lang=scss&scoped=true
|
|
272201
272797
|
|
|
272202
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
272203
|
-
var
|
|
272204
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=1&id=
|
|
272798
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
272799
|
+
var srcvue_type_style_index_1_id_0e4abb10_prod_lang_scss = __webpack_require__(38436);
|
|
272800
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Basicform/src/index.vue?vue&type=style&index=1&id=0e4abb10&prod&lang=scss
|
|
272205
272801
|
|
|
272206
272802
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
272207
272803
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -272221,7 +272817,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
272221
272817
|
staticRenderFns,
|
|
272222
272818
|
false,
|
|
272223
272819
|
null,
|
|
272224
|
-
"
|
|
272820
|
+
"0e4abb10",
|
|
272225
272821
|
null
|
|
272226
272822
|
|
|
272227
272823
|
)
|
|
@@ -285751,87 +286347,87 @@ var asyncComponents = [
|
|
|
285751
286347
|
}],
|
|
285752
286348
|
// ========== ecwapp/Wflowform 工作流表单子组件 → chunk: wflow-form ==========
|
|
285753
286349
|
['Attachment', function () {
|
|
285754
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286350
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285755
286351
|
return m.Attachment;
|
|
285756
286352
|
});
|
|
285757
286353
|
}], ['BodyFile', function () {
|
|
285758
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286354
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285759
286355
|
return m.BodyFile;
|
|
285760
286356
|
});
|
|
285761
286357
|
}], ['CommandBar', function () {
|
|
285762
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286358
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285763
286359
|
return m.CommandBar;
|
|
285764
286360
|
});
|
|
285765
286361
|
}], ['HandleIdea', function () {
|
|
285766
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286362
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285767
286363
|
return m.HandleIdea;
|
|
285768
286364
|
});
|
|
285769
286365
|
}], ['IdeaInputBox', function () {
|
|
285770
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286366
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285771
286367
|
return m.IdeaInputBox;
|
|
285772
286368
|
});
|
|
285773
286369
|
}], ['ModifyWflogAddUser', function () {
|
|
285774
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286370
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285775
286371
|
return m.ModifyWflogAddUser;
|
|
285776
286372
|
});
|
|
285777
286373
|
}], ['ModifyWflogIdea', function () {
|
|
285778
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286374
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285779
286375
|
return m.ModifyWflogIdea;
|
|
285780
286376
|
});
|
|
285781
286377
|
}], ['WriteToReadIdea', function () {
|
|
285782
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286378
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285783
286379
|
return m.WriteToReadIdea;
|
|
285784
286380
|
});
|
|
285785
286381
|
}], ['ModifyWflogSubmitFile', function () {
|
|
285786
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286382
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285787
286383
|
return m.ModifyWflogSubmitFile;
|
|
285788
286384
|
});
|
|
285789
286385
|
}], ['ModifyWfNodelog', function () {
|
|
285790
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286386
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285791
286387
|
return m.ModifyWfNodelog;
|
|
285792
286388
|
});
|
|
285793
286389
|
}], ['SelectOuterDeputy', function () {
|
|
285794
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286390
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285795
286391
|
return m.SelectOuterDeputy;
|
|
285796
286392
|
});
|
|
285797
286393
|
}], ['SubmitHandle', function () {
|
|
285798
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286394
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285799
286395
|
return m.SubmitHandle;
|
|
285800
286396
|
});
|
|
285801
286397
|
}], ['SubmitDialog', function () {
|
|
285802
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286398
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285803
286399
|
return m.SubmitDialog;
|
|
285804
286400
|
});
|
|
285805
286401
|
}], ['WfNodelogList', function () {
|
|
285806
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286402
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285807
286403
|
return m.WfNodelogList;
|
|
285808
286404
|
});
|
|
285809
286405
|
}], ['WflogAddReader', function () {
|
|
285810
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286406
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285811
286407
|
return m.WflogAddReader;
|
|
285812
286408
|
});
|
|
285813
286409
|
}], ['WflowView', function () {
|
|
285814
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286410
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285815
286411
|
return m.WflowView;
|
|
285816
286412
|
});
|
|
285817
286413
|
}], ['ImgView', function () {
|
|
285818
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286414
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285819
286415
|
return m.ImgView;
|
|
285820
286416
|
});
|
|
285821
286417
|
}], ['IdeaSignature', function () {
|
|
285822
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286418
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285823
286419
|
return m.IdeaSignature;
|
|
285824
286420
|
});
|
|
285825
286421
|
}], ['ReplaceFile', function () {
|
|
285826
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286422
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285827
286423
|
return m.ReplaceFile;
|
|
285828
286424
|
});
|
|
285829
286425
|
}], ['ViewBodyFile', function () {
|
|
285830
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286426
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285831
286427
|
return m.ViewBodyFile;
|
|
285832
286428
|
});
|
|
285833
286429
|
}], ['WformLayout', function () {
|
|
285834
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286430
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
|
|
285835
286431
|
return m.WformLayout;
|
|
285836
286432
|
});
|
|
285837
286433
|
}],
|
|
@@ -286043,7 +286639,7 @@ var asyncComponents = [
|
|
|
286043
286639
|
}],
|
|
286044
286640
|
// ========== 工作流设计器 + 系统设计器 ==========
|
|
286045
286641
|
['WflowDesigner', function () {
|
|
286046
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286642
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 34660));
|
|
286047
286643
|
}], ['ImportWf', function () {
|
|
286048
286644
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 39934));
|
|
286049
286645
|
}], ['WflowTrace', function () {
|
|
@@ -286116,10 +286712,10 @@ var WfengineModule = function WfengineModule() {
|
|
|
286116
286712
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 55543));
|
|
286117
286713
|
};
|
|
286118
286714
|
var WflowformModule = function WflowformModule() {
|
|
286119
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286715
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826));
|
|
286120
286716
|
};
|
|
286121
286717
|
var WflowDesignerModule = function WflowDesignerModule() {
|
|
286122
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286718
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 34660));
|
|
286123
286719
|
};
|
|
286124
286720
|
var WflowTraceModule = function WflowTraceModule() {
|
|
286125
286721
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 85197));
|